:root {
    --pitch-navy: #0B1F17;
    --chalk: #F4F7F2;
    --turf-green: #2F6B3C;
    --track-red: #E4572E;
    --scoreboard-amber: #FFB100;
}

html {
    overflow-x: clip;
}

body {
    font-family: 'Inter', sans-serif;
    background-color:  #ECEFEA;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

h1, h2 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

/* Header de la tienda */
.hero {
    background-color: rgba(236, 239, 234, 0.82);
    color: var(--pitch-navy);

    min-height: 72px;
    box-sizing: border-box;
    padding: 0 28px;
    margin: 0;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 3000;

    border-bottom: 1px solid rgba(11, 31, 23, 0.05);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: none;

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.hero-text h1 {
    margin: 0;
}

/* =========================
   MARCA DEL HEADER
   ========================= */

.marca-header {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: var(--pitch-navy);
}


/* símbolo gráfico */

.marca-simbolo {
    width: 30px;
    height: 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;

    transform: skewX(-18deg);
}

.marca-simbolo span {
    display: block;

    height: 4px;

    background: var(--track-red);

    border-radius: 1px;
}

.marca-simbolo span:nth-child(1) {
    width: 18px;
}

.marca-simbolo span:nth-child(2) {
    width: 25px;
}

.marca-simbolo span:nth-child(3) {
    width: 13px;
}


/* nombre */

.marca-nombre {
    font-family: 'Bebas Neue', sans-serif;

    font-size: 24px;
    font-weight: 400;

    line-height: 1;

    letter-spacing: 1.4px;

    white-space: nowrap;
}

.marca-nombre strong {
    font-weight: 400;
    color: var(--turf-green);
}

#form-auth-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.icono-header {
    width: 20px;
    height: 20px;
    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inputs-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.inputs-auth input {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;

    padding: 0 14px;

    background: rgba(255, 255, 255, 0.72);
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.11);
    border-radius: 9px;

    font-family: 'Inter', sans-serif;
    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.inputs-auth input:focus {
    background: white;
    border-color: rgba(228, 87, 46, 0.42);

    box-shadow:
        0 0 0 3px rgba(228, 87, 46, 0.07);
}

.inputs-auth input::placeholder {
    color: rgba(11, 31, 23, 0.4);
}

#mensaje-auth {
    color: var(--track-red);
    font-size: 11px;
    margin: 0;
}

#info-usuario-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    text-align: left;
}


#btn-logout {
    width: 100%;

    margin-top: 10px;
    padding: 11px 14px;

    background: transparent;
    color: rgba(11, 31, 23, 0.58);

    border: 1px solid rgba(11, 31, 23, 0.12);
    border-radius: 8px;

    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;

    cursor: pointer;
}

#btn-logout:hover {
    background: rgba(228, 87, 46, 0.06);
    color: var(--track-red);
}

#btn-mis-compras {
    width: 100%;

    margin-top: 20px;
    padding: 13px 16px;

    background: var(--pitch-navy);
    color: var(--chalk);

    border: none;
    border-radius: 8px;

    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    cursor: pointer;
}

#btn-mis-compras:hover {
    background: var(--turf-green);
    transform: none;
}

/* Buscador y carrito */
.header-derecha {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 14px;
}

#input-buscador {
    width: 210px;
    height: 40px;
    box-sizing: border-box;

    padding: 0 16px;

    background: rgba(255, 255, 255, 0.42);
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.12);
    border-radius: 999px;

    font-family: 'Inter', sans-serif;
    font-size: 13px;

    outline: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#input-buscador::placeholder {
    color: rgba(11, 31, 23, 0.45);
}

#input-buscador:focus {
    background: rgba(255, 255, 255, 0.7);

    border-color: rgba(228, 87, 46, 0.45);

    box-shadow:
        0 0 0 3px rgba(228, 87, 46, 0.08);
}

.usuario-container,
.carrito-container {
    position: relative;
}

#boton-usuario,
#boton-carrito,
#btn-buscar-movil {
    background: transparent;
    color: var(--pitch-navy);
    border: none;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

#boton-usuario:hover,
#boton-carrito:hover,
#btn-buscar-movil:hover {
    color: var(--track-red);
    transform: translateY(-1px);
}

#contador-carrito {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--track-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

#btn-cerrar-auth {
    position: absolute;
    top: 22px;
    right: 24px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: rgba(247, 248, 245, 0.92);
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.10);
    border-radius: 50%;

    font-size: 21px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 5px 18px rgba(11, 31, 23, 0.12);

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

#btn-cerrar-auth:hover {
    background: #F7F8F5;
    color: var(--track-red);
    transform: scale(1.05);
}

#seccion-auth {
    display: none;
    position: fixed;
    inset: 0;

    justify-content: center;
    align-items: center;

    padding: 24px;
    box-sizing: border-box;

    background: rgba(11, 31, 23, 0.46);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    z-index: 6000;
}

#seccion-auth.mostrar {
    display: flex !important;
}

#form-auth-header,
#info-usuario-header {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;

    padding: 34px 30px 28px;

    background: #F7F8F5;
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.08);
    border-radius: 18px;

    box-shadow:
        0 24px 70px rgba(11, 31, 23, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.45);
}

