/* preworkout.css */

body {
    padding-top: 53px;
}

/* ===== HERO ===== */
.pw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center;
}

.pw-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    margin-left: 15%;
    padding: 5rem 0;
    color: #ffffff;
}

.pw-mfp-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.pw-hero__title {
    font-family: 'QarantaBold', Arial, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    font-style: italic;
    color: #ffffff;
    line-height: 1.0;
    margin-bottom: 1.5rem;
}

.pw-x {
    color: #4cff00;
}

.pw-hero__content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* =========================================================
   HYPE — Sección verde (grid 3x3): lata + iconos + Key Benefits
   ========================================================= */
.pw-green {
    position: relative;
    width: 100%;
    min-height: 650px;
    height: 100vh;
    isolation: isolate;
    padding: 40px 0;
    overflow: hidden;
    background-color: #060806;
    display: flex;
    align-items: center;
}

.pw-green__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: rotate(180deg);
}

.pw-green__inner {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    /* Devolvemos el padding aquí para que los textos no sepeguen al borde */
    display: flex;
    align-items: center;
    gap: 90px;
}

/* ---------- LADO IZQUIERDO: lata + iconos ---------- */

.pw-green__left {
    position: relative;
    width: 50%;
    height: 100%;
    flex: 0 0 52%;
}

.pw-left--features {
    width: 100%;
    display: flex;
    justify-content: center;
}

.pw-can-wrapper {
    position: relative;
    width: 100%;
    max-width: 920px;
    aspect-ratio: 1150 / 1080;
    transform: translateX(-40px);
}

.pw-can-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: auto;
    z-index: 3;
}

/* Líneas y puntos dibujados con SVG, usando el mismo sistema
   de coordenadas (0 0 1150 1080) que los porcentajes de los iconos.
   Si tu lata cambia de tamaño/forma, solo tienes que reajustar
   las coordenadas x1/y1/x2/y2/cx/cy aquí y en el blade. */
.pw-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.pw-lines line {
    stroke: rgba(255, 255, 255, .6);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.pw-lines circle {
    fill: #0d0f0d;
    stroke: #ffffff;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.pw-icon {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 4;
}

.pw-icon img {
    height: 150px;
    width: auto;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.9)); 
    transition: transform .25s ease;
}

.pw-icon:hover img {
    transform: scale(1.08);
}

/* Posiciones en % dentro de pw-can-wrapper, calculadas
   sobre el mismo viewBox 1150x1080 usado en el SVG. */
.pw-icon--1 {
    left: 27.5%;
    top: 19.8%;
}

.pw-icon--2 {
    left: 78.4%;
    top: 15.5%;
}

.pw-icon--2 img {
    width: auto !important;
    height: 150px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
}

.pw-icon--3 {
    left: 21.2%;
    top: 52.1%;
}

.pw-icon--4 {
    left: 68.2%;
    top: 65.2%;
}

.pw-icon--5 {
    left: 19.5%;
    top: 81.3%;
}

/* Vista B izquierda: foto grande (Cans_Lucia_MFP Product BG_2.png, 1922×1084) */
/* 3. VISTA B: Forzamos la posición absoluta con un alto fijo o heredado exacto de la sección */
/* Vista B izquierda: foto grande gigante anclada abajo a la izquierda */
.pw-left--nutrition {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 50vw !important;
    /* Ocupa exactamente la mitad de la pantalla */
    height: 100% !important;
    /* Ocupa toda la altura de la sección */
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    /* Empuja la lata estrictamente hacia abajo */
    justify-content: flex-start !important;
    /* La pega al borde izquierdo absoluto */
    pointer-events: none !important;
    z-index: 10 !important;
}

.pw-can-large {
    width: 200% !important;
    /* Aumenta el ancho base por encima del 100% para que crezca */
    max-width: none !important;
    /* Elimina cualquier tope máximo */
    height: auto !important;
    object-fit: contain !important;
    object-position: bottom left !important;
    /* Mantiene la esquina inferior izquierda fija */
    display: block !important;
    transform: scale(1.20);
    /* Escala la imagen globalmente (puedes subirlo a 1.35 o 1.4 si la quieres aún más gigante) */
    transform-origin: bottom left;
    /* Asegura que el punto desde el cual se hace gigante sea exactamente la esquina inferior izquierda */
}

