/* Moda Lucía — piel de referencia para el motor OptiMind IA.
   Dirección: atelier femenino, luz suave, firma dorada.
   Sobreescribe las variables y componentes de styles.css. */

:root {
  --paper: #F6F4F1;
  --surface: #FFFFFF;
  --ink: #1B1714;
  --muted: #7A716A;
  --accent: #2B3A4E;
  --accent-2: #BFA474;
  --highlight: #EADFD4;
  --line: rgba(27, 23, 20, 0.12);
  --line-strong: rgba(27, 23, 20, 0.24);
  --danger: #A94442;
  --display: 'Archivo Narrow', 'Arial Narrow', sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 80px rgba(27, 23, 20, 0.10);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-weight: 450;
  letter-spacing: -0.01em;
}

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

:focus-visible {
  outline: 3px solid var(--accent-2);
}

/* Cabecera */
.announcement {
  background: var(--ink);
  color: var(--surface);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement strong {
  color: var(--accent-2);
  font-weight: 500;
}

.announcement > span {
  color: var(--accent-2);
  opacity: 0.6;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  border-radius: 50%;
}

.desktop-nav a {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.desktop-nav a::after {
  background: var(--accent-2);
  height: 1.5px;
}

.cart-trigger {
  border-color: var(--ink);
  font-family: var(--body);
}

.cart-trigger:hover {
  background: var(--ink);
}

.cart-count {
  background: var(--accent);
  color: var(--surface);
}

/* Hero */
.hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  grid-template-rows: auto 1fr;
  gap: 0 clamp(40px, 6vw, 100px);
  min-height: min(820px, calc(100svh - 110px));
}

.hero::before {
  width: min(680px, 54vw);
  top: 48%;
  right: -14%;
  border: 1px solid var(--accent-2);
  background: radial-gradient(circle at 30% 30%, rgba(191, 164, 116, 0.18), transparent 60%);
  opacity: 0.55;
}

.hero::after {
  display: none;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1 / 3;
  z-index: 2;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  position: relative;
  padding: 0 24px 34px 0;
}

.signature-hanger {
  width: clamp(130px, 14vw, 200px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(43, 58, 78, 0.12));
}

.hero-tag {
  position: absolute;
  right: -12px;
  bottom: 6px;
  padding: 14px 18px;
  border: 1px solid var(--accent-2);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
  box-shadow: 0 8px 24px rgba(27, 23, 20, 0.08);
}

.hero-ticket-wrap {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: center;
}

.eyebrow {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.eyebrow > span {
  width: 22px;
  height: 1.5px;
  background: var(--accent-2);
}

.eyebrow.light {
  color: var(--accent-2);
}

.hero h1,
.section-heading h2,
.how-intro h2,
.faq-section h2,
.closing-section h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero h1 em,
.closing-section h2 em {
  color: var(--accent-2);
  font-style: italic;
}

.hero-actions {
  gap: 30px;
}

.button {
  font-family: var(--body);
  border-radius: 999px;
}

.button-primary {
  background: var(--accent);
  color: var(--surface);
  box-shadow: 0 12px 28px rgba(43, 58, 78, 0.22);
}

.button-primary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 88%, black);
  box-shadow: 0 18px 36px rgba(43, 58, 78, 0.28);
}

.button-secondary {
  border-color: var(--line-strong);
}

.button-secondary:hover:not(:disabled) {
  background: var(--ink);
}

.text-button {
  border-bottom-color: var(--accent-2);
}

.trust-inline li::before {
  content: '✦';
  color: var(--accent-2);
  font-weight: 400;
}

/* Ticket preview */
.ticket-shadow {
  background: var(--accent-2);
  transform: rotate(4deg);
  opacity: 0.45;
}

.live-ticket {
  background: var(--surface);
  transform: rotate(-1.5deg);
  border-radius: var(--radius-lg);
}

.ticket-brand {
  font-family: var(--display);
  font-weight: 600;
}

.ticket-mark {
  background: var(--accent);
  color: var(--accent-2);
  border-radius: 50%;
}

.ticket-rule {
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
}

.ticket-preview-pending {
  color: var(--accent);
}

.ticket-preview-pending strong {
  color: var(--accent-2);
}

.ticket-preview-pending span {
  text-decoration: underline wavy var(--accent-2);
}

.ticket-total {
  border-color: var(--ink);
}

