/* ═══════════════════════════════════════════
   GUARIVA HERO CARRUSEL v3.0
   Layout: info izquierda | imagen derecha
   ═══════════════════════════════════════════ */

.gvh-wrap {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
}

/* ── Puntos decorativos de fondo ── */
.gvh-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(245,124,0,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 1;
    pointer-events: none;
}

/* ── Marca de agua GUARIVA ── */
.gvh-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(72px, 14vw, 180px);
    font-weight: 900;
    color: #f57c00;
    opacity: 0.06;
    letter-spacing: 2px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
    user-select: none;
    font-family: 'Arial Black', 'Impact', sans-serif;
    text-transform: uppercase;
}

/* ── Slogan flotante ── */
.gvh-slogan-wrap {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    pointer-events: none;
}
.gvh-slogan {
    display: inline-block;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 400;
    padding: 5px 20px;
    border-radius: 30px;
    margin: 0;
    letter-spacing: 0.4px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}
.gvh-slogan strong { color: #ffb74d; font-weight: 800; }

/* ── Contenedor de slides ── */
.gvh-slides { position: absolute; inset: 0; z-index: 3; }

/* ── Slide individual ── */
.gvh-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 90px 42px 70px;
    box-sizing: border-box;
    gap: 44px;
}
.gvh-slide.gvh-activo {
    opacity: 1;
    pointer-events: auto;
}

/* ══ LADO IZQUIERDO: info del producto ════════ */
.gvh-content {
    flex: 1;
    max-width: 400px;
    transform: translateX(-20px);
    opacity: 0;
    transition: transform 0.65s ease 0.25s, opacity 0.65s ease 0.25s;
}
.gvh-slide.gvh-activo .gvh-content {
    transform: translateX(0);
    opacity: 1;
}

.gvh-cat {
    display: inline-block;
    background: #f57c00;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.gvh-title {
    color: #fff;
    font-size: clamp(15px, 2.4vw, 22px);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gvh-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.gvh-cmp {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    text-decoration: line-through;
}
.gvh-prc {
    color: #ffb74d;
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(255,183,77,0.25);
}
.gvh-dsc {
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
}

.gvh-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 24px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.22s ease;
    box-shadow: 0 4px 18px rgba(37,211,102,0.38);
}
.gvh-btn:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(37,211,102,0.5);
    color: #fff !important;
    text-decoration: none !important;
}

/* ══ LADO DERECHO: imagen del producto ════════ */
.gvh-img-wrap {
    flex: 0 0 auto;
    width: clamp(240px, 30vw, 340px);
    height: clamp(240px, 30vw, 340px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 24px 48px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.07),
        0 0 40px rgba(245,124,0,0.12);
    background: #fff;
    position: relative;
    transform: translateX(20px) scale(0.96);
    opacity: 0;
    transition: transform 0.65s ease 0.15s, opacity 0.65s ease 0.15s;
}
.gvh-slide.gvh-activo .gvh-img-wrap {
    transform: translateX(0) scale(1);
    opacity: 1;
}
.gvh-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 5s ease;
}
.gvh-slide.gvh-activo .gvh-img-wrap img {
    transform: scale(1.04);
}

/* Badge sobre imagen */
.gvh-img-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(229,57,53,0.45);
    z-index: 2;
}

/* ── Flechas ── */
.gvh-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.18);
    color: #fff;
    width: 42px; height: 42px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}
.gvh-arrow:hover {
    background: #f57c00;
    border-color: #f57c00;
    transform: translateY(-50%) scale(1.1);
}
.gvh-prev { left: 14px; }
.gvh-next { right: 14px; }

/* ── Puntos ── */
.gvh-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 6px;
    align-items: center;
}
.gvh-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.gvh-dot.gvh-activo {
    background: #f57c00;
    width: 22px;
    border-radius: 4px;
}

/* ── Barra de progreso ── */
.gvh-progress-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #f57c00, #ffb74d);
    width: 0%;
    z-index: 20;
    box-shadow: 0 0 8px rgba(245,124,0,0.5);
}

/* ── Responsive tablet ── */
@media (max-width: 860px) {
    .gvh-wrap { height: auto; min-height: 400px; }
    .gvh-slide {
        flex-direction: column-reverse;
        padding: 56px 24px 52px;
        gap: 24px;
        text-align: center;
        align-items: center;
    }
    .gvh-img-wrap {
        width: 180px;
        height: 180px;
    }
    .gvh-content { max-width: 100%; }
    .gvh-prices { justify-content: center; }
    .gvh-btn { margin: 0 auto; }
    .gvh-cat { display: block; margin: 0 auto 12px; width: fit-content; }
}

@media (max-width: 480px) {
    .gvh-wrap { min-height: 460px; }
    .gvh-img-wrap { width: 150px; height: 150px; }
    .gvh-prc { font-size: 26px; }
    .gvh-arrow { width: 36px; height: 36px; font-size: 20px; }
}
