/* =========================================================================
   Siddhi Vastra Boutique
   Design DNA: afari.co.in (Montserrat, uppercase, sharp 0.25rem corners,
   letter-spacing, white-on-brand buttons, clean grids).
   Brand colour: siddhi's deep maroon #842425.
   ========================================================================= */

:root {
  --brand:        #842425;
  --brand-dark:   #6a1c1d;
  --brand-light:  #f5e7e7;
  --accent:       #FFBC7D;
  --text:         #1c1c1c;
  --text-muted:   #7a7a7a;
  --bg:           #ffffff;
  --bg-alt:       #f7f5f3;
  --border:       #e6e2df;
  --border-light: #efefef;
  --success:      #2e7d32;
  --error:        #c62828;

  --container:    1280px;
  --radius:       0.25rem;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.04);
  --shadow:       0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:    0 8px 24px rgba(0,0,0,.10);

  --font:         'Montserrat', system-ui, -apple-system, sans-serif;
  --tracking:     0.04em;
  --tracking-wide:0.18em;
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  letter-spacing: var(--tracking);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin: 0 0 1rem;
  line-height: 1.25;
}
h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
h2 { font-size: clamp(1.25rem, 1.05rem + 0.85vw, 1.75rem); }
h3 { font-size: clamp(1.1rem, 0.95rem + 0.55vw, 1.375rem); }
h4 { font-size: 1rem; }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ------------------------------ Buttons ------------------------------ */
.btn,
button.btn,
input[type=submit].btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1;
  text-align: center;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-dark { background: #1c1c1c; border-color: #1c1c1c; }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.7rem; }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 0.8rem; }

/* ------------------------------ Forms ------------------------------ */
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=tel], input[type=search], input[type=url], select, textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.875rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  letter-spacing: var(--tracking);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(132,36,37,.1);
}
label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-row { margin-bottom: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------ Header ------------------------------ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
  border-bottom-color: transparent;
}

/* Announcement bar (free shipping / promo) */
.announce-bar {
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0;
}
.announce-bar a { color: #fff; opacity: 0.9; }
.announce-bar a:hover { opacity: 1; }
.announce-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.announce-msg { font-weight: 500; }
.announce-right { display: flex; gap: 1.1rem; font-size: 0.68rem; }

/* Main header row — logo | inline nav | actions */
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.brand img { max-height: 64px; width: auto; display: block; }
.brand-text {
  display: inline-flex; flex-direction: column; line-height: 1.1;
}
.brand-text strong {
  font-size: 1.15rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--brand);
}
.brand-text small {
  font-size: 0.58rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--text-muted); margin-top: 0.25rem;
}

.hamburger {
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer;
  padding: 0.25rem 0.5rem;
  color: var(--text);
  display: none;            /* shown only on mobile */
  margin-right: 0.25rem;
}

/* Primary nav — inline, centered in middle column */
.primary-nav {
  justify-self: center;
}
.primary-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 0.25rem;
}
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 1rem 0.95rem;
  color: var(--text);
  white-space: nowrap;
  position: relative;
  /* font inherits site default (Montserrat, 0.875rem, 500) */
}
.primary-nav > ul > li > a:hover { color: var(--brand); }
.primary-nav > ul > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 0.5rem;
  width: 0; height: 2px; background: var(--brand);
  transition: width .22s, left .22s;
}
.primary-nav > ul > li > a:hover::after { width: 55%; left: 22.5%; }
.primary-nav .caret { font-size: 0.55rem; opacity: 0.6; transition: transform .2s; }
.primary-nav .has-dropdown:hover .caret { transform: rotate(180deg); opacity: 1; }

/* Dropdown card under "Our Collections" */
.primary-nav .dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.05);
  padding: 0.6rem 0;
  list-style: none;
  margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .18s, visibility .18s, transform .18s;
  z-index: 60;
}
.primary-nav .dropdown::before {
  content: ""; position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
}
.primary-nav .has-dropdown:hover > .dropdown,
.primary-nav .has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.primary-nav .dropdown li { margin: 0; }
.primary-nav .dropdown a {
  display: block;
  padding: 0.7rem 1.25rem;
  color: var(--text);
  transition: color .15s, background .15s, padding-left .18s;
  /* font inherits site default */
}
.primary-nav .dropdown a:hover {
  color: var(--brand);
  background: var(--brand-light, #fbf3f4);
  padding-left: 1.55rem;
}

/* Right-side actions: search pill, account, cart */
.header-actions {
  display: flex; align-items: center; gap: 0.6rem;
}
.header-search-wrap { position: relative; }
.header-search {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 99px;
  padding: 0.5rem 0.95rem;
  transition: border-color .18s, background .18s;
}

/* Live search dropdown results */
.search-results {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  min-width: 360px;
  max-width: 440px;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.06);
  padding: 0.35rem 0;
  z-index: 70;
}
.search-state {
  padding: 1rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.search-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  color: var(--text);
  transition: background .15s;
}
.search-item:hover { background: var(--brand-light); color: var(--text); }
.search-thumb {
  width: 52px; height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
}
.search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.search-name {
  font-size: 0.87rem; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-cat {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.search-price {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: 0.82rem;
  white-space: nowrap;
}
.search-price del { font-size: 0.7rem; color: var(--text-muted); }
.search-price strong { color: var(--brand); font-weight: 600; }
.search-more {
  display: block;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-light);
  background: #fafafa;
  font-size: 0.78rem;
  color: var(--brand);
  text-align: center;
  font-weight: 500;
}
.search-more:hover { background: var(--brand-light); }

@media (max-width: 900px) {
  .search-results { position: fixed; top: 120px; left: 1rem; right: 1rem; min-width: 0; max-width: none; }
}
.header-search:focus-within { border-color: var(--brand); background: #fff; }
.header-search .search-icon { font-size: 0.85rem; opacity: 0.55; }
.header-search input {
  border: none; background: transparent; outline: none;
  font-size: 0.78rem; font-family: inherit;
  width: 140px;
}
.header-search input::placeholder { color: #999; }

.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--text);
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: #f5f5f5; color: var(--brand); }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--brand); color: #fff;
  border-radius: 99px;
  font-size: 0.62rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* ----- Tablet: shrink nav spacing, hide search label ----- */
@media (max-width: 1100px) {
  .primary-nav > ul > li > a { padding: 1rem 0.6rem; }
  .header-search input { width: 100px; }
  .header-main { gap: 1rem; padding: 0.9rem 1rem; }
}

/* ----- Mobile: hide desktop nav, use slide-in drawer instead ----- */
@media (max-width: 900px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
  }
  .hamburger { display: inline-flex; }
  .brand { justify-self: start; }
  .brand img { max-height: 48px; }
  .header-search { display: none; }
  .icon-btn { width: 36px; height: 36px; }
  .primary-nav { display: none; }
  .header-actions .icon-btn[aria-label="Account"] { display: none; }
}

/* ------------------------------ Hero / homepage ------------------------------ */
.hero {
  background: var(--bg-alt);
  padding: 5rem 0;
  text-align: center;
}
.hero h1 { color: var(--brand); margin-bottom: 0.5rem; }
.hero .tagline { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-bottom: 1.5rem; }
.hero .btn { margin-top: 0.5rem; }

/* Eyebrow label used across the site */
.eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--brand);
  vertical-align: middle;
  margin-right: 0.6rem;
}

/* Hero slider — editorial, left-aligned caption, cinematic */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(460px, 72vh, 780px);
  overflow: hidden;
  background: var(--bg-alt);
}
.hero-slider .slides { position: absolute; inset: 0; }
.hero-slider .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 8s ease;
}
.hero-slider .slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-slider .slide picture { position: absolute; inset: 0; }
.hero-slider .slide picture img,
.hero-slider .slide > img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
}
.hero-slider .slide::before {
  /* Left-to-right vignette for caption legibility */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.30) 35%,
    rgba(0,0,0,0.00) 65%
  );
  z-index: 2;
  pointer-events: none;
}
.hero-slider .slide-caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  z-index: 3;
  color: #fff;
  pointer-events: none;
}
.hero-slider .slide-caption .container { max-width: var(--container); width: 100%; }
.hero-slider .slide-caption > .container { pointer-events: auto; }
.hero-slider .slide-caption .eyebrow {
  color: #fff;
  opacity: 0.85;
}
.hero-slider .slide-caption .eyebrow::before {
  background: #fff;
}
.hero-slider .slide-caption h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  max-width: 560px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  letter-spacing: 0.05em;
}
.hero-slider .slide-caption .tagline {
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 2rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.hero-slider .slide-caption .btn {
  background: #fff; color: var(--brand);
  border-color: #fff;
  padding: 1.1rem 2.2rem;
}
.hero-slider .slide-caption .btn:hover {
  background: var(--brand); color: #fff;
  border-color: var(--brand);
}
.hero-slider .slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer;
  z-index: 4;
  transition: background 0.2s, border-color 0.2s;
}
.hero-slider .slide-nav:hover { background: var(--brand); border-color: var(--brand); }
.hero-slider .slide-nav.prev { left: 1.5rem; }
.hero-slider .slide-nav.next { right: 1.5rem; }
.hero-slider .slide-dots {
  position: absolute; bottom: 2rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.6rem;
  z-index: 4;
}
.hero-slider .slide-dots button {
  width: 26px; height: 3px; border-radius: 0;
  border: 0; background: rgba(255,255,255,0.4);
  cursor: pointer; padding: 0;
  transition: background 0.2s, width 0.2s;
}
.hero-slider .slide-dots button.active { background: #fff; width: 36px; }
@media (max-width: 780px) {
  .hero-slider .slide-nav { display: none; }
}

/* ------------------------------ USP strip ------------------------------ */
.usp-strip {
  background: var(--bg-alt);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-light);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.usp-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.5rem;
}
.usp-icon {
  font-size: 1.75rem;
  color: var(--brand);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.usp-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.usp-item small {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.usp-item small a { color: var(--brand); }
@media (max-width: 900px) { .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 480px) { .usp-grid { grid-template-columns: 1fr; } }

/* ------------------------------ Sections ------------------------------ */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-title h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  margin: 0 0 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text);
  border: 0;
}
.section-title .section-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0.5rem auto 0;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ------------------------------ Category editorial showcase ------------------------------ */
.cat-showcase {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 1.25rem;
  min-height: 560px;
}
.cat-showcase .cat-tile:nth-child(1) {
  grid-row: span 2;
}
.cat-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
  min-height: 240px;
  color: #fff;
}
.cat-tile-img {
  position: absolute; inset: 0;
  overflow: hidden;
}
.cat-tile-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.cat-tile:hover .cat-tile-img img { transform: scale(1.08); }
.cat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.08) 55%, rgba(0,0,0,0) 100%);
  z-index: 1;
  transition: background 0.3s;
}
.cat-tile:hover::after {
  background: linear-gradient(to top, rgba(132,36,37,0.82) 0%, rgba(132,36,37,0.15) 60%, rgba(132,36,37,0) 100%);
}
.cat-tile-label {
  position: absolute;
  left: 1.75rem; right: 1.75rem; bottom: 1.75rem;
  z-index: 2;
}
.cat-tile-label .eyebrow {
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.4rem;
  font-size: 0.62rem;
}
.cat-tile-label .eyebrow::before { background: rgba(255,255,255,0.85); }
.cat-tile-label h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.cat-tile.is-feature .cat-tile-label h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}
.cat-tile-cta {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.7);
  transition: letter-spacing 0.2s;
}
.cat-tile:hover .cat-tile-cta { letter-spacing: 0.22em; }
@media (max-width: 900px) {
  .cat-showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .cat-showcase .cat-tile:nth-child(1) { grid-row: auto; grid-column: span 2; min-height: 320px; }
}
@media (max-width: 600px) {
  .cat-showcase { grid-template-columns: 1fr; }
  .cat-showcase .cat-tile:nth-child(1) { grid-column: auto; }
}

/* Legacy cat-grid (still used in a few places) */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: box-shadow .15s, transform .15s;
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-card .img-wrap { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.cat-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cat-card h3 { font-size: 0.85rem; padding: 1rem 0.5rem; margin: 0; color: var(--text); }

/* ------------------------------ Product grid ------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; } }

.product-card {
  display: flex; flex-direction: column;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  transition: none;
}
.product-card:hover { box-shadow: none; transform: none; }
.product-card .img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  overflow: hidden;
  border-radius: var(--radius);
}
/* Horizontal auto-sliding image track */
.product-card .img-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.product-card .img-track img {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-card:hover .img-track img:only-child { transform: scale(1.04); transition: transform .6s ease; }
/* Dot indicators — appear on hover */
.product-card .card-dots {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 5px;
  z-index: 4;
  opacity: 0;
  transition: opacity .25s;
}
.product-card:hover .card-dots { opacity: 1; }
.product-card .card-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.product-card .card-dots span.active {
  background: #fff;
  transform: scale(1.3);
}
.product-card .sale-tag,
.product-card .new-tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 3;
  border-radius: 99px;
}
.product-card .new-tag { background: #1c1c1c; }
/* If both badges exist, stack them so NEW sits above SALE */
.product-card .new-tag + .sale-tag { top: 2.3rem; }
.product-card .quick-view {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  text-align: center;
  background: rgba(28,28,28,0.88);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.9rem 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
  z-index: 3;
}
.product-card:hover .quick-view { transform: translateY(0); }
.product-card .card-body {
  padding: 1rem 0.25rem 0;
  text-align: center;
}
.product-card h3 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
  line-height: 1.5;
  color: var(--text);
  min-height: 2.25em;
}
.product-card:hover h3 { color: var(--brand); }
.product-card .price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.05em;
}
.product-card .price del { color: var(--text-muted); font-weight: 400; margin-right: 0.4rem; }