#info-usuario-header > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 5px;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(11, 31, 23, 0.09);

    color: rgba(11, 31, 23, 0.50);

    font-size: 12px;
}

#info-usuario-header > span strong {
    font-size: 18px;
    color: var(--pitch-navy);

    overflow: hidden;
    text-overflow: ellipsis;
}

#seccion-carrito {
    display: none;

    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    width: 390px;
    max-height: 70vh;
    box-sizing: border-box;

    padding: 26px 22px 20px;

    overflow-y: auto;

    background: #F7F8F5;
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.09);
    border-radius: 16px;

    box-shadow:
        0 18px 50px rgba(11, 31, 23, 0.16);

    z-index: 5000;
}

#seccion-carrito.mostrar {
    display: block !important;
}

#seccion-carrito h2 {
    margin: 0 0 18px;

    color: var(--pitch-navy);

    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.8px;

    text-transform: uppercase;
}

#lista-carrito {
    list-style: none;

    margin: 0 0 14px;
    padding: 0;

    max-height: 260px;
    overflow-y: auto;
}

#lista-carrito::-webkit-scrollbar {
    width: 6px;
}

#lista-carrito::-webkit-scrollbar-thumb {
    background-color: rgba(11, 31, 23, 0.22);
    border-radius: 4px;
}

#lista-carrito li {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    padding: 13px 0;

    color: var(--pitch-navy);

    border-bottom: 1px solid rgba(11, 31, 23, 0.09);
}

#lista-carrito li > span {
    flex: 1;

    font-size: 12px;
    line-height: 1.45;
}

#lista-carrito .btn-eliminar {
    width: 30px;
    height: 30px;

    flex-shrink: 0;
    padding: 0;

    background: rgba(228, 87, 46, 0.08);
    color: var(--track-red);

    border: 1px solid rgba(228, 87, 46, 0.16);
    border-radius: 50%;

    font-size: 11px;
    cursor: pointer;
}

#mensaje-vacio {
    padding: 18px 0;

    color: rgba(11, 31, 23, 0.48);

    text-align: center;
    font-size: 13px;
}

#seccion-carrito > p {
    color: rgba(11, 31, 23, 0.65);
}

#total-carrito {
    color: var(--pitch-navy);

    font-family: 'Roboto Mono', monospace;
    font-size: 22px;
    font-weight: 700;
}

#vaciar-carrito {
    width: 100%;

    margin: 8px 0 0;
    padding: 10px 14px;

    background: transparent;
    color: rgba(11, 31, 23, 0.62);

    border: 1px solid rgba(11, 31, 23, 0.13);
    border-radius: 8px;

    cursor: pointer;
}

#btn-pagar {
    width: 100%;

    margin: 10px 0 0;
    padding: 13px 16px;

    background: var(--pitch-navy);
    color: var(--chalk);

    border: none;
    border-radius: 8px;

    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

#btn-pagar:hover {
    background: var(--turf-green);
    transform: translateY(-1px);
}

#mensaje-pago {
    margin-top: 10px;

    color: rgba(11, 31, 23, 0.62);

    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    line-height: 1.4;
}

#mensaje-pago.error {
    color: var(--track-red);
}

#mensaje-pago.aviso {
    color: #B37A00;
}

/* Catálogo de productos */

.catalogo-encabezado {
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;

    margin: 0 auto;
    padding: 64px 20px 34px;

    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
    align-items: end;

    gap: 60px;
    overflow-x: clip;
}


/* ---------------- TÍTULO ---------------- */

.catalogo-titulo {
    position: relative;
}

.catalogo-kicker {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 14px;

    color: var(--turf-green);

    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.catalogo-kicker::before {
    content: "";

    width: 28px;
    height: 2px;

    background: var(--track-red);
}

.catalogo-encabezado h2 {
    margin: 0;

    max-width: 800px;

    color: var(--pitch-navy);

    font-size: clamp(48px, 5.3vw, 76px);
    line-height: 0.88;
    letter-spacing: 0.5px;
}


/* ---------------- BLOQUE DERECHO ---------------- */

.catalogo-frase {
    align-self: end;

    padding-bottom: 8px;

    border-left: 2px solid var(--track-red);
    padding-left: 22px;
}

.catalogo-frase > span {
    display: block;

    margin-bottom: 10px;

    color: var(--turf-green);

    font-family: 'Roboto Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.catalogo-frase p {
    margin: 0;

    color: var(--pitch-navy);

    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(25px, 2.2vw, 34px);
    line-height: 0.98;
    letter-spacing: 0.6px;
}

.catalogo {
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    padding: 0 20px 40px;
}

#estado-busqueda {
    display: none;
    padding: 24px 20px 0;
    font-family: 'Inter', sans-serif;
}

body.modo-busqueda .hero-banner,
body.modo-busqueda .promo-ticker {
    display: none;
}

body.modo-busqueda #estado-busqueda {
    display: block;
}

body.modo-busqueda .catalogo-encabezado {
    display: none;
}

#estado-busqueda strong {
    color: var(--pitch-navy);
    font-size: 22px;
}

#estado-busqueda span {
    color: #6b7280;
    font-size: 14px;
    margin-left: 8px;
}

