/* Boutique storefront — premium light theme */

:root {
  --bg: #f7f3ef;
  --bg-2: #efe8e1;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #fffcfa;
  --text: #1c1917;
  --muted: #78716c;
  --muted-2: #a8a29e;
  --accent: #9c6b5c;
  --accent-dark: #7d5649;
  --accent-soft: rgba(156, 107, 92, 0.12);
  --gold: #b8956c;
  --line: rgba(28, 25, 23, 0.08);
  --line-strong: rgba(28, 25, 23, 0.12);
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow: 0 8px 32px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 25, 23, 0.1);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.boutique-site {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(184, 149, 108, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(156, 107, 92, 0.08), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

.container.narrow {
  width: min(480px, 100% - 2rem);
}

/* ——— Glass panels ——— */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-dark {
  background: rgba(28, 25, 23, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 252, 250, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 252, 250, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent) 0%, #c49a8c 50%, var(--gold) 100%);
  box-shadow: 0 4px 16px rgba(156, 107, 92, 0.35);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  flex-wrap: wrap;
}

.main-nav-links,
.main-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex-wrap: wrap;
}

.main-nav-links a {
  position: relative;
  padding: 0.45rem 0.55rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}

.main-nav-links a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.main-nav-actions {
  padding-left: 0.5rem;
  margin-left: 0.25rem;
  border-left: 1px solid var(--line);
}

.main-nav-actions .nav-muted {
  padding: 0.45rem 0.55rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
}

.main-nav-actions .nav-muted:hover {
  color: var(--text);
  background: rgba(28, 25, 23, 0.04);
}

.main-nav-actions .nav-account {
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.5);
}

.main-nav-actions .nav-account:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-pill) !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
}

.cart-link:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 4px 16px rgba(156, 107, 92, 0.15);
  transform: translateY(-1px);
}

.cart-link .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.4rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-register {
  margin-left: 0.15rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.nav-toggle::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  background: var(--text);
  box-shadow: 0 -6px 0 var(--text), 0 6px 0 var(--text);
  transition: transform 0.2s;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header-h) + 0.35rem);
    padding: 1.15rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: rgba(255, 252, 250, 0.97);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav-links,
  .main-nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }

  .main-nav-actions {
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .cart-link {
    justify-content: center;
  }

  .nav-register {
    text-align: center;
    margin-left: 0;
  }
}

.site-main {
  min-height: 55vh;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 4rem;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 252, 250, 0.5) 0%, rgba(239, 232, 225, 0.95) 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--accent), transparent);
  opacity: 0.45;
}

.footer-inner {
  padding-bottom: 0.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 2.75rem 0 1.5rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
  }
}

.footer-col-brand {
  max-width: 22rem;
}

.footer-logo-mark {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), var(--gold));
  margin-bottom: 0.85rem;
  opacity: 0.95;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.footer-tagline {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-col .footer-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  margin-top: 0.45rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--accent-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0 2rem;
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}

.footer-note {
  font-size: 0.78rem;
  opacity: 0.85;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.88rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.section {
  padding: 2.75rem 0;
}

.section-auth {
  padding: 3.5rem 0 4.5rem;
}

.section-tint {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0.25) 100%);
}

.page-head {
  padding-bottom: 0.25rem;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3rem);
  font-weight: 700;
  margin: 0.35rem 0 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
  display: inline-block;
}

.page-head h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0.85;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.section-head .link-arrow {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.link-arrow::after {
  content: " →";
  opacity: 0.7;
}

/* ——— Hero slider ——— */
.hero-slider {
  position: relative;
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .hero-slider {
    padding: 0 0.65rem;
  }
  .slider {
    border-radius: var(--radius-sm);
  }
}

.slider {
  position: relative;
  min-height: min(70vh, 620px);
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.85s ease;
}

.slide.is-active {
  opacity: 1;
  position: relative;
}

.slide-overlay {
  min-height: min(70vh, 620px);
  display: flex;
  align-items: flex-end;
  padding: 3rem 0 3.5rem;
}

.slide-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6.5vw, 3.75rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.05);
}

.slider-nav.prev {
  left: 1.25rem;
}
.slider-nav.next {
  right: 1.25rem;
}

