/* ============================================================
 *  ChampionBeltStore — Custom Luxury Stylesheet
 *  Designed to extend the Tailwind CDN build with reusable
 *  design tokens and component patterns.
 * ============================================================ */

/* -----------------------------------------------
 *  1. CSS Custom Properties
 * ----------------------------------------------- */
:root {
  --gold: #d4af37;
  --gold-100: #f9e8a8;
  --gold-200: #f2d67f;
  --gold-300: #e3c25f;
  --gold-400: #d4af37;
  --gold-500: #b8912a;
  --gold-600: #8a6a17;
  --gold-700: #5c4510;
  --obsidian: #07070b;
  --charcoal: #0e0e15;
  --ivory: #faf9f5;
  --ink: #111118;
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-card: 0 1px 3px rgba(17,17,24,.04), 0 8px 24px -6px rgba(17,17,24,.08);
  --shadow-card-hover: 0 24px 60px -12px rgba(17,17,24,.18);
  --shadow-glow: 0 0 20px rgba(212,175,55,.45);
  --radius-card: 1rem;
  --transition-lux: cubic-bezier(.22,1,.36,1);
}

/* -----------------------------------------------
 *  2. Base / Reset
 * ----------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: rgba(14,14,21,.08);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* body alone doesn't stop sideways scroll — without this the overflow just
     escapes to the html element, which is what made narrow phones (~360px)
     scroll horizontally on some pages. */
  overflow-x: hidden;
  /* Reserve the vertical scrollbar's width on every page, whether or not
     that page actually needs to scroll. Without this, short pages (no
     scrollbar) render a few pixels wider than tall pages (scrollbar
     present), so the centered .container-lux content sits at a slightly
     different horizontal position from page to page — which reads as
     "everything is shifted in from the right". */
  scrollbar-gutter: stable;
  /* Theme the scrollbar itself for Firefox/other non-WebKit browsers to
     match the dark-track + gold-thumb look below — see the note above
     ::-webkit-scrollbar for why this matters. */
  scrollbar-color: var(--gold-500) #0e0e15;
  scrollbar-width: thin;
}

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(212,175,55,.28);
  color: #111118;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
}

img {
  user-select: none;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: var(--obsidian);
  color: var(--gold);
  font-weight: 600;
  border-radius: 8px;
  z-index: 9999;
}

/* ---- Luxury scrollbar (Chrome/Edge/Safari) ---- */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #0e0e15;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border-radius: 8px;
  border: 2px solid #0e0e15;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------------------------
 *  3. Layout Utilities
 * ----------------------------------------------- */
.container-lux {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container-lux { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .container-lux { padding-left: 3rem; padding-right: 3rem; }
}

.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 640px) {
  .section-pad { padding-top: 7rem; padding-bottom: 7rem; }
}
@media (min-width: 1024px) {
  .section-pad { padding-top: 8rem; padding-bottom: 8rem; }
}

/* Eyebrow (with flanking lines) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: var(--gold-600);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}
.eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

/* -----------------------------------------------
 *  4. Text Utilities
 * ----------------------------------------------- */
