/* =============================================================
   Meşe Mobilya — Modern Frontend
   #000 ink · #dac477 gold · #f7f4ef paper
   ============================================================= */

/* ---------- Reset & Tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #000000;
  --ink-90:    rgba(0,0,0,.9);
  --ink-60:    rgba(0,0,0,.6);
  --gold:      #dac477;
  --gold-dk:   #c4ad5f;
  --gold-lt:   rgba(218,196,119,.12);
  --paper:     #f7f4ef;
  --cream:     #ede8df;
  --line:      #e3ddd3;
  --surface:   #ffffff;
  --stone:     #6b655b;
  --green:     #25d366;
  --r-sm:      10px;
  --r-md:      16px;
  --r-lg:      22px;
  --serif:     "Instrument Serif", Georgia, serif;
  --sans:      "Inter", system-ui, sans-serif;
  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 4px 16px rgba(0,0,0,.08);
  --shadow-md: 0 12px 40px rgba(0,0,0,.12);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.18);
  --trans:     .18s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

.serif { font-family: var(--serif); letter-spacing: -.02em; }
.no-scroll { overflow: hidden; }

/* ---------- Site wrapper (max-width constraint) ---------- */
.site-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .site-wrap { padding: 0 16px; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 64px; max-width: 1320px; margin: 0 auto; padding: 0 24px;
}
.header-logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.logo-only {
  height: 40px; width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

/* Nav links (desktop) */
.nav-links {
  display: flex; align-items: center; gap: 2px; margin-left: 14px;
}
.nav-links a {
  color: rgba(218,196,119,.75); font-size: 13.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color var(--trans), background var(--trans);
}
.nav-links a:hover  { color: var(--gold); background: rgba(218,196,119,.1); }
.nav-links a.active { color: var(--gold); background: rgba(218,196,119,.15); }
@media (max-width: 768px) { .nav-links { display: none; } }

/* Search bar */
.header-search { flex: 1; max-width: 360px; }
.header-search form {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(218,196,119,.25);
  border-radius: 10px; padding: 0 12px; height: 40px;
  transition: border-color var(--trans), background var(--trans);
}
.header-search form:focus-within {
  border-color: var(--gold); background: rgba(255,255,255,.12);
}
.header-search input {
  flex: 1; background: transparent; border: none; color: #fff; outline: none; font-size: 13.5px;
}
.header-search input::placeholder { color: rgba(255,255,255,.4); }
.header-search button { color: rgba(218,196,119,.7); transition: color var(--trans); }
.header-search button:hover { color: var(--gold); }
@media (max-width: 560px) { .header-search { display: none; } }

/* Right actions */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-btn {
  display: flex; align-items: center; gap: 7px;
  color: rgba(218,196,119,.85); font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color var(--trans), background var(--trans);
}
.hdr-btn:hover  { color: var(--gold); background: rgba(218,196,119,.1); }
.hdr-btn.active { color: var(--gold); }
.hdr-btn .badge {
  background: var(--gold); color: #000;
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}
@media (max-width: 768px) { .hdr-btn .label { display: none; } }

/* Mobile menu toggle */
.menu-toggle {
  display: none; padding: 8px; border-radius: 8px;
  color: rgba(218,196,119,.8); transition: color var(--trans), background var(--trans);
}
.menu-toggle:hover { background: rgba(218,196,119,.1); color: var(--gold); }
@media (max-width: 768px) { .menu-toggle { display: flex; } }

/* Mobile drawer */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 200; pointer-events: none;
}
.mobile-nav.open { display: block; pointer-events: auto; }
.mobile-nav-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
}
.mobile-nav-panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(300px, 85vw);
  background: #000; border-right: 2px solid var(--gold);
  display: flex; flex-direction: column; padding: 28px 20px;
  transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 32px;
}
.mobile-nav-brand img { width: 42px; height: 42px; border-radius: 8px; border: 2px solid var(--gold); }
.mobile-nav-brand span { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.mobile-nav a {
  color: rgba(218,196,119,.8); font-size: 17px; font-weight: 500;
  padding: 14px 0; border-bottom: 1px solid rgba(218,196,119,.1);
  display: block; transition: color var(--trans);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-search {
  margin-top: 24px;
}
.mobile-search form {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(218,196,119,.2);
  border-radius: 10px; padding: 0 12px; height: 44px;
}
.mobile-search input { flex: 1; background: transparent; border: none; color: #fff; outline: none; font-size: 15px; }
.mobile-search input::placeholder { color: rgba(255,255,255,.35); }
.mobile-search button { color: rgba(218,196,119,.7); }

/* ============================================================
   CATALOG HERO (homepage full-width hero)
   ============================================================ */
.chero {
  position: relative; overflow: hidden;
  background: #0d0c08;
  background-image: var(--chero-bg, none);
  background-size: cover; background-position: center;
  min-height: 520px;
}
@media (max-width: 768px) { .chero { min-height: 420px; } }

.chero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 130% 60% at 50% -5%, rgba(218,196,119,.13) 0%, transparent 55%),
    linear-gradient(180deg, rgba(8,6,4,.60) 0%, rgba(12,9,6,.78) 55%, rgba(5,4,2,.92) 100%);
}

.chero-inner {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto;
  padding: 64px 24px 72px;
  display: flex; align-items: center; justify-content: center;
}

/* Center identity */
.chero-center { text-align: center; max-width: 600px; width: 100%; }

/* Logo ring */
.chero-logo-ring {
  width: 96px; height: 96px; border-radius: 50%;
  background: #f5f0e8;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(218,196,119,.12), 0 8px 32px rgba(0,0,0,.4);
  overflow: hidden; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
}
.chero-logo-ring img { width: 70%; height: 70%; object-fit: contain; }

/* Ornamental divider */
.chero-ornament {
  display: flex; align-items: center; gap: 14px;
  justify-content: center; margin-bottom: 20px;
}
.chero-orn-line {
  flex: 1; max-width: 90px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218,196,119,.55), transparent);
}

