/* ══════════════════════════════════════════════
   WOSUX / LUXE — GLOBAL DESIGN TOKENS
   Combined stylesheet for navbar.css + hero.css
   Table of contents:
   00. FONTS + RESET + ROOT VARIABLES
   01. NAVBAR (desktop, mobile, mega menu, drawer, bottom bar)
   02. HERO (desktop slider)
   03. ACCESSIBILITY OVERRIDES (focus states, shared across sections)
══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500&display=swap');

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ─── UNIFIED ROOT VARIABLES ───
   Both source files defined --blue/--white/--ease identically;
   merged here once so there is a single source of truth. */
:root {
  /* Core neutrals */
  --black:        #0a0a0a;
  --black-soft:   #111111;
  --white:        #ffffff;
  --dark:         #08090c;
  --dark2:        #0d1018;
  --dark3:        #111318;
  --gray-100:     #f5f5f5;
  --gray-200:     #e0e0e0;
  --gray-400:     #9e9e9e;
  --gray-600:     #616161;
  --gray-700:     #424242;

  /* Accent */
  --blue:         #63b3ed;
  --blue-dim:     rgba(99, 179, 237, 0.10);
  --blue-glow:    rgba(99, 179, 237, 0.22);
  --blue-border:  rgba(99, 179, 237, 0.25);

  /* Borders */
  --border-sub:   rgba(255, 255, 255, 0.06);
  --border-med:   rgba(255, 255, 255, 0.10);
  --border-hi:    rgba(255, 255, 255, 0.18);
  --card-border:  rgba(255, 255, 255, 0.07);

  /* Text */
  --text-muted:   rgba(255, 255, 255, 0.42);
  --text-mid:     rgba(255, 255, 255, 0.65);

  /* Type */
  --font-display: 'Cormorant Garamond', serif;
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font:         var(--font-ui);

  /* Motion */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --slide-dur:    0.85s;
}

html, body { background: var(--white); }
body { font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }

/* ══════════════════════════════════
   01. NAVBAR
══════════════════════════════════ */
/* ══════════════════════════════════════════════
   LUXURY ECOMMERCE NAVBAR — CSS
   Colors: black, white, gray, #63b3ed
   Fonts: Cormorant Garamond (logo) + Inter (UI)
══════════════════════════════════════════════ */


/* ══════════════════════════════════
   DESKTOP NAVBAR
══════════════════════════════════ */
.desktop-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 1px solid var(--border-sub);
  font-family: var(--font-ui);
}

/* ─── TOP ROW ─── */
.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  height: 68px;
  border-bottom: 1px solid var(--border-sub);
}

/* ─── LOGO ─── */
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--blue); }

/* ─── SEARCH WRAPPER ─── */
.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 560px;
  min-width: 260px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-med);
  border-radius: 3px;
  height: 42px;
  padding: 0 0 0 14px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.search-bar:focus-within {
  border-color: var(--blue);
  background: rgba(99,179,237,0.04);
  box-shadow: 0 0 0 3px var(--blue-dim), 0 2px 16px rgba(99,179,237,0.08);
}

.icon-search {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--gray-600);
  transition: color 0.3s;
}
.icon-search svg { width: 17px; height: 17px; display: block; }
.search-bar:focus-within .icon-search { color: var(--blue); }

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 0 10px;
  min-width: 0;
}
.search-bar input::placeholder { color: var(--gray-600); }

/* clear button */
.search-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
}
.search-clear-btn svg { width: 14px; height: 14px; }
.search-clear-btn.visible { opacity: 1; pointer-events: all; }
.search-clear-btn:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* camera button */
.search-camera-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-left: 1px solid var(--border-med);
  cursor: pointer;
  color: var(--gray-600);
  width: 40px;
  height: 100%;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}
.search-camera-btn svg { width: 16px; height: 16px; }
.search-camera-btn:hover { color: var(--blue); background: var(--blue-dim); }

/* submit button */
.search-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  border: none;
  cursor: pointer;
  color: #000;
  width: 46px;
  height: 100%;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), transform 0.15s;
}
.search-submit-btn svg { width: 16px; height: 16px; }
.search-submit-btn:hover { background: #8ecff5; }
.search-submit-btn:active { transform: scale(0.96); }

/* ─── SEARCH DROPDOWN ─── */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #131313;
  border: 1px solid var(--border-med);
  border-radius: 4px;
  padding: 18px 0 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 999;
}
.search-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.search-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.search-dropdown-section {
  padding: 0 18px 14px;
}
.search-dropdown-section + .search-dropdown-section {
  border-top: 1px solid var(--border-sub);
  padding-top: 14px;
}

.search-dropdown-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clear-recent-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.05em;
  padding: 0;
  transition: color 0.2s;
}
.clear-recent-btn:hover { color: #8ecff5; }

/* Tags */
.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.search-tag {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-med);
  border-radius: 2px;
  padding: 5px 12px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.search-tag:hover {
  color: var(--blue);
  background: var(--blue-dim);
  border-color: rgba(99,179,237,0.3);
}

/* Recent list */
.search-recent-list,
.search-suggestions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.search-recent-list li,
.search-suggestions-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  letter-spacing: 0.03em;
}
.search-recent-list li:hover,
.search-suggestions-list li:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
}
.search-recent-list li svg,
.search-suggestions-list li svg {
  width: 13px; height: 13px;
  color: var(--gray-600);
  flex-shrink: 0;
}
.search-recent-list li em {
  font-style: normal;
  color: var(--blue);
}

/* ─── NAV ICONS ─── */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-icon-btn svg { width: 19px; height: 19px; display: block; }
.nav-icon-btn:hover { background: var(--blue-dim); color: var(--blue); }

.nav-badge {
  position: absolute;
  top: 5px; right: 5px;
  width: 15px; height: 15px;
  background: var(--blue);
  border-radius: 50%;
  font-size: 8px;
  color: #000;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  pointer-events: none;
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border-med);
  margin: 0;
}

/* ─── CART PREVIEW ─── */
.cart-wrapper {
  position: relative;
}

.cart-preview {
  position: absolute;
  top: calc(100% + 14px);
  right: -8px;
  width: 340px;
  max-height: 520px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-ui);
}
.cart-preview::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
  background: transparent;
}
.cart-preview::after {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px; height: 12px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

.cart-wrapper:hover .cart-preview,
.cart-preview.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ─── ACCOUNT PREVIEW ─── */
.account-wrapper {
  position: relative;
}

.account-preview {
  position: absolute;
  top: calc(100% + 14px);
  right: -8px;
  width: 220px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 998;
  overflow: hidden;
  font-family: var(--font-ui);
}
.account-preview::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
  background: transparent;
}
.account-preview::after {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px; height: 12px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

.account-wrapper:hover .account-preview,
.account-preview.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-preview-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.account-preview-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.account-preview-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--gray-600);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.account-preview-list li a i { font-size: 15px; }
.account-preview-list li a:hover {
  background: var(--gray-100);
  color: var(--black);
}

.cart-preview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.cart-preview-count {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-600);
}

.cart-preview-list {
  overflow-y: auto;
  max-height: 300px;
  padding: 6px 0;
}
.cart-preview-list::-webkit-scrollbar { width: 5px; }
.cart-preview-list::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

.cart-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 18px;
  position: relative;
  transition: background 0.15s;
}
.cart-preview-item:hover { background: var(--gray-100); }
.cart-preview-item.removed { display: none; }

/* checkbox */
.cart-check {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-top: 6px;
  flex-shrink: 0;
  cursor: pointer;
}
.cart-check input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.cart-check-mark {
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--black);
  background: var(--black);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.cart-check-mark::after {
  content: '';
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0;
  transition: opacity 0.1s;
}
.cart-check input:checked + .cart-check-mark {
  background: var(--black);
  border-color: var(--black);
}
.cart-check input:checked + .cart-check-mark::after { opacity: 1; }
.cart-check input:not(:checked) + .cart-check-mark {
  background: var(--white);
}

