/* ==========================================================================
   Patio – capa «Escaparate»
   Crema, tinta violeta oscura y tuiles de colores (coral, menta, mostaza,
   lila, cielo). Esquinas muy redondeadas, sombras suaves, animaciones alegres.
   Se carga después de patio.css (diseño base).
   ========================================================================== */

:root,
body {
  --fr-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fr-display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fr-radius: 18px;
  --fr-radius-lg: 24px;
  --fr-radius-xl: 32px;
  --fr-shadow: 0 1px 2px rgba(27, 21, 48, .05), 0 12px 30px rgba(27, 21, 48, .07);
  --fr-shadow-lg: 0 6px 14px rgba(27, 21, 48, .08), 0 26px 56px rgba(27, 21, 48, .14);
  --ms-coral: #FF5A4E;
  --ms-mint: #2EC4A6;
  --ms-mustard: #FFC93C;
  --ms-lilac: #8C6CF2;
  --ms-sky: #4FB3F6;
  --ms-ease: cubic-bezier(.2, .8, .2, 1.05);
}
body.patio-palette-menta { --ms-coral: #2EC4A6; }
body.patio-palette-ciruela { --ms-coral: #8C6CF2; --ms-mint: #A3E635; --ms-lilac: #F472B6; }

body { background: var(--fr-bg); }
h1, h2, h3, .fr-title { font-family: var(--fr-display) !important; letter-spacing: -.025em !important; }

/* ---------- Botones ---------- */
.ms-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  background: var(--fr-night); color: #fff !important; font: 700 14px/1 var(--fr-font); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .25s var(--ms-ease), box-shadow .25s ease, background .2s ease;
}
.ms-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(27, 21, 48, .2); }
.ms-btn--light { background: #fff; color: var(--fr-ink) !important; }
.ms-btn--sm { padding: 9px 14px; font-size: 13px; }
.fr-btn, .button, button.button, a.button { border-radius: 999px !important; }

/* ---------- Cabecera y píldoras ---------- */
.fr-search, .fr-search__input { border-radius: 999px !important; }
.ms-favlink { position: relative; }
.ms-favlink__n { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--fr-amber); color: #fff; font: 700 11px/18px var(--fr-font); text-align: center; }
.ms-pills { background: transparent; }
.ms-pills__in { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ms-pills__in::-webkit-scrollbar { display: none; }
.ms-pill { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--fr-ink); border: 1px solid var(--fr-line-strong); font: 600 13.5px/1 var(--fr-font); text-decoration: none; transition: background .2s ease, color .2s ease, transform .25s var(--ms-ease); }
.ms-pill:hover { transform: translateY(-2px); border-color: var(--fr-ink); }
.ms-pill.is-on { background: var(--fr-night); color: #fff; border-color: var(--fr-night); }
.ms-pill--sale { color: var(--fr-amber-ink); border-color: var(--fr-amber); }

/* ---------- Escaparate en patio ---------- */
.ms-bento { padding: 6px 0 clamp(28px, 4vw, 48px); }
.ms-bento__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.ms-tile { position: relative; overflow: hidden; border-radius: var(--fr-radius-lg); padding: 20px; text-decoration: none; color: var(--fr-ink); isolation: isolate; transition: transform .35s var(--ms-ease), box-shadow .35s ease; }
a.ms-tile:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--fr-shadow-lg); }
.ms-tile--hero { grid-row: span 2; min-height: 330px; background: var(--ms-coral); color: #fff; padding: 0; }
.ms-tile--cat { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; }
.ms-tile__txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
.ms-tile__txt strong { font: 700 clamp(17px, 1.6vw, 21px)/1.15 var(--fr-display); letter-spacing: -.01em; }
.ms-tile__txt small { font-size: 13px; opacity: .78; }
.ms-tile__art { position: absolute; right: 10px; bottom: 6px; width: 46%; max-width: 150px; display: grid; place-items: end; z-index: 0; transition: transform .45s var(--ms-ease); }
.ms-tile__art svg { width: 64px; height: 64px; opacity: .35; }
.ms-tile__art img { width: 100%; height: auto; border-radius: 14px; }
a.ms-tile:hover .ms-tile__art { transform: scale(1.12) rotate(-6deg); }
.ms-tone-mint { background: var(--ms-mint); }
.ms-tone-mustard { background: var(--ms-mustard); }
.ms-tone-lilac { background: var(--ms-lilac); color: #fff; }
.ms-tone-sky { background: var(--ms-sky); color: #fff; }
.ms-tile--deal { background: var(--fr-night); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.ms-tile--deal .ms-tile__art svg { opacity: .5; color: var(--ms-mustard); }

/* Diapositivas dentro de la tuile grande */
.ms-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(20px, 3vw, 34px); opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.ms-slide.is-active { opacity: 1; visibility: visible; }
.ms-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ms-slide:has(.ms-slide__img)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(27, 21, 48, .75), rgba(27, 21, 48, .1) 65%); }
.ms-slide__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 520px; }
.ms-chip { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); color: #fff; font: 700 12px/1 var(--fr-font); letter-spacing: .03em; backdrop-filter: blur(6px); }
.ms-slide__title { color: #fff !important; margin: 0; font-size: clamp(28px, 3.6vw, 46px) !important; line-height: 1.18 !important; font-weight: 800 !important; }
.ms-slide__title .patio-em { font-style: normal; color: var(--fr-night); background: #fff; padding: 0 .18em; border-radius: 10px; line-height: 1.3; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ms-slide__text { margin: 0; color: rgba(255, 255, 255, .9); font-size: 16px; }
.ms-dots { position: absolute; right: 18px; top: 18px; display: flex; gap: 6px; z-index: 3; }
.ms-dot { width: 26px; height: 26px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; }
.ms-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: transform .3s var(--ms-ease), background .2s ease; }
.ms-dot.is-active::after { background: #fff; transform: scale(1.4); }
.fx-on .ms-tile--hero[data-index] .ms-slide.is-active .ms-slide__copy > * { animation: ms-pop .7s var(--ms-ease) both; }
.fx-on .ms-tile--hero[data-index] .ms-slide.is-active .ms-slide__copy > *:nth-child(2) { animation-delay: .08s; }
.fx-on .ms-tile--hero[data-index] .ms-slide.is-active .ms-slide__copy > *:nth-child(3) { animation-delay: .16s; }
.fx-on .ms-tile--hero[data-index] .ms-slide.is-active .ms-slide__copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes ms-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .ms-bento__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ms-tile--hero { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
}
@media (max-width: 420px) {
  .ms-tile--cat, .ms-tile--deal { min-height: 128px; padding: 16px; }
  .ms-tile__art svg { width: 48px; height: 48px; }
}

/* ---------- Tarjetas de producto ---------- */
.fr-card { position: relative; border-radius: var(--fr-radius-lg) !important; background: #fff !important; border: 1px solid rgba(27, 21, 48, .06) !important; box-shadow: none !important; transition: transform .35s var(--ms-ease), box-shadow .35s ease !important; }
.fr-card:hover { transform: translateY(-6px); box-shadow: var(--fr-shadow-lg) !important; }
.fr-card__media { border-radius: 18px !important; margin: 8px 8px 0 !important; background: var(--fr-bg) !important; overflow: hidden; }
.fr-card__media img { transition: transform .6s var(--ms-ease) !important; }
.fr-card:hover .fr-card__media img { transform: scale(1.06); }
.fr-badge { border-radius: 999px !important; }
.fr-badge--sale { background: var(--fr-amber) !important; color: #fff !important; }
.fr-card__title, .fr-card__title a { font-family: var(--fr-display) !important; font-weight: 700 !important; letter-spacing: -.01em; }
.fr-card__specs li { border-radius: 999px !important; }
.fr-card__add { border-radius: 999px !important; background: var(--fr-night) !important; color: #fff !important; transition: transform .25s var(--ms-ease), background .2s ease !important; }
.fr-card__add:hover { transform: scale(1.08) rotate(-4deg); background: var(--fr-amber) !important; }
.fr-card__add.added { background: #15803D !important; }
.fr-card__buy { border-radius: 999px !important; }
.ms-fav { position: absolute; top: 16px; right: 16px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--fr-ink); cursor: pointer; box-shadow: 0 4px 12px rgba(27, 21, 48, .12); transition: transform .25s var(--ms-ease), color .2s ease; }
.ms-fav:hover { transform: scale(1.1); }
.ms-fav.is-on { color: var(--fr-amber); }
.ms-fav.is-on svg { fill: currentColor; }
.ms-fav.is-pop { animation: ms-heart .5s var(--ms-ease); }
@keyframes ms-heart { 30% { transform: scale(1.35); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }

/* ---------- Página de favoritos ---------- */
.ms-favpage { padding: 20px 0 70px; }
.ms-favpage__head h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 6px; }
.ms-favpage__head p { color: var(--nd-muted); margin: 0 0 24px; }
.ms-favgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.ms-favcard { position: relative; background: #fff; border-radius: var(--fr-radius-lg); border: 1px solid rgba(27, 21, 48, .06); overflow: hidden; display: flex; flex-direction: column; }
.ms-favcard .ms-fav { top: 12px; right: 12px; }
.ms-favcard__img { display: block; aspect-ratio: 1; background: var(--fr-bg); margin: 8px; border-radius: 16px; overflow: hidden; }
.ms-favcard__img img { width: 100%; height: 100%; object-fit: cover; }
.ms-favcard__body { padding: 4px 14px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ms-favcard__name { color: var(--fr-ink); font-weight: 700; text-decoration: none; }
.ms-favcard__price { margin: 0; font: 800 18px/1 var(--fr-display); }
.ms-favempty { grid-column: 1 / -1; text-align: center; padding: 40px 16px; background: #fff; border-radius: var(--fr-radius-lg); }
.ms-favempty p { color: var(--nd-muted); }

/* ---------- Secciones ---------- */
.fr-usps__list > *, .fr-usps .fr-usp { border-radius: 20px !important; }
.fr-section .fr-title .patio-em, .patio-em { color: var(--fr-amber-ink); font-style: normal; }
.fr-footer, .site-footer { border-radius: var(--fr-radius-xl) var(--fr-radius-xl) 0 0; }

@media (prefers-reduced-motion: reduce) {
  .ms-tile, .ms-tile__art, .ms-fav, .fr-card { transition: none !important; }
  .fx-on .ms-slide.is-active .ms-slide__copy > * { animation: none; }
}

/* ---------- Patio con las 6 categorías principales ----------
   Ordenador: 4 columnas; la tuile grande ocupa 2 × 2 y las tuiles pequeñas
   (6 categorías + ofertas + catálogo) completan la cuadrícula. */
.ms-bento__grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-rows: minmax(150px, auto); }
.ms-tile--hero { grid-column: span 2; grid-row: span 2; }
.ms-tone-peach { background: #FFB4A2; }
.ms-tone-lime { background: #C6F06B; }
.ms-tile--all { background: #fff; border: 2px dashed rgba(27, 21, 48, .18); color: var(--fr-ink); display: flex; flex-direction: column; justify-content: space-between; }
.ms-tile--all:hover { border-color: var(--fr-ink); }
@media (max-width: 1100px) { .ms-bento__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .ms-tile--hero { grid-column: 1 / -1; grid-row: auto; min-height: 300px; } }
@media (max-width: 700px) { .ms-bento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; } }
.ms-tile--wide { grid-column: span 2; }
@media (max-width: 700px) { .ms-tile--wide { grid-column: 1 / -1; } }

/* =========================================================================
   Páginas de ayuda: contacto, preguntas frecuentes, quiénes somos y
   seguimiento de pedido (v1.2.0).
   ========================================================================= */
.ms-btn--wa { background: #1FA855; }
.ms-btn--ghost { background: transparent; color: inherit !important; box-shadow: inset 0 0 0 2px currentColor; }
.ms-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--fr-amber-ink); font: 700 12.5px/1 var(--fr-font); letter-spacing: .02em; box-shadow: 0 2px 8px rgba(27, 21, 48, .06); }

/* Cabecera de página */
.ms-pagehero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin: 18px 0 clamp(28px, 4vw, 48px); padding: clamp(22px, 4vw, 48px); border-radius: var(--fr-radius-xl); background: radial-gradient(120% 140% at 100% 0, rgba(255, 201, 60, .35), transparent 55%), radial-gradient(90% 120% at 0 100%, rgba(46, 196, 166, .22), transparent 60%), #fff; border: 1px solid rgba(27, 21, 48, .06); position: relative; overflow: hidden; }
.ms-pagehero h1 { margin: 14px 0 10px; font-size: clamp(32px, 5vw, 56px); line-height: 1.02; color: var(--fr-ink); }
.ms-pagehero__lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.55; color: rgba(27, 21, 48, .78); margin: 0 0 12px; max-width: 46ch; }
.ms-pagehero__hours { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; font-weight: 600; color: var(--fr-ink); }
.ms-pagehero .entry-content { max-width: 60ch; }

/* Accesos rápidos */
.ms-quick { display: grid; gap: 10px; }
.ms-quick__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--fr-bg); color: var(--fr-ink); text-decoration: none; border: 1px solid rgba(27, 21, 48, .07); transition: transform .3s var(--ms-ease), box-shadow .3s ease; }
.ms-quick__item:hover { transform: translateX(4px); box-shadow: var(--fr-shadow); }
.ms-quick__item strong { display: block; font: 700 16px/1.2 var(--fr-display); }
.ms-quick__item small { display: block; margin-top: 3px; color: rgba(27, 21, 48, .65); font-size: 13.5px; }
.ms-quick__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--fr-amber); }
.ms-quick__go { font-size: 20px; transition: transform .3s var(--ms-ease); }
.ms-quick__item:hover .ms-quick__go { transform: translateX(4px); }
.ms-quick__item--main { background: var(--fr-night); color: #fff; border-color: transparent; padding: 20px; }
.ms-quick__item--main small { color: rgba(255, 255, 255, .75); }
.ms-quick__item--main .ms-quick__icon { background: var(--ms-mustard); color: var(--fr-night); width: 52px; height: 52px; }

/* Canales de contacto */
.ms-channels { list-style: none; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.ms-channel { position: relative; padding: 22px 20px; border-radius: var(--fr-radius-lg); color: var(--fr-ink); display: flex; flex-direction: column; gap: 6px; min-height: 190px; transition: transform .35s var(--ms-ease); }
.ms-channel:hover { transform: translateY(-4px) rotate(-.4deg); }
.ms-channel h2 { margin: 6px 0 0; font-size: 15px; letter-spacing: 0 !important; text-transform: uppercase; opacity: .75; color: inherit; }
.ms-channel__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .55); }
.ms-channel__big { font: 800 clamp(19px, 1.8vw, 23px)/1.15 var(--fr-display); color: inherit !important; text-decoration: none; overflow-wrap: anywhere; }
.ms-channel__big:hover { text-decoration: underline; }
.ms-channel__big--sm { font-size: clamp(15px, 1.4vw, 18px); }
.ms-channel small { margin-top: auto; font-size: 13px; line-height: 1.45; opacity: .85; }
.ms-channel address { font-style: normal; line-height: 1.5; font-size: 14.5px; }
.ms-channel.ms-tone-sky .ms-channel__icon, .ms-channel.ms-tone-lilac .ms-channel__icon { background: rgba(255, 255, 255, .22); }

/* Formulario + columna */
.ms-contact__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: clamp(32px, 5vw, 56px); }
.ms-contact__form { background: #fff; border-radius: var(--fr-radius-xl); padding: clamp(20px, 3.4vw, 38px); border: 1px solid rgba(27, 21, 48, .06); box-shadow: var(--fr-shadow); }
.ms-contact__form h2 { margin: 0 0 6px; font-size: clamp(24px, 2.6vw, 32px); }
.ms-contact__sub { margin: 0 0 20px; color: rgba(27, 21, 48, .7); }
.ms-contact__form input:not([type=radio]), .ms-contact__form select, .ms-contact__form textarea { border-radius: 14px !important; border: 1.5px solid rgba(27, 21, 48, .14) !important; background: var(--fr-bg) !important; transition: border-color .2s ease, background .2s ease; }
.ms-contact__form input:focus, .ms-contact__form textarea:focus { border-color: var(--fr-ink) !important; background: #fff !important; outline: none; }
.ms-topics { border: 0; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.ms-topics legend { width: 100%; margin-bottom: 10px; padding: 0; font-weight: 700; color: var(--fr-ink); }
.ms-topic { position: relative; cursor: pointer; margin: 0; }
.ms-topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ms-topic span { display: inline-block; padding: 10px 15px; border-radius: 999px; background: var(--fr-bg); border: 1.5px solid rgba(27, 21, 48, .12); font: 600 13.5px/1.1 var(--fr-font); transition: background .2s ease, color .2s ease, transform .25s var(--ms-ease); }
.ms-topic:hover span { transform: translateY(-2px); }
.ms-topic input:checked + span { background: var(--fr-night); color: #fff; border-color: var(--fr-night); }
.ms-topic input:focus-visible + span { outline: 3px solid var(--ms-sky); outline-offset: 2px; }
.ms-contact__send { padding: 15px 26px; font-size: 15px; background: var(--fr-amber); }
.ms-contact__send:hover { background: var(--fr-night); }
.ms-contact__aside { display: grid; gap: 14px; }
.ms-contact__panel { padding: 22px; border-radius: var(--fr-radius-lg); background: #fff; border: 1px solid rgba(27, 21, 48, .06); }
.ms-contact__panel h2 { margin: 0 0 12px; font-size: 19px; }
.ms-contact__panel--night { background: var(--fr-night); color: #fff; }
.ms-contact__panel--night h2 { color: #fff; }
.ms-contact__panel--night p { color: rgba(255, 255, 255, .8); margin: 0; }
.ms-contact__faq { list-style: none; margin: 0; padding: 0; }
.ms-contact__faq li + li { border-top: 1px solid rgba(27, 21, 48, .08); }
.ms-contact__faq a { display: block; padding: 11px 0; color: var(--fr-ink); font-weight: 600; text-decoration: none; transition: padding .2s ease, color .2s ease; }
.ms-contact__faq a:hover { color: var(--fr-amber-ink); padding-left: 4px; }

/* Accesos de ayuda */
.ms-hub { margin: clamp(32px, 5vw, 56px) 0; }
.ms-hub__title { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 16px; }
.ms-hub__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ms-hub__card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 160px; padding: 20px; border-radius: var(--fr-radius-lg); color: var(--fr-ink); text-decoration: none; transition: transform .35s var(--ms-ease), box-shadow .35s ease; }
.ms-hub__card:hover { transform: translateY(-5px) rotate(-.5deg); box-shadow: var(--fr-shadow-lg); }
.ms-hub__card strong { font: 700 18px/1.15 var(--fr-display); margin-top: auto; }
.ms-hub__card small { font-size: 13.5px; opacity: .85; padding-right: 26px; }
.ms-hub__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .5); }
.ms-hub__go { position: absolute; right: 18px; bottom: 16px; font-size: 20px; transition: transform .3s var(--ms-ease); }
.ms-hub__card:hover .ms-hub__go { transform: translateX(4px); }

/* Seguimiento: cabecera y etapas */
.ms-trackflow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ms-trackflow li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--fr-bg); }
.ms-trackflow li span { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fr-night); color: #fff; font: 800 16px/1 var(--fr-display); }
.ms-trackflow li:nth-child(2) span { background: var(--ms-mustard); color: var(--fr-night); }
.ms-trackflow li:nth-child(3) span { background: var(--ms-mint); color: var(--fr-night); }
.ms-trackflow strong { font: 700 16px/1.2 var(--fr-display); }
.ms-trackflow small { color: rgba(27, 21, 48, .65); }
.ms-track-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ms-track-grid.is-result { grid-template-columns: minmax(0, 1fr); }
.ms-track-card { background: #fff; border-radius: var(--fr-radius-xl); padding: clamp(20px, 3.4vw, 38px); border: 1px solid rgba(27, 21, 48, .06); box-shadow: var(--fr-shadow); scroll-margin-top: 110px; }
.ms-track-card .woocommerce-error, .ms-track-card .woocommerce-message, .ms-track-card .woocommerce-info { border-radius: 14px; margin-bottom: 18px; }
.ms-trackform__title { margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 30px); }
.ms-trackform__row { margin: 0 0 14px !important; width: 100% !important; float: none !important; }
.ms-trackform__row label { display: block; font-weight: 700; margin-bottom: 6px; }
.ms-trackform input { width: 100%; padding: 15px 16px !important; font-size: 17px !important; border-radius: 14px !important; border: 1.5px solid rgba(27, 21, 48, .14) !important; background: var(--fr-bg) !important; }
.ms-trackform input:focus { border-color: var(--fr-ink) !important; background: #fff !important; outline: none; }
.ms-trackform__go { width: 100%; justify-content: center; padding: 16px 22px !important; font-size: 16px !important; background: var(--fr-amber) !important; color: #fff !important; }
.ms-trackform__go:hover { background: var(--fr-night) !important; }
.ms-trackform__note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; color: rgba(27, 21, 48, .6); }
.ms-track-aside { display: grid; gap: 12px; }
.ms-track-tip { padding: 20px; border-radius: var(--fr-radius-lg); background: #fff; border: 1px solid rgba(27, 21, 48, .06); }
.ms-track-tip.ms-tone-mustard, .ms-track-tip.ms-tone-lime { border-color: transparent; }
.ms-track-tip h2 { margin: 0 0 6px; font-size: 17px; }
.ms-track-tip p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; }
.ms-track-tip p:last-child { margin-bottom: 0; }
.ms-track-legend { margin: clamp(32px, 5vw, 52px) 0 0; }
.ms-track-legend h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 16px; }
.ms-track-legend dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ms-track-legend dl > div { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid rgba(27, 21, 48, .06); }
.ms-track-legend dt { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--fr-ink); margin-bottom: 6px; }
.ms-track-legend dd { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(27, 21, 48, .72); }
.ms-dotst { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.ms-dotst--wait { background: var(--ms-mustard); }
.ms-dotst--prep { background: var(--ms-sky); }
.ms-dotst--done { background: var(--ms-mint); }
.ms-dotst--stop { background: var(--fr-amber); }

/* Seguimiento: resultado */
.ms-track-result__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.ms-track-result__head h2 { margin: 12px 0 6px; font-size: clamp(26px, 3.2vw, 40px); }
.ms-track-result__head p { margin: 0; color: rgba(27, 21, 48, .75); max-width: 60ch; }
.ms-track-result__meta { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 8px; }
.ms-track-result__meta > div { padding: 12px 14px; border-radius: 14px; background: var(--fr-bg); }
.ms-track-result__meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: rgba(27, 21, 48, .6); }
.ms-track-result__meta dd { margin: 2px 0 0; font: 800 16px/1.2 var(--fr-display); }
.ms-stepper { list-style: none; margin: 26px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ms-stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: rgba(27, 21, 48, .5); }
.ms-stepper li::before { content: ""; position: absolute; top: 21px; left: -50%; width: 100%; height: 4px; background: rgba(27, 21, 48, .1); z-index: 0; }
.ms-stepper li:first-child::before { display: none; }
.ms-stepper li.is-done::before, .ms-stepper li.is-current::before { background: var(--ms-mint); }
.ms-stepper span { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid rgba(27, 21, 48, .12); font: 800 17px/1 var(--fr-display); }
.ms-stepper li.is-done, .ms-stepper li.is-current { color: var(--fr-ink); }
.ms-stepper li.is-done span { background: var(--ms-mint); border-color: var(--ms-mint); color: var(--fr-night); }
.ms-stepper li.is-current span { background: var(--fr-night); border-color: var(--fr-night); color: #fff; box-shadow: 0 0 0 6px rgba(255, 201, 60, .45); animation: ms-pulse 2s ease-in-out infinite; }
@keyframes ms-pulse { 50% { box-shadow: 0 0 0 11px rgba(255, 201, 60, .15); } }
.ms-track-result__stop { margin: 20px 0; padding: 14px 16px; border-radius: 14px; background: rgba(217, 58, 47, .08); color: var(--fr-amber-ink); }
.ms-track-notes { margin: 0 0 24px; padding: 20px; border-radius: 20px; background: var(--fr-bg); }
.ms-track-notes h3 { margin: 0 0 12px; font-size: 18px; }
.ms-track-notes ol { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 3px solid var(--ms-mint); }
.ms-track-notes li { position: relative; padding: 0 0 14px 8px; }
.ms-track-notes li::before { content: ""; position: absolute; left: -27px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ms-mint); border: 3px solid var(--fr-bg); }
.ms-track-notes time { font-size: 12.5px; font-weight: 700; color: rgba(27, 21, 48, .6); }
.ms-track-notes li p { margin: 2px 0 0; }
.ms-track-result__details { overflow-x: auto; }
.ms-track-result__again { margin: 18px 0 0; font-weight: 600; }

/* Preguntas frecuentes */
.ms-faqsearch { position: relative; display: flex; align-items: center; margin: 18px 0 8px; max-width: 560px; }
.ms-faqsearch svg { position: absolute; left: 18px; color: rgba(27, 21, 48, .5); pointer-events: none; }
.ms-faqsearch input { width: 100%; padding: 17px 18px 17px 50px !important; font-size: 16.5px !important; border-radius: 999px !important; border: 2px solid var(--fr-night) !important; background: #fff !important; box-shadow: 0 8px 24px rgba(27, 21, 48, .08); }
.ms-faqsearch input:focus { outline: none; box-shadow: 0 0 0 5px rgba(255, 201, 60, .45); }
.ms-faqcount { margin: 0; font-size: 13.5px; font-weight: 600; color: rgba(27, 21, 48, .6); }
.ms-trackcta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(22px, 3vw, 32px); border-radius: var(--fr-radius-lg); background: var(--fr-night); color: #fff; text-decoration: none; position: relative; overflow: hidden; transition: transform .35s var(--ms-ease); }
.ms-trackcta::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--ms-coral); opacity: .9; z-index: 0; }
.ms-trackcta > * { position: relative; z-index: 1; }
.ms-trackcta:hover { transform: translateY(-4px) rotate(-.5deg); }
.ms-trackcta strong { font: 800 clamp(22px, 2.4vw, 28px)/1.1 var(--fr-display); }
.ms-trackcta small { color: rgba(255, 255, 255, .78); font-size: 14.5px; margin-bottom: 8px; }
.ms-trackcta__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--ms-mustard); color: var(--fr-night); }
.ms-faqtopics { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 8px; scrollbar-width: none; }
.ms-faqtopics::-webkit-scrollbar { display: none; }
.ms-faqtopics .ms-pill { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.ms-faqlist { max-width: 900px; margin: 0 auto; }
.ms-faqgroup { margin: 0 0 30px; scroll-margin-top: 110px; }
.ms-faqgroup h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(21px, 2.2vw, 27px); margin: 0 0 12px; }
.ms-faqgroup__icon { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--ms-mustard); color: var(--fr-night); }
.ms-faqgroup:nth-of-type(6n+2) .ms-faqgroup__icon { background: var(--ms-mint); }
.ms-faqgroup:nth-of-type(6n+3) .ms-faqgroup__icon { background: var(--ms-lilac); color: #fff; }
.ms-faqgroup:nth-of-type(6n+4) .ms-faqgroup__icon { background: var(--ms-sky); color: #fff; }
.ms-faqgroup:nth-of-type(6n+5) .ms-faqgroup__icon { background: #FFB4A2; }
.ms-faqgroup:nth-of-type(6n) .ms-faqgroup__icon { background: #C6F06B; }
.ms-faq .faq-accordion-item { background: #fff; border-radius: 18px !important; border: 1px solid rgba(27, 21, 48, .07) !important; margin-bottom: 8px; overflow: hidden; transition: box-shadow .25s ease; }
.ms-faq .faq-accordion-item:hover { box-shadow: var(--fr-shadow); }
.ms-faq .faq-accordion-header { padding: 18px 20px !important; font-weight: 700; color: var(--fr-ink); }
.ms-faq .faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--fr-bg); font-weight: 800; transition: transform .3s var(--ms-ease), background .2s ease; }
.ms-faq .faq-accordion-item.is-open .faq-icon { transform: rotate(45deg); background: var(--ms-mustard); }
.ms-faq .faq-accordion-content { padding-left: 20px !important; padding-right: 20px !important; }
.ms-faq .faq-accordion-content ul { margin: 0 0 14px; padding-left: 20px; }
[data-faq-item][hidden], [data-faq-group][hidden] { display: none !important; }
.ms-faqempty { padding: 26px; text-align: center; border-radius: 20px; background: #fff; font-weight: 600; }
.ms-faqempty[hidden] { display: none; }
.ms-faqmore { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin: clamp(32px, 5vw, 56px) 0; padding: clamp(22px, 4vw, 40px); border-radius: var(--fr-radius-xl); background: var(--ms-lilac); color: #fff; }
.ms-faqmore h2 { margin: 0 0 6px; color: #fff; font-size: clamp(24px, 2.8vw, 34px); }
.ms-faqmore p { margin: 0 0 6px; color: rgba(255, 255, 255, .9); }
.ms-faqmore a { color: #fff; }
.ms-faqmore .ms-btn--light { color: var(--fr-ink) !important; }
.ms-faqmore__line { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ms-faqmore__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Quiénes somos */
.ms-about__media { border-radius: var(--fr-radius-lg); overflow: hidden; }
.ms-about__media img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.ms-about__media:has(.ms-about__mosaic) { overflow: visible; }
.ms-about__mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ms-about__mosaic span { aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; color: var(--fr-night); }
.ms-about__mosaic span:nth-child(odd) { transform: rotate(-3deg); }
.ms-about__mosaic span:nth-child(even) { transform: rotate(2deg) translateY(8px); }
.ms-about__mosaic span.ms-tone-lilac, .ms-about__mosaic span.ms-tone-sky { color: #fff; }
.ms-about__story p { line-height: 1.65; }
.ms-about__block { margin: 0 0 clamp(36px, 5vw, 60px); }
.ms-about__head { margin-bottom: 18px; }
.ms-about__head h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 38px); }
.ms-about__head p { margin: 0; color: rgba(27, 21, 48, .7); max-width: 60ch; }
.ms-about__cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ms-about__cats .ms-tile { min-height: 140px; }
.ms-about__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ms-about__steps li { position: relative; padding: 22px; border-radius: var(--fr-radius-lg); background: #fff; border: 1px solid rgba(27, 21, 48, .06); }
.ms-about__num { position: absolute; top: 14px; right: 18px; font: 800 44px/1 var(--fr-display); color: rgba(27, 21, 48, .08); }
.ms-about__sicon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--fr-night); color: var(--ms-mustard); }
.ms-about__steps h3 { margin: 14px 0 6px; font-size: 19px; }
.ms-about__steps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(27, 21, 48, .72); }
.ms-about__brands { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ms-about__values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ms-about__values li { padding: 22px; border-radius: var(--fr-radius-lg); transition: transform .35s var(--ms-ease); }
.ms-about__values li:hover { transform: translateY(-4px) rotate(-.5deg); }
.ms-about__values h3 { margin: 12px 0 6px; font-size: 19px; color: inherit; }
.ms-about__values p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.ms-about__vicon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .5); }
.ms-about__values .ms-tone-lilac .ms-about__vicon, .ms-about__values .ms-tone-sky .ms-about__vicon { background: rgba(255, 255, 255, .22); }
.ms-about__delivery { margin: 0 0 clamp(36px, 5vw, 60px); padding: clamp(24px, 4vw, 46px); border-radius: var(--fr-radius-xl); background: var(--fr-night); color: #fff; }
.ms-about__delivery h2 { color: #fff; }
.ms-about__delivery .ms-about__head p { color: rgba(255, 255, 255, .75); }
.ms-about__delivery ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ms-about__delivery li { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.ms-about__delivery li > span { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--ms-coral); color: #fff; }
.ms-about__delivery li:nth-child(2) > span { background: var(--ms-mustard); color: var(--fr-night); }
.ms-about__delivery li:nth-child(3) > span { background: var(--ms-mint); color: var(--fr-night); }
.ms-about__delivery h3 { margin: 14px 0 6px; color: #fff; font-size: 19px; }
.ms-about__delivery li p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.5; }
.ms-about__legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--fr-radius-lg); background: #fff; border: 1px solid rgba(27, 21, 48, .06); }
.ms-about__legal h2 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 28px); }
.ms-about__legal p { margin: 0; color: rgba(27, 21, 48, .72); }
.ms-about__legallinks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ms-about__legallinks a { display: inline-block; padding: 9px 14px; border-radius: 999px; background: var(--fr-bg); color: var(--fr-ink); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.ms-about__legallinks a:hover { background: var(--fr-night); color: #fff; }
.ms-about__contact { display: grid !important; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; margin: 0 0 clamp(36px, 5vw, 60px); padding: clamp(24px, 4vw, 46px) !important; border-radius: var(--fr-radius-xl) !important; background: var(--fr-amber) !important; color: #fff; border: 0 !important; }
.ms-about__contact h2 { color: #fff !important; margin: 0 0 6px; font-size: clamp(26px, 3vw, 38px); }
.ms-about__contact p { color: rgba(255, 255, 255, .92) !important; }
.ms-about__contact .patio-about-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ms-about__contact .ms-btn--light { color: var(--fr-ink) !important; }
.ms-about__contact .patio-about-address { font-style: normal; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .16); color: #fff; line-height: 1.6; }
.ms-about__contact .patio-about-address a { color: #fff; }

/* Enlaces de seguimiento: cabecera, pie y confirmación */
.ms-toptrack a { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--ms-mustard); color: var(--fr-night) !important; font-weight: 700; text-decoration: none; }
.ms-toptrack a:hover { background: #fff; }
.ms-foottrack a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.ms-thanks-track { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 0 0 20px; padding: 18px 20px; border-radius: 20px; background: var(--fr-night); color: #fff !important; text-decoration: none; transition: transform .3s var(--ms-ease); }
.ms-thanks-track:hover { transform: translateY(-3px); }
.ms-thanks-track strong { display: block; font: 700 17px/1.2 var(--fr-display); }
.ms-thanks-track small { display: block; color: rgba(255, 255, 255, .75); margin-top: 3px; }
.ms-thanks-track__icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--ms-mustard); color: var(--fr-night); }
.ms-thanks-track__go { padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--fr-ink); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* Responsive de las páginas de ayuda */
@media (max-width: 1000px) {
  .ms-hub__grid, .ms-about__steps, .ms-about__values, .ms-track-legend dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-track-result__head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .ms-pagehero, .ms-contact__grid, .ms-track-grid, .ms-about__legal, .ms-about__contact, .ms-faqmore { grid-template-columns: minmax(0, 1fr); }
  .ms-about__delivery ul { grid-template-columns: minmax(0, 1fr); }
  .ms-about__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-about__mosaic { max-width: 420px; }
}
@media (max-width: 560px) {
  .ms-pagehero { margin-top: 10px; border-radius: var(--fr-radius-lg); }
  .ms-hub__grid, .ms-about__steps, .ms-about__values, .ms-track-legend dl { grid-template-columns: minmax(0, 1fr); }
  .ms-channel, .ms-hub__card { min-height: 0; }
  .ms-hub__card strong { margin-top: 6px; }
  .ms-track-result__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ms-stepper strong { font-size: 13px; }
  .ms-thanks-track { grid-template-columns: auto minmax(0, 1fr); }
  .ms-thanks-track__go { grid-column: 1 / -1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-stepper li.is-current span { animation: none; }
}
@media (max-width: 760px) {
  /* En móvil, el seguimiento queda a la vista junto al carrito. */
  .fr-header .fr-tool.ms-tracklink { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; background: var(--ms-mustard); color: var(--fr-night); }
}

/* =========================================================================
   Espacio del cliente «Mi cuenta» (v1.3.0)
   ========================================================================= */
.ms-btn--accent { background: var(--fr-amber); }
.ms-btn--accent:hover { background: var(--fr-night); }
.ms-account { padding-top: 18px; padding-bottom: clamp(40px, 6vw, 72px); }

/* Cabecera */
.ms-account__hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-bottom: 22px; padding: clamp(18px, 3vw, 30px); border-radius: var(--fr-radius-xl); background: var(--fr-night); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.ms-account__hero::before { content: ""; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--ms-coral); opacity: .9; z-index: -1; }
.ms-account__hero::after { content: ""; position: absolute; right: 140px; bottom: -70px; width: 130px; height: 130px; border-radius: 40px; background: var(--ms-mustard); transform: rotate(18deg); opacity: .9; z-index: -1; }
.ms-account__avatar { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--ms-mint); color: var(--fr-night); font: 800 24px/1 var(--fr-display); transform: rotate(-4deg); }
.ms-account__hello h1 { margin: 0 0 4px; color: #fff; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; overflow-wrap: anywhere; }
.ms-account__hello p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 14.5px; overflow-wrap: anywhere; }
.ms-account__heroactions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.ms-account__logout { color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.ms-account__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }

/* Menú lateral */
.ms-accnav { position: sticky; top: 100px; padding: 10px; border-radius: var(--fr-radius-lg); background: #fff; border: 1px solid rgba(27, 21, 48, .06); }
.ms-accnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ms-accnav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--fr-ink) !important; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s ease, transform .25s var(--ms-ease); }
.ms-accnav a:hover { background: var(--fr-bg); transform: translateX(3px); }
.ms-accnav__icon { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--fr-bg); transition: background .2s ease, color .2s ease; }
.ms-accnav li.is-active a { background: var(--fr-night); color: #fff !important; }
.ms-accnav li.is-active .ms-accnav__icon { background: var(--ms-mustard); color: var(--fr-night); }
.ms-accnav__extra:first-of-type, .ms-accnav li.ms-accnav__extra:nth-last-child(3) { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(27, 21, 48, .12); }
.ms-accnav__out a { color: var(--fr-amber-ink) !important; }
.ms-accnav__out .ms-accnav__icon { background: rgba(217, 58, 47, .08); }

/* Contenido */
.ms-account__main { min-width: 0; padding: clamp(18px, 3vw, 32px); border-radius: var(--fr-radius-lg); background: #fff; border: 1px solid rgba(27, 21, 48, .06); }
.ms-account__main > p:first-child { margin-top: 0; }
.ms-account__main h2, .ms-account__main h3 { color: var(--fr-ink); }
.ms-account__main .woocommerce-message, .ms-account__main .woocommerce-info, .ms-account__main .woocommerce-error { border-radius: 14px; }

/* Estados */
.ms-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font: 700 12.5px/1 var(--fr-font); white-space: nowrap; }
.ms-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ms-status--wait { background: rgba(255, 201, 60, .3); color: #7A5A00; }
.ms-status--prep { background: rgba(79, 179, 246, .18); color: #0B5A8F; }
.ms-status--done { background: rgba(46, 196, 166, .2); color: #0E6B59; }
.ms-status--stop { background: rgba(217, 58, 47, .1); color: var(--fr-amber-ink); }

/* Resumen */
.ms-dash { display: grid; gap: 18px; }
.ms-dash__last { padding: clamp(18px, 2.6vw, 26px); border-radius: 22px; background: var(--fr-bg); border: 1px solid rgba(27, 21, 48, .06); }
.ms-dash__lasthead { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.ms-dash__lasthead h2 { margin: 10px 0 4px; font-size: clamp(22px, 2.4vw, 28px); }
.ms-dash__lasthead p { margin: 0; color: rgba(27, 21, 48, .7); font-size: 14.5px; }
.ms-dash .ms-stepper { margin: 22px 0 10px; }
.ms-stepper--sm span { width: 38px; height: 38px; font-size: 15px; }
.ms-stepper--sm li::before { top: 17px; }
.ms-dash .ms-stepper li:not(.is-done):not(.is-current) span { background: #fff; }
.ms-dash__note { margin: 0 0 14px; color: rgba(27, 21, 48, .72); font-size: 14.5px; text-align: center; }
.ms-dash__lastactions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: center; }
.ms-dash__link { color: var(--fr-ink); font-weight: 600; font-size: 14px; }
.ms-dash__empty { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: clamp(20px, 3vw, 30px); border-radius: 22px; background: var(--fr-bg); border: 2px dashed rgba(27, 21, 48, .14); }
.ms-dash__empty h2 { margin: 0 0 4px; font-size: 22px; }
.ms-dash__empty p { margin: 0 0 14px; color: rgba(27, 21, 48, .7); }
.ms-dash__emptyicon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--ms-mustard); color: var(--fr-night); transform: rotate(-5deg); }
.ms-dash__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ms-dash__tile { display: flex; flex-direction: column; gap: 4px; min-height: 140px; padding: 18px; border-radius: 20px; color: var(--fr-ink) !important; text-decoration: none; transition: transform .35s var(--ms-ease), box-shadow .35s ease; }
.ms-dash__tile:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--fr-shadow-lg); }
.ms-dash__tile.ms-tone-sky { color: #fff !important; }
.ms-dash__tile strong { margin-top: auto; font: 700 17px/1.15 var(--fr-display); }
.ms-dash__tile small { font-size: 13px; opacity: .85; overflow-wrap: anywhere; }
.ms-dash__ticon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .5); }
.ms-dash__tile.ms-tone-sky .ms-dash__ticon { background: rgba(255, 255, 255, .22); }
.ms-dash__recenthead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.ms-dash__recenthead h2 { margin: 0; font-size: 20px; }
.ms-dash__recenthead a { font-weight: 700; font-size: 14px; color: var(--fr-amber-ink); }
.ms-dash__recent ul { list-style: none; margin: 0; padding: 0; }
.ms-dash__recent li + li { border-top: 1px solid rgba(27, 21, 48, .07); }
.ms-dash__recent li a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px 8px; border-radius: 12px; color: var(--fr-ink); text-decoration: none; transition: background .2s ease; }
.ms-dash__recent li a:hover { background: var(--fr-bg); }
.ms-dash__num { font-weight: 800; font-family: var(--fr-display); }
.ms-dash__date { color: rgba(27, 21, 48, .62); font-size: 14px; }
.ms-dash__total { font-weight: 700; text-align: right; }
.ms-dash__help { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: 20px; background: var(--ms-lilac); color: #fff; }
.ms-dash__help h2 { margin: 0 0 2px; font-size: 19px; color: #fff; }
.ms-dash__help p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 14px; }
.ms-dash__helplinks { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-dash__helplinks a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; background: #fff; color: var(--fr-ink) !important; font-weight: 700; font-size: 13.5px; text-decoration: none; transition: transform .25s var(--ms-ease); }
.ms-dash__helplinks a:hover { transform: translateY(-2px); }

/* Mis pedidos (tabla de WooCommerce) */
.ms-account__main table.woocommerce-orders-table { border: 0 !important; border-collapse: separate; border-spacing: 0; width: 100%; }
.ms-account__main .woocommerce-orders-table thead th { background: var(--fr-bg) !important; border: 0 !important; padding: 12px 14px !important; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: rgba(27, 21, 48, .65); }
.ms-account__main .woocommerce-orders-table thead th:first-child { border-radius: 12px 0 0 12px; }
.ms-account__main .woocommerce-orders-table thead th:last-child { border-radius: 0 12px 12px 0; }
.ms-account__main .woocommerce-orders-table td, .ms-account__main .woocommerce-orders-table tbody th { border: 0 !important; border-bottom: 1px solid rgba(27, 21, 48, .07) !important; padding: 14px !important; vertical-align: middle; }
.ms-account__main .woocommerce-orders-table__cell-order-number a { font-weight: 800; color: var(--fr-ink); }
.ms-account__main .woocommerce-orders-table .button, .ms-account__main .woocommerce-Addresses .edit, .ms-account__main .woocommerce-MyAccount-downloads .button { display: inline-flex; align-items: center; padding: 8px 14px !important; border-radius: 999px !important; background: var(--fr-night) !important; color: #fff !important; font-weight: 700; font-size: 13px; text-decoration: none; margin: 2px; }
.ms-account__main .woocommerce-orders-table .button:hover { background: var(--fr-amber) !important; }
.ms-account__main .woocommerce-pagination { display: flex; gap: 10px; margin-top: 16px; }
.ms-account__main .woocommerce-pagination .button { border-radius: 999px !important; }

/* Direcciones */
.ms-account__main .woocommerce-Addresses { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.ms-account__main .woocommerce-Addresses::before, .ms-account__main .woocommerce-Addresses::after { display: none !important; }
.ms-account__main .woocommerce-Address { width: auto !important; float: none !important; padding: 20px; border-radius: 20px; background: var(--fr-bg); }
.ms-account__main .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ms-account__main .woocommerce-Address-title::before, .ms-account__main .woocommerce-Address-title::after { display: none !important; }
.ms-account__main .woocommerce-Address-title h2, .ms-account__main .woocommerce-Address-title h3 { margin: 0; font-size: 18px; }
.ms-account__main .woocommerce-Address address { font-style: normal; line-height: 1.6; }

/* Formularios (datos, direcciones) */
.ms-account__main form .form-row { margin-bottom: 14px; }
.ms-account__main form label { font-weight: 700; font-size: 14px; margin-bottom: 5px; display: block; }
.ms-account__main form input.input-text, .ms-account__main form select, .ms-account__main form textarea, .ms-account__main .select2-container .select2-selection { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px !important; border: 1.5px solid rgba(27, 21, 48, .14) !important; background: var(--fr-bg) !important; font-size: 15px; }
.ms-account__main form input.input-text:focus { outline: none; border-color: var(--fr-ink) !important; background: #fff !important; }
.ms-account__main fieldset { margin: 18px 0; padding: 18px; border: 1px dashed rgba(27, 21, 48, .16); border-radius: 18px; }
.ms-account__main fieldset legend { padding: 0 8px; font-weight: 800; font-family: var(--fr-display); }
.ms-account__main form button[type=submit], .ms-account__main form .button[name] { padding: 14px 24px !important; border-radius: 999px !important; background: var(--fr-amber) !important; color: #fff !important; font-weight: 700; border: 0; cursor: pointer; }
.ms-account__main form button[type=submit]:hover { background: var(--fr-night) !important; }
.ms-account__main em { font-size: 13px; color: rgba(27, 21, 48, .6); }

/* Detalle de pedido */
.ms-vieworder__back { display: inline-block; margin-bottom: 14px; font-weight: 700; font-size: 14px; color: var(--fr-ink); text-decoration: none; }
.ms-vieworder__back:hover { color: var(--fr-amber-ink); }
.ms-vieworder .ms-track-result__head h2 { margin-top: 10px; }
.ms-vieworder__pay { text-align: center; }
.ms-vieworder__details { overflow-x: auto; }
.ms-vieworder__details .woocommerce-order-details__title, .ms-vieworder__details .woocommerce-column__title { font-size: 20px; }
.ms-vieworder__details table.shop_table { border-radius: 16px; overflow: hidden; }

/* Acceso y registro */
.ms-login { padding-bottom: clamp(40px, 6vw, 72px); }
.ms-login__perks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.ms-login__perks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--fr-ink); }
.ms-login__perks svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: #fff; color: var(--fr-amber); box-shadow: 0 2px 8px rgba(27, 21, 48, .06); }
.ms-login__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.ms-login__grid.is-single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.ms-login__card { padding: clamp(22px, 3.4vw, 36px); border-radius: var(--fr-radius-xl); background: #fff; border: 1px solid rgba(27, 21, 48, .06); box-shadow: var(--fr-shadow); }
.ms-login__card--new { background: linear-gradient(160deg, rgba(46, 196, 166, .12), #fff 55%); }
.ms-login__card h2 { margin: 0 0 6px; font-size: clamp(24px, 2.6vw, 30px); }
.ms-login__sub { margin: 0 0 18px; color: rgba(27, 21, 48, .68); font-size: 14.5px; }
.ms-login__card form { margin: 16px 0 0 !important; padding: 0 !important; border: 0 !important; }
.ms-login__card .form-row { margin: 0 0 14px !important; padding: 0 !important; }
.ms-login__card label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.ms-login__card input.input-text { width: 100%; padding: 14px 16px !important; font-size: 16px !important; border-radius: 14px !important; border: 1.5px solid rgba(27, 21, 48, .14) !important; background: var(--fr-bg) !important; }
.ms-login__card input.input-text:focus { outline: none; border-color: var(--fr-ink) !important; background: #fff !important; }
.ms-login__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; font-size: 14px; }
.ms-login__row label { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 600 !important; margin: 0 !important; }
.ms-login__row a { color: var(--fr-amber-ink); font-weight: 600; }
.ms-login__go { width: 100%; justify-content: center; padding: 16px 22px !important; font-size: 16px !important; border-radius: 999px !important; }
.ms-login__card .woocommerce-privacy-policy-text { font-size: 13px; color: rgba(27, 21, 48, .62); }

/* Responsive de la cuenta */
@media (max-width: 1100px) {
  .ms-dash__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ms-account__layout { grid-template-columns: minmax(0, 1fr); }
  .ms-accnav { position: static; padding: 6px; }
  .ms-accnav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .ms-accnav ul::-webkit-scrollbar { display: none; }
  .ms-accnav li { flex: none; }
  .ms-accnav li.ms-accnav__extra { margin: 0 !important; padding: 0 !important; border: 0 !important; }
  .ms-accnav a { padding: 8px 12px 8px 8px; white-space: nowrap; font-size: 14px; }
  .ms-accnav a:hover { transform: none; }
  .ms-accnav__icon { width: 28px; height: 28px; border-radius: 9px; }
  .ms-account__hero { grid-template-columns: auto minmax(0, 1fr); }
  .ms-account__heroactions { grid-column: 1 / -1; justify-content: flex-start; }
  .ms-login__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ms-account__avatar { width: 52px; height: 52px; border-radius: 18px; font-size: 20px; }
  .ms-account__hero::after { display: none; }
  .ms-account__main .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
  .ms-dash__recent li a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .ms-dash__date { grid-column: 1; grid-row: 2; }
  .ms-dash__total { grid-column: 2; grid-row: 1; }
  .ms-dash__recent .ms-status { grid-column: 2; grid-row: 2; justify-self: end; }
  .ms-dash__empty { grid-template-columns: minmax(0, 1fr); }
  .ms-account__main .woocommerce-orders-table thead { display: none; }
  .ms-account__main .woocommerce-orders-table tr { display: block; padding: 12px 0; border-bottom: 1px solid rgba(27, 21, 48, .08); }
  .ms-account__main .woocommerce-orders-table td, .ms-account__main .woocommerce-orders-table tbody th { display: flex; justify-content: space-between; gap: 10px; padding: 6px 4px !important; border: 0 !important; text-align: right !important; }
  .ms-account__main .woocommerce-orders-table td::before, .ms-account__main .woocommerce-orders-table tbody th::before { content: attr(data-title); font-weight: 700; text-align: left; color: rgba(27, 21, 48, .6); }
}
@media (max-width: 420px) {
  .ms-dash__tiles { grid-template-columns: minmax(0, 1fr); }
  .ms-dash__tile { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .ms-dash__tile strong { margin-top: 0; }
  .ms-dash__tile small { flex-basis: 100%; padding-left: 54px; margin-top: -8px; }
}
/* Anula las columnas flotantes por defecto de WooCommerce. */
.woocommerce-account .ms-account .woocommerce-MyAccount-navigation, .woocommerce-account .ms-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; margin: 0; }
.ms-account__main .ms-track-result__head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ms-account__main .ms-track-result__meta { grid-template-columns: repeat(3, minmax(0, max-content)); }
@media (max-width: 600px) { .ms-account__main .ms-track-result__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ms-account__hero::before { width: 120px; height: 120px; right: -50px; top: -50px; } }

/* =========================================================================
   Carrito y pago «Escaparate» (v1.4.0)
   ========================================================================= */

/* Envío gratis y avisos */
.ms-cartbefore { display: grid; gap: 10px; margin-top: 18px; margin-bottom: 18px; }
.ms-freeship { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 20px; border-radius: 20px; background: #fff; border: 1px solid rgba(27, 21, 48, .07); box-shadow: var(--fr-shadow); }
.ms-freeship__icon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--ms-mustard); color: var(--fr-night); transition: background .3s ease, transform .4s var(--ms-ease); }
.ms-freeship__txt { margin: 0 0 8px; font-size: 15px; color: var(--fr-ink); }
.ms-freeship__track { display: block; height: 10px; border-radius: 999px; background: var(--fr-bg); overflow: hidden; }
.ms-freeship__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ms-mustard), var(--ms-coral)); transition: width .6s var(--ms-ease); position: relative; }
.ms-freeship__fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-100%); animation: ms-shine 2.4s ease-in-out infinite; }
@keyframes ms-shine { 60%, 100% { transform: translateX(100%); } }
.ms-freeship.is-done .ms-freeship__icon { background: var(--ms-mint); }
.ms-freeship.is-done .ms-freeship__fill { background: var(--ms-mint); }
.ms-freeship.is-pop .ms-freeship__icon { transform: scale(1.18) rotate(-8deg); }
.ms-cartnote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px; border-radius: 18px; background: rgba(79, 179, 246, .12); border: 1px solid rgba(79, 179, 246, .3); }
.ms-cartnote p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--fr-ink); }
.ms-cartnote__icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--ms-sky); color: #fff; }

/* Carrito vacío */
.ms-cart-empty .fr-journey .fr-road { display: none; }
.ms-cartempty { margin-top: 22px; margin-bottom: 8px; }
.ms-cartempty h2 { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 30px); }
.ms-cartempty__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ms-cartempty__cat { display: flex; flex-direction: column; gap: 10px; min-height: 120px; padding: 16px; border-radius: 20px; color: var(--fr-ink) !important; text-decoration: none; transition: transform .35s var(--ms-ease), box-shadow .35s ease; }
.ms-cartempty__cat:hover { transform: translateY(-5px) rotate(-.8deg); box-shadow: var(--fr-shadow-lg); }
.ms-cartempty__cat.ms-tone-lilac, .ms-cartempty__cat.ms-tone-sky { color: #fff !important; }
.ms-cartempty__cat span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .5); }
.ms-cartempty__cat strong { margin-top: auto; font: 700 15px/1.15 var(--fr-display); }
body .wp-block-woocommerce-empty-cart-block { padding: 10px 0 30px; }
body .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font-family: var(--fr-display); font-size: clamp(22px, 2.4vw, 30px); }

