/* Touba Shoes Luxury Design System 2026 — Modern Iranian E-Commerce UI */
:root {
  --ink: #142018;
  --ink-secondary: #475a4e;
  --ink-muted: #718578;
  --green-dark: #06110a;
  --green-deep: #0d1e16;
  --green-card: #12281d;
  --green-emerald: #10b981;
  --green-emerald-hover: #059669;
  --green-emerald-light: #059669;
  --green-tint: rgba(16, 185, 129, 0.08);
  --gold-primary: #d97706;
  --gold-light: #f59e0b;
  --gold-tint: rgba(217, 119, 6, 0.1);
  --cream: #f4f6f3;
  --paper: #ffffff;
  --paper-elevated: #fafbfa;
  --line: #dfe5dd;
  --line-dark: rgba(255, 255, 255, 0.1);
  --danger: #ef4444;
  --danger-light: #f87171;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 25px -5px rgba(12, 29, 20, 0.06), 0 8px 10px -6px rgba(12, 29, 20, 0.04);
  --shadow-hover: 0 20px 35px -5px rgba(12, 29, 20, 0.12), 0 10px 15px -5px rgba(12, 29, 20, 0.06);
  --shadow-floating: 0 25px 50px -12px rgba(6, 17, 10, 0.25);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: Vazirmatn, Tahoma, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Global Reset & Typography */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body, button, input, textarea, select {
  font-family: var(--font-sans);
}
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; outline: none; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green-emerald);
  outline-offset: 2px;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--green-emerald);
  color: #ffffff;
  border: 1px solid transparent;
  transition: all 0.22s var(--ease);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: var(--green-emerald-hover);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn.dark {
  background: var(--green-deep);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.btn.dark:hover {
  background: #173326;
  border-color: var(--green-emerald);
}
.btn.outline {
  background: transparent;
  border: 1.5px solid var(--green-emerald);
  color: var(--green-emerald);
  box-shadow: none;
}
.btn.outline:hover {
  background: var(--green-tint);
}
.btn.small {
  padding: 7px 15px;
  font-size: 12px;
}
.btn.danger-button {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2);
}
.btn.danger-button:hover {
  background: #b91c1c;
}
.text-link {
  color: var(--green-emerald);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.18s;
}
.text-link:hover {
  color: var(--green-emerald-hover);
  text-decoration: underline;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 100;
  padding: 13px 24px;
  background: rgba(13, 30, 22, 0.96);
  color: #f8faf8;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid rgba(52, 211, 153, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Modal Window */
.modal-back {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(4, 12, 8, 0.7);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn 0.2s var(--ease);
}
.modal {
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-floating);
  padding: 30px;
  position: relative;
  animation: slideUp 0.25s var(--ease);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-deep);
  margin: 0;
}
.modal-head .close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--ink-secondary);
  font-size: 20px;
  line-height: 1;
  transition: all 0.15s;
}
.modal-head .close:hover {
  background: #e2e8f0;
  color: var(--ink);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Sticky Global Storefront Navigation */
.store-header-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 17, 10, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s;
}
.store-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.brand-emblem {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #065f46 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.brand-emblem svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.store-nav > a, .nav-categories > a {
  height: 74px;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.18s;
  color: #94a3b8;
}
.store-nav > a:after, .nav-categories > a:after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 0;
  left: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--green-emerald);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s var(--ease);
}
.store-nav > a:hover, .store-nav > a.active, .nav-categories > a.active {
  color: #ffffff;
}
.store-nav > a:hover:after, .store-nav > a.active:after, .nav-categories > a.active:after {
  transform: scaleX(1);
}

.nav-categories {
  height: 74px;
  position: relative;
}
.nav-categories > a {
  gap: 5px;
}
.nav-dropdown {
  position: absolute;
  top: 66px;
  right: -10px;
  min-width: 210px;
  padding: 10px;
  background: #0d1e16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s var(--ease);
  z-index: 50;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  color: #cbd5e1;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.nav-dropdown a:hover {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-emerald-light);
  transform: translateX(-3px);
}
.nav-categories:hover .nav-dropdown, .nav-categories:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.store-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.store-search {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  padding: 0 14px;
  transition: all 0.2s;
}
.store-search:focus-within {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--green-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.store-search input {
  width: 140px;
  border: 0;
  outline: 0 !important;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
}
.store-search input::placeholder {
  color: #94a3b8;
}
.store-search .search-submit-btn {
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: #f1f5f9;
  cursor: pointer;
  padding: 0;
}
.store-search .search-close-btn {
  display: none !important;
}
.store-search button svg, .header-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-action {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  transition: all 0.2s;
  color: #f1f5f9;
}
.header-action:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--green-emerald);
  color: var(--green-emerald-light);
  transform: translateY(-1px);
}
.cart-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.cart-icon-wrap .count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--green-emerald);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
  border: 2px solid #06110a;
}
.cart-label {
  font-size: 12px;
  font-weight: 600;
  margin-right: 2px;
}
.cart-action {
  display: flex;
  align-items: center;
  width: auto;
  padding: 0 12px;
  border-radius: var(--radius-full);
  gap: 6px;
}
.mobile-menu-toggle { display: none; }

/* Luxury Hero Section — Reference Match
   کالا کاملاً شارپ و واضح می‌ماند؛ فقط پنل شیشهٔ سمت راست (و حلقهٔ نازک
   پشت آن) افکت backdrop-filter: blur(28px) دارند. */
.lux-hero {
  min-height: 600px;
  position: relative;
  overflow: hidden;
  background: #08140e;
  color: #ffffff;
  isolation: isolate;
}
.lux-hero-image, .lux-hero-shade, .lux-hero-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lux-hero-image {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.02) contrast(1.07) saturate(1.06);
}
.lux-hero-shade {
  z-index: 1;
  background:
    linear-gradient(270deg, rgba(3, 10, 6, 0.88) 0%, rgba(4, 12, 8, 0.58) 18%, rgba(5, 14, 9, 0.20) 40%, rgba(5, 14, 9, 0) 62%),
    linear-gradient(180deg, rgba(3, 10, 6, 0.34) 0%, rgba(3, 10, 6, 0) 24%, rgba(3, 10, 6, 0.36) 100%);
}
.lux-hero-glow {
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(30% 40% at 60% 88%, rgba(16, 185, 129, 0.10) 0%, rgba(16, 185, 129, 0) 74%);
  mix-blend-mode: screen;
}
.lux-hero-watermark {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 1.2vw;
  width: 100%;
  padding-left: 4vw;
  text-align: left;
  font: 900 clamp(36px, 6.2vw, 112px) / 0.86 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  direction: ltr;
  color: rgba(255, 255, 255, 0.045);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
  pointer-events: none;
  user-select: none;
}
.lux-hero-content {
  height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.lux-hero-ring {
  position: absolute;
  z-index: 0;
  inset-inline-start: -180px;
  bottom: -26%;
  width: min(780px, 56vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.008) 62%, rgba(16, 185, 129, 0.028) 100%);
  backdrop-filter: blur(32px) saturate(170%);
  -webkit-backdrop-filter: blur(32px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 40px 90px -45px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}
.lux-hero-ring::after {
  content: "";
  position: absolute;
  inset: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.lux-hero-copy {
  width: min(570px, 48%);
  margin-right: 0;
}
.lux-hero-copy.lux-hero-glass {
  position: relative;
  z-index: 1;
  padding: 46px 42px 40px;
  border-radius: 46px 46px 46px 150px;
  overflow: hidden;
  /* شیشهٔ تقریباً بی‌رنگ: تینت بسیار کم + بلور بالا؛ عمق فقط از لبه‌ها و بازتاب‌ها می‌آید */
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.024) 40%, rgba(255, 255, 255, 0.010) 68%, rgba(255, 255, 255, 0.016) 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(34px) saturate(130%) brightness(1.05);
  -webkit-backdrop-filter: blur(34px) saturate(130%) brightness(1.05);
  box-shadow:
    0 44px 96px -44px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.60),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 72px rgba(255, 255, 255, 0.035);
}
.lux-hero-glass-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(112% 88% at 94% -16%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(124deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.055) 44%, rgba(255, 255, 255, 0.11) 50%, rgba(255, 255, 255, 0) 64%),
    radial-gradient(130% 110% at -10% 110%, rgba(16, 185, 129, 0.07) 0%, rgba(16, 185, 129, 0) 52%);
}
.hero-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.hero-kicker i, .hero-note-dot {
  width: 7px;
  height: 7px;
  background: var(--green-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}
.lux-hero h1 {
  position: relative;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.04em;
  margin: 20px 0 14px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}
.lux-hero-copy > p {
  position: relative;
  color: #dbe5df;
  font-size: 14.5px;
  line-height: 2.05;
  max-width: 100%;
  margin: 0 0 26px;
}
.hero-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-primary {
  padding: 15px 30px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #34d399 0%, #10b981 48%, #047857 100%);
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow: 0 20px 44px -16px rgba(16, 185, 129, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.hero-primary:hover {
  background: linear-gradient(135deg, #4ade80 0%, #10b981 52%, #065f46 100%);
  box-shadow: 0 26px 54px -16px rgba(16, 185, 129, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}
.hero-primary svg {
  transition: transform 0.25s var(--ease);
}
.hero-primary:hover svg {
  transform: translateX(-3px);
}
.hero-secondary {
  color: #eaf1ec;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: all 0.2s var(--ease);
}
.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.17);
  color: #ffffff;
  transform: translateY(-2px);
}
.hero-secondary span {
  color: var(--green-emerald-light);
  font-size: 16px;
  transition: transform 0.2s;
}
.hero-secondary:hover span {
  transform: translateX(-4px);
}
.hero-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #a3b3aa;
  font-size: 12px;
}
.hero-side-label {
  position: absolute;
  bottom: 24px;
  left: 32px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 700 9px var(--font-sans);
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.35);
  z-index: 2;
}
@media (prefers-reduced-motion: no-preference) {
  .lux-hero-copy.lux-hero-glass {
    animation: heroGlassIn 0.9s var(--ease) both;
  }
  .lux-hero-watermark {
    animation: heroWatermarkIn 1.2s var(--ease) both;
  }
  @keyframes heroGlassIn {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: none; }
  }
  @keyframes heroWatermarkIn {
    from { opacity: 0; transform: translateX(-26px); }
    to { opacity: 1; transform: none; }
  }
}