.text-gradient-gold {
  background: linear-gradient(120deg, #f9e8a8 0%, #d4af37 38%, #b8912a 55%, #f2d67f 78%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-gradient-silver {
  background: linear-gradient(120deg, #ffffff 0%, #c7c9ce 40%, #e8e8ea 55%, #9fa2ab 78%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -----------------------------------------------
 *  5. Glass Panels
 * ----------------------------------------------- */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.glass-dark {
  background: linear-gradient(135deg, rgba(14,14,21,.72), rgba(7,7,11,.55));
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.glass-light {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,17,24,.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* -----------------------------------------------
 *  6. Gold Gradient Border
 * ----------------------------------------------- */
.gold-ring {
  position: relative;
}
.gold-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(249,232,168,.9), rgba(212,175,55,.35), rgba(184,145,42,.9));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* -----------------------------------------------
 *  7. Buttons
 * ----------------------------------------------- */
.btn-gold {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: .04em;
  font-size: .8125rem;
  color: var(--ink);
  background-image: linear-gradient(120deg, #f2d67f 0%, #d4af37 45%, #f9e8a8 75%, #d4af37 100%);
  background-size: 200% 100%;
  box-shadow: 0 10px 30px -10px rgba(212,175,55,.6);
  transition: background-position .6s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-gold:hover {
  background-position: 100% 0;
  box-shadow: 0 16px 44px -10px rgba(212,175,55,.75);
  transform: translateY(-1px);
}

.btn-outline-gold {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: .04em;
  font-size: .8125rem;
  color: var(--gold-300);
  background: rgba(212,175,55,.06);
  border: 1px solid rgba(212,175,55,.45);
  transition: all .35s ease;
}
.btn-outline-gold:hover {
  color: var(--ink);
  background: linear-gradient(120deg, #f2d67f, #d4af37);
  border-color: transparent;
  box-shadow: 0 14px 40px -12px rgba(212,175,55,.6);
}

.btn-dark {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: .04em;
  font-size: .8125rem;
  color: #faf9f5;
  background: linear-gradient(135deg, #1f1f2c, #0e0e15);
  border: 1px solid rgba(255,255,255,.1);
  transition: all .35s ease;
}
.btn-dark:hover {
  color: var(--gold-300);
  border-color: rgba(212,175,55,.5);
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.7);
}

/* Shine sweep for buttons */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-150%) skewX(-18deg);
  animation: shimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}

/* -----------------------------------------------
 *  8. Belt Plate (metallic medallion)
 * ----------------------------------------------- */
.belt-plate {
  background-image: radial-gradient(circle at 35% 28%, rgba(255,255,255,.95) 0%, rgba(249,232,168,.85) 18%, #d4af37 42%, #8a6a17 74%, #f2d67f 92%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -10px 20px rgba(74,54,13,.4), 0 18px 44px -16px rgba(212,175,55,.5);
}

/* -----------------------------------------------
 *  9. Form Fields
 * ----------------------------------------------- */
.field {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: .75rem;
  border: 1px solid rgba(14,14,21,.1);
  background: #faf9f5;
  font-size: .875rem;
  color: var(--ink);
  outline: none;
  transition: all .3s ease;
}
.field::placeholder {
  color: rgba(17,17,24,.4);
}
.field:focus {
  border-color: rgba(212,175,55,.6);
  box-shadow: 0 0 0 4px rgba(212,175,55,.12);
}

.field-dark {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: .75rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  font-size: .875rem;
  color: #faf9f5;
  outline: none;
  transition: all .3s ease;
}
.field-dark::placeholder {
  color: rgba(255,255,255,.4);
}
.field-dark:focus {
  border-color: rgba(212,175,55,.6);
  box-shadow: 0 0 0 4px rgba(212,175,55,.15);
}

select.field,
select.field-dark {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}

/* -----------------------------------------------
 * 10. Cards
 * ----------------------------------------------- */
.card-lux {
  border-radius: var(--radius-card);
  background: #faf9f5;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(17,17,24,.06);
  transition: all .5s var(--transition-lux);
}
.card-lux:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

/* Compact grid product card — trims the image box, type scale and body rhythm
   so cards sit smaller. List view keeps its own sizing (see .list-view rules). */
.product-card .aspect-square { aspect-ratio: 4 / 3; }
.product-card > .p-5 { padding: .875rem; }
.product-card > .p-5 > h3 {
  min-height: 2.3rem;
  margin-top: .3rem;
  font-size: 13.5px;
  /* Clamp to 2 lines so every card in a row lines up. Enforced here because the
     Tailwind CDN build doesn't ship the line-clamp utility. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card > .p-5 > .mt-2 { margin-top: .3rem; }
.product-card > .p-5 > .mt-3 { margin-top: .4rem; }
.product-card > .p-5 > .mt-3 > .text-lg { font-size: 1rem; }
.product-card > .p-5 > .add-to-cart-btn {
  margin-top: .625rem;
  padding-top: .45rem;
  padding-bottom: .45rem;
  font-size: 11px;
}
/* Shrink the image-area controls to match the smaller card */
.product-card .wishlist-toggle { height: 2rem; width: 2rem; }
.product-card .wishlist-toggle svg { height: .875rem; width: .875rem; }
.product-card .quick-view-btn {
  padding-top: .45rem;
  padding-bottom: .45rem;
  font-size: 11px;
}

.card-dark {
  border-radius: var(--radius-card);
  background: rgba(14,14,21,.8);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 12px 40px -8px rgba(0,0,0,.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: all .5s var(--transition-lux);
}
.card-dark:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.8);
}

/* -----------------------------------------------
 * 11. Nav Link Underline
 * ----------------------------------------------- */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1.5px;
  width: 100%;
  background: linear-gradient(90deg, #f2d67f, #d4af37);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--transition-lux);
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* -----------------------------------------------
 * 12. Gold Divider & Noise Overlay
 * ----------------------------------------------- */
.gold-divider {
  height: 1px;
  width: 6rem;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.noise-overlay {
  position: relative;
}
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* -----------------------------------------------
 * 13. Product Badges
 * ----------------------------------------------- */
.badge-sale,
.badge-new,
.badge-soldout {
  display: inline-flex;
  align-items: center;
  padding: .25rem .625rem;
  border-radius: 9999px;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-sale {
  background: linear-gradient(120deg, #f9e8a8, #d4af37);
  color: var(--ink);
}
.badge-new {
  background: rgba(255,255,255,.9);
  color: var(--ink);
  border: 1px solid rgba(17,17,24,.08);
}
.badge-soldout {
  background: #111118;
  color: #faf9f5;
}

/* -----------------------------------------------
 * 14. Footer Styles
 * ----------------------------------------------- */
.footer-col-title {
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #faf9f5;
}
.footer-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-col-list a {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: all .3s ease;
}
.footer-col-list a:hover {
  padding-left: .375rem;
  color: var(--gold-300);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  font-size: .875rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.footer-contact-list a:hover {
  color: var(--gold-300);
}
.footer-contact-list li > a,
.footer-contact-list li > span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  transition: all .3s ease;
}
.social-link:hover {
  border-color: rgba(212,175,55,.6);
  background: rgba(212,175,55,.1);
  color: var(--gold-300);
}

.payment-badge {
  display: inline-block;
  border-radius: .375rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  padding: .375rem .75rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.6);
}

/* -----------------------------------------------
 * 15. Header
 * ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(7,7,11,.55), transparent);
  transition: all .5s var(--transition-lux);
}
.site-header.scrolled {
  background: linear-gradient(180deg, rgba(14,14,21,.82), rgba(7,7,11,.65));
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.site-header.hidden-up {
  transform: translateY(-110%);
}

.header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  color: rgba(255,255,255,.8);
  transition: all .3s ease;
}
.header-icon:hover {
  background: rgba(255,255,255,.1);
  color: var(--gold-300);
}

.count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(120deg, #f9e8a8, #d4af37);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  padding: 0 4px;
  box-shadow: 0 0 20px rgba(212,175,55,.45);
}

/* -----------------------------------------------
 * 16. Announcement Bar
 * ----------------------------------------------- */
.announcement-bar {
  height: 40px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.7);
}
.marquee-sep {
  color: var(--gold-500);
  font-size: 8px;
}

/* -----------------------------------------------
 * 17. Mobile Menu
 * ----------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 260;
  pointer-events: none;
}
.mobile-menu.open {
  pointer-events: auto;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,7,11,.6);
  opacity: 0;
  transition: opacity .35s ease;
}
.mobile-menu.open .mobile-menu-backdrop {
  opacity: 1;
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: linear-gradient(135deg, #0e0e15, #07070b);
  border-right: 1px solid rgba(255,255,255,.08);
  transform: translateX(-100%);
  transition: transform .45s var(--transition-lux);
  overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}
.mobile-nav-link {
  display: block;
  padding: .75rem 1rem;
  border-radius: .75rem;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: all .3s ease;
}
.mobile-nav-link:hover {
  background: rgba(255,255,255,.05);
  color: var(--gold-300);
}

/* -----------------------------------------------
 * 18. Search Overlay
 * ----------------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
}
.search-overlay.open {
  pointer-events: auto;
}
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,7,11,.8);
  opacity: 0;
  transition: opacity .35s ease;
}
.search-overlay.open .search-backdrop {
  opacity: 1;
}
.search-panel {
  position: absolute;
  inset: 0;
  background: rgba(7,7,11,.96);
  padding: 0 1.5rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all .45s var(--transition-lux);
}
.search-overlay.open .search-panel {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------
 * 19. Cart Drawer
 * ----------------------------------------------- */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 240;
  pointer-events: none;
}
.cart-drawer.open {
  pointer-events: auto;
}
.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,7,11,.6);
  opacity: 0;
  transition: opacity .35s ease;
}
.cart-drawer.open .cart-backdrop {
  opacity: 1;
}
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(90vw, 440px);
  background: linear-gradient(135deg, #0e0e15, #07070b);
  border-left: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--transition-lux);
}
.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: .75rem;
  background: white;
  padding: 8px;
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-item-details {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  color: #faf9f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-collection {
  font-size: .6875rem;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}
.cart-item-price {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gold-300);
  margin-top: 6px;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9999px;
  overflow: hidden;
  width: fit-content;
}
.cart-qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .8125rem;
  transition: all .2s ease;
}
.cart-qty-btn:hover {
  background: rgba(255,255,255,.08);
  color: var(--gold-300);
}
.cart-qty-value {
  min-width: 28px;
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
  color: #faf9f5;
}

.cart-item-remove {
  color: rgba(255,255,255,.35);
  font-size: .6875rem;
  margin-top: 6px;
  transition: color .2s ease;
}
.cart-item-remove:hover {
  color: #ef4444;
}

/* -----------------------------------------------
 * 20. Quick View Modal
 * ----------------------------------------------- */
.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
  pointer-events: none;
}
.quick-view-modal.open {
  pointer-events: auto;
}
.quickview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,7,11,.7);
  opacity: 0;
  transition: opacity .35s ease;
}
.quick-view-modal.open .quickview-backdrop {
  opacity: 1;
}
.quickview-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 720px);
  max-height: 80vh;
  overflow-y: auto;
  background: #faf9f5;
  border-radius: 1.25rem;
  box-shadow: 0 32px 80px -16px rgba(0,0,0,.6);
  transform: translate(-50%, -50%) scale(.96);
  opacity: 0;
  transition: all .4s var(--transition-lux);
}
.quick-view-modal.open .quickview-panel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* -----------------------------------------------
 * 21. Toast Notifications
 * ----------------------------------------------- */
