/* ==========================================
   LA FÁBRICA DE LAS MILANESAS
   BLACK FRIDAY | CATÁLOGO
========================================== */

:root {
    --primary: #c8202b;
    --primary-dark: #94151e;
    --primary-light: #ed3541;

    --background: #111113;
    --surface: #1b1b1f;
    --surface-light: #242429;

    --text: #f8f8f8;
    --text-muted: #a4a4aa;

    --border: rgba(255,255,255,0.09);

    --shadow: 0 12px 35px rgba(0,0,0,0.25);
    --shadow-hover: 0 20px 45px rgba(0,0,0,0.4);

    --radius: 16px;
    --transition: .3s ease;
}

/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 85px;
}

body {
    font-family: 'DM Sans', Arial, sans-serif;
    background-color: #171717;
    background-image:
        linear-gradient(rgba(15, 15, 15, 0.35), rgba(15, 15, 15, 0.35)),
        url("/static/img/Fondo%20Industrial%20de%20Milanesas%20y%20Especias.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* ==========================================
   BIENVENIDA BLACK FRIDAY
========================================== */

.bf-welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 20px;

    background: rgba(0,0,0,.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .4s ease,
        visibility .4s ease;
}

.bf-welcome-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bf-welcome-card {
    position: relative;

    width: 100%;
    max-width: 650px;
    min-height: 490px;

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

    padding: 35px 40px 25px;
    overflow: hidden;

    text-align: center;
    color: #fff;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(190,35,42,.30),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #292323,
            #111010 70%
        );

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;

    box-shadow:
        0 30px 90px rgba(0,0,0,.65),
        inset 0 1px rgba(255,255,255,.08);

    transform: translateY(35px) scale(.94);

    transition:
        transform .5s cubic-bezier(.2,.8,.2,1);
}

.bf-welcome-overlay.active .bf-welcome-card {
    transform: translateY(0) scale(1);
}

/* ETIQUETA */

.bf-welcome-tag {
    position: relative;
    z-index: 2;

    padding: 9px 19px;

    color: #fff;
    background: rgba(189,37,45,.18);

    border: 1px solid rgba(229,57,66,.55);
    border-radius: 30px;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 3px;
}

/* CONTENIDO */

.bf-welcome-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.bf-welcome-intro {
    margin: 25px 0 15px;

    color: #e7b4b5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
}

.bf-welcome-content h2 {
    display: block;
    width: 100%;
    margin: 0;

    color: #fff;
    line-height: 1;

    text-shadow: 0 8px 25px rgba(0,0,0,.5);
}

.bf-welcome-logo {
    display: block;
    width: min(100%, 360px);
    max-height: 230px;
    height: auto;

    margin: 0 auto;

    object-fit: contain;

    filter: drop-shadow(0 8px 22px rgba(0,0,0,.45));
}

.bf-welcome-content h2 span {
    color: #e53942;
}

.bf-welcome-divider {
    width: 65px;
    height: 3px;

    margin: 27px auto 20px;

    background: #e53942;
    border-radius: 5px;
}

.bf-welcome-content h3 {
    margin: 0;

    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.bf-welcome-slogan {
    max-width: 390px;
    margin: 17px auto 25px;

    color: #d3caca;
    font-size: 14px;
    line-height: 1.7;
}

/* BOTÓN DE BIENVENIDA */

.bf-welcome-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    padding: 16px 25px;

    color: #fff;
    background: linear-gradient(135deg, #d52e38, #a81721);

    border: none;
    border-radius: 9px;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(190,35,42,.3);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.bf-welcome-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(190,35,42,.45);
}

.bf-welcome-button span {
    font-size: 20px;
}

/* DECORACIÓN */

.bf-welcome-decoration {
    position: absolute;
    right: -15px;
    bottom: 35px;

    color: rgba(255,255,255,.035);
    font-size: 190px;
    font-weight: 1000;
    line-height: 1;

    transform: rotate(-15deg);
    pointer-events: none;
}

.bf-welcome-footer {
    position: relative;
    z-index: 2;

    margin: 25px 0 0;

    color: #a99b9b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}


/* ==========================================
   ENCABEZADO BLACK FRIDAY
========================================== */

.header {
    width: 100%;
    padding: 0;
    margin: 0;
    background: #151515;
    overflow: hidden;
}

.black-friday-banner {
    position: relative;
    width: 100%;
    min-height: 390px;

    padding: 30px 7%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 45%,
            rgba(190,35,42,.28),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #242020 0%,
            #171515 50%,
            #090909 100%
        );

    border-bottom: 4px solid #bd252d;

    box-shadow:
        0 15px 40px rgba(0,0,0,.45),
        inset 0 -30px 70px rgba(0,0,0,.25);
}

/* MARCA */

.bf-top {
    position: relative;
    z-index: 2;

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

.bf-dates {
    color: #ffffff;
}

.black-friday-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: 110px;
    object-fit: contain;
}

.logo-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: #bd252d;
    color: white;

    font-size: 19px;
    font-weight: 1000;

    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(189,37,45,.35);
}

.logo-text {
    display: flex;
    flex-direction: column;

    color: white;
    line-height: 1.1;
}

.logo-text strong {
    font-size: 17px;
    letter-spacing: 1.5px;
}

.logo-text small {
    margin-top: 5px;

    color: #d0c5c5;
    font-size: 10px;
    letter-spacing: 2px;
}

.bf-edition {
    padding: 9px 16px;

    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;

    background: rgba(255,255,255,.06);
}

/* PROTAGONISTA */

.bf-main {
    position: relative;
    z-index: 2;

    text-align: center;
    padding: 25px 0;
}

.bf-small {
    display: block;
    margin-bottom: 15px;

    color: #e7a1a3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
}

.bf-main h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;

    margin: 0;

    color: #fff;
    font-size: clamp(65px, 10vw, 125px);
    font-weight: 1000;
    line-height: .83;
    letter-spacing: -5px;

    text-shadow: 0 8px 25px rgba(0,0,0,.5);
}

