/* ╔══════════════════════════════════════════════════════════════════╗
   ║  TEJASVIN — Professional E-Commerce Theme System               ║
   ║  7 dynamic accent themes, shared dark base                     ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ─── Google Fonts (Professional: Playfair Display + Inter) ────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  /* ── Single Professional Gold Theme ──────────────────────────── */
  --accent:        201, 162, 77;    /* Premium Gold */
  --accent-rgb:    rgb(201,162,77);
  --accent-light:  rgba(201,162,77,0.13);
  --accent-glow:   rgba(201,162,77,0.28);

  /* Base palette (deep rich dark) */
  --dark:          #080808;
  --dark-2:        #0e0e0e;
  --dark-3:        #141414;
  --dark-4:        #1a1a1a;
  --cream:         rgb(245,239,230);
  --cream-70:      rgba(245,239,230,0.7);
  --cream-40:      rgba(245,239,230,0.4);
  --cream-12:      rgba(245,239,230,0.12);
  --cream-06:      rgba(245,239,230,0.06);
  --border:        rgba(201,162,77,0.12);   /* Gold-tinted borders */

  /* Glass effect tokens */
  --glass-bg:      rgba(255,255,255,0.04);
  --glass-border:  rgba(201,162,77,0.18);
  --glass-blur:    blur(18px);

  /* Layout */
  --max-w:         1200px;
  --radius:        14px;
  --radius-sm:     8px;
  --ease:          cubic-bezier(0.4,0,0.2,1);
  --transition:    0.22s var(--ease);

  /* Typography */
  --font:          'Inter', 'Assistant', sans-serif;
  --font-display:  'Playfair Display', Georgia, serif;

  /* Shopify compat vars */
  --color-background: 8,8,8;
  --color-foreground: 245,239,230;
  --color-button: 14,14,14;
  --color-button-text: var(--accent-rgb);
  --color-link: var(--accent-rgb);
  --gradient-background: #080808;
  --color-badge-foreground: 245,239,230;
  --color-badge-background: 8,8,8;
  --color-badge-border: 245,239,230;
}

/* ────────────────────────────────────────────────────────────────── */
/* Single locked-in Professional Theme (Gold on Deep Dark)           */
/* ────────────────────────────────────────────────────────────────── */

/* ─── Marquee Banner ────────────────────────────────────────────── */
.marquee-banner {
  background: var(--accent-rgb);
  color: var(--dark);
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 99;
}

.marquee-banner marquee {
  display: inline-block;
}

.marquee-sep {
  display: inline-block;
  margin: 0 1.8rem;
  opacity: 0.6;
  font-size: 0.9rem;
}


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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.5rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--cream-70);
  background-color: var(--dark);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

body.gradient,
body.checkout-page {
  background-color: var(--dark);
}

@media (min-width: 750px) { body { font-size: 1.55rem; } }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
  text-align: center;
}

h4,h5,h6 {
  font-family: var(--font);
}

p {
  text-align: center;
}

ul, ol { list-style: none; }

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
}

.hidden { display: none !important; }

/* ─── Layout ────────────────────────────────────────────────────── */
.page-width {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 750px) { .page-width { padding: 0 4rem; } }
@media (min-width: 1200px) { .page-width { padding: 0 2rem; } }

.gradient { background-color: var(--dark); }

/* ─── HEADER ────────────────────────────────────────────────────── */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition);
}

.header-wrapper.color-scheme-3 {
  background: rgba(8,8,8,0.72);
}

.header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "heading navigation icons";
  align-items: center;
  padding: 0 0;
  height: 6.4rem;
  gap: 2rem;
}

/* Mobile: menu button left, logo center, icons right */
@media (max-width: 989px) {
  .header {
    grid-template-columns: 4.8rem 1fr 4.8rem;
    grid-template-areas: "left-icons heading icons";
    gap: 0.5rem;
  }
}

.header__heading {
  grid-area: heading;
  justify-self: start;
}

@media (max-width: 989px) {
  .header__heading { justify-self: center; }
}

.header__heading-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.header__heading-link:hover { text-decoration: none; }

.header__heading-logo-wrapper { display: flex; }

.header__heading-logo {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--accent-light);
}

/* Desktop nav */
.header__inline-menu {
  grid-area: navigation;
  display: none;
}

@media (min-width: 990px) { .header__inline-menu { display: flex; justify-content: center; } }

.list-menu--inline {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.header__menu-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-70);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.header__menu-item:hover {
  color: var(--cream);
  background: var(--cream-06);
  text-decoration: none;
}

.header__menu-item span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-rgb);
  border-radius: 2px;
  transition: width var(--transition);
}

.header__menu-item:hover span::after { width: 60%; }

.header__active-menu-item {
  color: var(--cream);
}

.header__active-menu-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--accent-rgb);
  border-radius: 2px;
}

/* Header icons */
.header__icons {
  grid-area: icons;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  color: var(--cream-70);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.header__icon:hover {
  color: var(--cream);
  background: var(--cream-06);
  text-decoration: none;
}

.header__icon svg { width: 2rem; height: 2rem; }
.icon-cart { width: 2.4rem !important; height: 2.4rem !important; }

.header__icon--menu {
  grid-area: left-icons;
  justify-self: start;
  display: inline-flex !important; /* Always show on mobile - critical */
  flex-shrink: 0;
  z-index: 101;
}

@media (max-width: 989px) {
  /* Make sure hamburger is never hidden on mobile */
  .header__icon--menu {
    display: inline-flex !important;
    width: 4.4rem;
    height: 4.4rem;
  }
}

@media (min-width: 990px) {
  .header__icon--menu { display: none !important; }
  .small-hide { display: inline-flex !important; }
}

@media (max-width: 989px) {
  .small-hide { display: none !important; }
  /* On mobile the icons area should be aligned right */
  .header__icons {
    justify-content: flex-end;
    min-width: 4.8rem;
  }
}

/* ── Auth Avatar Chip (shown when signed in) ── */
.header-auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.2rem 0.5rem 0.5rem;
  background: var(--accent-light);
  border: 1px solid rgba(var(--accent), 0.3);
  border-radius: 24px;
  cursor: pointer;
  text-decoration: none;
  color: var(--cream);
  font-size: 1.2rem;
  font-weight: 600;
  transition: background var(--transition), box-shadow var(--transition);
  max-width: 16rem;
  overflow: hidden;
}

