/* Luminova — design tokens & global styles */

:root {
  /* Palette — warm neutrals */
  --cream: #F5EFE6;
  --cream-2: #EFE7DA;
  --paper: #FAF6EF;
  --ink: #1F1A14;
  --ink-2: #2C2620;
  --muted: #8B7E6E;
  --line: #DDD3C2;
  --line-soft: #E8DFD0;

  /* Accents */
  --amber: oklch(0.74 0.14 55);    /* warm lamp glow */
  --amber-soft: oklch(0.86 0.08 60);
  --sage: oklch(0.78 0.035 130);
  --terracotta: oklch(0.66 0.12 35);

  /* Type */
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing rhythm */
  --gutter: clamp(20px, 4vw, 56px);
  --sect-y: clamp(72px, 10vw, 144px);

  /* Radius */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--amber); color: var(--ink); }

/* Viewport-frame mode for the Tweaks "device preview" */
body.lux-viewport-mode {
  background: #1A1612;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 0;
  min-height: 100vh;
}
body.lux-viewport-mode .lux-app {
  background: var(--cream);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.55), 0 20px 40px -20px rgba(0,0,0,0.4);
  position: relative;
}
body.lux-viewport-mode .lux-app[data-viewport="mobile"] {
  width: 390px;
  height: calc(100vh - 56px);
  max-height: 844px;
  border-radius: 44px;
  border: 9px solid #0E0B08;
}
body.lux-viewport-mode .lux-app[data-viewport="tablet"] {
  width: 820px;
  height: calc(100vh - 56px);
  max-height: 1100px;
  border-radius: 32px;
  border: 12px solid #0E0B08;
}
body.lux-viewport-mode .lux-app[data-viewport="desktop"] {
  width: min(1440px, calc(100vw - 56px));
  height: calc(100vh - 56px);
  border-radius: 18px;
  border: 1px solid #2A241D;
}

/* Inner scroll for previewed app */
body.lux-viewport-mode .lux-app .lux-scroll {
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
}
body:not(.lux-viewport-mode) .lux-app .lux-scroll {
  min-height: 100vh;
}

/* Make sticky elements pin within the inner scroll area when framed */
body.lux-viewport-mode .lux-app .lux-header { position: sticky; top: 0; }

/* Type scale */
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
  font-size: clamp(48px, 9vw, 132px);
}
.h-display em {
  font-style: italic;
  color: var(--terracotta);
}
.h-section {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.0;
  font-size: clamp(36px, 6vw, 80px);
}
.h-section em { font-style: italic; color: var(--terracotta); }

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--muted);
}

.body-lg {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all 220ms ease;
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
}
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost:hover { background: var(--cream-2); }

/* Frame container */
.frame {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Section */
.section {
  padding-top: var(--sect-y);
  padding-bottom: var(--sect-y);
}

/* Hairline divider */
.hairline { border: none; border-top: 1px solid var(--line); margin: 0; }

/* —————————————————————— HEADER —————————————————————— */
.lux-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--cream) 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.lux-header.scrolled { border-bottom-color: var(--line); }
.lux-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
}
.lux-logo {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.lux-logo .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
  box-shadow: 0 0 14px 2px var(--amber-soft);
  align-self: center;
  margin-right: 2px;
}
.lux-nav {
  display: flex; align-items: center; gap: 28px;
}
.lux-nav a {
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color 180ms;
}
.lux-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
  transition: right 220ms ease;
}
.lux-nav a:hover::after, .lux-nav a.active::after { right: 0; }

.lux-actions {
  display: flex; align-items: center; gap: 14px;
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
  position: relative;
  transition: all 180ms;
}
.icon-btn:hover { background: var(--cream-2); border-color: var(--line); }
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--terracotta);
  color: white;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
}

.hamburger { display: none; }
.lux-mobile-only { display: none; }

@media (max-width: 820px) {
  .lux-nav { display: none; }
  .hamburger { display: inline-flex; }
}