/* Card link wrapping image */
.product-card .card-link { display: block; color: inherit; }
.product-card .card-link:hover { color: inherit; }

/* Add to Cart / Select Options button */
/* Card qty + ATC row */
.card-cart-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
}
.card-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.cq-btn {
  width: 26px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: none; cursor: pointer;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  transition: background .15s, color .15s;
  user-select: none; line-height: 1; padding: 0;
}
.cq-btn:hover { background: var(--brand); color: #fff; }
.cq-btn:active { transform: scale(0.92); }
.cq-val {
  min-width: 28px; text-align: center;
  font-size: 0.72rem; font-weight: 600;
  padding: 0 0.1rem; color: var(--text);
}
.cq-line-total {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
  flex-shrink: 0;
}

.card-atc-btn {
  display: block;
  flex: 1;
  min-width: 0;
  margin-top: 0;
  padding: 0.5rem 0.3rem;
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--brand);
  background: transparent;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.card-atc-btn:hover {
  background: var(--brand);
  color: #fff;
}
.card-atc-btn:active {
  transform: scale(0.97);
}
/* Added-to-cart success state */
.card-atc-btn.added {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
  pointer-events: none;
}

/* Cart count badge in header */
.cart-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px; height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  padding: 0 4px;
}

/* ------------------------------ Lifestyle banner ------------------------------ */
.lifestyle-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 520px;
  display: flex; align-items: center;
  padding: 5rem 0;
}
.lifestyle-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.1) 100%);
}
.lifestyle-banner .container { position: relative; z-index: 1; }
.lifestyle-content {
  max-width: 540px;
  color: #fff;
}
.lifestyle-content .eyebrow { color: #fff; }
.lifestyle-content .eyebrow::before { background: #fff; }
.lifestyle-content h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  margin-bottom: 1.25rem;
  border: 0;
  display: block;
  padding: 0;
}
.lifestyle-content p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.92);
  text-transform: none;
  letter-spacing: 0.02em;
}
.lifestyle-content .btn {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}
.lifestyle-content .btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
@media (max-width: 780px) {
  .lifestyle-banner { background-attachment: scroll; padding: 4rem 0; min-height: 420px; }
}

/* ------------------------------ Testimonials ------------------------------ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--bg-alt);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  margin: 0;
  text-align: center;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -0.25rem; left: 1.25rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.18;
  font-family: Georgia, serif;
}
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
}
.testimonial figcaption {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  font-weight: 600;
}

/* ------------------------------ Instagram strip ------------------------------ */
.insta-strip { padding: 5rem 0 0; }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-top: 1rem;
}
@media (max-width: 900px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }
.insta-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}
.insta-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.insta-tile:hover img { transform: scale(1.08); }
.insta-overlay {
  position: absolute; inset: 0;
  background: rgba(132,36,37,0.82);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  opacity: 0;
  transition: opacity .3s;
}
.insta-tile:hover .insta-overlay { opacity: 1; }

/* ------------------------------ Category filter bar ------------------------------ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  padding: 1rem 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 99px;
  background: #fff;
  transition: all .2s;
}
.filter-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.filter-chip.selected {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.filter-chip img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.filter-chip .dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  display: inline-block;
}

/* Variant filter group (colour / pattern / size) */
.filter-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  min-width: 60px;
}
.filter-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.filter-chip-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 99px;
  background: #fff;
  transition: all .2s;
}
.filter-chip-sm:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip-sm.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-chip-sm img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.filter-chip-sm .dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); display: inline-block; }

/* ------------------------------ Smart Filter System ------------------------------ */
.smart-filter {
  margin-bottom: 2rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

/* Category chips row */
.sf-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.sf-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 99px;
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.sf-cat img {
  width: 20px; height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.sf-cat:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.sf-cat.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Inline filter chip rows (visible, no dropdown) */
.sf-inline-filters {
  margin-bottom: 1rem;
}
.sf-chip-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}
.sf-chip-row:last-child { margin-bottom: 0; }
.sf-chip-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 58px;
}
.sf-chips-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1;
}

/* Individual filter chip */
.sf-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 99px;
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
  white-space: nowrap;
}
.sf-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.sf-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.sf-chip.active .sf-swatch {
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
}

/* Colour swatch dot inside chip */
.sf-swatch {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.12);
  flex-shrink: 0;
}

/* Pattern/image thumbnail inside chip */
.sf-chip-img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.08);
}

.sf-chip-name {
  line-height: 1;
}

/* "All" chip — slightly different style */
.sf-chip-all {
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Product count */
.sf-result-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 0.75rem;
}
.sf-result-count [data-count] {
  font-weight: 700;
  color: var(--text);
}

/* Loading state */
[data-product-grid].is-loading {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity .2s;
}

/* Responsive: mobile filter chips */
@media (max-width: 700px) {
  .sf-categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
    gap: 0.4rem;
  }
  .sf-cat { flex-shrink: 0; }
  .sf-chip-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .sf-chips-scroll {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.25rem;
    width: 100%;
  }
  .sf-chip { flex-shrink: 0; }
}

/* Shop toolbar (filters + sort) */
.shop-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.shop-toolbar .filter-bar {
  margin-bottom: 0;
  justify-content: flex-start;
  border: 0;
  padding: 0;
  flex: 1;
}
.shop-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.shop-sort label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
}
.shop-sort select {
  font-size: 0.82rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}
@media (max-width: 700px) {
  .shop-toolbar { flex-direction: column; }
  .shop-toolbar .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
}

/* ------------------------------ Dynamic page content ------------------------------ */
.page-content {
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.85;
}
.page-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  padding: 0; border: 0;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}
.page-content ul, .page-content ol {
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}
.page-content li { margin-bottom: 0.4rem; }
.page-content a { color: var(--brand); text-decoration: underline; }
.page-content a:hover { color: var(--brand-dark); }
.page-content img { border-radius: var(--radius); margin: 1rem 0; }

/* ------------------------------ Contact page ------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 2rem; } }

.contact-info h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
  display: block; border: 0; padding: 0;
}
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

.contact-cards { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-card {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-alt);
  border-radius: 8px;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-card strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card a, .contact-card span { font-size: 0.88rem; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 2rem;
}
.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}
@media (max-width: 600px) { .contact-form .form-grid { grid-template-columns: 1fr; } }

.contact-success {
  text-align: center;
  padding: 2rem 1rem;
}
.success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: #fff; font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contact-success h3 { margin-bottom: 0.5rem; }
.contact-success p { color: var(--text-muted); margin-bottom: 1.25rem; }

/* Admin: messages */
.msg-unread { background: #fffde7; }
.msg-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}
.msg-dot.unread { background: var(--brand); }
.msg-detail { line-height: 1.7; }
.msg-meta { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-light); font-size: 0.88rem; }
.msg-meta div { margin-bottom: 0.25rem; }
.msg-body { white-space: pre-wrap; padding: 1rem 0; font-size: 0.9rem; }
.msg-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--border-light); }

/* ------------------------------ Empty state ------------------------------ */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  max-width: 520px;
  margin: 0 auto;
}
.empty-state .empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.empty-state h3 {
  font-size: 1rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
  letter-spacing: 0.12em;
}
.empty-state p {
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ------------------------------ Breadcrumb ------------------------------ */
.breadcrumb {
  padding: 1.5rem 0 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 0.6rem; color: var(--border); }
.breadcrumb .current { color: var(--brand); }

/* ------------------------------ Product detail ------------------------------ */
.product-detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  padding: 2rem 0 4rem;
}
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; gap: 2rem; } }

.product-gallery {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.product-gallery .thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 84px;
  flex-shrink: 0;
  order: -1;
}
.product-gallery .main-img { flex: 1; min-width: 0; }
.product-gallery .thumbs img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, opacity .2s;
  opacity: 0.7;
}
.product-gallery .thumbs img:hover { opacity: 1; }
.product-gallery .thumbs img.active { border-color: var(--brand); opacity: 1; }
.product-gallery .main-img {
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-gallery .main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-gallery .main-img:hover img { transform: scale(1.03); }
@media (max-width: 600px) {
  .product-gallery { flex-direction: column; }
  .product-gallery .thumbs {
    flex-direction: row;
    order: 1;
    width: 100%;
    overflow-x: auto;
  }
  .product-gallery .thumbs img { width: 72px; flex-shrink: 0; }
}

.product-info {
  align-self: start;
  position: sticky;
  top: 140px;
}
@media (max-width: 900px) { .product-info { position: static; } }
.product-info .category-tag {
  font-size: 0.68rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
  display: inline-block;
  font-weight: 600;
}
.product-info h1 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.product-info .price-block {
  font-size: 1.6rem;
  color: var(--brand);
  font-weight: 600;
  margin: 1.25rem 0 1.5rem;
  letter-spacing: 0.03em;
}
.product-info .price-block del {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-right: 0.6rem;
  font-weight: 400;
}
.product-info .short-desc {
  color: var(--text-muted);
  white-space: pre-line;
  line-height: 1.8;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.product-info .desc-section {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  margin-top: 2rem;
}
.product-info .desc-section h3 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  color: var(--text);
}
.product-info .desc-section p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Trust strip under add to cart */
.trust-strip {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust-item .ti-icon {
  font-size: 1.25rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
  color: var(--brand);
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.1rem;
}
.trust-item small {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.trust-item small a { color: var(--brand); }

/* Variant swatches */
.variant-group { margin-bottom: 1.25rem; }
.variant-group .label-row { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-bottom: 0.5rem; }
.swatches, .group-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.group-swatches .swatch { text-decoration: none; }
.swatch {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  padding: 0.5rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 0.4rem;
  transition: border-color .15s, color .15s;
}
.swatch:hover { border-color: var(--brand); color: var(--brand); }
.swatch.selected { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.swatch img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.swatch .dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border); display: inline-block; }

/* Filter tags (non-interactive, shown on product page) */
.filter-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text); background: #fff;
}
.filter-tag .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border); display: inline-block; flex-shrink: 0; }
.filter-tag-img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* Quantity input */
.qty-input { display: flex; align-items: stretch; max-width: 200px; }
.qty-input button { width: 38px; background: #fff; border: 1px solid var(--border); cursor: pointer; font-size: 1.1rem; }
.qty-input input { text-align: center; border-left: 0; border-right: 0; border-radius: 0; }
.qty-input button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.qty-input button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.qty-suffix { font-size: 0.7rem; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-muted); margin-left: 0.6rem; align-self: center; }

/* ------------------------------ Cart ------------------------------ */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 1rem 0.75rem; border-bottom: 1px solid var(--border-light); text-align: left; font-size: 0.8rem; }
.cart-table th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-muted); }
.cart-table img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--radius); }
.cart-summary {
  background: var(--bg-alt); padding: 1.5rem; border-radius: var(--radius);
  margin-top: 1.5rem;
}
.cart-summary .row { display: flex; justify-content: space-between; padding: 0.4rem 0; }
.cart-summary .row.total { font-size: 1rem; font-weight: 700; border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 0.85rem; color: var(--brand); }