.header-auth-chip:hover {
  background: rgba(var(--accent), 0.22);
  box-shadow: 0 0 0 2px rgba(var(--accent), 0.25);
  text-decoration: none;
}

.header-auth-chip__avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent-rgb);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.header-auth-chip__name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cart count badge */
.cart-count-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 1.6rem;
  height: 1.6rem;
  background: var(--accent-rgb);
  color: var(--dark);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.header__icon--cart { position: relative; }

/* ─── MOBILE MENU DRAWER ────────────────────────────────────────── */
.menu-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: min(32rem, 85vw);
  height: 100vh;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  z-index: 200;
  transition: left 0.3s var(--ease);
  overflow-y: auto;
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
}

.menu-drawer.is-open { left: 0; }

.menu-drawer__inner-container {
  padding: 7rem 2.4rem 2.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-drawer__navigation { flex: 1; }

.menu-drawer__menu {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.menu-drawer__menu-item {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream-70);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.menu-drawer__menu-item:hover {
  color: var(--accent-rgb);
  background: var(--accent-light);
  text-decoration: none;
}

.menu-drawer__menu-item--active { color: var(--accent-rgb); }

.menu-drawer__utility-links {
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--border);
}

.menu-drawer__account {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--cream-70);
  font-size: 1.4rem;
  font-weight: 500;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  margin-bottom: 1.6rem;
}

.menu-drawer__account svg { width: 1.8rem; height: 1.8rem; flex-shrink: 0; }
.menu-drawer__account:hover { color: var(--accent-rgb); background: var(--accent-light); text-decoration: none; }

/* Mobile menu overlay */
.menu-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
  display: none;
  backdrop-filter: blur(4px);
}

.menu-drawer-overlay.is-open { display: block; }

/* ─── SEARCH MODAL ──────────────────────────────────────────────── */
.search-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 300;
}

.search-modal.is-open { display: block; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,11,11,0.8);
  backdrop-filter: blur(8px);
}

.search-modal__content {
  position: relative;
  background: var(--dark-2);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 1px solid var(--border);
  z-index: 1;
}

.search-modal__form { flex: 1; }

.field { position: relative; display: flex; align-items: center; }

.search__input.field__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  color: var(--cream);
  font-family: var(--font);
  font-size: 1.8rem;
  padding: 1rem 4rem 1rem 0;
  outline: none;
  transition: border-color var(--transition);
}

.search__input.field__input:focus { border-bottom-color: var(--accent-rgb); }
.search__input.field__input::placeholder { color: var(--cream-40); }

.field__label { display: none; }

.search__button.field__button,
.search-modal__close-button {
  background: none;
  border: none;
  color: var(--cream-70);
  cursor: pointer;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition: color var(--transition);
}

.search__button.field__button svg,
.search-modal__close-button svg { width: 1.8rem; height: 1.8rem; }

.search__button:hover, .search-modal__close-button:hover { color: var(--accent-rgb); }

/* ─── HERO BANNER ───────────────────────────────────────────────── */
.banner { position: relative; overflow: hidden; }

.banner--adapt .banner__media { position: relative; }

.banner--adapt .banner__media::before {
  content: '';
  display: block;
  padding-bottom: 52%;
}

@media (max-width: 749px) {
  .banner--adapt .banner__media::before { padding-bottom: 80%; }
}

.banner__media { position: relative; overflow: hidden; }

/* ── Banner videos ──────────────────────────────── */
.banner-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* No Ken-Burns hover — video is already moving */
  pointer-events: none;
  display: block;
}

/* Responsive: desktop vs mobile video */
@media (min-width: 750px) {
  .banner-video--desktop { display: block; }
  .banner-video--mobile  { display: none;  }
}
@media (max-width: 749px) {
  .banner-video--desktop { display: none;  }
  .banner-video--mobile  { display: block; }
}

/* Gradient overlay */
.banner__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11,11,11,0.82) 0%,
    rgba(11,11,11,0.5) 50%,
    rgba(11,11,11,0.1) 100%
  );
  z-index: 1;
}

.banner__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 3rem 2rem;
}

@media (min-width: 750px) { .banner__content { padding: 4rem 5rem; } }

.banner__content--bottom-left { align-items: flex-end; }

.banner__box {
  max-width: 56rem;
}

.banner__heading {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.6rem;
  letter-spacing: -0.02em;
}

.banner__heading .accent-word {
  color: var(--accent-rgb);
}

.banner__text {
  font-size: 1.6rem;
  color: var(--cream-70);
  margin-bottom: 3rem;
  max-width: 42rem;
  line-height: 1.65;
}

.banner__buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1.3rem 2.8rem;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.button--primary {
  background: var(--accent-rgb);
  color: var(--dark);
  border-color: var(--accent-rgb);
}

.button--primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
  text-decoration: none;
}

.button--secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream-40);
}

.button--secondary:hover {
  border-color: var(--cream);
  color: var(--cream);
  background: var(--cream-06);
  text-decoration: none;
}

.thumbnail-btn.active {
    border-color: var(--accent-rgb);
    opacity: 1;
}

.thumbnail-btn:hover {
    border-color: rgba(245, 239, 230, 0.5);
    opacity: 1;
}