/* mobile menu sheet */
.lux-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 22px var(--gutter) 40px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all 280ms ease;
}
.lux-mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
body.lux-viewport-mode .lux-mobile-menu { position: absolute; }
.lux-mobile-menu-top {
  display: flex; justify-content: space-between; align-items: center;
}
.lux-mobile-menu nav {
  margin-top: 60px;
  display: flex; flex-direction: column; gap: 4px;
}
.lux-mobile-menu nav a {
  font-family: var(--serif);
  font-size: 44px;
  letter-spacing: -0.02em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.lux-mobile-menu nav a em { font-style: italic; color: var(--terracotta); }

.lux-mobile-meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 8px;
}

/* —————————————————————— HERO / NOVEDADES —————————————————————— */
.hero {
  position: relative;
  padding: clamp(12px, 2vw, 24px) var(--gutter) clamp(56px, 8vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.hero-meta .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 var(--amber);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.74 0.14 55 / 0.5); }
  70% { box-shadow: 0 0 0 12px oklch(0.74 0.14 55 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.74 0.14 55 / 0); }
}

.hero-headline { margin: 0; }
.hero-tagline { color: var(--ink-2); max-width: 46ch; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-product {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-2);
  isolation: isolate;
}
.hero-product img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 800ms ease;
}
.hero-product:hover img { transform: scale(1.06); }

/* Carousel */
.hero-carousel-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 900ms ease, transform 6000ms ease;
  pointer-events: none;
}
.hero-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1.0);
  pointer-events: auto;
}
.hero-carousel .hero-tag,
.hero-carousel .hero-spec {
  animation: heroFade 600ms ease both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-carousel-dots {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  z-index: 2;
}
.hero-carousel-dot {
  position: relative;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: color-mix(in oklab, var(--ink) 16%, transparent);
  cursor: pointer;
  overflow: hidden;
  transition: width 300ms ease, background 300ms ease;
}
.hero-carousel-dot.is-active {
  width: 44px;
  background: color-mix(in oklab, var(--ink) 22%, transparent);
}
.hero-carousel-dot-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--terracotta, #E8915C);
  border-radius: inherit;
}
.hero-carousel-dot.is-active .hero-carousel-dot-fill {
  animation: heroDot 4200ms linear forwards;
}
@keyframes heroDot {
  from { width: 0; }
  to   { width: 100%; }
}
.hero-product::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 50%;
  width: 80%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, oklch(0.74 0.14 55 / 0.55), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
  z-index: -1;
  animation: glow 5s ease-in-out infinite alternate;
}
@keyframes glow {
  from { opacity: 0.7; transform: translateX(-50%) scale(1); }
  to   { opacity: 1.0; transform: translateX(-50%) scale(1.08); }
}

.hero-tag {
  position: absolute;
  top: 20px; left: 20px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-soft);
}
.hero-spec {
  position: absolute;
  bottom: 20px; right: 20px;
  padding: 14px 18px;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.6;
  text-align: right;
}
.hero-spec strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
  display: block;
  color: var(--ink);
}

.hero-marquee {
  margin-top: clamp(40px, 6vw, 80px);
  display: flex;
  gap: 40px;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 40px);
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero-marquee-track {
  display: flex; gap: 40px; align-items: center;
  animation: marquee 38s linear infinite;
  flex-shrink: 0;
}
.hero-marquee span { display: inline-flex; align-items: center; gap: 40px; }
.hero-marquee .sep {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  flex-shrink: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* —————————————————————— FEATURED STRIP —————————————————————— */
.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.featured-cell {
  background: var(--cream);
  padding: 28px var(--gutter);
  display: flex; flex-direction: column; gap: 6px;
}
.featured-cell .num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.featured-cell .num em { font-style: italic; color: var(--terracotta); }
.featured-cell .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 700px) {
  .featured-strip { grid-template-columns: 1fr; }
}

/* —————————————————————— PRODUCTOS —————————————————————— */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .meta { display: flex; flex-direction: column; gap: 8px; }