.chero-brand-name {
  font-family: var(--serif); font-size: clamp(38px, 6.5vw, 68px);
  color: #fff; line-height: 1.0; letter-spacing: -.03em; margin-bottom: 12px;
}
.chero-tagline {
  font-size: 15px; color: rgba(255,255,255,.42); letter-spacing: .01em;
}

/* Search inside hero */
.chero-search-wrap { max-width: 520px; margin: 36px auto 0; }
.chero-search {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.97); border-radius: 14px;
  padding: 0 8px 0 18px; height: 58px;
  box-shadow: 0 12px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(218,196,119,.18);
}
.chero-search input {
  flex: 1; border: none; outline: none;
  font-size: 15px; color: #1a1a1a; background: transparent;
}
.chero-search input::placeholder { color: #999; }
.chero-search button {
  width: 44px; height: 44px; border-radius: 10px;
  background: #000; color: var(--gold); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
  flex-shrink: 0;
}
.chero-search button:hover { background: #1a1a1a; }

/* Stats row */
.chero-stats {
  display: flex; align-items: center; justify-content: center;
  margin-top: 40px;
}
.chero-stat { padding: 0 28px; text-align: center; }
.chero-stat-num {
  font-family: var(--serif); font-size: 30px; color: var(--gold);
  line-height: 1; letter-spacing: -.02em;
}
.chero-stat-lbl {
  font-size: 11px; color: rgba(255,255,255,.38); letter-spacing: .12em;
  text-transform: uppercase; margin-top: 5px;
}
.chero-stat-sep {
  width: 1px; height: 38px;
  background: rgba(218,196,119,.18);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .chero-stat { padding: 0 16px; }
  .chero-stat-num { font-size: 24px; }
  .chero-stats { margin-top: 28px; }
}

/* ============================================================
   LANGUAGE DROPDOWN (inner pages)
   ============================================================ */
.lang-drop { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 5px;
  color: rgba(218,196,119,.8); font-size: 13px; font-weight: 500;
  padding: 7px 10px; border-radius: 8px;
  border: 1px solid rgba(218,196,119,.2);
  background: rgba(218,196,119,.05);
  transition: background var(--trans), border-color var(--trans);
  cursor: pointer;
}
.lang-toggle:hover { background: rgba(218,196,119,.1); border-color: rgba(218,196,119,.4); }
.lang-flag { font-size: 17px; line-height: 1; }
.lang-code { font-size: 12px; font-weight: 600; }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: #111; border: 1px solid rgba(218,196,119,.25);
  border-radius: 10px; padding: 6px; min-width: 140px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  display: none; z-index: 300;
}
.lang-menu.open { display: block; }
.lang-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 7px; font-size: 13px;
  color: rgba(255,255,255,.7);
  transition: background var(--trans), color var(--trans);
}
.lang-item:hover { background: rgba(218,196,119,.1); color: var(--gold); }
.lang-item.active { color: var(--gold); font-weight: 600; }