/* Columnas del carrito y del pago */
body .wc-block-components-sidebar-layout .wc-block-components-main,
body .wc-block-components-sidebar-layout .wc-block-components-sidebar { border-radius: var(--fr-radius-lg) !important; border: 1px solid rgba(27, 21, 48, .07) !important; box-shadow: var(--fr-shadow) !important; }
body .wc-block-components-sidebar-layout .wc-block-components-sidebar { background: #fff !important; }
body .wc-block-cart__sidebar::after, body .cart_totals::after { display: none !important; }
body .wc-block-cart__totals-title { font-family: var(--fr-display) !important; text-transform: none !important; font-size: 22px !important; letter-spacing: -.01em !important; }

/* Artículos */
body .wc-block-components-sidebar-layout table.wc-block-cart-items th { font-size: 12px !important; letter-spacing: .06em !important; color: rgba(27, 21, 48, .55) !important; }
body .wc-block-components-sidebar-layout table.wc-block-cart-items td.wc-block-cart-item__image img { border-radius: 16px !important; background: var(--fr-bg); }
body .wc-block-cart-items__row { transition: background .25s ease; }
body .wc-block-cart-item__title, body .wc-block-components-sidebar-layout .wc-block-components-product-name { font-family: var(--fr-display) !important; font-weight: 700 !important; color: var(--fr-ink) !important; }
body .wc-block-components-quantity-selector { border-radius: 999px !important; border: 1.5px solid rgba(27, 21, 48, .14) !important; background: var(--fr-bg) !important; overflow: hidden; }
body .wc-block-components-quantity-selector__button { border-radius: 50% !important; transition: background .2s ease, transform .2s var(--ms-ease) !important; }
body .wc-block-components-quantity-selector__button:hover { background: var(--ms-mustard) !important; color: var(--fr-night) !important; transform: scale(1.08); }
body .wc-block-cart-item__remove-link { border-radius: 50% !important; }
body .wc-block-cart-item__remove-link:hover { background: rgba(217, 58, 47, .1) !important; color: var(--fr-amber) !important; }
body .wc-block-components-product-badge, body .wc-block-components-sale-badge { border-radius: 999px !important; background: var(--fr-amber) !important; color: #fff !important; border: 0 !important; font-weight: 700 !important; }

/* Totales */
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--fr-display) !important; font-size: 18px !important; }
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--fr-display) !important; font-size: 26px !important; font-weight: 800 !important; color: var(--fr-ink) !important; }
body .wc-block-components-totals-coupon__input input, body .wc-block-components-totals-coupon .wc-block-components-text-input input { border-radius: 14px !important; }
body .wc-block-components-panel__button { font-weight: 700 !important; }