/* Trust Bar */
.trust-section {
  background: #0d1e16;
  color: #f1f5f9;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 16px;
}
.trust-item:last-child {
  border-left: 0;
}
.trust-item > svg {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: var(--green-emerald-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-item div {
  display: flex;
  flex-direction: column;
}
.trust-item b {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.trust-item span {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Section Headings */
.category-section, .products-section {
  padding-top: 64px;
  padding-bottom: 16px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-emerald);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-heading h2 {
  font-size: 28px;
  line-height: 1.35;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-heading p {
  font-size: 13px;
  color: var(--ink-secondary);
  margin: 6px 0 0;
}
.section-heading > a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-emerald);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.18s;
  padding-bottom: 4px;
}
.section-heading > a:hover {
  color: var(--green-emerald-hover);
}

/* Categories Showcase */
.category-scroll {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}
.category-card {
  position: relative;
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all 0.24s var(--ease);
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-emerald-light);
  box-shadow: var(--shadow-card);
}
.category-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 24px;
  color: var(--green-deep);
  transition: all 0.2s;
}
.category-card:hover .category-icon {
  background: var(--green-tint);
  color: var(--green-emerald);
  transform: scale(1.08);
}
.category-arrow {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: var(--green-emerald);
  font-size: 14px;
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.2s var(--ease);
}
.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(0);
}
.sale-category .category-icon {
  color: var(--gold-primary);
  background: var(--gold-tint);
}

/* Luxury Product Grid & Cards */
.lux-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.lux-product-card {
  position: relative;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.lux-product-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}
.lux-product-image {
  display: block;
  position: relative;
  aspect-ratio: 1.25;
  background: #f1f5f9;
  overflow: hidden;
}
.lux-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.lux-product-card:hover .lux-product-image img {
  transform: scale(1.06);
}
.lux-product-placeholder {
  width: 100%;
  height: 100%;
  background-image: url('/product-shoes.jpg');
  background-size: 200% 200%;
  transition: transform 0.5s var(--ease);
}
.image-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: center;
  padding: 24px 10px 10px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(6, 17, 10, 0.75));
  opacity: 0;
  transition: opacity 0.2s;
}
.lux-product-card:hover .image-overlay {
  opacity: 1;
}

.favorite-button {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-secondary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.favorite-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.favorite-button:hover, .favorite-button.is-favorite {
  color: #dc2626;
  background: #ffffff;
}
.favorite-button.is-favorite svg {
  fill: #dc2626;
}

.product-discount {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.lux-product-info {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-muted);
}
.lux-product-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 3px 0 5px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.18s;
}
.lux-product-name:hover {
  color: var(--green-emerald);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-size: 11px;
  line-height: 1;
}
.product-rating small {
  color: var(--ink-muted);
  font-size: 10px;
}

.lux-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}
.lux-price-row strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--green-dark);
}
.lux-price-row del {
  font-size: 11px;
  color: #94a3b8;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}
.stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 500;
  color: #059669;
}
.stock-indicator i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-emerald);
}
.stock-indicator.in-stock {
  color: #059669;
}
.stock-indicator.in-stock i {
  background: #10b981;
}
.stock-indicator.last-one {
  color: #c2410c;
  font-weight: 700;
  background: rgba(234, 88, 12, 0.08);
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(234, 88, 12, 0.25);
  animation: pulseLastOne 2s infinite ease-in-out;
}
.stock-indicator.last-one i {
  background: #ea580c;
  box-shadow: 0 0 6px #ea580c;
}
@keyframes pulseLastOne {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.97); }
}
.stock-indicator.out-stock {
  color: #dc2626;
}
.stock-indicator.out-stock i {
  background: #dc2626;
}
.product-view-link {
  color: var(--green-emerald);
  font-size: 11px;
  font-weight: 600;
  margin-right: auto;
}
.quick-add-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-emerald);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.quick-add-button:hover:not(:disabled) {
  background: var(--green-emerald);
  color: #ffffff;
  transform: rotate(90deg) scale(1.05);
}
.quick-add-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Editorial Collection Banner */
.collection-banner {
  min-height: 340px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #091a12 0%, #050e09 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 64px;
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}
.collection-visual {
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.collection-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}
.collection-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, #091a12 0%, rgba(9, 26, 18, 0.2) 60%, transparent 100%);
}
.collection-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
  overflow: hidden;
}
.collection-content .section-eyebrow {
  color: var(--green-emerald-light);
}
.collection-content h2 {
  font-size: 36px;
  line-height: 1.3;
  margin: 10px 0;
  color: #ffffff;
  font-weight: 800;
}
.collection-content h2 em {
  font-style: normal;
  color: var(--green-emerald-light);
}
.collection-content p {
  max-width: 380px;
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 2;
  margin: 0 0 22px;
}
.collection-button {
  width: max-content;
}
.collection-watermark {
  position: absolute;
  bottom: -20px;
  left: 20px;
  font: 900 84px var(--font-sans);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
}

/* Why Touba Section */
.why-section {
  padding: 64px 0 72px;
  background: #091710;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.light-heading h2 {
  color: #ffffff;
}
.light-heading p {
  max-width: 420px;
  color: #94a3b8;
  line-height: 2;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-card {
  position: relative;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  transition: all 0.22s var(--ease);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-3px);
}
.why-number {
  position: absolute;
  top: 18px;
  left: 18px;
  color: rgba(255, 255, 255, 0.2);
  font: 700 12px var(--font-sans);
}
.why-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--green-emerald-light);
}
.why-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
}
.why-card p {
  font-size: 12px;
  line-height: 1.95;
  color: #94a3b8;
  margin: 0;
}

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.about-photo-wrap {
  height: 420px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: var(--shadow-card);
}
.about-photo-wrap:after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(6, 17, 10, 0.7));
}
.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo-caption {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  right: 22px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}
.about-copy h2 {
  font-size: 32px;
  margin: 8px 0 16px;
  letter-spacing: -0.025em;
  color: var(--green-dark);
  font-weight: 800;
}
.about-copy > p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 2.3;
  max-width: 520px;
}
.about-button {
  display: inline-flex;
  margin-top: 14px;
}
.about-signature {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-deep);
}
.about-signature span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-right: 8px;
}

/* Reviews Showcase */
.reviews-section {
  padding: 64px 0 72px;
  background: #f1f5f9;
}
.review-summary {
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.review-summary small {
  color: var(--ink-muted);
  margin-right: 8px;
  font-size: 12px;
  font-weight: 500;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.customer-review {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 22px;
  min-height: 180px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.22s var(--ease);
}
.customer-review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  color: var(--green-emerald);
  font-weight: 700;
  font-size: 14px;
}
.review-top > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.review-top b {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.review-top > div:nth-child(2) > span {
  font-size: 11px;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-stars {
  margin-right: auto;
  color: var(--gold-light);
  font-size: 12px;
}
.customer-review p {
  font-size: 13px;
  line-height: 2.05;
  color: var(--ink-secondary);
  margin: 14px 0 10px;
}
.customer-review time {
  font-size: 11px;
  color: var(--ink-muted);
}

/* Newsletter Box */
.newsletter-section {
  padding: 56px 0 64px;
}
.newsletter-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.8fr);
  align-items: center;
  gap: 36px;
  min-height: 180px;
  padding: 36px 44px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0d2217 0%, #06110a 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}
.newsletter-leaf {
  position: absolute;
  left: 20px;
  bottom: 12px;
  color: rgba(52, 211, 153, 0.08);
  pointer-events: none;
}
.newsletter-leaf svg {
  width: 140px;
  height: 140px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}
.newsletter-copy h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 4px 0 6px;
  color: #ffffff;
}
.newsletter-copy p {
  color: #cbd5e1;
  font-size: 13px;
  margin: 0;
}
.newsletter-form {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
}
.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0 !important;
  background: transparent;
  padding: 0 16px;
  font-size: 13px;
  color: #ffffff;
}
.newsletter-form input::placeholder {
  color: #94a3b8;
}
.newsletter-form button {
  border: 0;
  border-radius: var(--radius-full);
  background: var(--green-emerald);
  color: #ffffff;
  padding: 10px 22px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-form button:hover {
  background: var(--green-emerald-hover);
}

/* Store Footer */
.store-footer {
  background: #06110a;
  color: #e2e8f0;
  padding: 56px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-brand {
  font-size: 20px;
}
.footer-brand-col > p {
  max-width: 300px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 2.1;
  margin: 14px 0 18px;
}
.store-footer h3 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 18px;
}
.store-footer a:not(.store-brand) {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  margin: 10px 0;
  transition: color 0.18s;
}
.store-footer a:hover {
  color: var(--green-emerald-light);
}
.store-footer p {
  color: #94a3b8;
  font-size: 12px;
  line-height: 2;
  margin: 8px 0;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  color: #e2e8f0 !important;
  font-size: 14px !important;
  transition: all 0.2s;
}
.social-links a:hover {
  border-color: var(--green-emerald);
  background: var(--green-tint);
  color: var(--green-emerald-light) !important;
}
.footer-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-emerald-light);
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.footer-trust svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  color: #64748b;
  font-size: 11.5px;
}

