/* =========================================================
   HYPE — WELLNESS
   ========================================================= */

body {
    padding-top: 53px;
}

.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: #ff2e78;
}

.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
   ========================================================= */

.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;
}

/* =========================================================
   CARDS WELLNESS
   ========================================================= */

.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;

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

.pw-card__image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .4s ease;
}

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

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

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

    padding: 3px 6px;

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

    background: #0a0a0a;

    overflow: hidden;
}

.pw-card__logo img {
    display: block;

    width: 100%;
    max-width: none;

    max-height: 52px;
    height: auto;

    object-fit: contain;
}

/* =========================================================
   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;
}

/* =========================================================
   BOTONES CATEGORÍA
   ========================================================= */

.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;
    }
}
/* =========================================================
   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;
}
.pw-filter-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 auto 50px;
    max-width: 1100px;

    /* Sombra general */
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.pw-filter-search {
    width: 100%;
    max-width: 420px;
    padding: 12px 20px;
    border: 2px solid #04DBFF;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;

    /* Drop shadow */
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.45);

    transition:
        box-shadow .25s ease,
        border-color .25s ease;
}

.pw-filter-search::placeholder {
    color: #fdfafa;
    opacity: 1;
}

.pw-filter-search:focus {
    box-shadow:
        0 0 0 2px #FF2E78,
        0 8px 24px rgba(0, 0, 0, 0.55);
}

.pw-filter-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pw-filter-pill {
    padding: 8px 18px;
    border: 1.5px solid #FF2E78;
    border-radius: 15px;
    background: transparent;
    color: #ffffff;
    font-family: 'QarantaBold', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;

    /* Drop shadow */
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.45);

    transition:
        background-color .2s ease,
        color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.pw-filter-pill:hover {
    background: #FF2E78;
    color: #0a0a0a;
    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.55);

    transform: translateY(-2px);
}

.pw-filter-pill.is-active {
    background: #FF2E78;
    color: #0a0a0a;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.5);
}

.pw-filter-empty {
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    margin: 40px 0;

    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}
/* La tarjeta filtrada se oculta por completo */
.pw-product-card.is-filtered-out {
    display: none !important;
}

/* Si un bloque entero queda sin resultados */
.pw-products__grid.is-empty {
    display: none !important;
}
/* Más aire entre los botones Energy/Nutrition/Wellness y el footer */
.pw-categories {
    margin-bottom: 300px;
    gap: 3rem;
}