.producto {
    background: transparent;
    border: none;
    border-radius: 0;

    padding: 0;
    margin-bottom: 18px;

    display: flex;
    flex-direction: column;
    gap: 9px;

    overflow: visible;

    box-shadow: none;

    transition: transform 0.2s ease;
}

.producto:hover {
    transform: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.imagen-producto {
    width: 100%;
    aspect-ratio: 4 / 3;

    position: relative;
    overflow: hidden;

    background: #F5F6F3;

    border: 1px solid rgba(11, 31, 23, 0.08);
    border-radius: 16px;

    box-shadow:
        0 4px 14px rgba(11, 31, 23, 0.05);
}

.imagen-producto img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 16px;

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.3s ease;
}


.producto h2 {
    margin: 7px 4px 0;

    color: var(--pitch-navy);

    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.5px;

    text-transform: uppercase;
}

.precio {
    margin: 0;
    padding: 0;

    background: transparent;
    color: var(--pitch-navy);

    font-family: 'Roboto Mono', monospace;
    font-size: 19px;
    font-weight: 700;

    letter-spacing: -0.5px;
    white-space: nowrap;
}

.detalle {
    margin: 0 4px;

    color: #7b837e;

    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.producto-acciones {
    width: 100%;

    margin-top: 6px;
    padding-top: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    border-top: 1px solid rgba(11, 31, 23, 0.12);
}

.producto button {
    width: auto;
    min-height: auto;

    margin: 0;
    padding: 7px 0;

    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;

    background: transparent;
    color: var(--pitch-navy);

    border: none;
    border-radius: 0;

    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.producto button::after {
    content: "→";

    font-size: 16px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.producto button:hover {
    background: transparent;
    color: var(--track-red);
    box-shadow: none;
    transform: none;
}

.producto button:hover::after {
    transform: translateX(4px);
}

.producto button:active {
    transform: scale(0.97);
}
/* Notificaciones toast */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 7000;
}

.toast {
    background-color: var(--pitch-navy);
    color: var(--chalk);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-left: 5px solid var(--scoreboard-amber);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.mostrar {
    opacity: 1;
    transform: translateY(0);
}

.toast.exito {
    border-left-color: var(--turf-green);
}

.toast.eliminado {
    border-left-color: var(--track-red);
}

/* Modal de historial de compras */
#modal-historial {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
    box-sizing: border-box;

    background: rgba(11, 31, 23, 0.46);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    z-index: 7000;
}

#modal-historial.oculto {
    display: none;
}

.modal-contenido {
    width: 100%;
    max-width: 560px;
    max-height: 76vh;
    box-sizing: border-box;

    padding: 30px 26px 24px;

    background: #F7F8F5;
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.08);
    border-radius: 18px;

    box-shadow:
        0 24px 70px rgba(11, 31, 23, 0.22);

    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
    padding-bottom: 14px;

    border-bottom: 1px solid rgba(11, 31, 23, 0.09);
}

.modal-header h2 {
    margin: 0;

    color: var(--pitch-navy);

    font-size: 30px;
    line-height: 1;
    letter-spacing: 0.8px;

    text-transform: uppercase;
}

#btn-cerrar-modal {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: rgba(11, 31, 23, 0.05);
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.09);
    border-radius: 50%;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

#btn-cerrar-modal:hover {
    background: rgba(228, 87, 46, 0.08);
    color: var(--track-red);

    transform: scale(1.05);
}

.compra-item {
    margin-bottom: 12px;
    padding: 16px;

    background: rgba(255, 255, 255, 0.58);

    border: 1px solid rgba(11, 31, 23, 0.08);
    border-radius: 10px;

    box-shadow:
        0 2px 8px rgba(11, 31, 23, 0.035);
}

.compra-item ul {
    list-style: none;

    margin: 0 0 10px;
    padding: 0;

    color: rgba(11, 31, 23, 0.72);

    font-size: 13px;
    line-height: 1.55;
}

.compra-total {
    margin: 0;
    padding-top: 11px;

    color: var(--pitch-navy);

    border-top: 1px solid rgba(11, 31, 23, 0.09);

    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
    font-weight: 700;

    text-align: right;
}

.etiqueta-producto {
    position: absolute;
    top: 12px;
    left: 12px;

    display: inline-flex;
    align-items: center;

    padding: 6px 9px;

    background: rgba(11, 31, 23, 0.88);
    color: var(--chalk);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;

    font-family: 'Roboto Mono', monospace;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);

    z-index: 2;
    pointer-events: none;
}

.producto:hover .imagen-producto {
    z-index: 5;
}

.producto:hover .imagen-producto img {
    transform: scale(1.025);
    filter: brightness(1.02);
}




#btn-auth-principal {
    width: 100%;
    min-height: 46px;

    margin-top: 8px;
    padding: 0 18px;

    background: var(--pitch-navy);
    color: var(--chalk);

    border: none;
    border-radius: 9px;

    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

#btn-auth-principal:hover {
    background: var(--turf-green);
    transform: translateY(-1px);
}

.toggle-auth {
    margin: 6px 0 0 0;
    font-size: 11px;
    color: var(--pitch-navy);
    text-align: center;
}

.toggle-auth a {
    color: var(--track-red);
    cursor: pointer;
    text-decoration: underline;
}