.bf-main h1 span {
    color: #e53942;
    text-shadow: 0 5px 25px rgba(229,57,66,.25);
}

.bf-main p {
    margin-top: 22px;

    color: #d7d0d0;
    font-size: 14px;
    letter-spacing: 1px;
}

/* PIE DEL ENCABEZADO */

.bf-bottom {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    color: #e7e0e0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bf-star {
    color: #e53942;
    font-size: 18px;
}

/* DETALLES DECORATIVOS */

.bf-decoration {
    position: absolute;
    z-index: 1;

    color: rgba(255,255,255,.035);
    font-weight: 1000;

    pointer-events: none;
}

.bf-decoration-one {
    top: 22%;
    left: -20px;

    font-size: 180px;
    transform: rotate(-15deg);
}

.bf-decoration-two {
    right: -25px;
    bottom: 5%;

    font-size: 130px;
    transform: rotate(-15deg);
}


/* ==========================================
   NAVEGACIÓN DE CATEGORÍAS
========================================== */

.category-nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(25,25,29,.88);

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

    border-bottom: 1px solid var(--border);

    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.category-container {
    max-width: 1450px;
    min-height: 62px;

    margin: auto;
    padding: 0 5%;

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

.category-link {
    position: relative;

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

    padding: 0 26px;

    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;

    transition: var(--transition);
}

.category-link::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 50%;

    width: 0;
    height: 3px;

    background: var(--primary-light);
    border-radius: 10px;

    transform: translateX(-50%);
    transition: var(--transition);
}

.category-link:hover,
.category-link.active {
    color: white;
}

.category-link:hover::after,
.category-link.active::after {
    width: 55%;
}


/* ==========================================
   CATÁLOGO
========================================== */

.catalogo {
    max-width: 1450px;

    margin: auto;
    padding: 85px 5%;
}