/* ============================================================
   CATEGORY FILTER BAR
   ============================================================ */
.cat-filter-bar {
  background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 64px; z-index: 80;
}
.cat-filter-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 6px;
  height: 52px; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-filter-inner::-webkit-scrollbar { display: none; }
.cat-chip {
  display: inline-flex; align-items: center;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--line); background: var(--surface); color: var(--stone);
  transition: border-color var(--trans), background var(--trans), color var(--trans);
}
.cat-chip:hover { border-color: #000; color: #000; }
.cat-chip.active { background: #000; color: var(--gold); border-color: #000; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  transition: transform .14s ease, background var(--trans), border-color var(--trans), color var(--trans);
  cursor: pointer; border: 1px solid transparent;
}
.btn:active { transform: scale(.975); }

.btn-gold { background: var(--gold); color: #000; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); }

.btn-outline { background: transparent; color: var(--gold); border-color: rgba(218,196,119,.5); }
.btn-outline:hover { border-color: var(--gold); background: rgba(218,196,119,.1); }

.btn-dark { background: #000; color: var(--gold); border-color: var(--gold); }
.btn-dark:hover { background: #111; }

.btn-light { background: var(--surface); color: #000; border-color: var(--line); }
.btn-light:hover { border-color: var(--gold); }

.btn-whats { background: var(--green); color: #fff; border-color: transparent; }
.btn-whats:hover { background: #20ba58; }

.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 32px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-icon-only { width: 48px; padding: 0; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 52px 0; } }
.section-sm { padding: 52px 0; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
@media (max-width: 560px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; } }
.sec-head-left {}
.sec-eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; display: block;
}
.sec-title { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 40px); line-height: 1.1; }
.sec-sub { font-size: 13px; color: var(--stone); margin-top: 6px; }
.sec-more { font-size: 13px; color: var(--stone); font-weight: 500; white-space: nowrap;
  display: flex; align-items: center; gap: 4px; padding-bottom: 2px;
  border-bottom: 1px solid var(--line); transition: color var(--trans), border-color var(--trans); }
.sec-more:hover { color: #000; border-color: #000; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.cat-card {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  background: #000; aspect-ratio: 3/4;
  transition: transform var(--trans), box-shadow var(--trans);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.cat-card-img { position: absolute; inset: 0; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; opacity: .75; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }

.cat-card-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.05) 100%);
}
.cat-card-border {
  position: absolute; inset: 0; border-radius: var(--r-lg);
  border: 1px solid rgba(218,196,119,0); transition: border-color var(--trans);
}
.cat-card:hover .cat-card-border { border-color: rgba(218,196,119,.6); }

.cat-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 20px;
}
.cat-card-tag {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 6px;
}
.cat-card-name { font-family: var(--serif); font-size: 22px; color: #fff; line-height: 1.1; }
.cat-card-count { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 5px; }
.cat-card-arrow {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(218,196,119,0); border: 1px solid rgba(218,196,119,0);
  display: grid; place-items: center; color: rgba(218,196,119,0);
  transition: all var(--trans);
}
.cat-card:hover .cat-card-arrow {
  background: var(--gold); border-color: var(--gold); color: #000;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 400px)  { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.prod-card:hover {
  transform: translateY(-4px); border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.prod-card-img { position: relative; aspect-ratio: 1/1; background: var(--cream); overflow: hidden; }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prod-card:hover .prod-card-img img { transform: scale(1.05); }
.prod-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: #000; color: var(--gold); border: 1px solid var(--gold);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.prod-card-wishlist {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: var(--stone);
  opacity: 0; transition: opacity var(--trans), color var(--trans), background var(--trans);
}
.prod-card:hover .prod-card-wishlist { opacity: 1; }
.prod-card-wishlist:hover { color: #c0392b; background: #fff; }

.prod-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.prod-card-cat  { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--stone); margin-bottom: 6px; }
.prod-card-name {
  font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: auto;
}
.prod-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.prod-card-price { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.prod-card-old   { font-size: 13px; color: var(--stone); text-decoration: line-through; }
.prod-card-add {
  width: 38px; height: 38px; border-radius: 10px;
  background: #000; color: var(--gold); border: 1px solid var(--gold);
  display: grid; place-items: center;
  transition: background var(--trans), transform .12s ease;
}
.prod-card-add:hover { background: #1a1a1a; transform: scale(1.08); }
@media (max-width: 768px) {
  .prod-card-body { padding: 12px; }
  .prod-card-name { font-size: 13.5px; }
  .prod-card-price { font-size: 19px; }
}


/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.detail-layout {
  max-width: 1320px; margin: 0 auto; padding: 40px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; gap: 36px; padding: 24px 16px 60px; } }

.detail-gallery {}
.detail-main-img {
  border-radius: var(--r-lg); overflow: hidden; background: var(--cream);
  aspect-ratio: 4/5; position: relative;
}
.detail-main-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.detail-thumb-rail {
  display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px;
}
.detail-thumb-rail::-webkit-scrollbar { height: 4px; }
.detail-thumb-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.thumb-item {
  width: 76px; height: 76px; flex-shrink: 0; border-radius: var(--r-sm);
  overflow: hidden; border: 2px solid transparent; cursor: pointer;
  transition: border-color var(--trans);
}
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item.active { border-color: var(--gold); }

.detail-info {}
.detail-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--stone); margin-bottom: 18px;
}
.detail-breadcrumb a:hover { color: #000; }
.detail-breadcrumb .sep { color: var(--line); }
.detail-cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.detail-title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.08; margin-bottom: 16px; }

.detail-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.detail-price { font-family: var(--serif); font-size: 36px; }
.detail-old   { font-size: 18px; color: var(--stone); text-decoration: line-through; }
.detail-shipping { font-size: 12px; color: var(--stone); border-left: 1px solid var(--line); padding-left: 12px; line-height: 1.4; }

.detail-divider { height: 1px; background: var(--line); margin: 24px 0; }

.detail-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 1100px) { .detail-specs { grid-template-columns: repeat(2, 1fr); } }
.spec-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 10px; text-align: center;
}
.spec-box .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--stone); display: block; }
.spec-box .val { font-size: 13px; font-weight: 600; color: var(--ink); display: block; margin-top: 5px; }