/* Inner Pages (Shop, Detail, Cart, Checkout, Auth, Admin, etc.) */
.page {
  padding-top: 36px;
  padding-bottom: 72px;
}
.breadcrumb {
  color: var(--ink-muted);
  font-size: 12px;
  margin-bottom: 14px;
}
.page-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green-dark);
  margin: 0 0 24px;
}

.panel, .filter-panel, .cart-summary, .auth-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  padding: 24px;
}
.filter-panel {
  width: 260px;
  flex: none;
}
.filter-group {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}
.filter-group:last-child {
  border-bottom: 0;
}
.filter-group b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  margin: 6px 0;
  cursor: pointer;
}
.filter-group .range {
  display: flex;
  gap: 8px;
}
.filter-group input[type=number] {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.shop-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.shop-layout > section {
  flex: 1;
  min-width: 0;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--ink-secondary);
}
.shop-toolbar select, .select {
  height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 12.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s;
}
.shop-toolbar select:focus, .select:focus {
  border-color: var(--green-emerald);
}

/* Forms & Fields */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink);
  transition: all 0.18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  outline: none;
}
.field textarea {
  min-height: 80px;
  resize: vertical;
}

/* Product Detail Page */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.5vw, 56px);
  margin-bottom: 48px;
}
.gallery-main {
  height: 440px;
  border-radius: var(--radius-lg);
  background: #f1f5f9;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.thumbs button {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  overflow: hidden;
  background: #f1f5f9;
  transition: all 0.18s;
}
.thumbs button:hover {
  border-color: var(--green-emerald);
  transform: translateY(-2px);
}

.product-detail h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 6px 0 12px;
  line-height: 1.3;
}
.detail-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 12px 0 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.detail-price del {
  font-size: 15px;
  color: #94a3b8;
  font-weight: 500;
}
.detail-row {
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.pill {
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s;
}
.pill.selected, .pill:hover {
  border-color: var(--green-emerald);
  background: var(--green-tint);
  color: var(--green-emerald-hover);
}
.detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper);
}
.qty button {
  width: 36px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.15s;
}
.qty button:hover {
  background: #e2e8f0;
}
.qty span {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
.notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--green-tint);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #065f46;
  font-size: 12.5px;
  line-height: 1.9;
}

/* Tabs & Reviews */
.tabs {
  display: flex;
  gap: 16px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 20px;
}
.tab {
  padding: 10px 16px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.18s;
}
.tab.active {
  color: var(--green-emerald);
  border-color: var(--green-emerald);
}
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 18px;
  margin-bottom: 12px;
}

/* Cart & Checkout Layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: flex-start;
}
.cart-row {
  display: grid;
  grid-template-columns: 68px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}
.cart-row:last-child {
  border-bottom: 0;
}
.cart-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  display: grid;
  place-items: center;
  font-size: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.row-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ink-secondary);
}
.summary-line.total {
  border-top: 2px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--green-dark);
}
.summary-line b {
  color: var(--ink);
}

/* Auth Cards */
.auth-card {
  max-width: 440px;
  margin: 36px auto;
  padding: 36px 30px;
}
.auth-card h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
  text-align: center;
  margin: 12px 0 6px;
}
.auth-card p {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-secondary);
  margin-bottom: 22px;
}

/* Tables System */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 12.5px;
}
.data-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--ink-secondary);
  vertical-align: middle;
}
.data-table tr:hover td {
  background: #f8fafc;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.badge.green {
  background: #dcfce7;
  color: #15803d;
}
.badge.red {
  background: #fee2e2;
  color: #b91c1c;
}

/* Admin Dashboard Styling */
.admin-body {
  background: #08150f;
  color: #f1f5f9;
}
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #05100b;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  padding: 0 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.18s;
}
.sidebar a:hover, .sidebar a.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-emerald-light);
}

/* Categorized Admin Drawer & Hamburger Navigation */
.admin-nav-bar {
  margin: 16px 0 20px;
}
.admin-hamburger-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  text-align: right;
}
.admin-hamburger-btn:hover {
  border-color: var(--green-emerald);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}
.admin-hamburger-btn .hamburger-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green-tint);
  color: var(--green-emerald);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  flex: none;
}
.admin-hamburger-btn .hamburger-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-dark);
}
.admin-current-chip {
  margin-right: auto;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #15803d;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.25);
  white-space: nowrap;
}
.admin-hamburger-btn .hamburger-arrow {
  font-size: 14px;
  color: #94a3b8;
  margin-left: 2px;
}

/* Admin Drawer Overlay & Slide-in Container */
.admin-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 8, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.admin-drawer-overlay.overlay-open {
  opacity: 1;
  pointer-events: auto;
}

.admin-categorized-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: #07150e;
  color: #ffffff;
  z-index: 95;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  transform: translateX(105%);
  transition: transform 0.28s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-categorized-drawer.drawer-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #05100b;
}
.drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-emblem {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981 0%, #065f46 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.drawer-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s;
}
.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.admin-drawer-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.admin-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}
.admin-group-title .group-icon {
  font-size: 13px;
}
.admin-group-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.admin-group-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: right;
  transition: all 0.18s;
  position: relative;
  font-family: inherit;
}
.admin-group-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transform: translateX(-3px);
}
.admin-group-item.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.35);
  color: var(--green-emerald-light);
  font-weight: 700;
}
.admin-group-item .item-icon {
  font-size: 15px;
  width: 22px;
  text-align: center;
  flex: none;
}
.admin-group-item .item-label {
  flex: 1;
  text-align: right;
}
.admin-group-item .item-active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-emerald);
  opacity: 0;
  transition: all 0.2s;
  flex: none;
  margin-right: auto;
}
.admin-group-item.active .item-active-dot {
  opacity: 1;
  box-shadow: 0 0 8px var(--green-emerald);
}

.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #05100b;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-back-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  padding: 6px 0;
  transition: color 0.15s;
}
.drawer-back-link:hover {
  color: var(--green-emerald-light);
}
.drawer-logout-btn {
  width: 100%;
  min-height: 38px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.drawer-logout-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

.admin-top {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: #0a1b12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-content {
  padding: 28px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #0d2217;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-card span {
  font-size: 12px;
  color: #94a3b8;
}
.stat-card b {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}
.chart-card {
  background: #0d2217;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}
.chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 180px;
  padding-top: 20px;
}
.chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--green-emerald-light) 0%, var(--green-emerald) 100%);
  border-radius: 6px 6px 0 0;
  position: relative;
  min-height: 8px;
  transition: height 0.4s var(--ease);
}
.chart .bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #94a3b8;
}

/* Mobile Product Bar */
.mobile-product-bar {
  display: none;
}

/* Responsive Media Queries */
@media (min-width: 1500px) {
  .container { width: min(1360px, calc(100% - 96px)); }
  .lux-hero, .lux-hero-content { min-height: 580px; height: 580px; }
}

