
.whsbp-hero {
    position: relative;
    width: 100%;
    min-height: var(--whsbp-height-desktop);
    overflow: hidden;
    border-radius: 0;
    isolation: isolate;
    background: #111;
}
.whsbp-slider, .whsbp-slide-item {
    position: absolute;
    inset: 0;
}
.whsbp-slide-item {
    opacity: 0;
    transform: translateX(0);
    transition: opacity .65s ease, transform .65s ease;
    pointer-events: none;
}
.whsbp-hero[data-effect="slide"] .whsbp-slide-item {
    transform: translateX(28px);
}
.whsbp-slide-item.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.whsbp-slide-item picture,
.whsbp-slide-item img {
    width: 100%;
    height: 100%;
    display: block;
}
.whsbp-slide-item img {
    object-fit: cover;
}
.whsbp-fallback-bg {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, #ffdd00 0, #f5a400 28%, #191919 70%);
}
.whsbp-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,var(--whsbp-overlay));
}
.whsbp-content-wrap {
    position: relative;
    z-index: 3;
    max-width: var(--whsbp-max-width);
    margin: 0 auto;
    min-height: var(--whsbp-height-desktop);
    padding: 56px 32px;
    display: flex;
    align-items: center;
}
.whsbp-copy {
    max-width: 560px;
    color: #fff;
    text-shadow: 0 8px 28px rgba(0,0,0,.32);
}
.whsbp-text-center .whsbp-content-wrap { justify-content: center; text-align: center; }
.whsbp-text-center .whsbp-copy { margin: 0 auto; }
.whsbp-text-right .whsbp-content-wrap { justify-content: flex-end; text-align: right; }
.whsbp-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 221, 0, .94);
    color: #111;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .02em;
    margin-bottom: 18px;
}
.whsbp-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 72px);
    line-height: .94;
    letter-spacing: -0.05em;
    font-weight: 900;
    color: #fff;
}
.whsbp-copy p {
    margin: 0 0 28px;
    max-width: 620px;
    font-size: clamp(16px, 1.4vw, 22px);
    line-height: 1.45;
    color: rgba(255,255,255,.92);
}
.whsbp-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.whsbp-text-center .whsbp-actions { justify-content: center; }
.whsbp-text-right .whsbp-actions { justify-content: flex-end; }
.whsbp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.whsbp-btn:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}
.whsbp-btn-primary {
    background: #ffdd00;
    color: #111 !important;
    box-shadow: 0 12px 30px rgba(255,221,0,.28);
}
.whsbp-btn-secondary {
    background: rgba(255,255,255,.14);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(10px);
}
.whsbp-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #111;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.whsbp-prev { left: 18px; }
.whsbp-next { right: 18px; }
.whsbp-dots {
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.whsbp-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    padding: 0;
}
.whsbp-dots button.is-active {
    width: 26px;
    border-radius: 999px;
    background: #ffdd00;
}
.whsbp-product-layer {
    position: relative;
    z-index: 8;
    max-width: var(--whsbp-max-width);
    margin: 0 auto;
    min-height: var(--whsbp-height-desktop);
    pointer-events: none;
}
.whsbp-product-list {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(1, minmax(250px, 300px));
    gap: 14px;
    pointer-events: auto;
}
.whsbp-product-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    padding: 13px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
}
.whsbp-product-img {
    position: relative;
    display: block;
    background: #f6f6f6;
    border-radius: 16px;
    overflow: hidden;
    min-height: 96px;
    text-decoration: none !important;
}
.whsbp-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.whsbp-product-badge,
.whsbp-discount {
    position: absolute;
    left: 7px;
    top: 7px;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
}
.whsbp-product-badge {
    background: #111;
    color: #fff;
}
.whsbp-discount {
    left: auto;
    right: 7px;
    background: #e90000;
    color: #fff;
}
.whsbp-product-body h3 {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 850;
}
.whsbp-product-body h3 a {
    color: #111;
    text-decoration: none !important;
}
.whsbp-product-body h3 a:hover {
    text-decoration: underline !important;
}
.whsbp-price {
    font-size: 16px;
    font-weight: 900;
    color: #e00000;
    margin-bottom: 6px;
}
.whsbp-price del {
    color: #777;
    font-size: 12px;
    opacity: .8;
}
.whsbp-stock {
    font-size: 12px;
    color: #0a7d24;
    font-weight: 800;
    margin-bottom: 6px;
}
.whsbp-countdown {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 11px;
    color: #333;
    margin-bottom: 8px;
}
.whsbp-countdown strong {
    color: #111;
}
.whsbp-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none !important;
}
.whsbp-product-btn:hover {
    background: #e00000;
    color: #fff !important;
    text-decoration: none !important;
}