/* ─── TRUST BAR ─────────────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0;
  overflow: hidden;
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream-70);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-item__icon {
  color: var(--accent-rgb);
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* ─── SECTION HEADERS ───────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.section-title .accent-dot {
  color: var(--accent-rgb);
}

.section-link {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-rgb);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.section-link:hover { gap: 0.8rem; opacity: 0.8; text-decoration: none; }

/* Collection compatibility */
.collection { padding: 4rem 0; }
.collection-padding { padding: 3rem 0; }

@media (min-width: 750px) {
  .collection { padding: 6rem 0; }
  .collection-padding { padding: 5rem 0; }
}

.section-header-page { margin-bottom: 3rem; }

.collection-page-title {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.title.inline-richtext.h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--cream);
}

.collection__title { margin-bottom: 2.8rem; }

/* ─── PRODUCT GRID ──────────────────────────────────────────────── */
.product-grid {
  display: grid;
  gap: 2rem;
  list-style: none;
}

.grid--4-col-desktop  { grid-template-columns: 1fr; }
.grid--2-col-tablet-down { grid-template-columns: 1fr; }
.grid--1-col { grid-template-columns: 1fr; }

@media (min-width: 550px) {
  .grid--4-col-desktop { grid-template-columns: repeat(2, 1fr); }
  .grid--2-col-tablet-down { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 990px) {
  .grid--4-col-desktop { grid-template-columns: repeat(4, 1fr); }
  .grid--2-col.grid--4-col-tablet { grid-template-columns: repeat(4, 1fr); }
  .grid--2-col { grid-template-columns: repeat(2, 1fr); }
}

.grid { display: grid; }

/* ─── PRODUCT CARD ──────────────────────────────────────────────── */
.card-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.card-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,162,77,0.35), 0 0 32px rgba(201,162,77,0.08);
  border-color: rgba(201,162,77,0.35);
}

.card {
  display: flex;
  flex-direction: column;
}

.card--standard.card--media {
  gap: 0;
}

/* Card image area */
.card__inner {
  position: relative;
  overflow: hidden;
  background: var(--dark-4);
}

.card__inner.ratio::before {
  content: '';
  display: block;
  padding-bottom: var(--ratio-percent, 125%);
}

.card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.media { position: relative; overflow: hidden; width: 100%; height: 100%; }
.media--transparent { background: transparent; }

.media--hover-effect img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}

.media--hover-effect img:first-child { opacity: 1; transform: scale(1); }
.media--hover-effect img:last-child  { opacity: 0; transform: scale(1.03); }

.card-wrapper:hover .media--hover-effect img:first-child { opacity: 0; }
.card-wrapper:hover .media--hover-effect img:last-child  { opacity: 1; transform: scale(1); }

/* Badge */
.card__inner .card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem;
}

.card__badge { position: absolute; }
.card__badge.bottom.left { bottom: 1rem; left: 1rem; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--accent-rgb);
  color: var(--dark);
  border: none;
}

.badge--sold-out {
  background: rgba(100, 100, 100, 0.9);
  color: rgba(245, 239, 230, 0.7);
}

/* ═══ STOCK BADGE SYSTEM ═══ */
.card__stock-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
}

.card__stock-badge.top.right {
  top: 1rem;
  right: 1rem;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.3;
}

/* Critical: Only X Left! — Red/urgent */
.stock-badge.badge--low-stock {
  background: rgba(220, 38, 38, 0.15);
  color: #ef4444;
  border: 1px solid rgba(220, 38, 38, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Pulsing dot for urgency */
.stock-badge__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: stockDotPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes stockDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  50% { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 8px 2px rgba(239, 68, 68, 0.3); }
}

/* Warning: Selling Fast — Amber */
.stock-badge.badge--selling-fast {
  background: rgba(217, 160, 32, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(217, 160, 32, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Sold Out — Muted dark */
.stock-badge.badge--sold-out {
  background: rgba(100, 100, 100, 0.2);
  color: rgba(245, 239, 230, 0.5);
  border: 1px solid rgba(100, 100, 100, 0.3);
}

/* Product page stock badge — slightly larger */
.product__stock-status .stock-badge {
  font-size: 1.2rem;
  padding: 0.5rem 1.2rem;
}

.product__stock-status .stock-badge__dot {
  width: 8px;
  height: 8px;
}

/* Mobile adjustments */
@media (max-width: 749px) {
  .card__stock-badge {
    top: 0.6rem;
    right: 0.6rem;
  }
  .stock-badge {
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
    gap: 0.35rem;
  }
  .stock-badge__dot {
    width: 6px;
    height: 6px;
  }
}

.card__inner .card__information { display: none; }

/* Card info below image */
.card--standard > .card__content {
  padding: 1.4rem 1.6rem 1.8rem;
}

.card--standard > .card__content .card__information { display: block; }
.card--standard > .card__content .card__badge { display: none; }

.card__heading.h5 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.full-unstyled-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.full-unstyled-link:hover { color: var(--accent-rgb); text-decoration: none; }

.full-unstyled-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Price */
.card-information { color: var(--cream-70); }

.price--on-sale .price__sale {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.price-item--regular {
  text-decoration: line-through;
  color: var(--cream-40);
  font-size: 1.2rem;
}

.price-item--sale {
  color: var(--accent-rgb);
  font-size: 1.4rem;
  font-weight: 700;
}

.price__regular { display: none; }
.price--on-sale .price__regular { display: none; }

/* ─── CATALOG FILTER BAR ────────────────────────────────────────── */
.collection-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.4rem 0;
  margin-bottom: 2.4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  font-size: 1.3rem;
  color: var(--cream-70);
}

.collection-filter-bar label { font-weight: 500; }

.collection-filter-bar select {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--cream);
  font-family: var(--font);
  font-size: 1.3rem;
  padding: 0.7rem 1.2rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
}

.collection-filter-bar select:focus { border-color: var(--accent-rgb); }

.product-count {
  font-size: 1.25rem;
  color: var(--cream-40);
  font-weight: 500;
}

/* ─── PRODUCT PAGE ──────────────────────────────────────────────── */
.product-section {
  padding: 4rem 0 6rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 1.25rem;
  color: var(--cream-40);
  padding: 2rem 0 0;
}

.breadcrumbs li + li::before { content: '/'; margin-right: 0.6rem; }

.breadcrumbs a { color: var(--cream-40); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--accent-rgb); }
.breadcrumbs [aria-current] { color: var(--cream-70); }

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding-top: 2rem;
}

@media (min-width: 750px) {
  .product-layout { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Gallery */
.product__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--dark-3);
  border: 1px solid var(--border);
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s var(--ease);
}

.thumbnail-scroller {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.thumbnail-btn {
  flex-shrink: 0;
  width: 7rem;
  height: 8.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--dark-3);
  transition: border-color var(--transition);
  padding: 0;
}

.thumbnail-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail-btn.active,
.thumbnail-btn:hover { border-color: var(--accent-rgb); }

/* Product info */

.product__title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}

