/* =========================================================
   HYPE — ENERGY
   ========================================================= */

body {
    padding-top: 53px;
}

/* =========================================================
   SECCIÓN
   ========================================================= */

.pw-products-section {
    position: relative;
    padding: 90px 0;
    min-height: 100vh;
    background-color: #0a0a0a;
}

.pw-products-section__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.section-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 1;
}

.pw-products-section > .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   TÍTULO
   ========================================================= */

.section-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.section-title {
    margin: 0;
    color: #ffffff;
    font-family: 'QarantaBold', Arial, sans-serif;
    font-style: italic;
    text-transform: uppercase;
    white-space: nowrap;
}

.stw-line {
    flex: 1;
    max-width: 250px;
    height: 2px;
    background: #4cff00;
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    line-height: 1.6;
}

/* =========================================================
   GRID ENERGY
   ========================================================= */

.pw-products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 70px 24px;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    align-items: start;
}

/* =========================================================
   CARD — BOTELLA / LATA
   ========================================================= */

.pw-product-card {
    width: 100%;
    max-width: 275px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #0a0a0a;
    border-radius: 20px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.pw-product-card:hover {
    transform: translateY(-6px);
}

/* =========================================================
   FOTO
   ========================================================= */

.pw-card__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 270 / 425;

    overflow: hidden;

    border-radius: 20px 20px 0 0;
    background: #111111;
}

.pw-card__image,
.pw-card__video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.pw-card__image {
    opacity: 1;
    z-index: 2;
    transition: transform .4s ease, opacity .3s ease;
}

.pw-card__video {
    opacity: 0;
    z-index: 3;
    transition: opacity .3s ease;
}

.pw-product-card:hover .pw-card__image {
    transform: scale(1.04);
}

.pw-product-card:hover .pw-card__video {
    opacity: 1;
}

/* =========================================================
   LOGO
   ========================================================= */

.pw-card__logo {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;

    padding: 3px 6px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #0a0a0a !important;
    overflow: hidden;
}

.pw-card__logo img {
    display: block !important;

    width: 48% !important;
    max-width: none !important;

    max-height: 52px !important;
    height: auto !important;

    object-fit: contain !important;
}

/* =========================================================
   INFORMACIÓN
   ========================================================= */

.pw-card__info {
    width: 100%;
    height: 62px;
    min-height: 62px;

    padding: 7px 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background-color: #111111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pw-card__info p {
    margin: 0;

    color: #ffffff;

    font-size: .7rem;
    line-height: 1.25;
}

/* =========================================================
   DISCOVER
   ========================================================= */

.pw-card__btn {
    width: 100%;

    padding: 5px 15px 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0a0a0a;
}

.pw-card__btn a {
    position: relative;

    display: block;

    width: 155px;

    line-height: 0;
}

.pw-card__btn img {
    display: block;

    width: 100%;
    height: auto;

    transition: opacity .25s ease;
}

.pw-card__btn .btn-normal {
    opacity: 1;
}

.pw-card__btn .btn-hover {
    position: absolute;
    inset: 0;

    opacity: 0;
}

.pw-card__btn a:hover .btn-normal {
    opacity: 0;
}

.pw-card__btn a:hover .btn-hover {
    opacity: 1;
}

/* =========================================================
   ENERGY / NUTRITION / WELLNESS
   ========================================================= */

.pw-categories {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 1.5rem;

    margin-top: 70px;
}

.pw-cat-btn {
    width: 320px;
    min-width: 320px;

    padding: .45rem 2rem;

    border-radius: 15px;

    font-family: 'QarantaBold', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;

    letter-spacing: .14em;
    text-transform: uppercase;
    text-align: center;

    text-decoration: none;

    color: #0a0a0a !important;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.pw-cat-btn:hover {
    transform: translateY(-3px);
    opacity: .9;
    color: #ffffff !important;
}

.pw-cat-btn--energy {
    background: #4cff00;
}

.pw-cat-btn--nutrition {
    background: #00c8ff;
}

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

@media (max-width: 1100px) {

    .pw-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 60px 25px;
    }

    .pw-product-card {
        max-width: 275px;
    }
}

@media (max-width: 600px) {

    .pw-products-section {
        padding: 70px 20px;
    }

    .section-title-wrap {
        gap: 12px;
    }

    .stw-line {
        max-width: 80px;
    }

    .pw-products__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .pw-product-card {
        max-width: 280px;
    }

    .pw-categories {
        flex-direction: column;
        margin-top: 50px;
    }

    .pw-cat-btn {
        width: 280px;
        min-width: 280px;
    }
}
/* =========================================================
   ENERGY — ESPACIO PARA EL LOGO
   Solo aumenta la zona del logo.
   NO modifica la foto.
========================================================= */

.pw-product-card .pw-card__logo {
    height: 90px;
    min-height: 90px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.pw-product-card .pw-card__logo img {
    width: auto;
    max-width: 80%;
    max-height: 80px;
    height: auto;
    object-fit: contain;
    display: block;
}
.pw-cat-btn--wellness {
    background-color: #ff2d78;
    color: #0a0a0a;
}
/* 1. Contenedor principal alineado a la izquierda */
.range-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center; /* Alineación vertical (centro) */
    justify-content: flex-start; /* Mueve el contenido hacia la izquierda */
}

/* 2. El video en el fondo (sin cambios) */
.range-section .hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

/* 3. El overlay oscuro (sin cambios) */
.range-section .section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* 4. Contenido alineado a la izquierda */
.range-section .pw-hero__content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-align: left; /* Alinea todo el texto a la izquierda */
    max-width: 800px;
    padding: 0 5%; /* Margen lateral para que no pegue demasiado al borde de la pantalla */
}

/* Opcional: Si quieres alinear también el logo a la izquierda */
.range-section .pw-mfp-logo {
    display: block;
    margin: 0 0 1.5rem 0; /* Elimina los márgenes automáticos que lo centraban */
}
/* =========================================================
   BOTÓN DISCOVER FLOTANTE — versión reforzada (pisa reglas antiguas)
   ========================================================= */

.pw-product-card,
.pw-product-card--wide,
.pw-product-card--tall {
    overflow: visible !important;
    border-radius: 24px !important;
}

.pw-card__photo,
.pw-product-card--wide .pw-card__photo,
.pw-product-card--tall .pw-card__photo {
    border-radius: 24px 24px 0 0 !important;
    overflow: hidden !important;
}

.pw-card__info {
    border-radius: 0 0 24px 24px !important;
    padding-bottom: 34px !important; /* hueco para que el botón no tape el texto */
}

.pw-card__btn {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translate(-50%, 50%) !important;
    background: none !important;
    padding: 0 !important;
    width: auto !important;
    z-index: 5 !important;
}

/* Más aire en el texto de info */
.pw-card__info {
    min-height: auto !important;
    height: auto !important;
}

.pw-card__info {
    min-height: 110px !important;
}

/* Sin transición: el hover del botón cambia al instante, sin transparencia intermedia */
.pw-card__btn img {
    transition: none !important;
}
.pw-card__info p {
    margin-top: -12px !important;
}
.pw-products-section {
    position: relative;
    overflow: hidden;
}

.pw-products-section__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
/* Más aire entre los botones Energy/Nutrition/Wellness y el footer */
.pw-categories {
    margin-bottom: 300px;
    gap: 3rem;
}