/* ============================================================
   Ham & Zar — Design System
   Dark, glass, gold-accent storefront with motion throughout.
============================================================ */

:root {
  --bg: #0a0b0f;
  --bg-soft: #101219;
  --surface: #14161f;
  --surface-2: #1b1e2a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f6;
  --text-dim: #9a9ca8;
  --text-faint: #6b6d78;

  --gold: #f5b942;
  --gold-2: #ffd876;
  --coral: #ff6b6b;
  --teal: #2dd4bf;
  --danger: #ff5c5c;
  --success: #34d399;

  --grad-gold: linear-gradient(135deg, #ffd876 0%, #f5b942 45%, #e8901f 100%);
  --grad-hero: radial-gradient(circle at 15% 20%, rgba(245, 185, 66, 0.18), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(45, 212, 191, 0.14), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(255, 107, 107, 0.12), transparent 45%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 24px rgba(245, 185, 66, 0.25);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

  --header-glass: rgba(10, 11, 15, 0.72);
}

/* ---- light theme override — toggled via data-theme on <html> ---- */
:root[data-theme="light"] {
  --bg: #f6f6f8;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef0f4;
  --border: rgba(15, 17, 26, 0.09);
  --border-strong: rgba(15, 17, 26, 0.16);
  --text: #14161f;
  --text-dim: #5b5e6a;
  --text-faint: #8b8e99;

  --gold: #b9791a;
  --gold-2: #d99a2e;
  --coral: #e0433f;
  --teal: #0d9c8a;
  --danger: #d6362f;
  --success: #1f9d6c;

  --grad-hero: radial-gradient(circle at 15% 20%, rgba(185, 121, 26, 0.10), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(13, 156, 138, 0.08), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(224, 67, 63, 0.07), transparent 45%);

  --shadow-sm: 0 2px 12px rgba(15, 17, 26, 0.06);
  --shadow: 0 8px 30px rgba(15, 17, 26, 0.10);
  --shadow-gold: 0 8px 24px rgba(185, 121, 26, 0.22);

  --header-glass: rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] .hero {
  background: var(--bg-soft);
}

:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .size-swatch.active,
:root[data-theme="light"] .filter-head,
:root[data-theme="light"] .prod-badge.hot,
:root[data-theme="light"] .hero-discount,
:root[data-theme="light"] .cart-drawer-count,
:root[data-theme="light"] .checkout-modal-head {
  color: #241a03;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Rajdhani', 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

::selection {
  background: var(--gold);
  color: #1a1200;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 10px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ============================================================
   Header
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: var(--header-glass);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.topbar {
  font-size: 12.5px;
  color: var(--text-dim);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(245, 185, 66, 0.06), transparent 60%);
}

.topbar strong {
  color: var(--gold);
  font-weight: 600;
}

.topbar-track {
  display: flex;
  width: max-content;
  padding: 7px 0;
  animation: topbarMarquee 18s linear infinite;
}

.topbar-track:hover {
  animation-play-state: paused;
}

.topbar-track span {
  padding: 0 32px;
  white-space: nowrap;
}

@keyframes topbarMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar-track {
    animation: none;
    justify-content: center;
    width: 100%;
  }

  .topbar-track span[aria-hidden] {
    display: none;
  }
}

.header-main {
  padding: 14px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 50px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  /* The correct light/dark logo variant is swapped in per theme (see
     layout.js applyLogoForTheme). A soft outline (not a solid backdrop chip)
     keeps edges crisp even if only one logo file has been uploaded so far. */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
  animation: logoFloat 3.5s ease-in-out infinite;
}
:root[data-theme="light"] .brand img {
  filter: drop-shadow(0 0 1px rgba(20,15,0,.6)) drop-shadow(0 0 3px rgba(20,15,0,.35));
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .brand img { animation: none; }
}

.search-form {
  flex: 1;
  max-width: 560px;
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 12px 48px 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14.5px;
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.search-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.12);
}

.search-form button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 40px;
  border: none;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s var(--ease-bounce);
}

.search-form button:hover {
  transform: scale(1.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  color: var(--text);
  transition: transform .25s var(--ease-bounce);
}

.icon-btn:hover {
  transform: translateY(-2px);
}

.icon-btn-badge {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: iconBadgeFloat 3.6s ease-in-out infinite;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease-bounce);
}
.icon-btn:hover .icon-btn-badge { transform: scale(1.08); }

.icon-btn.icon-track .icon-btn-badge {
  background: linear-gradient(135deg, #5eead4, var(--teal));
  box-shadow: 0 4px 16px -2px rgba(45, 212, 191, 0.5);
  animation-delay: 0s;
}
.icon-btn.icon-cart .icon-btn-badge {
  background: var(--grad-gold);
  color: #1a1200;
  box-shadow: 0 4px 16px -2px rgba(245, 185, 66, 0.55);
  animation-delay: .3s;
}
.icon-btn.icon-cart .icon-btn-badge .cart-badge {
  top: -3px;
  right: -6px;
}
.icon-btn.icon-account .icon-btn-badge {
  background: linear-gradient(135deg, #c4b5fd, #8b7cf6);
  box-shadow: 0 4px 16px -2px rgba(139, 124, 246, 0.5);
  animation-delay: .6s;
}

@keyframes iconBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .icon-btn-badge { animation: none; }
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  transition: transform .3s var(--ease-bounce);
}

.icon-btn span.label {
  font-size: 10.5px;
  color: var(--text-dim);
  font-weight: 700;
}

/* ---- icon micro-animations (hand-built SVG/CSS, Lottie-style motion) ---- */
.icon-btn.icon-track:hover .wheel {
  animation: wheelSpin .5s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

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

.icon-btn.icon-track:hover svg {
  transform: translateX(2px);
}

.icon-btn.icon-cart:hover svg {
  animation: cartWiggle .5s var(--ease-bounce);
}

@keyframes cartWiggle {

  0%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }
}

.icon-btn.icon-cart.pulse svg {
  animation: cartPop .5s var(--ease-bounce);
}

@keyframes cartPop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.35) rotate(-8deg);
  }

  100% {
    transform: scale(1);
  }
}

.icon-btn.icon-account .icon-btn-badge::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid #8b7cf6;
  opacity: 0;
  transform: scale(0.85);
}

.icon-btn.icon-account:hover .icon-btn-badge::before {
  animation: ringPulse .9s var(--ease) infinite;
}

@keyframes ringPulse {
  0% {
    opacity: .8;
    transform: scale(0.7);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 6px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 0 0 2px var(--bg);
}

.cart-badge.bump {
  animation: badgeBump .45s var(--ease-bounce);
}

@keyframes badgeBump {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.6);
  }

  100% {
    transform: scale(1);
  }
}

.nav-bar {
  border-top: 1px solid var(--border);
}

.nav-bar .container {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-bar .container::-webkit-scrollbar {
  display: none;
}

.nav-link {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(245, 185, 66, 0.1);
}

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: var(--bg-soft);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.08) translate(-1%, 1%);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 64px 20px;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 460px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 185, 66, 0.12);
  border: 1px solid rgba(245, 185, 66, 0.3);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp .6s var(--ease) .1s forwards;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp .6s var(--ease) .22s forwards;
}

.hero-title span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp .6s var(--ease) .34s forwards;
}

.hero-cta {
  display: flex;
  gap: 12px;
  opacity: 0;
  animation: fadeUp .6s var(--ease) .46s forwards;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  opacity: 0;
  animation: fadeUp .6s var(--ease) .58s forwards;
}

.hero-stats div b {
  display: block;
  font-size: 22px;
  color: var(--gold);
  font-weight: 800;
}

.hero-stats div span {
  font-size: 12px;
  color: var(--text-dim);
}

