:root {
  --bg: #ffffff;
  --bg-subtle: #f5f5f5;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --text: #111111;
  --muted: #737373;
  --border: #e5e5e5;
  --border-strong: #cccccc;
  --blue: #FF751F;
  --blue-dark: #d95f0d;
  --sale: #e00606;
  --success: #1a8a4a;
  --danger: #e5484d;
  --shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.12);
  --radius: 8px;
  --store-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-sans: var(--store-font);
}

html[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-subtle: #141414;
  --surface: #1a1a1a;
  --surface-2: #222222;
  --text: #ededed;
  --muted: #9c9ca8;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;
  --blue: #FF751F;
  --blue-dark: #ff8c3a;
  --sale: #ff6b6b;
  --success: #4ade80;
  --danger: #f87171;
  --shadow: 0 2px 8px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.4), 0 16px 48px rgba(0,0,0,0.5);
  --store-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { opacity: 0; animation: fadeIn 0.4s ease forwards; }

.hidden { display: none !important; }
a { color: inherit; text-decoration: none; }

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
}

.free-ship-notice {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--success);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
}
.free-ship-notice.hidden { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 20px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  padding: 0;
}
.main-nav a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--muted); }
.main-nav a.sale-link { color: var(--sale); }

/* Animated nav underline */
.main-nav a { position: relative; padding-bottom: 4px; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--text); transition: width 0.25s ease, left 0.25s ease; }
.main-nav a.active::after, .main-nav a:hover::after { width: 100%; left: 0; }
.main-nav a.sale-link::after { background: var(--sale); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border-radius: 999px;
  padding: 0 14px;
  height: 40px;
  width: 220px;
  transition: width 0.2s, background 0.15s;
  border: 1px solid transparent;
}
.search-bar:focus-within { background: var(--surface); border-color: var(--border-strong); width: 280px; }
.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  padding: 0;
  height: 100%;
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar button { display: none; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.15s;
}
.icon-btn:hover { background: var(--bg-subtle); }
.icon-btn svg { display: block; }
.icon-btn span { font-size: 0.82rem; font-weight: 700; }

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  height: 600px;
  margin-top: 0;
}
.hero-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-banner img.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
  display: flex;
  align-items: center;
}
.hero-copy { padding: 0 60px; max-width: 600px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.hero-copy p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.5;
}
.btn-hero {
  background: var(--blue);
  color: #fff;
  border: 1.5px solid var(--blue);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-hero:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,117,31,0.25); }
.btn-hero:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn-hero:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.hero-dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 6; }
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.2s;
}
.hero-dot.active { background: #fff; transform: scale(1.2); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9); color: var(--text); font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.15s; }
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* ---------- Category blocks ---------- */
.category-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-block {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  aspect-ratio: 3/4;
}
.cat-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cat-block:hover img { transform: scale(1.06); }
.cat-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.cat-overlay h2 {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.cat-cta {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Main ---------- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

/* ---------- Catalog layout ---------- */
.catalog-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.catalog-main {
  flex: 1;
  min-width: 0;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.toolbar h1 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-toggle-btn {
  display: none;
}

/* ---------- Filter sidebar ---------- */
.filter-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 4px;
}
.filter-sidebar::-webkit-scrollbar { width: 3px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.filter-header h3 {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.filter-clear {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.filter-clear:hover { color: var(--text); }

/* Category links at top */
.filter-cats {
  display: flex;
  flex-direction: row;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.filter-cat-link {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color .15s, background .15s;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}
.filter-cat-link:hover { color: var(--blue); border-color: var(--blue); }
.filter-cat-link.active { color: #fff; background: var(--text); border-color: var(--text); font-weight: 800; }

/* Accordion sections */
.filter-section { border-bottom: 1px solid var(--border); }
.filter-section-head {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 9px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}
.filter-section-head span:first-child { flex: 1; }
.filter-section.open .filter-section-head { padding-bottom: 3px; }
.filter-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  margin-right: 6px;
  min-width: 0;
}
.filter-count:empty { display: none; }
.filter-chevron {
  font-size: 0.65rem;
  color: var(--muted);
  transition: transform .2s;
  line-height: 1;
}
.filter-section.open .filter-chevron { transform: rotate(180deg); }

.filter-section-body {
  display: none;
  padding-bottom: 10px;
}
.filter-section.open .filter-section-body { display: block; animation: fadeInUp 0.2s ease; }
.filter-section-body#fGenders {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.filter-section.open .filter-section-body#fGenders { display: flex; animation: fadeInUp 0.2s ease; }

/* Checkboxes — text far left, checkbox far right */
.filter-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  padding: 3px 0;
  margin-bottom: 0;
  line-height: 1.3;
  text-align: left;
}
.filter-check input[type="checkbox"] { order: 2; margin-left: auto; }
.filter-check span { order: 1; }
.filter-check:hover { color: var(--blue); }

.filter-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-strong, #ccc);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color .15s, background .15s;
  padding: 0;
}
.filter-check input[type="checkbox"]:checked {
  background: var(--text);
  border-color: var(--text);
}
.filter-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 1px;
  width: 4.5px;
  height: 8px;
  border: solid var(--bg);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.filter-check input[type="checkbox"]:hover {
  border-color: var(--text);
}

/* Colour swatch filter — 3-column grid of circular swatches */
.filter-colour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 6px;
}
.colour-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px 2px;
  text-align: center;
}
.colour-swatch-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.colour-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  display: inline-block;
}
.colour-swatch-item:hover .colour-swatch { box-shadow: 0 0 0 2px rgba(0,0,0,0.08); }
.colour-swatch-item input[type="checkbox"]:checked + .colour-swatch {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text);
}
.colour-swatch-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}
.colour-swatch-item input[type="checkbox"]:checked ~ .colour-swatch-label { color: var(--text); font-weight: 600; }

