/* ==========================================================================
   Dina Collection Store — Editorial Luxury Boutique Stylesheet
   ========================================================================== */

:root {
  --bg-ivory: #faf7f2;
  --bg-warm: #f2ebe1;
  --bg-card: #ffffff;
  --bg-dark: #15110f;
  --bg-dark-soft: #201a17;
  --bg-dark-card: #28211d;

  --ink: #1a1512;
  --ink-soft: #4e443d;
  --ink-muted: #786c63;
  --cream: #f7f1e8;
  --cream-muted: rgba(247, 241, 232, 0.72);

  --gold: #c59b5f;
  --gold-light: #e2c493;
  --gold-dark: #9e763e;
  --wine: #8c3443;
  --wine-soft: rgba(140, 52, 67, 0.1);
  --sage: #586f5c;

  --whatsapp: #1d9e53;
  --whatsapp-hover: #168344;
  --whatsapp-glow: rgba(29, 158, 83, 0.28);

  --border-light: rgba(26, 21, 18, 0.09);
  --border-dark: rgba(247, 241, 232, 0.12);

  --shadow-sm: 0 4px 18px rgba(21, 17, 15, 0.05);
  --shadow-md: 0 14px 36px rgba(21, 17, 15, 0.08);
  --shadow-lg: 0 26px 60px rgba(21, 17, 15, 0.16);
  --shadow-dark: 0 24px 64px rgba(0, 0, 0, 0.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1300px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg-ivory);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--wine));
  z-index: 1200;
  transition: width 0.08s linear;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: background-color 0.4s var(--ease-out-expo),
              backdrop-filter 0.4s var(--ease-out-expo),
              border-color 0.4s ease,
              padding 0.35s ease;
  border-bottom: 1px solid transparent;
  color: var(--cream);
}

.site-header.is-scrolled {
  background: rgba(21, 17, 15, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border-dark);
  padding: 0.65rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-logo__main {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cream);
}

.brand-logo__main em {
  font-style: italic;
  color: var(--gold-light);
}

.brand-logo__sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-light);
  opacity: 0.85;
  margin-top: 0.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream-muted);
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1.5px;
  background: var(--gold-light);
  transition: width 0.3s var(--ease-out-expo);
}

.main-nav a:hover {
  color: var(--cream);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-order-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(247, 241, 232, 0.1);
  border: 1px solid rgba(226, 196, 147, 0.35);
  color: var(--cream);
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-order-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-1px);
}

.btn-order-pill.has-items {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
}

.order-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-dark);
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-order-pill.is-bumping .order-count-badge {
  animation: badgeBump 0.45s var(--ease-out-expo);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--cream);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  background: radial-gradient(circle at 75% 28%, rgba(197, 155, 95, 0.16) 0%, transparent 45%),
              radial-gradient(circle at 18% 82%, rgba(140, 52, 67, 0.22) 0%, transparent 45%),
              var(--bg-dark);
  color: var(--cream);
  padding: 7.5rem 0 4.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__ambient-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(247, 241, 232, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(247, 241, 232, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
  pointer-events: none;
  animation: floatSlow 11s ease-in-out infinite alternate;
}

.hero__orb--gold {
  width: 340px;
  height: 340px;
  background: var(--gold);
  top: -80px;
  right: 8%;
}

.hero__orb--wine {
  width: 300px;
  height: 300px;
  background: var(--wine);
  bottom: -60px;
  left: -40px;
  animation-delay: -5s;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(226, 196, 147, 0.3);
  background: rgba(226, 196, 147, 0.08);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s var(--ease-out-expo) both;
}

.hero-eyebrow .dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 0 rgba(29, 158, 83, 0.7);
  animation: pulseDot 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.4vw, 4.7rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 0 0 1.4rem;
  animation: fadeSlideUp 0.9s var(--ease-out-expo) 0.1s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--cream-muted);
  max-width: 56ch;
  margin: 0 0 2rem;
  animation: fadeSlideUp 0.9s var(--ease-out-expo) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.2rem;
  animation: fadeSlideUp 0.9s var(--ease-out-expo) 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.95rem 1.7rem;
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo),
              background-color 0.25s ease,
              border-color 0.25s ease;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-dark);
  box-shadow: 0 14px 32px rgba(197, 155, 95, 0.28);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(197, 155, 95, 0.38);
}

.btn--ghost-light {
  background: rgba(247, 241, 232, 0.06);
  color: var(--cream);
  border: 1px solid rgba(247, 241, 232, 0.24);
}

