/* ==========================================================================
   Creamish Glow — High-End Skincare Creative Direction & Design System
   Palette: Ivory #faf6ef, Champagne #e9dcc3, Gold #b8924f, Espresso #2a1f14
   Quiet Luxury · Editorial Beauty Aesthetics · Cinema & Motion
   ========================================================================== */

:root {
  /* Core Brand Colors */
  --ivory: #faf6ef;
  --ivory-alt: #f5efe4;
  --champagne: #e9dcc3;
  --champagne-light: #f7f1e6;
  --champagne-dark: #cfbfa2;
  --gold: #b8924f;
  --gold-light: #d8b370;
  --gold-deep: #8a6434;
  --gold-sheen: #f4e3c3;
  --espresso: #2a1f14;
  --espresso-dark: #19120c;
  --espresso-light: #443424;
  --paper: #fdfbf7;
  --paper-card: rgba(253, 251, 247, 0.88);

  /* Functional Transparencies & Lines */
  --mute: rgba(42, 31, 20, 0.72);
  --mute-light: rgba(42, 31, 20, 0.52);
  --line: rgba(184, 146, 79, 0.2);
  --line-light: rgba(184, 146, 79, 0.12);
  --line-strong: rgba(184, 146, 79, 0.38);
  --line-espresso: rgba(42, 31, 20, 0.08);

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(42, 31, 20, 0.04);
  --shadow-md: 0 16px 40px rgba(42, 31, 20, 0.07);
  --shadow-lg: 0 28px 70px rgba(42, 31, 20, 0.12);
  --shadow-gold: 0 14px 34px rgba(184, 146, 79, 0.26);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", "Outfit", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: "Great Vibes", cursive;

  /* Header Height */
  --header-height: 84px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  color: var(--espresso);
  background-color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(250, 246, 239, 0.94) 0%, rgba(253, 251, 247, 0.97) 100%),
    url("../img/bg-marble-gold.jpg");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: -1;
  transform: translateZ(0);
  will-change: transform;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--ivory);
}
::-webkit-scrollbar-thumb {
  background: var(--champagne-dark);
  border-radius: var(--radius-pill);
  border: 2px solid var(--ivory);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Custom Cursor Removed (User requested standard cursor) */
.custom-cursor-dot,
.custom-cursor-ring {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Progress Bar at top */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(90deg, var(--champagne), var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--espresso);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 0.6em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 600;
  margin-bottom: 0.4em;
}

p {
  color: var(--mute);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  font-weight: 400;
  max-width: 68ch;
}

p.lead {
  font-size: clamp(1.1rem, 1.4vw, 1.28rem);
  line-height: 1.65;
  color: var(--espresso-light);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Layout Container — Rock-solid centered with guaranteed side margins on ALL screens */
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .wrap {
    width: calc(100% - 36px);
  }
}

@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 28px);
  }
}

.wrap.section,
main.wrap,
section.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .wrap.section,
  main.wrap,
  section.wrap {
    width: calc(100% - 36px);
  }
}

@media (max-width: 480px) {
  .wrap.section,
  main.wrap,
  section.wrap {
    width: calc(100% - 28px);
  }
}

.gold {
  color: var(--gold-deep);
}

.script {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--gold-deep);
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-bottom: 0.2em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.btn.gold {
  background: linear-gradient(135deg, #e0be7d 0%, #caa055 50%, #b68b3f 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(184, 142, 68, 0.25);
  border: none;
  overflow: hidden;
  isolation: isolate;
}

.btn.gold::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-105%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn.gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(138, 100, 52, 0.35);
}

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

.btn.ghost {
  background: rgba(255, 255, 255, 0.25);
  color: var(--espresso);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--gold-deep);
}

.btn.hero-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(233, 220, 195, 0.4);
  backdrop-filter: blur(12px);
}

.btn.hero-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  color: var(--espresso);
}

.icon-btn:hover {
  background: #ffffff;
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--gold-deep);
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--gold-deep);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(42, 31, 20, 0.2);
}

.cart-count:empty,
.cart-count[hidden],
.cart-count[data-count="0"],
.cart-count[style*="display: none"],
.cart-count[style*="display:none"] {
  display: none !important;
}


/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s ease;
  transform: translateZ(0);
  will-change: transform;
}

.site-header.is-scrolled {
  background: rgba(250, 246, 239, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(42, 31, 20, 0.05);
}

.site-header.nav-hidden {
  transform: translateY(-100%);
}

.site-header.nav-visible {
  transform: translateY(0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--espresso);
  position: relative;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  box-shadow: 0 2px 10px rgba(184, 146, 79, 0.25);
  transition: transform 0.4s ease;
}

.logo:hover .logo-mark {
  transform: rotate(15deg) scale(1.05);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
  opacity: 0.8;
  position: relative;
  padding: 8px 0;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  opacity: 1;
  color: var(--gold-deep);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  padding: 12px;
  flex-direction: column;
  justify-content: space-around;
  transition: all 0.25s ease;
}

.menu-btn span {
  width: 100%;
  height: 1.5px;
  background: var(--espresso);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 991px) {
  .nav-desktop {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
}

/* Mobile Navigation Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 20, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.nav-mobile {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 85vw);
  height: 100%;
  background: var(--ivory);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 40px rgba(42, 31, 20, 0.15);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--espresso);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
}

.nav-mobile a.active {
  color: var(--gold-deep);
  font-weight: 600;
}

.menu-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--espresso);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 2;
}

.menu-close-btn:hover {
  background: var(--champagne-light);
  border-color: var(--gold);
  color: var(--gold-deep);
}

/* ==========================================================================
   Cinematic Hero Section
   ========================================================================== */
.cinematic-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
  background: #120e0a;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.02);
  filter: brightness(0.88) contrast(1.05);
}

/* Dark-to-transparent luxury gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(22, 16, 11, 0.28) 0%, rgba(18, 13, 9, 0.78) 100%),
    linear-gradient(180deg, rgba(20, 14, 10, 0.65) 0%, rgba(20, 14, 10, 0.2) 40%, rgba(18, 13, 9, 0.88) 100%);
}

/* Subtle cinematic film grain noise */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  color: #ffffff;
  padding: 60px 0 100px;
  max-width: 880px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-light);
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: heroWordFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

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

.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto 2.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
}

.hero-lead strong {
  color: var(--gold-sheen);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s forwards;
}

/* Trust Badges in Hero */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1.1s forwards;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(233, 220, 195, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fffaf3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--champagne);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.scroll-pill {
  width: 20px;
  height: 34px;
  border: 1.5px solid rgba(233, 220, 195, 0.6);
  border-radius: var(--radius-pill);
  position: relative;
}

.scroll-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  transform: translateX(-50%);
  animation: scrollDotMove 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollDotMove {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

/* ==========================================================================
   Horizontal Marquee Ticker
   ========================================================================== */
.marquee-section {
  background: var(--champagne-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 32px;
  animation: marqueeLoop 28s linear infinite;
  will-change: transform;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--espresso);
}

.marquee-track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.7rem;
}

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

@keyframes marqueeLoop {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Section Styling & Containers
   ========================================================================== */
.section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
}

.section.alt {
  background: rgba(247, 241, 230, 0.65);
}

.section.silk {
  background: linear-gradient(180deg, var(--ivory) 0%, rgba(245, 237, 224, 0.75) 100%);
}

.section.dark {
  background: var(--espresso-dark);
  color: #ffffff;
}

.section.dark h1,
.section.dark h2,
.section.dark h3 {
  color: #ffffff;
}

.section.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section.dark .eyebrow {
  color: var(--gold-light);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Split Layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ==========================================================================
   Brand Intro Section (Editorial Collage)
   ========================================================================== */
.intro-collage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.intro-copy-box {
  position: relative;
}

.intro-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--gold-deep);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
}

.intro-visual-cluster {
  position: relative;
  min-height: 520px;
}

.intro-image-main {
  width: 76%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: block;
}