/* thumbnail */
.cart-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
.cart-item-thumb svg { width: 24px; height: 24px; }
.thumb-1 { background: linear-gradient(140deg, #0a0a0a, #424242); }
.thumb-2 { background: linear-gradient(140deg, #185fa5, #63b3ed); }
.thumb-3 { background: linear-gradient(140deg, #e0e0e0, #9e9e9e); color: rgba(0,0,0,0.55); }

/* item info */
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-variant {
  font-size: 11px;
  color: var(--gray-600);
  margin-top: 2px;
}
.cart-item-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
  background: var(--blue-glow);
  padding: 2px 6px;
  border-radius: 2px;
  margin-top: 4px;
}
.cart-item-tag.price-drop { color: var(--gray-700); background: var(--gray-100); }

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  gap: 8px;
}
.cart-item-price {
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-now {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}
.price-off {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--black);
  background: var(--blue-glow);
  padding: 1px 5px;
  border-radius: 2px;
}

/* qty */
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.qty-btn {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1;
  transition: background 0.15s;
}
.qty-btn:hover { background: var(--blue-dim); color: var(--black); }
.qty-val {
  min-width: 22px;
  text-align: center;
  font-size: 11.5px;
  color: var(--black);
  font-weight: 500;
}

.cart-item-remove {
  position: absolute;
  top: 10px;
  right: 16px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
}
.cart-item-remove svg { width: 14px; height: 14px; }
.cart-preview-item:hover .cart-item-remove { opacity: 1; }
.cart-item-remove:hover { color: var(--black); }

.cart-preview-shipping {
  font-size: 11px;
  color: var(--gray-700);
  background: var(--blue-dim);
  padding: 9px 18px;
  border-top: 1px dashed var(--gray-200);
  border-bottom: 1px dashed var(--gray-200);
  flex-shrink: 0;
}

.cart-preview-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px 18px;
  flex-shrink: 0;
}
.cart-check-all {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  margin-top: 0;
  font-size: 12px;
  color: var(--gray-700);
}
.cart-preview-totals {
  text-align: right;
}
.cart-preview-row {
  font-size: 11px;
  color: var(--gray-600);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 3px;
}
.cart-preview-row.saved span:last-child { color: var(--blue); }
.cart-preview-row.total {
  margin-top: 2px;
  margin-bottom: 0;
}
.cart-preview-row.total span:first-child {
  font-size: 12px;
  color: var(--black);
}
.cart-preview-row.total span:last-child {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
}

.cart-preview-viewbtn {
  margin: 0 18px 16px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s var(--ease);
}
.cart-preview-viewbtn:hover { background: #2a2a2a; }

.cart-preview-empty {
  padding: 40px 18px;
  text-align: center;
  color: var(--gray-600);
  font-size: 12.5px;
}

@media (max-width: 960px) {
  .cart-preview { width: 300px; right: -4px; }
}

/* ─── CATEGORY STRIP ─── */
.nav-categories {
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
  border-top: 1px solid var(--border-sub);
  transition: height 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav-categories::-webkit-scrollbar { display: none; }

/* Slid up out of view on scroll-down; height collapses so content
   below reflows up smoothly instead of leaving a gap. */
.nav-categories--hidden {
  height: 0;
  overflow: hidden;
  border-top-color: transparent;
}

.nav-cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 15px;
  height: 100%;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.nav-cat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 15px; right: 15px;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav-cat:hover { color: var(--white); }
.nav-cat:hover::after { transform: scaleX(1); }
.nav-cat.active { color: var(--white); }
.nav-cat.active::after { transform: scaleX(1); }
.nav-cat.sale { color: var(--blue); }
.nav-cat.sale:hover { color: #8ecff5; }

.nav-cat.has-dropdown { gap: 5px; }
.nav-cat .chevron { width: 11px; height: 11px; transition: transform 0.25s var(--ease); }
.nav-cat.has-dropdown:hover .chevron,
.nav-cat.has-dropdown.menu-open .chevron { transform: rotate(180deg); }

/* Keeps a nav item's underline lit while the mega menu is open for it — matters once the
   cursor leaves the button and moves down into the panel, where :hover no longer applies. */
.nav-cat.menu-open { color: var(--white); }
.nav-cat.menu-open::after { transform: scaleX(1); }


/* ══════════════════════════════════
   MEGA MENU (Categories dropdown)
══════════════════════════════════ */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 28px 56px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-panel {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  height: 480px;
}

/* ─── Sidebar ─── */
.mega-sidebar {
  width: 236px;
  flex-shrink: 0;
  border-right: 1px solid rgba(0,0,0,0.08);
  padding: 12px 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.mega-sidebar::-webkit-scrollbar { width: 5px; }
.mega-sidebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 3px; }

.mega-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.82);
  cursor: pointer;
  position: relative;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.mega-sidebar-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform 0.2s var(--ease);
}
.mega-sidebar-item svg {
  width: 12px; height: 12px;
  opacity: 0.35;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.mega-sidebar-item:hover,
.mega-sidebar-item.active {
  background: rgba(99,179,237,0.08);
  color: #000;
}
.mega-sidebar-item.active { color: var(--blue); }
.mega-sidebar-item.active::before { transform: scaleY(1); }
.mega-sidebar-item:hover svg,
.mega-sidebar-item.active svg { opacity: 0.9; transform: translateX(2px); }

/* ─── Content ─── */
.mega-content {
  flex: 1;
  min-width: 0;
  padding: 30px 40px;
  display: flex;
  gap: 48px;
  overflow-y: auto;
  scrollbar-width: thin;
  animation: megaFadeIn 0.28s var(--ease);
}
.mega-content::-webkit-scrollbar { width: 5px; }
.mega-content::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 3px; }

@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mega-section { flex: 1; min-width: 0; }

.mega-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
}
.mega-section-title::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.mega-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 22px 12px;
}

.mega-sub-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-ui);
  padding: 0;
}

.mega-sub-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.72);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.mega-sub-icon svg { width: 21px; height: 21px; }
.mega-sub-icon.viewall { background: rgba(99,179,237,0.08); border-color: rgba(99,179,237,0.3); color: var(--blue); }

.mega-sub-item:hover .mega-sub-icon {
  border-color: var(--blue);
  background: var(--blue-dim);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(99,179,237,0.12);
}

.mega-sub-label {
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.82);
  line-height: 1.3;
  transition: color 0.2s;
}
.mega-sub-item:hover .mega-sub-label { color: #000; }

/* ─── Promo panel ─── */
.mega-promo {
  width: 240px;
  flex-shrink: 0;
  margin: 30px 32px 30px 0;
  border-radius: 6px;
  border: 1px solid var(--border-med);
  background: linear-gradient(155deg, #1c1c1c 0%, #0a0a0a 70%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}
.mega-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 12%, rgba(99,179,237,0.22), transparent 55%);
}
.mega-promo-tag {
  position: relative;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.mega-promo-title {
  position: relative;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 18px;
}
.mega-promo-btn {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: var(--blue);
  border: none;
  border-radius: 2px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.15s;
}
.mega-promo-btn:hover { background: #8ecff5; }
.mega-promo-btn:active { transform: scale(0.97); }
.mega-promo-btn svg { width: 12px; height: 12px; }

@media (max-width: 1200px) {
  .mega-promo { display: none; }
}
@media (max-width: 960px) {
  .mega-menu-panel { height: 440px; }
  .mega-sidebar { width: 190px; }
  .mega-content { padding: 24px; gap: 28px; }
  .mega-content { flex-direction: column; overflow-y: auto; }
}


/* ══════════════════════════════════
   MOBILE NAVBAR
══════════════════════════════════ */
.mobile-nav {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 1px solid var(--border-sub);
  font-family: var(--font-ui);
}

.mobile-topbar { padding: 10px 14px 0; }

.mobile-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
}

.mob-menu-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  flex-shrink: 0;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.mob-menu-btn svg { width: 22px; height: 22px; }
.mob-menu-btn:hover { color: var(--blue); background: var(--blue-dim); }

/* Mobile search pill */
.mob-search-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-med);
  border-radius: 999px;
  padding: 0 12px;
  height: 38px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  min-width: 0;
}
.mob-search-pill:focus-within {
  border-color: var(--blue);
  background: rgba(99,179,237,0.05);
  box-shadow: 0 0 0 3px var(--blue-dim);
}
.mob-search-pill svg:first-child {
  width: 15px; height: 15px;
  color: var(--gray-600);
  flex-shrink: 0;
  transition: color 0.2s;
}
.mob-search-pill:focus-within svg:first-child { color: var(--blue); }
.mob-search-pill input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 300;
  min-width: 0;
}
.mob-search-pill input::placeholder { color: var(--gray-600); }

