/* =========================================================
   PROMOCIONES
   ========================================================= */

.cp-promociones {

    padding: 90px 0;

}


/* =========================================================
   TARJETA DE PROMOCIÓN
   ========================================================= */

.cp-promo-card {

    height: 100%;

    padding: 2rem;

    background: var(--cp-background);

    border: 1px solid var(--cp-border);

    border-radius: 20px;

    box-shadow: var(--cp-shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

}


/* =========================================================
   CONTENIDO
   ========================================================= */

.cp-promo-content {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    height: 100%;

}


/* =========================================================
   ETIQUETA
   ========================================================= */

.cp-promo-label {

    display: inline-flex;

    align-items: center;

    padding: 0.4rem 0.75rem;

    margin-bottom: 1.25rem;

    border-radius: 999px;

    background: var(--cp-color-primary-light);

    color: var(--cp-color-primary);

    font-size: 0.85rem;

    font-weight: 600;

}


/* =========================================================
   TÍTULO
   ========================================================= */

.cp-promo-card h3 {

    margin-bottom: 0.75rem;

    font-family: var(--cp-font-heading);

    font-size: 1.5rem;

    font-weight: 700;

    line-height: 1.25;

    color: var(--cp-text-primary);

}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.cp-promo-card p {

    margin-bottom: 1.5rem;

    font-size: 1rem;

    line-height: 1.6;

    color: var(--cp-text-secondary);

}


/* =========================================================
   BOTÓN
   ========================================================= */

.cp-promo-card .cp-btn {

    margin-top: auto;

    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

}


/* =========================================================
   HOVER
   ========================================================= */

.cp-promo-card:hover {

    transform: translateY(-6px);

    border-color: var(--cp-color-primary);

    box-shadow: var(--cp-shadow-lg);

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .cp-promociones {

        padding: 70px 0;

    }

    .cp-promo-card {

        padding: 1.5rem;

    }

}

/* =========================================================
   PROMOCIÓN PRINCIPAL — PIZZAS 2X1
   ========================================================= */

.cp-promocion-2x1 {

    position: relative;

    padding: 4.5rem 0;

    background: var(--cp-color-primary);

    color: var(--cp-surface);

    overflow: hidden;

}


/* =========================================================
   ELEMENTOS DECORATIVOS
   ========================================================= */

.cp-promocion-2x1::before {

    content: "2X1";

    position: absolute;

    top: -55px;

    left: -30px;

    font-family: var(--cp-font-heading);

    font-size: 14rem;

    font-weight: 700;

    line-height: 1;

    color: rgba(255, 255, 255, .06);

    pointer-events: none;

}


.cp-promocion-2x1::after {

    content: "★";

    position: absolute;

    right: 5%;

    bottom: -30px;

    font-size: 10rem;

    color: rgba(255, 255, 255, .06);

    pointer-events: none;

}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.cp-2x1-header {

    position: relative;

    z-index: 1;

    text-align: center;

}


.cp-promocion-2x1-label {

    display: inline-flex;

    align-items: center;

    gap: .4rem;

    margin-bottom: .75rem;

    padding: .45rem 1rem;

    border: 1px solid rgba(255, 255, 255, .35);

    border-radius: 50px;

    font-family: var(--cp-font-heading);

    font-size: .8rem;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;

}


.cp-2x1-header h2 {

    margin: 0;

    font-family: var(--cp-font-heading);

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1;

    font-weight: 700;

    text-transform: uppercase;

}


.cp-2x1-header h2 strong {

    display: block;

    margin-top: .15rem;

    font-family: var(--cp-font-heading);

    font-size: clamp(5rem, 10vw, 8rem);

    line-height: .8;

    font-weight: 700;

    letter-spacing: -.06em;

    text-shadow: 4px 5px 0 rgba(0, 0, 0, .12);

}


.cp-2x1-header p {

    max-width: 600px;

    margin: 1.5rem auto 0;

    font-size: 1.05rem;

    font-weight: 500;

}


/* =========================================================
   TARJETAS DE TAMAÑOS
   ========================================================= */

.cp-2x1-size-card {

    position: relative;

    z-index: 1;

    height: 100%;

    padding: 1.4rem 1rem;

    text-align: center;

    background: var(--cp-surface);

    border: 2px solid rgba(255, 255, 255, .65);

    border-radius: 1.25rem;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.cp-2x1-size-card::before {

    content: "2";

    position: absolute;

    top: 8px;

    right: 12px;

    font-family: var(--cp-font-heading);

    font-size: .8rem;

    font-weight: 700;

    color: var(--cp-color-primary);

    opacity: .35;

}


.cp-2x1-size-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);

}