.hero-media {
  position: relative;
  opacity: 0;
  animation: fadeIn .8s var(--ease) .3s forwards;
}

.hero-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatY 5s ease-in-out infinite;
}

.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.hero-discount {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #1a1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--shadow-gold);
  animation: spin 9s linear infinite;
}

.hero-discount span {
  font-size: 8.5px;
  font-weight: 700;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: -8px;
  padding-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: var(--border-strong);
  transition: all .3s var(--ease);
}

.hero-dots button.active {
  width: 24px;
  background: var(--gold);
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  transition: transform .25s var(--ease-bounce), box-shadow .25s var(--ease), background .25s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--grad-gold);
  color: #1a1200;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 185, 66, 0.35);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s ease;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 185, 66, 0.06);
}

.btn-dark {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-dark:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn[disabled] {
  opacity: .55;
  pointer-events: none;
}

.btn .spinner {
  width: 16px;
  height: 16px;
}

.btn-cart-anim {
  position: relative;
}

.btn-cart-anim .btn-check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success);
  color: #06281c;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .3s var(--ease-bounce), transform .3s var(--ease-bounce);
}

.btn-cart-anim.added .btn-check {
  opacity: 1;
  transform: scale(1);
}

.btn-cart-anim.added .btn-label {
  opacity: 0;
  transform: scale(0.8);
}

.btn-cart-anim .btn-label {
  transition: opacity .2s ease, transform .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.spinner {
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spinRot .7s linear infinite;
}

/* flying add-to-cart ghost */
.fly-ghost {
  position: fixed;
  z-index: 999;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all .7s cubic-bezier(.5, -0.3, .7, 1);
}

/* ============================================================
   Section headers
============================================================ */
.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section-eyebrow {
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

/* Creative Shop by Categories Header Banner */
.category-header-banner {
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.1) 0%, rgba(13, 148, 136, 0.05) 50%, rgba(2, 132, 199, 0.08) 100%);
  border: 1px solid rgba(245, 185, 66, 0.25);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.category-header-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.2) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(30px);
}
.category-title-content {
  position: relative;
  z-index: 1;
}
.category-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(245, 185, 66, 0.15);
  border: 1px solid rgba(245, 185, 66, 0.35);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.category-main-heading {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}
.category-title-highlight {
  background: linear-gradient(135deg, #f5b942 0%, #ffd580 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.category-title-sub {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0;
}

.section-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, gap .2s;
}

.section-link:hover {
  color: var(--gold);
  gap: 10px;
}

/* ============================================================
   Category grid
============================================================ */
.cat-carousel-wrap {
  position: relative;
}

.cat-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
.cat-carousel::-webkit-scrollbar { display: none; }

.cat-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.cat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), background .2s, color .2s, transform .2s var(--ease-bounce);
}
.cat-carousel-wrap:hover .cat-arrow,
.cat-carousel-wrap:focus-within .cat-arrow {
  opacity: 1;
  pointer-events: auto;
}
.cat-arrow:hover {
  background: var(--grad-gold);
  color: #1a1200;
  transform: translateY(-50%) scale(1.08);
}
.cat-arrow-prev { left: 2px; }
.cat-arrow-next { right: 2px; }
@media (max-width: 780px) {
  .cat-arrow { opacity: 1; pointer-events: auto; width: 34px; height: 34px; }
}

.cat-card-modern {
  position: relative;
  width: 175px;
  height: 220px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform .35s var(--ease-bounce), border-color .3s ease, box-shadow .35s ease;
}

.cat-card-modern:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(245, 185, 66, 0.6);
  box-shadow: 0 16px 40px rgba(245, 185, 66, 0.25);
}

.cat-card-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #ffffff;
}

.cat-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s ease;
  filter: brightness(1) contrast(1.02);
}

.cat-card-modern:hover .cat-card-img-wrap img {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(1.05);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(15, 23, 42, 0.25) 45%, rgba(10, 12, 18, 0.95) 100%);
  z-index: 1;
  transition: background .3s ease;
}

.cat-card-modern:hover .cat-card-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(15, 23, 42, 0.2) 40%, rgba(10, 12, 18, 0.98) 100%);
}

.cat-card-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 185, 66, 0.4);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cat-card-content {
  position: relative;
  z-index: 2;
}

.cat-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  transition: color .2s ease;
}

.cat-card-modern:hover .cat-card-title {
  color: var(--gold);
}

.cat-card-action {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.85;
  transition: opacity .2s ease, gap .2s ease;
}

.cat-card-modern:hover .cat-card-action {
  opacity: 1;
  gap: 8px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  width: 150px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .35s var(--ease), border-color .3s var(--ease);
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 185, 66, 0.4);
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .4s ease;
  filter: brightness(1);
}

.cat-card:hover img {
  transform: scale(1.12);
  filter: brightness(1.05);
}

.cat-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.25) 42%, transparent 70%);
}

.cat-card .label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.cat-card .count {
  font-size: 11px;
  color: var(--gold-2);
  font-weight: 600;
}

@media (max-width: 640px) {
  .cat-card-modern { width: 140px; height: 180px; padding: 10px; }
  .cat-card-title { font-size: 13px; }
  .cat-card { width: 120px; }
}

/* ============================================================
   Product cards & grid with Animated Square Light Hover Effect
============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.prod-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease), border-color .3s ease;
}

/* Animated Square Light Beam Border (Continuous 360° Circle Loop) */
.prod-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 65%,
    #f5b942 80%,
    #38bdf8 90%,
    #ffd580 100%
  );
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: squareLightRotate 2.4s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.prod-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--surface);
  border-radius: calc(var(--radius-xl) - 2px);
  z-index: 0;
  pointer-events: none;
  transition: background .3s ease;
}

.prod-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(245, 185, 66, 0.28), 0 0 22px rgba(56, 189, 248, 0.22);
}

.prod-card:hover::before {
  opacity: 1;
}

@keyframes squareLightRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.prod-thumb, .prod-body, .prod-actions {
  position: relative;
  z-index: 1;
}

.prod-thumb {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #ffffff;
}

.prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s ease;
}

.prod-card:hover .prod-thumb img {
  transform: scale(1.12);
  filter: brightness(1.04);
}