.product__price {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.product__price .price-item--sale {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-rgb);
}

.product__price .price-item--regular {
  font-size: 1.6rem;
  text-decoration: line-through;
  color: var(--cream-40);
}

.product__tax-note {
  font-size: 1.2rem;
  color: var(--cream-40);
  margin-bottom: 2.4rem;
}

/* Size selector */
.product-form__input { margin-bottom: 2rem; }

.form__label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream-40);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.size-btn {
  width: 5rem;
  height: 5rem;
  background: var(--dark-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream-70);
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.size-btn:hover,
.size-btn.selected {
  border-color: var(--accent-rgb);
  background: var(--accent-light);
  color: var(--accent-rgb);
}

/* Qty & submit */
.qty-btn {
  background: var(--dark-3) !important;
  border: 1px solid var(--border) !important;
  color: var(--cream-70) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 2rem !important;
  cursor: pointer;
  transition: all var(--transition);
  width: 4.2rem !important;
  height: 4.2rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { border-color: var(--accent-rgb) !important; color: var(--accent-rgb) !important; }

#quantity {
  width: 5rem !important;
  height: 4.2rem !important;
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--cream) !important;
  font-family: var(--font) !important;
  font-size: 1.6rem !important;
  text-align: center !important;
  border-radius: var(--radius-sm) !important;
}

.product-form__submit-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2.4rem 0;
}

.product-form__cart-submit {
  width: 100%;
  padding: 1.6rem;
  background: var(--accent-rgb);
  color: var(--dark);
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.product-form__cart-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.product-form__buy-it-now {
  width: 100%;
  padding: 1.6rem;
  background: transparent;
  color: var(--cream);
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.product-form__buy-it-now:hover {
  border-color: var(--cream-70);
  color: var(--cream);
  background: var(--cream-06);
}

.product__description {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 1.4rem;
  color: var(--cream-70);
  line-height: 1.75;
}

.product__description p { margin-bottom: 1.2rem; }

.product__description ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product__description li::before {
  content: '✦ ';
  color: var(--accent-rgb);
  font-size: 0.8em;
}

/* Related products */
.related-products {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.related-products__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 2.4rem;
  letter-spacing: -0.01em;
}

/* ─── CART DRAWER ───────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 198;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}

.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(44rem, 95vw);
  height: 100vh;
  background: var(--dark-2);
  z-index: 199;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.4rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--cream-70);
  cursor: pointer;
  transition: all var(--transition);
}

.cart-drawer__close:hover { background: var(--accent-light); color: var(--accent-rgb); }
.cart-drawer__close svg { width: 1.6rem; height: 1.6rem; }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 2.4rem;
}

.cart-drawer__empty {
  text-align: center;
  color: var(--cream-40);
  font-size: 1.4rem;
  margin-top: 4rem;
}

.cart-drawer__footer {
  padding: 2rem 2.4rem;
  border-top: 1px solid var(--border);
}

.cart-drawer__subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1.6rem;
}

.cart-drawer__checkout {
  display: block;
  width: 100%;
  padding: 1.6rem;
  background: var(--accent-rgb);
  color: var(--dark);
  text-align: center;
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.cart-drawer__checkout:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
  text-decoration: none;
}

/* Cart item */
.cart-item {
  display: flex;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item__image {
  width: 7rem;
  height: 8.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--dark-3);
  flex-shrink: 0;
}

.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }

.cart-item__info { flex: 1; min-width: 0; }

.cart-item__name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.cart-item__meta {
  font-size: 1.2rem;
  color: var(--cream-40);
  margin-bottom: 0.8rem;
}

.cart-item__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-rgb);
}

/* ─── CHECKOUT PAGE ─────────────────────────────────────────────── */
.checkout-section {
  padding: 4rem 0 6rem;
}

.checkout-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 3.2rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
}

@media (min-width: 750px) {
  .checkout-layout { grid-template-columns: 1fr 1fr; align-items: start; }
}

.checkout-form-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.form-group { margin-bottom: 1.8rem; }

.form-group label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream-40);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.form-group input,
.form-group select {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font);
  font-size: 1.4rem;
  padding: 1.2rem 1.4rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-rgb);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder { color: var(--cream-40); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-error-text {
  display: none;
  font-size: 1.1rem;
  color: #e05555;
  margin-top: 0.4rem;
}

.checkout-submit-btn {
  width: 100%;
  padding: 1.6rem;
  background: var(--accent-rgb);
  color: var(--dark);
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.8rem;
}

.checkout-submit-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.tax-note-small {
  font-size: 1.15rem;
  color: var(--cream-40);
  margin-top: 1rem;
  text-align: center;
}

.checkout-order-summary {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
}

.checkout-order-summary h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.order-totals { margin-top: 1.6rem; }

.order-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  font-size: 1.4rem;
  color: var(--cream-70);
}

.grand-total {
  border-top: 1px solid var(--border);
  margin-top: 0.8rem;
  padding-top: 1.2rem !important;
  font-weight: 700;
  font-size: 1.6rem !important;
  color: var(--cream) !important;
}