.btn--ghost-light:hover {
  background: rgba(247, 241, 232, 0.14);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 12px 28px var(--whatsapp-glow);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(29, 158, 83, 0.38);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  animation: fadeSlideUp 0.9s var(--ease-out-expo) 0.4s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--cream-muted);
}

.hero-trust-item svg {
  color: var(--gold-light);
  flex-shrink: 0;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  animation: fadeScaleIn 1.1s var(--ease-out-expo) 0.2s both;
}

.hero-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(226, 196, 147, 0.28);
  box-shadow: var(--shadow-dark);
  aspect-ratio: 4 / 4.5;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s var(--ease-out-expo);
}

.hero-frame:hover img {
  transform: scale(1.06);
}

.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 17, 15, 0.72) 0%, transparent 45%);
  pointer-events: none;
}

.hero-floating-card {
  position: absolute;
  z-index: 3;
  background: rgba(28, 22, 19, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 196, 147, 0.28);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  color: var(--cream);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-floating-card--top {
  top: 1.5rem;
  right: -1.2rem;
  animation: floatY 5.5s ease-in-out infinite;
}

.hero-floating-card--bottom {
  bottom: 1.5rem;
  left: -1.5rem;
  max-width: 280px;
  animation: floatY 6.5s ease-in-out infinite reverse;
}

.hero-floating-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.2rem;
}

.hero-floating-card__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
}

.hero-floating-card__sub {
  font-size: 0.77rem;
  color: var(--cream-muted);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Animated Brand & Category Marquee
   ========================================================================== */
.marquee-band {
  background: #1d1714;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 0.95rem 0;
  overflow: hidden;
  color: var(--gold-light);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

/* ==========================================================================
   Section Headers & Shared Utilities
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section--warm {
  background: var(--bg-warm);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--cream);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  margin-bottom: 0.55rem;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--wine);
}

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

.section-desc {
  max-width: 48ch;
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.96rem;
}

.section--dark .section-desc {
  color: var(--cream-muted);
}

/* ==========================================================================
   How It Works Strip (Background Form -> WhatsApp Flow)
   ========================================================================== */
.flow-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: -2.2rem;
  position: relative;
  z-index: 4;
}

.flow-step {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.flow-step__num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step__title {
  font-weight: 700;
  font-size: 0.96rem;
  margin: 0 0 0.25rem;
}

.flow-step__text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Department Bento Showcase (10 Specialties)
   ========================================================================== */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.dept-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 230px;
  background: var(--bg-dark);
  color: var(--cream);
  border: 1px solid rgba(26, 21, 18, 0.12);
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.dept-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.dept-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo), filter 0.4s ease;
}

.dept-card:hover .dept-card__img {
  transform: scale(1.08);
}

.dept-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 17, 15, 0.92) 8%, rgba(21, 17, 15, 0.45) 55%, rgba(21, 17, 15, 0.12) 100%);
}

.dept-card__body {
  position: relative;
  z-index: 2;
  padding: 1.15rem;
}

.dept-card__badge {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(226, 196, 147, 0.22);
  border: 1px solid rgba(226, 196, 147, 0.35);
  color: var(--gold-light);
  margin-bottom: 0.45rem;
}

.dept-card__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.25rem;
}

.dept-card__sub {
  font-size: 0.76rem;
  color: var(--cream-muted);
  margin: 0;
  line-height: 1.35;
}

/* ==========================================================================
   Interactive Catalog Controls & Product Cards
   ========================================================================== */
.catalog-controls {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.catalog-top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.search-box {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
}

.search-box svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-ivory);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 95, 0.18);
}

.catalog-meta-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.catalog-count {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.sort-select {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-ivory);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.52rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-ivory);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s var(--ease-out-expo);
}

.category-tab:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.category-tab.is-active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--gold-light);
  box-shadow: 0 6px 16px rgba(21, 17, 15, 0.16);
}

.category-tab__count {
  font-size: 0.72rem;
  opacity: 0.7;
}

/* Assurance Banner when filtering special lines */
.context-assurance {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.6rem;
  font-size: 0.88rem;
  border: 1px solid rgba(197, 155, 95, 0.35);
  background: linear-gradient(90deg, rgba(197, 155, 95, 0.12), rgba(140, 52, 67, 0.06));
  animation: fadeSlideUp 0.4s var(--ease-out-expo) both;
}