.categorias-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.cat-link {
    background: none;
    border: none;

    color: rgba(11, 31, 23, 0.72);

    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    padding: 8px 0;

    position: relative;

    transition: color 0.2s ease;
}

.cat-link:hover {
    color: var(--pitch-navy);
}

.cat-link.activo {
    color: var(--track-red);
}

.cat-link.activo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;

    height: 2px;
    background-color: var(--track-red);

    border-radius: 2px;
}

.cat-item {
    position: relative;
    padding-bottom: 8px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 180px;
    padding: 7px;

    background: rgba(247, 248, 245, 0.97);

    border: 1px solid rgba(11, 31, 23, 0.09);
    border-radius: 10px;

    box-shadow:
        0 14px 35px rgba(11, 31, 23, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    flex-direction: column;

    z-index: 5000;
}

.cat-item:hover .submenu {
    display: flex;
}

.sub-link {
    display: block;

    padding: 10px 12px;

    color: rgba(11, 31, 23, 0.78);

    border-radius: 6px;

    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.sub-link:hover {
    background: rgba(228, 87, 46, 0.08);
    color: var(--track-red);

    transform: translateX(2px);
}

.hero-banner {
    position: relative;

    width: 100%;
    height: 68vh;
    min-height: 500px;
    max-height: 720px;

    margin: 0;

    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transform: scale(1);
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    padding: 60px;
    box-sizing: border-box;

    background:
        linear-gradient(
            90deg,
            rgba(11, 31, 23, 0.82) 0%,
            rgba(11, 31, 23, 0.45) 45%,
            rgba(11, 31, 23, 0.05) 100%
        );

    color: white;
}

.hero-banner-overlay h2 {
    max-width: 700px;

    margin: 0 0 10px;

    font-size: clamp(52px, 6vw, 88px);
    line-height: 0.92;
    letter-spacing: 1px;

    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-banner-overlay p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn-ver-catalogo {
    background-color: var(--track-red);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-ver-catalogo:hover {
    transform: translateY(-2px);
}


.hero-kicker {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 7px 11px;

    background: rgba(255, 177, 0, 0.12);
    border: 1px solid rgba(255, 177, 0, 0.45);

    color: var(--scoreboard-amber);

    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;

    border-radius: 4px;
}


.hero.scrolled {
    background-color: rgba(236, 239, 234, 0.97);

    border-bottom-color: rgba(11, 31, 23, 0.10);

    box-shadow:
        0 8px 28px rgba(11, 31, 23, 0.08);
}

.promo-ticker {
    width: 100%;
    margin-left: 0;

    overflow: hidden;

    background: #E1E6DF;
    color: var(--pitch-navy);

    border-top: 1px solid rgba(11, 31, 23, 0.10);
    border-bottom: 1px solid rgba(11, 31, 23, 0.10);

    padding: 13px 0;
}

.promo-track {
    display: flex;
    width: max-content;

    animation: moverPromociones 24s linear infinite;
}

.promo-track span {
    display: flex;
    align-items: center;

    white-space: nowrap;

    padding: 0 32px;

    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.promo-track span::after {
    content: "•";
    margin-left: 32px;
    color: var(--track-red);
}

@keyframes moverPromociones {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.promo-ticker:hover .promo-track {
    animation-play-state: paused;
}

.hero-banner + .promo-ticker {
    margin-top: 0;
}

.revelar-izquierda,
.revelar-derecha {
    opacity: 0;

    transition:
        opacity 0.65s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.revelar-izquierda {
    transform: translateX(-55px);
}

.revelar-derecha {
    transform: translateX(55px);
}

.revelar-izquierda.visible,
.revelar-derecha.visible {
    opacity: 1;
    transform: translateX(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

#btn-menu-movil,
#btn-buscar-movil {
    display: none;
}

/* ---------------- TABLET ---------------- */
@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr auto 1fr;
        gap: 18px;
        padding: 0 20px;
    }

    .categorias-nav {
        gap: 18px;
    }

    .cat-link {
        font-size: 12px;
    }

    #input-buscador {
        width: 150px;
    }

    .catalogo {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-banner-overlay {
        padding: 45px;
    }

    .hero-banner-overlay h2 {
        font-size: clamp(46px, 6vw, 70px);
    }
}

/* ---------------- CELULAR / TABLET PEQUEÑA ---------------- */
@media (max-width: 768px) {
    /* Base */
    body {
        padding: 0;
    }

    /* Header */
    .hero {
    display: grid;

    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
        "marca menu acciones";

    min-height: 58px;
    padding: 8px 12px;
    margin: 0;

    gap: 10px;

    position: sticky;
    top: 0;

    background: rgba(236, 239, 234, 0.98);

    border-bottom: 1px solid rgba(11, 31, 23, 0.07);

    /* Importante para que el carrito vuelva
       a fijarse respecto de la pantalla */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

    #btn-menu-movil {
    grid-area: menu;
    justify-self: center;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;

    background: transparent;
    border: none;

    color: var(--pitch-navy);

    font-size: 18px;

    cursor: pointer;
}

   .hero-text {
    grid-area: marca;
    justify-self: start;
    min-width: 0;
}

    .marca-header {
    gap: 7px;
}

.marca-simbolo {
    width: 23px;
    height: 19px;

    gap: 2px;
}

.marca-simbolo span {
    height: 3px;
}

.marca-simbolo span:nth-child(1) {
    width: 14px;
}

.marca-simbolo span:nth-child(2) {
    width: 20px;
}

.marca-simbolo span:nth-child(3) {
    width: 10px;
}

.marca-nombre {
    font-size: 18px;
    letter-spacing: 0.9px;
}

    /* Navegación y categorías */
    /* =========================
   CATEGORÍAS MOBILE
   ========================= */

.categorias-nav {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    width: 100%;
    max-height: calc(100vh - 58px);

    overflow-y: auto;

    flex-direction: column;
    align-items: stretch;

    gap: 0;
    padding: 8px 12px 14px;

    box-sizing: border-box;

    background: rgba(236, 239, 234, 0.98);

    border-top: 1px solid rgba(11, 31, 23, 0.06);
    border-bottom: 1px solid rgba(11, 31, 23, 0.10);

    box-shadow:
        0 18px 35px rgba(11, 31, 23, 0.10);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    z-index: 4000;
}

.categorias-nav.mostrar-movil {
    display: flex;
}


/* cada categoría */

.cat-item {
    padding: 0;

    border-top: 1px solid rgba(11, 31, 23, 0.07);
}

.cat-item:first-child {
    border-top: none;
}


/* botón principal */

.cat-link {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 8px;

    background: transparent;
    color: rgba(11, 31, 23, 0.78);

    border: none;

    text-align: left;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.cat-link:hover {
    color: var(--pitch-navy);
}

.cat-link.activo {
    color: var(--track-red);
}


/* eliminamos la línea inferior de desktop */

.cat-link.activo::after {
    display: none;
}


/* submenu */

.categorias-nav .cat-item .submenu {
    display: none;

    position: static;

    width: 100%;
    min-width: 0;

    box-sizing: border-box;

    margin: 0 0 8px;
    padding: 5px;

    background: rgba(11, 31, 23, 0.035);

    border: 1px solid rgba(11, 31, 23, 0.05);
    border-radius: 8px;

    box-shadow: none;

    backdrop-filter: none;
}


/* solo se abre cuando JS pone .abierto */

.categorias-nav .cat-item.abierto .submenu {
    display: flex;
}


/* enlaces secundarios */

.sub-link {
    width: 100%;
    box-sizing: border-box;

    padding: 11px 12px;

    color: rgba(11, 31, 23, 0.68);

    border-radius: 6px;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transform: none;
}

.sub-link:hover {
    background: rgba(228, 87, 46, 0.07);
    color: var(--track-red);

    transform: none;
}

    /* Acciones del header y buscador */
    .header-derecha {
        grid-area: acciones;
        justify-self: end;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    #btn-buscar-movil {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;

    background: transparent;
    border: none;

    color: var(--pitch-navy);

    cursor: pointer;
}

    #input-buscador {
        display: none;
        position: fixed;
        top: 58px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 14px 18px;
        background-color: rgba(236, 239, 234, 0.98) !important;
        color: var(--pitch-navy) !important;
        opacity: 1 !important;
        border: none;
        border-bottom: 1px solid rgba(11, 31, 23, 0.10);
        border-radius: 0;
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        outline: none;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
        z-index: 9999;
    }

    #input-buscador::placeholder {
        color: rgba(11, 31, 23, 0.45);
    }

    #input-buscador:focus {
        width: 100%;

        background-color: rgba(236, 239, 234, 0.98) !important;
        color: var(--pitch-navy) !important;

        box-shadow: none;
    }

    #input-buscador.mostrar-movil {
        display: block;
    }

    body.modo-busqueda #estado-busqueda {
    padding-top: 64px;
}

    #boton-usuario,
    #boton-carrito {
    width: 36px;
    height: 36px;

    color: var(--pitch-navy);

    flex-shrink: 0;
}

    /* Carrito */
    #seccion-carrito {
    position: fixed;

    top: auto;
    bottom: max(8px, env(safe-area-inset-bottom));

    left: 50%;
    right: auto;

    transform: translateX(-50%);

    width: calc(100% - 16px);
    max-width: 500px;
    max-height: 72svh;


    box-sizing: border-box;
    padding: 26px 18px 18px;

    overflow-y: auto;

    background: #F7F8F5;
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.09);
    border-radius: 18px;

    box-shadow:
        0 -4px 16px rgba(11, 31, 23, 0.05),
        0 18px 50px rgba(11, 31, 23, 0.18);

    z-index: 6000;
}

