/* ==========================================================================
   Diva Shop - "Дива там, де в них вірять"
   Modern Winter Fairytale Design System & Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&family=Pinyon+Script&display=swap');

:root {
  /* Warm Magical New Year Palette */
  --bg-primary: #120a0b;
  --bg-secondary: #1a0f12;
  --bg-surface: rgba(36, 18, 22, 0.75);
  --bg-surface-hover: rgba(56, 26, 32, 0.88);
  --bg-glass: rgba(255, 235, 180, 0.05);
  --bg-glass-strong: rgba(255, 235, 180, 0.12);
  --border-glass: rgba(212, 175, 55, 0.2);
  --border-dream: rgba(212, 175, 55, 0.5);
  --border-aurora: rgba(244, 63, 94, 0.4);

  /* Warm Gold & Amber (Replaces icy cyan) */
  --aurora-cyan: #fbbf24;
  --aurora-light: #fde68a;
  --aurora-ice: #fef3c7;
  --aurora-purple: #f43f5e;
  --aurora-pink: #fda4af;
  --aurora-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f43f5e 100%);
  --btn-dream-gradient: linear-gradient(135deg, #d97706 0%, #b45309 45%, #be123c 100%);
  --dream-glow: 0 0 25px rgba(251, 191, 36, 0.4), 0 0 50px rgba(244, 63, 94, 0.2);

  /* Festive Ruby Berry Glow */
  --ruby-primary: #e11d48;
  --ruby-dark: #9f1239;
  --ruby-light: #fb7185;
  --ruby-glow: rgba(225, 29, 72, 0.4);
  --gold-light: #fde047;

  /* Starlight Text Colors */
  --text-primary: #fffbeb;
  --text-secondary: #fde68a;
  --text-muted: #d6d3d1;
  --text-dream: #fbbf24;

  /* Status Colors */
  --status-green: #34d399;
  --status-red: #fb7185;
  --status-blue: #60a5fa;
  --status-purple: #e879f9;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Pinyon Script', 'Brush Script MT', cursive;

  /* Shadows & Blurs */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-dream: 0 8px 30px rgba(251, 191, 36, 0.25);
  --blur-glass: blur(22px);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: #2b0310;
  color: #f3e5c8;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  background-image: radial-gradient(circle at top, #4a081d 0%, #2b0310 70%);
  background-attachment: fixed;
}

/* Canvas Snowfall Background */
#snowCanvas,
#themeCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.site-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Hero Branding
   ========================================================================== */
.site-header {
  padding: 40px 0 24px;
  position: relative;
  text-align: center;
}

/* Main Brand Showcase Wrapper with Magical Deer */
.brand-showcase-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 10px 0 20px;
}

/* Magical Christmas Deer on Left & Right */
.hero-deer-container {
  position: relative;
  width: 180px;
  max-width: 22%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: deerFloat 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.45));
}

.hero-deer-right {
  animation-delay: -3s;
  filter: drop-shadow(0 0 24px rgba(192, 132, 252, 0.45));
}

.hero-deer-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.hero-deer-img.deer-flipped {
  transform: scaleX(-1);
}

.hero-deer-container:hover .hero-deer-img {
  transform: scale(1.06);
}
.hero-deer-container:hover .hero-deer-img.deer-flipped {
  transform: scaleX(-1) scale(1.06);
}

@keyframes deerFloat {
  0%   { transform: translateY(0px) rotate(0deg); }
  50%  { transform: translateY(-8px) rotate(1deg); }
  100% { transform: translateY(-3px) rotate(-1deg); }
}

/* Central Brand Showcase */
.brand-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  z-index: 5;
}

/* Avatar with Glowing Aurora Starlight Ring */
.avatar-ring-container {
  position: relative;
  width: 135px;
  height: 135px;
  margin-bottom: 14px;
}

.avatar-ring-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc);
  opacity: 0.9;
  filter: blur(10px);
  animation: pulseGlow 4s infinite alternate;
}

.avatar-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--aurora-light);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
  background: var(--bg-secondary);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-sparkle-badge {
  position: absolute;
  bottom: 0px;
  right: 4px;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 2px solid #fff;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

@keyframes pulseGlow {
  0%   { transform: scale(0.96); opacity: 0.7; }
  100% { transform: scale(1.04); opacity: 1; filter: blur(14px); }
}

/* Creator Instagram Pill Badge */
.creator-ig-pill-wrap {
  margin-bottom: 12px;
}

.creator-ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(10, 20, 48, 0.85);
  border: 1px solid var(--border-dream);
  backdrop-filter: var(--blur-glass);
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4), 0 0 20px rgba(56, 189, 248, 0.25);
  transition: var(--transition-smooth);
}

