/*
 * Vitrin ve katalog sayfalarının stilleri: üst bilgi, menüler, ana sayfa
 * bölümleri, liste ve süzgeçler, ürün sayfası, içerik sayfaları, alt bilgi.
 * Değişkenler ve temel öğeler (düğme, form alanı, rozet, fiyat) base.css'tedir.
 * Kırılımlar: 760px (tablet), 1024px (masaüstü), 1180px (geniş).
 * Satır içi stil kullanılmaz (CSP); renk noktaları ve dağılım çubukları SVG'dir.
 */

[hidden] {
  display: none !important;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-lg .icon {
  width: 20px;
  height: 20px;
}

main {
  display: block;
  min-height: 50vh;
}

main:focus,
.reviews:focus {
  box-shadow: none;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* Tonlar: simge kutuları ve güven kutucukları renklerini buradan alır. */
.tone-green {
  --tone: var(--green);
  --tone-soft: var(--green-soft);
}

.tone-pink {
  --tone: var(--pink);
  --tone-soft: var(--pink-soft);
}

.tone-blue {
  --tone: var(--blue);
  --tone-soft: var(--blue-soft);
}

.tone-purple {
  --tone: var(--purple);
  --tone-soft: var(--purple-soft);
}

.tone-gold {
  --tone: #8a6a1f;
  --tone-soft: var(--gold-soft);
}

/* JS'siz çekmeceler: onay kutusu görünmez ama klavyeyle odaklanır. */
.drawer-toggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(42, 27, 61, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  cursor: pointer;
}

/* Açık çekmecenin arkasındaki sayfa kaymaz (çekmeceler yalnız dar ekranda var). */
@media (max-width: 1023.98px) {
  body:has(#nav-toggle:checked),
  body:has(#filter-toggle:checked) {
    overflow: hidden;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex: none;
}

.icon-btn:hover {
  background: var(--surface-2);
  color: var(--purple);
}

.icon-btn .icon {
  width: 22px;
  height: 22px;
}

/* --- Duyuru şeridi --- */

.announcement {
  background: linear-gradient(90deg, var(--purple-dark), var(--purple));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
  text-align: center;
}

.announcement p {
  margin: 0;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
}

.announcement a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement .icon {
  width: 16px;
  height: 16px;
}

/* --- Üst bilgi --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    'menu brand actions'
    'search search search';
  align-items: center;
  column-gap: var(--space-1);
  row-gap: var(--space-2);
  padding-top: var(--space-2);
  padding-bottom: var(--space-3);
}

.menu-btn {
  grid-area: menu;
  margin-left: -10px;
}

#nav-toggle:focus-visible ~ .site-header .menu-btn {
  box-shadow: var(--focus);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
}

.header-bar .brand {
  grid-area: brand;
}

.brand:hover {
  color: var(--ink);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
}

.brand-name {
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand:hover .brand-name {
  color: var(--purple-dark);
}

.header-search {
  grid-area: search;
  position: relative;
}

.header-search-input {
  min-height: 48px;
  padding: 0 56px 0 20px;
  border-color: var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 16px;
}

.header-search-input:focus {
  background: var(--white);
}

.header-search-input::-webkit-search-cancel-button {
  display: none;
}

.header-search-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  cursor: pointer;
}

.header-search-btn:hover {
  background: var(--purple-dark);
}

.header-search-btn .icon {
  width: 19px;
  height: 19px;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  margin-right: -8px;
}

.header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.header-action:hover {
  background: var(--surface-2);
  color: var(--purple);
}

.header-action .icon {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: 3px;
  left: 22px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--pink);
  box-shadow: 0 0 0 2px var(--white);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
}

@media (max-width: 1023.98px) {
  .header-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 479.98px) {
  /* Dar ekranda favoriler menüde (Favorilerim); üst bilgide hesap ve sepet kalır. */
  .header-action[href='/hesap/favoriler'] {
    display: none;
  }
}

/* --- Masaüstü kategori menüsü (JS'siz: üzerine gelince ya da odakla açılır) --- */

.site-nav {
  border-top: 1px solid var(--border);
}

.site-nav > .container {
  position: relative;
}

.nav-list {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  padding: 0 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.nav-link::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 8px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-item:hover .nav-link,
.nav-item:focus-within .nav-link,
.nav-link[aria-current] {
  color: var(--purple);
}

.nav-item:hover .nav-link::after,
.nav-item:focus-within .nav-link::after,
.nav-link[aria-current]::after {
  transform: scaleX(1);
}

.nav-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.has-mega:hover .nav-link .icon,
.has-mega:focus-within .nav-link .icon {
  transform: rotate(180deg);
}

.nav-link-all {
  color: var(--purple);
}

.mega {
  position: absolute;
  top: 100%;
  right: var(--space-4);
  left: var(--space-4);
  z-index: 60;
  display: none;
}

.has-mega:hover > .mega,
.has-mega:focus-within > .mega {
  display: block;
}

.mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: var(--space-6);
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.mega-title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}

.mega-links > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 3;
  column-gap: var(--space-6);
}

.mega-links li {
  break-inside: avoid;
}

.mega-links a {
  display: block;
  padding: 7px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.mega-links a:hover,
.mega-links > ul > li:first-child > a {
  color: var(--purple);
}

.mega-sub {
  margin: 0 0 var(--space-2);
  padding: 0 0 0 var(--space-3);
  border-left: 2px solid var(--purple-soft);
  list-style: none;
}

.mega-sub a {
  padding: 4px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.mega-feature {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.mega-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.mega-feature:hover img {
  transform: scale(1.04);
}

.mega-feature-text {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(42, 27, 61, 0.8), rgba(42, 27, 61, 0));
  color: var(--white);
  font-size: 13px;
}

.mega-feature-text strong {
  font-family: var(--font-serif);
  font-size: 19px;
}

/* --- Mobil menü çekmecesi --- */

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(88vw, 360px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
}

#nav-toggle:checked ~ .drawer {
  transform: none;
  visibility: visible;
}

#nav-toggle:checked ~ .drawer-backdrop {
  opacity: 1;
  visibility: visible;
}

.drawer-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.brand-sm .brand-logo {
  width: 36px;
  height: 36px;
}

.drawer-body {
  padding: var(--space-2) 0 var(--space-6);
}

.drawer-list {
  margin: 0;
  padding: 0 var(--space-2);
  list-style: none;
}

.drawer-link,
.drawer-group > summary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 48px;
  padding: 0 var(--space-3);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.drawer-link:hover,
.drawer-group > summary:hover {
  background: var(--surface);
  color: var(--purple);
}

.drawer-group > summary {
  justify-content: space-between;
  list-style: none;
}

.drawer-group > summary::-webkit-details-marker {
  display: none;
}

.drawer-group > summary .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.2s;
}

.drawer-group[open] > summary .icon {
  transform: rotate(180deg);
}

.drawer-group ul {
  margin: 0 0 var(--space-2) 22px;
  padding: 0 0 0 var(--space-2);
  border-left: 2px solid var(--purple-soft);
  list-style: none;
}

.drawer-group ul a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  color: var(--ink-soft);
}