/* Botones de pago */
body .wc-block-cart__submit-button, body .wc-block-components-checkout-place-order-button, body .wc-block-components-checkout-button, body .wc-proceed-to-checkout .button, body #place_order {
  height: 60px !important; border-radius: 999px !important; background: var(--fr-amber) !important; color: #fff !important;
  font-family: var(--fr-display) !important; font-size: 17px !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: 0 10px 24px rgba(217, 58, 47, .32) !important; position: relative; overflow: hidden;
}
body .wc-block-cart__submit-button:hover, body .wc-block-components-checkout-place-order-button:hover, body #place_order:hover { background: var(--fr-night) !important; box-shadow: 0 10px 24px rgba(27, 21, 48, .3) !important; }
body .wc-block-cart__submit-button::after, body .wc-block-components-checkout-place-order-button::after { content: "\2192"; margin-left: 10px; transition: transform .3s var(--ms-ease); }
body .wc-block-cart__submit-button:hover::after, body .wc-block-components-checkout-place-order-button:hover::after { transform: translateX(5px); }
body .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text { display: inline; }
body .wc-block-components-checkout-place-order-button--full-width { width: 100% !important; }

/* Pago: pasos numerados */
body .wc-block-checkout__form { counter-reset: msstep; }
body .wc-block-components-checkout-step { counter-increment: msstep; position: relative; padding: 22px 22px 6px 22px !important; margin: 0 0 14px !important; border-radius: 22px; background: var(--fr-bg); border: 1px solid rgba(27, 21, 48, .06); }
body .wc-block-components-checkout-step::after { display: none !important; }
body .wc-block-components-checkout-step__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 14px !important; }
body .wc-block-components-checkout-step__heading-container > .wc-block-components-checkout-step__heading::before { content: counter(msstep); flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--fr-night); color: #fff; font: 800 16px/1 var(--fr-display); transform: rotate(-4deg); }
body .wc-block-components-checkout-step:nth-of-type(2) .wc-block-components-checkout-step__heading-container > .wc-block-components-checkout-step__heading::before { background: var(--ms-mustard); color: var(--fr-night); }
body .wc-block-components-checkout-step:nth-of-type(3) .wc-block-components-checkout-step__heading-container > .wc-block-components-checkout-step__heading::before { background: var(--ms-mint); color: var(--fr-night); }
body .wc-block-components-checkout-step:nth-of-type(4) .wc-block-components-checkout-step__heading-container > .wc-block-components-checkout-step__heading::before { background: var(--ms-lilac); }
body .wc-block-components-checkout-step__title { font-family: var(--fr-display) !important; font-size: 21px !important; font-weight: 700 !important; margin: 0 !important; }
body .wc-block-components-checkout-step__container { padding-left: 0 !important; }
body .wc-block-components-checkout-step__description { color: rgba(27, 21, 48, .65); }