.creator-ig-pill:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(192, 132, 252, 0.25));
  border-color: var(--aurora-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.45);
}

.ig-icon { font-size: 14px; }
.ig-handle { color: var(--aurora-light); letter-spacing: 0.3px; font-weight: 700; }
.ig-verify {
  background: #38bdf8;
  color: #070c18;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.ig-arrow { color: var(--text-muted); font-size: 12px; }

/* Brand Title & Hero Subtext */
.site-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 30px rgba(56, 189, 248, 0.4);
}

.site-title .dream-accent,
.site-title .gold-accent {
  background: linear-gradient(135deg, #7dd3fc 0%, #c084fc 60%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  filter: drop-shadow(0 0 15px rgba(125, 211, 252, 0.6));
}

.site-hero-subtext {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.site-hero-subtext strong {
  color: var(--aurora-light);
}

/* Redesigned Luxury 4-Card Description Grid */
.brand-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  margin-top: 6px;
}

.feature-card {
  background: var(--bg-surface);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--aurora-light), var(--aurora-purple));
  opacity: 0.8;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-dream);
  background: var(--bg-surface-hover);
  box-shadow: var(--shadow-md), 0 0 25px rgba(56, 189, 248, 0.2);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-dream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.feature-text-content {
  flex: 1;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .hero-deer-container {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand-features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 14px 16px;
  }
}

/* ==========================================
   Products Showcase Grid
   ========================================== */
.catalog-section {
  padding: 20px 0 60px;
  flex: 1;
}

.catalog-header-bar {
  text-align: center;
  margin-bottom: 24px;
}

.catalog-tagline {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--aurora-light);
  letter-spacing: 0.5px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  padding-top: 8px;
}

.product-card {
  background: var(--bg-surface);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-md);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-dream);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(56, 189, 248, 0.25);
}

/* Media wrapper in card — overridden by aesop.css with aspect-ratio + flex */
.card-media-wrapper {
  position: relative;
  width: 100%;
  padding-top: 0; /* Reset — aesop.css uses aspect-ratio instead */
  background: var(--bg-secondary);
  overflow: hidden;
  cursor: pointer;
}

.card-img {
  position: relative; /* Reset from absolute — aesop.css uses flex centering */
  top: auto;
  left: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-img {
  transform: scale(1.05);
}

/* Badges */
.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 5;
}

.badge-sale {
  background: linear-gradient(135deg, var(--ruby-light), var(--ruby-primary));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.badge-discount {
  background: var(--btn-dream-gradient);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.badge-gold {
  background: var(--aurora-cyan);
  color: #070c18;
}

.card-stock-indicator {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: var(--blur-glass);
  z-index: 3;
}

.card-stock-indicator.in-stock {
  background: rgba(45, 212, 191, 0.2);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.4);
}

.card-stock-indicator.out-of-stock {
  background: rgba(244, 63, 94, 0.25);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.5);
  font-weight: 700;
}

/* Reels Trigger on Card */
.reels-trigger-btn {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(13, 22, 41, 0.85);
  border: 1px solid var(--border-glass-gold);
  backdrop-filter: var(--blur-glass);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition-fast);
}

.reels-trigger-btn:hover {
  background: var(--ruby-primary);
  border-color: #fff;
  transform: scale(1.05);
}

.play-icon-pulse {
  color: var(--gold-light);
  font-size: 10px;
}

/* Card Body */
.card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}

.card-category {
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

/* Card Variant Selector */
.card-variants-wrapper {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-variants-label {
  font-size: 11.5px;
  color: var(--aurora-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-variant-pills-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.card-variant-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #e2e8f0;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  outline: none;
}

.card-variant-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--aurora-cyan);
  color: #fff;
  transform: translateY(-1px);
}

.card-variant-pill.selected {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(129, 140, 248, 0.35));
  border-color: var(--aurora-cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.card-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

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

.card-discount-badge {
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ruby-light), var(--ruby-primary));
  color: #fff;
  padding: 3px 9px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  align-self: flex-start;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--aurora-light);
  letter-spacing: 0.3px;
}