.drawer-secondary {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.drawer-secondary .drawer-link {
  font-weight: 500;
  color: var(--ink-soft);
}

.drawer-secondary .icon {
  color: var(--purple);
}

@media (min-width: 1024px) {
  .site-header {
    position: relative;
    background: var(--white);
  }

  .header-bar {
    grid-template-columns: auto minmax(280px, 1fr) auto;
    grid-template-areas: 'brand search actions';
    column-gap: var(--space-6);
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }

  .header-search {
    justify-self: center;
    width: 100%;
    max-width: 560px;
  }

  .header-action-label {
    white-space: nowrap;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 22px;
  }

  .header-actions {
    justify-self: end;
    gap: 2px;
  }

  #nav-toggle,
  .menu-btn,
  .drawer,
  body > .drawer-backdrop {
    display: none;
  }
}

/* --- Ortak: bölüm başlığı, çipler, içerik haritası, sayfalama, boş durum --- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.section-titles {
  min-width: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tone-soft, var(--purple-soft));
  color: var(--tone, var(--purple));
  flex: none;
}

.section-sub {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
}

.see-all .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.15s;
}

.see-all:hover .icon {
  transform: translateX(3px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.chip-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.chip-active {
  border-color: transparent;
  background: var(--purple-soft);
  color: var(--purple-dark);
}

.chip-active .icon {
  width: 15px;
  height: 15px;
}

.breadcrumbs {
  margin: var(--space-4) 0 var(--space-3);
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--border-strong);
}

.breadcrumbs a {
  color: var(--ink-soft);
}

.breadcrumbs a:hover {
  color: var(--purple);
}

.breadcrumbs [aria-current] {
  overflow: hidden;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-7) 0 var(--space-2);
}

.page-list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-num {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

a.page-num:hover {
  background: var(--surface-2);
  color: var(--purple);
}

.page-num.is-current {
  background: var(--purple);
  color: var(--white);
}

.page-gap {
  display: grid;
  place-items: center;
  width: 24px;
  height: 44px;
  color: var(--muted);
}

.page-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
}

a.page-step:hover {
  border-color: var(--purple);
}

.page-step .icon {
  width: 18px;
  height: 18px;
}

.page-step.is-disabled {
  opacity: 0.4;
}

@media (max-width: 559.98px) {
  .page-step {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .page-step span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 540px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-4);
  text-align: center;
}

.empty-icon,
.status-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
}

.empty-icon .icon,
.status-icon .icon {
  width: 30px;
  height: 30px;
}

.empty-state h2 {
  font-size: 22px;
}

.empty-state p {
  color: var(--ink-soft);
}

.empty-state .btn {
  margin-top: var(--space-2);
}

/* --- Yıldızlar (yarım yıldız adımlı; dolgu genişliği sınıfla) --- */

.stars {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 18px;
  flex: none;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.6 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 16.9l-5.6 2.9 1.1-6.2L3 9.2l6.2-.9z' fill='%23ddd2e8'/%3E%3C/svg%3E") left center / 18px 18px repeat-x;
}

.stars-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.6 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 16.9l-5.6 2.9 1.1-6.2L3 9.2l6.2-.9z' fill='%23c9a24b'/%3E%3C/svg%3E") left center / 18px 18px repeat-x;
}