/* ─── POLICY PAGES ──────────────────────────────────────────────── */
.page-policy {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.page-policy h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 3.2rem;
  letter-spacing: -0.02em;
}

.page-policy h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 3.2rem 0 1.6rem;
  color: var(--accent-rgb);
}

.page-policy p, .page-policy li {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--cream-70);
  margin-bottom: 1.2rem;
}

/* ─── SOCIAL ────────────────────────────────────────────────────── */
.list-social {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.list-social__link {
  display: flex;
  align-items: center;
  color: var(--cream-70);
  transition: color var(--transition);
}

.list-social__link:hover { color: var(--accent-rgb); text-decoration: none; }
.list-social__link svg { width: 2rem; height: 2rem; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.footer__content-top {
  padding: 5rem 0 4rem;
}

.footer__blocks-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
  margin-bottom: 3.2rem;
}

@media (min-width: 750px) {
  .footer__blocks-wrapper { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 990px) {
  .footer__blocks-wrapper { grid-template-columns: 2fr 1fr; }
}

.footer-block__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rte p {
  color: var(--cream-70);
  font-size: 1.35rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.footer-block__details-content.list-unstyled li { margin-bottom: 0.7rem; }

.list-menu__item--link {
  font-size: 1.3rem;
  color: var(--cream-70);
  display: block;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.list-menu__item--link:hover { color: var(--accent-rgb); text-decoration: none; }

/* Newsletter */
.footer-block--newsletter {
  border-top: 1px solid var(--border);
  padding-top: 3.2rem;
  margin-top: 0.8rem;
}

@media (min-width: 750px) {
  .footer-block--newsletter { border-top: none; padding-top: 0; }
}

.footer__newsletter .field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.footer__newsletter .field:focus-within { border-color: var(--accent-rgb); }

.footer__newsletter .field__input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: var(--font);
  font-size: 1.4rem;
  padding: 1.2rem 1.6rem;
  outline: none;
}

.footer__newsletter .field__input::placeholder { color: var(--cream-40); }

.newsletter-form__button {
  background: var(--accent-rgb);
  border: none;
  color: var(--dark);
  padding: 1.2rem 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.newsletter-form__button:hover { opacity: 0.85; }
.newsletter-form__button svg { width: 1.6rem; height: 1.6rem; }

/* Footer bottom */
.footer__content-bottom {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer__content-bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer__copyright.caption { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

.copyright__content {
  font-size: 1.2rem;
  color: var(--cream-40);
}

.copyright__content a { color: var(--cream-40); transition: color var(--transition); }
.copyright__content a:hover { color: var(--cream); }

.policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
}

.policies li::before { content: '·'; color: var(--cream-40); margin-right: 1.6rem; display: none; }

.footer__payment .list-payment { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.list-payment__item svg { border-radius: 4px; }

.footer__column { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

/* ─── LINK & UTILITY ────────────────────────────────────────────── */
.link { transition: color var(--transition); }
.h5 { font-size: 1.4rem; }

/* ─── THEME INDICATOR ───────────────────────────────────────────── */
.theme-dot {
  position: fixed;
  bottom: 2.4rem;
  right: 2.4rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent-rgb);
  opacity: 0.6;
  z-index: 50;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── TOAST NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(11,11,11,0.95);
  color: var(--cream);
  padding: 1.4rem 2.4rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-rgb);
  font-size: 1.45rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--accent),0.2);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10000;
  backdrop-filter: blur(8px);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast--error {
  border-left-color: rgb(214,75,75); /* Crimson for error */
}

/* ─── RESPONSIVE HELPERS ────────────────────────────────────────── */
@media (max-width: 749px) {
  .hide-mobile { display: none !important; }
  .form-row { grid-template-columns: 1fr; }
  .product-form__submit-wrapper { flex-direction: column; }
}

@media (min-width: 750px) {
  .hide-desktop { display: none !important; }
}
/* ────────────────────────────────────────────────────────────────── */
/* ─── MOBILE GLOBAL OVERRIDES ────────────────────────────────────── */
@media (max-width: 768px) {
  .page-width {
    text-align: center;
  }
  
  .banner__text, 
  .footer-block__details-content,
  .product__description,
  .about-us-text {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ══════════════════════════════════════════════════════════════════
   TEJASVIN v27.07-stable  — NEW FEATURE STYLES
   ══════════════════════════════════════════════════════════════════ */

/* ── WISHLIST HEART BUTTON ON CARDS ───────────────────────────────── */
.card-wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: rgba(8,8,8,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(201,162,77,0.25);
  color: rgba(245,239,230,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  padding: 0;
  opacity: 0;
  transform: scale(0.85);
}

.card-wrapper:hover .card-wishlist-btn,
.card-wishlist-btn.is-wishlisted {
  opacity: 1;
  transform: scale(1);
}

.card-wishlist-btn svg {
  width: 1.6rem;
  height: 1.6rem;
  transition: transform 0.18s ease;
}

.card-wishlist-btn:hover {
  background: rgba(201,162,77,0.15);
  border-color: rgb(201,162,77);
  color: rgb(201,162,77);
  transform: scale(1.12);
}

.card-wishlist-btn.is-wishlisted {
  color: #e05555;
  border-color: rgba(224,85,85,0.4);
  background: rgba(224,85,85,0.1);
}

.card-wishlist-btn.is-wishlisted:hover {
  transform: scale(1.12);
  background: rgba(224,85,85,0.2);
}

/* Always show on mobile (no hover detection) */
@media (max-width: 749px) {
  .card-wishlist-btn { opacity: 1; transform: scale(1); width: 3rem; height: 3rem; }
  .card-wishlist-btn svg { width: 1.4rem; height: 1.4rem; }
}

/* ── PREMIUM HEADER ICON STYLES ────────────────────────────────────── */
.header__icon {
  position: relative;
}

/* Tooltip */
.header__icon::after {
  content: attr(title);
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(14,14,12,0.95);
  border: 1px solid rgba(201,162,77,0.25);
  color: rgb(245,239,230);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 50;
  font-family: 'Inter', sans-serif;
}

@media (min-width: 990px) {
  .header__icon[title]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Glow on hover */
.header__icon:hover {
  color: var(--cream);
  background: rgba(201,162,77,0.1);
  box-shadow: 0 0 0 0px rgba(201,162,77,0);
}

.header__icon:focus-visible {
  outline: 2px solid rgba(201,162,77,0.6);
  outline-offset: 2px;
}

/* Active pulse ring effect */
.header__icon:active {
  transform: scale(0.92);
}

/* Wishlist icon – golden fill when has items */
.header__icon--wishlist.has-items {
  color: #e05555;
}

/* ── TEJASVIN AI CHAT PANEL ────────────────────────────────────────── */
#aiChatBtn {
  position: fixed;
  bottom: 8.5rem;
  right: 2rem;
  z-index: 500;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(201,162,77) 0%, rgb(181,138,52) 100%);
  border: none;
  color: #080808;
  font-size: 2.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(201,162,77,0.45), 0 0 0 0 rgba(201,162,77,0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: aiPulse 3s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(201,162,77,0.45), 0 0 0 0 rgba(201,162,77,0.3); }
  50% { box-shadow: 0 4px 32px rgba(201,162,77,0.6), 0 0 0 8px rgba(201,162,77,0); }
}

#aiChatBtn:hover { transform: scale(1.08); animation: none; box-shadow: 0 6px 32px rgba(201,162,77,0.6); }
#aiChatBtn.is-active { background: linear-gradient(135deg, #222 0%, #111 100%); color: rgb(201,162,77); animation: none; transform: rotate(10deg); }

/* AI Panel */
#aiChatPanel {
  position: fixed;
  bottom: 16rem;
  right: 2rem;
  z-index: 499;
  width: min(38rem, calc(100vw - 2.4rem));
  height: 52rem;
  background: linear-gradient(160deg, rgba(18,16,10,0.97) 0%, rgba(10,10,8,0.99) 100%);
  border: 1px solid rgba(201,162,77,0.3);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,162,77,0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}

#aiChatPanel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.ai-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2rem;
  border-bottom: 1px solid rgba(201,162,77,0.15);
  background: rgba(201,162,77,0.06);
}

.ai-panel__title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgb(245,239,230);
  font-family: 'Inter', sans-serif;
}

.ai-panel__badge {
  font-size: 1rem;
  background: rgba(201,162,77,0.18);
  color: rgb(201,162,77);
  border: 1px solid rgba(201,162,77,0.3);
  border-radius: 12px;
  padding: 0.2rem 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ai-panel__close {
  background: none;
  border: none;
  color: rgba(245,239,230,0.5);
  cursor: pointer;
  font-size: 2rem;
  padding: 0.4rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-panel__close:hover { color: rgb(245,239,230); background: rgba(245,239,230,0.08); }

#aiChatMessages {
  flex: 1;
  overflow-y: auto;
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  scroll-behavior: smooth;
}

#aiChatMessages::-webkit-scrollbar { width: 4px; }
#aiChatMessages::-webkit-scrollbar-track { background: transparent; }
#aiChatMessages::-webkit-scrollbar-thumb { background: rgba(201,162,77,0.2); border-radius: 2px; }

.ai-msg {
  max-width: 88%;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  font-size: 1.35rem;
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
  animation: msgIn 0.25s ease both;
}

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

.ai-msg--ai {
  background: rgba(201,162,77,0.1);
  border: 1px solid rgba(201,162,77,0.18);
  color: rgb(245,239,230);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.ai-msg--user {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(245,239,230,0.9);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-msg--typing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 1.6rem;
}

.ai-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(201,162,77);
  animation: typingDot 1.2s ease-in-out infinite;
}

.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.ai-panel__input-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem 1.6rem;
  border-top: 1px solid rgba(201,162,77,0.12);
  background: rgba(0,0,0,0.2);
}

#aiChatInput {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,162,77,0.2);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  color: rgb(245,239,230);
  font-size: 1.35rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#aiChatInput::placeholder { color: rgba(245,239,230,0.3); }
#aiChatInput:focus { border-color: rgba(201,162,77,0.5); box-shadow: 0 0 0 2px rgba(201,162,77,0.12); }

#aiChatSend {
  width: 4rem;
  height: 4rem;
  border-radius: 10px;
  background: rgb(201,162,77);
  border: none;
  color: #080808;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, opacity 0.18s ease;
  flex-shrink: 0;
}

#aiChatSend:hover { transform: scale(1.08); opacity: 0.9; }
#aiChatSend:active { transform: scale(0.95); }

/* Mobile AI panel */
@media (max-width: 749px) {
  #aiChatBtn { bottom: 9rem; right: 1.6rem; width: 5rem; height: 5rem; font-size: 2rem; }
  #aiChatPanel { bottom: 15.5rem; right: 0.8rem; width: calc(100vw - 1.6rem); height: 48rem; }
}

/* ── WISHLIST PAGE STYLES ────────────────────────────────────────── */
.wishlist-page-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(201,162,77,0.12);
  margin-bottom: 3rem;
}

.wishlist-page-hero__icon {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(224,85,85,0.12);
  border: 1.5px solid rgba(224,85,85,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e05555;
  flex-shrink: 0;
}

.wishlist-page-hero__title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: rgb(245,239,230);
  text-align: left;
  margin: 0;
}

.wishlist-page-hero__sub {
  font-size: 1.4rem;
  color: rgba(245,239,230,0.5);
  margin: 0;
  text-align: left;
}

.wishlist-empty,
.wishlist-auth-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
  gap: 1.2rem;
}