.context-assurance.is-visible {
  display: flex;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo),
              border-color 0.3s ease;
  animation: fadeSlideUp 0.55s var(--ease-out-expo) both;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card.is-selected {
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(197, 155, 95, 0.22);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

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

.product-card__badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  pointer-events: none;
}

.product-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(21, 17, 15, 0.82);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
}

.product-selected-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 158, 83, 0.35);
  animation: popConfirm 0.35s var(--ease-out-expo);
}

.product-card__body {
  padding: 1.25rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__brand {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.45rem;
}

.product-card__desc {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.variant-group {
  margin-top: auto;
  margin-bottom: 1.05rem;
}

.variant-group__label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}

.variant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.variant-chip {
  padding: 0.34rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-ivory);
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

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

.variant-chip.is-active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--gold-light);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-light);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.product-price__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.product-price__value {
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.btn-add-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--bg-dark);
  background: var(--bg-dark);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s var(--ease-out-expo);
}

.btn-add-item:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-1px);
}

.qty-control-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-dark);
  color: var(--cream);
  padding: 0.26rem 0.35rem;
  border-radius: var(--radius-pill);
  animation: popConfirm 0.3s var(--ease-out-expo);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(247, 241, 232, 0.14);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.qty-btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.qty-value {
  min-width: 22px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.empty-catalog {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(26, 21, 18, 0.2);
}

/* ==========================================================================
   Editorial Spotlight (Apple iPhones + Dina Collection + Discreet Shipping)
   ========================================================================== */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.spotlight-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark-soft);
  border: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 360px;
}

.spotlight-card__content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.65rem;
}

.spotlight-card__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.spotlight-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: var(--cream-muted);
}

.spotlight-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spotlight-card__list li::before {
  content: '✦';
  color: var(--gold-light);
  font-size: 0.78rem;
}

.spotlight-card__media {
  position: relative;
  overflow: hidden;
}

.spotlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.spotlight-card:hover .spotlight-card__media img {
  transform: scale(1.06);
}

/* ==========================================================================
   Order Form Studio (Background Form + Live WhatsApp Message Composer)
   ========================================================================== */
.checkout-studio {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

#bg-form-hidden-fields,
#bg-serialized-order {
  display: none;
}

.checkout-studio > *,
.hero-grid > *,
.spotlight-card > * {
  min-width: 0;
}

.studio-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  min-width: 0;
  max-width: 100%;
}

.studio-panel__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.3rem;
}

.studio-panel__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}

.sync-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.78rem;
  border-radius: var(--radius-pill);
  background: rgba(29, 158, 83, 0.1);
  color: var(--whatsapp-hover);
  font-size: 0.74rem;
  font-weight: 700;
}

.sync-status-pill .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
}

.selected-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 440px;
  overflow-y: auto;
  padding: 0.2rem 0.25rem 0.2rem 0;
}

.selected-empty {
  text-align: center;
  padding: 2.5rem 1.2rem;
  background: var(--bg-ivory);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(26, 21, 18, 0.2);
}

.selected-item-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.95rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  animation: fadeSlideUp 0.3s var(--ease-out-expo) both;
}

.selected-item-row__img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.selected-item-row__info h4 {
  margin: 0 0 0.18rem;
  font-size: 0.93rem;
  font-weight: 700;
}

.selected-item-row__meta {
  font-size: 0.77rem;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.selected-item-row__unit {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.selected-item-row__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.mini-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.35rem;
}

.mini-stepper button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--bg-warm);
  color: var(--ink);
  font-weight: 700;
}

.mini-stepper button:hover {
  background: var(--bg-dark);
  color: var(--gold-light);
}

.btn-remove-item {
  border: none;
  background: transparent;
  color: var(--wine);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0;
}

.btn-remove-item:hover {
  text-decoration: underline;
}

.order-summary-totals {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.summary-line--total {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-light);
}

/* Checkout Form Fields & Live WhatsApp Message Preview */
.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-group--full {
  grid-column: 1 / -1;
}

.field-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-ivory);
  color: var(--ink);
  font-size: 0.88rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 95, 0.16);
}

.wa-preview-card {
  margin-top: 1.25rem;
  border-radius: var(--radius-md);
  background: #ece5dd;
  border: 1px solid rgba(21, 17, 15, 0.1);
  overflow: hidden;
}