.filter-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.chip {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  transition: all 180ms;
  font-family: var(--sans);
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip .cnt { color: var(--muted); margin-left: 6px; font-size: 11px; }
.chip.active .cnt { color: color-mix(in oklab, var(--cream) 60%, transparent); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px) clamp(12px, 2vw, 24px);
}
@media (min-width: 720px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
.lux-app[data-viewport="mobile"] .product-grid { grid-template-columns: repeat(2, 1fr); }
.lux-app[data-viewport="tablet"] .product-grid { grid-template-columns: repeat(3, 1fr); }
.lux-app[data-viewport="desktop"] .product-grid { grid-template-columns: repeat(4, 1fr); }

.product-card {
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.product-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream-2);
  isolation: isolate;
  margin-bottom: 14px;
}
.product-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card:hover .product-image-wrap img { transform: scale(1.045); }

/* glow-on hover effect */
.product-image-wrap::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at 50% 60%, oklch(0.74 0.14 55 / 0.55), transparent 60%);
  opacity: 0;
  transition: opacity 600ms ease;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: blur(18px);
}
.product-card:hover .product-image-wrap::before { opacity: 1; }

.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}
.product-tag.new { background: var(--ink); color: var(--cream); }
.product-tag.glow { background: var(--amber); color: var(--ink); }

.product-quickadd {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  border: none;
  font-family: var(--sans);
  transform: translateY(8px);
  opacity: 0;
  transition: all 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card:hover .product-quickadd { transform: translateY(0); opacity: 1; }
.product-quickadd.added { background: var(--sage); color: var(--ink); }

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.product-name {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
.product-price {
  font-family: var(--sans);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.product-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.product-colors {
  display: flex; gap: 5px;
  margin-top: 10px;
}
.swatch {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
}

/* —————————————————————— STORY / QUIENES SOMOS —————————————————————— */
.story-section {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.story-section .h-section em { color: var(--amber-soft); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 60px);
}
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; align-items: end; }
}
.story-image {
  aspect-ratio: 5/6;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: #2a241d;
}
.story-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}
.story-image::after {
  content: "";
  position: absolute;
  bottom: -10%; left: 50%;
  width: 80%; height: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, oklch(0.74 0.14 55 / 0.6), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.story-copy { display: flex; flex-direction: column; gap: 28px; }
.story-copy .body-lg { color: color-mix(in oklab, var(--cream) 80%, transparent); }
.story-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 600px) { .story-pillars { grid-template-columns: 1fr; } }
.pillar {
  border-top: 1px solid color-mix(in oklab, var(--cream) 18%, transparent);
  padding-top: 16px;
}
.pillar h4 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 6px;
  font-weight: 400;
}
.pillar p {
  font-size: 13px;
  line-height: 1.5;
  color: color-mix(in oklab, var(--cream) 70%, transparent);
  margin: 0;
}

/* —————————————————————— CONTACT —————————————————————— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 60px);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.contact-info-block {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.contact-info-block .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-info-block .value {
  font-family: var(--serif);
  font-size: 22px;
}
.contact-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-socials a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 180ms;
}
.contact-socials a:hover { border-color: var(--ink); background: var(--cream-2); }

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  resize: vertical;
  outline: none;
  transition: border-color 200ms;
}
.field textarea { font-family: var(--sans); font-size: 16px; line-height: 1.5; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--muted) 65%, transparent); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field.error input, .field.error textarea { border-bottom-color: var(--terracotta); }
.field .err {
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-success {
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start;
}
.form-success .ic {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--sage);
  display: inline-flex; align-items: center; justify-content: center;
}

/* —————————————————————— FOOTER —————————————————————— */
.lux-footer {
  background: var(--cream-2);
  padding: clamp(48px, 6vw, 80px) var(--gutter) 32px;
  border-top: 1px solid var(--line);
}
.lux-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 800px) {
  .lux-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lux-footer-brand { grid-column: 1 / -1; }
}
.lux-footer-brand .logo { font-family: var(--serif); font-size: 38px; line-height: 1; }
.lux-footer-brand p { font-size: 14px; color: var(--ink-2); max-width: 32ch; margin: 14px 0 0; }
.lux-footer-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.lux-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lux-footer-col a { font-size: 14px; transition: color 160ms; }
.lux-footer-col a:hover { color: var(--terracotta); }