.price-old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Buttons */
.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-gold {
  background: linear-gradient(135deg, #0284c7 0%, #3b82f6 45%, #8b5cf6 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35), 0 0 25px rgba(139, 92, 246, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.55), 0 0 35px rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 45%, #7c3aed 100%);
}

.btn-order-toy {
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 700;
  width: 100%;
  justify-content: center;
}

.btn-out-of-stock {
  background: rgba(244, 63, 94, 0.15);
  border: 1.5px solid rgba(244, 63, 94, 0.4);
  color: #fca5a5;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: default;
  width: 100%;
  justify-content: center;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary {
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-dream);
}

.btn-danger-outline {
  background: transparent;
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #f87171;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-danger-outline:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: var(--ruby-primary);
}

/* Empty State */
.empty-catalog-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-surface);
  border-radius: 24px;
  border: 1px dashed var(--border-glass);
}

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

/* ==========================================
   Floating Cart Button
   ========================================== */
.floating-cart-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, #0284c7 0%, #3b82f6 50%, #8b5cf6 100%);
  color: #fff;
  border: 2px solid var(--aurora-light);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.5), 0 0 30px rgba(139, 92, 246, 0.35);
  z-index: 90;
  transition: var(--transition-fast);
}

.floating-cart-btn:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 35px rgba(56, 189, 248, 0.65), 0 0 40px rgba(139, 92, 246, 0.5);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--ruby-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.pop-anim {
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% { transform: scale(0.5); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ==========================================
   Cart Drawer
   ========================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.75);
  backdrop-filter: blur(8px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-dream);
  z-index: 99;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.cart-drawer-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-close-drawer {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-dream);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: var(--transition-fast);
}

.btn-close-drawer:hover {
  color: #fff;
  background: var(--ruby-primary);
  border-color: #fff;
  transform: scale(1.08);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 14px;
  position: relative;
}

.cart-item-img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-primary);
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}

.cart-item-wish {
  font-size: 12px;
  color: var(--aurora-light);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 8px;
  border-radius: 8px;
  margin-bottom: 4px;
  display: inline-block;
}

.cart-item-ribbon {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2px 6px;
}

.btn-qty {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 16px;
}

.qty-num {
  font-size: 13px;
  font-weight: 700;
  padding: 0 8px;
  color: #fff;
}

.cart-item-sum {
  font-weight: 800;
  color: var(--aurora-light);
  font-size: 1.1rem;
}

.btn-remove-item {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
}

.btn-remove-item:hover {
  color: #f87171;
}

.cart-empty-view {
  text-align: center;
  padding: 60px 20px;
  margin: auto;
}

.cart-empty-view .empty-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.cart-empty-view h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.cart-empty-view p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-glass);
  background: rgba(8, 17, 39, 0.95);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cart-summary-line span {
  color: var(--text-secondary);
}

.cart-summary-line strong {
  color: var(--aurora-light);
}

.btn-checkout-full {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* ==========================================
   Modals (General)
   ========================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(14px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-dream);
  border-radius: 28px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(56, 189, 248, 0.2);
  position: relative;
  animation: modalScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card-lg {
  max-width: 920px;
}

.modal-card-xl {
  max-width: 1100px;
}

@keyframes modalScaleIn {
  0% { transform: scale(0.92) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-glass-gold);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
  background: var(--ruby-primary);
  border-color: #fff;
  transform: scale(1.08);
}

.modal-body {
  padding: 28px;
}

/* ==========================================
   Product Personalization Modal
   ========================================== */
.personalize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.personalize-preview-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.live-preview-box {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
}

.live-preview-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-preview-overlay-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: #fff8e7;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 0 15px rgba(255,215,0,0.8);
  pointer-events: none;
  line-height: 1.2;
}

.modal-thumbs-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.modal-thumb-item {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.modal-thumb-item.active {
  border-color: var(--gold-light);
}

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

.thumb-video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 14px;
}