@media (max-width: 1100px) {
  .container { width: min(100% - 40px, 1040px); }
  .store-nav { gap: 14px; font-size: 12px; }
  .lux-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-scroll { grid-template-columns: repeat(7, minmax(110px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-brand-col { grid-row: span 2; }
  .footer-main > div:last-child { grid-column: 2 / -1; }
}

/* Minimal Mobile Navigation Backdrop */
.mobile-nav-backdrop {
  display: none;
}

/* Tablet & mobile header: compact nav applies up to 1100px so the header never overflows */
@media (max-width: 1100px) {
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(3, 10, 6, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease);
  }
  .mobile-nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }
  .store-header-wrap { position: sticky; top: 0; z-index: 60; }
  .store-header {
    background: rgba(6, 17, 10, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .store-header-inner {
    min-height: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: relative;
    padding: 0;
  }
  .mobile-menu-toggle {
    display: flex !important;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:active, .mobile-menu-toggle.is-open {
    background: rgba(16, 185, 129, 0.22);
    border-color: var(--green-emerald);
  }
  .mobile-menu-toggle span {
    height: 2px;
    width: 20px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.22s var(--ease);
  }
  .mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .store-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
  }
  .brand-emblem {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #10b981 0%, #065f46 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
  }
  .brand-emblem svg { width: 20px; height: 20px; }
  .store-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-right: auto;
  }
  .store-search {
    position: static;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  .store-search input {
    display: none;
  }
  .store-search .search-submit-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    color: #ffffff;
    padding: 0;
    cursor: pointer;
  }
  .store-search .search-submit-btn svg {
    width: 19px;
    height: 19px;
    stroke: #ffffff;
    stroke-width: 2;
  }
  .store-search.search-open {
    position: absolute;
    inset: 8px 10px;
    width: calc(100% - 20px);
    height: 46px;
    z-index: 90;
    background: #0c1e15;
    border: 1.5px solid var(--green-emerald);
    border-radius: var(--radius-full);
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7);
  }
  .store-search.search-open input {
    display: block !important;
    flex: 1;
    width: 100%;
    border: 0 !important;
    outline: none !important;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
  }
  .store-search.search-open .search-close-btn {
    display: grid !important;
    place-items: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }
  .header-action {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
  }
  .header-action:hover, .header-action:active {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--green-emerald);
    color: var(--green-emerald-light);
  }
  .header-action svg {
    width: 19px;
    height: 19px;
    stroke: #ffffff;
    stroke-width: 2;
  }
  .cart-icon-wrap .count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    border-radius: var(--radius-full);
    background: var(--green-emerald);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    border: 2px solid #06110a;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.8);
    display: grid;
    place-items: center;
    padding: 0 4px;
  }
  .cart-label { display: none !important; }
  /* Minimalist Compact Mobile Navigation Panel */
  .store-nav {
    display: flex !important;
    position: absolute;
    top: calc(100% + 8px);
    right: 10px;
    left: auto;
    width: 220px;
    max-width: calc(100vw - 20px);
    margin: 0;
    padding: 6px;
    background: rgba(8, 22, 14, 0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(16, 185, 129, 0.15);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
    pointer-events: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .store-nav.nav-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .store-nav > a, .nav-categories, .nav-categories > a {
    height: auto;
    min-height: 36px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: background 0.15s, color 0.15s;
    position: relative;
    text-decoration: none;
  }
  .store-nav > a:hover, .store-nav > a.active, .nav-categories > a.active {
    background: rgba(16, 185, 129, 0.12) !important;
    color: var(--green-emerald-light) !important;
    font-weight: 600;
  }
  .store-nav > a.active::before {
    content: "";
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--green-emerald);
  }
  .store-nav > a:after, .nav-categories > a:after { display: none !important; }
  .nav-categories {
    flex-direction: column;
    align-items: stretch;
    padding: 0 !important;
    min-height: unset;
  }
  .nav-categories > a {
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
  }
  .cat-chevron {
    font-size: 10px;
    color: #64748b;
    transition: transform 0.2s;
    margin-right: 4px;
  }
  .nav-categories.open .cat-chevron {
    transform: rotate(180deg);
    color: var(--green-emerald-light);
  }
  .nav-dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 2px 0 4px 0;
    margin: 2px 6px 4px 0;
    border-right: 1.5px solid rgba(16, 185, 129, 0.3);
    background: transparent;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-radius: 0;
  }
  .nav-categories.open .nav-dropdown {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .nav-dropdown a {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 400;
    border-radius: 6px;
    background: transparent !important;
    border: none !important;
    transition: all 0.15s;
    text-decoration: none;
  }
  .nav-dropdown a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06) !important;
    transform: none;
  }
  .nav-divider-mobile {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 6px;
  }
  .mobile-drawer-user {
    min-height: 34px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    background: rgba(16, 185, 129, 0.08) !important;
    color: var(--green-emerald-light) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 !important;
    text-decoration: none;
  }
  .mobile-drawer-user:hover {
    background: rgba(16, 185, 129, 0.16) !important;
  }
  .user-icon-slot {
    display: flex;
    align-items: center;
  }
  .user-icon-slot svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.8;
  }
}

@media (max-width: 860px) {
  .container { width: calc(100% - 28px); }
  .lux-hero { min-height: 500px; }
  .lux-hero-content { height: 500px; align-items: flex-end; padding-bottom: 36px; }
  .lux-hero-copy { width: 100%; max-width: 500px; }
  .lux-hero h1 { font-size: 36px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-item { border-left: 0; justify-content: flex-start; }
  .trust-item:nth-child(odd) { border-left: 1px solid rgba(255, 255, 255, 0.08); }
  .category-scroll { grid-template-columns: repeat(8, 92px); margin-left: -16px; margin-right: -16px; padding: 0 16px 8px; }
  .lux-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .collection-banner { grid-template-columns: 1fr; margin-top: 40px; margin-bottom: 32px; }
  .collection-visual { height: 210px; min-height: 210px; }
  .collection-content { padding: 24px; }
  .collection-content h2 { font-size: 28px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-section { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .about-photo-wrap { height: 260px; order: 1; }
  .about-copy { order: 2; }
  .review-grid { grid-template-columns: 1fr; }
  .newsletter-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .product-layout, .checkout-layout, .shop-layout { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .gallery-main { height: 320px; }
  .mobile-product-bar {
    position: fixed;
    z-index: 30;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(18, 38, 25, 0.08);
    backdrop-filter: blur(12px);
  }
  .mobile-product-bar > div { display: flex; flex-direction: column; }
  .mobile-product-bar small { font-size: 10px; color: var(--ink-muted); }
  .mobile-product-bar b { font-size: 14px; font-weight: 800; color: #047857; }
}


/* ==========================================================================
   Minimal Header Buttons — Clean, Zero-Border, Modern Aesthetic
   ========================================================================== */
.minimal-actions {
  display: flex !important;
  align-items: center;
  gap: 4px;
}
.minimal-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #cbd5e1 !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  display: grid !important;
  place-items: center;
  border-radius: 10px !important;
  transition: all 0.18s var(--ease);
  padding: 0 !important;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.minimal-btn:hover, .minimal-btn:focus-visible {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.minimal-btn:active {
  transform: scale(0.94);
}
.minimal-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}
.minimal-toggle {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px !important;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 8px !important;
}
.minimal-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.22s var(--ease);
}
.minimal-toggle.is-open .bar-1 {
  transform: translateY(7px) rotate(45deg);
}
.minimal-toggle.is-open .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}
.minimal-toggle.is-open .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

.minimal-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06) !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0 4px 0 12px !important;
  height: 38px;
  transition: all 0.2s;
  box-shadow: none !important;
}
.minimal-search:focus-within {
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4) !important;
}
.minimal-search input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff;
  font-size: 12.5px;
  width: 130px;
  padding: 0 6px;
}
.minimal-search input::placeholder {
  color: #94a3b8;
}
.minimal-search .search-submit-btn {
  background: transparent !important;
  border: none !important;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  padding: 0;
  cursor: pointer;
}
.minimal-search .search-submit-btn:hover {
  color: #ffffff;
}
.minimal-search .search-close-btn {
  display: none !important;
}

/* Minimal Cart badge */
.cart-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.cart-icon-wrap .count {
  position: absolute;
  top: -4px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 3px;
  border-radius: 9999px;
  background: var(--green-emerald);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  border: 1.5px solid #06110a;
  line-height: 1;
}

/* ==========================================================================
   Luxury Product-Style Category Cards
   ========================================================================== */
.lux-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}
@media (min-width: 1100px) {
  .lux-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* ==========================================================================
   Full-Cover Image Category Showcase (Compact & Modern)
   ========================================================================== */
.lux-category-card {
  position: relative;
  height: 185px;
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  isolation: isolate;
  background: #0f2319;
}
.lux-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(6, 17, 10, 0.32);
  border-color: rgba(52, 211, 153, 0.5);
}
.lux-category-card:active {
  transform: translateY(-1px) scale(0.99);
}
.lux-category-card .category-image-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.lux-category-card:hover .category-image-visual {
  transform: scale(1.08);
}
.lux-category-card .category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 10, 0.22) 0%, rgba(6, 17, 10, 0.52) 42%, rgba(6, 17, 10, 0.94) 100%);
  z-index: 2;
  transition: background 0.3s ease;
}
.lux-category-card:hover .category-card-overlay {
  background: linear-gradient(180deg, rgba(6, 17, 10, 0.16) 0%, rgba(6, 17, 10, 0.44) 42%, rgba(6, 17, 10, 0.96) 100%);
}
.category-card-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.category-tag-badge {
  background: rgba(16, 185, 129, 0.22);
  color: #a7f3d0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.38);
  letter-spacing: -0.01em;
}
.category-tag-badge.special-sale {
  background: rgba(220, 38, 38, 0.88);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}
.category-count-badge {
  background: rgba(0, 0, 0, 0.48);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.category-card-bottom-info {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.category-card-kicker {
  font-size: 10.5px;
  font-weight: 600;
  color: #34d399;
  letter-spacing: -0.01em;
}
.lux-category-card .lux-category-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.category-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
  transition: all 0.2s ease;
}
.category-card-cta svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.2s ease;
}
.lux-category-card:hover .category-card-cta {
  color: #6ee7b7;
}
.lux-category-card:hover .category-card-cta svg {
  transform: translateX(-3px);
}

/* ==========================================================================
   Mobile-First Shopping Cart Layout & Multi-Item Scroll
   ========================================================================== */
.cart-mobile-page {
  padding-bottom: 96px;
}
.cart-page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cart-page-header .page-title {
  margin: 0;
  font-size: 24px;
}
.cart-items-counter {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Free Shipping Meter */
.free-shipping-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-subtle);
}
.free-shipping-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink);
  margin-bottom: 8px;
}
.free-shipping-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--green-emerald);
  stroke-width: 2;
  fill: none;
}
.free-shipping-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
}
.free-shipping-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  border-radius: 9999px;
  transition: width 0.4s var(--ease);
}