#seccion-carrito::before {
    content: "";

    position: absolute;
    top: 9px;
    left: 50%;

    transform: translateX(-50%);

    width: 38px;
    height: 4px;

    background: rgba(11, 31, 23, 0.18);

    border-radius: 999px;
}

    #seccion-carrito h2 {
    margin: 7px 0 16px;

    color: var(--pitch-navy);

    font-size: 27px;
    line-height: 1;
    letter-spacing: 0.8px;

    text-transform: uppercase;
}


#total-carrito {
    color: var(--pitch-navy);

    font-size: 22px;
    font-weight: 700;
}


    #lista-carrito {
    max-height: 220px;

    margin: 0 0 14px;
    padding: 0;
}

#lista-carrito li {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin: 0;
    padding: 13px 0;

    color: var(--pitch-navy);

    border-bottom: 1px solid rgba(11, 31, 23, 0.09);
}

#lista-carrito li > span {
    flex: 1;

    font-size: 12px;
    line-height: 1.4;
}


    #vaciar-carrito {
    width: 100%;

    margin: 8px 0 0;
    padding: 10px 14px;

    background: transparent;
    color: rgba(11, 31, 23, 0.62);

    border: 1px solid rgba(11, 31, 23, 0.13);
    border-radius: 8px;

    font-size: 12px;
}