.catalogo-heading {
    margin-bottom: 65px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    margin-bottom: 18px;

    color: var(--primary-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}

.catalogo-heading h2 {
    font-size: 38px;
    font-weight: 1000;
    letter-spacing: -1px;
}

.catalogo-heading p {
    margin-top: 12px;

    color: var(--text-muted);
    font-size: 14px;
}


/* ==========================================
   SECCIONES DE PRODUCTOS
========================================== */

.product-section {
    margin-bottom: 75px;
    scroll-margin-top: 90px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: 26px;
    font-weight: 900;
}

.section-line {
    flex: 1;
    height: 2px;

    background: linear-gradient(90deg, var(--primary), transparent);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    align-items: stretch;
    gap: 23px;
}

.catalogo-loading {
    grid-column: 1 / -1;

    padding: 40px 20px;

    background: var(--surface);
    border: 1px dashed rgba(255,255,255,.15);
    border-radius: var(--radius);

    color: var(--text-muted);
    text-align: center;
    font-size: 13px;
}


/* ==========================================
   TARJETAS DE PRODUCTOS
========================================== */

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;

    background: linear-gradient(145deg, #252529, #19191d);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);

    border-color: rgba(237,53,65,.55);
    box-shadow: var(--shadow-hover);
}

/* IMAGEN */

.product-card-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;
    background: var(--surface-light);

    display: grid;
    place-items: center;
}

.product-card-image img {
    display: block;

    width: 100%;
    height: 100%;

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

    transition: transform .6s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.07);
}

/* INFORMACIÓN */

.product-card-info {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 20px;
}

/* CATEGORÍA */

.product-card-category {
    display: inline-block;
    width: fit-content;

    margin-bottom: 10px;

    color: var(--primary-light);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* NOMBRE */

.product-card-info h3 {
    min-height: 2.6em;
    margin-bottom: 10px;

    color: var(--text);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
}

/* DESCRIPCIÓN */

.product-card-info p {
    min-height: 40px;
    margin-bottom: 16px;

    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* PRECIO Y UNIDAD */

.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

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

    border-top: 1px solid var(--border);
}

.product-card-bottom strong {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 1000;
}

.product-card-bottom span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}


/* ==========================================
   PIE DE PÁGINA
========================================== */