.mob-camera-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  transition: color 0.2s, background 0.2s;
}
.mob-camera-btn svg { width: 15px; height: 15px; }
.mob-camera-btn:hover { color: var(--blue); }

.mob-icons {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.mob-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.mob-icon-btn svg { width: 20px; height: 20px; }
.mob-icon-btn:hover { color: var(--blue); background: var(--blue-dim); }
.mob-badge {
  position: absolute;
  top: 3px; right: 3px;
  width: 14px; height: 14px;
  background: var(--blue);
  border-radius: 50%;
  font-size: 8px;
  color: #000;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  pointer-events: none;
}

/* Category tabs (mobile) */
.mobile-cats {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--border-sub);
  padding: 0 2px;
}
.mobile-cats::-webkit-scrollbar { display: none; }

.mobile-cat {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 13px;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.mobile-cat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 13px; right: 13px;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.mobile-cat.active { color: var(--white); }
.mobile-cat.active::after { transform: scaleX(1); }
.mobile-cat:hover { color: rgba(255,255,255,0.8); }

/* Mobile search dropdown */
.mob-search-dropdown {
  background: #131313;
  border-bottom: 1px solid var(--border-med);
  padding: 16px 14px 12px;
  display: none;
}
.mob-search-dropdown.open { display: block; }


/* ══════════════════════════════════
   MOBILE DRAWER (multilevel categories)
══════════════════════════════════ */
body.mob-drawer-lock { overflow: hidden; }

.mob-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  font-family: var(--font-ui);
}
.mob-drawer.open { visibility: visible; pointer-events: auto; }

.mob-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mob-drawer.open .mob-drawer-backdrop { opacity: 1; }

.mob-drawer-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 86%;
  max-width: 380px;
  background: var(--black);
  border-right: 1px solid var(--border-med);
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.34s var(--ease);
  box-shadow: 12px 0 44px rgba(0,0,0,0.55);
  display: flex;
}
.mob-drawer.open .mob-drawer-panel { transform: translateX(0); }

/* Two "screens" side by side. Three states, controlled by a class on
   the track:
     (no class)   → root list alone, full width
     .level-1     → detail alone, full width
     .split       → back-arrow state: list + detail share the width
   Widths are animated directly (not a transform slide-reveal), because
   the split state needs the list to actually re-flow narrower — not
   show a clipped slice of its full-width self — and the same is true
   of the detail column when it gives up space back to the list. */
.mob-drawer-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.mob-drawer-screen {
  height: 100%;
  min-width: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  transition: width 0.32s var(--ease), opacity 0.28s var(--ease);
}

/* root alone (default) */
.mob-drawer-track > .mob-drawer-root   { width: 100%; opacity: 1; }
.mob-drawer-track > .mob-drawer-detail { width: 0%;   opacity: 0; border-left: 1px solid var(--border-med); }

/* detail alone */
.mob-drawer-track.level-1 > .mob-drawer-root   { width: 0%;   opacity: 0; }
.mob-drawer-track.level-1 > .mob-drawer-detail { width: 100%; opacity: 1; }

/* split — reached via the back arrow from the detail screen */
.mob-drawer-track.split > .mob-drawer-root   { width: 42%; opacity: 1; }
.mob-drawer-track.split > .mob-drawer-detail { width: 58%; opacity: 1; }

/* Compact list styling while sharing space in split mode, so long
   labels wrap cleanly instead of crowding the chevron. */
.mob-drawer-track.split .mob-drawer-row {
  padding: 12px 12px;
  gap: 6px;
}
.mob-drawer-track.split .mob-drawer-row-left { gap: 8px; }
.mob-drawer-track.split .mob-drawer-row-left span:last-child {
  font-size: 13px;
  line-height: 1.25;
  white-space: normal;
}
.mob-drawer-track.split .mob-drawer-row-icon svg { width: 15px; height: 15px; }
.mob-drawer-track.split .mob-drawer-row > svg { width: 12px; height: 12px; }
.mob-drawer-track.split .mob-drawer-head { padding: 14px 12px 12px; }
.mob-drawer-track.split .mob-drawer-brand { font-size: 17px; }

/* ─── Header (shared) ─── */
.mob-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border-sub);
  flex-shrink: 0;
}
.mob-drawer-brand {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--white);
}
.mob-drawer-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.mob-drawer-close svg { width: 17px; height: 17px; }
.mob-drawer-close:hover { color: var(--blue); background: var(--blue-dim); }

.mob-drawer-head-detail { gap: 10px; }
.mob-drawer-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 500;
  padding: 4px 2px;
  min-width: 0;
}
.mob-drawer-back svg { width: 18px; height: 18px; color: rgba(255,255,255,0.6); flex-shrink: 0; }
.mob-drawer-back span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mob-drawer-back:hover span { color: var(--blue); }
.mob-drawer-back:hover svg { color: var(--blue); }

/* ─── Level 0 : root category list ─── */
.mob-drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
}
.mob-drawer-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 20px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-sub);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mob-drawer-row:active { background: rgba(255,255,255,0.05); }
.mob-drawer-row:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.mob-drawer-row svg { width: 15px; height: 15px; color: var(--gray-600); flex-shrink: 0; }
.mob-drawer-row-left { display: flex; align-items: center; gap: 12px; }
.mob-drawer-row-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mob-drawer-row-icon svg { width: 18px; height: 18px; color: rgba(255,255,255,0.55); }
.mob-drawer-row.sale-item .mob-drawer-row-left span:last-child { color: #ef6a6a; font-weight: 500; }
.mob-drawer-row.sale-item .mob-drawer-row-icon svg { color: #ef6a6a; }
.mob-drawer-row.active .mob-drawer-row-left span:last-child { color: var(--blue); font-weight: 500; }
.mob-drawer-row.active .mob-drawer-row-icon svg { color: var(--blue); }

.mob-drawer-foot {
  display: flex;
  border-top: 1px solid var(--border-med);
  flex-shrink: 0;
  padding: 4px max(6px, env(safe-area-inset-bottom)) 4px 6px;
}
.mob-drawer-foot-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 12px 4px;
  font-family: var(--font-ui);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.mob-drawer-foot-item svg { width: 19px; height: 19px; }
.mob-drawer-foot-item:hover { color: var(--blue); background: var(--blue-dim); }

/* ─── Level 1 : sub-category detail ─── */
.mob-drawer-detail-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 18px 28px;
}
.mob-drawer-section + .mob-drawer-section { margin-top: 22px; }
.mob-drawer-section-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.mob-drawer-sub-list { display: flex; flex-direction: column; }
.mob-drawer-sub-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 4px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-sub);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-ui);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.mob-drawer-sub-row:last-child { border-bottom: none; }
.mob-drawer-sub-row:hover, .mob-drawer-sub-row:active { color: var(--white); background: rgba(255,255,255,0.03); }
.mob-drawer-sub-icon {
  width: 30px; height: 30px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.65);
}
.mob-drawer-sub-icon svg { width: 15px; height: 15px; }
.mob-drawer-sub-row.viewall .mob-drawer-sub-icon { background: var(--blue-dim); color: var(--blue); }
.mob-drawer-sub-row.viewall .mob-drawer-sub-label { color: var(--blue); font-weight: 500; }