/* ---------- LADO DERECHO: Key Benefits ---------- */

.pw-green__right {
    flex: 1;
    position: relative;
}

/* Contenedor de Key Benefits */
.pw-right--benefits {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.pw-benefits__title {
    width: 320px !important;
    max-width: 320px !important;

    display: block !important;
    margin: 0 auto 40px auto !important;

    transform: translateX(45px) !important;
}

.pw-benefits__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 520px;
}

.pw-benefit {
    opacity: 0;
    transition: opacity .6s ease, transform .6s ease;
}

.pw-benefit.is-visible {
    opacity: 1;
}

/* Cascada: la 1ª pastilla reposa más a la derecha,
   la 6ª más a la izquierda (alineada con el título).
   Cada una entra deslizándose 40px extra desde su posición final. */
.pw-benefit:nth-child(1) {
    transform: translateX(100px);
}

.pw-benefit:nth-child(2) {
    transform: translateX(88px);
}

.pw-benefit:nth-child(3) {
    transform: translateX(76px);
}

.pw-benefit:nth-child(4) {
    transform: translateX(64px);
}

.pw-benefit:nth-child(5) {
    transform: translateX(52px);
}

.pw-benefit:nth-child(6) {
    transform: translateX(40px);
}

.pw-benefit:nth-child(1).is-visible {
    transform: translateX(60px);
}

.pw-benefit:nth-child(2).is-visible {
    transform: translateX(48px);
}

.pw-benefit:nth-child(3).is-visible {
    transform: translateX(36px);
}

.pw-benefit:nth-child(4).is-visible {
    transform: translateX(24px);
}

.pw-benefit:nth-child(5).is-visible {
    transform: translateX(12px);
}

.pw-benefit:nth-child(6).is-visible {
    transform: translateX(0);
}

.pw-benefit img {
    width: 100%;
    display: block;
}

.pw-nutrition-btn {
    position: relative;
    display: block;

    width: 360px;

    margin: 48px auto 0 auto;

    background: none;
    border: none;
    padding: 0;

    cursor: pointer;

    transition: transform .25s ease;

    transform: translateX(28px);
}

.pw-nutrition-btn:hover {
    transform: translateX(41px);
}
/* ---- Crossfade Off/On en los botones con imagen ---- */
.pw-nutrition-btn img,
.pw-back-btn img {
    width: 100%;
    display: block;
    transition: opacity .25s ease;
}

.pw-btn-off {
    position: relative;
    z-index: 1;
    opacity: 1;
}

.pw-btn-on {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    height: 100%;
}

.pw-nutrition-btn:hover .pw-btn-off,
.pw-back-btn:hover .pw-btn-off {
    opacity: 0;
}

.pw-nutrition-btn:hover .pw-btn-on,
.pw-back-btn:hover .pw-btn-on {
    opacity: 1;
}

/* Vista B derecha: tabla nutricional */
.pw-right--nutrition {
    max-width: 520px;
}

.pw-nutrition__title {

    width: 78%;
    max-width: 430px;

    display: block;

    margin: 0 auto 42px auto;

}

.pw-nutrition-table {
    width: 100%;
    display: block;
}

.pw-back-btn {
    position: relative;
    display: block;
    width: 210px;
    margin: 48px auto 0 auto;

    transform: translateX(-40px);

    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.pw-back-btn:hover {
    transform: translateX(-30px);
}

/* ---------- Utilidades de toggle (usadas por el JS) ---------- */

.pw-hidden {
    display: none !important;
}

.pw-fade-in {
    animation: pwFadeIn .5s ease forwards;
}

@keyframes pwFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .pw-green__inner {
        flex-direction: column;
        gap: 40px;
    }

    .pw-green__left,
    .pw-green__right {
        flex: none;
        width: 100%;
    }

    .pw-can-wrapper {
        max-width: 380px;
    }

    .pw-icon {
        width: 80px;
    }

    .pw-icon img {
        height: 90px;
        width: auto;
    }

    .pw-icon--2 img {
        height: 100px;
    }

    .pw-benefits__title,
    .pw-benefits__list,
    .pw-nutrition-btn,
    .pw-right--nutrition {
        max-width: 100%;
    }
}

