/* ===================== HERO SLIDER ===================== */
.nps-hero {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.nps-hero__viewport {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    /* 1920×800 ratio, capped so hero never forces page scroll */
    height: clamp(220px, min(41.67vw, 65vh), 480px);
}
.nps-hero__track {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
    transition: transform var(--nps-transition-slow);
    will-change: transform;
}
.nps-hero__slide {
    position: relative;
    /* 100% in CSS so the photo is full-bleed before slider.js runs. */
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--nps-text);
    overflow: hidden;
}
.nps-hero__slide--orange { background-color: var(--nps-orange); color:#fff; }
.nps-hero__slide--green  { background-color: var(--nps-green); color:#fff; }
.nps-hero__slide--red    { background-color: var(--nps-red); color:#fff; }
.nps-hero__slide--has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.08) 100%);
    z-index: 1;
    pointer-events: none;
}
.nps-hero__slide--image-only::before { display: none; }
.nps-hero__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
    /* extra horizontal room so text clears the prev/next nav buttons */
    padding-left: clamp(20px, 4vw, 64px);
    padding-right: clamp(20px, 4vw, 64px);
}
.nps-hero__text { max-width: 560px; }
.nps-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.22);
    padding: 6px 14px;
    border-radius: var(--nps-radius-pill);
    font-size: var(--nps-fs-xs);
    font-weight: var(--nps-font-weight-medium);
    margin-bottom: 14px;
    color: #fff;
}
.nps-hero__title {
    font-size: var(--nps-fs-hero);
    color: #fff;
    margin: 0 0 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.nps-hero__subtitle {
    font-size: var(--nps-fs-lg);
    color: rgba(255,255,255,.95);
    margin: 0 0 22px;
}
.nps-hero__cta { box-shadow: var(--nps-shadow); }
.nps-hero__art {
    color: rgba(255,255,255,.45);
    flex-shrink: 0;
    max-height: 70%;
    animation: nps-float 5s ease-in-out infinite;
}
.nps-hero__art .nps-icon { width: clamp(80px, 12vw, 140px); height: auto; }
@keyframes nps-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

/* Slider nav shared */
.nps-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--nps-white);
    color: var(--nps-red);
    box-shadow: var(--nps-shadow);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: background var(--nps-transition), color var(--nps-transition);
}
.nps-slider__nav:hover { background: var(--nps-red); color:#fff; }
.nps-slider__nav--prev { left: 18px; }
.nps-slider__nav--prev .nps-icon { transform: rotate(90deg); }
.nps-slider__nav--next { right: 18px; }
.nps-slider__nav--next .nps-icon { transform: rotate(-90deg); }
.nps-slider__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}
.nps-slider__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: width var(--nps-transition), background var(--nps-transition);
}
.nps-slider__dot.is-active { width: 26px; border-radius: 6px; background:#fff; }

/* ===================== CATEGORY CIRCLES ===================== */
.nps-section.nps-circles {
    position: relative;
    z-index: 5;
    padding-top: 0;
    padding-bottom: clamp(20px, 3vw, 36px);
    margin-top: -38px; /* half of ring height — sits over hero */
}
.nps-circles__row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.nps-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 120px;
    color: var(--nps-text);
}
.nps-circle__ring {
    width: 76px; height: 76px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nps-red);
    background: var(--nps-white);
    border: 2px dotted var(--nps-orange-light);
    box-shadow: var(--nps-shadow);
    transition: transform var(--nps-transition), background var(--nps-transition), color var(--nps-transition), border-color var(--nps-transition);
}
.nps-circle:hover .nps-circle__ring {
    transform: translateY(-6px) rotate(-4deg);
    background: var(--nps-red);
    color: #fff;
    border-color: var(--nps-red);
}
.nps-circle__label { font-size: var(--nps-fs-sm); font-weight: var(--nps-font-weight-medium); text-align:center; }

/* ===================== BEST SELLERS ===================== */
.nps-bestsellers__grid {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 24px;
    align-items: stretch;
}
.nps-bestsellers__banner {
    border-radius: var(--nps-radius-lg);
    background: linear-gradient(160deg, var(--nps-red), var(--nps-orange));
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
}
.nps-bestsellers__banner-inner {
    position: relative;
    padding: 24px;
    z-index: 2;
    background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 70%);
    width: 100%;
}
.nps-bestsellers__banner-inner h3 { color:#fff; font-size: var(--nps-fs-2xl); margin: 10px 0 6px; }
.nps-bestsellers__banner-inner p { font-size: var(--nps-fs-sm); opacity:.92; }
.nps-bestsellers__banner-inner .nps-icon {
    position: absolute;
    top: 18px; right: 18px;
    opacity: .35;
}
.nps-bestsellers__slider { position: relative; min-width: 0; }

/* Horizontal scroll slider */
.nps-hscroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: thin;
}
.nps-hscroll > li.product,
.nps-hscroll > .product {
    flex: 0 0 clamp(168px, 20%, 210px);
    scroll-snap-align: start;
    margin: 0 !important;
    width: auto !important;
}
.nps-hscroll::-webkit-scrollbar { height: 6px; }
.nps-hscroll::-webkit-scrollbar-thumb { background: var(--nps-border-strong); border-radius: 3px; }
.nps-hscroll__controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.nps-hscroll__controls .nps-slider__nav { position: static; transform: none; }