/* Product picks grid — white circular product cards, like the reference "Picks for You" layout */
.mob-drawer-products-block { margin-top: 22px; }
.mob-drawer-products-grid {
  display: grid;
  /* minmax(0, 1fr) instead of 1fr keeps all 3 columns EXACTLY equal width —
     without the 0 minimum, a long label can force its column wider than the
     others (min-content blowout), which is what throws circles off-round. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 10px;
}
.mob-drawer-product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: center;
}
.mob-drawer-product-thumb {
  /* Size comes from the grid column itself (100% width), not a viewport
     unit — vw doesn't know the circle actually lives inside an 86%-wide,
     padded, 3-column drawer, which is what was pulling it into an oval.
     aspect-ratio keeps height locked to whatever width the column gives it. */
  width: 100%;
  max-width: 96px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-med);
  display: block;
  transition: border-color 0.2s, transform 0.15s;
}
.mob-drawer-product-item:hover .mob-drawer-product-thumb,
.mob-drawer-product-item:active .mob-drawer-product-thumb {
  border-color: var(--blue);
  transform: scale(0.97);
}
.mob-drawer-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.mob-drawer-product-label {
  width: 100%;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255,255,255,0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mob-drawer-product-item:hover .mob-drawer-product-label { color: var(--white); }

/* Extra breathing room on wider drawers/tablets — width: 100% above already
   keeps every circle perfectly 1:1 at any width, this just raises the cap. */
@media (min-width: 480px) {
  .mob-drawer-product-thumb { max-width: 104px; }
}

.mob-drawer-promo {
  margin-top: 24px;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(99,179,237,0.12), rgba(255,255,255,0.03));
  border: 1px solid var(--border-med);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.mob-drawer-promo-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.mob-drawer-promo-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
}
.mob-drawer-promo-btn {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #06202f;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}
.mob-drawer-promo-btn:hover { filter: brightness(1.08); }
.mob-drawer-promo-btn:active { transform: scale(0.97); }
.mob-drawer-promo-btn svg { width: 12px; height: 12px; }

@media (max-width: 340px) {
  .mob-drawer-panel { width: 92%; }
}


/* ══════════════════════════════════
   FIXED BOTTOM BAR
══════════════════════════════════ */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--black);
  border-top: 1px solid var(--border-med);
  padding: 6px 0 max(10px, env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-around;
  font-family: var(--font-ui);
}

.bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 18px;
  border-radius: 4px;
  position: relative;
  transition: background 0.2s;
}
.bottom-item:hover { background: rgba(99,179,237,0.06); }
.bottom-item svg {
  width: 23px; height: 23px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s, transform 0.2s;
  display: block;
}
.bottom-item span:not(.bottom-badge) {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.bottom-item:hover svg,
.bottom-item.active svg { color: var(--blue); }
.bottom-item:hover span:not(.bottom-badge),
.bottom-item.active span:not(.bottom-badge) { color: var(--blue); }
.bottom-item:hover svg { transform: translateY(-1px); }

.bottom-badge {
  position: absolute;
  top: 2px; right: 10px;
  min-width: 15px; height: 15px;
  background: var(--blue);
  border-radius: 999px;
  font-size: 8px;
  color: #000;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  font-family: var(--font-ui);
  pointer-events: none;
}

.trends-dot {
  position: absolute;
  top: 3px; right: 12px;
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
}


/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-nav  { display: block; }
  .bottom-bar  { display: flex; }

  body { padding-bottom: 70px; }
}

@media (max-width: 960px) and (min-width: 769px) {
  .nav-top { padding: 0 20px; }
  .nav-categories { padding: 0 20px; }
  .search-wrapper { max-width: 380px; }
}

@media (max-width: 365px) {
  .bottom-item[data-label="Category"],
  .bottom-item[data-label="Trends"] {
    display: none;
  }

  .bottom-item {
    padding: 5px 0;
    flex: 1;
  }
}


/* ══════════════════════════════════
   02. HERO — DESKTOP SLIDER
══════════════════════════════════ */
/* ============================================================
   WOSUX — HERO SECTION CSS
   Table of contents:
   01. CSS VARIABLES
   02. HERO WRAPPER
   03. SLIDES  (slide-1 / slide-2 backgrounds)
   04. SLIDE INNER CONTAINER
   05. SLIDE 1 — Collection Showcase
   06. SLIDE 2 — Trend Drop
   08. SLIDE COUNTER
   09. NAV DOTS
   10. PROGRESS BAR
   11. ARROW CONTROLS
   12. RESPONSIVE — TABLET & MOBILE
   15. REDUCED-MOTION OVERRIDE
============================================================ */


/* ── 02. HERO WRAPPER ───────────────────────────────────── */
/*  Floating rounded card, inset from the page edges on a light
    background — width 100% → calc(100% - 48px) + centered margin  */
.hero {
  position: relative;
  width: calc(100% - 120px);
  max-width: 1440px;
  height: 450px;
  margin: 20px auto 0;
  border-radius: 28px;
  background: var(--dark);
  overflow: hidden;
}

/* height is overridden to auto below 1024px — see RESPONSIVE section */

/* ── 03. SLIDES ─────────────────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--slide-dur) var(--ease);
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

/* Ambient gradient per slide */
.slide-1 { background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(99,179,237,0.06) 0%, transparent 70%), linear-gradient(135deg, #08090c 0%, #0c0e14 100%); }
.slide-2 { background: radial-gradient(ellipse 50% 70% at 20% 50%, rgba(99,179,237,0.05) 0%, transparent 70%), linear-gradient(135deg, #070a0d 0%, #0a0d13 100%); }

/* ── 04. SLIDE INNER CONTAINER ──────────────────────────── */
.slide-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* ── 05. SLIDE 1 — Collection Showcase ─────────────────── */
/*  grid: 380px → 360px left col; gap: 48px → 36px  */
.s1-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: center;
}

/* remove top breathing room — hero is now 450px */
.s1-content { padding: 0; }

/* Live badge — tighten padding + bottom margin */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 10px;         /* ↓ 18px → 10px */
}

/* Glowing live dot */
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px rgba(99, 179, 237, 0.7);   /* ← new glow */
  animation: livepulse 2s infinite;
}

@keyframes livepulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Title — 42px → 36px; bottom margin 14px → 8px */
.hero-title {
  font-size: clamp(24px, 5.2vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-title em {
  font-style: normal;
  color: var(--blue);
}

/* Sub — tighter line-height and bottom margin */
.hero-sub {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 320px;
  margin-bottom: 14px;         /* ↓ 28px → 14px */
}

/* CTA row — bottom margin 28px → 14px */
.cta-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }

/* Primary button — slightly shorter + glow shadow */
.btn-prim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 11px 22px;          /* ↓ 13px → 11px vertical */
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 16px rgba(99, 179, 237, 0.2);   /* ← resting glow */
}
.btn-prim:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99, 179, 237, 0.45);  /* ← hover glow lifts */
}
.btn-prim .ico { transition: transform 0.22s var(--ease); }
.btn-prim:hover .ico { transform: translateX(3px); }

/* Ghost button — match slightly shorter padding */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 600;
  padding: 11px 18px;          /* ↓ 13px → 11px vertical */
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: color 0.22s, border-color 0.22s, transform 0.22s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.3); transform: translateY(-1px); }

/* Trust row — tighter gap */
.trust-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}
.trust-item i { color: var(--blue); font-size: 11px; }

/* Card grid — gap 10px → 8px; height 400px → 330px */
.card-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 330px;               /* ↓ 400px → 330px */
}

.pcard {
  position: relative;
  border-radius: 18px;         /* 20px → 18px */
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--dark3);
  cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--blue-border);
  box-shadow: 0 12px 32px rgba(99, 179, 237, 0.09);  /* ← card lift glow */
}
.pcard.tall { grid-row: 1 / 3; }

.pcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
  display: block;
}
.pcard:hover img { transform: scale(1.07); }

.pcard-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  z-index: 2;
}

.pcard-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 12px 12px;    /* ↓ 20px 14px 14px → 18px 12px 12px */
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
  z-index: 2;
}
.pcard-name  { color: var(--white); font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.pcard-price {
  display: inline-block;
  background: var(--white);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── 06. SLIDE 2 — Trend Drop ───────────────────────────── */
/*  gap: 48px → 36px  */
.s2-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 36px;
  align-items: center;
}

.s2-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-mid);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 10px;         /* ↓ 18px → 10px */
}

/* Title — 52px → 42px; margin 14px → 8px */
.s2-title {
  font-size: clamp(24px, 7vw, 42px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.s2-title .accent { color: var(--blue); }

/* Cards — gap 10px → 8px; height 360px → 300px */
.s2-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 300px;               /* ↓ 360px → 300px */
}

.s2card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--dark3);
  cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.s2card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 179, 237, 0.4);
  box-shadow: 0 14px 36px rgba(99, 179, 237, 0.1);
}
.s2card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  display: block;
}
.s2card:hover img { transform: scale(1.07); }

.s2card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(99, 179, 237, 0.88);
  color: #000;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  z-index: 2;
}