.r0 { width: 0; }
.r5 { width: 10%; }
.r10 { width: 20%; }
.r15 { width: 30%; }
.r20 { width: 40%; }
.r25 { width: 50%; }
.r30 { width: 60%; }
.r35 { width: 70%; }
.r40 { width: 80%; }
.r45 { width: 90%; }
.r50 { width: 100%; }

/* --- Renk noktası --- */

.color-dot {
  width: 22px;
  height: 22px;
  flex: none;
}

.color-dot circle {
  stroke: rgba(42, 27, 61, 0.2);
  stroke-width: 1.2;
}

.color-dot.is-unknown circle {
  fill: var(--surface-2);
  stroke-dasharray: 3 2;
}

/* --- Ürün kartı, ızgara, şerit --- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pcard-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.pcard:hover .pcard-media img {
  transform: scale(1.04);
}

.pcard.is-out .pcard-media img {
  opacity: 0.6;
}

.pcard-noimg {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--border-strong);
}

.pcard-noimg .icon {
  width: 40px;
  height: 40px;
}

.pcard-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pcard-badges .badge {
  box-shadow: var(--shadow-sm);
}

.pcard-soldout {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  color: var(--ink-soft);
}

.pcard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-3) 2px 0;
}

.pcard-name {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pcard-link {
  color: var(--ink);
}

/* Kartın tamamı tıklanır: başlık bağlantısı kartı kaplar. */
.pcard-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
}

.pcard-link:focus-visible {
  box-shadow: none;
}

.pcard-link:focus-visible::after {
  box-shadow: var(--focus);
}

.pcard:hover .pcard-link {
  color: var(--purple);
}

.pcard-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
}

.pcard-rating .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.pcard-rating-count {
  font-weight: 500;
  color: var(--muted);
}

.pcard-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin: 2px 0 0;
  font-size: 15px;
}

.pcard-price .price-old {
  margin-left: 0;
}

.pcard-fav {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  margin: 0;
}

.fav-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  isolation: isolate;
}

.fav-btn::before {
  content: '';
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s;
}

.fav-btn .icon {
  width: 20px;
  height: 20px;
}

.fav-btn:hover {
  color: var(--pink);
}

.fav-btn:hover::before {
  transform: scale(1.06);
}

.fav-btn.is-fav,
.fav-wide.is-fav {
  color: var(--pink);
}

.fav-btn.is-fav .icon path,
.fav-wide.is-fav .icon path {
  fill: currentColor;
}

.fav-btn:focus-visible {
  box-shadow: none;
}

.fav-btn:focus-visible::before {
  box-shadow: var(--focus);
}

.strip {
  position: relative;
}

.strip-track {
  display: grid;
  grid-auto-columns: 44%;
  grid-auto-flow: column;
  gap: var(--space-3);
  margin: 0 calc(-1 * var(--space-4));
  padding: 4px var(--space-4) var(--space-2);
  overflow-x: auto;
  list-style: none;
  scroll-padding: 0 var(--space-4);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.strip-track::-webkit-scrollbar {
  display: none;
}

.strip-track:focus-visible {
  border-radius: var(--radius);
}

.strip-item {
  scroll-snap-align: start;
}

/* Şerit okları (site.js ekler; yalnız fareli geniş ekranda). */
.strip-btn {
  position: absolute;
  top: 38%;
  z-index: 3;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.15s;
}

.strip-btn:hover {
  color: var(--purple);
}

.strip-btn[disabled] {
  opacity: 0;
  pointer-events: none;
}

.strip-btn-prev {
  left: -18px;
}

.strip-btn-next {
  right: -18px;
}

@media (min-width: 760px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6) var(--space-5);
  }

  .strip-track {
    grid-auto-columns: 30%;
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) and (hover: hover) {
  .strip-btn {
    display: grid;
  }
}