.intro-image-cream-wrap {
  position: absolute;
  top: 32%;
  left: 20%;
  width: 48%;
  z-index: 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(42, 31, 20, 0.22);
  border: 3px solid var(--ivory);
  background: var(--paper);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.intro-image-cream-wrap:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 55px rgba(184, 146, 79, 0.3);
}

.intro-image-cream {
  width: 100%;
  height: auto;
  display: block;
}

.intro-cream-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(42, 31, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #faf6ef;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(184, 146, 79, 0.4);
}

.intro-image-floating {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  z-index: 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--ivory);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-image-floating:hover {
  transform: translateY(-4px) scale(1.02);
}

.intro-floating-badge {
  position: absolute;
  top: -14px;
  left: -16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--champagne);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(42, 31, 20, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--espresso);
  z-index: 4;
  white-space: nowrap;
}

.intro-floating-badge span:first-child {
  color: var(--gold-deep);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .intro-collage-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-visual-cluster {
    min-height: 420px;
  }
  .intro-image-main {
    width: 80%;
  }
  .intro-image-cream-wrap {
    top: 30%;
    left: 15%;
    width: 52%;
  }
  .intro-image-floating {
    width: 48%;
  }
  .intro-floating-badge {
    top: -10px;
    left: 8px;
    padding: 8px 14px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   Pinned Scroll Storytelling: Radiant Glow Ritual
   ========================================================================== */
.ritual-section {
  position: relative;
  background: var(--ivory);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ritual-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.ritual-storytelling-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
  position: relative;
}

.ritual-steps-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ritual-step-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
}

.ritual-step-card.active {
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: var(--shadow-md), 0 0 0 1px var(--gold);
}

.ritual-step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2bf7e 0%, #c69b50 50%, #ba8e44 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 9999px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(184, 142, 68, 0.2);
  border: none;
  box-sizing: border-box;
  overflow: hidden;
  vertical-align: middle;
}

.step-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ritual-step-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.ritual-step-card p {
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.ritual-step-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ritual-progress-track {
  width: 100%;
  height: 3px;
  background: var(--line-light);
  border-radius: var(--radius-pill);
  margin-top: 14px;
  overflow: hidden;
}

.ritual-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  will-change: transform;
}

.ritual-step-card.active .ritual-progress-bar {
  transform: scaleX(1);
}

/* Pinned Media Window */
.ritual-media-col {
  position: sticky;
  top: 120px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--line-strong);
  background: #1a120c;
  aspect-ratio: 4/5;
  max-height: 580px;
}

.ritual-video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ritual-video-layer.active {
  opacity: 1;
  pointer-events: auto;
}

.ritual-video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ritual-media-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

.ritual-media-caption {
  display: none !important;
}

/* ==============================================================================
   GOLDEN LIGHT MOVING THROUGH BORDER (Continuous Border Beam Effect)
   Creates an animated luminous golden light ray continuously sweeping along borders
   ============================================================================== */

@property --gold-beam-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes goldBeamOrbit {
  0% {
    --gold-beam-angle: 0deg;
  }
  100% {
    --gold-beam-angle: 360deg;
  }
}

/* Base style for elements with golden border light */
.gold-light-border,
.ritual-step-card,
.ritual-media-col,
.product-card,
.feature-card,
.contact-card,
.info-card,
.tracking-station-card,
.product-shot-wrap {
  position: relative;
}

/* The moving golden light beam pseudo-element (Hardware accelerated & optimized) */
.gold-light-border::after,
.ritual-step-card::after,
.ritual-media-col::after,
.product-card::after,
.feature-card::after,
.contact-card::after,
.info-card::after,
.tracking-station-card::after,
.product-shot-wrap::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--gold-beam-angle, 0deg),
    transparent 0deg,
    transparent 65deg,
    rgba(216, 179, 112, 0.15) 75deg,
    rgba(245, 218, 142, 0.8) 85deg,
    #ffffff 91deg,
    #ffe294 95deg,
    rgba(216, 179, 112, 0.25) 103deg,
    transparent 115deg,
    transparent 360deg
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 6;
  animation: goldBeamOrbit var(--beam-duration, 5s) linear infinite;
  animation-delay: var(--gold-beam-delay, 0s);
  box-sizing: border-box;
  opacity: var(--beam-opacity, 0.9);
  transform: translateZ(0);
  contain: paint;
  transition: opacity 0.3s ease;
}

/* Specific fine-tuning for overflow: hidden containers */
.ritual-media-col::after,
.product-shot-wrap::after {
  inset: 0px;
  padding: 2.5px;
  z-index: 8;
}

/* Active Step Card has a brighter, radiant golden beam */
.ritual-step-card.active::after {
  --beam-opacity: 1;
  padding: 2.5px;
  animation-duration: 4s;
}

/* Stagger beam phases across adjacent cards for organic, fluid motion */
.ritual-steps-col .ritual-step-card:nth-child(2) {
  --gold-beam-delay: -2.5s;
}

.grid-2 > *:nth-child(2) {
  --gold-beam-delay: -2.5s;
}

.grid-4 > *:nth-child(1) { --gold-beam-delay: 0s; }
.grid-4 > *:nth-child(2) { --gold-beam-delay: -1.25s; }
.grid-4 > *:nth-child(3) { --gold-beam-delay: -2.5s; }
.grid-4 > *:nth-child(4) { --gold-beam-delay: -3.75s; }

/* Interactive hover enhancement */
.product-card:hover::after,
.feature-card:hover::after,
.ritual-step-card:hover::after {
  --beam-opacity: 1;
  animation-duration: 3s;
}

/* Respect user accessibility motion preference */
@media (prefers-reduced-motion: reduce) {
  .gold-light-border::after,
  .ritual-step-card::after,
  .ritual-media-col::after,
  .product-card::after,
  .product-visual::after,
  .feature-card::after,
  .contact-card::after,
  .info-card::after,
  .tracking-station-card::after,
  .product-shot-wrap::after {
    animation: none;
    opacity: 0.5;
  }
}

@media (max-width: 860px) {
  .ritual-storytelling-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ritual-media-col {
    position: relative;
    top: 0;
    aspect-ratio: 16/10;
    max-height: 380px;
  }
}

/* ==========================================================================
   Product Showcase & Cards (3D Tilt & Video Hover Preview)
   ========================================================================== */
.product-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(184, 146, 79, 0.15);
}

.product-card > a {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-decoration: none;
  color: inherit;
}

.product-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ivory);
  margin-bottom: 20px;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}

/* Video Preview on Hover */
.product-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}

.product-card:hover .product-hover-video {
  opacity: 1;
}

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

.product-visual-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--espresso);
  border: 1px solid var(--line);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-deep);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.product-rating span {
  color: var(--mute);
  font-size: 0.8rem;
  font-weight: 500;
}

.product-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
  line-height: 1.25;
  min-height: 1.35em;
  transition: color 0.25s ease;
}

.product-card:hover h3 {
  color: var(--gold-deep);
}

.product-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 14px;
  min-height: 3.1em; /* fixes description height discrepancy across both cards */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto; /* aligns price across both cards */
  margin-bottom: 14px;
}

.price b {
  font-size: 1.35rem;
  color: var(--espresso);
  font-weight: 700;
}

.price s {
  font-size: 0.95rem;
  color: var(--mute-light);
  font-weight: 400;
}

.product-card .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 34px; /* aligns chip-row height across both cards */
  margin-bottom: 20px;
  align-items: center;
}

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(184, 146, 79, 0.08);
  color: var(--gold-deep);
  border: 1px solid rgba(184, 146, 79, 0.2);
}

.product-card > .btn {
  margin-top: auto;
  width: 100%;
}


/* ==========================================================================
   "Why Choose Creamish Glow" Cards
   ========================================================================== */
.feature-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(184, 146, 79, 0.1);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(184, 146, 79, 0.18);
}

.feature-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Skin-Type Guide (Interactive Tabs)
   ========================================================================== */