/* Personalize Form Elements */
.personalize-info-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-stock-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.modal-stock-badge.in-stock {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.modal-stock-badge.pre-order {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Ribbon Choices */
.ribbon-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.ribbon-option {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.ribbon-option:hover {
  border-color: var(--border-glass-gold);
}

.ribbon-option.selected {
  background: rgba(229, 185, 95, 0.15);
  border-color: var(--gold-light);
  color: #fff;
  font-weight: 600;
}

.ribbon-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
}

.ribbon-dot-red { background: #c41e3a; }
.ribbon-dot-gold { background: #d4af37; }
.ribbon-dot-silver { background: #cbd5e1; }
.ribbon-dot-emerald { background: #059669; }

/* Modal Footer Action row */
.modal-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.modal-actions-row .btn-gold {
  flex: 1;
  padding: 14px;
}

.btn-open-reel-shortcut {
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-open-reel-shortcut:hover {
  background: var(--ruby-primary);
  border-color: #fff;
}

/* ==========================================
   Nova Poshta Checkout Modal
   ========================================== */
.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-col-full {
  grid-column: 1 / -1;
}

.np-notice-box {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.checkout-summary-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--aurora-light);
  padding-top: 12px;
}

.payment-methods-row {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.payment-method-card {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

.payment-method-card input {
  accent-color: var(--aurora-cyan);
}

/* ==========================================
   Order Success Modal & Confetti
   ========================================== */
.order-success-content {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.success-icon-magic {
  font-size: 64px;
  margin-bottom: 16px;
  animation: bounceSuccess 1s ease;
}

@keyframes bounceSuccess {
  0% { transform: scale(0.3); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.success-order-num-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--border-dream);
  color: var(--aurora-light);
  font-size: 1.3rem;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: 30px;
  margin: 12px 0 20px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.success-details-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.floating-confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--aurora-light);
  border-radius: 50%;
  animation: floatDown 2s forwards ease-out;
  pointer-events: none;
}

@keyframes floatDown {
  0% { opacity: 1; transform: translateY(0) rotate(0deg); }
  100% { opacity: 0; transform: translateY(200px) rotate(360deg); }
}

/* ==========================================
   Instagram Reels & Stories Fullscreen Vertical Feed
   ========================================== */
.reels-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 14, 0.96);
  backdrop-filter: blur(28px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reels-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Floating High-Contrast Close Button */
.reels-floating-close-btn {
  position: fixed;
  top: 24px;
  right: 28px;
  background: rgba(10, 20, 48, 0.9);
  border: 1px solid var(--border-dream);
  backdrop-filter: var(--blur-glass);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  z-index: 350;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 20px rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.reels-floating-close-btn:hover {
  background: var(--ruby-primary);
  border-color: #fff;
  transform: scale(1.05);
}

/* Vertical Scroll Feed Container */
.reels-feed-container {
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--aurora-cyan) transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 260;
}

.reels-feed-container::-webkit-scrollbar {
  width: 6px;
}
.reels-feed-container::-webkit-scrollbar-thumb {
  background: var(--aurora-cyan);
  border-radius: 10px;
}

/* Each Product Slide in the Feed */
.reels-feed-slide {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.reels-slide-inner {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 94vh;
  max-height: 880px;
  background: #000;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px rgba(229, 185, 95, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
}

/* Story Segment Bars Top */
.reels-story-bars {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 4px;
  display: flex;
  gap: 6px;
  z-index: 30;
}

.story-bar-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.story-bar-item:hover {
  transform: scaleY(1.5);
}

.story-bar-fill {
  background: #fff;
  height: 100%;
  width: 0%;
  transition: width 0.2s linear;
}

/* Top Author Bar */
.reels-top-author-bar {
  position: absolute;
  top: 26px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
}

.reels-author-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reels-author-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  object-fit: cover;
}

.reels-author-details {
  display: flex;
  flex-direction: column;
}

.reels-author-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.reels-author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.reels-verify-mark {
  background: #38bdf8;
  color: #070c18;
  font-size: 9px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.reels-cat-pill {
  font-size: 11px;
  color: var(--gold-light);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  font-weight: 600;
}

.reels-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reels-round-btn {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-fast);
}

.reels-round-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* Media Stage — full background layer */
.reels-media-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050810;
  z-index: 1;
}

.reels-main-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient Overlays for Story/Reel */
.reels-overlay-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(4,7,15,0.85) 0%, rgba(4,7,15,0.4) 60%, transparent 100%);
  z-index: 5;
  pointer-events: none;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.reels-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 65%;
  background: linear-gradient(to top,
    rgba(4,7,15,1) 0%,
    rgba(6,10,22,0.98) 50%,
    rgba(8,14,30,0.7) 78%,
    transparent 100%
  );
  z-index: 5;
  pointer-events: none;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

/* Desktop Photo Navigation Arrows (← / →) */
.reels-media-nav-arrow {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background: rgba(10, 20, 48, 0.85);
  border: 1.5px solid var(--border-dream);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--aurora-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8), 0 0 22px rgba(56, 189, 248, 0.35);
  transition: all 0.2s ease;
  user-select: none;
}

.reels-media-nav-arrow.media-nav-left  { left: 16px; }
.reels-media-nav-arrow.media-nav-right { right: 16px; }

.reels-media-nav-arrow:hover {
  background: linear-gradient(135deg, #0284c7, #3b82f6);
  border-color: #fff;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.55);
}

.reels-media-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Tap Zones (for easy tap navigation on photo) */
.reels-media-tap-zones {
  position: absolute;
  top: 80px;
  bottom: 50%;
  left: 0;
  right: 0;
  display: flex;
  z-index: 12;
}

.tap-zone-left  { width: 50%; height: 100%; cursor: pointer; }
.tap-zone-right { width: 50%; height: 100%; cursor: pointer; }
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.reels-action-item:hover {
  transform: scale(1.12);
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--aurora-cyan);
}

.reels-action-item .action-icon  { font-size: 17px; }
.reels-action-item .action-count { font-size: 10px; font-weight: 700; color: var(--aurora-light); }

.reels-nav-arrow-btn {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid var(--border-dream);
  color: var(--aurora-light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  transition: all 0.2s;
}

.reels-nav-arrow-btn:hover {
  background: var(--aurora-cyan);
  color: #070c18;
  transform: scale(1.15);
}

/* ==========================================
   Reels — Luxury Bottom Sheet (rbs-*)
   ========================================== */
.reels-bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 52%;
  overflow-y: auto;
  scrollbar-width: none;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.reels-bottom-sheet::-webkit-scrollbar { display: none; }

/* Header Row: Stock + Title + Price */
.rbs-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rbs-title-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rbs-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.reels-stock-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.reels-stock-tag.in-stock    { background: rgba(45, 212, 191, 0.2);  color: #2dd4bf; border: 1px solid rgba(45, 212, 191, 0.4); }
.reels-stock-tag.out-of-stock{ background: rgba(244, 63, 94, 0.22); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.5); }

.rbs-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rbs-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 2px;
}

.rbs-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--aurora-light);
  line-height: 1;
}

.rbs-old-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Description */
.rbs-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Form Row Container */
.rbs-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rbs-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--aurora-light);
  letter-spacing: 0.2px;
}

/* Input for custom wish */
.rbs-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  outline: none;
  font-family: var(--font-sans);
  transition: all 0.2s;
}