@media (min-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .strip-track {
    grid-auto-columns: calc((100% - 3 * var(--space-5)) / 4);
    margin: 0;
    padding: 4px 0 var(--space-2);
    scroll-padding: 0;
  }
}

/* --- Ana sayfa --- */

.home {
  padding-bottom: var(--space-4);
}

.home-section {
  margin-top: var(--space-6);
}

.home-section:first-child {
  margin-top: var(--space-4);
}

.hero {
  position: relative;
}

.hero-track {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hero-track::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  position: relative;
  scroll-snap-align: start;
}

.theme-pink {
  --tone: var(--pink);
}

.theme-purple {
  --tone: var(--purple);
}

.theme-blue {
  --tone: var(--blue);
}

.theme-green {
  --tone: var(--green);
}

.hero-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--purple-soft);
  color: var(--white);
}

a.hero-card:hover {
  color: var(--white);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 56px 20px 22px;
  background: linear-gradient(to top, rgba(42, 27, 61, 0.82), rgba(42, 27, 61, 0));
}

/* Karusel noktaları metnin altına sığsın (noktalar yalnız çok slaytta, JS ile). */
[data-carousel] .hero-copy {
  padding-bottom: 40px;
}

.hero-eyebrow {
  margin: 0;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--tone, var(--pink));
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(24px, 4.2vw, 46px);
  color: var(--white);
}

.hero-sub {
  max-width: 42ch;
  margin: 0;
  font-size: 14.5px;
  opacity: 0.92;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--purple-dark);
  transition: transform 0.15s;
}

.hero-cta .icon {
  width: 18px;
  height: 18px;
  color: var(--tone, var(--purple));
}

a.hero-card:hover .hero-cta {
  transform: translateX(3px);
}

/* Karusel denetimleri (site.js ekler). */
.hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  display: flex;
  transform: translateX(-50%);
}

.hero-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.2s, background-color 0.2s;
}

.hero-dot[aria-current='true']::before {
  width: 22px;
  background: var(--white);
}

.hero-arrow,
.hero-pause {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  color: var(--ink);
  cursor: pointer;
}

.hero-arrow:hover,
.hero-pause:hover {
  color: var(--purple);
}

.hero-arrow {
  top: 50%;
  display: none;
  transform: translateY(-50%);
}

.hero-arrow-prev {
  left: 16px;
}

.hero-arrow-next {
  right: 16px;
}

.hero-pause {
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
}

.hero-pause .icon {
  width: 16px;
  height: 16px;
}

@media (min-width: 1024px) and (hover: hover) {
  .hero-arrow {
    display: grid;
    opacity: 0;
    transition: opacity 0.2s;
  }

  .hero:hover .hero-arrow,
  .hero-arrow:focus-visible {
    opacity: 1;
  }
}

.bubbles {
  display: flex;
  gap: var(--space-4);
  margin: 0 calc(-1 * var(--space-4));
  padding: 4px var(--space-4) var(--space-2);
  overflow-x: auto;
  list-style: none;
  scroll-padding: 0 var(--space-4);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.bubbles::-webkit-scrollbar {
  display: none;
}

.bubbles li {
  flex: none;
  scroll-snap-align: start;
}

.bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 84px;
  color: var(--ink);
  text-align: center;
}

.bubble-ring {
  display: block;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple) 55%, var(--gold));
  transition: transform 0.2s;
}

.bubble:hover .bubble-ring {
  transform: translateY(-2px);
}

.bubble-img {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
}

.bubble-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bubble-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.flash-deal {
  padding: var(--space-5) var(--space-4) var(--space-4);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--pink-soft), var(--white) 62%);
}

.flash-head {
  flex-wrap: wrap;
  align-items: center;
}

.flash-head .section-titles {
  flex: 1 1 100%;
}

.flash-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--pink);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.flash-timer .icon {
  width: 16px;
  height: 16px;
}

.flash-timer time {
  font-weight: 800;
}

.flash-deal .see-all {
  margin-left: auto;
}

.flash-deal .strip-track {
  margin: 0 calc(-1 * var(--space-4));
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Tek sayıda kutucukta ilki mobilde tam genişlik (boş hücre kalmaz). */
.tiles > li:first-child:nth-last-child(odd):not(:only-child) {
  grid-column: 1 / -1;
}

.tiles-1 {
  grid-template-columns: 1fr;
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 10 / 7;
  border-radius: var(--radius-lg);
  background: var(--purple-soft);
  color: var(--white);
}

a.tile:hover {
  color: var(--white);
}

.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

a.tile:hover .tile-img {
  transform: scale(1.04);
}

.tile-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(75, 34, 145, 0.85), rgba(75, 34, 145, 0));
}

.tile-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.tile-sub {
  font-size: 13px;
  opacity: 0.9;
}

.notice-section {
  margin-top: var(--space-5);
}