.skintype-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.skintype-tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--paper-card);
  border: 1px solid var(--line);
  color: var(--espresso);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skintype-tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.skintype-tab-btn.active {
  background: var(--espresso);
  color: #ffffff;
  border-color: var(--espresso);
  box-shadow: var(--shadow-sm);
}

.skintype-panel {
  display: none;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.4s ease forwards;
}

.skintype-panel.active {
  display: block;
}

.skintype-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.skintype-routine-box {
  background: rgba(233, 220, 195, 0.2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.skintype-routine-box h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--gold-deep);
}

.skintype-routine-box ul {
  padding-left: 20px;
  color: var(--mute);
  font-size: 0.92rem;
}

.skintype-routine-box li {
  margin-bottom: 8px;
}

@media (max-width: 800px) {
  .skintype-panel {
    padding: 28px 20px;
  }
  .skintype-panel-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   Client Films (Video Testimonial Carousel & Lightbox)
   ========================================================================== */
.client-films-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.video-card {
  background: rgba(36, 26, 17, 0.85);
  border: 1px solid rgba(184, 146, 79, 0.28);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.video-card .stars {
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.video-card h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.video-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(184, 146, 79, 0.2);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 14, 9, 0.45);
  cursor: pointer;
  transition: background 0.3s ease;
}

.video-play-overlay:hover {
  background: rgba(20, 14, 9, 0.25);
}

.luxury-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
  color: var(--espresso);
}

.luxury-play-btn svg {
  width: 22px;
  height: 22px;
  transform: translateX(2px);
  fill: currentColor;
}

.video-play-overlay:hover .luxury-play-btn {
  transform: scale(1.1);
  background: #ffffff;
  color: var(--gold-deep);
}

/* Lightbox Modal */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(18, 12, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.video-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox-inner {
  position: relative;
  width: min(900px, 92vw);
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--line-strong);
  background: #000;
}

.video-lightbox-inner video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-close-btn:hover {
  background: #ffffff;
  color: var(--espresso);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.faq-wrap details {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  padding: 20px 26px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-wrap details[open] {
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-wrap summary {
  list-style: none;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--espresso);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-wrap summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-wrap details[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
  background: rgba(184, 146, 79, 0.1);
}

.faq-wrap details p {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--mute);
  line-height: 1.65;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--espresso-dark);
  color: #ffffff;
  padding: 90px 0 30px;
  border-top: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}

.footer-newsletter-wrap {
  border-bottom: 1px solid rgba(184, 146, 79, 0.2);
  padding-bottom: 60px;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.footer-newsletter-copy h3 {
  color: #ffffff;
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.footer-newsletter-copy p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 146, 79, 0.35);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-form .btn,
.newsletter-btn {
  height: 52px;
  min-height: 52px;
  padding: 0 34px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.foot-col h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.foot-col p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.65;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.foot-links a:hover {
  color: var(--champagne);
  transform: translateX(4px);
}

.footer-social-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(184, 146, 79, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--champagne);
  transition: all 0.25s ease;
}

.social-icon-btn:hover {
  border-color: var(--gold);
  background: rgba(184, 146, 79, 0.15);
  transform: translateY(-2px);
}

/* Faint Brand Watermark */
.footer-watermark {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 11vw, 10rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(233, 220, 195, 0.035);
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  line-height: 0.8;
  margin-top: 20px;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 991px) {
  .footer-newsletter-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }
  .newsletter-input {
    width: 100%;
    height: 50px;
  }
  .newsletter-form .btn,
  .newsletter-btn {
    width: 100%;
    height: 50px;
    min-height: 50px;
  }
}

/* ==========================================================================
   Shopping Bag Drawer & Toast
   ========================================================================== */
.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 12, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: var(--ivory);
  z-index: 999;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
  border-left: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

.drawer-header h3 {
  font-size: 1.45rem;
  margin: 0;
}

[data-bag-items] {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 0;
}

/* Shopping Bag & Cart Items — Ultra-User-Friendly & Luxury */
.bag-item,
.cart-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  position: relative;
  transition: background-color 0.2s ease;
}

.bag-item:last-child,
.cart-item:last-child {
  border-bottom: none;
}

.bag-thumb,
.cart-item img {
  width: 78px;
  height: 78px;
  min-width: 78px;
  max-width: 78px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(42, 31, 20, 0.06);
  flex-shrink: 0;
}

.bag-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bag-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.bag-item-title,
.cart-item-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--espresso);
  margin: 0;
  line-height: 1.25;
}

.bag-item-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--mute-light);
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bag-item-remove:hover {
  color: #b33939;
  background: rgba(179, 57, 57, 0.08);
  transform: scale(1.1);
}

.bag-item-unit,
.cart-item-price {
  font-size: 0.88rem;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0;
}

.bag-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

/* Luxury Touch-Friendly Stepper */
.bag-qty-stepper,
.cart-qty-ctrl,
.qty {
  display: inline-flex;
  align-items: center;
  background: #fdfbf7;
  border: 1.5px solid #dcd1be;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  box-shadow: inset 0 1px 2px rgba(42, 31, 20, 0.04);
}

.bag-qty-btn,
.cart-qty-btn,
.qty button {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1px solid rgba(184, 146, 79, 0.25);
  background: #ffffff;
  color: var(--espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  user-select: none;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.bag-qty-btn:hover:not(:disabled),
.cart-qty-btn:hover:not(:disabled),
.qty button:hover:not(:disabled) {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(184, 146, 79, 0.35);
}

.bag-qty-btn:active:not(:disabled),
.cart-qty-btn:active:not(:disabled),
.qty button:active:not(:disabled) {
  transform: scale(0.92);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bag-qty-btn.is-max,
.bag-qty-btn:disabled,
.cart-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--line);
  background: #f4ede0;
}

.bag-qty-num,
.qty span {
  min-width: 30px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--espresso);
  user-select: none;
}

.bag-item-subtotal {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

.bag-qty-limit-note {
  font-size: 0.72rem;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Empty State */
.empty-bag-wrap {
  text-align: center;
  padding: 40px 16px;
}

.empty-bag-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.empty-bag-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 8px;
}

.empty-bag-sub {
  font-size: 0.92rem;
  color: var(--mute);
  max-width: 280px;
  margin: 0 auto 16px;
  line-height: 1.45;
}

.drawer-foot {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.secure-note {
  font-size: 0.78rem;
  color: var(--mute-light);
  margin-bottom: 12px;
  text-align: center;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate3d(-50%, 60px, 0);
  background: var(--espresso-dark);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

/* ==========================================================================
   Product Detail, Contact, Checkout & Orders Pages
   ========================================================================== */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--mute-light);
  margin-bottom: 24px;
}

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

.crumb-sep {
  color: var(--line-strong);
}

.product-detail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-shot {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
}

.thumbs button {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #ffffff;
  transition: border-color 0.25s ease;
  flex-shrink: 0;
}

.thumbs button.is-active,
.thumbs button:hover {
  border-color: var(--gold);
}

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

.sticky-buy {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 12px 24px;
  z-index: 90;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .sticky-buy.visible {
    display: flex;
  }
}

.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

/* Form Styles */
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  color: var(--espresso);
}

input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  margin-top: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 79, 0.15);
}

.form-error {
  color: #c94a29;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 8px;
  min-height: 1.2em;
}

input.has-error, textarea.has-error, select.has-error {
  border-color: #c94a29 !important;
  background-color: #fffaf8;
  box-shadow: 0 0 0 3px rgba(201, 74, 41, 0.15) !important;
  animation: fieldShake 0.35s ease-in-out;
}