.s2card-foot {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  z-index: 2;
}
.s2card-name  { color: var(--white); font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.s2card-price {
  display: inline-block;
  background: var(--white);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── 08. SLIDE COUNTER ──────────────────────────────────── */
.slide-counter {
  position: absolute;
  top: 20px;                   /* ↓ 24px → 20px */
  right: 40px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.12em;
  z-index: 50;
  transition: color 0.4s;
}

/* ── 09. NAV DOTS ───────────────────────────────────────── */
/* Now a static row that sits below the hero card, on the white
   page background — dot colors switched from white-on-dark to
   gray-on-light accordingly. */
.hero-dots-wrap {
  display: none;
  justify-content: center;
  padding: 12px 0 2px;
}

.nav-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  box-sizing: content-box;     /* padding must add to size, not eat into it */
  height: 6px;
  width: 6px;
  padding: 11px;                /* invisible tap-area padding, keeps thumb targets ≥ 25px tall */
  background: var(--gray-200);
  background-clip: content-box;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  opacity: 0.55;
  transition: background 0.45s var(--ease), width 0.45s var(--ease),
              opacity 0.45s var(--ease), box-shadow 0.45s var(--ease),
              transform 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.dot:hover:not(.active) {
  background: var(--gray-400);
  opacity: 0.85;
  transform: scale(1.15);
}
.dot.active {
  background: var(--blue);
  width: 20px;
  border-radius: 3px;
  opacity: 1;
  box-shadow: 0 0 10px var(--blue-glow);
}

/* ── 10. PROGRESS BAR ───────────────────────────────────── */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  width: 0%;
  z-index: 50;
  transition: width linear;
  opacity: 0.75;               /* ↑ 0.5 → 0.75  (more visible) */
}

/* ── 11. ARROW CONTROLS ─────────────────────────────────── */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;                 /* ↓ 40px → 36px */
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, opacity 0.25s;
  opacity: 0;
}
.hero:hover .slide-arrow          { opacity: 1; }
.slide-arrow:hover                { background: rgba(99,179,237,0.15); border-color: rgba(99,179,237,0.4); }
.slide-arrow.prev                 { left: 16px; }   /* ↓ 20px → 16px */
.slide-arrow.next                 { right: 16px; }
.slide-arrow.prev:hover           { transform: translateY(-50%) translateX(-2px); }
.slide-arrow.next:hover           { transform: translateY(-50%) translateX(2px); }
.slide-arrow svg                  { width: 13px; height: 13px; display: block; }

/* Trust-row + trend icons — inline SVG replacing the Font Awesome
   classes the original markup referenced without ever loading the
   Font Awesome stylesheet (they would have rendered as blank space).
   Sized/colored to match the rest of the icon system already used
   in the navbar. */
.trust-icon, .trend-icon {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  flex-shrink: 0;
}
.trust-icon svg { width: 12px; height: 12px; }
.trend-icon svg { width: 13px; height: 13px; }

/* ── 12. RESPONSIVE — TABLET & MOBILE ──────────────────── */
/* Below 1024px the crossfade-slider becomes a flow-height slider:
   only the .active slide is in document flow, so .hero's height
   is always exactly as tall as its current slide needs — nothing
   gets cropped, no matter how much copy or how many cards a slide has. */
@media (max-width: 1024px) {
  .hero {
    width: calc(100% - 24px);
    height: auto;
    margin-top: 14px;
    border-radius: 20px;
    overflow: visible;
  }

  .slide {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    display: none;
    transition: none;
  }
  .slide.active { display: flex; }

  /* Mobile shows a single, fixed slide — no sliding between slide 1 and 2 */
  .slide-1 { display: none !important; }
  .slide-2 { display: flex !important; }
  .slide-counter, .progress-bar { display: none !important; }
  .hero-dots-wrap { display: none !important; }

  .slide-inner  { padding: 0 24px; }
  .s1-content   { padding: 28px 0 24px; }
  .s1-layout    { grid-template-columns: 1fr; gap: 24px; }
  .s2-layout    { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 24px; }

  .hero-sub     { max-width: 100%; }
  .card-grid    { height: 260px; margin-bottom: 4px; }
  .s2-cards     { height: 220px; margin-bottom: 4px; }

  .slide-counter { right: 24px; }
  .slide-arrow    { display: none; }

  .progress-bar { opacity: 0.5; }

  /* Comfortable thumb targets */
  .btn-prim, .btn-ghost { padding: 13px 22px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

  /* Mobile type — tuned for a native ecommerce-app feel: eyebrow
     stays small and wide-tracked, headline gets breathing room
     instead of the tight desktop line-height, body copy sizes up
     one notch for on-the-go legibility, product text on cards
     reads clearly at thumb distance. */
  .s2-label, .live-badge { font-size: 11px; letter-spacing: 0.1em; }
  .s2-title { line-height: 1.05; }
  .hero-sub { font-size: 14.5px; line-height: 1.6; color: var(--text-mid); }
  .btn-prim, .btn-ghost { font-size: 13px; letter-spacing: 0.03em; }

  .s2card-foot { padding: 14px 10px 10px; }
  .s2card-cat  { font-size: 9px; padding: 4px 10px; }
  .s2card-name { font-size: 13px; margin-bottom: 5px; }
  .s2card-price { font-size: 12px; padding: 4px 11px; }
}

@media (max-width: 640px) {
  .hero {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }
  .s1-content   { padding-top: 20px; }
  .card-grid    { grid-template-columns: 1fr 1fr; height: 210px; }
  .s2-cards     { grid-template-columns: 1fr 1fr; }
  .s2-cards .s2card:last-child { display: none; }
  .cta-group    { flex-direction: column; align-items: stretch; }
  .cta-group .btn-prim,
  .cta-group .btn-ghost { justify-content: center; }
  .trust-row    { gap: 14px; }
}

/* Small phones — single-column product cards read far better
   than two cramped columns at this width */
@media (max-width: 420px) {
  .slide-inner  { padding: 0 18px; }
  .card-grid    {
    grid-template-columns: 1fr;
    grid-template-rows: 170px 110px 110px;
    height: auto;
    gap: 8px;
  }
  .pcard.tall   { grid-row: auto; }
  .s2-cards     { height: 190px; }
  .trust-row    { gap: 10px 16px; }
  .trust-item   { font-size: 10px; }
}

/* ── 15. REDUCED-MOTION OVERRIDE ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .slide, .pcard, .pcard img,
  .s2card, .s2card img,
  .btn-prim, .btn-ghost, .live-dot {
    transition: none !important;
    animation: none !important;
  }
}


/* ══════════════════════════════════
   03. SHARED ACCESSIBILITY OVERRIDES
══════════════════════════════════ */

/* The hero listens for ArrowLeft/ArrowRight, which only fires once the
   section itself can hold keyboard focus (tabindex="0" is set on #hero
   in the HTML). This makes that focus state visible instead of silent. */
.hero:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.hero:focus:not(:focus-visible) {
  outline: none;
}

.slide-arrow:focus-visible,
.dot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}


/* ══════════════════════════════════
   04. CATEGORY CAROUSEL (below hero)
   Namespaced with a --c- variable prefix so it can't collide
   with the navbar/hero tokens above; heading intentionally
   omitted per spec — carousel drops straight into the section.
══════════════════════════════════ */

  /* =========================================================
     DESIGN TOKENS
     Single source of truth — change a value here and the
     whole section follows. Built around black / white / gray
     with #63b3ed as the one accent.
     ========================================================= */
  :root{
    --c-white:        #ffffff;
    --c-black:        #0a0a0c;
    --c-gray-50:      #f6f7f8;
    --c-gray-100:     #edeff1;
    --c-gray-200:     #e2e5e9;
    --c-gray-300:     #d1d5db;
    --c-gray-500:     #6b7280;
    --c-gray-700:     #3a3f47;

    --c-accent:       #63b3ed; /* brand accent — used decoratively */
    --c-accent-strong:#2563a6; /* darker derivative — used for text/icon contrast */

    --ease-premium:   cubic-bezier(.16,1,.3,1);
    --ease-soft:      cubic-bezier(.22,.61,.36,1);
  }

  *{ box-sizing:border-box; }

/* ===========================================================
     CATEGORY SECTION
     (transparent — sits directly on the dark page background,
     no heading, no card wrapper)
     =========================================================== */
  .cat-section{
    width:min(1280px, 94vw);
    margin:0 auto;
    padding:clamp(28px,4vw,52px) 0;
  }

  .cat-shell{
    --item-w: clamp(74px, 8.4vw, 104px);
    position:relative;
    padding:4px 0;
  }