/* Quantity controls */
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600;
  color: var(--text);
  transition: background .15s, color .15s;
  user-select: none;
  line-height: 1;
}
.qty-btn:hover { background: var(--brand); color: #fff; }
.qty-btn:active { transform: scale(0.92); }
.qty-value {
  min-width: 40px; text-align: center;
  font-size: 0.82rem; font-weight: 600;
  padding: 0 0.25rem;
  color: var(--text);
}
.qty-unit {
  font-size: 0.68rem; color: var(--text-muted);
  padding-right: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.qty-control.updating { opacity: 0.5; pointer-events: none; }

/* ------------------------------ Newsletter ------------------------------ */
.newsletter {
  background: var(--brand);
  color: #fff;
  padding: 4rem 0;
  margin-top: 5rem;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.newsletter .eyebrow { color: #fff; opacity: 0.85; }
.newsletter .eyebrow::before { background: #fff; }
.newsletter h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 0.75rem;
  border: 0;
  padding: 0;
  display: block;
}
.newsletter p {
  color: rgba(255,255,255,0.88);
  margin: 0;
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.7;
  font-size: 0.9rem;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  flex-wrap: wrap;
  position: relative;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 1rem 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.65); }
.newsletter-form input:focus {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  box-shadow: none;
}
.newsletter-form .btn {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  padding: 1rem 2rem;
}
.newsletter-form .btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.newsletter-form .newsletter-msg {
  display: block;
  width: 100%;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  opacity: 0.9;
  min-height: 1em;
  margin-top: 0.4rem;
}
@media (max-width: 780px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .newsletter .eyebrow::before { display: none; }
}

/* ------------------------------ Footer ------------------------------ */
.site-footer {
  background: #111;
  color: #a8a8a8;
  padding: 4.5rem 0 1.5rem;
  font-size: 0.8rem;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #2a2a2a;
}
.site-footer a { color: #a8a8a8; }
.site-footer a:hover { color: var(--accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h4 {
  font-size: 1rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.15em;
  border: 0;
  padding: 0;
}
.footer-brand .footer-tag {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.footer-brand p {
  line-height: 1.8;
  font-size: 0.78rem;
  max-width: 340px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--brand); color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li {
  padding: 0.35rem 0;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a2a;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #666;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ------------------------------ Flash / messages ------------------------------ */
.flash { padding: 0.85rem 1.25rem; border-radius: var(--radius); margin: 1rem 0; font-size: 0.8rem; }
.flash-success { background: #e8f5e9; color: var(--success); border: 1px solid #c8e6c9; }
.flash-error   { background: #ffebee; color: var(--error);   border: 1px solid #ffcdd2; }
.flash-info    { background: #e3f2fd; color: #1565c0;        border: 1px solid #bbdefb; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: #1c1c1c; color: #ddd; padding: 1.5rem 0; }
.admin-sidebar .brand { display: block; padding: 0 1.25rem 1.5rem; color: #fff; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-wide); border-bottom: 1px solid #333; margin-bottom: 1rem; text-align: left; }
.admin-sidebar nav a { display: block; padding: 0.85rem 1.25rem; color: #ccc; font-size: 0.75rem; text-transform: uppercase; letter-spacing: var(--tracking-wide); border-left: 3px solid transparent; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: #262626; color: #fff; border-left-color: var(--brand); }
.admin-content { padding: 2rem 2.5rem; background: var(--bg-alt); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.admin-header h1 { margin: 0; font-size: 1.25rem; }

/* Admin filter bar */
.admin-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.admin-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  flex: 1;
  min-width: 200px;
  max-width: 340px;
  transition: border-color .15s;
}
.admin-search-wrap:focus-within { border-color: var(--brand); }
.admin-search-wrap svg { opacity: 0.4; flex-shrink: 0; }
.admin-search-wrap input {
  border: none; outline: none; background: none;
  font-family: inherit; font-size: 0.8rem;
  width: 100%; color: var(--text);
}
.admin-filter-bar select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-family: inherit; font-size: 0.78rem;
  background: #fff; color: var(--text);
  cursor: pointer;
  width: auto;
  max-width: 180px;
}
.admin-filter-bar select:focus { border-color: var(--brand); outline: none; }
.admin-filter-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

.card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.card h2 { font-size: 0.9rem; margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border-light); }

.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th, .admin-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border-light); font-size: 0.8rem; vertical-align: middle; }
.admin-table th { background: var(--bg-alt); font-size: 0.7rem; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-muted); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table img.thumb { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius); }
.admin-table .actions { display: flex; gap: 0.4rem; }
.admin-table .actions a, .admin-table .actions button { font-size: 0.65rem; padding: 0.4rem 0.6rem; }

.badge { display: inline-block; padding: 0.2rem 0.55rem; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wide); border-radius: 99px; background: #eee; color: #555; }
.badge.published { background: #e8f5e9; color: var(--success); }
.badge.draft { background: #fff3e0; color: #ef6c00; }
.badge.simple { background: #e3f2fd; color: #1565c0; }
.badge.variable { background: #f3e5f5; color: #7b1fa2; }

/* The big "add product" form: minimum touch points */
.product-edit-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; }
@media (max-width: 1000px) { .product-edit-grid { grid-template-columns: 1fr; } }

/* Home slider admin list */
.slider-admin-list { display: flex; flex-direction: column; gap: 0.85rem; }
.slider-admin-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}
@media (max-width: 700px) { .slider-admin-item { grid-template-columns: 1fr; } }
.slider-admin-thumb { position: relative; }
.slider-admin-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.slider-admin-idx {
  position: absolute; top: 6px; left: 6px;
  background: rgba(0,0,0,0.75); color: #fff;
  padding: 0.2rem 0.5rem; font-size: 0.7rem;
  border-radius: 3px; font-weight: 600;
}
.slider-admin-detail { display: flex; flex-direction: column; gap: 0.5rem; }
.slider-admin-meta { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.slider-admin-meta .badge { font-size: 0.65rem; }
.slider-admin-meta .badge.warn { background: #fff3e0; color: #e65100; }
.slider-admin-form .form-row { margin-bottom: 0.6rem; }
.slider-admin-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.slider-admin-actions form { margin: 0; }

/* Size guide visual */
.size-guide ul { padding-left: 1.1rem; line-height: 1.7; color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.size-visual { text-align: center; margin-bottom: 1rem; }
.size-box {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px dashed var(--border);
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.78rem; font-weight: 600;
}
.size-box-desktop { width: 200px; height: 88px; }
.size-box-mobile  { width: 80px; height: 100px; }
.size-visual small { display: block; margin-top: 0.4rem; color: var(--text-muted); font-size: 0.72rem; }
.size-guide-pair { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1rem; text-align: center; }
.size-guide-pair small { display: block; margin-top: 0.35rem; font-size: 0.72rem; color: var(--text-muted); }

/* Slider admin — full-width items with content preview */
.slider-admin-item-full { grid-template-columns: 200px 1fr; }
@media (max-width: 700px) { .slider-admin-item-full { grid-template-columns: 1fr; } }
.slider-content-preview {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.5rem 0.6rem; background: var(--bg-alt); border-radius: 4px;
  font-size: 0.78rem; line-height: 1.4;
}
.slider-content-preview small { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); }
.slider-content-preview strong { font-size: 0.85rem; }
.slide-edit-toggle { margin-top: 0.4rem; }
.slide-edit-toggle summary { cursor: pointer; display: inline-block; }
.slide-edit-toggle[open] summary { margin-bottom: 0.5rem; }
.slide-edit-toggle fieldset {
  border: 1px solid var(--border-light); border-radius: 6px;
  padding: 1rem; margin: 0 0 0.75rem;
}
.slide-edit-toggle legend {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); padding: 0 0.4rem;
}

.inline-add { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.inline-add input { flex: 1; }
.inline-add .btn { white-space: nowrap; }

/* Combo search (searchable dropdown) */
.combo-search { position: relative; }
.combo-search-input {
  width: 100%; padding-right: 2rem;
}
.combo-search-clear {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 1.15rem; color: var(--text-muted);
  cursor: pointer; padding: 0 0.25rem; line-height: 1;
}
.combo-search-clear:hover { color: var(--text); }
.combo-search-clear.hidden { display: none; }
.combo-search-dropdown {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  max-height: 220px; overflow-y: auto;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
}
.combo-search.open .combo-search-dropdown { display: block; }
.combo-search-item {
  padding: 0.5rem 0.75rem; cursor: pointer;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 0.35rem;
}
.combo-search-item:hover, .combo-search-item.highlighted {
  background: var(--brand-light); color: var(--brand);
}
.combo-search-item.hidden { display: none; }
.combo-search-new {
  padding: 0.5rem 0.75rem; cursor: pointer;
  font-size: 0.85rem; color: var(--brand); font-weight: 500;
  border-top: 1px solid var(--border-light);
}
.combo-search-new:hover { background: var(--brand-light); }

/* Group member list (product groups page) */
.gp-member {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.4rem 0; border-bottom: 1px solid var(--border-light);
  font-size: 0.78rem;
}
.gp-member:last-child { border-bottom: none; }
.gp-member-name { color: var(--text); text-decoration: none; flex: 1; }
.gp-member-name:hover { color: var(--brand); }
.gp-member-remove {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-size: 1.1rem; padding: 0 0.25rem; line-height: 1; flex-shrink: 0;
}
.gp-member-remove:hover { color: #d00; }

/* Admin tabs */
.admin-tabs {
  display: flex; gap: 0; margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-light);
  overflow-x: auto;
}
.admin-tabs a {
  padding: 0.75rem 1.25rem;
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
}
.admin-tabs a:hover { color: var(--text); border-bottom-color: var(--border); }
.admin-tabs a.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

/* Toggle switch */
.toggle-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  cursor: pointer; font-size: 0.82rem; font-weight: 500;
  user-select: none;
}
.toggle-label input { display: none; }
.toggle-switch {
  position: relative;
  width: 40px; height: 22px;
  background: var(--border);
  border-radius: 99px;
  transition: background .2s;
  flex-shrink: 0;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-label input:checked + .toggle-switch {
  background: var(--brand);
}
.toggle-label input:checked + .toggle-switch::after {
  transform: translateX(18px);
}

/* Settings grid (2 columns like product-edit-grid) */
.settings-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .settings-grid { grid-template-columns: 1fr; }
}

/* Payment method cards */
.payment-method-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: border-color .15s;
}
.payment-method-card:hover { border-color: var(--border); }
.pm-header { margin-bottom: 0.5rem; }
.pm-details { padding-top: 0.75rem; border-top: 1px solid var(--border-light); }

/* Shipping method selector */
.shipping-method-selector {
  display: flex; gap: 0.75rem;
}
.shipping-method-option {
  flex: 1; display: flex; align-items: flex-start; gap: 0.5rem;
  border: 2px solid var(--border-light); border-radius: var(--radius);
  padding: 0.85rem 1rem; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.shipping-method-option:hover { border-color: var(--text-muted); }
.shipping-method-option.active { border-color: var(--brand); background: #faf5f5; }
.shipping-method-option input { margin-top: 3px; accent-color: var(--brand); }
.smo-inner { display: flex; flex-direction: column; gap: 2px; }
.smo-inner strong { font-size: 0.82rem; }
.smo-inner small { font-size: 0.7rem; color: var(--text-muted); }
.weight-formula-preview {
  margin-top: 0.5rem; padding: 0.5rem 0.75rem;
  background: #f8f9fa; border-radius: var(--radius); border-left: 3px solid var(--brand);
}

/* Shipping zone rows */
.zone-row {
  border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 0.75rem; margin-bottom: 0.5rem;
}
.zone-row-header {
  display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem;
}
.zone-row-header input { flex: 1; }
.zone-row-rates { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.zone-flat-fields, .zone-weight-fields { display: flex; gap: 0.5rem; align-items: flex-end; }
.zone-weight-fields > div { display: flex; flex-direction: column; gap: 2px; }
.zone-weight-tiers { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px dashed var(--border-light); }

/* Zone country tags */
.zone-countries { margin: 0.5rem 0; }
.zone-country-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.4rem; }
.country-tag {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.15rem 0.5rem; background: #f0f4f8; border: 1px solid #d1d9e0;
  border-radius: 99px; font-size: 0.68rem; color: #374151; white-space: nowrap;
}
.country-tag.rest-of-world { background: #fef3c7; border-color: #fbbf24; color: #92400e; font-weight: 600; }
.country-tag .ct-remove {
  border: none; background: none; cursor: pointer; font-size: 0.8rem;
  color: #9ca3af; padding: 0; line-height: 1; margin-left: 2px;
}
.country-tag .ct-remove:hover { color: #dc2626; }

/* Country picker dropdown */
.country-picker {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,.12);
  margin-top: 0.5rem; z-index: 100; max-width: 420px;
}
.cp-header { display: flex; gap: 0.5rem; padding: 0.5rem; border-bottom: 1px solid var(--border-light); }
.cp-header input { flex: 1; font-size: 0.78rem; padding: 0.3rem 0.5rem; }
.cp-special { padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--border-light); background: #fffbeb; }
.cp-list { max-height: 220px; overflow-y: auto; padding: 0.25rem 0; }
.cp-item { display: flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.6rem; font-size: 0.75rem; cursor: pointer; }
.cp-item:hover { background: #f5f5f5; }
.cp-item input { accent-color: var(--brand); }
.cp-item .muted { font-size: 0.65rem; }
.cp-footer { padding: 0.4rem 0.5rem; border-top: 1px solid var(--border-light); text-align: right; }

/* Weight tier rows */
.weight-tier-row {
  display: flex; gap: 0.5rem; align-items: flex-end;
  margin-bottom: 0.4rem; padding: 0.4rem 0.5rem;
  background: #fafafa; border-radius: var(--radius); border: 1px solid var(--border-light);
}
.weight-tier-row.wt-sm { padding: 0.25rem 0.4rem; }
.weight-tier-row.wt-sm input { font-size: 0.75rem; padding: 0.25rem 0.4rem; }
.wt-field { display: flex; flex-direction: column; gap: 2px; }
.wt-arrow { color: var(--text-muted); font-size: 1rem; padding-bottom: 0.3rem; }

/* Coupon code styling */
.coupon-input-wrap {
  display: flex; gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.coupon-input-wrap input { flex: 1; text-transform: uppercase; font-family: monospace; letter-spacing: 0.08em; }
.coupon-applied {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f0fdf4; border: 1px solid #86efac;
  border-radius: var(--radius);
  font-size: 0.78rem; color: #166534;
  margin-bottom: 0.75rem;
}
.coupon-applied .remove {
  margin-left: auto;
  color: #dc2626; cursor: pointer; text-decoration: underline;
  font-size: 0.72rem; background: none; border: none;
}

/* Cart summary lines */
.cart-summary .row.discount { color: #166534; }
.cart-summary .row.discount span:last-child::before { content: '-'; }
.cart-summary .row.tax { color: var(--text-muted); font-size: 0.82rem; }
.cart-summary .row.shipping { color: var(--text-muted); font-size: 0.82rem; }
.cart-summary .row.free-shipping { color: #166534; }
.cart-zone-section {
  margin-top: 1rem; padding: 0.75rem 1rem;
  background: var(--bg-alt); border-radius: var(--radius);
  border: 1px dashed var(--border-light);
}
.cart-zone-section select { width: 100%; margin-top: 0.25rem; }

/* Filter type toggle switches (product editor) */
.filter-type-toggles {
  display: flex; gap: 0.5rem; margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.filter-type-toggle {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  cursor: pointer; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: #fff; color: var(--text-muted);
  transition: all .15s; user-select: none;
}
.filter-type-toggle input { display: none; }
.filter-type-toggle:has(input:checked) {
  border-color: var(--brand); background: var(--brand); color: #fff;
}
.filter-type-toggle:hover { border-color: var(--brand); }

/* Selectable colour/size/pattern chips in the editor */
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border: 2px solid var(--border);
  border-radius: 99px;
  background: #fff;
  cursor: pointer;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  user-select: none;
  transition: all .12s;
}
.chip:hover { border-color: var(--brand); }
.chip.selected { border-color: var(--brand); background: var(--brand-light); color: var(--brand); }
.chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.chip input[type=checkbox] { display: none; }

/* Image upload preview */
.image-uploader { border: 2px dashed var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: center; background: var(--bg-alt); }
.image-uploader input[type=file] { margin-top: 0.5rem; }
.image-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; margin-top: 0.85rem; }
.image-preview-grid .preview { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--bg-alt); }
.image-preview-grid .preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-grid .preview .remove { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.65); color: #fff; border: 0; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 0.85rem; line-height: 1; }

/* Login */
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); }
.login-card { width: 100%; max-width: 380px; background: #fff; padding: 2.25rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.login-card h1 { text-align: center; color: var(--brand); margin-bottom: 1.5rem; font-size: 1.1rem; }

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }
.muted { color: var(--text-muted); font-size: 0.8rem; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }

/* ==============================================================
   MOBILE: Slide-in drawer menu (Woodmart-style)
   ============================================================== */
.mobile-drawer {
  position: fixed; inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
}
.drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity .3s;
}
.mobile-drawer.open .drawer-overlay { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}
.drawer-brand {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
}
.drawer-close {
  background: none; border: none;
  font-size: 1.6rem; cursor: pointer;
  color: var(--text-muted);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s;
}
.drawer-close:hover { background: var(--bg-alt); color: var(--text); }
.drawer-nav {
  flex: 1;
  padding: 0.5rem 0;
}
.drawer-nav > a {
  display: block;
  padding: 0.9rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: background .15s, color .15s;
}
.drawer-nav > a:hover { background: var(--brand-light); color: var(--brand); }
.drawer-accordion { border-bottom: 1px solid var(--border-light); }
.drawer-accordion-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  background: none; border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background .15s, color .15s;
}
.drawer-accordion-btn:hover { background: var(--brand-light); color: var(--brand); }
.drawer-chevron {
  font-size: 0.6rem;
  transition: transform .25s;
}
.drawer-accordion.open .drawer-chevron { transform: rotate(180deg); }
.drawer-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--bg-alt);
}
.drawer-accordion.open .drawer-accordion-body {
  max-height: 400px;
}
.drawer-accordion-body a {
  display: block;
  padding: 0.7rem 1.25rem 0.7rem 2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  transition: color .15s, padding-left .15s;
}
.drawer-accordion-body a:last-child { border-bottom: none; }
.drawer-accordion-body a:hover { color: var(--brand); padding-left: 2.3rem; }
.drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.drawer-footer a {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: border-color .15s, color .15s;
}
.drawer-footer a:hover { border-color: var(--brand); color: var(--brand); }

/* ==============================================================
   MOBILE: Bottom navigation bar (Woodmart-style)
   ============================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
  padding: 0.35rem 0;
  padding-bottom: max(0.35rem, env(safe-area-inset-bottom));
}
@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem 0.5rem;
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: none; border: none;
  cursor: pointer;
  font-family: var(--font);
  position: relative;
  transition: color .15s;
  min-width: 56px;
  -webkit-tap-highlight-color: transparent;
}
.mbn-item:hover, .mbn-item.active { color: var(--brand); }
.mbn-item svg { flex-shrink: 0; }
.mbn-badge {
  position: absolute;
  top: 0; right: 6px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--brand); color: #fff;
  border-radius: 99px;
  font-size: 0.58rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ==============================================================
   SEARCH PAGE: AJAX live search
   ============================================================== */
.search-page-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.search-page-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 0.65rem 1.1rem;
  transition: border-color .2s, box-shadow .2s;
}
.search-page-input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(132,36,37,0.08);
}
.search-page-icon { opacity: 0.4; flex-shrink: 0; }
.search-page-input-wrap input[type=search] {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  font-family: var(--font);
  padding: 0.25rem 0;
  width: 100%;
}
.search-page-input-wrap input[type=search]::placeholder { color: #999; }
.search-page-clear {
  background: none; border: none;
  font-size: 1.4rem; line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.search-page-clear:hover { background: var(--bg-alt); color: var(--text); }
.search-page-clear.hidden { display: none; }
.search-page-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}
#search-grid { min-height: 200px; transition: opacity .15s; }
#search-grid.loading { opacity: 0.4; pointer-events: none; }

/* ==============================================================
   MOBILE: Full-screen AJAX product search overlay
   ============================================================== */
.mobile-search-overlay {
  position: fixed; inset: 0;
  z-index: 250;
  background: var(--bg-warm, #fbf9f6);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: msearchIn .25s ease-out;
}
@keyframes msearchIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-search-overlay[hidden] { display: none; }

/* Sticky header bar with input + cancel */
.mobile-search-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0.9rem;
  padding-top: max(0.85rem, env(safe-area-inset-top));
  background: #fff;
  border-bottom: 1px solid var(--line, #e8e3dd);
  flex-shrink: 0;
}
.mobile-search-form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-warm, #fbf9f6);
  border: 1px solid var(--line, #e8e3dd);
  border-radius: 99px;
  padding: 0.55rem 0.95rem;
  transition: border-color .2s, box-shadow .2s;
}
.mobile-search-form:focus-within {
  border-color: var(--gold, #b88b4a);
  box-shadow: 0 0 0 3px rgba(184,139,74,0.1);
}
.mobile-search-icon { opacity: 0.45; flex-shrink: 0; color: var(--text-muted); }
.mobile-search-form input[type=search] {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px; /* prevents iOS auto-zoom */
  font-family: var(--font);
  padding: 0.2rem 0;
  width: 100%;
  color: var(--ink, #14110f);
}
.mobile-search-form input[type=search]::placeholder { color: #aaa; }
.mobile-search-clear {
  background: none; border: none;
  font-size: 1.3rem; line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  width: 24px; height: 24px;
  display: none;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 0;
}
.mobile-search-clear.visible { display: inline-flex; }
.mobile-search-close {
  background: none; border: none;
  color: var(--brand);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Body — scrollable product grid area */
.mobile-search-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0.9rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}
.mobile-search-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0.25rem 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line, #e8e3dd);
}
.mobile-search-meta strong { color: var(--ink); font-weight: 600; }
.mobile-search-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem 0.7rem !important;
  transition: opacity .15s;
}
.mobile-search-grid.loading { opacity: 0.4; pointer-events: none; }

/* Empty state */
.mobile-search-empty {
  text-align: center;
  padding: 4rem 1rem 2rem;
  color: var(--text-muted);
}
.mobile-search-empty .empty-icon {
  display: block;
  font-size: 2.5rem;
  opacity: 0.5;
  margin-bottom: 1rem;
}
.mobile-search-empty p {
  font-family: var(--font-display, Georgia, serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

/* "View all results" footer link */
.mobile-search-more {
  display: block;
  text-align: center;
  padding: 1rem;
  margin: 1.25rem 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid var(--line, #e8e3dd);
  border-radius: 2px;
  background: #fff;
  transition: background .2s, color .2s;
}
.mobile-search-more:hover { background: var(--brand); color: #fff; }

/* Below 480 — slightly tighter */
@media (max-width: 480px) {
  .mobile-search-header { padding: 0.7rem 0.75rem; padding-top: max(0.7rem, env(safe-area-inset-top)); gap: 0.5rem; }
  .mobile-search-body { padding: 0.85rem 0.75rem; padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
  .mobile-search-grid { gap: 1.25rem 0.6rem !important; }
  .mobile-search-close { font-size: 0.72rem; padding: 0.35rem 0.4rem; }
}

/* ==============================================================
   RESPONSIVE FIXES
   ============================================================== */

/* -- Announce bar: hide social links on small screens -- */
@media (max-width: 600px) {
  .announce-right { display: none; }
  .announce-inner { justify-content: center; text-align: center; }
  .announce-msg { font-size: 0.65rem; }
}

/* -- Hero slider: reduce height, scale text on mobile -- */
@media (max-width: 780px) {
  .hero-slider { height: 60vh; min-height: 360px; }
  .hero-slider .slide-caption h1 { font-size: clamp(1.4rem, 6vw, 2rem); max-width: 85%; }
  .hero-slider .slide-caption .tagline { font-size: 0.82rem; max-width: 90%; margin-bottom: 1.25rem; }
  .hero-slider .slide-caption .btn { padding: 0.85rem 1.5rem; font-size: 0.72rem; }
  .hero-slider .slide-dots { bottom: 1.25rem; }
}

/* -- USP strip: better 2-col on tablets, nice single-col on phones -- */
@media (max-width: 900px) and (min-width: 481px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
  .usp-item { padding: 0.35rem; }
}
@media (max-width: 480px) {
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .usp-item { flex-direction: column; text-align: center; gap: 0.5rem; padding: 0.75rem 0.5rem; }
  .usp-icon { width: 40px; height: 40px; font-size: 1.4rem; }
}

/* -- Sections: reduce padding on mobile -- */
@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .section-title { margin-bottom: 2rem; }
}

/* -- Product grid: 2-col tighter on small screens -- */
@media (max-width: 420px) {
  .product-grid { gap: 1rem 0.6rem; }
  .product-card .card-body { padding: 0.6rem 0.1rem 0; }
  .product-card h3 { font-size: 0.68rem; min-height: 0; }
  .product-card .price { font-size: 0.78rem; }
  .card-cart-row { gap: 0.2rem; margin-top: 0.4rem; flex-wrap: wrap; }
  .card-atc-btn { font-size: 0.55rem; padding: 0.4rem 0.2rem; letter-spacing: 0.08em; flex: 1 1 auto; }
  .cq-btn { width: 20px; height: 22px; font-size: 0.7rem; }
  .cq-val { min-width: 20px; font-size: 0.6rem; }
  .cq-line-total { font-size: 0.62rem; }
  .search-page-bar { flex-direction: column; gap: 0.5rem; align-items: stretch; }
  .search-page-count { text-align: right; }
}
/* -- Product card: touch-friendly on mobile -- */
@media (max-width: 900px) {
  .product-card .card-dots { opacity: 1; }
}

/* -- Shop filter bar: horizontal scroll with indicator -- */
@media (max-width: 700px) {
  .shop-toolbar .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
  }
  .filter-chip, .filter-chip-sm { white-space: nowrap; flex-shrink: 0; }
  .filter-group { gap: 0.5rem; }
  .filter-label { min-width: auto; font-size: 0.65rem; }
}

/* -- Contact form: reduce padding on mobile -- */
@media (max-width: 600px) {
  .contact-form-wrap { padding: 1.25rem; border-radius: 6px; }
  .contact-layout { gap: 1.5rem; }
}

/* -- Newsletter: fix min-width conflict, stack nicely -- */
@media (max-width: 600px) {
  .newsletter { padding: 2.5rem 0; margin-top: 3rem; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; padding: 0.9rem 1.5rem; }
}

/* -- Product detail: gallery thumbs horizontal scroll clarity -- */
@media (max-width: 600px) {
  .product-gallery .thumbs {
    gap: 0.4rem;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }
  .product-gallery .thumbs img { width: 60px; }
  .product-info .price-block { font-size: 1.35rem; }
  .swatch { padding: 0.4rem 0.6rem; font-size: 0.65rem; }
  .swatch img { width: 20px; height: 20px; }
  .swatch .dot { width: 14px; height: 14px; }
}

/* -- Cart table: responsive on mobile -- */
@media (max-width: 600px) {
  .cart-table th:nth-child(n+3), .cart-table td:nth-child(n+3) { font-size: 0.72rem; }
  .cart-table img { width: 50px; height: 62px; }
  .cart-table th, .cart-table td { padding: 0.65rem 0.5rem; }
}

/* -- Cat showcase: better mobile layout -- */
@media (max-width: 600px) {
  .cat-showcase .cat-tile { min-height: 200px; }
  .cat-tile-label { left: 1.1rem; right: 1.1rem; bottom: 1.1rem; }
}

/* -- Lifestyle banner: shorter on mobile -- */
@media (max-width: 600px) {
  .lifestyle-banner { min-height: 320px; padding: 3rem 0; }
  .lifestyle-content h2 { font-size: 1.4rem; }
}

/* -- Footer: add bottom padding on mobile for bottom nav -- */
@media (max-width: 900px) {
  .site-footer { padding-bottom: 7.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* -- Breadcrumb: tighter on mobile -- */
@media (max-width: 600px) {
  .breadcrumb { padding: 1rem 0 0.35rem; font-size: 0.65rem; }
}

/* -- Mobile: hide desktop nav elements, show mobile drawer + bottom nav -- */
@media (max-width: 900px) {
  /* The old body.nav-open approach is replaced by drawer */
  body.nav-open .primary-nav { display: none; }
}

/* ==============================================================
   FILTER DRAWER — Desktop left sidebar + Mobile bottom sheet
   ============================================================== */

/* ---- Shop controls bar (filter btn + count) ---- */
.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}
.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.filter-toggle-btn svg { flex-shrink: 0; color: var(--brand); }
.filter-toggle-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(132,36,37,0.1);
}
.filter-toggle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--brand);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 99px;
  line-height: 1;
}
.shop-result-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.shop-result-count [data-count] {
  font-weight: 700;
  color: var(--text);
}

/* ---- Drawer overlay ---- */
.filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 210;
  visibility: hidden;
  pointer-events: none;
}
.filter-drawer.open {
  visibility: visible;
  pointer-events: auto;
}
.filter-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.filter-drawer.open .filter-drawer-overlay {
  opacity: 1;
}

/* ---- Panel: desktop = left sidebar ---- */
.filter-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 360px;
  max-width: 90vw;
  background: #fefefe;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 6px 0 40px rgba(0,0,0,0.12);
}
.filter-drawer.open .filter-drawer-panel {
  transform: translateX(0);
}

/* ---- Mobile handle (hidden on desktop) ---- */
.filter-drawer-handle {
  display: none;
}

/* ---- Header ---- */
.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  border-bottom: 2px solid var(--brand);
  flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(132,36,37,0.03), transparent);
}
.filter-drawer-header h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
}
.filter-drawer-header h3 svg {
  color: var(--brand);
}
.filter-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 50%;
  transition: all .18s;
}
.filter-drawer-close:hover {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--text);
}

/* ---- Body (scrollable) ---- */
.filter-drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.filter-drawer-body::-webkit-scrollbar { width: 4px; }
.filter-drawer-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ---- Section ---- */
.fd-section {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.fd-section:last-child { border-bottom: none; }

.fd-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fd-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* ---- Category list ---- */
.fd-cat-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fd-cat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: 1.5px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all .18s ease;
  text-align: left;
}
.fd-cat:hover {
  background: var(--bg-alt);
  border-color: var(--border-light);
  color: var(--brand);
}
.fd-cat.active {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 600;
}
.fd-cat-img {
  width: 32px;
  height: 32px;
  border-radius: 0.4rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.fd-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.fd-cat.active .fd-cat-icon { background: var(--brand-light); color: var(--brand); border-color: var(--brand); }
.fd-cat-name {
  flex: 1;
}
.fd-cat-count {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  flex-shrink: 0;
  line-height: 1.3;
}
.fd-cat.active .fd-cat-count { background: rgba(132,36,37,0.12); color: var(--brand); }
.fd-cat-check {
  opacity: 0;
  color: var(--brand);
  flex-shrink: 0;
  transition: opacity .15s, transform .15s;
  transform: scale(0.7);
}
.fd-cat.active .fd-cat-check {
  opacity: 1;
  transform: scale(1);
}

/* ---- Filter chips grid ---- */
.fd-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.fd-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.fd-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(132,36,37,0.08);
  transform: translateY(-1px);
}
.fd-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 2px 10px rgba(132,36,37,0.2);
}
.fd-chip.active .fd-swatch {
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}
.fd-chip[data-fid] { opacity: 1; transition: all .2s, opacity .2s; }
.fd-chip.unavailable { opacity: 0.3; pointer-events: none; }

.fd-chip-all {
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--bg-alt);
  border-color: var(--border-light);
}

/* Colour swatch */
.fd-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Pattern/size image */
.fd-chip-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.fd-chip-name {
  line-height: 1;
}

/* ---- Footer (sticky buttons) ---- */
.filter-drawer-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.04);
}
.filter-clear-btn {
  flex-shrink: 0;
  padding: 0.7rem 1.2rem;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
}
.filter-clear-btn:hover {
  border-color: var(--error);
  color: var(--error);
  background: rgba(220,53,69,0.04);
}
.filter-apply-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  font-size: 0.72rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---- Prevent body scroll when drawer is open ---- */
body.filter-open {
  overflow: hidden;
}

