/* Tailwind'in karşılamadığı bileşen stilleri */

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Başlık ve düğmeler */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}
@media (min-width: 768px) { .section-title { font-size: 34px; } }

.btn-solid,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 1px solid #7f231c;
  padding: 11px 36px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  transition: background-color .2s, color .2s;
}
.btn-solid { background: #7f231c; color: #fff; }
.btn-solid:hover { background: #641a15; }
.btn-outline { font-size: 14px; color: #7f231c; }
.btn-outline:hover,
.group:hover .btn-outline { background: #7f231c; color: #fff; }

.underline-anim {
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s;
}
.group:hover .underline-anim,
a:hover > .underline-anim { background-size: 100% 1px; }

/* Üst menü */
.nav-list { display: flex; white-space: nowrap; }
.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 15px;
  font-size: 15px;
  line-height: 1;
  color: #fff;
}
.nav-list a:hover,
.nav-list a.is-active { background: rgba(255, 255, 255, .12); }

/* Kaydırıcılar (scroll-snap) */
.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; flex: 0 0 100%; }
[data-slider="products"] .slider-track > * { flex-basis: calc((100% - 13px) / 2); }
@media (min-width: 1024px) {
  [data-slider="products"] .slider-track > * { flex-basis: calc((100% - 41.6px) / 3); }
}

.slider-arrow,
.round-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #7f231c;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  transition: background-color .2s, color .2s;
}
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); }
.slider-arrow:hover,
.round-arrow:hover { background: #7f231c; color: #fff; }

/* Kayan yazı */
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 24px;
  line-height: 25px;
  white-space: nowrap;
}
.marquee span { padding: 0 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Yer tutucu görseller */
.ph { position: relative; display: block; overflow: hidden; color: #7f231c; }
.ph-a { background: linear-gradient(120deg, #f9f0e1 0%, #ecd6b4 100%); }
.ph-b { background: linear-gradient(120deg, #f3e3d6 0%, #e2b9a6 100%); }
.ph-c { background: linear-gradient(120deg, #ebebe5 0%, #cfd2bd 100%); }
.ph-d { background: linear-gradient(135deg, #f9f4ec 0%, #e9c9a0 100%); }
.ph-e { background: linear-gradient(135deg, #ebebe5 0%, #d9b9a8 100%); }
.ph-label {
  border: 1px dashed rgba(127, 35, 28, .45);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 13px;
  letter-spacing: .04em;
}

/* Kategori kartı */
.cat-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 381 / 680;
  max-height: 680px;
  border-radius: 10px;
  padding: 24px;
}
@media (max-width: 767px) { .cat-card { aspect-ratio: 345 / 680; } }
.cat-card__body {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  background: #fff;
  padding: 32px 24px;
  text-align: center;
}

/* Ürün kartı */
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background: #fff;
  color: #343434;
  overflow: hidden;
}
.product__media { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product__media svg { width: 34%; opacity: .55; transition: transform .4s; }
.product:hover .product__media svg { transform: scale(1.08); }
.product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 30px;
  background: #7f231c;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.product__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 15px; }
@media (min-width: 768px) { .product__body { padding: 20px; } }
.product__price strong { color: #7f231c; }
.product__price del { padding-left: 5px; opacity: .7; }
.product__title { font-weight: 500; line-height: 1.35; }
.product__note { font-size: 12px; }
.product__btn {
  margin-top: auto;
  border: 1px solid #7f231c;
  border-radius: 30px;
  padding: 8px 6px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: #7f231c;
  transition: background-color .2s, color .2s;
}
@media (min-width: 768px) { .product__btn { font-size: 18px; } }
.product__btn:hover:not(:disabled) { background: #7f231c; color: #fff; }
.product__btn:disabled { border-color: rgba(127, 35, 28, .3); color: rgba(127, 35, 28, .5); cursor: not-allowed; font-size: 14px; }

/* Çekmeceler */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(400px, 88vw);
  background: #fff;
  transition: transform .3s;
}
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer.is-open .drawer__panel { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  .slider-track { scroll-behavior: auto; }
}

/* Mobil üst bilgi */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.cart-dot {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  border-radius: 9px;
  background: #7f231c;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 17px;
  color: #fff;
  text-align: center;
}

/* Kampanya kartları: mobilde kaydırıcı, masaüstünde üçlü ızgara */
.camp {
  display: flex;
  gap: 20px;
  margin: 0 -15px;
  padding: 0 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 15px;
  scrollbar-width: none;
}
.camp::-webkit-scrollbar { display: none; }
.camp > * { flex: 0 0 100%; overflow: hidden; border-radius: 10px; scroll-snap-align: start; }
@media (min-width: 768px) {
  .camp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
  }
  .camp > * { border-radius: 0; }
}

/* İç sayfalar */
.crumbs { display: flex; flex-wrap: wrap; gap: 11px; padding: 23px 0; font-size: 12px; line-height: 13px; color: #343434; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { opacity: .65; }

.chip {
  flex: none;
  border: 1px solid rgba(127, 35, 28, .25);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.chip:hover,
.chip.is-active { border-color: #7f231c; background: #7f231c; color: #fff; }

.select {
  height: 42px;
  border: 1px solid rgba(127, 35, 28, .3);
  border-radius: 30px;
  background: #fff;
  padding: 0 16px;
  font-size: 14px;
  color: #7f231c;
}

.thumb {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 2px solid transparent;
  border-radius: 10px;
}
.thumb.is-active { border-color: rgba(127, 35, 28, .45); }

.qty { display: flex; flex: none; gap: 9px; }
.qty button {
  width: 50px;
  height: 50px;
  border: 1px solid #7f231c;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transition: background-color .2s, color .2s;
}
.qty button:hover { background: #7f231c; color: #fff; }
.qty input { width: 40px; background: transparent; font-size: 22px; text-align: center; }
.qty input:focus { outline: none; }
@media (min-width: 768px) {
  .qty button { width: 60px; height: 60px; }
  .qty input { width: 60px; font-size: 24px; }
}

.btn-solid:disabled { background: rgba(127, 35, 28, .35); border-color: transparent; cursor: not-allowed; }

.acc { border-bottom: 1px solid rgba(127, 35, 28, .15); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; }
.acc[open] summary::after { content: "−"; }
.acc p { padding-bottom: 20px; line-height: 1.65; color: #343434; }

.field {
  width: 100%;
  border: 1px solid rgba(127, 35, 28, .3);
  border-radius: 5px;
  background: #fff;
  padding: 9px 12px;
  font-size: 16px;
  color: #7f231c;
}
.field::placeholder { color: rgba(127, 35, 28, .55); }
.field:focus { border-color: #7f231c; outline: none; }

/* Sayfalama */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.pager:not(:empty) { padding-top: 40px; }
.pager__num,
.pager__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color .2s, color .2s;
}
.pager__num:hover { background: rgba(127, 35, 28, .08); }
.pager__num.is-current { background: #7f231c; color: #fff; }
.pager__arrow { border: 1px solid rgba(127, 35, 28, .3); }
a.pager__arrow:hover { background: #7f231c; color: #fff; }
.pager__arrow.is-disabled { opacity: .3; }
.pager__gap { padding: 0 4px; }

#liste { scroll-margin-top: 80px; }
@media (min-width: 1024px) { #liste { scroll-margin-top: 160px; } }

/* Kategori kartları */
.col-card { display: block; overflow: hidden; border-radius: 10px; background: #fff; text-align: center; }
[data-slider="cols"] .slider-track { gap: 13px; }
[data-slider="cols"] .slider-track > * { flex-basis: calc((100% - 26px) / 2.3); }
@media (min-width: 768px) {
  [data-slider="cols"] .slider-track { gap: 20.8px; }
  [data-slider="cols"] .slider-track > * { flex-basis: calc((100% - 62.4px) / 4); }
}
@media (min-width: 1024px) {
  [data-slider="cols"] .slider-track > * { flex-basis: calc((100% - 104px) / 6); }
}

/* Ürün detayı: açılır kutular ve sabit satın alma çubuğu */
.toggle { margin-top: 12px; border: 1px solid rgba(127, 35, 28, .15); border-radius: 10px; background: #fbf8f3; }
.toggle summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
  transition: transform .2s;
}
.toggle[open] summary::after { transform: rotate(225deg); }
.toggle > div { padding: 0 20px 20px; line-height: 1.65; color: #343434; }

.sticky-buy {
  position: fixed;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 10px;
  background: #f9f0e1;
  padding: 10px 12px 10px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .14);
  transform: translateY(160%);
  transition: transform .3s;
}
.sticky-buy.is-visible { transform: none; }
@media (min-width: 768px) { .sticky-buy { right: 40px; left: 40px; padding-left: 28px; } }

/* Uzun metin (kurumsal sayfalar, blog yazısı) */
.rte { line-height: 1.5; }
.rte p + p,
.rte ul + p { margin-top: 16px; }
.rte h2 { margin: 32px 0 12px; font-family: "Playfair Display", serif; font-size: 24px; line-height: 1.25; }
.rte ul { margin-top: 12px; padding-left: 20px; list-style: disc; }
.rte li { padding: 3px 0; }
.rte blockquote {
  margin: 28px 0;
  border-left: 3px solid #7f231c;
  padding: 6px 0 6px 22px;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
}
.rte--ink { color: #343434; }
.rte--ink h2,
.rte--ink blockquote { color: #7f231c; }

/* Sepet ve ödeme */
.qty-sm {
  display: inline-flex;
  align-items: center;
  height: 38px;
  border: 1px solid rgba(127, 35, 28, .3);
  border-radius: 30px;
  color: #7f231c;
}
.qty-sm button { width: 34px; height: 100%; font-size: 18px; line-height: 1; }
.qty-sm input { width: 32px; background: transparent; font-size: 15px; text-align: center; }
.qty-sm input:focus { outline: none; }

.form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.step-title { display: flex; align-items: center; gap: 12px; font-family: "Playfair Display", serif; font-size: 24px; line-height: 1.2; }
.step-title span {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #7f231c;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(127, 35, 28, .3);
  border-radius: 10px;
  padding: 15px 16px;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.option:has(input:checked) { border-color: #7f231c; background: #fbf8f3; }
.option input,
.check input { flex: none; width: 18px; height: 18px; accent-color: #7f231c; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: #343434; cursor: pointer; }
.check input { margin-top: 2px; }
.check a { color: #7f231c; text-decoration: underline; }

/* Alt bilgi */
.foot-contact { display: flex; align-items: center; gap: 14px; color: #7f231c; }
.foot-contact__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(127, 35, 28, .25);
  border-radius: 50%;
  background: #fff;
  transition: background-color .2s, color .2s;
}
.foot-contact:hover .foot-contact__icon { background: #7f231c; color: #fff; }
.foot-contact__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.foot-contact__value { display: block; margin-top: 2px; font-size: 17px; font-weight: 500; line-height: 1.3; }
.foot-contact__note { display: block; font-size: 13px; color: #343434; }

.foot-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(127, 35, 28, .3);
  border-radius: 50%;
  color: #7f231c;
  transition: background-color .2s, color .2s;
}
.foot-social:hover { background: #7f231c; color: #fff; }

.foot-title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  font-family: "Playfair Display", serif;
  font-size: 19px;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(rgba(249, 240, 225, .45), rgba(249, 240, 225, .45)) 0 100% / 28px 1px no-repeat;
}
.foot-link { display: inline-block; padding: 5px 0; opacity: .88; transition: opacity .2s, transform .2s; }
.foot-link:hover { opacity: 1; transform: translateX(3px); }
.foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(249, 240, 225, .35);
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1;
}