.toast {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  border-radius: .75rem;
  background: linear-gradient(135deg, #0e0e15, #07070b);
  border: 1px solid rgba(255,255,255,.1);
  color: #faf9f5;
  font-size: .8125rem;
  font-weight: 500;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
  animation: toastIn .4s var(--transition-lux) forwards;
}
.toast.toast-out {
  animation: toastOut .3s ease forwards;
}
.toast-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}
.toast-success .toast-icon { background: rgba(34,197,94,.2); color: #22c55e; }
.toast-error .toast-icon { background: rgba(239,68,68,.2); color: #ef4444; }
.toast-info .toast-icon { background: rgba(212,175,55,.2); color: var(--gold-400); }

/* -----------------------------------------------
 * 22. Hero Slider
 * ----------------------------------------------- */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 520px;
  width: 100%;
  overflow: hidden;
  background: var(--obsidian);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s var(--transition-lux), transform .8s var(--transition-lux);
  transform: scale(1.06);
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.hero-slide-img {
  position: absolute;
  inset: 0;
}
.hero-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Contain mode: shows the full picture, letterboxed on a solid backdrop,
   instead of cropping it edge-to-edge like a background scene. */
.hero-slide-img--contain {
  background: var(--obsidian, #07070b);
}
.hero-slide-img--contain img {
  object-fit: contain;
}
.hero-slide[data-cta] {
  cursor: pointer;
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-league-badge {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid rgba(212,175,55,.3);
  background: rgba(212,175,55,.1);
  padding: .375rem 1rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--gold-300);
}

/* Hero navigation */
.hero-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.hero-arrow {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.6);
  transition: all .3s ease;
}
.hero-arrow:hover {
  border-color: rgba(212,175,55,.6);
  color: var(--gold-300);
}
.hero-dot {
  height: 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,.2);
  transition: all .5s var(--transition-lux);
  cursor: pointer;
}
.hero-dot.active {
  width: 2rem;
  background: linear-gradient(120deg, #f9e8a8, #d4af37);
}
.hero-dot:not(.active) {
  width: 10px;
}
.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,.4);
}