/* 1. Definimos la animación de flotación suave */
@keyframes pwFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-8px);
        /* Sube 8 píxeles en el punto medio */
    }
}

/* 2. Se la aplicamos a los iconos, combinando su centrado actual */
.pw-icon {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 4;
    animation: pwFloat 4s ease-in-out infinite;
    /* Dura 4 segundos, movimiento suave y bucle infinito */
}

/* 3. Truco extra (Opcional): Desincronizar el ritmo de cada icono */
.pw-icon--1 {
    animation-delay: 0s;
}

.pw-icon--2 {
    animation-delay: 0.8s;
}

.pw-icon--3 {
    animation-delay: 1.6s;
}

.pw-icon--4 {
    animation-delay: 2.4s;
}

.pw-icon--5 {
    animation-delay: 3.2s;
}

@media (max-width: 640px) {
    .pw-green {
        padding: 60px 20px;
    }

    .pw-can-wrapper {
        max-width: 300px;
    }

    .pw-icon {
        width: 64px;
    }

    .pw-icon img {
        height: 64px;
        width: auto;
    }

    .pw-icon--2 img {
        height: 72px;
    }
}

/* ===== CARRUSEL ===== */
.pw-carousel {
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
}

.pw-carousel__slider {
    width: 100%;
    position: relative;
}

.pw-slide {
    display: none;
    position: relative;
    min-height: 500px;
    align-items: center;
}

.pw-slide {
    overflow: hidden;
}

.pw-slide__floating {
    position: absolute;

    width: 85%;
    height: auto;

    left: 50%;

    transform: translate(-50%, 105%);

    z-index: 2;
    pointer-events: none;
}

.pw-slide--active {
    display: flex;
}

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

.pw-slide__text {
    position: relative;
    z-index: 2;
    padding: 4rem 5rem;
}

.pw-slide__sub {
    font-family: 'QarantaBold', Arial, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #4cff00;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
    line-height: 1;
}

.pw-slide__title {
    font-family: 'QarantaBold', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #ffffff;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
    line-height: 1;
}

.pw-slide__title .font-hype {
    font-family: 'HYPE', sans-serif !important;
    color: #ffffff;
}

/* ===== TARJETAS DE PRODUCTO ===== */
.pw-products-section {
    position: relative;
    padding: 5rem 0;
}

.pw-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.pw-product-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* 1. Foto producto */
.pw-card__photo {
    width: 100%;
    aspect-ratio: 270 / 425;
    overflow: hidden;
}

.pw-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* 2. 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: 8% !important;
    max-width: none !important;

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

    object-fit: contain !important;
}

/* 3. Info con fondo + texto */
.pw-card__info {
    padding: 1rem;
    background-color: #111111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90px;
    display: flex;
    align-items: center;
}

.pw-card__info p {
    font-size: 0.75rem;
    color: #cccccc;
    line-height: 1.5;
    margin: 0;
}

/* 4. Botón */
.pw-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    padding: 0.6rem 0;
    min-height: 50px;
}

.pw-card__btn a {
    display: block;
    width: 100%;
}

.pw-card__btn img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 40px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .pw-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .pw-products__grid {
        grid-template-columns: 1fr;
    }
}