.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.prod-badge.sale {
  background: rgba(244, 63, 94, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.prod-badge.hot {
  background: rgba(245, 185, 66, 0.9);
  color: #1a1200;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.prod-quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -50px;
  transition: bottom .3s var(--ease-bounce);
  z-index: 2;
}

.prod-card:hover .prod-quick {
  bottom: 10px;
}

.prod-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.prod-cat {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.prod-name {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
  transition: color .2s ease;
}

.prod-card:hover .prod-name {
  color: var(--gold);
}

.prod-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.prod-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
}

.prod-price-old {
  font-size: 12.5px;
  color: var(--text-faint);
  text-decoration: line-through;
}

.prod-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

.prod-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 12.5px;
}

.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

.skel-card {
  height: 300px;
}

/* ============================================================
   Perks / trust strip
============================================================ */
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .perks { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 640px) { .perks { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.perk {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 26px 18px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s var(--ease-bounce), border-color .3s, box-shadow .35s var(--ease);
}
.perk::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--perk-accent, var(--grad-gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.perk:nth-child(4n+1) { --perk-accent: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.perk:nth-child(4n+2) { --perk-accent: linear-gradient(135deg, #5eead4, var(--teal)); }
.perk:nth-child(4n+3) { --perk-accent: linear-gradient(135deg, #ffb199, var(--coral)); }
.perk:nth-child(4n+4) { --perk-accent: linear-gradient(135deg, #c4b5fd, #8b7cf6); }

.perk:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.perk:hover::before { transform: scaleX(1); }

.perk .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--perk-accent, var(--grad-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.35);
  transition: transform .4s var(--ease-bounce), box-shadow .35s var(--ease);
}
.perk:hover .icon-wrap { transform: scale(1.1) rotate(-6deg); }

.perk b {
  display: block;
  font-size: 14.5px;
}

.perk span {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ============================================================
   Newsletter / CTA band
============================================================ */
.cta-band {
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.25), transparent 70%);
  top: -100px;
  right: -60px;
  animation: heroDrift 10s ease-in-out infinite alternate;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  min-width: 240px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

/* ============================================================
   Footer & Creative Animated Social Icons
============================================================ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  position: relative;
  margin-top: 60px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding: 56px 0 36px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 13.5px;
  transition: color .2s, padding-left .2s;
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

/* Animated Social Icons */
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s cubic-bezier(0.175, 0.885, 0.32, 1.275), background .3s, border-color .3s, box-shadow .3s, color .3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
}

.social-btn svg {
  width: 20px;
  height: 20px;
  transition: transform .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

/* Floating Micro-Animation */
@keyframes socialFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.social-btn:nth-child(1) {
  animation: socialFloat 3.8s ease-in-out infinite;
}

.social-btn:nth-child(2) {
  animation: socialFloat 4.2s ease-in-out infinite 0.4s;
}

.social-btn:nth-child(3) {
  animation: socialFloat 3.6s ease-in-out infinite 0.8s;
}

.social-btn:nth-child(4) {
  animation: socialFloat 4.0s ease-in-out infinite 1.2s;
}

/* Tooltip on hover */
.social-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(12, 14, 20, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.social-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(12, 14, 20, 0.92);
}

.social-btn:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Hover Animation & Brand Colors */
.social-btn:hover {
  transform: translateY(-6px) scale(1.12);
  border-color: transparent;
  animation: none;
}

.social-btn:hover svg {
  transform: scale(1.15) rotate(-6deg);
}

/* Facebook */
.social-btn.social-facebook:hover {
  background: #1877F2;
  color: #fff;
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.45);
}

/* Messenger */
.social-btn.social-facebook-messenger:hover {
  background: linear-gradient(135deg, #00B2FF, #006AFF, #E4405F);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 178, 255, 0.45);
}

/* WhatsApp */
.social-btn.social-whatsapp:hover {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

/* Envelope / Mail */
.social-btn.social-envelope:hover {
  background: linear-gradient(135deg, #EA4335, #C5221F);
  color: #fff;
  box-shadow: 0 10px 24px rgba(234, 67, 53, 0.45);
}

/* Instagram */
.social-btn.social-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 10px 24px rgba(220, 39, 67, 0.45);
}

/* YouTube */
.social-btn.social-youtube:hover {
  background: #FF0000;
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.45);
}

/* Footer Contact Items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
  transition: color .2s, transform .2s;
}

.contact-link {
  text-decoration: none;
  cursor: pointer;
}

.contact-link:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.contact-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.payment-icons {
  display: flex;
  gap: 8px;
}

.payment-icons span {
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  transition: border-color .2s, transform .2s;
}

.payment-icons span:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--text);
}

/* ============================================================
   Sticky floating cart button
============================================================ */
.sticky-cart-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  width: 58px;
  height: 58px;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  border: none;
  background: var(--grad-gold);
  color: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -6px 0 24px rgba(245, 185, 66, 0.35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), width .25s var(--ease);
}

.sticky-cart-btn:hover {
  transform: translateY(-50%) translateX(-3px);
  box-shadow: -8px 0 30px rgba(245, 185, 66, 0.45);
}

.sticky-cart-btn svg {
  width: 24px;
  height: 24px;
}

.sticky-cart-lottie {
  width: 46px;
  height: 46px;
  display: block;
  pointer-events: none;
}
.sticky-cart-lottie svg { overflow: visible; }

.sticky-cart-btn .cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  box-shadow: 0 0 0 3px var(--bg);
  z-index: 1;
}

.sticky-cart-btn.pulse svg {
  animation: cartPop .5s var(--ease-bounce);
}

@media (max-width: 640px) {
  .sticky-cart-btn {
    right: 0;
    width: 50px;
    height: 50px;
  }

  .sticky-cart-btn svg {
    width: 21px;
    height: 21px;
  }

  .sticky-cart-lottie {
    width: 40px;
    height: 40px;
  }
}

/* Mini theme toggle — floats on the right sidebar edge.
   Moves slightly lower and half-hides while scrolling, expanding on stop or hover. */
.theme-toggle-float {
  position: fixed;
  right: 18px;
  top: 165px;
  z-index: 499;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), background .2s, border-color .2s, opacity .2s;
}

.theme-toggle-float svg {
  width: 18px;
  height: 18px;
}

.theme-toggle-float.is-scrolling {
  transform: translateX(calc(50% + 18px));
  opacity: 0.85;
}

.theme-toggle-float:hover,
.theme-toggle-float.is-scrolling:hover {
  transform: translateX(0) scale(1.1);
  background: var(--surface-2);
  border-color: var(--gold);
  opacity: 1;
}

@media (max-width: 640px) {
  .theme-toggle-float {
    right: 14px;
    top: 130px;
    width: 34px;
    height: 34px;
  }

  .theme-toggle-float svg {
    width: 15px;
    height: 15px;
  }

  .theme-toggle-float.is-scrolling {
    transform: translateX(calc(50% + 14px));
  }
}

/* ============================================================
   Checkout modal (AJAX — no page navigation)
============================================================ */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, 0.72);
  backdrop-filter: blur(3px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.checkout-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal {
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform .35s var(--ease-bounce), opacity .3s var(--ease);
}

.checkout-modal-overlay.open .checkout-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.checkout-modal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--grad-gold);
  color: #1a1200;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.checkout-modal-head h3 {
  font-size: 16.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(26, 18, 0, 0.15);
  border: none;
  color: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .3s var(--ease-bounce);
}

.checkout-modal-close:hover {
  background: rgba(26, 18, 0, 0.28);
  transform: rotate(90deg);
}

.checkout-modal-body {
  padding: 20px 22px 24px;
}

.checkout-review {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.checkout-review-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 4px;
  font-size: 12.5px;
}

.checkout-review-item img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-2);
}

.checkout-review-item .name {
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-review-item .line-total {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.checkout-review-item .mini-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: var(--text-dim);
}

.checkout-review-item .mini-qty button {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 11px;
  line-height: 1;
}

.checkout-modal .summary-row {
  font-size: 13.5px;
}

.badge-required {
  color: var(--danger);
}

.badge-optional {
  font-weight: 400;
  color: var(--text-faint);
  font-size: 11px;
}

/* ---- editable size/color controls on cart lines (drawer, cart page, checkout) ---- */
.variant-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.variant-select {
  font-size: 11.5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
}

.variant-select:hover,
.variant-select:focus {
  border-color: var(--gold);
}

.variant-static {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-dim);
}

.add-another-size:hover {
  text-decoration: underline;
}

/* ============================================================
   Mini-cart drawer
============================================================ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, 0.65);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 90vw);
  background: var(--bg-soft);
  border-left: 1px solid var(--border-strong);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
}

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

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-drawer-head h3 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-drawer-head .cart-drawer-count {
  font-size: 12px;
  background: var(--grad-gold);
  color: #1a1200;
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 800;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s, transform .3s var(--ease-bounce);
}

.cart-drawer-close:hover {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
  transform: rotate(90deg);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  /* 8px here + .drawer-item's own 12px padding = 20px, matching the
     head's 20px inset so the trash button lines up with the close button. */
  padding: 14px 8px;
}

.drawer-item {
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  animation: drawerItemIn .3s var(--ease);
}

@keyframes drawerItemIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.drawer-item.removing {
  animation: drawerItemOut .25s var(--ease) forwards;
}

@keyframes drawerItemOut {
  to {
    opacity: 0;
    transform: translateX(24px);
    height: 0;
    margin: 0;
    padding: 0;
  }
}

.drawer-item-remove {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s, border-color .2s;
  flex-shrink: 0;
}

.drawer-item-remove:hover {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
  transform: scale(1.06);
}

/* ---- shared "product-right, labelled-rows-left" line layout,
   used by both the mini-cart drawer and the full cart page ----
   .vline is the outer card (column stack); .vline-top holds the
   info/image pair; .vline-footer sits below spanning the FULL card
   width so the delete button lines up with the card's true right
   edge (matching the close button above it) instead of stopping
   short at the info column's edge. */
.vline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vline-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.vline-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vline-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  padding: 3px 0;
}

.vline-label {
  flex: 0 0 62px;
  color: var(--text-faint);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: .04em;
}

.vline-value {
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}

.vline-value .variant-controls { margin-top: 0; }
.vline-value .variant-select {
  background: var(--surface-2);
  border-color: var(--border-strong);
  font-weight: 700;
}

.vline-old {
  color: var(--text-faint);
  font-weight: 500;
  text-decoration: line-through;
  margin-left: 4px;
  font-size: 11.5px;
}

.vline-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vline-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background .2s, border-color .2s;
}
.vline-qty button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1200;
}