/* ---- Mobile bottom nav: filter icon (only on filter pages) ---- */
.mbn-filter-toggle {
  display: none;
}

/* ==============================================================
   FILTER DRAWER — Mobile adjustments
   ============================================================== */
@media (max-width: 900px) {
  /* Hide desktop filter button on mobile — bottom nav handles it */
  .filter-toggle-btn { display: none; }

  /* Show filter icon in bottom nav */
  .mbn-filter-toggle { display: flex; }

  /* Panel: bottom sheet instead of left sidebar */
  .filter-drawer-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 1.25rem 1.25rem 0 0;
    transform: translateY(100%);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  }
  .filter-drawer.open .filter-drawer-panel {
    transform: translateY(0);
  }

  /* Show mobile handle */
  .filter-drawer-handle {
    display: flex;
    justify-content: center;
    padding: 0.75rem 0 0.25rem;
    cursor: grab;
    flex-shrink: 0;
  }
  .filter-drawer-handle span {
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 99px;
  }

  /* Compact header on mobile */
  .filter-drawer-header {
    padding: 0.75rem 1.25rem;
  }

  /* Sections: tighter padding */
  .fd-section {
    padding: 1rem 1.25rem;
  }

  /* Footer: safe area */
  .filter-drawer-footer {
    padding: 0.85rem 1.25rem;
    padding-bottom: max(0.85rem, calc(env(safe-area-inset-bottom) + 0.5rem));
  }

  /* Larger touch targets for chips */
  .fd-chip {
    padding: 0.55rem 0.95rem;
    font-size: 0.67rem;
  }
  .fd-chip:hover { transform: none; box-shadow: none; }
  .fd-cat {
    padding: 0.7rem 0.85rem;
    font-size: 0.8rem;
  }
  .fd-cat-img {
    width: 30px;
    height: 30px;
  }
}