.notice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  font-size: 14.5px;
  font-weight: 600;
  color: #2658b8;
}

a.notice:hover {
  color: #2658b8;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  flex: none;
}

.notice-text {
  flex: 1;
}

.promises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--tone-soft, var(--surface));
}

.promise-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--tone, var(--purple));
  flex: none;
}

.promise-text {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-soft);
}

.promise-text strong {
  font-size: 14px;
  color: var(--ink);
}

@media (min-width: 760px) {
  .home-section {
    margin-top: var(--space-7);
  }

  .hero-card {
    aspect-ratio: 12 / 5;
  }

  .hero-copy {
    top: 0;
    right: auto;
    width: min(560px, 62%);
    justify-content: center;
    gap: 10px;
    padding: var(--space-7);
    background: linear-gradient(90deg, rgba(42, 27, 61, 0.74), rgba(42, 27, 61, 0));
  }

  .hero-sub {
    font-size: 16px;
  }

  .bubble {
    width: 100px;
  }

  .bubble-img {
    width: 92px;
    height: 92px;
  }

  .flash-deal {
    padding: var(--space-6);
  }

  .flash-head .section-titles {
    flex: 1 1 auto;
  }

  .flash-deal .strip-track {
    margin: 0;
    padding-right: 0;
    padding-left: 0;
    scroll-padding: 0;
  }

  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .tiles > li:first-child:nth-last-child(odd):not(:only-child) {
    grid-column: auto;
  }

  .tiles-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tiles-1 {
    grid-template-columns: 1fr;
  }

  .tiles-1 .tile {
    aspect-ratio: 12 / 4;
  }

  .tile-title {
    font-size: 22px;
  }
}

@media (min-width: 1024px) {
  .bubbles {
    flex-wrap: wrap;
    gap: var(--space-5) 28px;
    margin: 0;
    padding: 4px 0;
  }
}

/* --- Liste, kategori ve arama --- */

.page-listing {
  position: relative;
  padding-bottom: var(--space-7);
}

.listing-head {
  padding-bottom: var(--space-4);
}

.listing-head h1 {
  margin-bottom: 4px;
}