/* ---------- Viewport / track ---------- */
  .cat-viewport{ position:relative; }

  /*
   * cat-track-outer: clips the content, handles touch/pointer events.
   * Extra top padding (+ matching negative margin) keeps the hover
   * lift/scale on avatars from being clipped by overflow:hidden.
   */
  .cat-track-outer{
    overflow:hidden;
    padding:20px 4px 8px;
    margin:-16px -4px 0;
    cursor:grab;
    -webkit-user-select:none;
    user-select:none;
    position:relative;
  }
  .cat-track-outer:active{ cursor:grabbing; }
  .cat-track-outer:focus-visible{
    outline:2px solid var(--c-accent);
    outline-offset:8px;
    border-radius:18px;
  }

  .cat-track{
    display:grid;
    grid-auto-flow:column;
    grid-template-rows:repeat(2, auto);
    grid-auto-columns:var(--item-w);
    column-gap:clamp(16px,2.4vw,30px);
    row-gap:clamp(24px,3vw,38px);
    will-change:transform;
    transform:translateX(0);
    touch-action:none;        /* JS owns pointer events for drag */
  }

  .cat-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    background:none;
    border:none;
    padding:0;
    margin:0;
    cursor:pointer;
    font-family:inherit;
    -webkit-tap-highlight-color:transparent;
    opacity:0;
    transform:translateY(16px);
    transition:opacity .6s var(--ease-premium), transform .6s var(--ease-premium);
    transition-delay:calc(var(--i, 0) * 38ms);
  }
  .cat-shell.is-visible .cat-item{ opacity:1; transform:none; }

  .cat-avatar{
    position:relative;
    width:var(--item-w);
    height:calc(var(--item-w) * 1.27);
    border-radius:44%;
    background:radial-gradient(circle at 32% 26%, #fcfdfd 0%, var(--c-gray-100) 75%);
    border:1px solid rgba(10,10,12,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--c-gray-700);
    overflow:hidden;
    transition:transform .5s var(--ease-premium),
               box-shadow .5s var(--ease-premium),
               border-color .5s var(--ease-premium),
               color .45s var(--ease-premium);
  }
  .cat-avatar svg{ width:36%; height:36%; overflow:visible; }
  .cat-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    filter:saturate(.88) brightness(1.01);
    transform:scale(1);
    transition:transform .6s var(--ease-premium), filter .5s var(--ease-premium);
  }
  .cat-item:hover .cat-avatar img,
  .cat-item:focus-visible .cat-avatar img{
    transform:scale(1.08);
    filter:saturate(1.08) brightness(1.03);
  }
  .cat-avatar::after{
    content:'';
    position:absolute;
    inset:-1px;
    border-radius:44%;
    background:radial-gradient(circle at 32% 26%, rgba(99,179,237,.38), transparent 62%);
    opacity:0;
    transition:opacity .5s var(--ease-premium);
  }
  .cat-item:hover .cat-avatar,
  .cat-item:focus-visible .cat-avatar{
    transform:translateY(-6px) scale(1.045);
    box-shadow:0 20px 30px -16px rgba(0,0,0,.55), 0 0 0 1px rgba(99,179,237,.55);
    border-color:rgba(99,179,237,.6);
    color:var(--c-accent-strong);
  }
  .cat-item:hover .cat-avatar::after,
  .cat-item:focus-visible .cat-avatar::after{ opacity:1; }
  .cat-item:active .cat-avatar{ transform:translateY(-2px) scale(.975); }
  .cat-item:focus-visible{ outline:none; }

  .cat-label{
    margin-top:13px;
    max-width:calc(var(--item-w) + 18px);
    font-size:13.5px;
    font-weight:500;
    letter-spacing:-.01em;
    line-height:1.3;
    color:var(--c-black);
    text-align:center;
    transition:color .4s var(--ease-premium);
  }
  .cat-item:hover .cat-label,
  .cat-item:focus-visible .cat-label{ color:var(--c-accent-strong); }

  /* ---------- Edge fades (signal: there is more) ---------- */
  .cat-fade{
    position:absolute;
    top:0; bottom:10px;
    width:clamp(26px,6vw,84px);
    pointer-events:none;
    z-index:2;
    opacity:0;
    transition:opacity .4s var(--ease-soft);
  }
  .cat-fade--left{  left:0;  background:linear-gradient(to right, var(--white), rgba(255,255,255,0)); }
  .cat-fade--right{ right:0; background:linear-gradient(to left,  var(--white), rgba(255,255,255,0)); }

  /* ---------- Arrows ---------- */
  .cat-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:clamp(36px,4vw,46px);
    height:clamp(36px,4vw,46px);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(10px) saturate(160%);
    -webkit-backdrop-filter:blur(10px) saturate(160%);
    border:1px solid rgba(10,10,12,.09);
    box-shadow:0 12px 22px -12px rgba(0,0,0,.55);
    color:var(--c-black);
    cursor:pointer;
    z-index:3;
    transition:transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium),
               border-color .35s var(--ease-premium), opacity .35s var(--ease-premium);
  }
  .cat-arrow svg{ width:17px; height:17px; }
  .cat-arrow--prev{ left:clamp(-4px,-1vw,4px); }
  .cat-arrow--next{ right:clamp(-4px,-1vw,4px); }

  .cat-arrow:hover{
    transform:translateY(-50%) scale(1.08);
    border-color:rgba(99,179,237,.6);
    box-shadow:0 16px 26px -10px rgba(99,179,237,.45);
  }
  .cat-arrow:active{ transform:translateY(-50%) scale(.93); }
  .cat-arrow:focus-visible{ outline:2px solid var(--c-accent); outline-offset:3px; }

  .cat-arrow.is-disabled{
    opacity:.3;
    box-shadow:none;
    cursor:default;
    pointer-events:none;
  }

  /* ---------- Responsive ---------- */
  @media (max-width:480px){
    .cat-arrow{ box-shadow:0 8px 16px -10px rgba(0,0,0,.55); }
  }

  /* ---------- Reduced motion ---------- */
  @media (prefers-reduced-motion: reduce){
    .cat-item, .cat-avatar, .cat-arrow, .cat-fade{
      transition:none !important;
    }
    .cat-item{ opacity:1 !important; transform:none !important; }
  }