/* =================================================================
   PREMIUM POLISH — Editorial Boutique layer
   Adds: serif display headlines, warmer palette, refined motion,
   elevated buttons, generous spacing, scroll fade-ins.
   Loaded last so it cleanly overrides the base theme.
   ================================================================= */
:root {
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --bg-warm: #fbf9f6;
  --bg-cream: #f4efe9;
  --line: #e8e3dd;
  --ink: #14110f;
  --gold: #b88b4a;
  --ease-out: cubic-bezier(.22,.61,.36,1);
}

/* ----- Body warmth + text refinement ----- */
body {
  background: var(--bg-warm);
  color: var(--ink);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----- Display headlines: serif, mixed case, dramatic ----- */
.section-title h2,
.hero-slider .slide-caption h1,
.hero h1,
.newsletter h2,
.cat-tile-label h3,
.cat-tile.is-feature .cat-tile-label h3 {
  font-family: var(--font-display);
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0.005em;
  font-style: normal;
}
.section-title h2 {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.85rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--ink);
}
.hero-slider .slide-caption h1 {
  font-size: clamp(2.6rem, 2rem + 3.6vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  font-weight: 500;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  max-width: 640px;
}
.newsletter h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.cat-tile-label h3 { font-size: 1.4rem; letter-spacing: 0.01em; }
.cat-tile.is-feature .cat-tile-label h3 { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); }

/* Decorative accent line under section titles */
.section-title { margin-bottom: 3.75rem; }
.section-title h2 { position: relative; padding-bottom: 1.25rem; }
.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 40px; height: 1px;
  background: var(--gold);
}
.section-title .section-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.01em;
  margin-top: 0.85rem;
}

/* Eyebrow refinement */
.eyebrow {
  font-size: 0.62rem !important;
  letter-spacing: 0.32em !important;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
}
.section-title .eyebrow { display: inline-block; margin-bottom: 0.4rem; }

/* ----- Section spacing: airier ----- */
.section { padding: 6.5rem 0; }
.section-alt { background: var(--bg-cream); }
@media (max-width: 700px) { .section { padding: 4rem 0; } }

/* ----- Buttons: smoother, more refined ----- */
.btn,
button.btn,
input[type=submit].btn {
  letter-spacing: 0.22em;
  padding: 1rem 2rem;
  font-weight: 500;
  font-size: 0.72rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: background .35s var(--ease-out), color .35s var(--ease-out),
              border-color .35s var(--ease-out), transform .25s var(--ease-out),
              box-shadow .35s var(--ease-out);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(132,36,37,0.18);
}
.btn:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(132,36,37,0.18); }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 0.78rem; letter-spacing: 0.26em; }
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.66rem; letter-spacing: 0.18em; }
.btn-outline { border-width: 1.5px; }

/* Hero CTA — premium ivory button */
.hero-slider .slide-caption .btn {
  padding: 1.2rem 2.6rem;
  background: #fff; color: var(--ink);
  border: 1px solid #fff;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
}
.hero-slider .slide-caption .btn:hover {
  background: transparent; color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* ----- Hero overlay: cinematic gradient ----- */
.hero-slider { height: clamp(540px, 80vh, 860px); }
.hero-slider .slide::before {
  background: linear-gradient(
    100deg,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.32) 40%,
    rgba(0,0,0,0.05) 75%,
    rgba(0,0,0,0) 100%
  );
}
.hero-slider .slide-caption .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.2rem);
  line-height: 1.55;
  letter-spacing: 0.01em;
  max-width: 480px;
  color: rgba(255,255,255,0.94);
  margin-bottom: 2.4rem;
  text-transform: none;
}
.hero-slider .slide-caption .eyebrow { margin-bottom: 1.1rem; opacity: 0.95; }
.hero-slider .slide-caption .eyebrow::before { background: var(--gold); width: 36px; }

/* Hero zoom — slower, more cinematic */
.hero-slider .slide { transition: opacity 1.2s ease, transform 12s linear; }
.hero-slider .slide.active { transform: scale(1.06); }