.footer {
    background: #0b0b0d;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1450px;

    margin: auto;
    padding: 60px 5%;

    display: grid;
    grid-template-columns: 1.1fr 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-brand h2 {
    font-size: 25px;
    font-weight: 1000;
}

.footer-brand > p {
    margin-top: 6px;

    color: var(--primary-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.footer-brand-description {
    display: block;
    margin-top: 20px;

    color: var(--text-muted);
    font-size: 13px;
}

.footer-info h3,
.footer-social h3 {
    margin-bottom: 20px;

    color: var(--primary-light);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.footer-branch {
    margin-bottom: 19px;
}

.footer-branch h4 {
    margin-bottom: 6px;

    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.footer-branch p {
    margin-bottom: 5px;

    color: var(--text-muted);
    font-size: 12px;
}

.footer-branch a {
    display: inline-block;

    color: #fff;
    font-size: 13px;
    font-weight: 700;

    transition: color .25s ease;
}

.footer-branch a:hover {
    color: var(--primary-light);
}

.footer-social > p {
    margin-bottom: 18px;

    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    padding: 11px 17px;

    color: #fff;
    background: #1b1b1f;

    border: 1px solid var(--border);
    border-radius: 8px;

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

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

.footer-social-links a:hover {
    background: var(--primary-dark);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 22px 5%;

    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: #77777e;
    font-size: 11px;
}


/* ==========================================
   TABLETS
========================================== */

@media (max-width: 900px) {

    .category-link {
        padding: 0 15px;
        font-size: 10px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 18px;
    }

    .product-card-info {
        padding: 16px;
    }

    .product-card-info h3 {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 35px;
    }

    .footer-social {
        grid-column: 1 / -1;
    }
}


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

@media (max-width: 650px) {

    .black-friday-banner {
        min-height: 340px;
        padding: 24px 5%;
    }

    .brand-logo {
        width: 145px;
        max-height: 60px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-text strong {
        font-size: 14px;
    }

    .bf-edition {
        font-size: 8px;
        padding: 7px 10px;
        letter-spacing: 1px;
    }

    .bf-main h1 {
        font-size: clamp(58px, 15vw, 85px);
        letter-spacing: -3px;
    }

    .bf-small {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .bf-main p {
        font-size: 12px;
    }

    .bf-bottom {
        gap: 9px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .bf-decoration-one {
        font-size: 110px;
    }

    .bf-decoration-two {
        font-size: 80px;
    }

    .category-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        padding: 0;
    }

    .category-link {
        min-height: 44px;
        padding: 8px 4px;
        font-size: 10px;
    }

    .catalogo {
        padding: 55px 4%;
    }

    .catalogo-heading {
        margin-bottom: 45px;
    }

    .catalogo-heading h2 {
        font-size: 29px;
    }

    .product-section {
        margin-bottom: 50px;
    }

    .section-heading h2 {
        font-size: 21px;
    }

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

    .product-card-info {
        padding: 13px;
    }

    .product-card-category {
        font-size: 9px;
        margin-bottom: 8px;
    }

    .product-card-info h3 {
        min-height: 2.6em;
        font-size: 13px;
    }

    .product-card-info p {
        min-height: 40px;
        margin-bottom: 13px;
        font-size: 10px;
    }

    .product-card-bottom {
        padding-top: 11px;
        flex-wrap: wrap;
    }

    .product-card-bottom strong {
        font-size: 12px;
    }

    .product-card-bottom span {
        font-size: 10px;
    }

    .footer-content {
        padding: 42px 6%;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-social {
        grid-column: auto;
    }

    .footer-bottom p {
        font-size: 10px;
        line-height: 1.6;
    }
}


/* ==========================================
   BIENVENIDA EN CELULARES
========================================== */

@media (max-width: 600px) {

    .bf-welcome-overlay {
        padding: 15px;
    }

    .bf-welcome-card {
        min-height: 430px;
        padding: 28px 20px 22px;
        border-radius: 17px;
    }

    .bf-welcome-logo {
    display: block;
    width: 340px;
    max-width: 100%;
    height: 200px;
    margin: 0 auto;
    object-fit: contain;
}

    .bf-welcome-content h3 {
        font-size: 12px;
    }

    .bf-welcome-slogan {
        font-size: 12px;
    }

    .bf-welcome-button {
        padding: 15px 18px;
        font-size: 10px;
    }

    .bf-welcome-footer {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .bf-welcome-decoration {
        font-size: 130px;
    }
}


/* ==========================================
   PANTALLAS MUY PEQUEÑAS
========================================== */

@media (max-width: 380px) {

    .bf-edition {
        display: none;
    }

    .bf-bottom {
        flex-wrap: wrap;
    }

    .bf-welcome-content h3 {
        font-size: 10px;
    }

    .bf-welcome-button {
        gap: 8px;
        padding: 14px 13px;
        font-size: 9px;
    }

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

    .combo-visual strong {
        font-size: 27px;
    }

    .combo-kicker {
        font-size: 7px;
    }

    .combo-seal {
        right: 5%;
        bottom: 7%;
        font-size: 7px;
    }
}


/* ==========================================
   ACCESIBILIDAD Y MOVIMIENTO
========================================== */

@media (prefers-reduced-motion: reduce) {

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


/* ==========================================
   ANIMACIONES BLACK FRIDAY
   ILUMINACIÓN Y EFECTOS DE MOVIMIENTO
========================================== */

/* ENCABEZADO PRINCIPAL */

.bf-main {
    position: relative;
    isolation: isolate;
}

.bf-main::before {
    content: "";
    position: absolute;
    z-index: -1;

    width: 75%;
    height: 150%;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        ellipse,
        rgba(255,255,255,.20) 0%,
        rgba(255,255,255,.09) 35%,
        transparent 72%
    );

    filter: blur(35px);

    animation: bf-header-light 3.5s ease-in-out infinite;
}

.bf-main h1 {
    position: relative;
    animation: bf-title-entry 1.2s ease-out both;
    text-shadow:
        0 0 8px rgba(255,255,255,.45),
        0 0 22px rgba(255,255,255,.25),
        0 8px 25px rgba(0,0,0,.5);
}

.bf-main h1 span {
    animation: bf-red-glow 2.8s ease-in-out infinite;
}

/* TARJETA DE BIENVENIDA */

.bf-welcome-card {
    isolation: isolate;
}

.bf-welcome-content {
    position: relative;
    isolation: isolate;
}

.bf-welcome-content::before {
    content: "";
    position: absolute;
    z-index: -1;

    width: 110%;
    height: 120%;

    top: 45%;
    left: 50%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        ellipse,
        rgba(255,255,255,.18),
        rgba(229,57,66,.12) 40%,
        transparent 75%
    );

    filter: blur(30px);

    animation: bf-welcome-light 3s ease-in-out infinite;
}

.bf-welcome-content h2 {
    animation: bf-welcome-title 1.2s ease-out both;

    text-shadow:
        0 0 8px rgba(255,255,255,.5),
        0 0 20px rgba(255,255,255,.25),
        0 8px 25px rgba(0,0,0,.5);
}

.bf-welcome-content h2 span {
    animation: bf-red-glow 2.5s ease-in-out infinite;
}

/* DESTELLO QUE RECORRE LOS TÍTULOS */

.bf-main h1::after {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;

    background: linear-gradient(
        110deg,
        transparent 35%,
        rgba(255,255,255,.65) 48%,
        transparent 60%
    );

    background-size: 250% 100%;
    background-repeat: no-repeat;

    animation: bf-shine 5s ease-in-out infinite;
}

/* BOTÓN DE BIENVENIDA */

.bf-welcome-button {
    position: relative;
    overflow: hidden;

    animation: bf-button-glow 2.5s ease-in-out infinite;
}

.bf-welcome-button::after {
    content: "";
    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.25),
        transparent
    );

    transform: skewX(-20deg);

    animation: bf-button-shine 4s ease-in-out infinite;
}

/* ANIMACIONES */

@keyframes bf-header-light {
    0%, 100% {
        opacity: .35;
        transform: translate(-50%, -50%) scale(.85);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes bf-title-entry {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.96);
        filter: blur(8px);
    }

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

@keyframes bf-red-glow {
    0%, 100% {
        text-shadow:
            0 0 8px rgba(229,57,66,.35),
            0 0 18px rgba(229,57,66,.15);
    }

    50% {
        text-shadow:
            0 0 12px rgba(229,57,66,.9),
            0 0 30px rgba(229,57,66,.65),
            0 0 50px rgba(229,57,66,.25);
    }
}

@keyframes bf-welcome-light {
    0%, 100% {
        opacity: .35;
        transform: translate(-50%, -50%) scale(.85);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.12);
    }
}

@keyframes bf-welcome-title {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.92);
        filter: blur(10px);
    }

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

@keyframes bf-shine {
    0%, 65% {
        background-position: 150% 0;
    }

    85%, 100% {
        background-position: -150% 0;
    }
}

@keyframes bf-button-glow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(190,35,42,.25);
    }

    50% {
        box-shadow:
            0 8px 30px rgba(190,35,42,.65),
            0 0 20px rgba(229,57,66,.25);
    }
}

@keyframes bf-button-shine {
    0%, 65% {
        left: -120%;
    }

    85%, 100% {
        left: 150%;
    }
}


/* ==========================================
   DISEÑO GRÁFICO DE LOS COMBOS
========================================== */

.combo-visual {
    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 18px;
    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(237,53,65,.35),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            #353035,
            #171316 70%,
            #090909
        );

    border: 1px solid rgba(255,255,255,.12);
}

/* TEXTURA Y LÍNEAS DECORATIVAS */

.combo-visual::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 18px,
            rgba(255,255,255,.035) 19px,
            transparent 21px
        );

    opacity: .7;
}

/* DESTELLO DEL DISEÑO */

.combo-visual::after {
    content: "";

    position: absolute;
    top: -50%;
    left: -100%;

    width: 55%;
    height: 200%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.15),
        transparent
    );

    transform: rotate(25deg);

    animation: combo-shine 6s ease-in-out infinite;

    pointer-events: none;
}