.cart-layout-compact {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 22px;
  align-items: flex-start;
}
.cart-items-panel {
  padding: 18px 20px;
}
.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.cart-items-scrollable {
  max-height: 52vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-left: 4px;
}
.cart-items-scrollable::-webkit-scrollbar {
  width: 4px;
}
.cart-items-scrollable::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Compact Item Row */
.compact-cart-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.compact-cart-row:last-child {
  border-bottom: 0;
}
.compact-cart-thumb {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.compact-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shoe-sprite-thumb {
  width: 100%;
  height: 100%;
  background-image: url('/product-shoes.jpg');
  background-size: 200% 200%;
}
.compact-cart-details {
  flex: 1;
  min-width: 0;
}
.compact-cart-name {
  display: block;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  text-decoration: none;
}
.compact-cart-name:hover {
  color: var(--green-emerald);
}
.compact-cart-variant {
  font-size: 11px;
  color: var(--ink-muted);
}
.compact-cart-unit-price {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}
.compact-cart-ctrls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.compact-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
  height: 32px;
}
.compact-qty-stepper button {
  width: 28px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.compact-qty-stepper button:hover {
  background: #e2e8f0;
}
.compact-qty-stepper span {
  width: 26px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.compact-row-total {
  font-size: 13px;
  font-weight: 800;
  color: var(--green-dark);
  min-width: 84px;
  text-align: left;
}
.compact-delete-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  color: #94a3b8;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s;
}
.compact-delete-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}
.compact-delete-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.compact-coupon-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.compact-coupon-input {
  flex: 1;
  height: 36px;
  font-size: 12px;
}
.compact-notice {
  margin: 10px 0 0;
  padding: 8px 12px;
  font-size: 11.5px;
}

.compact-summary-panel {
  padding: 20px;
}
.summary-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cart-security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 14px;
  text-align: center;
}
.cart-security-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-emerald);
  stroke-width: 2;
  fill: none;
}

/* Mobile Sticky Bottom Bar */
.mobile-cart-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Minimal header on mobile without bulky outlines */
  .store-header-inner {
    min-height: 56px !important;
  }
  .minimal-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
  .minimal-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
  .store-search.search-open {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  }

  /* Category grid on mobile: 2-column compact full-cover cards */
  .lux-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .lux-category-card {
    height: 136px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
  .lux-category-card .lux-category-title {
    font-size: 13.5px !important;
  }
  .category-card-kicker {
    font-size: 9.5px !important;
  }
  .category-tag-badge {
    font-size: 9.5px !important;
    padding: 2px 7px !important;
  }
  .category-count-badge {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .category-card-cta {
    font-size: 10px !important;
    margin-top: 2px !important;
  }
  .category-card-cta svg {
    width: 11px !important;
    height: 11px !important;
  }
  
  /* Mobile-first compact shopping cart */
  .cart-layout-compact {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .cart-items-panel {
    padding: 14px 12px !important;
  }
  .compact-cart-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .compact-cart-thumb {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .compact-cart-ctrls {
    width: 100%;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px dashed #f1f5f9;
  }
  .compact-row-total {
    min-width: auto;
    font-size: 12.5px;
  }
  .desktop-only-btn {
    display: none !important;
  }

  /* Fixed sticky bottom checkout action bar */
  .mobile-cart-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: rgba(9, 20, 14, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.4);
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .mobile-sticky-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .mobile-sticky-label {
    font-size: 11px;
    color: var(--ink-muted);
  }
  .mobile-sticky-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--green-emerald-hover);
  }
  .mobile-sticky-checkout-btn {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
    background: var(--green-emerald);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    white-space: nowrap;
    text-decoration: none;
  }
  .mobile-sticky-checkout-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
  }
}

.empty-cart-box {
  text-align: center;
  padding: 48px 20px;
  max-width: 520px;
  margin: 30px auto;
}
.empty-cart-icon svg {
  width: 54px;
  height: 54px;
  stroke: var(--green-emerald);
  stroke-width: 1.5;
  fill: none;
  margin-bottom: 12px;
}

/* ==========================================================================
   Fluid Animations & Transitions Engine (Page Transitions & Interactions)
   ========================================================================== */

/* Top Navigation Glowing Progress Bar */
.nav-progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8), 0 0 4px rgba(16, 185, 129, 0.6);
  z-index: 9999;
  transform-origin: right;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}
.nav-progress-bar.active {
  opacity: 1;
  transform: scaleX(0.75);
}
.nav-progress-bar.done {
  transform: scaleX(1);
  opacity: 0;
  transition: transform 0.12s ease-out, opacity 0.25s ease-out 0.08s;
}

