/* ==========================================================================
   LN TEXTILES — Premium Ankara Storefront
   Design system: typography, layout, components, responsive
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink:        #063d2e;             /* deep premium green (brand) */
  --ink-deep:   #052f24;
  --ink-soft:   #0b4a38;
  --ink-2:      #3a3a3d;
  --gold:       #d9b66f;             /* champagne / champagne accent */
  --gold-dark:  #b8914a;
  --gold-deep:  #9c7434;
  --gold-soft:  #f4ead6;
  --cream:      #faf8f4;
  --cream-2:    #f2eee5;
  --surface:    #ffffff;
  --border:     #e8e2d7;
  --muted:      #6f6a62;
  --body:       #33302b;
  --danger:     #b53b3b;
  --danger-soft:#fbefef;
  --success:    #2e7d4f;
  --success-soft:#eef7f1;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius: 10px;
  --radius-sm: 7px;
  --shadow-sm: 0 1px 2px rgba(20, 26, 23, 0.05), 0 2px 8px rgba(20, 26, 23, 0.04);
  --shadow-md: 0 6px 20px rgba(20, 26, 23, 0.10);
  --shadow-lg: 0 18px 50px rgba(20, 26, 23, 0.16);

  --header-h: 66px;
  --bottom-nav-h: 60px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--cream);
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1; width: 100%; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-dark); }
p { margin: 0 0 1rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6rem;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

::selection { background: var(--gold); color: #fff; }

/* ---------- Utilities ---------- */
.text-gold { color: var(--gold-dark) !important; }
.text-muted { color: var(--muted) !important; }
.text-ink { color: var(--ink) !important; }
.bg-ink { background: var(--ink) !important; }
.bg-cream { background: var(--cream) !important; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.small { font-size: .875rem; }

.overline {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.overline::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }

.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head .overline { margin-bottom: .7rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: var(--muted); max-width: 56ch; margin: 0; }
.section-head.center { text-align: center; }
.section-head.center .overline::before,
.section-head.center .overline::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section-head.center .overline::after { margin-left: .6rem; }

/* ---------- Container ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .6rem 1.5rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
  user-select: none;
}
.btn:hover, .btn:focus-visible, .btn:active, .btn:visited { color: var(--btn-fg); background-color: var(--btn-bg); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn-gold:hover { --btn-bg: var(--gold-dark); --btn-fg: #fff; }
.btn-ink { --btn-bg: var(--ink); }
.btn-ink:hover { --btn-bg: var(--ink-soft); }
.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: #d8d2c6;
  background: transparent;
}
.btn-outline:hover { --btn-fg: var(--ink); border-color: var(--ink); background: transparent; box-shadow: none; }
.btn-outline-gold {
  --btn-bg: transparent;
  --btn-fg: var(--gold-deep);
  border-color: var(--gold);
}
.btn-outline-gold:hover { --btn-fg: var(--ink); --btn-bg: var(--gold); border-color: var(--gold); box-shadow: none; }
.btn-white-outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-white-outline:hover { --btn-fg: var(--ink); --btn-bg: #fff; border-color: #fff; box-shadow: none; }
.btn-sm { min-height: 38px; padding: .45rem 1rem; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: .8rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  min-height: 46px;
  padding: .6rem .85rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control::placeholder { color: #b3aca0; }
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,182,111,.25);
}
textarea.form-control { min-height: 110px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236f6a62' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-hint { font-size: .82rem; color: var(--muted); margin-top: .35rem; }

/* ---------- Alerts ---------- */
.alert {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  margin-bottom: 1.2rem;
  border: 1px solid transparent;
}
.alert i { margin-top: .15rem; }
.alert-success { background: var(--success-soft); border-color: #cfe6d8; color: var(--success); }
.alert-danger { background: var(--danger-soft); border-color: #f2d1d1; color: var(--danger); }
.alert-info { background: #f0f4fa; border-color: #d3e0f0; color: #2b5a8c; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.topbar {
  background: var(--ink);
  color: #c9c6bf;
  font-size: .78rem;
  letter-spacing: .04em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 34px; }
.topbar a { color: #e6e2d9; }
.topbar a:hover, .topbar a:focus-visible, .topbar a:active { color: var(--gold); }
.topbar a:visited { color: #e6e2d9; }
.topbar .topbar-meta { display: flex; gap: 1.4rem; align-items: center; }
.topbar .topbar-meta span { display: inline-flex; align-items: center; gap: .4rem; }

.navbar { position: relative; }
.navbar .container { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-dark); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: .35rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a:active { color: var(--ink); }
.nav-links a:visited { color: var(--ink-2); }
.nav-links a.active:visited { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.nav-actions { display: flex; align-items: center; gap: .4rem; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.icon-btn:hover, .icon-btn:focus-visible, .icon-btn:active { background: var(--cream-2); color: var(--ink); }
.icon-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.cart-btn .cart-count {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--ink);
  font-size: .66rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  transition: transform .15s ease;
}
.cart-btn .cart-count.bump { transform: scale(1.35); }

.header-search { display: none; position: relative; width: 220px; }
.header-search .form-control { min-height: 40px; border-radius: 30px; padding-left: 1rem; padding-right: 2.4rem; font-size: .88rem; background: var(--cream-2); border-color: transparent; }
.header-search .form-control:focus { background: #fff; }
.header-search .search-trigger {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: none; background: transparent; color: var(--muted); cursor: pointer; border-radius: 50%;
}
.header-search .search-trigger:hover, .header-search .search-trigger:focus-visible, .header-search .search-trigger:active { color: var(--ink); }
.header-search .search-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.hamburger { display: none; }

/* ---------- Mobile drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,24,18,.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 990;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(84vw, 340px);
  background: var(--ink);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.32,.72,.25,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  color: #e6e1d4;
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(217,182,111,.25);
}
.drawer-head .brand-mark { background: var(--gold); color: var(--ink); }
.drawer-head .brand-name { color: #fff; }
.drawer-head .brand-sub { color: var(--gold); }
.drawer-close {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.drawer-close:hover, .drawer-close:focus-visible, .drawer-close:active { background: rgba(217,182,111,.18); border-color: var(--gold); color: var(--gold); }
.drawer-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.drawer-body { flex: 1; overflow-y: auto; padding: 1.15rem 1.25rem; }
.drawer-body .drawer-search { position: relative; margin-bottom: 1.3rem; }
.drawer-body .drawer-search .form-control {
  border-radius: 30px;
  padding-right: 2.6rem;
  background: rgba(255,255,255,.08);
  border-color: transparent;
  color: #fff;
}
.drawer-body .drawer-search .form-control::placeholder { color: rgba(255,255,255,.5); }
.drawer-body .drawer-search .search-trigger { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: none; background: transparent; color: var(--gold); }

.drawer-links { list-style: none; margin: 0; padding: 0; }
.drawer-links li + li { border-top: 1px solid rgba(255,255,255,.08); }
.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem .15rem;
  font-size: 1rem;
  font-weight: 500;
  color: #e6e1d4;
}
.drawer-links a i { color: var(--gold); font-size: .8rem; opacity: .9; }
.drawer-links a.active { color: var(--gold); }
.drawer-links a:hover, .drawer-links a:focus-visible, .drawer-links a:active { color: #fff; padding-left: .45rem; }
.drawer-links a:visited { color: #e6e1d4; }
.drawer-links a.active:visited { color: var(--gold); }
.drawer-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.drawer-links .dl-count {
  margin-left: auto;
  margin-right: .5rem;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.drawer-section-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1.25rem 0 .5rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.drawer-section-title::before, .drawer-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(217,182,111,.25);
}

.drawer-contact-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .8rem; }
.drawer-contact-list li { display: flex; gap: .7rem; font-size: .85rem; color: #cfc9ba; line-height: 1.45; }
.drawer-contact-list i { color: var(--gold); width: 18px; margin-top: 3px; text-align: center; flex-shrink: 0; }
.drawer-contact-list a { color: #efe9db; }
.drawer-contact-list a:hover, .drawer-contact-list a:focus-visible, .drawer-contact-list a:active { color: var(--gold); }
.drawer-contact-list a:visited { color: #efe9db; }

.drawer-socials { display: flex; gap: .6rem; margin-top: .2rem; }
.drawer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .95rem;
  transition: all .18s ease;
}
.drawer-socials a:hover, .drawer-socials a:focus-visible, .drawer-socials a:active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.drawer-socials a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.drawer-foot {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(217,182,111,.25);
  display: grid;
  gap: .7rem;
  background: rgba(0,0,0,.15);
}
.drawer-contact { font-size: .85rem; color: #d8d2c4; display: flex; align-items: center; gap: .6rem; }
.drawer-contact i { color: var(--gold); width: 16px; text-align: center; }

body.drawer-open { overflow: hidden; }

/* ---------- Live search results ---------- */
.live-search {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  z-index: 80;
}
.live-search.open { display: block; }
.live-search .ls-item { display: flex; gap: .8rem; align-items: center; padding: .7rem .9rem; transition: background .15s ease; }
.live-search .ls-item:hover, .live-search .ls-item:focus-visible, .live-search .ls-item:active { background: var(--cream-2); color: var(--ink); }
.live-search .ls-item:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.live-search .ls-item:visited .ls-name { color: var(--ink); }
.live-search .ls-thumb { width: 46px; height: 46px; border-radius: var(--radius-sm); object-fit: cover; background: var(--cream-2); flex-shrink: 0; }
.live-search .ls-name { font-size: .9rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.live-search .ls-price { font-size: .82rem; color: var(--gold-dark); font-weight: 600; }
.live-search .ls-empty, .live-search .ls-loading { padding: 1.1rem; text-align: center; color: var(--muted); font-size: .9rem; }
.live-search .ls-footer { border-top: 1px solid var(--border); padding: .6rem .9rem; text-align: center; }
.live-search .ls-footer a { font-size: .85rem; font-weight: 600; color: var(--gold-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #f3efe6;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-pattern.svg");
  background-size: cover;
  background-position: center;
  opacity: .5;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,61,46,.94) 0%, rgba(6,61,46,.78) 45%, rgba(6,61,46,.30) 100%),
    linear-gradient(180deg, rgba(6,61,46,.25) 0%, rgba(6,61,46,0) 32%, rgba(6,61,46,.55) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4.5rem, 10vw, 8rem); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-bottom: 1rem;
}
.hero p.lead {
  color: #e3ddcc;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 2rem;
}
.hero-content { max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Keep the hero calls to action readable in every interactive state. */
.hero-cta .btn-gold { color: var(--ink); }
.hero-cta .btn-gold:hover,
.hero-cta .btn-gold:focus-visible { color: #fff; }
.hero-cta .btn-white-outline { color: #fff; }
.hero-cta .btn-white-outline:hover,
.hero-cta .btn-white-outline:focus-visible { color: var(--ink); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .55rem; font-size: .86rem; color: #d6d2c8; }
.hero-badges i { color: var(--gold); }

/* Brand strip */
.brand-strip {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
}
.brand-strip .strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .4rem 1.6rem;
  min-height: 44px;
  padding: .6rem 0;
}
.brand-strip span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* ---------- Homepage search ---------- */
.home-search {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.home-search .hs-inner { position: relative; max-width: 640px; margin: 0 auto; }
.home-search .form-control {
  border-radius: 30px;
  min-height: 52px;
  padding-left: 3.1rem;
  padding-right: 7rem;
  background: var(--cream-2);
  border-color: transparent;
  font-size: .95rem;
}
.home-search .form-control:focus { background: #fff; }
.home-search .hs-icon {
  position: absolute;
  left: 1.1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--gold-deep);
  font-size: 1rem;
  z-index: 2;
  pointer-events: none;
}
.home-search .hs-submit {
  position: absolute;
  right: 5px; top: 50%;
  transform: translateY(-50%);
  min-height: 42px;
  padding: .5rem 1.2rem;
  border-radius: 30px;
}

/* ---------- Category circles (home) ---------- */
.cat-scroll {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  padding: .4rem 4px 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  width: 88px;
  text-align: center;
  scroll-snap-align: start;
}
.cat-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-2);
  border: 2px solid var(--border);
  display: block;
  margin: 0 auto .55rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cat-pill:hover .cat-circle { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-pill:focus-visible .cat-circle { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-pill:focus-visible { outline: none; }
.cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-pill-name {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-pill:hover .cat-pill-name { color: var(--ink); }
.cat-pill:focus-visible .cat-pill-name, .cat-pill:visited .cat-pill-name { color: var(--ink); }
@media (min-width: 768px) {
  .cat-scroll { justify-content: space-between; gap: 1.6rem; }
  .cat-pill, .cat-circle { width: 104px; }
  .cat-circle { height: 104px; }
}

/* ---------- Product scroller (home featured) ---------- */
.products-scroll {
  display: flex;
  gap: .85rem;
  overflow-x: auto;
  margin: 0 -16px;
  padding: .3rem 16px 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.products-scroll::-webkit-scrollbar { display: none; }
.products-scroll .product-card { flex: 0 0 47%; scroll-snap-align: start; }
.products-scroll .js .reveal, .products-scroll .reveal { opacity: 1; transform: none; }
@media (min-width: 768px) {
  .products-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .products-scroll .product-card { flex: none; }
}

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); }
.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-sm);
}
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.category-card:focus-visible img { transform: scale(1.05); }
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,61,46,0) 40%, rgba(6,61,46,.78) 100%);
}
.category-card .cat-label { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2; color: #fff; }
.category-card .cat-label h3 { color: #fff; font-size: 1.05rem; margin-bottom: .15rem; }
.category-card .cat-label span { font-size: .8rem; color: var(--gold); font-weight: 600; }

@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-card { aspect-ratio: 4 / 4.2; }
}
@media (min-width: 1024px) {
  .category-grid { grid-template-columns: repeat(5, 1fr); }
  .category-card { aspect-ratio: 4 / 5.2; }
  .category-card .cat-label h3 { font-size: .95rem; }
}

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #ddd5c4; }
.pc-media > a:focus-visible, .pc-name:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.pc-name:visited { color: var(--ink); }

.pc-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
  overflow: hidden;
}
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .pc-media img { transform: scale(1.06); }

.pc-badges { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; gap: .35rem; z-index: 2; }
.pc-badge {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .28rem .55rem;
  border-radius: 4px;
  color: #fff;
  background: var(--ink);
}
.pc-badge.new { background: var(--gold); color: var(--ink); }
.pc-badge.featured { background: var(--ink); }
.pc-badge.soldout { background: #6f6a62; }

.pc-actions {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem .75rem .75rem;
  background: linear-gradient(180deg, rgba(6,61,46,0), rgba(6,61,46,.6));
  display: grid;
  gap: .45rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}
.product-card:hover .pc-actions { opacity: 1; transform: translateY(0); }

.pc-quick-add {
  position: absolute;
  right: .6rem; bottom: .6rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  border: none;
  display: grid;
  place-items: center;
  font-size: .9rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 3;
  transition: transform .15s ease, background .15s ease;
}
.pc-quick-add:hover, .pc-quick-add:focus-visible, .pc-quick-add:active { background: var(--gold-dark); color: var(--ink); transform: scale(1.08); }
.pc-quick-add:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.pc-body { display: flex; flex-direction: column; flex: 1; padding: .8rem; }
.pc-cat { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.pc-name { font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-name a:hover { color: var(--gold-dark); }
.pc-price { font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.pc-price s { font-size: .82rem; color: #b3ac9e; font-weight: 500; margin-left: .3rem; }
.pc-stock { font-size: .72rem; color: var(--success); font-weight: 600; }
.pc-stock.out { color: var(--danger); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }

@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px)  {
  .pc-actions { opacity: 1; transform: none; }
  .pc-quick-add { display: none; }
}

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.feature-card h4 { font-size: 1rem; margin-bottom: .3rem; }
.feature-card p { font-size: .88rem; color: var(--muted); margin: 0; }

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #ece7dc;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 260px at 80% 0%, rgba(217,182,111,.16), transparent 70%);
}
.cta-band .container { position: relative; z-index: 2; text-align: center; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); max-width: 22ch; margin: .5rem auto 1rem; }
.cta-band p { color: #c9c5ba; max-width: 50ch; margin: 0 auto 1.8rem; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background: var(--ink);
  color: #efeae0;
  padding: clamp(2.4rem, 5vw, 3.8rem) 0;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 260px at 85% -10%, rgba(217,182,111,.18), transparent 65%);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; margin-bottom: .4rem; }
.page-head p.sub { color: #c9c5ba; margin: 0; max-width: 60ch; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .82rem; color: #b8b3a8; margin-bottom: .9rem; }
.crumbs a { color: #d8d3c8; }
.crumbs a:hover { color: var(--gold); }
.crumbs i { font-size: .6rem; color: var(--gold); }
.crumbs .current { color: var(--gold); font-weight: 600; }

/* ---------- Shop toolbar ---------- */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1rem;
  margin-bottom: 1.8rem;
  padding: .9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.shop-toolbar .count { font-size: .88rem; color: var(--muted); margin-right: auto; }
.shop-toolbar .count b { color: var(--ink); }
.shop-toolbar .sort { display: flex; align-items: center; gap: .5rem; }
.shop-toolbar .sort label { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.shop-toolbar .sort select { min-height: 40px; min-width: 180px; }

.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip {
  padding: .45rem 1rem;
  font-size: .84rem;
  font-weight: 500;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
  transition: all .16s ease;
}
.chip:hover, .chip:focus-visible, .chip:active { border-color: var(--gold); color: var(--gold-dark); }
.chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Empty / error states ---------- */
.empty-state { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.empty-state .empty-icon {
  width: 84px; height: 84px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-size: 2rem;
}
.empty-state h3 { margin-bottom: .4rem; }
.empty-state p { color: var(--muted); max-width: 42ch; margin: 0 auto 1.6rem; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.4rem; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 .7rem;
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
  transition: all .16s ease;
}
.pagination a:hover, .pagination a:focus-visible, .pagination a:active { border-color: var(--gold); color: var(--gold-dark); }
.pagination a:visited { color: var(--ink-2); }
.pagination a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .dots { border: none; background: none; }

/* ---------- Category list cards ---------- */
.cat-list { display: grid; gap: 1rem; }
.cat-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #ddd5c4; }
.cat-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.cat-card .cc-thumb { width: 96px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--cream-2); }
.cat-card .cc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.cat-card p { font-size: .85rem; color: var(--muted); margin-bottom: .45rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card .cc-link { font-size: .85rem; font-weight: 600; color: var(--gold-dark); display: inline-flex; align-items: center; gap: .35rem; }
.cat-card .cc-link { color: var(--gold-dark); }
.cat-card .cc-link:hover, .cat-card:focus-visible .cc-link { color: var(--ink); }
@media (min-width: 768px) { .cat-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.pd-gallery { position: relative; align-self: start; }
.pd-gallery.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main-img {
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--border);
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-fav {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  cursor: pointer;
  z-index: 4;
  transition: all .18s ease;
}
.pd-fav:hover { transform: scale(1.08); }
.pd-fav.active { color: #d14b4b; }
.pd-fav.active i { font-weight: 900; }
.pd-thumbs { display: flex; gap: .6rem; margin-top: .7rem; overflow-x: auto; padding-bottom: .2rem; }
.pd-thumbs button {
  width: 68px; height: 68px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s ease;
}
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button.active { border-color: var(--gold); }

.pd-cat { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem; }
.pd-title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: .7rem; }
.pd-price { font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
.pd-price .per-yard { font-size: .95rem; font-weight: 500; color: var(--muted); }
.pd-stockline { display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 600; margin-bottom: 1.2rem; }
.pd-stockline.in { color: var(--success); }
.pd-stockline.out { color: var(--danger); }
.pd-desc { color: var(--muted); margin-bottom: 1.6rem; }

.pd-meta { list-style: none; margin: 1.4rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--border); display: grid; gap: .6rem; }
.pd-meta li { display: flex; gap: .6rem; font-size: .88rem; color: var(--muted); }
.pd-meta li i { color: var(--gold-deep); width: 18px; margin-top: 2px; }
.pd-meta li b { color: var(--ink); font-weight: 600; }

/* Product benefits */
.pd-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.6rem 0 .2rem; }
.pd-benefit {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: .85rem .6rem;
  text-align: center;
}
.pd-benefit i { font-size: 1.1rem; color: var(--gold-deep); margin-bottom: .3rem; display: block; }
.pd-benefit b { display: block; font-size: .76rem; font-weight: 700; color: var(--ink); margin-bottom: .1rem; }
.pd-benefit span { display: block; font-size: .68rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 380px) {
  .pd-benefit b { font-size: .7rem; }
  .pd-benefit span { font-size: .64rem; }
}

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.qty-stepper button {
  width: 44px; height: 46px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s ease;
}
.qty-stepper button:hover, .qty-stepper button:focus-visible, .qty-stepper button:active { background: var(--cream-2); color: var(--ink); }
.qty-stepper button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.qty-stepper input {
  width: 52px; height: 46px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper input:focus { outline: none; }

.pd-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin: 1.2rem 0 .4rem; }

.pd-info-tabs { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pd-info-tabs h3 { font-size: 1.05rem; margin-bottom: .8rem; display: flex; align-items: center; gap: .6rem; }
.pd-info-tabs h3 i { color: var(--gold-dark); }

.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: .6rem; overflow: hidden; }
.accordion-item:first-of-type { border-radius: var(--radius-sm); }
.accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.accordion-head i { color: var(--gold-dark); font-size: .8rem; transition: transform .2s ease; }
.accordion-head:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.accordion-item.open .accordion-head i { transform: rotate(180deg); }
.accordion-body { display: none; padding: .4rem 1.2rem 1.2rem; color: var(--muted); font-size: .93rem; }
.accordion-item.open .accordion-body { display: block; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }

.cart-list { display: grid; gap: .8rem; }
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: .9rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem;
}
.cart-item .ci-thumb { width: 84px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-2); }
.cart-item .ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .ci-name { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.3; display: block; }
.cart-item .ci-name:hover { color: var(--gold-dark); }
.cart-item .ci-cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cart-item .ci-price { font-size: .86rem; color: var(--muted); margin-top: .2rem; }
.cart-item .ci-total { font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.cart-item .ci-controls { display: flex; align-items: center; gap: .6rem; margin-top: .55rem; }
.cart-item .qty-stepper button { width: 34px; height: 36px; }
.cart-item .qty-stepper input { width: 40px; height: 36px; font-size: .9rem; }
.cart-item .ci-remove { width: 34px; height: 34px; border: none; background: transparent; color: #b3ac9e; border-radius: 50%; cursor: pointer; font-size: .9rem; }
.cart-item .ci-remove:hover, .cart-item .ci-remove:focus-visible, .cart-item .ci-remove:active { color: var(--danger); background: var(--danger-soft); }
.cart-item .ci-remove:focus-visible { outline: 2px solid var(--danger); outline-offset: 2px; }

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.cart-summary h3 { font-size: 1.1rem; margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: .93rem; padding: .45rem 0; color: var(--muted); }
.summary-row b { color: var(--ink); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 .2rem; margin-top: .5rem; border-top: 1px solid var(--border); }
.summary-total span { font-size: .92rem; color: var(--muted); }
.summary-total strong { font-size: 1.35rem; color: var(--ink); font-weight: 700; }

@media (min-width: 992px) {
  .cart-layout { grid-template-columns: 1fr 360px; }
}

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.checkout-form .section-card, .cart-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.checkout-form h3, .section-card h3 { font-size: 1.05rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.checkout-form h3 .num, .section-card h3 .num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: .85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.checkout-layout .section-card { margin-bottom: 1rem; }

@media (min-width: 992px) {
  .checkout-layout { grid-template-columns: 1fr 380px; }
}

.checkout-items { display: grid; gap: .7rem; margin-bottom: .9rem; }
.checkout-line { display: flex; gap: .8rem; align-items: center; }
.checkout-line .cl-thumb { width: 54px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-2); flex-shrink: 0; }
.checkout-line .cl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.checkout-line .cl-name { font-size: .9rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.checkout-line .cl-meta { font-size: .8rem; color: var(--muted); }
.checkout-line .cl-sub { margin-left: auto; font-weight: 600; color: var(--ink); white-space: nowrap; font-size: .9rem; }

/* ---------- Order success (dark premium screen) ---------- */
.success-screen {
  background: var(--ink);
  color: #e8e2d3;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.success-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 300px at 50% -10%, rgba(217,182,111,.22), transparent 65%),
    radial-gradient(700px 300px at 100% 110%, rgba(217,182,111,.10), transparent 60%);
}
.success-screen .container { position: relative; z-index: 2; }
.success-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.success-wrap.light { color: inherit; }
.success-icon {
  width: 96px; height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  box-shadow: 0 0 0 12px rgba(217,182,111,.14), 0 0 0 26px rgba(217,182,111,.06);
  animation: pop .5s cubic-bezier(.32,.72,.25,1.4) both;
}
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.success-screen .overline { color: var(--gold); justify-content: center; }
.success-screen h1 { color: #fff; margin: .4rem 0 .6rem; }
.success-screen .success-wrap > p { color: #cfc9ba; max-width: 46ch; margin: 0 auto 1.4rem; }

.ref-box {
  display: inline-block;
  margin: .4rem 0 1.6rem;
  padding: .8rem 1.5rem;
  background: rgba(255,255,255,.06);
  color: var(--gold);
  border: 1px solid rgba(217,182,111,.35);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: var(--radius-sm);
}
.success-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: left; color: var(--body); }
.success-card h4 { font-size: .95rem; margin-bottom: .8rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); color: var(--ink); }
.success-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1rem;
  margin-bottom: 1rem;
}
.success-meta .sm { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: .7rem .9rem; text-align: left; }
.success-meta .sm span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.success-meta .sm b { display: block; font-size: .9rem; color: #fff; margin-top: .15rem; }
@media (max-width: 480px) {
  .success-meta { grid-template-columns: 1fr; }
}
.next-steps { text-align: left; display: grid; gap: .6rem; margin: 1.2rem 0; }
.next-steps li { display: flex; gap: .7rem; font-size: .92rem; color: #d8d2c4; }
.next-steps li i { color: var(--gold); margin-top: 2px; }
.next-steps li a { color: var(--gold); }
.next-steps li a:hover { color: #fff; }
.success-wrap .btn.btn-ink { background: var(--gold); color: var(--ink); }
.success-wrap .btn.btn-ink:hover { background: var(--gold-dark); color: #fff; }

/* ---------- About / contact ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .about-tag {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: var(--ink); color: #fff;
  padding: .8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
}
.about-visual .about-tag b { color: var(--gold); }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.contact-card .cc-icon {
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}
.contact-card h4 { font-size: .95rem; margin-bottom: .3rem; }
.contact-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.contact-card a { font-weight: 600; color: var(--ink); }
.contact-card a:hover { color: var(--gold-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a8a49a; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.footer-col .f-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-col .f-brand .brand-name { color: #fff; }
.footer-col .f-brand .brand-sub { color: var(--gold); }
.footer-col p { font-size: .9rem; color: #a8a49a; margin-bottom: 1.2rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links a { color: #a8a49a; font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a i { color: var(--gold); font-size: .6rem; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-links a:active { color: #fff; }
.footer-links a:visited { color: #a8a49a; }
.footer-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .7rem; font-size: .9rem; color: #a8a49a; line-height: 1.5; }
.footer-contact li i { color: var(--gold); margin-top: 3px; width: 16px; text-align: center; }
.footer-contact a { color: #cfc9bc; }
.footer-contact a:hover, .footer-contact a:focus-visible, .footer-contact a:active { color: var(--gold); }
.footer-contact a:visited { color: #cfc9bc; }
.footer-contact a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: .82rem; }
.footer-bottom a { color: #cfc9bc; }
.footer-bottom a:hover, .footer-bottom a:focus-visible, .footer-bottom a:active { color: var(--gold); }
.footer-bottom a:visited { color: #cfc9bc; }
.footer-bottom a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.site-footer .btn-outline-gold { --btn-fg: var(--gold); border-color: var(--gold); }
.site-footer .btn-outline-gold:hover,
.site-footer .btn-outline-gold:focus-visible,
.site-footer .btn-outline-gold:active { --btn-fg: var(--ink); --btn-bg: var(--gold); border-color: var(--gold); box-shadow: none; }

@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: grid;
  gap: .6rem;
  width: min(92vw, 420px);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  background: var(--ink);
  color: #fff;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in .3s ease both;
}
.toast i { margin-top: 2px; }
.toast.success i { color: #7fd49b; }
.toast.error i { color: #f29c9c; }
.toast.out { animation: toast-out .3s ease both; }
@keyframes toast-in { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toast-out { to { transform: translateY(14px); opacity: 0; } }

/* ---------- Spinner ---------- */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
.spinner.dark { border-color: rgba(23,23,26,.2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.1rem; bottom: 1.1rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 800;
  box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--ink); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 820;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(18, 140, 60, .32), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  animation: wa-in .5s ease .45s backwards;
}
.wa-float i { line-height: 1; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .5);
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
.wa-float:hover, .wa-float:focus-visible {
  transform: translateY(-3px) scale(1.05);
  background: #1fbd5a;
  box-shadow: 0 12px 26px rgba(18, 140, 60, .42), 0 4px 10px rgba(0, 0, 0, .14);
}
.wa-float:active { transform: scale(.95); }
@keyframes wa-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .9; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-float .wa-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .5rem .85rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}
.wa-float:hover .wa-tip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* ---------- WhatsApp order action (order confirmation) ---------- */
.btn-whatsapp {
  --btn-bg: #25d366;
  --btn-fg: #fff;
  border: none;
}
.btn-whatsapp:hover { --btn-bg: #1fbd5a; --btn-fg: #fff; }
.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

.pc-quick-add:disabled { background: #b3ac9e; cursor: not-allowed; box-shadow: none; }
.pc-quick-add:disabled:hover { background: #b3ac9e; transform: none; }

/* ---------- Login ---------- */
.auth-container {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: clamp(2.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(217, 182, 111, .24), transparent 25rem),
    radial-gradient(circle at 8% 94%, rgba(79, 132, 105, .18), transparent 23rem),
    linear-gradient(135deg, #f8f3ea 0%, #fbfaf7 48%, #f0f5ef 100%);
  overflow: hidden;
}
.auth-container::before,
.auth-container::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
}
.auth-container::before { top: -155px; right: -110px; background: rgba(217, 182, 111, .20); }
.auth-container::after { bottom: -190px; left: -130px; background: rgba(6, 61, 46, .09); }
.auth-container .container { position: relative; z-index: 1; }
.auth-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(232, 226, 215, .9);
  border-radius: 20px;
  padding: clamp(1.65rem, 4vw, 2.85rem);
  box-shadow: 0 24px 60px rgba(20, 26, 23, .13), 0 2px 8px rgba(20, 26, 23, .04);
  overflow: hidden;
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #eed59c 48%, var(--ink));
}
.auth-brand {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--gold);
  box-shadow: 0 8px 18px rgba(6, 61, 46, .18);
}
.auth-title { font-size: clamp(1.65rem, 4vw, 2rem); margin-bottom: .35rem; }
.auth-copy { margin: 0 0 1.7rem; color: var(--muted); font-size: .94rem; }
.auth-card .mb-3 { margin-bottom: 1.05rem !important; }
.auth-card .form-label { margin-bottom: .45rem; color: var(--ink); font-size: .84rem; font-weight: 650; }
.auth-card .form-control { min-height: 54px; border-radius: 11px; border-color: #ded7ca; background: #fcfbf8; }
.auth-card .form-control:focus { background: #fff; border-color: var(--gold); box-shadow: 0 0 0 .22rem rgba(217, 182, 111, .18); }
.auth-card #togglePassword {
  width: 38px;
  height: 38px;
  right: .55rem !important;
  display: grid;
  place-items: center;
  border-radius: 8px !important;
  color: var(--muted);
}
.auth-card #togglePassword:hover { color: var(--ink); background: var(--cream-2) !important; }
.auth-card .form-check { display: inline-flex; align-items: center; gap: .35rem; }
.auth-card .form-check-input { margin: 0; }
.auth-card .float-end { color: var(--gold-deep); font-size: .85rem; font-weight: 600; }
.auth-card .float-end:hover, .auth-footer a:hover { color: var(--ink); }
.auth-card .g-recaptcha { max-width: 100%; }
.auth-submit { --btn-bg: var(--ink); --btn-fg: #fff; min-height: 56px; border-radius: 11px; box-shadow: 0 9px 18px rgba(6, 61, 46, .18); }
.auth-submit:hover { --btn-bg: var(--ink-soft); --btn-fg: #fff; box-shadow: 0 12px 24px rgba(6, 61, 46, .24); }
.auth-footer { color: var(--muted); font-size: .9rem; }
.auth-footer a { color: var(--gold-deep); font-weight: 600; }

@media (max-width: 575.98px) {
  .auth-container { padding: 1.5rem 0 2.25rem; }
  .auth-card { border-radius: 16px; padding: 1.45rem 1.15rem; }
  .auth-copy { margin-bottom: 1.35rem; }
  .auth-card .mb-3:has(.form-check-input) { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
  .auth-card .float-end { float: none !important; }
  .auth-card .g-recaptcha { transform: scale(.82); transform-origin: left top; }
}

/* ---------- Back link ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
  transition: color .18s ease, transform .18s ease;
}
.back-link:hover { color: #fff; }
.back-link i { font-size: .8rem; }
.back-link.on-light { color: var(--gold-deep); }
.back-link.on-light:hover { color: var(--ink); }

/* ---------- Shop view + filter toggles ---------- */
.shop-toolbar .tools { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button {
  width: 40px; height: 40px;
  border: none;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}
.view-toggle button.active { background: var(--ink); color: var(--gold); }
.view-toggle button:hover, .view-toggle button:focus-visible, .view-toggle button:active { background: var(--cream-2); color: var(--ink); }
.view-toggle button.active:hover, .view-toggle button.active:focus-visible, .view-toggle button.active:active { background: var(--ink); color: var(--gold); }
.view-toggle button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.filter-toggle {
  display: none;
  align-items: center;
  gap: .45rem;
  min-height: 40px;
  padding: 0 .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-2);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.filter-toggle.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-toggle:hover, .filter-toggle:focus-visible, .filter-toggle:active { color: var(--ink); border-color: var(--gold); background: var(--cream-2); }
.filter-toggle.active:hover, .filter-toggle.active:focus-visible, .filter-toggle.active:active { color: #fff; border-color: var(--ink); background: var(--ink); }
.filter-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.filter-chips.collapsed { display: none; }

@media (max-width: 767.98px) {
  .filter-toggle { display: inline-flex; }
  .shop-toolbar { flex-wrap: wrap; gap: .6rem; }
  .shop-toolbar .tools { width: 100%; margin-left: 0; }
  .shop-toolbar .tools .sort { margin-left: auto; }
}
@media (min-width: 768px) {
  .filter-chips.collapsed { display: flex; }
}

/* List view */
.view-list .products-grid { grid-template-columns: 1fr; gap: 1rem; }
.view-list .product-card { flex-direction: row; align-items: stretch; }
.view-list .pc-media { flex: 0 0 150px; aspect-ratio: auto; min-height: 180px; }
.view-list .pc-body { flex: 1; padding: 1rem; justify-content: center; }
.view-list .pc-quick-add { display: grid; }
.view-list .pc-actions { position: static; opacity: 1; transform: none; background: none; padding: 0; display: flex; gap: .5rem; margin-top: .8rem; }
.view-list .pc-actions .btn { min-height: 42px; }
@media (min-width: 640px) { .view-list .pc-media { flex-basis: 210px; min-height: 220px; } }

/* ---------- Bottom navigation (mobile) ---------- */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 850;
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(20, 26, 23, .08);
  height: var(--bottom-nav-h);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
  transition: color .18s ease;
}
.bottom-nav a i { font-size: 1.15rem; line-height: 1; }
.bottom-nav a.active { color: var(--ink); }
.bottom-nav a:hover, .bottom-nav a:focus-visible, .bottom-nav a:active { color: var(--ink); }
.bottom-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.bottom-nav a.active::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
}
.bottom-nav .bn-cart { position: relative; }
.bottom-nav .cart-count {
  position: absolute;
  top: 4px;
  right: calc(50% - 20px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--ink);
  font-size: .62rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  transition: transform .15s ease;
}
.bottom-nav .cart-count.bump { transform: scale(1.3); }

@media (max-width: 1023.98px) {
  body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
  .bottom-nav { display: flex; padding-bottom: env(safe-area-inset-bottom); }
  .toast-wrap { bottom: calc(var(--bottom-nav-h) + 1rem); }
  .wa-float { bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 14px); width: 52px; height: 52px; font-size: 1.6rem; }
  .wa-float::before { display: none; }
  .wa-float .wa-tip { display: none; }
  .to-top { bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 14px + 64px); }
}
@media (min-width: 1024px) {
  .bottom-nav { display: none; }
  .pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .to-top { bottom: calc(1.1rem + 68px); }
}

/* ---------- Responsive nav (mobile) ---------- */
@media (max-width: 1023.98px) {
  .nav-links { display: none; }
  .header-search { display: none; }
  .hamburger { display: grid; }
  .navbar .container { gap: .4rem; }
  .nav-actions { margin-left: auto; }
}

@media (min-width: 1024px) {
  .header-search { display: block; }
}

@media (min-width: 1200px) {
  .header-search { width: 260px; }
}

/* ---------- Small screen tuning ---------- */
@media (max-width: 575.98px) {
  body { font-size: 15px; }
  .hero .container { padding-top: 3.5rem; padding-bottom: 4rem; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.15rem); margin-bottom: .75rem; }
  .hero p.lead { font-size: 1rem; margin-bottom: 1.6rem; }
  .hero-cta { display: grid; grid-template-columns: 1fr; gap: .65rem; }
  .hero-cta .btn { width: 100%; min-height: 52px; }
  .pc-body { padding: .7rem; }
  .pc-name { font-size: .87rem; }
  .pc-price { font-size: .95rem; }
  .btn { min-height: 44px; }
  .cart-item { grid-template-columns: 72px 1fr auto; }
  .cart-item .ci-thumb { width: 72px; height: 84px; }
  .topbar .topbar-meta .hide-sm { display: none; }
  .pd-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