.slider-nav.prev::before {
  content: "‹";
  font-size: 1.85rem;
  line-height: 1;
}
.slider-nav.next::before {
  content: "›";
  font-size: 1.85rem;
  line-height: 1;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 5;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, background 0.2s;
}

.slider-dots button.is-active {
  background: #fff;
  transform: scale(1.2);
}

.hero-fallback {
  padding: 4.5rem 2rem;
  margin: 1rem 0;
  text-align: center;
}

.hero-fallback-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.hero-fallback-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.4rem);
  margin: 0.35rem 0 0.85rem;
  font-weight: 700;
}

/* ——— Categories ——— */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(156, 107, 92, 0.35);
  background: #fff;
}

/* ——— Product grid ——— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.pill.sale {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.product-card-body {
  padding: 1.1rem 1.2rem 1.25rem;
}

.product-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.product-prices {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.price-old {
  text-decoration: line-through;
  color: var(--muted-2);
  font-size: 0.88rem;
}

.price-current {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.25s, background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(156, 107, 92, 0.38);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 10px 32px rgba(156, 107, 92, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: #fff;
}

.btn-sm {
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(28, 25, 23, 0.04);
}

/* ——— Product page ——— */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: start;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.product-gallery .gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.product-gallery .gallery-main img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.gallery-thumbs .thumb {
  width: 76px;
  height: 94px;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--surface-solid);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gallery-thumbs .thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-price-big {
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0.85rem 0 1rem;
  letter-spacing: -0.02em;
}

.product-form,
.product-form-quick {
  padding: 1.35rem 1.4rem;
  margin-bottom: 1rem;
}

.variant-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.variant-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background: rgba(255, 255, 255, 0.35);
}

.variant-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(156, 107, 92, 0.2);
}

.variant-option.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.input {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-sm {
  max-width: 5.5rem;
}

.qty-row {
  margin-bottom: 1rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rte {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
}

.rte :is(p, ul, ol) {
  margin: 0.65rem 0;
}

.rte :is(h2, h3, h4) {
  font-family: var(--font-display);
  color: var(--text);
}

.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 1rem;
  border: 1px solid rgba(156, 107, 92, 0.2);
  font-weight: 500;
}

/* ——— Cart ——— */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 860px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-line {
  display: grid;
  grid-template-columns: 92px 1fr auto auto auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  margin-bottom: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.2s;
}

.cart-line:hover {
  box-shadow: var(--shadow-sm);
}

@media (max-width: 700px) {
  .cart-line {
    grid-template-columns: 76px 1fr;
  }
  .cart-line-total,
  .cart-qty form {
    grid-column: 2;
  }
}

.cart-thumb img {
  width: 92px;
  height: 115px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.cart-summary {
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  border: 1px solid var(--line);
}

.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
}

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
}

.empty-state p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.success-box,
.auth-box {
  padding: 2.5rem 2rem;
  margin: 1.5rem auto;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.success-box::before,
.auth-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.success-box h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.auth-box h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0 0 1.25rem;
}

/* ——— Checkout ——— */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-banks,
.checkout-form {
  padding: 1.5rem 1.6rem;
}

.checkout-banks h3,
.checkout-form h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.bank-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.bank-card:last-of-type {
  border-bottom: none;
}

.bank-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.iban {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  word-break: break-all;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  font-family: ui-monospace, monospace;
}

.order-sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 700;
}

.checkout-summary-box {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.checkout-summary-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  color: var(--muted);
}

.checkout-summary-row strong {
  color: var(--text);
  font-weight: 700;
}

.checkout-summary-discount span:last-child {
  color: #2d7a4d;
  font-weight: 600;
}