/* Page Entrance Smooth Animation */
@keyframes pageEnter {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-transitioning main, 
.page-transitioning .page,
.page-transitioning .admin-layout {
  animation: pageEnter 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

/* View Transitions API Native Morphing */
::view-transition-old(root) {
  animation: 0.2s cubic-bezier(0.16, 1, 0.3, 1) both fadeOutView;
}
::view-transition-new(root) {
  animation: 0.26s cubic-bezier(0.16, 1, 0.3, 1) both fadeInView;
}

@keyframes fadeOutView {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.995); }
}
@keyframes fadeInView {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Universal Button Elastic Micro-Interactions */
button, .btn, .minimal-btn, .header-action, .category-view-btn, 
.mobile-sticky-checkout-btn, .action, .heart, .compact-cart-del,
.pill, .cat-item, .promo-tile {
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.2s ease, 
              color 0.18s ease, 
              box-shadow 0.22s ease, 
              border-color 0.18s ease !important;
}

button:active:not(:disabled), 
.btn:active:not(:disabled), 
.minimal-btn:active, 
.header-action:active, 
.category-view-btn:active, 
.mobile-sticky-checkout-btn:active,
.action:active,
.pill:active,
.compact-cart-del:active {
  transform: scale(0.95) !important;
}

/* Cart Badge Bounce Animation */
@keyframes cartBadgeBounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.4) rotate(-6deg); }
  65% { transform: scale(0.92) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.cart-badge-bounce {
  animation: cartBadgeBounce 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Heart Pop & Beat Animation */
@keyframes heartPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.4) rotate(-6deg); }
  60% { transform: scale(0.9) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
.heart-pop {
  animation: heartPop 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Product & Category Card Fluid Elevation */
.product-card, .lux-category-card, .why-card, .customer-review, .stat-card, .benefit {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease !important;
  will-change: transform;
}
.product-card:hover, .lux-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}
.product-card:active, .lux-category-card:active {
  transform: translateY(-1px) scale(0.99);
}

/* Card Image Fluid Zoom */
.product-photo img, .product-photo .shoe-placeholder, 
.lux-category-card .category-image-visual, .collection-visual img, .about-picture {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
}
.product-card:hover .product-photo img, 
.product-card:hover .shoe-placeholder,
.lux-category-card:hover .category-image-visual {
  transform: scale(1.08);
}

/* Stepper Quantity Animation */
.compact-stepper-qty, #qty {
  display: inline-block;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes numPop {
  0% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.22); color: var(--green-emerald); }
  100% { transform: scale(1); opacity: 1; }
}
.num-pop {
  animation: numPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Modal Smooth Spring Animation */
.modal-back {
  animation: modalBackdropFade 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.modal {
  animation: modalSpringUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
@keyframes modalBackdropFade {
  from { opacity: 0; backdrop-filter: blur(0px); }
  to { opacity: 1; backdrop-filter: blur(8px); }
}
@keyframes modalSpringUp {
  0% { opacity: 0; transform: translateY(16px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Smooth Toast Spring Animation */
.toast {
  transition: transform 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease !important;
}
.toast.show {
  transform: translateX(-50%) translateY(0) scale(1) !important;
}

/* Form Inputs Focus Ring Animation */
input, select, textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

/* Cart Row Removal Fluid Animation */
.cart-row-removing {
  opacity: 0 !important;
  transform: translateX(30px) scale(0.96) !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

/* Accessible Motion Reduction */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .nav-progress-bar { display: none !important; }
}

/* ==========================================================================
   Comprehensive Dual-Mode Responsive Redesign (Desktop & Mobile)
   ========================================================================== */

/* Auth & Login Card — Luxury Glassmorphic Aesthetic */
.auth-card {
  max-width: 440px;
  margin: 40px auto;
  background: rgba(8, 22, 14, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.15);
  color: #ffffff;
}
.auth-card h1 {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 8px;
}
.auth-card p.muted {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.auth-card .field {
  margin-bottom: 16px;
}
.auth-card .field label {
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.auth-card .field input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #ffffff;
  padding: 11px 14px;
  font-size: 13.5px;
  width: 100%;
  transition: all 0.2s;
  box-sizing: border-box;
}
.auth-card .field input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--green-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  outline: none;
}
.auth-card p {
  text-align: center;
  font-size: 12.5px;
  color: #94a3b8;
}

/* Shop Layout Responsiveness */
.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}
.filter-panel {
  background: rgba(8, 22, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 92px;
  color: #cbd5e1;
}
.filter-panel h3 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.filter-group {
  margin-bottom: 18px;
}
.filter-group b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 6px;
  cursor: pointer;
  transition: color 0.15s;
}
.filter-group label:hover {
  color: #ffffff;
}
.filter-group input[type="checkbox"] {
  accent-color: var(--green-emerald);
}
.filter-group .range {
  display: flex;
  gap: 8px;
}
.filter-group .range input {
  width: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 12px;
}

/* Shop Products Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 12px 18px;
  background: rgba(8, 22, 14, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: #cbd5e1;
  font-size: 13px;
}
.shop-toolbar select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
  padding: 6px 12px;
  font-size: 12.5px;
  outline: none;
}

/* Checkout Page Responsive */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.panel {
  background: rgba(8, 22, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #cbd5e1;
}
.panel h3 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}
.cart-summary {
  background: rgba(8, 22, 14, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #cbd5e1;
}
.cart-summary h3 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
}

/* Admin Dashboard — Dual-Mode Responsive Architecture */
.admin-page-container {
  padding-top: 24px;
  padding-bottom: 60px;
}

.auth-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(8, 22, 14, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.auth-admin-title-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.auth-admin-title-box .section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-emerald-light);
  letter-spacing: 0.04em;
}
.auth-admin-title-box .page-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}
.auth-admin-title-box small {
  color: #94a3b8;
  font-size: 12px;
}

.auth-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.danger-button {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}
.danger-button:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
}

/* Desktop Admin Layout (>= 1024px) */
@media (min-width: 1024px) {
  .admin-page-container {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    column-gap: 24px !important;
    row-gap: 20px !important;
    align-items: start !important;
    width: min(100% - 48px, 1440px) !important;
    margin: 0 auto;
  }
  .auth-admin-head {
    grid-column: 1 / -1 !important;
  }
  .admin-nav-bar {
    display: none !important;
  }
  .admin-drawer-overlay {
    display: none !important;
  }
  .admin-categorized-drawer {
    position: sticky !important;
    top: 92px !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 280px !important;
    max-height: calc(100vh - 110px) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 15 !important;
  }
  .drawer-header .drawer-close-btn {
    display: none !important;
  }
  .auth-admin-content {
    min-width: 0 !important;
    background: rgba(8, 22, 14, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-lg) !important;
    padding: 26px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  }
}

/* Mobile & Tablet Layout Refinements (< 1024px) */
@media (max-width: 1023px) {
  .admin-page-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding-top: 14px !important;
  }
  .auth-admin-head {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 16px !important;
  }
  .auth-admin-actions {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .auth-admin-actions .btn {
    justify-content: center !important;
    font-size: 12px !important;
    padding: 9px 10px !important;
  }
  .admin-nav-bar {
    display: block !important;
    position: sticky !important;
    top: 60px !important;
    z-index: 35 !important;
  }
  .admin-hamburger-btn {
    max-width: 100% !important;
    background: rgba(8, 22, 14, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
    color: #ffffff !important;
  }
  .admin-hamburger-btn .hamburger-title {
    color: #ffffff !important;
  }
  .admin-hamburger-btn .hamburger-icon {
    background: rgba(16, 185, 129, 0.2) !important;
    color: var(--green-emerald-light) !important;
  }
  .admin-current-chip {
    background: rgba(16, 185, 129, 0.2) !important;
    color: var(--green-emerald-light) !important;
  }
  .auth-admin-content {
    padding: 16px 14px !important;
    border-radius: var(--radius-md) !important;
    background: rgba(8, 22, 14, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* Mobile Screens (< 860px) */
@media (max-width: 860px) {
  .auth-card {
    margin: 20px auto;
    padding: 24px 20px;
    border-radius: 16px;
    max-width: 100%;
  }
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .filter-panel {
    position: static;
    border-radius: var(--radius-md);
    padding: 16px;
  }
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .panel, .cart-summary {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table {
    min-width: 580px;
  }
}



/* ==========================================================================
   Harmonious Two-Tone Theme & Gentle Soft Styling
   ========================================================================== */
body {
  background: var(--cream) !important;
  color: var(--ink) !important;
}

.page {
  background: transparent !important;
}

.panel, .filter-panel, .auth-card, .cart-summary, .tracking-card-modern, .content-panel-modern, .checkout-panel {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-md) !important;
  color: var(--ink) !important;
  box-shadow: 0 4px 18px rgba(18, 38, 25, 0.05) !important;
}

.lux-product-card {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 3px 12px rgba(18, 38, 25, 0.05) !important;
}

.lux-product-card:hover {
  border-color: rgba(16, 185, 129, 0.45) !important;
  box-shadow: 0 14px 30px rgba(18, 38, 25, 0.1) !important;
  transform: translateY(-4px);
}

.lux-product-name {
  color: var(--ink) !important;
}

.lux-price-row strong {
  color: #047857 !important;
}

.lux-price-row del {
  color: var(--ink-muted) !important;
}

.product-card-bottom {
  border-top: 1px solid var(--line) !important;
}

.product-card-bottom .product-view-link {
  color: var(--ink-secondary) !important;
}

.product-card-bottom .product-view-link:hover {
  color: #059669 !important;
}

.field label {
  color: var(--ink-secondary) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.field input, .field select, .field textarea, .filter-search, input[type=number], select {
  background: #ffffff !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.field input:focus, .field select:focus, .field textarea:focus, .filter-search:focus {
  border-color: var(--green-emerald) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
  outline: none !important;
}

.breadcrumb {
  color: var(--ink-muted) !important;
}

.breadcrumb a {
  color: var(--ink-secondary) !important;
  text-decoration: none !important;
}

.breadcrumb a:hover {
  color: #059669 !important;
}

.page-title {
  color: var(--ink) !important;
}

/* Shop Layout Modern Styling */
.shop-hero-bar {
  background: linear-gradient(135deg, #102419, #091710);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #ffffff;
}

.shop-hero-bar h1 {
  color: #ffffff !important;
}

.shop-hero-sub {
  color: #c0d1c7;
  font-size: 13.5px;
  margin: 6px 0 0;
}

.shop-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 600;
}

.shop-badge svg {
  width: 14px;
  height: 14px;
}

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

.shop-result-count {
  font-size: 13px;
  color: var(--ink-secondary);
  font-weight: 600;
}

.shop-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-sort-wrap label {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.shop-sort-wrap select {
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  background: #ffffff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.filter-header h3 {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
}

.filter-close {
  display: none;
  background: #edf1eb;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

.filter-group {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.filter-group:first-of-type {
  border-top: none;
  padding-top: 0;
}

.filter-group b {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 10px;
}

.filter-checkbox-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px;
  font-size: 13px;
  color: var(--ink-secondary);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.filter-checkbox-label:hover {
  background: rgba(16, 185, 129, 0.08);
  color: var(--ink);
}

.filter-checkbox-label input {
  accent-color: var(--green-emerald);
  margin-left: 8px;
}

.filter-checkbox-label small {
  color: var(--ink-muted);
  font-size: 11px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pills label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background: #edf1eb !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  color: var(--ink-secondary) !important;
  font-size: 12px !important;
  cursor: pointer;
  transition: all 0.18s;
}

.filter-pills label:hover {
  border-color: var(--green-emerald) !important;
  color: var(--ink) !important;
}

.filter-pills input {
  display: none;
}

.filter-pills label:has(input:checked) {
  background: var(--green-emerald) !important;
  border-color: var(--green-emerald) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.filter-clear-btn {
  width: 100%;
  margin-top: 14px;
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #dc2626 !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12.5px !important;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-clear-btn:hover {
  background: rgba(239, 68, 68, 0.16) !important;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  font-size: 13px;
  color: var(--ink-secondary);
}

.pagination .action {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
}

.pagination .action:hover:not(:disabled) {
  background: var(--paper-elevated) !important;
  border-color: var(--green-emerald) !important;
}

.pagination .action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Modern Checkout Styling */
.checkout-panel .panel-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.checkout-panel .panel-head-row h3 {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
}

.panel-step-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
}

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

.shipping-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #ffffff !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  transition: all 0.2s;
}

.shipping-option:hover {
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: #f7faf7 !important;
}

.shipping-option:has(input:checked) {
  border-color: var(--green-emerald) !important;
  background: rgba(16, 185, 129, 0.06) !important;
  box-shadow: 0 0 0 1px var(--green-emerald);
}

.shipping-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.shipping-meta input {
  margin-top: 4px;
  accent-color: var(--green-emerald);
}

.shipping-meta b {
  font-size: 14px;
  color: var(--ink);
  display: block;
}

.shipping-meta small {
  color: var(--ink-secondary);
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

.shipping-cost {
  font-weight: 700;
  color: #047857;
  font-size: 13.5px;
}

.checkout-payment-methods {
  display: grid;
  gap: 12px;
}

.payment-method-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #ffffff !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method-card:hover {
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: #f7faf7 !important;
}

.payment-method-card:has(input:checked) {
  border-color: var(--green-emerald) !important;
  background: rgba(16, 185, 129, 0.06) !important;
  box-shadow: 0 0 0 1px var(--green-emerald);
}

.pm-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pm-head input {
  margin-top: 4px;
  accent-color: var(--green-emerald);
}

.pm-head b {
  color: var(--ink);
  font-size: 14px;
}

.pm-head small {
  display: block;
  color: var(--ink-secondary);
  font-size: 12px;
  margin-top: 3px;
}

.pm-badge {
  display: inline-block;
  background: var(--green-emerald);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  margin-right: 6px;
}

.pm-badge.outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-secondary);
}

.pm-logo {
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.checkout-summary {
  position: sticky;
  top: 90px;
}

.checkout-summary h3 {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.checkout-items-preview {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  max-height: 240px;
  overflow-y: auto;
}

.checkout-item-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.2);
}

.item-desc b {
  color: var(--ink);
  display: block;
}

.item-desc small {
  color: var(--ink-muted);
}

.item-cost {
  color: #047857;
  font-weight: 700;
}

.coupon-box-modern {
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.coupon-box-modern label {
  display: block;
  font-size: 12px;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.coupon-row {
  display: flex;
  gap: 8px;
}

.coupon-row input {
  flex: 1;
}

.checkout-totals-modern .summary-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--ink-secondary);
  font-size: 13px;
}

.checkout-totals-modern .summary-line b {
  color: var(--ink);
}

.discount-line b {
  color: #dc2626 !important;
}

.checkout-totals-modern .summary-line.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 16px;
  font-weight: 800;
  color: #047857;
}

.checkout-totals-modern .summary-line.total b {
  color: #047857;
  font-size: 18px;
}

.checkout-submit-btn {
  background: var(--green-emerald) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 20px !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
  transition: transform 0.18s, box-shadow 0.18s !important;
}

.checkout-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4) !important;
}

.checkout-trust-features {
  margin-top: 16px;
  display: grid;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-muted);
}

.checkout-trust-features span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkout-trust-features svg {
  width: 13px;
  height: 13px;
  color: var(--green-emerald);
}

/* Modern Tracking and Content Pages */
.tracking-wrap-modern {
  max-width: 580px;
  margin: 30px auto;
}

.tracking-card-modern {
  text-align: center;
  padding: 34px !important;
}

.tracking-icon-emblem {
  font-size: 42px;
  margin-bottom: 12px;
}

.tracking-desc {
  color: var(--ink-secondary);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.tracking-result-box {
  margin-top: 24px;
  text-align: right;
}

.content-panel-modern {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 40px !important;
}

.content-body-modern p {
  color: var(--ink-secondary);
  font-size: 14.5px;
  line-height: 2.2;
}

.contact-form-modern {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-form-modern h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 17px;
}

/* Mobile Responsiveness for Shop and Checkout */
@media (max-width: 900px) {
  .shop-layout {
    display: block !important;
  }

  .filter-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px !important;
    height: 100vh !important;
    z-index: 100;
    overflow-y: auto;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 !important;
    padding: 24px 20px !important;
  }

  .filter-panel.drawer-open {
    right: 0 !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6) !important;
  }

  .filter-close {
    display: block !important;
  }

  .checkout-layout {
    grid-template-columns: 1fr !important;
  }

  .checkout-summary {
    position: static !important;
    margin-top: 20px;
  }
}

/* ==========================================================================
   AI Product Studio & Description Assistant Styling
   ========================================================================== */
.ai-product-studio {
  background: #f7f9f6;
  border: 1px solid #dce4da;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 12px 0 16px;
}
.ai-studio-heading h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--green, #13261b);
  font-weight: 600;
}
.ai-studio-note {
  margin: 0 0 12px;
  color: #68756a;
  font-size: 11px;
  line-height: 1.8;
}
.ai-studio-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.ai-studio-controls label {
  font-size: 12px;
  color: #4a5c4e;
  margin-bottom: 0 !important;
}
.ai-studio-controls select,
.ai-studio-controls input[type="file"] {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid #ced6cd;
  background: #fff;
}
.ai-studio-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
#ai-studio-status {
  font-size: 12px;
  color: #556956;
}
.ai-source-grid,
.ai-angle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.ai-source-card,
.ai-final-output {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #dce4da;
  border-radius: 12px;
  background: #fff;
}
.ai-source-card label {
  display: block;
  min-height: 34px;
  color: #26382a;
  font-size: 12px;
  font-weight: 600;
}
.ai-source-card input[type="file"] {
  width: 100%;
  margin: 4px 0 8px;
  font-size: 11px;
}
.ai-source-card img,
.ai-source-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f2ed;
}
.ai-source-placeholder {
  display: grid;
  place-items: center;
  padding: 12px;
  color: #718071;
  font-size: 12px;
  text-align: center;
}
.ai-source-status {
  min-height: 32px;
  margin-top: 7px;
  color: #68756a;
  font-size: 11px;
  line-height: 1.7;
}
.ai-final-output {
  width: min(100%, 620px);
  margin: 16px auto 0;
}
.ai-final-output img {
  width: 100%;
  max-height: 620px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  background: #f0f2ed;
}
.ai-final-output figcaption {
  margin-top: 9px;
  color: #26382a;
  font-size: 12px;
  text-align: center;
}
.ai-source-grid [hidden],
.ai-final-output[hidden] { display: none !important; }
@media (max-width: 680px) {
  .ai-source-grid,
  .ai-angle-grid { grid-template-columns: 1fr; }
}

