/*
Theme Name: Esencia Kcao Atelier V2
Theme URI: https://esenciakcao.co
Author: Agencia Creanova
Author URI: https://agenciacreanova.com
Description: Propuesta V2 disruptiva para Esencia Kcao con integración nativa WooCommerce.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: esencia-kcao-atelier
*/

/* Esencia Kcao — Propuesta V2 Disruptiva (Atelier Nocturno & Galería Editorial)
 * Paleta oficial: Verde Esmeralda (#0A1F1C / #164942) · Rosa Viejo (#CA8F97 / #EAD6D8) · Dorado (#C5A46E / #E8D5A7) · Marfil (#FAF6F2)
 * Sin modificar la Propuesta V1 (_site / wp-theme).
 */

:root {
  --emerald-950: #071916;
  --emerald-900: #0c2622;
  --emerald-800: #164942;
  --rose-600: #9f656e;
  --rose-500: #ca8f97;
  --rose-300: #dfc0c4;
  --rose-100: #f6ecee;
  --gold-500: #c5a46e;
  --gold-300: #ead7a8;
  --ivory: #faf6f2;
  --white: #ffffff;
  --ink: #171211;
  --ink-soft: #5c504d;
  --line-gold: rgba(197, 164, 110, 0.34);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--emerald-950);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--ivory);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
.tabular { font-variant-numeric: tabular-nums; }
.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
section[id] { scroll-margin-top: 84px; }

/* ---------- NAVEGACIÓN EDITORIAL LIMPIA ---------- */
.v2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(7, 25, 22, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197, 164, 110, 0.25);
  padding: 14px 0;
}

.v2-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.v2-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.v2-brand img {
  height: 34px;
  width: auto;
}

.v2-menu-links {
  display: flex;
  gap: 26px;
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.v2-menu-links a {
  color: rgba(250, 246, 242, 0.86);
  text-decoration: none;
  transition: color 0.25s ease;
}

.v2-menu-links a:hover { color: var(--gold-300); }

.v2-cart-trigger {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rose-500);
  color: var(--white);
  border: 1px solid var(--rose-500);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.3s var(--ease);
}

.v2-cart-trigger:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--emerald-950);
}

/* ---------- HERO INMERSIVO LOOKBOOK (DISRUPTIVO) ---------- */
.v2-hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 22% 28%, #164942 0%, #091e1b 52%, #061412 100%);
  color: var(--ivory);
  display: flex;
  align-items: center;
  padding: 104px 0 48px;
  overflow: hidden;
}

#hero-canvas-v2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.v2-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.v2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-300);
  margin-bottom: 20px;
}

.v2-kicker::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold-500);
}

.v2-hero-title {
  font-family: var(--font-display);
  font-size: clamp(50px, 6.2vw, 94px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.v2-hero-title em {
  font-style: italic;
  color: var(--rose-300);
}

.v2-hero-title span.gold {
  color: var(--gold-300);
}

.v2-hero-sub {
  font-size: 16px;
  color: rgba(250, 246, 242, 0.78);
  max-width: 46ch;
  margin-bottom: 36px;
}

.v2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-v2-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-500);
  color: var(--emerald-950);
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.btn-v2-gold:hover {
  background: var(--gold-300);
  transform: translateY(-2px);
}

.btn-v2-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--rose-300);
  border: 1px solid rgba(202, 143, 151, 0.55);
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 48px;
  transition: all 0.3s var(--ease);
}

.btn-v2-ghost:hover {
  background: var(--rose-500);
  color: var(--white);
  border-color: var(--rose-500);
}

/* Escaparate Lookbook Interactivo en el Hero */
.v2-lookbook {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-gold);
  padding: 20px;
  border-radius: 28px;
  backdrop-filter: blur(10px);
}

.v2-lookbook-stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3.35;
  background: var(--emerald-900);
}

.v2-lookbook-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.v2-lookbook-info {
  padding: 18px 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.v2-lookbook-info span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-300);
}

.v2-lookbook-info strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ivory);
}

.v2-lookbook-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.v2-tab-btn {
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(197, 164, 110, 0.28);
  background: rgba(7, 25, 22, 0.65);
  color: rgba(250, 246, 242, 0.75);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.25s ease;
}

.v2-tab-btn.is-active {
  background: var(--rose-500);
  color: var(--white);
  border-color: var(--rose-500);
}

/* ---------- MARQUEE CINÉTICO ---------- */
.v2-marquee {
  background: var(--rose-500);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid var(--gold-500);
  border-bottom: 1px solid var(--gold-500);
}

.v2-marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  animation: v2-scroll 26s linear infinite;
}

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