/* Slide nav: refined */
.hero-slider .slide-nav {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 1.5rem;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.hero-slider .slide-nav:hover { transform: translateY(-50%) scale(1.06); background: #fff; color: var(--ink); border-color: #fff; }
.hero-slider .slide-dots button { height: 2px; background: rgba(255,255,255,0.45); }
.hero-slider .slide-dots button.active { background: var(--gold); width: 44px; }

/* ----- USP strip: cleaner, premium ----- */
.usp-strip {
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 0;
}
.usp-icon {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--brand);
  width: 52px; height: 52px;
}
.usp-item strong {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.usp-item small { font-size: 0.74rem; letter-spacing: 0.01em; }

/* ----- Product cards: editorial refinement ----- */
.product-grid { gap: 2.75rem 1.75rem; }
@media (max-width: 700px) { .product-grid { gap: 2rem 1rem; } }
.product-card .img-wrap {
  border-radius: 3px;
  background: var(--bg-cream);
  box-shadow: 0 1px 0 rgba(20,17,15,0.04);
  transition: box-shadow .4s var(--ease-out);
}
.product-card:hover .img-wrap { box-shadow: 0 18px 40px -16px rgba(20,17,15,0.18); }
.product-card .card-body { padding: 1.15rem 0.25rem 0; }
.product-card h3 {
  font-family: var(--font-display);
  text-transform: none;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.35;
  min-height: auto;
  color: var(--ink);
  margin-bottom: 0.4rem;
  transition: color .25s var(--ease-out);
}
.product-card .price {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.product-card .price del {
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 0.5rem;
}
.product-card .sale-tag,
.product-card .new-tag {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  padding: 0.32rem 0.7rem;
  font-weight: 500;
  border-radius: 0;
}
.product-card .new-tag { background: var(--ink); }

/* Card cart row tweak */
.card-atc-btn {
  border-width: 1px;
  font-weight: 500;
  letter-spacing: 0.18em;
  border-radius: 2px;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.card-qty { border-color: var(--line); border-width: 1px; border-radius: 2px; }

/* ----- Category showcase tiles: premium edges ----- */
.cat-tile { border-radius: 3px; }
.cat-tile-label .eyebrow { color: var(--gold) !important; }
.cat-tile-label .eyebrow::before { background: var(--gold); }
.cat-tile-cta {
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 0.66rem;
}

/* ----- Newsletter: editorial elegance ----- */
.newsletter {
  background: var(--ink);
  color: #fff;
  padding: 5rem 0;
}
.newsletter h2 { color: #fff; font-style: italic; }
.newsletter p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.005em;
  opacity: 0.85;
}
.newsletter .eyebrow { color: var(--gold); opacity: 1; }
.newsletter .eyebrow::before { background: var(--gold); }
.newsletter-form input {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 2px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.04);
  box-shadow: none;
}
.newsletter-form .btn {
  background: var(--gold); border-color: var(--gold);
  color: var(--ink);
}
.newsletter-form .btn:hover { background: #a07739; border-color: #a07739; color: #fff; }

/* ----- Header refinement ----- */
.site-header {
  background: rgba(251,249,246,0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.main-nav a {
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: var(--brand);
  transition: width .3s var(--ease-out), left .3s var(--ease-out);
}
.main-nav a:hover::after { width: 100%; left: 0; }
.header-search { border-radius: 99px; }

/* ----- Forms & inputs ----- */
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=tel], input[type=search], input[type=url], select, textarea {
  border-radius: 2px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,139,74,0.12);
}

/* ----- Footer refinement ----- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding-top: 4.5rem;
}
.site-footer h4 {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.25rem;
}
.site-footer a { color: rgba(255,255,255,0.78); transition: color .2s var(--ease-out); }
.site-footer a:hover { color: var(--gold); }
.footer-brand p { color: rgba(255,255,255,0.65); }
.footer-social a {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ----- Announce bar refinement ----- */
.announce-bar {
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  padding: 0.55rem 0;
}
.announce-msg { font-weight: 500; }

/* ----- Page sections background variants ----- */
.section-alt { background: var(--bg-cream); }

/* ----- Scroll fade-in reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slider .slide { transition: opacity .5s ease; }
  .hero-slider .slide.active { transform: none; }
}

/* ----- Selection style ----- */
::selection { background: var(--gold); color: var(--ink); }

/* ----- Mobile premium tweaks ----- */
@media (max-width: 700px) {
  .section-title { margin-bottom: 2.5rem; }
  .section-title h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2rem); padding-bottom: 1rem; }
  .hero-slider .slide-caption .tagline { font-size: 1rem; margin-bottom: 1.6rem; }
  .hero-slider .slide-caption .btn { padding: 1rem 2rem; font-size: 0.7rem; letter-spacing: 0.22em; }
  .product-card h3 { font-size: 0.95rem; }
  .product-card .price { font-size: 0.74rem; }
  .newsletter { padding: 3.5rem 0; }
  .newsletter p { font-size: 0.95rem; }
  .footer-social a { padding: 0.4rem 0.85rem; font-size: 0.65rem; }
}
@media (max-width: 420px) {
  .product-card h3 { font-size: 0.88rem; }
}

/* ----- Lifestyle banner refinement ----- */
.lifestyle-banner { min-height: 600px; padding: 7rem 0; }
.lifestyle-banner::before {
  background: linear-gradient(95deg, rgba(20,17,15,0.72) 0%, rgba(20,17,15,0.42) 50%, rgba(20,17,15,0.05) 100%);
}
.lifestyle-content h2 {
  font-family: var(--font-display);
  text-transform: none;
  font-style: italic;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.05;
}
.lifestyle-content p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  font-style: normal;
}
.lifestyle-content .eyebrow { color: var(--gold); }
.lifestyle-content .eyebrow::before { background: var(--gold); }
.lifestyle-content .btn {
  background: transparent; color: #fff; border: 1px solid #fff;
}
.lifestyle-content .btn:hover {
  background: #fff; color: var(--ink); border-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
@media (max-width: 780px) { .lifestyle-banner { min-height: 440px; padding: 4.5rem 0; } }

/* ----- Testimonials premium ----- */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  padding: 3rem 2rem 2.5rem;
  border-radius: 3px;
  text-align: left;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.testimonial:hover {
  box-shadow: 0 18px 40px -16px rgba(20,17,15,0.12);
  transform: translateY(-3px);
}
.testimonial::before {
  font-family: var(--font-display);
  font-size: 5rem;
  top: 0.5rem; left: 1.5rem;
  color: var(--gold);
  opacity: 0.45;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  margin-top: 0.5rem;
}
.testimonial figcaption {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  font-weight: 500;
  color: var(--gold);
  margin-top: 1rem;
}

/* ----- Instagram strip premium ----- */
.insta-strip { padding: 6.5rem 0 0; background: var(--bg-warm); }
.insta-grid img { transition: transform .6s var(--ease-out), filter .35s var(--ease-out); filter: saturate(0.95); }
.insta-grid a:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* ----- Cart / Checkout / Search page refinement ----- */
.cart-table th {
  font-size: 0.66rem !important;
  letter-spacing: 0.22em !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
}
.cart-summary .total span { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; letter-spacing: 0.005em; text-transform: none; }

/* ----- Misc: links, generic page ----- */
a { transition: color .25s var(--ease-out); }
.empty {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  padding: 3rem 0;
}

/* ----- Cards (product editor, admin etc.) ----- */
.card { border-radius: 3px; }

/* ----- Product detail page polish ----- */
.product-gallery + .product-info h1,
.product-info h1 {
  font-family: var(--font-display);
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0.005em;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
  line-height: 1.15;
}
.product-info .price {
  font-family: var(--font);
  letter-spacing: 0.06em;
}

/* =====================================================================
   RESPONSIVE OVERHAUL v2
   Comprehensive cross-breakpoint fixes covering header, hero, sections,
   product grid, product detail, cart, checkout, forms, footer, admin.
   Loaded last — overrides everything above.

   Breakpoints used:
     >1280px  : default desktop
     1280px   : large laptop
     1024px   : laptop / small desktop
     900px    : tablet landscape (mobile drawer kicks in here)
     768px    : tablet portrait
     600px    : large phone
     480px    : standard phone
     360px    : small phone
   ===================================================================== */

/* ----- 0. Foundation: prevent overflow & safer typography ----- */
/* IMPORTANT: use overflow-x: clip (not hidden) so position:sticky on the
   header keeps working. overflow-x: hidden on html/body makes body the
   scroll container and breaks sticky positioning. clip prevents horizontal
   overflow without creating a scroll formatting context. */
html, body {
  overflow-x: clip;
  max-width: 100vw;
}
img, video, iframe, table, pre, code { max-width: 100%; }
* { min-width: 0; } /* breaks free of flex/grid intrinsic min */

/* Re-assert sticky header — guard against any later overrides */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 100;
}

/* =====================================================================
   MOBILE TOP BAR — comprehensive responsive fix
   Layout: hamburger | brand (centered) | actions
   Search hidden on mobile, replaced with icon button that opens overlay
   ===================================================================== */

/* Mobile-only search icon — hidden on desktop, shown on mobile */
.mobile-only-icon { display: none; }

/* Tablet + mobile (≤900px): drawer layout activates */
@media (max-width: 900px) {
  /* Sticky still works at this size */
  .site-header {
    background: rgba(251,249,246,0.97) !important;
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
  }

  /* Three-column grid: menu | brand | actions */
  .header-main {
    display: grid !important;
    grid-template-columns: 44px 1fr auto !important;
    align-items: center;
    gap: 0.5rem !important;
    padding: 0.65rem 0.85rem !important;
    min-height: 56px;
  }

  /* Hamburger — proper touch target */
  .hamburger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.4rem;
    border-radius: 4px;
    transition: background .15s;
  }
  .hamburger:hover, .hamburger:active { background: rgba(0,0,0,0.05); }

  /* Brand — centered in middle column */
  .brand {
    justify-self: center !important;
    max-width: 100%;
    overflow: hidden;
  }
  .brand img {
    max-height: 38px !important;
    width: auto;
    object-fit: contain;
  }
  .brand-text { display: none !important; }

  /* Show mobile search icon, hide search bar */
  .header-search { display: none !important; }
  .mobile-only-icon { display: inline-flex !important; }

  /* Actions row — tighter, evenly spaced */
  .header-actions {
    gap: 0.15rem !important;
    flex-shrink: 0;
  }
  .icon-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    -webkit-tap-highlight-color: rgba(132,36,37,0.08);
  }
  .icon-btn svg { width: 19px; height: 19px; }

  /* Hide unused desktop-only icon-btn next to search */
  .header-actions .icon-btn[aria-label="Account"] { display: none !important; }

  /* Cart badge stays visible & well-positioned */
  .cart-badge {
    top: 1px !important;
    right: 1px !important;
    min-width: 16px !important;
    height: 16px !important;
    font-size: 0.55rem !important;
    border: 1.5px solid var(--bg-warm, #fbf9f6) !important;
  }

  /* Announce bar — single line, smaller */
  .announce-bar {
    padding: 0.45rem 0 !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.06em !important;
  }
  .announce-inner {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }
  .announce-msg {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
  }
  .announce-right { display: none !important; }
}

/* Phone (≤600px): tighten further */
@media (max-width: 600px) {
  .header-main {
    grid-template-columns: 40px 1fr auto !important;
    padding: 0.55rem 0.7rem !important;
    min-height: 52px;
  }
  .hamburger { width: 38px; height: 38px; font-size: 1.3rem; }
  .brand img { max-height: 34px !important; }
  .icon-btn { width: 38px !important; height: 38px !important; }
  .icon-btn svg { width: 18px; height: 18px; }
  .header-actions { gap: 0.1rem !important; }
  .announce-bar { font-size: 0.62rem !important; padding: 0.4rem 0 !important; }
}

/* Small phone (≤380px): super tight, drop a non-critical icon */
@media (max-width: 380px) {
  .header-main {
    grid-template-columns: 36px 1fr auto !important;
    padding: 0.5rem 0.55rem !important;
    gap: 0.3rem !important;
  }
  .hamburger { width: 36px; height: 36px; }
  .brand img { max-height: 30px !important; }
  .icon-btn { width: 36px !important; height: 36px !important; }
  .icon-btn svg { width: 17px; height: 17px; }
  .announce-msg { font-size: 0.58rem !important; }
}

/* Header gets shadow when scrolled (JS toggles .scrolled) */
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
  border-bottom-color: transparent !important;
  background: rgba(255,255,255,0.98) !important;
}

/* Container padding scales gently */
.container { padding-left: clamp(1rem, 3vw, 1.5rem); padding-right: clamp(1rem, 3vw, 1.5rem); }

/* ----- 1. Large laptop (≤1280px) ----- */
@media (max-width: 1280px) {
  :root { --container: 1140px; }
  .product-grid { gap: 2.25rem 1.4rem; }
}

/* ----- 2. Laptop (≤1024px) ----- */
@media (max-width: 1024px) {
  :root { --container: 960px; }
  .section { padding: 5rem 0; }
  .section-title { margin-bottom: 3rem; }
  .lifestyle-banner { min-height: 500px; padding: 5rem 0; }
}

/* ----- 3. Tablet landscape (≤900px) — mobile drawer activates here ----- */
@media (max-width: 900px) {
  /* Header tightens */
  .header-main { padding: 0.7rem 1rem !important; }
  .brand img { max-height: 44px !important; }
  .brand-text strong { font-size: 0.85rem; }
  .brand-text small { font-size: 0.6rem; }

  /* Sections airier than mobile but tighter than desktop */
  .section { padding: 4rem 0; }
  .section-title { margin-bottom: 2.5rem; }
  .section-title h2 { font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.1rem) !important; padding-bottom: 1rem !important; }

  /* Hero — premium polish overshoot fix */
  .hero-slider { height: clamp(420px, 65vh, 620px) !important; }
  .hero-slider .slide-caption h1 { font-size: clamp(1.9rem, 1.6rem + 2.5vw, 2.8rem) !important; max-width: 90%; }
  .hero-slider .slide-caption .tagline { font-size: 0.95rem !important; max-width: 92%; margin-bottom: 1.5rem !important; }
  .hero-slider .slide-caption .btn { padding: 0.95rem 1.8rem !important; font-size: 0.7rem !important; letter-spacing: 0.18em !important; }
  .hero-slider .slide-nav { width: 42px; height: 42px; font-size: 1.2rem; }
  .hero-slider .slide-nav.prev { left: 0.75rem; }
  .hero-slider .slide-nav.next { right: 0.75rem; }

  /* Lifestyle banner */
  .lifestyle-banner { min-height: 420px !important; padding: 4rem 0 !important; background-attachment: scroll !important; }
  .lifestyle-content h2 { font-size: clamp(1.6rem, 1.4rem + 1.8vw, 2.4rem) !important; }
  .lifestyle-content p { font-size: 1rem !important; }

  /* Newsletter */
  .newsletter { padding: 3.5rem 0 !important; }

  /* Footer pads bottom for fixed mobile nav */
  .site-footer { padding-bottom: 6rem; }

  /* Search page */
  .search-page-bar { gap: 0.75rem; }
}

/* ----- 4. Tablet portrait (≤768px) ----- */
@media (max-width: 768px) {
  body { font-size: 0.85rem; }

  /* Headings shrink properly */
  h1 { font-size: clamp(1.4rem, 1.2rem + 1.4vw, 1.85rem); }
  h2 { font-size: clamp(1.2rem, 1.05rem + 1vw, 1.55rem); }
  h3 { font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem); }

  /* Hero */
  .hero-slider { height: 56vh !important; min-height: 380px !important; }
  .hero-slider .slide::before {
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.8) 100%) !important;
  }
  .hero-slider .slide-caption {
    justify-content: flex-end !important;
    padding-bottom: 4rem;
    text-align: left;
  }
  .hero-slider .slide-caption h1 { font-size: clamp(1.7rem, 1.5rem + 2.5vw, 2.4rem) !important; }
  .hero-slider .slide-caption .tagline { font-size: 0.9rem !important; max-width: 100%; }
  .hero-slider .slide-dots { bottom: 1.5rem; }

  /* Container */
  .container { padding-left: 1rem; padding-right: 1rem; }

  /* Buttons — bigger touch targets */
  .btn { padding: 0.95rem 1.7rem; min-height: 44px; }
  .btn-sm { padding: 0.65rem 1rem; min-height: 38px; }
  .btn-lg { padding: 1.05rem 1.9rem; }

  /* Forms */
  input[type=text], input[type=email], input[type=password], input[type=number],
  input[type=tel], input[type=search], input[type=url], select, textarea {
    font-size: 16px !important; /* prevents iOS auto-zoom */
    padding: 0.85rem 0.95rem;
  }

  /* Newsletter form already stacks via existing rules */

  /* Product detail page */
  .product-detail { gap: 1.5rem !important; }
  .product-info h1 { font-size: 1.5rem !important; }
  .product-info .price-block { font-size: 1.4rem; }
  .product-info .desc-section { padding-top: 1rem; }

  /* Testimonial */
  .testimonial { padding: 2.25rem 1.5rem 1.75rem !important; }
  .testimonial blockquote { font-size: 0.95rem !important; }

  /* Footer grid */
  .footer-social a { padding: 0.4rem 0.8rem; font-size: 0.62rem; letter-spacing: 0.12em; }
}