/* -----------------------------------------------
 * 23. Stats Bar
 * ----------------------------------------------- */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}

/* -----------------------------------------------
 * 24. Testimonial Carousel
 * ----------------------------------------------- */
.testimonial-card {
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: all .5s var(--transition-lux);
}
.testimonial-card:hover {
  border-color: rgba(212,175,55,.3);
}
.testimonial-quote-icon {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-400);
  opacity: .3;
  margin-bottom: .5rem;
}

.testimonial-track {
  display: flex;
  transition: transform .6s var(--transition-lux);
}
.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 .75rem;
}
@media (min-width: 768px) {
  .testimonial-slide { flex: 0 0 50%; }
}
@media (min-width: 1024px) {
  .testimonial-slide { flex: 0 0 33.333%; }
}

/* -----------------------------------------------
 * 25. Accordion / FAQ
 * ----------------------------------------------- */
.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  color: #faf9f5;
  transition: color .3s ease;
}
.accordion-btn:hover {
  color: var(--gold-300);
}
.accordion-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform .35s var(--transition-lux);
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--transition-lux), padding .4s var(--transition-lux);
}
.accordion-body-inner {
  padding-bottom: 1.125rem;
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}

/* -----------------------------------------------
 * 26. Newsletter
 * ----------------------------------------------- */