.field-error-msg {
  color: #c94a29;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

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

/* ==========================================================================
   Motion & Reveal System
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.reveal.d1 { transition-delay: 0.15s; }
.reveal.d2 { transition-delay: 0.3s; }
.reveal.d3 { transition-delay: 0.45s; }
.reveal.d4 { transition-delay: 0.6s; }

/* ==========================================================================
   Contact, Checkout & Orders Specific Luxury Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-top: 36px;
  align-items: start;
}

.contact-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.info-card.highlight {
  border-color: var(--gold);
  background: rgba(233, 220, 195, 0.25);
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.contact-meta li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.88rem;
}

.contact-meta li span {
  font-weight: 600;
  color: var(--gold-deep);
}

.field {
  display: block;
  margin-bottom: 18px;
}

.btn-send {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   Interactive Post-Order Rating & Realtime Reviews
   ========================================================================== */
.rating-form-input {
  width: 100% !important;
  padding: 12px 16px !important;
  background: #ffffff !important;
  color: #2a1f14 !important; /* deep espresso visible contrast */
  border: 1px solid #d4c8b6 !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  outline: none !important;
  box-shadow: 0 1px 3px rgba(42, 31, 20, 0.05) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.rating-form-input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(184, 146, 79, 0.25) !important;
  color: #2a1f14 !important;
  background: #ffffff !important;
}

.rating-form-input::placeholder {
  color: #8c827a !important;
  opacity: 1 !important;
}

.order-rating-card input,
.order-rating-card textarea,
.order-rating-card select {
  color: #2a1f14 !important;
  background: #ffffff !important;
  border-color: #d4c8b6 !important;
}

.order-rating-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--ivory) 100%);
  border: 1px solid var(--champagne);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 24px;
  box-shadow: 0 10px 30px rgba(42, 31, 20, 0.06);
  position: relative;
  overflow: hidden;
}

.order-rating-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep));
}

.rating-stars-input {
  display: inline-flex;
  gap: 8px;
  margin: 14px 0 8px;
  cursor: pointer;
}

.rating-star-btn {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #d1c7b8;
  cursor: pointer;
  padding: 4px 6px;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s ease;
}

.rating-star-btn:hover,
.rating-star-btn.is-active,
.rating-star-btn.is-hover {
  color: var(--gold-deep);
  transform: scale(1.18);
}

.rating-label-display {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-deep);
  min-height: 22px;
  margin-bottom: 12px;
  display: block;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(184, 146, 79, 0.12);
  border: 1px solid rgba(184, 146, 79, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.live-review-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.live-review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 31, 20, 0.07);
}

.live-review-card.just-added {
  border-color: var(--gold);
  background: linear-gradient(135deg, #ffffff 0%, rgba(233, 220, 195, 0.2) 100%);
  animation: ratingPulse 1.2s ease-out;
}

@keyframes ratingPulse {
  0% { transform: scale(0.97); box-shadow: 0 0 0 rgba(184, 146, 79, 0.5); }
  50% { transform: scale(1.02); box-shadow: 0 0 25px rgba(184, 146, 79, 0.35); }
  100% { transform: scale(1); box-shadow: 0 4px 16px rgba(42, 31, 20, 0.06); }
}

.rating-pulse-update {
  animation: ratingNumberPulse 0.8s ease-out;
}

@keyframes ratingNumberPulse {
  0% { transform: scale(1); color: var(--gold-deep); }
  50% { transform: scale(1.25); color: var(--gold); }
  100% { transform: scale(1); }
}

.live-rating-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(233, 220, 195, 0.25);
  border: 1px solid rgba(184, 146, 79, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  color: var(--espresso);
  margin-bottom: 18px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27ae60;
  display: inline-block;
  box-shadow: 0 0 8px rgba(39, 174, 96, 0.7);
  animation: liveBlink 1.8s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
/* ==========================================================================
   Creamish Glow — Professional Luxury Admin Portal & Order Console
   ========================================================================== */

.admin-main {
  min-height: 80vh;
  padding: 40px 24px 80px;
  box-sizing: border-box;
}

.admin-lock-wrap {
  width: min(520px, 100%);
  max-width: 520px;
  margin: 40px auto 60px;
  box-sizing: border-box;
}

.admin-lock-card {
  padding: 44px 36px;
  background: var(--paper-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.admin-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(184, 146, 79, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.admin-lock-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--espresso);
  margin-bottom: 8px;
  line-height: 1.15;
}

.admin-lock-header .lead {
  font-size: 0.95rem;
  color: var(--mute);
  margin-bottom: 24px;
  line-height: 1.5;
}

.admin-sec-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--mute-light);
  line-height: 1.4;
}

/* Admin Dashboard Section */
.admin-dashboard-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px 60px;
}

.admin-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.admin-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1e7e34;
  background: rgba(39, 174, 96, 0.1);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.admin-header-titles h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--espresso);
  line-height: 1.1;
  margin-bottom: 6px;
}

.admin-header-sub {
  font-size: 0.94rem;
  color: var(--mute);
  margin: 0;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-header-actions .btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.admin-header-actions .btn-logout {
  background: rgba(42, 31, 20, 0.06);
  color: var(--espresso);
  border: 1px solid rgba(42, 31, 20, 0.15);
}

.admin-header-actions .btn-logout:hover {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

/* KPI Summary Cards Grid */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.admin-kpi-card {
  background: var(--paper-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.admin-kpi-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0.8;
}

.admin-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute-light);
  margin-bottom: 8px;
}

.kpi-value {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--espresso);
  line-height: 1.1;
  margin-bottom: 8px;
}

.kpi-sub {
  font-size: 0.82rem;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Controls: Search & Status Filter */
.admin-controls-card {
  background: var(--paper-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.admin-search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
}

.admin-search-box svg {
  position: absolute;
  left: 14px;
  color: var(--gold-deep);
  pointer-events: none;
}

.admin-search-box input {
  width: 100%;
  padding: 10px 38px 10px 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--espresso);
  outline: none;
  transition: all 0.2s ease;
}

.admin-search-box input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 79, 0.15);
}

.admin-search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--mute-light);
  cursor: pointer;
}

.admin-search-clear:hover {
  color: var(--espresso);
}

.admin-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  background: rgba(184, 146, 79, 0.08);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-light);
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}

.filter-group::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  background: none;
  border: none;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--espresso);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.filter-pill:hover {
  color: var(--gold-deep);
}

.filter-pill.active {
  background: #fff;
  color: var(--gold-deep);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(42, 31, 20, 0.06);
}

.admin-order-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
}

/* Storage Notice Banner */
.admin-notice-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: linear-gradient(90deg, rgba(233, 220, 195, 0.45), rgba(247, 241, 230, 0.45));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: var(--espresso);
}

.admin-notice-banner .notice-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.admin-notice-banner .notice-text strong {
  color: var(--gold-deep);
}

/* Orders List & Card Styles */
.admin-orders-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.admin-order-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

/* Card Header */
.aoc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--champagne-light);
  border-bottom: 1px solid var(--line);
}

.aoc-id-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aoc-id-prefix {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}

.aoc-id {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: 0.02em;
  margin: 0;
}

.aoc-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mute);
  cursor: pointer;
  transition: all 0.2s ease;
}

.aoc-copy-btn:hover {
  background: #fff;
  color: var(--gold-deep);
  border-color: var(--gold);
}

.aoc-head-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.aoc-date {
  font-size: 0.84rem;
  color: var(--mute);
}

.aoc-payment-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}

.aoc-pay-cod {
  background: rgba(184, 146, 79, 0.12);
  color: var(--gold-deep);
  border-color: rgba(184, 146, 79, 0.25);
}

.aoc-pay-upi {
  background: rgba(39, 174, 96, 0.12);
  color: #1e7e34;
  border-color: rgba(39, 174, 96, 0.25);
}

.aoc-status-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 28px 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232a1f14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  transition: all 0.2s ease;
}

.aoc-status-select.status-confirmed {
  background-color: rgba(39, 174, 96, 0.14);
  color: #1e7e34;
  border-color: rgba(39, 174, 96, 0.35);
}

.aoc-status-select.status-shipped {
  background-color: rgba(41, 128, 185, 0.14);
  color: #2980b9;
  border-color: rgba(41, 128, 185, 0.35);
}

.aoc-status-select.status-delivered {
  background-color: rgba(34, 153, 84, 0.18);
  color: #196f3d;
  border-color: rgba(34, 153, 84, 0.45);
}

.aoc-status-select.status-cancelled {
  background-color: rgba(192, 57, 43, 0.12);
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.3);
}