.lux-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.lux-footer-mega {
  font-family: var(--serif);
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0 0 40px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
}
.lux-footer-mega em { color: var(--terracotta); font-style: italic; }

/* —————————————————————— CART DRAWER —————————————————————— */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15, 12, 8, 0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 250ms;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
body.lux-viewport-mode .drawer-overlay { position: absolute; }

.drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--paper);
  z-index: 91;
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.2);
}
.drawer.open { transform: translateX(0); }
body.lux-viewport-mode .drawer { position: absolute; }

.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-family: var(--serif); font-size: 28px; margin: 0; font-weight: 400; }
.drawer-body {
  flex: 1; overflow-y: auto;
  padding: 18px 26px;
}
.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 22px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.drawer-row { display: flex; justify-content: space-between; font-size: 14px; }
.drawer-row.total { font-family: var(--serif); font-size: 22px; }

.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px;
  padding: 60px 20px; text-align: center;
}
.cart-empty .ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream-2);
  display: inline-flex; align-items: center; justify-content: center;
}

.cart-line {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.cart-line:last-child { border-bottom: none; }
.cart-line .thumb {
  width: 70px; height: 84px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-2);
}
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .info { display: flex; flex-direction: column; gap: 4px; }
.cart-line .info .nm { font-family: var(--serif); font-size: 18px; line-height: 1; }
.cart-line .info .pr { font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.06em; }
.cart-line .qty { display: flex; align-items: center; gap: 4px; }
.cart-line .qty button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.cart-line .qty button:hover { background: var(--cream-2); }
.cart-line .qty span { min-width: 18px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 13px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 280ms;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.35);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
body.lux-viewport-mode .toast { position: absolute; }

/* Reveal-on-scroll (poor man's IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* —————————————————————— PRODUCT DETAIL VIEW —————————————————————— */
.pdp-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--cream);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.pdp-overlay.open { opacity: 1; pointer-events: auto; }
body.lux-viewport-mode .pdp-overlay { position: absolute; }

.pdp-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in oklab, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.pdp-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}
.pdp-breadcrumb a:hover { color: var(--ink); }
.pdp-breadcrumb .crumb-current { color: var(--ink); }
.pdp-breadcrumb .sep { color: var(--line); }

.pdp-close {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  transition: all 180ms;
  font-family: var(--sans);
}
.pdp-close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.pdp-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(56px, 8vw, 100px);
  max-width: 1440px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .pdp-body {
    grid-template-columns: 80px 1fr 1fr;
    gap: 24px clamp(32px, 4vw, 64px);
  }
}
.lux-app[data-viewport="desktop"] .pdp-body { grid-template-columns: 80px 1fr 1fr; gap: 24px 64px; }
.lux-app[data-viewport="tablet"] .pdp-body { grid-template-columns: 70px 1fr 1fr; gap: 18px 32px; }
.lux-app[data-viewport="mobile"] .pdp-body { grid-template-columns: 1fr; gap: 28px; }

/* Thumbnail strip */
.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 899px) {
  .pdp-thumbs { flex-direction: row; order: 2; }
}
.lux-app[data-viewport="mobile"] .pdp-thumbs { flex-direction: row; order: 2; }
.pdp-thumb {
  width: 70px; height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream-2);
  border: 1.5px solid transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 200ms, transform 200ms;
  position: relative;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.active { border-color: var(--ink); }
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb-arrows {
  display: flex; gap: 6px;
  margin-top: 4px;
}
.pdp-thumb-arrows button {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
}
.pdp-thumb-arrows button:hover { background: var(--cream-2); }