/* TEXTO SUPERIOR */

.combo-kicker {
    position: relative;
    z-index: 2;

    color: #e9bfc0;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

/* PALABRA PRINCIPAL */

.combo-visual strong {
    position: relative;
    z-index: 2;

    color: #fff;

    font-family: 'Oswald', sans-serif;
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;

    text-shadow:
        0 0 10px rgba(255,255,255,.35),
        0 0 25px rgba(229,57,66,.35);
}

/* TEXTO INFERIOR */

.combo-visual small {
    position: relative;
    z-index: 2;

    padding: 6px 12px;

    color: #fff;
    background: var(--primary-dark);

    border: 1px solid rgba(255,255,255,.2);
    border-radius: 3px;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 2px;
}

/* SELLO DECORATIVO */

.combo-seal {
    position: absolute;
    right: 7%;
    bottom: 8%;
    z-index: 2;

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

    width: 48px;
    height: 48px;

    color: #fff;
    background: rgba(200,32,43,.85);

    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;

    font-family: 'Oswald', sans-serif;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;

    transform: rotate(10deg);

    box-shadow: 0 4px 15px rgba(0,0,0,.35);
}

/* COMBO AHORRO */

.combo-ahorro {
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(237,53,65,.5),
            transparent 52%
        ),
        linear-gradient(
            145deg,
            #3a171b,
            #1b1114 65%,
            #090909
        );
}