/* Botones Nutrition y Wellness */
.pw-categories {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.pw-cat-btn {
    font-family: 'QarantaBold', Arial, sans-serif;
    font-size: 1.25rem;
    /* antes 0.85rem */
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0a0a0a !important;

    padding: 0.45rem 4.5rem;
    min-width: 220px;
    text-align: center;

    border-radius: 15px;
    text-decoration: none;
    display: inline-block;

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

.pw-cat-btn:hover {
    opacity: 0.85;
    color: #ffffff !important;
}

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

.pw-cat-btn--wellness {
    background-color: #ff2d78;
    color: #0a0a0a;
}

/* Tagline */
.tagline-section {
    padding: 7rem 0;
    text-align: center;
    background-color: null;
}

.tagline-text {
    font-family: 'QarantaBold', Arial, sans-serif !important;
    font-size: clamp(2.5rem, 7vw, 6rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    line-height: 1;
    font-style: italic;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .pw-green__inner {
        flex-direction: column;
        padding: 3rem 2rem;
    }

    .pw-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pw-hero__content {
        padding: 4rem 2rem;
    }

    .pw-slide__text {
        padding: 3rem 2rem;
    }
}

.pw-card__photo {
    position: relative;
    overflow: hidden;
}

.pw-card__image,
.pw-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s ease;

}

.pw-card__image {
    opacity: 1;
    z-index: 2;
}

.pw-card__video {
    opacity: 0;
    z-index: 3;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.pw-card__btn {
    background: #0a0a0a;
    padding: .6rem 0;
}

.pw-card__btn a {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    /* altura del botón */
}

.pw-card__btn img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .25s ease;
}

.btn-normal {
    opacity: 1;
}

.btn-hover {
    opacity: 0;
}

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

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

/* Carrusel — mismo tamaño y estilo que homepage */
.pw-carousel {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 100vh;
    background-color: #0a0a0a;
}

.pw-carousel__slider {
    width: 100%;
    height: 100%;
}

.pw-slide {
    display: none;
    position: relative;
    height: 100vh;
    align-items: center;
}

.pw-slide--active {
    display: flex;
}

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

.pw-slide__text {
    position: relative;
    z-index: 2;
    padding: 4rem 5rem;
}

.pw-slide__sub {
    font-family: 'QarantaBold', Arial, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #4cff00;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
    line-height: 1;
}

.pw-slide__title {
    font-family: 'QarantaBold', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #ffffff;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
    line-height: 1;
}

.pw-slide__title .font-hype {
    font-family: 'HYPE', sans-serif !important;
    color: #ffffff;
}

/* Flechas — igual que homepage */
.pw-carousel .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0;
    z-index: 10;
}

.pw-carousel .slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}

.pw-carousel .slider-arrow--prev {
    left: 2rem;
}

.pw-carousel .slider-arrow--next {
    right: 2rem;
}

.pw-carousel .slider-arrow--prev::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-left: 2.5px solid #ffffff;
    border-bottom: 2.5px solid #ffffff;
    transform: rotate(45deg);
    margin-left: 4px;
}

.pw-carousel .slider-arrow--next::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2.5px solid #ffffff;
    border-top: 2.5px solid #ffffff;
    transform: rotate(45deg);
    margin-right: 4px;
}

/* Carrusel container relativo para slides absolutos */
.pw-carousel__slider {
    position: relative !important;
    overflow: hidden !important;
}

/* Diveder con fondo negro*/
.pw-divider {
    width: 100%;
    height: 34px;
    background: #0a0a0a;

    display: flex;
    align-items: center;
}

.pw-divider-line {
    width: 100%;
    height: 3px;
    background: #4CFF00;
}

/* Sobreescribir  el hover verde*/
.pw-cat-btn,
.pw-cat-btn:link,
.pw-cat-btn:visited {
    color: #0a0a0a !important;
    text-decoration: none;
}

.pw-cat-btn:hover,
.pw-cat-btn:active {
    color: #ffffff !important;
}

.pw-cat-btn:hover {
    opacity: .9;
    transform: translateY(-3px);
}
.pw-cat-btn--energy {
    background-color: #4cff00;
    color: #0a0a0a;
}
/* =========================================================
   NUTRITION — PRODUCT CARDS
   ========================================================= */

.pw-products__grid--3col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* ---------- CARD ---------- */

.pw-products__grid--3col .pw-product-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
}


/* ---------- FOTO PRODUCTO ---------- */

.pw-products__grid--3col .pw-card__photo {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #111;
    border-radius: 24px 24px 0 0;
}

.pw-products__grid--3col .pw-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ---------- LOGO ---------- */

