/* VAAMA GEMS - Luxury Design System */

/* ============================================
   DESIGN TOKENS
   ============================================ */

/* Colors - Quiet Luxury Palette */
:root {
  /* Brand - Moody Luxury (Default fallback) */
  --color-brand: #C8A46A;
  --color-brand-dark: #A98750;
  --color-brand-light: rgba(200, 164, 106, 0.3);
  --color-brand-border: rgba(255, 255, 255, 0.08);

  /* Neutrals - Deep Charcoals and Blacks */
  --color-ivory: #0f0f0f;
  --color-paper: #050505;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-muted: #a0a0a0;
  --color-ink: #ffffff;
  --color-ink-muted: #a0a0a0;

  /* Theme-specific sections */
  --color-header-bg: rgba(5, 5, 5, 0.97);
  --color-footer-bg: #000000;
  --color-footer-text: #ffffff;
  /* Accents */
  --color-gold: #C8A46A;
  --color-gold-muted: #D8C3A5;
  --color-silver: #BFC3C7;

  /* Status */
  --color-success: #4A6741;
  --color-error: #8B2E2E;

  /* Typography */
  --font-serif: 'Cormorant Garamond',
    'Playfair Display',
    Georgia,
    serif;
  --font-sans: 'Inter',
    'Manrope',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 64px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;

  /* Shadows - subtle, minimal */
  --shadow-soft: 0 8px 24px rgba(61, 17, 99, 0.08);
  --shadow-hover: 0 12px 32px rgba(61, 17, 99, 0.12);
  --shadow-glow: 0 20px 40px rgba(61, 17, 99, 0.15);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 700ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1440px;
  --header-height: 80px;
}

/* ============================================
   DYNAMIC THEMES
   ============================================ */

body[data-theme="royal-heritage"] {
  --color-paper: #2A0E18;
  --color-ivory: #1A080F;
  --color-brand: #D4AF37;
  --color-brand-dark: #B5952F;
  --color-brand-light: rgba(212, 175, 55, 0.3);
  --color-ink: #F5F5DC;
  --color-muted: #D8D8CC;
  --color-ink-muted: #D8D8CC;
  --color-header-bg: rgba(42, 14, 24, 0.97);
  --color-footer-bg: #1A080F;
  --color-footer-text: #F5F5DC;
}

body[data-theme="modern-boutique"] {
  --color-paper: #0A1128;
  --color-ivory: #060A18;
  --color-brand: #C0C0C0;
  --color-brand-dark: #A0A0A0;
  --color-brand-light: rgba(192, 192, 192, 0.3);
  --color-ink: #E0E5EC;
  --color-muted: #AAB2C0;
  --color-ink-muted: #AAB2C0;
  --color-header-bg: rgba(10, 17, 40, 0.97);
  --color-footer-bg: #060A18;
  --color-footer-text: #E0E5EC;
}

body[data-theme="organic-luxury"] {
  --color-paper: #2C3A29;
  --color-ivory: #1D261A;
  --color-brand: #B87333;
  --color-brand-dark: #965D29;
  --color-brand-light: rgba(184, 115, 51, 0.3);
  --color-ink: #E8DCC4;
  --color-muted: #C5BCA8;
  --color-ink-muted: #C5BCA8;
  --color-header-bg: rgba(44, 58, 41, 0.97);
  --color-footer-bg: #1D261A;
  --color-footer-text: #E8DCC4;
}

body[data-theme="moody-luxury"] {
  --color-paper: #050505;
  --color-ivory: #0f0f0f;
  --color-brand: #C8A46A;
  --color-brand-dark: #A98750;
  --color-brand-light: rgba(200, 164, 106, 0.3);
  --color-ink: #ffffff;
  --color-muted: #a0a0a0;
  --color-ink-muted: #a0a0a0;
  --color-header-bg: rgba(5, 5, 5, 0.97);
  --color-footer-bg: #000000;
  --color-footer-text: #ffffff;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.anim-fade-up {
  animation: fadeUp var(--transition-slow) forwards;
}

.anim-delay-1 {
  animation-delay: 150ms;
}

.anim-delay-2 {
  animation-delay: 300ms;
}

.anim-delay-3 {
  animation-delay: 450ms;
}


/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #ffffff;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-family: var(--font-sans);
  font-weight: 600;
}

p {
  color: var(--color-ink);
  opacity: 0.9;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: var(--space-lg);
  color: var(--color-gold-muted);
}

.breadcrumb a {
  color: var(--color-gold);
}

.breadcrumb span {
  opacity: 0.6;
}

/* Hero Overlay to ensure text readability */
.hero-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-3xl) 0;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: none;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

.header.scrolled {
  background: var(--color-header-bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- NEW ANIMATED LOGO SYSTEM --- */
.vaama-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 32px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
  text-decoration: none;
  overflow: visible;
  height: 60px;
}

.vaama-logo-link:hover,
.vaama-logo-link.logo-hovered {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(200, 164, 106, 0.3);
  box-shadow: 0 8px 32px rgba(61, 17, 99, 0.15);
  transform: translateY(-1px);
}

/* Ornaments */
.logo-ornament {
  position: absolute;
  display: flex;
  align-items: center;
  color: var(--color-gold);
  transition: all var(--transition-normal);
  z-index: 5;
}

.logo-ornament-left {
  left: 12px;
}

.logo-ornament-right {
  right: 12px;
}

.logo-hovered .logo-ornament-left {
  transform: translateX(-6px) scale(1.1);
}

.logo-hovered .logo-ornament-right {
  transform: translateX(6px) scale(1.1);
}

.logo-ornament-svg {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-hovered .logo-ornament-left .logo-ornament-svg {
  transform: rotate(-180deg);
}

.logo-hovered .logo-ornament-right .logo-ornament-svg {
  transform: rotate(180deg);
}

/* Mandala */
.logo-mandala-wrap {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  pointer-events: none;
  z-index: 1;
}

.logo-mandala-svg {
  width: 100%;
  height: 100%;
  color: rgba(200, 164, 106, 0.25);
  transition: transform 12s linear;
}

.logo-hovered .logo-mandala-svg {
  animation: spinMandala 15s linear infinite;
  color: rgba(200, 164, 106, 0.4);
}

@keyframes spinMandala {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Wordmark */
.logo-wordmark {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #FFFFFF;
  line-height: 0.9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-normal);
  letter-spacing: -0.02em;
}

.logo-hovered .logo-name {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.logo-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
  opacity: 0.6;
  transition: all var(--transition-normal);
}

.logo-hovered .logo-divider {
  opacity: 1;
  width: 110%;
}

.logo-divider-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to var(--dir, right), transparent, var(--color-gold));
}

.logo-divider-line-left {
  --dir: right;
}

.logo-divider-line-right {
  --dir: left;
}

.logo-divider-diamond {
  color: var(--color-gold);
  transition: transform 0.6s ease;
}

.logo-hovered .logo-divider-diamond {
  transform: rotate(180deg) scale(1.2);
}

.logo-sub {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #D8C3A5;
  margin-top: 3px;
  font-weight: 400;
  transition: all var(--transition-normal);
}

.logo-hovered .logo-sub {
  letter-spacing: 0.45em;
  color: #FFFFFF;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

/* --- MEGA MENU STYLES --- */
.has-mega-menu {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 800px;
  background: var(--color-header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 100;
  cursor: default;
}

.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-menu-content {
  display: flex;
  gap: 2rem;
}

.mm-columns {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.mm-col {
  min-width: 140px;
}

.mm-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-top: 0;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(200, 164, 106, 0.2);
  padding-bottom: 0.5rem;
}

.mm-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mm-col ul li a {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: none;
  letter-spacing: 0;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
  white-space: nowrap;
  opacity: 1;
}

.nav .mm-col ul li a::after {
  content: none;
}

.mm-col ul li a:hover {
  color: #fff;
  transform: translateX(4px);
  opacity: 1;
}

.mm-image-col {
  width: 280px;
  flex-shrink: 0;
}

.mm-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 250px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-brand-dark);
}

#mm-hero-image {
  transition: opacity 0.4s ease;
}

.mega-menu.collection-menu {
  width: min(520px, calc(100vw - 2rem));
  padding: 0;
  overflow: hidden;
}

.collection-menu-inner {
  padding: 1.25rem;
}

.collection-menu-inner > p {
  margin: 0 0 0.8rem;
  color: var(--color-gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-menu-inner ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.collection-menu-inner li a,
.collection-menu-all {
  display: block;
  padding: 0.78rem 0.85rem;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

#heroVideo {
  transition: opacity 180ms ease;
}

#heroVideo.is-quality-switching {
  opacity: 0.86;
}

.collection-menu-inner li a:hover,
.collection-menu-all:hover {
  background: rgba(200, 164, 106, 0.09);
  color: #fff;
}

.collection-menu-all {
  margin-top: 0.65rem;
  border-top: 1px solid rgba(200, 164, 106, 0.18);
  border-radius: 0;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav .collection-menu-inner a::after {
  content: none;
}

.nav>a,
.nav>.has-mega-menu>a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #EFEDED;
  opacity: 0.8;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #EFEDED;
  transition: width var(--transition-normal);
}

.nav a:hover {
  opacity: 1;
  color: #FFFFFF;
}

.admin-link {
  font-size: 1.1rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.admin-link:hover {
  opacity: 1;
}

.nav a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-actions a {
  font-size: 0.85rem;
  color: #EFEDED;
  opacity: 0.7;
}

.nav-actions a:hover {
  opacity: 1;
  color: #FFFFFF;
}

.admin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
  margin-left: var(--space-md);
}

.admin-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(30deg);
}

/* ============================================
   CUSTOM LANGUAGE SWITCHER
   ============================================ */

.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #EFEDED;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 20px;
  transition: all var(--transition-fast);
  opacity: 0.8;
}

.lang-btn svg {
  width: 16px;
  height: 16px;
}