/* Card Body Grid */
.aoc-body {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.95fr;
  gap: 24px;
  padding: 24px;
}

.aoc-col {
  display: flex;
  flex-direction: column;
}

.aoc-col-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute-light);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-light);
}

/* Col 1: Customer Info */
.aoc-customer-col {
  border-right: 1px solid var(--line-light);
  padding-right: 20px;
}

.aoc-customer-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 8px;
}

.aoc-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--mute);
}

.aoc-contact-item svg {
  color: var(--gold-deep);
  flex-shrink: 0;
}

.aoc-link {
  color: var(--espresso);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s ease;
}

.aoc-link:hover {
  color: var(--gold-deep);
  text-decoration: underline;
}

.aoc-address-box {
  background: var(--champagne-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--espresso);
  border: 1px solid rgba(184, 146, 79, 0.12);
}

.aoc-city-line {
  font-weight: 600;
  color: var(--gold-deep);
  margin-top: 3px;
}

.aoc-notes {
  margin-top: 10px;
  font-size: 0.82rem;
  background: rgba(255, 248, 220, 0.6);
  border-left: 3px solid var(--gold);
  padding: 6px 10px;
  color: var(--espresso);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Col 2: Items */
.aoc-items-col {
  border-right: 1px solid var(--line-light);
  padding-right: 20px;
}

.aoc-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aoc-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: var(--champagne-light);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(184, 146, 79, 0.1);
}

.aoc-item-info {
  display: flex;
  flex-direction: column;
}

.aoc-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--espresso);
}

.aoc-item-qty {
  font-size: 0.78rem;
  color: var(--mute);
  margin-top: 2px;
}

.aoc-item-total {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--espresso);
}

/* Col 3: Financials & Quick Action */
.aoc-summary-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aoc-grand-total {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1.1;
  margin-bottom: 4px;
}

.aoc-shipping-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e7e34;
  margin-bottom: 18px;
}

.aoc-actions-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-wa-chat {
  background: #25d366;
  color: #fff;
  border: 1px solid #20b858;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.22);
  transition: all 0.22s ease;
}

.btn-wa-chat:hover {
  background: #1eb857;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
}

.btn-print-order {
  background: #fff;
  color: var(--espresso);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-print-order:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

/* Empty State */
.admin-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--paper-card);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}

.admin-empty-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  opacity: 0.7;
}

.admin-empty-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--espresso);
  margin-bottom: 6px;
}

.admin-empty-sub {
  font-size: 0.92rem;
  color: var(--mute);
  max-width: 440px;
  margin: 0 auto 18px;
}

/* Responsive Overrides */
@media (max-width: 960px) {
  .aoc-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .aoc-customer-col, .aoc-items-col {
    border-right: none;
    border-bottom: 1px solid var(--line-light);
    padding-right: 0;
    padding-bottom: 18px;
  }
  .admin-header-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-controls-card {
    padding: 14px 16px;
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .admin-search-box {
    width: 100%;
    min-width: 0;
  }
  .admin-filters {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
}

/* ==========================================================================
   Amazon-Style Animated Shipment Tracker & Delivery Van
   ========================================================================== */

.shipment-tracker-card {
  background: var(--paper-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
  overflow: visible;
}

.st-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 40px;
}

.st-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.st-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--espresso);
  line-height: 1.15;
  margin-bottom: 6px;
}

.st-sub {
  font-size: 0.88rem;
  color: var(--mute);
}

.st-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.st-status-badge {
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.st-status-badge.status-confirmed {
  background: rgba(39, 174, 96, 0.12);
  color: #1e7e34;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.st-status-badge.status-shipped {
  background: rgba(41, 128, 185, 0.12);
  color: #2980b9;
  border: 1px solid rgba(41, 128, 185, 0.3);
}

.st-status-badge.status-delivered {
  background: rgba(184, 146, 79, 0.15);
  color: var(--gold-deep);
  border: 1px solid rgba(184, 146, 79, 0.35);
}

.st-status-badge.status-cancelled {
  background: rgba(192, 57, 43, 0.12);
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.3);
}

.st-eta {
  font-size: 0.84rem;
  color: var(--mute);
}

/* Highway Road Track */
.st-road-container {
  position: relative;
  margin: 45px 12px 30px;
  height: 24px;
}

.st-highway {
  position: relative;
  width: 100%;
  height: 18px;
  background: #2a2016;
  border: 1.5px solid rgba(184, 146, 79, 0.35);
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(42, 31, 20, 0.08);
}

.st-lane-dashes {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  background-image: linear-gradient(90deg, rgba(244, 227, 195, 0.7) 0%, rgba(244, 227, 195, 0.7) 50%, transparent 50%, transparent 100%);
  background-size: 24px 2px;
}

.road-active .st-lane-dashes {
  animation: roadScroll 0.75s linear infinite;
}

@keyframes roadScroll {
  0% { background-position: 0 0; }
  100% { background-position: -24px 0; }
}

.st-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1e7e34, #27ae60);
  border-radius: 9999px;
  transform: scaleX(var(--road-progress, 0));
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 12px rgba(39, 174, 96, 0.5);
  will-change: transform;
}

.road-cancelled .st-progress-fill {
  background: #c0392b !important;
  box-shadow: 0 0 12px rgba(192, 57, 43, 0.5);
}

/* The Animated Delivery Van */
.st-van-anchor {
  position: absolute;
  top: -34px;
  left: 0;
  transform: translate3d(var(--van-pos, 0), 0, 0) translateX(-50%);
  transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  pointer-events: none;
  will-change: transform;
}

.van-wrapper {
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 6px 12px rgba(42, 31, 20, 0.35));
}

.van-bubble {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-deep);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  animation: bubbleFloat 2s ease-in-out infinite alternate;
}

.van-bubble::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--gold-deep);
}

@keyframes bubbleFloat {
  0% { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(-2px); }
}

.van-moving {
  animation: vanCruising 0.28s ease-in-out infinite alternate;
}

@keyframes vanCruising {
  0% { transform: translateY(0); }
  100% { transform: translateY(-1.5px); }
}

.van-moving .front-wheel, .van-moving .rear-wheel {
  transform-origin: center;
  animation: wheelRotation 0.35s linear infinite;
}

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

.van-exhaust {
  animation: exhaustPulse 0.4s ease-out infinite alternate;
}
.van-exhaust.ex-2 { animation-delay: 0.15s; }
.van-exhaust.ex-3 { animation-delay: 0.3s; }

@keyframes exhaustPulse {
  0% { opacity: 0.3; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(-3px); }
}

/* Amazon Milestones Grid */
.st-milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-light);
}

.st-milestone {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 10px;
}

.st-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--mute);
  transition: all 0.3s ease;
}

.step-completed .st-node {
  background: #27ae60;
  color: #fff;
  border-color: #27ae60;
  box-shadow: 0 0 12px rgba(39, 174, 96, 0.45);
}

.step-current .st-node {
  background: var(--gold-deep);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(184, 146, 79, 0.45);
  animation: pulseNode 1.6s infinite;
}

@keyframes pulseNode {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.step-cancelled .st-node {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.st-milestone-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 3px;
}

.st-milestone-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.st-milestone-desc {
  font-size: 0.8rem;
  color: var(--mute);
  line-height: 1.4;
}

/* Dossier Grid Below Tracker */
.st-dossier-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.1fr;
  gap: 28px;
  padding-top: 26px;
}

.st-dossier-col {
  display: flex;
  flex-direction: column;
}

.st-col-heading {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-light);
}

.st-client-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 6px;
}

.st-client-detail {
  font-size: 0.86rem;
  color: var(--mute);
  margin-bottom: 4px;
}

.st-client-address {
  background: var(--champagne-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--espresso);
  border: 1px solid rgba(184, 146, 79, 0.15);
}

.st-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.st-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--champagne-light);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  border: 1px solid rgba(184, 146, 79, 0.12);
}

.st-item-sub {
  font-size: 0.76rem;
  color: var(--mute);
}