.rbs-input:focus {
  border-color: var(--aurora-cyan);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

.rbs-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Ribbon Choices */
.rbs-ribbon-row {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

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

.rbs-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.rbs-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rbs-pill.selected {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--aurora-cyan);
  color: var(--aurora-light);
  font-weight: 700;
}

/* Action Row (Qty + Buy Button) */
.rbs-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.rbs-qty {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 0 6px;
  height: 46px;
  flex-shrink: 0;
  gap: 2px;
}

.rbs-qty-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  width: 32px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  transition: background 0.15s;
  line-height: 1;
}

.rbs-qty-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.rbs-qty-input {
  width: 34px;
  background: transparent;
  border: none;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  outline: none;
  font-family: var(--font-sans);
  -moz-appearance: textfield;
}

.rbs-qty-input::-webkit-inner-spin-button,
.rbs-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.rbs-buy-btn {
  flex: 1;
  height: 46px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 23px;
  white-space: nowrap;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Out of Stock Notice */
.rbs-oos-notice {
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.35);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #ff858d;
  line-height: 1.45;
}

.rbs-oos-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px;
  border-radius: 23px;
  cursor: not-allowed;
  width: 100%;
  font-family: var(--font-sans);
}

/* Scroll Hint */
.rbs-scroll-hint {
  text-align: center;
  font-size: 11px;
  color: rgba(229, 185, 95, 0.5);
  letter-spacing: 0.5px;
  padding-top: 2px;
}

/* Floating Hearts FX */
.reels-floating-heart {
  position: absolute;
  font-size: 32px;
  animation: floatHeart 1.2s ease-out forwards;
  pointer-events: none;
  z-index: 50;
}