.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 9999px;
  border: 1px solid rgba(212,175,55,.4);
  background: rgba(212,175,55,.06);
  padding: 4px;
  overflow: hidden;
}
.newsletter-form .field-dark {
  flex: 1;
  border: none;
  border-radius: 9999px;
  padding-left: 1.25rem;
}
.newsletter-form .field-dark:focus {
  box-shadow: none;
}
.newsletter-form .btn-gold {
  border-radius: 9999px;
  padding: .75rem 1.5rem;
}

/* -----------------------------------------------
 * 27. Instagram Gallery
 * ----------------------------------------------- */
.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: .75rem;
  background: rgba(14,14,21,.6);
}
.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--transition-lux);
}
.instagram-item:hover img {
  transform: scale(1.08);
}
.instagram-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,7,11,.75) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
  transition: opacity .4s ease;
}
.instagram-item:hover .instagram-overlay {
  opacity: 1;
}
.instagram-overlay span {
  font-size: .75rem;
  font-weight: 600;
  color: #faf9f5;
}

/* -----------------------------------------------
 * 28. Collection Card
 * ----------------------------------------------- */
.collection-card {
  position: relative;
  overflow: hidden;
}

/* Category photo card — used when an image is uploaded from the admin panel.
   Compact, landscape-shaped card (aspect-ratio 4:3) so wide banner-style
   photos aren't heavily cropped on the left/right; the photo fills the
   whole card and the title/description/count (each individually
   toggleable) sit on a soft gradient directly over the bottom of the
   photo — no separate black block below. */
.collection-card-photo {
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,.03);
}
.collection-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center 40%;
}
.collection-card-shade {
  background: linear-gradient(180deg, rgba(7,7,11,0) 40%, rgba(7,7,11,.55) 70%, rgba(7,7,11,.92) 100%);
}
.collection-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.25rem 1.25rem;
}
.collection-card-photo:hover {
  border-color: rgba(212,175,55,.35);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.65);
}
@supports not (aspect-ratio: 4 / 3) {
  .collection-card-photo { height: 230px; }
}