.lang-current {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.lang-btn:hover,
.lang-switcher:hover .lang-btn {
  opacity: 1;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  margin-top: 10px;
  background: rgba(26, 8, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 8px;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 2000;
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-dropdown button {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: all var(--transition-fast);
  width: 100%;
}

.lang-dropdown button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding-left: 20px;
}

/* --- HIDE GOOGLE TRANSLATE DEFAULT UI --- */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0px !important;
}

.goog-tooltip {
  display: none !important;
}

.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.admin-btn svg {
  width: 16px;
  height: 16px;
}

/* Search Bar - Compact Header */
.search-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 3px 8px 3px 12px;
  gap: 6px;
}

.search-form input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.8rem;
  width: 80px;
  outline: none;
}

.search-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-form button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.search-form button:hover {
  color: #fff;
}

.search-icon {
  width: 14px;
  height: 14px;
}

/* Search Page */
.search-page {
  max-width: 600px;
  margin: 0 auto;
}

.search-page .search-bar-large {
  display: flex;
  align-items: center;
  background: var(--color-ivory);
  border: 2px solid var(--color-border);
  border-radius: 50px;
  padding: 12px 24px;
  gap: 12px;
  margin-bottom: var(--space-xl);
}

.search-page .search-bar-large:focus-within {
  border-color: var(--color-brand);
}

.search-page .search-bar-large input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--color-ink);
  outline: none;
}

.search-page .search-bar-large button {
  background: var(--color-brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--color-brand);
  color: var(--color-paper);
}

.btn-primary:hover {
  background: var(--color-brand-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-brand);
  border: 1px solid var(--color-brand);
}

.btn-secondary:hover {
  background: rgba(59, 15, 27, 0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
}

.btn-ghost:hover {
  background: var(--color-border);
}

/* ============================================
   FORMS
   ============================================ */

input,
textarea,
select {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 14px 18px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  transition: all var(--transition-fast);
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(59, 15, 27, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted);
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--color-ivory);
  overflow: hidden;
}

.product-card-image img,
.product-card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-card-image img,
.product-card:hover .product-card-image video {
  transform: scale(1.03);
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-muted);
}

.product-card-info {
  padding: var(--space-lg);
}

.product-card-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.product-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.product-card:hover .product-card-name {
  color: var(--color-gold);
}

.product-card-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  padding: var(--space-3xl) 0;
  align-items: start;
}

@media (max-width: 968px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.product-info {
  padding: var(--space-lg) 0;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.product-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
}

.product-price {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-brand);
  margin-bottom: var(--space-lg);
}

.product-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-ink);
  opacity: 0.8;
  margin-bottom: var(--space-xl);
}

.product-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* ============================================
   CAROUSEL
   ============================================ */

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-ivory);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform var(--transition-normal);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-brand);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-soft);
}

.carousel-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
  left: var(--space-md);
}

.carousel-next {
  right: var(--space-md);
}

.carousel-indicators {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-indicator.active {
  background: white;
  transform: scale(1.2);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-paper);
  color: var(--color-ink);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(59, 15, 27, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse at 70% 80%, rgba(200, 164, 106, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  color: var(--color-ink);
  margin-bottom: var(--space-lg);
  line-height: 1.05;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero .btn-primary {
  background: var(--color-brand);
  color: var(--color-paper);
}

.hero .btn-primary:hover {
  background: var(--color-brand-dark);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-logo-stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-gem-wrap {
  width: 80px;
  height: 80px;
  margin-left: -10px;
}

.footer-wordmark h4 {
  margin: 0;
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.32em;
}

.footer-contact-list a {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.footer-brand p {
  color: var(--color-footer-text);
  opacity: 0.7;
  font-size: 0.95rem;
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer h4 {
  color: var(--color-footer-text);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: var(--space-sm);
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--color-paper);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.56);
}

/* ============================================
   FEATURED SECTIONS
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-muted);
}

.featured-products {
  background: var(--color-paper);
}

/* ============================================
   ABOUT / EDITORIAL
   ============================================ */

.editorial {
  background: var(--color-ivory);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 968px) {
  .editorial-grid {
    grid-template-columns: 1fr;
  }
}

.editorial-content h2 {
  margin-bottom: var(--space-lg);
}

.editorial-content p {
  margin-bottom: var(--space-md);
}

.editorial-image {
  aspect-ratio: 4/5;
  background: var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   MODALS
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(28, 20, 22, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-paper);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal h2 {
  margin-bottom: var(--space-lg);
}

.modal-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--color-gold);
}

.text-muted {
  color: var(--color-muted);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

/* Page transitions */
.page-enter {
  opacity: 0;
  transform: translateY(10px);
}

.page-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: all var(--transition-normal);
}

/* Loading states */
.skeleton {
  background: linear-gradient(90deg, var(--color-border) 25%, var(--color-ivory) 50%, var(--color-border) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-inner {
    padding: 0 var(--space-md);
  }

  .container {
    padding: 0 var(--space-md);
  }

  section {
    padding: var(--space-2xl) 0;
  }
}

/* ============================================
   HORIZONTAL PRODUCT SLIDESHOW
   ============================================ */

.product-slideshow-section {
  padding: var(--space-3xl) 0;
  background: var(--color-paper);
  overflow: hidden;
}

.slideshow-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  padding: 0 var(--space-lg);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.slideshow-container {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  padding: 0 var(--space-lg) var(--space-xl) var(--space-lg);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.slideshow-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.slideshow-item {
  flex: 0 0 calc(80vw - var(--space-lg));
  min-width: 280px;
  max-width: 400px;
  scroll-snap-align: start;
  transition: transform var(--transition-normal);
}

.slideshow-item:hover {
  transform: translateY(-8px);
}

/* ============================================
   IMMERSIVE INTRO SECTION
   ============================================ */

.process-intro {
  background: #fbf9f6;
  color: var(--color-ink);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.process-intro::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100vh;
  height: 100vh;
  background: radial-gradient(circle, rgba(200, 164, 106, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  position: relative;
  z-index: 2;
}

@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.process-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-content p {
  color: var(--color-ink-muted);
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 0 auto var(--space-lg);
  max-width: 800px;
  text-align: center;
}

.process-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: var(--space-xl);
  width: 100%;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
  font-family: var(--font-serif);
}

.stat-item span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   VAAMA ANIMATED LOGO
   ============================================ */

.vaama-logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.vaama-logo-wrapper:hover {
  opacity: 0.85;
}

/* Logo icon — single gold diamond */
.vaama-logo-diamond {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vaama-logo-wrapper:hover .vaama-logo-diamond {
  transform: rotate(180deg);
}

/* Side ornaments hidden — cleaner logo */
.vaama-logo-ornament-left,
.vaama-logo-ornament-right {
  display: none;
}

.vaama-logo-h1 {
  font-size: 1.65rem;
  font-family: 'Cormorant Garamond', var(--font-serif);
  color: white;
  text-transform: lowercase;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0;
  line-height: 1;
}

.vaama-logo-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vaama-logo-wrapper:hover .vaama-logo-h1 {
  text-shadow: 0 0 16px rgba(200, 164, 106, 0.5);
}

/* Gold separator line beneath wordmark */
.vaama-logo-text-container::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 4px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  transform: scaleX(0.6);
  transition: transform 0.4s ease;
}

.vaama-logo-wrapper:hover .vaama-logo-text-container::after {
  transform: scaleX(1);
}

/* Decorative Underline */
.vaama-logo-underline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
}

.vaama-logo-line-left,
.vaama-logo-line-right {
  height: 1px;
  flex: 1;
  transition: transform 0.4s ease;
}

/* Decorative underline, line elements hidden (kept for legacy) */
.vaama-logo-underline,
.vaama-logo-line-left,
.vaama-logo-line-right,
.vaama-logo-center-diamond {
  display: none;
}

.vaama-logo-subtext {
  font-size: 0.60rem;
  letter-spacing: 0.35em;
  color: var(--color-gold-muted);
  margin-top: 3px;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Pages without full-banner hero need padding-top so content isn\'t hidden under fixed header */
.page-with-header {
  padding-top: var(--header-height);
}

/* ============================================
   SONUS FABER INSPIRED UI COMPONENTS
   ============================================ */

/* sf-full-banner */
.sf-full-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sf-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.sf-heading {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.sf-text {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.sf-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.sf-btn:hover {
  background: #fff;
  color: #000;
}

/* Homepage category carousels */
.home-carousel-section {
  width: min(100% - clamp(2rem, 8vw, 8rem), 1400px);
  margin: 0 auto;
  padding: clamp(4.25rem, 7vw, 6.5rem) 0 clamp(1.5rem, 3vw, 3rem);
}

.home-carousel-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.home-carousel-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.65rem);
  font-weight: 300;
  line-height: 0.98;
}

.home-carousel-heading > div > p:last-child {
  margin-top: 0.7rem;
  color: var(--color-muted);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
}

.home-carousel-kicker {
  margin-bottom: 0.7rem;
  color: var(--color-gold);
  font: 600 0.62rem/1.2 var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-carousel-nav {
  display: flex;
  flex: 0 0 auto;
  gap: 0.45rem;
}

.home-carousel-nav button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(200, 164, 106, 0.34);
  border-radius: 50%;
  background: transparent;
  color: var(--color-gold);
  cursor: pointer;
  font: 300 1rem var(--font-sans);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.home-carousel-nav button:hover,
.home-carousel-nav button:focus-visible {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #090a08;
  outline: none;
}

.home-product-carousel {
  display: flex;
  gap: clamp(0.85rem, 1.8vw, 1.4rem);
  overflow-x: auto;
  padding: 0 0 1.25rem;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-product-carousel::-webkit-scrollbar {
  display: none;
}

.home-product-card {
  flex: 0 0 clamp(230px, 24vw, 310px);
  min-width: 0;
  scroll-snap-align: start;
}

.home-product-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 12px;
  background: #101110;
}

.home-product-media img,
.home-product-media video,
.home-product-media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
}

.home-product-card:hover .home-product-media img,
.home-product-card:hover .home-product-media video {
  filter: brightness(0.82);
  transform: scale(1.035);
}

.home-media-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.34rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 8, 5, 0.72);
  color: rgba(255, 255, 255, 0.82);
  font: 600 0.52rem/1 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.home-product-cta {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  background: rgba(5, 8, 5, 0.8);
  color: #fff;
  font: 600 0.58rem/1 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  translate: 0 6px;
  transition: opacity 180ms ease, translate 180ms ease;
  backdrop-filter: blur(8px);
}

.home-product-card:hover .home-product-cta,
.home-product-card:focus-within .home-product-cta {
  opacity: 1;
  translate: 0;
}

.home-product-info {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 0.2rem 0;
}

.home-product-info h3 {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-info p {
  color: var(--color-gold);
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .home-carousel-section {
    width: min(100% - 2rem, 1400px);
    padding-top: 4rem;
  }

  .home-carousel-heading {
    align-items: flex-start;
  }

  .home-carousel-nav {
    display: none;
  }

  .home-product-card {
    flex-basis: min(76vw, 280px);
  }

  .home-product-cta {
    opacity: 1;
    translate: 0;
  }
}

/* sf-split-banner */
.sf-split-banner {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
}

@media(min-width: 900px) {
  .sf-split-banner {
    flex-direction: row;
  }
}

.sf-split-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 10%;
  background: var(--color-ink);
  color: #fff;
}

.sf-split-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: #fff;
}

.sf-split-text p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0.8;
  max-width: 500px;
  color: #fff;
}

.sf-btn-outline {
  display: inline-block;
  align-self: flex-start;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.sf-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.sf-split-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.sf-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  color: #999;
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* sf-double-banner */
.sf-double-banner {
  display: flex;
  flex-direction: column;
}

@media(min-width: 900px) {
  .sf-double-banner {
    flex-direction: row;
  }
}

.sf-double-item {
  flex: 1;
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}

.sf-double-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}

.sf-double-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  z-index: 1;
}

.sf-double-item:hover .sf-double-bg {
  transform: scale(1.05);
}

.sf-double-content {
  position: relative;
  z-index: 2;
  padding: 3rem 10%;
}

.sf-double-content h3 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: #fff;
}

.sf-double-content p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  color: #fff;
}