/* ---------- SECCIÓN MANIFIESTO STICKY ---------- */
.v2-story-section {
  padding: 96px 0;
  background: var(--ivory);
}

.v2-sticky-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.v2-sticky-left {
  position: sticky;
  top: 104px;
}

.v2-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-600);
  margin-bottom: 12px;
}

.v2-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.06;
  color: var(--emerald-800);
  margin-bottom: 18px;
}

.v2-chapters {
  display: grid;
  gap: 24px;
}

.v2-chapter {
  background: var(--white);
  border: 1px solid rgba(202, 143, 151, 0.35);
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
}

.v2-chapter-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-style: italic;
  color: var(--rose-500);
  line-height: 1;
}

.v2-chapter h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--emerald-800);
  margin-bottom: 8px;
}

.v2-chapter p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- GALERÍA BENTO EDITORIAL ---------- */
.v2-collection {
  padding: 96px 0;
  background: var(--rose-100);
  border-top: 1px solid var(--line-gold);
}

.v2-filter-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 32px 0 44px;
  border-bottom: 1px solid rgba(22, 73, 66, 0.14);
  padding-bottom: 14px;
}

.v2-filter-btn {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 8px 4px;
  min-height: 44px;
  position: relative;
}

.v2-filter-btn.is-active {
  color: var(--emerald-800);
}

.v2-filter-btn.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 2px;
  background: var(--gold-500);
}

.v2-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.v2-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(197, 164, 110, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.v2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(22, 73, 66, 0.09);
}

.v2-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ivory);
}

.v2-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.v2-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.v2-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-600);
}

.v2-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--emerald-800);
}

.v2-card-note {
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}

.v2-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 73, 66, 0.1);
}

.v2-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--emerald-800);
}

.v2-btn-sm {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--emerald-800);
  background: var(--emerald-800);
  color: var(--ivory);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.v2-btn-sm.ghost {
  background: transparent;
  color: var(--rose-600);
  border-color: var(--rose-500);
}

/* ---------- CONCIERGE DE REGALOS ---------- */
.v2-concierge {
  padding: 96px 0;
  background: var(--emerald-900);
  color: var(--ivory);
}

.v2-concierge-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: rgba(7, 25, 22, 0.6);
  border: 1px solid var(--line-gold);
  border-radius: 28px;
  padding: 40px;
}

.v2-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.v2-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.v2-field label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-300);
}

.v2-field input,
.v2-field select,
.v2-field textarea {
  background: rgba(250, 246, 242, 0.06);
  border: 1px solid rgba(197, 164, 110, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ivory);
  min-height: 46px;
}

.v2-field select option {
  background: var(--emerald-950);
  color: var(--ivory);
}

.v2-wax-card {
  background: linear-gradient(155deg, var(--rose-100) 0%, #ebd4d7 100%);
  color: var(--emerald-950);
  border-radius: 22px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--gold-500);
}

.v2-wax-quote {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  line-height: 1.3;
  color: var(--emerald-800);
  text-align: center;
  padding: 24px 12px;
  border-top: 1px solid rgba(22, 73, 66, 0.18);
  border-bottom: 1px solid rgba(22, 73, 66, 0.18);
}

/* ---------- CORPORATIVOS B2B V2 ---------- */
.v2-corp {
  padding: 96px 0;
  background: var(--emerald-800);
  color: var(--ivory);
  border-top: 1px solid var(--line-gold);
}

.v2-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0 28px;
}

.v2-metric {
  background: rgba(7, 25, 22, 0.48);
  border: 1px solid var(--line-gold);
  border-radius: 20px;
  padding: 28px;
}

.v2-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 500;
  color: var(--gold-300);
  line-height: 1;
  margin-bottom: 8px;
}

.v2-corp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.v2-corp-card {
  background: rgba(255, 255, 255, 0.05);
  border-top: 2px solid var(--rose-500);
  border-radius: 16px;
  padding: 22px;
  font-size: 14px;
}

/* ---------- NUESTRA ESENCIA & CITA V2 ---------- */
.v2-essence {
  padding: 96px 0;
  background: var(--ivory);
}

.v2-quote-block {
  background: var(--rose-100);
  border: 1px solid var(--line-gold);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.v2-quote-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 36px);
  font-style: italic;
  line-height: 1.25;
  color: var(--emerald-800);
  border-left: 2px solid var(--rose-500);
  padding-left: 24px;
  margin-bottom: 20px;
}

/* ---------- BITÁCORA & #EKLOVERS V2 ---------- */
.v2-journal {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--line-gold);
}