/* -----------------------------------------------
 * 29. Scroll Reveal
 * ----------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--transition-lux), transform .7s var(--transition-lux);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------
 * 30. Loading Screen
 * ----------------------------------------------- */
#loading-screen {
  transition: opacity .6s ease, visibility .6s ease;
  /* CSS-only fallback: auto-hide after 3.5s even if JavaScript fails.
     JS adds .hidden sooner (at 2.2s); the animation is a safety net. */
  animation: auto-hide-loading 3.5s ease forwards;
}
@keyframes auto-hide-loading {
  0%   { opacity: 1; visibility: visible; }
  88%  { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

/* -----------------------------------------------
 * 32. Scroll Progress
 * ----------------------------------------------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-200), var(--gold-500));
  z-index: 300;
  transition: width .1s linear;
}

/* -----------------------------------------------
 * 33. Page Hero (interior pages)
 * ----------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, #07070b, #0e0e15 50%, #111118);
  padding: 8rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-hero .container-lux {
  position: relative;
  z-index: 2;
}

/* -----------------------------------------------
 * 34. Collections page filters
 * ----------------------------------------------- */
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .2s ease;
}
.filter-checkbox:hover {
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
}
.filter-checkbox.active {
  background: rgba(212,175,55,.12);
  color: var(--gold-300);
}
/* The box itself is hidden — the whole row is the control, and the
   .active highlight shows which filter is applied. */
.filter-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.filter-checkbox {
  position: relative;
}
.filter-checkbox.active {
  font-weight: 600;
}
/* Small gold marker on the applied filter, in place of the tick box. */
.filter-checkbox.active::after {
  content: '';
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--gold-400);
  flex-shrink: 0;
}
.filter-checkbox:focus-within {
  outline: 1px solid rgba(212,175,55,.5);
  outline-offset: 1px;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  border-color: var(--gold-400);
}

.color-swatch {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}
.color-swatch:hover,
.color-swatch.active {
  border-color: var(--gold-400);
  transform: scale(1.15);
}

.product-tab-btn {
  padding: .75rem 1.25rem;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(17,17,24,.55);
  border-bottom: 2px solid transparent;
  transition: all .3s ease;
}
.product-tab-btn:hover {
  color: var(--gold-600);
}
.product-tab-btn.active {
  color: var(--gold-600);
  border-bottom-color: var(--gold-500);
}
.product-tab-panel {
  display: none;
}
.product-tab-panel.active {
  display: block;
}

/* -----------------------------------------------
 * 36. Cart Page
 * ----------------------------------------------- */
.cart-page-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(17,17,24,.06);
}
.cart-page-item-img {
  width: 100px;
  height: 100px;
  border-radius: .75rem;
  background: white;
  padding: 10px;
  flex-shrink: 0;
}
.cart-page-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-page-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(17,17,24,.12);
  border-radius: 9999px;
  overflow: hidden;
  width: fit-content;
}
.cart-page-qty button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  color: rgba(17,17,24,.6);
  transition: all .2s ease;
}
.cart-page-qty button:hover {
  background: rgba(17,17,24,.05);
}
.cart-page-qty span {
  min-width: 32px;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
}

/* Free shipping progress */
.shipping-progress {
  height: 6px;
  border-radius: 9999px;
  background: rgba(17,17,24,.06);
  overflow: hidden;
}
.shipping-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(120deg, #f2d67f, #d4af37);
  transition: width .6s var(--transition-lux);
}

/* -----------------------------------------------
 * 37. Animations / Keyframes
 * ----------------------------------------------- */
@keyframes shimmer {
  0% { transform: translateX(-150%) skewX(-18deg); }
  100% { transform: translateX(250%) skewX(-18deg); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 20px rgba(212,175,55,.45); }
  50% { box-shadow: 0 0 40px rgba(212,175,55,.65); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: .6; }
  50% { opacity: 1; }
}