.sf-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.sf-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.sf-double-item:hover .sf-link::after {
  transform: scaleX(0);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-3xl);
  align-items: start;
}

@media (min-width: 992px) {
  .product-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
  }
}

/* Gallery & Interactive Viewer */
.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.main-viewer {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--color-paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  margin-bottom: var(--space-md);
}

.main-viewer img,
.main-viewer video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-viewer:hover img {
  transform: scale(1.03);
}

.viewer-tools {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  z-index: 10;
}

.tool-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-ink);
}

.tool-btn:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumb-grid {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-xs);
  scrollbar-width: thin;
}

.product-thumb {
  width: 80px;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: var(--color-paper);
}

.product-thumb.active {
  border-color: var(--color-gold);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info {
  background: var(--color-paper);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
}

.product-category {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.product-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--color-ink);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.product-price {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: var(--space-lg);
}

.product-description {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-xl);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

@media (min-width: 576px) {
  .product-actions {
    flex-direction: row;
  }

  .product-actions .btn {
    flex: 1;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ============================================
   ADMIN ACTIONS FIX
   ============================================ */
td.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ============================================
   CUTWISE WIDGET STYLES
   ============================================ */
.widget-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  margin-top: var(--space-lg);
}

.widget-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
}

.widget-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(200, 164, 106, 0.15);
}

.widget-frame iframe {
  width: 100%;
  height: 100%;
}

.widget-hint {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}
/* Mobile Viewport Fixes */
@media (max-width: 768px) {
  .sf-full-banner {
    height: 80vh !important;
  }
  .sf-heading {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

/* Hero Transition Refinement */
.sf-full-banner { position: relative; height: 100vh; width: 100%; overflow: hidden; background: #000; }
.sf-bg-media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sf-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

/* Hero Reflection (Lake Effect) */
.sf-hero-reflection-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25vh;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.sf-reflection-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleY(-0.6) translateY(30%); /* Condensed & Mirrored */
  transform-origin: top;
  filter: blur(25px) brightness(0.6) contrast(1.1);
  opacity: 0.5;
}

.sf-reflection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(5, 5, 5, 0.2) 0%, 
    rgba(5, 5, 5, 0.6) 50%, 
    #050505 100%
  );
  /* Water Ripple Simulation */
  background-image: 
    linear-gradient(to bottom, transparent 0%, rgba(5,5,5,0.4) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 3px, transparent 4px);
  background-size: 100% 100%, 100% 4px;
  z-index: 2;
}
.sf-full-banner-content { 
  position: absolute; 
  inset: 0; 
  z-index: 10; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  padding: 0 5%; 
}
.sf-heading { font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 6rem); line-height: 1; margin-bottom: 1.5rem; color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.sf-text { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 800px; color: rgba(255,255,255,0.9); margin-bottom: 2rem; line-height: 1.6; }
@media (max-width: 768px) { .sf-full-banner { height: 85vh !important; } } .sf-full-banner-content { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); } .sf-heading { line-height: 1.1 !important; text-shadow: 0 10px 40px rgba(0,0,0,0.9), 0 4px 15px rgba(0,0,0,0.7), 0 0 100px rgba(0,0,0,0.4) !important; } .sf-text { color: rgba(255,255,255,0.95) !important; text-shadow: 0 4px 15px rgba(0,0,0,0.8) !important; }

/* ============================================
   ACCESSIBILITY & RESPONSIVE NAVIGATION
   ============================================ */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: #fff;
  color: #050505;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

#main-content:focus {
  outline: none;
}

.vaama-logo-new {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.vlogo-horizontal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.vaama-logo-new:hover .vlogo-horizontal {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(200, 164, 106, 0.5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.vlogo-vaama-gems-unified {
  margin-right: -0.5em;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.5em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 300ms ease;
}

.vaama-logo-new:hover .vlogo-vaama-gems-unified {
  color: var(--color-gold);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-btn {
  display: none;
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.35);
  color: #fff;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.has-mega-menu:focus-within .mega-menu,
.lang-switcher:focus-within .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.lang-switcher:focus-within .lang-dropdown {
  transform: translateY(0);
}

.footer-charms-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer {
  position: relative;
  overflow: hidden;
}

@keyframes floatCharm {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, -30px) rotate(5deg); }
  66% { transform: translate(-15px, 15px) rotate(-5deg); }
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 1rem;
  }

  .nav {
    gap: 1.25rem;
  }

  .search-form {
    display: none;
  }
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex;
  }

  .header .nav {
    position: absolute;
    top: calc(var(--header-height) - 4px);
    left: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-height) - 24px);
    padding: 0.75rem;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(5, 8, 5, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .header .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header .nav > a,
  .header .nav > .has-mega-menu > a {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
  }

  .header .has-mega-menu {
    display: block;
    height: auto;
  }

  .header .mega-menu {
    display: none;
  }
}

