/* ========================================
   COUPONS BLOCK
======================================== */

.coupons-block {
    padding: 80px 0;
    padding-top: 180px;
    position: relative;
    overflow: hidden;
}

/* Background waves at top */
.coupons-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 115%;
    height: 100%;
    background-image: url('/wp-content/uploads/2026/01/Mask-group-1.svg');
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
}

@media (min-width: 1500px) {
    .coupons-block {
        padding-top: 240px;
    }
}

@media (min-width: 2000px) {
    .coupons-block {
        padding-top: 300px;
    }
}

/* Title */
.coupons-title {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--primary-red);
    text-align: center;
    margin: 0 0 50px;
    line-height: 1.1;
}

/* Coupons Grid */
.coupons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

/* Coupon Item */
.coupon-item {
    width: 384px;
    height: 323px;
    background-image: url('/wp-content/uploads/2026/01/Group-1000002107.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-inner {
    text-align: center;
    padding: 40px 30px;
}

/* Coupon Title */
.coupon-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--primary-black);
    margin: 0 0 16px;
    line-height: 1.2;
}

/* Coupon Content */
.coupon-content {
    font-family: var(--font-content);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    line-height: 1.5;
}

.coupon-content p {
    margin: 0;
}

/* CTA */
.coupons-cta {
    display: flex;
    justify-content: center;
}

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

/* 1200px - 1399px: 3 columnas más compactas */
@media (min-width: 1200px) and (max-width: 1399px) {
    .coupons-grid {
        gap: 15px;
    }

    .coupon-item {
        width: 340px;
        height: 286px;
    }

    .coupon-title {
        font-size: 32px;
    }

    .coupon-inner {
        padding: 35px 25px;
    }
}

/* 992px - 1199px: 2 columnas */
@media (max-width: 1199px) {
    .coupons-grid {
        gap: 20px;
    }

    .coupon-item {
        width: 384px;
        height: 323px;
    }
}



/* 768px - 991px: 2 columnas más pequeñas */
@media (max-width: 850px) {
    .coupon-item {
        width: 280px;
        height: 236px;
    }

    .coupon-title {
        font-size: 26px;
    }
}

/* Menos de 768px: 1 columna */
@media (max-width: 767px) {
    .coupons-grid {
        flex-direction: column;
        align-items: center;
    }

    .coupon-item {
        width: 384px;
        height: 323px;
    }

    .coupon-title {
        font-size: 36px;
    }

    .coupon-inner {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .coupons-block {
        padding: 40px 0;
        padding-top: 120px;
    }

    .coupons-block::before {
        height: 120px;
    }

    .coupons-title {
        font-size: 28px;
    }

    .coupon-item {
        width: 300px;
        height: 252px;
    }

    .coupon-title {
        font-size: 28px;
    }

    .coupon-inner {
        padding: 25px 20px;
    }

    .coupon-content {
        font-size: 14px;
    }
}


@media (max-width: 992px) {
    .coupons-block {
        padding: 60px 0;
        max-width: 100%;
    }

    .coupons-block::before {
        height: 112px;
        max-width: 100%;
        top: -50px;
        background-size: cover;
    }

    .coupons-title {
        font-size: 38px;
    }

    .coupon-item {
        width: 320px;
        height: 270px;
    }

    .coupon-title {
        font-size: 30px;
    }

    .coupon-inner {
        padding: 30px 20px;
    }

    /* CTA hover in mobile */
    .coupons-cta a:hover {
        background-color: var(--primary-white);
        color: var(--primary-blue);
        box-shadow: 3px 5px 0 0 var(--primary-red);
    }
}