.listing-count {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.listing-desc {
  max-width: 72ch;
  margin: var(--space-3) 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  white-space: pre-line;
}

.subcats {
  margin-top: var(--space-4);
}

.subcats .chips {
  flex-wrap: nowrap;
  margin: 0 calc(-1 * var(--space-4));
  padding: 2px var(--space-4) 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subcats .chips::-webkit-scrollbar {
  display: none;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.filter-open {
  cursor: pointer;
}

#filter-toggle:focus-visible ~ .listing-toolbar .filter-open {
  box-shadow: var(--focus);
}

.sort-box {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  margin-left: auto;
}

.sort-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

@media (max-width: 559.98px) {
  .sort-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.sort-select {
  width: auto;
  min-width: 0;
  max-width: 100%;
  text-overflow: ellipsis;
  min-height: 44px;
  padding: 0 38px 0 16px;
  border-radius: var(--radius-pill);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c4f6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px 16px no-repeat;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
}

.filters {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(92vw, 380px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
}

#filter-toggle:checked ~ .listing-body .filters {
  transform: none;
  visibility: visible;
}

#filter-toggle:checked ~ .listing-body .filter-backdrop {
  opacity: 1;
  visibility: visible;
}

.filters-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.filters-head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
}

.filters-form {
  flex: 1;
  padding: var(--space-2) var(--space-5) 0;
}

.filter-group {
  min-width: 0;
  margin: 0;
  padding: var(--space-4) 0;
  border: 0;
  border-bottom: 1px solid var(--border);
}

.filter-group legend {
  float: left;
  width: 100%;
  margin-bottom: var(--space-3);
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

.filter-group legend + * {
  clear: both;
}

.price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.price-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.price-field .input {
  min-height: 44px;
  font-size: 16px;
}

.filter-options {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter-options .check {
  align-items: center;
  min-height: 42px;
  margin: 0 -8px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.filter-options .check:hover {
  background: var(--surface);
}

.filter-options .check input {
  margin: 0;
  flex: none;
}

.filter-colors {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-4);
}

.check-color .color-dot {
  width: 20px;
  height: 20px;
}

.filters-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: var(--space-2);
  margin: 0 calc(-1 * var(--space-5));
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border);
  background: var(--white);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.active-clear {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--space-2);
  font-size: 13.5px;
}

@media (min-width: 1024px) {
  .listing-toolbar {
    justify-content: flex-end;
  }

  #filter-toggle,
  .filter-open,
  .filter-backdrop,
  .filters-head {
    display: none;
  }

  .listing-body {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
  }

  /* Masaüstünde süzgeçler sayfayla birlikte akan yan sütundur (iç kaydırma yok). */
  .filters {
    position: static;
    z-index: auto;
    width: auto;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .filters-form {
    padding: 0;
  }

  .filter-group:first-child {
    padding-top: 0;
  }

  .filters-actions {
    position: static;
    margin: 0;
    padding: var(--space-5) 0 0;
    border-top: 0;
    background: transparent;
  }

  .listing-results .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.search-landing {
  max-width: 820px;
  padding-bottom: var(--space-7);
}

.search-big {
  display: flex;
  gap: var(--space-2);
}

.search-big .input {
  min-height: 52px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 16px;
}

.search-big .btn {
  min-height: 52px;
}

.search-block {
  margin-top: var(--space-6);
}

.search-block h2 {
  font-size: 20px;
}

.search-landing .bubbles {
  flex-wrap: wrap;
  margin: 0;
  padding: 4px 0;
}

@media (min-width: 1024px) {
  .search-landing .bubbles {
    justify-content: flex-start;
  }
}

/* --- Ürün sayfası --- */

.page-product {
  padding-bottom: var(--space-7);
}

.product-layout {
  display: grid;
  gap: var(--space-5);
}

.product-media {
  min-width: 0;
  margin: 0 calc(-1 * var(--space-4));
}

.gallery-main {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  overflow-x: auto;
  background: var(--surface-2);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-main::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  margin: 0;
  aspect-ratio: 2 / 3;
  scroll-margin-top: 120px;
  scroll-snap-align: start;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  margin: var(--space-3) 0 0;
  padding: 0 var(--space-4);
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  display: block;
  width: 60px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--surface-2);
  opacity: 0.72;
  transition: opacity 0.15s, border-color 0.15s;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: var(--purple);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  aspect-ratio: 2 / 3;
  max-height: 70vh;
  background: var(--surface-2);
  font-weight: 600;
  color: var(--muted);
}

.gallery-empty .icon {
  width: 40px;
  height: 40px;
}

.product-info {
  min-width: 0;
}

.product-brand {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
}

.product-title {
  margin-bottom: var(--space-2);
  font-size: clamp(24px, 2.8vw, 32px);
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}

.product-rating-value {
  font-weight: 800;
  color: var(--ink);
}

.product-rating-count {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: var(--space-4) 0 var(--space-5);
}

.price-lg {
  font-size: 28px;
  letter-spacing: -0.01em;
}

.product-price .price-old {
  margin-left: 0;
  font-size: 17px;
}

.swatch-block {
  margin-bottom: var(--space-4);
}

.swatch-title {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.swatch-title strong {
  color: var(--ink);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 8px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.swatch:hover {
  border-color: var(--purple);
  color: var(--ink);
}

.swatch.is-selected {
  border-color: var(--purple);
  background: var(--purple-soft);
  box-shadow: inset 0 0 0 1px var(--purple);
}

.swatch .color-dot {
  width: 26px;
  height: 26px;
}

.swatch.is-out {
  color: var(--muted);
}

.swatch.is-out .color-dot {
  opacity: 0.45;
}

.swatch.is-out .swatch-label {
  text-decoration: line-through;
}

.swatch-note {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

.stock-state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-4);
  font-size: 14px;
  font-weight: 700;
}

/* Durum noktası: renk sınıftan gelir (JS renk değişince yalnız sınıfı değiştirir). */
.stock-state::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px var(--ring, var(--surface-2));
  flex: none;
}

.stock-in {
  --ring: var(--green-soft);
  color: #137a51;
}

.stock-low {
  --ring: var(--gold-soft);
  color: #8a6a1f;
}

.stock-out {
  --ring: var(--pink-soft);
  color: var(--danger);
}

.variant-picker {
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-3) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.variant-picker legend {
  padding: 0 6px;
  font-size: 13.5px;
  font-weight: 700;
}

.variant-options {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.variant-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
}

.variant-option:hover {
  background: var(--surface);
}

.variant-option:has(input:checked) {
  background: var(--purple-soft);
}

.variant-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--purple);
}

.variant-option-label {
  flex: 1;
  font-weight: 600;
}

.variant-option-meta {
  font-weight: 700;
  color: var(--ink-soft);
}

.variant-option.is-out {
  color: var(--muted);
  cursor: not-allowed;
}

.buy-row {
  display: flex;
  gap: var(--space-3);
}

.qty {
  position: relative;
  width: 92px;
  flex: none;
}

.qty-label {
  position: absolute;
  top: 7px;
  right: 0;
  left: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

.qty-input {
  height: 52px;
  padding: 18px 8px 4px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.buy-btn {
  flex: 1;
}

.fav-form {
  margin: var(--space-3) 0 0;
}

.fav-wide .icon {
  width: 20px;
  height: 20px;
}

.fav-wide.is-fav {
  border-color: var(--pink-soft);
  background: var(--pink-soft);
}

.ship-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: var(--space-5) 0 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  font-size: 14px;
  font-weight: 600;
  color: #2658b8;
}

.ship-note .icon {
  width: 22px;
  height: 22px;
}

.product-promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.product-promises li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-soft);
}