.pw-products__grid--3col .pw-card__logo {
    width: 100%;
    background: #0a0a0a;
    padding: 22px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pw-products__grid--3col .pw-card__logo img {
    display: block;
    width: 80%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}


/* ---------- INFORMACIÓN ---------- */

.pw-products__grid--3col .pw-card__info {
    position: relative;
    width: 100%;
    min-height: 120px;
    padding: 25px 30px;

    background-size: cover;
    background-position: center;

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

    text-align: center;
}

.pw-products__grid--3col .pw-card__info p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 420px;
}


/* ---------- BOTÓN ---------- */

.pw-products__grid--3col .pw-card__btn {
    width: 100%;
    background: #0a0a0a;
    padding: 20px 30px 28px;

    display: flex;
    justify-content: center;
}

.pw-products__grid--3col .pw-card__btn a {
    display: block;
    width: 180px;
    position: relative;
}

.pw-products__grid--3col .pw-card__btn img {
    width: 100%;
    height: auto;
    display: block;
}

.pw-products__grid--3col .pw-card__btn .btn-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .25s ease;
}

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

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


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

@media (max-width: 1100px) {

    .pw-products__grid--3col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

}


@media (max-width: 700px) {

    .pw-products__grid--3col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pw-products__grid--3col .pw-card__photo {
        height: 380px;
    }

}
/* =========================================================
   NUTRITION — Parte inferior de las cards
   ========================================================= */

/* Logo más grande */
.pw-card__logo {
    padding: 12px 20px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pw-card__logo img {
    width: 120% !important;
    max-width: 300px !important;
    height: auto !important;
    object-fit: contain;
}


/* =========================================================
   NUTRITION — TEXTO DE LAS CARDS MÁS COMPACTO
   ========================================================= */

.pw-products__grid--3col .pw-product-card .pw-card__info {
    padding: 8px 20px !important;
    min-height: 65px !important;
    height: 65px !important;

    display: flex;
    align-items: center;
}

.pw-products__grid--3col .pw-product-card .pw-card__info p {
    margin: 0 !important;
    line-height: 1.25 !important;
}


/* Discover más cerca y con menos espacio */
.pw-products__grid--3col .pw-card__btn {
    padding: 6px 20px 14px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pw-products__grid--3col .pw-card__btn a {
    display: block;
    line-height: 0;
}

.pw-products__grid--3col .pw-card__btn img {
    width: 180px !important;
    height: auto !important;
}


/* ===== NUTRITION - LOGO SIN AUMENTAR LA CARD ===== */

.pw-products__grid--3col .pw-product-card .pw-card__logo {
    height: 65px !important;
    min-height: 65px !important;
    padding: 3px 5px !important;

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

    overflow: hidden;
}

.pw-products__grid--3col .pw-product-card .pw-card__logo img {
    width: 100% !important;
    max-width: none !important;
    max-height: 58px !important;
    height: auto !important;

    object-fit: contain !important;
    display: block !important;
}
/*.pw-products__grid--3col ~ .pw-categories {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.pw-products__grid--3col ~ .pw-categories .pw-cat-btn {
    width: 320px !important;
    min-width: 320px !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;
}
/* 1. Contenedor principal alineado a la izquierda */
.range-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* 2. El video en el fondo */
.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 */
.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;
    max-width: 800px;
    padding: 0 5%;
}
.range-section .pw-hero__content {
    flex: 0 0 auto;
    flex-shrink: 0;
    width: min(800px, 90%);
}
.range-section .pw-hero__content {
    padding: 0 40px;
}

.range-section .pw-hero__title {
    max-width: none;
    white-space: normal;
}

/* 5. Estilo y tamaño del título */
.range-section .pw-hero__title {
    font-size: 3.5rem !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
}

/* 6. Párrafos más grandes y legibles */
.range-section .pw-hero__content p {
    font-size: 1rem; /* Aumenta el tamaño del texto (por defecto suele ser 1rem) */
    line-height: 1.6;  /* Mejora la separación entre líneas para que sea cómodo de leer */
    margin-bottom: 1rem;
}

/* Logo alineado a la izquierda */
.range-section .pw-mfp-logo {
    display: block;
    margin: 0 0 1.5rem 0;
}