/* Main image */
.pdp-main-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-2);
  isolation: isolate;
}
@media (max-width: 899px) {
  .pdp-main-image { order: 1; }
}
.lux-app[data-viewport="mobile"] .pdp-main-image { order: 1; }
.pdp-main-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 280ms ease;
}
.pdp-discount-tag {
  position: absolute;
  top: 18px; left: 18px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  z-index: 2;
}
.pdp-main-image::after {
  content: "";
  position: absolute;
  bottom: -10%; left: 50%;
  width: 80%; height: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, oklch(0.74 0.14 55 / 0.45), transparent 65%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

/* Info column */
.pdp-info { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 899px) {
  .pdp-info { order: 3; }
}
.lux-app[data-viewport="mobile"] .pdp-info { order: 3; }

.pdp-info h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin: 0;
  font-weight: 400;
}
.pdp-info h1 em { font-style: italic; color: var(--terracotta); }

.pdp-reviews {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
.pdp-reviews .stars {
  display: inline-flex; gap: 2px;
  color: var(--amber);
}

.pdp-price-block { display: flex; flex-direction: column; gap: 4px; }
.pdp-price {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.pdp-price .now {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pdp-price .was {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pdp-price .pct {
  background: var(--terracotta);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pdp-price-note {
  font-size: 13px;
  color: var(--muted);
}
.pdp-price-note strong { color: var(--ink); font-weight: 500; }

.pdp-installments {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--cream-2);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--ink-2);
}
.pdp-installments .pill {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pdp-installments strong { color: var(--ink); font-weight: 500; }

.pdp-link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; font-size: 13px; }
.pdp-link:hover { color: var(--terracotta); }

.pdp-section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.pdp-color-row { display: flex; flex-direction: column; gap: 10px; }
.pdp-color-row .label-line {
  font-size: 14px;
  color: var(--ink);
}
.pdp-color-row .label-line strong { font-weight: 500; }
.pdp-color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-color-swatch {
  min-width: 44px; height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-family: var(--sans);
  transition: border-color 180ms, transform 180ms;
  position: relative;
  overflow: hidden;
}
.pdp-color-swatch:hover { border-color: var(--ink-2); }
.pdp-color-swatch.active { border-color: var(--ink); border-width: 2px; }
.pdp-color-swatch[data-color] {
  width: 44px; padding: 0;
}
.pdp-color-swatch[data-color]::before {
  content: "";
  position: absolute; inset: 4px;
  border-radius: 7px;
  background: var(--c, transparent);
}

.pdp-buy-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: stretch;
}
.pdp-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px;
  background: var(--paper);
}
.pdp-qty button {
  width: 38px; height: 38px;
  border: none;
  background: transparent;
  border-radius: 50%;
  font-size: 16px;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.pdp-qty button:hover { background: var(--cream-2); }
.pdp-qty span {
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}
.pdp-add {
  flex: 1;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: var(--r-pill);
  padding: 0 26px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 220ms;
  letter-spacing: 0.01em;
}
.pdp-add:hover { background: var(--ink-2); }
.pdp-add.added { background: var(--sage); color: var(--ink); }

.pdp-shipping {
  display: flex; flex-direction: column; gap: 10px;
}
.pdp-shipping-input {
  display: flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  overflow: hidden;
}
.pdp-shipping-input input {
  flex: 1; border: none; outline: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink);
}
.pdp-shipping-input input::placeholder { color: var(--muted); }
.pdp-shipping-input button {
  background: transparent;
  border: none;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.pdp-shipping-input button:hover { color: var(--terracotta); }

.pdp-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.pdp-feature {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 12px;
  color: var(--ink-2);
  background: var(--paper);
}
.pdp-feature .ic {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--cream-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Related products */
.pdp-related {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
}
.pdp-related h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.pdp-related h3 em { font-style: italic; color: var(--terracotta); }

/* Scrollbar tweaks */
.lux-scroll::-webkit-scrollbar { width: 8px; }
.lux-scroll::-webkit-scrollbar-track { background: transparent; }
.lux-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