#btn-pagar {
    width: 100%;

    margin: 10px 0 0;
    padding: 13px 16px;

    background: var(--pitch-navy);
    color: var(--chalk);

    border: none;
    border-radius: 8px;

    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;

    text-transform: uppercase;
}

    /* =========================
   CUENTA / LOGIN MOBILE
   ========================= */



#seccion-auth {
    align-items: flex-end;

    padding: 8px;

    background: rgba(11, 31, 23, 0.48);
}

#form-auth-header,
#info-usuario-header {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;

    margin: 0 auto;

    padding: 30px 20px 20px;

    background: #F7F8F5;
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.08);
    border-radius: 18px;

    box-shadow:
        0 18px 50px rgba(11, 31, 23, 0.20);

    animation: aparecer-panel-mobile 0.28s
        cubic-bezier(0.22, 1, 0.36, 1);
}

#info-usuario-header {
    gap: 0;
    text-align: left;
}

#info-usuario-header > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 5px;

    padding: 4px 0 18px;

    border-bottom: 1px solid rgba(11, 31, 23, 0.09);

    color: rgba(11, 31, 23, 0.5);

    font-size: 11px;
}

#info-usuario-header > span::before {
    content: "TU CUENTA";

    margin-bottom: 5px;

    color: var(--turf-green);

    font-family: 'Roboto Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
}


#info-usuario-header > span strong {
    width: 100%;

    color: var(--pitch-navy);

    font-size: 17px;
    font-weight: 600;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes aparecer-panel-mobile {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

   #btn-cerrar-auth {
    top: 12px;
    right: 12px;

    width: 32px;
    height: 32px;

    background: rgba(11, 31, 23, 0.05);
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.08);

    font-size: 19px;
}

#btn-cerrar-auth:hover {
    background: rgba(228, 87, 46, 0.08);
    color: var(--track-red);

    transform: none;
}

.inputs-auth input {
    min-height: 44px;

    padding: 0 13px;

    background: rgba(255, 255, 255, 0.65);

    border: 1px solid rgba(11, 31, 23, 0.11);
    border-radius: 8px;
}

.inputs-auth input:focus {
    border-color: rgba(228, 87, 46, 0.45);

    box-shadow:
        0 0 0 3px rgba(228, 87, 46, 0.07);
}

#btn-auth-principal {
    min-height: 44px;

    margin-top: 8px;

    background: var(--pitch-navy);
    color: var(--chalk);

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

#btn-mis-compras {
    width: 100%;

    margin-top: 18px;
    padding: 13px 14px;

    background: var(--pitch-navy);
    color: var(--chalk);

    border: none;
    border-radius: 8px;

    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow: none;
}

#btn-mis-compras:hover {
    background: var(--pitch-navy);
    transform: none;
}



/* =========================
   MIS COMPRAS MOBILE
   ========================= */

#modal-historial {
    align-items: flex-end;

    padding: 8px;
    box-sizing: border-box;

    background: rgba(11, 31, 23, 0.48);
}

.modal-contenido {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    max-height: 82svh;

    margin: 0 auto;

    padding: 26px 18px 18px;

    background: #F7F8F5;
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.08);
    border-radius: 18px;

    box-shadow:
        0 18px 50px rgba(11, 31, 23, 0.20);

    overflow-y: auto;

    animation: aparecer-panel-mobile 0.28s
        cubic-bezier(0.22, 1, 0.36, 1);
}

    /* =========================
   HERO MOBILE
   ========================= */

.hero-banner {
    height: 58svh;
    min-height: 420px;
    max-height: 590px;

    position: relative;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 72%;

    transform: scale(1.03);
}

.hero-banner-overlay {
    padding: 24px 16px 26px;

    justify-content: flex-end;
    align-items: flex-start;

    background:
        linear-gradient(
            to top,
            rgba(11, 31, 23, 0.92) 0%,
            rgba(11, 31, 23, 0.58) 36%,
            rgba(11, 31, 23, 0.12) 72%,
            rgba(11, 31, 23, 0.02) 100%
        );
}


/* etiqueta superior */

.hero-kicker {
    margin-bottom: 12px;

    padding: 5px 8px;

    font-size: 9px;
    letter-spacing: 1.1px;

    border-radius: 4px;
}


/* título */

.hero-banner-overlay h2 {
    max-width: 350px;

    margin: 0 0 10px;

    font-size: clamp(38px, 11vw, 52px);
    line-height: 0.91;
    letter-spacing: 0.5px;
}


/* descripción */

