@font-face{font-family:"EnvelopeTypewriterPreview";src:url("../index.php?p=envelope-font") format("truetype");font-style:normal;font-weight:400;font-display:swap}
/* Unión del diseño de template con las pantallas funcionales del sistema original. */
.public-body:not(.page-home) .site-header {
  position: relative;
  background: linear-gradient(135deg,var(--navy-950),var(--navy-850));
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.public-body:not(.page-home) #content {
  min-height: 58vh;
  color: #19304c;
  background: #f8f4ec;
}
.public-flash {
  position: relative;
  z-index: 35;
  width: min(1160px,calc(100% - 32px));
  margin: 18px auto;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 750;
}
.public-flash.success { border: 1px solid #bce1ce; background: #edf9f2; color: #176244; }
.public-flash.error { border: 1px solid #eabfc3; background: #fff0f1; color: #8f2530; }

/* Configurador, carrito y checkout conservan su lógica, con la identidad azul y dorada del template. */
.wizard-page, .commerce-shell, .gallery-section, .legal, .status-page { color: #19304c; }
.wizard-page { background: linear-gradient(180deg,#f7efe0 0%,#fffaf0 55%,#f4ead9 100%); }
.wizard-card, .wizard-product-card, .letter-controls, .cart-item, .cart-summary, .checkout-form, .checkout-summary, .card, .status-card {
  border-color: #e4d4b8;
  box-shadow: 0 20px 55px rgba(3,22,47,.10);
}
.wizard-card-header .eyebrow, .commerce-heading .eyebrow, .gallery-hero .eyebrow { color: #a96d18; }
.btn-red, .primary { background: linear-gradient(135deg,#d39b36,#a96d18); color: #fff; box-shadow: 0 12px 26px rgba(169,109,24,.24); }
.btn-dark, .btn-navy { background: #052044; color: #fff; }
.btn-ghost, .secondary { border-color: #cfb889; color: #19304c; }
input:focus, textarea:focus, select:focus { border-color: #d39b36; box-shadow: 0 0 0 4px rgba(211,155,54,.15); }
.live-preview.kings, .live-preview.santa { border-color: #d39b36; }
.preview-column { background: #03162f; }
.cart-seal { background: #052044; color: #f4ca69; }
.checkout-summary, .cart-summary { background: #03162f; color: #fff; }
.checkout-summary p, .cart-summary p, .checkout-summary small, .cart-summary small { color: rgba(255,255,255,.72); }
.wizard-product-image .selected-badge {
  left: 18px;
  right: auto;
  opacity: 1;
  transform: none;
  color: #164539;
  background: rgba(255,255,255,.94);
}



/* v6.15.16: el configurador adopta la identidad azul, dorada y crema de la portada. */
.wizard-page {
  color: #19304c;
  background:
    radial-gradient(circle at 8% 9%, rgba(211,155,54,.12), transparent 22%),
    radial-gradient(circle at 92% 17%, rgba(5,32,68,.08), transparent 24%),
    linear-gradient(180deg,#f8ecd7 0%,#fff9ed 52%,#f4ead9 100%);
}

.wizard-home-link,
.wizard-help span,
.wizard-card-header p,
.field small,
.field > span em,
.story-label small,
.editor-meta {
  color: #657289;
}

.wizard-home-link:hover,
.wizard-help strong,
.wizard-card-header h1,
.field > span,
.choice-fieldset legend,
.story-label strong,
.builder-section-title strong {
  color: #19304c;
}

.stepper::before {
  background: #d8cfbe;
}

.stepper div {
  color: #7b8493;
}

.stepper span {
  border-color: #d8cfbe;
  background: #fff9ed;
  color: #768197;
}

.stepper .active span {
  border-color: #052044;
  background: #052044;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(5,32,68,.10);
}

.stepper .active small {
  color: #052044;
}

.stepper .complete span {
  border-color: #d39b36;
  background: #d39b36;
  color: #fff;
}

.stepper .complete small {
  color: #8a611b;
}

.wizard-card,
.letter-controls {
  border-color: #e4d4b8;
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 58px rgba(3,22,47,.11);
}

.field input,
.story-field,
.editor-panel textarea,
.template-card {
  border-color: #ddd3c1;
  background: #fffdf8;
  color: #19304c;
}

.segmented-control {
  border-color: #ded2bd;
  background: #f6efe2;
}

.segmented-control span {
  color: #667188;
}

.segmented-control input:checked + span {
  background: #052044;
  color: #fff;
  box-shadow: 0 5px 16px rgba(5,32,68,.20);
}

.wizard-grid-recipient {
  align-items: start;
}

.wizard-product-card {
  align-self: start;
  background:
    radial-gradient(circle at 86% 8%, rgba(244,202,105,.14), transparent 24%),
    linear-gradient(145deg,#052044,#03162f);
  box-shadow: 0 22px 58px rgba(3,22,47,.20);
}

.theme-kings .wizard-product-card {
  background:
    radial-gradient(circle at 86% 8%, rgba(244,202,105,.15), transparent 24%),
    linear-gradient(145deg,#102d5c,#03162f);
}

.wizard-product-image {
  height: 350px;
}

.wizard-product-image::after {
  background: linear-gradient(transparent,rgba(3,22,47,.72));
}

.wizard-product-image img {
  object-position: center 8%;
}

.wizard-product-copy {
  padding: 24px 28px 27px;
}

.wizard-product-copy > span {
  color: #f4ca69;
}

.wizard-product-copy h2 {
  margin-bottom: 10px;
  color: #fff;
}

.wizard-product-copy p {
  margin-bottom: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
}

.wizard-actions-primary .btn {
  min-width: 210px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.wizard-actions-primary .btn-red {
  background: linear-gradient(135deg,#bd3942,#922730);
  color: #fff;
  box-shadow: 0 12px 26px rgba(189,57,66,.25);
}

.wizard-actions-primary .btn-red:hover {
  box-shadow: 0 16px 32px rgba(189,57,66,.34);
}

@media (max-width: 980px) {
  .wizard-grid-recipient .wizard-product-card {
    grid-template-columns: 250px 1fr;
  }

  .wizard-grid-recipient .wizard-product-image {
    min-height: 300px;
    height: 100%;
  }
}

@media (max-width: 720px) {
  .wizard-grid-recipient .wizard-product-card {
    grid-template-columns: 1fr;
  }

  .wizard-grid-recipient .wizard-product-image {
    height: 310px;
    min-height: 0;
  }

  .wizard-actions-primary .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Remate de coherencia visual para los pasos 2 y 3 del configurador. */
.wizard-product-image .selected-badge {
  color: #052044;
}

.story-number,
.builder-section-title > span {
  background: #052044;
  color: #fff;
}

.wizard-story-aside {
  background:
    radial-gradient(circle at 90% 5%,rgba(244,202,105,.18),transparent 24%),
    linear-gradient(145deg,#052044,#03162f);
  box-shadow: 0 22px 58px rgba(3,22,47,.20);
}

.wizard-story-aside > p,
.privacy-chip small,
.preview-toolbar small,
.preview-assurances {
  color: rgba(255,255,255,.72);
}

.review-check {
  border-color: #d9cfbc;
  background: #fff8e9;
}

.review-check input {
  accent-color: #052044;
}

.review-check small,
.builder-section-title small,
.template-meta small {
  color: #6d778b;
}

.preview-column,
.theme-kings .preview-column {
  background: #03162f;
  box-shadow: 0 25px 70px rgba(3,22,47,.24);
}

.live-preview {
  color: #19304c;
}


/* v6.15.17: remate visual del configurador y miniaturas reales en el carrito. */
.wizard-page .btn,
.wizard-page .btn-red,
.wizard-page .btn-ghost,
.wizard-page .primary,
.wizard-page .secondary {
  border-color: #d39b36 !important;
  background: linear-gradient(135deg,#e6ae3d,#b87916) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(169,109,24,.25) !important;
  text-shadow: 0 1px 2px rgba(73,42,5,.28);
}

.wizard-page .btn:hover,
.wizard-page .btn-red:hover,
.wizard-page .btn-ghost:hover,
.wizard-page .primary:hover,
.wizard-page .secondary:hover {
  border-color: #efc35e !important;
  background: linear-gradient(135deg,#efbd4f,#c4861d) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(169,109,24,.34) !important;
}

.wizard-grid-story {
  align-items: start;
}

.wizard-story-aside {
  align-self: start;
  padding: 30px 28px;
}

.wizard-story-aside .aside-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 13px;
  font-size: 1.15rem;
}

.wizard-story-aside h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem,2.4vw,2.05rem);
  line-height: 1.12;
}

.wizard-story-aside > p {
  line-height: 1.58;
}

.wizard-story-aside .aside-example {
  margin: 20px 0;
  padding: 15px;
}

.wizard-story-aside .privacy-chip {
  padding-top: 17px;
}

.preview-column,
.theme-kings .preview-column {
  position: static;
  top: auto;
}

.preview-toolbar {
  padding: 17px 21px;
  border-bottom: 1px solid rgba(244,202,105,.2);
  background: linear-gradient(135deg,rgba(244,202,105,.08),rgba(255,255,255,.015));
}

.preview-toolbar > span {
  gap: 10px;
  color: #fff;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.preview-toolbar .preview-toolbar-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(244,202,105,.52);
  border-radius: 8px;
  color: #f4ca69;
  background: rgba(244,202,105,.08);
  font-size: .78rem;
  line-height: 1;
}

.preview-toolbar i {
  display: none;
}

.cart-seal {
  overflow: hidden;
  padding: 0;
  border-color: #d9aa4b;
  background: linear-gradient(145deg,#092a55,#03162f);
}

.cart-character-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
  transform-origin: center top;
}

@media (max-width: 980px) {
  .wizard-story-aside {
    padding: 27px 25px;
  }
}

@media (max-width: 720px) {
  .wizard-story-aside {
    padding: 25px 22px;
  }

  .preview-toolbar {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }
}

/* v6.15.18: direcciones individuales, carrito mágico y coherencia visual. */
.wizard-page .field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #ddd3c1;
  border-radius: 12px;
  color: #19304c;
  background: #fffdf8;
}

.commerce-heading h1,
.cart-main h2,
.cart-item-actions > strong,
.extras-picker h3 {
  color: #19304c;
}

.cart-item {
  box-shadow: 0 12px 34px rgba(3,22,47,.08);
}

.edit-letter-link,
.extra-info summary,
.saving-extra {
  color: #a96d18;
}

.extra-option > input,
.shipping-list input,
.consents input {
  accent-color: #d39b36;
}

.commerce-shell .alert.success,
.commerce-shell .success {
  border-color: #e4cf9f;
  background: #fff8e8;
  color: #19304c;
}

.cart-summary {
  position: static;
  top: auto;
  align-self: start;
}

.cart-summary .btn.primary,
.checkout-form .btn.primary {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(73,42,5,.28);
}

.cart-summary-warning {
  display: block;
  margin-top: 14px;
  color: #f4ca69;
  font-size: .7rem;
  line-height: 1.45;
}

.btn.is-disabled {
  cursor: not-allowed;
  opacity: .48;
  pointer-events: none;
  z-index: 6;
}

.cart-delivery-address {
  width: min(100%, 520px);
  margin: 13px 0 11px;
  padding: 13px 15px;
  border: 1px solid #ead8b5;
  border-radius: 13px;
  background: #fffaf0;
}

.cart-delivery-address > span {
  display: block;
  margin-bottom: 4px;
  color: #a96d18;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cart-delivery-address strong {
  color: #19304c;
  font-size: .76rem;
}

.cart-delivery-address p {
  margin: 4px 0 0;
  color: #657289;
  font-size: .7rem;
  line-height: 1.45;
}

.cart-delivery-address.is-missing {
  border-color: #e7bd84;
  background: #fff4e4;
}

.checkout-destinations {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.checkout-destinations article {
  padding: 15px;
  border: 1px solid #e4d4b8;
  border-radius: 14px;
  background: #fffaf0;
}

.checkout-destinations span {
  display: block;
  color: #a96d18;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-destinations strong {
  display: block;
  margin-top: 4px;
  color: #19304c;
  font-size: .82rem;
}

.checkout-destinations p {
  margin: 5px 0 8px;
  color: #657289;
  font-size: .7rem;
  line-height: 1.45;
}

.checkout-destinations a,
.checkout-summary a {
  color: #d7a743;
  font-size: .66rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

.shipping-per-letter-note {
  margin: -7px 0 14px;
  color: #657289;
  font-size: .72rem;
}

.checkout-summary-note {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.68) !important;
  line-height: 1.45;
}

.coupon-form button {
  color: #fff;
  background: linear-gradient(135deg,#e6ae3d,#b87916);
}

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


/* v6.15.19: botones del configurador idénticos a los CTA dorados de la portada. */
.wizard-page .btn,
.wizard-page .btn-red,
.wizard-page .btn-ghost,
.wizard-page .primary,
.wizard-page .secondary {
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  padding: .9rem 1.35rem !important;
  background: linear-gradient(180deg,#e2ad46,#bb7d1f) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(113,70,5,.35), inset 0 1px rgba(255,255,255,.3) !important;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .012em;
  line-height: 1;
  text-shadow: none;
  text-transform: uppercase;
  transition: transform .2s ease,filter .2s ease,box-shadow .2s ease;
}

.wizard-page .btn:hover,
.wizard-page .btn-red:hover,
.wizard-page .btn-ghost:hover,
.wizard-page .primary:hover,
.wizard-page .secondary:hover {
  border: 0 !important;
  background: linear-gradient(180deg,#e2ad46,#bb7d1f) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(113,70,5,.35), inset 0 1px rgba(255,255,255,.3) !important;
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.wizard-page .btn:active,
.wizard-page .btn-red:active,
.wizard-page .btn-ghost:active {
  transform: translateY(0);
}

.wizard-page .btn svg {
  width: 18px;
  height: 18px;
}

.printed-letter-note {
  display: grid;
  gap: 5px;
  margin: 6px 0 2px;
  padding: 15px 17px;
  border: 1px solid #e4d4b8;
  border-radius: 12px;
  background: #fff8e9;
}

.printed-letter-note strong { color: #19304c; }
.printed-letter-note small,
.checkout-address-note { color: #657289; line-height: 1.55; }
.checkout-address-note { margin: -4px 0 4px; }


/* v6.15.20: checkout fiscal, resumen fijo y desglose detallado. */
.checkout-summary {
  position: static !important;
  top: auto !important;
  align-self: start;
}

.checkout-order-items {
  display: grid;
  gap: 10px;
  margin: 0 0 10px;
}

.checkout-order-item {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}

.checkout-order-item-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.checkout-order-item-title > span {
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,.82);
  font-size: .72rem;
}

.checkout-order-item-title strong,
.checkout-order-item-title b {
  color: #fff;
}

.checkout-order-item-title small,
.checkout-no-extras {
  margin-top: 3px;
  color: rgba(255,255,255,.58) !important;
  font-size: .62rem;
}

.checkout-order-extras {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.checkout-order-extras p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  color: rgba(255,255,255,.72);
  font-size: .65rem;
}

.checkout-order-extras strong {
  color: #f4ca69;
  white-space: nowrap;
}

.consents--single {
  padding: 17px 0 5px;
}

.consents--single label {
  align-items: center;
}

.consents--single a {
  color: #a96d18;
  font-weight: 800;
  text-underline-offset: 3px;
}

.shipping-list input {
  accent-color: #d39b36;
}


/* v6.16.2: disponibilidad de diseños según materiales de stock. */
.template-chip.is-out-of-stock {
  opacity: .56;
  cursor: not-allowed;
  filter: saturate(.45);
}
.template-chip.is-out-of-stock .template-card {
  cursor: not-allowed;
  border-style: dashed;
}
.template-chip.is-out-of-stock .template-meta small,
.template-chip.is-out-of-stock .template-check {
  color: #9f3131;
}
.template-stock-notice {
  margin: 0 0 14px;
}


/* v6.17.4: seguimiento privado con recursos absolutos y diseño responsive. */
.status-page--tracking {
  width: min(1040px,calc(100% - 32px));
  padding: clamp(48px,7vw,86px) 0 96px;
  text-align: left;
}
.status-hero-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px,5vw,52px);
  border: 1px solid rgba(215,170,74,.34);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 15%,rgba(244,202,105,.16),transparent 28%),
    linear-gradient(135deg,#03162f,#0a315d);
  box-shadow: 0 28px 70px rgba(3,22,47,.18);
}
.status-hero-card h1 { margin: 0 0 14px; color: #fff7e7; font-size: clamp(2.35rem,6vw,4.5rem); }
.status-hero-card p { max-width: 600px; margin: 0; color: rgba(255,255,255,.72); font-size: 1rem; }
.status-order-code { flex: 0 0 auto; min-width: 220px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(0,0,0,.18); }
.status-order-code small,.status-current small,.status-details-grid small,.status-tracking-card small { display: block; color: #b98428; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.status-order-code strong { display: block; margin-top: 6px; color: #fff; font-size: 1.05rem; letter-spacing: .035em; }
.status-test-badge { display: inline-flex; margin-top: 10px; padding: 5px 8px; border-radius: 999px; color: #132a48; background: #f4ca69; font-size: .62rem; font-weight: 900; letter-spacing: .08em; }
.status-current { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; margin: 24px 0; padding: 22px 24px; border: 1px solid #d7c18f; border-radius: 20px; background: #fffaf0; box-shadow: 0 14px 38px rgba(3,22,47,.08); }
.status-current-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#d39b36,#a96d18); font-size: 1.4rem; font-weight: 900; }
.status-current h2 { margin: 3px 0 5px; color: #10264a; font-size: clamp(1.5rem,3vw,2.15rem); }
.status-current p { margin: 0; color: #657289; }
.status-current.is-incident { border-color: #e8c16b; background: #fff7df; }
.status-current.is-incident .status-current-icon { background: #b47712; }
.status-current.is-cancelled { border-color: #e9bdc1; background: #fff1f2; }
.status-current.is-cancelled .status-current-icon { background: #9c2933; }
.status-timeline { display: grid; grid-template-columns: repeat(5,1fr); margin: 0 0 24px; padding: 26px 22px; border: 1px solid #e4d4b8; border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(3,22,47,.08); list-style: none; }
.status-timeline li { position: relative; display: grid; justify-items: center; gap: 10px; padding: 0 10px; text-align: center; }
.status-timeline li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: calc(50% + 21px); width: calc(100% - 42px); height: 2px; background: #e5dfd3; }
.status-timeline li.is-done:not(:last-child)::after { background: #d39b36; }
.status-step-dot { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid #d9d2c5; border-radius: 50%; color: #8c96a6; background: #fff; font-size: .78rem; font-weight: 900; }
.status-timeline li.is-done .status-step-dot,.status-timeline li.is-active .status-step-dot { border-color: #d39b36; color: #fff; background: #d39b36; box-shadow: 0 0 0 6px rgba(211,155,54,.12); }
.status-timeline strong { display: block; color: #19304c; font-size: .78rem; }
.status-timeline small { display: block; margin-top: 4px; color: #7a8493; font-size: .68rem; line-height: 1.35; }
.status-details-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.status-details-grid article { min-width: 0; padding: 20px; border: 1px solid #e4d4b8; border-radius: 18px; background: #fff; box-shadow: 0 12px 36px rgba(3,22,47,.06); }
.status-details-grid strong { display: block; margin-top: 8px; color: #19304c; font-size: .95rem; overflow-wrap: anywhere; }
.status-tracking-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 20px 22px; border: 1px solid #e4d4b8; border-radius: 18px; background: #fff; }
.status-tracking-card strong { display: block; margin-top: 5px; color: #19304c; font-size: 1rem; }
.status-document-card,.status-refund-card { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:18px; padding:20px 22px; border:1px solid #e4d4b8; border-radius:18px; background:#fff; box-shadow:0 12px 36px rgba(3,22,47,.045); }
.status-document-card small,.status-refund-card small { display:block; color:#b98428; font-size:.68rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.status-document-card strong,.status-refund-card strong { display:block; margin-top:5px; color:#19304c; font-size:1rem; }
.status-refund-card p { max-width:620px; margin:0; color:#657289; font-size:.8rem; line-height:1.55; }
.status-private-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-left: 3px solid #d39b36; border-radius: 0 12px 12px 0; background: rgba(255,255,255,.62); }
.status-private-note p { margin: 0; color: #657289; font-size: .82rem; line-height: 1.55; }
.status-private-note strong { color: #19304c; }
@media (max-width: 820px) {
  .status-hero-card { align-items: stretch; flex-direction: column; }
  .status-order-code { min-width: 0; }
  .status-timeline { grid-template-columns: 1fr; gap: 0; padding: 18px; }
  .status-timeline li { grid-template-columns: 42px 1fr; justify-items: start; align-items: center; padding: 9px 0; text-align: left; }
  .status-timeline li:not(:last-child)::after { top: 47px; left: 18px; width: 2px; height: calc(100% - 20px); }
  .status-timeline li div { padding-left: 8px; }
  .status-details-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .status-page--tracking { width: calc(100% - 22px); padding-top: 28px; }
  .status-hero-card { padding: 24px 20px; border-radius: 22px; }
  .status-current { grid-template-columns: 44px 1fr; padding: 18px; }
  .status-current-icon { width: 42px; height: 42px; }
  .status-details-grid { grid-template-columns: 1fr; }
  .status-tracking-card,.status-document-card,.status-refund-card { align-items: stretch; flex-direction: column; }
  .status-tracking-card .button,.status-document-card .button { width: 100%; }
}

/* v7.2.1 · Destinatario: sobre de Reyes; edad y tratamiento pasan al paso 2. */
body.page-wizard .printed-letter-note-top {
  margin: 0 0 22px;
}

body.page-wizard .personalization-basics {
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid #e1e5e8;
  border-radius: 14px;
  background: #f8f9f9;
}

body.page-wizard .personalization-basics-head > span {
  color: #9a6516;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.page-wizard .personalization-basics-head h2 {
  margin: 4px 0;
  color: #1b2b43;
  font-size: 16px;
  line-height: 1.3;
}

body.page-wizard .personalization-basics-head p {
  margin: 0;
  color: #758092;
  font-size: 12px;
  line-height: 1.5;
}

body.page-wizard .personalization-basics-grid {
  display: grid;
  grid-template-columns: minmax(150px,.72fr) minmax(0,1.55fr);
  gap: 18px;
  align-items: end;
  margin-top: 16px;
}

body.page-wizard .personalization-grammar-fieldset { margin-top: 0 !important; }
body.page-wizard .personalization-grammar-fieldset legend {
  margin-bottom: 8px;
  color: #24354d;
  font-size: 13px;
  font-weight: 850;
}

body.page-wizard .wizard-recipient-aside {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 18px;
  align-self: start;
  min-width: 0;
}

body.page-wizard .wizard-recipient-aside .wizard-product-card {
  position: relative;
  top: auto;
}

body.page-wizard .wizard-envelope-card {
  overflow: hidden;
  border: 1px solid #e0d7ca;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(31,33,36,.055);
}

body.page-wizard .wizard-envelope-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px 12px;
}

body.page-wizard .wizard-envelope-card-head .eyebrow {
  display: block;
  margin: 0 0 4px;
  color: #9a6516;
  font-size: 9px;
  letter-spacing: .08em;
}

body.page-wizard .wizard-envelope-card-head h2 {
  margin: 0;
  color: #1c2e47;
  font-size: 16px;
  line-height: 1.25;
}

body.page-wizard .envelope-preview-live-badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef7f2;
  color: #27705a;
  font-size: 9px;
  font-weight: 850;
}

body.page-wizard .envelope-preview-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 0 18px 12px;
  padding: 4px;
  border: 1px solid #e0d8cc;
  border-radius: 10px;
  background: #f5f2ec;
}

body.page-wizard .envelope-preview-switch button {
  min-height: 35px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #697382;
  font: 800 11px/1 var(--sans);
  cursor: pointer;
}

body.page-wizard .envelope-preview-switch button.is-active {
  background: #fff;
  color: #10243d;
  box-shadow: 0 2px 8px rgba(25,35,48,.09);
}

body.page-wizard .envelope-preview-stage {
  margin: 0 12px;
  overflow: hidden;
  border-radius: 11px;
  background: #55252c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

body.page-wizard .envelope-preview-face {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  container-type: inline-size;
}

body.page-wizard .envelope-preview-face[hidden] { display: none !important; }
body.page-wizard .envelope-preview-face img { display: block; width: 100%; height: 100%; object-fit: cover; }

body.page-wizard .envelope-preview-address {
  position: absolute;
  left: 27.2%;
  top: 61.5%;
  width: 49.5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  font-family: "BendunganSignature", cursive;
  font-size: clamp(13px,4.05cqw,28px);
  line-height: .93;
  pointer-events: none;
}

body.page-wizard .envelope-preview-address span {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: .95em;
  overflow: visible;
  white-space: nowrap;
}

body.page-wizard .envelope-preview-help {
  margin: 0;
  padding: 12px 18px 16px;
  color: #758092;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  body.page-wizard .wizard-recipient-aside { position: relative; top: auto; }
  body.page-wizard .wizard-grid-recipient .wizard-recipient-aside { display: grid; grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body.page-wizard .personalization-basics-grid { grid-template-columns: 1fr; align-items: stretch; }
  body.page-wizard .wizard-envelope-card-head { padding: 16px 15px 11px; }
  body.page-wizard .envelope-preview-switch { margin-inline: 15px; }
  body.page-wizard .envelope-preview-stage { margin-inline: 10px; }
  body.page-wizard .envelope-preview-help { padding-inline: 15px; }
}

/* v7.2.3 · Vista previa de sobre de Reyes a ancho completo y tipografía legible. */
body.page-wizard .wizard-envelope-card-wide {
  width: 100%;
  max-width: none;
  margin-top: 22px;
}

body.page-wizard .wizard-envelope-card-wide .wizard-envelope-card-head {
  padding: 22px 24px 14px;
}

body.page-wizard .wizard-envelope-card-wide .wizard-envelope-card-head h2 {
  font-size: 20px;
}

body.page-wizard .wizard-envelope-card-wide .envelope-preview-switch {
  max-width: 520px;
  margin: 0 auto 16px;
}

body.page-wizard .wizard-envelope-card-wide .envelope-preview-stage {
  width: calc(100% - 48px);
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 15px;
}

body.page-wizard .wizard-envelope-card-wide .envelope-preview-help {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px 20px;
  font-size: 12px;
}

body.page-wizard .envelope-preview-address {
  left: 28.6%;
  top: 62.5%;
  width: 57%;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px,2.15cqw,26px);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: .015em;
}

body.page-wizard .envelope-preview-address span {
  min-height: 1.48em;
  overflow: hidden;
  text-overflow: clip;
}

@media (max-width: 720px) {
  body.page-wizard .wizard-envelope-card-wide { margin-top: 16px; }
  body.page-wizard .wizard-envelope-card-wide .wizard-envelope-card-head { padding: 17px 15px 11px; }
  body.page-wizard .wizard-envelope-card-wide .wizard-envelope-card-head h2 { font-size: 17px; }
  body.page-wizard .wizard-envelope-card-wide .envelope-preview-switch { margin-inline: 12px; max-width: none; }
  body.page-wizard .wizard-envelope-card-wide .envelope-preview-stage { width: calc(100% - 20px); }
  body.page-wizard .wizard-envelope-card-wide .envelope-preview-help { padding-inline: 15px; }
  body.page-wizard .envelope-preview-address {
    left: 28%;
    top: 61.8%;
    width: 59%;
    font-size: clamp(11px,2.5cqw,18px);
    line-height: 1.42;
  }
}

/* v7.2.4 · Sobre Reyes: tipografía y proporciones originales del AI (Autography 35 pt). */
body.page-wizard .envelope-preview-address {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  color: #fff;
  font-family: "Autography", "BendunganSignature", cursive;
  font-size: 5.61cqw;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

body.page-wizard .envelope-preview-address span {
  position: absolute;
  display: block;
  width: auto;
  max-width: 68%;
  min-height: 0;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
  line-height: 1;
}

/* Coordenadas obtenidas de plantilla_sobre_reyes_magos_anverso_vista_previa.ai. */
body.page-wizard .envelope-preview-address span:nth-child(1) {
  left: 27.70%;
  top: 58.90%;
}
body.page-wizard .envelope-preview-address span:nth-child(2) {
  left: 29.64%;
  top: 67.10%;
}
body.page-wizard .envelope-preview-address span:nth-child(3) {
  left: 29.52%;
  top: 75.30%;
}

@media (max-width: 720px) {
  body.page-wizard .envelope-preview-address {
    inset: 0;
    width: 100%;
    height: 100%;
    font-size: 5.61cqw;
    line-height: 1;
  }
}


/* v7.2.5 · Ajuste fiel del anverso de Reyes: bloque centrado, proporción visual del original y esquinas rectas. */
body.page-wizard .wizard-envelope-card-wide .envelope-preview-stage,
body.page-wizard .wizard-envelope-card-wide .envelope-preview-face,
body.page-wizard .wizard-envelope-card-wide .envelope-preview-face img {
  border-radius: 0 !important;
}

body.page-wizard .envelope-preview-address {
  inset: 0;
  width: 100%;
  height: 100%;
  font-family: "Autography", "BendunganSignature", cursive;
  font-size: 5.61cqw;
  line-height: 1;
}

body.page-wizard .envelope-preview-address span {
  left: 50% !important;
  width: max-content;
  max-width: none;
  text-align: center;
  transform: translateX(-50%) scaleX(.72);
  transform-origin: 50% 0;
}

/* Posición vertical ajustada contra la composición original del AI. */
body.page-wizard .envelope-preview-address span:nth-child(1) { top: 61.0%; }
body.page-wizard .envelope-preview-address span:nth-child(2) { top: 69.2%; }
body.page-wizard .envelope-preview-address span:nth-child(3) { top: 77.4%; }

@media (max-width: 720px) {
  body.page-wizard .envelope-preview-address { font-size: 5.61cqw; }
  body.page-wizard .envelope-preview-address span { transform: translateX(-50%) scaleX(.72); }
}


/* v7.2.6 · Paso 2: bloque de tono alineado + edad activable con checkbox clásico. */
body.page-wizard .personalization-basics {
  margin: 0 0 24px;
  padding: 22px 24px 24px;
  border: 1px solid #dfe3e7;
  border-radius: 18px;
  background: #f8f9fa;
}
body.page-wizard .personalization-basics-head > span {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  letter-spacing: .1em;
}
body.page-wizard .personalization-basics-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
}
body.page-wizard .personalization-basics-head p {
  max-width: 720px;
  font-size: 13px;
  line-height: 1.5;
}
body.page-wizard .personalization-basics-grid {
  display: grid;
  grid-template-columns: minmax(220px,.75fr) minmax(360px,1.55fr);
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}
body.page-wizard .personalization-basic-field {
  min-width: 0;
  margin: 0 !important;
}
body.page-wizard .personalization-basic-label-row,
body.page-wizard .personalization-grammar-fieldset legend {
  min-height: 24px;
  margin: 0 0 9px;
  color: #24354d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}
body.page-wizard .personalization-basic-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
body.page-wizard .age-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #687385;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}
body.page-wizard .age-checkbox input[type="hidden"] { display: none; }
body.page-wizard .age-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: #052044;
  cursor: pointer;
}
body.page-wizard .personalization-age-input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid #ddd3c1;
  border-radius: 10px;
  outline: none;
  background: #fffdf8;
  color: #19304c;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease, background .18s ease;
}
body.page-wizard .personalization-age-input:focus {
  border-color: #052044;
  box-shadow: 0 0 0 4px rgba(5,32,68,.10);
}
body.page-wizard .personalization-age-field.is-disabled .personalization-age-input {
  border-color: #e2e4e6;
  background: #f0f2f3;
  color: #9098a2;
  opacity: .72;
}
body.page-wizard .personalization-basic-field > small {
  display: block;
  margin-top: 7px;
  color: #7a8492;
  font-size: 11px;
  line-height: 1.45;
}
body.page-wizard .personalization-grammar-fieldset .segmented-control {
  min-height: 50px;
  margin: 0;
}
body.page-wizard .personalization-grammar-fieldset .segmented-control span {
  min-height: 40px;
  display: grid;
  place-items: center;
}

/* v7.2.6 · En Reyes solo se muestra el reverso; sin selector ni vista del anverso. */
body.page-wizard .wizard-envelope-card-reverse-only .wizard-envelope-card-head {
  padding-bottom: 14px;
}
body.page-wizard .wizard-envelope-card-reverse-only .envelope-preview-stage {
  margin-top: 0;
}

@media (max-width: 720px) {
  body.page-wizard .personalization-basics { padding: 19px 16px 20px; }
  body.page-wizard .personalization-basics-grid { grid-template-columns: 1fr; gap: 20px; }
  body.page-wizard .personalization-basic-label-row,
  body.page-wizard .personalization-grammar-fieldset legend { min-height: 0; }
}


/* v7.2.8 · Anverso Reyes en vista previa con plantilla visual y cabecera dinámica por rey. */
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-stage {
  background: #63282d;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-face,
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-face img {
  border-radius: 0 !important;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-watermark {
  position: absolute;
  inset: 10% 5.2% 12%;
  z-index: 5;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-order {
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 6;
  color: rgba(84,62,53,.82);
  font: 600 .49rem var(--sans);
  letter-spacing: .08em;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-heading {
  position: absolute;
  inset: 0;
  color: #fff;
  font-family: "AnkaCoder", "Courier New", monospace;
  font-size: 2.68cqw;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  pointer-events: none;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-heading span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 76%;
  white-space: nowrap;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-heading span:nth-child(1) { top: 11.45%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-heading span:nth-child(2) { top: 16.92%; font-size: 92%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-heading span:nth-child(3) { top: 22.72%; font-size: 84%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-heading.is-individual { letter-spacing: .105em; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-heading.is-individual span:nth-child(2) { font-size: 84%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-heading.is-individual span:nth-child(3) { font-size: 78%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  color: #111;
  font-family: "Autography", "BendunganSignature", cursive;
  font-size: 5.58cqw;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span {
  position: absolute;
  display: block;
  width: auto;
  max-width: 70%;
  white-space: nowrap;
  line-height: 1;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span:nth-child(1) { left: 27.70%; top: 58.90%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span:nth-child(2) { left: 29.64%; top: 67.12%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span:nth-child(3) { left: 29.52%; top: 75.34%; }
@media (max-width: 720px) {
  body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-heading { font-size: 2.9cqw; }
  body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address { font-size: 5.58cqw; }
}


/* v7.2.9 · Corrección real de la vista previa del sobre de Reyes. */
body.page-wizard [data-envelope-preview] .envelope-preview-face {
  position: relative;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address {
  position: absolute;
  inset: 0;
  color: #111;
  font-family: "Autography", "BendunganSignature", cursive;
  font-size: 5.18cqw;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: max-content;
  max-width: 78%;
  white-space: nowrap;
  text-align: center;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span:nth-child(1) { top: 59.2%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span:nth-child(2) { top: 68.9%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span:nth-child(3) { top: 77.8%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-face.is-individual .envelope-preview-heading {
  position: absolute;
  inset: 0;
  color: #fff;
  font-family: "AnkaCoder", "Courier New", monospace;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  letter-spacing: .11em;
  font-size: 2.08cqw;
  pointer-events: none;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-face.is-individual .envelope-preview-heading span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: auto;
  max-width: 78%;
  white-space: nowrap;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-face.is-individual .envelope-preview-heading span:nth-child(1) { top: 31.2%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-face.is-individual .envelope-preview-heading span:nth-child(2) { top: 38.6%; font-size: 92%; }


/* v7.3.1 · Vista previa Reyes basada en la plantilla original, sin reemplazar cabecera. */
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-face,
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-face img {
  border-radius: 0 !important;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address {
  position: absolute;
  inset: 0;
  color: #ffffff;
  font-family: "Autography", "BendunganSignature", cursive;
  font-size: 5.15cqw;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: max-content;
  max-width: 82%;
  white-space: nowrap;
  text-align: center;
}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span:nth-child(1) { top: 61.2%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span:nth-child(2) { top: 69.8%; }
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address span:nth-child(3) { top: 78.3%; }


/* v7.3.5 · Papá Noel: coordenadas exactas del bloque de destinatario del AI. */
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="santa"] .envelope-preview-stage {
  background: #d9d9d9;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="santa"] .envelope-preview-face,
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="santa"] .envelope-preview-face img {
  border-radius: 0 !important;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="santa"] .envelope-preview-address {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #161616;
  font-family: "EnvelopeTypewriterPreview", "Typewriter Spool SFT W05 Ex XBd", "Courier New", monospace;
  font-size: 2.726cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  pointer-events: none;
  z-index: 3;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="santa"] .envelope-preview-address span {
  position: absolute !important;
  left: 33.638% !important;
  display: block;
  width: max-content;
  max-width: 55%;
  overflow: visible;
  white-space: nowrap;
  text-align: left;
  transform: none !important;
  line-height: 1;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="santa"] .envelope-preview-address span:nth-child(1) { top: 59.408% !important; }
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="santa"] .envelope-preview-address span:nth-child(2) { top: 66.688% !important; }
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="santa"] .envelope-preview-address span:nth-child(3) { top: 73.958% !important; }
@media (max-width: 720px) {
  body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="santa"] .envelope-preview-address {
    font-size: 2.726cqw;
  }
}


/* v7.3.6 · Elfo Travieso: vista previa y bloque de destinatario de la plantilla original. */
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-stage {
  background: #d9d9d9;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-face,
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-face img {
  border-radius: 0 !important;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-address {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #161616;
  font-family: "EnvelopeTypewriterPreview", "Typewriter Spool SFT W05 Ex XBd", "Courier New", monospace;
  font-size: 2.726cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  pointer-events: none;
  z-index: 3;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-address span {
  position: absolute !important;
  left: 45.047% !important;
  display: block;
  width: max-content;
  max-width: 39.1%;
  overflow: visible;
  white-space: nowrap;
  text-align: left;
  transform: none !important;
  line-height: 1;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-address span:nth-child(1) { top: 62.789% !important; }
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-address span:nth-child(2) { top: 70.062% !important; }
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-address span:nth-child(3) { top: 77.335% !important; }
@media (max-width: 720px) {
  body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-address {
    font-size: 2.726cqw;
  }
  body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="elfo"] .envelope-preview-address span {
    left: 44.2% !important;
    max-width: 41%;
  }
}

/* Envelope preview layer parity with the letter previews. */
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-address{z-index:3}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-watermark{z-index:5}
body.page-wizard .wizard-envelope-card-front-preview .envelope-preview-order{z-index:6}


/* v7.3.7 · Ratoncito Pérez: vista previa y bloque de destinatario de la plantilla original. */
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-stage {
  background: #d9d9d9;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-face,
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-face img {
  border-radius: 0 !important;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-address {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #161616;
  font-family: "EnvelopeTypewriterPreview", "Typewriter Spool SFT W05 Ex XBd", "Courier New", monospace;
  font-size: 2.726cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  pointer-events: none;
  z-index: 6;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-address span {
  position: absolute !important;
  left: 46.78% !important;
  display: block;
  width: max-content;
  max-width: 42%;
  overflow: visible;
  white-space: nowrap;
  text-align: left;
  transform: none !important;
  line-height: 1;
}
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-address span:nth-child(1) { top: 61.75% !important; }
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-address span:nth-child(2) { top: 69.02% !important; }
body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-address span:nth-child(3) { top: 76.30% !important; }
@media (max-width: 720px) {
  body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-address {
    font-size: 2.726cqw;
  }
  body.page-wizard .wizard-envelope-card-front-preview[data-envelope-template="ratoncito"] .envelope-preview-address span {
    max-width: 44%;
  }
}

/* v7.4.6 · Quiénes somos: continuidad visual azul y nieve de la portada. */
.public-body.page-about #content {
  position: relative;
  z-index: auto;
  min-height: 64vh;
  color: var(--cream);
  background: transparent;
}
.page-about .about-page-section {
  position: relative;
  isolation: auto;
  color: var(--cream);
  background-color: #062247;
  background-image:
    radial-gradient(circle at 8% 28%, rgba(255,255,255,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.15) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.13) 0 1px, transparent 2px),
    linear-gradient(180deg,#062247 0%,#061c3d 72%,#03162f 100%);
  background-size: 145px 145px,210px 210px,170px 170px,auto;
  border-top: 0;
  border-bottom: 0;
}
.page-about .about-page-section > .section-inner {
  position: relative;
  z-index: 2;
}
.page-about .about-card {
  border-color: rgba(211,155,54,.38);
  box-shadow: 0 28px 76px rgba(0,0,0,.24);
}

/* v7.4.7 · Quiénes somos integrado visualmente con la portada nocturna. */
.public-body.page-about #content {
  position: relative;
  z-index: auto;
  min-height: 64vh;
  color: var(--cream);
  background: #062247;
}
.page-about .about-page-section {
  position: relative;
  min-height: 70vh;
  padding: clamp(74px, 8vw, 112px) 0 clamp(82px, 9vw, 124px);
  color: var(--cream);
  background-color: #062247;
  background-image:
    radial-gradient(circle at 8% 28%, rgba(255,255,255,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.15) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.13) 0 1px, transparent 2px),
    linear-gradient(180deg,#062247 0%,#061c3d 70%,#041831 100%);
  background-size: 145px 145px, 210px 210px, 170px 170px, auto;
  border: 0;
  isolation: auto;
}
.page-about .about-page-inner {
  position: relative;
  z-index: 2;
}
.page-about .about-page-heading {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}
.page-about .about-page-heading h1 {
  max-width: 850px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-shadow: 0 5px 26px rgba(0,0,0,.24);
}
.page-about .about-page-heading .ornament {
  margin-top: 14px;
  margin-bottom: 18px;
}
.page-about .about-page-lead {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,.78);
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}
.page-about .about-page-lead strong { color: #fff; }
.page-about .about-founders--night {
  width: max-content;
  max-width: 100%;
  margin: 28px auto 0;
  justify-content: center;
  text-align: left;
}
.page-about .about-founders--night .about-founder-photo {
  width: 60px;
  height: 60px;
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 1px rgba(230,179,76,.42);
  background-size: cover;
  background-repeat: no-repeat;
}
.page-about .about-founders--night .about-founder-photo--irene {
  background-image: url("about/irene-avatar.webp");
  background-position: center 20%;
  background-color: #d9c6bb;
}
.page-about .about-founders--night .about-founder-photo--daniel {
  margin-left: -18px;
  background-image: url("about/daniel-avatar.webp");
  background-position: center center;
  background-color: #234661;
}
.page-about .about-founders--night .about-founder-photo--irene > span,
.page-about .about-founders--night .about-founder-photo--daniel > span {
  opacity: 0;
}
.page-about .about-founders--night p { color: rgba(255,255,255,.56); }
.page-about .about-founders--night strong { color: #fff; }
.page-about .about-founders--night span { color: rgba(255,255,255,.62); }

.page-about .about-story {
  position: relative;
  width: min(1040px, 100%);
  margin: clamp(52px, 7vw, 82px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(50px, 7vw, 88px);
}
.page-about .about-story::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(225,171,67,.55) 14%, rgba(225,171,67,.22) 86%, transparent);
  transform: translateX(-50%);
}
.page-about .about-story-column { min-width: 0; }
.page-about .about-story-column p {
  margin: 0 0 23px;
  color: rgba(255,255,255,.76);
  font-size: clamp(.96rem, 1.2vw, 1.04rem);
  line-height: 1.82;
}
.page-about .about-story-column p:last-child { margin-bottom: 0; }
.page-about .about-story-column strong { color: #fff; font-weight: 750; }
.page-about .about-story-column .about-story-kicker {
  margin: 28px 0 22px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  line-height: 1.35;
}
.page-about .about-story-column .about-story-kicker strong { color: var(--gold-light); }

.page-about .about-memory--night {
  width: min(880px, 100%);
  margin: clamp(52px, 7vw, 78px) auto 0;
  padding: 28px clamp(24px, 5vw, 52px);
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(226,174,72,.36);
  border-bottom: 1px solid rgba(226,174,72,.36);
  border-left: 0;
  border-radius: 0;
  background: rgba(255,255,255,.025);
  color: #fff;
  text-align: center;
  box-shadow: none;
}
.page-about .about-memory--night p {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.36;
}
.page-about .about-memory-star {
  color: var(--gold-light);
  font-size: 1rem;
  text-shadow: 0 0 12px rgba(241,190,83,.55);
}
.page-about .about-signoff--night {
  margin: 34px auto 0;
  color: rgba(255,255,255,.68);
  text-align: center;
  font-family: var(--serif);
  line-height: 1.45;
}
.page-about .about-signoff--night p { margin: 0 0 3px; }
.page-about .about-signoff--night strong {
  display: block;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 600;
}
.page-about .about-signoff--night span {
  display: block;
  margin-top: 4px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.page-about .about-cta--night {
  width: min(1040px, 100%);
  margin: clamp(58px, 8vw, 92px) auto 0;
  padding: clamp(30px, 4vw, 42px) 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(210,226,244,.16);
}
.page-about .about-cta--night > div { max-width: 670px; }
.page-about .about-cta--night .eyebrow { margin-bottom: 8px; }
.page-about .about-cta--night h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.06;
}
.page-about .about-cta--night .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .page-about .about-story {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 720px;
  }
  .page-about .about-story::before { display: none; }
  .page-about .about-story-column + .about-story-column { margin-top: 23px; }
  .page-about .about-cta--night {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 680px) {
  .page-about .about-page-section {
    padding: 58px 0 76px;
  }
  .page-about .about-page-heading h1 {
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  }
  .page-about .about-page-lead { font-size: .94rem; }
  .page-about .about-founders--night { margin-top: 24px; }
  .page-about .about-founders--night .about-founder-photo {
    width: 54px;
    height: 54px;
  }
  .page-about .about-story { margin-top: 44px; }
  .page-about .about-story-column p {
    font-size: .94rem;
    line-height: 1.74;
  }
  .page-about .about-memory--night {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 8px;
  }
  .page-about .about-memory-star:last-child { display: none; }
  .page-about .about-memory--night p { font-size: 1.45rem; }
  .page-about .about-cta--night { margin-top: 58px; }
  .page-about .about-cta--night .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* v7.4.8 · Quiénes somos: lectura lineal y jerarquía alineada con la portada. */
.page-about .about-page-section {
  padding-top: clamp(42px, 5vw, 68px);
}
.page-about .about-page-heading h1 {
  margin-top: 0;
}
.page-about .about-story {
  width: min(820px, 100%);
  margin-top: clamp(44px, 6vw, 68px);
  display: block;
}
.page-about .about-story::before {
  display: none;
}
.page-about .about-story-column {
  width: 100%;
  min-width: 0;
}
.page-about .about-story-column p {
  margin-bottom: 24px;
}
.page-about .about-story-column .about-story-kicker {
  margin: 32px 0 22px;
}
.page-about .about-cta--night .eyebrow {
  margin: 0 0 10px;
  color: #f1c86b;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.3;
  opacity: 1;
  text-shadow: 0 1px 10px rgba(0,0,0,.24);
}
@media (max-width: 680px) {
  .page-about .about-page-section {
    padding-top: 38px;
  }
  .page-about .about-story {
    margin-top: 38px;
  }
  .page-about .about-cta--night .eyebrow {
    font-size: .76rem;
  }
}


/* v7.4.9 · Configurador: personaje elegido integrado en el progreso y paso 1 simplificado. */
body.page-wizard .wizard-progress-summary {
  align-items: center;
}
body.page-wizard .wizard-progress-main {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  min-width: 0;
}
body.page-wizard .wizard-progress-character {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  padding-right: 18px;
  border-right: 1px solid #e4e7ea;
}
body.page-wizard .wizard-progress-character-thumb {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(15,61,46,.12);
  border-radius: 50%;
  background: linear-gradient(145deg,#f7f8f8,#eef2f0);
  box-shadow: 0 3px 10px rgba(31,33,36,.08);
}
body.page-wizard.theme-kings .wizard-progress-character-thumb {
  border-color: rgba(23,59,103,.15);
  background: linear-gradient(145deg,#f5f7fb,#edf1f7);
}
body.page-wizard .wizard-progress-character-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
body.page-wizard .wizard-progress-character-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
body.page-wizard .wizard-progress-character-copy small {
  color: #9a6516;
  font-size: .54rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .11em;
  white-space: nowrap;
}
body.page-wizard .wizard-progress-character-copy strong {
  max-width: 180px;
  overflow: hidden;
  color: var(--wizard-ink);
  font-size: .77rem;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.page-wizard .wizard-progress-copy {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}
body.page-wizard .wizard-progress-copy > span {
  color: var(--wizard-muted);
  font-size: .73rem;
  font-weight: 600;
}
body.page-wizard .wizard-progress-copy > strong {
  color: var(--wizard-ink);
  font-size: .82rem;
  font-weight: 750;
}
body.page-wizard.wizard-step-recipient .wizard-grid-recipient {
  display: block !important;
}
body.page-wizard.wizard-step-recipient .wizard-form-card {
  width: 100%;
}

/* Quiénes somos: asegurar la legibilidad de la despedida sobre el fondo nocturno. */
.page-about .about-signoff--night p {
  margin: 0 0 5px;
  color: rgba(255,255,255,.92) !important;
  font-size: 1.06rem;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0,0,0,.22);
}

@media (max-width: 760px) {
  body.page-wizard .wizard-progress-summary {
    align-items: flex-start;
    gap: 10px;
  }
  body.page-wizard .wizard-progress-main {
    gap: 11px !important;
  }
  body.page-wizard .wizard-progress-character {
    gap: 8px;
    padding-right: 11px;
  }
  body.page-wizard .wizard-progress-character-thumb {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
  body.page-wizard .wizard-progress-character-copy small {
    font-size: .48rem;
  }
  body.page-wizard .wizard-progress-character-copy strong {
    max-width: 110px;
    font-size: .69rem;
  }
  body.page-wizard .wizard-progress-copy {
    display: block;
  }
  body.page-wizard .wizard-progress-copy > span {
    display: block;
    margin-bottom: 2px;
    font-size: .64rem;
  }
  body.page-wizard .wizard-progress-copy > strong {
    font-size: .72rem;
  }
}
@media (max-width: 520px) {
  body.page-wizard .wizard-progress-summary {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
  }
  body.page-wizard .wizard-progress-main {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr);
    gap: 10px !important;
  }
  body.page-wizard .wizard-progress-character {
    padding-right: 10px;
  }
  body.page-wizard .wizard-progress-character-copy strong {
    max-width: 96px;
  }
  body.page-wizard .wizard-progress-copy {
    align-self: center;
  }
}

/* v7.4.10 · Configurador y checkout sobre el mismo cielo azul nocturno de la portada. */
body.page-wizard,
body.page-checkout {
  background: #062247;
}
body.page-wizard #content,
body.page-checkout #content {
  position: relative;
  min-height: 100vh;
  background-color: #062247 !important;
  background-image:
    radial-gradient(circle at 8% 28%, rgba(255,255,255,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.15) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.13) 0 1px, transparent 2px),
    linear-gradient(180deg,#062247 0%,#061c3d 72%,#03162f 100%) !important;
  background-size: 145px 145px,210px 210px,170px 170px,auto !important;
}
body.page-wizard .wizard-page {
  position: relative;
  min-height: calc(100vh - 116px);
  background: transparent !important;
}
body.page-wizard .wizard-shell,
body.page-checkout .commerce-shell {
  position: relative;
  z-index: 2;
}

/* La nieve queda sobre el cielo y por detrás de todos los boxes. */
body.page-wizard > .site-snow,
body.page-checkout > .site-snow {
  display: block;
  z-index: 1;
}
body.page-wizard .wizard-card,
body.page-wizard .wizard-product-card,
body.page-wizard .wizard-envelope-card,
body.page-wizard .wizard-progress-summary,
body.page-wizard .letter-controls,
body.page-wizard .preview-column,
body.page-wizard .letter-stage-live,
body.page-checkout .checkout-form,
body.page-checkout .checkout-summary,
body.page-checkout .alert {
  position: relative;
  z-index: 2;
}

/* Textos que quedan directamente sobre el fondo azul. */
body.page-wizard .wizard-home-link,
body.page-wizard .wizard-help span,
body.page-wizard .wizard-help strong {
  color: rgba(255,255,255,.82);
}
body.page-wizard .wizard-home-link:hover {
  color: #fff;
}
body.page-wizard .stepper::before {
  background: rgba(255,255,255,.24);
}
body.page-wizard .stepper div,
body.page-wizard .stepper small {
  color: rgba(255,255,255,.72);
}
body.page-wizard .stepper span {
  border-color: rgba(255,255,255,.32);
  background: #0a315d;
  color: rgba(255,255,255,.88);
}
body.page-wizard .stepper .active span {
  border-color: #e1ad47;
  background: #e1ad47;
  color: #132a48;
  box-shadow: 0 0 0 6px rgba(225,173,71,.16);
}
body.page-wizard .stepper .active small,
body.page-wizard .stepper .complete small {
  color: #f3d58d;
}
body.page-wizard .stepper .complete span {
  border-color: #d39b36;
  background: #d39b36;
  color: #132a48;
}
body.page-checkout .commerce-heading .eyebrow {
  color: #f1c86e;
}
body.page-checkout .commerce-heading h1 {
  color: #fffaf0;
}
body.page-checkout .commerce-heading p {
  color: #d5e0ec;
}

@media (max-width: 720px) {
  body.page-wizard #content,
  body.page-checkout #content {
    background-size: 125px 125px,180px 180px,150px 150px,auto !important;
  }
}


/* v7.4.11 · Nieve continua en configurador/checkout, cajas algo más compactas y footer. */
body.page-wizard > .site-snow,
body.page-checkout > .site-snow {
  display: block;
  z-index: 25;
}

/* El cielo del header deja ver la nieve, manteniendo logo y navegación por encima. */
body.page-wizard.public-body .site-header,
body.page-checkout.public-body .site-header {
  z-index: 30;
  background: linear-gradient(135deg, rgba(2,13,34,.91), rgba(5,32,68,.88));
}

/* El contenido queda por encima de los copos; los huecos transparentes muestran la nieve. */
body.page-wizard .wizard-shell,
body.page-checkout .commerce-shell,
body.page-wizard .public-flash,
body.page-checkout .public-flash {
  position: relative;
  z-index: 26;
}

/* Permite que los copos continúen también sobre el paisaje del footer sin tapar textos. */
body.page-wizard .footer-scene,
body.page-checkout .footer-scene {
  isolation: auto;
}
body.page-wizard .footer-art,
body.page-checkout .footer-art,
body.page-wizard .footer-scene-shade,
body.page-checkout .footer-scene-shade {
  z-index: 0;
}
body.page-wizard .footer-content,
body.page-checkout .footer-content {
  position: relative;
  z-index: 26;
}

/* Un poco más de aire lateral para que las cajas no ocupen tanto ancho. */
body.page-wizard .wizard-shell {
  width: min(1180px, calc(100% - 64px));
}
body.page-checkout .commerce-shell {
  width: min(1160px, calc(100% - 64px));
}

/* Footer: mensaje de marca y lema. */
.site-footer .footer-social-bar .copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 3px 10px;
}
.site-footer .footer-brand .footer-magic-line span {
  display: inline;
}

@media (max-width: 720px) {
  body.page-wizard .wizard-shell,
  body.page-checkout .commerce-shell {
    width: calc(100% - 28px);
  }

  .site-footer .footer-brand .footer-magic-line {
    margin-top: -8px;
    font-size: .82rem;
    line-height: 1.45;
  }
  .site-footer .footer-brand .footer-magic-line span {
    display: block;
  }
  .site-footer .footer-social-bar .copyright {
    justify-content: center;
  }
}

/* v7.4.12 · La nieve siempre queda detrás de las vistas previas y Contacto adopta el cielo del index. */
body.page-wizard > .site-snow,
body.page-checkout > .site-snow,
body.page-contact > .site-snow {
  display: block !important;
  z-index: 18 !important;
}

/* Cabecera por encima de los copos, pero translúcida para que la nevada empiece desde el menú. */
body.page-wizard.public-body .site-header,
body.page-checkout.public-body .site-header,
body.page-contact.public-body .site-header {
  position: relative;
  z-index: 30;
  background: linear-gradient(135deg, rgba(2,13,34,.91), rgba(5,32,68,.88));
}

/* Los contenedores funcionales quedan siempre por encima de la nieve. */
body.page-wizard .wizard-shell,
body.page-checkout .commerce-shell,
body.page-contact .contact-shell {
  position: relative;
  z-index: 24;
}

/* Las vistas previas son superficies opacas: la nieve no puede cruzar sobre ellas. */
body.page-wizard .wizard-envelope-card,
body.page-wizard .preview-column {
  position: relative;
  z-index: 28 !important;
  isolation: isolate;
}
body.page-wizard .wizard-envelope-card {
  background: #fff !important;
}
body.page-wizard .preview-column {
  background: #273a34 !important;
}
body.page-wizard .theme-kings .preview-column,
body.page-wizard.theme-kings .preview-column {
  background: #2c3d58 !important;
}
body.page-wizard .letter-stage-live {
  position: relative;
  z-index: 1;
}
body.page-wizard .live-preview,
body.page-wizard .envelope-preview-stage {
  position: relative;
  z-index: 2;
}

/* Contacto: continuidad visual con el cielo azul de la portada. */
body.page-contact,
body.page-contact #content,
body.page-contact .contact-page {
  background-color: #062247 !important;
}
body.page-contact #content,
body.page-contact .contact-page {
  position: relative;
  background-image:
    radial-gradient(circle at 8% 28%, rgba(255,255,255,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.15) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.13) 0 1px, transparent 2px),
    linear-gradient(180deg,#062247 0%,#061c3d 72%,#03162f 100%) !important;
  background-size: 145px 145px,210px 210px,170px 170px,auto !important;
}
body.page-contact .contact-page {
  color: #19304c;
}
body.page-contact .contact-head .eyebrow {
  color: #f1c86e;
}
body.page-contact .contact-head h1 {
  color: #fffaf0;
  text-shadow: 0 4px 24px rgba(0,0,0,.18);
}
body.page-contact .contact-head p {
  color: #d5e0ec;
}
body.page-contact .contact-form,
body.page-contact .contact-aside-card,
body.page-contact .contact-errors {
  position: relative;
  z-index: 25;
}
body.page-contact .contact-form,
body.page-contact .contact-aside-card {
  border-color: rgba(228,212,184,.94);
  box-shadow: 0 22px 58px rgba(0,0,0,.20);
}
body.page-contact .contact-errors {
  box-shadow: 0 14px 35px rgba(0,0,0,.16);
}

/* La nieve continúa sobre el paisaje del footer, siempre detrás del contenido. */
body.page-contact .footer-scene,
body.page-wizard .footer-scene,
body.page-checkout .footer-scene {
  isolation: auto;
}
body.page-contact .footer-art,
body.page-contact .footer-scene-shade,
body.page-wizard .footer-art,
body.page-wizard .footer-scene-shade,
body.page-checkout .footer-art,
body.page-checkout .footer-scene-shade {
  z-index: 0;
}
body.page-contact .footer-content,
body.page-wizard .footer-content,
body.page-checkout .footer-content {
  position: relative;
  z-index: 24;
}

@media (max-width: 720px) {
  body.page-contact #content,
  body.page-contact .contact-page {
    background-size: 125px 125px,180px 180px,150px 150px,auto !important;
  }
}

/* v7.4.13 · Contacto sin bloque lateral, legales sobre cielo azul y previa de carta blanca. */

/* Contacto: el formulario ocupa el ancho disponible al eliminar el bloque informativo lateral. */
body.page-contact .contact-layout {
  display: block;
}
body.page-contact .contact-form {
  width: 100%;
  max-width: none;
}

/* Vista previa de carta: misma superficie blanca y limpia que la vista previa del sobre. */
body.page-wizard .preview-column,
body.page-wizard .theme-kings .preview-column,
body.page-wizard.theme-kings .preview-column {
  background: #fff !important;
  border-color: #d9dee2 !important;
  box-shadow: 0 18px 48px rgba(3,22,47,.16) !important;
}
body.page-wizard .preview-toolbar {
  border-bottom: 1px solid #e6e8eb !important;
  background: #fff !important;
}
body.page-wizard .preview-toolbar > span {
  color: #17334f !important;
}
body.page-wizard .preview-toolbar small {
  color: #748093 !important;
}
body.page-wizard .preview-toolbar .preview-toolbar-icon {
  border-color: rgba(169,109,24,.30) !important;
  background: #fff8e9 !important;
  color: #a96d18 !important;
}
body.page-wizard .letter-stage-live {
  background: #fff !important;
}
body.page-wizard .preview-zoom-button {
  border-color: #d8dee5 !important;
  background: #f7f9fb !important;
  color: #17334f !important;
}
body.page-wizard .preview-zoom-button:hover {
  border-color: #b9c4d0 !important;
  background: #eef3f7 !important;
}
body.page-wizard .preview-zoom-value {
  color: #17334f !important;
}

/* Privacidad y Condiciones: continuidad con el cielo nocturno, estrellas y nieve del index. */
body.page-legal,
body.page-legal #content {
  background-color: #062247 !important;
}
body.page-legal #content {
  position: relative;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 8% 28%, rgba(255,255,255,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.15) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.13) 0 1px, transparent 2px),
    linear-gradient(180deg,#062247 0%,#061c3d 72%,#03162f 100%) !important;
  background-size: 145px 145px,210px 210px,170px 170px,auto !important;
}
body.page-legal > .site-snow {
  display: block !important;
  z-index: 18 !important;
}
body.page-legal.public-body .site-header {
  position: relative;
  z-index: 30;
  background: linear-gradient(135deg, rgba(2,13,34,.91), rgba(5,32,68,.88));
}
body.page-legal .legal-page {
  position: relative;
  z-index: 24;
  color: #19304c;
}
body.page-legal .legal-hero {
  border-bottom-color: rgba(255,255,255,.18);
}
body.page-legal .legal-hero .eyebrow {
  color: #f1c86e;
}
body.page-legal .legal-hero h1 {
  color: #fffaf0;
  text-shadow: 0 4px 24px rgba(0,0,0,.18);
}
body.page-legal .legal-hero p {
  color: #d5e0ec;
}
body.page-legal .legal-hero small {
  color: rgba(223,233,244,.72);
}
body.page-legal .legal-summary,
body.page-legal .legal-section {
  position: relative;
  z-index: 25;
  border: 1px solid rgba(228,212,184,.94);
  border-radius: 22px;
  background: #fff !important;
  box-shadow: 0 20px 52px rgba(0,0,0,.18);
}
body.page-legal .legal-summary {
  margin: 30px 0 22px;
  padding: 22px 24px;
}
body.page-legal .legal-section {
  margin: 16px 0;
  padding: 28px 30px;
}
body.page-legal .legal-section:first-of-type {
  border-top: 1px solid rgba(228,212,184,.94);
}
body.page-legal .legal-section-highlight {
  margin: 18px 0;
}
body.page-legal .footer-scene {
  isolation: auto;
}
body.page-legal .footer-art,
body.page-legal .footer-scene-shade {
  z-index: 0;
}
body.page-legal .footer-content {
  position: relative;
  z-index: 24;
}

@media (max-width: 720px) {
  body.page-legal #content {
    background-size: 125px 125px,180px 180px,150px 150px,auto !important;
  }
  body.page-legal .legal-section {
    margin: 12px 0;
    padding: 22px 18px;
    border-radius: 18px;
  }
  body.page-contact .contact-form {
    width: 100%;
  }
}


/* v7.2.18 · Paso 5 móvil: elimina huecos de los bloques reubicados y compacta la transición entre carta y opciones. */
@media (max-width: 760px) {
  body.page-wizard .reading-option-home:empty,
  body.page-wizard .review-check-home:empty,
  body.page-wizard .builder-actions-home:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
  }
  body.page-wizard .letter-stage-live {
    padding-bottom: 6px !important;
  }
  body.page-wizard .mobile-final-actions-slot {
    padding-top: 8px !important;
  }
  body.page-wizard .mobile-final-actions-slot .reading-option-block {
    margin-top: 0 !important;
  }
  body.page-wizard .mobile-final-actions-slot .builder-section-title-sub {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }
}


/* v7.4.18 · Footer refinado y ayuda contextual del configurador. */
.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.site-footer .footer-brand .footer-magic-line {
  margin: -14px auto 0;
  text-align: center;
  line-height: 1.45;
}
.site-footer .footer-brand .footer-magic-line span {
  display: block;
}
.site-footer .footer-social-bar .copyright {
  display: block;
  margin-top: 12px;
  text-align: right;
}

body.page-wizard .wizard-help-trigger {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
body.page-wizard .wizard-help-trigger span {
  text-decoration: underline;
  text-decoration-color: rgba(217,154,39,.45);
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
body.page-wizard .wizard-help-trigger:hover span,
body.page-wizard .wizard-help-trigger:focus-visible span {
  color: #d99a27;
  text-decoration-color: #d99a27;
}
body.page-wizard .wizard-help-trigger:focus-visible {
  outline: 2px solid rgba(217,154,39,.65);
  outline-offset: 4px;
  border-radius: 4px;
}

.wizard-help-modal {
  width: min(92vw, 560px);
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: #fff;
  color: #10294b;
  box-shadow: 0 30px 90px rgba(4,19,43,.34);
}
.wizard-help-modal::backdrop {
  background: rgba(3,18,41,.72);
  backdrop-filter: blur(5px);
}
.wizard-help-modal-card {
  position: relative;
  padding: 36px 34px 32px;
  text-align: center;
}
.wizard-help-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid #e6dfd1;
  border-radius: 50%;
  background: #fff;
  color: #10294b;
  font-size: 1.35rem;
  cursor: pointer;
}
.wizard-help-modal-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #d99a27;
  color: #fff;
  font-size: 1.15rem;
}
.wizard-help-modal-eyebrow {
  margin: 0 0 7px;
  color: #b57b20;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.wizard-help-modal h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem,4vw,2.35rem);
  line-height: 1.05;
}
.wizard-help-modal-copy {
  max-width: 440px;
  margin: 13px auto 24px;
  color: #687185;
  font-size: .88rem;
  line-height: 1.65;
}
.wizard-help-contact-list {
  display: grid;
  gap: 10px;
  text-align: left;
}
.wizard-help-contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 11px 14px;
  border: 1px solid #e8e1d4;
  border-radius: 15px;
  background: #fbfaf7;
  color: #17324f;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.wizard-help-contact-item:hover,
.wizard-help-contact-item:focus-visible {
  transform: translateY(-1px);
  border-color: #d7b166;
  box-shadow: 0 9px 22px rgba(39,51,68,.08);
}
.wizard-help-contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #102d52;
  color: #fff;
  font-size: .95rem;
  font-weight: 900;
}
.wizard-help-contact-item small,
.wizard-help-contact-item strong {
  display: block;
}
.wizard-help-contact-item small {
  margin-bottom: 3px;
  color: #8b93a0;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .1em;
}
.wizard-help-contact-item strong {
  color: #17324f;
  font-size: .88rem;
  overflow-wrap: anywhere;
}
.wizard-help-contact-page {
  display: inline-block;
  margin-top: 19px;
  color: #a96d18;
  font-size: .76rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .site-footer .footer-brand .footer-magic-line {
    margin-top: -10px;
  }
  .site-footer .footer-social-bar .copyright {
    text-align: center;
  }
  body.page-wizard .wizard-help {
    display: flex !important;
  }
  body.page-wizard .wizard-help strong {
    display: none;
  }
  .wizard-help-modal-card {
    padding: 32px 20px 24px;
  }
}


/* v7.4.19 · Carrito sobre cielo azul y resumen de checkout con mayor contraste. */
body.page-cart {
  background: #062247;
}
body.page-cart #content {
  position: relative;
  min-height: 100vh;
  background-color: #062247 !important;
  background-image:
    radial-gradient(circle at 8% 28%, rgba(255,255,255,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.15) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.13) 0 1px, transparent 2px),
    linear-gradient(180deg,#062247 0%,#061c3d 72%,#03162f 100%) !important;
  background-size: 145px 145px,210px 210px,170px 170px,auto !important;
}
body.page-cart > .site-snow {
  display: block !important;
  z-index: 18 !important;
}
body.page-cart.public-body .site-header {
  position: relative;
  z-index: 30;
  background: linear-gradient(135deg, rgba(2,13,34,.91), rgba(5,32,68,.88));
}
body.page-cart .commerce-shell,
body.page-cart .public-flash {
  position: relative;
  z-index: 24;
}
body.page-cart .cart-item,
body.page-cart .cart-summary,
body.page-cart .empty-cart,
body.page-cart .alert {
  position: relative;
  z-index: 2;
}
body.page-cart .commerce-heading .eyebrow {
  color: #f1c86e;
}
body.page-cart .commerce-heading h1 {
  color: #fffaf0;
}
body.page-cart .commerce-heading p {
  color: #d5e0ec;
}
body.page-cart .footer-scene {
  isolation: auto;
}
body.page-cart .footer-art,
body.page-cart .footer-scene-shade {
  z-index: 0;
}
body.page-cart .footer-content {
  position: relative;
  z-index: 24;
}
body.page-cart .commerce-shell {
  width: min(1160px, calc(100% - 64px));
}

/* El resumen del checkout se separa visualmente del cielo azul y queda alineado con el formulario. */
body.page-checkout .checkout-summary {
  overflow: hidden;
  padding: 0 24px 24px;
  border: 1px solid rgba(214,166,68,.34);
  background: #fff !important;
  color: #17324f !important;
  box-shadow: 0 22px 56px rgba(1,15,38,.24);
}
body.page-checkout .checkout-summary > h2 {
  margin: 0 -24px 18px;
  padding: 20px 24px 18px;
  border-bottom: 1px solid #e8e1d4;
  background: linear-gradient(135deg,#fffaf0 0%,#fff 72%);
  color: #123458 !important;
  font-size: 1.65rem;
}
body.page-checkout .checkout-order-items {
  gap: 9px;
  margin-bottom: 12px;
}
body.page-checkout .checkout-order-item {
  border: 1px solid #e8e1d4;
  background: #fbfaf7;
}
body.page-checkout .checkout-order-item-title > span {
  color: #59687a;
}
body.page-checkout .checkout-order-item-title strong,
body.page-checkout .checkout-order-item-title b {
  color: #17324f;
}
body.page-checkout .checkout-order-item-title small,
body.page-checkout .checkout-no-extras {
  color: #8791a0 !important;
}
body.page-checkout .checkout-order-extras {
  border-top-color: #e8e1d4;
}
body.page-checkout .checkout-order-extras p {
  color: #667386;
}
body.page-checkout .checkout-order-extras strong {
  color: #aa7220;
}
body.page-checkout .checkout-summary > p {
  border-bottom-color: #ece7de;
  color: #607085;
}
body.page-checkout .checkout-summary > p strong {
  color: #17324f;
}
body.page-checkout .checkout-summary .discount-line,
body.page-checkout .checkout-summary .discount-line strong {
  color: #a76716 !important;
}
body.page-checkout .checkout-summary .total {
  margin-top: 8px;
  padding-top: 17px;
  border-top: 2px solid #dfb558;
  border-bottom: 0;
  color: #17324f;
}
body.page-checkout .checkout-summary .total strong {
  color: #a76716;
  font-size: 1.35rem;
}
body.page-checkout .coupon-form {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #ece7de;
}
body.page-checkout .coupon-form label {
  color: #17324f;
}
body.page-checkout .coupon-form input {
  border: 1px solid #ddd6c8;
  background: #fff;
  color: #17324f;
}
body.page-checkout .coupon-form button {
  background: #d6a644;
  color: #fff;
}
body.page-checkout .checkout-summary > a {
  color: #9a6519;
  font-weight: 800;
}

@media (max-width: 720px) {
  body.page-cart #content {
    background-size: 125px 125px,180px 180px,150px 150px,auto !important;
  }
  body.page-cart .commerce-shell {
    width: calc(100% - 28px);
  }
  body.page-checkout .checkout-summary {
    padding: 0 18px 20px;
  }
  body.page-checkout .checkout-summary > h2 {
    margin-inline: -18px;
    padding-inline: 18px;
  }
}


/* v7.4.0 · Carrito: resumen blanco sobre el fondo azul y CTA visible tras elegir personaje. */
body.page-cart .cart-summary {
  overflow: hidden;
  padding: 0 24px 24px;
  border: 1px solid rgba(214,166,68,.34);
  background: #fff !important;
  color: #17324f !important;
  box-shadow: 0 22px 56px rgba(1,15,38,.24);
}
body.page-cart .cart-summary > h2 {
  margin: 0 -24px 18px;
  padding: 20px 24px 18px;
  border-bottom: 1px solid #e8e1d4;
  background: linear-gradient(135deg,#fffaf0 0%,#fff 72%);
  color: #123458 !important;
  font-size: 1.65rem;
}
body.page-cart .cart-summary > p {
  border-bottom-color: #e8e1d4 !important;
  color: #617083 !important;
}
body.page-cart .cart-summary > p strong {
  color: #17324f !important;
}
body.page-cart .cart-summary-warning {
  color: #9a6718 !important;
}
body.page-cart .cart-summary .secondary {
  border-color: #cfd8e3 !important;
  background: #fff !important;
  color: #17324f !important;
}
body.page-cart .cart-summary .secondary:hover {
  border-color: #d6a644 !important;
  background: #fffaf0 !important;
  color: #17324f !important;
}
@media (max-width: 760px) {
  body.page-cart .cart-summary {
    padding: 0 20px 20px;
  }
  body.page-cart .cart-summary > h2 {
    margin-inline: -20px;
    padding-inline: 20px;
  }
}

/* v7.4.22 · Cielo nocturno unificado, confirmación Stripe y cupones sin recarga. */
body.public-body:not(.page-home) {
  background: #062247 !important;
}
body.public-body:not(.page-home) #content {
  position: relative;
  z-index: auto !important;
  min-height: 72vh;
  background-color: #062247 !important;
  background-image:
    radial-gradient(circle at 8% 28%, rgba(255,255,255,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.15) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.13) 0 1px, transparent 2px),
    linear-gradient(180deg,#062247 0%,#061c3d 72%,#03162f 100%) !important;
  background-size: 145px 145px,210px 210px,170px 170px,auto !important;
}
body.public-body:not(.page-home) > .site-snow {
  display: block !important;
  z-index: 18 !important;
}
body.public-body:not(.page-home) .site-header {
  position: relative;
  z-index: 30;
  background: linear-gradient(135deg,rgba(2,13,34,.91),rgba(5,32,68,.88));
}
body.public-body:not(.page-home) #content > * {
  position: relative;
  z-index: 24;
}
body.public-body:not(.page-home) .footer-scene {
  isolation: auto;
}
body.public-body:not(.page-home) .footer-art,
body.public-body:not(.page-home) .footer-scene-shade {
  z-index: 0;
}
body.public-body:not(.page-home) .footer-content {
  position: relative;
  z-index: 24;
}

/* Confirmación del pedido: el estado pendiente ya no se presenta como pago confirmado. */
body.page-confirmation .confirmation-page {
  width: min(900px,calc(100% - 32px));
  color: #dce7f3;
}
body.page-confirmation .confirmation-page > .eyebrow {
  color: #f1c86e;
}
body.page-confirmation .confirmation-page h1 {
  color: #fffaf0;
  text-shadow: 0 4px 24px rgba(0,0,0,.18);
}
body.page-confirmation .confirmation-page > p {
  max-width: 670px;
  margin: 0 auto 20px;
  color: #d5e0ec;
  line-height: 1.65;
}
body.page-confirmation .success-seal {
  background: #d39b36;
  color: #10294b;
  box-shadow: 0 0 0 9px rgba(241,200,110,.12),0 16px 36px rgba(0,0,0,.18);
}
body.page-confirmation .success-seal.is-pending {
  animation: confirmationPulse 1.6s ease-in-out infinite;
}
@keyframes confirmationPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.94); opacity: .74; }
}
body.page-confirmation .status-card {
  border-color: rgba(228,212,184,.94);
  background: #fff !important;
  color: #19304c;
  box-shadow: 0 22px 58px rgba(0,0,0,.20);
}
body.page-confirmation .confirmation-payment-pending {
  max-width: 680px;
  margin: 18px auto 26px;
  padding: 14px 18px;
  border: 1px solid rgba(241,200,110,.42);
  border-radius: 14px;
  background: rgba(4,24,53,.68);
  color: #f5dfac;
  font-size: .82rem;
  line-height: 1.55;
}
body.page-confirmation .confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
body.page-confirmation .confirmation-actions .secondary {
  border-color: rgba(255,255,255,.46);
  background: rgba(255,255,255,.06);
  color: #fff;
}
body.page-confirmation .confirmation-actions .secondary:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* La galería también abandona el antiguo fondo crema en los espacios libres. */
body.page-gallery .gallery-section {
  background: transparent !important;
}
body.page-gallery .gallery-cta .eyebrow { color: #f1c86e; }
body.page-gallery .gallery-cta h2 { color: #fffaf0; }

/* Resultado del cupón justo bajo el campo, sin alerts globales ni recarga. */
body.page-checkout .coupon-message {
  min-height: 1.25em;
  margin: 8px 2px 0;
  color: #667386;
  font-size: .7rem;
  font-weight: 750;
  line-height: 1.4;
}
body.page-checkout .coupon-message:empty {
  min-height: 0;
  margin-top: 0;
}
body.page-checkout .coupon-message.is-error { color: #a52d38; }
body.page-checkout .coupon-message.is-success { color: #21704f; }
body.page-checkout .discount-line[hidden] { display: none !important; }
body.page-checkout .coupon-form button:disabled {
  opacity: .65;
  cursor: wait;
}

@media (max-width: 720px) {
  body.public-body:not(.page-home) #content {
    background-size: 125px 125px,180px 180px,150px 150px,auto !important;
  }
  body.page-confirmation .confirmation-page {
    width: calc(100% - 24px);
    padding-top: 48px;
  }
  body.page-confirmation .confirmation-actions {
    align-items: stretch;
    flex-direction: column;
  }
  body.page-confirmation .confirmation-actions .btn {
    width: 100%;
  }
}

/* Los wrappers de contenido permanecen transparentes: el cielo global y la nieve quedan detrás, nunca sobre los boxes. */
body.page-contact .contact-page,
body.page-about .about-page-section,
body.page-gallery .gallery-section {
  background: transparent !important;
  background-image: none !important;
}
body.page-gallery .gallery-hero {
  background: transparent !important;
}


/* v7.3.23 · Confirmación y factura de prueba. */
body.page-confirmation .success-seal[hidden]{display:none!important}
body.page-confirmation .confirmation-actions .btn.primary,
body.page-confirmation .confirmation-actions .btn.primary:visited{color:#fff!important}
body.page-confirmation .confirmation-actions .btn.primary:hover{color:#fff!important}


/* v7.3.26 · Respuesta pública segura a tickets de soporte. */
body.page-support-reply .support-reply-page{
  position:relative;
  z-index:1;
  min-height:68vh;
  padding:64px 0 96px;
  background:transparent;
  color:#fff;
}
body.page-support-reply .support-reply-shell{width:min(1060px,calc(100% - 36px));margin:0 auto}
body.page-support-reply .support-reply-head{text-align:center;max-width:760px;margin:0 auto 30px}
body.page-support-reply .support-reply-head .eyebrow,
body.page-support-reply .support-reply-card .eyebrow{color:#efbd58;font-weight:800;letter-spacing:.14em}
body.page-support-reply .support-reply-head h1{margin:8px 0 12px;color:#fff;font-size:clamp(2.35rem,5vw,4.25rem);line-height:1.02}
body.page-support-reply .support-reply-head p{margin:0;color:rgba(255,255,255,.82);font-size:1rem;line-height:1.7}
body.page-support-reply .support-reply-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:22px;align-items:start}
body.page-support-reply .support-reply-card{position:relative;z-index:2;padding:28px;border:1px solid rgba(255,255,255,.16);border-radius:24px;background:#fff;color:#18304d;box-shadow:0 22px 60px rgba(0,0,0,.18)}
body.page-support-reply .support-reply-card--missing{max-width:680px;margin:28px auto;text-align:center}
body.page-support-reply .support-reply-card--missing h1{margin:9px 0 12px;color:#0b2b50}
body.page-support-reply .support-reply-card--missing p{margin:0 0 22px;color:#66758a}
body.page-support-reply .support-reply-summary>span{display:block;color:#9a7427;font-size:.68rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
body.page-support-reply .support-reply-summary h2,
body.page-support-reply .support-reply-form h2{margin:7px 0 10px;color:#0b2b50;font-size:1.55rem}
body.page-support-reply .support-reply-summary>p{margin:0;color:#526176;line-height:1.72}
body.page-support-reply .support-reply-thread{display:grid;gap:12px;margin-top:24px;padding-top:22px;border-top:1px solid #e5eaf1}
body.page-support-reply .support-thread-message{padding:15px 16px;border-radius:16px;background:#f3f7fc;border:1px solid #e0e8f1}
body.page-support-reply .support-thread-message.is-customer{background:#fff8e9;border-color:#efdbad}
body.page-support-reply .support-thread-message strong{display:block;color:#0b2b50;font-size:.76rem}
body.page-support-reply .support-thread-message p{margin:7px 0;color:#40516a;line-height:1.65}
body.page-support-reply .support-thread-message small{color:#8591a0;font-size:.67rem}
body.page-support-reply .support-reply-form{display:grid;gap:18px;position:sticky;top:92px}
body.page-support-reply .support-reply-form>div>p{margin:0;color:#66758a;line-height:1.6}
body.page-support-reply .support-reply-form label{display:grid;gap:8px;color:#18304d;font-weight:800;font-size:.78rem}
body.page-support-reply .support-reply-form textarea{width:100%;min-height:190px;padding:15px 16px;border:1px solid #ccd7e4;border-radius:14px;background:#fbfcfe;color:#18304d;font:500 .92rem/1.55 inherit;resize:vertical;outline:none}
body.page-support-reply .support-reply-form textarea:focus{border-color:#d3a542;box-shadow:0 0 0 4px rgba(230,178,75,.16)}
body.page-support-reply .support-reply-form label small{color:#8793a2;font-weight:500}
body.page-support-reply .support-reply-form .button{justify-self:start}
body.page-support-reply .support-reply-security{margin:0;color:#8490a0;font-size:.72rem;line-height:1.55}
@media(max-width:860px){
  body.page-support-reply .support-reply-layout{grid-template-columns:1fr}
  body.page-support-reply .support-reply-form{position:static}
}
@media(max-width:620px){
  body.page-support-reply .support-reply-page{padding:46px 0 72px}
  body.page-support-reply .support-reply-shell{width:calc(100% - 24px)}
  body.page-support-reply .support-reply-card{padding:22px 18px;border-radius:20px}
  body.page-support-reply .support-reply-head{margin-bottom:22px}
}

/* v7.4.0 · Adjuntos de soporte: privados, visuales y compactos. */
body.page-support-reply .support-attachment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
body.page-support-reply .support-attachment-thumb{display:grid;gap:6px;padding:7px;border:1px solid #dce5ef;border-radius:13px;background:#fff;color:#38516c;text-decoration:none;min-width:0}
body.page-support-reply .support-attachment-thumb img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:9px;background:#eef3f8}
body.page-support-reply .support-attachment-thumb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.64rem;font-weight:750}
body.page-support-reply .support-attachment-grid--thread{grid-template-columns:repeat(3,minmax(0,105px));margin:12px 0 9px}
body.page-support-reply .support-upload-field input[type="file"]{width:100%;padding:11px;border:1px dashed #c8d5e3;border-radius:12px;background:#f8fafc;color:#2b4561}
body.page-support-reply .support-upload-field input[type="file"]::file-selector-button{margin-right:9px;padding:8px 11px;border:0;border-radius:8px;background:#102f58;color:#fff;font-weight:800;cursor:pointer}
@media(max-width:620px){body.page-support-reply .support-attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.page-support-reply .support-attachment-grid--thread{grid-template-columns:repeat(2,minmax(0,110px))}}


/* v7.6.2 · Galería editorial: continuidad nocturna, menos hueco y composición orgánica. */
body.page-gallery .gallery-hero {
  position: relative;
  padding: clamp(68px, 8vw, 94px) 24px clamp(24px, 3.2vw, 38px) !important;
  overflow: visible;
  text-align: center;
}
body.page-gallery .gallery-hero::before {
  opacity: .17;
}
body.page-gallery .gallery-hero .eyebrow {
  color: #f1c86e;
  letter-spacing: .18em;
}
body.page-gallery .gallery-hero h1 {
  margin-top: 12px;
  font-size: clamp(3.7rem, 8vw, 6.6rem);
  line-height: .86;
}
body.page-gallery .gallery-hero p {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(255,255,255,.78);
  font-size: clamp(.9rem, 1.2vw, 1rem);
  line-height: 1.65;
}
body.page-gallery .gallery-section {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 2.6vw, 32px) 32px 104px !important;
}
body.page-gallery .photo-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  grid-auto-flow: dense;
  gap: clamp(14px, 1.8vw, 24px);
  align-items: start;
}
body.page-gallery .photo-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 24px;
  background: #102e4b;
  box-shadow: 0 22px 55px rgba(2,18,38,.25);
  isolation: isolate;
}
body.page-gallery .photo-card:nth-child(6n + 1),
body.page-gallery .photo-card:nth-child(6n + 5) {
  grid-column: span 7;
}
body.page-gallery .photo-card:nth-child(6n + 2),
body.page-gallery .photo-card:nth-child(6n + 6) {
  grid-column: span 5;
}
body.page-gallery .photo-card:nth-child(6n + 3),
body.page-gallery .photo-card:nth-child(6n + 4) {
  grid-column: span 6;
}
body.page-gallery .photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}
body.page-gallery .photo-card:nth-child(6n + 1) img,
body.page-gallery .photo-card:nth-child(6n + 6) img {
  aspect-ratio: 16 / 10;
}
body.page-gallery .photo-card:nth-child(6n + 2) img,
body.page-gallery .photo-card:nth-child(6n + 5) img {
  aspect-ratio: 4 / 5;
}
body.page-gallery .photo-card:nth-child(6n + 3) img,
body.page-gallery .photo-card:nth-child(6n + 4) img {
  aspect-ratio: 5 / 4;
}
body.page-gallery .photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4,19,37,.78));
  opacity: 0;
  transition: opacity .25s ease;
}
body.page-gallery .photo-card figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 24px 22px;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
body.page-gallery .photo-card figcaption strong {
  color: #fff;
  font: 700 clamp(1.25rem, 2vw, 1.65rem)/1.05 var(--serif);
}
body.page-gallery .photo-card figcaption span {
  color: rgba(255,255,255,.76);
  font-size: .72rem;
  line-height: 1.45;
}
body.page-gallery .photo-card:hover img {
  transform: scale(1.025);
}
body.page-gallery .photo-card:hover::after,
body.page-gallery .photo-card:hover figcaption,
body.page-gallery .photo-card:focus-within::after,
body.page-gallery .photo-card:focus-within figcaption {
  opacity: 1;
  transform: none;
}
body.page-gallery .gallery-empty {
  border-color: rgba(241,200,110,.42);
  background: rgba(255,255,255,.96);
}
body.page-gallery .gallery-cta {
  position: relative;
  max-width: 820px;
  margin: clamp(64px, 8vw, 92px) auto 0;
  padding: clamp(34px, 4vw, 48px) 28px;
  border: 1px solid rgba(241,200,110,.28);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  text-align: center;
}
body.page-gallery .gallery-cta::before {
  content: "✦";
  position: absolute;
  left: 50%;
  top: -15px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0b2945;
  color: #f1c86e;
  transform: translateX(-50%);
}
body.page-gallery .gallery-cta .btn.primary,
body.page-gallery .gallery-cta .btn.primary:visited,
body.page-gallery .gallery-cta .btn.primary:hover,
body.page-gallery .gallery-cta .btn.primary:focus-visible {
  color: #fff !important;
}

@media (max-width: 900px) {
  body.page-gallery .photo-card,
  body.page-gallery .photo-card:nth-child(n) {
    grid-column: span 6;
  }
  body.page-gallery .photo-card:nth-child(4n + 1) img,
  body.page-gallery .photo-card:nth-child(4n + 4) img { aspect-ratio: 4 / 5; }
  body.page-gallery .photo-card:nth-child(4n + 2) img,
  body.page-gallery .photo-card:nth-child(4n + 3) img { aspect-ratio: 5 / 4; }
  body.page-gallery .photo-card::after { opacity: 1; }
  body.page-gallery .photo-card figcaption {
    opacity: 1;
    transform: none;
    padding: 22px 19px 18px;
  }
}
@media (max-width: 620px) {
  body.page-gallery .gallery-hero {
    padding: 54px 18px 20px !important;
  }
  body.page-gallery .gallery-hero h1 {
    font-size: clamp(3.25rem, 17vw, 4.8rem);
  }
  body.page-gallery .gallery-section {
    padding: 12px 14px 76px !important;
  }
  body.page-gallery .photo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.page-gallery .photo-card,
  body.page-gallery .photo-card:nth-child(n) {
    grid-column: 1;
    border-radius: 20px;
  }
  body.page-gallery .photo-card:nth-child(n) img {
    aspect-ratio: 4 / 3;
  }
  body.page-gallery .photo-card:nth-child(3n + 2) img {
    aspect-ratio: 4 / 5;
  }
  body.page-gallery .gallery-cta {
    margin-top: 54px;
    padding: 34px 20px 30px;
    border-radius: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-gallery .photo-card img,
  body.page-gallery .photo-card figcaption,
  body.page-gallery .photo-card::after { transition: none; }
}


/* v7.2.36 · Contraste coherente: texto blanco en todos los CTA dorados públicos. */
.public-body .button-gold,
.public-body .button-gold:visited,
.public-body .button-gold:hover,
.public-body .button-gold:focus-visible,
.public-body .btn.primary,
.public-body .btn.primary:visited,
.public-body .btn.primary:hover,
.public-body .btn.primary:focus-visible,
.public-body .btn-red,
.public-body .btn-red:visited,
.public-body .btn-red:hover,
.public-body .btn-red:focus-visible,
.public-body .coupon-form button,
.public-body .coupon-form button:hover,
.public-body .coupon-form button:focus-visible {
  color: #fff !important;
}



/* v7.8.0 · Revisión tipográfica y de interfaz del flujo de compra.
   La interfaz usa una sola familia sans de sistema para controles y Georgia para
   titulares editoriales, igual que la portada. Se eliminan microtextos excesivamente
   pequeños y pesos tipográficos innecesariamente duros. */
body.page-wizard,
body.page-cart,
body.page-checkout {
  --sans: "Segoe UI Variable Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  font-family: var(--sans);
  font-synthesis: none;
}

/* Jerarquía tipográfica del configurador. */
body.page-wizard .wizard-card-header h1,
body.page-wizard .wizard-card-header.compact h1 {
  color: #19304c;
  font-family: var(--serif);
  font-size: clamp(2rem,3.25vw,2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
}
body.page-wizard .wizard-card-header p {
  color: #657284;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}
body.page-wizard .wizard-card-header p strong {
  color: #39495b;
  font-weight: 600;
}
body.page-wizard .wizard-card-header .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
}
body.page-wizard .wizard-progress-summary strong {
  font-size: 13px;
  font-weight: 700;
}
body.page-wizard .wizard-progress-summary > div > span,
body.page-wizard .wizard-progress-count {
  font-size: 12px;
  font-weight: 500;
}
body.page-wizard .stepper small {
  font-size: 11.5px;
  font-weight: 500;
}
body.page-wizard .stepper .active small {
  font-weight: 700;
}

/* Campos: tamaño de lectura real, pesos normales y controles menos “de plantilla”. */
body.page-wizard .field > span {
  margin-bottom: 7px;
  color: #2c3948;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0;
}
body.page-wizard .field > span em {
  font-size: 11.5px;
  font-weight: 400;
}
body.page-wizard .field small {
  margin-top: 6px;
  color: #7a8591;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}
body.page-wizard .field input,
body.page-wizard .field select,
body.page-wizard .story-field textarea,
body.page-wizard .magic-mini-field input,
body.page-wizard .magic-mini-field textarea,
body.page-wizard .editor-panel textarea {
  border-color: #cfd5db;
  border-radius: 10px;
  color: #24364b;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}
body.page-wizard .field input,
body.page-wizard .field select {
  min-height: 52px;
  padding: 13px 14px;
}
body.page-wizard input::placeholder,
body.page-wizard textarea::placeholder {
  color: #98a1ab;
  font-weight: 400;
  opacity: 1;
}
body.page-wizard .printed-letter-note strong {
  font-size: 13px;
  font-weight: 650;
}
body.page-wizard .printed-letter-note small {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}
body.page-wizard .segmented-control span {
  font-size: 13px;
  font-weight: 500;
}
body.page-wizard .segmented-control input:checked + span {
  font-weight: 650;
}

/* Preguntas de personalización. */
body.page-wizard .story-step-guide strong {
  font-size: 13.5px;
  font-weight: 650;
}
body.page-wizard .story-step-guide small {
  font-size: 12.5px;
  font-weight: 400;
}
body.page-wizard .story-label strong {
  color: #2b3948;
  font-size: 14px;
  font-weight: 650;
}
body.page-wizard .story-label small {
  color: #747f8a;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
}
body.page-wizard .story-field textarea {
  min-height: 116px;
  padding: 14px 15px;
  background: #fcfcfb;
  font-size: 14.5px;
  line-height: 1.6;
}
body.page-wizard .story-include-toggle {
  color: #5f6c78;
  font-size: 12px;
  font-weight: 500;
}
body.page-wizard .story-number,
body.page-wizard .story-step-guide > span,
body.page-wizard .builder-section-title > span {
  font-weight: 700;
}
body.page-wizard .wizard-story-aside h2 {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
}
body.page-wizard .wizard-story-aside > p,
body.page-wizard .aside-example p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
body.page-wizard .wizard-story-aside .eyebrow,
body.page-wizard .aside-example small {
  font-size: 10.5px;
  font-weight: 700;
}
body.page-wizard .privacy-chip strong {
  font-size: 12.5px;
  font-weight: 650;
}
body.page-wizard .privacy-chip small {
  font-size: 11.5px;
  font-weight: 400;
}
body.page-wizard .story-magic-heading strong,
body.page-wizard .magic-choice-group legend,
body.page-wizard .magic-mini-field strong {
  font-size: 13.5px;
  font-weight: 650;
}
body.page-wizard .story-magic-heading small,
body.page-wizard .magic-choice-group > p,
body.page-wizard .magic-mini-field small {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
body.page-wizard .magic-choice-row label {
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
}

/* Editor final: debe sentirse como una herramienta de escritura, no como un formulario pequeño. */
body.page-wizard .builder-section-title strong {
  font-size: 13.5px;
  font-weight: 650;
}
body.page-wizard .builder-section-title small {
  font-size: 12px;
  font-weight: 400;
}
body.page-wizard .editor-label {
  margin-bottom: 8px;
  color: #2b3948;
  font-size: 13.5px;
  font-weight: 650;
}
body.page-wizard .editor-panel textarea {
  min-height: 340px;
  padding: 16px;
  background: #fff;
  font-size: 15px;
  line-height: 1.68;
}
body.page-wizard .editor-meta {
  color: #76828e;
  font-size: 11.5px;
  font-weight: 400;
}
body.page-wizard .preview-reading-option-controls b,
body.page-wizard .review-check b {
  font-size: 13px;
  font-weight: 650;
}
body.page-wizard .preview-reading-option-controls small,
body.page-wizard .review-check small {
  font-size: 11.8px;
  font-weight: 400;
}
body.page-wizard .wizard-page .btn,
body.page-wizard .btn {
  font-size: 13.5px;
  font-weight: 700;
}
body.page-wizard .btn-lg {
  min-height: 50px;
  padding: 14px 20px;
  font-size: 13.5px;
}

/* Carrito: más legible y menos saturado de microtextos en negrita. */
body.page-cart .commerce-heading h1,
body.page-checkout .commerce-heading h1 {
  font-family: var(--serif);
  font-size: clamp(2.45rem,5vw,3.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
}
body.page-cart .commerce-heading p,
body.page-checkout .commerce-heading p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}
body.page-cart .commerce-heading .eyebrow,
body.page-checkout .commerce-heading .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
}
body.page-cart .cart-main > small {
  color: #8d6827;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .065em;
}
body.page-cart .cart-main h2 {
  margin: 5px 0 8px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.025em;
}
body.page-cart .cart-main > p {
  color: #667386;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
}
body.page-cart .cart-reading-mode {
  font-size: 10.5px;
  font-weight: 700;
}
body.page-cart .cart-delivery-address > span {
  font-size: 10.5px;
  font-weight: 700;
}
body.page-cart .cart-delivery-address strong {
  font-size: 14px;
  font-weight: 650;
}
body.page-cart .cart-delivery-address p {
  color: #687586;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
}
body.page-cart .edit-letter-link {
  font-size: 13px;
  font-weight: 650;
}
body.page-cart .extras-picker h3 {
  font-size: 15px;
  font-weight: 650;
}
body.page-cart .extra-option strong {
  font-size: 13px;
  font-weight: 650;
}
body.page-cart .extra-option small {
  color: #74808c;
  font-size: 12px;
  font-weight: 400;
}
body.page-cart .extra-option b {
  font-size: 12.5px;
  font-weight: 700;
}
body.page-cart .extra-info summary,
body.page-cart .extra-info p,
body.page-cart .saving-extra,
body.page-cart .link-danger {
  font-size: 11.5px;
}
body.page-cart .cart-item-actions > strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}
body.page-cart .cart-summary > h2,
body.page-checkout .checkout-summary > h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.02em;
}
body.page-cart .cart-summary > p,
body.page-checkout .checkout-summary > p {
  font-size: 13.5px;
  font-weight: 400;
}
body.page-cart .cart-summary > p strong,
body.page-checkout .checkout-summary > p strong {
  font-weight: 700;
}
body.page-cart .cart-summary .btn,
body.page-checkout .btn {
  font-size: 13.5px;
  font-weight: 700;
}

/* Checkout: misma escala y peso que el configurador. */
body.page-checkout .checkout-form h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
body.page-checkout .checkout-form label {
  color: #2b3948;
  font-size: 13.5px;
  font-weight: 650;
}
body.page-checkout .checkout-form label > small {
  color: #7b8692;
  font-size: 11.5px;
  font-weight: 400;
}
body.page-checkout .checkout-form input,
body.page-checkout .checkout-form select,
body.page-checkout .coupon-form input {
  min-height: 52px;
  border-color: #cfd5db;
  color: #24364b;
  font-size: 15px;
  font-weight: 400;
}
body.page-checkout .checkout-address-note,
body.page-checkout .shipping-per-letter-note {
  color: #6a7787;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
}
body.page-checkout .shipping-list strong {
  font-size: 13.5px;
  font-weight: 650;
}
body.page-checkout .shipping-list small {
  font-size: 12px;
  font-weight: 400;
}
body.page-checkout .shipping-list b {
  font-size: 13.5px;
  font-weight: 700;
}
body.page-checkout .consents label {
  color: #4b5968;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
}
body.page-checkout .checkout-order-item-title > span,
body.page-checkout .checkout-order-extras p,
body.page-checkout .checkout-no-extras {
  font-size: 12.5px;
  font-weight: 400;
}
body.page-checkout .checkout-order-item-title strong {
  font-size: 13.5px;
  font-weight: 650;
}
body.page-checkout .checkout-order-item-title b,
body.page-checkout .checkout-order-extras strong {
  font-size: 13px;
  font-weight: 700;
}
body.page-checkout .coupon-form label {
  font-size: 12.5px;
  font-weight: 650;
}
body.page-checkout .coupon-form button {
  font-size: 12.5px;
  font-weight: 700;
}
body.page-checkout .checkout-summary > a {
  font-size: 12.5px;
  font-weight: 650;
}

@media (max-width: 760px) {
  body.page-wizard .wizard-card-header h1,
  body.page-wizard .wizard-card-header.compact h1 {
    font-size: 2rem;
  }
  body.page-wizard .wizard-card-header p {
    font-size: 13.5px;
  }
  body.page-wizard .field input,
  body.page-wizard .field select,
  body.page-wizard .story-field textarea,
  body.page-wizard .magic-mini-field input,
  body.page-wizard .magic-mini-field textarea,
  body.page-wizard .editor-panel textarea,
  body.page-checkout .checkout-form input,
  body.page-checkout .checkout-form select,
  body.page-checkout .coupon-form input {
    font-size: 16px;
  }
  body.page-cart .commerce-heading h1,
  body.page-checkout .commerce-heading h1 {
    font-size: 2.5rem;
  }
}


/* v7.8.1 · Acceso secundario a redacción manual sin interrumpir el flujo guiado. */
body.page-wizard .manual-writing-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -2px 0 22px;
  padding: 14px 16px;
  border: 1px solid #e1e5e8;
  border-radius: 14px;
  background: #fafbfc;
}
body.page-wizard .manual-writing-switch-copy {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
body.page-wizard .manual-writing-switch-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: rgba(5,32,68,.065);
  color: #052044;
}
body.page-wizard .manual-writing-switch-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-wizard .manual-writing-switch-copy > div {
  display: grid;
  gap: 2px;
}
body.page-wizard .manual-writing-switch-copy strong {
  color: #2c3948;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.35;
}
body.page-wizard .manual-writing-switch-copy small {
  color: #76818c;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}
body.page-wizard .manual-writing-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #8b5b17;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none;
}
body.page-wizard .manual-writing-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .16s ease;
}
body.page-wizard .manual-writing-link:hover {
  color: #6f4510;
}
body.page-wizard .manual-writing-link:hover svg {
  transform: translateX(2px);
}
body.page-wizard .manual-writing-link:focus-visible,
body.page-wizard .manual-writing-cancel:focus-visible {
  outline: 3px solid rgba(211,155,54,.22);
  outline-offset: 3px;
  border-radius: 5px;
}
body.page-wizard .manual-writing-ratoncito {
  margin: -10px 0 24px;
  padding: 18px;
  border: 1px solid #e0e5e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(3,22,47,.045);
}
body.page-wizard .manual-writing-ratoncito[hidden] {
  display: none !important;
}
body.page-wizard .manual-writing-ratoncito-head {
  display: grid;
  gap: 4px;
  margin-bottom: 13px;
}
body.page-wizard .manual-writing-ratoncito-head strong {
  color: #2c3948;
  font-size: 13.5px;
  font-weight: 650;
}
body.page-wizard .manual-writing-ratoncito-head small {
  color: #75808b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
body.page-wizard .manual-writing-ratoncito-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
body.page-wizard .manual-writing-ratoncito-options label {
  position: relative;
  display: block;
  cursor: pointer;
}
body.page-wizard .manual-writing-ratoncito-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
body.page-wizard .manual-writing-ratoncito-options label > span {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 13px 14px;
  border: 1px solid #d8dee3;
  border-radius: 12px;
  background: #fbfcfd;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
body.page-wizard .manual-writing-ratoncito-options b {
  color: #344250;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}
body.page-wizard .manual-writing-ratoncito-options small {
  color: #78838d;
  font-size: 11.8px;
  font-weight: 400;
  line-height: 1.45;
}
body.page-wizard .manual-writing-ratoncito-options input:checked + span {
  border-color: #d39b36;
  background: #fffaf0;
  box-shadow: 0 0 0 2px rgba(211,155,54,.12);
}
body.page-wizard .manual-writing-ratoncito-options input:focus-visible + span {
  outline: 3px solid rgba(211,155,54,.2);
  outline-offset: 2px;
}
body.page-wizard .manual-writing-ratoncito-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf0f2;
}
body.page-wizard .manual-writing-cancel {
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #6d7883;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
body.page-wizard .manual-writing-cancel:hover {
  color: #334250;
}

@media (max-width: 760px) {
  body.page-wizard .manual-writing-switch {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    padding: 13px 14px;
  }
  body.page-wizard .manual-writing-link {
    padding: 2px 0;
    margin-left: 45px;
  }
  body.page-wizard .manual-writing-ratoncito {
    margin-top: -6px;
    padding: 15px;
  }
  body.page-wizard .manual-writing-ratoncito-options {
    grid-template-columns: 1fr;
  }
  body.page-wizard .manual-writing-ratoncito-options label > span {
    min-height: 0;
  }
  body.page-wizard .manual-writing-ratoncito-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  body.page-wizard .manual-writing-ratoncito-actions .btn {
    width: 100%;
  }
  body.page-wizard .manual-writing-cancel {
    text-align: center;
  }
}

/* v7.9.0 · Precio final visible y comunicación fiscal. */
.writers-price{display:inline-flex;align-items:center;gap:.35rem;margin:.8rem auto 0;padding:.55rem .8rem;border:1px solid rgba(244,202,105,.26);border-radius:999px;background:rgba(3,22,47,.28);color:rgba(255,255,255,.78);font-size:.76rem;line-height:1.35}
.writers-price strong{color:#f4ca69}.cart-tax-note{display:block;margin:-2px 0 14px;color:#687583;font-size:.72rem;line-height:1.45}
@media(max-width:620px){.writers-price{display:block;border-radius:12px;text-align:center}}

/* v7.9.0 · Bloqueo visible de capacidad antes del checkout */
.cart-capacity-alert{margin-bottom:18px}
.cart-production-note{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:13px 16px;border:1px solid rgba(211,155,54,.30);border-radius:14px;background:rgba(255,250,237,.94);color:#596575;font-size:.75rem}
.cart-production-note strong{color:#19304c;font-size:.76rem}
.cart-production-note span{text-align:right}
@media (max-width:680px){.cart-production-note{align-items:flex-start;flex-direction:column}.cart-production-note span{text-align:left}}

/* v8.1.1 · Checkout: consentimientos alineados y enlaces legales reconocibles. */
body.page-checkout .consents {
  display: grid;
  gap: 0;
  margin: 24px 0;
  padding: 8px 18px;
  border: 1px solid #e2e6e3;
  border-radius: 16px;
  background: #f4f6f3;
}
body.page-checkout .consents label {
  display: grid !important;
  grid-template-columns: 20px minmax(0,1fr);
  align-items: start;
  gap: 13px;
  min-height: 0 !important;
  margin: 0;
  padding: 13px 0;
  color: #34465a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  cursor: pointer;
}
body.page-checkout .consents label + label {
  border-top: 1px solid #e2e6e3;
}
body.page-checkout .consents input[type="checkbox"] {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  border-radius: 5px;
  accent-color: #c88e27;
}
body.page-checkout .consents label > span {
  display: block;
  min-width: 0;
}
body.page-checkout .consents a {
  color: #1266b3;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
body.page-checkout .consents a:hover {
  color: #084d8a;
}
@media (max-width: 760px) {
  body.page-checkout .consents { padding: 6px 14px; }
  body.page-checkout .consents label { grid-template-columns: 19px minmax(0,1fr); gap: 11px; padding: 12px 0; font-size: 12.5px; }
  body.page-checkout .consents input[type="checkbox"] { width: 19px !important; height: 19px !important; min-width: 19px !important; min-height: 19px !important; }
}


/* v7.9.5: ampliación de fotos de extras, aislada por producto. */
body.page-cart .extra-image-trigger{position:relative;display:block;width:58px;height:58px;border-radius:11px;cursor:pointer;outline:none}
body.page-cart .extra-image-trigger img{display:block;width:58px;height:58px;border-radius:11px;object-fit:cover;transition:transform .16s ease,filter .16s ease}
body.page-cart .extra-image-trigger:hover img{transform:scale(1.025);filter:brightness(.96)}
body.page-cart .extra-image-trigger:focus-visible{box-shadow:0 0 0 3px rgba(211,155,54,.34)}
body.page-cart .extra-image-expand{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;width:23px;height:23px;border:1px solid rgba(255,255,255,.7);border-radius:7px;background:rgba(15,38,65,.9);color:#fff;box-shadow:0 3px 9px rgba(3,22,47,.24);pointer-events:none;backdrop-filter:blur(3px)}
body.page-cart .extra-image-expand svg{display:block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.extra-gallery-modal{width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:22px;border:0;background:transparent;color:#19304c;overflow:hidden}
.extra-gallery-modal::backdrop{background:rgba(3,15,35,.82);backdrop-filter:blur(7px)}
.extra-gallery-panel{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;grid-template-areas:"prev figure next";align-items:center;width:min(760px,calc(100vw - 44px));height:min(680px,calc(100dvh - 44px));margin:auto;border:1px solid rgba(255,255,255,.2);border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.44);overflow:hidden}
.extra-gallery-figure{grid-area:figure;grid-column:2;display:flex;min-width:0;width:100%;height:100%;margin:0;flex-direction:column;align-items:center;justify-content:center;padding:58px 14px 22px}
.extra-gallery-stage{display:grid;place-items:center;min-width:0;width:100%;min-height:0;flex:1}
.extra-gallery-stage img{display:block;width:min(100%,520px);max-width:100%;max-height:calc(100dvh - 190px);height:auto;object-fit:contain;border-radius:14px}
.extra-gallery-nav.is-prev{grid-area:prev;grid-column:1}
.extra-gallery-nav.is-next{grid-area:next;grid-column:3}
.extra-gallery-figure figcaption{display:flex;align-items:center;justify-content:center;gap:12px;min-height:42px;padding:12px 6px 0;text-align:center}
.extra-gallery-figure figcaption strong{font-family:var(--serif);font-size:1.08rem;font-weight:700}
.extra-gallery-figure figcaption span{color:#7a8491;font-size:.72rem;font-weight:700}
.extra-gallery-close,.extra-gallery-nav{border:0;cursor:pointer;transition:transform .16s ease,background .16s ease}
.extra-gallery-close{position:absolute;z-index:2;top:14px;right:14px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#edf1f5;color:#19304c;font-size:1.55rem;line-height:1}
.extra-gallery-nav{display:grid;place-items:center;width:42px;height:58px;margin:auto;border-radius:14px;background:#f3f0e9;color:#19304c;font-size:2.2rem;line-height:1}
.extra-gallery-nav:hover,.extra-gallery-close:hover{background:#ead8aa}
.extra-gallery-nav:active,.extra-gallery-close:active{transform:scale(.96)}
.extra-gallery-nav[hidden]{display:none}
@media(max-width:720px){
  .extra-gallery-modal{padding:10px}
  .extra-gallery-panel{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-areas:"prev figure next";width:calc(100vw - 20px);height:min(620px,calc(100dvh - 20px));border-radius:19px}
  .extra-gallery-figure{grid-area:figure;padding:62px 4px 16px}
  .extra-gallery-stage img{width:min(100%,420px);max-height:calc(100dvh - 175px);border-radius:10px}
  .extra-gallery-close{top:11px;right:11px}
  .extra-gallery-nav{width:36px;height:52px;border-radius:12px;font-size:1.9rem}
  .extra-gallery-figure figcaption{flex-direction:column;gap:2px;min-height:54px;padding-top:10px}
}