.product-promises strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.product-promise-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tone-soft, var(--purple-soft));
  color: var(--tone, var(--purple));
  flex: none;
}

.product-details,
.reviews {
  max-width: 820px;
}

.product-details {
  margin-top: var(--space-7);
  border-top: 1px solid var(--border);
}

.accordion {
  border-bottom: 1px solid var(--border);
}

.accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 60px;
  padding: var(--space-2) 0;
  list-style: none;
  cursor: pointer;
}

.accordion > summary::-webkit-details-marker {
  display: none;
}

.accordion > summary h2,
.accordion > summary h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
}

.accordion > summary:hover h2,
.accordion > summary:hover h3 {
  color: var(--purple);
}

.accordion > summary .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.2s;
}

.accordion[open] > summary .icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 0 var(--space-5);
}

.prose {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose p {
  margin: 0 0 var(--space-3);
}

.prose p:last-child {
  margin-bottom: 0;
}

.spec-list {
  display: grid;
  margin: 0;
}

.spec-list > div {
  display: grid;
  grid-template-columns: minmax(110px, 34%) minmax(0, 1fr);
  gap: var(--space-3);
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-strong);
}

.spec-list > div:last-child {
  border-bottom: 0;
}

.spec-list dt {
  font-weight: 600;
  color: var(--ink-soft);
}

.spec-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.ship-methods {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}

.ship-methods li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ship-methods .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--blue);
}

.ship-methods strong {
  color: var(--ink);
}

.ship-fee,
.ship-desc {
  display: block;
  font-size: 13.5px;
}

.reviews {
  margin-top: var(--space-7);
  scroll-margin-top: 130px;
}

.reviews-total {
  font-family: var(--font-sans);
  font-size: 0.68em;
  font-weight: 600;
  color: var(--muted);
}

.reviews-summary {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reviews-avg {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
}

.reviews-count {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.reviews-dist {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reviews-dist li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.dist-star {
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-soft);
}

.dist-bar {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: var(--radius-pill);
}

.dist-track {
  fill: var(--border);
}

.dist-fill {
  fill: var(--gold);
}

.dist-count {
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.review-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.review {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
}

.review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: var(--space-2);
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.review-author {
  font-weight: 700;
  color: var(--ink);
}

.badge-verified {
  background: var(--green-soft);
  color: #137a51;
}

.badge-verified .icon {
  width: 14px;
  height: 14px;
}

.review-title {
  margin: 0 0 6px;
  font-size: 15px;
}

.review-body p {
  margin: 0 0 var(--space-2);
  color: var(--ink-soft);
}

.review-reply {
  margin-top: var(--space-3);
  padding: 12px 16px;
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--purple-soft);
}

.review-reply-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--purple-dark);
}

.review-reply-head .icon {
  width: 16px;
  height: 16px;
}

.review-reply-head time {
  margin-left: auto;
  color: var(--muted);
}

.review-reply p {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink);
}

.reviews-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
}

.reviews-empty .icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.product-related {
  margin-top: var(--space-7);
}

@media (min-width: 640px) {
  .reviews-summary {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: var(--space-7);
    align-items: start;
  }

  .product-media {
    margin: 0;
  }

  .gallery:has(.gallery-thumbs) {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
  }

  .gallery-main {
    border-radius: var(--radius-lg);
  }

  .gallery-thumbs {
    order: -1;
    flex-direction: column;
    max-height: 640px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
  }

  .gallery-thumb {
    width: 72px;
  }

  .gallery-empty {
    border-radius: var(--radius-lg);
  }

  .product-info {
    padding-top: var(--space-2);
  }
}

/* --- İçerik, SSS ve iletişim sayfaları --- */

.page-content {
  padding-bottom: var(--space-7);
}

.content-layout {
  display: grid;
  gap: var(--space-6);
}

.content-main,
.content-card {
  min-width: 0;
  max-width: 780px;
}

.content-head {
  margin-bottom: var(--space-5);
}

.content-title {
  margin-bottom: var(--space-3);
}

.content-lead {
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
}

.content-card .prose {
  font-size: 15.5px;
}

/* Yan menü dar ekranda gizli: aynı bağlantılar alt bilgide. */
.help-nav {
  display: none;
  align-self: start;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.help-nav-title {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.help-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 46px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.help-nav li:last-child a {
  border-bottom: 0;
}

.help-nav a .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.help-nav a:hover,
.help-nav a[aria-current] {
  color: var(--purple);
}

.help-nav a[aria-current] .icon {
  color: var(--purple);
}

.faq-group {
  margin-bottom: var(--space-6);
}

.faq-group-title {
  margin-bottom: var(--space-2);
  font-size: 21px;
}

.faq-item > summary h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.faq-item:target > summary h3 {
  color: var(--purple);
}

.help-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--purple-soft);
}