.hero-banner-overlay p {
    max-width: 310px;

    margin: 0 0 17px;

    font-size: 13px;
    line-height: 1.45;

    color: rgba(255, 255, 255, 0.84);
}


/* CTA */

.btn-ver-catalogo {
    position: relative;

    min-height: 43px;
    padding: 0 42px 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    border-radius: 6px;
}

.btn-ver-catalogo::after {
    content: "→";

    position: absolute;
    right: 16px;

    margin-left: 0;

    color: currentColor;
    font-size: 15px;
    line-height: 1;

    transition: transform 0.2s ease;
}

    /* Promo ticker */
    .promo-track {
        animation-duration: 30s;
    }

    .promo-track span {
        padding: 0 18px;
        font-size: 10px;
        letter-spacing: 0.4px;
    }

    /* =========================
   ENCABEZADO CATÁLOGO MOBILE
   ========================= */

.catalogo-encabezado {
    width: 100%;
    box-sizing: border-box;

    padding: 38px 14px 28px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 26px;
}


/* bloque principal */

.catalogo-titulo {
    width: 100%;
}

.catalogo-kicker {
    margin-bottom: 11px;

    gap: 8px;

    font-size: 9px;
    letter-spacing: 1.2px;
}

.catalogo-kicker::before {
    width: 22px;
}

.catalogo-encabezado h2 {
    max-width: 500px;

    font-size: clamp(40px, 12vw, 54px);
    line-height: 0.9;
}


/* frase secundaria */

.catalogo-frase {
    width: min(82%, 320px);

    align-self: flex-end;

    box-sizing: border-box;

    padding: 4px 0 4px 16px;

    border-left: 2px solid var(--track-red);
}

.catalogo-frase > span {
    margin-bottom: 8px;

    font-size: 8px;
    letter-spacing: 1.1px;
}

.catalogo-frase p {
    font-size: 26px;
    line-height: 0.96;
}

.revelar-izquierda {
    transform: translateX(-28px);
}

.revelar-derecha {
    transform: translateX(28px);
}

.revelar-izquierda.visible,
.revelar-derecha.visible {
    transform: translateX(0);
}

    /* Catálogo */
    .catalogo {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Tarjetas */
    .producto {
    padding: 0;
    gap: 7px;
    margin-bottom: 22px;

    border-radius: 0;
    box-shadow: none;
}

    .imagen-producto {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 9px;
        overflow: hidden;
    }

    .imagen-producto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 9px;
    }

    .producto h2 {
        margin: 6px 3px 0;
        font-size: 17px;
        line-height: 1;
        min-height: 34px;
    }

    .detalle {
        margin: 0 3px;
        font-size: 11px;
        line-height: 1.3;
    }

    .precio {
        margin: 0;
        padding: 0;

        background: transparent;

        font-size: 16px;
    }

    .producto button {
    width: auto;
    min-height: auto;

    padding: 7px 0;

    border-radius: 0;

    font-size: 10px;
    letter-spacing: 0.45px;

    white-space: nowrap;
}

    .etiqueta-producto {
    top: 8px;
    left: 8px;

    padding: 5px 7px;

    border-radius: 4px;

    font-size: 8px;
    letter-spacing: 0.7px;
}

    /* Toast */
    #toast-container {
    top: 72px;
    bottom: auto;

    left: 12px;
    right: 12px;

    z-index: 7000;
}

    .toast {
        width: 100%;
        box-sizing: border-box;
    }

    /* Historial de compras */


    .modal-header {
    margin-bottom: 18px;
    padding-bottom: 13px;

    border-bottom: 1px solid rgba(11, 31, 23, 0.09);
}

.modal-header h2 {
    margin: 0;

    color: var(--pitch-navy);

    font-size: 27px;
    line-height: 1;

    text-transform: uppercase;
}

#btn-cerrar-modal {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: rgba(11, 31, 23, 0.05);
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.08);
    border-radius: 50%;

    font-size: 19px;
}

    .compra-item {
    margin-bottom: 12px;
    padding: 14px;

    background: rgba(255, 255, 255, 0.55);

    border: 1px solid rgba(11, 31, 23, 0.08);
    border-radius: 10px;

    box-shadow:
        0 2px 8px rgba(11, 31, 23, 0.035);
}

    .compra-item ul {
    margin: 0 0 10px;
    padding: 0;

    color: rgba(11, 31, 23, 0.72);

    font-size: 12px;
    line-height: 1.55;
}

.compra-total {
    margin: 0;
    padding-top: 10px;

    color: var(--pitch-navy);

    border-top: 1px solid rgba(11, 31, 23, 0.09);

    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
    font-weight: 700;

    text-align: right;
}

}

/* ---------------- CELULAR PEQUEÑO ---------------- */
@media (max-width: 480px) {
    .hero {
        padding: 7px 10px;
    }


    #btn-menu-movil,
    #btn-buscar-movil,
    #boton-usuario,
    #boton-carrito {
        width: 34px;
        height: 34px;
    }

    .header-derecha {
        gap: 5px;
    }

    .categorias-nav {
        max-height: 75vh;
        overflow-y: auto;
    }

    .hero-banner {
    height: 48svh;
    min-height: 350px;
    max-height: 430px;
}

    .hero-banner-overlay {
        padding: 20px 14px;
    }

    .hero-banner-overlay h2 {
        font-size: clamp(34px, 12vw, 48px);
    }

    .catalogo {
        grid-template-columns: 1fr;
        padding-left: 10px;
        padding-right: 10px;
    }

}