/* ----- 5. Large phone (≤600px) ----- */
@media (max-width: 600px) {
  .section { padding: 3.5rem 0 !important; }
  .section-title { margin-bottom: 2rem !important; }

  /* Brand */
  .brand img { max-height: 38px !important; }
  .brand-text { display: none; }

  /* Hero — shorter but still feature-y */
  .hero-slider { height: 60vh !important; min-height: 360px !important; max-height: 540px !important; }
  .hero-slider .slide-caption h1 { font-size: 1.7rem !important; line-height: 1.1 !important; }
  .hero-slider .slide-caption .tagline { font-size: 0.85rem !important; margin-bottom: 1.2rem !important; }
  .hero-slider .slide-caption .btn { padding: 0.85rem 1.6rem !important; font-size: 0.65rem !important; }

  /* Lifestyle banner */
  .lifestyle-banner { min-height: 360px !important; padding: 3.25rem 0 !important; }
  .lifestyle-content h2 { font-size: 1.55rem !important; }
  .lifestyle-content p { font-size: 0.92rem !important; line-height: 1.6; }
  .lifestyle-content .btn { padding: 0.85rem 1.6rem !important; font-size: 0.65rem !important; }

  /* Newsletter */
  .newsletter { padding: 2.75rem 0 !important; }
  .newsletter h2 { font-size: 1.45rem !important; }
  .newsletter p { font-size: 0.92rem !important; }

  /* Section title on phone */
  .section-title h2 { font-size: 1.5rem !important; padding-bottom: 0.85rem !important; }
  .section-title h2::after { width: 32px !important; }
  .section-title .section-sub { font-size: 0.82rem !important; line-height: 1.55; }

  /* Cat tile labels tighter */
  .cat-tile-label h3 { font-size: 1.15rem !important; }

  /* Card cart row stays one line on phones */
  .card-cart-row { flex-wrap: nowrap; gap: 0.3rem; }
  .cq-line-total { display: none; } /* hide on small phones to save room */

  /* Header search dropdown spans full width */
  .search-results { left: 0.75rem !important; right: 0.75rem !important; top: 110px !important; }

  /* Cart summary spacing */
  .cart-summary { padding: 1.25rem !important; }
  .cart-summary .row { padding: 0.35rem 0; font-size: 0.82rem; }
  .cart-summary .row.total span:last-child { font-size: 1.1rem !important; }

  /* Coupon + zone selectors — column stack */
  .cart-coupon-section { margin-top: 1rem; }
  .coupon-input-wrap { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .coupon-input-wrap input, .coupon-input-wrap button { width: 100%; }
  .zone-select-wrap { flex-direction: column; align-items: stretch; }
  .zone-select-wrap select { width: 100%; }

  /* Product info action area */
  .product-info .qty-input { flex-shrink: 0; }
  .product-info .actions { flex-wrap: wrap; gap: 0.75rem; }
  .product-info .actions .btn { flex: 1 1 100%; min-width: 0; }
}

/* ----- 6. Cart table → card layout on phones (≤600px) ----- */
@media (max-width: 600px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0.85rem;
    margin-bottom: 1rem;
    background: #fff;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 0.6rem 0.85rem;
    align-items: start;
  }
  .cart-table td { padding: 0; border: 0; font-size: 0.82rem; }
  .cart-table td:first-child { grid-row: span 5; }
  .cart-table td:first-child img {
    width: 70px !important; height: 90px !important;
    border-radius: 3px;
  }
  /* Product name (col 2) */
  .cart-table td:nth-child(2) {
    font-family: var(--font-display);
    font-size: 1rem !important;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
  }
  .cart-table td:nth-child(2) a { color: inherit; }
  /* Variant */
  .cart-table td:nth-child(3) { font-size: 0.72rem; color: var(--text-muted); }
  .cart-table td:nth-child(3):empty,
  .cart-table td:nth-child(3):has-text("—") { display: none; }
  /* Qty controls */
  .cart-table td:nth-child(4) { padding-top: 0.25rem; }
  /* Price + subtotal — show as one row inline */
  .cart-table td:nth-child(5),
  .cart-table td:nth-child(6) {
    display: inline-block;
    font-size: 0.78rem;
  }
  .cart-table td:nth-child(5)::before { content: "Price: "; color: var(--text-muted); font-size: 0.7rem; }
  .cart-table td:nth-child(6)::before { content: " · Subtotal: "; color: var(--text-muted); font-size: 0.7rem; }
  .cart-table td:nth-child(6) { font-weight: 600; color: var(--ink); }
  /* Remove button */
  .cart-table td:last-child { padding-top: 0.5rem; }
  .cart-table td:last-child .btn { padding: 0.5rem 1rem; font-size: 0.65rem; }
}

/* ----- 7. Checkout — better mobile layout ----- */
@media (max-width: 768px) {
  .product-edit-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .form-grid { grid-template-columns: 1fr !important; gap: 0; }
  .checkout .card { padding: 1.25rem; }
}

/* ----- 8. Standard phone (≤480px) ----- */
@media (max-width: 480px) {
  /* Header even tighter */
  .header-main { padding: 0.55rem 0.75rem !important; gap: 0.4rem !important; }
  .icon-btn { width: 38px !important; height: 38px !important; }
  .brand img { max-height: 34px !important; }

  /* Section padding */
  .section { padding: 2.75rem 0 !important; }

  /* USP grid — 2 cols feels best */
  .usp-strip { padding: 1.75rem 0; }
  .usp-grid { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
  .usp-item strong { font-size: 0.65rem !important; letter-spacing: 0.1em !important; }
  .usp-item small { font-size: 0.65rem !important; }

  /* Product cards: 2-col tighter */
  .product-grid { gap: 1.5rem 0.7rem !important; }
  .product-card .card-body { padding: 0.85rem 0.1rem 0 !important; }
  .product-card h3 { font-size: 0.88rem !important; }
  .product-card .price { font-size: 0.72rem !important; }
  .product-card .sale-tag, .product-card .new-tag { font-size: 0.5rem !important; padding: 0.25rem 0.55rem !important; letter-spacing: 0.16em !important; top: 0.5rem !important; left: 0.5rem !important; }

  /* Card qty + ATC — keep visible, refined sizing */
  .card-cart-row { gap: 0.25rem; margin-top: 0.6rem !important; }
  .cq-btn { width: 24px !important; height: 26px !important; font-size: 0.78rem !important; }
  .cq-val { min-width: 22px !important; font-size: 0.66rem !important; }
  .card-atc-btn { font-size: 0.55rem !important; padding: 0.45rem 0.25rem !important; letter-spacing: 0.06em !important; }

  /* Hero on small phones */
  .hero-slider { height: 70vh !important; min-height: 380px !important; max-height: 520px !important; }
  .hero-slider .slide-caption h1 { font-size: 1.55rem !important; }
  .hero-slider .slide-caption .tagline { font-size: 0.82rem !important; }
  .hero-slider .slide-dots button { width: 22px; height: 2px; }
  .hero-slider .slide-dots button.active { width: 32px; }

  /* Section titles */
  .section-title h2 { font-size: 1.4rem !important; }

  /* Cat showcase — single column already */
  .cat-tile { min-height: 240px !important; }
  .cat-tile-label { left: 1rem !important; right: 1rem !important; bottom: 1rem !important; }
  .cat-tile-label h3 { font-size: 1.1rem !important; }
  .cat-tile-cta { font-size: 0.6rem !important; letter-spacing: 0.18em !important; }

  /* Footer */
  .site-footer { padding-top: 3rem; }
  .footer-grid { gap: 1.75rem !important; }
  .footer-grid h4 { font-size: 1rem !important; margin-bottom: 0.85rem; }

  /* Bottom nav: keep readable */
  .mbn-item { font-size: 0.55rem !important; padding: 0.3rem 0.4rem !important; }

  /* Search page */
  .search-page-input-wrap { padding: 0.55rem 0.95rem !important; }
  .search-page-input-wrap input[type=search] { font-size: 16px !important; }

  /* Contact page */
  .contact-card { padding: 0.85rem !important; }
}

/* ----- 9. Small phone (≤360px) ----- */
@media (max-width: 360px) {
  .header-main { padding: 0.5rem 0.6rem !important; }
  .brand img { max-height: 30px !important; }
  .icon-btn { width: 34px !important; height: 34px !important; }
  .container { padding-left: 0.75rem; padding-right: 0.75rem; }

  .hero-slider .slide-caption h1 { font-size: 1.4rem !important; }
  .hero-slider .slide-caption .btn { padding: 0.75rem 1.3rem !important; }

  .product-grid { gap: 1.25rem 0.5rem !important; }
  .product-card h3 { font-size: 0.82rem !important; }
  .card-atc-btn { letter-spacing: 0 !important; font-size: 0.52rem !important; }

  .section-title h2 { font-size: 1.25rem !important; }
}

/* ----- 10. Touch targets — ensure ≥40px tappable on mobile ----- */
@media (max-width: 900px) {
  a, button, .btn, .icon-btn, input[type=submit] {
    -webkit-tap-highlight-color: rgba(132,36,37,0.08);
  }
  .qty-btn, .cq-btn, .filter-chip, .filter-chip-sm, .swatch {
    min-height: 36px;
  }
}

/* ----- 11. Admin responsive — stack sidebar, scroll tables ----- */
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr !important; }
  .admin-sidebar {
    position: sticky; top: 0; z-index: 50;
    width: 100%;
    padding: 0.75rem 1rem !important;
    display: flex; align-items: center; gap: 0.5rem;
    overflow-x: auto; white-space: nowrap;
    border-bottom: 1px solid #333;
  }
  .admin-sidebar .brand {
    border: 0 !important; padding: 0 1rem 0 0 !important; margin: 0 !important;
    font-size: 0.8rem !important; flex-shrink: 0;
  }
  .admin-sidebar nav { display: flex; gap: 0.25rem; }
  .admin-sidebar nav a {
    padding: 0.5rem 0.85rem !important;
    border-left: 0 !important;
    border-bottom: 2px solid transparent;
    font-size: 0.65rem !important;
    flex-shrink: 0;
  }
  .admin-sidebar nav a:hover, .admin-sidebar nav a.active {
    border-left: 0 !important;
    border-bottom-color: var(--brand) !important;
  }
  .admin-content { padding: 1.25rem 1rem !important; }
  .admin-table-wrap, .admin-content table { overflow-x: auto; display: block; }
  .admin-filter-bar { flex-wrap: wrap; gap: 0.5rem; }
  .admin-filter-bar .admin-search-wrap { flex: 1 1 100%; }
}

/* ----- 12. Remove any horizontal overflow culprits ----- */
.section, .container, .product-grid, .cat-showcase, .footer-grid,
.testimonial-grid, .usp-grid, .insta-grid { overflow-x: visible; }