/* ==========================================================
   PRODUCT SECTIONS — Super Deals / Top Trends
   (scoped with ps- prefix + --ps- vars so nothing here can
   collide with existing site classes/variables)
   ========================================================== */

  :root {
    --ps-black: #0a0a0a;
    --ps-white: #ffffff;
    --ps-gray-50: #f7f7f7;
    --ps-gray-100: #efefef;
    --ps-gray-200: #e0e0e0;
    --ps-gray-300: #c0c0c0;
    --ps-gray-500: #757575;
    --ps-accent: #63b3ed;
    --ps-accent-dark: #3a8fd4;
    --ps-sale: #e53e3e;
    --ps-font-display: 'Cormorant Garamond', Georgia, serif;
    --ps-font-body: 'Inter', system-ui, sans-serif;
    --ps-radius-card: 8px;
    --ps-shadow-section: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
    --ps-shadow-hover: 0 8px 28px rgba(0,0,0,0.16);
    --ps-transition: 0.2s cubic-bezier(0.4,0,0.2,1);
  }

  /* ── Page wrapper ── */
  .ps-page-wrapper {
    font-family: var(--ps-font-body);
    background: transparent;
    color: var(--ps-black);
    -webkit-font-smoothing: antialiased;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 16px 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  @media (min-width: 1024px) {
    .ps-page-wrapper {
      flex-direction: row;
      align-items: stretch;
      gap: 20px;
    }
  }

  /* ── Section box ── */
  .ps-product-section {
    background: var(--ps-white);
    border-radius: 12px;
    padding: 18px 16px 16px;
    box-shadow: var(--ps-shadow-section);
    overflow: hidden;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  /* ── Section Header ── */
  .ps-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
    margin-bottom: 14px;
    gap: 10px;
  }

  /* Right side of header: timer/chips + ALL link, grouped together */
  .ps-header-right-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    min-width: 0;
  }

  .ps-section-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ps-section-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .ps-section-title {
    font-family: var(--ps-font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ps-black);
    line-height: 1;
  }

  .ps-section-title span { color: var(--ps-accent); }

  .ps-section-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(229,62,62,0.08);
    color: var(--ps-sale);
    border: 1px solid rgba(229,62,62,0.18);
    border-radius: 20px;
    padding: 3px 9px;
  }

  .ps-section-pill.trend {
    background: rgba(99,179,237,0.1);
    color: var(--ps-accent-dark);
    border-color: rgba(99,179,237,0.22);
  }

  .ps-live-dot {
    width: 5px;
    height: 5px;
    background: var(--ps-sale);
    border-radius: 50%;
    animation: blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
  }

  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }

  .ps-see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-accent-dark);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color var(--ps-transition);
  }
  .ps-see-all-btn svg { transition: transform var(--ps-transition); }
  .ps-see-all-btn:hover { color: var(--ps-black); }
  .ps-see-all-btn:hover svg { transform: translateX(3px); }

  /* Timer — compact inline badge, sits next to the ALL link in the header row */
  .ps-timer-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #0d0d0d 0%, #1c1c1c 100%);
    border-radius: 6px;
    flex-shrink: 0;
  }

  .ps-timer-label {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ps-gray-300);
    flex-shrink: 0;
  }

  .ps-timer-blocks { display: flex; align-items: center; gap: 2px; }

  .ps-timer-unit { display: flex; flex-direction: column; align-items: center; gap: 1px; }

  .ps-timer-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--ps-accent);
    min-width: 22px;
    text-align: center;
    background: rgba(99,179,237,0.1);
    border-radius: 3px;
    padding: 2px 3px;
    line-height: 1;
  }

  .ps-timer-sub {
    font-size: 6px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ps-gray-500);
  }

  .ps-timer-colon {
    font-size: 11px;
    font-weight: 700;
    color: var(--ps-gray-500);
    margin-top: -5px;
  }

  /* Chips — compact inline row, sits next to the ALL link in the header row */
  .ps-chips-row {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 260px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 1;
  }
  .ps-chips-row::-webkit-scrollbar { display: none; }

  .ps-chip {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 20px;
    border: 1px solid var(--ps-gray-200);
    background: var(--ps-white);
    color: var(--ps-gray-500);
    cursor: pointer;
    transition: all var(--ps-transition);
    white-space: nowrap;
    line-height: 1;
  }
  .ps-chip.active, .ps-chip:hover {
    background: var(--ps-black);
    color: var(--ps-white);
    border-color: var(--ps-black);
  }

  @media (max-width: 520px) {
    .ps-chips-row { max-width: 160px; }
    .ps-timer-label { display: none; }
  }

  /* ── Product rail ── */
  .ps-product-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 10px) / 2.5);
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
  }
  .ps-product-rail::-webkit-scrollbar { display: none; }

  /* ── Card: full image with overlay ── */
  .ps-product-card {
    scroll-snap-align: start;
    border-radius: var(--ps-radius-card);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--ps-gray-100);
    transition: transform var(--ps-transition), box-shadow var(--ps-transition);
  }

  .ps-product-card:hover { transform: translateY(-2px); box-shadow: var(--ps-shadow-hover); }
  .ps-product-card:active { transform: scale(0.98); }

  /* Full-cover image */
  .ps-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .ps-product-card:hover img { transform: scale(1.05); }

  /* Gradient scrim at bottom */
  .ps-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      transparent 40%,
      rgba(0,0,0,0.18) 65%,
      rgba(0,0,0,0.72) 100%
    );
    pointer-events: none;
  }

  /* Badge top-left */
  .ps-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 3px;
    line-height: 1.4;
    z-index: 2;
  }
  .ps-badge-sale { background: var(--ps-sale); color: #fff; }
  .ps-badge-new  { background: var(--ps-black); color: #fff; }
  .ps-badge-trend { background: var(--ps-accent); color: #fff; }

  /* Wishlist top-right */
  .wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.88);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background var(--ps-transition), transform var(--ps-transition);
    z-index: 2;
  }
  .wishlist-btn:hover { background: var(--ps-white); transform: scale(1.12); }
  .wishlist-btn.active svg path { fill: var(--ps-sale); stroke: var(--ps-sale); }
  .wishlist-btn svg { width: 13px; height: 13px; }

  /* Overlay info — bottom */
  .ps-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 10px 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .ps-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
  }

  .ps-price-current {
    font-family: var(--ps-font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--ps-white);
    line-height: 1;
  }

  .ps-price-original {
    font-size: 10px;
    color: rgba(255,255,255,0.55);
    text-decoration: line-through;
    line-height: 1;
  }

  .ps-price-off {
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: var(--ps-sale);
    padding: 2px 5px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }

  .ps-card-hashtag {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
  }

  /* ── Scroll dots ── */
  .ps-scroll-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
    flex-shrink: 0;
  }

  .ps-scroll-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ps-gray-200);
    transition: background var(--ps-transition), width var(--ps-transition);
    cursor: pointer;
  }
  .ps-scroll-dot.active {
    background: var(--ps-accent);
    width: 16px;
    border-radius: 3px;
  }

/* ══════════════════════════════════════════════
   04. FOR YOU — PRODUCT GRID SECTION (Wosux)
══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
  --clr-black:       #0a0a0a;
  --clr-dark:        #1a1a1a;
  --clr-gray-800:    #2d2d2d;
  --clr-gray-600:    #4a4a4a;
  --clr-gray-400:    #888888;
  --clr-gray-200:    #d4d4d4;
  --clr-gray-100:    #f2f2f2;
  --clr-white:       #ffffff;
  --clr-accent:      #63b3ed;
  --clr-accent-dim:  rgba(99,179,237,0.12);
  --clr-accent-glow: rgba(99,179,237,0.25);
  --radius-card: 3px;
  --radius-pill: 30px;
  --radius-tag:  3px;
  --font: 'Inter', sans-serif;
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font); background: var(--clr-white); margin: 0; }

/* ═══════════════════════════════════════════════
   DIVIDER
═══════════════════════════════════════════════ */
.divider-container {
  display: flex; align-items: center;
  justify-content: center;
  width: 100%; padding: 24px 24px 8px; gap: 16px;
}
.divider-line {
  flex-grow: 1; height: 1px; max-width: 80px;
  background: linear-gradient(90deg, transparent, var(--clr-gray-200));
}
.divider-line:last-child {
  background: linear-gradient(90deg, var(--clr-gray-200), transparent);
}
.divider-text {
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clr-gray-400);
}

/* ═══════════════════════════════════════════════
   SECTION
═══════════════════════════════════════════════ */
.ws-products-grid-section {
  padding: 32px 16px 48px;
  background: var(--clr-white);
  max-width: 1280px;
  margin: 0 auto;
}
#ws-products-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 576px) {
  #ws-products-main-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  #ws-products-main-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  #ws-products-main-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1800px) {
  #ws-products-main-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 2000px) {
  #ws-products-main-grid { grid-template-columns: repeat(6, 1fr); }
}
#ws-products-main-grid > .col {
  width: auto;
}

/* ═══════════════════════════════════════════════
   CARD — entrance animation
═══════════════════════════════════════════════ */
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ws-products-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--radius-card);
  height: 100%;
  display: flex; flex-direction: column;
  position: relative; cursor: pointer; overflow: hidden;
  opacity: 0; /* hidden until JS animates in */
  transition:
    border-color  0.4s var(--ease-apple),
    box-shadow    0.4s var(--ease-apple),
    transform     0.4s var(--ease-apple);
}
.ws-products-card.ws-visible {
  animation: cardReveal 0.45s var(--ease-apple) forwards;
}
.ws-products-card:hover {
  border-color: var(--clr-gray-200);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.05);
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════
   IMAGE — dual crossfade
═══════════════════════════════════════════════ */
.ws-products-img-block {
  width: 100%; aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--clr-gray-100); position: relative;
}
.ws-products-img-block .img-primary,
.ws-products-img-block .img-hover {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.65s var(--ease-apple), transform 0.75s var(--ease-apple);
}
.img-primary { opacity: 1; transform: scale(1.0); z-index: 1; }
.img-hover   { opacity: 0; transform: scale(1.06); z-index: 2; }
.ws-products-card:hover .img-primary { opacity: 0; transform: scale(1.06); }
.ws-products-card:hover .img-hover   { opacity: 1; transform: scale(1.0); }