.st-item-price {
  font-weight: 700;
  color: var(--espresso);
}

.st-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--line-light);
  font-size: 0.92rem;
  font-weight: 600;
}

.st-total-amount {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.st-actions-note {
  font-size: 0.84rem;
  color: var(--mute);
  line-height: 1.45;
  margin-bottom: 14px;
}

.btn-print-tax-invoice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
}

.btn-track-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  color: #1e7e34 !important;
  border-color: rgba(39, 174, 96, 0.4) !important;
  background: rgba(39, 174, 96, 0.08) !important;
}

.btn-track-wa:hover {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
}

/* Package pop-out on Delivery */
.van-delivered-package {
  position: absolute;
  top: -14px;
  right: -8px;
  z-index: 15;
  animation: parcelPopOut 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes parcelPopOut {
  0% { transform: scale(0) rotate(-25deg); opacity: 0; }
  60% { transform: scale(1.3) translateY(-10px) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) translateY(0) rotate(0deg); opacity: 1; }
}

.mini-parcel {
  font-size: 1.25rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Cancelled Van State: Greyed Out and U-turn rotation */
.van-cancelled {
  opacity: 0.65;
  filter: grayscale(100%) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transform: scaleX(-1);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.van-anchor-cancelled {
  transition: transform 0.8s ease-in-out;
}

/* Confetti Burst Celebration for Delivered State */
.cg-confetti-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 25;
}

.cg-confetti-piece {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 2px;
  opacity: 1;
  animation: confettiExplode 2s cubic-bezier(0.12, 0.8, 0.32, 1) forwards;
}

@keyframes confettiExplode {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(0);
    opacity: 1;
  }
  60% {
    transform: translate(var(--x), var(--y)) rotate(var(--rot)) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(calc(var(--x) * 1.2), calc(var(--y) + 40px)) rotate(calc(var(--rot) * 1.5)) scale(0.6);
    opacity: 0;
  }
}

/* Cancelled Order Banner */
.st-cancelled-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08);
}

.st-cancelled-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.st-cancelled-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 4px;
}

.st-cancelled-content p {
  font-size: 0.88rem;
  color: #7f1d1d;
  margin: 2px 0;
}

/* Live Pulse Dot in Top Bar */
.st-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.st-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: liveBlink 1.5s infinite ease-in-out;
}

/* Hidden / Admin Debug Stepper */
.st-debug-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(184, 146, 79, 0.08);
  border: 1px dashed rgba(184, 146, 79, 0.4);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-top: 24px;
  font-size: 0.82rem;
}

.st-debug-label {
  font-weight: 700;
  color: var(--espresso);
}

.st-debug-btn-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.st-debug-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--espresso);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.st-debug-btn:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.st-debug-btn.active {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold-deep);
}

/* Courier Tracking Button */
.st-courier-btn {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.st-courier-btn:hover {
  color: var(--espresso);
}

/* Mini Horizontal Tracker for Admin Rows */
.mini-tracker-wrap {
  position: relative;
  width: 140px;
  height: 16px;
  display: flex;
  align-items: center;
}

.mini-highway {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(42, 31, 20, 0.15);
  border-radius: 9999px;
  overflow: hidden;
}

.mini-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #b8924f, #22c55e);
  transform: scaleX(var(--mini-progress, 0));
  transform-origin: left;
  transition: transform 0.6s ease;
  will-change: transform;
}

.mini-tracker-wrap.is-cancelled .mini-progress-fill {
  background: #dc2626 !important;
}

.mini-stop {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e9dcc3;
  border: 1px solid #b8924f;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.mini-stop.stop-1 { left: 15%; }
.mini-stop.stop-2 { left: 50%; }
.mini-stop.stop-3 { left: 90%; }
.mini-stop.active {
  background: #22c55e;
  border-color: #15803d;
}

.mini-van-anchor {
  position: absolute;
  top: -8px;
  left: 0;
  transform: translate3d(var(--mini-van-x, 0), 0, 0) translateX(-50%);
  z-index: 5;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.mini-van-icon {
  font-size: 0.85rem;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Responsive Mobile Vertical Orientation */
@media (max-width: 768px) {
  .shipment-tracker-card {
    padding: 24px 18px;
  }
  .st-top-bar {
    margin-bottom: 24px;
  }
  .st-road-container {
    height: 180px;
    width: 22px;
    margin: 20px auto 28px;
  }
  .st-highway {
    width: 14px;
    height: 100%;
  }
  .st-lane-dashes {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    background-image: linear-gradient(180deg, rgba(244, 227, 195, 0.7) 0%, rgba(244, 227, 195, 0.7) 50%, transparent 50%, transparent 100%);
    background-size: 2px 24px;
  }
  .road-active .st-lane-dashes {
    animation: roadScrollVertical 0.75s linear infinite;
  }
  @keyframes roadScrollVertical {
    0% { background-position: 0 0; }
    100% { background-position: 0 24px; }
  }
  .st-progress-fill {
    width: 100% !important;
    height: 100%;
    transform: scaleY(var(--road-progress-y, 0));
    transform-origin: top;
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .st-van-anchor {
    left: 50% !important;
    top: 0;
    transform: translate(-50%, -50%) translate3d(0, var(--van-pos-y, 0), 0) rotate(90deg);
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .st-van-anchor .van-bubble {
    transform: translateX(-50%) rotate(-90deg);
  }
  .st-milestones {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .st-milestone {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
  .st-node {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Amazon-Style Official Tax Invoice & Cash Memo (Publication & Print Quality)
   ========================================================================== */

#cg-print-invoice {
  display: none;
}

.amazon-invoice-wrap {
  background: #ffffff !important;
  color: #111111 !important;
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 30px;
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  line-height: 1.4;
  font-size: 13px;
}

.ai-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #111111;
  margin-bottom: 14px;
}

.ai-logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #8a6434;
  line-height: 1;
  margin-bottom: 4px;
}

.ai-tagline {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 8px;
}

.ai-company-address {
  font-size: 11px;
  color: #444444;
  line-height: 1.45;
}

.ai-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.ai-invoice-title {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  letter-spacing: 0.5px;
}

.ai-invoice-sub {
  font-size: 11px;
  color: #666666;
  margin-bottom: 8px;
}

.ai-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fdfdfd;
  padding: 6px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.ai-qr-box svg {
  width: 90px;
  height: 90px;
  display: block;
}

.ai-qr-hint {
  font-size: 9px;
  color: #666666;
  margin-top: 3px;
  font-weight: 600;
}

/* Meta Grid */
.ai-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.ai-meta-item {
  display: flex;
  flex-direction: column;
}

.ai-meta-lbl {
  font-size: 10px;
  color: #666666;
  text-transform: uppercase;
  font-weight: 700;
}

.ai-meta-val {
  font-size: 12px;
  font-weight: 700;
  color: #111111;
}

/* Addresses */
.ai-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.ai-addr-col {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 12px 14px;
}

.ai-addr-title {
  font-size: 11px;
  font-weight: 700;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #eeeeee;
}

.ai-addr-body {
  font-size: 11.5px;
  line-height: 1.45;
  color: #222222;
}

/* Items Table */
.ai-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.ai-items-table th {
  background: #f2f2f2;
  border: 1px solid #cccccc;
  padding: 8px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  font-weight: 700;
  color: #222222;
}

.ai-items-table td {
  border: 1px solid #e5e5e5;
  padding: 9px 10px;
  font-size: 12px;
  vertical-align: middle;
}

.ai-prod-name {
  font-weight: 700;
  color: #111111;
}

.ai-prod-sub {
  font-size: 10px;
  color: #666666;
}

.ai-prod-sku {
  font-family: monospace;
  font-size: 11px;
  color: #444444;
}

/* Bottom Calculations */
.ai-bottom-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.ai-words-box {
  background: #fbfbfb;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.ai-words-lbl {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: #666666;
}

.ai-words-val {
  font-size: 12px;
  font-weight: 700;
  color: #111111;
  margin-top: 2px;
}

.ai-terms-box {
  font-size: 11px;
  line-height: 1.5;
  color: #444444;
}

.ai-bottom-right {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 10px 14px;
}

.ai-calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  padding: 3px 0;
  color: #333333;
}

.ai-total-row {
  border-top: 2px solid #111111;
  margin-top: 6px;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #111111;
}

/* Signatory & Footer */
.ai-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid #dddddd;
}

.ai-footer-note {
  font-size: 10px;
  color: #777777;
  max-width: 520px;
  line-height: 1.4;
}

.ai-sign-block {
  text-align: right;
}

.ai-sign-seal {
  display: inline-block;
  border: 1.5px solid #27ae60;
  color: #27ae60;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.ai-sign-line {
  font-size: 11px;
  font-weight: 700;
  color: #222222;
}

.ai-sign-sub {
  font-size: 10px;
  color: #666666;
}

/* ==========================================================================
   Creamish Glow — Amazon / Flipkart Style Order Results & Tracking Styles
   Strictly Read-Only Customer Tracker • Animated Creamish Express Delivery Van
   Cards: 28px radius, Soft Luxury Shadow, Gold Accents, Ivory/Espresso Palette
   ========================================================================== */

.amz-tracker-results {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Top Back Navigation */
.amz-top-nav {
  display: flex;
  justify-content: flex-start;
  margin-bottom: -6px;
}

.amz-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(184, 146, 79, 0.35);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(42, 31, 20, 0.04);
}

.amz-back-btn:hover {
  background: #ffffff;
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateX(-3px);
  box-shadow: 0 4px 14px rgba(184, 146, 79, 0.2);
}

/* Base Amazon / Flipkart Luxury White Card */
.amz-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(184, 146, 79, 0.22);
  padding: 28px 32px;
  box-shadow: 0 16px 40px -10px rgba(42, 31, 20, 0.06), 0 1px 3px rgba(184, 146, 79, 0.08);
  position: relative;
  overflow: hidden;
  animation: amzCardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Staggered Entrance Animations (60ms stagger) */
.amz-summary-card { animation-delay: 0ms; }
.amz-tracker-card { animation-delay: 60ms; }
.amz-timeline-card { animation-delay: 120ms; }
.amz-items-card { animation-delay: 180ms; }
.amz-address-card { animation-delay: 240ms; }
.amz-help-card { animation-delay: 300ms; }

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

/* 1. Top Summary Card */
.amz-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
  border-left: 5px solid var(--gold);
}

.amz-summary-left {
  flex: 1;
  min-width: 280px;
}

.amz-eta-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--espresso);
  margin: 0 0 8px 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.amz-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--mute);
}