/* ===================== BRANDS ===================== */
.nps-brands__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

/* ===================== CATEGORY SHOWCASE ===================== */
/* Flex mosaic — reliable 16px gaps, no grid overlap */
.nps-showcase__mosaic {
    display: flex;
    gap: 16px;
    align-items: stretch;
}
.nps-showcase__mosaic-left,
.nps-showcase__mosaic-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.nps-showcase__mosaic-split {
    display: flex;
    gap: 16px;
    min-height: 180px;
}
.nps-showcase__mosaic-split .nps-showcase__card {
    flex: 1;
    min-height: 180px;
}
.nps-showcase__mosaic-left > .nps-showcase__card--lg {
    flex: 1;
    min-height: 180px;
}
.nps-showcase__mosaic-right > .nps-showcase__card {
    flex: 1;
    min-height: 180px;
}
/* Simple 2-col grid when card count is not 5 */
.nps-showcase__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(180px, auto);
}
.nps-showcase__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 180px;
    overflow: hidden;
    border-radius: var(--nps-radius-lg);
    color: #fff;
    text-decoration: none;
}
    
    .nps-showcase__inner {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
        width: 100%;
        min-height: 180px;
        padding: 22px;
        border-radius: inherit;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        box-shadow: var(--nps-shadow-sm);
        transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow var(--nps-transition), filter 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }
/* Theme gradients (fallback when no photo) */
.nps-showcase__card--orange .nps-showcase__inner { background-color: var(--nps-orange); background-image: linear-gradient(150deg, var(--nps-orange), var(--nps-orange-dark)); }
.nps-showcase__card--green .nps-showcase__inner  { background-color: var(--nps-green); background-image: linear-gradient(150deg, var(--nps-lime), var(--nps-green-dark)); }
.nps-showcase__card--red .nps-showcase__inner    { background-color: var(--nps-red); background-image: linear-gradient(150deg, var(--nps-red-light), var(--nps-red-dark)); }
.nps-showcase__card--lime .nps-showcase__inner   { background-color: var(--nps-lime); background-image: linear-gradient(150deg, var(--nps-lime), var(--nps-green)); }
.nps-showcase__card--yellow .nps-showcase__inner { background-color: var(--nps-yellow); background-image: linear-gradient(150deg, var(--nps-yellow), var(--nps-orange)); }
.nps-showcase__card--has-image .nps-showcase__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.25) 100%);
    z-index: 1;
    pointer-events: none;
}
/* Scroll reveal — left/right slide-in with stagger (inner only, no grid overlap) */
.nps-showcase__inner[data-nps-reveal] {
    --nps-reveal-delay: 0;
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--nps-reveal-delay) * 1ms),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--nps-reveal-delay) * 1ms),
        box-shadow var(--nps-transition);
}
html.nps-js .nps-showcase__inner[data-nps-reveal]:not(.is-revealed) {
    opacity: 0;
}
html.nps-js .nps-showcase__inner[data-nps-reveal][data-nps-reveal-from="left"]:not(.is-revealed) {
    transform: translate3d(-56px, 0, 0);
}
html.nps-js .nps-showcase__inner[data-nps-reveal][data-nps-reveal-from="right"]:not(.is-revealed) {
    transform: translate3d(56px, 0, 0);
}
.nps-showcase__inner[data-nps-reveal].is-revealed,
html:not(.nps-js) .nps-showcase__inner[data-nps-reveal] {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.nps-showcase__card:hover .nps-showcase__inner.is-revealed {
    box-shadow: var(--nps-shadow-lg);
}
html.nps-js .nps-showcase__inner[data-nps-reveal]:not(.is-revealed) .nps-showcase__icon {
    opacity: 0;
    transform: scale(0.6);
    animation: none;
}
.nps-showcase__inner[data-nps-reveal].is-revealed .nps-showcase__icon,
html:not(.nps-js) .nps-showcase__inner[data-nps-reveal] .nps-showcase__icon {
    opacity: 1;
    transform: scale(1);
    animation: nps-float 5s ease-in-out 0.5s infinite;
}
.nps-showcase__inner[data-nps-reveal].is-revealed .nps-showcase__icon {
    transition: opacity 0.5s ease calc((var(--nps-reveal-delay) + 150) * 1ms), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc((var(--nps-reveal-delay) + 150) * 1ms);
}
@media (prefers-reduced-motion: reduce) {
    html.nps-js .nps-showcase__inner[data-nps-reveal]:not(.is-revealed) {
        opacity: 1;
        transform: none;
    }
    html.nps-js .nps-showcase__inner[data-nps-reveal]:not(.is-revealed) .nps-showcase__icon {
        opacity: 1;
        transform: none;
        animation: nps-float 5s ease-in-out infinite;
    }
}
.nps-showcase__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 12px;
    padding-right: 72px;
}
.nps-showcase__card--lg .nps-showcase__body { padding-right: 88px; }
.nps-showcase__icon {
    position: absolute;
    right: 50px; /*iwc 18px*/
    bottom: 18px;
    z-index: 3;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255,255,255,.24);
    border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--nps-shadow-sm);
    animation: nps-float 5s ease-in-out infinite;
}
.nps-showcase__card--lg .nps-showcase__icon {
    width: 72px;
    height: 72px;
    right: 22px;
    bottom: 22px;
}
.nps-showcase__card--yellow .nps-showcase__icon { color: #fff; background: rgba(255,255,255,.55); }
.nps-showcase__label { font-size: var(--nps-fs-xl); font-weight: var(--nps-font-weight-bold); text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.nps-showcase__card--lg .nps-showcase__label { font-size: var(--nps-fs-2xl); }
.nps-showcase__go {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: var(--nps-fs-sm);
    font-weight: var(--nps-font-weight-medium);
    opacity: .95;
}

/* ===================== PARALLAX ===================== */
.nps-parallax {
    position: relative;
    background: linear-gradient(120deg, var(--nps-green-dark), var(--nps-green));
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: clamp(60px, 8vw, 120px) 0;
    text-align: center;
    color: #fff;
}
.nps-parallax__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.25));
}
.nps-parallax__inner { position: relative; z-index: 2; }
.nps-parallax__inner h2 {
    color:#fff;
    font-size: var(--nps-fs-4xl);
    max-width: 720px;
    margin: 16px auto 24px;
}