/* ═══════════════════════════════════════════════
   BADGE
═══════════════════════════════════════════════ */
@keyframes tagPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.ws-products-tag {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 5px 10px 5px 8px;
  border-radius: 2px;
  z-index: 5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* Dot before each tag label */
.ws-products-tag::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* HOT SALE — dark glass + accent pulse dot */
.tag-hot {
  background: rgba(8,8,8,0.86);
  color: var(--clr-accent);
  border: 1px solid rgba(99,179,237,0.25);
}
.tag-hot::before {
  background: var(--clr-accent);
  box-shadow: 0 0 0 2px rgba(99,179,237,0.25);
  animation: tagPulse 1.8s ease-in-out infinite;
}

/* NEW ARRIVAL — solid accent, black text, white dot */
.tag-new {
  background: var(--clr-accent);
  color: var(--clr-black);
  border: 1px solid transparent;
}
.tag-new::before {
  background: var(--clr-black);
  opacity: 0.5;
}

/* TRENDING — frosted white, dark text, gray dot */
.tag-trend {
  background: rgba(255,255,255,0.92);
  color: var(--clr-dark);
  border: 1px solid rgba(0,0,0,0.1);
}
.tag-trend::before {
  background: var(--clr-gray-400);
}

/* LIMITED — solid black, white text, accent dot */
.tag-limit {
  background: var(--clr-black);
  color: var(--clr-white);
  border: 1px solid rgba(255,255,255,0.1);
}
.tag-limit::before {
  background: var(--clr-accent);
  animation: tagPulse 2.2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.ws-products-footer {
  padding: 16px; display: flex; flex-direction: column;
  gap: 10px; flex: 1; background: var(--clr-white);
}
.ws-products-name {
  font-size: 13px; font-weight: 600; color: var(--clr-dark);
  margin: 0; letter-spacing: -0.01em; line-height: 1.3;
}
.ws-products-desc {
  font-size: 11px; color: var(--clr-gray-400);
  font-weight: 400; line-height: 1.5;
  white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.ws-products-bottom-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px; margin-top: auto;
}
.ws-products-price-block { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ws-products-sale-price  { font-size: 18px; font-weight: 700; color: var(--clr-dark); line-height: 1; letter-spacing: -0.02em; }
.ws-products-original-row { display: flex; align-items: center; gap: 6px; }
.ws-products-original-price { font-size: 11px; color: var(--clr-gray-400); text-decoration: line-through; }
.ws-products-saving-tag {
  display: inline-flex; align-items: center;
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em;
  padding: 2px 6px; border-radius: 2px;
  background: var(--clr-accent-dim); color: var(--clr-accent);
  border: 1px solid var(--clr-accent-glow); white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   CART BUTTON
═══════════════════════════════════════════════ */
.ws-products-cart-wrapper {
  display: flex; flex-direction: row-reverse; align-items: center;
  background: var(--clr-dark); color: var(--clr-white);
  border-radius: 2px; overflow: hidden;
  transition:
    max-width  0.55s var(--ease-apple),
    padding    0.55s var(--ease-apple),
    background 0.3s  var(--ease-apple);
  max-width: 38px; height: 38px; flex-shrink: 0;
}
.ws-products-cart-btn {
  width: 38px; height: 38px; display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 15px;
  transition: transform 0.3s var(--ease-apple), color 0.3s;
}
.ws-products-btn-text {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  white-space: nowrap; opacity: 0;
  transition: opacity 0.22s ease;
  text-transform: uppercase;
}
.ws-products-card:hover .ws-products-cart-wrapper {
  max-width: 160px; padding-left: 14px;
  background: var(--clr-black); color: var(--clr-white);
}
.ws-products-card:hover .ws-products-btn-text { opacity: 1; transition-delay: 0.18s; }
.ws-products-card:hover .ws-products-cart-btn { color: var(--clr-white); transform: rotate(-5deg) scale(1.05); }

/* ═══════════════════════════════════════════════
   SKELETON LOADER
═══════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.ws-skeleton {
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--radius-card);
  overflow: hidden; height: 100%;
}
.ws-skeleton-img {
  width: 100%; aspect-ratio: 4 / 5;
  background: linear-gradient(90deg,
    var(--clr-gray-100) 25%,
    #e8e8e8              50%,
    var(--clr-gray-100) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.3s infinite linear;
}
.ws-skeleton-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ws-skeleton-line {
  height: 10px; border-radius: 4px;
  background: linear-gradient(90deg,
    var(--clr-gray-100) 25%,
    #e8e8e8              50%,
    var(--clr-gray-100) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.3s infinite linear;
}
.ws-skeleton-line.w-60 { width: 60%; }
.ws-skeleton-line.w-40 { width: 40%; }
.ws-skeleton-line.w-80 { width: 80%; }
.ws-skeleton-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.ws-skeleton-price  { width: 70px;  height: 18px; border-radius: 4px;
  background: linear-gradient(90deg, var(--clr-gray-100) 25%, #e8e8e8 50%, var(--clr-gray-100) 75%);
  background-size: 600px 100%; animation: shimmer 1.3s infinite linear; }
.ws-skeleton-btn    { width: 38px; height: 38px; border-radius: 30px;
  background: linear-gradient(90deg, var(--clr-gray-100) 25%, #e8e8e8 50%, var(--clr-gray-100) 75%);
  background-size: 600px 100%; animation: shimmer 1.3s infinite linear; }

/* ═══════════════════════════════════════════════
   ERROR STATE
═══════════════════════════════════════════════ */
.ws-error-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 24px; gap: 12px; color: var(--clr-gray-400);
  text-align: center;
}
.ws-error-state i { font-size: 32px; color: var(--clr-gray-200); }
.ws-error-state p { margin: 0; font-size: 13px; }
.ws-error-state button {
  margin-top: 8px; padding: 10px 24px;
  background: var(--clr-dark); color: var(--clr-white);
  border: none; border-radius: 2px;
  font-family: var(--font); font-size: 11px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
}
.ws-error-state button:hover { background: var(--clr-accent); color: var(--clr-black); }

/* ═══════════════════════════════════════════════
   SEE MORE BUTTON
═══════════════════════════════════════════════ */
.center-wrapper {
  display: flex; justify-content: center;
  align-items: center; padding: 32px 24px 48px;
  background: var(--clr-white);
}
.view-more-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-width: 180px; padding: 13px 28px;
  background: transparent; color: var(--clr-dark);
  border: 1.5px solid var(--clr-gray-200); border-radius: 2px;
  font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  position: relative; overflow: hidden;
  transition: border-color 0.3s var(--ease-apple), color 0.3s var(--ease-apple);
}
.view-more-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--clr-accent); transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-apple); z-index: 0;
}
.view-more-btn:hover::before { transform: scaleX(1); }
.view-more-btn:hover { border-color: var(--clr-accent); color: var(--clr-black); }
.view-more-btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.view-more-btn span, .view-more-btn svg { position: relative; z-index: 1; }
.chevron-icon { width: 13px; height: 13px; transition: transform 0.3s var(--ease-apple); }
.view-more-btn:hover .chevron-icon { transform: translateY(2px); }

/* Loading spinner inside "See More" */
.ws-spinner {
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  position: relative; z-index: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════
   UTILITY CLASSES (extracted from former inline styles)
═══════════════════════════════════════════════ */
.is-hidden {
  display: none !important;
}
.icon-cat-grid {
  width: 13px;
  height: 13px;
  margin-right: 5px;
}
.hero-sub--narrow {
  max-width: 280px;
}
.cta-group--spaced {
  margin-top: 24px;
}

/* ══════════════════════════════════════════════
   VIEW TRANSITIONS — Phase 5B-1 (cross-document)
   Opts the homepage + product-detail-page.php into
   a cross-document transition, reduced-motion gated.
   object-fit fix stops the browser's page-state
   screenshot from stretching/warping a product photo.
   Per-image naming (the actual "morph" effect) is
   wired up separately in 5B-2 (script.js) and
   5B-3 (product-detail-page.php).
══════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

::view-transition-old(*),
::view-transition-new(*) {
  object-fit: cover;
}
