/*
 * Sistema visual de SublimeCR.
 *
 * Hoja autocontenida: concentra variables, componentes y responsive para no
 * depender de la plantilla WordPress original. Los bloques se separan por
 * responsabilidad, de modo que futuros cambios no afecten páginas ajenas.
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --black: #050505;
    --panel: #101010;
    --charcoal: #181818;
    --line: #303030;
    --grey: #a4a4a4;
    --white: #fff;
    --gold: #f9b700;
    --shell: min(1380px, calc(100vw - 80px));
}

/* Base y utilidades compartidas. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { margin: 0 0 11px; color: var(--grey); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white);
    padding: 0 27px;
    background: var(--white);
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: background .25s, color .25s, transform .25s;
}
.button:hover { background: transparent; color: var(--white); transform: translateY(-2px); }
.button--light { border-color: var(--line); }
.button--full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.text-link span { font-size: 19px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }

/* Aviso, navegación y panel de búsqueda. */
.announcement { display: grid; min-height: 35px; place-items: center; padding: 6px 18px; background: var(--gold); color: var(--black); }
.announcement p { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-align: center; }
.site-header { position: relative; z-index: 20; background: var(--black); border-bottom: 1px solid #212121; }
.header__inner { display: grid; min-height: 86px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.desktop-navigation { display: flex; align-items: center; gap: clamp(15px, 1.7vw, 31px); }
.desktop-navigation a { color: #e7e7e7; font-size: 11px; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; transition: color .2s; }
.desktop-navigation a:hover { color: var(--gold); }
.brand { display: block; width: 142px; }
.brand img { width: 100%; max-height: 42px; object-fit: contain; }
.header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 5px; }
.icon-button, .cart-trigger { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 0; background: transparent; color: var(--white); }
.icon-button svg, .cart-trigger svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.icon-button:hover, .cart-trigger:hover { color: var(--gold); }
.cart-trigger { position: relative; }
.cart-trigger__count { position: absolute; right: -2px; top: 1px; display: grid; min-width: 15px; height: 15px; place-items: center; border-radius: 50%; background: var(--gold); color: var(--black); font-size: 9px; font-weight: 700; }
.header__menu-button { display: none; gap: 4px; align-content: center; justify-items: center; }
.header__menu-button span { display: block; width: 20px; height: 1px; background: currentColor; }
.mobile-navigation, .search-panel { position: relative; z-index: 19; border-bottom: 1px solid var(--line); background: #0c0c0c; }
.mobile-navigation { padding: 13px max(30px, calc((100vw - var(--shell)) / 2)); }
.mobile-navigation a { display: block; padding: 11px 0; border-bottom: 1px solid #242424; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mobile-navigation a:last-child { border-bottom: 0; }
.search-panel { padding: 17px 0; }
.search-panel__form { display: flex; gap: 12px; }
.search-panel input { flex: 1; min-width: 0; border: 1px solid #444; padding: 0 16px; background: #161616; color: var(--white); outline: 0; }
.search-panel input:focus { border-color: var(--gold); }

/* Hero principal: imagen local y velo de contraste no destructivo. */
.hero { position: relative; min-height: min(670px, 60vw); overflow: hidden; background: #000; }
.hero > img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: center; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .4), transparent 58%), linear-gradient(0deg, rgba(0, 0, 0, .38), transparent 42%); }
.hero__content { position: absolute; right: 0; bottom: clamp(30px, 6vw, 82px); left: 0; }
.hero__content .eyebrow { color: #dbdbdb; }
.hero__content h1 { max-width: 470px; margin: 0 0 23px; font-size: clamp(33px, 4.5vw, 72px); font-weight: 700; letter-spacing: -.055em; line-height: .94; text-transform: uppercase; }

/* Cabeceras y tarjetas de producto. */
.catalog-section { padding-block: clamp(72px, 9vw, 142px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 37px; }
.section-heading--center { align-items: center; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.055em; line-height: .95; }
.slider-controls { display: flex; gap: 8px; }
.slider-controls button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #4a4a4a; background: transparent; color: var(--white); font-size: 20px; transition: background .2s, color .2s; }
.slider-controls button:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.product-rail { display: grid; grid-auto-columns: minmax(238px, 1fr); grid-auto-flow: column; grid-template-columns: repeat(4, minmax(238px, 1fr)); gap: 17px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #555 var(--black); scroll-snap-type: x mandatory; }
.product-rail .product-card { scroll-snap-align: start; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 17px; }
.product-card { min-width: 0; }
.product-card__image { position: relative; display: block; overflow: hidden; background: #f2f2f2; }
.product-card__image img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__image img { transform: scale(1.045); }
.product-card__badge { position:absolute; z-index:2; display:inline-flex; max-width:calc(100% - 16px); align-items:center; justify-content:center; padding:var(--product-badge-padding,5px 8px); color:var(--product-badge-color,var(--white)); background:var(--product-badge-background,var(--black)); box-shadow:0 5px 13px rgba(0,0,0,.28); font:800 var(--product-badge-font-size,9px)/1.15 'DM Sans',Arial,sans-serif; letter-spacing:.08em; text-align:center; text-transform:uppercase; overflow-wrap:anywhere; }
.product-card__badge--top-left { top:var(--product-badge-margin-top,12px); left:var(--product-badge-margin-left,12px); }.product-card__badge--top-right { top:var(--product-badge-margin-top,12px); right:var(--product-badge-margin-right,12px); }.product-card__badge--bottom-left { bottom:var(--product-badge-margin-bottom,12px); left:var(--product-badge-margin-left,12px); }.product-card__badge--bottom-right { right:var(--product-badge-margin-right,12px); bottom:var(--product-badge-margin-bottom,12px); }.product-card__badge--center { top:50%; left:50%; transform:translate(-50%,-50%); }
.product-card__badge--pill { border-radius:999px; }.product-card__badge--rectangle { border-radius:2px; }.product-card__badge--circle { aspect-ratio:1; min-width:calc(var(--product-badge-font-size,9px) * 2.4); border-radius:50%; }.product-card__badge--serif { font-family:Georgia,serif; }.product-card__badge--mono { font-family:ui-monospace,Consolas,monospace; }
.product-card__info { padding: 16px 2px 0; }
.product-card__info p { min-height: 14px; margin: 0 0 4px; color: var(--grey); font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.product-card__info h2, .product-card__info h3 { min-height: 41px; margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.25; }
.product-card__info h2 a:hover, .product-card__info h3 a:hover { color: var(--gold); }
.product-card__info strong { display: block; font-size: 13px; }
.add-product { display: flex; width: 100%; justify-content: space-between; margin-top: 16px; border: 0; border-top: 1px solid #3b3b3b; padding: 12px 0 0; background: transparent; color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-align: left; text-transform: uppercase; transition: color .2s; }
.add-product span { font-size: 17px; line-height: .65; }
.add-product:hover { color: var(--gold); }

/* Bloque editorial entre los dos grupos de productos. */
.statement { border-block: 1px solid var(--line); background: var(--panel); }
.statement__grid { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 35px; min-height: clamp(230px, 23vw, 370px); }
.statement__number { align-self: start; margin: 44px 0 0; color: var(--gold); font-size: 12px; font-weight: 700; }
.statement h2 { margin: 0; font-size: clamp(25px, 3.2vw, 53px); letter-spacing: -.065em; line-height: .95; }

/* Captura de correo y footer oscuro de la marca. */
.newsletter { position: relative; padding: clamp(75px, 11vw, 160px) 0; background: #f2f2f2; color: var(--black); }
.newsletter::before { position: absolute; inset: 0; opacity: .06; background-image: linear-gradient(135deg, transparent 48%, #000 49%, #000 51%, transparent 52%); background-size: 22px 22px; content: ''; pointer-events: none; }
.newsletter__content { position: relative; max-width: 770px; text-align: center; }
.newsletter .eyebrow { color: #555; }
.newsletter h2 { margin: 0 auto 17px; max-width: 670px; font-size: clamp(30px, 4vw, 59px); letter-spacing: -.065em; line-height: .94; }
.newsletter__content > p:not(.eyebrow) { max-width: 620px; margin: 0 auto 27px; color: #525252; }
.newsletter__form { display: flex; max-width: 590px; margin: 0 auto 12px; border-bottom: 1px solid #222; }
.newsletter__form input { flex: 1; min-width: 0; border: 0; padding: 15px 8px; background: transparent; color: var(--black); outline: 0; }
.newsletter__form .button { min-height: 45px; }
.newsletter small { color: #555; font-size: 11px; }
.newsletter small input { margin-right: 6px; accent-color: var(--black); }
.site-footer { padding: 75px 0 33px; background: var(--black); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 50px; }
.footer__grid section { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__grid h2 { margin: 0 0 9px; font-size: 14px; text-transform: uppercase; }
.footer__grid a, .footer__grid p { margin: 0; color: #b0b0b0; font-size: 13px; }
.footer__grid a:hover { color: var(--gold); }
.footer__brand { align-items: flex-end !important; text-align: right; }
.footer__brand img { width: 165px; max-height: 55px; object-fit: contain; object-position: right; margin-bottom: 8px; }

/* Carrito, modal y capa de oscurecimiento. */
.scrim { position: fixed; z-index: 45; inset: 0; background: rgba(0, 0, 0, .7); }
.drawer { position: fixed; z-index: 50; top: 0; right: 0; display: flex; width: min(430px, 100vw); height: 100vh; flex-direction: column; transform: translateX(100%); background: #111; box-shadow: -20px 0 55px rgba(0,0,0,.45); transition: transform .35s ease; }
.drawer.is-open { transform: translateX(0); }
.drawer__header { display: flex; min-height: 83px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 26px; }
.drawer__header h2 { margin: 0; font-size: 22px; letter-spacing: -.04em; }
.drawer__header .icon-button { font-size: 28px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 13px 26px; }
.drawer__empty { color: var(--grey); text-align: center; }
.cart-item { display: grid; grid-template-columns: 76px 1fr 25px; gap: 13px; align-items: center; padding: 13px 0; border-bottom: 1px solid #2d2d2d; }
.cart-item img { width: 76px; aspect-ratio: 1; object-fit: cover; background: #eee; }
.cart-item h3 { margin: 0 0 5px; font-size: 13px; line-height: 1.25; }
.cart-item p { margin: 0; color: var(--grey); font-size: 11px; }
.cart-item small { display:block; margin-top:4px; color:#b8b8b8; font-size:9px; line-height:1.35; overflow-wrap:anywhere; }
.cart-item button { border: 0; background: transparent; color: var(--grey); font-size: 21px; }
.drawer__footer { border-top: 1px solid var(--line); padding: 20px 26px 27px; }
/* Solo el bloque de subtotal usa distribución horizontal; las acciones se apilan debajo. */
.drawer__footer > .drawer__total { display: flex; justify-content: space-between; margin-bottom: 0; font-size: 13px; text-transform: uppercase; }
.modal { position: fixed; z-index: 55; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__card { position: relative; width: min(490px, 100%); padding: 48px; background: var(--white); color: var(--black); }
.modal__card h2 { margin: 0 0 28px; font-size: 27px; letter-spacing: -.05em; }
.modal__card h2 span { color: #888; }
.modal__close { position: absolute; top: 12px; right: 16px; border: 0; background: transparent; font-size: 27px; }
.account-form { display: grid; gap: 16px; }
.account-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.account-form label { display: grid; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.account-form input:not([type='checkbox']) { height: 42px; border: 1px solid #aaa; padding: 0 10px; outline-color: var(--gold); }
.account-form .check-line { display: flex; align-items: center; gap: 6px; }
.account-form .button:hover { background: var(--black); color: var(--white); }
.whatsapp-button { position: fixed; z-index: 40; right: 20px; bottom: 20px; display: flex; height: 45px; align-items: center; gap: 7px; border-radius: 24px; padding: 0 17px; background: #2db742; box-shadow: 0 5px 16px rgba(0,0,0,.3); color: white; font-size: 12px; font-weight: 700; }
.whatsapp-button:hover { transform: translateY(-2px); }

/* Página de tienda, filtro y página de detalle. */
.shop-hero { padding: clamp(64px, 8vw, 125px) 0; border-bottom: 1px solid var(--line); background: #111; }
.shop-hero h1 { margin: 0 0 12px; font-size: clamp(45px, 7vw, 100px); letter-spacing: -.075em; line-height: .85; text-transform: uppercase; }
.shop-hero p:last-child { max-width: 400px; margin: 0; color: var(--grey); }
.shop-layout { display: grid; grid-template-columns: 190px 1fr; gap: 50px; align-items: start; }
.filter-panel { display: grid; gap: 8px; position: sticky; top: 15px; padding-bottom: 20px; }
.filter-panel .eyebrow { margin-bottom: 5px; }
.filter-panel a { color: var(--grey); font-size: 13px; }
.filter-panel a:hover, .filter-panel .is-active { color: var(--white); font-weight: 700; }
.result-count { margin: 0 0 15px; color: var(--grey); font-size: 12px; }
.product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty-state { padding: 50px 0; color: var(--grey); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); gap: clamp(40px, 7vw, 110px); padding-block: clamp(55px, 8vw, 115px); }
.product-detail__image { background: #f0f0f0; }
.product-detail__image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-detail__content { padding-top: 14px; }
.breadcrumb { color: var(--grey); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb:hover { color: var(--gold); }
.product-detail h1 { margin: 16px 0; font-size: clamp(34px, 4vw, 59px); letter-spacing: -.07em; line-height: .94; }
.product-detail__price { margin: 0 0 24px; font-size: 20px; font-weight: 700; }
.product-detail__description { max-width: 480px; margin: 0 0 28px; color: var(--grey); }
.size-picker { display: flex; gap: 8px; margin: 0 0 25px; border: 0; padding: 0; }
.size-picker legend { width: 100%; margin-bottom: 9px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.size-picker button { display: grid; width: 43px; height: 40px; place-items: center; border: 1px solid #555; background: transparent; color: var(--white); font-size: 12px; }
.size-picker button:hover, .size-picker button:focus { border-color: var(--white); background: var(--white); color: var(--black); }
.product-detail__add { margin-bottom: 23px; }
.product-detail details { border-top: 1px solid var(--line); padding: 17px 0; }
.product-detail details:last-child { border-bottom: 1px solid var(--line); }
.product-detail summary { cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-detail details p { max-width: 500px; margin: 12px 0 0; color: var(--grey); font-size: 13px; }
.not-found { padding-block: 120px; text-align: center; }
.not-found h1 { margin: 0 0 25px; font-size: 50px; }

/* Ajustes de tablet y móvil, sin duplicar componentes. */
@media (max-width: 1080px) {
    :root { --shell: min(100% - 48px, 1380px); }
    .desktop-navigation { gap: 14px; }
    .desktop-navigation a { font-size: 10px; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .header__inner { min-height: 68px; grid-template-columns: 1fr auto 1fr; }
    .desktop-navigation { display: none; }
    .header__menu-button { display: grid; }
    .brand { width: 117px; }
    .product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-layout { grid-template-columns: 1fr; gap: 28px; }
    .filter-panel { position: static; display: flex; flex-wrap: wrap; gap: 14px; }
    .filter-panel .eyebrow { width: 100%; }
    .statement__grid { grid-template-columns: 1fr; gap: 20px; padding-block: 48px; }
    .statement__number { margin: 0; }
    .statement .text-link { justify-self: start; }
    .product-detail { grid-template-columns: 1fr; gap: 34px; }
    .product-detail__content { padding-top: 0; }
}
@media (max-width: 560px) {
    :root { --shell: min(100% - 32px, 1380px); }
    .announcement { min-height: 31px; }
    .announcement p { font-size: 8px; }
    .header__actions { gap: 0; }
    .icon-button, .cart-trigger { width: 32px; }
    .header__actions .icon-button:nth-child(2) { display: none; }
    .hero { min-height: 400px; }
    .hero > img { object-position: 54% center; }
    .hero__content h1 { max-width: 250px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 26px; }
    .section-heading--center { align-items: flex-start; }
    .section-heading h2 { font-size: 32px; }
    .product-rail { grid-auto-columns: 76vw; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
    .product-card__info { padding-top: 11px; }
    .product-card__info h2, .product-card__info h3 { min-height: 51px; font-size: 12px; }
    .product-card__info strong { font-size: 12px; }
    .add-product { font-size: 8px; }
    .newsletter__form { flex-direction: column; border-bottom: 0; }
    .newsletter__form input { border-bottom: 1px solid #222; }
    .footer__grid { grid-template-columns: 1fr; gap: 37px; }
    .footer__brand { align-items: flex-start !important; text-align: left; }
    .footer__brand img { object-position: left; }
    .modal__card { padding: 39px 24px 29px; }
    .whatsapp-button { right: 12px; bottom: 12px; height: 40px; padding: 0 13px; }
}

/*
 * Ajuste visual v2.
 *
 * Este bloque se mantiene al final para que las correcciones solicitadas
 * prevalezcan sobre la base sin duplicar ni desordenar los componentes.
 */

/* Header: logo a la izquierda, menú de mayor presencia e iconografía ampliada. */
.header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 96px;
    gap: clamp(25px, 4vw, 74px);
}
.brand { width: 176px; }
.brand img { max-height: 54px; object-position: left center; }
.desktop-navigation { justify-content: center; gap: clamp(18px, 2vw, 34px); }
.desktop-navigation a {
    position: relative;
    padding: 38px 0 34px;
    color: #f2f2f2;
    font-size: 12px;
    letter-spacing: .08em;
}
.desktop-navigation a::after {
    position: absolute;
    right: 0;
    bottom: 25px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    background: var(--white);
    content: '';
    transition: transform .22s ease;
}
.desktop-navigation a:hover::after,
.desktop-navigation a.is-active::after { transform: scaleX(1); }
.desktop-navigation a.is-active { color: var(--white); }
.header__actions { gap: 10px; }
.icon-button, .cart-trigger { width: 46px; height: 46px; }
.icon-button svg, .cart-trigger svg { width: 25px; stroke-width: 1.5; }
.cart-trigger__count { right: 0; top: 2px; min-width: 17px; height: 17px; font-size: 9px; }

/* El buscador dispone de un cierre explícito X y conserva el input centrado. */
.search-panel { padding: 20px 0; }
.search-panel__form { align-items: center; }
.search-panel input { min-height: 50px; border-color: #555; font-size: 14px; }
.search-close {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 33px;
    font-weight: 300;
    line-height: 1;
}
.search-close:hover { color: var(--gold); }

/* Banner: se respeta la proporción nativa 2560 × 1111 del recurso original. */
.hero {
    min-height: 0;
    aspect-ratio: 2560 / 1111;
    background: #000;
}
.hero > img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}

/* Slider seguido por una marquesina de marca de desplazamiento ininterrumpido. */
.catalog-section--slider { padding-bottom: clamp(58px, 7vw, 105px); }
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--white);
    color: var(--black);
    white-space: nowrap;
}
.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 27s linear infinite;
    will-change: transform;
}
.marquee__track span {
    display: inline-block;
    padding: 18px 0;
    font-size: clamp(20px, 2.25vw, 37px);
    font-weight: 700;
    letter-spacing: -.04em;
}
.marquee__track b { margin: 0 26px; color: var(--gold); font-size: .72em; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* La portada presenta nueve tarjetas, en 3 columnas de escritorio. */
.catalog-section--products { padding-top: clamp(65px, 9vw, 130px); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 20px; }
.product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card__info h2, .product-card__info h3 { min-height: 35px; }

/* Modal de cuenta: dos pestañas y paneles alineados con la jerarquía original. */
.modal__card { width: min(530px, 100%); padding: 42px 46px 46px; }
.account-tabs { display: flex; gap: 21px; margin: 0 0 31px; border-bottom: 1px solid #c4c4c4; }
.account-tabs button {
    position: relative;
    border: 0;
    padding: 0 0 14px;
    background: transparent;
    color: #8a8a8a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .055em;
}
.account-tabs button::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    background: var(--black);
    content: '';
    transition: transform .2s;
}
.account-tabs button.is-active { color: var(--black); }
.account-tabs button.is-active::after { transform: scaleX(1); }
.account-form { gap: 18px; }
.account-form label { color: #222; font-size: 10px; }
.account-form input:not([type='checkbox']) { height: 47px; border-color: #8e8e8e; }
.account-form__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.account-form__row a { color: #333; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-decoration: underline; }
.account-form__notice { margin: -3px 0 0; color: #666; font-size: 11px; line-height: 1.55; }
.account-form .check-line { color: #333; font-size: 10px; }

/* Acceso de regreso al inicio; aparece tras desplazarse 550 píxeles. */
.back-to-top {
    position: fixed;
    z-index: 39;
    right: 22px;
    bottom: 77px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    transform: translateY(13px);
    opacity: 0;
    pointer-events: none;
    background: var(--black);
    color: var(--white);
    font-size: 22px;
    transition: opacity .2s, transform .2s, background .2s, color .2s;
}
.back-to-top.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--white); color: var(--black); }

/* Cambios específicos para las dos columnas solicitadas en teléfono. */
@media (max-width: 1080px) {
    .header__inner { min-height: 84px; gap: 24px; }
    .brand { width: 145px; }
    .desktop-navigation { gap: 14px; }
    .desktop-navigation a { padding: 32px 0 29px; font-size: 10px; }
    .desktop-navigation a::after { bottom: 21px; }
}
@media (max-width: 820px) {
    .header__inner { grid-template-columns: auto 1fr auto; min-height: 70px; gap: 10px; }
    .brand { width: 122px; }
    .header__actions { gap: 1px; }
    .header__menu-button { display: grid; }
    .account-button { display: none; }
    .mobile-navigation a.is-active { color: var(--gold); }
}
@media (max-width: 767px) {
    .hero { min-height: 0; aspect-ratio: 2560 / 1111; }
    .hero > img { object-position: center; }
    .product-grid, .product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; }
    .catalog-section--slider { padding-bottom: 55px; }
    .marquee__track span { padding: 14px 0; }
    .marquee__track b { margin: 0 17px; }
}
@media (max-width: 560px) {
    .search-panel__form { gap: 5px; }
    .search-panel input { min-height: 44px; padding-inline: 10px; font-size: 12px; }
    .search-close { width: 37px; height: 40px; font-size: 29px; }
    .search-panel .button { min-height: 42px; padding: 0 12px; font-size: 9px; }
    .modal__card { padding: 35px 24px 29px; }
    .account-tabs { gap: 15px; }
    .account-tabs button { font-size: 13px; }
    .account-form__row { align-items: flex-start; flex-direction: column; gap: 9px; }
    .back-to-top { right: 12px; bottom: 63px; width: 39px; height: 39px; }
}

/*
 * Ficha individual v3.
 * Galería, variantes, metadatos y reseñas replican la jerarquía de una página
 * de producto completa y mantienen el contraste del frontend SublimeCR.
 */

.product-detail {
    grid-template-columns: minmax(0, 1.18fr) minmax(350px, .82fr);
    align-items: start;
}
.product-gallery { display:grid; grid-template-columns:var(--product-viewer-thumbnail-size,84px) minmax(0,1fr); gap:var(--product-viewer-gap,14px); min-width:0; margin:var(--product-viewer-margin-top,0) var(--product-viewer-margin-right,0) var(--product-viewer-margin-bottom,0) var(--product-viewer-margin-left,0); transition:gap var(--product-viewer-transition-duration,.28s) ease,margin var(--product-viewer-transition-duration,.28s) ease; }
.product-gallery__thumbs { display:grid; align-content:start; gap:var(--product-viewer-gap,10px); min-width:0; }
.product-gallery__thumbs button {
    overflow: hidden;
    border:var(--product-viewer-thumbnail-border-width,1px) var(--product-viewer-thumbnail-border-style,solid) var(--product-viewer-thumbnail-border-color,transparent);
    border-radius:var(--product-viewer-thumbnail-radius,2px);
    padding: 0;
    background:var(--product-viewer-thumbnail-background,#ececec);
    transition:border-color var(--product-viewer-transition-duration,.2s) ease,opacity var(--product-viewer-transition-duration,.2s) ease,transform var(--product-viewer-transition-duration,.2s) ease,border-radius var(--product-viewer-transition-duration,.2s) ease;
}
.product-gallery__thumbs button:not(.is-active) { opacity: .68; }
.product-gallery__thumbs button:hover, .product-gallery__thumbs button.is-active { border-color:var(--product-viewer-thumbnail-active-border,var(--white)); opacity:1; }
.product-gallery__thumbs button:hover { transform:translateY(-2px); }
.product-gallery__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-gallery__stage { position:relative; margin:0; padding:var(--product-viewer-stage-padding,0); overflow:hidden; border:var(--product-viewer-stage-border-width,1px) var(--product-viewer-stage-border-style,solid) var(--product-viewer-stage-border-color,transparent); border-radius:var(--product-viewer-stage-radius,0); background:var(--product-viewer-stage-background,#f1f1f1); transition:border-color var(--product-viewer-transition-duration,.28s) ease,border-radius var(--product-viewer-transition-duration,.28s) ease,box-shadow var(--product-viewer-transition-duration,.28s) ease,transform var(--product-viewer-transition-duration,.28s) ease; }
.product-gallery__stage > img { width:100%; aspect-ratio:var(--product-viewer-stage-aspect,1 / 1); cursor:default; object-fit:cover; transition:transform var(--product-viewer-transition-duration,.28s) ease,opacity var(--product-viewer-transition-duration,.28s) ease,filter var(--product-viewer-transition-duration,.28s) ease; }
.product-gallery--framed .product-gallery__stage { box-shadow:inset 0 0 0 10px rgba(255,255,255,.14),0 17px 32px rgba(0,0,0,.28); }
.product-gallery--strip,.product-gallery--editorial { grid-template-columns:1fr; }.product-gallery--strip .product-gallery__thumbs,.product-gallery--editorial .product-gallery__thumbs { grid-row:2; grid-template-columns:repeat(auto-fit,minmax(var(--product-viewer-thumbnail-size,84px),1fr)); }.product-gallery--strip .product-gallery__stage,.product-gallery--editorial .product-gallery__stage { grid-row:1; }.product-gallery--editorial .product-gallery__stage { border-radius:calc(var(--product-viewer-stage-radius,0px) + 22px) 3px calc(var(--product-viewer-stage-radius,0px) + 22px) 3px; }
.product-gallery--grid { grid-template-columns:1fr; }.product-gallery--grid .product-gallery__thumbs { grid-row:2; grid-template-columns:repeat(3,minmax(0,1fr)); }.product-gallery--grid .product-gallery__stage { grid-row:1; }.product-gallery--spotlight { position:relative; grid-template-columns:1fr; }.product-gallery--spotlight .product-gallery__thumbs { position:absolute; z-index:3; right:var(--product-viewer-gap,14px); bottom:var(--product-viewer-gap,14px); grid-template-columns:repeat(3,var(--product-viewer-thumbnail-size,84px)); filter:drop-shadow(0 6px 11px rgba(0,0,0,.48)); }.product-gallery--spotlight .product-gallery__thumbs button { background:var(--product-viewer-thumbnail-background,#171717); }.product-gallery--minimal { grid-template-columns:1fr; gap:calc(var(--product-viewer-gap,14px) * .7); }.product-gallery--minimal .product-gallery__thumbs { grid-row:2; grid-auto-flow:column; grid-auto-columns:var(--product-viewer-thumbnail-size,84px); grid-template-columns:none; justify-content:center; }.product-gallery--minimal .product-gallery__stage { border-color:transparent; box-shadow:none; }
.product-gallery--hover-zoom .product-gallery__stage:hover > img { transform:scale(1.035); }.product-gallery--hover-lift .product-gallery__stage:hover { transform:translateY(-5px); box-shadow:0 19px 34px rgba(0,0,0,.38); }.product-gallery--hover-glow .product-gallery__stage:hover { box-shadow:0 0 0 2px var(--product-viewer-thumbnail-active-border,var(--gold)),0 19px 34px rgba(0,0,0,.38); }
.product-gallery--image-zoom-soft .product-gallery__stage:hover > img { transform:scale(1.035); }.product-gallery--image-zoom-medium .product-gallery__stage:hover > img { transform:scale(1.075); }.product-gallery--image-zoom-close .product-gallery__stage:hover > img { transform:scale(1.13); }.product-gallery--image-zoom-focus .product-gallery__stage:hover > img { transform:scale(1.2); transform-origin:50% 35%; }
.product-gallery--animation-fade .product-gallery__stage > img.is-changing { animation:product-gallery-fade var(--product-viewer-transition-duration,.28s) ease both; }.product-gallery--animation-slide .product-gallery__stage > img.is-changing { animation:product-gallery-slide var(--product-viewer-transition-duration,.28s) ease both; }.product-gallery--animation-zoom .product-gallery__stage > img.is-changing { animation:product-gallery-zoom var(--product-viewer-transition-duration,.28s) ease both; }
@keyframes product-gallery-fade { from { opacity:.2; } to { opacity:1; } } @keyframes product-gallery-slide { from { opacity:.25; transform:translateX(5%); } to { opacity:1; transform:translateX(0); } } @keyframes product-gallery-zoom { from { opacity:.2; transform:scale(1.06); } to { opacity:1; transform:scale(1); } }
.product-detail__badge { position:absolute; z-index:2; display:inline-flex; max-width:calc(100% - 22px); align-items:center; justify-content:center; padding:var(--product-badge-padding,6px 11px); color:var(--product-badge-color,#fff); background:var(--product-badge-background,#111); box-shadow:0 8px 18px rgba(0,0,0,.3); font:800 var(--product-badge-font-size,12px)/1.15 'DM Sans',Arial,sans-serif; letter-spacing:.06em; text-align:center; text-transform:uppercase; overflow-wrap:anywhere; }
.product-detail__badge--top-left { top:var(--product-badge-margin-top,12px); left:var(--product-badge-margin-left,12px); }.product-detail__badge--top-right { top:var(--product-badge-margin-top,12px); right:var(--product-badge-margin-right,12px); }.product-detail__badge--bottom-left { bottom:var(--product-badge-margin-bottom,12px); left:var(--product-badge-margin-left,12px); }.product-detail__badge--bottom-right { right:var(--product-badge-margin-right,12px); bottom:var(--product-badge-margin-bottom,12px); }.product-detail__badge--center { top:50%; left:50%; transform:translate(-50%,-50%); }
.product-detail__badge--pill { border-radius:999px; }.product-detail__badge--rectangle { border-radius:3px; }.product-detail__badge--circle { aspect-ratio:1; min-width:calc(var(--product-badge-font-size,12px) * 2.6); border-radius:50%; }.product-detail__badge--serif { font-family:Georgia,serif; }.product-detail__badge--mono { font-family:ui-monospace,Consolas,monospace; }
.product-detail__content { padding-top: 2px; }
.product-rating { display: inline-flex; gap: 8px; margin: 16px 0 5px; color: var(--grey); font-size: 11px; }
.product-rating span, .reviews__score strong { color: var(--gold); letter-spacing: .07em; }
.product-rating:hover { color: var(--white); }
.stock-status { margin: -9px 0 26px; color: #c8c8c8; font-size: 12px; }
.product-options { margin: 0 0 29px; }
.product-options fieldset { border: 0; padding: 0; }
.product-options legend { margin-bottom: 10px; color: #e8e8e8; font-size: 12px; font-weight: 600; }
.color-picker { margin-bottom: 24px; }
.color-picker button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--white); border-radius:50%; padding: 4px; background: transparent; }
.color-picker button span { display: block; width: 100%; height: 100%; border-radius:50%; background: #111; }
.product-variation-picker.color-picker > div { display:flex; flex-wrap:nowrap; gap:14px; max-width:100%; overflow-x:auto; padding:7px 5px; scrollbar-width:thin; }
.product-variation-picker.color-picker button[data-variation-option] { display:grid; width:46px; min-width:46px; height:46px; place-items:center; padding:4px; border:1px solid #8d8d8d; border-radius:50%; background:#151515; color:var(--white); box-shadow:0 1px 2px #0008,inset 0 1px rgba(255,255,255,.12); transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.product-variation-picker.color-picker button[data-variation-option] > span:first-child { display:block; width:100%; height:100%; border:2px solid rgba(255,255,255,.78); border-radius:50%; box-shadow:inset 0 1px rgba(255,255,255,.22); }
.product-variation-picker.color-picker button[data-variation-option].is-active { border-color:var(--gold); outline:0; background:#101010; color:var(--white); box-shadow:0 0 0 2px #101010,0 0 0 4px var(--gold),0 5px 13px #0009; }
.product-variation-picker.color-picker button[data-variation-option]:hover { border-color:#f4f4f4; transform:translateY(-2px) scale(1.035); box-shadow:0 0 0 2px #151515,0 0 0 3px rgba(255,255,255,.55),0 6px 14px #0009; }
.product-variation-picker button[data-variation-option]:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
.size-picker { display: block; margin-bottom: 28px; }
.size-picker legend { display: flex; justify-content: space-between; }
.size-picker legend a { color: var(--grey); font-size: 10px; font-weight: 500; text-decoration: underline; text-transform: none; }
.size-picker > div { display: flex; flex-wrap:wrap; gap:10px; }
.size-picker button { display:grid; width:38px; height:38px; place-items:center; padding:0; color:#e8e8e8; border:1px solid #686868; border-radius:50%; background:transparent; box-shadow:none; font-size:12px; font-weight:700; transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease; }
.size-picker button:hover { border-color:var(--white); transform:translateY(-1px); }
.size-picker button.is-active { color:var(--white); border-color:var(--gold); outline:2px solid var(--gold); outline-offset:2px; background:transparent; }
.product-variation-picker.size-picker button[data-variation-option] { display:grid; width:38px; height:38px; place-items:center; padding:0; color:#e8e8e8; border:1px solid #686868; border-radius:50%; background:transparent; box-shadow:none; font-size:12px; font-weight:700; transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease; }
.product-variation-picker.size-picker button[data-variation-option]:hover { border-color:var(--white); transform:translateY(-1px); }
.product-variation-picker.size-picker button[data-variation-option].is-active { color:var(--white); border-color:var(--gold); outline:2px solid var(--gold); outline-offset:2px; background:transparent; }
.product-variant-stock { display:flex; min-height:28px; align-items:center; margin:0 0 18px; color:#d7d7d7; font-size:12px; }
.product-variant-stock strong { color:var(--white); font-size:13px; }
.product-option-feedback { margin:-8px 0 16px; padding:10px 12px; border:1px solid rgba(242,198,61,.55); border-radius:8px; background:rgba(242,198,61,.09); color:#f4d97d; font-size:12px; font-weight:600; line-height:1.45; }
.product-detail__add.is-selection-required { border-color:rgba(255,255,255,.5); background:#252525; color:var(--white); }
.product-detail__add.is-selection-required:hover { border-color:var(--gold); background:#34302a; color:var(--white); }
.purchase-controls { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.quantity-control { display: grid; grid-template-columns: 38px 1fr 38px; height: 50px; align-items: center; border: 1px solid #555; }
.quantity-control button { height: 100%; border: 0; background: transparent; color: var(--white); font-size: 19px; }
.quantity-control button:hover { color: var(--gold); }
.quantity-control button:disabled { cursor:not-allowed; color:#5a5a5a; }
.quantity-control output { display: grid; height: 100%; place-items: center; font-size: 13px; }
.product-detail__add { margin: 0; }
.product-specs { margin: 0; border-top: 1px solid var(--line); }
.product-specs > div { display: grid; grid-template-columns: 135px 1fr; gap: 18px; border-bottom: 1px solid var(--line); padding: 13px 0; }
.product-specs dt { color: var(--white); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.product-specs dd { margin: 0; color: var(--grey); font-size: 12px; }
.product-attribute-display { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 10px; }
.product-attribute-color { display: inline-flex; align-items: center; gap: 5px; color: var(--grey); font-size: inherit; }
.product-attribute-color i { width: 14px; height: 14px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: #303030; box-shadow: inset 0 1px rgba(255,255,255,.16); }
.product-attribute-display img { width: 34px; height: 34px; flex: 0 0 auto; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; }
.product-meta { display: grid; gap: 5px; margin: 22px 0; color: var(--grey); font-size: 11px; }
.product-meta strong { color: var(--white); font-weight: 500; }
.product-meta a { color: var(--white); text-decoration: underline; }
.product-accordion { border-top: 1px solid var(--line); padding: 16px 0; }
.product-accordion:last-child { border-bottom: 1px solid var(--line); }
.product-accordion summary { display: flex; justify-content: space-between; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.product-accordion[open] summary span { transform: rotate(45deg); }
.product-accordion div { padding-top: 9px; }
.product-accordion p { margin: 0 0 8px; color: var(--grey); font-size: 12px; }
.product-accordion p:last-child { margin-bottom: 0; }

/* Reviews separadas bajo la ficha, con la misma semántica de tienda original. */
.reviews { margin-bottom: clamp(75px, 10vw, 135px); border-top: 1px solid var(--line); padding-top: clamp(47px, 6vw, 82px); }
.reviews__header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 33px; }
.reviews__header h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.065em; line-height: .9; }
.reviews__score { display: grid; justify-items: end; gap: 2px; font-size: 12px; }
.reviews__score strong { font-size: 16px; }
.reviews__score span { color: var(--grey); }
.reviews__body { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); gap: clamp(35px, 9vw, 150px); padding-top: 26px; border-top: 1px solid var(--line); }
.reviews__body > p { max-width: 250px; margin: 0; color: var(--grey); }
.review-form { display: grid; gap: 15px; }
.review-form label { display: grid; gap: 7px; color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.review-form input, .review-form select, .review-form textarea { width: 100%; border: 1px solid #555; padding: 11px; background: #121212; color: var(--white); font-size: 13px; font-weight: 400; outline-color: var(--gold); }
.review-form textarea { resize: vertical; }
.review-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-form .check-line { display: flex; align-items: center; color: var(--grey); font-size: 10px; font-weight: 500; letter-spacing: 0; }
.review-form .check-line input { width: auto; margin-right: 7px; accent-color: var(--gold); }
.review-form .button { justify-self: start; }

/* Lightbox de las imágenes de producto, sin librería externa. */
.image-lightbox { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 48px; background: rgba(0, 0, 0, .93); }
.image-lightbox img { max-width: min(900px, 100%); max-height: calc(100vh - 96px); object-fit: contain; }
.image-lightbox button { position: absolute; top: 17px; right: 25px; border: 0; background: transparent; color: var(--white); font-size: 35px; }

@media (max-width: 820px) {
    .product-detail { grid-template-columns: 1fr; }
    .product-gallery { max-width: 670px; }
    .reviews__body { grid-template-columns: 1fr; gap: 26px; }
    .reviews__body > p { max-width: none; }
}
@media (max-width: 560px) {
    .product-gallery { grid-template-columns: 1fr; }
    .product-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-row: 2; }
    .product-gallery__stage { grid-row: 1; }
    .product-detail { padding-top: 40px; }
    .purchase-controls { grid-template-columns: 110px 1fr; }
    .product-specs > div { grid-template-columns: 1fr; gap: 3px; }
    .reviews__header { align-items: start; flex-direction: column; gap: 16px; }
    .reviews__score { justify-items: start; }
    .review-form__grid { grid-template-columns: 1fr; }
    .image-lightbox { padding: 22px; }
}

/*
 * Ajustes visuales v4.
 * Reproduce los rasgos publicados de Sublime Apparel: la franja tipográfica,
 * delimitador solar, panel informativo claro y accesos fijos compactos.
 */

/* Marquee original: #151515, “SUBLIME APPAREL”, 107 px y sol delimitador. */
.marquee {
    min-height: 0;
    border: 0;
    padding: clamp(51px, 5.8vw, 88px) 0 clamp(45px, 5.3vw, 82px);
    background: #151515;
    color: var(--white);
}
.marquee__track { animation: marquee-scroll 18s linear infinite; }
.marquee__track span {
    display: inline-flex;
    align-items: center;
    padding: 0 33px;
    color: var(--white);
    font-size: 107px;
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1;
    text-transform: uppercase;
}
.marquee__track img {
    width: 78px;
    height: 77px;
    flex: 0 0 auto;
    margin: -2px 40px 0;
    filter: invert(1);
    animation: marquee-sun-spin 8s linear infinite;
}
@keyframes marquee-sun-spin { to { transform: rotate(360deg); } }

/* Buscador y acceso de WhatsApp rediseñados sin texto exterior. */
.search-close { width: 51px; height: 51px; color: #e9e9e9; font-size: 40px; font-weight: 200; }
.search-close:hover { transform: rotate(90deg); color: var(--gold); }
.whatsapp-button {
    right: 20px;
    bottom: 20px;
    display: grid;
    width: 56px;
    height: 56px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    background: #2db742;
}
.whatsapp-button svg { width: 29px; fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.back-to-top { bottom: 89px; }

/* Panel lateral claro: logo, redes sociales y contacto de Sublime Apparel. */
.brand-panel {
    position: fixed;
    z-index: 60;
    top: 0;
    right: 0;
    display: flex;
    width: min(400px, 100vw);
    height: 100vh;
    flex-direction: column;
    transform: translateX(103%);
    padding: 48px 48px 52px;
    pointer-events: none;
    background: #f7f7f7;
    color: #111;
    box-shadow: -20px 0 55px rgba(0, 0, 0, .28);
    transition: transform .38s cubic-bezier(.2,.7,.2,1);
}
.brand-panel.is-open { transform: translateX(0); pointer-events: auto; }
.brand-panel__close {
    position: absolute;
    top: 14px;
    right: 19px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 33px;
    font-weight: 300;
}
.brand-panel__logo { width: 165px; max-height: 52px; margin-bottom: 21px; object-fit: contain; object-position: left; }
.brand-panel__socials { display: grid; gap: 9px; }
.brand-panel__socials a { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: #111; font-size: 13px; }
.brand-panel__socials a:hover { color: #777; }
.brand-panel__socials span { display: grid; width: 18px; place-items: center; font-size: 19px; font-weight: 700; }
.brand-panel__contact { display: grid; gap: 12px; margin-top: 45px; border-top: 1px solid #d2d2d2; padding-top: 43px; }
.brand-panel__contact a { color: #111; font-size: 16px; font-weight: 700; }
.brand-panel__contact a:hover { color: #666; }

@media (max-width: 767px) {
    .marquee { padding: 43px 0 38px; }
    .marquee__track span { padding: 0 20px; font-size: 58px; letter-spacing: -1px; }
    .marquee__track img { width: 43px; height: 42px; margin: -1px 25px 0; }
    .whatsapp-button { right: 12px; bottom: 12px; width: 49px; height: 49px; }
    .whatsapp-button svg { width: 25px; }
    .back-to-top { right: 17px; bottom: 72px; }
    .brand-panel { width: min(365px, 100vw); padding: 39px 30px; }
}

/*
 * Ajustes visuales v5.
 * Corrige el estado oculto del lightbox y perfecciona las dos marquesinas,
 * acciones de producto, botón WhatsApp y la X del buscador.
 */

/* El atributo hidden debe prevalecer sobre la cuadrícula del lightbox. */
.image-lightbox[hidden] { display: none !important; }

/* Sol amarillo de la primera franja, igual a la referencia oscura. */
.marquee--main .marquee__track img {
    filter: invert(74%) sepia(96%) saturate(1225%) hue-rotate(2deg) brightness(105%) contrast(104%);
}

/* Segunda franja antes del Club: Apparel en 170 px y movimiento inverso. */
.marquee--club {
    padding: 5px 0 0;
    overflow: hidden;
    background: #ffb500;
    color: #151515;
}
.marquee--club .marquee__track { animation: marquee-scroll-reverse 18s linear infinite; }
.marquee--club .marquee__track span {
    padding: 0;
    color: #151515;
    font-size: 170px;
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1;
}
.marquee--club .marquee__track img { filter: none; }
@keyframes marquee-scroll-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* El bloque Club publicado utiliza el mismo amarillo plano de la segunda franja. */
.newsletter { background: #ffb500; }
.newsletter::before { display: none; }
.newsletter .eyebrow, .newsletter__content > p:not(.eyebrow), .newsletter small { color: #272727; }
.newsletter__form { border-bottom-color: #222; }
.newsletter__form input { color: #111; }

/* Acciones circulares que aparecen sobre la imagen de cada favorito. */
.product-card__media { position: relative; }
.product-card__actions {
    position: absolute;
    z-index: 3;
    right: 15px;
    bottom: 15px;
    display: flex;
    gap: 8px;
    transform: translateY(9px);
    opacity: 0;
    transition: opacity .24s ease, transform .24s ease;
}
.product-card__media:hover .product-card__actions,
.product-card__media:focus-within .product-card__actions { transform: translateY(0); opacity: 1; }
.product-card__action {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .22);
    transition: background .2s, color .2s, transform .2s;
}
.product-card__action svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.product-card__action:hover { transform: translateY(-2px); background: var(--black); color: var(--white); }

/* SVG oficial dentro de un contenedor verde limpio y redondo. */
.whatsapp-button { background: #25d366; box-shadow: 0 7px 18px rgba(0, 0, 0, .3); }
.whatsapp-button img { width: 33px; height: 33px; object-fit: contain; }

/* Rotación centrada de la X; no aplica ninguna traslación vertical. */
.search-close {
    display: grid;
    align-self: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: color .22s ease, transform .28s ease;
}
.search-close:hover { transform: rotate(90deg); color: var(--gold); }

@media (max-width: 767px) {
    .marquee--club .marquee__track span { font-size: 91px; }
    .marquee--club .marquee__track img { width: 50px; height: 49px; margin: -1px 25px 0; }
    .product-card__actions { right: 9px; bottom: 9px; gap: 6px; transform: none; opacity: 1; }
    .product-card__action { width: 35px; height: 35px; }
    .product-card__action svg { width: 16px; }
}

/*
 * Ajuste visual v6.
 * Pie de página, accesos flotantes y acciones de Favoritos alineados con la
 * composición vigente de Sublime Apparel. Se ubica al final para prevalecer
 * sobre las reglas base y conservar los componentes en otros listados.
 */
.marquee--club {
    background: #151515;
    color: var(--white);
}
.marquee--club .marquee__track span { color: var(--white); }
.marquee--club .marquee__track img { filter: brightness(0) saturate(100%) invert(72%) sepia(96%) saturate(987%) hue-rotate(359deg) brightness(103%) contrast(101%); }

/* Los dos accesos se mantienen a distinta altura y no cubren el copyright. */
.whatsapp-button { right: 22px; bottom: 22px; }
.back-to-top { right: 29px; bottom: 96px; }

/* Acciones rápidas centradas sobre la imagen y reveladas al pasar el cursor. */
.product-card__actions {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
}
.product-card__media:hover .product-card__actions,
.product-card__media:focus-within .product-card__actions {
    transform: translate(-50%, -50%) scale(1);
}

/* Primera franja del footer: enlaces, redes y marca. */
.site-footer {
    padding: 51px 0 14px;
    background: #151515;
}
.footer__grid.footer__primary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 32px;
}
.footer__primary section { gap: 8px; }
.footer__primary h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
    text-transform: none;
}
.footer__primary a,
.footer__primary p {
    color: var(--white);
    font-size: 15px;
    line-height: 1.35;
}
.footer__links a { transition: color .2s ease; }
.footer__links a:hover { color: var(--gold); }
.footer__social { align-items: center !important; text-align: center; }
.footer__social-icons { display: flex; align-items: center; gap: 18px; }
.footer__social-icons a {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: var(--white);
    transition: color .2s ease, transform .2s ease;
}
.footer__social-icons a:hover { color: var(--gold); transform: translateY(-2px); }
.footer__social-icons svg { width: 22px; height: 22px; fill: currentColor; }
.footer__social-icons a:last-child svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer__brand { align-items: flex-end !important; justify-content: flex-start; }
.footer__brand a { display: block; }
.footer__brand img {
    display: block;
    width: min(145px, 48%);
    height: auto;
    margin-top: 5px;
}

/* Separador y franja inferior: tarjetas a la izquierda, copyright a la derecha. */
.footer__separator { padding-top: 72px; }
.footer__separator hr { height: 1px; margin: 0; border: 0; background: rgba(255, 255, 255, .46); }
.footer__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    min-height: 56px;
    padding: 10px 0 4px;
}
.footer__payments { display: flex; align-items: center; gap: 10px; min-height: 27px; }
.payment-mark { display: inline-flex; align-items: center; justify-content: center; height: 24px; color: var(--white); }
.payment-mark--visa { font-size: 21px; font-weight: 900; font-style: italic; letter-spacing: -1px; }
.payment-mark--mastercard { position: relative; width: 35px; }
.payment-mark--mastercard i { position: absolute; width: 19px; height: 19px; border-radius: 50%; background: #ed1c24; }
.payment-mark--mastercard i:first-child { left: 1px; }
.payment-mark--mastercard i:last-child { right: 1px; background: #f79e1b; mix-blend-mode: screen; }
.payment-mark--amex { border: 1px solid var(--white); padding: 0 3px; font-size: 11px; font-weight: 800; letter-spacing: -.5px; }
.footer__bottom p {
    grid-column: 3;
    margin: 0;
    padding-right: 104px;
    color: var(--white);
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .whatsapp-button { right: 13px; bottom: 13px; }
    .back-to-top { right: 18px; bottom: 78px; }
    .product-card__actions {
        top: 50%;
        right: auto;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
    }
    .footer__grid.footer__primary { grid-template-columns: 1fr; gap: 35px; }
    .footer__primary section,
    .footer__brand { align-items: center !important; text-align: center; }
    .footer__brand img { width: 132px; margin-top: 0; }
    .footer__separator { padding-top: 48px; }
    .footer__bottom { grid-template-columns: 1fr; justify-items: center; gap: 17px; padding: 18px 0 8px; }
    .footer__bottom p { grid-column: auto; padding-right: 0; font-size: 11px; text-align: center; white-space: normal; }
}

/*
 * Ajuste visual v7.
 * Menú jerárquico, tres marquesinas, ambas colecciones y escala de la ficha.
 * Estas reglas se agrupan al final para no alterar los componentes compartidos
 * fuera de la portada y para mantener el orden de precedencia explícito.
 */

/* Navegación T-shirts > Anime > Demon Slayer / One Piece. */
.desktop-navigation { position: relative; }
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { display: inline-flex; align-items: center; gap: 5px; }
.nav-dropdown__trigger svg,
.nav-submenu__item > a svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.nav-submenu {
    position: absolute;
    z-index: 35;
    top: calc(100% + 17px);
    left: -16px;
    display: grid;
    width: 177px;
    border: 1px solid #303030;
    padding: 8px 0;
    background: #151515;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(7px);
    transition: opacity .18s ease, transform .18s ease;
}
.nav-dropdown:hover > .nav-submenu,
.nav-dropdown:focus-within > .nav-submenu,
.nav-submenu__item--nested:hover > .nav-submenu--nested,
.nav-submenu__item--nested:focus-within > .nav-submenu--nested {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-submenu > a,
.nav-submenu__item > a {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: #f0f0f0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.nav-submenu > a:hover,
.nav-submenu__item > a:hover { background: #242424; color: var(--gold); }
.nav-submenu--nested { top: -9px; left: calc(100% + 1px); }
.mobile-navigation__group { border-bottom: 1px solid #242424; }
.mobile-navigation__group summary,
.mobile-navigation__group details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    color: var(--white);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    list-style: none;
    text-transform: uppercase;
}
.mobile-navigation__group summary::-webkit-details-marker,
.mobile-navigation__group details summary::-webkit-details-marker { display: none; }
.mobile-navigation__group > div { padding: 0 0 6px 16px; }
.mobile-navigation__group details { border-top: 1px solid #242424; }
.mobile-navigation__group a { margin-left: 0; padding-left: 0; }
.mobile-navigation__group details a { padding-left: 16px; }
.mobile-navigation__group summary span { font-size: 17px; font-weight: 400; }
.mobile-navigation__group[open] > summary span,
.mobile-navigation__group details[open] > summary span { transform: rotate(45deg); }

/* Marquees: la primera y STREET viajan a la izquierda; APPAREL a la derecha. */
.marquee--main .marquee__track { animation-duration: 8s; }
.marquee--street,
.marquee--club {
    overflow: hidden;
    padding: 6px 0 0;
    border: 0;
    background: #151515;
    color: var(--white);
}
.marquee--street .marquee__track { animation: marquee-scroll 11s linear infinite; }
.marquee--club .marquee__track { animation: marquee-scroll-reverse 11s linear infinite; }
.marquee--street .marquee__track span,
.marquee--club .marquee__track span {
    padding: 0;
    color: var(--white);
    font-size: 170px;
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1;
}
.marquee--street .marquee__track img,
.marquee--club .marquee__track img {
    width: 80px;
    height: 80px;
    margin: -2px 40px 0;
    filter: brightness(0) saturate(100%) invert(72%) sepia(96%) saturate(987%) hue-rotate(359deg) brightness(103%) contrast(101%);
}

/* Colección de nueve: 3×3, CTA inferior al hover, nombre y precio visibles. */
.catalog-section--catalog { padding-top: clamp(78px, 9vw, 130px); padding-bottom: clamp(78px, 9vw, 130px); }
.section-heading--catalog h1,
.section-heading--favorites h1 {
    margin: 0;
    letter-spacing: -.06em;
    line-height: .95;
}
.section-heading--catalog h1 { font-size: clamp(34px, 3vw, 46px); }
.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px 20px; }
.product-card__media { position: relative; overflow: hidden; }
.product-card__select {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 14px;
    background: rgba(5, 5, 5, .94);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    opacity: 0;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: opacity .25s ease, transform .25s ease, color .2s ease;
}
.product-card__select svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.product-card--catalog:hover .product-card__select,
.product-card--catalog:focus-within .product-card__select { opacity: 1; transform: translateY(0); }
.product-card__select:hover { color: var(--gold); }
.product-card--catalog .product-card__info { padding-top: 15px; }
.product-card--catalog .product-card__info h2 { min-height: 0; margin-bottom: 7px; font-size: 16px; }
.product-card--catalog .product-card__info strong { font-size: 15px; }

/* Favoritos: las cuatro fotos comparten una línea y su información gana escala. */
.catalog-section--favorites { padding-top: clamp(82px, 9vw, 133px); }
.section-heading--favorites h1 { font-size: clamp(40px, 3.3vw, 54px); }
.product-grid--favorites { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card--favorite .product-card__info { padding: 17px 2px 0; }
.product-card__stars { display: block; margin: 0 0 7px; color: var(--gold); font-size: 15px; letter-spacing: .09em; line-height: 1; }
.product-card--favorite .product-card__info h2 { min-height: 0; margin-bottom: 8px; font-size: 17px; }
.product-card--favorite .product-card__info strong { font-size: 16px; }

/* Footer: logo un poco mayor, redes con el tamaño de la referencia y pagos sobrios. */
.footer__brand img { width: min(172px, 56%); }
.footer__social-icons { gap: 21px; }
.footer__social-icons a { width: 30px; height: 30px; }
.footer__social-icons svg { width: 27px; height: 27px; }
.payment-mark { color: #a4a4a4; }
.payment-mark--visa { color: #a4a4a4; }
.payment-mark--mastercard i:first-child { background: #a5161d; }
.payment-mark--mastercard i:last-child { background: #b97413; }
.payment-mark--amex { min-width: 86px; border-color: #8d8d8d; padding: 0 4px; color: #a4a4a4; font-size: 8px; font-weight: 800; letter-spacing: -.15px; white-space: nowrap; }

/* Ficha individual: aumenta la lectura de detalles, estampado, atributos y acordeones. */
.product-detail__content h1 { font-size: clamp(34px, 3.2vw, 51px); }
.product-detail__price { font-size: 25px; }
.product-rating { gap: 9px; margin: 17px 0 7px; font-size: 14px; }
.stock-status { margin-bottom: 29px; font-size: 14px; }
.product-options legend { margin-bottom: 12px; font-size: 15px; }
.color-picker button { width: 38px; height: 38px; }
.size-picker legend a { font-size: 12px; }
.size-picker button { width: 48px; height: 43px; font-size: 14px; }
.quantity-control { grid-template-columns: 41px 1fr 41px; height: 54px; }
.quantity-control output { font-size: 15px; }
.product-specs > div { grid-template-columns: 155px 1fr; padding: 16px 0; }
.product-specs dt { font-size: 14px; }
.product-specs dd { font-size: 15px; }
.product-meta { gap: 7px; margin: 25px 0; font-size: 14px; }
.product-accordion { padding: 18px 0; }
.product-accordion summary { font-size: 15px; }
.product-accordion p { font-size: 15px; line-height: 1.55; }

@media (max-width: 767px) {
    .marquee--main .marquee__track { animation-duration: 8s; }
    .marquee--street,
    .marquee--club { padding-top: 5px; }
    .marquee--street .marquee__track span,
    .marquee--club .marquee__track span { font-size: 42px; letter-spacing: -1px; }
    .marquee--street .marquee__track img,
    .marquee--club .marquee__track img { width: 26px; height: 26px; margin: -1px 15px 0; }
    .product-grid--catalog,
    .product-grid--favorites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; }
    .section-heading--catalog h1 { font-size: 29px; }
    .section-heading--favorites h1 { font-size: 34px; }
    .product-card__select { min-height: 39px; gap: 6px; padding: 7px 5px; font-size: 8px; opacity: 1; transform: translateY(0); }
    .product-card__select svg { width: 14px; height: 14px; }
    .product-card--catalog .product-card__info h2 { font-size: 13px; }
    .product-card--catalog .product-card__info strong { font-size: 13px; }
    .product-card__stars { margin-bottom: 5px; font-size: 11px; }
    .product-card--favorite .product-card__info h2 { font-size: 14px; }
    .product-card--favorite .product-card__info strong { font-size: 14px; }
    .footer__brand img { width: 153px; }
    .footer__social-icons a { width: 28px; height: 28px; }
    .footer__social-icons svg { width: 25px; height: 25px; }
    .product-detail__content h1 { font-size: 34px; }
    .product-detail__price { font-size: 22px; }
    .product-options legend,
    .product-specs dt,
    .product-specs dd,
    .product-meta,
    .product-accordion summary,
    .product-accordion p { font-size: 14px; }
}

/*
 * Ajuste visual v8.
 * Corrige el espacio de hover del menú, permite apertura táctil y sustituye
 * los textos de pago por los iconos vectoriales equivalentes a Font Awesome.
 */
.desktop-navigation > a,
.nav-dropdown__trigger {
    font-size: 14px;
    letter-spacing: .035em;
}
.nav-dropdown__top { display: inline-flex; align-items: center; }
.nav-dropdown__trigger { display: inline-flex; min-height: 38px; align-items: center; }
.nav-dropdown__toggle,
.nav-submenu__toggle {
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #e7e7e7;
}
.nav-dropdown__toggle { width: 23px; height: 38px; }
.nav-dropdown__toggle svg,
.nav-submenu__toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.nav-dropdown__toggle:hover,
.nav-submenu__toggle:hover { color: var(--gold); }

/* Sin huecos entre el disparador y el panel: el cursor no pierde el hover. */
.nav-submenu { top: 100%; }
.nav-submenu--nested { top: -8px; left: 100%; }
.nav-dropdown.is-open > .nav-submenu,
.nav-submenu__item--nested.is-open > .nav-submenu--nested {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-submenu__link-row { display: grid; grid-template-columns: 1fr 33px; align-items: center; }
.nav-submenu__link-row > a {
    display: flex;
    min-height: 38px;
    align-items: center;
    padding: 0 0 0 16px;
    color: #f0f0f0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.nav-submenu__link-row > a:hover { background: #242424; color: var(--gold); }
.nav-submenu__toggle { width: 33px; height: 38px; }
.nav-submenu__item--nested:hover > .nav-submenu--nested,
.nav-submenu__item--nested:focus-within > .nav-submenu--nested { transform: translateY(0); }

/* La referencia renderiza tres iconos de marca a 30px y color gris uniforme. */
.footer__payments { gap: 11px; }
.payment-mark {
    width: 30px;
    height: 30px;
    color: #9d9d9d;
}
.payment-mark img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    opacity: .74;
    filter: invert(66%) sepia(0%) saturate(0%) hue-rotate(164deg) brightness(92%) contrast(87%);
}

@media (max-width: 1080px) {
    .desktop-navigation > a,
    .nav-dropdown__trigger { font-size: 12px; }
}

/*
 * Ajuste visual v9.
 * Chat local de atención, Club basado en la composición pública y hover de
 * marquesinas que conserva el movimiento en lugar de pausarlo.
 */

/* El sistema de fuente de la referencia usa DM Sans para texto y Termina para títulos. */
body { font-family: 'DM Sans', Arial, sans-serif; }
h1, h2, .shop-hero h1, .product-detail__content h1 { font-family: termina, 'Arial Black', 'DM Sans', sans-serif; }

/* Las franjas nunca se detienen: al hover conservan la dirección y reducen velocidad. */
.marquee:hover .marquee__track { animation-play-state: running; }
.marquee--main:hover .marquee__track { animation-duration: 16s; }
.marquee--street:hover .marquee__track,
.marquee--club:hover .marquee__track { animation-duration: 22s; }

/* Bloque Club: amarillo #FFB500, contenido centrado, formulario vertical y botón negro. */
.newsletter {
    display: grid;
    min-height: 250px;
    align-items: center;
    padding: 50px 0 54px;
    background: #ffb500;
}
.newsletter__content { max-width: 540px; }
.newsletter .eyebrow {
    margin-bottom: 12px;
    color: #151515;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}
.newsletter h2 {
    max-width: 540px;
    margin-bottom: 14px;
    color: #111;
    font-size: clamp(35px, 4vw, 59px);
    font-weight: 700;
}
.club-typed { white-space: nowrap; }
.club-typed::after {
    display: inline-block;
    margin-left: 3px;
    content: '_';
    animation: club-cursor .75s step-end infinite;
}
@keyframes club-cursor { 50% { opacity: 0; } }
.newsletter__content > p:not(.eyebrow) { margin-bottom: 18px; color: #272727; font-size: 15px; line-height: 1.45; }
.newsletter__form {
    display: grid;
    gap: 12px;
    max-width: 540px;
    margin-bottom: 10px;
    border: 0;
}
.newsletter__form input {
    min-height: 48px;
    border: 1px solid #b8b8b8;
    border-radius: 3px;
    padding: 0 14px;
    background: rgba(255, 255, 255, .9);
    color: #151515;
    font-family: Arial, sans-serif;
    font-size: 16px;
}
.newsletter__form .button {
    width: 100%;
    min-height: 49px;
    border: 0;
    padding: 0 20px;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.newsletter__form .button:hover { background: #222; color: #fff; transform: none; }
.newsletter small { display: block; color: #3c4858; font-family: Arial, sans-serif; font-size: 14px; text-align: left; }
.newsletter small a { color: #030303; text-decoration: underline; }

/* Ventana de atención: estética del widget verde/blanco de WhatsApp y avatar Sublime. */
.whatsapp-widget {
    position: fixed;
    z-index: 55;
    right: 22px;
    bottom: 22px;
}
.whatsapp-widget .whatsapp-button {
    position: static;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #25d366;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .3);
}
.whatsapp-widget .whatsapp-button img { width: 33px; height: 33px; }
.whatsapp-widget .whatsapp-button:hover { transform: translateY(-2px); }
.whatsapp-chat {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: min(340px, calc(100vw - 32px));
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(0, 0, 0, .3);
    color: #303030;
    transform-origin: bottom right;
    animation: whatsapp-chat-in .2s ease-out;
}
.whatsapp-chat[hidden] { display: none !important; }
@keyframes whatsapp-chat-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.whatsapp-chat__header {
    display: grid;
    grid-template-columns: 44px 1fr 28px;
    align-items: center;
    gap: 11px;
    min-height: 82px;
    padding: 14px 16px;
    background: #2db742;
    color: #fff;
}
.whatsapp-chat__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; }
.whatsapp-chat__header strong,
.whatsapp-chat__header span { display: block; }
.whatsapp-chat__header strong { font-size: 15px; line-height: 1.15; }
.whatsapp-chat__header span { margin-top: 3px; font-size: 12px; opacity: .92; }
.whatsapp-chat__header button { width: 28px; height: 28px; border: 0; background: transparent; color: #fff; font-size: 25px; font-weight: 300; line-height: 1; }
.whatsapp-chat__body { padding: 20px; background: #f5f7f6; }
.whatsapp-chat__hello { margin: 0 0 7px; color: #222; font-size: 16px; font-weight: 700; }
.whatsapp-chat__copy { margin: 0 0 17px; color: #606060; font-size: 13px; line-height: 1.45; }
.whatsapp-chat__start {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 4px;
    background: #2db742;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.whatsapp-chat__start img { width: 21px; height: 21px; }
.whatsapp-chat__start:hover { background: #249d39; }

@media (max-width: 767px) {
    .newsletter { min-height: 250px; padding: 46px 0; }
    .newsletter .eyebrow { font-size: 14px; }
    .newsletter h2 { font-size: 34px; }
    .club-typed { white-space: normal; }
    .newsletter__content > p:not(.eyebrow),
    .newsletter small { font-size: 13px; }
    .newsletter__form .button { font-size: 17px; }
    .whatsapp-widget { right: 13px; bottom: 13px; }
    .whatsapp-widget .whatsapp-button { width: 49px; height: 49px; }
    .whatsapp-widget .whatsapp-button img { width: 29px; height: 29px; }
    .whatsapp-chat { right: 0; bottom: 63px; }
}

/*
 * Ajuste visual v10.
 * Alineación de navegación y valores responsive extraídos de la maqueta
 * publicada: marcas a 107/68/42 y STREET/APPAREL a 170/84/42 píxeles.
 */

/* Encabezado en tres columnas; navegación en la columna central izquierda. */
.site-header { background: #151515; border-bottom-color: #2b2b2b; }
.header__inner { grid-template-columns: 1fr 1fr 1fr; }
.desktop-navigation { justify-self: start; }
.desktop-navigation > a,
.desktop-navigation .nav-dropdown__trigger { font-size: 14px !important; }
.mobile-navigation,
.search-panel { background: #151515; }

/* El panel no dibuja una línea superior: los separadores van debajo de cada opción. */
.nav-submenu { border: 0; padding: 0; background: #1d1d1d; }
.nav-submenu > a,
.nav-submenu__link-row { border-bottom: 1px solid #3a3a3a; }
.nav-submenu > a:last-child { border-bottom: 0; }
.nav-submenu__item--nested:last-child > .nav-submenu__link-row { border-bottom: 0; }
.nav-submenu--nested > a:last-child { border-bottom: 0; }
.nav-submenu__link-row > a { font-size: 12px; }

/* Tipografía de las bandas: el sitio usa la familia de encabezados Termina. */
.marquee__track span { font-family: termina, 'Arial Black', 'DM Sans', sans-serif; }
.marquee--main .marquee__track span { font-size: 107px; }
.marquee--street .marquee__track span,
.marquee--club .marquee__track span { font-size: 170px; }

/* El hover continúa el desplazamiento y la vista centrada lo hace más lento. */
.marquee.is-in-focus .marquee__track { animation-play-state: running; }
.marquee--main.is-in-focus .marquee__track { animation-duration: 13s; }
.marquee--street.is-in-focus .marquee__track,
.marquee--club.is-in-focus .marquee__track { animation-duration: 18s; }
.marquee--main:hover .marquee__track { animation-duration: 19s; }
.marquee--street:hover .marquee__track,
.marquee--club:hover .marquee__track { animation-duration: 26s; }

/* El check de privacidad se sitúa entre campo y botón, no después de la acción. */
.newsletter__form { gap: 12px; }
.newsletter__policy {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #3c4858;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
}
.newsletter__policy input { width: auto; min-height: auto; margin: 2px 0 0; accent-color: #000; }
.newsletter__policy a { color: #030303; text-decoration: underline; }

/* Tamaños originales de escritorio intermedio y teléfono. */
@media (max-width: 1279px) {
    .marquee--main .marquee__track span { font-size: 68px; }
    .marquee--main .marquee__track img { width: 50px; height: 50px; margin: -2px 30px 0; }
    .marquee--street .marquee__track span,
    .marquee--club .marquee__track span { font-size: 84px; }
    .marquee--street .marquee__track img,
    .marquee--club .marquee__track img { width: 50px; height: 50px; margin: -2px 30px 0; }
}
@media (max-width: 1080px) {
    .header__inner { grid-template-columns: 1fr auto 1fr; }
    .desktop-navigation { justify-self: center; }
}
@media (max-width: 767px) {
    .marquee--main .marquee__track span,
    .marquee--street .marquee__track span,
    .marquee--club .marquee__track span { font-size: 42px; letter-spacing: -1px; }
    .marquee--main .marquee__track img,
    .marquee--street .marquee__track img,
    .marquee--club .marquee__track img { width: 26px; height: 26px; margin: -1px 15px 0; }
    .newsletter__policy { font-size: 13px; }
}

/*
 * Ajuste visual v11.
 * Corrige el rótulo T-shirts, el indicador inferior de submenú, el checkbox
 * del Club y el campo de contraseña del acceso/registro.
 */

/* T-shirts conserva exactamente el peso, línea y tamaño de los demás enlaces. */
.nav-dropdown__top { gap: 0; }
.desktop-navigation .nav-dropdown__trigger {
    min-height: 0;
    padding: 0;
    color: #e7e7e7;
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav-dropdown__toggle,
.nav-submenu__toggle { display: none; }

/* La línea activa queda debajo del enlace y no bordea la parte superior del panel. */
.nav-submenu > a,
.nav-submenu__link-row,
.nav-submenu__link-row > a { border-bottom: 0; }
.nav-submenu > a,
.nav-submenu__link-row > a { position: relative; overflow: hidden; }
.nav-submenu > a::after,
.nav-submenu__link-row > a::after {
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 2px;
    background: var(--gold);
    content: '';
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.nav-submenu > a:hover::after,
.nav-submenu > a:focus-visible::after,
.nav-submenu__link-row > a:hover::after,
.nav-submenu__link-row > a:focus-visible::after { transform: scaleX(1); }
.nav-submenu > a:hover,
.nav-submenu__link-row > a:hover { background: #252525; color: var(--white); }

/* Checkbox compacto: no hereda alto, padding ni borde del email. */
.newsletter__policy { gap: 6px; }
.newsletter__policy input[type='checkbox'] {
    width: 16px;
    height: 16px;
    min-height: 0;
    flex: 0 0 16px;
    margin: 1px 0 0;
    border: 1px solid #151515;
    border-radius: 0;
    padding: 0;
    background: transparent;
    accent-color: #000;
}

/* Club: DM Sans y escala contenida, sin el fallback pesado que alteraba la referencia. */
.newsletter h2 {
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: clamp(30px, 3.1vw, 45px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .98;
}
.newsletter .eyebrow { font-family: 'DM Sans', Arial, sans-serif; }

/* El ojo se integra en el borde del input, sin desplazar etiquetas ni pestañas. */
.password-field { position: relative; display: block; }
.password-field input { width: 100%; padding-right: 48px !important; }
.password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: #b8b8b8;
    transform: translateY(-50%);
}
.password-toggle:hover { color: var(--gold); }
.password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.password-toggle__closed { display: none; }
.password-toggle.is-visible .password-toggle__open { display: none; }
.password-toggle.is-visible .password-toggle__closed { display: block; }

@media (max-width: 1080px) {
    .desktop-navigation .nav-dropdown__trigger { font-size: 12px !important; }
}
@media (max-width: 767px) {
    .newsletter h2 { font-size: 30px; }
    .newsletter__policy { gap: 5px; }
}

/*
 * Ajuste visual v12.
 * T-shirts recupera la misma caja vertical que los demás enlaces; esto ubica
 * su subrayado bajo el texto y permite separar el panel sin perder el hover.
 */

.desktop-navigation .nav-dropdown__trigger {
    min-height: auto;
    padding: 38px 0 34px;
}
.desktop-navigation .nav-dropdown__trigger::after { bottom: 25px; }

/* El panel inicia bajo la línea activa; el puente transparente conserva el hover. */
.nav-dropdown > .nav-submenu {
    top: calc(100% + 11px);
    padding: 5px 0;
}
.nav-dropdown > .nav-submenu::before {
    position: absolute;
    top: -11px;
    right: 0;
    left: 0;
    height: 11px;
    content: '';
}
.nav-submenu > a,
.nav-submenu__link-row > a { min-height: 40px; }
.nav-submenu > a::after,
.nav-submenu__link-row > a::after { bottom: 4px; }

/* Un único panel de cuenta a la vez, incluso si algún estilo externo cambia display. */
.account-form[hidden] { display: none !important; }
.account-form:not([hidden]) { display: grid; }
.account-form label { gap: 8px; font-size: 12px; }
.account-form input:not([type='checkbox']) { height: 52px; padding: 0 14px; font-size: 16px; }
.account-form__row a,
.account-form .check-line { font-size: 12px; }
.account-form__notice { font-size: 13px; }
.account-form .button { min-height: 52px; font-size: 13px; }

@media (max-width: 1080px) {
    .desktop-navigation .nav-dropdown__trigger { padding: 32px 0 29px; }
    .desktop-navigation .nav-dropdown__trigger::after { bottom: 21px; }
}
@media (max-width: 767px) {
    .account-form label { font-size: 11px; }
    .account-form input:not([type='checkbox']) { height: 49px; font-size: 15px; }
    .account-form__row a,
    .account-form .check-line { font-size: 11px; }
}

/*
 * Ajuste visual v13.
 * Flecha lateral de Anime, disparador de nueve puntos y acordeones de la ficha
 * individual organizados como el componente WooCommerce de Sublime Apparel.
 */

/* T-shirts no muestra flecha; Anime sí conserva el chevron lateral del segundo nivel. */
.nav-dropdown__toggle { display: none; }
.nav-submenu__toggle {
    display: grid;
    width: 33px;
    height: 40px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #d8d8d8;
}
.nav-submenu__toggle svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.nav-submenu__toggle:hover { color: var(--gold); }
.nav-submenu__link-row { grid-template-columns: 1fr 33px; }

/* Reproducción del disparador right_bar: matriz de nueve círculos a 21px. */
.panel-trigger svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.panel-trigger:hover { color: var(--gold); }

/* Los acordeones van debajo de SKU, categorías y Product ID, sin un panel exterior. */
.product-accordion {
    border-color: #444;
    padding: 0;
}
.product-accordion:last-child { border-bottom: 1px solid #444; }
.product-accordion summary {
    min-height: 58px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .015em;
    text-transform: none;
}
.product-accordion__label { display: inline-flex; align-items: center; gap: 10px; }
.product-accordion__label svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.product-accordion summary > span:last-child { color: #969696; font-size: 21px; font-weight: 300; transition: transform .2s ease; }
.product-accordion[open] summary > span:last-child { color: var(--gold); transform: rotate(45deg); }
.product-accordion > div { padding: 0 0 21px; }
.product-accordion > div h2 { margin: 0 0 10px; color: var(--white); font-family: 'DM Sans', Arial, sans-serif; font-size: 20px; letter-spacing: -.03em; }
.product-accordion > div p { max-width: none; margin: 0; color: #969696; font-size: 14px; line-height: 1.55; }
.product-review-panel { display: grid; gap: 17px; }
.product-review-panel__summary { display: grid; justify-items: start; gap: 3px; }
.product-review-panel__summary strong { color: var(--white); font-size: 29px; line-height: 1; }
.product-review-panel__summary span { color: var(--gold); font-size: 16px; letter-spacing: .08em; }
.product-review-panel__summary small { color: #969696; font-size: 12px; }
.product-review-panel .review-form { padding-top: 18px; border-top: 1px solid #444; }
.product-review-panel .review-form label { font-size: 12px; }
.product-review-panel .review-form input,
.product-review-panel .review-form select,
.product-review-panel .review-form textarea { background: #1d1d1d; font-size: 14px; }

@media (max-width: 767px) {
    .product-accordion summary { min-height: 54px; font-size: 13px; }
    .product-accordion__label { gap: 8px; }
    .product-accordion__label svg { width: 16px; height: 16px; }
    .product-accordion > div h2 { font-size: 18px; }
    .product-accordion > div p { font-size: 13px; }
}

/*
 * Ajuste visual v14.
 * El segundo nivel Anime obtiene aire inferior propio y la información de
 * producto se independiza de la columna de compra para abarcar todo el ancho.
 */
.nav-submenu--nested { padding-bottom: 13px; }
.nav-submenu--nested > a:last-child { margin-bottom: 3px; }

/* Bloque completo posterior a la galería/resumen, equivalente al acordeón WooCommerce. */
.product-information {
    margin-top: clamp(56px, 7vw, 105px);
    margin-bottom: clamp(72px, 9vw, 130px);
    border-top: 1px solid #444;
}
.product-information .product-accordion { width: 100%; }
.product-information .product-accordion summary { min-height: 63px; }
.product-information .product-accordion > div { max-width: none; padding: 0 0 28px; }
.product-information .product-accordion > div p { max-width: 100%; }
.product-information .product-review-panel { grid-template-columns: minmax(175px, .34fr) minmax(0, 1fr); column-gap: clamp(40px, 8vw, 140px); }
.product-information .product-review-panel__summary { align-content: start; }
.product-information .product-review-panel > p { grid-column: 1; margin: 0; }
.product-information .product-review-panel .review-form { grid-column: 2; grid-row: 1 / span 2; padding-top: 0; border-top: 0; }

@media (max-width: 767px) {
    .nav-submenu--nested { padding-bottom: 10px; }
    .product-information { margin-top: 47px; margin-bottom: 75px; }
    .product-information .product-accordion summary { min-height: 56px; }
    .product-information .product-review-panel { grid-template-columns: 1fr; gap: 17px; }
    .product-information .product-review-panel > p,
    .product-information .product-review-panel .review-form { grid-column: auto; grid-row: auto; }
    .product-information .product-review-panel .review-form { padding-top: 17px; border-top: 1px solid #444; }
}

/* v15 | Ajustes finales de la ficha y del acceso: conserva la jerarquía visual del sitio original. */
.product-information {
    /* El bloque independiente queda próximo al identificador del producto sin comprimir la galería. */
    margin-top: clamp(24px, 3vw, 42px);
}

.product-information .product-accordion > summary {
    min-height: 66px;
    font-size: clamp(1rem, 1vw, 1.125rem);
}

.product-information .product-accordion__label {
    font-size: inherit;
}

/* Solo el signo + gira al abrir: icono y título conservan su orientación. */
.product-accordion[open] summary .product-accordion__label {
    transform: none;
}

.product-information .product-accordion__content {
    padding-block: 25px 29px;
}

.product-information .product-accordion__content h2 {
    font-size: clamp(1.35rem, 1.8vw, 1.7rem);
}

.product-information .product-accordion__content p,
.product-information .review-copy,
.product-information .review-form label {
    font-size: clamp(.95rem, 1vw, 1.05rem);
    line-height: 1.7;
}

/* Modal de cuenta: réplica del contraste oscuro del formulario publicado. */
.modal {
    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(5px);
}

.modal__card {
    width: min(550px, calc(100vw - 32px));
    padding: 60px 45px;
    background: #141414;
    color: #fff;
    border: 1px solid #333;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.modal__close {
    color: #fff;
}

.account-tabs {
    display: flex;
    justify-content: space-around;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
}

.account-tabs button {
    flex: 1;
    padding: 0 0 14px;
    color: #666;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .065em;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
}

.account-tabs button.is-active {
    color: #fff;
    border-bottom-color: #fff;
}

.account-form {
    gap: 25px;
}

.account-form label,
.account-form .check-line {
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .06em;
}

.account-form input:not([type='checkbox']) {
    min-height: 43px;
    padding: 10px 0;
    color: #fff;
    font-size: 1rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #666;
    border-radius: 0;
    box-shadow: none;
}

.account-form input:not([type='checkbox'])::placeholder {
    color: #8d8d8d;
}

.account-form input:not([type='checkbox']):focus {
    border-bottom-color: #ffb700;
    box-shadow: none;
}

.account-form .password-field input {
    padding-right: 42px;
}

.account-form .password-toggle {
    right: 7px;
    bottom: 7px;
    width: 30px;
    height: 30px;
    color: #fff;
}

.account-form .check-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -5px 0 5px;
}

.account-form .check-line input {
    accent-color: #ffb700;
}

.account-form .account-notice,
.account-form .account-help {
    color: #a7a7a7;
}

.account-form .button,
.account-form button[type='submit'] {
    width: 100%;
    min-height: 55px;
    padding: 18px;
    color: #000;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .125em;
    background: #ffb700;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
}

.account-form .button:hover,
.account-form button[type='submit']:hover {
    color: #000;
    background: #e8aa00;
}

@media (max-width: 600px) {
    .modal__card {
        padding: 46px 26px 32px;
    }

    .product-information .product-accordion > summary {
        min-height: 60px;
        font-size: 1rem;
    }
}

/* v17 | Correcciones del acceso y Shop sin título ni panel de filtros. */
.account-form input:not([type='checkbox']) {
    /* Separa el texto de la línea izquierda sin alterar el ancho útil del campo. */
    padding-right: 14px;
    padding-left: 14px;
}

.account-form .password-field input {
    padding-right: 52px !important;
    padding-left: 14px !important;
}

/* Solo uno de los dos SVG se muestra según el estado de visibilidad de la contraseña. */
.account-form .password-toggle {
    top: 50%;
    right: 7px;
    bottom: auto;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    color: #fff;
    background: transparent !important;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
}

.account-form .password-toggle__closed,
.account-form .password-toggle.is-visible .password-toggle__open {
    display: none;
}

.account-form .password-toggle.is-visible .password-toggle__closed {
    display: block;
}

.account-form .password-toggle:hover,
.account-form .password-toggle:focus-visible {
    color: #ffb700;
    outline: 1px solid #ffb700;
    outline-offset: 1px;
}

.account-form .password-toggle svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .8));
}

.account-form__row a {
    color: #fff;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    white-space: nowrap;
}

.account-form__row a:hover,
.account-form__row a:focus-visible {
    color: #ffb700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Shop: contador y selector de orden alineados sobre cuatro productos por fila. */
.shop-page {
    padding-top: clamp(42px, 5vw, 76px);
    padding-bottom: clamp(80px, 9vw, 140px);
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 34px;
}

.shop-toolbar__count,
.shop-ordering select {
    color: var(--white);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.375;
}

.shop-toolbar__count {
    margin: 0;
    color: var(--grey);
}

.shop-ordering {
    position: relative;
    width: 245px;
}

.shop-ordering::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    color: var(--white);
    content: '';
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.shop-ordering select {
    width: 100%;
    padding: 0 25px 0 0;
    color-scheme: dark;
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.shop-ordering select:focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: 4px;
}

.shop-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 80px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-product__media {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    background: #f0f0f0;
}

.shop-product__media > a:first-child,
.shop-product__media img {
    display: block;
    width: 100%;
}

.shop-product__media img {
    aspect-ratio: 1;
    object-fit: cover;
    transform: scale(1);
    transition: none;
}

/* La franja de carrito se activa al posar el cursor tanto sobre foto como sobre nombre. */
.shop-product__select {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    color: var(--white);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1;
    background: #1d1d1d;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease, color .2s ease;
}

.shop-product__select svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.shop-product:hover .shop-product__select,
.shop-product:focus-within .shop-product__select {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.shop-product__select:hover,
.shop-product__select:focus-visible {
    color: var(--gold);
}

.shop-product__data h2 {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.3;
}

.shop-product__data h2 a {
    color: var(--white);
    transition: color .2s ease;
}

.shop-product__data h2 a:hover,
.shop-product:hover .shop-product__data h2 a,
.shop-product:focus-within .shop-product__data h2 a {
    color: var(--gold);
}

.shop-product__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 11px;
}

.shop-product__price {
    margin: 0;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
}

.shop-product__rating {
    color: var(--gold);
    font-size: .8125rem;
    letter-spacing: .08em;
    line-height: 1;
    white-space: nowrap;
}

.shop-product__sizes {
    margin: 12px 0 0;
    color: var(--grey);
    font-size: .75rem;
    line-height: 1.35;
}

.shop-product__sizes span {
    color: var(--white);
    font-weight: 500;
}

.shop-empty-state {
    margin: 0;
    padding: 70px 0;
    color: var(--grey);
}

@media (max-width: 1080px) {
    .shop-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .shop-page { padding-top: 34px; }
    .shop-toolbar { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 27px; }
    .shop-toolbar__count,
    .shop-ordering select { font-size: .875rem; }
    .shop-ordering { width: 220px; }
    .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 15px; }
    .shop-product__media { margin-bottom: 14px; }
    .shop-product__select { height: 40px; opacity: 1; pointer-events: auto; transform: none; }
    .shop-product__select span { display: none; }
    .shop-product__select svg { width: 18px; height: 18px; }
    .shop-product__data h2 { font-size: .875rem; }
    .shop-product__meta { gap: 6px; margin-top: 8px; }
    .shop-product__price { font-size: .8125rem; }
    .shop-product__rating { font-size: .625rem; }
    .shop-product__sizes { margin-top: 8px; font-size: .625rem; }
}

/* v18 | Tabla de tallas y contraste del menú de orden de Shop. */
.shop-ordering select,
.shop-ordering select option {
    color: #fff;
    background-color: #1d1d1d;
}

.shop-ordering select {
    border: 1px solid #444;
    border-radius: 0;
    padding: 10px 35px 10px 13px;
}

.shop-ordering select:hover,
.shop-ordering select:focus {
    border-color: #ffb700;
}

/* El CTA conserva su acción de carrito, sin texto visible sobre la fotografía. */
.shop-product__select {
    gap: 0;
}

/* Tabla compacta de tallas: una fila alineada, separada y legible en cada tarjeta. */
.shop-product__sizes {
    width: 100%;
    margin: 14px 0 0;
    color: var(--grey);
    border: 1px solid #444;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: .6875rem;
    line-height: 1;
}

.shop-product__sizes th,
.shop-product__sizes td {
    height: 31px;
    padding: 0;
    border: 0;
    border-left: 1px solid #444;
    text-align: center;
    vertical-align: middle;
}

.shop-product__sizes th {
    width: 32%;
    color: var(--white);
    font-weight: 500;
    border-left: 0;
}

.shop-product__sizes td {
    color: #a5a5a5;
}

.shop-product:hover .shop-product__sizes td {
    color: var(--white);
}

@media (max-width: 767px) {
    .shop-ordering select {
        padding: 9px 31px 9px 10px;
    }

    .shop-product__sizes {
        margin-top: 10px;
        font-size: .5625rem;
    }

    .shop-product__sizes th,
    .shop-product__sizes td {
        height: 27px;
    }
}

/* v19 | Ajuste compacto de tallas y flecha interna del ordenamiento. */
.shop-product__sizes {
    width: 210px;
    max-width: 100%;
}

.shop-product__sizes th {
    width: 72px;
}

.shop-product__sizes td {
    width: 34px;
}

.shop-ordering::after {
    right: 14px;
    width: 7px;
    height: 7px;
}

.shop-ordering select {
    padding-right: 42px;
}

@media (max-width: 767px) {
    .shop-product__sizes {
        width: 100%;
    }

    .shop-product__sizes th {
        width: 31%;
    }

    .shop-ordering::after {
        right: 12px;
    }

    .shop-ordering select {
        padding-right: 37px;
    }
}

/* v20 | La valoración queda en una línea independiente debajo del precio. */
.shop-product__meta {
    display: block;
}

.shop-product__rating {
    display: block;
    margin-top: 8px;
}

@media (max-width: 767px) {
    .shop-product__rating {
        margin-top: 6px;
    }
}

/* v21 | Área privada de clientes: panel, formularios, pedidos y facturación. */
.header__actions a.icon-button { text-decoration: none; }

.flash-stack { position: relative; z-index: 60; padding-top: 16px; }
.flash-message { margin: 0; padding: 14px 18px; border: 1px solid #444; font-size: 14px; line-height: 1.45; }
.flash-message--success { color: #e5ffd9; border-color: #4d7e3c; background: #1b2c1a; }
.flash-message--error { color: #ffe0e0; border-color: #874747; background: #341b1b; }
.flash-stack--auto-dismiss { overflow: hidden; max-height: 120px; animation: storefront-flash-dismiss .28s ease var(--flash-dismiss-delay, 10s) forwards; }
@keyframes storefront-flash-dismiss {
    to { max-height: 0; padding-top: 0; opacity: 0; }
}

.account-page { padding-top: clamp(48px, 6vw, 92px); padding-bottom: clamp(84px, 10vw, 150px); }
.account-hero { display: flex; align-items: end; justify-content: space-between; gap: 34px; padding-bottom: clamp(36px, 5vw, 68px); border-bottom: 1px solid #444; }
.account-hero .eyebrow { margin-bottom: 12px; }
.account-hero h1 { max-width: 800px; margin: 0 0 14px; color: var(--white); font-size: clamp(2.45rem, 4.8vw, 5.2rem); font-weight: 600; letter-spacing: -.07em; line-height: .94; }
.account-hero p:not(.eyebrow) { max-width: 560px; margin: 0; color: var(--grey); font-size: 16px; line-height: 1.55; }
.account-hero__avatar { display: grid; width: 80px; height: 80px; flex: 0 0 auto; place-items: center; color: #111; background: var(--gold); border-radius: 50%; font-size: 28px; font-weight: 700; }
.account-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(35px, 6vw, 95px); padding-top: clamp(38px, 5vw, 70px); }
.account-navigation { align-self: start; position: sticky; top: 24px; border-top: 1px solid #444; }
.account-navigation nav { display: grid; }
.account-navigation a { position: relative; padding: 16px 0; color: #a5a5a5; border-bottom: 1px solid #363636; font-size: 14px; font-weight: 500; transition: color .2s ease, padding-left .2s ease; }
.account-navigation a::before { position: absolute; top: 50%; left: 0; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; content: ''; opacity: 0; transform: translateY(-50%); transition: opacity .2s ease; }
.account-navigation a:hover, .account-navigation a.is-active { padding-left: 14px; color: var(--white); }
.account-navigation a.is-active::before { opacity: 1; }
.account-navigation__logout { margin-top: 23px; }
.account-navigation__logout button { padding: 0; color: #a5a5a5; background: transparent; border: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.account-navigation__logout button:hover { color: var(--gold); }
.account-panel { padding: clamp(25px, 4vw, 48px); background: #1b1b1b; border: 1px solid #3e3e3e; }
.account-panel__heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: clamp(28px, 4vw, 45px); }
.account-panel__heading .eyebrow { margin-bottom: 9px; }
.account-panel__heading h2 { margin: 0; color: var(--white); font-size: clamp(1.7rem, 2.5vw, 2.45rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.account-text-link { color: var(--gold); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.account-text-link:hover { color: var(--white); }
.account-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #444; }
.account-metrics article { min-height: 118px; padding: 22px; border-left: 1px solid #444; }
.account-metrics article:first-child { border-left: 0; }
.account-metrics span, .account-summary-card > span { display: block; margin-bottom: 13px; color: #9d9d9d; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.account-metrics strong { color: var(--white); font-size: clamp(1.7rem, 2.5vw, 2.55rem); font-weight: 600; line-height: 1; }
.account-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.account-summary-card { min-height: 190px; padding: 25px; background: #151515; border: 1px solid #383838; }
.account-summary-card strong { display: block; color: var(--white); font-size: 17px; font-weight: 600; }
.account-summary-card p { margin: 12px 0 18px; color: #a5a5a5; font-size: 14px; line-height: 1.55; }
.account-layout--without-navigation { grid-template-columns: minmax(0, 1fr); }
.account-overview-widgets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.account-overview-widgets > .account-metrics { grid-column: 1 / -1; }
.account-overview-widgets > .account-summary-card { min-width: 0; }
.account-custom-widget { min-width: 0; min-height: 190px; padding: 25px; background: #151515; border: 1px solid #383838; }
.account-custom-widget .eyebrow { margin-bottom: 12px; }
.account-custom-widget h3 { margin: 0; color: var(--white); font-size: 21px; letter-spacing: -.04em; }
.account-custom-widget > p:not(.eyebrow) { margin: 12px 0 18px; color: #a5a5a5; font-size: 14px; line-height: 1.55; }
.account-custom-widget .button { display: inline-flex; color: #111; background: var(--gold); }
.account-panel > .account-custom-widget { margin-top: 20px; }
.account-settings-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.account-settings-form--single { max-width: 620px; grid-template-columns: 1fr; }
.account-settings-form label, .account-delete-form label { display: grid; gap: 9px; color: #e8e8e8; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.account-settings-form label span { color: #989898; font-weight: 400; }
.account-settings-form input, .account-settings-form select, .account-delete-form input { min-width: 0; height: 49px; padding: 0 14px; color: var(--white); background: #151515; border: 1px solid #555; border-radius: 0; font-size: 15px; font-weight: 400; letter-spacing: normal; text-transform: none; outline: none; transition: border-color .2s ease, background .2s ease; }
.account-settings-form select { color-scheme: dark; }
.account-settings-form input:focus, .account-settings-form select:focus, .account-delete-form input:focus { border-color: var(--gold); background: #111; }
.account-settings-form__full { grid-column: 1 / -1; }
.account-settings-form__actions { display: flex; justify-content: flex-start; margin-top: 4px; }
.account-settings-form__actions .button { min-width: 190px; color: #111; background: var(--gold); }
.account-settings-form__actions .button:hover { color: var(--white); background: #333; }
.account-empty { padding: 34px 0 10px; text-align: center; }
.account-empty strong { display: block; color: var(--white); font-size: 20px; }
.account-empty p { max-width: 390px; margin: 11px auto 23px; color: #a5a5a5; line-height: 1.55; }
.account-empty .button { display: inline-flex; color: #111; background: var(--gold); }
.account-orders-wrap { overflow-x: auto; border: 1px solid #444; }
.account-orders { width: 100%; min-width: 680px; border-collapse: collapse; }
.account-orders th, .account-orders td { padding: 17px 18px; border-bottom: 1px solid #3e3e3e; color: #d5d5d5; font-size: 13px; text-align: left; white-space: nowrap; }
.account-orders th { color: #999; background: #151515; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.account-orders tr:last-child td { border-bottom: 0; }
.account-orders td:first-child { color: var(--white); font-weight: 600; }
.account-orders a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.order-status { display: inline-flex; padding: 5px 8px; border: 1px solid #555; color: #d5d5d5; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.order-status--paid, .order-status--completed { color: #d8ffd1; border-color: #477540; }
.order-status--processing, .order-status--shipped { color: #bfe6ff; border-color: #356b90; }
.order-status--cancelled { color: #ffb7b7; border-color: #854545; }
.order-status--refunded { color: #ffd0d7; border-color: #99515e; }
.order-status--pending { color: #ffd4a3; border-color: #91522b; }
.account-danger-zone { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; margin-top: 56px; padding-top: 34px; border-top: 1px solid #7d3c3c; }
.account-danger-zone > div strong { display: block; color: #ffd2d2; font-size: 18px; }
.account-danger-zone > div p { max-width: 500px; margin: 10px 0 0; color: #a9a9a9; font-size: 14px; line-height: 1.55; }
.account-delete-form { display: grid; gap: 16px; }
.account-delete-form button { min-height: 46px; color: #fff; background: #6c2828; border: 1px solid #a84f4f; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.account-delete-form button:hover { background: #8f3434; }

.invoice-page { padding-top: clamp(48px, 6vw, 90px); padding-bottom: clamp(80px, 10vw, 140px); }
.invoice-actions { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.invoice-actions > span { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.invoice-actions a, .invoice-actions button { color: #d3d3d3; background: transparent; border: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.invoice-actions button { color: var(--gold); }
.invoice-card { padding: clamp(28px, 5vw, 70px); background: #1b1b1b; border: 1px solid #444; }
.invoice-card > header, .invoice-addresses { display: flex; justify-content: space-between; gap: 28px; }
.invoice-card > header { padding-bottom: 35px; border-bottom: 1px solid #444; }
.invoice-card > header img { width: 154px; }
.invoice-card > header p, .invoice-addresses p { margin: 10px 0 0; color: #aaa; font-size: 13px; line-height: 1.55; }
.invoice-card > header > div:last-child { text-align: right; }
.invoice-card > header span, .invoice-addresses span { display: block; margin-bottom: 8px; color: #9c9c9c; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.invoice-card > header strong { color: var(--white); font-size: 21px; }
.invoice-addresses { padding: 35px 0; }
.invoice-addresses strong { color: var(--white); font-size: 16px; }
.invoice-items { width: 100%; border-collapse: collapse; }
.invoice-items th, .invoice-items td { padding: 16px 12px; border-top: 1px solid #3d3d3d; color: #d8d8d8; font-size: 13px; text-align: left; }
.invoice-items th { color: #999; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.invoice-items td:not(:first-child), .invoice-items th:not(:first-child) { text-align: right; }
.invoice-items strong { color: var(--white); }
.invoice-items small { display: block; margin-top: 4px; color: #999; }
.invoice-totals { width: min(330px, 100%); margin: 28px 0 0 auto; }
.invoice-totals p { display: flex; justify-content: space-between; margin: 0; padding: 10px 0; color: #aaa; border-top: 1px solid #3d3d3d; font-size: 13px; }
.invoice-totals strong { color: var(--white); }
.invoice-totals__grand { font-size: 17px !important; font-weight: 700; }
.invoice-totals__grand span, .invoice-totals__grand strong { color: var(--gold) !important; }

@media (max-width: 1080px) {
    .account-layout { grid-template-columns: 1fr; gap: 30px; }
    .account-navigation { position: static; display: flex; flex-direction: column; }
    .account-navigation nav { display: flex; overflow-x: auto; border-bottom: 1px solid #444; }
    .account-navigation a { flex: 0 0 auto; padding: 0 0 13px; border: 0; font-size: 13px; }
    .account-navigation a + a { margin-left: 20px; }
    .account-navigation a:hover, .account-navigation a.is-active { padding-left: 0; }
    .account-navigation a::before { top: auto; right: 0; bottom: -1px; left: 0; width: 100%; height: 2px; border-radius: 0; transform: none; }
    .account-navigation__logout { margin-top: 18px; }
    .account-danger-zone { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .account-hero { align-items: flex-start; }
    .account-hero__avatar { width: 56px; height: 56px; font-size: 20px; }
    .account-hero p:not(.eyebrow) { font-size: 14px; }
    .account-panel { padding: 24px 18px; }
    .account-panel__heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
    .account-metrics, .account-summary-grid, .account-overview-widgets, .account-settings-form { grid-template-columns: 1fr; }
    .account-metrics article { min-height: auto; border-top: 1px solid #444; border-left: 0; }
    .account-metrics article:first-child { border-top: 0; }
    .account-settings-form__full { grid-column: auto; }
    .account-settings-form__actions .button { width: 100%; }
    .invoice-card { padding: 23px 17px; }
    .invoice-card > header, .invoice-addresses { flex-direction: column; }
    .invoice-card > header > div:last-child { text-align: left; }
    .invoice-items { min-width: 540px; }
    .invoice-card { overflow: hidden; }
    .invoice-items { display: block; overflow-x: auto; }
}

@media print {
    .announcement, .site-header, .site-footer, .whatsapp-widget, .back-to-top, .invoice-actions, .brand-panel, .drawer, .modal { display: none !important; }
    body, .invoice-card { color: #111 !important; background: #fff !important; }
    .invoice-page { width: 100%; padding: 0; }
    .invoice-card { border: 0; }
    .invoice-card *, .invoice-card strong, .invoice-card p, .invoice-card td, .invoice-card th { color: #111 !important; }
}

/* v22 | CAPTCHA propio por iconos y panel de recuperación de acceso. */
.icon-captcha {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: -3px 0 1px;
    padding: 13px 14px 14px;
    border: 1px solid #404040;
}
.icon-captcha legend {
    padding: 0 6px;
    color: #a8a8a8;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
}
.icon-captcha p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #d9d9d9;
    font-size: .76rem;
    letter-spacing: .02em;
}
.icon-captcha__target,
.icon-captcha__choice {
    display: inline-grid;
    place-items: center;
}
.icon-captcha__target {
    width: 31px;
    height: 31px;
    color: #ffb700;
    border: 1px solid #ffb700;
}
.icon-captcha__target svg { width: 18px; height: 18px; }
.icon-captcha__choices {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
}
.icon-captcha__input {
    position: absolute !important;
    width: 1px !important;
    min-height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0 !important;
}
.icon-captcha__choice {
    min-height: 42px;
    color: #d8d8d8;
    cursor: pointer;
    background: #1e1e1e;
    border: 1px solid #4b4b4b;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.icon-captcha__choice svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.icon-captcha__choice:hover { color: #ffb700; border-color: #ffb700; transform: translateY(-1px); }
.icon-captcha__input:checked + .icon-captcha__choice { color: #151515; background: #ffb700; border-color: #ffb700; }
.icon-captcha__input:focus-visible + .icon-captcha__choice { outline: 2px solid #fff; outline-offset: 2px; }
.account-form__text-button,
.account-form__back {
    padding: 0;
    color: #fff;
    font: inherit;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-align: left;
    cursor: pointer;
    background: transparent;
    border: 0;
}
.account-form__text-button { white-space: nowrap; }
.account-form__text-button:hover,
.account-form__text-button:focus-visible,
.account-form__back:hover,
.account-form__back:focus-visible { color: #ffb700; text-decoration: underline; text-underline-offset: 3px; }
.account-form__back { width: fit-content; margin-bottom: -7px; }
.account-form h2 { margin: -3px 0 -10px; color: #fff; font-size: 1.32rem; letter-spacing: .015em; }
.account-form__help { margin: -6px 0 -4px; color: #a7a7a7; font-size: .82rem; line-height: 1.5; }
@media (max-width: 480px) {
    .icon-captcha__choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .icon-captcha__choice { min-height: 39px; }
}
/* v23 | Desplazamiento del modal, feedback de CAPTCHA y validación de cuenta. */
.modal.is-open,
.modal[data-account-open='true'] {
    display: flex;
    align-items: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 28px 16px;
}
.modal.is-open .modal__card,
.modal[data-account-open='true'] .modal__card { margin: auto; }
.icon-captcha__target svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.icon-captcha__status {
    min-height: 1.25em;
    margin: 0;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: .01em;
}
.icon-captcha__status.is-success { color: #67d891; }
.icon-captcha__status.is-error { color: #ff7373; }
.icon-captcha.is-success { border-color: rgba(103, 216, 145, .7); }
.icon-captcha.is-error { border-color: rgba(255, 115, 115, .76); }
.account-password-strength { display: grid; gap: 8px; margin: -7px 0 0; }
.account-password-strength__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.account-password-strength__bar i { height: 4px; background: #454545; transition: background .2s ease; }
.account-password-strength[data-level='1'] .account-password-strength__bar i:nth-child(-n+1) { background: #ff7373; }
.account-password-strength[data-level='2'] .account-password-strength__bar i:nth-child(-n+2) { background: #ffb700; }
.account-password-strength[data-level='3'] .account-password-strength__bar i:nth-child(-n+3) { background: #d4dd67; }
.account-password-strength[data-level='4'] .account-password-strength__bar i { background: #67d891; }
.account-password-strength p { margin: 0; color: #a9a9a9; font-size: .7rem; line-height: 1.55; }
.account-password-strength strong { color: #e7e7e7; }
.account-password-strength code { color: #d5d5d5; font: inherit; }
.account-form__field-error,
.account-form__feedback { display: block; margin-top: 5px; color: #ff7373; font-size: .7rem; font-weight: 500; letter-spacing: .01em; line-height: 1.35; }
.account-form__feedback { min-height: 1.35em; margin: -11px 0 -11px; transition: opacity .2s ease, transform .2s ease; }
.account-form__feedback:not(:empty) { min-height: 0; margin: -4px 0 -4px; padding: 10px 12px; border: 1px solid rgba(255, 115, 115, .46); background: rgba(101, 29, 29, .38); color: #ffd9d9; }
.account-form__feedback.is-success:not(:empty) { border-color: rgba(103, 216, 145, .48); background: rgba(23, 98, 54, .3); color: #d8ffe6; }
.account-form__feedback.is-dismissing { opacity: 0; transform: translateY(-3px); }
/* Respaldo visual del temporizador: el aviso se oculta aunque JavaScript falle. */
.account-form__feedback[data-account-server-feedback] { overflow: hidden; max-height: 6rem; animation: account-feedback-auto-dismiss .22s ease 7s forwards; }
@keyframes account-feedback-auto-dismiss {
    to { max-height: 0; margin-block: -11px; padding-block: 0; opacity: 0; border-width: 0; transform: translateY(-3px); }
}
.account-form input.is-invalid { border-bottom-color: #ff7373 !important; }
.account-form input.is-valid { border-bottom-color: #67d891 !important; }
@media (max-height: 700px) {
    .modal.is-open { padding-block: 14px; }
    .modal.is-open .modal__card { margin-block: 0; }
}
/* v24 | Cuenta: facturación clara, historial desplazable y eliminación segura. */
.account-form-required-note { grid-column: 1 / -1; margin: -7px 0 -4px; color: #9f9f9f; font-size: 12px; }
.account-form-required-note span,
.account-settings-form label .account-required { color: #ffcb3c; font-weight: 800; }
.account-settings-form label .account-required { margin-left: 2px; }
.account-settings-form__actions .account-save-button { display: inline-flex; min-width: 210px; align-items: center; justify-content: space-between; gap: 26px; padding: 0 20px 0 23px; border: 1px solid #ffca28; border-radius: 999px; box-shadow: 0 10px 25px rgba(255, 181, 0, .15); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.account-settings-form__actions .account-save-button b { font-size: 19px; line-height: 1; transition: transform .2s ease; }
.account-settings-form__actions .account-save-button:hover { color: #111; background: #ffcb2c; box-shadow: 0 14px 31px rgba(255, 181, 0, .25); transform: translateY(-2px); }
.account-settings-form__actions .account-save-button:hover b { transform: translateX(3px); }
.account-settings-form .password-field { position: relative; display: block; }
.account-settings-form .password-field input { width: 100%; padding-right: 52px; }
.account-settings-form .password-toggle { position: absolute; top: 50%; right: 9px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; color: #f2f2f2; background: transparent; border: 0; transform: translateY(-50%); }
.account-settings-form .password-toggle:hover, .account-settings-form .password-toggle:focus-visible { color: var(--gold); outline: 1px solid var(--gold); outline-offset: 1px; }
.account-settings-form .password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.account-settings-form .password-toggle__closed { display: none; }
.account-settings-form .password-toggle.is-visible .password-toggle__open { display: none; }
.account-settings-form .password-toggle.is-visible .password-toggle__closed { display: block; }
.account-orders-scroll-hint { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -12px 0 10px; color: #9b9b9b; font-size: 12px; }
.account-orders-scroll-hint span:last-child { color: var(--gold); font-size: 17px; }
.account-orders-scroll { max-height: 555px; overflow: auto; overscroll-behavior: contain; }
.account-orders-scroll .account-orders { margin: 0; }
.account-orders-scroll .account-orders th { position: sticky; z-index: 1; top: 0; background: #151515; }
.account-danger-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: 22px; padding: clamp(25px, 3vw, 38px); background: #211718; border: 1px solid #743b3b; }
.account-danger-panel .eyebrow { margin-bottom: 9px; color: #df8a8a; }
.account-danger-panel h2 { margin: 0; color: #ffe4e4; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 600; letter-spacing: -.04em; }
.account-danger-panel p:not(.eyebrow) { max-width: 620px; margin: 10px 0 0; color: #ccb7b7; font-size: 14px; line-height: 1.55; }
.account-delete-button { min-width: 190px; min-height: 51px; padding: 0 20px; color: #fff; cursor: pointer; background: #7b2e2e; border: 1px solid #c26161; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.account-delete-button:hover { background: #993535; box-shadow: 0 10px 24px rgba(148, 45, 45, .26); transform: translateY(-2px); }
.account-delete-button:disabled { cursor: wait; opacity: .65; transform: none; }
.swal2-popup { color: #f7f7f7 !important; background: #1b1b1b !important; border: 1px solid #484848 !important; }
.swal2-title { color: #fff !important; font-family: 'DM Sans', Arial, sans-serif !important; }
.swal2-html-container { color: #bdbdbd !important; }
.swal2-confirm { color: #151515 !important; background: #ffb700 !important; box-shadow: none !important; }
.swal2-cancel { color: #f4f4f4 !important; background: #3a3a3a !important; box-shadow: none !important; }
.swal2-timer-progress-bar { background: #ffb700 !important; }
@media (max-width: 640px) {
    .account-danger-panel { grid-template-columns: 1fr; gap: 23px; }
    .account-delete-button { width: 100%; }
    .account-settings-form__actions .account-save-button { width: 100%; }
    .account-orders-scroll { max-height: 510px; }
}
/* v25 | Etiquetas de cuenta alineadas y diseño responsive del panel de usuario. */
.account-layout, .account-content { min-width: 0; }
.account-settings-form .account-field-label {
    display: block;
    color: #e8e8e8;
    font: inherit;
}
.account-settings-form .account-field-label .account-required {
    display: inline;
    margin-left: 3px;
    color: #ffcb3c;
    font: inherit;
    font-weight: 800;
}
.account-settings-form .account-field-label small {
    color: #989898;
    font: inherit;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
}
.account-panel { box-shadow: 0 18px 45px rgba(0, 0, 0, .12); }
.account-navigation nav { scrollbar-width: thin; scrollbar-color: #777 #171717; }
.account-navigation nav::-webkit-scrollbar { height: 4px; }
.account-navigation nav::-webkit-scrollbar-thumb { background: #777; }
@media (max-width: 1080px) {
    .account-page { padding-top: clamp(34px, 7vw, 58px); }
    .account-hero { padding-bottom: 30px; }
    .account-navigation { gap: 0; }
    .account-navigation nav { gap: 22px; padding: 0 1px 1px; }
    .account-navigation a + a { margin-left: 0; }
    .account-navigation a { min-height: 40px; white-space: nowrap; }
    .account-navigation__logout { align-self: flex-start; }
    .account-panel { padding: clamp(24px, 4vw, 38px); }
}
@media (max-width: 640px) {
    .account-page { padding-top: 32px; padding-bottom: 76px; }
    .account-hero { gap: 18px; padding-bottom: 25px; }
    .account-hero h1 { margin-bottom: 11px; font-size: clamp(2.2rem, 13vw, 3.2rem); letter-spacing: -.065em; }
    .account-navigation nav { gap: 18px; margin-right: -3px; padding-bottom: 3px; }
    .account-navigation a { padding-bottom: 11px; font-size: 12px; }
    .account-navigation__logout { margin-top: 16px; }
    .account-panel { padding: 23px 17px; }
    .account-panel__heading h2 { font-size: clamp(1.55rem, 8vw, 2rem); }
    .account-metrics article, .account-summary-card { padding: 19px 0; }
    .account-settings-form { gap: 19px; }
    .account-settings-form input, .account-settings-form select { height: 50px; }
    .account-orders-scroll-hint { align-items: flex-start; margin-top: -5px; line-height: 1.4; }
    .account-orders { min-width: 620px; }
    .account-danger-panel { margin-top: 17px; padding: 24px 18px; }
}

/* Historial de pedidos: seis datos siguen visibles en escritorio y pasan a
 * fichas etiquetadas en móvil. Así el seguimiento no obliga a desplazar toda
 * la pantalla horizontalmente para leer el total o la factura. */
.account-page .account-orders-wrap {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    border-color: #424242;
    border-radius: 9px;
}
.account-page .account-orders {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
}
.account-page .account-orders__col-order { width: 24%; }
.account-page .account-orders__col-date { width: 10%; }
.account-page .account-orders__col-status { width: 13%; }
.account-page .account-orders__col-tracking { width: 22%; }
.account-page .account-orders__col-total { width: 11%; }
.account-page .account-orders__col-invoice { width: 20%; }
.account-page .account-orders th,
.account-page .account-orders td {
    padding: 11px 9px;
    overflow-wrap: anywhere;
    color: #d8d8d8;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    vertical-align: middle;
    white-space: normal;
}
.account-page .account-orders th {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #a8a8a8;
    font-size: 9px;
    letter-spacing: .065em;
}
.account-page .account-orders th:first-child,
.account-page .account-orders td:first-child { padding-left: clamp(12px, 1.5vw, 18px); }
.account-page .account-orders th:last-child,
.account-page .account-orders td:last-child { padding-right: clamp(12px, 1.5vw, 18px); }
.account-page .account-order-number,
.account-page .account-order-total { color: #fff; font-size: inherit; font-variant-numeric: tabular-nums; }
.account-page .account-orders td:nth-child(5),
.account-page .account-orders th:nth-child(5) { text-align: right; }
.account-page .account-orders td:nth-child(6),
.account-page .account-orders th:nth-child(6) { text-align: center; }
.account-page .account-orders .order-status { max-width: 100%; padding: 4px 6px; font-size: 9px; line-height: 1.2; text-align: center; }
.account-page .account-orders .account-tracking-number {
    width: 100%;
    max-width: 100%;
    min-height: 27px;
    justify-content: center;
    padding: 4px 6px;
    font-size: 10px;
    text-align: center;
}
.account-page .account-orders a {
    width: 100%;
    min-height: 31px !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
}
.account-page .account-orders a::after { font-size: 13px; }
.account-page .account-order-empty { display: inline-block; color: #8d8d8d; }

/* La composición en tarjeta elimina la necesidad de una tabla ancha en
 * teléfonos; el encabezado se oculta visualmente pero sigue presente para
 * lectores de pantalla. */
@media (max-width: 640px) {
    .account-page .account-orders-scroll { max-height: 510px !important; overflow-y: auto; overflow-x: hidden; }
    .account-page .account-orders-wrap { border: 0; background: transparent; border-radius: 0; }
    .account-page .account-orders,
    .account-page .account-orders tbody,
    .account-page .account-orders tr,
    .account-page .account-orders td { display: block; width: 100%; }
    .account-page .account-orders colgroup { display: none; }
    .account-page .account-orders thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .account-page .account-orders tbody { display: grid; gap: 11px; }
    .account-page .account-orders tr {
        padding: 1px 13px;
        background: #171717;
        border: 1px solid #404040;
        border-radius: 9px;
    }
    .account-page .account-orders td {
        display: grid;
        grid-template-columns: minmax(88px, .8fr) minmax(0, 1.2fr);
        gap: 12px;
        align-items: center;
        min-width: 0;
        padding: 10px 0;
        border-bottom: 1px solid #353535;
        font-size: 12px;
        text-align: right !important;
    }
    .account-page .account-orders td::before {
        content: attr(data-label);
        color: #9b9b9b;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .075em;
        text-align: left;
        text-transform: uppercase;
    }
    .account-page .account-orders td:last-child { border-bottom: 0; }
    .account-page .account-orders .order-status,
    .account-page .account-orders .account-tracking-number,
    .account-page .account-orders a { justify-self: end; width: auto; max-width: 100%; }
    .account-page .account-orders a { min-width: 124px; }
}

/* v26-b | Menú de cuenta VoriSoft adaptado al sistema oscuro de Sublime Apparel. */
.account-mobile-menu-trigger, .account-mobile-menu-heading, .account-menu-backdrop { display: none; }

/* El avatar y la salida conservan la composición de VoriSoft sin romper el encabezado oscuro. */
.header__actions .header-account-icon { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.header__actions .header-account-icon > svg,
.header__actions .header-account-logout svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.header__actions .user-status { width: auto; min-width: 42px; padding: 0 10px 0 4px; color: #f7f7f7; text-decoration: none; }
.header__actions .user-status:hover { color: var(--gold); }
.header__actions .user-avatar { position: relative; display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; color: #171717; background: var(--gold); border-radius: 50%; font-size: 11px; font-weight: 800; }
.header__actions .user-avatar i { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; background: #62d782; border: 2px solid #171717; border-radius: 50%; }
.header__actions .user-name { font-size: 11px; font-weight: 700; white-space: nowrap; }
.header__actions .header-account-logout { display: inline-flex; margin: 0; }
.header__actions .header-account-logout .icon-button { display: inline-flex; width: auto; min-width: 0; align-items: center; gap: 7px; padding: 0 10px; color: #d7d7d7; font-size: 11px; font-weight: 700; text-decoration: none; }
.header__actions .header-account-logout .icon-button:hover { color: var(--gold); }
.header__actions .header-account-logout .icon-button span { white-space: nowrap; }

/* Los avisos siempre se colocan sobre el contenido, incluido Mi cuenta. */
main > .flash-stack { position: relative; z-index: 80; }

@media (max-width: 1080px) {
    body.account-menu-open { overflow: hidden; }
    /* Deja una franja clara entre el encabezado y el control flotante. */
    .account-page { padding-top: clamp(136px, 18vw, 164px); }
    .account-mobile-menu-trigger { position: fixed; top: max(7.75rem, calc(env(safe-area-inset-top) + 6.8rem)); right: max(1rem, env(safe-area-inset-right)); z-index: 1003; display: inline-flex; align-items: center; width: min(300px, calc(100vw - 2rem)); min-height: 58px; gap: .65rem; padding: .62rem .76rem; color: #f4f4f4; background: #1c1c1c; border: 1px solid #4a4a4a; border-radius: 15px; box-shadow: 0 12px 30px rgba(0, 0, 0, .34); cursor: pointer; text-align: left; }
    .account-mobile-menu-trigger:hover { border-color: var(--gold); transform: translateY(-1px); }
    .account-mobile-menu-trigger-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; align-content: center; justify-items: center; gap: 4px; background: var(--gold); border-radius: 11px; box-shadow: 0 5px 14px rgba(255, 183, 0, .22); }
    .account-mobile-menu-trigger-icon i { display: block; width: 17px; height: 2px; background: #171717; border-radius: 999px; }
    .account-mobile-menu-trigger-copy { display: grid; min-width: 0; gap: .08rem; }
    .account-mobile-menu-trigger-copy strong { overflow: hidden; color: #f3f3f3; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
    .account-mobile-menu-trigger-copy small { overflow: hidden; color: #aaa; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
    .account-mobile-menu-trigger-arrow { margin-left: auto; color: var(--gold); font-size: 1.15rem; font-weight: 900; }
    .account-menu-backdrop { position: fixed; z-index: 1004; inset: 0; display: block; background: rgba(0, 0, 0, .68); border: 0; cursor: default; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
    .account-menu-backdrop.is-visible { opacity: 1; pointer-events: auto; }
    /* El panel se monta a nivel de viewport: ya no lo recorta la página al desplazarse. */
    .account-page .account-navigation { position: fixed !important; z-index: 1005; top: 0; bottom: 0; left: 0; display: grid !important; width: min(84vw, 340px); min-height: 100dvh; grid-template-columns: minmax(0, 1fr); align-content: start; gap: .42rem; overflow-y: auto; padding: 1rem; background: #181818; border: 0; border-right: 1px solid #454545; border-radius: 0 16px 16px 0; box-shadow: 16px 0 38px rgba(0, 0, 0, .42); transform: translateX(-106%); transition: transform .24s ease; }
    .account-page .account-navigation.is-open { transform: translateX(0); }
    .account-page .account-navigation nav { display: grid; overflow: visible; border: 0; }
    .account-page .account-navigation a { min-height: 44px; padding: .72rem .75rem; color: #c7c7c7; border: 0; font-size: 13px; text-align: left; }
    .account-page .account-navigation a:hover, .account-page .account-navigation a.is-active { padding-left: .75rem; color: #fff; background: #292929; }
    .account-page .account-navigation__logout { display: block; margin-top: .45rem; padding-top: .55rem; border-top: 1px solid #454545; }
    .account-mobile-menu-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .2rem .1rem .75rem; margin-bottom: .18rem; border-bottom: 1px solid #454545; }
    .account-mobile-menu-heading > div { display: grid; min-width: 0; gap: .14rem; }
    .account-mobile-menu-heading span { color: var(--gold); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
    .account-mobile-menu-heading strong { color: #f4f4f4; font-size: .84rem; line-height: 1.35; }
    .account-mobile-menu-heading button { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; padding: 0; color: #f2f2f2; background: #242424; border: 1px solid #4a4a4a; border-radius: 10px; cursor: pointer; }
    .account-mobile-menu-heading button:hover { color: var(--gold); border-color: var(--gold); }
    .account-mobile-menu-heading svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
    .header__actions .user-name { display: none; }
    .header__actions .user-status { width: 40px; min-width: 40px; padding: 0; }
    .header__actions .user-avatar { width: 36px; height: 36px; flex-basis: 36px; }
    .header__actions .header-account-logout .icon-button { width: 40px; min-width: 40px; height: 40px; justify-content: center; padding: 0; }
    .header__actions .header-account-logout .icon-button span { display: none; }
}
@media (max-width: 760px) {
    .account-settings-form { grid-template-columns: minmax(0, 1fr); }
    .account-settings-form__full { grid-column: auto; }
    .account-metrics, .account-summary-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .account-page { padding-top: 126px; padding-bottom: 76px; }
    .account-mobile-menu-trigger { top: max(6.85rem, calc(env(safe-area-inset-top) + 6.05rem)); min-height: 54px; }
    .account-page .account-navigation { width: min(88vw, 340px); }
    .header__actions .header-account-logout { display: inline-flex; }
}
/* v27 | Layout fluido global y navegación móvil lateral. */
html { overflow-x: clip; }
body, main, .site-footer, .shell, .header__inner, .header__actions { min-width: 0; }
@media (min-width: 1280px) {
    /* Aprovecha monitores amplios manteniendo respiración lateral profesional. */
    :root { --shell: min(1920px, calc(100vw - 64px)); }
}

/* El panel móvil permanece oculto fuera de tabletas y teléfonos. */
.mobile-navigation, .mobile-navigation__heading, .mobile-navigation__backdrop { display: none; }
@media (max-width: 1080px) {
    body.mobile-menu-open { overflow: hidden; }
    .site-header { z-index: 2200; }
    .header__inner { grid-template-columns: minmax(0, 1fr) auto; min-height: 72px; gap: 12px; }
    .brand { width: min(150px, 38vw); }
    .desktop-navigation { display: none; }
    .header__actions { grid-column: 2; justify-self: end; display: flex; flex-wrap: nowrap; gap: 2px; }
    /* Lectura visual de izquierda a derecha: salir, carrito, buscar, usuario, menú. */
    .header__actions .header-account-logout { order: 0; }
    .header__actions .cart-trigger { order: 1; }
    .header__actions [data-search-toggle] { order: 2; display: inline-grid !important; }
    .header__actions .account-button { order: 3; }
    .header__actions .header__menu-button { order: 4; display: grid; }
    .header__actions .panel-trigger { display: none !important; }
    .header__actions .icon-button, .header__actions .cart-trigger { width: 40px; height: 40px; }
    .header__actions .icon-button svg, .header__actions .cart-trigger svg { width: 21px; height: 21px; }
    .header__menu-button { gap: 5px; }
    .header__menu-button span { width: 23px; height: 2px; border-radius: 99px; }
    .header__menu-button[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .header__menu-button[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
    .header__menu-button[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Mismo patrón lateral de VoriSoft/PixelVault, con la paleta de Sublime. */
    .mobile-navigation { position: fixed !important; z-index: 2202; top: 0; bottom: 0; left: 0; display: flex !important; width: min(84vw, 340px); min-height: 100dvh; flex-direction: column; overflow-y: auto; padding: 17px; background: #181818 !important; border: 0; border-right: 1px solid #454545; border-radius: 0 16px 16px 0; box-shadow: 16px 0 38px rgba(0, 0, 0, .46); opacity: 1; pointer-events: none; transform: translateX(-106%); transition: transform .24s ease; }
    .mobile-navigation.is-open { pointer-events: auto; transform: translateX(0); }
    .mobile-navigation__backdrop { position: fixed; z-index: 2201; inset: 0; display: block; background: rgba(0, 0, 0, .7); border: 0; opacity: 0; pointer-events: none; transition: opacity .24s ease; }
    .mobile-navigation__backdrop.is-visible { opacity: 1; pointer-events: auto; }
    .mobile-navigation__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 2px 2px 16px; margin-bottom: 4px; border-bottom: 1px solid #454545; }
    .mobile-navigation__heading > div { display: grid; gap: 3px; }
    .mobile-navigation__heading span { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .mobile-navigation__heading strong { color: #f4f4f4; font-size: 15px; }
    .mobile-navigation__heading button { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; color: #f3f3f3; background: #242424; border: 1px solid #4a4a4a; border-radius: 10px; }
    .mobile-navigation__heading button:hover { color: var(--gold); border-color: var(--gold); }
    .mobile-navigation__heading svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
    .mobile-navigation > a, .mobile-navigation__group > summary, .mobile-navigation__group details summary { min-height: 48px; padding: 15px 4px; color: #dedede; border-bottom: 1px solid #333; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
    .mobile-navigation > a:hover, .mobile-navigation > a.is-active, .mobile-navigation__group summary:hover { color: var(--gold); }
    .mobile-navigation__group { border-color: #333; }
    .mobile-navigation__group > div { padding-left: 15px; }
    .mobile-navigation__group details { border-color: #333; }
    .mobile-navigation__group details a { color: #bbb; }
}

/* Refuerzo de jerarquía fluida para las vistas de catálogo, producto, carrito y pie. */
@media (max-width: 1080px) {
    .section-heading, .shop-toolbar, .product-detail__content, .footer__grid > *, .product-detail > * { min-width: 0; }
    .product-detail { gap: clamp(28px, 5vw, 54px); }
    .product-grid--shop { gap: 28px 16px; }
}
@media (max-width: 820px) {
    .product-detail, .shop-layout { grid-template-columns: minmax(0, 1fr); }
    .product-detail { padding-block: clamp(46px, 8vw, 72px); }
    .product-detail__content { max-width: 720px; }
    .product-grid, .product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    :root { --shell: calc(100vw - 28px); }
    .header__inner { min-height: 65px; gap: 5px; }
    .brand { width: min(112px, 31vw); }
    .header__actions .icon-button, .header__actions .cart-trigger { width: 34px; height: 38px; }
    .header__actions .icon-button svg, .header__actions .cart-trigger svg { width: 19px; height: 19px; }
    .header__actions .header-account-logout .icon-button { width: 34px; min-width: 34px; height: 38px; }
    .header__actions .user-status { width: 34px; min-width: 34px; }
    .header__actions .user-avatar { width: 31px; height: 31px; flex-basis: 31px; font-size: 10px; }
    .header__menu-button span { width: 20px; }
    .mobile-navigation { width: min(88vw, 340px); }
    .product-grid, .product-grid--shop { gap: 28px 11px; }
    .product-card__info h2, .product-card__info h3 { overflow-wrap: anywhere; }
    .product-detail h1 { font-size: clamp(31px, 10vw, 44px); }
    .product-detail__description { font-size: 14px; }
    .footer__grid { grid-template-columns: minmax(0, 1fr); }
    .footer__brand { grid-column: auto; }
}
/* v28 | Igualdad visual de acciones móviles, cuenta en el menú y footer respirado. */
@media (min-width: 1280px) {
    /* El footer conserva aire lateral aunque el resto del sitio aproveche el monitor amplio. */
    .site-footer .shell { width: min(1500px, calc(100vw - 160px)); }
}
@media (max-width: 1080px) {
    /* Lectura de derecha a izquierda: menú, salir, usuario, buscar y carrito. */
    .header__actions .cart-trigger { order: 1; }
    .header__actions [data-search-toggle] { order: 2; }
    .header__actions .account-button { order: 3; }
    .header__actions .header-account-logout { order: 4; }
    .header__actions .header__menu-button { order: 5; }
    .header__actions .icon-button,
    .header__actions .cart-trigger,
    .header__actions .header-account-logout .icon-button { width: 40px; min-width: 40px; height: 40px; }
    .header__actions .icon-button svg,
    .header__actions .cart-trigger svg { width: 24px; height: 24px; }
    .header__actions .user-status { width: 40px; min-width: 40px; height: 40px; }
    .header__actions .user-avatar { width: 40px; height: 40px; flex-basis: 40px; }
    .header__menu-button span { width: 24px; }
    .mobile-navigation__account { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 15px 0 17px; margin-bottom: 4px; border-bottom: 1px solid #454545; }
    .mobile-navigation__account > span { grid-column: 1 / -1; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .mobile-navigation__account a,
    .mobile-navigation__account button { display: flex; min-height: 42px; align-items: center; justify-content: center; padding: 8px 10px; color: #e9e9e9; background: #242424; border: 1px solid #444; border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
    .mobile-navigation__account a:hover,
    .mobile-navigation__account button:hover { color: #171717; background: var(--gold); border-color: var(--gold); }
    .mobile-navigation__account form { min-width: 0; margin: 0; }
    .mobile-navigation__account form button { width: 100%; color: #ffb3b3; }
    .mobile-navigation__account form button:hover { color: #fff; background: #8d3333; border-color: #a94747; }
}
@media (max-width: 560px) {
    /* En teléfono todas las acciones conservan el mismo cuadro táctil. */
    .header__actions .icon-button,
    .header__actions .cart-trigger,
    .header__actions .header-account-logout .icon-button,
    .header__actions .user-status { width: 34px; min-width: 34px; height: 34px; }
    .header__actions .icon-button svg,
    .header__actions .cart-trigger svg { width: 20px; height: 20px; }
    .header__actions .user-avatar { width: 34px; height: 34px; flex-basis: 34px; }
    .header__menu-button span { width: 20px; }
}
@media (max-width: 390px) {
    .brand { width: min(96px, 29vw); }
    .header__inner { gap: 2px; }
    .header__actions { gap: 0; }
    .header__actions .icon-button,
    .header__actions .cart-trigger,
    .header__actions .header-account-logout .icon-button,
    .header__actions .user-status { width: 32px; min-width: 32px; height: 34px; }
    .header__actions .user-avatar { width: 32px; height: 32px; flex-basis: 32px; }
}
/* v29 | Header icon alignment, mobile account placement and product density. */
@keyframes sublime-user-online-pulse {
  0%, 100% { box-shadow: 0 0 0 2px #151515, 0 0 5px rgba(117, 224, 146, .82), 0 0 11px rgba(117, 224, 146, .34); }
  50% { box-shadow: 0 0 0 2px #151515, 0 0 8px rgba(117, 224, 146, 1), 0 0 17px rgba(117, 224, 146, .66); }
}

/* The avatar status remains discreet while clearly communicating an active session. */
.header__actions .user-avatar i {
  animation: sublime-user-online-pulse 1.8s ease-in-out infinite;
}

/* Search and cart share one optical scale with the surrounding navigation controls. */
.header__actions [data-search-toggle] svg,
.header__actions .cart-trigger svg {
  width: 28px;
  height: 28px;
}

@media (prefers-reduced-motion: reduce) {
  .header__actions .user-avatar i { animation: none; }
}

@media (max-width: 1080px) {
  /* Tablet: two complete cards per row in catalogue, home and product rails. */
  .product-grid,
  .product-grid--shop,
  .related-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-rail {
    grid-auto-columns: calc((100% - var(--space-4)) / 2);
  }
}

@media (max-width: 1080px) {
  /* Order is read from the outer edge inward: menu, logout, account, search, cart. */
  .header__actions .cart-trigger { order: 1; }
  .header__actions [data-search-toggle] { order: 2; }
  .header__actions .header-account-icon { order: 3; }
  .header__actions .header-account-logout { order: 4; }
  .header__actions .header__menu-button { order: 5; }

  .header__actions .icon-button,
  .header__actions .cart-trigger,
  .header__actions .header__menu-button {
    width: 40px;
    height: 40px;
  }

  .header__actions .user-avatar {
    width: 40px;
    height: 40px;
  }

  .header__actions [data-search-toggle] svg,
  .header__actions .cart-trigger svg { width: 24px; height: 24px; }

  .header__actions .header__menu-button span { width: 24px; }

  /* Keep account actions anchored at the bottom of the vertical navigation drawer. */
  .mobile-navigation > a,
  .mobile-navigation__group { order: 1; }

  .mobile-navigation__account {
    order: 2;
    margin-top: auto;
  }
}

@media (max-width: 560px) {
  /* Phone: one full-width item per row, with the rail keeping the same rhythm. */
  .product-grid,
  .product-grid--shop,
  .related-products .product-grid { grid-template-columns: minmax(0, 1fr); }

  .product-rail { grid-auto-columns: 100%; }

  .header__actions .icon-button,
  .header__actions .cart-trigger,
  .header__actions .header__menu-button,
  .header__actions .user-avatar {
    width: 34px;
    height: 34px;
  }

  .header__actions [data-search-toggle] svg,
  .header__actions .cart-trigger svg { width: 21px; height: 21px; }

  .header__actions .header__menu-button span { width: 21px; }
}

@media (max-width: 390px) {
  .header__actions .icon-button,
  .header__actions .cart-trigger,
  .header__actions .header__menu-button,
  .header__actions .user-avatar {
    width: 32px;
    height: 32px;
  }

  .header__actions [data-search-toggle] svg,
  .header__actions .cart-trigger svg { width: 19px; height: 19px; }

  .header__actions .header__menu-button span { width: 19px; }
}
/* v30 | A phone always presents one product at a time; tablets retain two. */
@media (max-width: 767px) {
  .product-grid,
  .product-grid--shop,
  .related-products .product-grid { grid-template-columns: minmax(0, 1fr); }

  .product-rail { grid-auto-columns: 100%; }
}
/* v31 | Un mismo encabezado lateral para tablet y teléfono, sin espacio artificial. */
@media (max-width: 1080px) {
  /* Las acciones siguen inmediatamente a Shop, no quedan empujadas al fondo del panel. */
  .mobile-navigation__account {
    margin-top: 0;
    padding-top: 12px;
  }

  /* Todos los accesos mantienen el mismo objetivo táctil y un peso visual equivalente. */
  .header__actions .user-status {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
  }

  .header__actions .user-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .header__actions .user-name,
  .header__actions .header-account-logout .icon-button span { display: none; }

  .header__actions .header-account-logout .icon-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 560px) {
  .header__actions .user-avatar {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

@media (max-width: 390px) {
  .header__actions .user-avatar {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }
}
/* v32 | Resumen de cuenta legible y paneles siempre por encima del encabezado móvil. */
@media (max-width: 1080px) {
  /* Restore horizontal breathing room removed by the compact account layout. */
  .account-metrics article,
  .account-summary-card { padding-inline: clamp(18px, 3vw, 25px); }

  .account-orders th:first-child,
  .account-orders td:first-child { padding-left: clamp(19px, 3vw, 25px); }

  .account-orders th:last-child,
  .account-orders td:last-child { padding-right: clamp(19px, 3vw, 25px); }

  /* The account drawer must remain reachable above the fixed site header. */
  .account-mobile-menu-trigger { z-index: 2303; }
  .account-menu-backdrop { z-index: 2304; }
  .account-page .account-navigation { z-index: 2305; }
}

/* Shared overlays have a single layer above account navigation and the site header. */
.scrim { z-index: 3000; }
.drawer { z-index: 3001; }
.modal { z-index: 3002; }
/* v33 | El menú principal tiene prioridad visual sobre el acceso flotante de Mi cuenta. */
@media (max-width: 1080px) {
  .mobile-navigation { z-index: 2405; }
  .mobile-navigation__backdrop { z-index: 2404; }

  /* The body class is managed by setMobileMenuOpen, so the account widget returns on close. */
  body.mobile-menu-open .account-mobile-menu-trigger,
  body.search-panel-open .account-mobile-menu-trigger {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(calc(100% + 24px));
  }
}
/* v34 | El panel de redes comparte la capa de los paneles laterales y no queda bajo el scrim. */
.brand-panel {
  z-index: 3001;
  background: #f7f7f7;
  color: #111;
}
/* v35 | Densidad de Shop y controles de navegación equilibrados en cada pantalla. */
@media (min-width: 1081px) {
  /* Desktop gains a clearer navigation hierarchy without changing the catalogue width. */
  .header__inner { min-height: 106px; }
  .desktop-navigation { gap: clamp(23px, 2.4vw, 42px); }
  .desktop-navigation a { padding: 42px 0 38px; font-size: 13px; }
  .desktop-navigation a::after { bottom: 28px; }
  .header__actions { gap: 12px; }
  .header__actions .icon-button,
  .header__actions .cart-trigger { width: 50px; height: 50px; }
  .header__actions .icon-button svg,
  .header__actions .cart-trigger svg { width: 28px; height: 28px; }
  .header__actions .user-avatar { width: 36px; height: 36px; flex-basis: 36px; }
}

@media (max-width: 1080px) {
  /* Shop uses two full cards across every tablet width. */
  .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 22px; }

  /* Larger yet bounded controls retain enough space for five signed-in actions. */
  .header__actions { gap: 4px; }
  .header__actions .icon-button,
  .header__actions .cart-trigger,
  .header__actions .header-account-logout .icon-button,
  .header__actions .user-status { width: 42px; min-width: 42px; height: 42px; }
  .header__actions [data-search-toggle] svg,
  .header__actions .cart-trigger svg,
  .header__actions .header-account-logout svg { width: 25px; height: 25px; }
  .header__actions .header__menu-button span { width: 25px; }
  .header__actions .user-avatar { width: 34px; height: 34px; flex-basis: 34px; }

  /* Compact, self-explanatory account access for tablets and phones. */
  .account-mobile-menu-trigger {
    width: auto;
    min-height: 44px;
    height: 44px;
    gap: 7px;
    padding: 0 11px 0 13px;
    border-radius: 999px;
  }
  .account-mobile-menu-trigger-icon { display: none; }
  .account-mobile-menu-trigger-copy { display: block; min-width: 0; }
  .account-mobile-menu-trigger-copy strong { display: block; color: #f3f3f3; font-size: .63rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
  .account-mobile-menu-trigger-copy small { display: none; }
  .account-mobile-menu-trigger-arrow { margin-left: 0; color: var(--gold); font-size: 1.35rem; line-height: 1; }
}

@media (max-width: 767px) {
  /* A phone presents one complete Shop product at a time, like the home catalogue. */
  .shop-products { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .shop-product__media { margin-bottom: 18px; }
  .shop-product__select { height: 52px; }
  .shop-product__data h2 { font-size: 1.125rem; }
  .shop-product__price { font-size: 1rem; }
  .shop-product__rating { font-size: .8125rem; }
  .shop-product__sizes { width: 210px; font-size: .6875rem; }

  /* Reserve clear footer space so WhatsApp never overlaps the copyright line. */
  .site-footer { padding-bottom: 86px; }
}

@media (max-width: 560px) {
  .header__actions { gap: 3px; }
  .header__actions .icon-button,
  .header__actions .cart-trigger,
  .header__actions .header-account-logout .icon-button,
  .header__actions .user-status { width: 36px; min-width: 36px; height: 36px; }
  .header__actions [data-search-toggle] svg,
  .header__actions .cart-trigger svg,
  .header__actions .header-account-logout svg { width: 22px; height: 22px; }
  .header__actions .header__menu-button span { width: 22px; }
  .header__actions .user-avatar { width: 29px; height: 29px; flex-basis: 29px; }
}

@media (max-width: 390px) {
  .header__actions { gap: 1px; }
  .header__actions .icon-button,
  .header__actions .cart-trigger,
  .header__actions .header-account-logout .icon-button,
  .header__actions .user-status { width: 34px; min-width: 34px; height: 34px; }
  .header__actions .user-avatar { width: 27px; height: 27px; flex-basis: 27px; }
}
/* v36 | Navegación ampliada, submenús estables y ficha individual ordenada. */
@media (min-width: 1081px) {
  /* El menú ampliado conserva un único plano vertical para enlaces y T-shirts. */
  .desktop-navigation { align-self: stretch; align-items: stretch; gap: clamp(19px, 2vw, 34px); }
  .desktop-navigation > a,
  .desktop-navigation .nav-dropdown__trigger {
    display: inline-flex;
    min-height: 100%;
    align-items: center;
    padding: 0;
    font-size: 13px !important;
  }
  .desktop-navigation > a::after,
  .desktop-navigation .nav-dropdown__trigger::after { bottom: 21px; }
  .nav-dropdown { display: flex; align-items: stretch; }
  .nav-dropdown__top { display: flex; align-items: stretch; }

  /* El primer nivel queda por debajo de la línea activa, con puente de hover. */
  .nav-dropdown > .nav-submenu {
    top: calc(100% + 2px) !important;
    left: -18px;
    width: 214px;
    padding: 7px 0 10px;
    border: 1px solid #3c3c3c;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 20px 34px rgba(0, 0, 0, .42);
  }
  .nav-dropdown > .nav-submenu::before { top: -13px; height: 13px; }
  .nav-submenu > a,
  .nav-submenu__link-row > a { min-height: 46px; padding-inline: 18px; font-size: 12px; }
  .nav-submenu__link-row { grid-template-columns: minmax(0, 1fr) 41px; }
  .nav-submenu__toggle { display: grid; width: 41px; height: 46px; }
  .nav-submenu__toggle svg { width: 15px; height: 15px; }
  .nav-submenu > a::after,
  .nav-submenu__link-row > a::after { right: 18px; bottom: 5px; left: 18px; }

  /* Anime abre su segundo nivel alineado al primer renglón y sin solaparlo. */
  .nav-submenu--nested {
    top: -8px !important;
    left: calc(100% + 9px) !important;
    width: 194px;
    min-height: 0;
    padding: 7px 0 12px;
    border-radius: 0 0 10px 10px;
  }
  .nav-submenu--nested::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    width: 10px;
    content: '';
  }
  .nav-submenu--nested > a { min-height: 42px; }
}

/* La salida conserva una acción inequívoca, pero en escritorio se reduce al
   icono para no competir con los accesos principales del menú. */
.header__actions .header-account-logout .icon-button { flex-direction: row; }
.header__actions [data-search-toggle] { margin-right: clamp(5px, .55vw, 10px); }

/* La ficha sigue el flujo: identidad, precio y reviews; detalles; variantes; acción final. */
.product-detail__content > h1 { margin: 0 0 13px; }
.product-detail__price { margin: 0 0 9px; }
.product-rating { margin: 0 0 12px; }
.stock-status { margin: 0 0 25px; }
.product-specs { margin-top: 0; }
.product-meta { margin: 22px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.product-options { margin: 27px 0 0; }
.product-options .purchase-controls { margin-top: 28px; }
.product-detail__add { min-height: 54px; }

@media (max-width: 1080px) {
  .header__actions [data-search-toggle] { margin-right: 5px; }
}
@media (max-width: 560px) {
  .header__actions [data-search-toggle] { margin-right: 2px; }
  .product-meta { padding-bottom: 18px; }
  .product-options .purchase-controls { margin-top: 22px; }
}
/* v37 | Respiración del encabezado, validación visual y resumen de compra alineado. */
/* En escritorio se separan explícitamente búsqueda, cuenta y salida sin alterar el orden. */
@media (min-width: 1081px) {
  .header__actions { gap: 14px; }
  .header__actions [data-search-toggle] { margin-right: 14px; }
  .header__actions .header-account-icon { margin-right: 12px; }
  /* En PC se iguala al resto de botones de icono; título y etiqueta accesible
     mantienen claro el propósito sin ocupar espacio horizontal. */
  .header__actions .header-account-logout .icon-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 40px;
    justify-content: center;
    gap: 0;
    padding: 0;
    color: #f7f7f7;
    background: rgba(255, 196, 0, .045);
    border: 1px solid rgba(255, 196, 0, .58);
    border-radius: 8px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .header__actions .header-account-logout .header-account-logout__label { display: none; }
  .header__actions .header-account-logout .icon-button:hover,
  .header__actions .header-account-logout .icon-button:focus-visible {
    color: #171717;
    background: #ffc400;
    border-color: #ffc400;
    box-shadow: 0 8px 19px rgba(255, 196, 0, .22);
    outline: 0;
    transform: translateY(-1px);
  }
  .header__actions .header-account-logout .icon-button svg { width: 23px; height: 23px; }
}
@media (min-width: 561px) and (max-width: 1080px) {
  .header__actions { gap: 4px; }
  .header__actions [data-search-toggle] { margin-right: 7px; }
  .header__actions .header-account-icon { margin-right: 4px; }
}

/* El mensaje no altera el flujo de las acciones del panel de búsqueda. */
.search-panel__field { min-width: 0; flex: 1; }
.search-panel__field input { width: 100%; }
.search-panel__feedback { min-height: 17px; margin: 5px 0 0; color: #ff8e8e; font-size: 11px; font-weight: 650; line-height: 1.25; }
.search-panel input.is-invalid { border-color: #de6767; }
.shop-search-feedback { margin: 16px 0 0; padding: 12px 15px; color: #ffd0d0; background: #321d20; border: 1px solid #88474b; font-size: 13px; }
@media (max-width: 560px) {
  .search-panel__feedback { min-height: 15px; margin-top: 4px; font-size: 9px; }
}

/* Precio y reviews se leen como un solo resumen de compra, igual que la referencia. */
.product-detail__purchase-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 24px; margin: 0 0 13px; }
.product-detail__purchase-summary .product-detail__price { margin: 0; color: var(--gold); font-size: clamp(25px, 2.15vw, 34px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.product-detail__purchase-summary .product-detail__price ins { color:var(--gold); font:inherit; text-decoration:none; }
.product-detail__purchase-summary .product-detail__price.has-sale { display:inline-flex; align-items:baseline; flex-wrap:wrap; gap:8px; }
.product-detail__purchase-summary .product-detail__price del { color:#9da5ab; font-size:.56em; font-weight:700; letter-spacing:0; text-decoration-color:#d96060; text-decoration-thickness:2px; text-decoration-line:line-through; }
.product-detail__purchase-summary .product-rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; margin: 0; color: var(--gold); font-size: 12px; font-weight: 700; line-height: 1.25; text-decoration: none; }
.product-detail__purchase-summary .product-rating__stars { color: var(--gold); letter-spacing: .1em; white-space: nowrap; }
.product-detail__purchase-summary .product-rating__copy { color: var(--gold); }
.product-detail__purchase-summary .product-rating u { color: var(--gold); text-decoration-color: rgba(255, 203, 60, .58); text-underline-offset: 3px; }
.product-detail__purchase-summary .product-rating:hover,
.product-detail__purchase-summary .product-rating:hover * { color: #ffe184; }
@media (max-width: 560px) {
  .product-detail__purchase-summary { gap: 8px 15px; }
  .product-detail__purchase-summary .product-detail__price { font-size: 27px; }
  .product-detail__purchase-summary .product-rating { font-size: 11px; }
}
/* v38 | Buscador predictivo con miniaturas, limpieza visible y paginación. */
.search-panel { position: relative; z-index: 2400; overflow: visible; }
.search-panel__content { position: relative; }
.search-panel__form { display: flex; align-items: flex-start; gap: 12px; }
.search-panel__field { position: relative; min-width: 0; flex: 1; }
.search-panel__field input { width: 100%; min-height: 52px; padding-right: 61px; }
/* La X de limpieza se ve dentro del input y conserva un objetivo táctil cómodo. */
.search-field-clear { position: absolute; z-index: 2; top: 9px; right: 10px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; color: #151515; background: var(--gold); border: 1px solid #ffe497; border-radius: 50%; box-shadow: 0 4px 13px rgba(255, 203, 60, .25); font-size: 28px; font-weight: 800; line-height: .75; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.search-field-clear:hover, .search-field-clear:focus-visible { color: var(--gold); background: #222; outline: 0; transform: rotate(90deg) scale(1.08); }
.search-panel__feedback { min-height: 17px; margin: 5px 0 0; color: #ff9696; font-size: 11px; font-weight: 700; line-height: 1.35; }
.search-panel input.is-invalid { border-color: #eb6b6b; box-shadow: 0 0 0 3px rgba(235, 107, 107, .12); }
/* El cierre del panel se diferencia de la X que limpia la consulta. */
.search-panel .search-close { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; padding: 0; color: var(--gold); background: #202020; border: 1px solid #585858; border-radius: 10px; font-size: 38px; font-weight: 800; line-height: 1; cursor: pointer; }
.search-panel .search-close:hover, .search-panel .search-close:focus-visible { color: #161616; background: var(--gold); border-color: var(--gold); outline: 0; transform: rotate(90deg); }
.search-panel__form > .button { min-height: 52px; flex: 0 0 auto; }
/* Sugerencias sobre el contenido, hasta cinco filas para conservar lectura rápida. */
.search-panel__suggestions { position: absolute; z-index: 12; top: calc(100% + 7px); right: 0; left: 0; display: grid; gap: 7px; max-height: min(510px, calc(100dvh - 145px)); overflow-y: auto; padding: 13px; color: #f4f4f4; background: #181818; border: 1px solid #4a4a4a; border-radius: 12px; box-shadow: 0 20px 42px rgba(0, 0, 0, .48); }
.search-panel__suggestions[hidden] { display: none; }
.search-panel__suggestions-summary { margin: 0 3px 4px; color: #cfcfcf; font-size: 12px; line-height: 1.35; }
.search-panel__suggestion-list { display: grid; gap: 5px; }
.search-panel__suggestion { display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; gap: 11px; min-width: 0; padding: 7px; color: #f2f2f2; border: 1px solid transparent; border-radius: 9px; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.search-panel__suggestion:hover, .search-panel__suggestion:focus-visible { color: #fff; background: #252525; border-color: rgba(255, 203, 60, .58); outline: 0; transform: translateX(2px); }
.search-panel__suggestion img, .search-panel__suggestion-mark { display: grid; width: 46px; height: 46px; place-items: center; overflow: hidden; background: #2a2a2a; border-radius: 7px; object-fit: cover; }
.search-panel__suggestion-mark { color: #171717; background: var(--gold); font-size: 17px; font-weight: 900; }
.search-panel__suggestion-copy { display: grid; min-width: 0; gap: 3px; }
.search-panel__suggestion-copy strong, .search-panel__suggestion-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-panel__suggestion-copy strong { color: inherit; font-size: 13px; line-height: 1.25; }
.search-panel__suggestion-copy small { color: #aaa; font-size: 11px; }
.search-panel__suggestion-arrow { color: var(--gold); font-size: 20px; font-weight: 800; text-align: center; }
.search-panel__view-all { display: flex; min-height: 42px; align-items: center; justify-content: center; margin-top: 3px; padding: 0 16px; color: #171717; background: var(--gold); border: 1px solid var(--gold); border-radius: 8px; font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; transition: color .18s ease, background .18s ease, transform .18s ease; }
.search-panel__view-all:hover, .search-panel__view-all:focus-visible { color: var(--gold); background: #202020; outline: 0; transform: translateY(-1px); }
/* Paginación de resultados: siempre comunica el total y la página actual. */
.shop-pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: clamp(35px, 5vw, 62px); padding-top: 22px; border-top: 1px solid var(--line); color: #bdbdbd; font-size: 12px; }
.shop-pagination > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.shop-pagination a { display: grid; min-width: 38px; height: 38px; place-items: center; padding: 0 8px; color: #e6e6e6; border: 1px solid #4a4a4a; border-radius: 5px; font-weight: 800; text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.shop-pagination a:hover, .shop-pagination a:focus-visible, .shop-pagination a.is-active { color: #171717; background: var(--gold); border-color: var(--gold); outline: 0; }
@media (max-width: 560px) {
  .search-panel__form { gap: 6px; }
  .search-panel__field input { min-height: 46px; padding-right: 54px; }
  .search-field-clear { top: 7px; right: 8px; width: 32px; height: 32px; font-size: 26px; }
  .search-panel .search-close { width: 44px; height: 46px; flex-basis: 44px; border-radius: 8px; font-size: 32px; }
  .search-panel__form > .button { min-height: 46px; padding-inline: 11px; }
  .search-panel__suggestions { top: calc(100% + 5px); padding: 9px; border-radius: 9px; }
  .search-panel__suggestion { grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 9px; padding: 6px; }
  .search-panel__suggestion img, .search-panel__suggestion-mark { width: 40px; height: 40px; }
  .search-panel__suggestion-copy strong { font-size: 12px; }
  .search-panel__suggestion-copy small { font-size: 10px; }
  .shop-pagination { align-items: flex-start; flex-direction: column; gap: 12px; }
  .shop-pagination > div { justify-content: flex-start; }
}
/* v39 | Ajustes finales de buscador, ficha de producto y navegación. */
/* Se retira el botón añadido: Chrome conserva su X nativa con una apariencia más clara. */
.search-panel__field input { padding-right: 52px; }
.search-panel input[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  border: 1px solid #ffe394;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 45%, #181818 46%, #181818 54%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #181818 46%, #181818 54%, transparent 55%),
    var(--gold);
  box-shadow: 0 3px 10px rgba(255, 203, 60, .24);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}
.search-panel input[type='search']::-webkit-search-cancel-button:hover { transform: rotate(90deg) scale(1.07); }
/* El botón X exterior recupera el tratamiento ligero y sin recuadro anterior. */
.search-panel .search-close {
  width: 51px;
  height: 51px;
  flex-basis: 51px;
  padding: 0;
  color: #e9e9e9;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 40px;
  font-weight: 200;
}
.search-panel .search-close:hover,
.search-panel .search-close:focus-visible { color: var(--gold); background: transparent; border-color: transparent; outline: 0; transform: rotate(90deg); }
/* La jerarquía de la ficha coincide con la referencia: extremos opuestos, una sola línea. */
.product-detail__purchase-summary { justify-content: space-between; flex-wrap: nowrap; gap: 18px; }
.product-detail__purchase-summary .product-rating { flex: 0 0 auto; font-size: 17px; }
.product-detail__purchase-summary .product-rating__stars { letter-spacing: .12em; }
.product-specs__heading { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 18px; padding: 14px 0; color: #e8e8e8; background: #1b1b1b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.product-specs { border-top: 0; }
/* Solo en escritorio la etiqueta visible cambia a Cuenta y toma el mismo peso que Salir. */
@media (min-width: 1081px) {
  .header__actions .user-name,
  .header__actions .header-account-logout .icon-button { font-size: 13px; }
  .header__actions .header-account-logout .icon-button { font-weight: 750; }
  /* Submenú más compacto, sin separar en exceso Anime y Music Bands. */
  .nav-submenu { padding: 4px 0 7px; }
  .nav-submenu > a,
  .nav-submenu__link-row > a { min-height: 39px; padding-inline: 14px; font-size: 11px; }
  .nav-submenu__link-row { grid-template-columns: minmax(0, 1fr) 36px; }
  .nav-submenu__toggle { width: 36px; height: 39px; }
  .nav-submenu > a::after,
  .nav-submenu__link-row > a::after { right: 14px; bottom: 4px; left: 14px; }
  .nav-submenu--nested { padding: 4px 0 7px; }
}
@media (max-width: 560px) {
  .search-panel__field input { min-height: 46px; padding-right: 47px; }
  .search-panel input[type='search']::-webkit-search-cancel-button { width: 25px; height: 25px; margin-left: 5px; }
  .search-panel .search-close { width: 37px; height: 40px; flex-basis: 37px; border-radius: 0; font-size: 29px; }
  .product-detail__purchase-summary { flex-wrap: wrap; }
  .product-specs__heading { grid-template-columns: 1fr; gap: 2px; padding: 11px 12px; }
}
/* v40 | Acabados compactos de controles, tabla y submenú. */
/* Cierre exterior: círculo oscuro, borde tenue y transición contenida. */
.search-panel .search-close {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  color: #e6e6e6;
  background: #202020;
  border: 1px solid #505050;
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .22);
  font-size: 31px;
  font-weight: 300;
}
.search-panel .search-close:hover,
.search-panel .search-close:focus-visible { color: #fff; background: #303030; border-color: #a8a8a8; box-shadow: 0 7px 17px rgba(0, 0, 0, .3); transform: rotate(90deg) scale(1.04); }
/* La X nativa solo aparece con contenido; ahora es grafito, sin amarillo. */
.search-panel input[type='search']::-webkit-search-cancel-button {
  width: 27px;
  height: 27px;
  border-color: #5f5f5f;
  background:
    linear-gradient(45deg, transparent 45%, #dedede 46%, #dedede 54%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #dedede 46%, #dedede 54%, transparent 55%),
    #2b2b2b;
  box-shadow: none;
}
.search-panel input[type='search']::-webkit-search-cancel-button:hover { border-color: #bcbcbc; background-color: #3a3a3a; }
/* La cabecera y cada fila tienen aire lateral sin perder sus bordes de tabla. */
.product-specs__heading { padding: 14px 20px; }
.product-specs > div { padding: 16px 20px; }
.product-specs { display:grid; gap:10px; margin:12px 0 0; border:0; }
.product-specs__item { align-items:start; min-width:0; padding:16px 20px; border:1px solid #343434; border-radius:3px; background:#151515; }
.product-specs__item:nth-child(even) { background:#1b1b1b; }
.product-specs__item dt { min-width:0; color:#ddd; }
.product-specs__item dd { min-width:0; line-height:1.55; }
/* Producto individual: los ajustes de la administración se limitan a la
   ficha activa para no alterar carrito, checkout ni otras tablas del sitio. */
.product-detail[data-product-detail-managed] .product-specs { gap:var(--product-specs-gap,10px); margin-top:calc(12px + var(--product-specs-margin-top,0px)); margin-bottom:var(--product-specs-margin-bottom,0px); }
.product-detail[data-product-detail-managed] .product-specs__heading { padding:var(--product-specs-padding-top,16px) var(--product-specs-padding-right,20px) var(--product-specs-padding-bottom,16px) var(--product-specs-padding-left,20px); color:var(--product-specs-heading-color,#fff); border-color:var(--product-specs-primary-border-color,#343434); background:var(--product-specs-heading-background,#000814); }
.product-detail[data-product-detail-managed] .product-specs__item { padding:var(--product-specs-padding-top,16px) var(--product-specs-padding-right,20px) var(--product-specs-padding-bottom,16px) var(--product-specs-padding-left,20px); border:var(--product-specs-primary-border-width,1px) var(--product-specs-primary-border-style,solid) var(--product-specs-primary-border-color,#343434); border-radius:var(--product-specs-radius,3px); background:var(--product-specs-primary-background,#1d1d1d); }
.product-detail[data-product-detail-managed] .product-specs__item:nth-child(even) { border:var(--product-specs-secondary-border-width,1px) var(--product-specs-secondary-border-style,solid) var(--product-specs-secondary-border-color,#343434); background:var(--product-specs-secondary-background,#121212); }
.product-detail[data-product-detail-managed] .product-specs__item dt { color:var(--product-specs-label-color,#e7e7e7); font-size:var(--product-specs-label-size,14px); }
.product-detail[data-product-detail-managed] .product-specs__item dd { color:var(--product-specs-value-color,#a8a8a8); font-size:var(--product-specs-value-size,15px); }
.product-detail[data-product-detail-managed] .color-picker { margin-top:var(--product-color-control-margin-top,24px); }
.product-detail[data-product-detail-managed] .size-picker { margin-top:var(--product-size-control-margin-top,24px); }
.product-detail[data-product-detail-managed] .color-picker > div { gap:var(--product-color-control-gap,8px); }
.product-detail[data-product-detail-managed] .size-picker > div { gap:var(--product-size-control-gap,8px); }
.product-detail[data-product-detail-managed] .color-picker button { width:var(--product-color-control-size,42px); height:var(--product-color-control-size,42px); color:var(--product-color-button-text,#fff); border:var(--product-color-control-border-width,1px) var(--product-color-border-style,solid) var(--product-color-button-border,#535353); border-radius:var(--product-color-control-radius,50px); background:var(--product-color-button-background,#161616); transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease; }
.product-detail[data-product-detail-managed] .size-picker button { width:var(--product-size-control-size,42px); height:var(--product-size-control-size,42px); color:var(--product-size-button-text,#fff); border:var(--product-size-control-border-width,1px) var(--product-size-border-style,solid) var(--product-size-button-border,#535353); border-radius:var(--product-size-control-radius,50px); background:var(--product-size-button-background,#161616); transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease; }
.product-detail[data-product-detail-managed] .color-picker button:hover:not(:disabled) { color:var(--product-color-button-text,#fff); border-color:var(--product-color-hover-border,#f9b700); background:var(--product-color-hover-background,#292929); transform:translateY(-1px); }
.product-detail[data-product-detail-managed] .size-picker button:hover:not(:disabled) { color:var(--product-size-button-text,#fff); border-color:var(--product-size-hover-border,#f9b700); background:var(--product-size-hover-background,#292929); transform:translateY(-1px); }
.product-detail[data-product-detail-managed] .color-picker button.is-active { color:var(--product-color-selected-text,#111); border-color:var(--product-color-selected-border,#f9b700); background:var(--product-color-selected-background,#f9b700); box-shadow:0 0 0 2px color-mix(in srgb,var(--product-color-selected-border,#f9b700) 25%,transparent); }
.product-detail[data-product-detail-managed] .size-picker button.is-active { color:var(--product-size-selected-text,#111); border-color:var(--product-size-selected-border,#f9b700); background:var(--product-size-selected-background,#f9b700); box-shadow:0 0 0 2px color-mix(in srgb,var(--product-size-selected-border,#f9b700) 25%,transparent); }
@media (min-width: 1081px) {
  /* Panel de T-shirts más bajo: elimina el vacío superior y acerca los enlaces. */
  .nav-submenu,
  .nav-submenu--nested { padding: 1px 0 5px; }
  .nav-submenu > a,
  .nav-submenu__link-row > a { min-height: 36px; }
  .nav-submenu__toggle { height: 36px; }
  .nav-submenu--nested > a { min-height: 36px; }
}
@media (max-width: 1080px) {
  .product-specs__heading { padding: 13px 18px; }
  .product-specs > div { padding: 15px 18px; }
  .product-specs__item { padding:15px 18px; }
}
@media (max-width: 560px) {
  .search-panel .search-close { width: 38px; height: 38px; flex-basis: 38px; font-size: 27px; }
  .search-panel input[type='search']::-webkit-search-cancel-button { width: 24px; height: 24px; }
  .product-specs__heading { padding: 12px 16px; }
  .product-specs > div { padding: 14px 16px; }
  .product-specs__item { grid-template-columns:1fr; gap:5px; padding:14px 16px; }
}
/* v41 | Iconografía refinada y respiración móvil de la ficha. */
/* X exterior dibujada con dos trazos: más limpia que un carácter tipográfico. */
.search-panel .search-close { position: relative; overflow: hidden; color: transparent; background: #1e1e1e; border-color: #454545; border-radius: 9px; box-shadow: none; font-size: 0; }
.search-panel .search-close::before,
.search-panel .search-close::after { position: absolute; width: 16px; height: 1.5px; border-radius: 999px; background: #d6d6d6; content: ''; transition: background .18s ease, transform .22s ease; }
.search-panel .search-close::before { transform: rotate(45deg); }
.search-panel .search-close::after { transform: rotate(-45deg); }
.search-panel .search-close:hover,
.search-panel .search-close:focus-visible { background: #292929; border-color: #8d8d8d; box-shadow: 0 5px 15px rgba(0, 0, 0, .28); transform: none; }
.search-panel .search-close:hover::before,
.search-panel .search-close:hover::after,
.search-panel .search-close:focus-visible::before,
.search-panel .search-close:focus-visible::after { background: #fff; }
/* X nativa de Chromium: icono vectorial gris, circular y legible, sin color amarillo. */
.search-panel input[type='search']::-webkit-search-cancel-button {
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='%23272727' stroke='%23787878' stroke-width='1.3'/%3E%3Cpath d='m8.7 8.7 6.6 6.6m0-6.6-6.6 6.6' fill='none' stroke='%23e3e3e3' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: none;
  transition: filter .18s ease, transform .18s ease;
}
.search-panel input[type='search']::-webkit-search-cancel-button:hover { border-color: transparent; background-color: transparent; filter: brightness(1.24); transform: rotate(90deg) scale(1.04); }
/* En tablet y móvil, SKU y los acordeones se separan de los bordes del shell. */
@media (max-width: 1080px) {
  .product-detail__content .product-meta { padding: 0 18px 22px; }
  .product-information .product-accordion > summary { padding-inline: 18px; }
  .product-information .product-accordion > div { padding-right: 18px; padding-bottom: 28px; padding-left: 18px; }
}
@media (max-width: 560px) {
  .search-panel .search-close { width: 38px; height: 38px; flex-basis: 38px; }
  .search-panel .search-close::before,
  .search-panel .search-close::after { width: 14px; }
  .search-panel input[type='search']::-webkit-search-cancel-button { width: 24px; height: 24px; }
  .product-detail__content .product-meta { padding: 0 16px 18px; }
  .product-information .product-accordion > summary { padding-inline: 16px; }
  .product-information .product-accordion > div { padding-right: 16px; padding-bottom: 24px; padding-left: 16px; }
}
@media (min-width: 1081px) {
  /* Enlaces de Anime/Bands y el nivel anidado: altura baja, sin vacío vertical. */
  .nav-submenu,
  .nav-submenu--nested { padding: 0 0 3px; }
  .nav-submenu > a,
  .nav-submenu__link-row > a { min-height: 32px; padding-block: 0; line-height: 1; }
  .nav-submenu__toggle { height: 32px; }
  .nav-submenu--nested > a { min-height: 32px; }
}
/* v42 | Alineación del cierre y ajuste del segundo submenú. */
/* El cierre se centra ópticamente con el alto del input y del botón Buscar. */
.search-panel__form > .search-close { align-self: flex-start; margin-top: 3px; }
@media (max-width: 560px) {
  .search-panel__form > .search-close { margin-top: 4px; }
}
@media (min-width: 1081px) {
  /* Solo el panel anidado recibe aire superior para Demon Slayer y One Piece. */
  .nav-submenu--nested { padding: 6px 0 4px; }
}
/* v43 | Limpieza explícita de búsqueda y paginación orientada al catálogo. */
/* El navegador no dibuja una X propia: el botón con icono de papelera siempre comunica su acción. */
.search-panel input[type='search']::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search-panel__field input { padding-right: 104px; }
.search-field-clear {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 8px;
  color: #dedede;
  background: #292929;
  border: 1px solid #545454;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.search-field-clear[hidden] { display: none !important; }
.search-field-clear svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search-field-clear:hover,
.search-field-clear:focus-visible { color: #171717; background: var(--gold); border-color: var(--gold); outline: 0; transform: translateY(-1px); }
/* La navegación completa se ancla al borde izquierdo del área de resultados. */
.shop-pagination { justify-content: flex-start; }
.shop-pagination > div { justify-content: flex-start; }
@media (max-width: 560px) {
  .search-panel__field input { padding-right: 91px; }
  .search-field-clear { top: 7px; right: 8px; min-height: 30px; gap: 5px; padding-inline: 8px; font-size: 9px; }
  .search-field-clear svg { width: 14px; height: 14px; }
}
/* v44 | Respiro móvil de paginación y contención del control Limpiar. */
.search-panel__field input { padding-right: 116px; }
.search-field-clear { right: 14px; max-width: calc(100% - 28px); box-sizing: border-box; }
.search-field-clear span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .shop-pagination { margin-left: 12px; }
  .search-panel__field input { padding-right: 100px; }
  .search-field-clear { right: 11px; max-width: calc(100% - 22px); }
}
/* v45 | Fallback sin caché: el control Limpiar aparece al escribir incluso antes de que JS sincronice el estado. */
.search-panel__field input:not(:placeholder-shown) ~ .search-field-clear { display: inline-flex !important; }
/* v46 | Orden claro del buscador: Buscar a la izquierda, cierre a la derecha y limpieza con papelera. */
.search-panel__form > .button { order: 1; }
.search-panel__field { order: 2; }
.search-panel__form > .search-close { order: 3; }
.search-panel__field input { padding-right: 62px; }
.search-field-clear { right: 14px; display: grid; width: 34px; min-width: 34px; height: 34px; min-height: 34px; place-items: center; padding: 0; border-radius: 8px; }
.search-field-clear svg { width: 17px; height: 17px; }
.search-panel__field input:not(:placeholder-shown) ~ .search-field-clear { display: grid !important; }
@media (max-width: 560px) {
  .search-panel__field input { padding-right: 55px; }
  .search-field-clear { right: 9px; width: 30px; min-width: 30px; height: 30px; min-height: 30px; border-radius: 7px; }
  .search-field-clear svg { width: 16px; height: 16px; }
}
/* v47 | Campo primero; Buscar y cierre continúan a su derecha. */
.search-panel__field { order: 1; }
.search-panel__form > .button { order: 2; }
.search-panel__form > .search-close { order: 3; }
/* v48 | Secuencia solicitada: input, Buscar y finalmente el cierre. */
.search-panel__field { order: 1; }
.search-panel__form > .button { order: 2; }
.search-panel__form > .search-close { order: 3; }
/*
 * v49 | Controles móviles, overlays y espacio seguro del footer.
 * Estas reglas quedan al final para prevalecer sobre los ajustes responsivos
 * previos sin cambiar la proporción ni la distribución de escritorio.
 */

/* El visor ampliado debe cubrir siempre el encabezado y cualquier panel móvil. */
.image-lightbox { z-index: 4200; }
.image-lightbox button { z-index: 1; }

/* El drawer usa la altura dinámica real del móvil: el pie permanece visible y táctil. */
.drawer { min-height: 0; }
.drawer__items { min-height: 0; }
.drawer__footer { flex: 0 0 auto; }
@supports (height: 100dvh) {
  .drawer { height: 100dvh; }
}

@media (max-width: 767px) {
  /* Reservar un área limpia bajo el copyright frente a WhatsApp y subir página. */
  .site-footer {
    padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px));
  }
  .footer__bottom {
    padding-bottom: 18px;
  }

  /* La CTA del carrito se fija al final de su panel mientras la lista conserva el scroll. */
  .drawer {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .drawer__items {
    overscroll-behavior: contain;
  }
  .drawer__footer {
    position: relative;
    z-index: 1;
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    background: #111;
    box-shadow: 0 -10px 22px rgba(0, 0, 0, .16);
  }
  .drawer__footer .button {
    min-height: 52px;
  }

  /* En teléfono, búsqueda, carrito y cuenta ganan presencia; el menú crece solo un poco. */
  .header__actions {
    gap: 4px;
  }
  .header__actions .icon-button,
  .header__actions .cart-trigger,
  .header__actions .header-account-logout .icon-button,
  .header__actions .user-status {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .header__actions .header__menu-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }
  .header__actions [data-search-toggle] svg,
  .header__actions .cart-trigger svg,
  .header__actions .header-account-icon > svg,
  .header__actions .header-account-logout svg {
    width: 28px;
    height: 28px;
  }
  .header__actions .header__menu-button span {
    width: 24px;
    height: 1.5px;
  }
  .header__actions .user-avatar {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  /* La X se mantiene visible incluso con la navegación fija del producto. */
  .image-lightbox {
    padding: max(22px, env(safe-area-inset-top, 0px)) 18px 22px;
  }
  .image-lightbox button {
    top: max(14px, env(safe-area-inset-top, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: rgba(17, 17, 17, .78);
    box-shadow: 0 4px 17px rgba(0, 0, 0, .35);
    font-size: 37px;
    line-height: 1;
  }
}

/* Mantiene el encabezado dentro de las pantallas más estrechas sin volver pequeños los iconos. */
@media (max-width: 390px) {
  .header__actions {
    gap: 2px;
  }
  .header__actions .icon-button,
  .header__actions .cart-trigger,
  .header__actions .header-account-logout .icon-button,
  .header__actions .user-status {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }
  .header__actions .header__menu-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
  .header__actions [data-search-toggle] svg,
  .header__actions .cart-trigger svg,
  .header__actions .header-account-icon > svg,
  .header__actions .header-account-logout svg {
    width: 25px;
    height: 25px;
  }
  .header__actions .header__menu-button span {
    width: 23px;
  }
  .header__actions .user-avatar {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }
}

@media (max-width: 350px) {
  .header__actions .icon-button,
  .header__actions .cart-trigger,
  .header__actions .header-account-logout .icon-button,
  .header__actions .user-status {
    width: 35px;
    min-width: 35px;
    height: 35px;
  }
  .header__actions .header__menu-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }
  .header__actions [data-search-toggle] svg,
  .header__actions .cart-trigger svg,
  .header__actions .header-account-icon > svg,
  .header__actions .header-account-logout svg {
    width: 23px;
    height: 23px;
  }
  .header__actions .header__menu-button span {
    width: 22px;
  }
}
/*
 * v50 | Afinado de cierre de acceso y acción final del carrito en teléfono.
 * El padding adicional eleva la CTA sobre la zona inferior del navegador móvil.
 */
@media (max-width: 767px) {
  .drawer__footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }

  /* La X del acceso queda más alta, amplia y cómoda para pulsar. */
  .modal__close {
    top: 6px;
    right: 10px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
  }

  /* El icono de cuenta sin sesión se diferencia levemente del resto. */
  .header__actions .header-account-icon:not(.user-status) > svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 390px) {
  .header__actions .header-account-icon:not(.user-status) > svg {
    width: 27px;
    height: 27px;
  }
  .modal__close {
    top: 5px;
    right: 8px;
    width: 45px;
    height: 45px;
    font-size: 32px;
  }
}
/*
 * v51 | Cierres del carrito más visibles y cómodos de usar.
 * La tercera columna acompaña el tamaño del botón para conservar la alineación.
 */
.cart-item {
  grid-template-columns: 76px minmax(0, 1fr) 36px;
}
.cart-item button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
}
.drawer__header .icon-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  font-size: 33px;
  line-height: 1;
}

@media (max-width: 767px) {
  .cart-item {
    grid-template-columns: 76px minmax(0, 1fr) 42px;
  }
  .cart-item button {
    width: 40px;
    height: 40px;
    font-size: 32px;
  }
  .drawer__header .icon-button {
    width: 52px;
    height: 52px;
    font-size: 38px;
  }
}
/* Páginas informativas: contenido administrable con el lenguaje oscuro de Sublime. */
.content-page {
  width: min(1080px, calc(100% - 48px));
  padding-top: clamp(66px, 8vw, 112px);
  padding-bottom: clamp(78px, 10vw, 130px);
}
.content-page__hero {
  max-width: 790px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.content-page__hero .eyebrow { margin-bottom: 12px; }
.content-page__hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -.055em;
}
.content-page__hero > p:last-child {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--grey);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
}
.faq-page__list { display: grid; gap: 11px; margin-top: 32px; }
.faq-page__item {
  overflow: hidden;
  background: #121212;
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color .2s ease, background .2s ease;
}
.faq-page__item[open] { background: #161616; border-color: rgba(255, 211, 49, .55); }
.faq-page__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px;
  color: var(--white);
  cursor: pointer;
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 750;
  line-height: 1.3;
  list-style: none;
}
.faq-page__item summary::-webkit-details-marker { display: none; }
.faq-page__item summary span {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 26px;
  font-weight: 300;
  transition: transform .2s ease;
}
.faq-page__item[open] summary span { transform: rotate(45deg); }
.faq-page__item > div { padding: 0 24px 23px; }
.faq-page__item p,
.policies-page__section p {
  margin: 0;
  color: #bdbdbd;
  font-size: 15px;
  line-height: 1.78;
}
.policies-page__document { max-width: 880px; margin-top: 36px; }
.policies-page__section { padding: 0 0 32px; margin-bottom: 31px; border-bottom: 1px solid var(--line); }
.policies-page__section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.policies-page__section h2 {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -.035em;
}
@media (max-width: 640px) {
  .content-page { width: min(100% - 34px, 1080px); padding-top: 52px; padding-bottom: 76px; }
  .content-page__hero { padding-bottom: 27px; }
  .content-page__hero h1 { font-size: 36px; }
  .faq-page__list { margin-top: 24px; }
  .faq-page__item summary { padding: 18px; font-size: 15px; }
  .faq-page__item > div { padding: 0 18px 20px; }
  .faq-page__item p, .policies-page__section p { font-size: 14px; line-height: 1.72; }
  .policies-page__document { margin-top: 27px; }
  .policies-page__section { padding-bottom: 26px; margin-bottom: 25px; }
}
/* v52 | Documento legal legible, aislado y configurable desde SB Admin. */
.content-page--policies {
  width: min(1180px, calc(100% - 48px));
  margin-top: var(--policy-margin-top);
  margin-bottom: var(--policy-margin-bottom);
  padding: var(--policy-padding-top) var(--policy-padding-right) var(--policy-padding-bottom) var(--policy-padding-left);
  color: var(--policy-text);
  background: var(--policy-background);
  border: 1px solid color-mix(in srgb, var(--policy-surface) 70%, var(--line));
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
}
.content-page--policies[data-policy-font="serif"],
.content-page--policies[data-policy-font="georgia"] { font-family: Georgia, "Times New Roman", serif; }
.content-page--policies[data-policy-font="verdana"] { font-family: Verdana, Arial, sans-serif; }
.content-page--policies[data-policy-font="mono"] { font-family: ui-monospace, Consolas, monospace; }
.content-page--policies .content-page__hero {
  max-width: 840px;
  padding-bottom: clamp(27px, 4vw, 46px);
  border-color: color-mix(in srgb, var(--policy-heading) 34%, transparent);
}
.content-page--policies .content-page__hero h1 { color: var(--policy-title); font-size: var(--policy-title-size); }
.content-page--policies .content-page__hero > p:last-child { color: var(--policy-text); }
.content-page--policies .eyebrow { color: var(--policy-accent); }
.content-page--policies .policies-page__document {
  display: grid;
  max-width: 870px;
  gap: 18px;
  margin-top: clamp(30px, 5vw, 52px);
}
.content-page--policies .policies-page__section {
  position: relative;
  margin: 0;
  padding: clamp(23px, 4vw, 38px) clamp(20px, 4vw, 42px);
  overflow: hidden;
  background: var(--policy-surface);
  border: 1px solid color-mix(in srgb, var(--policy-heading) 18%, var(--line));
  border-radius: 8px;
}
.content-page--policies .policies-page__section::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: "";
  background: var(--policy-accent);
}
.content-page--policies .policies-page__section h2,
.content-page--policies .policies-page__section h3,
.content-page--policies .policies-page__section h4 {
  margin: 0 0 17px;
  color: var(--policy-heading);
  font-size: var(--policy-section-title-size);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.content-page--policies .policies-page__section h3 { font-size: calc(var(--policy-section-title-size) * .88); }
.content-page--policies .policies-page__section h4 { font-size: calc(var(--policy-section-title-size) * .78); }
.content-page--policies .policies-page__body,
.content-page--policies .policies-page__body p {
  margin: 0;
  color: var(--policy-text);
  font-size: var(--policy-body-size);
  line-height: 1.85;
}
.content-page--policies .policies-page__body strong,
.content-page--policies .policies-page__body b { color: var(--policy-title); font-weight: 800; }
.content-page--policies .policies-page__body em { color: color-mix(in srgb, var(--policy-text) 86%, #fff); }
.content-page--policies .policies-page__body h1,
.content-page--policies .policies-page__body h2,
.content-page--policies .policies-page__body h3,
.content-page--policies .policies-page__body h4 { color: var(--policy-heading); line-height: 1.25; }
.content-page--policies .policies-page__body h1 { font-size: calc(var(--policy-section-title-size) * 1.2); }
.content-page--policies .policies-page__body h2 { font-size: var(--policy-section-title-size); }
.content-page--policies .policies-page__body h3 { font-size: calc(var(--policy-section-title-size) * .88); }
.content-page--policies .policies-page__body h4 { font-size: calc(var(--policy-section-title-size) * .76); }
.content-page--policies .policies-page__body ul,
.content-page--policies .policies-page__body ol { margin: 16px 0; padding-left: 24px; }
.content-page--policies .policies-page__body li + li { margin-top: 7px; }
@media (max-width: 640px) {
  .content-page--policies {
    width: min(100% - 24px, 1180px);
    margin-top: max(22px, var(--policy-margin-top));
    margin-bottom: max(32px, var(--policy-margin-bottom));
    padding: min(52px, var(--policy-padding-top)) min(24px, var(--policy-padding-right)) min(62px, var(--policy-padding-bottom)) min(24px, var(--policy-padding-left));
    border-radius: 7px;
  }
  .content-page--policies .content-page__hero h1 { font-size: min(42px, var(--policy-title-size)); }
  .content-page--policies .policies-page__document { gap: 13px; margin-top: 29px; }
  .content-page--policies .policies-page__section { padding: 23px 19px 25px 22px; }
  .content-page--policies .policies-page__section h2,
  .content-page--policies .policies-page__section h3,
  .content-page--policies .policies-page__section h4 { font-size: min(25px, var(--policy-section-title-size)); }
  .content-page--policies .policies-page__body,
  .content-page--policies .policies-page__body p { font-size: min(17px, var(--policy-body-size)); line-height: 1.75; }
}
/* v53 | El editor define medidas reales para cada breakpoint; no se recortan en móvil. */
@media (max-width: 640px) {
  #policies-public-page.content-page--policies {
    margin-top: var(--policy-margin-top);
    margin-bottom: var(--policy-margin-bottom);
    padding: var(--policy-padding-top) var(--policy-padding-right) var(--policy-padding-bottom) var(--policy-padding-left);
  }
  #policies-public-page.content-page--policies .content-page__hero h1 { font-size: var(--policy-title-size); }
  #policies-public-page.content-page--policies .policies-page__section h2,
  #policies-public-page.content-page--policies .policies-page__section h3,
  #policies-public-page.content-page--policies .policies-page__section h4 { font-size: var(--policy-section-title-size); }
  #policies-public-page.content-page--policies .policies-page__body,
  #policies-public-page.content-page--policies .policies-page__body p { font-size: var(--policy-body-size); }
}
/* FAQ configurable desde SB Admin: cada página conserva su propio perfil responsive. */
.content-page--faq-configurable {
  width: min(1180px, calc(100% - 48px));
  margin-top: var(--faq-margin-top);
  margin-bottom: var(--faq-margin-bottom);
  padding: var(--faq-padding-top) var(--faq-padding-right) var(--faq-padding-bottom) var(--faq-padding-left);
  color: var(--faq-text);
  background: var(--faq-background);
  border: 1px solid color-mix(in srgb, var(--faq-surface) 70%, var(--line));
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
}
.content-page--faq-configurable[data-faq-font="serif"], .content-page--faq-configurable[data-faq-font="georgia"] { font-family: Georgia, "Times New Roman", serif; }
.content-page--faq-configurable[data-faq-font="verdana"] { font-family: Verdana, Arial, sans-serif; }
.content-page--faq-configurable[data-faq-font="mono"] { font-family: ui-monospace, Consolas, monospace; }
.content-page--faq-configurable .content-page__hero { max-width: 840px; padding-bottom: clamp(27px, 4vw, 46px); border-color: color-mix(in srgb, var(--faq-heading) 34%, transparent); }
.content-page--faq-configurable .content-page__hero h1 { color: var(--faq-title); font-size: var(--faq-title-size); }
.content-page--faq-configurable .content-page__hero > p:last-child { color: var(--faq-text); font-size: var(--faq-body-size); }
.content-page--faq-configurable .eyebrow { color: var(--faq-accent); }
.content-page--faq-configurable .faq-page__list { max-width: 870px; gap: 14px; margin-top: clamp(30px, 5vw, 52px); }
.content-page--faq-configurable .faq-page__item { background: var(--faq-surface); border-color: color-mix(in srgb, var(--faq-heading) 18%, var(--line)); border-radius: 8px; }
.content-page--faq-configurable .faq-page__item[open] { background: var(--faq-surface); border-color: color-mix(in srgb, var(--faq-accent) 62%, var(--line)); }
.content-page--faq-configurable .faq-page__item summary { padding: clamp(19px, 3vw, 28px) clamp(20px, 4vw, 34px); color: var(--faq-heading); font-size: var(--faq-section-title-size); }
.content-page--faq-configurable .faq-page__item summary span { color: var(--faq-accent); }
.content-page--faq-configurable .faq-page__item > div { padding: 0 clamp(20px, 4vw, 34px) clamp(20px, 3vw, 29px); }
.content-page--faq-configurable .faq-page__item p { color: var(--faq-text); font-size: var(--faq-body-size); line-height: 1.8; }
@media (max-width: 640px) {
  #faq-public-page.content-page--faq-configurable { width: min(100% - 24px, 1180px); margin-top: var(--faq-margin-top); margin-bottom: var(--faq-margin-bottom); padding: var(--faq-padding-top) var(--faq-padding-right) var(--faq-padding-bottom) var(--faq-padding-left); border-radius: 7px; }
  #faq-public-page.content-page--faq-configurable .content-page__hero h1 { font-size: var(--faq-title-size); }
  #faq-public-page.content-page--faq-configurable .content-page__hero > p:last-child, #faq-public-page.content-page--faq-configurable .faq-page__item p { font-size: var(--faq-body-size); }
  #faq-public-page.content-page--faq-configurable .faq-page__item summary { font-size: var(--faq-section-title-size); }
}
/* Márgenes laterales, alineación y ancho completo configurables desde SB Admin. */
.content-page--policies,
.content-page--faq-configurable {
  width: min(1180px, calc(100% - var(--policy-margin-left, var(--faq-margin-left, 24px)) - var(--policy-margin-right, var(--faq-margin-right, 24px))));
  box-sizing: border-box;
  margin-top: var(--policy-margin-top, var(--faq-margin-top, 42px));
  margin-right: auto;
  margin-bottom: var(--policy-margin-bottom, var(--faq-margin-bottom, 54px));
  margin-left: auto;
  text-align: var(--policy-text-align, var(--faq-text-align, left));
}
.content-page--policies { transform: translateX(calc((var(--policy-margin-left) - var(--policy-margin-right)) / 2)); }
.content-page--faq-configurable { transform: translateX(calc((var(--faq-margin-left) - var(--faq-margin-right)) / 2)); }
.content-page--policies[data-policy-full-width="true"] { width: calc(100% - var(--policy-margin-left) - var(--policy-margin-right)); max-width: none; }
.content-page--faq-configurable[data-faq-full-width="true"] { width: calc(100% - var(--faq-margin-left) - var(--faq-margin-right)); max-width: none; }
.content-page--policies[data-policy-full-width="true"] .policies-page__document,
.content-page--faq-configurable[data-faq-full-width="true"] .faq-page__list { max-width: none; }
.content-page--policies .content-page__hero,
.content-page--policies .policies-page__section,
.content-page--faq-configurable .content-page__hero,
.content-page--faq-configurable .faq-page__item { text-align: inherit; }
@media (max-width: 640px) {
  #policies-public-page.content-page--policies { width: calc(100% - var(--policy-margin-left) - var(--policy-margin-right)); }
  #faq-public-page.content-page--faq-configurable { width: calc(100% - var(--faq-margin-left) - var(--faq-margin-right)); }
}
/* v56 | Retícula pública unificada para FAQ y Términos.
   Las variables siguen saliendo del administrador, pero el contenedor protege
   la lectura en pantallas estrechas y alinea cabecera, tarjetas y documento. */
.content-page--policies,
.content-page--faq-configurable {
  --public-page-margin-left: var(--policy-margin-left, var(--faq-margin-left, 24px));
  --public-page-margin-right: var(--policy-margin-right, var(--faq-margin-right, 24px));
  --public-page-padding-top: var(--policy-padding-top, var(--faq-padding-top, 72px));
  --public-page-padding-right: var(--policy-padding-right, var(--faq-padding-right, 56px));
  --public-page-padding-bottom: var(--policy-padding-bottom, var(--faq-padding-bottom, 88px));
  --public-page-padding-left: var(--policy-padding-left, var(--faq-padding-left, 56px));
  width: min(1180px, calc(100% - var(--public-page-margin-left) - var(--public-page-margin-right)));
  max-width: 1180px;
  min-width: 0;
  margin-top: var(--policy-margin-top, var(--faq-margin-top, 42px));
  margin-right: auto;
  margin-bottom: var(--policy-margin-bottom, var(--faq-margin-bottom, 54px));
  margin-left: auto;
  padding: var(--public-page-padding-top) var(--public-page-padding-right) var(--public-page-padding-bottom) var(--public-page-padding-left);
  box-sizing: border-box;
  isolation: isolate;
  overflow: clip;
  text-align: var(--policy-text-align, var(--faq-text-align, left));
}

/* El desplazamiento conserva el margen elegido sin desalinear los bloques internos. */
.content-page--policies { transform: translateX(calc((var(--public-page-margin-left) - var(--public-page-margin-right)) / 2)); }
.content-page--faq-configurable { transform: translateX(calc((var(--public-page-margin-left) - var(--public-page-margin-right)) / 2)); }
.content-page--policies[data-policy-full-width="true"],
.content-page--faq-configurable[data-faq-full-width="true"] { max-width: none; }

/* Todos los elementos de lectura usan exactamente la misma columna de contenido. */
.content-page--policies .content-page__hero,
.content-page--policies .policies-page__document,
.content-page--policies .policies-page__section,
.content-page--faq-configurable .content-page__hero,
.content-page--faq-configurable .faq-page__list,
.content-page--faq-configurable .faq-page__item {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  margin-right: 0;
  margin-left: 0;
}
.content-page--policies .content-page__hero,
.content-page--faq-configurable .content-page__hero { padding-bottom: clamp(26px, 3.5vw, 42px); }
.content-page--policies .policies-page__document,
.content-page--faq-configurable .faq-page__list { margin-top: clamp(28px, 4.2vw, 48px); }
.content-page--policies .policies-page__section,
.content-page--faq-configurable .faq-page__item { text-align: inherit; }
.content-page--policies :is(h1, h2, h3, h4, p, li),
.content-page--faq-configurable :is(h1, h2, h3, h4, p, summary) {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.content-page--policies .content-page__hero h1,
.content-page--faq-configurable .content-page__hero h1 { text-wrap: balance; }

/* El texto enriquecido conserva una jerarquía y separación legibles al editarlo desde SB Admin. */
.content-page--policies .policies-page__body > :first-child { margin-top: 0; }
.content-page--policies .policies-page__body > * + * { margin-top: 1em; }
.content-page--policies .policies-page__body :is(h1, h2, h3, h4) { margin-bottom: .55em; }
.content-page--policies .policies-page__body :is(ul, ol) { padding-left: 1.35em; }
.content-page--policies .policies-page__body a { color: var(--policy-accent); text-underline-offset: .18em; }

/* En FAQ el icono deja de ocupar una columna visual: se posiciona sin mover la pregunta. */
.content-page--faq-configurable .faq-page__item summary {
  position: relative;
  display: block;
  padding-right: clamp(58px, 8vw, 72px);
  text-align: inherit;
}
.content-page--faq-configurable .faq-page__item summary span {
  position: absolute;
  top: 50%;
  right: clamp(19px, 3vw, 32px);
  transform: translateY(-50%);
}
.content-page--faq-configurable .faq-page__item[open] summary span { transform: translateY(-50%) rotate(45deg); }
.content-page--faq-configurable .faq-page__item > div { text-align: inherit; }

/* Tablet: conserva aire en los bordes sin estrechar la columna de lectura. */
@media (max-width: 980px) {
  .content-page--policies,
  .content-page--faq-configurable {
    --public-page-margin-left: min(var(--policy-margin-left, var(--faq-margin-left, 24px)), 32px);
    --public-page-margin-right: min(var(--policy-margin-right, var(--faq-margin-right, 24px)), 32px);
    --public-page-padding-right: min(var(--policy-padding-right, var(--faq-padding-right, 56px)), 48px);
    --public-page-padding-left: min(var(--policy-padding-left, var(--faq-padding-left, 56px)), 48px);
  }
}

/* Móvil: limita el padding heredado de escritorio para impedir columnas angostas o desbordadas. */
@media (max-width: 640px) {
  #policies-public-page.content-page--policies,
  #faq-public-page.content-page--faq-configurable {
    --public-page-margin-left: min(var(--policy-margin-left, var(--faq-margin-left, 18px)), 18px);
    --public-page-margin-right: min(var(--policy-margin-right, var(--faq-margin-right, 18px)), 18px);
    --public-page-padding-top: min(var(--policy-padding-top, var(--faq-padding-top, 48px)), 58px);
    --public-page-padding-right: min(var(--policy-padding-right, var(--faq-padding-right, 24px)), 24px);
    --public-page-padding-bottom: min(var(--policy-padding-bottom, var(--faq-padding-bottom, 58px)), 68px);
    --public-page-padding-left: min(var(--policy-padding-left, var(--faq-padding-left, 24px)), 24px);
    width: calc(100% - var(--public-page-margin-left) - var(--public-page-margin-right));
    margin-top: max(24px, min(var(--policy-margin-top, var(--faq-margin-top, 32px)), 64px));
    margin-bottom: max(34px, min(var(--policy-margin-bottom, var(--faq-margin-bottom, 42px)), 74px));
    border-radius: 8px;
  }
  .content-page--policies .content-page__hero,
  .content-page--faq-configurable .content-page__hero { padding-bottom: 25px; }
  .content-page--policies .policies-page__document,
  .content-page--faq-configurable .faq-page__list { margin-top: 25px; }
  .content-page--policies .policies-page__section { padding: 22px 18px 24px 21px; }
  .content-page--faq-configurable .faq-page__item summary { padding: 19px 52px 19px 18px; }
  .content-page--faq-configurable .faq-page__item summary span { right: 18px; }
  .content-page--faq-configurable .faq-page__item > div { padding: 0 18px 22px; }
}

/* Pantallas muy pequeñas: protege títulos largos y mantiene el acordeón fácil de tocar. */
@media (max-width: 380px) {
  #policies-public-page.content-page--policies,
  #faq-public-page.content-page--faq-configurable {
    --public-page-margin-left: 12px;
    --public-page-margin-right: 12px;
    --public-page-padding-right: 18px;
    --public-page-padding-left: 18px;
  }
  .content-page--faq-configurable .faq-page__item summary { padding-left: 16px; }
  .content-page--faq-configurable .faq-page__item > div { padding-right: 16px; padding-left: 16px; }
}
/* v57 | El encabezado se alinea de forma independiente para mantener el cuerpo fácil de leer. */
.content-page--policies .content-page__hero,
.content-page--faq-configurable .content-page__hero {
  text-align: var(--policy-intro-align, var(--faq-intro-align, center));
}

/* En móvil las tarjetas FAQ se acercan al borde del documento sin perder una separación táctil segura. */
@media (max-width: 640px) {
  #faq-public-page.content-page--faq-configurable .faq-page__list {
    --faq-mobile-list-inset: 6px;
    width: calc(100% + var(--public-page-padding-left) + var(--public-page-padding-right) - (var(--faq-mobile-list-inset) * 2));
    margin-right: calc(var(--public-page-padding-right) * -1 + var(--faq-mobile-list-inset));
    margin-left: calc(var(--public-page-padding-left) * -1 + var(--faq-mobile-list-inset));
  }
}
/* v58 | Variables editables del pie de página desde SB Admin. */
.site-footer[data-footer-appearance] { background: var(--footer-custom-background, #151515); }
.site-footer[data-footer-appearance] .footer__primary h2 { color: var(--footer-custom-heading, #fff); }
.site-footer[data-footer-appearance] .footer__primary a,
.site-footer[data-footer-appearance] .footer__primary p,
.site-footer[data-footer-appearance] .footer__bottom p { color: var(--footer-custom-text, #fff); }
.site-footer[data-footer-appearance] .footer__links a:hover,
.site-footer[data-footer-appearance] .footer__social-icons a:hover { color: var(--footer-custom-accent, #f9b700); }
.site-footer[data-footer-appearance] .footer__separator hr { background: var(--footer-custom-divider, rgba(255, 255, 255, .46)); }
.site-footer[data-footer-appearance] .payment-mark { color: var(--footer-custom-payment, #9d9d9d); }
.site-footer[data-footer-appearance] .payment-mark--amex { border-color: var(--footer-custom-payment, #9d9d9d); }
/* v59 | Geometría responsive del footer administrada desde SB Admin. */
.site-footer[data-footer-appearance] {
  --footer-active-padding-top: var(--footer-padding-top-desktop);
  --footer-active-padding-bottom: var(--footer-padding-bottom-desktop);
  --footer-active-padding-horizontal: var(--footer-padding-horizontal-desktop);
  --footer-active-columns: var(--footer-grid-columns-desktop);
  --footer-active-grid-gap: var(--footer-grid-gap-desktop);
  --footer-active-heading-size: var(--footer-heading-size-desktop);
  --footer-active-text-size: var(--footer-text-size-desktop);
  --footer-active-logo-width: var(--footer-logo-width-desktop);
  --footer-active-social-size: var(--footer-social-size-desktop);
  --footer-active-payment-size: var(--footer-payment-size-desktop);
  --footer-active-payment-gap: var(--footer-payment-gap-desktop);
  --footer-active-separator-space: var(--footer-separator-space-desktop);
  --footer-active-bottom-gap: var(--footer-bottom-gap-desktop);
  --footer-active-copyright-size: var(--footer-copyright-size-desktop);
  --footer-active-general-align: var(--footer-general-align-desktop);
  --footer-active-social-align: var(--footer-social-align-desktop);
  --footer-active-brand-align: var(--footer-brand-align-desktop);
  --footer-active-copyright-align: var(--footer-copyright-align-desktop);
  --footer-active-general-items: var(--footer-general-items-desktop);
  --footer-active-social-items: var(--footer-social-items-desktop);
  --footer-active-brand-items: var(--footer-brand-items-desktop);
  padding: var(--footer-active-padding-top) 0 var(--footer-active-padding-bottom);
}
.site-footer[data-footer-appearance] .shell { padding-right: var(--footer-active-padding-horizontal); padding-left: var(--footer-active-padding-horizontal); }
.site-footer[data-footer-appearance] .footer__grid.footer__primary { grid-template-columns: repeat(var(--footer-active-columns), minmax(0, 1fr)); gap: var(--footer-active-grid-gap); }
.site-footer[data-footer-appearance] .footer__primary h2 { font-size: var(--footer-active-heading-size); }
.site-footer[data-footer-appearance] .footer__primary a,
.site-footer[data-footer-appearance] .footer__primary p { font-size: var(--footer-active-text-size); }
.site-footer[data-footer-appearance] .footer__links { align-items: var(--footer-active-general-items) !important; text-align: var(--footer-active-general-align); }
.site-footer[data-footer-appearance] .footer__social { align-items: var(--footer-active-social-items) !important; text-align: var(--footer-active-social-align); }
.site-footer[data-footer-appearance] .footer__brand { align-items: var(--footer-active-brand-items) !important; text-align: var(--footer-active-brand-align); }
.site-footer[data-footer-appearance] .footer__brand img { width: var(--footer-active-logo-width); max-width: 100%; }
.site-footer[data-footer-appearance] .footer__social-icons a { width: var(--footer-active-social-size); height: var(--footer-active-social-size); }
.site-footer[data-footer-appearance] .footer__social-icons svg { width: calc(var(--footer-active-social-size) - 3px); height: calc(var(--footer-active-social-size) - 3px); }
.site-footer[data-footer-appearance] .footer__separator { padding-top: var(--footer-active-separator-space); }
.site-footer[data-footer-appearance] .footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--footer-active-bottom-gap); min-height: 56px; padding-bottom: 4px; }
.site-footer[data-footer-appearance] .footer__payments { gap: var(--footer-active-payment-gap); }
.site-footer[data-footer-appearance] .payment-mark { width: auto; height: var(--footer-active-payment-size); }
.site-footer[data-footer-appearance] .payment-mark picture { display: inline-flex; align-items: center; height: 100%; }
.site-footer[data-footer-appearance] .payment-mark img { width: auto; max-width: calc(var(--footer-active-payment-size) * 3); height: var(--footer-active-payment-size); object-fit: contain; }
.site-footer[data-footer-appearance] .footer__bottom p { grid-column: auto; max-width: 70%; padding-right: 0; font-size: var(--footer-active-copyright-size); text-align: var(--footer-active-copyright-align); }
@media (max-width: 1100px) {
  .site-footer[data-footer-appearance] {
    --footer-active-padding-top: var(--footer-padding-top-tablet); --footer-active-padding-bottom: var(--footer-padding-bottom-tablet); --footer-active-padding-horizontal: var(--footer-padding-horizontal-tablet); --footer-active-columns: var(--footer-grid-columns-tablet); --footer-active-grid-gap: var(--footer-grid-gap-tablet); --footer-active-heading-size: var(--footer-heading-size-tablet); --footer-active-text-size: var(--footer-text-size-tablet); --footer-active-logo-width: var(--footer-logo-width-tablet); --footer-active-social-size: var(--footer-social-size-tablet); --footer-active-payment-size: var(--footer-payment-size-tablet); --footer-active-payment-gap: var(--footer-payment-gap-tablet); --footer-active-separator-space: var(--footer-separator-space-tablet); --footer-active-bottom-gap: var(--footer-bottom-gap-tablet); --footer-active-copyright-size: var(--footer-copyright-size-tablet); --footer-active-general-align: var(--footer-general-align-tablet); --footer-active-social-align: var(--footer-social-align-tablet); --footer-active-brand-align: var(--footer-brand-align-tablet); --footer-active-copyright-align: var(--footer-copyright-align-tablet); --footer-active-general-items: var(--footer-general-items-tablet); --footer-active-social-items: var(--footer-social-items-tablet); --footer-active-brand-items: var(--footer-brand-items-tablet);
  }
}
@media (max-width: 640px) {
  .site-footer[data-footer-appearance] {
    --footer-active-padding-top: var(--footer-padding-top-mobile); --footer-active-padding-bottom: var(--footer-padding-bottom-mobile); --footer-active-padding-horizontal: var(--footer-padding-horizontal-mobile); --footer-active-columns: var(--footer-grid-columns-mobile); --footer-active-grid-gap: var(--footer-grid-gap-mobile); --footer-active-heading-size: var(--footer-heading-size-mobile); --footer-active-text-size: var(--footer-text-size-mobile); --footer-active-logo-width: var(--footer-logo-width-mobile); --footer-active-social-size: var(--footer-social-size-mobile); --footer-active-payment-size: var(--footer-payment-size-mobile); --footer-active-payment-gap: var(--footer-payment-gap-mobile); --footer-active-separator-space: var(--footer-separator-space-mobile); --footer-active-bottom-gap: var(--footer-bottom-gap-mobile); --footer-active-copyright-size: var(--footer-copyright-size-mobile); --footer-active-general-align: var(--footer-general-align-mobile); --footer-active-social-align: var(--footer-social-align-mobile); --footer-active-brand-align: var(--footer-brand-align-mobile); --footer-active-copyright-align: var(--footer-copyright-align-mobile); --footer-active-general-items: var(--footer-general-items-mobile); --footer-active-social-items: var(--footer-social-items-mobile); --footer-active-brand-items: var(--footer-brand-items-mobile);
  }
  .site-footer[data-footer-appearance] .footer__bottom { flex-direction: column; justify-content: center; }
  .site-footer[data-footer-appearance] .footer__bottom p { max-width: 100%; }
}
/* v61 | Widgets ordenables y estilo configurable de redes del footer. */
.site-footer[data-footer-appearance] .footer__social-icons { gap: var(--footer-social-icon-gap); }
.site-footer[data-footer-appearance] .footer__social-icons a {
  color: var(--footer-social-icon-color); background: var(--footer-social-icon-background);
  border: var(--footer-social-icon-border-width) solid var(--footer-social-icon-border);
  border-radius: var(--footer-social-icon-radius);
  transition: color var(--footer-social-icon-transition) ease, background var(--footer-social-icon-transition) ease, border-color var(--footer-social-icon-transition) ease, transform var(--footer-social-icon-transition) ease, box-shadow var(--footer-social-icon-transition) ease;
}
.site-footer[data-footer-appearance] .footer__social-icons a:hover { color: var(--footer-social-icon-hover-color); background: var(--footer-social-icon-hover-background); border-color: var(--footer-social-icon-hover-background); }
.site-footer[data-footer-appearance] .footer__social[data-footer-social-effect="none"] .footer__social-icons a:hover { transform: none; }
.site-footer[data-footer-appearance] .footer__social[data-footer-social-effect="lift"] .footer__social-icons a:hover { transform: translateY(-3px); }
.site-footer[data-footer-appearance] .footer__social[data-footer-social-effect="scale"] .footer__social-icons a:hover { transform: scale(1.12); }
.site-footer[data-footer-appearance] .footer__social[data-footer-social-effect="pulse"] .footer__social-icons a:hover { animation: footer-social-pulse .72s ease-in-out infinite alternate; }
.site-footer[data-footer-appearance] .footer__social[data-footer-social-effect="glow"] .footer__social-icons a:hover { box-shadow: 0 0 16px var(--footer-social-icon-hover-background); }
.site-footer[data-footer-appearance] .footer__social[data-footer-social-effect="rotate"] .footer__social-icons a:hover { transform: rotate(12deg) scale(1.06); }
@keyframes footer-social-pulse { from { transform: scale(1); } to { transform: scale(1.13); } }
@media (prefers-reduced-motion: reduce) { .site-footer[data-footer-appearance] .footer__social-icons a { transition: none; } .site-footer[data-footer-appearance] .footer__social[data-footer-social-effect="pulse"] .footer__social-icons a:hover { animation: none; } }
/* v63 | Secciones editables del footer: cada bloque conserva su estilo y respeta la geometría responsive del sitio. */
.site-footer[data-footer-appearance] .footer__links--custom { padding: var(--footer-widget-padding-top) var(--footer-widget-padding-right) var(--footer-widget-padding-bottom) var(--footer-widget-padding-left); margin-top: var(--footer-widget-margin-top); margin-bottom: var(--footer-widget-margin-bottom); background: var(--footer-widget-background); border-radius: var(--footer-widget-radius); font-family: var(--footer-widget-font); }
.site-footer[data-footer-appearance] .footer__links--custom :is(h1, h2, h3) { margin-top: 0; color: var(--footer-widget-heading); font-size: var(--footer-widget-heading-size); }
.site-footer[data-footer-appearance] .footer__links--custom a { color: var(--footer-widget-text); font-size: var(--footer-widget-text-size); }
.site-footer[data-footer-appearance] .footer__links--custom a:hover { color: var(--footer-widget-accent); }
.site-footer[data-footer-appearance] .footer__widget-icon { display: inline-block; margin-right: .38em; }
/* v69 | Apariencia administrable del buscador: variables seguras desde SB Admin. */
.search-appearance-trigger {
  color: var(--search-trigger-custom-icon, #fff);
  transition: color var(--search-transition-custom, 180ms) ease, transform var(--search-transition-custom, 180ms) ease;
}
.search-appearance-trigger svg {
  width: var(--search-icon-size-custom, 22px);
  height: var(--search-icon-size-custom, 22px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}
.search-appearance-trigger:hover,
.search-appearance-trigger:focus-visible { color: var(--search-accent-custom, var(--gold)); outline: 0; }
.search-panel[data-search-appearance] {
  padding-block: var(--search-panel-padding-custom, 20px);
  color: var(--search-input-custom-text, #fff);
  background: var(--search-panel-custom-bg, #151515);
  font-family: var(--search-font-custom, inherit);
}
.search-panel[data-search-appearance] .search-panel__field input {
  min-height: var(--search-input-height-custom, 52px);
  padding-right: 62px;
  color: var(--search-input-custom-text, #fff);
  background: var(--search-input-custom-bg, #161616);
  border-color: var(--search-input-custom-border, #555);
  border-radius: var(--search-input-radius-custom, 10px);
  font-family: inherit;
  font-size: var(--search-font-size-custom, 14px);
  transition: border-color var(--search-transition-custom, 180ms) ease, box-shadow var(--search-transition-custom, 180ms) ease, background var(--search-transition-custom, 180ms) ease;
}
.search-panel[data-search-appearance] .search-panel__field input::placeholder { color: var(--search-input-custom-placeholder, #a8a8a8); opacity: 1; }
.search-panel[data-search-appearance] .search-panel__field input:focus { border-color: var(--search-accent-custom, var(--gold)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--search-accent-custom, var(--gold)) 16%, transparent); }
.search-panel[data-search-appearance] .search-panel__form > .button {
  color: var(--search-button-custom-text, #171717);
  background: var(--search-button-custom-bg, var(--gold));
  border-color: var(--search-button-custom-bg, var(--gold));
  border-radius: var(--search-input-radius-custom, 10px);
  font-family: inherit;
  font-size: max(10px, calc(var(--search-font-size-custom, 14px) - 2px));
  transition: color var(--search-transition-custom, 180ms) ease, background var(--search-transition-custom, 180ms) ease, transform var(--search-transition-custom, 180ms) ease;
}
.search-panel[data-search-appearance] .search-panel__form > .button:hover,
.search-panel[data-search-appearance] .search-panel__form > .button:focus-visible { color: var(--search-button-custom-bg, var(--gold)); background: transparent; border-color: var(--search-button-custom-bg, var(--gold)); outline: 0; }
.search-panel[data-search-appearance] .search-field-clear {
  color: var(--search-clear-custom-text, #e6e6e6);
  background: var(--search-clear-custom-bg, #252525);
  border-color: var(--search-clear-custom-border, #4c4c4c);
  border-radius: calc(var(--search-input-radius-custom, 10px) * .72);
  box-shadow: none;
  transition: color var(--search-transition-custom, 180ms) ease, background var(--search-transition-custom, 180ms) ease, border-color var(--search-transition-custom, 180ms) ease, transform var(--search-transition-custom, 180ms) ease;
}
.search-panel[data-search-appearance] .search-field-clear svg { width: calc(var(--search-icon-size-custom, 22px) - 5px); height: calc(var(--search-icon-size-custom, 22px) - 5px); }
.search-panel[data-search-appearance] .search-field-clear:hover,
.search-panel[data-search-appearance] .search-field-clear:focus-visible { color: var(--search-clear-custom-bg, #252525); background: var(--search-accent-custom, var(--gold)); border-color: var(--search-accent-custom, var(--gold)); transform: translateY(-1px); }
.search-panel[data-search-appearance] .search-close {
  background: var(--search-close-custom-bg, #1e1e1e);
  border-color: var(--search-close-custom-border, #454545);
  border-radius: var(--search-input-radius-custom, 9px);
  transition: background var(--search-transition-custom, 180ms) ease, border-color var(--search-transition-custom, 180ms) ease, transform var(--search-transition-custom, 180ms) ease;
}
.search-panel[data-search-appearance] .search-close::before,
.search-panel[data-search-appearance] .search-close::after { width: calc(var(--search-icon-size-custom, 22px) - 5px); background: var(--search-close-custom-text, #d6d6d6); }
.search-panel[data-search-appearance] .search-close:hover,
.search-panel[data-search-appearance] .search-close:focus-visible { background: color-mix(in srgb, var(--search-close-custom-bg, #1e1e1e) 72%, #fff); border-color: var(--search-accent-custom, var(--gold)); box-shadow: none; transform: none; }
.search-panel[data-search-appearance] .search-close:hover::before,
.search-panel[data-search-appearance] .search-close:hover::after,
.search-panel[data-search-appearance] .search-close:focus-visible::before,
.search-panel[data-search-appearance] .search-close:focus-visible::after { background: var(--search-accent-custom, var(--gold)); }
.search-panel[data-search-appearance] .search-panel__feedback { color: var(--search-feedback-custom, #ff9696); font-family: inherit; }
.search-panel[data-search-appearance] .search-panel__suggestions { color: var(--search-suggestions-custom-text, #f4f4f4); background: var(--search-suggestions-custom-bg, #181818); border-color: var(--search-suggestions-custom-border, #4a4a4a); border-radius: var(--search-input-radius-custom, 12px); font-family: inherit; }
.search-panel[data-search-appearance] .search-panel__suggestions-summary,
.search-panel[data-search-appearance] .search-panel__suggestion-copy small { color: color-mix(in srgb, var(--search-suggestions-custom-text, #f4f4f4) 74%, transparent); }
.search-panel[data-search-appearance] .search-panel__suggestion { color: var(--search-suggestions-custom-text, #f4f4f4); transition-duration: var(--search-transition-custom, 180ms); }
.search-panel[data-search-appearance] .search-panel__suggestion:hover,
.search-panel[data-search-appearance] .search-panel__suggestion:focus-visible { color: var(--search-suggestions-custom-text, #fff); background: color-mix(in srgb, var(--search-suggestions-custom-bg, #181818) 78%, #fff); border-color: var(--search-accent-custom, var(--gold)); }
.search-panel[data-search-appearance] .search-panel__suggestion-mark,
.search-panel[data-search-appearance] .search-panel__view-all { color: var(--search-button-custom-text, #171717); background: var(--search-accent-custom, var(--gold)); border-color: var(--search-accent-custom, var(--gold)); }
.search-panel[data-search-appearance] .search-panel__suggestion-arrow { color: var(--search-accent-custom, var(--gold)); }
.search-panel[data-search-appearance] .search-panel__view-all { border-radius: calc(var(--search-input-radius-custom, 10px) * .8); font-family: inherit; transition-duration: var(--search-transition-custom, 180ms); }
.search-panel[data-search-appearance] .search-panel__view-all:hover,
.search-panel[data-search-appearance] .search-panel__view-all:focus-visible { color: var(--search-accent-custom, var(--gold)); background: transparent; }
.search-panel.is-search-hover-lift[data-search-appearance] .search-panel__form > .button:hover { transform: translateY(-2px); }
.search-panel.is-search-hover-glow[data-search-appearance] .search-panel__form > .button:hover { box-shadow: 0 8px 21px color-mix(in srgb, var(--search-accent-custom, var(--gold)) 34%, transparent); }
.search-panel.is-search-hover-fill[data-search-appearance] .search-panel__form > .button:hover { color: var(--search-button-custom-text, #171717); background: var(--search-accent-custom, var(--gold)); border-color: var(--search-accent-custom, var(--gold)); filter: brightness(1.08); }
@media (max-width: 560px) {
  .search-panel[data-search-appearance] { padding-block: max(12px, var(--search-panel-padding-custom, 20px)); }
  .search-panel[data-search-appearance] .search-panel__field input { min-height: min(52px, var(--search-input-height-custom, 46px)); }
}
/* v71 | Los controles del buscador consumen siempre la paleta guardada en SB Admin. */
.search-panel[data-search-appearance] .search-close {
  color: var(--search-close-custom-text, #d6d6d6) !important;
  background: var(--search-close-custom-bg, #1e1e1e) !important;
  border-color: var(--search-close-custom-border, #454545) !important;
}
.search-panel[data-search-appearance] .search-close::before,
.search-panel[data-search-appearance] .search-close::after { content: none !important; }
.search-panel[data-search-appearance] .search-field-clear {
  color: var(--search-clear-custom-text, #e6e6e6) !important;
  background: var(--search-clear-custom-bg, #252525) !important;
  border-color: var(--search-clear-custom-border, #4c4c4c) !important;
}
.search-panel[data-search-appearance] .search-field-clear svg {
  width: calc(var(--search-icon-size-custom, 22px) - 5px);
  height: calc(var(--search-icon-size-custom, 22px) - 5px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.search-panel[data-search-appearance] .search-panel__form > .button {
  color: var(--search-button-custom-text, #171717) !important;
  background: var(--search-button-custom-bg, var(--gold)) !important;
  border-color: var(--search-button-custom-bg, var(--gold)) !important;
}
.search-panel[data-search-appearance] .search-panel__suggestions,
.search-panel[data-search-appearance] .search-panel__suggestion { color: var(--search-suggestions-custom-text, #f4f4f4) !important; }
.search-panel[data-search-appearance] .search-panel__suggestions { background: var(--search-suggestions-custom-bg, #181818) !important; border-color: var(--search-suggestions-custom-border, #4a4a4a) !important; }
.search-panel[data-search-appearance] .search-panel__view-all { color: var(--search-button-custom-text, #171717) !important; background: var(--search-accent-custom, var(--gold)) !important; border-color: var(--search-accent-custom, var(--gold)) !important; }
.search-panel[data-search-appearance] .search-panel__feedback { color: var(--search-feedback-custom, #ff9696) !important; }
/* v72 | Cierre del buscador: conserva la X vectorial y toma toda su paleta desde SB Admin. */
.search-panel[data-search-appearance] .search-close {
  color: transparent !important;
  font-size: 0 !important;
  background: var(--search-close-custom-bg, #1e1e1e) !important;
  border-color: var(--search-close-custom-border, #454545) !important;
}
.search-panel[data-search-appearance] .search-close::before,
.search-panel[data-search-appearance] .search-close::after {
  width: calc(var(--search-icon-size-custom, 22px) - 5px);
  content: '' !important;
  background: var(--search-close-custom-text, #d6d6d6) !important;
}
.search-panel[data-search-appearance] .search-close:hover::before,
.search-panel[data-search-appearance] .search-close:hover::after,
.search-panel[data-search-appearance] .search-close:focus-visible::before,
.search-panel[data-search-appearance] .search-close:focus-visible::after { background: var(--search-accent-custom, var(--gold)) !important; }
/*
 * v82 | Fila de revisión del mini carrito.
 * Se usa un bloque independiente antes del CTA: el centrado y el espacio
 * vertical se conservan aunque el drawer herede reglas antiguas.
 */
.drawer__footer > .drawer__total {
  display: flex !important;
  width: 100%;
  justify-content: space-between;
  margin: 0 !important;
  font-size: 13px;
  text-transform: uppercase;
}

.drawer__footer > .drawer__actions {
  display: block !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
}

/* Área táctil separada: 22px arriba y 24px abajo antes del checkout. */
.drawer__footer .drawer__actions > .drawer__view-row {
  display: flex !important;
  width: 100% !important;
  min-height: 76px;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 22px 0 24px !important;
  text-align: center !important;
}

.drawer__footer .drawer__view-row > .drawer__view-cart {
  display: inline-flex !important;
  width: max-content !important;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto !important;
  padding: 8px 16px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 999px;
  background: transparent !important;
  color: #d8d8d8 !important;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-align: center !important;
  text-decoration: underline;
  text-decoration-color: #5b5b5b;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-transform: uppercase;
  white-space: nowrap !important;
  transition: color .22s ease, letter-spacing .22s ease, transform .22s ease, text-decoration-color .22s ease;
}

.drawer__footer .drawer__view-cart > span {
  display: inline-block;
  transition: transform .22s ease;
}

/* Hover perceptible sin convertir el enlace en un botón pesado. */
.drawer__footer .drawer__view-cart:hover,
.drawer__footer .drawer__view-cart:focus-visible {
  border-color: color-mix(in srgb, var(--gold) 62%, transparent) !important;
  background: color-mix(in srgb, var(--gold) 12%, transparent) !important;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--gold) 13%, transparent);
  color: var(--gold) !important;
  letter-spacing: .13em;
  text-decoration-color: var(--gold);
  transform: translateY(-2px);
}

.drawer__footer .drawer__view-cart:hover > span,
.drawer__footer .drawer__view-cart:focus-visible > span {
  transform: translateX(4px);
}

.drawer__footer .drawer__view-cart:focus-visible {
  border-radius: 2px;
  outline: 1px solid var(--gold);
  outline-offset: 5px;
}

/* El CTA ocupa su propia fila y todo el ancho del panel. */
.drawer__footer .drawer__actions > [data-demo-checkout] {
  display: flex !important;
  width: 100% !important;
  min-height: 50px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 560px) {
  .drawer__footer > .drawer__actions {
    margin-top: 14px !important;
  }

  .drawer__footer .drawer__actions > .drawer__view-row {
    min-height: 68px;
    padding: 18px 0 20px !important;
  }

  .drawer__footer .drawer__view-row > .drawer__view-cart {
    font-size: 10px;
    letter-spacing: .08em;
  }
}
/* Respuesta accesible del formulario de suscripción Brevo. */
.newsletter[data-brevo-subscription] .newsletter__form { flex-wrap: wrap; }
.newsletter[data-brevo-subscription] .newsletter__policy,
.newsletter[data-brevo-subscription] .brevo-subscription__feedback { flex: 0 0 100%; }
.newsletter[data-brevo-subscription] .brevo-subscription__feedback { text-align: inherit; }
.newsletter[data-brevo-subscription] .newsletter__form .button:disabled { cursor: wait; opacity: .72; }
@media (max-width: 560px) {
    .newsletter[data-brevo-subscription] .newsletter__form input,
    .newsletter[data-brevo-subscription] .newsletter__form .button { width: 100%; }
}
/* Ajuste final del Club: encabezado amplio y consentimiento alineado. */
.newsletter[data-brevo-subscription] .newsletter__form input[type='email'] { background: var(--brevo-field-background, #ffb500) !important; }
.newsletter[data-brevo-subscription] .newsletter__policy { display: inline-flex; align-items: center; }
.newsletter[data-brevo-subscription] .newsletter__policy > span { display: inline-block; }
@media (min-width: 961px) {
    .newsletter[data-brevo-subscription] .newsletter__content { max-width: min(1180px, 100%) !important; }
    .newsletter[data-brevo-subscription] h2 { max-width: none; white-space: nowrap; }
}
@media (max-width: 560px) {
    .newsletter[data-brevo-subscription] .newsletter__policy { align-items: flex-start; }
    .newsletter[data-brevo-subscription] .newsletter__policy input[type='checkbox'] { margin-top: 2px !important; }
}
/* =============================================
   Portada administrable desde SB Admin > Páginas > Inicio.
   Cada bloque recibe variables validadas por PHP; así el editor no puede
   inyectar CSS arbitrario y los breakpoints siguen siendo independientes.
   ============================================= */
.home-managed-section {
  margin-top: var(--home-section-margin-top, 0px);
  margin-bottom: var(--home-section-margin-bottom, 0px);
  background: var(--home-section-background, transparent);
  font-family: var(--home-section-font, inherit);
}
.home-managed-section .eyebrow { margin-bottom: 12px; color: var(--home-section-eyebrow, var(--home-section-accent, var(--gold))); font-size: var(--home-section-eyebrow-size, 11px); }
.home-managed-section .section-heading h1,
.home-managed-section .section-heading h2,
.home-managed-section .section-heading h3 { color: var(--home-section-title, var(--white)); font-family: inherit; font-size: var(--home-section-title-size, 46px); }
.home-managed-section .section-heading .text-link,
.home-managed-section .text-link { color: var(--home-section-text, var(--white)); }
.home-managed-section .section-heading .text-link:hover,
.home-managed-section .text-link:hover { color: var(--home-section-accent, var(--gold)); }
.hero.home-managed-section { min-height: var(--home-section-min-height, 0px); margin-top: var(--home-section-margin-top, 0px); margin-bottom: var(--home-section-margin-bottom, 0px); background: var(--home-section-background, #000); }
.hero.home-managed-section > picture,
.hero.home-managed-section > picture > img { display: block; width: 100%; height: 100%; min-height: inherit; }
.hero.home-managed-section > picture > img { object-fit: cover; object-position: center; }
.hero.home-managed-section .hero__content { padding: var(--home-section-padding-top, 0px) var(--home-section-padding-right, 0px) var(--home-section-padding-bottom, 0px) var(--home-section-padding-left, 0px); text-align: var(--home-section-align, center); }
.hero.home-managed-section .hero__content h1,
.hero.home-managed-section .hero__content h2,
.hero.home-managed-section .hero__content h3 { color: var(--home-section-title, #fff); font-family: var(--home-section-font, inherit); font-size: var(--home-section-title-size, 58px); }
.hero.home-managed-section .hero__content p:not(.eyebrow) { color: var(--home-section-text, #fff); font-size: var(--home-section-text-size, 17px); }
.hero.home-managed-section .hero__content .eyebrow { color: var(--home-section-eyebrow, var(--home-section-accent, var(--gold))); }
.catalog-section.home-managed-section { padding: var(--home-section-padding-top, 70px) var(--home-section-padding-right, 0px) var(--home-section-padding-bottom, 70px) var(--home-section-padding-left, 0px); min-height: var(--home-section-min-height, 0px); text-align: var(--home-section-align, left); }
.catalog-section.home-managed-section .section-heading { text-align: inherit; }
.catalog-section.home-managed-section[data-home-full-width="true"], .home-custom-section[data-home-full-width="true"] { width: 100%; max-width: none; }
.catalog-section.home-managed-section .section-heading > div { flex: 1; }
.catalog-section.home-managed-section .product-grid { grid-template-columns: repeat(var(--home-section-columns, 3), minmax(0, 1fr)); }
.marquee.home-managed-section { min-height: var(--home-section-min-height, 0px); padding: var(--home-section-padding-top, 12px) var(--home-section-padding-right, 0px) var(--home-section-padding-bottom, 12px) var(--home-section-padding-left, 0px); background: var(--home-section-background, #151515); color: var(--home-section-text, #fff); }
.marquee.home-managed-section .marquee__track { animation-duration: var(--home-marquee-duration, 18s); }
.marquee.home-managed-section.is-marquee-right .marquee__track { animation-name: marquee-scroll-reverse; }
.marquee.home-managed-section.is-marquee-left .marquee__track { animation-name: marquee-scroll; }
.marquee.home-managed-section .marquee__track span { color: var(--home-section-text, #fff); font-family: var(--home-section-font, termina, sans-serif); font-size: var(--home-section-title-size, 92px); }
.marquee.home-managed-section .marquee__track img { filter: brightness(0) saturate(100%) invert(72%) sepia(96%) saturate(987%) hue-rotate(359deg) brightness(103%) contrast(101%); }
.home-custom-section { min-height: var(--home-section-min-height, 0px); padding: var(--home-section-padding-top, 70px) var(--home-section-padding-right, 0px) var(--home-section-padding-bottom, 70px) var(--home-section-padding-left, 0px); text-align: var(--home-section-align, left); }
.home-custom-section__inner { max-width: 900px; }
.home-custom-section .eyebrow { margin-top: 0; }
.home-custom-section h1,
.home-custom-section h2,
.home-custom-section h3 { margin: 0; color: var(--home-section-title, #fff); font-family: inherit; font-size: var(--home-section-title-size, 46px); letter-spacing: -.055em; line-height: .98; }
.home-custom-section p:not(.eyebrow) { max-width: 720px; margin: 20px 0 0; color: var(--home-section-text, #ddd); font-size: var(--home-section-text-size, 17px); line-height: 1.6; }
.home-custom-section .text-link { display: inline-flex; margin-top: 24px; }

/* La colección principal aprovecha el ancho completo sin dejar el encabezado
   pegado al borde. Los valores del editor se respetan si son mayores. */
.catalog-section.home-managed-section[data-home-section="products"][data-home-full-width="true"],
.catalog-section.home-managed-section[data-home-section="favorites"][data-home-full-width="true"] {
  width: 100%;
  max-width: none;
  padding-right: 1%;
  padding-left: 1%;
}
.catalog-section.home-managed-section[data-home-section="products"][data-home-full-width="true"] .section-heading,
.catalog-section.home-managed-section[data-home-section="favorites"][data-home-full-width="true"] .section-heading {
  padding-right: clamp(18px, 4vw, 78px);
  padding-left: clamp(18px, 4vw, 78px);
}

@media (max-width: 640px) {
  .catalog-section.home-managed-section[data-home-section="products"][data-home-full-width="true"],
  .catalog-section.home-managed-section[data-home-section="favorites"][data-home-full-width="true"] {
    padding-right: 1%;
    padding-left: 1%;
  }
  .catalog-section.home-managed-section[data-home-section="products"][data-home-full-width="true"] .section-heading,
  .catalog-section.home-managed-section[data-home-section="favorites"][data-home-full-width="true"] .section-heading {
    padding-right: 16px;
    padding-left: 16px;
  }

  .catalog-section.home-managed-section .section-heading { align-items: var(--home-section-align, flex-start); }
  .catalog-section.home-managed-section .product-grid { grid-template-columns: repeat(var(--home-section-columns, 1), minmax(0, 1fr)); }
  .hero.home-managed-section { aspect-ratio: auto; }
  .hero.home-managed-section > img,
  .hero.home-managed-section > picture,
  .hero.home-managed-section > picture > img { min-height: var(--home-section-min-height, 220px); }
  .home-custom-section__inner { width: 100%; }
}

/* Las marquesinas son decorativas: no reciben hover, por lo que ni el cursor
   ni el foco de la ventana pueden reiniciar o alterar su desplazamiento. */
.marquee.home-managed-section .marquee__track,
.marquee.home-managed-section.is-in-focus .marquee__track,
.marquee.home-managed-section:hover .marquee__track {
  animation-duration: var(--home-marquee-duration, 18s) !important;
  animation-play-state: running !important;
}
.marquee.home-managed-section {
  filter: none !important;
  pointer-events: none;
  transition: none !important;
}
.marquee.home-managed-section * {
  pointer-events: none;
}

/* Productos relacionados de la ficha: reutiliza la escala de Favoritos, pero
   todas sus dimensiones se reciben por variables propias del editor. */
.product-related[data-product-related] {
  margin-top: var(--related-margin-top, 0px);
  margin-bottom: var(--related-margin-bottom, 0px);
  padding: var(--related-padding-top, 82px) var(--related-padding-right, 0px) var(--related-padding-bottom, 96px) var(--related-padding-left, 0px);
  color: var(--related-text, var(--white));
  font-family: var(--related-font, 'DM Sans', Arial, sans-serif);
}
.product-related__heading { margin-bottom: clamp(28px, 4vw, 45px); }
.product-related__heading h2,
.product-related__heading p {
  margin: 0;
  font-family: inherit;
  font-size: var(--related-title-size, 54px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .95;
}
.product-related__heading p { font-weight: 600; letter-spacing: -.035em; }
.product-grid--related { grid-template-columns: repeat(var(--related-columns, 4), minmax(0, 1fr)); gap: 20px; }
.product-grid--related .product-card__image { display: block; height: var(--related-image-size, 260px); background: #181818; }
.product-grid--related .product-card__image > img { width: 100%; height: 100%; object-fit: cover; }
.product-related[data-related-transition='fast'] .product-card { transition-duration: .16s; }
.product-related[data-related-transition='normal'] .product-card { transition-duration: .32s; }
.product-related[data-related-transition='slow'] .product-card { transition-duration: .68s; }
.product-related[data-related-hover='lift'] .product-card:hover { transform: translateY(-6px); }
.product-related[data-related-hover='zoom'] .product-card:hover { transform: scale(1.025); }
.product-related[data-related-hover='glow'] .product-card:hover { box-shadow: 0 0 0 1px var(--related-accent, var(--gold)), 0 12px 32px color-mix(in srgb, var(--related-accent, var(--gold)) 26%, transparent); }
.product-related[data-related-animation='fade'] { animation: product-related-fade .48s ease both; }
.product-related[data-related-animation='rise'] { animation: product-related-rise .48s ease both; }
.product-related[data-related-animation='zoom'] { animation: product-related-zoom .48s ease both; }
@keyframes product-related-fade { from { opacity: .12; } to { opacity: 1; } }
@keyframes product-related-rise { from { opacity: .12; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes product-related-zoom { from { opacity: .12; transform: scale(.975); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 640px) {
  .product-grid--related { gap: 27px 12px; }
  .product-related__heading { margin-bottom: 28px; }
}
/* v108 | Widgets personalizados de Inicio: imagen, icono y animaciones validadas por administración. */
.home-custom-section { position: relative; isolation: isolate; overflow: hidden; }
.home-custom-section__background { position: absolute; inset: 0; z-index: -1; margin: 0; }
.home-custom-section__background::after { position: absolute; inset: 0; content: ""; background: linear-gradient(110deg,rgba(0,0,0,.66),rgba(0,0,0,.25)); }
.home-custom-section__background img { width: 100%; height: 100%; object-fit: cover; }
.home-custom-section__inner { position: relative; }
.home-custom-section__image { width: min(100%, 920px); margin: 0 0 28px; border: 1px solid color-mix(in srgb, var(--home-section-accent) 40%, transparent); border-radius: 12px; object-fit: cover; }
.home-custom-section__icon { display: grid; width: 44px; height: 44px; margin-bottom: 16px; place-items: center; color: var(--home-section-accent); border: 1px solid color-mix(in srgb, var(--home-section-accent) 56%, transparent); border-radius: 50%; font-size: 22px; font-weight: 900; }
.home-custom-section[data-home-animation="fade"] .home-custom-section__inner { animation: home-custom-fade .6s ease both; }
.home-custom-section[data-home-animation="rise"] .home-custom-section__inner { animation: home-custom-rise .65s ease both; }
.home-custom-section[data-home-animation="float"] .home-custom-section__icon { animation: home-custom-float 2.8s ease-in-out infinite alternate; }
@keyframes home-custom-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes home-custom-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-custom-float { from { transform: translateY(-3px); } to { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .home-custom-section * { animation: none !important; } }/* Movimiento configurable para cada bloque de la portada. */
.home-managed-section { transition: transform var(--home-motion-duration,.36s) ease, filter var(--home-motion-duration,.36s) ease, box-shadow var(--home-motion-duration,.36s) ease; }
.home-managed-section[data-home-transition="fast"] { --home-motion-duration: .18s; }
.home-managed-section[data-home-transition="normal"] { --home-motion-duration: .36s; }
.home-managed-section[data-home-transition="slow"] { --home-motion-duration: .72s; }
.home-managed-section[data-home-hover="lift"]:hover { transform: translateY(-4px); }
.home-managed-section[data-home-hover="glow"]:hover { box-shadow: inset 0 0 0 1px var(--home-section-accent, #f9b700), 0 0 26px color-mix(in srgb,var(--home-section-accent,#f9b700) 23%,transparent); }
.home-managed-section[data-home-hover="zoom"]:hover { transform: scale(1.006); }
.home-managed-section[data-home-animation="fade"] { animation: home-section-fade .55s ease both; }
.home-managed-section[data-home-animation="rise"] { animation: home-section-rise .58s ease both; }
.home-managed-section[data-home-animation="slide-left"] { animation: home-section-left .58s ease both; }
.home-managed-section[data-home-animation="slide-right"] { animation: home-section-right .58s ease both; }
.home-managed-section[data-home-animation="zoom"] { animation: home-section-zoom .56s ease both; }
@keyframes home-section-fade { from { opacity: .08; } to { opacity: 1; } }
@keyframes home-section-rise { from { opacity: .08; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-section-left { from { opacity: .08; transform: translateX(-26px); } to { opacity: 1; transform: translateX(0); } }
@keyframes home-section-right { from { opacity: .08; transform: translateX(26px); } to { opacity: 1; transform: translateX(0); } }
@keyframes home-section-zoom { from { opacity: .08; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .home-managed-section, .home-managed-section * { animation: none !important; transition: none !important; } }/* v112 | Composiciones de widgets de Inicio inspiradas en Editor Pro. */
.home-custom-section__background > picture, .home-custom-section__background > img { display: block; width: 100%; height: 100%; }
.home-custom-section--framed .home-custom-section__inner { padding: clamp(22px,4vw,52px); border: 1px solid color-mix(in srgb,var(--home-section-accent) 42%,transparent); border-radius: 18px; background: color-mix(in srgb,var(--home-section-background) 76%,#fff); }
.home-custom-section--spotlight .home-custom-section__inner { padding: clamp(28px,5vw,68px); border-radius: 22px; background: radial-gradient(circle at 90% 10%,color-mix(in srgb,var(--home-section-accent) 25%,transparent),transparent 45%), var(--home-section-background); }
.home-custom-section--split .home-custom-section__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.8fr); align-items: center; gap: clamp(24px,5vw,74px); }
.home-custom-section--split .home-custom-section__image { grid-row: 1 / span 5; grid-column: 2; margin: 0; }
.home-custom-section__gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 28px; }
.home-custom-section__gallery picture, .home-custom-section__gallery > img { min-width: 0; }
.home-custom-section__media { display: block; width: 100%; aspect-ratio: 1 / 1; border: 1px solid color-mix(in srgb,var(--home-section-accent) 42%,transparent); border-radius: 10px; object-fit: cover; }
.home-custom-section__slider { display: grid; grid-auto-columns: minmax(210px,32%); grid-auto-flow: column; gap: 13px; margin-bottom: 28px; overflow: auto hidden; padding-bottom: 5px; scroll-snap-type: x mandatory; scrollbar-color: var(--home-section-accent) transparent; }
.home-custom-section__slider picture, .home-custom-section__slider > img { scroll-snap-align: start; }
.home-custom-section__slider .home-custom-section__media { aspect-ratio: 4 / 3; }
.home-custom-section__media-empty { display: grid; min-height: 140px; place-items: center; color: var(--home-section-text); border: 1px dashed color-mix(in srgb,var(--home-section-accent) 55%,transparent); border-radius: 10px; font-size: 13px; }
.home-custom-section__socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.home-custom-section__socials a { display: grid; width: 42px; height: 42px; place-items: center; color: var(--home-section-accent); border: 1px solid currentColor; border-radius: 50%; font-size: 20px; font-weight: 900; text-decoration: none; transition: color .22s ease, background .22s ease, transform .22s ease; }
.home-custom-section__socials a:hover { color: var(--home-section-background); background: var(--home-section-accent); transform: translateY(-3px); }
.home-custom-section__cta { margin-top: 25px; }
.home-custom-section__divider { display: block; width: min(220px,100%); height: 2px; background: var(--home-section-accent); }
.home-custom-section__spacer { display: block; height: clamp(40px,8vw,130px); }
.home-custom-section blockquote { max-width: 850px; margin: 0; color: var(--home-section-title); font-family: var(--home-section-font); font-size: clamp(28px,4vw,var(--home-section-title-size)); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
.home-custom-section__quote-author { color: var(--home-section-accent) !important; font-weight: 800; }
.home-custom-section__stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 24px; }
.home-custom-section__stats strong { display: grid; min-height: 90px; place-items: center; padding: 14px; color: var(--home-section-title); border: 1px solid color-mix(in srgb,var(--home-section-accent) 40%,transparent); border-radius: 12px; background: color-mix(in srgb,var(--home-section-background) 72%,#fff); font-size: clamp(16px,2vw,23px); text-align: center; }
@media (max-width: 720px) { .home-custom-section--split .home-custom-section__inner { grid-template-columns: 1fr; } .home-custom-section--split .home-custom-section__image { grid-row: auto; grid-column: auto; } .home-custom-section__gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-custom-section__slider { grid-auto-columns: 78%; } .home-custom-section__stats { grid-template-columns: repeat(2,minmax(0,1fr)); } }
/* v113 | Widgets adicionales del Editor Pro disponibles para la portada. */
.home-custom-section__carousel { display: grid; grid-auto-columns: minmax(180px,28%); grid-auto-flow: column; gap: 13px; margin-bottom: 28px; overflow: auto hidden; padding-bottom: 5px; scroll-snap-type: x mandatory; scrollbar-color: var(--home-section-accent) transparent; }
.home-custom-section__carousel picture, .home-custom-section__carousel > img { scroll-snap-align: start; }
.home-custom-section__carousel .home-custom-section__media { aspect-ratio: 4 / 3; }
.home-custom-section--heading .home-custom-section__inner { max-width: 1100px; }
.home-custom-section--heading .home-custom-section__inner > :is(h1,h2,h3) { max-width: 16ch; }
.home-custom-section--text .home-custom-section__inner { max-width: 800px; }
.home-custom-section--button .home-custom-section__inner { max-width: 700px; }
.home-custom-section--faq .home-custom-section__inner { max-width: 850px; padding: clamp(20px,3vw,34px); border: 1px solid color-mix(in srgb,var(--home-section-accent) 40%,transparent); border-radius: 14px; background: color-mix(in srgb,var(--home-section-background) 78%,#fff); }
.home-custom-section--faq .home-custom-section__inner > :is(h1,h2,h3) { color: var(--home-section-title); }
.home-custom-section--faq .home-custom-section__inner > p:not(.eyebrow) { max-width: none; }
@media (max-width:720px) { .home-custom-section__carousel { grid-auto-columns: 78%; } .home-custom-section--faq .home-custom-section__inner { padding: 20px; } }

/* Reseñas públicas: tarjetas y mensajes del formulario dentro del panel de valoraciones. */
.review-form__feedback { padding: 11px 13px; border-left: 3px solid var(--gold); background: #24200f; color: #f7e9ae !important; font-size: 13px !important; }
.review-form__feedback.is-error { border-color: #d95b64; background: #30171a; color: #ffc8ce !important; }
.review-form__feedback.is-success { border-color: #59b983; background: #112a20; color: #b9f3d0 !important; }
.product-public-reviews { grid-column: 1 / -1; width: min(100%, 880px); margin: clamp(22px, 4vw, 48px) auto 0; padding: clamp(16px, 4vw, 36px); border-block: 1px solid var(--line); }
.product-public-reviews h3 { margin: 0 0 16px; color: var(--white); font-size: clamp(18px, 2vw, 23px); }
.product-public-review { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding-block: 18px; }
.product-public-review + .product-public-review { border-top: 1px solid var(--line); }
.product-public-review__avatar { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #c2c2c2; }
.product-public-review__avatar::before, .product-public-review__avatar::after { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; background: #fff; content: ''; }
.product-public-review__avatar::before { top: 24%; width: 42%; height: 45%; }
.product-public-review__avatar::after { bottom: -24%; width: 80%; height: 56%; }
.product-public-reviews .product-public-review__content { display: grid; gap: 5px; padding: 0; overflow-wrap: anywhere; }
.product-public-review header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.product-public-review header strong { color: var(--white); }
.product-public-review time { color: #aaa; font-size: 12px; }
.product-public-reviews .product-public-review p { margin: 0; color: #d0d0d0; }
.product-public-review__stars { color: var(--gold); letter-spacing: .08em; }
.product-information .product-review-panel > .review-form__feedback { grid-column: 1 / -1; margin: 0; }

/* En móvil la silueta deja espacio suficiente para las reseñas largas. */
@media (max-width: 767px) {
    .product-public-review { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
}

/* H1 semántico y visible de Shop, administrable desde Analítica y SEO. */
.shop-page__title { margin: 0 0 22px; color: var(--white); font-size: clamp(30px, 4vw, 50px); letter-spacing: -.055em; line-height: 1; }
@media (max-width: 640px) { .shop-page__title { margin-bottom: 17px; font-size: 31px; } }

/* Ficha individual: el lienzo de escritorio conserva la composición actual,
   pero aprovecha el 90% de la ventana y deja márgenes laterales simétricos. */
@media (min-width: 821px) {
    .product-detail.shell,
    .product-information.shell,
    .product-related.shell {
        width: 90%;
        max-width: none;
    }

    /* El bloque de relacionados queda centrado como conjunto, sin alterar la
       grilla, el número de tarjetas ni los ajustes configurables del admin. */
    .product-related[data-product-related] {
        margin-inline: auto;
    }

    .product-related[data-product-related] :is(.product-related__heading, .product-grid--related) {
        width: 100%;
        margin-inline: auto;
    }

    .product-related[data-product-related] .product-related__heading {
        padding-inline-start: clamp(12px, 1vw, 18px);
    }
}

/*
 * Ajuste final de navegación y colecciones en móvil.
 *
 * Los controles mantienen un objetivo táctil cómodo sin desplazar el logo. Las
 * secciones públicas de productos y favoritos conservan un pequeño respiro
 * lateral para que títulos y precios no queden pegados al borde de la pantalla.
 */
@media (min-width: 561px) and (max-width: 767px) {
    .brand { width: min(114px, 30vw); }
    .header__actions .icon-button,
    .header__actions .cart-trigger,
    .header__actions .header-account-logout .icon-button,
    .header__actions .user-status { width: 46px; min-width: 46px; height: 46px; }
    .header__actions .header__menu-button { width: 44px; min-width: 44px; height: 44px; }
    .header__actions [data-search-toggle] svg,
    .header__actions .cart-trigger svg,
    .header__actions .header-account-icon > svg,
    .header__actions .header-account-logout svg { width: 30px; height: 30px; }
    .header__actions .header__menu-button span { width: 26px; }

    .catalog-section.home-managed-section[data-home-section="products"] .product-grid,
    .catalog-section.home-managed-section[data-home-section="favorites"] .product-grid { box-sizing: border-box; padding-inline: 14px; }
    .catalog-section.home-managed-section[data-home-section="products"] .product-card__info,
    .catalog-section.home-managed-section[data-home-section="favorites"] .product-card__info { padding-right: 6px; padding-left: 6px; }
}

@media (max-width: 560px) {
    .brand { width: min(104px, 29vw); }
    .header__actions .icon-button,
    .header__actions .cart-trigger,
    .header__actions .header-account-logout .icon-button,
    .header__actions .user-status { width: 46px; min-width: 46px; height: 46px; }
    .header__actions .header__menu-button { width: 44px; min-width: 44px; height: 44px; }
    .header__actions [data-search-toggle] svg,
    .header__actions .cart-trigger svg,
    .header__actions .header-account-icon > svg,
    .header__actions .header-account-logout svg { width: 29px; height: 29px; }
    .header__actions .header__menu-button span { width: 25px; }

    .catalog-section.home-managed-section[data-home-section="products"] .product-grid,
    .catalog-section.home-managed-section[data-home-section="favorites"] .product-grid { box-sizing: border-box; padding-inline: 12px; }
    .catalog-section.home-managed-section[data-home-section="products"] .product-card__info,
    .catalog-section.home-managed-section[data-home-section="favorites"] .product-card__info { padding-right: 5px; padding-left: 5px; }
}

@media (max-width: 390px) {
    .brand { width: min(90px, 27vw); }
    .header__actions .icon-button,
    .header__actions .cart-trigger,
    .header__actions .header-account-logout .icon-button,
    .header__actions .user-status { width: 40px; min-width: 40px; height: 40px; }
    .header__actions .header__menu-button { width: 38px; min-width: 38px; height: 38px; }
    .header__actions [data-search-toggle] svg,
    .header__actions .cart-trigger svg,
    .header__actions .header-account-icon > svg,
    .header__actions .header-account-logout svg { width: 26px; height: 26px; }
    .header__actions .header__menu-button span { width: 23px; }
}

@media (max-width: 350px) {
    .header__actions .icon-button,
    .header__actions .cart-trigger,
    .header__actions .header-account-logout .icon-button,
    .header__actions .user-status { width: 37px; min-width: 37px; height: 37px; }
    .header__actions .header__menu-button { width: 36px; min-width: 36px; height: 36px; }
    .header__actions [data-search-toggle] svg,
    .header__actions .cart-trigger svg,
    .header__actions .header-account-icon > svg,
    .header__actions .header-account-logout svg { width: 24px; height: 24px; }
    .header__actions .header__menu-button span { width: 22px; }
}

/* Formulario oficial de Brevo dentro del Club. Las reglas prevalecen sobre el
   estilo embebido de Sibforms, sin modificar el bloque HTML guardado. */
.newsletter[data-brevo-subscription] .newsletter__brevo-embed {
    width: min(100%, 590px);
    margin: 0 auto;
    text-align: left;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .sib-form,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed #sib-form-container,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed #sib-container,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    font-family: inherit !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .sib-form-block,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .form__entry,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .entry__field {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    background: transparent !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .entry__specification,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed label,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block__button-with-loader, .sib-form-block_button-with-loader) {
    max-width: none !important;
    color: inherit !important;
    font-family: inherit !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed #EMAIL,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[type='email'],
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[type='text'][name='EMAIL'],
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[type='text'][name='email'] {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    color: #151515 !important;
    border: 1px solid rgba(30, 30, 30, .2) !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-shadow: none !important;
    font: 400 16px/1.2 Arial, sans-serif !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed #EMAIL::placeholder,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[type='email']::placeholder { color: #a5b1c3 !important; opacity: 1 !important; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[aria-invalid='true'] { border-color: #b42332 !important; box-shadow: 0 0 0 3px rgba(180, 35, 50, .12) !important; }
/* El HTML público ya excluye el honeypot técnico de Brevo. Este seguro extra
   evita que un formulario legado lo muestre si quedara almacenado en caché. */
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[name='email_address_check'] { display: none !important; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .sib-optin {
    display: block !important;
    width: 100% !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .entry__choice,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed label:has(input[type='checkbox']) {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 0 22px !important;
    color: #151515 !important;
    font: 400 14px/1.45 Arial, sans-serif !important;
    text-align: left !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[type='checkbox'] { flex: 0 0 auto !important; width: 16px !important; height: 16px !important; margin: 0 !important; accent-color: #111 !important; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .sib-optin a,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed label:has(input[type='checkbox']) a { color: #111 !important; text-decoration: underline !important; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block__button, .sib-form-block_button),
.newsletter[data-brevo-subscription] .newsletter__brevo-embed button[type='submit'],
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[type='submit'] {
    display: flex !important;
    width: min(100%, 303px) !important;
    min-height: 55px !important;
    margin: 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 22px !important;
    color: #fff !important;
    border: 1px solid #050505 !important;
    border-radius: 0 !important;
    background: #050505 !important;
    box-shadow: none !important;
    font: 700 18px/1.1 Arial, sans-serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: color .2s ease, background-color .2s ease, transform .2s ease !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block__button, .sib-form-block_button):hover,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed button[type='submit']:hover,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[type='submit']:hover { color: #050505 !important; background: #fff !important; transform: translateY(-1px) !important; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block__button, .sib-form-block_button):disabled,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed button[type='submit']:disabled,
.newsletter[data-brevo-subscription] .newsletter__brevo-embed input[type='submit']:disabled { cursor: wait !important; opacity: .66 !important; transform: none !important; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .brevo-embed-feedback {
    width: 100% !important;
    margin: -8px 0 16px !important;
    padding: 10px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    font: 600 13px/1.42 Arial, sans-serif !important;
    text-align: left !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .brevo-embed-feedback[hidden] { display: none !important; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .brevo-embed-feedback.is-error { color: #7d1722 !important; border-color: #efb5bd !important; background: #fff4f5 !important; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .brevo-embed-feedback.is-success { color: #0d5938 !important; border-color: #9eddbf !important; background: #effcf4 !important; }
@media (max-width: 560px) {
    .newsletter[data-brevo-subscription] .newsletter__brevo-embed { width: 100% !important; }
    .newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block__button, .sib-form-block_button),
    .newsletter[data-brevo-subscription] .newsletter__brevo-embed button[type='submit'],
    .newsletter[data-brevo-subscription] .newsletter__brevo-embed input[type='submit'] { width: 100% !important; min-height: 52px !important; }
}

/* Pulido final del formulario Sibforms: conserva el código que entrega Brevo,
   pero normaliza los contenedores que Brevo envuelve con estilos propios. */
.newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(#sib-form-container, #sib-container, .sib-form, form) {
    width: min(100%, 472px) !important;
    max-width: 472px !important;
    margin-inline: auto !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block__button-with-loader, .sib-form-block_button-with-loader, .sib-form-block__button-wrapper, .sib-form-block_button-wrapper) {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block__button, .sib-form-block_button, button[type='submit'], input[type='submit']) {
    box-sizing: border-box !important;
    width: min(100%, 303px) !important;
    min-width: 0 !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 auto !important;
    padding: 0 34px !important;
    border: 1px solid #050505 !important;
    border-radius: 2px !important;
    background: #050505 !important;
    box-shadow: 0 8px 18px rgba(17, 17, 17, .18) !important;
    font: 800 17px/1 Arial, sans-serif !important;
    letter-spacing: -.015em !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block__button, .sib-form-block_button, button[type='submit'], input[type='submit']):hover {
    box-shadow: 0 11px 22px rgba(17, 17, 17, .26) !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .brevo-embed-feedback {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
    gap: 9px !important;
    border-width: 1px !important;
    box-shadow: 0 8px 18px rgba(29, 35, 32, .09) !important;
    font-weight: 700 !important;
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .brevo-embed-feedback::before {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    place-items: center;
    border-radius: 50%;
    font: 900 12px/1 Arial, sans-serif;
    content: '!';
}
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .brevo-embed-feedback.is-success::before { color: #fff; background: #0b5a38; content: '✓'; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .brevo-embed-feedback.is-error::before { color: #fff; background: #8a1f2b; }
.newsletter[data-brevo-subscription] .newsletter__brevo-embed .brevo-embed-feedback[hidden] { display: none !important; }
@media (max-width: 560px) {
    .newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(#sib-form-container, #sib-container, .sib-form, form) { max-width: 100% !important; }
    .newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block__button, .sib-form-block_button, button[type='submit'], input[type='submit']) { width: 100% !important; height: 54px !important; min-height: 54px !important; }
}

@keyframes brevo-button-pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.025); } }
@keyframes brevo-button-fade { from { opacity:0; } to { opacity:1; } }
@keyframes brevo-button-rise { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .newsletter[data-brevo-subscription] .newsletter__brevo-embed :is(.sib-form-block_button, button[type='submit'], input[type='submit']) { animation:none !important; transition:none !important; }
}

/* Cuenta de cliente: salida cómoda y el historial muestra cinco pedidos antes de desplazarse. */
.account-navigation__logout {
    margin-top: 22px;
    padding-top: 13px;
    border-top: 1px solid #3d3d3d;
}
.account-navigation__logout button {
    display: inline-flex;
    width: 100%;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    color: #f0f0f0;
    background: #242424;
    border: 1px solid #4b4b4b;
    border-radius: 9px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .16);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-underline-offset: 0;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.account-navigation__logout button::after { color: currentColor; font-size: 17px; line-height: 1; content: '→'; }
.account-navigation__logout button:hover,
.account-navigation__logout button:focus-visible {
    color: #171717;
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 10px 23px rgba(249, 183, 0, .2);
    outline: 0;
    transform: translateY(-1px);
}
.account-orders-scroll {
    max-height: 420px;
    scrollbar-width: auto;
    scrollbar-color: #8b8b8b #181818;
}
.account-orders-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.account-orders-scroll::-webkit-scrollbar-track { background: #181818; }
.account-orders-scroll::-webkit-scrollbar-thumb { background: #777; border: 2px solid #181818; border-radius: 999px; }
.account-orders-scroll::-webkit-scrollbar-thumb:hover { background: #a2a2a2; }
@media (max-width: 1080px) {
    .account-navigation__logout { margin-top: 16px; padding-top: 12px; }
}
@media (max-width: 640px) {
    .account-navigation__logout { margin-top: 14px; padding-top: 11px; }
    .account-navigation__logout button { min-height: 47px; }
    .account-orders-scroll { max-height: 420px; }
}

/* Acciones de factura: controles legibles tanto en escritorio como en móviles. */
.invoice-actions {
    align-items: center;
    margin-bottom: 26px;
}
.invoice-page,
.invoice-card,
.invoice-actions { min-width: 0; }
.invoice-actions__utilities {
    align-items: center;
    gap: 10px;
}
.invoice-actions :is(.invoice-actions__back, .invoice-actions__download, .invoice-actions__print) {
    display: inline-flex;
    min-height: 46px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid #545454;
    border-radius: 8px;
    box-shadow: 0 7px 16px rgba(0, 0, 0, .16);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.invoice-actions .invoice-actions__back {
    margin-left: clamp(8px, 1vw, 20px);
    color: #ffc400;
    border-color: rgba(255, 196, 0, .56);
    background: rgba(255, 196, 0, .07);
}
.invoice-actions .invoice-actions__download {
    color: #191919;
    border-color: var(--gold);
    background: var(--gold);
}
.invoice-actions .invoice-actions__print {
    color: var(--gold);
    background: #202020;
    cursor: pointer;
}
.invoice-actions :is(.invoice-actions__back, .invoice-actions__download, .invoice-actions__print):hover,
.invoice-actions :is(.invoice-actions__back, .invoice-actions__download, .invoice-actions__print):focus-visible {
    border-color: #f3c500;
    box-shadow: 0 10px 22px rgba(249, 183, 0, .22);
    outline: 0;
    transform: translateY(-1px);
}
.invoice-actions .invoice-actions__back:hover,
.invoice-actions .invoice-actions__back:focus-visible,
.invoice-actions .invoice-actions__print:hover,
.invoice-actions .invoice-actions__print:focus-visible { color: #191919; background: var(--gold); }
.invoice-actions .invoice-actions__download:hover,
.invoice-actions .invoice-actions__download:focus-visible { color: #fff; background: #111; }
@media (max-width: 840px) {
    .invoice-page { width: min(100% - 36px, 1380px); }
    .invoice-actions { align-items: flex-start; flex-wrap: wrap; }
    .invoice-actions__utilities { justify-content: flex-start; }
    .invoice-card > header,
    .invoice-addresses { gap: 22px; }
}
@media (max-width: 640px) {
    .invoice-page { width: min(100% - 24px, 1380px); }
    .invoice-actions { align-items: stretch; flex-direction: column; gap: 12px; margin-bottom: 20px; }
    .invoice-actions__utilities { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .invoice-actions .invoice-actions__back { margin-left: 0; }
    .invoice-actions :is(.invoice-actions__back, .invoice-actions__download, .invoice-actions__print) { width: 100%; min-height: 48px; padding-inline: 16px; font-size: 13px; }
}

/* El botón conserva respuesta visible mientras el servidor autentica o registra. */
.account-form .account-submit-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; }
.account-form .account-submit-button > i { display:none; width:17px; height:17px; flex:0 0 17px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:account-submit-spin .65s linear infinite; }
.account-form .account-submit-button.is-loading { cursor:wait; opacity:.88; }
.account-form .account-submit-button.is-loading > i { display:block; }
.account-form .account-submit-button.is-loading:hover { color:#000; background:#ffb700; }
@keyframes account-submit-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .account-form .account-submit-button > i { animation-duration:1.5s; } }

/* En teléfono, cada línea de la factura se vuelve una tarjeta para que ningún
   precio ni producto necesite desplazamiento lateral para leerse completo. */
@media (max-width: 640px) {
    .invoice-page .invoice-card { min-width:0; overflow:visible; }
    .invoice-page .invoice-items { display:block; min-width:0; width:100%; overflow:visible; border-collapse:separate; border-spacing:0; }
    .invoice-page .invoice-items thead { display:none; }
    .invoice-page .invoice-items tbody { display:grid; gap:12px; }
    .invoice-page .invoice-items tr { display:grid; gap:10px; padding:15px; border:1px solid #3d3d3d; background:#191919; }
    .invoice-page .invoice-items td { display:flex; width:100%; min-width:0; align-items:flex-start; justify-content:space-between; gap:16px; padding:0; color:#e5e5e5; border:0; font-size:13px; line-height:1.4; text-align:right; white-space:normal; }
    .invoice-page .invoice-items td::before { flex:0 0 auto; color:#9e9e9e; font-size:10px; font-weight:800; letter-spacing:.08em; text-align:left; text-transform:uppercase; content:attr(data-label); }
    .invoice-page .invoice-items td:first-child { display:grid; gap:6px; text-align:left; }
    .invoice-page .invoice-items td:first-child strong,
    .invoice-page .invoice-items td:first-child small { max-width:100%; overflow-wrap:anywhere; }
    .invoice-page .invoice-items td:first-child small { margin-top:0; }
    .invoice-page .invoice-totals { width:100%; margin-top:22px; }
}

/*
 * Salvaguardas responsive compartidas.
 *
 * La tienda mezcla plantillas administrables con contenido creado por el
 * catálogo. Estas reglas evitan que un texto, imagen o control nuevo fuerce
 * un desbordamiento horizontal, sin cambiar la composición de escritorio.
 */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

:where(img, picture, video, canvas, iframe, svg) {
    max-width: 100%;
}

:where(input, select, textarea, button) {
    max-width: 100%;
}

:where(pre, code) {
    overflow-wrap: anywhere;
}

.product-detail,
.product-detail > *,
.product-gallery,
.product-detail__content,
.product-options,
.product-information,
.purchase-controls,
.reviews,
.account-page,
.account-layout,
.account-content,
.invoice-page,
.invoice-card {
    min-width: 0;
}

/* Variantes táctiles: cada opción conserva su diámetro y la fila crece hacia abajo. */
@media (max-width: 767px) {
    .product-detail[data-product-detail-managed] .product-variation-picker.color-picker {
        --product-mobile-option-size: clamp(44px, var(--product-color-control-size, 44px), 54px);
        --product-mobile-option-gap: var(--product-color-control-gap, 10px);
    }

    .product-detail[data-product-detail-managed] .product-variation-picker.size-picker {
        --product-mobile-option-size: clamp(44px, var(--product-size-control-size, 44px), 54px);
        --product-mobile-option-gap: var(--product-size-control-gap, 10px);
    }

    .product-detail[data-product-detail-managed] .product-variation-picker {
        min-inline-size: 0;
        max-inline-size: 100%;
    }

    .product-detail[data-product-detail-managed] .product-variation-picker:is(.color-picker, .size-picker) > div {
        display: flex;
        flex-wrap: wrap;
        gap: max(10px, var(--product-mobile-option-gap));
        max-inline-size: 100%;
        padding: 5px;
        overflow: visible;
    }

    .product-detail[data-product-detail-managed] .product-variation-picker button[data-variation-option] {
        flex: 0 0 auto;
        inline-size: var(--product-mobile-option-size);
        min-inline-size: var(--product-mobile-option-size);
        block-size: var(--product-mobile-option-size);
        border-radius: 50%;
        aspect-ratio: 1;
    }

    .product-detail[data-product-detail-managed] .size-picker button[data-variation-option] {
        padding-inline: 5px;
        overflow-wrap: anywhere;
        text-align: center;
        line-height: 1.1;
    }
}

@media (max-width: 560px) {
    .product-gallery--spotlight .product-gallery__thumbs {
        right: 8px;
        bottom: 8px;
        gap: 7px;
        grid-template-columns: repeat(3, minmax(0, 52px));
    }

    .product-gallery--minimal .product-gallery__thumbs {
        max-width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .purchase-controls {
        grid-template-columns: minmax(104px, .42fr) minmax(0, 1fr);
    }

    .reviews__header,
    .section-heading {
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .header__inner {
        gap: 6px;
    }

    .brand {
        max-width: 42vw;
    }

    .product-detail h1,
    .shop-hero h1,
    .section-heading h2 {
        overflow-wrap: anywhere;
    }

    .whatsapp-button {
        right: max(11px, env(safe-area-inset-right));
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