/* Pago: campos */
body .wc-block-components-text-input input, body .wc-block-components-combobox .wc-block-components-combobox-control input, body .wc-block-components-form .wc-block-components-text-input input, body .wc-blocks-components-select .wc-blocks-components-select__select, body .wc-block-components-textarea {
  border-radius: 14px !important; border: 1.5px solid rgba(27, 21, 48, .14) !important; background-color: #fff !important; transition: border-color .2s ease, box-shadow .2s ease !important;
}
body .wc-block-components-text-input input:focus, body .wc-block-components-textarea:focus, body .wc-blocks-components-select .wc-blocks-components-select__select:focus { border-color: var(--fr-night) !important; box-shadow: 0 0 0 4px rgba(255, 201, 60, .4) !important; outline: none !important; }
body .wc-block-components-radio-control-accordion-option, body .wc-block-components-radio-control__option { border-radius: 16px !important; }
body .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--fr-night) !important; background: #fff !important; }
body .wc-block-components-radio-control__input:checked { border-color: var(--fr-night) !important; }
body .wc-block-components-radio-control__input:checked::before { background: var(--ms-coral) !important; }
body .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--fr-night) !important; border-color: var(--fr-night) !important; }
body .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff !important; }

/* Pago: resumen lateral */
body .wc-block-checkout__sidebar { position: sticky !important; top: 24px !important; }
body .wc-block-components-order-summary-item__image img { border-radius: 12px !important; }
body .wc-block-components-order-summary-item__quantity { background: var(--fr-night) !important; color: #fff !important; border: 2px solid #fff !important; box-shadow: none !important; }
body .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button { font-weight: 700; color: var(--fr-ink) !important; }

/* Garantías junto al botón de pago (las añade cart.js) */
.ms-paytrust { list-style: none; margin: 14px 0 0; padding: 12px 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; border-radius: 16px; background: var(--fr-bg); }
.ms-paytrust li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: rgba(27, 21, 48, .75); }
.ms-paytrust svg { color: #0E8C73; }

/* Garantías bajo el carrito */
.ms-carttrust { margin-top: 26px; margin-bottom: clamp(30px, 5vw, 56px); }
.ms-carttrust__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ms-carttrust__grid li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; color: var(--fr-ink); transition: transform .35s var(--ms-ease); }
.ms-carttrust__grid li:hover { transform: translateY(-3px) rotate(-.5deg); }
.ms-carttrust__grid li.ms-tone-lilac, .ms-carttrust__grid li.ms-tone-sky { color: #fff; }
.ms-carttrust__grid strong { display: block; font: 700 15px/1.2 var(--fr-display); }
.ms-carttrust__grid small { display: block; font-size: 13px; opacity: .85; margin-top: 2px; }
.ms-carttrust__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .5); }
.ms-carttrust__grid .ms-tone-lilac .ms-carttrust__icon, .ms-carttrust__grid .ms-tone-sky .ms-carttrust__icon { background: rgba(255, 255, 255, .22); }
.ms-carttrust__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.ms-carttrust__back { font-weight: 700; color: var(--fr-ink); text-decoration: none; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid rgba(27, 21, 48, .12); transition: border-color .2s ease, transform .25s var(--ms-ease); }
.ms-carttrust__back:hover { border-color: var(--fr-ink); transform: translateX(-3px); }
.ms-carttrust__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; color: rgba(27, 21, 48, .7); }
.ms-carttrust__pay em { font-style: normal; font-weight: 700; color: var(--fr-ink); padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid rgba(27, 21, 48, .1); }
.patio-cart-trust-bar { display: none !important; }

/* Responsive */
@media (max-width: 1000px) {
  .ms-cartempty__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ms-carttrust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ms-cartempty__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-carttrust__grid { grid-template-columns: minmax(0, 1fr); }
  .ms-freeship { padding: 14px; }
  body .wc-block-components-checkout-step { padding: 18px 14px 4px !important; }
  body .wc-block-checkout__sidebar { position: static !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-freeship__fill::after { animation: none; }
}