/* "+ More" expand button */
.filter-more-btn {
  display: block;
  background: none;
  border: none;
  padding: 5px 0 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  font-family: inherit;
}
.filter-more-btn:hover { text-decoration: underline; }

.filter-item-hidden { display: none !important; }

/* Hidden helper */

@media (max-width: 1024px) {
  .filter-sidebar { width: 220px; }
}
/* Mobile filter-sidebar slide-in handled in Responsive section */
.filter-price span {
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: none;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.product-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle);
}
.product-media img {
  width: 100%;
  aspect-ratio: 1/1.2;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.product-card:hover .product-media img { transform: scale(1.04); }

.share-btn {
  position: absolute; top: 8px; right: 40px;
  background: rgba(255,255,255,.85); border: none; width: 34px; height: 34px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: opacity .2s; z-index: 2;
}
.product-card:hover .share-btn { opacity: 1; }
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover { background: var(--blue); color: #fff; }
.qv-share:hover { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge.sale { background: var(--sale); color: #fff; }
.badge.new { background: var(--text); color: #fff; }

.product-body { padding: 14px 0; display: flex; flex-direction: column; gap: 2px; }
.product-brand {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-name { font-size: 0.86rem; color: var(--muted); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.price-now { font-weight: 800; font-size: 1rem; }
.product-card.on-sale .price-now { color: var(--sale); }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 0.85rem; }
.price-off { color: var(--sale); font-size: 0.8rem; font-weight: 800; }
.product-card .add-row { margin-top: auto; padding-top: 10px; }
.product-card .btn { width: 100%; }
.stock-low { color: var(--sale); font-size: 0.74rem; font-weight: 700; }
.stock-out { color: var(--muted); font-size: 0.74rem; font-weight: 700; }
.empty-state { text-align: center; color: var(--muted); padding: 80px 0; font-size: 1rem; }

/* ---------- Home rails ---------- */
.home-rails { padding-top: 48px; }
#rail-top-picks, #rail-on-sale { margin-bottom: 16px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.01em; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.rail-btn:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.rail-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rail-track .product-card { flex: 0 0 260px; scroll-snap-align: start; }
.rail-track::-webkit-scrollbar { height: 4px; }
.rail-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  line-height: 1;
  min-height: 44px;
}
.btn:hover { border-color: var(--text); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-hero:active { transform: translateY(0) scale(0.97); box-shadow: none; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 4px 16px rgba(255,117,31,0.25); }
.btn-outline { background: transparent; }
.btn-outline:hover { background: var(--bg-subtle); }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; min-height: 32px; }
.btn-danger { background: #fff0f0; color: var(--danger); border-color: #f3c1c1; }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); background: #ffe0e0; }
.btn-block { width: 100%; }

/* Add to cart overlay on product cards */
.add-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: rgba(17,17,17,0.85);
  color: #fff;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
.product-card:hover .add-overlay { opacity: 1; transform: translateY(0); }
.add-overlay:hover { background: var(--blue); }
.add-overlay:disabled { background: var(--muted); cursor: not-allowed; }
html[data-theme="dark"] .add-overlay { background: rgba(0,0,0,0.85); }

/* Favourite button on product cards */
.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.85);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.15s;
  z-index: 2;
}
.product-card:hover .fav-btn { opacity: 1; }
.fav-btn svg { width: 16px; height: 16px; }
.fav-btn:hover { background: var(--blue); color: #fff; }
.fav-btn.active { opacity: 1; background: var(--blue); color: #fff; }
html[data-theme="dark"] .fav-btn { background: rgba(30,30,30,0.85); }

/* Gold primary action (quick-view add-to-cart) */
.btn-gold {
  background: var(--blue);
  color: #fff;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-gold:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 4px 16px rgba(255,117,31,0.25); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0) scale(0.98); }
.btn-gold:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* Quick-view favourite */
.qv-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 24px;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  min-height: 44px;
  letter-spacing: 0.02em;
}
.qv-fav:hover { border-color: var(--text); background: var(--bg-subtle); transform: translateY(-1px); }
.qv-fav:active { transform: translateY(0) scale(0.98); }
.qv-fav.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Auth ---------- */
.auth-link {
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
}
.auth-link:hover { background: var(--bg-subtle); }
.user-menu { position: relative; }
.user-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: inherit;
  transition: background 0.15s;
}
.user-menu-btn:hover { background: var(--border); }
.user-avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  min-width: 210px;
  padding: 6px;
  z-index: 60;
}
.dropdown-title {
  padding: 9px 12px 6px;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: none;
  background: none;
  color: var(--text);
  font-size: 0.84rem;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
}
.dropdown button svg { flex-shrink: 0; opacity: 0.6; }
.dropdown button:hover { background: var(--bg-subtle); }
.dropdown hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }
.dropdown .danger { color: var(--danger); }
.dropdown .danger svg { opacity: 1; }
.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  vertical-align: -4px;
  flex-shrink: 0;
}
.lang-dropdown { position: relative; }
.lang-switcher {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 28px 8px 12px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 320px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 8px;
  z-index: 1100;
  display: none;
  flex-wrap: nowrap;
  gap: 4px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.lang-dropdown.open .lang-menu { display: flex; }
.lang-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.lang-option:hover { background: #f3f4f6; color: #111827; }
.lang-option.active { background: var(--blue, #FF751F); color: #ffffff; border-color: var(--blue, #FF751F); }
[data-theme="dark"] .lang-menu { background: #1c1c1e; border-color: #333; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
[data-theme="dark"] .lang-option { color: #d1d5db; }
[data-theme="dark"] .lang-option:hover { background: #2c2c2e; color: #ffffff; }
[data-theme="dark"] .lang-option.active { background: var(--blue, #FF751F); color: #ffffff; border-color: var(--blue, #FF751F); }
.profile-avatar { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 16px; }
.profile-avatar img,
.profile-avatar .profile-avatar-initial {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}
.profile-avatar-actions { display: flex; gap: 8px; }

/* ---------- Modals & drawer ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop, .drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(2px); }
.modal-card {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--bg-subtle);
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--border); }
.modal-title { font-size: 1.4rem; font-weight: 900; margin-bottom: 20px; letter-spacing: -0.01em; }
.muted-note { color: var(--muted); font-size: 0.88rem; margin-bottom: 14px; }

.quick-view { display: flex; gap: 32px; }
.quick-view .qv-gallery { flex: 1.2; display: flex; flex-direction: column; }
.quick-view .qv-gallery > img { width: 100%; height: 400px; object-fit: cover; border-radius: 0; background: var(--bg-subtle); display: block; }
.quick-view .qv-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.quick-view .qv-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .5; border: 2px solid transparent; flex-shrink: 0; transition: opacity .15s, border-color .15s; }
.quick-view .qv-thumbs img.active { opacity: 1; border-color: var(--text); }
.quick-view .qv-info { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.qv-brand { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.qv-info h2 { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.01em; }
.qv-color { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.qv-variants { display: flex; align-items: center; gap: 8px; }
.qv-swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .15s, border-color .15s; }
.qv-swatch:hover { transform: scale(1.12); }
.qv-swatch.active { border-color: var(--blue); }
.swatches { display: inline-flex; align-items: center; gap: 4px; margin-right: 5px; vertical-align: middle; }
.swatches .swatch { margin-right: 0; }
.qv-price { font-size: 1.3rem; font-weight: 900; display: flex; align-items: baseline; gap: 10px; letter-spacing: -0.01em; }
.quick-view.on-sale .qv-price { color: var(--sale); }
.qv-desc { color: var(--muted); font-size: 0.9rem; }
.qv-cat { color: var(--muted); font-size: 0.8rem; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: middle; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.25s ease-out;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 1.2rem; font-weight: 900; letter-spacing: -0.01em; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--bg-subtle); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-price { color: var(--muted); font-size: 0.82rem; }
.cart-item-price s { color: var(--muted); }
.cart-item-price .sale-price { color: var(--sale); font-weight: 800; }
.qty-control { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.qty-control button { width: 28px; height: 28px; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: var(--radius); cursor: pointer; font-weight: 700; }
.qty-control button:hover { border-color: var(--text); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-right strong.on-sale { color: var(--sale); }
.cart-item-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.78rem; font-weight: 700; font-family: inherit; text-decoration: underline; }
.cart-item-remove:hover { color: var(--danger); }
.cart-total { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 20px; }

/* ---------- Forms ---------- */
label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 700; margin-bottom: 14px; color: var(--text); }
input, textarea, select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--text); }
textarea { resize: vertical; }
.pay-group { border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.pay-group legend { font-size: 0.8rem; font-weight: 700; padding: 0 8px; color: var(--muted); }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-summary { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 14px; font-size: 0.92rem; }
.checkout-summary .cs-line { display: flex; justify-content: space-between; padding: 4px 0; }
.checkout-summary .cs-discount { color: var(--success); }
.checkout-summary .cs-total { font-weight: 900; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px; font-size: 1.05rem; }

.promo-row { display: flex; gap: 10px; margin-bottom: 8px; }
.promo-row input { flex: 1; text-transform: uppercase; }
.promo-feedback { font-size: 0.85rem; margin-bottom: 14px; }
.promo-feedback.ok { color: var(--success); }
.promo-feedback.err { color: var(--danger); }

.pay-info { margin-bottom: 14px; }
.pay-info-box { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 0.85rem; color: var(--text); }
.pay-info-head { font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; }
.pay-info-row { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.pay-info-row span { color: var(--muted); }
.pay-info-note { color: var(--muted); font-size: 0.8rem; margin-top: 6px; line-height: 1.5; }
.pay-info-code { font-family: monospace; word-break: break-all; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; margin-top: 8px; }

.delivery-info { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 0.82rem; color: var(--muted); }
.delivery-info .di-line { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.delivery-info .di-line b { color: var(--text); }
.delivery-info .di-cost { font-weight: 700; color: var(--text); }
.delivery-info .di-cost.free { color: var(--success); }
.delivery-info .di-hint { font-size: 0.78rem; color: var(--muted); font-style: italic; }

.tabs { display: flex; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tab.active { color: var(--text); border-bottom-color: var(--text); }

.success-card { text-align: center; padding: 48px 32px; }
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 2rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.success-card h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.01em; }
.success-card p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Orders ---------- */
.order-card { border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 14px; background: var(--surface); }
.order-card .oc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.order-status { font-size: 0.68rem; text-transform: uppercase; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.order-status.pending { background: #fff4d6; color: #9a6b00; }
.order-status.paid { background: #e6efff; color: var(--blue); }
.order-status.shipped { background: #f0eaff; color: #5b35c0; }
.order-status.delivered { background: #e4f6ec; color: var(--success); }
.order-status.cancelled { background: #ffeaea; color: var(--danger); }
.order-status.returned { background: #ececec; color: var(--muted); }
.order-items { font-size: 0.86rem; color: var(--muted); }
.order-meta { font-size: 0.84rem; color: var(--muted); margin-top: 6px; }
.order-return { margin-top: 12px; }
.return-badge { display: inline-block; font-size: 0.7rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.return-badge.requested { background: #fff4d6; color: #9a6b00; }
.return-badge.approved { background: #e6efff; color: var(--blue); }
.return-badge.rejected { background: #ffeaea; color: var(--danger); }
.return-badge.refunded { background: #e4f6ec; color: var(--success); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  animation: toastIn 0.25s ease-out;
  max-width: 90vw;
  text-align: center;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-subtle); color: #111111; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-logo-img { height: 20px; margin-bottom: 12px; }
.footer-brand-col p { color: #444444; font-size: 0.85rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col a, .footer-col span { display: block; color: #111111; font-size: 0.88rem; padding: 4px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--blue); }
.footer-brand-col p { color: #444444; }
.footer-col h4 { color: #111; }
.footer-col p { color: #444444; }
[data-theme="dark"] .site-footer { background: var(--text); color: var(--bg); border-top: none; }
[data-theme="dark"] .footer-brand-col p, [data-theme="dark"] .footer-col a, [data-theme="dark"] .footer-col span, [data-theme="dark"] .footer-col p { color: #ddd; }
[data-theme="dark"] .footer-col h4 { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  color: #888;
  font-size: 0.78rem;
  padding: 20px 40px;
}
[data-theme="dark"] .footer-bottom { color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.15); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #bbb;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
}
[data-theme="dark"] .newsletter-form input { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); }
.newsletter-form input::placeholder { color: #999; }
.newsletter-form input:focus { border-color: var(--blue); }
[data-theme="dark"] .newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .newsletter-form input:focus { border-color: rgba(255,255,255,0.5); }
.btn-newsletter {
  padding: 11px 22px;
  border: none;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-newsletter:hover { background: var(--blue-dark); }

/* ---------- Sizes ---------- */
.product-sizes { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.size-chip { display: inline-block; padding: 2px 7px; font-size: 0.7rem; border: 1px solid var(--border); border-radius: 4px; color: var(--muted); background: var(--bg-subtle); }
.size-chip.more { color: var(--blue); border-color: var(--blue); }
.qv-size-btn.out { opacity: 0.35; text-decoration: line-through; cursor: default; pointer-events: none; }

.modal-card.wide { max-width: 900px; }
.qv-size-btn { padding: 10px 16px; font-size: 0.82rem; border: 2px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); cursor: pointer; transition: all 0.15s; font-weight: 600; }
.qv-size-btn:hover { border-color: var(--text); }
.qv-size-btn.active { border-color: var(--text); background: var(--text); color: var(--bg); }
.quick-view .qv-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.quick-view .qv-sizes label { grid-column: 1 / -1; font-size: 0.82rem; font-weight: 600; margin-bottom: 2px; }
.quick-view .qv-sizes .qv-size-btn { padding: 10px 0; font-size: 0.82rem; text-align: center; }
.qv-similar { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.qv-similar h3 { font-size: 1rem; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.03em; }
.qv-similar-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.qv-similar-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
  touch-action: pan-x; padding: 4px 0 12px;
  scrollbar-width: none;
}
.qv-similar-track::-webkit-scrollbar { display: none; }
.qv-sim-arrow {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--surface); color: var(--text); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: background 0.15s, transform 0.1s;
  z-index: 2;
}
.qv-sim-arrow:hover { background: var(--text); color: var(--bg); }
.qv-sim-arrow:active { transform: scale(0.92); }
.qv-similar-card {
  flex: 0 0 170px; scroll-snap-align: start; cursor: pointer; border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s;
}
.qv-similar-card:hover { transform: translateY(-3px); }
.qv-similar-img-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--bg-subtle); }
.qv-similar-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.qv-similar-card:hover .qv-similar-img-wrap img { transform: scale(1.06); }
.qv-similar-info { padding: 8px 2px; }
.qv-similar-brand { display: block; font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.qv-similar-name { display: block; font-size: 0.8rem; font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qv-similar-price { margin-top: 4px; font-size: 0.82rem; font-weight: 700; display: flex; gap: 6px; align-items: baseline; }
.qv-qty { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.qv-qty button { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 16px; cursor: pointer; }
.qv-qty span { font-size: 1rem; min-width: 20px; text-align: center; }

/* ---------- RTL ---------- */
[dir="rtl"] .filter-section-head { text-align: right; }
[dir="rtl"] .filter-check input[type="checkbox"]:checked::after { left: auto; right: 3.5px; }
[dir="rtl"] .filter-check { text-align: right; }
[dir="rtl"] .filter-section-head .filter-chevron { margin-left: 6px; margin-right: 0; }
[dir="rtl"] .filter-section-head .filter-count { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .main-nav { direction: rtl; }
[dir="rtl"] .filter-sidebar { direction: rtl; text-align: right; }
[dir="rtl"] .search-bar { direction: rtl; }
[dir="rtl"] .filter-cats { direction: rtl; }
[dir="rtl"] .filter-cat-link { text-align: right; }
[dir="rtl"] .hero-copy { direction: rtl; text-align: right; }
[dir="rtl"] .hero-overlay { background: linear-gradient(270deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 55%, transparent 100%); }
[dir="rtl"] .hero-copy p { text-align: right; }
[dir="rtl"] .filter-header { direction: rtl; }
[dir="rtl"] .filter-more-btn { text-align: right; }
/* Mobile RTL filter-sidebar positioning handled in Responsive section */

/* ---------- Subtle Animations ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.product-card { animation: fadeInUp 0.4s ease both; }
.product-card:nth-child(2) { animation-delay: 0.05s; }
.product-card:nth-child(3) { animation-delay: 0.1s; }
.product-card:nth-child(4) { animation-delay: 0.15s; }

.cat-block { animation: scaleIn 0.5s ease both; }
.cat-block:nth-child(2) { animation-delay: 0.08s; }
.cat-block:nth-child(3) { animation-delay: 0.16s; }

.filter-sidebar { animation: fadeIn 0.3s ease; }
.quick-view { animation: scaleIn 0.25s ease; }
.modal-card { animation: scaleIn 0.2s ease; }

.hero-copy > * { animation: fadeInUp 0.6s ease both; }
.hero-copy > :nth-child(1) { animation-delay: 0.1s; }
.hero-copy > :nth-child(2) { animation-delay: 0.2s; }
.hero-copy > :nth-child(3) { animation-delay: 0.3s; }
.hero-copy > :nth-child(4) { animation-delay: 0.4s; }

.qv-similar-card { animation: fadeInUp 0.3s ease both; }
.qv-similar-card:nth-child(2) { animation-delay: 0.05s; }
.qv-similar-card:nth-child(3) { animation-delay: 0.1s; }

.cart-count { transition: transform 0.2s ease; }
.cart-count.bump { animation: scaleIn 0.2s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.05s; }
.reveal:nth-child(3) { transition-delay: 0.1s; }
.reveal:nth-child(4) { transition-delay: 0.15s; }

/* ---------- Support Chat Widget ---------- */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 900;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.chat-widget {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 340px;
  max-height: 480px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  z-index: 901;
  overflow: hidden;
}
.chat-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}
.chat-widget-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.chat-widget-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
}
.chat-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
}
.chat-msg.admin { align-self: flex-start; background: var(--surface); border: 1px solid var(--border-strong); border-bottom-left-radius: 4px; }
.chat-msg.customer { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg .chat-msg-time { font-size: 0.58rem; opacity: 0.6; margin-top: 3px; }
.chat-msg-date { text-align: center; font-size: 0.62rem; color: var(--muted); padding: 2px 0; }
.chat-widget-input {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
}
.chat-widget-input input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 0.8rem;
  outline: none;
}
.chat-widget-input input:focus { border-color: var(--blue); }
.chat-widget-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-widget-send:hover { opacity: 0.9; }
.chat-widget-empty { text-align: center; color: var(--muted); font-size: 0.78rem; padding: 40px 16px; }
@media (max-width: 480px) {
  .chat-widget { width: calc(100vw - 24px); right: 12px; bottom: 80px; max-height: 70vh; }
  .chat-fab { bottom: 16px; right: 16px; width: 48px; height: 48px; }
}
[dir="rtl"] .chat-fab { right: auto; left: 24px; }
[dir="rtl"] .chat-widget { right: auto; left: 24px; }
@media (max-width: 480px) { [dir="rtl"] .chat-widget { left: 12px; } [dir="rtl"] .chat-fab { left: 16px; } }

/* (chat widget styles consolidated above at first definition) */

/* ---------- Chat Widget ---------- */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; width: 340px; max-height: 460px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); display: flex; flex-direction: column;
  z-index: 900; overflow: hidden; animation: fadeInUp 0.3s ease;
}
.chat-widget.hidden { display: none; }
.chat-widget-header {
  padding: 14px 16px; background: var(--blue); color: #fff; font-weight: 700;
  font-size: 0.88rem; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.chat-close { font-size: 1.2rem; cursor: pointer; opacity: 0.8; }
.chat-close:hover { opacity: 1; }
.chat-widget-messages {
  flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px;
  min-height: 200px; max-height: 300px;
}
.chat-widget-messages .chat-msg {
  max-width: 80%; padding: 8px 12px; border-radius: 12px; font-size: 0.82rem; line-height: 1.4;
}
.chat-msg.admin { background: var(--bg-subtle); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.customer { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-widget-input {
  display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--border);
}
.chat-widget-input input {
  flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.82rem; background: var(--bg-subtle); outline: none;
}
.chat-widget-input button {
  padding: 8px 14px; background: var(--blue); color: #fff; border: none;
  border-radius: 999px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.chat-widget-input button:hover { opacity: 0.9; }
[dir="rtl"] .chat-widget { right: auto; left: 24px; }

/* ---------- Responsive ---------- */

/* ---- Mobile Nav (base) ---- */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { opacity: 1; }

.filter-sidebar-close { display: none; }

@media (max-width: 1024px) {
  .header-main { padding: 0 20px; gap: 20px; }
  .hero { padding: 0 20px; }
  .hero-banner { height: 480px; }
  .category-grid { padding: 16px 20px 0; }
  .container { padding: 40px 20px 60px; }
  .footer-inner { padding: 40px 20px; grid-template-columns: 1fr 1fr; }
  .chat-widget { width: 300px; }
  .catalog-layout { gap: 24px; }
  .filter-sidebar { width: 220px; }
}

@media (max-width: 768px) {
  @keyframes mobileSlideInLeft { from { transform: translateX(-100%); } to { transform: translateX(0); } }
  @keyframes mobileSlideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

  /* ---- Header / Mobile Nav ---- */
  .mobile-nav-toggle { display: flex; order: -1; }
  .mobile-nav-overlay.active { display: block; }
  .header-main {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 16px;
    gap: 10px;
  }
  .main-nav { display: none; }
  .search-bar { order: 10; width: 100%; min-width: 100%; }

  .main-nav.mobile-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--surface);
    z-index: 999;
    padding: 64px 20px 24px;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    animation: mobileSlideInLeft 0.3s ease;
  }
  .main-nav.mobile-open a {
    padding: 14px 8px;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    border-bottom-width: 1px;
    white-space: normal;
  }
  .main-nav.mobile-open a.active { border-bottom-color: var(--text); }
  .main-nav.mobile-open a { transition: background 0.15s; }
  .main-nav.mobile-open a:active { background: var(--bg-subtle); }
  [dir="rtl"] .main-nav.mobile-open {
    left: auto;
    right: 0;
    animation: mobileSlideInRight 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  }

  /* Announcement bar: horizontally scrollable */
  .announce-bar {
    font-size: 0.75rem !important;
    padding: 8px 16px !important;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .announce-bar::-webkit-scrollbar { display: none; }

  /* ---- Hero ---- */
  .hero { padding: 0 12px; }
  .hero-banner { height: 420px !important; }
  .hero-overlay {
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  }
  .hero-copy { padding: 20px !important; max-width: 100%; direction: inherit; text-align: center; }
  .hero-copy h1 { font-size: 1.8rem !important; }
  .hero-copy p { font-size: 0.9rem !important; }

  /* ---- Category grid: 2 columns ---- */
  .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 12px 16px 0;
    gap: 10px !important;
  }
  .cat-block { aspect-ratio: 3/4; }
  .cat-overlay { padding: 18px 14px; }
  .cat-overlay h2 { font-size: 1rem !important; }
  .cat-cta { font-size: 0.72rem; }

  /* ---- Product grid: 2 columns ---- */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .product-media img { aspect-ratio: 1/1.2; }
  .product-body { padding: 8px 0 !important; }
  .product-brand { font-size: 0.72rem !important; }
  .product-name { font-size: 0.78rem !important; }
  .price-now { font-size: 0.82rem !important; }
  .price-was { font-size: 0.74rem; }
  .price-off { font-size: 0.72rem; }
  .share-btn, .fav-btn { opacity: 1 !important; }
  .add-overlay { opacity: 1; transform: none; position: static; width: 100%; background: var(--text); }
  .product-card:hover { transform: none; }

  /* ---- Product rails: horizontal scroll with snap ---- */
  .rail-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
  }
  .rail-track::-webkit-scrollbar { display: none; }
  .rail-track .product-card { scroll-snap-align: start; flex: 0 0 45%; min-width: 150px; }

  /* ---- Quick-view modal: full screen ---- */
  #product-modal { padding: 0; align-items: stretch; }
  #product-modal .modal-card,
  #product-modal .modal-card.wide {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 60px 16px 24px;
    animation: none;
  }
  #product-modal .quick-view { flex-direction: column; gap: 16px; }
  #product-modal .quick-view .qv-gallery > img { width: 100%; height: auto; max-height: 320px; object-fit: cover; }
  #product-modal .quick-view .qv-sizes { grid-template-columns: repeat(4, 1fr) !important; }
  .modal-card.wide { max-width: 100% !important; }

  /* ---- Filter sidebar: slide-in from left ---- */
  .filter-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    min-height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
  }
  .filter-toggle-btn::before { content: '\2630 '; font-size: 1rem; }
  .filter-toggle-btn:hover { border-color: var(--text); }
  .filter-sidebar {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px !important;
    max-height: none;
    height: 100vh;
    height: 100dvh;
    z-index: 1001;
    background: var(--surface);
    padding: 16px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: none;
    border-right: 1px solid var(--border);
  }
  .filter-sidebar.open {
    transform: translateX(0) !important;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  }
  .filter-sidebar .filter-header { position: relative; padding-right: 44px; }
  .filter-sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }
  .filter-sidebar-close:hover { background: var(--border); }
  .filter-check { padding: 8px 0; }
  .filter-cat-link { padding: 10px 14px; }
  .filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .filter-backdrop.open { display: block; opacity: 1; pointer-events: auto; }
  [dir="rtl"] .filter-sidebar {
    left: auto;
    right: 0;
    transform: translateX(100%);
    border-right: none;
    border-left: 1px solid var(--border);
    animation: none;
  }
  [dir="rtl"] .filter-sidebar.open {
    transform: translateX(0) !important;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  }
  [dir="rtl"] .filter-sidebar-close { right: auto; left: 12px; }

  /* ---- Toolbar ---- */
  .toolbar { margin-bottom: 18px; gap: 10px; }
  .toolbar h1 { font-size: 1.25rem; }
  .toolbar-right { width: 100%; }
  .toolbar-right select { width: 100%; }

  /* ---- Cart / favourites drawers: full width ---- */
  .drawer-panel { width: 100% !important; max-width: 100% !important; border-left: none; }
  .cart-item { gap: 10px; }
  .qty-control button { width: 34px; height: 34px; }

  /* ---- Auth / checkout forms ---- */
  .tabs { gap: 0; }
  .tab { padding: 12px 8px; font-size: 0.82rem; }
  .pay-row { grid-template-columns: 1fr; }
  .promo-row { flex-direction: column; }
  .row2, .row3 { grid-template-columns: 1fr !important; }
  .grid2, .grid3 { grid-template-columns: 1fr !important; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { width: 100%; }
  .auth-area { gap: 8px; }
  .header-actions { gap: 4px; }
  .cart-count { font-size: 0.62rem; min-width: 16px; height: 16px; }

  /* ---- Section spacing / footer ---- */
  .section-title { font-size: 1.15rem; }
  .rail-head { margin-bottom: 14px; }
  .home-rails { padding-top: 28px; }
  .container { padding: 24px 16px 48px !important; }
  footer.site-footer { padding: 0 !important; }
  .site-footer .footer-inner {
    padding: 36px 16px 20px !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-bottom { padding: 16px; }

  /* ---- Quick-view similar carousel ---- */
  .qv-similar-wrap { gap: 4px; }
  .qv-sim-arrow { width: 32px; height: 32px; font-size: 1rem; }
  .qv-similar-track { gap: 10px; }
  .qv-similar-card { flex: 0 0 140px; }

  /* ---- Hero arrows ---- */
  .hero-arrow { width: 40px; height: 40px; font-size: 1.1rem; }
  .hero-arrow-prev { left: 8px; }
  .hero-arrow-next { right: 8px; }

  /* ---- Touch targets & iOS zoom prevention ---- */
  .btn, .btn-sm, .btn-hero, .btn-gold, .qv-fav, .btn-newsletter { min-height: 44px; font-size: 0.88rem; }
  .add-overlay { min-height: 44px; }
  input:not([type="checkbox"]):not([type="radio"]),
  select, textarea {
    min-height: 44px;
    font-size: 16px !important;
    padding: 10px 12px;
  }
  .search-bar input { min-height: 40px; }
}

@media (max-width: 640px) {
  .product-name { display: none; }
  .product-brand { font-size: 0.68rem !important; }
  .price-now { font-size: 0.8rem !important; }
  .rail-track .product-card { flex: 0 0 46%; }
  .qv-similar-card { flex: 0 0 130px; }
  .lang-option { padding: 7px 8px; font-size: 0.72rem; }
  .lang-menu { min-width: 260px; }
}

@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr !important; }
  .category-grid { grid-template-columns: 1fr !important; }
  .cat-block { aspect-ratio: 16/9; }
  .product-media img { aspect-ratio: 1/1.2; }
  .hero-banner { height: 360px !important; }
  .hero-copy h1 { font-size: 1.5rem !important; }
  .hero-copy p { font-size: 0.82rem !important; }
  .hero-eyebrow { font-size: 0.65rem; }
  .btn-hero { padding: 12px 20px; font-size: 0.82rem; }
  .rail-track .product-card { flex: 0 0 70%; }
  .filter-sidebar { width: 100% !important; }
}

/* ---------- RTL Support ---------- */
html[dir="rtl"] { direction: rtl; text-align: right; }
html[dir="rtl"] .filter-section-head { text-align: right; }
html[dir="rtl"] .filter-check { flex-direction: row-reverse; justify-content: flex-end; }
html[dir="rtl"] .filter-cat-link { text-align: right; }
html[dir="rtl"] .filter-chevron { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .filter-more-btn { text-align: right; }
html[dir="rtl"] .hero-copy { text-align: right; }
html[dir="rtl"] .header-main { flex-direction: row-reverse; }
html[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; flex-direction: row-reverse; }
html[dir="rtl"] .main-nav { flex-direction: row-reverse; }
html[dir="rtl"] .toolbar { flex-direction: row-reverse; }
html[dir="rtl"] .toolbar-right { flex-direction: row-reverse; }
html[dir="rtl"] .announce-bar { direction: rtl; }

/* ---------- UI polish ---------- */
.chat-widget.collapsed .chat-widget-messages,
.chat-widget.collapsed .chat-widget-input { display: none; }
.chat-widget.collapsed { width: auto; min-width: 0; max-height: 46px; }
.cart-empty + .btn { margin-top: 4px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; border: 2px solid var(--surface); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
