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

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

: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); }


/* ══════════════════════════════════
   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(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08); box-shadow: 0 1px 14px rgba(0,0,0,0.04);
  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 rgba(0,0,0,0.07);
}



/* ─── LOGO ─── */
.nav-logo {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}


.nav-logo:hover { opacity: 0.8; transform: translateY(-1px); }



/* ─── 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(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.12);
  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(--black);
  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(--black); background: rgba(0,0,0,0.06); }



/* camera button */
.search-camera-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-left: 1px solid rgba(0,0,0,0.12);
  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: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 18px 0 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  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 rgba(0,0,0,0.07);
  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;
}



/* 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(0,0,0,0.65);
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.12);
  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(0,0,0,0.75);
  font-weight: 300;
  letter-spacing: 0.03em;
}


.search-recent-list li:hover,
.search-suggestions-list li:hover {
  background: rgba(0,0,0,0.04);
  color: var(--black);
}


.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(0,0,0,0.75);
  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: rgba(0,0,0,0.12);
  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 4px 12px rgba(0,0,0,0.06), 0 12px 28px rgba(0,0,0,0.08);
  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 4px 12px rgba(0,0,0,0.06), 0 12px 28px rgba(0,0,0,0.08);
  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; }



/* 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 — one unified bordered box, no internal divider lines */
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--white);
}


.cart-qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}


.cart-qty-btn:hover { background: var(--blue-dim); color: var(--black); }
.cart-qty-btn:active { transform: scale(0.92); }


.cart-qty-val {
  min-width: 24px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--black);
  padding: 0 2px;
}



.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;
}



/* ─── MOBILE CART MODAL ───
   Reuses all .cart-preview-* item/summary styles above —
   this block only defines the centered modal shell + backdrop. */
body.cart-modal-lock { overflow: hidden; }

.cart-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2050;
  visibility: hidden;
  pointer-events: none;
  font-family: var(--font-ui);
}

.cart-modal-overlay.open { visibility: visible; pointer-events: auto; }

.cart-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.cart-modal-overlay.open .cart-modal-backdrop { opacity: 1; }

.cart-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 400px);
  max-height: 85vh;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.96);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.cart-modal-overlay.open .cart-modal {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cart-modal .cart-preview-header { padding-right: 46px; }

.cart-modal .cart-preview-list {
  max-height: none;
  flex: 1;
  overflow-y: auto;
}

.cart-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  color: var(--gray-600);
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s, color 0.15s;
}

.cart-modal-close svg { width: 15px; height: 15px; }

.cart-modal-close:hover { background: var(--gray-200); color: var(--black); }



/* ─── CATEGORY STRIP ───
   .nav-categories now genuinely collapses: height animates 44px → 0
   (not just a fade), so when it's hidden it reclaims its own space —
   no leftover blank strip — and the content below slides up to fill
   the gap. It expands back on scroll-up, pushing that content back
   down as the row slides + fades in.
   .nav-categories-track (the row of words) animates independently
   inside it: it slides up + fades out, clipped by the outer box's
   overflow:hidden. Both run on the same ~0.3s timing so the box
   collapsing and the words sliding read as one motion. */
.nav-categories {
  height: 44px;
  overflow: hidden;
  border-top: 1px solid var(--border-sub);
  opacity: 1;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.26s ease,
              border-color 0.28s ease;
}

.nav-categories-track {
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.26s ease;
  will-change: transform, opacity;
}


.nav-categories-track::-webkit-scrollbar { display: none; }



/* Hidden state: box collapses to 0 height + fades, row inside slides
   up + fades. Content below shifts up to fill the reclaimed space. */
.nav-categories--hidden {
  height: 0;
  opacity: 0;
  border-top-color: transparent;
}
.nav-categories--hidden .nav-categories-track {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}



.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(0,0,0,0.55);
  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(--black); }


.nav-cat:hover::after { transform: scaleX(1); }


.nav-cat.active { color: var(--black); }


.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(--black); }


.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; }



.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; }



/* Mobile search dropdown */
.mob-search-dropdown {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 16px 14px 12px;
  display: none;
}


.mob-search-dropdown.open { display: block; }



  .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;
  }



/* ═══════════════════════════════════════════════
   CART BUTTON
═══════════════════════════════════════════════ */
.ws-products-cart-wrapper {
  display: flex; flex-direction: row-reverse; align-items: center;
  background: var(--dark); color: var(--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-card:hover .ws-products-cart-wrapper {
  max-width: 160px; padding-left: 14px;
  background: var(--black); color: var(--white);
}

/* media queries */



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



@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; }
}



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


/* ══════════════════════════════════
   MOBILE NAVBAR
══════════════════════════════════ */
.mobile-nav {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08); box-shadow: 0 1px 14px rgba(0,0,0,0.04);
  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(0,0,0,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 logo */
.mob-logo {
  display: block;
  height: 26px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}


.mob-logo:hover { opacity: 0.8; }



/* Mobile search pill */
.mob-search-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.12);
  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(--black);
  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(0,0,0,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 rgba(0,0,0,0.07);
  padding: 0 2px;
}


.mobile-cats::-webkit-scrollbar { display: none; }



.mobile-cat {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  color: rgba(0,0,0,0.5);
  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(--black); }


.mobile-cat.active::after { transform: scaleX(1); }


.mobile-cat:hover { color: rgba(0,0,0,0.85); }




/* ══════════════════════════════════
   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(--white);
  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.18);
  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 rgba(0,0,0,0.1); }



/* 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 rgba(0,0,0,0.08);
  flex-shrink: 0;
}


.mob-drawer-brand {
  display: block;
  height: 24px;
  width: auto;
  object-fit: contain;
}


.mob-drawer-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: none;
  color: rgba(0,0,0,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(--black);
  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(0,0,0,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 rgba(0,0,0,0.07);
  color: rgba(0,0,0,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(0,0,0,0.04); }


.mob-drawer-row:hover { color: var(--black); background: rgba(0,0,0,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(0,0,0,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 rgba(0,0,0,0.1);
  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(0,0,0,0.6);
  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(0,0,0,0.45);
  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 rgba(0,0,0,0.07);
  color: rgba(0,0,0,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(--black); background: rgba(0,0,0,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(0,0,0,0.05);
  color: rgba(0,0,0,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 rgba(0,0,0,0.12);
  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(0,0,0,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(--black); }



.mob-drawer-promo {
  margin-top: 24px;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(99,179,237,0.14), rgba(0,0,0,0.02));
  border: 1px solid rgba(0,0,0,0.1);
  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(--black);
  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; }




/* ══════════════════════════════════
   FIXED BOTTOM BAR
══════════════════════════════════ */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.08); box-shadow: 0 -1px 14px rgba(0,0,0,0.05);
  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(0,0,0,0.45);
  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(0,0,0,0.35);
  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;
}

/* media queries */



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



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

  .bottom-item {
    padding: 5px 0;
    flex: 1;
  }
}
/* ── Patched: rules that were accidentally dropped during extraction ── */

.clear-recent-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--blue);
}
.clear-recent-btn:hover { color: #8ecff5; }

.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); }

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

@media (min-width: 480px) {
  .mob-drawer-product-thumb { max-width: 104px; }
}

/* This is the rule that switches between the desktop and mobile navbars —
   it was silently dropped by the original extraction and is the reason
   the mobile menu never appeared. */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-nav  { display: block; }
  .bottom-bar  { display: flex; }

  body { padding-bottom: 70px; }
}