.checkout-summary-total {
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.coupon-box {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.coupon-box h4 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.coupon-form,
.coupon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.coupon-form .input {
  flex: 1;
  min-width: 140px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
}

.subnav a {
  color: var(--muted);
  padding: 0.35rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}

.subnav a:hover {
  color: var(--text);
}

.subnav a.is-active {
  color: var(--accent-dark);
  border-color: var(--accent);
}

/* ——— Tables (hesap) ——— */
.table-responsive {
  overflow-x: auto;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.table-responsive.glass {
  padding: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table thead th {
  text-align: left;
  padding: 0.9rem 1.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(247, 243, 239, 0.9);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr {
  transition: background 0.15s;
}

.data-table tbody tr:hover {
  background: rgba(156, 107, 92, 0.04);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Sipariş detayı (hesap) ——— */
.order-detail-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 900px) {
  .order-detail-layout {
    grid-template-columns: 1fr;
  }
}

.order-detail-card {
  padding: 1.5rem 1.6rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.order-detail-h {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 1.1rem;
}

.order-line-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-line-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.order-line-item:last-child {
  border-bottom: none;
}

.order-line-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.order-line-title {
  font-weight: 600;
  color: var(--text);
}

.order-line-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  font-size: 0.9rem;
}

.order-line-price {
  color: var(--muted);
}

.order-line-sub {
  font-weight: 700;
}

.order-totals-breakdown {
  margin-top: 1.25rem;
}

.order-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  color: var(--muted);
}

.order-totals-row span:last-child {
  color: var(--text);
  font-weight: 600;
}

.order-totals-discount span:last-child {
  color: #2d7a4d;
}

.order-detail-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 2px solid var(--line);
  font-size: 1.2rem;
  font-weight: 700;
}

.order-totals-breakdown .order-detail-total {
  margin-top: 0.65rem;
}

.order-status-pill {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(156, 107, 92, 0.2);
}

.order-meta-dl {
  margin: 0;
  font-size: 0.92rem;
}

.order-meta-dl dt {
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.order-meta-dl dt:first-child {
  margin-top: 0;
}

.order-meta-dl dd {
  margin: 0.25rem 0 0;
}

.order-address {
  font-size: 0.95rem;
  line-height: 1.6;
}

.order-iban {
  display: block;
  margin-top: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  word-break: break-all;
  border: 1px solid var(--line);
  font-family: ui-monospace, monospace;
}

.receipt-list {
  margin: 0;
  padding-left: 1.15rem;
}

.receipt-list li {
  margin-bottom: 0.7rem;
}

/* ============================================================
   MODERN REFRESH — eklenen / genişletilmiş bileşenler
   (Aşağıdaki kurallar üstteki tanımları override eder.)
   ============================================================ */

:root {
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --header-h: 4.5rem;
  --announcement-h: 2.1rem;
  --ring: 0 0 0 3px rgba(156, 107, 92, 0.18);
}

body.boutique-site {
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
}

/* —— Announcement bar —— */
.announcement-bar {
  position: relative;
  z-index: 60;
  color: #fff;
  background: linear-gradient(90deg, #2c211e 0%, #4a3329 50%, #2c211e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  min-height: var(--announcement-h);
  padding: 0.4rem 0;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: #f5e9df;
}

.announcement-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(184, 149, 108, 0.7);
}

.announcement-sep {
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 640px) {
  .announcement-bar {
    font-size: 0.72rem;
  }
  .announcement-sep {
    display: none;
  }
}

/* —— Header refinements —— */
.site-header {
  background: rgba(255, 252, 250, 0.84);
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.site-header.is-scrolled {
  background: rgba(255, 252, 250, 0.96);
  box-shadow: 0 8px 30px -16px rgba(28, 25, 23, 0.18);
}

.logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(140deg, var(--accent-dark) 0%, var(--accent) 45%, var(--gold) 100%);
  box-shadow: 0 6px 18px -6px rgba(156, 107, 92, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Noto Naskh Arabic", "Amiri", serif;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  padding-bottom: 0.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.footer-logo-mark {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Noto Naskh Arabic", "Amiri", serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  padding-bottom: 0.15rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  letter-spacing: 0;
}

.main-nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
}

.main-nav-links a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  margin-top: 4px;
  background: var(--accent);
  transition: width 0.25s ease;
  border-radius: 1px;
}

.main-nav-links a:hover {
  background: transparent;
  color: var(--accent-dark);
}

.main-nav-links a:hover::after {
  width: 100%;
}

.cart-link,
.nav-account {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: 12px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  background: #fff !important;
  border: 1px solid rgba(28, 25, 23, 0.1) !important;
  color: var(--text) !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s !important;
}

.cart-link:hover,
.nav-account:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 6px 18px -8px rgba(156, 107, 92, 0.5) !important;
  transform: translateY(-1px);
}

.cart-link .ico,
.nav-account .ico {
  color: var(--accent-dark);
}

.cart-link .badge {
  margin-left: 0.15rem;
  background: var(--accent-dark);
  box-shadow: none;
}

.nav-toggle {
  border-radius: 12px;
  border: 1px solid rgba(28, 25, 23, 0.12);
  background: #fff;
  box-shadow: 0 2px 6px -2px rgba(28, 25, 23, 0.15);
}

@media (max-width: 900px) {
  .main-nav {
    top: calc(var(--header-h) + 0.5rem);
    border-radius: 18px;
    box-shadow: 0 24px 60px -20px rgba(28, 25, 23, 0.25);
  }
}

/* —— Section heads —— */
.page-head h1,
.section-head h2,
.slide-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-dark);
  opacity: 0.85;
}