.v2-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.v2-journal-card {
  background: var(--ivory);
  border: 1px solid rgba(202, 143, 151, 0.35);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

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

.v2-journal-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.v2-journal-body {
  padding: 22px;
  display: grid;
  gap: 8px;
}

.v2-journal-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--emerald-800);
}

.v2-eklovers {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--rose-100) 0%, #ead6d8 100%);
  border-top: 1px solid var(--line-gold);
  text-align: center;
}

/* ---------- V2 PDP, CARRITO & CHECKOUT ---------- */
.v2-subhero {
  background: var(--emerald-950);
  color: var(--ivory);
  padding: 108px 0 36px;
  border-bottom: 1px solid var(--line-gold);
}

.v2-crumb {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-300);
}

.v2-crumb a {
  color: var(--gold-300);
  text-decoration: none;
}

.v2-pdp-wrap {
  padding: 56px 0 88px;
  background: var(--ivory);
}

.v2-pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.v2-pdp-frame {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--gold-500);
  border-radius: 26px;
  padding: 18px;
}

.v2-pdp-img {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--rose-100);
}

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

.v2-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.v2-thumb {
  border: 1px solid rgba(22, 73, 66, 0.16);
  border-radius: 12px;
  overflow: hidden;
  padding: 3px;
  background: var(--white);
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.v2-thumb.is-active { border-color: var(--gold-500); }
.v2-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.v2-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(202, 143, 151, 0.35);
  border-radius: 18px;
  padding: 18px;
  margin: 18px 0;
}

.v2-spec span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-600);
  font-weight: 700;
}

.v2-spec strong { font-size: 14px; color: var(--emerald-800); }

.v2-cart-layout,
.v2-checkout-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.v2-panel {
  background: var(--white);
  border: 1px solid rgba(197, 164, 110, 0.38);
  border-radius: 24px;
  padding: 28px;
}

.v2-summary-panel {
  background: var(--emerald-900);
  color: var(--ivory);
  border: 1px solid var(--gold-500);
  border-radius: 24px;
  padding: 28px;
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.v2-cart-row {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(22, 73, 66, 0.12);
}

.v2-cart-row:last-child { border-bottom: none; }
.v2-cart-row img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }

.v2-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--emerald-800);
  border-radius: 999px;
  background: var(--ivory);
  min-height: 44px;
}

.v2-qty button {
  width: 36px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.v2-qty span { min-width: 28px; text-align: center; font-weight: 700; }

.v2-light-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-800);
  margin-bottom: 6px;
}

.v2-light-field input,
.v2-light-field select,
.v2-light-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(22, 73, 66, 0.2);
  background: var(--ivory);
  min-height: 46px;
}

.v2-pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 73, 66, 0.18);
  border-radius: 14px;
  background: var(--ivory);
  cursor: pointer;
}

.v2-pay-option.is-active {
  border-color: var(--gold-500);
  background: var(--rose-100);
}

/* ---------- FOOTER ---------- */
.v2-footer {
  background: var(--emerald-950);
  color: rgba(250, 246, 242, 0.78);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line-gold);
}

.v2-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(197, 164, 110, 0.18);
}

.v2-footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

/* ---------- DRAWER ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 22, 0.65);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--ivory);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-left: 1px solid var(--gold-500);
}
.cart-drawer.is-open { transform: translateX(0); }

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

.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(22, 73, 66, 0.2);
  background: var(--white);
  cursor: pointer;
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--white);
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(22, 73, 66, 0.12);
}

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

.drawer-footer {
  border-top: 1px solid var(--line-gold);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 1024px) {
  .v2-hero-grid,
  .v2-sticky-layout,
  .v2-concierge-box,
  .v2-quote-block,
  .v2-pdp-grid,
  .v2-cart-layout,
  .v2-checkout-layout { grid-template-columns: 1fr; }
  .v2-sticky-left,
  .v2-pdp-frame,
  .v2-summary-panel { position: static; }
  .v2-bento-grid,
  .v2-footer-grid,
  .v2-metrics,
  .v2-corp-cards,
  .v2-journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-menu-links { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(1280px, 100% - 32px); }
  .v2-brand img { height: 26px; }
  .v2-bento-grid,
  .v2-footer-grid,
  .v2-field-grid,
  .v2-chapter,
  .v2-metrics,
  .v2-corp-cards,
  .v2-journal-grid,
  .v2-specs-grid { grid-template-columns: 1fr; }
  .v2-cart-row { grid-template-columns: 64px 1fr; }
  .v2-concierge-box,
  .v2-quote-block,
  .v2-panel { padding: 20px; }
  .v2-card-foot { flex-wrap: wrap; }
}