/* AI Description Assistant */
.ai-desc-assistant {
  background: linear-gradient(135deg, #f3f7ed 0%, #ebf3e3 100%);
  border: 1px solid #c8ddbf;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 12px 0 16px;
  box-shadow: 0 2px 8px rgba(35, 59, 42, 0.04);
}
.ai-desc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ai-desc-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-desc-badge {
  background: var(--lime, #8cad4b);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.ai-desc-header h4 {
  margin: 0;
  font-size: 14px;
  color: var(--green, #13261b);
  font-weight: 600;
}
.ai-desc-subtitle {
  margin: 6px 0 0;
  font-size: 12px;
  color: #4b614c;
  line-height: 1.6;
}
.ai-desc-generate-btn {
  background: var(--green, #13261b) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease;
  cursor: pointer;
}
.ai-desc-generate-btn:hover:not(:disabled) {
  background: #233b2a !important;
  transform: translateY(-1px);
}
.ai-desc-generate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ai-desc-status {
  margin-top: 8px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #ffffffb0;
  border: 1px solid #d4e5cb;
  color: #2e4a2e;
}
.field-highlight-flash {
  animation: fieldHighlight 1.5s ease-out;
}
@keyframes fieldHighlight {
  0% { border-color: var(--lime, #8cad4b); box-shadow: 0 0 0 3px rgba(140, 173, 75, 0.35); }
  100% { border-color: #dfdfd7; box-shadow: none; }
}

/* Authenticated admin catalog bulk editing and progressive quick-create flow */
.admin-catalog-toolbar,.admin-bulk-heading,.admin-catalog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.admin-catalog-toolbar{margin:0 0 14px}
.admin-catalog-actions{justify-content:flex-end}
.admin-bulk-card{border:1px solid #dfe8dc;background:#fbfcf8;border-radius:12px;padding:14px;margin:12px 0 16px}
.admin-bulk-heading{margin-bottom:12px}
.admin-bulk-heading>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.admin-bulk-heading>div>b{color:#183323}
.admin-bulk-heading>div>span,.admin-bulk-heading>label,.admin-bulk-controls label{font-size:12px;color:#58675a}
.admin-bulk-heading input,.data-table input[type=checkbox]{accent-color:#315e3b}
.admin-bulk-controls{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.admin-bulk-controls label{display:flex;flex-direction:column;gap:5px;min-width:125px}
.admin-bulk-controls select,.admin-bulk-controls input{height:38px;max-width:190px;border:1px solid #d8dfd5;border-radius:7px;background:#fff;padding:6px 9px;color:#253328}
.admin-catalog-toolbar .muted{font-size:12px;color:#687468}
.quick-product-form>h2{margin-top:0}
.quick-product-form>.muted{line-height:1.8}
@media(max-width:700px){.admin-bulk-controls{align-items:stretch}.admin-bulk-controls label,.admin-bulk-controls select,.admin-bulk-controls input{width:100%;max-width:none}.admin-bulk-controls button{width:100%}.admin-catalog-actions{width:100%;justify-content:stretch}.admin-catalog-actions button{flex:1}.admin-bulk-card{padding:10px}}

/* ==========================================================================
   Product AI Studio (استودیو هوش مصنوعی محصول)
   ========================================================================== */
.ai-studio-page-wrapper {
  margin: 0 auto;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-studio-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, #1b3824 0%, #0d1e13 100%);
  color: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(17, 38, 24, 0.15);
  flex-wrap: wrap;
}

.ai-studio-hero-content {
  flex: 1;
  min-width: 320px;
}

.ai-studio-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  margin-bottom: 12px;
}

.ai-version-tag {
  background: #2ebd6a;
  color: #0d2815;
  font-weight: 700;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
}

.ai-studio-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.ai-studio-desc {
  margin: 0;
  color: #cfdecb;
  font-size: 13px;
  line-height: 1.8;
  max-width: 780px;
}

.ai-studio-desc strong {
  color: #8be1a2;
}

.ai-studio-backend-status-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 280px;
}

.ai-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
}

.status-dot.online {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.status-dot.pulse {
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.ai-backend-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #b0c7b3;
}

.btn-text-link {
  background: none;
  border: none;
  color: #8be1a2;
  cursor: pointer;
  padding: 0;
  font-size: 11px;
}

.btn-text-link:hover {
  text-decoration: underline;
}

.ai-backend-settings-panel {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.ai-backend-settings-panel input {
  flex: 1;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* 2-Column Grid */
.ai-studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: flex-start;
}

@media(max-width: 992px) {
  .ai-studio-grid {
    grid-template-columns: 1fr;
  }
}

.ai-card {
  background: #fff;
  border: 1px solid #e2e8df;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.ai-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ai-card-head.between {
  justify-content: space-between;
}

.ai-card-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #172d1d;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #234b29;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Upload Dropzone */
.ai-dropzone {
  border: 2px dashed #b8ccb6;
  border-radius: 12px;
  background: #f8faf7;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.ai-dropzone:hover,
.ai-dropzone.drag-active {
  border-color: #274e2b;
  background: #eef5ed;
}

.ai-upload-icon {
  font-size: 38px;
  margin-bottom: 8px;
}

.ai-drop-text {
  margin: 0 0 6px;
  font-size: 13px;
  color: #26382a;
}

.ai-drop-sub {
  color: #728475;
  font-size: 11px;
}

.ai-dropzone-preview {
  position: relative;
  max-width: 240px;
  margin: 0 auto;
}

.ai-dropzone-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ai-preview-overlay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
  gap: 10px;
}

.ai-preservation-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f8ee;
  border: 1px solid #c9e0c5;
  color: #234b29;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 12px;
}

/* Style Option Cards */
.ai-styles-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.ai-style-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid #dbe4d8;
  border-radius: 10px;
  background: #fff;
  text-align: right;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-style-option:hover {
  border-color: #3b6b41;
  background: #fcfdfc;
  transform: translateY(-1px);
}

.ai-style-option.active {
  border-color: #234b29;
  background: #edf5eb;
  box-shadow: 0 0 0 2px rgba(35, 75, 41, 0.2);
}

.style-icon {
  font-size: 24px;
  padding: 6px;
  background: #f3f6f2;
  border-radius: 8px;
}

.style-meta {
  flex: 1;
}

.style-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.style-title-row strong {
  font-size: 13px;
  color: #172d1d;
}

.style-badge {
  font-size: 10px;
  padding: 2px 6px;
  background: #e2ede0;
  color: #274e2b;
  border-radius: 6px;
  font-weight: 600;
}

.style-desc {
  margin: 0;
  font-size: 11px;
  color: #6a7c6d;
  line-height: 1.5;
}

/* Settings Card */
.ai-setting-group {
  margin-bottom: 16px;
}

.ai-setting-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #2b402e;
  margin-bottom: 8px;
}

.ai-pill-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ai-pill-selector.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.ai-pill-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  border: 1px solid #dce4da;
  border-radius: 8px;
  background: #fbfdfa;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.ai-pill-btn strong {
  font-size: 12px;
  color: #223825;
}

.ai-pill-btn small {
  font-size: 10px;
  color: #728475;
  margin-top: 2px;
}

.ai-pill-btn.active {
  border-color: #234b29;
  background: #234b29;
}

.ai-pill-btn.active strong,
.ai-pill-btn.active small {
  color: #fff;
}

.ai-setting-row {
  display: flex;
  gap: 12px;
}

.ai-setting-row .flex-1 {
  flex: 1;
}

.textarea-custom {
  resize: vertical;
  min-height: 60px;
  border: 1px solid #d8dfd5;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  box-sizing: border-box;
}

/* CTA Generate Button */
.large-btn {
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(35, 75, 41, 0.25);
  transition: all 0.2s ease;
}

.primary-gradient {
  background: linear-gradient(135deg, #27542d 0%, #15321a 100%) !important;
  color: #fff !important;
  border: none !important;
}

.primary-gradient:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(35, 75, 41, 0.35);
}

.ai-progress-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  background: #f3f8f1;
  border: 1px solid #c8dec3;
  border-radius: 8px;
  font-size: 12px;
  color: #234b29;
}

.ai-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(35, 75, 41, 0.2);
  border-top-color: #234b29;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Comparison Preview Area */
.ai-empty-result-state {
  text-align: center;
  padding: 60px 20px;
  background: #fbfdfa;
  border: 1px dashed #d8e2d6;
  border-radius: 12px;
  color: #6a7c6d;
}

.empty-icon-art {
  font-size: 48px;
  margin-bottom: 12px;
}

.ai-empty-result-state h4 {
  margin: 0 0 6px;
  color: #223825;
  font-size: 15px;
}

.ai-empty-result-state p {
  margin: 0;
  font-size: 12px;
}

.ai-view-modes {
  display: flex;
  gap: 6px;
}

.ai-view-btn {
  padding: 4px 10px;
  border: 1px solid #d4ded2;
  border-radius: 6px;
  background: #fff;
  font-size: 11px;
  cursor: pointer;
  color: #4a5c4e;
}

.ai-view-btn.active {
  background: #234b29;
  color: #fff;
  border-color: #234b29;
}

.ai-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ai-preview-frame {
  position: relative;
  background: #f7f9f6;
  border: 1px solid #d8dfd5;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.ai-preview-frame img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

.frame-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.frame-tag.highlight {
  background: #1e6b2c;
  box-shadow: 0 2px 8px rgba(30, 107, 44, 0.4);
}

/* Post Actions Panel */
.ai-post-actions-panel {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5ede3;
}

.ai-product-selector-row {
  margin-bottom: 14px;
}

.ai-product-selector-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #172d1d;
}

.ai-action-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media(max-width: 600px) {
  .ai-action-buttons-grid {
    grid-template-columns: 1fr;
  }
}

.success-button {
  background: #1a6e2e !important;
  color: #fff !important;
  border: none !important;
}

.success-button:hover:not(:disabled) {
  background: #145924 !important;
}

.ai-action-feedback {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
}

.ai-action-feedback.success {
  background: #e8f5e5;
  border: 1px solid #b6deaf;
  color: #1a5c24;
}

.ai-action-feedback.error {
  background: #fdeeee;
  border: 1px solid #f5c4c4;
  color: #9c2727;
}

/* Hero glass — responsive tuning
   در همهٔ بریک‌پوینت‌ها تصویر کالا شارپ می‌ماند و فقط پنل متن شیشه‌ای است. */
@media (max-width: 1280px) {
  .lux-hero-copy { width: min(530px, 50%); }
  .lux-hero-copy.lux-hero-glass { padding: 40px 34px 34px; border-radius: 44px 44px 44px 126px; }
  .lux-hero h1 { font-size: clamp(34px, 3.9vw, 48px); }
  .lux-hero-ring { width: min(640px, 52vw); inset-inline-start: -140px; }
  .lux-hero-watermark { font-size: clamp(34px, 6vw, 96px); }
}
@media (max-width: 1100px) {
  .lux-hero { min-height: 560px; }
  .lux-hero-content { height: 560px; }
  .lux-hero-ring { display: none; }
  .lux-hero-copy { width: min(520px, 58%); }
  .lux-hero-copy.lux-hero-glass { padding: 36px 30px 30px; border-radius: 38px 38px 38px 112px; }
  .lux-hero-watermark { font-size: clamp(30px, 5.4vw, 64px); }
}
/* در موبایل پنل شیشه‌ای پایین قاب می‌نشیند تا تصویر کالا در بالای بنر شارپ بماند. */
@media (max-width: 860px) {
  .lux-hero { min-height: 0; }
  .lux-hero-image {
    position: relative;
    inset: auto;
    height: 336px;
    object-position: 32% 44%;
    transform: none;
  }
  .lux-hero-shade {
    background: linear-gradient(180deg, rgba(3, 10, 6, 0.26) 0%, rgba(3, 10, 6, 0.04) 34%, rgba(3, 10, 6, 0.42) 68%, rgba(3, 10, 6, 0.72) 100%);
  }
  .lux-hero-glow { background: radial-gradient(64% 26% at 50% 30%, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0) 74%); }
  .lux-hero-content { height: auto; min-height: 0; margin-top: -36px; padding: 0 0 24px; align-items: flex-start; }
  .lux-hero-copy { width: 100%; max-width: none; }
  .lux-hero-copy.lux-hero-glass { padding: 26px 22px 22px; border-radius: 30px 30px 30px 88px; }
  .lux-hero h1 { font-size: 30px; }
  .lux-hero-watermark { top: 16px; bottom: auto; padding-left: 0; text-align: center; font-size: clamp(30px, 11.5vw, 50px); }
}
@media (max-width: 640px) {
  .lux-hero-image { height: 292px; object-position: 30% 46%; }
  .lux-hero-content { margin-top: -30px; padding: 0 0 18px; }
  .lux-hero-copy.lux-hero-glass { padding: 24px 20px 22px; border-radius: 26px 26px 26px 70px; }
  .lux-hero h1 { font-size: 27px; margin: 16px 0 10px; }
  .lux-hero-copy > p { font-size: 13px; line-height: 1.95; margin-bottom: 18px; }
  .lux-hero-watermark { top: 16px; font-size: clamp(26px, 10.5vw, 40px); }
  .hero-side-label { display: none; }
  .hero-actions { gap: 10px; }
  .hero-primary, .hero-secondary { padding: 12px 20px; font-size: 12.5px; }
  .hero-note { margin-top: 20px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .lux-hero-copy.lux-hero-glass, .lux-hero-watermark { animation: none !important; }
}