.wishlist-empty__icon,
.wishlist-auth-icon {
  font-size: 6rem;
  color: rgba(224,85,85,0.3);
  margin-bottom: 0.8rem;
  line-height: 1;
}

.wishlist-empty h2,
.wishlist-auth-prompt h2 {
  font-size: 2.4rem;
  color: rgb(245,239,230);
}

.wishlist-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  padding: 6rem 2rem;
  color: rgba(245,239,230,0.4);
}

.wishlist-spinner {
  width: 4rem;
  height: 4rem;
  border: 3px solid rgba(201,162,77,0.15);
  border-top-color: rgb(201,162,77);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── PRODUCT PAGE WISHLIST HEART ────────────────────────────────── */
.product-wishlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 1.8rem;
  background: rgba(224,85,85,0.1);
  border: 1.5px solid rgba(224,85,85,0.3);
  border-radius: 8px;
  color: #e05555;
  font-size: 1.35rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
}

.product-wishlist-btn svg { width: 1.8rem; height: 1.8rem; flex-shrink: 0; }
.product-wishlist-btn:hover { background: rgba(224,85,85,0.18); transform: translateY(-1px); }
.product-wishlist-btn.is-wishlisted { background: rgba(224,85,85,0.2); border-color: #e05555; }

/* ═══════════════════════════════════════════════════════════════════
   FEATURE: STICKY ADD TO CART BAR
   ═══════════════════════════════════════════════════════════════════ */
.sticky-atc-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(201, 162, 77, 0.2);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5), 0 -2px 10px rgba(201, 162, 77, 0.06);
  padding: 1.2rem 0;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.35s;
  will-change: transform, opacity;
}