.vline-subtotal {
  margin-top: 2px;
  padding-top: 7px;
  border-top: 1px dashed var(--border);
}
.vline-subtotal .vline-value {
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.vline-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.vline-img {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
}

@media (max-width: 420px) {
  .vline-img { width: 76px; height: 76px; }
  .vline-label { flex-basis: 48px; }
}

.cart-drawer-foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--text-dim);
}

.cart-drawer-total b {
  font-size: 20px;
  color: var(--gold);
}

.cart-drawer-actions {
  display: flex;
  gap: 10px;
}

.cart-drawer-actions .btn {
  flex: 1;
}

.drawer-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}

.drawer-empty svg {
  width: 60px;
  height: 60px;
  color: var(--text-faint);
  margin-bottom: 14px;
}

/* Full-height drawer flush to the right edge at every size — a consistent
   90% width with the remaining 10% left as a visible gap on the left,
   never a near-full-width sheet on small phones. */
@media (max-width: 980px) {
  .cart-drawer {
    width: 90vw;
  }
}

/* ============================================================
   Add-Size / Size-Guide AJAX modals — same floating-popup pattern
   as the checkout modal, reused generically.
============================================================ */
.ajax-modal-overlay {
  position: fixed; inset: 0; background: rgba(5,6,9,0.72); backdrop-filter: blur(3px);
  z-index: 1150; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.ajax-modal-overlay.open { opacity: 1; pointer-events: auto; }
.ajax-modal {
  width: 100%; max-width: 420px; max-height: 88vh; overflow-y: auto;
  background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transform: scale(0.92) translateY(16px); opacity: 0;
  transition: transform .35s var(--ease-bounce), opacity .3s var(--ease), max-width .35s var(--ease);
}
.ajax-modal.has-guide { max-width: 720px; }
.ajax-modal-overlay.open .ajax-modal { transform: scale(1) translateY(0); opacity: 1; }
.ajax-modal-head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--grad-gold); color: #1a1200; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.ajax-modal-head h3 { font-size: 15.5px; font-weight: 800; }
.ajax-modal-close {
  width: 28px; height: 28px; border-radius: 999px; background: rgba(26,18,0,0.15); border: none; color: #1a1200;
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .3s var(--ease-bounce);
}
.ajax-modal-close:hover { background: rgba(26,18,0,0.28); transform: rotate(90deg); }
.ajax-modal-body { padding: 20px; }

.size-modal-columns { display: flex; gap: 20px; align-items: flex-start; }
.size-modal-left { flex: 1 1 auto; min-width: 0; }
.size-modal-right {
  flex: 1 1 260px; min-width: 0; padding-left: 20px; border-left: 1px solid var(--border);
  animation: sizeGuideReveal .32s var(--ease);
}
@keyframes sizeGuideReveal { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 640px) {
  .size-modal-columns { flex-direction: column; }
  .size-modal-right { padding-left: 0; border-left: none; border-top: 1px solid var(--border); padding-top: 16px; }
}

.size-modal-img { width: 130px; height: 130px; object-fit: cover; border-radius: var(--radius); margin: 0 auto 14px; display: block; background: var(--surface); }
.size-modal-name { text-align: center; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.size-modal-guide-link { display: block; text-align: center; font-size: 12.5px; color: var(--gold); text-decoration: underline; margin-bottom: 18px; cursor: pointer; }
.size-modal-label { font-size: 12.5px; font-weight: 700; color: var(--text-dim); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.size-modal-section { margin-bottom: 18px; }
.size-modal-section:last-of-type { margin-bottom: 22px; }

.size-guide-table-wrap { overflow-x: auto; max-height: 260px; overflow-y: auto; }
.size-guide-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-guide-table th {
  background: var(--grad-gold); color: #1a1200; padding: 10px 12px; text-align: left; font-weight: 800;
  white-space: nowrap; position: sticky; top: 0;
}
.size-guide-table th:first-child { border-radius: 8px 0 0 0; }
.size-guide-table th:last-child { border-radius: 0 8px 0 0; }
.size-guide-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.size-guide-table tr:nth-child(even) td { background: var(--surface); }

.add-another-size-btn {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800;
  color: #1a1200; background: var(--grad-gold); border: none; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 3px 10px rgba(245, 185, 66, 0.35);
  transition: filter .2s, transform .2s var(--ease-bounce), box-shadow .2s;
}
.add-another-size-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(245, 185, 66, 0.45);
}

/* ============================================================
   Toast
============================================================ */
#toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  animation: toastIn .35s var(--ease-bounce);
  overflow: hidden;
  position: relative;
}

.toast.leaving {
  animation: toastOut .3s ease forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(30px) scale(.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(30px) scale(.95);
  }
}

.toast .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast.success .icon {
  background: rgba(52, 211, 153, 0.18);
  color: var(--success);
}

.toast.error .icon {
  background: rgba(255, 92, 92, 0.18);
  color: var(--danger);
}

.toast .msg {
  font-size: 13.5px;
  line-height: 1.4;
}

.toast .msg b {
  display: block;
  margin-bottom: 2px;
}

.toast .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  animation: toastBar 3s linear forwards;
}

@keyframes toastBar {
  from {
    width: 100%;
  }

  to {
    width: 0%;
  }
}

/* ============================================================
   Product detail page
============================================================ */
.pdp {
  padding: 32px 0 60px;
}

.breadcrumb {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 22px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.pdp-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}

.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform .4s var(--ease);
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pdp-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color .2s;
  background: var(--surface);
}

.pdp-thumb.active,
.pdp-thumb:hover {
  border-color: var(--gold);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fbt-section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.fbt-card {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.fbt-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--surface-2);
}

.fbt-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fbt-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fbt-name:hover { color: var(--gold); }

.fbt-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fbt-price {
  font-weight: 800;
  color: var(--gold);
  font-size: 13.5px;
}

.fbt-price-old {
  font-size: 11.5px;
  color: var(--text-faint);
  text-decoration: line-through;
}

.fbt-card .btn-sm {
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 12px;
}

.pdp-info h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}

.pdp-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.pdp-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
}

.pdp-price-old {
  font-size: 18px;
  color: var(--text-faint);
  text-decoration: line-through;
}

.pdp-save {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.15);
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.color-swatch {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  cursor: pointer;
  transition: transform .2s var(--ease-bounce), border-color .2s var(--ease);
  padding: 0;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 185, 66, 0.2);
}