@keyframes floatHeart {
  0%   { transform: scale(0.6) translateY(0); opacity: 1; }
  100% { transform: scale(1.6) translateY(-160px); opacity: 0; }
}

@media (max-width: 640px) {
  .reels-slide-inner {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
  .reels-feed-slide {
    padding: 0;
  }
  .reels-overlay-top,
  .reels-overlay-bottom {
    border-radius: 0;
  }
  .reels-floating-close-btn {
    top: 14px;
    right: 14px;
    padding: 6px 14px;
    font-size: 12px;
  }
  .reels-bottom-sheet {
    max-height: 60%;
    padding: 16px 14px 14px;
  }
  .rbs-title { font-size: 1.05rem; }
  .rbs-price { font-size: 1.1rem; }
  .reels-media-nav-arrow {
    width: 36px; height: 36px; font-size: 15px;
    top: 24%;
  }

}

/* Footer Admin Button */
.footer-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
  letter-spacing: 0.3px;
}

.footer-admin-btn:hover {
  background: rgba(229, 185, 95, 0.1);
  border-color: rgba(229, 185, 95, 0.35);
  color: var(--gold-light);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ==========================================
   Admin Panel Styles - Fullscreen Dashboard
   ========================================== */
#adminPanelModal.modal-backdrop {
  padding: 0;
}

#adminPanelModal .modal-card {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 0;
  margin: 0;
  border: none;
  display: flex;
  flex-direction: column;
}

#adminPanelModal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}

.admin-pin-pad {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

.pin-input {
  font-size: 24px;
  letter-spacing: 6px;
  text-align: center;
  width: 100%;
  margin: 16px 0;
  font-weight: 700;
}

.auth-error-msg {
  color: #f87171;
  font-size: 13px;
  margin-top: 8px;
  min-height: 20px;
}

.shake {
  animation: shakeAnim 0.4s ease-in-out;
}

@keyframes shakeAnim {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Admin Tabs Navigation */
.admin-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
  padding: 0 32px;
  background: var(--bg-surface);
}

.admin-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 16px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.admin-tab-btn:hover {
  color: #fff;
}

.admin-tab-btn.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

.admin-tab-pane {
  display: none;
  padding: 24px 32px;
}

.admin-tab-pane.active {
  display: block;
}

/* Admin Toolbar */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-search-wrap {
  flex: 1;
  min-width: 240px;
}

/* Admin Orders Cards */
.admin-orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-order-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 20px;
  transition: var(--transition-fast);
}

.admin-order-card.order-card-new {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(18, 35, 68, 0.7);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.order-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-right: 10px;
}

.order-date {
  font-size: 12.5px;
  color: var(--text-muted);
}

.admin-status-dropdown {
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  outline: none;
  cursor: pointer;
}

.order-customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.customer-col .meta-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.customer-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.customer-phone a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
}

.btn-icon-copy {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-left: 6px;
}

.btn-copy-np {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 6px;
}

.order-comment-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold-light);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}

.admin-order-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.item-thumb-box img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.item-custom-wish-badge {
  background: rgba(229, 185, 95, 0.12);
  border: 1px solid var(--border-glass-gold);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--gold-light);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.order-total-sum {
  font-size: 1.1rem;
  font-weight: 600;
}

.order-total-sum span {
  color: var(--gold-light);
  font-weight: 800;
  font-size: 1.25rem;
}

/* Admin Products List Cards */
.admin-products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-prod-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-prod-thumb {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.prod-badge-mini {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 9px;
  background: var(--ruby-primary);
  color: #fff;
  padding: 2px 4px;
  border-radius: 6px;
  font-weight: 700;
}

.media-counters {
  position: absolute;
  bottom: 2px;
  left: 2px;
  right: 2px;
  display: flex;
  gap: 2px;
}

.media-tag {
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 4px;
}

.media-tag-video {
  background: rgba(196, 30, 58, 0.9);
}

.admin-prod-details {
  flex: 1;
}

.prod-cat-tag {
  font-size: 11px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 600;
}

.prod-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
}

.prod-price-row {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
}

.prod-stock-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.stock-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.stock-switch input { opacity: 0; width: 0; height: 0; }

.stock-slider {
  position: absolute;
  inset: 0;
  background: #475569;
  border-radius: 20px;
  cursor: pointer;
  transition: .3s;
}

