/* =========================================================
   BYSAA — FEATURED WEEK
   Solo título + subtítulo + carrusel
   Cards más pequeñas
   ========================================================= */

.fwp-section {
    padding: 18px 0 42px;
}

.fwp-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.fwp-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.fwp-subtitle {
    margin: 8px 0 0 0;
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.fwp-desktop {
    display: block;
}

.fwp-mobile {
    display: none;
}

/* PRODUCTS */
.fwp-products-shell {
    position: relative;
}

.fwp-products-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fwp-products-track::-webkit-scrollbar {
    display: none;
}

.fwp-product-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: calc((100% - 48px) / 4);
    max-width: calc((100% - 48px) / 4);
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.fwp-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

.fwp-product-media {
    display: block;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 14px;
    border-bottom: 1px solid #eef3f8;
}

.fwp-product-media img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 16px;
}

.fwp-product-body {
    padding: 14px;
}

.fwp-product-meta {
    margin-bottom: 10px;
}

.fwp-product-category {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fwp-product-title {
    margin: 0 0 12px 0;
    min-height: 52px;
    font-size: 16px;
    line-height: 1.32;
    font-weight: 800;
    color: #0f172a;
}

.fwp-product-title a {
    color: inherit;
    text-decoration: none;
}

.fwp-product-title a:hover {
    color: #2563eb;
}

.fwp-price-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fwp-price-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
}

.fwp-price-main span {
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
}

.fwp-price-main strong {
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
}

.fwp-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
}

.fwp-price-row strong {
    color: #0f172a;
    font-size: 14px;
}

/* FLECHAS */
.fwp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,.98);
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15,23,42,.14);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.fwp-arrow-left {
    left: -10px;
}

.fwp-arrow-right {
    right: -10px;
}

.fwp-arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* DOTS */
.fwp-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.fwp-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 999px;
    background: #cbd5e1;
    padding: 0;
}

.fwp-dot.is-active {
    background: #2563eb;
    transform: scale(1.15);
}

/* TABLET Y ABAJO */
@media (max-width: 1024px) {
    .fwp-desktop {
        display: none;
    }

    .fwp-mobile {
        display: block;
    }

    .fwp-title {
        font-size: 28px;
    }

    .fwp-subtitle {
        font-size: 15px;
    }

    .fwp-product-card {
        flex: 0 0 46%;
        min-width: 46%;
        max-width: 46%;
    }

    .fwp-product-media img {
        height: 140px;
        border-radius: 14px;
    }

    .fwp-product-title {
        min-height: auto;
        font-size: 15px;
    }

    .fwp-price-main strong {
        font-size: 18px;
    }

    .fwp-price-row {
        font-size: 12px;
    }

    .fwp-price-row strong {
        font-size: 13px;
    }
}

/* MOBILE PEQUEÑO */
@media (max-width: 768px) {
    .fwp-section {
        padding: 14px 0 34px;
    }

    .fwp-header {
        margin-bottom: 14px;
    }

    .fwp-title {
        font-size: 22px;
        line-height: 1.15;
    }

    .fwp-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 6px;
    }

    .fwp-products-track {
        gap: 12px;
        padding-bottom: 12px;
    }

    .fwp-product-card {
        flex: 0 0 58%;
        min-width: 58%;
        max-width: 58%;
        border-radius: 18px;
    }

    .fwp-product-media {
        padding: 12px;
    }

    .fwp-product-media img {
        height: 120px;
        border-radius: 12px;
    }

    .fwp-product-body {
        padding: 12px;
    }

    .fwp-product-title {
        font-size: 14px;
        line-height: 1.28;
        margin-bottom: 10px;
    }

    .fwp-price-main {
        padding: 9px 10px;
    }

    .fwp-price-main span {
        font-size: 11px;
    }

    .fwp-price-main strong {
        font-size: 17px;
    }

    .fwp-price-row {
        font-size: 11px;
    }

    .fwp-price-row strong {
        font-size: 12px;
    }

    .fwp-dots {
        display: none;
    }

    .fwp-arrow {
        display: none;
    }
}