/* —— Buttons —— */
.btn {
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 0.72rem 1.4rem;
}

.btn-primary {
  background: linear-gradient(180deg, #a8786a 0%, var(--accent-dark) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 8px 22px -8px rgba(125, 86, 73, 0.6);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--accent) 0%, #6b4a3f 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 12px 28px -10px rgba(125, 86, 73, 0.65);
}

.btn-outline {
  background: #fff;
  border-color: rgba(28, 25, 23, 0.12);
}

.btn-outline:hover {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px -10px rgba(156, 107, 92, 0.45);
}

/* —— Chips —— */
.chip {
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.08);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem;
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.02);
}

.chip:hover {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff, #faf4ef);
  box-shadow: 0 8px 24px -12px rgba(156, 107, 92, 0.4);
  color: var(--accent-dark);
}

/* —— Product cards —— */
.product-card.glass {
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.07);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.product-card:hover {
  border-color: rgba(156, 107, 92, 0.35);
  box-shadow: 0 22px 44px -22px rgba(28, 25, 23, 0.25);
  transform: translateY(-4px);
}

.product-card-media {
  background: #f5efe9;
}

.product-card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.product-title {
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
}

.price-current {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.pill.sale {
  background: #1c1917;
  color: #fff;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  padding: 0.32rem 0.55rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* —— Section spacing —— */
.section {
  padding: 3.5rem 0;
}

@media (min-width: 900px) {
  .section {
    padding: 4.5rem 0;
  }
}

/* —— Footer —— */
.site-footer {
  margin-top: 5rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 250, 0.4) 0%, #efe8e1 100%);
  border-top: 1px solid rgba(28, 25, 23, 0.06);
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 25, 23, 0.1);
  background: #fff;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.03);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-social-link svg {
  flex-shrink: 0;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  color: #fff;
}

.footer-social-instagram:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
  box-shadow: 0 10px 22px -10px rgba(238, 42, 123, 0.6);
}

.footer-social-whatsapp:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 10px 22px -10px rgba(18, 140, 126, 0.55);
}

.footer-social-label {
  line-height: 1;
}

.footer-help {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Inputs — modern focus —— */
.input {
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 12px;
  padding: 0.78rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.input:hover {
  border-color: rgba(28, 25, 23, 0.2);
}

.input:focus {
  border-color: var(--accent);
  box-shadow: var(--ring);
}

/* —— Coupon box —— */
.coupon-box {
  background: linear-gradient(180deg, #fffaf6, #faf2eb);
  border: 1px dashed rgba(156, 107, 92, 0.45);
  border-radius: 14px;
}

.coupon-box h4 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-dark);
}

.coupon-box h4::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(156, 107, 92, 0.18);
}

/* —— Subnav refresh —— */
.subnav {
  border-bottom: 1px solid var(--line);
  margin-top: 1.25rem;
  padding-bottom: 0.25rem;
}

/* —— Order status pill states —— */
.order-status-pill {
  border: 1px solid rgba(28, 25, 23, 0.08);
  background: #fff;
  color: var(--text);
}

/* —— Cart line refinements —— */
.cart-line {
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.07);
  border-radius: 14px;
}

.cart-summary {
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.07);
  box-shadow: 0 18px 40px -24px rgba(28, 25, 23, 0.18);
}

/* —— Kategoriler — modern kart ızgarası —— */
.section-categories {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.95rem;
}