@media (min-width: 481px) and (max-width: 610px) {

    .hero-banner {
        height: 48svh;
        min-height: 350px;
        max-height: 430px;
    }

}

/* Dispositivos sin hover real */
@media (hover: none) {
    .producto:hover {
    transform: none;
    box-shadow: none;
}

    .producto:hover img {
        transform: none;
    }

    .producto button:hover {
        transform: none;
        box-shadow: none;
    }

    .btn-ver-catalogo:hover {
        transform: none;
    }
}

#catalogo {
    scroll-margin-top: 90px;
}

/* ==========================================
   RESULTADO DE PAGO
   ========================================== */

.resultado-pago {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background: #f4f4f4;
}

.resultado-pago__card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.resultado-pago__icono {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 38px;
    font-weight: 700;
    background: #111111;
    color: #ffffff;
}

.resultado-pago__card h1 {
    margin-bottom: 14px;
    font-size: 2rem;
}

.resultado-pago__card p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.resultado-pago__detalle {
    opacity: 0.75;
}

.resultado-pago__boton {
    display: inline-block;
    margin-top: 22px;
    padding: 13px 24px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.resultado-pago__boton:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 600px) {
    .resultado-pago__card {
        padding: 32px 20px;
    }

    .resultado-pago__card h1 {
        font-size: 1.6rem;
    }
}

/* ==========================================
   CARRUSEL DE PRODUCTOS DESTACADOS
========================================== */

.destacados-carrusel {
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;

    margin: 0 auto;
    padding: 0 20px 38px;
}


/* Encabezado */

.destacados-encabezado {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 22px;
}

.destacados-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--turf-green);

    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.destacados-encabezado h2 {
    margin: 0;

    color: var(--pitch-navy);

    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 0.95;
    letter-spacing: 0.5px;
}


/* Controles */


.destacados-flecha {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;
    color: var(--pitch-navy);

    border: 1px solid rgba(11, 31, 23, 0.16);
    border-radius: 50%;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.destacados-flecha:hover {
    background: var(--pitch-navy);
    color: var(--chalk);
    border-color: var(--pitch-navy);

    transform: translateY(-2px);
}


/* Fila horizontal */

.destacados-track {
    display: flex;
    gap: 18px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    padding-bottom: 8px;

    scrollbar-width: none;
}

.destacados-track::-webkit-scrollbar {
    display: none;
}


/* Tarjetas dentro del carrusel */

.destacados-track .producto {
    flex: 0 0 calc((100% - 54px) / 4);

    min-width: 0;
    margin-bottom: 0;

    scroll-snap-align: start;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

    .destacados-track .producto {
        flex-basis: calc((100% - 36px) / 3);
    }
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 768px) {

    .destacados-carrusel {
        padding: 0 16px 30px;
    }

    .destacados-encabezado {
        align-items: center;
        margin-bottom: 18px;
    }

    .destacados-encabezado h2 {
        font-size: 36px;
    }

    .destacados-kicker {
        font-size: 9px;
    }

    .destacados-flecha {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    .destacados-track {
        gap: 14px;

        margin-right: -16px;
        padding-right: 16px;
    }

    .destacados-track .producto {
        flex-basis: 78%;
    }
}


/* Teléfonos chicos */

@media (max-width: 420px) {

    .destacados-encabezado h2 {
        font-size: 31px;
    }

    .destacados-track .producto {
        flex-basis: 84%;
    }
}

/* ==========================================
   CONTROLES LATERALES DESTACADOS
========================================== */

.destacados-slider {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 14px;
}


.destacados-slider .destacados-flecha {
    flex-shrink: 0;
}


@media (max-width: 480px) {


    .destacados-slider .destacados-flecha {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
}

@media (max-width: 610px) {
    .hero-banner img {
        object-position: 55% center;
        transform: scale(1);
    }
}

@media (max-width: 610px) {

    .hero-banner-overlay {
        padding: 18px 14px 20px;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .hero-kicker {
        position: absolute;
        top: 18px;
        left: 14px;

        margin: 0;
        padding: 5px 8px;

        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-banner-overlay h2 {
        max-width: 320px;

        margin: 0 0 10px;

        font-size: clamp(34px, 10.5vw, 42px);
        line-height: 0.9;
        letter-spacing: 0.4px;
    }

    .hero-banner-overlay p {
        max-width: 285px;

        margin: 0 0 15px;

        font-size: 12px;
        line-height: 1.4;
    }

    .btn-ver-catalogo {
        min-height: 40px;
        padding: 0 40px 0 16px;
        font-size: 11px;
    }
}

@media (max-width: 370px) {

    .destacados-track .producto-acciones {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .destacados-track .producto button {
        justify-content: flex-start;
    }
}

@media (max-width: 340px) {

    .marca-header {
        gap: 5px;
    }

    .marca-nombre {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    .marca-simbolo {
        width: 21px;
    }
}

@media (max-width: 768px) {
    .destacados-slider {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .destacados-slider .destacados-flecha {
        display: none;
    }
}