/* Long words & URLs wrap */
.product-card h3, .testimonial blockquote, .product-info h1,
.contact-card a, .footer-grid a {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

/* ----- 13. Premium polish overflow safety ----- */
.section-title h2 { hyphens: none; }
.hero-slider .slide-caption h1 { hyphens: none; }

/* Disable parallax-style fixed bg on mobile (perf & layout) */
@media (max-width: 900px) {
  .lifestyle-banner { background-attachment: scroll !important; }
}

/* ----- 14. Print: minimal ----- */
@media print {
  .site-header, .site-footer, .mobile-bottom-nav, .newsletter,
  .filter-drawer, .mobile-search-overlay, .announce-bar { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ----- Admin image upload hint ----- */
.img-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.45;
}
.img-hint strong { color: var(--text); font-weight: 600; }

/* =====================================================================
   PREMIUM E-COMMERCE FEATURES
   Wishlist heart, stock badges, sold-out state, cookie banner
   ===================================================================== */

/* ----- Wishlist heart icon on product card ----- */
.wishlist-heart {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--ink, #14110f);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.wishlist-heart:hover { background: #fff; color: var(--brand); transform: scale(1.08); border-color: #fff; }
.wishlist-heart.active { color: var(--brand); background: #fff; }
.wishlist-heart.pulse {
  animation: heartPulse .45s var(--ease-out, cubic-bezier(.22,.61,.36,1));
}
@keyframes heartPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  100% { transform: scale(1.08); }
}
.product-card { position: relative; }

/* ----- Stock badges ----- */
.stock-badge {
  position: absolute;
  bottom: 0.65rem; left: 0.65rem;
  z-index: 3;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
  border-radius: 0;
  color: #fff;
  background: var(--ink, #14110f);
}
.stock-badge.low      { background: #c97a2a; }
.stock-badge.sold-out { background: rgba(20,17,15,0.85); }

/* Sold-out card visual */
.product-card.is-sold-out .img-wrap { position: relative; }
.product-card.is-sold-out .img-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.45);
  z-index: 2;
  pointer-events: none;
}
.product-card.is-sold-out h3,
.product-card.is-sold-out .price { opacity: 0.55; }

/* ----- Cookie consent banner ----- */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink, #14110f);
  color: rgba(255,255,255,0.92);
  padding: 1.1rem 1.4rem;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: cookieIn .5s var(--ease-out, cubic-bezier(.22,.61,.36,1));
  font-size: 0.82rem;
  line-height: 1.55;
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 240px; }
.cookie-banner a { color: var(--gold, #b88b4a); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-banner .btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
}
.cookie-banner .btn-accept {
  background: var(--gold, #b88b4a); border-color: var(--gold, #b88b4a); color: var(--ink);
}
.cookie-banner .btn-accept:hover { background: #a07739; border-color: #a07739; color: #fff; }
.cookie-banner .btn-decline {
  background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff;
}
.cookie-banner .btn-decline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
@media (max-width: 480px) {
  .cookie-banner { padding: 0.95rem 1.1rem; left: 0.6rem; right: 0.6rem; bottom: calc(0.6rem + 70px); /* clear bottom nav */ }
  .cookie-banner p { font-size: 0.75rem; }
  .cookie-banner .btn-sm { padding: 0.5rem 0.85rem; font-size: 0.6rem; }
}

/* ----- Newsletter form states ----- */
.newsletter-form .newsletter-msg.success { color: var(--gold, #b88b4a); }
.newsletter-form .newsletter-msg.error   { color: #ffaaaa; }

/* ----- Admin: homepage settings repeater rows ----- */
.home-list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1rem; }
.home-row {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 0.6rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--line, #e8e3dd);
  border-radius: 4px;
  background: #fff;
}
.home-row input[type=text], .home-row input[type=url], .home-row textarea {
  font-size: 0.8rem; padding: 0.55rem 0.75rem;
}
.home-row .row-handle {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: 3px; background: var(--bg-alt);
  flex-shrink: 0;
}
.home-row .row-remove {
  width: 32px; height: 32px;
  border: 1px solid #e0c2c2; background: #fff;
  color: var(--error);
  border-radius: 3px; cursor: pointer;
  font-size: 1rem; line-height: 1;
  transition: background .15s, color .15s;
}
.home-row .row-remove:hover { background: var(--error); color: #fff; border-color: var(--error); }
.home-add-btn {
  border: 1px dashed var(--border);
  background: transparent;
  padding: 0.7rem 1.1rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.72rem;
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 100%;
  transition: background .2s, color .2s, border-color .2s;
}
.home-add-btn:hover { background: var(--brand-light); border-color: var(--brand); color: var(--brand); border-style: solid; }
@media (max-width: 700px) {
  .home-row { grid-template-columns: 1fr; }
  .home-row .row-handle, .home-row .row-remove { width: 100%; height: 34px; }
}


/* =====================================================================
   CIRCULAR CATEGORY CAROUSEL — gvtextiles-style
   Round images with horizontal scroll + arrow nav. Works on all devices.
   ===================================================================== */
.cat-circle-carousel {
  position: relative;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}

.cat-circle-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1.25rem;
  margin: 0 -0.25rem;
}
.cat-circle-track::-webkit-scrollbar { display: none; }

.cat-circle-item {
  flex: 0 0 auto;
  width: calc((100% - 3rem) / 3); /* 3 visible by default */
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  transition: transform .35s var(--ease-out, cubic-bezier(.22,.61,.36,1));
}
.cat-circle-item:hover {
  transform: translateY(-3px);
}

.cat-circle-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-cream, #f4efe9);
  border: 2px solid transparent;
  transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  position: relative;
}
.cat-circle-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.cat-circle-item:hover .cat-circle-img {
  border-color: var(--brand);
  box-shadow: 0 12px 30px -12px rgba(132,36,37,0.25);
}
.cat-circle-item:hover .cat-circle-img img {
  transform: scale(1.08);
}

.cat-circle-name {
  font-family: var(--font-display, Georgia, serif);
  text-transform: none;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.005em;
  color: var(--ink, #14110f);
  margin: 0;
  line-height: 1.3;
  transition: color .25s var(--ease-out);
}
.cat-circle-item:hover .cat-circle-name { color: var(--brand); }

/* Arrow navigation buttons */
.cat-arrow {
  position: absolute;
  top: calc(50% - 1.5rem); /* center on the circle (above the name) */
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line, #e8e3dd);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all .25s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.cat-arrow:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 22px rgba(132,36,37,0.25);
}
.cat-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.cat-arrow-prev { left: -22px; }
.cat-arrow-next { right: -22px; }
.cat-arrow svg { display: block; }

/* Arrows positioned within container on small screens */
@media (max-width: 1100px) {
  .cat-arrow-prev { left: -8px; }
  .cat-arrow-next { right: -8px; }
}

/* Responsive: number of visible circles per breakpoint */
@media (min-width: 1200px) {
  .cat-circle-item { width: calc((100% - 5.25rem) / 5); } /* 5 visible */
  .cat-circle-track { gap: 1.5rem; }
}
@media (max-width: 1199px) and (min-width: 900px) {
  .cat-circle-item { width: calc((100% - 4.5rem) / 4); } /* 4 visible */
}
@media (max-width: 899px) and (min-width: 600px) {
  .cat-circle-item { width: calc((100% - 3rem) / 3); } /* 3 visible */
  .cat-circle-track { gap: 1.25rem; }
  .cat-circle-name { font-size: 0.95rem; }
}
@media (max-width: 599px) {
  .cat-circle-item { width: calc((100% - 2rem) / 3); } /* 3 visible — like screenshot */
  .cat-circle-track { gap: 1rem; padding-bottom: 1rem; }
  .cat-circle-name { font-size: 0.82rem; line-height: 1.25; }
  .cat-arrow { width: 36px; height: 36px; }
  .cat-arrow-prev { left: -4px; }
  .cat-arrow-next { right: -4px; }
}
@media (max-width: 380px) {
  .cat-circle-item { width: calc((100% - 1.5rem) / 2.5); } /* 2.5 visible — peek hint */
  .cat-circle-track { gap: 0.75rem; }
  .cat-circle-name { font-size: 0.75rem; }
}

/* =====================================================================
   ADMIN: Homepage Category Picker
   ===================================================================== */
.cat-picker {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cat-picker-row {
  display: grid;
  grid-template-columns: 56px 70px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line, #e8e3dd);
  border-radius: 4px;
  background: #fff;
  transition: background .2s, border-color .2s;
}
.cat-picker-row.is-picked {
  background: var(--brand-light, #f5e7e7);
  border-color: var(--brand);
}
.cat-picker-toggle { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cat-picker-toggle input { display: none; }
.cat-picker-toggle .toggle-switch {
  position: relative; display: inline-block;
  width: 38px; height: 22px;
  background: var(--border, #ccc);
  border-radius: 99px;
  transition: background .25s;
}
.cat-picker-toggle .toggle-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff; border-radius: 50%;
  transition: transform .25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cat-picker-toggle input:checked + .toggle-switch {
  background: var(--brand);
}
.cat-picker-toggle input:checked + .toggle-switch::after {
  transform: translateX(16px);
}
.cat-picker-thumb {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-cream, #f4efe9);
  flex-shrink: 0;
}
.cat-picker-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-picker-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: var(--text-muted); text-align: center;
}
.cat-picker-info { min-width: 0; }
.cat-picker-info strong {
  display: block;
  font-family: var(--font-display, Georgia, serif);
  font-size: 1rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.15rem;
}
.cat-picker-info small { font-size: 0.7rem; }
.cat-picker-actions { display: flex; flex-direction: column; gap: 2px; }
.cat-picker-up, .cat-picker-down {
  width: 28px; height: 22px;
  background: var(--bg-alt); border: 1px solid var(--border-light);
  cursor: pointer; font-size: 0.85rem; line-height: 1;
  color: var(--text-muted);
  border-radius: 3px;
  transition: background .15s, color .15s, border-color .15s;
}
.cat-picker-up:hover, .cat-picker-down:hover {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.cat-picker-up:disabled, .cat-picker-down:disabled {
  opacity: 0.3; cursor: not-allowed; pointer-events: none;
}

@media (max-width: 600px) {
  .cat-picker-row { grid-template-columns: 44px 50px 1fr auto; padding: 0.5rem; gap: 0.6rem; }
  .cat-picker-thumb { width: 50px; height: 50px; }
  .cat-picker-info strong { font-size: 0.88rem; }
}

/* =====================================================================
   HERO SLIDER — DEFINITIVE LOCK-DOWN
   Image must always stay inside the slider container, never overflow.
   This block goes LAST so it wins over all earlier height/transform rules.
   ===================================================================== */
.hero-slider {
  position: relative !important;
  width: 100% !important;
  /* Single source of truth for height — admin uploads NEVER affect it */
  height: clamp(420px, 70vh, 760px) !important;
  max-height: 90vh !important;
  overflow: hidden !important;
  isolation: isolate;            /* paint-context boundary so transformed children can't leak */
  contain: layout paint size;    /* inner content cannot influence outer layout */
  background: var(--bg-cream, #f4efe9);
}

.hero-slider .slides {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  transform: scale(1) !important;            /* baseline always 1, no overflow */
  transform-origin: center center;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.hero-slider .slide.active {
  opacity: 1 !important;
  z-index: 1;
  /* Smooth Ken Burns zoom on the active slide only */
  animation: heroKenBurns 14s linear forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* The image fills the slide perfectly via cover, never overflows */
.hero-slider .slide picture,
.hero-slider .slide picture img,
.hero-slider .slide > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}

/* Responsive heights — kept inside the lock to win cleanly */
@media (max-width: 1024px) {
  .hero-slider { height: clamp(400px, 65vh, 640px) !important; }
}
@media (max-width: 768px) {
  .hero-slider { height: clamp(380px, 60vh, 560px) !important; }
}
@media (max-width: 600px) {
  .hero-slider { height: clamp(360px, 58vh, 520px) !important; }
}
@media (max-width: 480px) {
  .hero-slider { height: clamp(340px, 60vh, 480px) !important; }
}
@media (max-width: 380px) {
  .hero-slider { height: clamp(320px, 60vh, 440px) !important; }
}

/* Disable Ken Burns when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slider .slide.active { animation: none !important; }
  .hero-slider .slide { transition: opacity 0.3s ease !important; }
}

/* =====================================================================
   CATEGORY CAROUSEL ARROWS — always visible, properly contained
   Override prior arrow positioning so arrows sit just outside the circles
   on both sides at all viewport widths.
   ===================================================================== */
.cat-circle-carousel {
  padding-left: 52px !important;   /* room for left arrow */
  padding-right: 52px !important;  /* room for right arrow */
  position: relative !important;
}

.cat-arrow {
  display: inline-flex !important; /* override any earlier display:none */
  position: absolute !important;
  top: 50% !important;             /* arrows centred to whole carousel */
  transform: translateY(-50%) !important;
  z-index: 5;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid var(--line, #e8e3dd) !important;
  color: var(--ink, #14110f) !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08) !important;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease-out, cubic-bezier(.22,.61,.36,1)),
              color .25s var(--ease-out, cubic-bezier(.22,.61,.36,1)),
              border-color .25s, box-shadow .25s, transform .25s;
}
/* Position arrows inside the padding gutters */
.cat-arrow-prev { left: 4px !important; }
.cat-arrow-next { right: 4px !important; }

.cat-arrow:hover {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 8px 22px rgba(132,36,37,0.25) !important;
}
.cat-arrow:active {
  transform: translateY(-50%) scale(0.96) !important;
}
.cat-arrow:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed;
  pointer-events: none;
  background: #fff !important;
  color: var(--text-muted, #999) !important;
}

/* Tablet & smaller: tighter padding, slightly smaller arrows */
@media (max-width: 900px) {
  .cat-circle-carousel { padding-left: 44px !important; padding-right: 44px !important; }
  .cat-arrow { width: 38px !important; height: 38px !important; }
  .cat-arrow-prev { left: 2px !important; }
  .cat-arrow-next { right: 2px !important; }
}

/* Phone: even tighter — arrows hug the edges */
@media (max-width: 600px) {
  .cat-circle-carousel { padding-left: 38px !important; padding-right: 38px !important; }
  .cat-arrow { width: 34px !important; height: 34px !important; }
  .cat-arrow svg { width: 16px; height: 16px; }
  .cat-arrow-prev { left: 0 !important; }
  .cat-arrow-next { right: 0 !important; }
}

@media (max-width: 380px) {
  .cat-circle-carousel { padding-left: 32px !important; padding-right: 32px !important; }
  .cat-arrow { width: 30px !important; height: 30px !important; }
  .cat-arrow svg { width: 14px; height: 14px; }
}