.sticky-atc-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-atc-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

/* Product info section */
.sticky-atc-bar__info {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
  flex: 1;
}

.sticky-atc-bar__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 22rem;
  letter-spacing: 0.01em;
}

.sticky-atc-bar__divider {
  width: 1px;
  height: 2.4rem;
  background: rgba(201, 162, 77, 0.25);
  flex-shrink: 0;
}

.sticky-atc-bar__meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.sticky-atc-bar__size {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream-70);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sticky-atc-bar__size-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  height: 2.8rem;
  padding: 0 0.8rem;
  background: rgba(201, 162, 77, 0.12);
  border: 1px solid rgba(201, 162, 77, 0.3);
  border-radius: 6px;
  color: var(--accent-rgb);
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.2s ease;
}

.sticky-atc-bar__price {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-rgb);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* CTA section */
.sticky-atc-bar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.sticky-atc-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.1rem 2.4rem;
  background: var(--accent-rgb);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.sticky-atc-bar__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sticky-atc-bar__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 162, 77, 0.35);
}

.sticky-atc-bar__btn:hover::before {
  opacity: 1;
}

.sticky-atc-bar__btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(201, 162, 77, 0.2);
}

.sticky-atc-bar__btn svg {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

/* No-size state — subtle pulse animation */
.sticky-atc-bar__size-value.no-size {
  background: rgba(224, 85, 85, 0.12);
  border-color: rgba(224, 85, 85, 0.3);
  color: #e05555;
  font-size: 1.1rem;
  animation: stickyPulseSize 2s ease-in-out infinite;
}

@keyframes stickyPulseSize {
  0%, 100% { border-color: rgba(224, 85, 85, 0.3); }
  50% { border-color: rgba(224, 85, 85, 0.6); }
}

/* ─── Responsive: Tablet ─── */
@media (max-width: 989px) {
  .sticky-atc-bar__name {
    max-width: 16rem;
    font-size: 1.35rem;
  }
}

/* ─── Responsive: Mobile ─── */
@media (max-width: 749px) {
  .sticky-atc-bar {
    padding: 1rem 0;
  }

  .sticky-atc-bar__inner {
    padding: 0 1.4rem;
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .sticky-atc-bar__info {
    gap: 1rem;
  }

  .sticky-atc-bar__name {
    max-width: 10rem;
    font-size: 1.2rem;
  }

  .sticky-atc-bar__divider {
    display: none;
  }

  .sticky-atc-bar__meta {
    gap: 0.8rem;
  }

  .sticky-atc-bar__size {
    font-size: 1.05rem;
  }

  .sticky-atc-bar__size-value {
    min-width: 2.8rem;
    height: 2.4rem;
    font-size: 1.05rem;
    padding: 0 0.6rem;
  }

  .sticky-atc-bar__price {
    font-size: 1.35rem;
  }

  .sticky-atc-bar__btn {
    padding: 1rem 1.6rem;
    font-size: 1.1rem;
    gap: 0.5rem;
  }

  .sticky-atc-bar__btn svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .sticky-atc-bar__btn .sticky-atc-bar__btn-text {
    display: none;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .sticky-atc-bar__name {
    max-width: 7rem;
    font-size: 1.1rem;
  }

  .sticky-atc-bar__price {
    font-size: 1.2rem;
  }

  .sticky-atc-bar__btn {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURE: EXIT INTENT POPUP
   ═══════════════════════════════════════════════════════════════════ */

/* Overlay */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.35s;
}

.exit-popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Modal card */
.exit-popup {
  position: relative;
  width: 100%;
  max-width: 48rem;
  background: rgba(14, 14, 14, 0.95);
  border: 1px solid rgba(201, 162, 77, 0.25);
  border-radius: 20px;
  padding: 4rem 3.6rem;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6),
              0 0 60px rgba(201, 162, 77, 0.06);
  transform: scale(0.88) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.35s ease;
}

.exit-popup-overlay.is-visible .exit-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Close button */
.exit-popup__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 230, 0.12);
  background: rgba(245, 239, 230, 0.06);
  color: var(--cream-70);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.exit-popup__close:hover {
  background: rgba(245, 239, 230, 0.12);
  color: var(--cream);
  transform: rotate(90deg);
}

/* Emoji spark */
.exit-popup__emoji {
  font-size: 4rem;
  margin-bottom: 1.2rem;
  display: block;
  animation: exitEmojiFloat 2.5s ease-in-out infinite;
}

@keyframes exitEmojiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Heading */
.exit-popup__heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Subtext */
.exit-popup__subtext {
  font-family: var(--font);
  font-size: 1.4rem;
  color: var(--cream-70);
  margin-bottom: 2.4rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Discount code chip */
.exit-popup__code-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.exit-popup__code {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: rgba(201, 162, 77, 0.1);
  border: 2px dashed rgba(201, 162, 77, 0.4);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-rgb);
}

.exit-popup__code-copy {
  background: transparent;
  border: 1px solid rgba(201, 162, 77, 0.3);
  color: var(--accent-rgb);
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.exit-popup__code-copy:hover {
  background: rgba(201, 162, 77, 0.15);
}

.exit-popup__code-copy.copied {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

/* Gold divider */
.exit-popup__divider {
  width: 6rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 77, 0.5), transparent);
  margin: 0 auto 2.4rem;
  border: none;
}

/* Email form */
.exit-popup__form {
  display: flex;
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto;
}

.exit-popup__input {
  flex: 1;
  padding: 1.2rem 1.6rem;
  border: 1px solid rgba(245, 239, 230, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.exit-popup__input::placeholder {
  color: var(--cream-40);
}

.exit-popup__input:focus {
  border-color: rgba(201, 162, 77, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.1);
}

.exit-popup__submit {
  padding: 1.2rem 2.4rem;
  background: var(--accent-rgb);
  color: var(--dark);
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.exit-popup__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 162, 77, 0.35);
}

.exit-popup__submit:active {
  transform: translateY(0);
}

.exit-popup__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Success state */
.exit-popup__success {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.exit-popup__success.is-shown {
  display: block;
  animation: exitSuccessFade 0.5s ease;
}

.exit-popup__success-icon {
  font-size: 3.6rem;
  margin-bottom: 1rem;
  display: block;
}

.exit-popup__success-text {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 0.6rem;
}

.exit-popup__success-sub {
  font-family: var(--font);
  font-size: 1.25rem;
  color: var(--cream-40);
}

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

/* Fine print */
.exit-popup__fine {
  font-size: 1.1rem;
  color: var(--cream-40);
  margin-top: 1.6rem;
}

/* ─── Responsive: Mobile ─── */
@media (max-width: 600px) {
  .exit-popup {
    padding: 3rem 2rem;
    border-radius: 16px;
  }

  .exit-popup__heading {
    font-size: 2.2rem;
  }

  .exit-popup__subtext {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .exit-popup__code {
    font-size: 1.5rem;
    padding: 0.8rem 1.4rem;
  }

  .exit-popup__form {
    flex-direction: column;
    gap: 0.8rem;
  }

  .exit-popup__submit {
    width: 100%;
    padding: 1.3rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURE: RECENTLY VIEWED PRODUCTS
   ═══════════════════════════════════════════════════════════════════ */
.recently-viewed {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--border);
}

.recently-viewed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.4rem;
  padding: 0;
}

.recently-viewed__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.recently-viewed__title-icon {
  color: var(--accent-rgb);
  font-size: 1.2em;
}

.recently-viewed__scroll {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 77, 0.2) transparent;
}

.recently-viewed__scroll::-webkit-scrollbar { height: 4px; }
.recently-viewed__scroll::-webkit-scrollbar-track { background: transparent; }
.recently-viewed__scroll::-webkit-scrollbar-thumb { background: rgba(201, 162, 77, 0.2); border-radius: 2px; }

.rv-card {
  flex: 0 0 22rem;
  scroll-snap-align: start;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.rv-card:hover {
  border-color: rgba(201, 162, 77, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.rv-card__img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--dark-2);
}

.rv-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rv-card:hover .rv-card__img {
  transform: scale(1.05);
}

.rv-card__body {
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rv-card__name {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.rv-card__name:hover {
  color: var(--accent-rgb);
}

.rv-card__price {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-rgb);
}

.rv-card__quick-add {
  margin-top: 0.4rem;
  width: 100%;
  padding: 0.8rem;
  background: rgba(201, 162, 77, 0.1);
  border: 1px solid rgba(201, 162, 77, 0.25);
  border-radius: 8px;
  color: var(--accent-rgb);
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rv-card__quick-add:hover {
  background: var(--accent-rgb);
  color: var(--dark);
  border-color: var(--accent-rgb);
}

.rv-card__quick-add svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* Mobile */
@media (max-width: 749px) {
  .rv-card {
    flex: 0 0 17rem;
  }

  .rv-card__body {
    padding: 1rem 1.2rem;
  }

  .rv-card__name { font-size: 1.15rem; }
  .rv-card__price { font-size: 1.2rem; }
}

/* ═══ AI PANEL MAXIMIZE BUTTON ═══ */
.ai-panel__maximize {
  background: none;
  border: none;
  color: rgba(245, 239, 230, 0.5);
  cursor: pointer;
  font-size: 1.4rem;
  padding: 0.4rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-panel__maximize:hover {
  color: rgb(245, 239, 230);
  background: rgba(245, 239, 230, 0.08);
}

.ai-panel__maximize svg {
  width: 1.6rem;
  height: 1.6rem;
}

.ai-panel__header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ═══ NAVBAR AI BUTTON ═══ */
.header__icon--ai {
  position: relative;
  color: var(--accent-rgb) !important;
}

.header__icon--ai .ai-nav-sparkle {
  font-size: 1.8rem;
  display: inline-block;
  animation: navAiPulse 2.5s ease-in-out infinite;
}

@keyframes navAiPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.15); filter: brightness(1.3); }
}

.header__icon--ai::after {
  content: 'AI';
  position: absolute;
  bottom: -0.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-rgb);
  opacity: 0.8;
}

@media (max-width: 749px) {
  .header__icon--ai::after { display: none; }
  .header__icon--ai .ai-nav-sparkle { font-size: 1.6rem; }
}