@media (max-width: 1100px) {
    .whsbp-content-wrap {
        align-items: flex-start;
        padding-top: 54px;
    }
    .whsbp-product-list {
        left: 24px;
        right: 24px;
        top: auto;
        bottom: 48px;
        transform: none;
        grid-template-columns: repeat(3, minmax(210px, 1fr));
    }
    .whsbp-product-card {
        grid-template-columns: 78px 1fr;
    }
}

@media (max-width: 768px) {
    .whsbp-hero {
        min-height: var(--whsbp-height-mobile);
    }
    .whsbp-content-wrap {
        min-height: var(--whsbp-height-mobile);
        padding: 42px 18px;
        align-items: flex-start;
    }
    .whsbp-copy {
        max-width: 100%;
    }
    .whsbp-copy h2 {
        font-size: clamp(34px, 12vw, 54px);
    }
    .whsbp-actions {
        gap: 10px;
    }
    .whsbp-btn {
        min-height: 44px;
        padding: 12px 18px;
    }
    .whsbp-nav {
        display: none;
    }
    .whsbp-mobile-products-hidden .whsbp-product-layer {
        display: none;
    }
    .whsbp-product-layer {
        min-height: var(--whsbp-height-mobile);
    }
    .whsbp-product-list {
        left: 0;
        right: 0;
        bottom: 46px;
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding: 0 16px 8px;
        scroll-snap-type: x mandatory;
    }
    .whsbp-product-card {
        min-width: 275px;
        scroll-snap-align: start;
        grid-template-columns: 84px 1fr;
    }
    .whsbp-dots {
        bottom: 16px;
    }
}

/* v1.4.0: estructura estable: textos fuera del slide y productos premium abajo */
.whsbp-hero {
    overflow: visible;
    margin-bottom: 120px;
}
.whsbp-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}
.whsbp-slide-item .whsbp-content-wrap {
    display: none !important;
}
.whsbp-hero-copy-layer {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}
.whsbp-hero-copy-inner {
    max-width: var(--whsbp-max-width);
    margin: 0 auto;
    min-height: var(--whsbp-height-desktop);
    padding: 56px 32px 150px;
    display: flex;
    align-items: center;
    position: relative;
}
.whsbp-text-center .whsbp-hero-copy-inner {
    justify-content: center;
    text-align: center;
}
.whsbp-text-right .whsbp-hero-copy-inner {
    justify-content: flex-end;
    text-align: right;
}
.whsbp-copy-item {
    display: none;
    pointer-events: auto;
}
.whsbp-copy-item.is-active {
    display: block;
    animation: whsbpCopyIn .35s ease both;
}
@keyframes whsbpCopyIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.whsbp-product-layer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -78px;
    z-index: 8;
    max-width: none;
    min-height: 0;
    margin: 0;
    pointer-events: none;
}
.whsbp-product-list {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 22px;
    max-width: min(var(--whsbp-max-width), 1180px);
    margin: 0 auto;
    padding: 0 32px;
    pointer-events: auto;
}
.whsbp-product-card {
    width: 300px;
    min-height: 210px;
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
    transition: transform .22s ease, box-shadow .22s ease;
}
.whsbp-product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 32px 80px rgba(0,0,0,.28);
}
.whsbp-product-img {
    min-height: 118px;
}
.whsbp-product-body h3 {
    font-size: 15px;
    margin-bottom: 8px;
}
.whsbp-price {
    font-size: 18px;
}
.whsbp-dots {
    bottom: 26px;
}
@media (max-width: 1100px) {
    .whsbp-hero-copy-inner {
        align-items: flex-start;
        padding-top: 54px;
        padding-bottom: 190px;
    }
    .whsbp-product-layer {
        bottom: -70px;
    }
    .whsbp-product-list {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 24px 10px;
    }
    .whsbp-product-card {
        min-width: 285px;
        scroll-snap-align: start;
    }
}
@media (max-width: 768px) {
    .whsbp-hero {
        overflow: hidden;
        margin-bottom: 0;
    }
    .whsbp-hero-copy-inner {
        min-height: var(--whsbp-height-mobile);
        padding: 42px 18px 220px;
        align-items: flex-start;
    }
    .whsbp-product-layer {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 46px;
    }
    .whsbp-product-list {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 12px;
        padding: 0 16px 8px;
        scroll-snap-type: x mandatory;
    }
    .whsbp-product-card {
        min-width: 275px;
        width: 275px;
        grid-template-columns: 84px 1fr;
        border-radius: 22px;
        padding: 13px;
    }
    .whsbp-product-img {
        min-height: 96px;
    }
    .whsbp-mobile-products-hidden .whsbp-product-layer {
        display: none;
    }
}