.color-swatch.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.color-swatch.has-image {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.color-swatch.has-image.active::after {
  border-radius: 10px;
}

.color-swatch-label {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: block;
}

.color-swatch-name {
  font-weight: 700;
  color: var(--text);
}

.size-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.size-swatch {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 13.5px;
  transition: all .2s var(--ease-bounce);
}

.size-swatch:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.size-swatch.active {
  background: var(--grad-gold);
  border-color: transparent;
  color: #1a1200;
  box-shadow: var(--shadow-gold);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper button {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: none;
  color: var(--text);
  font-size: 18px;
  transition: background .2s;
}

.qty-stepper button:hover {
  background: var(--surface-2);
  color: var(--gold);
}

.qty-stepper span {
  width: 44px;
  text-align: center;
  font-weight: 700;
}

.pdp-actions {
  display: flex;
  gap: 12px;
  margin: 22px 0;
}

.pdp-actions .btn {
  flex: 1;
  padding: 15px;
  font-size: 14.5px;
}

.pdp-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.pdp-trust div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.pdp-trust svg {
  color: var(--teal);
  flex-shrink: 0;
}

.pdp-section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.pdp-section-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* Admin-authored description HTML ships with hardcoded inline colors/fonts
   from whatever source it was written in — override them so it always
   matches the current theme instead of looking like unstyled foreign text. */
.pdp-desc, .pdp-desc * {
  color: var(--text-dim) !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  line-height: 1.85 !important;
}
.pdp-desc p { margin: 0 0 6px !important; padding: 0 !important; }
.pdp-desc strong, .pdp-desc b, .pdp-desc span[style*="bold" i] {
  color: var(--text) !important;
  font-weight: 700 !important;
}

.pdp-section .size-guide-table-wrap { max-height: none; }

.tabs {
  margin-top: 48px;
}

.tab-heads {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab-head {
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.tab-head.active {
  color: var(--gold);
  border-color: var(--gold);
}

.tab-panel {
  display: none;
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 14.5px;
}

.tab-panel.active {
  display: block;
  animation: fadeIn .3s ease;
}

.tab-panel img {
  border-radius: var(--radius-sm);
  margin: 8px 0;
}

/* ============================================================
   Shop / category page — filter sidebar
============================================================ */
.shop-page {
  padding: 32px 0 70px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: flex-start;
}

.shop-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.filter-group {
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-head {
  padding: 13px 18px;
  font-weight: 800;
  font-size: 13.5px;
  color: #1a1200;
  background: var(--grad-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group:not(:first-child) .filter-head {
  background: var(--surface-2);
  color: var(--text);
}

.filter-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color .2s;
}

.filter-check:hover {
  color: var(--text);
}

.filter-check input {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-check .count {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 11.5px;
}

.filter-color {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-dim);
}

.filter-color input {
  display: none;
}

.filter-color .swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
  transition: all .2s;
}

.filter-color input:checked~.swatch {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(245, 185, 66, 0.25);
}

.filter-color input:checked~.label {
  color: var(--gold);
  font-weight: 700;
}

.filter-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-size-grid label {
  position: relative;
}

.filter-size-grid input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.filter-size-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1.5px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dim);
  transition: all .2s;
}

.filter-size-grid input:checked~span {
  background: var(--grad-gold);
  border-color: transparent;
  color: #1a1200;
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.price-range-values b {
  color: var(--gold);
}

.price-slider {
  position: relative;
  height: 34px;
}

.price-slider input[type="range"] {
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 3px;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1a1200;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.price-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1a1200;
  cursor: pointer;
}

.price-slider-track {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--border-strong);
}

.price-slider-fill {
  position: absolute;
  top: 15px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-gold);
}

.filter-clear {
  display: block;
  text-align: center;
  padding: 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dim);
  transition: color .2s;
}

.filter-clear:hover {
  color: var(--coral);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 5px 12px;
  border-radius: 999px;
  background: rgba(245, 185, 66, 0.1);
  border: 1px solid rgba(245, 185, 66, 0.35);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.filter-chip button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(245, 185, 66, 0.25);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

.shop-count {
  font-size: 12.5px;
  color: var(--text-faint);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }
}

/* ============================================================
   Cart / Checkout page
============================================================ */
.cart-page {
  padding: 36px 0 70px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

.cart-item {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.cart-item.removing {
  transform: translateX(40px);
  opacity: 0;
}

.cart-item .vline-img {
  width: 120px;
  height: 120px;
}

.cart-item .vline-name {
  font-size: 15px;
}

.cart-item-remove {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s, border-color .2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
  transform: scale(1.05);
}

.cart-empty {
  text-align: center;
  padding: 70px 20px;
}

.cart-empty svg {
  width: 84px;
  height: 84px;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.cart-empty p {
  color: var(--text-dim);
  margin-bottom: 20px;
}

.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 90px;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.summary-card.summary-highlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.18), var(--shadow-gold);
}

.summary-card h3 {
  font-size: 17px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.summary-row.total {
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 6px;
}

.summary-row.total b {
  color: var(--gold);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.field-error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.form-group.error .form-control {
  border-color: var(--danger);
  animation: shake .4s var(--ease);
}

.form-group.error .field-error {
  display: block;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  75% {
    transform: translateX(6px);
  }
}

.pay-options {
  display: grid;
  gap: 10px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.pay-option:hover {
  border-color: rgba(245, 185, 66, 0.5);
}

.pay-option.selected {
  border-color: var(--gold);
  background: rgba(245, 185, 66, 0.06);
}

.pay-option input {
  accent-color: var(--gold);
  width: 17px;
  height: 17px;
}

.order-success {
  text-align: center;
  padding: 60px 20px;
}

.order-success .check-circle {
  width: 90px;
  height: 90px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  animation: popIn .5s var(--ease-bounce);
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.order-success h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.order-success p {
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* ============================================================
   Misc / responsive
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-btn:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, 0.65);
  backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(320px, 85vw);
  background: var(--bg-soft);
  border-right: 1px solid var(--border-strong);
  z-index: 1051;
  transform: translateX(-100%);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.45);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu-link {
  display: block;
  padding: 13px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  transition: background .2s, color .2s;
}

[data-mobile-cat-nav] {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu-link:hover {
  background: var(--surface);
  color: var(--gold);
}

.mobile-menu-heading {
  padding: 16px 14px 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .hero-stats {
    justify-content: center;
  }

  .hero-media {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .pdp-grid {
    grid-template-columns: 1fr;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-bar {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .header-social-row {
    display: flex;
  }

  .bottom-nav {
    display: grid;
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------------------------------------------------------------------- */
/* Header social row — mobile/tablet only, replaces Track/Cart/Account     */
/* icons there (now covered by the bottom nav); icons flip continuously.  */
/* ---------------------------------------------------------------------- */
.header-social-row {
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
@media (min-width: 981px) {
  .header-social-row, .bottom-nav { display: none !important; }
}
.header-social-row .social-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  animation: socialFlip 3.2s ease-in-out infinite;
}
.header-social-row .social-btn svg { width: 15px; height: 15px; }

/* Always-on brand colors here (not just on :hover like the footer row) —
   these sit in the mobile header permanently, so they need to read as
   vivid and colorful at a glance, same energy as the gold sticky-cart tab. */
.header-social-row .social-btn.social-facebook {
  background: #1877F2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}
.header-social-row .social-btn.social-facebook-messenger {
  background: linear-gradient(135deg, #00B2FF, #006AFF, #E4405F);
  box-shadow: 0 4px 14px rgba(0, 106, 255, 0.4);
}
.header-social-row .social-btn.social-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}
.header-social-row .social-btn.social-envelope {
  background: linear-gradient(135deg, #EA4335, #C5221F);
  box-shadow: 0 4px 14px rgba(234, 67, 53, 0.4);
}
.header-social-row .social-btn.social-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.4);
}
.header-social-row .social-btn.social-youtube {
  background: #FF0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}
.header-social-row .social-btn:nth-child(1) { animation-delay: 0s; }
.header-social-row .social-btn:nth-child(2) { animation-delay: .3s; }
.header-social-row .social-btn:nth-child(3) { animation-delay: .6s; }
.header-social-row .social-btn:nth-child(4) { animation-delay: .9s; }
.header-social-row .social-btn:nth-child(5) { animation-delay: 1.2s; }
.header-social-row .social-tooltip { display: none; }
@keyframes socialFlip {
  0%, 80%, 100% { transform: rotateY(0deg); }
  90% { transform: rotateY(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .header-social-row .social-btn { animation: none; }
}

/* ---------------------------------------------------------------------- */
/* Bottom nav — fixed 5-item bar, mobile/tablet only                      */
/* ---------------------------------------------------------------------- */
.bottom-nav {
  grid-template-columns: repeat(5, 1fr);
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-strong);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.15);
}
.bottom-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 9px 0 8px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 10.5px;
  font-weight: 600;
  transition: color .2s;
}
.bottom-nav-item svg { width: 20px; height: 20px; }
.bottom-nav-item.active { color: var(--gold); }
.bottom-nav-item:active { color: var(--gold); }
.bottom-nav-item .cart-badge {
  position: absolute;
  top: 3px;
  left: calc(50% + 6px);
  box-shadow: 0 0 0 2px var(--bg-soft);
}

@media (max-width: 640px) {
  .search-form {
    display: none;
  }

  .header-main .container {
    gap: 12px;
  }

  .icon-btn span.label {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 40px 0 20px;
  }

  .cart-item .vline-img {
    width: 72px;
    height: 72px;
  }

  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .prod-name {
    font-size: 13px;
    min-height: 34px;
  }

  .prod-price {
    font-size: 15px;
  }

  .prod-body {
    padding: 10px;
    gap: 6px;
  }

  .prod-actions {
    padding: 0 10px 10px;
    gap: 6px;
  }
}

/* ============================================================
   Account / Auth page — standalone split-screen login & signup
============================================================ */
.auth-body {
  min-height: 100vh;
  background: var(--bg);
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.auth-back {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.auth-back:hover { background: rgba(0, 0, 0, 0.4); transform: translateX(-2px); }

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* ---- Left: animated brand panel ---- */
.auth-brand {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #14161f 0%, #1a1200 55%, #2b1d00 100%);
  color: #fff;
}

.auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: blobFloat 12s ease-in-out infinite;
}
.auth-blob-1 { width: 340px; height: 340px; background: #f5b942; top: -80px; left: -80px; animation-delay: 0s; }
.auth-blob-2 { width: 260px; height: 260px; background: #7c5cff; bottom: -60px; right: -40px; animation-delay: -4s; }
.auth-blob-3 { width: 200px; height: 200px; background: #ff6b6b; bottom: 20%; left: 10%; animation-delay: -8s; opacity: 0.35; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .auth-blob { animation: none; } }

.auth-brand-content {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.auth-logo { display: inline-block; margin-bottom: 28px; }
.auth-logo img { height: 52px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); animation: logoFloat 3.5s ease-in-out infinite; }

.auth-brand-content h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}
.auth-brand-content h1 span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-brand-content > p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 28px;
}

.auth-perks { display: flex; flex-direction: column; gap: 14px; }
.auth-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.auth-perks svg { flex-shrink: 0; color: #f5b942; }

/* ---- Right: form panel ---- */
.auth-form-panel { background: var(--bg); }

.auth-form-card {
  width: 100%;
  max-width: 380px;
  animation: fadeIn .4s ease;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  padding: 10px 0;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dim);
  transition: background .25s, color .25s;
}
.auth-tab.active { background: var(--grad-gold); color: #1a1200; }

.auth-form { display: none; flex-direction: column; gap: 16px; }
.auth-form.active { display: flex; animation: fadeIn .3s ease; }

.auth-password-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-password-input { flex: 1; position: relative; }
.auth-password-input .form-control { padding-right: 44px; }
.auth-eye-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  transition: color .2s;
}
.auth-eye-toggle:hover { color: var(--gold); }

.auth-submit { margin-top: 4px; }

.auth-hint {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 4px;
}
.auth-hint a { color: var(--gold); font-weight: 700; }

/* ---- Penguin password-peek mascot ---- */
.penguin {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.pg-flipper {
  transform-box: view-box;
  transform-origin: 60px 66px;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.pg-flipper-l { transform: rotate(0deg); }
.pg-flipper-r { transform: rotate(0deg); }
.penguin.is-covering .pg-flipper-l { transform: rotate(62deg); }
.penguin.is-covering .pg-flipper-r { transform: rotate(-62deg); }
.penguin.is-peeking .pg-flipper-l { transform: rotate(-42deg); }
.penguin.is-peeking .pg-flipper-r { transform: rotate(42deg); }

.pg-eyes { transform-box: view-box; transform-origin: 60px 42px; transition: transform .3s ease; }
.penguin.is-peeking .pg-eyes { transform: scale(1.12); }
.pg-pupil { transition: transform .3s ease; }

.pg-foot { transition: transform .3s ease; }
.penguin.is-peeking .pg-foot-l { transform: rotate(-8deg); transform-box: view-box; transform-origin: 47px 106px; }
.penguin.is-peeking .pg-foot-r { transform: rotate(8deg); transform-box: view-box; transform-origin: 73px 106px; }

/* ---- Logged-in account dashboard ---- */
.account-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.account-header h2 { font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.account-header p { font-size: 12.5px; color: var(--text-dim); }
.auth-logout-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s;
}
.auth-logout-btn:hover { background: var(--danger); color: #fff; }

.account-section { margin-bottom: 26px; }
.account-section h3 { font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.account-empty { font-size: 12.5px; color: var(--text-faint); }

.account-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.account-order-id { font-weight: 700; font-size: 13px; }
.account-order-items { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
.account-order-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.account-order-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-dim);
}
.account-order-status.status-delivered { background: rgba(16,185,129,.15); color: #10B981; }
.account-order-status.status-pending { background: rgba(245,158,11,.15); color: #F59E0B; }
.account-order-status.status-cancelled { background: rgba(239,68,68,.15); color: var(--danger); }
.account-order-total { font-weight: 800; color: var(--gold); font-size: 13px; }

.account-address-row {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.account-address-type {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,185,66,.12);
  padding: 4px 9px;
  border-radius: 6px;
  height: fit-content;
}
.account-address-name { font-size: 12.5px; font-weight: 700; margin-bottom: 2px; }
.account-address-text { font-size: 12px; color: var(--text-dim); }

/* ============================================================
   Account Page & User Dashboard Layout
============================================================ */
.account-page-wrapper {
  min-height: 75vh;
  padding-bottom: 60px;
}

/* Creative Creative Glowing Ambient Login Background */
.auth-guest-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, rgba(245,185,66,0.08) 0%, transparent 65%),
              radial-gradient(circle at 85% 85%, rgba(124,92,255,0.08) 0%, transparent 55%),
              var(--bg);
}
.auth-ambient-orbs {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(75px); opacity: 0.4;
  animation: orbFloat 16s ease-in-out infinite alternate;
}
.orb-1 { width: 380px; height: 380px; background: rgba(245,185,66,0.32); top: -80px; left: 10%; animation-delay: 0s; }
.orb-2 { width: 420px; height: 420px; background: rgba(124,92,255,0.28); bottom: -100px; right: 8%; animation-delay: -5s; }
.orb-3 { width: 280px; height: 280px; background: rgba(255,64,129,0.25); top: 35%; right: 25%; animation-delay: -10s; }

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, -35px) scale(1.12); }
  100% { transform: translate(-35px, 35px) scale(0.92); }
}

/* Guest Login Card Container */
.auth-container-padded {
  padding-top: 48px;
  padding-bottom: 48px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.auth-card-modern {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  position: relative;
}
.auth-form-head { margin-bottom: 24px; text-align: center; }
.auth-form-head h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-form-head p { font-size: 13px; color: var(--text-dim); }

/* Dashboard Banner */
.account-banner {
  background: #1e2432;
  color: #fff;
  padding: 42px 0 68px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
:root[data-theme="light"] .account-banner {
  background: #1b2234;
}
.account-banner-title {
  font-size: 32px; font-weight: 800; color: #ffffff; margin-bottom: 6px; font-family: Rajdhani, sans-serif;
}
.account-banner-sub {
  font-size: 14px; color: rgba(255,255,255,0.7);
}

/* Dashboard Container & Elevated Profile Card */
.account-dashboard-container {
  margin-top: -46px;
  position: relative;
  z-index: 5;
}

.account-profile-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px 30px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.profile-avatar-wrap { flex-shrink: 0; }
.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e040fb, #8e24aa);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900;
  box-shadow: 0 8px 20px rgba(224,64,251,0.3);
}

.profile-info { flex: 1; min-width: 200px; }
.profile-name { font-size: 22px; font-weight: 800; margin-bottom: 2px; }
.profile-meta { font-size: 12.5px; color: var(--text-dim); margin-bottom: 12px; }
.profile-stats { display: flex; gap: 24px; }
.profile-stat-item b { font-size: 18px; font-weight: 800; color: var(--gold); display: block; }
.profile-stat-item span { font-size: 11.5px; color: var(--text-dim); }

.profile-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.btn-shop-now {
  background: var(--grad-gold); color: #1a1200; font-weight: 800; border: none;
  box-shadow: 0 6px 18px rgba(245,185,66,0.35);
}

/* Dashboard Grid Layout (Sidebar + Main) */
.account-dashboard-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.account-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius);
  border: none; background: transparent; color: var(--text-dim);
  font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: left;
  transition: all .2s ease;
}
.account-nav-btn svg { color: var(--text-dim); transition: color .2s; }
.account-nav-btn:hover {
  background: var(--surface-2); color: var(--text);
}
.account-nav-btn:hover svg { color: var(--gold); }
.account-nav-btn.active {
  background: rgba(243, 90, 90, 0.12);
  color: var(--primary);
  font-weight: 700;
}
.account-nav-btn.active svg { color: var(--primary); }

.account-nav-divider { height: 1px; background: var(--border); margin: 8px 0; }
.account-logout-item { color: var(--danger); }
.account-logout-item svg { color: var(--danger); }
.account-logout-item:hover { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

/* Main Content Card */
.account-content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  min-height: 380px;
}

.account-panel { display: none; }
.account-panel.active { display: block; animation: fadeIn .3s ease; }

.panel-head {
  padding-bottom: 16px; margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.panel-head.flex-between {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.panel-title { display: flex; align-items: center; gap: 10px; color: var(--text); }
.panel-title svg { color: var(--primary); }
.panel-title h3 { font-size: 18px; font-weight: 800; margin: 0; }

/* Saved Address Cards & Multiple Address System */
.address-cards-wrapper {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}

.account-address-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all .2s ease; position: relative;
}
.account-address-card:hover {
  border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.account-address-card.is-primary-card {
  border-color: rgba(245,185,66,0.5); background: var(--surface);
  box-shadow: 0 4px 14px rgba(245,185,66,0.08);
}

.address-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.address-badge {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px;
}
.address-badge.tag-primary {
  background: var(--grad-gold); color: #1a1200;
}
.address-badge.tag-secondary {
  background: rgba(124,92,255,0.15); color: #7c5cff; border: 1px solid rgba(124,92,255,0.3);
}
.address-badge.tag-other {
  background: var(--surface); color: var(--text-dim); border: 1px solid var(--border);
}

.address-card-actions { display: flex; align-items: center; gap: 8px; }
.btn-text {
  background: none; border: none; font-size: 11.5px; font-weight: 700; color: var(--gold);
  cursor: pointer; padding: 2px 6px; border-radius: 4px; transition: background .15s;
}
.btn-text:hover { background: rgba(245,185,66,0.12); }

.btn-icon-action {
  background: transparent; border: none; color: var(--text-dim); cursor: pointer;
  padding: 4px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.btn-icon-action:hover { background: var(--surface); color: var(--text); }
.btn-icon-action.btn-delete:hover { color: var(--danger); background: rgba(239,68,68,0.12); }

.address-name { font-size: 14px; font-weight: 700; color: var(--text); }
.address-phone { font-size: 12.5px; font-weight: 500; color: var(--text-dim); }
.address-text { font-size: 12.5px; color: var(--text-dim); line-height: 1.45; margin-top: 4px; }

/* Address Modal */
.address-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(6px);
  z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .2s ease;
}
.address-modal-card {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl); padding: 28px; width: 100%; max-width: 520px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4); animation: slideUp .25s ease;
}
.address-modal-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.address-modal-head h3 { font-size: 20px; font-weight: 800; margin: 0; }
.address-modal-close {
  background: var(--surface-2); border: none; color: var(--text-dim); width: 32px; height: 32px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .15s;
}
.address-modal-close:hover { color: var(--text); background: var(--border); }

.address-type-selector { display: flex; gap: 10px; margin-top: 6px; }
.type-pill {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px 12px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--text-dim); transition: all .15s;
}
.type-pill input { display: none; }
.type-pill:has(input:checked) {
  background: rgba(245,185,66,0.12); border-color: var(--gold); color: var(--gold); font-weight: 700;
}

/* Empty States */
.account-empty-state {
  text-align: center; padding: 48px 20px; color: var(--text-dim);
}
.empty-icon-wrap {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--surface-2); color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; border: 1px solid var(--border);
}
.account-empty-state h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.account-empty-state p { font-size: 13px; }

/* Form Styles inside Account Panels */
.account-form { max-width: 440px; display: flex; flex-direction: column; gap: 16px; }

.settings-list { display: flex; flex-direction: column; gap: 14px; }
.setting-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border);
  cursor: pointer;
}
.setting-item b { display: block; font-size: 14px; margin-bottom: 2px; }
.setting-item span { font-size: 12px; color: var(--text-dim); }

/* ============================================================
   Creative Purchase Invoice Modal & Printable Card
============================================================ */
.creative-invoice-wrapper {
  display: flex; flex-direction: column; gap: 20px; text-align: left;
}

.invoice-success-banner {
  display: flex; align-items: center; gap: 16px; padding: 18px 24px;
  background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg); color: var(--text);
}
.success-icon-ring {
  width: 48px; height: 48px; border-radius: 50%; background: #10B981; color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.invoice-success-banner h3 { font-size: 18px; font-weight: 800; margin: 0 0 2px; }
.invoice-success-banner p { font-size: 13px; margin: 0; color: var(--text-dim); }

.invoice-printable-card {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl); padding: 24px 28px; box-shadow: var(--shadow);
}

.invoice-header-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.company-logo-badge {
  font-family: Rajdhani, sans-serif; font-size: 24px; font-weight: 900; color: var(--gold);
  letter-spacing: 0.5px; margin-bottom: 2px;
}
.company-sub { font-size: 12px; font-weight: 600; color: var(--text-dim); }
.company-contacts { font-size: 11.5px; color: var(--text-faint); margin-top: 4px; display: flex; gap: 10px; }

.meta-col { text-align: right; }
.invoice-pill-status {
  font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 3px 10px;
  border-radius: 999px; background: rgba(245,185,66,0.15); color: var(--gold);
  border: 1px solid rgba(245,185,66,0.3); display: inline-block; margin-bottom: 4px;
}
.invoice-id-tag { font-size: 15px; font-weight: 800; color: var(--text); }
.invoice-date-tag { font-size: 12px; color: var(--text-dim); }

.invoice-line-divider { height: 1px; background: var(--border); margin: 18px 0; }

.invoice-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.info-box { font-size: 12.5px; color: var(--text-dim); }
.info-label { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 4px; }
.cust-name-text { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.cust-detail-text { margin-bottom: 2px; }

.delivery-time-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: rgba(124,92,255,0.12); border: 1px solid rgba(124,92,255,0.25);
  border-radius: var(--radius); color: #7c5cff; margin: 6px 0 8px; font-size: 12.5px;
}
.pay-method-tag { font-size: 12px; color: var(--text-dim); }

.invoice-table-container { margin-bottom: 20px; overflow-x: auto; }
.invoice-items-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.invoice-items-table th {
  background: var(--surface-2); color: var(--text-dim); text-align: left; padding: 10px 12px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid var(--border);
}
.invoice-items-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.item-cell { display: flex; align-items: center; gap: 12px; }
.item-img-thumb { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--border); }
.item-name-title { font-weight: 700; color: var(--text); margin-bottom: 2px; }
.item-variation-tags { display: flex; gap: 6px; }
.var-badge { font-size: 10.5px; background: var(--surface-2); padding: 2px 6px; border-radius: 4px; color: var(--text-dim); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.bold-qty { font-weight: 700; }
.bold-total { font-weight: 800; color: var(--gold); }

.invoice-summary-grid { display: grid; grid-template-columns: 1fr 240px; gap: 20px; align-items: end; }
.tracking-link-note { font-size: 11.5px; color: var(--text-dim); line-height: 1.4; }
.track-url { color: var(--gold); font-weight: 700; word-break: break-all; }

.summary-calculation { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.calc-row { display: flex; justify-content: space-between; color: var(--text-dim); }
.calc-row.discount-row { color: var(--danger); }
.calc-row.grand-total-row {
  border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px;
  font-size: 15px; font-weight: 800; color: var(--text);
}
.grand-total-row b { color: var(--gold); }

.auto-account-callout {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.callout-icon { font-size: 24px; flex-shrink: 0; }
.auto-account-callout h4 { font-size: 14px; font-weight: 800; margin: 0 0 2px; color: var(--text); }
.auto-account-callout p { font-size: 12px; margin: 0; color: var(--text-dim); }

.invoice-modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* Dashboard Live Tracking Progress & Wishlist */
.dash-track-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 22px;
}
.track-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.track-invoice-id { font-size: 16px; color: var(--text); }
.track-date { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.track-progress-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; text-align: center;
}
.track-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; color: var(--text-dim);
}
.track-step span { font-size: 11.5px; font-weight: 600; color: var(--text-dim); }
.track-step.active .step-icon { background: var(--gold); border-color: var(--gold); color: #1a1200; }
.track-step.active span { color: var(--text); font-weight: 700; }

.track-delivery-box {
  padding: 12px 16px; background: var(--surface); border-radius: var(--radius); font-size: 13px; color: var(--text-dim);
}

.wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wishlist-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px;
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
}
.wishlist-thumb { width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius); }
.wishlist-title { font-size: 13.5px; font-weight: 700; color: var(--text); }
.wishlist-price { font-size: 14px; font-weight: 800; color: var(--gold); }

/* ============================================================
   Executive Invoice Modal & Light Sheet Overlay
============================================================ */
.invoice-view-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .25s ease; padding: 20px;
}
.invoice-view-overlay.open {
  opacity: 1; visibility: visible;
}
.invoice-view-sheet {
  background: #ffffff !important; color: #1e293b !important;
  border-radius: 16px; width: 100%; max-width: 900px; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); padding: 32px 36px 36px;
  transform: scale(0.95); transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; font-family: 'Plus Jakarta Sans', sans-serif;
}
.invoice-view-sheet td, .invoice-view-sheet th, .invoice-view-sheet p, .invoice-view-sheet span, .invoice-view-sheet div {
  color: #1e293b;
}
.invoice-view-sheet a {
  color: #0284c7 !important;
}
.invoice-view-overlay.open .invoice-view-sheet {
  transform: scale(1);
}
.invoice-sheet-close {
  background: #f1f5f9 !important; border: 1px solid #cbd5e1 !important; color: #475569 !important;
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; font-weight: 700; transition: all .15s;
  position: absolute; top: 20px; right: 20px; z-index: 10;
}
.invoice-sheet-close:hover { background: #e2e8f0 !important; color: #0f172a !important; }

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-panel { padding: 60px 24px 40px; }
  .account-dashboard-grid { grid-template-columns: 1fr; }
  .account-profile-card { flex-direction: column; text-align: center; }
  .profile-stats { justify-content: center; }
  .profile-actions { margin-left: 0; width: 100%; justify-content: center; }
  .invoice-grid-2, .invoice-summary-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Site-wide "Why Shop With Us" trust section — sits above the
   footer on every page (unlike .perks, which is home-page only).
============================================================ */
.footer-trust {
  margin-top: 70px;
  background: linear-gradient(175deg, #14161f 0%, #1a1200 60%, #241a03 100%);
  color: #fff;
  padding: 64px 0 0;
  overflow: hidden;
}

.footer-trust-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.footer-trust-head .section-eyebrow { color: var(--gold); }
.footer-trust-head .section-title { color: #fff; }

.footer-trust-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 0 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.footer-trust.in .footer-trust-cards,
.footer-trust.reveal.in .footer-trust-cards {
  opacity: 1;
  transform: translateY(0);
}

.footer-trust-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.footer-trust-track {
  display: flex;
  gap: 20px;
  width: max-content;
}
.footer-trust-track.dir-ltr { animation: trustMarquee 22s linear infinite reverse; }
.footer-trust-track.dir-rtl { animation: trustMarquee 22s linear infinite; }
.footer-trust-marquee:hover .footer-trust-track { animation-play-state: paused; }
@keyframes trustMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-trust-track { animation: none; }
}

.footer-trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 22px;
  width: 260px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 185, 66, 0.22);
  transition: border-color .3s, background .3s;
}
.footer-trust-card:hover {
  border-color: var(--gold);
  background: rgba(245, 185, 66, 0.07);
}

.footer-trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(245,185,66,0.18), transparent 70%);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  animation: trustIconFloat 3.4s ease-in-out infinite;
}
.footer-trust-icon svg { width: 27px; height: 27px; }
@keyframes trustIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-trust-icon { animation: none; }
}

.footer-trust-card b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
}
.footer-trust-card span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-trust-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.footer-trust-strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 0;
}
@media (max-width: 780px) { .footer-trust-strip-row { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; } }

.footer-trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-right: 1px solid var(--border);
}
.footer-trust-strip-item:last-child { border-right: none; }
@media (max-width: 780px) {
  .footer-trust-strip-item:nth-child(2n) { border-right: none; }
  .footer-trust-strip-item { border-right: none; padding: 0 6px; }
}

.footer-trust-strip-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 185, 66, 0.12);
  color: var(--gold);
}
.footer-trust-strip-icon svg { width: 17px; height: 17px; }

.footer-trust-strip-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.footer-trust-strip-text b { font-size: 12.5px; font-weight: 800; }
.footer-trust-strip-text small { font-size: 11px; color: var(--text-dim); }