.amz-order-id-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: var(--espresso);
  background: rgba(184, 146, 79, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(184, 146, 79, 0.25);
}

.amz-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(184, 146, 79, 0.3);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-deep);
  cursor: pointer;
  transition: all 0.2s ease;
}

.amz-copy-btn:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.amz-bullet {
  color: rgba(184, 146, 79, 0.5);
  font-weight: bold;
}

/* Status Pills (Flipkart / Amazon Colors) */
.amz-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.amz-status-pill.pill-shipped {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1.5px solid #ddd6fe;
}

.amz-status-pill.pill-delivered {
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #86efac;
}

.amz-status-pill.pill-confirmed {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1.5px solid #93c5fd;
}

.amz-status-pill.pill-cancelled {
  background: #fef2f2;
  color: #b91c1c;
  border: 1.5px solid #fca5a5;
}

/* 2. Tracking History & Connected Transit Line (Image 3 Reference) */
.amz-timeline-card {
  padding: 32px 36px 36px;
}

.amz-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(184, 146, 79, 0.15);
}

.amz-card-header-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(184, 146, 79, 0.12);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amz-card-header h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--espresso);
  margin: 0;
  letter-spacing: -0.01em;
}

/* Vertical Connected Transit Milestone List */
.amz-timeline-list {
  display: flex;
  flex-direction: column;
  padding: 4px 0 0 6px;
  position: relative;
}

.amz-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  padding-bottom: 30px;
}

.amz-timeline-item:last-child {
  padding-bottom: 0;
}

.amz-timeline-marker-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  width: 40px;
  align-self: stretch;
}

.amz-timeline-marker {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #dcd1be;
  color: #8c7b6c;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(42, 31, 20, 0.05);
  transition: all 0.35s ease;
}

/* Connecting Stem Between Milestones */
.amz-timeline-stem {
  position: absolute;
  top: 38px;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  background: #e9e3d8;
  border-radius: 999px;
  z-index: 1;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

.amz-timeline-item:last-child .amz-timeline-stem {
  display: none !important;
}

/* Dynamic Line Coloring (Based on Admin Status Update) */
.amz-timeline-stem.is-colored {
  background: linear-gradient(180deg, #d4af37, #b8924f);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

/* User requirement: "when order is shipped the line should be after shipped" */
.amz-timeline-stem.is-in-transit {
  background: linear-gradient(180deg, #b8924f 0%, #d4af37 50%, #e8d7b5 100%);
  background-size: 100% 200%;
  box-shadow: 0 0 10px rgba(184, 146, 79, 0.45);
  animation: amzTransitTravel 2.4s ease-in-out infinite;
  position: absolute;
}

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

.amz-timeline-stem.is-delivered {
  background: linear-gradient(180deg, #b8924f, #16a34a);
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.35);
}

.amz-timeline-stem.is-cancelled {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.35);
}

/* Milestone Marker States */
/* Completed Marker (Gold Gradient) */
.amz-timeline-item.is-completed .amz-timeline-marker {
  background: linear-gradient(135deg, #d4af37, #b8924f);
  border-color: #b8924f;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(184, 146, 79, 0.35);
}

/* Delivered Milestone (Celebratory Green Gradient) */
.amz-timeline-item.step-delivered.is-completed .amz-timeline-marker {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.38);
}

/* Current Active Milestone (Pulsing Glow Ring) */
.amz-timeline-item.is-current:not(.step-cancelled) .amz-timeline-marker {
  background: #fdfbf7;
  border-color: #b8924f;
  color: #b8924f;
  box-shadow: 0 0 0 4px rgba(184, 146, 79, 0.22);
  animation: amzMarkerPulse 2s infinite ease-in-out;
}

@keyframes amzMarkerPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 146, 79, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(184, 146, 79, 0.38); }
}

/* Cancelled Milestone (Red) */
.amz-timeline-item.step-cancelled .amz-timeline-marker {
  background: #fef2f2;
  border-color: #ef4444;
  color: #ef4444;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.25);
}

/* Upcoming Milestone */
.amz-timeline-item.is-upcoming .amz-timeline-marker {
  background: #faf8f5;
  border-color: #e2dcd2;
  color: #b5a898;
}

.amz-timeline-item.is-upcoming .amz-timeline-content {
  opacity: 0.65;
}

/* Milestone Content */
.amz-timeline-content {
  flex: 1;
  min-width: 0;
  padding-top: 5px;
}

.amz-timeline-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 4px;
  line-height: 1.35;
}

.amz-timeline-title strong {
  font-weight: 700;
  color: var(--espresso);
  font-family: var(--font-sans);
}

.amz-timeline-date {
  font-size: 0.84rem;
  color: var(--mute);
  margin-bottom: 4px;
}

.amz-timeline-note {
  font-size: 0.9rem;
  color: var(--mute-light);
  line-height: 1.5;
}

.amz-timeline-courier {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--espresso);
}

.amz-awb-code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  background: #f4ede0;
  border: 1px solid rgba(184, 146, 79, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--espresso);
}

.amz-courier-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: underline;
  margin-top: 4px;
}

.amz-courier-link:hover {
  color: var(--espresso);
}

/* Mini Tracker for Admin Order Card Rows */
.mini-tracker-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 90px;
  height: 18px;
  margin: 0 8px;
}

.mini-highway {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: #e9e3d8;
  border-radius: 999px;
  overflow: hidden;
}