@media (max-width: 520px) {
  .header {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .header-inner {
    display: flex;
    width: 100%;
    max-width: none;
    min-width: 0;
    gap: .45rem;
    padding: 0 max(8px, env(safe-area-inset-right, 0px)) 0 max(8px, env(safe-area-inset-left, 0px));
  }

  .header-tools {
    min-width: 0;
    flex-shrink: 0;
    margin-left: auto;
    gap: .12rem !important;
  }

  .vaama-logo-new {
    min-width: 0;
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
  }

  .vlogo-horizontal {
    width: max-content;
    min-width: 0;
    gap: 7px;
    padding: 5px 12px 5px 8px;
    max-width: 100%;
    overflow: hidden;
  }

  .vlogo-gem-wrap {
    flex: 0 0 36px;
    width: 36px !important;
    height: 36px !important;
    /* Optical correction: center the animated outline against the visible wordmark. */
    transform: translateY(-3px);
  }

  .vlogo-wordmark {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .vlogo-vaama-gems-unified {
    display: block;
    min-width: 0;
    overflow: hidden;
    /* Keep the complete wordmark visible beside the compact action controls. */
    margin-right: -0.08em;
    font-size: clamp(0.84rem, 3.8vw, 0.96rem);
    letter-spacing: 0.08em;
    text-overflow: clip;
  }

  .lang-btn {
    gap: 0;
    padding-inline: 4px;
  }

  .lang-current {
    display: none;
  }

  .header-icon-btn {
    min-width: 34px;
    justify-content: center;
    padding: 6px 4px;
  }

  .user-badge {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 9px;
  }
}

@media (max-width: 360px) {
  .header-inner {
    gap: 0.25rem;
    padding: 0 max(8px, env(safe-area-inset-right, 0px)) 0 max(8px, env(safe-area-inset-left, 0px));
  }

  .vlogo-horizontal {
    gap: 5px;
    padding: 4px 9px 4px 6px;
  }

  .vlogo-gem-wrap {
    width: 30px !important;
    height: 30px !important;
  }

  .vlogo-vaama-gems-unified {
    margin-right: -0.06em;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
  }

  .header-tools {
    gap: 0.1rem !important;
  }

  .lang-btn {
    gap: 4px;
    padding-inline: 3px;
  }

  .mobile-menu-btn {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .footer-charms-container,
  .sf-hero-reflection-wrap {
    display: none !important;
  }
}

/* Compact, image-led collection browsing. */
.collection-page {
  width: min(1400px, calc(100% - 3rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: calc(var(--header-height) + clamp(3.5rem, 7vw, 6.5rem)) 0 clamp(6rem, 10vw, 10rem);
  color: #f7f4ed;
}

.collection-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-hero-copy {
  max-width: 760px;
}

.collection-eyebrow {
  margin: 0 0 1.15rem;
  color: var(--color-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.collection-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 6.2vw, 6.4rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.collection-hero-copy > p:last-child {
  max-width: 57ch;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  font-weight: 300;
  line-height: 1.75;
}

.collection-count {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1rem;
  padding: 0.2rem 0 0.35rem;
}

.collection-count strong {
  color: #d7b776;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 4vw, 4.3rem);
  font-weight: 400;
  line-height: 0.8;
}

.collection-count span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.55;
  text-transform: uppercase;
}

.collection-filter-shell {
  position: sticky;
  top: var(--header-height);
  z-index: 30;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  padding: 0.8rem 0;
  background: linear-gradient(180deg, rgba(5, 8, 5, 0.97), rgba(5, 8, 5, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.collection-filter-scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.collection-filter-scroll::-webkit-scrollbar {
  display: none;
}

.collection-filters {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  gap: 0.6rem;
}

.collection-filter {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.collection-filter small {
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
  letter-spacing: 0;
}

.collection-filter:hover {
  border-color: rgba(200, 164, 106, 0.55);
  color: #fff;
}

.collection-filter.is-active {
  border-color: #caa96b;
  background: #caa96b;
  color: #080a08;
}

.collection-filter.is-active small {
  background: rgba(0, 0, 0, 0.14);
  color: #080a08;
}

.collection-grid-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.collection-grid-heading p,
.collection-grid-heading span {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-grid-heading span {
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.08em;
}

.products-grid.collection-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2.4rem, 5vw, 5.5rem) clamp(1rem, 2vw, 2rem);
}

.collection-product-card {
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  animation: collectionCardEnter 700ms cubic-bezier(0.2, 0.75, 0.25, 1) calc(var(--card-order, 0) * 65ms) both;
}

.collection-product-card:hover {
  box-shadow: none;
  transform: translateY(-3px);
}

.collection-product-card .product-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(0.65rem, 1.2vw, 1rem);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.045), transparent 45%),
    #070907;
}

.collection-product-card .product-card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.42));
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  content: '';
}

.collection-product-card .product-card-image img,
.collection-product-card .product-card-image video {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: scale(0.965);
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 300ms ease;
}

.collection-product-card:hover .product-card-image img,
.collection-product-card:hover .product-card-image video {
  transform: scale(1.015);
}

.collection-product-card:hover .product-card-image::after {
  opacity: 1;
}

.collection-card-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  padding: 0.4rem 0.58rem;
  border: 1px solid rgba(200, 164, 106, 0.38);
  border-radius: 999px;
  background: rgba(5, 8, 5, 0.82);
  color: #dfc28b;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.collection-card-view {
  position: absolute;
  right: 0.8rem;
  bottom: 0.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #f1dfbd;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(6px);
  text-transform: uppercase;
  transition: opacity 250ms ease, transform 250ms ease;
}

.collection-card-view b {
  font-size: 0.9rem;
  font-weight: 400;
}

.collection-product-card:hover .collection-card-view,
.collection-product-card:focus-visible .collection-card-view {
  opacity: 1;
  transform: none;
}

.collection-product-card .product-card-info {
  padding: 0.9rem 0.15rem 0;
}

.product-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.collection-product-card .product-card-category {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(200, 164, 106, 0.82);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-product-card .product-card-price {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.collection-product-card .product-card-name {
  display: -webkit-box;
  min-height: 2.5em;
  margin: 0.55rem 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  font-weight: 400;
  line-height: 1.23;
  letter-spacing: -0.012em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.collection-empty {
  grid-column: 1 / -1;
  margin: 4rem 0;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

@keyframes collectionCardEnter {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1200px) {
  .products-grid.collection-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .collection-page {
    width: calc(100% - 1.5rem);
    padding-top: calc(var(--header-height) + 3rem);
  }

  .collection-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.75rem;
    padding-bottom: 2.5rem;
  }

  .collection-hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  .collection-count {
    gap: 0.75rem;
  }

  .collection-count strong {
    font-size: 2.65rem;
  }

  .collection-filter-shell {
    margin-bottom: 1.75rem;
  }

  .products-grid.collection-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.6rem 0.75rem;
  }

  .collection-product-card .product-card-info {
    padding-top: 0.7rem;
  }

  .collection-card-view {
    display: none;
  }
}

@media (max-width: 520px) {
  .collection-eyebrow {
    font-size: 0.61rem;
    letter-spacing: 0.18em;
  }

  .collection-filter {
    min-height: 38px;
    padding: 0.58rem 0.78rem;
    font-size: 0.62rem;
  }

  .product-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .collection-product-card .product-card-name {
    min-height: 2.6em;
    margin-top: 0.45rem;
    font-size: clamp(0.96rem, 4.6vw, 1.08rem);
    line-height: 1.28;
  }

  .collection-product-card .product-card-category {
    font-size: 0.56rem;
  }

  .collection-product-card .product-card-price {
    font-size: 0.64rem;
  }
}

/* Professional form and utility page treatments */
.policy-page {
  max-width: 980px;
  padding-top: clamp(8rem, 15vw, 12rem);
  padding-bottom: 8rem;
}

.policy-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.policy-header h1 {
  margin: 0.75rem 0 1rem;
}

.policy-header > p:not(.section-label):not(.policy-updated):not(.policy-reference) {
  color: var(--color-muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.policy-reference {
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-updated {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-content {
  display: grid;
  gap: 2rem;
  max-width: 760px;
}

.policy-section {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.policy-section h2 {
  margin: 0 0 0.85rem;
  color: var(--color-gold);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
}

.policy-section p,
.policy-section li {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.policy-section p {
  margin: 0 0 0.85rem;
}

.policy-section ul {
  margin: 0.6rem 0 0;
  padding-left: 1.3rem;
}

.policy-contact-card {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 1.4rem;
  border: 1px solid rgba(200, 164, 106, 0.32);
  border-radius: 0.75rem;
  background: rgba(200, 164, 106, 0.06);
}

.policy-contact-card strong {
  color: var(--color-gold);
}

.policy-contact-card span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.policy-contact-card .btn {
  width: fit-content;
  margin-top: 0;
}

.policy-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  min-height: 80vh;
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: 8rem;
}

.contact-intro,
.contact-form,
.contact-form-row,
.contact-form label {
  min-width: 0;
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-intro h1 {
  margin: 0.75rem 0 1.5rem;
}

.contact-intro > p:not(.section-label) {
  max-width: 36rem;
  color: var(--color-muted);
  font-size: 1.15rem;
}

.contact-direct {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-direct > p {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-channels {
  display: grid;
  gap: 0.65rem;
}

.contact-channel {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-channel:hover {
  border-color: rgba(200, 164, 106, 0.5);
  background: rgba(200, 164, 106, 0.06);
  color: #fff;
  transform: translateY(-2px);
}

.contact-channel > span {
  color: var(--color-gold-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-channel > strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-channel > b {
  color: var(--color-gold);
  font-weight: 400;
}

.contact-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-promise span {
  max-width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(200, 164, 106, 0.24);
  border-radius: 999px;
  color: var(--color-gold-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form,
.quote-dialog-card {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.contact-form-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-header .section-label {
  margin-bottom: 0.45rem;
}

.contact-form-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.contact-form-header > span {
  max-width: 9rem;
  color: var(--color-muted);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: right;
}

.contact-selection {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(200, 164, 106, 0.26);
  border-radius: 0.8rem;
  background: rgba(200, 164, 106, 0.055);
}

.contact-selection-media {
  width: 78px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.55rem;
  background: #101310;
}

.contact-selection-media img,
.contact-selection-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-selection span,
.contact-selection strong,
.contact-selection a {
  display: block;
}

.contact-selection span {
  margin-bottom: 0.25rem;
  color: var(--color-gold-muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-selection strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
}

.contact-selection a {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label,
.quote-dialog-card label {
  display: grid;
  gap: 0.5rem;
  color: var(--color-gold-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form label span,
.quote-dialog-card label span {
  color: var(--color-muted);
  font-size: 0.7rem;
  text-transform: none;
}

.contact-form input,
.contact-form textarea,
.quote-dialog-card input,
.quote-dialog-card textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
}

.contact-form input,
.contact-form textarea {
  min-width: 0;
}

.form-status {
  min-height: 1.5em;
  color: var(--color-gold-muted);
}

.contact-form-note {
  margin: -0.1rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.76rem;
  line-height: 1.55;
}

.contact-form .btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quote-dialog {
  width: min(680px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: #090b09;
  color: #fff;
}

.quote-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.quote-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.quote-dialog-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.not-found-page,
.payment-success-page {
  display: flex;
  min-height: 75vh;
  padding-top: 10rem;
  padding-bottom: 6rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found-page > p:not(.section-label),
.payment-success-page > p:not(.section-label) {
  max-width: 620px;
  margin-top: 1rem;
  color: var(--color-muted);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.success-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 2rem;
  place-items: center;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  font-size: 2rem;
}

@media (max-width: 820px) {
  .contact-page {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 8rem;
  }

  .contact-intro {
    position: static;
  }

  .contact-direct {
    margin-top: 2rem;
  }

  .lux-actions {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .contact-page {
    gap: 2.25rem;
    padding-top: 7.25rem;
    padding-bottom: 5rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-promise {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-promise span {
    width: fit-content;
  }

  .contact-form-header {
    align-items: start;
    flex-direction: column;
  }

  .contact-form-header > span {
    max-width: none;
    text-align: left;
  }

  .contact-channel {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    padding-inline: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Inquiry-first product presentation */
.product-availability-badge {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2;
  padding: 0.45rem 0.7rem; border: 1px solid rgba(200, 164, 106, 0.4);
  border-radius: 999px; background: rgba(5, 8, 5, 0.82); color: var(--color-gold);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; backdrop-filter: blur(10px);
}

.consultation-product-page {
  min-height: 100vh; padding: calc(var(--header-height) + 2.5rem) 0 7rem;
  background: radial-gradient(circle at 14% 12%, rgba(200, 164, 106, 0.09), transparent 28rem), #050805;
  color: #f7f4ed;
}

.consultation-product-shell { width: min(1320px, calc(100% - 3rem)); margin: 0 auto; }
.product-breadcrumb { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 2.2rem; color: rgba(255,255,255,0.48); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.product-breadcrumb a { color: var(--color-gold); }
.consultation-product-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.consultation-gallery { min-width: 0; }
.consultation-viewer { display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-height: 720px; overflow: hidden; border: 1px solid rgba(255,255,255,0.09); border-radius: 1.25rem; background: radial-gradient(circle at center, #161b16 0%, #090c09 72%); box-shadow: 0 30px 80px rgba(0,0,0,0.38); }
.consultation-viewer > img, .consultation-viewer > video, .consultation-viewer > iframe { width: 100%; height: 100%; border: 0; object-fit: contain; }
.consultation-thumbs { display: flex; gap: 0.75rem; padding: 1rem 0 0.35rem; overflow-x: auto; scrollbar-width: thin; }
.consultation-thumb { display: grid; flex: 0 0 72px; place-items: center; width: 72px; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); border-radius: 0.7rem; background: #101410; color: rgba(255,255,255,0.58); font-size: 0.65rem; letter-spacing: 0.1em; cursor: pointer; }
.consultation-thumb.active { border-color: var(--color-gold); box-shadow: 0 0 0 1px var(--color-gold); }
.consultation-thumb img { width: 100%; height: 100%; object-fit: cover; }
.consultation-product-info { position: sticky; top: calc(var(--header-height) + 1.5rem); padding: clamp(0.5rem, 2vw, 1.5rem) 0; }
.consultation-eyebrow { margin-bottom: 1rem; color: var(--color-gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.consultation-product-info h1 { max-width: 15ch; margin: 0; font-family: var(--font-serif); font-size: clamp(2.6rem, 3.5vw, 4rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.03em; }
.consultation-subtitle { margin-top: 1.25rem; color: rgba(255,255,255,0.64); font-family: var(--font-serif); font-size: clamp(1.15rem, 2vw, 1.5rem); font-style: italic; line-height: 1.45; }
.consultation-commercial-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.consultation-price { color: #f4dfb9; font-family: var(--font-serif); font-size: clamp(1.55rem, 3vw, 2rem); }
.consultation-availability { color: rgba(255,255,255,0.58); font-size: 0.72rem; letter-spacing: 0.1em; text-align: right; text-transform: uppercase; }
.consultation-summary { color: rgba(255,255,255,0.78); font-size: 1.03rem; font-weight: 300; line-height: 1.8; }
.product-configuration { display: grid; gap: 0.85rem; margin: 2rem 0 0; padding: 1.2rem; border: 1px solid rgba(200,164,106,0.24); border-radius: 1rem; background: rgba(255,255,255,0.025); }
.product-configuration-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.product-configuration-heading .consultation-eyebrow { margin: 0 0 0.35rem; }
.product-configuration-heading h2 { margin: 0; font-family: var(--font-serif); font-size: 1.7rem; font-weight: 400; }
.product-configured-price { color: #f4dfb9; font-family: var(--font-serif); font-size: 1.35rem; white-space: nowrap; }
.product-option-group { min-width: 0; padding: 0.9rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 0.75rem; }
.product-option-group legend { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; padding: 0 0.2rem; color: rgba(255,255,255,0.92); font-size: 0.88rem; font-weight: 600; }
.product-option-group > p { margin: 0.35rem 0 0.75rem; color: rgba(255,255,255,0.56); font-size: 0.8rem; line-height: 1.5; }
.product-option-required, .product-option-optional { color: var(--color-gold); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }
.product-option-optional { color: rgba(255,255,255,0.42); }
.product-option-choices { display: grid; gap: 0.5rem; }
.product-option-choice { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.7rem; border: 1px solid rgba(255,255,255,0.08); border-radius: 0.55rem; cursor: pointer; }
.product-option-choice:has(input:checked) { border-color: rgba(200,164,106,0.68); background: rgba(200,164,106,0.08); }
.product-option-choice input { margin-top: 0.2rem; accent-color: var(--color-gold); }
.product-option-choice span { display: grid; gap: 0.16rem; min-width: 0; }
.product-option-choice strong { font-size: 0.86rem; font-weight: 600; }
.product-option-choice small { color: rgba(255,255,255,0.55); font-size: 0.75rem; line-height: 1.4; }
.product-option-choice em { color: #ead6ae; font-size: 0.75rem; font-style: normal; }
.product-option-quote { color: #e4a9a9 !important; }
.product-option-select { width: 100%; min-height: 2.85rem; margin-top: 0.75rem; padding: 0.65rem 0.75rem; border: 1px solid rgba(255,255,255,0.16); border-radius: 0.5rem; background: #111611; color: #fff; font: inherit; }
.product-configuration-note { margin: 0; color: rgba(255,255,255,0.48); font-size: 0.75rem; line-height: 1.5; }
.product-configuration-note [hidden] { display: none; }
.product-configuration-note [data-configuration-lead-time] { display: block; margin-top: 0.35rem; color: var(--color-gold-muted); }
[data-product-purchase-action]:disabled { opacity: 0.48; cursor: not-allowed !important; }
.consultation-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0; border: 1px solid rgba(255,255,255,0.1); border-radius: 0.85rem; overflow: hidden; }
.consultation-specs div { min-width: 0; padding: 0.95rem 1rem; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.consultation-specs dt { margin-bottom: 0.35rem; color: rgba(255,255,255,0.44); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.consultation-specs dd { color: #f5f0e5; font-size: 0.92rem; overflow-wrap: anywhere; }
.consultation-actions { display: grid; gap: 0.75rem; margin-top: 2rem; }
.consultation-action { display: flex; min-height: 3.45rem; align-items: center; justify-content: center; padding: 0.95rem 1.25rem; border: 1px solid var(--color-gold); border-radius: 0.35rem; font: inherit; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.13em; text-align: center; text-transform: uppercase; cursor: pointer; }
.consultation-action.primary { background: var(--color-gold); color: #070907; }
.consultation-action.whatsapp { border-color: #2a9b62; background: #217b50; color: #fff; }
.consultation-action.secondary { background: transparent; color: #fff; }
.consultation-action:hover { transform: translateY(-1px); filter: brightness(1.08); }
.consultation-payment-link { width: 100%; margin-top: 0.75rem; padding: 0.9rem; border: 0; background: transparent; color: var(--color-gold); font: inherit; font-size: 0.78rem; text-decoration: underline; cursor: pointer; }
.consultation-assurance { display: grid; gap: 0.35rem; margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid rgba(200,164,106,0.5); color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.6; }
.consultation-assurance strong { color: rgba(255,255,255,0.86); }
.catalog-details { margin-top: clamp(4.5rem, 9vw, 8rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(255,255,255,0.1); }
.catalog-details-heading { display: grid; max-width: 700px; gap: 0.15rem; margin-bottom: 2rem; }
.catalog-details-heading h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; line-height: 1.05; }
.catalog-profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1.25rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.09); border-radius: 1rem; background: rgba(255,255,255,0.02); }
.catalog-profile-details div, .catalog-detail-card dl div { display: grid; gap: 0.35rem; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.catalog-profile-details dt, .catalog-detail-card dt { color: rgba(255,255,255,0.42); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.catalog-profile-details dd, .catalog-detail-card dd { color: rgba(255,255,255,0.82); font-size: 0.9rem; line-height: 1.55; overflow-wrap: anywhere; }
.catalog-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.catalog-detail-card { overflow: hidden; border: 1px solid rgba(255,255,255,0.09); border-radius: 1rem; background: rgba(255,255,255,0.025); }
.catalog-detail-card h3 { padding: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.08); color: #ead6ae; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; }
.catalog-documents { display: flex; gap: 0.75rem; align-items: stretch; flex-wrap: wrap; margin-top: 1.25rem; }
.catalog-documents h3 { width: 100%; color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.catalog-documents a { display: grid; min-width: min(100%, 260px); gap: 0.2rem; padding: 0.9rem 1rem; border: 1px solid rgba(200,164,106,0.24); border-radius: 0.7rem; color: #ead6ae; }
.catalog-documents span { color: rgba(255,255,255,0.48); font-size: 0.72rem; }
.consultation-story { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,0.65fr); gap: clamp(3rem,8vw,8rem); margin-top: clamp(5rem,10vw,9rem); padding: clamp(3rem,6vw,6rem); border: 1px solid rgba(255,255,255,0.08); border-radius: 1.25rem; background: rgba(255,255,255,0.025); }
.consultation-story h2 { margin-bottom: 1.5rem; font-family: var(--font-serif); font-size: clamp(2rem,4vw,3.4rem); font-weight: 400; }
.consultation-story article > p:last-child, .consultation-story blockquote { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 300; line-height: 1.9; }
.consultation-story blockquote { margin: 0; color: #e8d4ac; font-family: var(--font-serif); font-size: 1.35rem; font-style: italic; }
.consultation-empty-media { display: grid; place-items: center; gap: 1rem; color: rgba(255,255,255,0.5); text-align: center; }
.consultation-form-intro { margin: -0.5rem 0 0.75rem; color: var(--color-muted); font-size: 0.9rem; line-height: 1.55; }

@media (max-width: 900px) {
  .consultation-product-page { padding-top: calc(var(--header-height) + 1.4rem); }
  .consultation-product-shell { width: min(100% - 1.5rem, 720px); }
  .product-breadcrumb { margin-bottom: 1.25rem; }
  .consultation-product-grid { grid-template-columns: 1fr; gap: 2rem; }
  .consultation-product-info { position: static; padding: 0; }
  .consultation-product-info h1 { max-width: 18ch; font-size: clamp(2.15rem, 9vw, 3rem); line-height:1.04; }
  .catalog-detail-grid { grid-template-columns: 1fr; }
  .consultation-story { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 1.35rem; }
}

@media (max-width: 520px) {
  .consultation-commercial-row { align-items: flex-start; flex-direction: column; }
  .consultation-availability { text-align: left; }
  .consultation-specs { grid-template-columns: 1fr; }
  .catalog-profile-details { grid-template-columns: 1fr; }
  .consultation-viewer { border-radius: 0.85rem; }
}

/* Editorial About page: content-led, accessible, and free of fixed-height scenes. */
.about-editorial {
  overflow-x: clip;
  background:
    radial-gradient(circle at 80% 9%, rgba(200, 164, 106, 0.1), transparent 25rem),
    #050805;
  color: #f7f4ed;
}

.about-hero {
  display: grid;
  width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
  padding: calc(var(--header-height) + clamp(4rem, 8vw, 8rem)) 0 clamp(5rem, 10vw, 9rem);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero-copy {
  max-width: 850px;
}

.about-kicker,
.about-section-label p,
.about-values-heading > p {
  margin: 0 0 1.5rem;
  color: var(--color-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.15rem, 5.7vw, 5.9rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.about-hero-intro {
  max-width: 61ch;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 300;
  line-height: 1.8;
}

.about-text-link {
  display: inline-flex;
  margin-top: 2rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(200, 164, 106, 0.65);
  color: #ead3a7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-text-link:hover {
  border-color: var(--color-gold);
  color: #fff;
}

.about-hero-mark {
  justify-self: end;
  width: min(100%, 340px);
  color: var(--color-gold);
  opacity: 0.18;
}

.about-hero-mark svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.about-section {
  display: grid;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.about-section-label span {
  display: block;
  margin-bottom: 0.8rem;
  color: rgba(200, 164, 106, 0.75);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.about-section-label p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
}

.about-prose {
  max-width: 68ch;
}

.about-prose h2 {
  max-width: 15ch;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  color: #d8b878;
  font-family: var(--font-serif);
  font-size: clamp(2.65rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.about-prose > p {
  margin: 0 0 1.55rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.01rem, 1.25vw, 1.15rem);
  font-weight: 300;
  line-height: 1.9;
}

.about-prose > p:last-child {
  margin-bottom: 0;
}

.about-prose blockquote {
  max-width: 26ch;
  margin: 3rem 0 0;
  padding: 0.1rem 0 0.1rem 2rem;
  border-left: 2px solid rgba(200, 164, 106, 0.7);
  color: #ead5ad;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.38;
}

.about-section-emphasis .about-prose h2 {
  color: #f0dfbd;
}

.about-values {
  padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100vw - 1180px) / 2));
  background: #0a0e0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.about-values-heading {
  max-width: 760px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.about-values-heading h2 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.65rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.about-value-card {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(200, 164, 106, 0.5);
}

.about-value-card h3 {
  margin: 0 0 1rem;
  color: #e2c58d;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 400;
}

.about-value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.75;
}

.about-closing {
  width: min(1080px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 11rem) 0;
  text-align: center;
}

.about-closing h2 {
  max-width: 17ch;
  margin: 0 auto;
  color: #eed7aa;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 5.3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.about-closing > p {
  max-width: 59ch;
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .about-hero {
    position: relative;
    width: min(100% - 2rem, 720px);
    padding-top: calc(var(--header-height) + 4rem);
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-hero-mark {
    position: absolute;
    right: -2.5rem;
    bottom: 1.5rem;
    width: 190px;
    opacity: 0.09;
    pointer-events: none;
  }

  .about-section {
    width: min(100% - 2rem, 720px);
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-section-label {
    display: flex;
    align-items: baseline;
    gap: 1rem;
  }

  .about-section-label span {
    margin: 0;
    font-size: 1.55rem;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3.5rem;
  }
}

@media (max-width: 560px) {
  .about-hero {
    width: calc(100% - 1.5rem);
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 4rem;
  }

  .about-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
    line-height: 1;
  }

  .about-hero-intro {
    margin-top: 1.5rem;
    line-height: 1.72;
  }

  .about-section {
    width: calc(100% - 1.5rem);
    padding: 4.5rem 0;
    gap: 2rem;
  }

  .about-prose h2,
  .about-values-heading h2 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .about-prose > p {
    line-height: 1.78;
  }

  .about-prose blockquote {
    margin-top: 2.25rem;
    padding-left: 1.25rem;
  }

  .about-values {
    padding: 4.5rem 0.75rem;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    row-gap: 2.75rem;
  }

  .about-closing {
    width: calc(100% - 1.5rem);
    padding: 5.5rem 0;
  }

  .about-closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .about-closing-actions .btn {
    width: 100%;
  }
}

/* About experience motion: atmosphere without compromising content flow. */
.about-editorial {
  --about-scroll-shift: 0;
  position: relative;
  isolation: isolate;
}

.about-editorial::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 46%, rgba(42, 76, 51, 0.18), transparent 34rem),
    radial-gradient(circle at 82% 72%, rgba(200, 164, 106, 0.09), transparent 30rem);
  opacity: calc(0.16 + (var(--about-scroll-shift) * 0.34));
  pointer-events: none;
  content: '';
}

.about-hero,
.about-section,
.about-values,
.about-closing {
  position: relative;
  z-index: 2;
}

.about-scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10001;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.about-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #8f6b31, #f0d299, #b88b47);
  box-shadow: 0 0 18px rgba(224, 190, 126, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.about-dust {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.about-dust-particle {
  position: absolute;
  top: var(--dust-y);
  left: var(--dust-x);
  width: var(--dust-size);
  height: var(--dust-size);
  border-radius: 50%;
  background: #dfbd7d;
  box-shadow: 0 0 7px rgba(223, 189, 125, 0.7);
  opacity: 0.12;
  animation: aboutDustDrift var(--dust-duration) var(--dust-delay) ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.about-ambient-light {
  --about-pointer-x: -800px;
  --about-pointer-y: -800px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 181, 112, 0.075), transparent 66%);
  opacity: 0;
  translate: calc(var(--about-pointer-x) - 50%) calc(var(--about-pointer-y) - 50%);
  transition: opacity 500ms ease;
  pointer-events: none;
  will-change: translate;
}

.about-ambient-light.is-active {
  opacity: 1;
}

.about-motion-ready [data-about-reveal] {
  opacity: 0;
  filter: blur(7px);
  transition:
    opacity 850ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--about-delay, 0ms),
    transform 950ms cubic-bezier(0.16, 1, 0.3, 1) var(--about-delay, 0ms),
    filter 800ms ease var(--about-delay, 0ms);
  will-change: opacity, transform, filter;
}

.about-motion-ready [data-about-reveal='left'] {
  transform: translate3d(-42px, 18px, 0);
}

.about-motion-ready [data-about-reveal='right'] {
  transform: translate3d(48px, 22px, 0);
}

.about-motion-ready [data-about-reveal='up'] {
  transform: translate3d(0, 42px, 0);
}

.about-motion-ready [data-about-reveal='scale'] {
  transform: scale(0.9) translate3d(0, 24px, 0);
}

.about-motion-ready [data-about-reveal].is-visible {
  opacity: var(--about-reveal-opacity, 1);
  filter: blur(0);
  transform: none;
}

.about-hero-mark {
  --about-parallax-y: 0px;
  --about-reveal-opacity: 0.58;
  translate: 0 var(--about-parallax-y);
  transition: translate 80ms linear;
  will-change: translate;
}

.about-hero-mark svg {
  transform-origin: 50% 50%;
  animation: aboutGemFloat 7s ease-in-out infinite;
}

.about-hero-mark .vaama-symbol-animated {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
}

.about-section-label,
.about-prose {
  position: relative;
  z-index: 2;
}

.about-section-art {
  --about-art-y: 0px;
  position: absolute;
  z-index: 1;
  width: clamp(220px, 26vw, 390px);
  color: var(--color-gold);
  opacity: 0.065;
  translate: 0 var(--about-art-y);
  pointer-events: none;
  will-change: translate;
}

.about-section-art svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.8;
  transform-origin: center;
}

.about-section-art-lotus {
  top: 13%;
  right: -4%;
}

.about-section-art-lotus svg {
  animation: aboutMotifBreathe 8s ease-in-out infinite;
}

.about-section-art-orbit {
  top: 16%;
  left: 7%;
  width: clamp(190px, 22vw, 330px);
}

.about-section-art-orbit svg {
  animation: aboutOrbitRotate 34s linear infinite;
}

.about-section-art-orbit .about-orbit-stone {
  fill: currentColor;
  stroke: none;
  filter: drop-shadow(0 0 6px currentColor);
}

.about-section-art-fan {
  right: -5%;
  bottom: 8%;
}

.about-section-art-fan svg {
  transform-origin: 50% 82%;
  animation: aboutFanSway 10s ease-in-out infinite;
}

.about-value-card {
  position: relative;
  transition: border-color 300ms ease, transform 300ms ease;
}

.about-value-card::after {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #efd49d;
  transition: width 450ms cubic-bezier(0.16, 1, 0.3, 1);
  content: '';
}

.about-value-card > span {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: rgba(200, 164, 106, 0.56);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  transition: color 300ms ease, transform 300ms ease;
}

.about-value-card:hover {
  border-color: rgba(238, 210, 157, 0.85);
  transform: translateY(-5px);
}

.about-value-card:hover::after {
  width: 100%;
}

.about-value-card:hover > span {
  color: #efd49d;
  transform: translateX(4px);
}

@keyframes aboutDustDrift {
  0% { opacity: 0.07; transform: translate3d(0, 18px, 0) scale(0.75); }
  45% { opacity: 0.32; }
  100% { opacity: 0.1; transform: translate3d(var(--dust-drift), -58px, 0) scale(1.15); }
}

@keyframes aboutGemFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -13px, 0) rotate(1.2deg); }
}

@keyframes aboutMotifBreathe {
  0%, 100% { transform: scale(0.95) rotate(-2deg); }
  50% { transform: scale(1.04) rotate(2deg); }
}

@keyframes aboutOrbitRotate {
  to { transform: rotate(360deg); }
}

@keyframes aboutFanSway {
  0%, 100% { transform: rotate(-2deg) scale(0.98); }
  50% { transform: rotate(3deg) scale(1.03); }
}

@media (max-width: 900px) {
  .about-hero-mark {
    --about-reveal-opacity: 0.13;
  }

  .about-section-art {
    width: min(62vw, 300px);
    opacity: 0.045;
  }

  .about-section-art-orbit {
    top: 10%;
    right: -8%;
    left: auto;
  }

  .about-section-art-lotus,
  .about-section-art-fan {
    right: -12%;
  }
}

@media (max-width: 560px) {
  .about-motion-ready [data-about-reveal='left'],
  .about-motion-ready [data-about-reveal='right'] {
    transform: translate3d(0, 30px, 0);
  }

  .about-section-art {
    right: -20%;
    width: 230px;
    opacity: 0.04;
  }

  .about-ambient-light {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-scroll-progress,
  .about-dust,
  .about-ambient-light,
  .about-section-art {
    display: none;
  }

  .about-motion-ready [data-about-reveal],
  .about-reduced-motion [data-about-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .about-hero-mark,
  .about-hero-mark svg {
    translate: none;
    animation: none;
  }
}

/* ==========================================================================
   Cart Drawer & Auth Modal & E-Commerce Styles
   ========================================================================== */

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #111411;
  color: #fff;
  border-left: 1px solid rgba(200, 164, 106, 0.2);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open {
  transform: translateX(0);
}
.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0;
  color: var(--color-gold, #c8a46a);
}
.close-drawer-btn, .close-modal-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.close-drawer-btn:hover, .close-modal-btn:hover {
  color: #fff;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0f0d;
}
.subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.tax-note {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 1rem;
}
.drawer-actions {
  display: flex;
  gap: 10px;
}
.drawer-actions .btn {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Auth Modal */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.auth-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.auth-modal-content {
  background: #151815;
  border: 1px solid rgba(200, 164, 106, 0.3);
  border-radius: 8px;
  width: 420px;
  max-width: 90vw;
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  color: #fff;
}
.auth-modal-content .close-modal-btn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}
.auth-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.1rem;
  padding: 0.75rem;
  cursor: pointer;
  font-family: var(--font-serif);
}
.auth-tab.active {
  color: var(--color-gold, #c8a46a);
  border-bottom: 2px solid var(--color-gold, #c8a46a);
}
.auth-form .form-group {
  margin-bottom: 1.25rem;
}
.auth-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: #ccc;
}
.auth-form .form-input {
  width: 100%;
  padding: 0.75rem;
  background: #0a0c0a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 4px;
  box-sizing: border-box;
}
.auth-form .form-input:focus {
  outline: none;
  border-color: var(--color-gold, #c8a46a);
}
.auth-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.full-width {
  width: 100%;
}

/* ============================================
   HEADER ACCOUNT DROPDOWN & HOVER STYLES
   ============================================ */

.user-account-wrapper,
.header-cart-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-icon-btn {
  background: transparent;
  border: none;
  color: #EFEDED;
  cursor: pointer;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  transition: all var(--transition-fast);
  opacity: 0.85;
  position: relative;
}

.header-icon-btn:hover,
.user-account-wrapper:hover .header-icon-btn,
.header-cart-wrapper:hover .header-icon-btn {
  opacity: 1;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.user-badge {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold);
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 10px;
  background: rgba(21, 24, 21, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 164, 106, 0.3);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  min-width: 190px;
  padding: 8px 0;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.user-account-wrapper:hover .header-dropdown-menu,
.user-account-wrapper:focus-within .header-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-header-info {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 600;
  word-break: break-all;
}

.dropdown-links a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.dropdown-links a.text-danger {
  color: #ff6b6b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-links a.text-danger:hover {
  background: rgba(255, 80, 80, 0.15);
  color: #ff8888;
}

/* ============================================
   HEADER CART HOVER DROPDOWN STYLES
   ============================================ */

.cart-hover-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 10px;
  background: rgba(21, 24, 21, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 164, 106, 0.3);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
  width: 290px;
  padding: 14px;
  z-index: 2002;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.header-cart-wrapper:hover .cart-hover-dropdown,
.header-cart-wrapper:focus-within .cart-hover-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-hover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
}

.cart-hover-items {
  max-height: 200px;
  overflow-y: auto;
  padding: 8px 0;
}

.cart-hover-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-hover-item img,
.cart-hover-item-placeholder {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.cart-hover-item-details {
  flex: 1;
  overflow: hidden;
}

.cart-hover-item-title {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-hover-item-qty {
  color: var(--color-muted);
  font-size: 0.75rem;
}

.cart-hover-item-price {
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-hover-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  margin-top: 6px;
}

/* Commerce surfaces: mobile-first bag and drawer layouts */
.bag-page {
  min-height: 100vh;
  padding: calc(var(--header-height) + 2rem) 0 5rem;
  background: #0a0a0a;
  color: #fff;
}

.bag-shell {
  max-width: 1120px;
}

.bag-header {
  margin: 0 auto 2.2rem;
  text-align: center;
}

.bag-header h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 300;
}

.bag-header-copy {
  margin: .55rem 0 0;
  color: var(--color-muted);
  font-size: .92rem;
}

.bag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 2rem;
  align-items: start;
}

.bag-items {
  display: grid;
  gap: .85rem;
}

.bag-item,
.bag-summary,
.bag-empty-state {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.bag-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
}

.bag-item-image {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background: #151815;
  object-fit: cover;
}

.bag-item-content {
  min-width: 0;
}

.bag-item-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.bag-item-heading h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.bag-item-price {
  flex: 0 0 auto;
  margin: 0;
  color: var(--color-gold);
  font-weight: 600;
  white-space: nowrap;
}

.bag-item-unavailable,
.bag-checkout-warning {
  margin: .7rem 0 0;
  color: #ffb1b1;
  font-size: .82rem;
  line-height: 1.45;
}

.bag-item-unavailable {
  padding: .6rem .7rem;
  border-left: 2px solid #d86d6d;
  background: rgba(216, 109, 109, .08);
}

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

.bag-quantity-control,
.cart-quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  overflow: hidden;
}

.bag-quantity-control button,
.cart-quantity-control button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

.bag-quantity-control button:hover,
.cart-quantity-control button:hover {
  background: rgba(200, 164, 106, .14);
}

.bag-quantity-control span,
.cart-quantity-control span {
  display: grid;
  min-width: 36px;
  height: 40px;
  place-items: center;
  border-inline: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-size: .88rem;
}

.bag-remove-button,
.cart-remove-button {
  border: 0;
  background: transparent;
  color: #ff8e8e;
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
}

.bag-remove-button:hover,
.cart-remove-button:hover {
  color: #fff;
}

.bag-summary {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  padding: 1.4rem;
}

.bag-summary h2 {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 1.45rem;
  font-weight: 400;
}

.bag-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 .55rem;
  font-size: 1.15rem;
}

.bag-summary-total span:last-child {
  color: var(--color-gold);
  font-weight: 700;
}

.bag-summary > p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: .8rem;
  line-height: 1.5;
}

.bag-checkout-button {
  display: flex;
  width: 100%;
  min-height: 50px;
  text-align: center;
}

.bag-continue-link {
  display: block;
  margin-top: .9rem;
  color: var(--color-gold);
  font-size: .8rem;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bag-empty-state {
  padding: 4rem 1.25rem;
  text-align: center;
}

.bag-empty-state h2 {
  margin-bottom: .55rem;
  font-size: 1.6rem;
}

.bag-empty-state p {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  width: min(100%, 420px);
  height: 100dvh;
  flex-direction: column;
  transform: translateX(100%);
  border-left: 1px solid rgba(200, 164, 106, .2);
  background: #111411;
  box-shadow: -10px 0 30px rgba(0, 0, 0, .8);
  color: #fff;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.cart-drawer-header,
.cart-drawer-footer {
  flex: 0 0 auto;
  padding: 1.15rem 1.25rem;
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cart-drawer-header h2 {
  margin: 0;
  color: var(--color-gold);
  font-size: 1.5rem;
}

.cart-drawer-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: .85rem 1.25rem;
  overscroll-behavior: contain;
}

.cart-drawer-loading,
.cart-drawer-empty {
  padding: 2rem 1rem;
  color: var(--color-muted);
  text-align: center;
}

.cart-drawer-empty svg {
  margin-bottom: 1rem;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: .85rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cart-drawer-item-image {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  background: #1a1a1a;
  object-fit: cover;
}

.cart-drawer-item-content {
  min-width: 0;
}

.cart-drawer-item-content h4 {
  margin: 0 0 .25rem;
  font-size: .95rem;
  line-height: 1.3;
}

.cart-drawer-item-content > p {
  margin: 0 0 .65rem;
  color: var(--color-gold);
  font-weight: 600;
}
.cart-item-configuration { display: block; margin: -0.35rem 0 0.65rem; color: rgba(255,255,255,0.58); font-size: .72rem; line-height: 1.4; }
.cart-item-quote-warning { color: #e4a9a9; }

.cart-drawer-item-controls {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
}

.cart-drawer-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .3);
  padding-bottom: max(1.15rem, env(safe-area-inset-bottom));
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.cart-drawer-total span:last-child {
  color: var(--color-gold);
  font-weight: 700;
}

.cart-drawer-primary,
.cart-drawer-secondary {
  display: flex;
  width: 100%;
  min-height: 48px;
  text-align: center;
}

.cart-drawer-primary {
  margin-bottom: .5rem;
}

@media (max-width: 820px) {
  .bag-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .bag-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .bag-page {
    padding-bottom: 3rem;
  }

  .bag-shell {
    width: min(100% - 1.5rem, 720px);
    padding-inline: 0;
  }

  .bag-header {
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .bag-header h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .bag-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: .85rem;
    padding: .85rem;
  }

  .bag-item-image {
    width: 72px;
    height: 72px;
  }

  .bag-item-heading {
    display: block;
  }

  .bag-item-heading h3 {
    font-size: 1rem;
  }

  .bag-item-price {
    margin-top: .25rem;
    font-size: .9rem;
  }

  .bag-item-controls {
    grid-column: 1 / -1;
    margin-top: .4rem;
  }

  .bag-summary {
    padding: 1.1rem;
  }

  .bag-empty-state {
    padding: 3rem 1rem;
  }

  .cart-drawer {
    width: 100%;
    max-width: none;
  }
}

/* Mobile-first order receipt layout */
.receipt-page {
  min-height: 100vh;
  min-width: 0;
  padding: calc(var(--header-height) + 2rem) 0 5rem;
  background: #0a0a0a;
  color: #fff;
}

.receipt-shell {
  min-width: 0;
  max-width: 960px;
}

.receipt-hero {
  margin: 0 auto 2rem;
  text-align: center;
}

.receipt-success-icon {
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  background: rgba(200, 164, 106, .2);
}

.receipt-hero .section-label {
  margin-bottom: .35rem;
}

.receipt-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
}

.receipt-hero > p:last-child {
  margin: .65rem 0 0;
  color: var(--color-muted);
  font-size: 1rem;
}

.receipt-card {
  min-width: 0;
  overflow: hidden;
  padding: clamp(1rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.receipt-meta-card {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 4.45rem;
  gap: .35rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
}

.receipt-meta-label {
  color: var(--color-muted);
  font-size: .68rem;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.receipt-meta-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: .95rem;
  line-height: 1.35;
}

.receipt-meta-status strong {
  color: #4cd964;
  text-transform: uppercase;
}

.receipt-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.receipt-detail-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
}

.receipt-summary {
  padding: 0;
}

.receipt-detail-card h3,
.receipt-summary h3 {
  margin: 0 0 .9rem;
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.receipt-detail-list {
  display: grid;
  gap: .7rem;
  margin: 0;
}

.receipt-detail-row {
  display: grid;
  grid-template-columns: minmax(64px, .34fr) minmax(0, 1fr);
  gap: .75rem;
  min-width: 0;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.receipt-detail-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.receipt-detail-row dt {
  color: var(--color-muted);
  font-size: .73rem;
  line-height: 1.45;
}

.receipt-detail-row dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: .88rem;
  line-height: 1.45;
}

.receipt-address {
  display: flex;
  flex-wrap: wrap;
  gap: .18rem .5rem;
}

.receipt-address span {
  overflow-wrap: anywhere;
}

.receipt-address span:not(:last-child)::after {
  content: ',';
}

.receipt-items {
  display: grid;
  gap: 0;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.receipt-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.receipt-item-main {
  min-width: 0;
}

.receipt-item-name {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.receipt-item-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: .55rem;
  margin-top: .85rem;
}

.receipt-item-stat {
  display: grid;
  min-width: 0;
  gap: .25rem;
  padding: .65rem .7rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.receipt-item-stat span {
  color: var(--color-muted);
  font-size: .65rem;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.receipt-item-stat strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: .9rem;
  line-height: 1.3;
}

.receipt-item-stat-total strong {
  color: var(--color-gold);
}

.receipt-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 1.25rem;
  font-weight: 700;
}

.receipt-total strong {
  color: var(--color-gold);
  text-align: right;
  white-space: nowrap;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.receipt-refund-panel {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.15rem;
  border: 1px solid rgba(200,164,106,.28);
  border-radius: 12px;
  background: rgba(200,164,106,.055);
}

.receipt-refund-panel h2 {
  margin: .2rem 0 .35rem;
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: 1.55rem;
}

.receipt-refund-intro,
.receipt-refund-status span,
.receipt-refund-form small {
  color: var(--color-muted);
  line-height: 1.55;
}

.receipt-refund-intro {
  max-width: 48rem;
  margin: 0;
  font-size: .88rem;
}

.receipt-refund-status {
  display: grid;
  gap: .25rem;
  padding: .9rem;
  border: 1px solid rgba(255,191,102,.25);
  border-radius: 8px;
  background: rgba(255,191,102,.08);
}

.receipt-refund-status strong {
  color: var(--color-gold);
}

.receipt-refund-form {
  display: grid;
  gap: .85rem;
}

.receipt-refund-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.receipt-refund-form label {
  display: grid;
  gap: .35rem;
  color: var(--color-muted);
  font-size: .78rem;
}

.receipt-refund-form label span {
  font-size: .7rem;
}

.receipt-refund-form select,
.receipt-refund-form input,
.receipt-refund-form textarea {
  width: 100%;
  min-height: 44px;
  padding: .7rem .75rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  background: #151815;
  color: var(--color-text);
  font: inherit;
}

.receipt-refund-form textarea {
  min-height: 100px;
  resize: vertical;
}

.receipt-refund-form button {
  justify-self: start;
}

.receipt-refund-feedback {
  min-height: 1.2rem;
  margin: 0;
  color: var(--color-muted);
  font-size: .8rem;
}

.receipt-refund-feedback.success {
  color: #85d7a4;
}

.receipt-refund-feedback.error {
  color: #ff8e8e;
}

@media (max-width: 560px) {
  .receipt-refund-form-grid {
    grid-template-columns: 1fr;
  }

  .receipt-refund-form button {
    width: 100%;
  }
}

/* Checkout and receipt presentation: keep the financial story scannable. */
.checkout-summary-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.checkout-summary-heading h2 {
  padding: 0;
  margin: .15rem 0 0;
  border: 0;
}

.checkout-summary-kicker,
.checkout-summary-count {
  margin: 0;
  color: var(--color-muted);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.checkout-summary-count {
  color: var(--color-gold);
  white-space: nowrap;
}

.checkout-summary-items {
  display: grid;
  gap: 0;
}

.checkout-summary-item {
  display: grid !important;
  grid-template-columns: 58px minmax(0,1fr) !important;
  gap: .75rem;
  align-items: start;
  padding: 1rem 0;
}

.checkout-summary-image,
.receipt-item-image {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: #151815;
}

.checkout-summary-item-content,
.receipt-item-main {
  min-width: 0;
}

.checkout-summary-item-heading,
.receipt-item-heading {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: start;
}

.checkout-summary-name,
.receipt-item-name {
  overflow-wrap: anywhere;
}

.checkout-summary-price,
.receipt-item-line-total {
  flex: 0 0 auto;
  color: var(--color-gold);
  font-size: .88rem;
  white-space: nowrap;
}

.checkout-summary-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  margin-top: .45rem;
  color: var(--color-muted);
  font-size: .7rem;
  line-height: 1.4;
}

.checkout-summary-attributes span {
  padding-right: .5rem;
  border-right: 1px solid rgba(255,255,255,.12);
}

.checkout-summary-attributes span:last-child { border-right: 0; }
.checkout-summary-attributes b { color: #ddd; font-weight: 500; }

.checkout-promo {
  padding: .85rem 0 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.checkout-promo label {
  display: block;
  margin-bottom: .4rem;
  color: var(--color-muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-promo > div { display: flex; gap: .5rem; }
.checkout-promo input {
  min-width: 0;
  flex: 1;
  min-height: 42px;
  padding: .65rem .75rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 7px;
  background: #111411;
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.checkout-promo button {
  min-width: 70px;
  border: 1px solid var(--color-gold);
  border-radius: 7px;
  background: transparent;
  color: var(--color-gold);
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
}

.checkout-promo button:disabled { opacity: .55; cursor: wait; }
.checkout-promo p { min-height: 1rem; margin: .4rem 0 0; color: var(--color-muted); font-size: .72rem; }

.checkout-breakdown,
.receipt-breakdown {
  display: grid;
  gap: .65rem;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.checkout-breakdown > div,
.receipt-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #ddd;
  font-size: .84rem;
}

.checkout-breakdown dt,
.checkout-breakdown dd,
.receipt-breakdown dt,
.receipt-breakdown dd { margin: 0; }
.checkout-breakdown dd,
.receipt-breakdown dd { color: #fff; text-align: right; white-space: nowrap; }
.checkout-breakdown small,
.receipt-breakdown small { display: block; margin-top: .15rem; color: var(--color-muted); font-size: .68rem; }
.checkout-breakdown-discount dd,
.receipt-breakdown-discount dd { color: #87d99a; }

.checkout-fulfillment {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
  padding: .95rem;
  border: 1px solid rgba(200,164,106,.22);
  border-radius: 9px;
  background: rgba(200,164,106,.055);
}

.checkout-fulfillment div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.checkout-fulfillment span { color: var(--color-muted); font-size: .72rem; }
.checkout-fulfillment strong { color: #f4eee5; font-size: .78rem; text-align: right; }

.receipt-details-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.receipt-item { grid-template-columns: 72px minmax(0, 1fr); gap: 1rem; }
.receipt-item-image { width: 72px; height: 72px; }
.receipt-item-heading { margin-bottom: .45rem; }
.receipt-item-line-total { font-size: .95rem; }
.receipt-item-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  margin: 0 0 .7rem;
}
.receipt-item-attributes div { display: inline-flex; gap: .25rem; min-width: 0; font-size: .72rem; }
.receipt-item-attributes dt { color: var(--color-muted); }
.receipt-item-attributes dd { margin: 0; color: #ddd; overflow-wrap: anywhere; }
.receipt-item-configuration { margin: 0 0 .7rem; color: var(--color-muted); font-size: .75rem; }
.receipt-breakdown { margin-top: 1rem; }

@media (max-width: 720px) {
  .receipt-details-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .checkout-summary-heading h2 { font-size: 1.35rem; }
  .checkout-summary-item { grid-template-columns: 50px minmax(0,1fr) !important; gap: .65rem; }
  .checkout-summary-image { width: 50px; height: 50px; }
  .checkout-summary-item-heading { display: block; }
  .checkout-summary-price { display: block; margin-top: .25rem; }
  .checkout-fulfillment div { display: grid; gap: .15rem; }
  .checkout-fulfillment strong { text-align: left; }
  .receipt-item { grid-template-columns: 52px minmax(0,1fr); gap: .7rem; }
  .receipt-item-image { width: 52px; height: 52px; }
  .receipt-item-heading { display: block; }
  .receipt-item-line-total { display: block; margin-top: .2rem; }
}

@media (max-width: 720px) {
  .receipt-meta-grid {
    grid-template-columns: 1fr;
  }

  .receipt-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .receipt-page {
    padding-bottom: 3rem;
  }

  .receipt-shell {
    width: min(100% - 1.5rem, 720px);
    padding-inline: 0;
  }

  .receipt-hero {
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .receipt-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .receipt-card {
    padding: 1rem;
  }

  .receipt-meta-grid {
    grid-template-columns: 1fr;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .receipt-details-grid {
    gap: .75rem;
    margin-bottom: 1.5rem;
  }

  .receipt-detail-card {
    padding: .9rem;
  }

  .receipt-detail-row {
    grid-template-columns: 1fr;
    gap: .2rem;
  }

  .receipt-detail-row dt {
    font-size: .66rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .receipt-item-pricing {
    gap: .4rem;
  }

  .receipt-item-stat {
    padding: .6rem .55rem;
  }

  .receipt-item-stat strong {
    font-size: clamp(.76rem, 3.2vw, .9rem);
  }

  .receipt-total {
    font-size: 1.1rem;
  }

  .receipt-actions {
    flex-direction: column;
    gap: .65rem;
  }

  .receipt-actions .btn {
    width: 100%;
    min-height: 48px;
  }
}

@media print {
  .receipt-page {
    padding: 1rem 0;
    background: #fff;
    color: #111;
  }

  .receipt-hero,
  .receipt-card {
    color: #111;
  }

  .receipt-actions,
  .header,
  .footer {
    display: none !important;
  }
}