@media (max-width: 720px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

@media (max-width: 380px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  background: var(--cat-bg, linear-gradient(135deg, #fff5ec, #fde7d3));
  border: 1px solid var(--cat-border, rgba(28, 25, 23, 0.06));
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 60%);
  opacity: 0.7;
  z-index: -1;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(28, 25, 23, 0.25);
  border-color: var(--cat-accent, var(--accent));
  color: var(--text);
}

.category-card-letter {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--cat-accent, var(--accent));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.25);
}

.category-card-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  line-height: 1.25;
  word-break: break-word;
  hyphens: auto;
}

.category-card-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--cat-accent, var(--accent-dark));
  border: 1px solid rgba(28, 25, 23, 0.06);
  transform: translateX(-2px);
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.25s, background 0.2s;
}

.category-card:hover .category-card-arrow {
  opacity: 1;
  transform: translateX(0);
  background: #fff;
}

@media (max-width: 720px) {
  .category-card {
    padding: 0.85rem 0.85rem;
    gap: 0.65rem;
    border-radius: 14px;
  }
  .category-card-letter {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.05rem;
  }
  .category-card-name {
    font-size: 0.88rem;
  }
  .category-card-arrow {
    display: none;
  }
}

@media (max-width: 380px) {
  .category-card {
    padding: 0.95rem 1rem;
  }
  .category-card-name {
    font-size: 0.95rem;
  }
}

/* Renk temaları (sırayla dönüşümlü) */
.category-theme-1 {
  --cat-bg: linear-gradient(135deg, #fff5ec, #fde0c5);
  --cat-accent: #c97a4a;
  --cat-border: rgba(201, 122, 74, 0.18);
}
.category-theme-2 {
  --cat-bg: linear-gradient(135deg, #f5edff, #e6d6ff);
  --cat-accent: #7c5fd1;
  --cat-border: rgba(124, 95, 209, 0.18);
}
.category-theme-3 {
  --cat-bg: linear-gradient(135deg, #ecf6ef, #d6ecdc);
  --cat-accent: #4a8a63;
  --cat-border: rgba(74, 138, 99, 0.18);
}
.category-theme-4 {
  --cat-bg: linear-gradient(135deg, #fff0f4, #ffd6e2);
  --cat-accent: #d05983;
  --cat-border: rgba(208, 89, 131, 0.18);
}
.category-theme-5 {
  --cat-bg: linear-gradient(135deg, #ecf3fb, #d3e4f6);
  --cat-accent: #5079b8;
  --cat-border: rgba(80, 121, 184, 0.18);
}
.category-theme-6 {
  --cat-bg: linear-gradient(135deg, #fdf6e3, #f6e7b8);
  --cat-accent: #b08538;
  --cat-border: rgba(176, 133, 56, 0.18);
}

/* —— Auth (Giriş / Kayıt) — iki sütunlu layout —— */
.auth-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.auth-split-login {
  grid-template-columns: 1fr 1.05fr;
  max-width: 880px;
}

@media (max-width: 860px) {
  .auth-split,
  .auth-split-login {
    grid-template-columns: 1fr;
    max-width: 520px;
    gap: 1.25rem;
  }
}

.auth-aside {
  position: relative;
  padding: 2.25rem 2rem;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.auth-aside-register {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(160deg, #4a3329 0%, var(--accent-dark) 55%, var(--accent) 100%);
}

.auth-aside-login {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(184, 149, 108, 0.22), transparent 55%),
    linear-gradient(155deg, #2c211e 0%, #4a3329 100%);
}

.auth-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 80% 100%, rgba(255, 255, 255, 0.1), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.auth-aside-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.6rem;
}

.auth-aside-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
  color: #fff;
}

.auth-aside-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 30ch;
}

.auth-aside-bullets {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.auth-aside-bullets li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.auth-bullet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 149, 108, 0.18);
}

.auth-aside-hint {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.7) !important;
}

.auth-aside-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.auth-aside-link:hover {
  color: var(--gold);
}

.auth-card {
  padding: 2rem 2rem 1.85rem;
  border-radius: 20px;
}

.auth-card h1 {
  margin-bottom: 0.25rem;
}

.auth-card-sub {
  margin: 0 0 1.4rem;
}

.auth-form {
  gap: 0.95rem;
}

.auth-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

@media (max-width: 480px) {
  .auth-row-2 {
    grid-template-columns: 1fr;
  }
  .auth-card,
  .auth-aside {
    padding: 1.6rem 1.4rem;
  }
}

.auth-hint {
  margin: 0.35rem 0 0;
}

.auth-card-foot {
  margin: 1.1rem 0 0;
  text-align: center;
}

/* —— Slider — blur'u kaldır, alttan koyu gradyan ile metin okunsun —— */
.slide-overlay.glass-dark {
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0) 0%,
    rgba(28, 25, 23, 0.05) 45%,
    rgba(28, 25, 23, 0.55) 90%,
    rgba(28, 25, 23, 0.7) 100%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
}

.slide-content h2 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* —— Status pills (durum etiketleri) —— */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: #f1f5f9;
  color: #475569;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
}

.pill-warning {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}
.pill-success {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.pill-info {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe;
}
.pill-danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}
.pill-muted {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}

.pill.sale::before {
  display: none;
}

/* —— Glass tweak —— */
.glass {
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.07);
  box-shadow: 0 8px 28px -12px rgba(28, 25, 23, 0.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* —— Kategoriler dropdown (ana menü) —— */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.nav-dropdown-toggle::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  margin-top: 4px;
  background: var(--accent);
  transition: width 0.25s ease;
  border-radius: 1px;
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 4px;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--accent-dark);
}