.help-cta-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--purple);
  flex: none;
}

.help-cta > div {
  flex: 1;
  min-width: 200px;
}

.help-cta p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.help-cta .help-cta-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.contact-grid {
  display: grid;
  gap: var(--space-4);
}

.contact-card {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.contact-card h2 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-family: var(--font-sans);
  font-size: 17px;
}

.contact-card > p {
  color: var(--ink-soft);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tone-soft, var(--purple-soft));
  color: var(--tone, var(--purple));
  flex: none;
}

.contact-list {
  display: grid;
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list a,
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-height: 44px;
  padding: 8px 0;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.contact-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--purple);
}

.contact-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-company {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: var(--space-7);
  }

  .help-nav {
    position: sticky;
    top: var(--space-5);
    display: block;
  }
}

/* --- Durum sayfaları (404, hata) --- */

.status-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  text-align: center;
}

.status-code {
  margin: 0 0 var(--space-2);
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-serif);
  font-size: clamp(76px, 14vw, 124px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
}

.status-text {
  max-width: 48ch;
  color: var(--ink-soft);
}

.status-search {
  width: 100%;
  max-width: 480px;
  margin: var(--space-3) 0 var(--space-4);
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

/* --- Alt bilgi --- */

.site-footer {
  margin-top: var(--space-8);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-4);
  padding-top: var(--space-7);
  padding-bottom: var(--space-6);
}

/* Dar ekranda marka ve iletişim tam genişlik; bağlantı sütunları yan yana. */
.footer-brand,
.footer-col:has(.footer-contact) {
  grid-column: 1 / -1;
}

.footer-brand .brand-logo {
  width: 56px;
  height: 56px;
}

.footer-brand .brand-name {
  font-size: 20px;
}

.footer-about {
  max-width: 38ch;
  margin: var(--space-4) 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
}

.footer-title {
  margin-bottom: var(--space-2);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-col a:hover {
  color: var(--purple);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-contact li > a {
  gap: 10px;
  min-height: 0;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--purple);
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-4);
  padding-bottom: var(--space-5);
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

.footer-etbis {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.footer-etbis .icon {
  width: 18px;
  height: 18px;
}

.footer-etbis:hover,
.footer-etbis:focus-visible {
  color: var(--green);
}

.footer-consent {
  margin: 0;
}

.footer-consent button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.footer-consent button:hover,
.footer-consent button:focus-visible {
  color: var(--purple);
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--space-7);
  }

  .footer-brand,
  .footer-col:has(.footer-contact) {
    grid-column: auto;
  }
}

@media (pointer: fine) {
  .footer-col a {
    min-height: 34px;
  }

  .footer-contact li {
    padding: 6px 0;
  }
}

/* --- Çerez tercihi --- */

.consent {
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  left: var(--space-3);
  z-index: 80;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.consent-inner {
  display: grid;
  gap: var(--space-3);
}

.consent-title {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 15px;
}

.consent-text p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.consent-actions .btn {
  flex: 1;
}

@media (min-width: 760px) {
  .consent-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-5);
  }

  .consent-actions {
    flex-wrap: nowrap;
  }
}

.flash-wrap .flash {
  margin-top: var(--space-4);
}

/* Belge biçimli metin (yasal sayfalar, sözleşmeler): ara başlıklar ve maddeler.
   6502 sayılı Kanun sözleşmelerin okunaklı (en az 12 punto) olmasını ister;
   gövde 15.5px ≈ 11.6pt üstü, başlıklar daha büyük. */
.prose h2 {
  margin: var(--space-5) 0 var(--space-2);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 var(--space-3);
  padding-left: 1.25em;
}

.prose li {
  margin: 0 0 var(--space-1);
}

.doc-note {
  margin: 0 0 var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: 14.5px;
  color: var(--ink-soft);
}

.acc-doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.acc-doc-actions {
  margin: var(--space-5) 0 0;
}

/* Ödeme adımında sözleşme metinleri: kaydırılabilir kutu. */
.acc-doc-box {
  margin: var(--space-2) 0 0;
}

.acc-doc-box > summary {
  cursor: pointer;
  color: var(--purple);
  font-weight: 600;
}

.acc-doc-box .prose {
  max-height: 320px;
  overflow-y: auto;
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 14px;
}

@media print {
  .site-header,
  .site-footer,
  .acc-eyebrow,
  .acc-doc-actions,
  .announcement,
  .consent {
    display: none !important;
  }
}
