/*
 * Woop Banners Admin - estilos públicos
 * Mantiene el diseño de los shortcodes independiente de Divi y su caché CSS.
 */

.woop-banner-dinamico,
.giftcard-wrap,
.bijou-wrap {
    width: 100%;
    max-width: 100%;
}

/* Banner Belleza */
.giftcard {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 340px;
    overflow: hidden;
    border-radius: 24px;
    background: #f7f4ee;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.giftcard-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(28px, 4vw, 52px);
}

.giftcard-title {
    margin: 0 0 24px;
    color: #171717;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 500;
    line-height: 1.02;
}

.giftcard-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.giftcard-cta:hover {
    background: #000;
    color: #fff !important;
    transform: translateY(-2px);
}

.giftcard-right {
    display: block;
    width: 100%;
    min-height: 340px;
    background-color: #ece8e0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Banner Mascota */
.bijou-box {
    position: relative;
    display: block;
    min-height: 340px;
    overflow: hidden;
    border-radius: 24px;
    background: #ececec;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    color: #fff;
    text-decoration: none !important;
}

.bijou-box > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.bijou-box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.02) 35%,
        rgba(0, 0, 0, 0.68) 100%
    );
    pointer-events: none;
}

.bijou-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 30px;
    color: #fff;
}

.bijou-overlay h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(23px, 2.2vw, 34px);
    font-weight: 600;
    line-height: 1.1;
}

.bijou-overlay p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}

.bijou-box:hover > img {
    transform: scale(1.035);
}

@media (max-width: 767px) {
    .giftcard {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .giftcard-left {
        padding: 30px 24px;
    }

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

    .giftcard-right {
        min-height: 250px;
    }

    .bijou-box {
        min-height: 340px;
    }

    .bijou-overlay {
        padding: 24px;
    }
}


/* Separación entre banner Belleza y Mascotas */
.giftcard {
    margin-right: 8px;
}

.bijou-box {
    margin-left: 8px;
}

/* En celular vuelven a ocupar todo el ancho */
@media (max-width: 767px) {
    .giftcard,
    .bijou-box {
        margin-left: 0;
        margin-right: 0;
    }
}