/* ===================== FLOATING WHATSAPP ===================== */
.nps-float-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(37,211,102,.5);
    z-index: var(--nps-z-float);
}
.nps-float-wa:hover { color:#fff; transform: scale(1.06); }
.nps-float-wa__pulse {
    position: absolute; inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: .55;
    animation: nps-pulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes nps-pulse { 0%{transform:scale(1);opacity:.55} 100%{transform:scale(1.9);opacity:0} }
.nps-float-wa__tip {
    position: absolute;
    right: 70px;
    background: var(--nps-text);
    color:#fff;
    font-size: var(--nps-fs-xs);
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: var(--nps-radius);
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: all var(--nps-transition);
}
.nps-float-wa:hover .nps-float-wa__tip { opacity: 1; transform: translateX(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .nps-bestsellers__grid { grid-template-columns: 1fr; }
    .nps-bestsellers__banner { min-height: 200px; }
    .nps-showcase__mosaic { flex-direction: column; }
    .nps-showcase__mosaic-split { min-height: 150px; }
    .nps-showcase__mosaic-split .nps-showcase__card,
    .nps-showcase__mosaic-right > .nps-showcase__card,
    .nps-showcase__mosaic-left > .nps-showcase__card--lg { min-height: 150px; }
    .nps-showcase__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
    .nps-hero__art { display: none; }
}
@media (max-width: 768px) {
    .nps-section.nps-circles {
        margin-top: -26px; /* half of smaller mobile ring */
    }
    .nps-circles__row {
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: center;
        overflow-x: auto;
        padding: 0 8px 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .nps-circles__row::-webkit-scrollbar { display: none; }
    .nps-circle {
        width: 52px;
        flex: 0 0 auto;
        gap: 0;
    }
    .nps-circle__ring {
        width: 52px;
        height: 52px;
        border-width: 1.5px;
    }
    .nps-circle__ring .nps-icon {
        width: 22px;
        height: 22px;
    }
    .nps-circle__label {
        display: none;
    }
}
@media (max-width: 560px) {
    .nps-showcase__grid { grid-template-columns: 1fr; gap: 16px; }
    .nps-showcase__mosaic-split { flex-direction: column; }

    /* Hero on phones: no side buttons over the text — swipe + dots instead */
    .nps-hero__viewport { height: clamp(200px, min(52vw, 40vh), 360px); }
    .nps-hero__content {
        justify-content: flex-start;
        padding-left: 22px;
        padding-right: 22px;
    }
    .nps-hero__text { max-width: 100%; }
    .nps-hero__title { font-size: 1.6rem; }
    .nps-hero__subtitle { font-size: var(--nps-fs-base); }
    .nps-slider__nav--prev,
    .nps-slider__nav--next { display: none; }
    .nps-slider__dots { bottom: 12px; }
}