@keyframes toastIn {
  0% { transform: translateX(120%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------
 * Custom-belt showcase animation
 * The .belt-showcase wrapper's own transform is driven by the parallax JS,
 * so every animation here targets a child instead.
 * ----------------------------------------------- */
@keyframes belt-glow {
  0%, 100% { opacity: .55; transform: scale(.97); }
  50%      { opacity: 1;   transform: scale(1.04); }
}

@keyframes belt-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-.4deg); }
}

.belt-showcase-glow {
  animation: belt-glow 6s ease-in-out infinite;
}

.belt-showcase-img {
  animation: belt-float 7s ease-in-out infinite;
  will-change: transform;
}

/* Gold shine sweeping across the panel — clipped by the frame's overflow. */
.belt-showcase-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 35%,
    rgba(242,214,127,.14) 50%,
    transparent 65%
  );
  animation: shimmer 5.5s ease-in-out infinite;
}

.belt-showcase-frame {
  transition: transform .6s var(--transition-lux), border-color .6s ease;
}
.belt-showcase:hover .belt-showcase-frame {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,.35);
}

/* Feature list staggers in once the column reveals. */
.reveal.revealed .belt-feature {
  animation: fadeUp .6s var(--transition-lux) both;
}
.reveal.revealed .belt-feature:nth-child(1) { animation-delay: .10s; }
.reveal.revealed .belt-feature:nth-child(2) { animation-delay: .22s; }
.reveal.revealed .belt-feature:nth-child(3) { animation-delay: .34s; }
.reveal.revealed .belt-feature:nth-child(4) { animation-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
  .belt-showcase-glow,
  .belt-showcase-img,
  .belt-showcase-frame::after,
  .reveal.revealed .belt-feature {
    animation: none;
  }
}

.animate-spin-slow {
  animation: spin-slow 3s linear infinite;
}
.animate-pulse-gold {
  animation: pulse-gold 2s ease-in-out infinite;
}

/* -----------------------------------------------
 * 38. Responsive Adjustments
 * ----------------------------------------------- */
@media (max-width: 639px) {
  .hero-section {
    height: 65vh;
    min-height: 440px;
  }
  .hero-section .hero-heading {
    font-size: 1.75rem;
  }
  /* Banner-only hero: size the box to the picture. The active slide joins
     the flow so the section takes its height; inactive slides stay absolute
     and cross-fade over the same box. */
  .hero-section--banner {
    height: auto;
    min-height: 0;
  }
  .hero-section--banner .hero-slide.active,
  .hero-section--banner .hero-slide.active .hero-slide-img {
    position: relative;
  }
  .hero-section--banner .hero-slide.active .hero-slide-img img {
    display: block;
    height: auto;
  }
  .hero-section--banner .hero-nav {
    bottom: .5rem;
    gap: .75rem;
  }
  .hero-section--banner .hero-arrow,
  .hero-section--single .hero-nav {
    display: none;
  }
  .stat-number {
    font-size: 1.25rem;
  }
  .stat-item {
    gap: .25rem;
  }
  .stat-label {
    font-size: .625rem;
    line-height: 1.25;
    text-align: center;
  }
  .section-pad {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* -----------------------------------------------
 * 39. Line Clamp (for product card titles)
 * ----------------------------------------------- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* -----------------------------------------------
 * 40. Gold Particles (hero ambience)
 * ----------------------------------------------- */
.gold-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(249,232,168,.95), rgba(212,175,55,.3));
  box-shadow: 0 0 8px rgba(212,175,55,.7);
  animation: float 8s ease-in-out infinite;
}

/* -----------------------------------------------
 * 41. Pagination Buttons
 * ----------------------------------------------- */
.page-btn {
  min-width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(17,17,24,.12);
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(17,17,24,.6);
  transition: all .3s ease;
}
.page-btn:hover {
  border-color: rgba(212,175,55,.5);
  color: var(--gold-600);
}
.page-btn.active {
  background: linear-gradient(120deg, #f9e8a8, #d4af37);
  border-color: transparent;
  color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(212,175,55,.6);
}

/* -----------------------------------------------
 * 42. Price Range Sliders
 * ----------------------------------------------- */
.price-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(212,175,55,.6), rgba(212,175,55,.2));
  outline: none;
  cursor: pointer;
}
.price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f9e8a8, #d4af37);
  border: 2px solid #07070b;
  box-shadow: 0 0 0 1px rgba(212,175,55,.5), 0 2px 8px rgba(212,175,55,.5);
  transition: transform .2s ease;
}
.price-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.price-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f9e8a8, #d4af37);
  border: 2px solid #07070b;
  box-shadow: 0 0 0 1px rgba(212,175,55,.5), 0 2px 8px rgba(212,175,55,.5);
}