.ticket-barcode {
  background: repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 4px, var(--ink) 4px 7px, transparent 7px 10px);
}

/* Categorías */
.category-strip {
  border-color: var(--line-strong);
}

.category-strip button {
  border-color: var(--line-strong);
  font-family: var(--body);
  font-weight: 600;
}

.category-strip button span {
  border-color: var(--accent-2);
  color: var(--accent);
}

.category-strip button:hover {
  background: var(--accent);
  color: var(--surface);
}

.category-strip button:hover span {
  border-color: var(--accent-2);
}

/* Tienda */
.shop-tools {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.search-field:focus-within {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(191, 164, 116, 0.15);
}

.filter-chips button:hover,
.filter-chips button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--surface);
}

.catalog-meta button {
  color: var(--accent);
}

/* Productos */
.product-card {
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 300ms ease;
}

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

.product-media {
  border-radius: var(--radius-lg);
  background: var(--highlight);
}

.product-badge {
  background: var(--accent-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.quick-view {
  background: var(--accent);
  color: var(--surface);
}

.product-category {
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.product-info h3,
.cart-line h3 {
  font-family: var(--body);
  font-weight: 700;
}

.card-add:hover:not(:disabled) {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.no-results > span {
  color: var(--accent-2);
}

/* Cómo comprar */
.how-section {
  background: var(--accent);
  color: var(--surface);
}

.how-intro > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.how-steps li {
  border-color: rgba(255, 255, 255, 0.18);
}

.step-number {
  background: var(--accent-2);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 700;
}

.how-steps p {
  color: rgba(255, 255, 255, 0.68);
}

/* Confianza */
.trust-cards article {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
}

.trust-cards article > span {
  background: var(--accent);
  color: var(--accent-2);
  border-radius: 50%;
}

.trust-cards article:nth-child(2) > span {
  background: var(--accent-2);
  color: var(--ink);
}

.trust-cards article:nth-child(3) > span {
  background: var(--highlight);
  color: var(--ink);
}

.trust-cards h3 {
  font-family: var(--body);
  font-weight: 700;
}

/* FAQ */
.faq-section {
  border-color: var(--line-strong);
}

.faq-list details {
  border-color: var(--line-strong);
}

.faq-list summary span {
  border-color: var(--accent-2);
}

.faq-list details[open] summary span {
  background: var(--accent);
  color: var(--accent-2);
  border-color: var(--accent);
}

/* Cierre */
.closing-section {
  background: var(--accent-2);
  color: var(--ink);
}

.closing-section h2 em {
  color: var(--accent);
}

.closing-section .button-primary {
  background: var(--ink);
  color: var(--surface);
}

/* Footer */
.site-footer h2 {
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

/* Diálogos */
.product-dialog {
  border-radius: var(--radius-lg);
}

.dialog-product-media {
  background: var(--highlight);
}

.dialog-product-copy h2,
.checkout-copy h2 {
  font-family: var(--display);
  font-weight: 500;
}

.dialog-price {
  color: var(--accent);
}

.variant-fieldset input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
}

.variant-fieldset input:focus-visible + span {
  outline-color: var(--accent-2);
}

.stock-message::before {
  background: #5A8A6E;
}

.stock-message[data-state="low_stock"]::before {
  background: var(--accent-2);
}

.stock-message[data-state="out_of_stock"]::before {
  background: var(--danger);
}

.dialog-actions select:focus {
  border-color: var(--accent-2);
}

/* Carrito */
.cart-header p {
  color: var(--accent-2);
  font-family: var(--mono);
}

.cart-header h2 {
  font-family: var(--display);
}

.shipping-progress span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.cart-empty > span {
  color: var(--accent-2);
}

.cart-saving {
  color: var(--accent);
}

.cart-subtotal {
  font-family: var(--display);
}

.cart-footer::after {
  background: radial-gradient(circle at 7px -1px, transparent 7px, var(--surface) 7.5px) 0 0 / 14px 14px repeat-x;
}

/* Checkout */
.checkout-copy {
  background: var(--accent-2);
  color: var(--ink);
}

.checkout-copy .eyebrow {
  color: var(--accent);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(191, 164, 116, 0.14);
}

.form-field [aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(169, 68, 66, 0.1);
}

.checkout-error {
  border-color: rgba(169, 68, 66, 0.28);
  background: rgba(169, 68, 66, 0.07);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .live-ticket {
    transform: rotate(-1.5deg);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 50px 0;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    padding-bottom: 0;
  }

  .hero-ticket-wrap {
    grid-column: 1;
    grid-row: 3;
  }

  .hero::before {
    width: 520px;
    right: -50%;
    top: 22%;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(48px, 13vw, 64px);
  }

  .hero-tag {
    right: -20px;
    padding: 10px 13px;
    font-size: 10px;
  }

  .category-strip button {
    font-size: 16px;
  }

  .section-heading h2,
  .how-intro h2,
  .faq-section h2 {
    font-size: 46px;
  }

  .closing-section h2 {
    font-size: 58px;
  }
}

/* motion-signature-fashion: a living campaign sheet, cut and revealed in layers. */
body[data-store-style="campaign-editorial"] ::selection { background: #BD1243; color: #FFF9F1; }
body[data-store-style="campaign-editorial"] :focus-visible { outline: 3px solid #17376D; outline-offset: 4px; }
body[data-store-style="campaign-editorial"] .hero-copy > *,
body[data-store-style="campaign-editorial"] .hero-visual,
body[data-store-style="campaign-editorial"] .hero-ticket-wrap {
  animation: fashion-campaign-in .9s cubic-bezier(.16,1,.3,1) both;
}
body[data-store-style="campaign-editorial"] .hero-copy h1 { animation-delay: .08s; }
body[data-store-style="campaign-editorial"] .hero-lead { animation-delay: .16s; }
body[data-store-style="campaign-editorial"] .hero-actions { animation-delay: .24s; }
body[data-store-style="campaign-editorial"] .hero-visual { animation-delay: .12s; }
body[data-store-style="campaign-editorial"] .hero-ticket-wrap { animation-delay: .3s; }
body[data-store-style="campaign-editorial"] .hero-visual::after { animation: fashion-lens 8s ease-in-out infinite; }
body[data-store-style="campaign-editorial"] .hero-tag { animation: fashion-tag 5s ease-in-out infinite; transform-origin: 50% 100%; }
body[data-store-style="campaign-editorial"] .cart-trigger,
body[data-store-style="campaign-editorial"] .button,
body[data-store-style="campaign-editorial"] .quick-view,
body[data-store-style="campaign-editorial"] .product-card { transition-timing-function: cubic-bezier(.16,1,.3,1); }
body[data-store-style="campaign-editorial"] .cart-trigger:active,
body[data-store-style="campaign-editorial"] .button:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 #17376D; }
body[data-store-style="campaign-editorial"] .product-card { isolation:isolate; }
body[data-store-style="campaign-editorial"] .product-card::before { content:""; position:absolute; inset:0; z-index:4; border:1px solid transparent; pointer-events:none; transition:border-color .35s,transform .35s; }
body[data-store-style="campaign-editorial"] .product-card:hover::before { border-color:#BD1243; transform:translate(-7px,-7px); }
body[data-store-style="campaign-editorial"] .product-media img,
body[data-store-style="campaign-editorial"] .product-media svg { transition:transform .7s cubic-bezier(.16,1,.3,1),filter .7s; }
body[data-store-style="campaign-editorial"] .product-card:hover .product-media img,
body[data-store-style="campaign-editorial"] .product-card:hover .product-media svg { transform:scale(1.035) rotate(-.5deg); filter:saturate(1.06) contrast(1.03); }
body[data-store-style="campaign-editorial"] .quick-view::after { content:"↗"; display:inline-block; margin-left:8px; transition:transform .28s; }
body[data-store-style="campaign-editorial"] .quick-view:hover::after { transform:translate(4px,-4px); }
@supports (animation-timeline:view()) {
  body[data-store-style="campaign-editorial"] .product-card { animation:fashion-card-reveal linear both; animation-timeline:view(); animation-range:entry 5% cover 32%; }
  body[data-store-style="campaign-editorial"] .how-intro,body[data-store-style="campaign-editorial"] .how-steps,body[data-store-style="campaign-editorial"] .trust-cards { animation:fashion-card-reveal linear both; animation-timeline:view(); animation-range:entry 6% cover 35%; }
}
@keyframes fashion-campaign-in { from { opacity:0; transform:translateY(34px); clip-path:inset(0 0 100% 0); filter:blur(6px); } to { opacity:1; transform:none; clip-path:inset(0); filter:none; } }
@keyframes fashion-card-reveal { from { opacity:.15; transform:translateY(36px); clip-path:inset(0 0 18% 0); } to { opacity:1; transform:none; clip-path:inset(0); } }
@keyframes fashion-tag { 50% { transform:rotate(2deg) translateY(-5px); } }
@keyframes fashion-lens { 50% { transform:translate3d(1.5%,-1%,0) scale(1.025); } }
@media (prefers-reduced-motion:reduce) { body[data-store-style="campaign-editorial"] *,body[data-store-style="campaign-editorial"] *::before,body[data-store-style="campaign-editorial"] *::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; transition-duration:.01ms!important; } }

/* fashion-hero-density: campaign type and ticket share one compact, intentional frame. */
@media (min-width: 961px) {
  body[data-store-style="campaign-editorial"] .hero {
    grid-template-columns: minmax(520px, 0.88fr) minmax(410px, 0.62fr);
    align-items: center;
    gap: clamp(24px, 3vw, 54px);
    min-height: min(690px, calc(100svh - 108px));
    padding: clamp(60px, 5vw, 84px) 0 clamp(54px, 4vw, 72px);
  }

  body[data-store-style="campaign-editorial"] .hero-copy {
    max-width: 640px;
  }

  body[data-store-style="campaign-editorial"] .hero h1 {
    max-width: 10.8ch;
    font-size: clamp(68px, 6.2vw, 118px);
    line-height: 0.76;
    text-wrap: balance;
  }

  body[data-store-style="campaign-editorial"] .hero-lead {
    max-width: 34ch;
    margin-top: 23px;
    font-size: clamp(17px, 1.2vw, 19px);
    line-height: 1.45;
  }

  body[data-store-style="campaign-editorial"] .hero-actions {
    margin-top: 26px;
  }

  body[data-store-style="campaign-editorial"] .trust-inline {
    margin-top: 25px;
  }

  body[data-store-style="campaign-editorial"] .hero-ticket-wrap {
    width: min(100%, 450px);
    align-self: center;
    justify-self: start;
  }

  body[data-store-style="campaign-editorial"] .live-ticket {
    min-height: 430px;
    padding: 29px 33px 34px;
  }
}

@media (min-width: 961px) and (max-width: 1220px) {
  body[data-store-style="campaign-editorial"] .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.68fr);
  }

  body[data-store-style="campaign-editorial"] .hero h1 {
    font-size: clamp(68px, 7.2vw, 96px);
  }
}

/* runway-lookbook: Lucía is an editorial selection, never a generic shop skin */
body[data-store-style="campaign-editorial"] {
  --paper: #F1EEE9;
  --surface: #FFFDF9;
  --ink: #21131A;
  --muted: #6D5B62;
  --accent: #B2153E;
  --accent-2: #17376D;
  --highlight: #E5D7D5;
  --line: rgba(33, 19, 26, 0.16);
  --line-strong: rgba(33, 19, 26, 0.34);
  background:
    linear-gradient(90deg, transparent 0 7.5%, rgba(178, 21, 62, 0.12) 7.5% calc(7.5% + 1px), transparent calc(7.5% + 1px)),
    var(--paper);
}

body[data-store-style="campaign-editorial"] .announcement {
  background: #21131A;
  color: #FFF6F1;
}

body[data-store-style="campaign-editorial"] .site-header {
  background: rgba(255, 253, 249, 0.96);
  border-bottom-color: rgba(178, 21, 62, 0.24);
}

body[data-store-style="campaign-editorial"] .brand,
body[data-store-style="campaign-editorial"] .hero h1 { color: #21131A; }

body[data-store-style="campaign-editorial"] .hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  grid-template-rows: 1fr;
  min-height: min(780px, calc(100svh - 108px));
  gap: clamp(28px, 5vw, 88px);
  padding-bottom: 88px;
}

body[data-store-style="campaign-editorial"] .hero-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 690px;
}

body[data-store-style="campaign-editorial"] .hero h1 {
  max-width: 8ch;
  font-size: clamp(72px, 8.7vw, 144px);
  line-height: 0.79;
  letter-spacing: -0.075em;
}

body[data-store-style="campaign-editorial"] .hero h1 em { color: var(--accent); }
body[data-store-style="campaign-editorial"] .hero-lead { max-width: 37ch; color: #59454C; }

body[data-store-style="campaign-editorial"] .hero-visual {
  display: none;
}

body[data-store-style="campaign-editorial"] .hero-ticket-wrap {
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 430px);
  align-self: center;
  justify-self: end;
}

body[data-store-style="campaign-editorial"] .ticket-shadow {
  background: var(--accent);
  opacity: 0.22;
  transform: translate(18px, 18px);
}

body[data-store-style="campaign-editorial"] .live-ticket {
  min-height: 500px;
  border: 1px solid #21131A;
  border-radius: 0;
  background: #FFFDF9;
  box-shadow: none;
  transform: none;
}

body[data-store-style="campaign-editorial"] .ticket-mark,
body[data-store-style="campaign-editorial"] .cart-count { background: var(--accent); color: #FFFDF9; }
body[data-store-style="campaign-editorial"] .ticket-brand { color: var(--accent-2); }

body[data-store-style="campaign-editorial"] .button-primary {
  border-radius: 0;
  background: var(--accent);
  box-shadow: 8px 8px 0 var(--accent-2);
}
body[data-store-style="campaign-editorial"] .button-primary:hover:not(:disabled) {
  transform: translate(3px, 3px);
  box-shadow: 5px 5px 0 var(--accent-2);
}

body[data-store-style="campaign-editorial"] .shop-section {
  background: #FFFDF9;
  border-top: 10px solid var(--accent-2);
}
body[data-store-style="campaign-editorial"] .shop-tools { border-radius: 0; background: #F5E8E4; }
body[data-store-style="campaign-editorial"] .filter-chips button.is-active,
body[data-store-style="campaign-editorial"] .filter-chips button:hover { background: var(--accent); border-color: var(--accent); }

body[data-store-style="campaign-editorial"] .product-grid { gap: 56px 26px; }
body[data-store-style="campaign-editorial"] .product-card,
body[data-store-style="campaign-editorial"] .product-card:first-child {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
}
body[data-store-style="campaign-editorial"] .product-card::before { display: none; }
body[data-store-style="campaign-editorial"] .product-media,
body[data-store-style="campaign-editorial"] .product-card:first-child .product-media {
  aspect-ratio: 3 / 4;
  border: 1px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: var(--highlight);
}
body[data-store-style="campaign-editorial"] .product-info { padding: 18px 0 0; }
body[data-store-style="campaign-editorial"] .product-info h3 { font-family: var(--display); font-size: 28px; }
body[data-store-style="campaign-editorial"] .product-summary { min-height: 48px; color: var(--muted); }
body[data-store-style="campaign-editorial"] .card-add {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
}
body[data-store-style="campaign-editorial"] .card-add span { font-size: 17px; }
body[data-store-style="campaign-editorial"] .card-add:hover:not(:disabled) {
  background: var(--accent);
  color: #FFFDF9;
  transform: none;
}

@media (max-width: 960px) {
  body[data-store-style="campaign-editorial"] .hero { grid-template-columns: 1fr; min-height: auto; }
  body[data-store-style="campaign-editorial"] .hero-ticket-wrap { grid-column: 1; grid-row: 2; justify-self: start; }
  body[data-store-style="campaign-editorial"] .product-card,
  body[data-store-style="campaign-editorial"] .product-card:first-child { grid-column: span 6; }
}

/* fashion-type-reset: a compressed lookbook voice with more edge than a default serif */
body[data-store-style="campaign-editorial"] .brand,
body[data-store-style="campaign-editorial"] .ticket-brand,
body[data-store-style="campaign-editorial"] .product-info h3 {
  font-family: var(--display);
  font-weight: 700;
}

body[data-store-style="campaign-editorial"] .hero h1 {
  max-width: 9ch;
  font-family: var(--display);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.075em;
  line-height: 0.73;
  text-transform: uppercase;
  text-wrap: balance;
}

body[data-store-style="campaign-editorial"] .hero h1 em {
  display: inline-block;
  font-style: italic;
  letter-spacing: -0.09em;
  text-transform: none;
}

body[data-store-style="campaign-editorial"] .hero-lead {
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

body[data-store-style="campaign-editorial"] .desktop-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-store-style="campaign-editorial"] .section-heading h2,
body[data-store-style="campaign-editorial"] .closing-section h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

body[data-store-style="campaign-editorial"] .product-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(33, 19, 26, 0.24));
}

body[data-store-style="campaign-editorial"] .product-card:hover .product-media {
  border-color: var(--accent);
  box-shadow: 8px 8px 0 rgba(178, 21, 62, 0.16);
}

body[data-store-style="campaign-editorial"] .quick-view {
  border-top: 1px solid var(--accent);
  background: #FFFDF9;
  color: var(--accent);
}

@media (max-width: 640px) {
  body[data-store-style="campaign-editorial"] .hero h1 { font-size: clamp(58px, 15vw, 76px); }
  body[data-store-style="campaign-editorial"] .hero-lead { padding-left: 13px; }
}

@media (max-width: 640px) {
  body[data-store-style="campaign-editorial"] .hero h1 { font-size: clamp(64px, 18vw, 92px); }
  body[data-store-style="campaign-editorial"] .product-card,
  body[data-store-style="campaign-editorial"] .product-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  body[data-store-style="campaign-editorial"] .hero,
  body[data-store-style="campaign-editorial"] .hero-copy,
  body[data-store-style="campaign-editorial"] .hero h1,
  body[data-store-style="campaign-editorial"] .hero-lead {
    width: calc(100vw - 68px);
    min-width: 0;
    max-width: calc(100vw - 68px);
  }

  body[data-store-style="campaign-editorial"] .hero h1 {
    font-size: clamp(56px, 15vw, 74px);
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }
}

@media (max-width: 960px) {
  html,
  body { overflow-x: clip; }

  body[data-store-style="campaign-editorial"] .hero {
    width: calc(100vw - 48px);
    min-width: 0;
  }

  body[data-store-style="campaign-editorial"] .hero-copy,
  body[data-store-style="campaign-editorial"] .hero-lead {
    width: min(100%, calc(100vw - 48px));
    min-width: 0;
    max-width: calc(100vw - 48px);
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

/* atelier-select: a quiet editorial rail, not a generic add-to-cart button */
body[data-store-style="campaign-editorial"] .product-grid {
  gap: 42px 24px;
}

body[data-store-style="campaign-editorial"] .product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  align-items: start;
  padding: 0;
}

body[data-store-style="campaign-editorial"] .product-card::before {
  display: none;
}

body[data-store-style="campaign-editorial"] .product-media,
body[data-store-style="campaign-editorial"] .product-card:first-child .product-media {
  grid-column: 1 / -1;
  border-radius: 2px;
  outline: 1px solid color-mix(in srgb, var(--accent-2) 38%, transparent);
  outline-offset: -1px;
}

body[data-store-style="campaign-editorial"] .product-media:hover img,
body[data-store-style="campaign-editorial"] .product-media:focus-visible img {
  transform: none;
  filter: saturate(0.92) contrast(1.03);
}

body[data-store-style="campaign-editorial"] .quick-view {
  right: 0;
  bottom: 0;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 0;
  background: var(--surface);
  color: var(--accent);
  box-shadow: none;
  transform: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-store-style="campaign-editorial"] .product-info,
body[data-store-style="campaign-editorial"] .product-summary {
  grid-column: 1 / 2;
}

body[data-store-style="campaign-editorial"] .product-info {
  padding-top: 15px;
}

body[data-store-style="campaign-editorial"] .product-summary {
  min-height: 0;
  margin-top: 3px;
}

body[data-store-style="campaign-editorial"] .card-add {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  justify-self: end;
  width: 46px;
  min-height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  font-size: 0;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

body[data-store-style="campaign-editorial"] .card-add span {
  font-size: 21px;
  font-weight: 400;
}

body[data-store-style="campaign-editorial"] .card-add:hover:not(:disabled) {
  padding: 0;
  border-color: var(--accent);
  background: var(--accent-2);
  color: var(--accent);
  transform: rotate(45deg);
}

body[data-store-style="campaign-editorial"] .cart-trigger {
  border-radius: 2px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--ink);
}

body[data-store-style="campaign-editorial"] .cart-count {
  border-radius: 50%;
  background: var(--accent-2);
  color: var(--ink);
}

@media (max-width: 640px) {
  body[data-store-style="campaign-editorial"] .product-grid { gap: 34px 16px; }
  body[data-store-style="campaign-editorial"] .quick-view { min-height: 44px; }

  /* mobile-copy-guard */
  body[data-store-style="campaign-editorial"] .hero-copy,
  body[data-store-style="campaign-editorial"] .hero-lead {
    width: min(100%, calc(100vw - 48px));
    min-width: 0;
    max-width: calc(100vw - 48px);
  }
}

/* The headline keeps an intentional editorial rhythm even on narrow screens. */
@media (max-width: 960px) {
  body[data-store-style="campaign-editorial"] .hero h1 {
    width: min(100%, 280px);
    max-width: 280px;
    font-size: clamp(54px, 11vw, 68px);
    line-height: 0.82;
    letter-spacing: -0.07em;
    overflow-wrap: normal;
  }
}

/* campaign-contrast-pass: this step is read, not treated as background texture. */
body[data-store-style="campaign-editorial"] .how-section {
  background: #980D36;
  color: #FFFDF9;
}

body[data-store-style="campaign-editorial"] .how-section .eyebrow.light,
body[data-store-style="campaign-editorial"] .how-section .how-intro h2,
body[data-store-style="campaign-editorial"] .how-section .how-steps h3 {
  color: #FFFDF9;
}

body[data-store-style="campaign-editorial"] .how-section .eyebrow.light > span {
  background: #FFFDF9;
}

body[data-store-style="campaign-editorial"] .how-section .how-intro > p:last-child,
body[data-store-style="campaign-editorial"] .how-section .how-steps p {
  color: rgba(255, 253, 249, 0.9);
}

body[data-store-style="campaign-editorial"] .how-section .how-steps li {
  border-color: rgba(255, 253, 249, 0.36);
}

body[data-store-style="campaign-editorial"] .how-section .step-number {
  background: #FFFDF9;
  color: #17376D;
  box-shadow: 3px 3px 0 #17376D;
}

/* closing-contrast-pass: the final invitation needs to read from across the room. */
body[data-store-style="campaign-editorial"] .closing-section {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, #102C60 0%, #17376D 62%, #214783 100%);
  color: #FFFDF9;
  overflow: hidden;
}

body[data-store-style="campaign-editorial"] .closing-section::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  right: -12%;
  bottom: -64%;
  border: 1px solid rgba(255, 253, 249, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(255, 253, 249, 0.045), 0 0 0 136px rgba(255, 253, 249, 0.025);
}

body[data-store-style="campaign-editorial"] .closing-section > p,
body[data-store-style="campaign-editorial"] .closing-section h2 {
  color: #FFFDF9;
}

body[data-store-style="campaign-editorial"] .closing-section h2 em {
  color: #FF5F83;
}

body[data-store-style="campaign-editorial"] .closing-section .button-primary {
  background: #FFFDF9;
  color: #17376D;
  box-shadow: 8px 8px 0 #FF5F83;
}

body[data-store-style="campaign-editorial"] .closing-section .button-primary:hover:not(:disabled) {
  background: #FF5F83;
  color: #FFFDF9;
  box-shadow: 5px 5px 0 #FFFDF9;
}

/* ticket-trigger-pass: the header control reads as a detachable ticket stub. */
body[data-store-style="campaign-editorial"] .cart-trigger {
  min-height: 44px;
  gap: 11px;
  padding: 7px 8px 7px 14px;
  border: 1px solid #21131A;
  border-radius: 0;
  background: #FFFDF9;
  box-shadow: 4px 4px 0 #B2153E;
  color: #21131A;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

body[data-store-style="campaign-editorial"] .cart-trigger .cart-count {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding-left: 10px;
  border-left: 1px dashed rgba(33, 19, 26, 0.56);
  border-radius: 0;
  background: transparent;
  color: #B2153E;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

body[data-store-style="campaign-editorial"] .cart-trigger:hover {
  background: #21131A;
  box-shadow: 3px 3px 0 #B2153E;
  color: #FFFDF9;
}

body[data-store-style="campaign-editorial"] .cart-trigger:hover .cart-count {
  border-left-color: rgba(255, 253, 249, 0.6);
  color: #FFFDF9;
}

/* collection-rail-pass: categories guide a selection; they do not become a dashboard. */
body[data-store-style="campaign-editorial"] .category-strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 18px 0 20px;
  border: 0;
  border-bottom: 1px solid rgba(33, 19, 26, 0.16);
  background: transparent;
}

body[data-store-style="campaign-editorial"] .category-strip button,
body[data-store-style="campaign-editorial"] .category-strip button:last-child {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 14px;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #21131A;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.015em;
}

body[data-store-style="campaign-editorial"] .category-strip button span {
  width: 20px;
  height: 20px;
  border: 1px solid #17376D;
  border-radius: 50%;
  color: #B2153E;
  font-size: 11px;
}

body[data-store-style="campaign-editorial"] .category-strip button:first-child {
  background: #F6E7EB;
  color: #B2153E;
}

body[data-store-style="campaign-editorial"] .category-strip button:hover,
body[data-store-style="campaign-editorial"] .category-strip button:focus-visible {
  background: #21131A;
  color: #FFFDF9;
}

body[data-store-style="campaign-editorial"] .category-strip button:hover span,
body[data-store-style="campaign-editorial"] .category-strip button:focus-visible span {
  border-color: #FFFDF9;
  color: #FF8CA6;
}

@media (max-width: 640px) {
  body[data-store-style="campaign-editorial"] .category-strip {
    justify-content: flex-start;
    width: 100%;
    padding: 14px 18px 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
}

/* announcement-contrast-pass: the shipping amount is the important part of this sentence. */
body[data-store-style="campaign-editorial"] .announcement strong {
  color: #FF9AB0;
  font-weight: 700;
}

body[data-store-style="campaign-editorial"] .announcement > span {
  color: #FF9AB0;
  opacity: 0.9;
}

/* product-editorial-pass: every card gets one clear reading order and one stable action rail. */
body[data-store-style="campaign-editorial"] .product-card,
body[data-store-style="campaign-editorial"] .product-card:first-child {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0 14px;
}

body[data-store-style="campaign-editorial"] .product-info,
body[data-store-style="campaign-editorial"] .product-card:first-child .product-info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
}

body[data-store-style="campaign-editorial"] .product-summary,
body[data-store-style="campaign-editorial"] .product-card:first-child .product-summary {
  min-height: 0;
  margin: 5px 0 14px;
  color: #6D5B62;
}

body[data-store-style="campaign-editorial"] .card-add,
body[data-store-style="campaign-editorial"] .product-card:first-child .card-add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  margin: auto 0 0;
  padding: 0 2px;
  border: 0;
  border-top: 1px solid rgba(33, 19, 26, 0.72);
  border-radius: 0;
  background: transparent;
  color: #21131A;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: none;
}

body[data-store-style="campaign-editorial"] .card-add span,
body[data-store-style="campaign-editorial"] .product-card:first-child .card-add span {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}

body[data-store-style="campaign-editorial"] .card-add:hover:not(:disabled),
body[data-store-style="campaign-editorial"] .product-card:first-child .card-add:hover:not(:disabled) {
  padding: 0 6px;
  border-color: #B2153E;
  background: transparent;
  color: #B2153E;
  transform: none;
}

/* dialog-detail-pass: the product sheet borrows the same paper-and-ink language as the ticket. */
body[data-store-style="campaign-editorial"] .product-dialog {
  border: 1px solid rgba(33, 19, 26, 0.22);
  border-radius: 18px;
  background: #FFFDF9;
  box-shadow: 0 30px 80px rgba(15, 12, 14, 0.32);
}

body[data-store-style="campaign-editorial"] .dialog-product-media {
  border-radius: 17px 0 0 17px;
  background: #F0E5DA;
}

body[data-store-style="campaign-editorial"] .dialog-product-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 54px 48px;
  background: linear-gradient(180deg, #FFFDF9, #FBF5F0);
}

body[data-store-style="campaign-editorial"] .dialog-product-copy h2 {
  max-width: 10ch;
  color: #21131A;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

body[data-store-style="campaign-editorial"] .dialog-actions {
  grid-template-columns: auto 82px minmax(0, 1fr);
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(33, 19, 26, 0.16);
}

body[data-store-style="campaign-editorial"] .dialog-actions label {
  color: #21131A;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-store-style="campaign-editorial"] .dialog-actions select {
  border-color: rgba(33, 19, 26, 0.46);
  border-radius: 2px;
  background: #FFFDF9;
}

body[data-store-style="campaign-editorial"] .dialog-actions .button-primary {
  min-height: 56px;
  box-shadow: 5px 5px 0 #17376D;
}

@media (max-width: 640px) {
  body[data-store-style="campaign-editorial"] .dialog-product-media { border-radius: 17px 17px 0 0; }
  body[data-store-style="campaign-editorial"] .dialog-product-copy { padding: 36px 22px 30px; }
  body[data-store-style="campaign-editorial"] .dialog-actions { grid-template-columns: 1fr 76px; }
  body[data-store-style="campaign-editorial"] .dialog-actions .button-primary { grid-column: 1 / -1; }
}