.combo-ahorro strong {
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: 2px;
}

.combo-ahorro .combo-seal {
    background: #e53942;
}

/* COMBO CLÁSICO */

.combo-clasico {
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255,255,255,.15),
            transparent 50%
        ),
        linear-gradient(
            145deg,
            #343033,
            #1c1719 65%,
            #090909
        );
}

.combo-clasico strong {
    font-size: clamp(30px, 3.5vw, 45px);
    letter-spacing: 1px;
}

.combo-clasico small {
    background: #e53942;
}

.combo-clasico .combo-seal {
    color: #e53942;
    background: #fff;
    border-color: #e53942;
}

/* MOVIMIENTO DE LAS TARJETAS DE COMBOS */

.product-card:hover .combo-visual::after {
    animation-duration: 2s;
}

@keyframes combo-shine {
    0%, 65% {
        left: -100%;
    }

    85%, 100% {
        left: 150%;
    }
}


/* ==========================================
   RESPONSIVE DE LOS COMBOS
========================================== */

@media (max-width: 650px) {

    .combo-visual {
        gap: 6px;
        padding: 10px;
    }

    .combo-kicker {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .combo-visual strong {
        font-size: clamp(24px, 7vw, 34px);
    }

    .combo-visual small {
        padding: 5px 7px;
        font-size: 7px;
        letter-spacing: 1px;
    }

    .combo-seal {
        width: 37px;
        height: 37px;

        right: 5%;
        bottom: 5%;

        font-size: 7px;
    }
}


/* ==========================================
   RESPETO POR MOVIMIENTO REDUCIDO
========================================== */

@media (prefers-reduced-motion: reduce) {
    .bf-main::before,
    .bf-main h1,
    .bf-main h1 span,
    .bf-main h1::after,
    .bf-welcome-content h2 span,
    .bf-welcome-button,
    .bf-welcome-button::after,
    .combo-visual::after {
        animation: none !important;
    }
}
.brand-logo {
    display: block;
    width: 100%;
    max-width: 190px;
    height: 75px;
    object-fit: contain;
}

.bf-welcome-logo {
    display: block;
    width: 100%;
    max-width: 260px;
    height: 160px;
    margin: 0 auto;
    object-fit: contain;
}
.brand-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: 110px;
    object-fit: contain;
    border-radius: 0;
}

.bf-welcome-logo {
    display: block;
    width: 340px;
    max-width: 100%;
    height: 200px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 0;
}