.stock-slider::before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}

.stock-switch input:checked + .stock-slider {
  background: #10b981;
}

.stock-switch input:checked + .stock-slider::before {
  transform: translateX(16px);
}

.stock-label {
  font-size: 11.5px;
  font-weight: 600;
}

.stock-label.in-stock { color: #34d399; }
.stock-label.out-of-stock { color: #fbbf24; }

.admin-prod-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon-edit,
.btn-icon-preview,
.btn-icon-delete {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition-fast);
}

.btn-icon-edit:hover { color: var(--gold-light); border-color: var(--border-glass-gold); }
.btn-icon-delete:hover { color: #f87171; border-color: rgba(239, 68, 68, 0.5); }

/* Media Preview in Product Form */
.prod-media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.media-preview-item {
  position: relative;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
}

.media-preview-item img,
.media-preview-item video {
  width: 100%;
  height: 85px;
  object-fit: cover;
}

.media-thumb-video {
  position: relative;
  height: 85px;
}

.video-overlay-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 9px;
  background: rgba(0,0,0,0.7);
  padding: 2px 4px;
  border-radius: 4px;
  color: #fff;
}

.btn-remove-media {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-caption-input-wrap {
  padding: 4px;
  background: var(--bg-secondary);
}

.input-media-caption {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 11px;
  color: var(--text-secondary);
  outline: none;
}

/* Categories List */
.admin-categories-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.admin-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 12px 18px;
}

.cat-name {
  font-weight: 600;
  color: #fff;
}

.cat-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 10px;
}

.btn-cat-delete {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

/* ==========================================
   Toast Notifications
   ========================================== */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  max-width: 92vw;
  width: max-content;
}

.toast-notification {
  background: rgba(8, 17, 39, 0.96);
  border: 1.5px solid var(--border-dream);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(56, 189, 248, 0.35);
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  max-width: 90vw;
}

.toast-notification.toast-warning {
  background: rgba(35, 20, 5, 0.97);
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.45);
}

.toast-notification.toast-error {
  background: rgba(45, 10, 15, 0.97);
  border-color: rgba(244, 63, 94, 0.75);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(244, 63, 94, 0.45);
}

.toast-notification.hide {
  animation: toastOut 0.35s forwards;
}