.wa-preview-card__header {
  background: #075e54;
  color: #ffffff;
  padding: 0.65rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.wa-preview-card__header span:last-child {
  white-space: nowrap;
  font-size: 0.72rem;
  opacity: 0.9;
}

.wa-preview-card__body {
  padding: 0.95rem 1rem;
}

.wa-bubble {
  background: #d9fdd3;
  color: #111b21;
  border-radius: 12px 12px 2px 12px;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 210px;
  overflow-y: auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.checkout-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.btn--full {
  width: 100%;
}

.btn--secondary-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--ink-soft);
}

.btn--secondary-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ==========================================================================
   Floating Sticky Bottom Bar + Slide-over Drawer + Modals + Toast
   ========================================================================== */
.floating-cart-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%, 130%);
  z-index: 950;
  width: min(calc(100% - 2rem), 680px);
  background: rgba(21, 17, 15, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 196, 147, 0.38);
  border-radius: var(--radius-pill);
  padding: 0.65rem 0.75rem 0.65rem 1.35rem;
  color: var(--cream);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.45s var(--ease-out-expo);
}

.floating-cart-bar.is-visible {
  transform: translate(-50%, 0);
}

.floating-cart-bar__summary {
  display: flex;
  flex-direction: column;
}

.floating-cart-bar__count {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
}

.floating-cart-bar__total {
  font-size: 1.05rem;
  font-weight: 700;
}

.floating-cart-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.82rem;
}

/* Slide-Over Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 9, 0.62);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.order-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 460px);
  background: var(--bg-ivory);
  z-index: 1110;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.42s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

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

.order-drawer__head {
  padding: 1.35rem 1.5rem;
  background: var(--bg-dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-drawer__head h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0;
}

.btn-close-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--cream);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-drawer__body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.order-drawer__foot {
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 9, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  width: min(100%, 480px);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: transform 0.35s var(--ease-out-expo);
}

.modal-overlay.is-open .modal-card {
  transform: scale(1);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 5rem;
  right: 1.25rem;
  z-index: 1250;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast-item {
  background: var(--bg-dark);
  color: var(--cream);
  border: 1px solid rgba(226, 196, 147, 0.38);
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.84rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: toastSlideIn 0.38s var(--ease-out-expo) both;
}

/* Footer */
.site-footer {
  background: #110d0b;
  color: var(--cream-muted);
  padding: 3.5rem 0 6.5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.footer-links a:hover,
.footer-admin-btn:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-admin-btn {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--cream-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
}

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floatSlow {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(24px, -18px) scale(1.06);
  }
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 158, 83, 0.65);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(29, 158, 83, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(29, 158, 83, 0);
  }
}

@keyframes popConfirm {
  0% {
    transform: scale(0.84);
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes badgeBump {
  0%, 100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.38);
  }
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .checkout-studio {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-floating-card--top {
    right: 0.75rem;
    top: 0.75rem;
  }

  .hero-floating-card--bottom {
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .flow-strip {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #15110f;
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  }

  .main-nav.is-open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--container-max));
  }

  .brand-logo__main {
    font-size: 1.32rem;
  }

  .brand-logo__sub {
    font-size: 0.56rem;
    letter-spacing: 0.2em;
  }

  .btn-order-pill {
    padding: 0.45rem 0.78rem;
    font-size: 0.78rem;
    gap: 0.42rem;
  }

  .departments-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .dept-card {
    min-height: 205px;
  }

  .dept-card__body {
    padding: 0.85rem;
  }

  .dept-card__badge {
    font-size: 0.56rem;
    letter-spacing: 0.06em;
    padding: 0.18rem 0.48rem;
  }

  .dept-card__title {
    font-size: 1.15rem;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .spotlight-card__media {
    min-height: 220px;
  }

  .studio-panel {
    padding: 1.2rem;
  }

  .order-form-grid {
    grid-template-columns: 1fr;
  }

  .selected-item-row {
    grid-template-columns: 56px 1fr;
    gap: 0.7rem;
  }

  .selected-item-row__img {
    width: 56px;
    height: 56px;
  }

  .selected-item-row__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(26, 21, 18, 0.06);
  }

  .floating-cart-bar {
    width: calc(100% - 1.5rem);
    border-radius: var(--radius-lg);
    padding: 0.65rem 0.8rem;
    bottom: 0.65rem;
    gap: 0.6rem;
  }

  .floating-cart-bar__actions .btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.55rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero-floating-card--top,
  .hero-floating-card--bottom {
    position: static;
    margin-top: 0.75rem;
    max-width: 100%;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