/* -----------------------------------------------
 * 43. View Toggle
 * ----------------------------------------------- */
.view-toggle.active {
  background: rgba(212,175,55,.14);
  color: var(--gold-600);
}

/* List view — image fixed width for collection grid */
.list-view .product-card .aspect-square { aspect-ratio: auto; }
/* List rows span the full width; without this the grid keeps its multi-column
   template and the row-layout card has almost no room left for its body. */
.grid.list-view { grid-template-columns: 1fr; }

/* Below sm the list card stacks (flex-col), but the row layout's fixed image
   width (!w-40) stays applied — stranding a 160px thumbnail in a full-width
   card. Let the image span the row when stacked. */
@media (max-width: 639px) {
  .list-view .product-card > .aspect-square {
    width: 100% !important;
    aspect-ratio: 4 / 3;
  }
}

/* -----------------------------------------------
 * 44. Account Sidebar Navigation
 * ----------------------------------------------- */
.account-nav-link {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem .875rem;
  border-radius: .5rem;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  transition: all .3s ease;
}
.account-nav-link:hover {
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.85);
}
.account-nav-link.active {
  background: rgba(212,175,55,.12);
  color: var(--gold-300);
  font-weight: 600;
  border-left: 3px solid var(--gold-400);
  padding-left: calc(.875rem - 3px);
}

/* -----------------------------------------------
 * 45. Account Tab Panels
 * ----------------------------------------------- */
.account-panel {
  display: none;
}
.account-panel.active {
  display: block;
}

/* -----------------------------------------------
 * Searchable select (checkout country / state)
 * A native <select> kept in the DOM for its value and name, overlaid with a
 * trigger button and a dropdown panel that has a search box on top.
 * ----------------------------------------------- */
.cbs-select {
  position: relative;
}
.cbs-select-native {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  bottom: 0;
  left: 0;
}
.cbs-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.cbs-select-trigger::after {
  content: '';
  flex: 0 0 auto;
  width: .5rem;
  height: .5rem;
  border-right: 1.5px solid rgba(17, 17, 24, .45);
  border-bottom: 1.5px solid rgba(17, 17, 24, .45);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}
.cbs-select.is-open .cbs-select-trigger::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.cbs-select.is-open .cbs-select-trigger {
  border-color: rgba(212, 175, 55, .6);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .12);
}
.cbs-select-trigger.is-placeholder {
  color: rgba(17, 17, 24, .4);
}

.cbs-select-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  border-radius: .75rem;
  border: 1px solid rgba(14, 14, 21, .12);
  background: #fff;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .28);
  overflow: hidden;
}
.cbs-select-search {
  width: 100%;
  padding: .7rem .9rem;
  border: 0;
  border-bottom: 1px solid rgba(14, 14, 21, .08);
  font-size: .8125rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  background: #faf9f5;
}
.cbs-select-search::placeholder {
  color: rgba(17, 17, 24, .4);
}
.cbs-select-search:focus {
  background: #fff;
  border-bottom-color: rgba(212, 175, 55, .5);
}

.cbs-select-list {
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cbs-select-option {
  padding: .6rem .9rem;
  font-size: .8125rem;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease;
}
.cbs-select-option.is-active {
  background: rgba(212, 175, 55, .12);
}
.cbs-select-option.is-selected {
  font-weight: 600;
  color: var(--gold-600, #b8912c);
}
.cbs-select-empty {
  padding: .9rem;
  font-size: .8125rem;
  color: rgba(17, 17, 24, .45);
  text-align: center;
}