@keyframes toastIn {
  0% { transform: translateY(20px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes toastOut {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-20px) scale(0.9); opacity: 0; }
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
  padding: 44px 0 34px;
  background: rgba(4, 7, 20, 0.95);
  border-top: 1px solid var(--border-glass);
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--aurora-light);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--aurora-light);
  text-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 900px) {
  .personalize-grid {
    grid-template-columns: 1fr;
  }
  .order-customer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-top-bar {
    flex-direction: column;
    gap: 12px;
  }
  .site-title {
    font-size: 1.9rem;
  }
  .brand-bio-box {
    padding: 14px 16px;
  }
  .bio-item {
    font-size: 13.5px;
  }

  /* 3 cards per row on mobile */
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 4px;
  }

  /* Compact card styles for small screens */
  .product-card {
    border-radius: 14px;
  }
  .card-media-wrapper {
    padding-top: 0; /* Reset — aesop.css uses aspect-ratio */
  }
  .card-body {
    padding: 10px 8px 10px;
    gap: 2px;
  }
  .card-category {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .card-title {
    font-size: 0.9rem;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-desc {
    display: none; /* hide description on tiny cards */
  }
  .card-footer {
    gap: 6px;
    padding-top: 8px;
  }
  .card-footer-top {
    gap: 4px;
  }
  .price-current {
    font-size: 0.9rem;
  }
  .price-old {
    font-size: 0.7rem;
  }
  .card-discount-badge {
    font-size: 9px;
    padding: 2px 5px;
  }
  .btn-order-toy {
    padding: 6px 8px;
    font-size: 10px;
    border-radius: 10px;
  }
  .btn-out-of-stock {
    padding: 6px 8px;
    font-size: 10px;
    border-radius: 10px;
  }
  .card-stock-indicator {
    font-size: 9px;
    padding: 3px 6px;
  }
  .badge {
    font-size: 9px;
    padding: 3px 7px;
    top: 6px;
    left: 6px;
  }

  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-header {
    padding: 18px;
  }
  .reels-phone-container {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
  .floating-cart-btn {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  /* Reels bottom sheet on mobile — less padding */
  .reels-bottom-sheet {
    padding: 36px 16px 16px;
  }
  .reels-prod-title {
    font-size: 1.1rem;
  }
  .reels-price-main {
    font-size: 1.15rem;
  }
  .reels-ribbon-pills {
    gap: 5px;
  }
  .reel-ribbon-pill {
    font-size: 10.5px;
    padding: 4px 9px;
  }
}

/* Very small phones: 2 cards */
/* Catalog Search & Actions Bar (Sticky on Scroll) */
.catalog-actions-bar {
  position: sticky;
  top: 14px;
  z-index: 100;
  background: rgba(36, 18, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 30px;
  padding: 8px 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 26px;
  width: 100%;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-search-wrap {
  flex: 1;
  min-width: 220px;
  position: relative;
  display: flex;
  align-items: center;
}

.catalog-search-wrap .search-icon {
  position: absolute;
  left: 14px;
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  height: 44px;
  padding: 10px 36px 10px 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  color: #fff;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.catalog-search-input:focus {
  border-color: var(--aurora-cyan);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--text-muted);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.clear-search-btn:hover {
  background: rgba(244, 63, 94, 0.6);
  color: #fff;
}

/* Floating Autocomplete Dropdown */
.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(14, 21, 40, 0.97);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 20px;
  padding: 8px;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.search-dropdown-item:hover,
.search-dropdown-item.active {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateX(3px);
}

.search-dropdown-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.search-dropdown-info {
  flex: 1;
  min-width: 0;
}

.search-dropdown-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-dropdown-title mark {
  background: rgba(212, 175, 55, 0.4);
  color: #fff;
  border-radius: 2px;
  padding: 0 2px;
}

.search-dropdown-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.search-dropdown-price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gold-light);
  white-space: nowrap;
  text-align: right;
}

.search-dropdown-footer {
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: var(--aurora-cyan);
  text-align: center;
  font-weight: 600;
}

/* Inline Track Order Button */
.btn-track-order-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-track-order-inline:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

@media (max-width: 600px) {
  .catalog-actions-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
  }
  .btn-track-order-inline {
    justify-content: center;
  }
}

/* Footer track order button */
.btn-track-order-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-track-order-footer:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: #fff;
  transform: translateY(-2px);
}


/* ==========================================================================
   New Year Countdown Timer & Floating Cart FAB
   ========================================================================== */

/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--btn-dream-gradient);
  border: 2px solid var(--gold-light);
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4), inset 0 0 15px rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  animation: floatGentle 4s ease-in-out infinite, warmGlow 3s alternate infinite;
}

.floating-cart-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(225, 29, 72, 0.6), inset 0 0 20px rgba(255,255,255,0.4);
}

.floating-cart-btn .cart-icon {
  font-size: 28px;
  line-height: 1;
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--ruby-primary);
  color: white;
  font-size: 13px;
  font-weight: bold;
  min-width: 24px;
  height: 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animations */
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes warmGlow {
  0% { box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }
  100% { box-shadow: 0 10px 30px rgba(225, 29, 72, 0.6); }
}

@keyframes popIn {
  0% { transform: scale(0); }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Countdown Timer */
/* Countdown Timer - Floating Top Left */
.ny-countdown-container.floating-timer {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 18px;
  background: rgba(36, 18, 22, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(212, 175, 55, 0.1);
  animation: floatGentle 6s ease-in-out infinite;
  pointer-events: none; /* unobtrusive */
}

.ny-countdown-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}

.ny-countdown-digits {
  display: flex;
  gap: 8px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 46px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .ny-countdown-container.floating-timer {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    padding: 8px 14px;
    border-radius: 12px;
    width: auto;
    white-space: nowrap;
    animation: none; /* disable float on mobile to avoid jitter */
  }
  .ny-countdown-title {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  .ny-countdown-digits {
    gap: 5px;
  }
  .countdown-block {
    padding: 4px 8px;
    min-width: 40px;
  }
  .countdown-value {
    font-size: 1.2rem !important;
  }
  .countdown-label {
    font-size: 0.6rem !important;
  }
}

.countdown-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.countdown-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.ny-countdown-message {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--ruby-light);
  text-shadow: 0 0 15px rgba(225, 29, 72, 0.5);
}