.nav-dropdown-caret {
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  max-width: min(720px, 92vw);
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 60px -22px rgba(28, 25, 23, 0.22);
  padding: 1rem 1.1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 80;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem 1.4rem;
}

.nav-dropdown-col {
  min-width: 0;
}

.nav-dropdown-head {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  letter-spacing: -0.01em;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(28, 25, 23, 0.07);
  margin-bottom: 0.45rem;
}

.nav-dropdown-head:hover {
  color: var(--accent-dark);
}

.nav-dropdown-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-dropdown-sublist a {
  display: block;
  font-size: 0.86rem;
  color: rgba(28, 25, 23, 0.72);
  padding: 0.32rem 0.4rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-sublist a:hover {
  background: rgba(184, 149, 108, 0.1);
  color: var(--accent-dark);
}

@media (max-width: 860px) {
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: 0;
    padding: 0.4rem 0 0.8rem 0.6rem;
    min-width: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
}

/* —— Breadcrumb —— */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(28, 25, 23, 0.55);
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: rgba(28, 25, 23, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: var(--accent-dark);
}

.breadcrumb-sep {
  opacity: 0.4;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* —— Alt kategori chip listesi —— */
.subcategory-chips {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.subcategory-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.1);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.subcategory-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* —— Anasayfa kategori kartı: alt kategori açılır panel —— */
.category-card-expandable {
  display: flex;
  flex-direction: column;
  padding: 0;
  cursor: default;
  overflow: hidden;
}

.category-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 1.1rem 1.15rem;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  border-radius: inherit;
}

.category-card-head .category-card-name {
  flex: 1;
  min-width: 0;
}

.category-card-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: var(--accent-dark);
  transition: transform 0.25s ease, background 0.18s ease;
  flex-shrink: 0;
}

.category-card-expandable.is-open .category-card-caret {
  transform: rotate(180deg);
  background: #fff;
}

.category-card-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0.65rem 0.85rem 0.65rem;
  border-top: 1px solid rgba(28, 25, 23, 0.08);
  margin-top: 0;
  background: rgba(255, 255, 255, 0.55);
  animation: catSubIn 0.22s ease;
}

@keyframes catSubIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-card-sub[hidden] {
  display: none;
}

.category-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  margin-top: 4px;
}

.category-sub-item:first-child {
  margin-top: 8px;
}

.category-sub-item:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(2px);
}

.category-sub-item.is-parent {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-dark);
}

.category-sub-item.is-parent:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* PC'de hover ile de açılsın (klavye odağı dahil) — JS toggle ile birlikte çalışır */
@media (hover: hover) and (pointer: fine) {
  .category-card-expandable:hover .category-card-sub,
  .category-card-expandable:focus-within .category-card-sub {
    display: flex;
  }
  .category-card-expandable:hover .category-card-caret,
  .category-card-expandable:focus-within .category-card-caret {
    transform: rotate(180deg);
    background: #fff;
  }
}