.detail-section { margin-top: 28px; }
.detail-section h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 12px; }
.detail-section p  { font-size: 14.5px; color: var(--stone); line-height: 1.7; }

.attr-list { list-style: none; border-top: 1px solid var(--line); }
.attr-list li {
  display: flex; justify-content: space-between;
  font-size: 13.5px; padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.attr-list li .k { color: var(--stone); }

/* Colors */
.color-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--stone); margin-bottom: 10px; }
.colors      { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px 5px 6px; background: var(--surface); cursor: pointer;
  transition: border-color var(--trans), background var(--trans), color var(--trans);
}
.color-swatch:hover  { border-color: #000; }
.color-swatch.active { border-color: #000; background: #000; color: var(--gold); }
.color-swatch .dot   { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.color-swatch .name  { font-size: 12.5px; }

/* Qty */
.qty-wrap { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); overflow: hidden;
}
.qty button { width: 44px; height: 48px; font-size: 18px; color: var(--stone); transition: background var(--trans), color var(--trans); }
.qty button:hover { background: var(--paper); color: #000; }
.qty .qty-val { min-width: 42px; text-align: center; font-size: 15px; font-weight: 600; }

.detail-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.detail-actions .btn { flex: 1; min-width: 130px; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
  max-width: 1320px; margin: 0 auto; padding: 48px 24px 80px;
  display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start;
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; padding: 28px 16px 60px; } }

.cart-header { padding: 0 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.cart-header h1 { font-family: var(--serif); font-size: 36px; }
.cart-header p  { font-size: 14px; color: var(--stone); margin-top: 6px; }

.cart-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 20px; align-items: center; padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 560px) { .cart-item { grid-template-columns: 80px 1fr; gap: 14px; } }
.cart-item-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-meta h4 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.cart-item-meta .color { font-size: 12.5px; color: var(--stone); margin-bottom: 12px; }
.cart-item-meta .price { font-family: var(--serif); font-size: 20px; }
.cart-item-qty  { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
@media (max-width: 560px) { .cart-item-qty { grid-column: 2; margin-top: -8px; flex-direction: row; align-items: center; } }
.cart-item-remove { font-size: 12px; color: var(--stone); border-bottom: 1px solid var(--line); transition: color var(--trans), border-color var(--trans); }
.cart-item-remove:hover { color: #c0392b; border-color: #c0392b; }

.cart-empty { text-align: center; padding: 80px 24px; }
.cart-empty-icon { width: 80px; height: 80px; border-radius: 50%; background: #000; border: 2px solid var(--gold); display: grid; place-items: center; margin: 0 auto 20px; color: var(--gold); }
.cart-empty h2 { font-family: var(--serif); font-size: 30px; margin-bottom: 10px; }
.cart-empty p  { font-size: 14px; color: var(--stone); margin-bottom: 24px; }

/* Cart sidebar */
.cart-sidebar {}
.cart-summary-box {
  background: #000; border: 1px solid rgba(218,196,119,.3); border-radius: var(--r-lg);
  padding: 28px; color: #fff; position: sticky; top: 84px;
}
.cart-summary-title { font-family: var(--serif); font-size: 22px; color: var(--gold); margin-bottom: 22px; }
.summary-row { display: flex; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,.6); padding: 8px 0; }
.summary-row strong { color: #fff; }
.summary-divider { height: 1px; background: rgba(218,196,119,.15); margin: 14px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: center; }
.summary-total .lbl { font-size: 14px; color: rgba(255,255,255,.8); }
.summary-total .val { font-family: var(--serif); font-size: 34px; color: var(--gold); }

/* Checkout form */
.checkout-form { margin-top: 36px; }
.checkout-form h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.field input, .field textarea, .field select {
  height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); font-size: 14px; color: var(--ink);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.field textarea { height: auto; padding: 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(218,196,119,.2);
}
.field.full { grid-column: 1 / -1; }
.form-note { font-size: 11.5px; color: var(--stone); text-align: center; margin-top: 10px; }

/* ============================================================
   PAGE TOPBAR (inner pages)
   ============================================================ */
.page-bar {
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.page-bar-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 16px; height: 52px;
}
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.breadcrumb a { color: var(--stone); transition: color var(--trans); }
.breadcrumb a:hover { color: #000; }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .cur { color: #000; font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #000; border-top: 2px solid var(--gold); }
.footer-top {
  max-width: 1320px; margin: 0 auto; padding: 64px 24px 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand {}
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo img { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--gold); }
.footer-brand .logo span { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 260px; }
.footer-brand .wa-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 10px 18px; border-radius: 8px;
  background: rgba(37,211,102,.15); border: 1px solid rgba(37,211,102,.35);
  color: var(--green); font-size: 13px; font-weight: 500;
  transition: background var(--trans), border-color var(--trans);
}
.footer-brand .wa-cta:hover { background: rgba(37,211,102,.25); border-color: var(--green); }

.footer-col h4 {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13.5px; color: rgba(255,255,255,.5); transition: color var(--trans); }
.footer-col ul a:hover { color: var(--gold); }

.footer-contact p { font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-contact a { color: var(--gold); transition: opacity var(--trans); }
.footer-contact a:hover { opacity: .8; }

.footer-bottom {
  border-top: 1px solid rgba(218,196,119,.1);
  padding: 18px 24px;
}
.footer-bottom-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.25);
}
@media (max-width: 560px) { .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; } }

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* Toast */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 500; white-space: nowrap;
  background: #000; color: var(--gold); border: 1px solid var(--gold);
  padding: 12px 22px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
  animation: toast-in .2s ease;
}
@keyframes toast-in { from { opacity:0; transform: translateX(-50%) translateY(10px); } }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
}
.modal {
  background: var(--surface); border: 1px solid var(--gold);
  border-radius: var(--r-lg); max-width: 420px; width: 100%;
  padding: 36px; text-align: center; box-shadow: var(--shadow-lg);
  animation: modal-in .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modal-in { from { opacity:0; transform: scale(.92); } }
.modal-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: #000; color: var(--gold); border: 2px solid var(--gold);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.modal h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.modal p  { font-size: 13.5px; color: var(--stone); margin-bottom: 22px; line-height: 1.6; }

/* Search chips */
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.filter-row::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  border: 1px solid var(--line); background: var(--surface); color: var(--stone);
  cursor: pointer; transition: all var(--trans);
}
.chip:hover  { border-color: #000; color: #000; }
.chip.active { background: #000; color: var(--gold); border-color: #000; }

/* Flash */
.flash {
  margin: 0 0 20px; padding: 14px 18px; border-radius: var(--r-sm);
  font-size: 14px; border: 1px solid var(--line); background: var(--surface);
}
.flash-success { border-left: 4px solid #1a7f37; }
.flash-error   { border-left: 4px solid #c0392b; }
.flash-info    { border-left: 4px solid var(--gold); }

/* Hide scrollbar */
.hide-scroll { scrollbar-width: none; }
.hide-scroll::-webkit-scrollbar { display: none; }