.mini-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #b8924f);
  border-radius: 999px;
  transform: scaleX(var(--mini-progress, 0));
  transform-origin: left;
  transition: transform 0.3s ease;
  will-change: transform;
}

.mini-progress-fill.fill-delivered {
  background: #16a34a;
}

.mini-progress-fill.fill-cancelled {
  background: #ef4444;
}

.mini-stop {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #dcd1be;
  z-index: 2;
  transition: all 0.3s ease;
}

.mini-stop.stop-1 { left: 0%; transform: translateY(-50%); }
.mini-stop.stop-2 { left: 50%; }
.mini-stop.stop-3 { left: 100%; transform: translate(-100%, -50%); }

.mini-stop.active {
  background: #b8924f;
  border-color: #b8924f;
}

.mini-stop.cancelled {
  background: #ef4444;
  border-color: #ef4444;
}

/* Cancelled Banner */
.amz-cancelled-banner {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #991b1b;
}

.amz-cancelled-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.amz-cancelled-text h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  color: #991b1b;
}

.amz-cancelled-text p {
  margin: 0;
  font-size: 0.88rem;
  color: #7f1d1d;
}

/* 4 & 5. Split Grid: Items & Address */
.amz-grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Items Card */
.amz-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.amz-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(184, 146, 79, 0.15);
}

.amz-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.amz-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #faf6ef;
  flex-shrink: 0;
}

.amz-item-details {
  flex: 1;
  min-width: 0;
}

.amz-item-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--espresso);
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.amz-item-qty {
  font-size: 0.82rem;
  color: var(--mute);
}

.amz-item-subtotal {
  font-weight: 700;
  color: var(--espresso);
  font-size: 1rem;
}

.amz-totals-box {
  background: #fdfbf7;
  border-radius: 16px;
  border: 1px solid rgba(184, 146, 79, 0.2);
  padding: 16px 18px;
  margin-top: 14px;
}

.amz-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--mute);
  padding: 4px 0;
}

.amz-grand-total-row {
  border-top: 1px dashed rgba(184, 146, 79, 0.3);
  margin-top: 8px;
  padding-top: 10px;
  font-size: 1.08rem;
  color: var(--espresso);
}

.amz-free-tag {
  color: #15803d;
  font-weight: 600;
}

.amz-total-val {
  color: var(--gold-deep);
  font-weight: 800;
}

.amz-payment-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--mute-light);
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(184, 146, 79, 0.12);
}

/* Shipping Address Card */
.amz-address-body {
  line-height: 1.6;
}

.amz-client-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 6px;
}

.amz-address-lines {
  font-size: 0.92rem;
  color: var(--mute);
  margin-bottom: 14px;
}

.amz-masked-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(184, 146, 79, 0.15);
}

.amz-masked-item {
  display: flex;
  gap: 8px;
  font-size: 0.86rem;
}

.amz-meta-lbl {
  color: var(--mute-light);
  width: 58px;
}

.amz-meta-val {
  color: var(--espresso);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 600;
}

/* 6. Help & Support Card */
.amz-help-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf6ef 100%);
  border: 1px solid rgba(184, 146, 79, 0.28);
}

.amz-help-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.amz-help-desc {
  font-size: 0.92rem;
  color: var(--mute);
  margin: 0;
  max-width: 540px;
  line-height: 1.5;
}

.amz-cancel-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
}

.amz-help-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.amz-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
}

.amz-btn-cancel-req {
  font-size: 0.88rem;
  padding: 10px 18px;
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.3);
}

.amz-btn-cancel-req:hover {
  background: #fef2f2;
  border-color: #b91c1c;
}

/* Cancellation Request Modal */
.amz-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.amz-modal-backdrop[hidden] {
  display: none !important;
}

.amz-modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(184, 146, 79, 0.3);
  animation: amzModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes amzModalPop {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.amz-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.amz-modal-head h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  margin: 0;
  color: var(--espresso);
}

.amz-modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--mute);
  cursor: pointer;
  padding: 0 4px;
}

.amz-modal-close:hover {
  color: var(--espresso);
}

.amz-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* Confetti Burst Celebration */
.cg-confetti-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  z-index: 100;
}

.cg-confetti-piece {
  position: absolute;
  border-radius: 2px;
  animation: cgConfettiFly 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes cgConfettiFly {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) rotate(var(--rot));
  }
}

/* Orders Page Hero Lookup & PC-Only Concierge Card */
.orders-lookup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
  margin: 36px 0 44px 0;
}

.tracking-station-card {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(45, 33, 24, 0.06);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

/* User requirement: "why both are joined seperate i need make it fully professional" */
.orders-help-card-pc {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fcfbf8;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(45, 33, 24, 0.05);
}

/* Mobile & Tablet (<= 991px): HIDE the concierge card completely, center search card cleanly */
@media (max-width: 991px) {
  .orders-help-card-pc {
    display: none !important;
  }

  .orders-lookup-grid {
    display: block !important;
    max-width: 580px;
    margin: 24px auto 36px auto;
  }

  .tracking-station-card {
    width: 100%;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Responsive Adaptations & Border-Safety for ALL Devices
   ========================================================================== */

/* Tablet & Below (<= 768px) */
@media (max-width: 768px) {
  /* Prevent any card from overflowing or touching screen borders */
  .card,
  .feature-card,
  .amz-card,
  .tracking-station-card {
    padding: 22px 20px;
    border-radius: 20px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .amz-summary-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .amz-summary-left {
    min-width: 0 !important;
    width: 100%;
  }

  .amz-eta-headline {
    font-size: 1.65rem;
  }

  .amz-grid-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Timeline Card Mobile Optimizations */
  .amz-timeline-card {
    padding: 22px 20px;
  }

  .amz-timeline-item {
    gap: 14px;
    padding-bottom: 24px;
  }

  .amz-timeline-marker-col {
    width: 34px;
  }

  .amz-timeline-marker {
    width: 34px;
    height: 34px;
  }

  .amz-timeline-stem {
    top: 34px;
  }

  .amz-timeline-title {
    font-size: 0.98rem;
  }

  .amz-timeline-note {
    font-size: 0.86rem;
  }
}

/* Small Mobile Screens (375px, 360px, 320px) */
@media (max-width: 480px) {
  .amz-tracker-results {
    gap: 18px;
  }

  /* Generous inner breathing room + zero chance of touching screen edge */
  .card,
  .feature-card,
  .amz-card,
  .tracking-station-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .amz-summary-card {
    padding: 18px 16px;
  }

  .amz-timeline-card {
    padding: 18px 16px;
  }

  .amz-card-header {
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .amz-card-header h3 {
    font-size: 1.35rem;
  }

  .amz-eta-headline {
    font-size: 1.45rem;
  }

  .amz-meta-line {
    font-size: 0.8rem;
    gap: 6px;
  }

  .amz-help-actions {
    width: 100%;
  }

  .amz-btn-wa, .amz-btn-cancel-req {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.82rem;
  }
}

/* Print Only Stylesheet */
@media print {
  @page {
    size: A4 portrait;
    margin: 0 !important; /* Eliminates browser default headers (title & URL) and footers (page numbering) */
  }
  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body * {
    visibility: hidden !important;
  }
  #cg-print-invoice, #cg-print-invoice * {
    visibility: visible !important;
  }
  #cg-print-invoice {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    display: block !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 10mm 12mm !important;
    box-sizing: border-box !important;
  }
  .amazon-invoice-wrap {
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    max-width: 100% !important;
    padding: 16px 20px !important;
    margin: 0 auto !important;
  }
}

/* Reduced Motion Accessibility Fallback */
@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;
    will-change: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .gold-light-border::after,
  .ritual-step-card::after,
  .ritual-media-col::after,
  .product-card::after,
  .feature-card::after,
  .contact-card::after,
  .info-card::after,
  .tracking-station-card::after,
  .product-shot-wrap::after {
    animation: none !important;
    opacity: 0.4 !important;
  }
  .marquee-track {
    animation: none !important;
  }
}