.cp-2x1-size-card h3 {

    margin: 0 0 .45rem;

    font-family: var(--cp-font-heading);

    font-size: 1.15rem;

    font-weight: 700;

    color: var(--cp-text-primary);

    text-transform: uppercase;

}


.cp-2x1-size-card span {

    display: block;

    font-family: var(--cp-font-heading);

    font-size: 2.15rem;

    line-height: 1;

    font-weight: 700;

    color: var(--cp-color-primary);

}


/* =========================================================
   ESPECIALIDADES
   ========================================================= */

.cp-2x1-specialties-wrapper {

    position: relative;

    z-index: 1;

    max-width: 900px;

    margin: 2.5rem auto 1.75rem;

    padding-top: 1.75rem;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, .25);

}


.cp-2x1-specialties-wrapper h3 {

    margin-bottom: .65rem;

    font-family: var(--cp-font-heading);

    font-size: 1.1rem;

    font-weight: 700;

    text-transform: uppercase;

}


.cp-2x1-specialties {

    margin: 0;

    font-size: .95rem;

    line-height: 1.8;

    font-weight: 500;

}


/* =========================================================
   BOTÓN
   ========================================================= */

.cp-promocion-2x1 .cp-btn-light {

    position: relative;

    z-index: 1;

    padding: .8rem 1.5rem;

    background: var(--cp-surface);

    color: var(--cp-color-primary);

    border: 2px solid var(--cp-surface);

    font-weight: 700;

    box-shadow: 0 6px 15px rgba(0, 0, 0, .12);

}


.cp-promocion-2x1 .cp-btn-light:hover {

    background: transparent;

    color: var(--cp-surface);

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .cp-promocion-2x1 {

        padding: 3.5rem 0;

    }


    .cp-promocion-2x1::before {

        font-size: 9rem;

        top: -20px;

    }


    .cp-promocion-2x1::after {

        font-size: 6rem;

        right: -10px;

        bottom: -20px;

    }


    .cp-2x1-header h2 strong {

        font-size: 5.5rem;

    }


    .cp-2x1-header p {

        padding: 0 1rem;

        font-size: .95rem;

    }


    .cp-2x1-size-card {

        padding: 1.15rem .75rem;

    }


    .cp-2x1-size-card h3 {

        font-size: .95rem;

    }


    .cp-2x1-size-card span {

        font-size: 1.65rem;

    }


    .cp-2x1-specialties-wrapper {

        margin-top: 2rem;

        padding: 1.5rem 1rem 0;

    }


    .cp-2x1-specialties {

        font-size: .88rem;

    }

}

/* =========================================================
   DECORACIÓN DEL TÍTULO 2X1
   ========================================================= */

.cp-2x1-title-decoration {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 1.5rem;

}


.cp-2x1-title-decoration > span {

    font-size: 2.2rem;

    line-height: 1;

    filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, .12));

}


.cp-2x1-title-decoration h2 {

    margin: 0;

}


/* =========================================================
   TEXTO DE LA PROMOCIÓN
   ========================================================= */

.cp-2x1-header > p {

    font-size: 1.05rem;

    font-weight: 600;

}


@media (max-width: 767.98px) {

    .cp-2x1-title-decoration {

        gap: .75rem;

    }


    .cp-2x1-title-decoration > span {

        font-size: 1.6rem;

    }

}

/* =========================================================
   PRECIO DE LA PROMOCIÓN
   ========================================================= */

.cp-promo-price {

    margin: 1rem 0;

    font-family: var(--cp-font-heading);

    font-size: 2rem;

    font-weight: 700;

    color: var(--cp-color-primary);

}
/* ==========================================
   IMÁGENES DE PROMOCIONES
========================================== */

.cp-promo-image-wrapper {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f3eee8;
    border-radius: 20px 20px 0 0;
}

.cp-promo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ==========================================
   ALTURA UNIFORME DE TARJETAS
========================================== */

.cp-promo-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cp-promo-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cp-promo-content .cp-promo-price {
    margin-top: auto;
    margin-bottom: 1rem;
}