.hp-section{
    --hp-text: #010F1C;
    --hp-text-muted: #6B7280;
    --hp-accent: #BD844C;
    /* 2026-11-25 (accessibility): the same gold, darker, for small text on light
     * backgrounds — #BD844C reached only 2.8-3.2:1, WCAG needs 4.5:1 (this is 4.7-5.3:1).
     * Icons, buttons and backgrounds keep --hp-accent. */
    --hp-accent-text: #8F6235;
    --hp-bg: #FFFFFF;
    --hp-surface: #FAF7F2;
    --hp-border: #E5E7EB;
    --hp-track: #D3D8DD;
    --hp-thumb: #010F1C;
    --hp-radius-card: 8px;
    --hp-radius-pill: 22px;
    --hp-section-py: 64px;
    --hp-container: 1232px;
    --hp-font: 'Poppins', -apple-system, Roboto, Helvetica, sans-serif;

    position: relative;
    padding-block: var(--hp-section-py);
    background: var(--hp-bg);
    font-family: var(--hp-font);
    color: var(--hp-text);

    /* 2026-11-25 (PageSpeed): sections off screen are not styled and laid out until
     * they come near the viewport, so the first screen renders sooner. The size
     * estimate keeps the scrollbar stable; `auto` remembers the real size after the
     * section was shown once. */
    content-visibility: auto;
    contain-intrinsic-size: auto 560px;
}.hp-section .hp-container{
    max-width: var(--hp-container);
    margin-inline: auto;
    padding-inline: 16px;
}.hp-section-header{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}.hp-section-header__titles{
    display: flex;
    flex-direction: column;
    gap: 4px;
}.hp-section-header__title{
    color: var(--hp-text);
    font-family: var(--hp-font);
    font-size: 32px;
    font-weight: 500; /* Figma medium 36 — pe desktop scale-uim */
    line-height: 1.25;
    margin: 0;
}.hp-section-header__title--small{
    font-size: 20px;
    font-weight: 600;
}.hp-section-header__link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hp-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}.hp-section-header__link:hover{
    color: var(--hp-accent);
}.hp-section-header__link svg{
    width: 14px;
    height: 14px;
}.hp-scrollbar{
    position: relative;
    width: 100%;
    height: 4px;
    margin-top: 24px;
    background: var(--hp-track, #D3D8DD);
    border-radius: var(--hp-radius-pill, 22px);
    overflow: hidden;
}.hp-scrollbar .swiper-scrollbar-drag{
    height: 4px !important;
    min-width: 52px !important;
    background: var(--hp-thumb, #010F1C) !important;
    border-radius: var(--hp-radius-pill, 22px) !important;
}.hp-categories .swiper{
    overflow: hidden;
    position: relative; /* anchor pentru .hp-categories__nav absolute */
}.hp-categories__nav{
    align-items: center;
    background: #fff;
    border: 1px solid var(--hp-border, #E5E7EB);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--hp-text, #010F1C);
    cursor: pointer;
    display: flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
    width: 36px;
    z-index: 10;
}.hp-categories__nav:hover,.hp-categories__nav:focus-visible{
    border-color: var(--hp-accent, #BD844C);
    color: var(--hp-accent, #BD844C);
    outline: none;
}.hp-categories__nav--prev{ left: 8px; }.hp-categories__nav--next{ right: 8px; }.hp-categories__nav.swiper-button-disabled{
    opacity: 0.35;
    pointer-events: none;
}.hp-categories__nav.swiper-button-lock{
    display: none; /* Hide cand toate slide-urile incap (no overflow) */
}.hp-categories .swiper-wrapper{
    align-items: stretch;
}.hp-categories .swiper-slide{
    flex: 0 0 calc((100% - 77px) / 8);
    height: auto;
}.hp-category-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 8px;
    border: 1px solid var(--hp-border);
    border-radius: 6px;
    background: var(--hp-bg);
    text-decoration: none;
    color: inherit;
    height: 188px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}.hp-category-card:hover{
    border-color: var(--hp-accent);
    transform: translateY(-2px);
}.hp-category-card__image{
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 4px;
}.hp-category-card__placeholder{
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hp-surface);
    color: var(--hp-accent);
    border-radius: 4px;
}.hp-category-card__name{
    color: var(--hp-text);
    font-family: var(--hp-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 128px;
}.hp-category-card--more .hp-category-card__placeholder{
    background: #BD844C;       /* gold (Figma 419:2275) */
    border: none;
    color: #FFFFFF;
}.hp-category-card__more-icon{
    width: 56px;
    height: 56px;
    color: #FFFFFF;
    display: block;
}.hp-category-card__name--more{
    color: #000000;
    font-family: var(--hp-font, 'Poppins'), sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}.hp-categories__swiper,.hp-blog .swiper,.pp-related-swiper.swiper{
    /* overflow-x:hidden + overflow-y:visible computeaza la auto (CSS spec
     * nu permite visible mixed cu non-visible). Folosim overflow-x: clip
     * (Chrome 90+ / Firefox 81+ / Safari 14+) → permite y:visible curat. */
    overflow-x: clip !important;
    overflow-y: visible !important;
    padding-top: 8px;
    padding-bottom: 8px;
}.pp-related-swiper.swiper-wrapper,.pp-related .swiper-wrapper{
    align-items: stretch;
}.hp-blog .swiper-wrapper{
    align-items: stretch;
}.hp-blog .swiper-slide{
    flex: 0 0 calc((100% - 64px) / 4.2);
    height: auto;
}.hp-more-card{
    display: flex;
    flex-direction: column;
    /* gap 10px paritate cu .hp-product-card — fara asta, info-ul e lipit de
     * media (more-card avea gap:normal=0 vs product-card gap:10px), iar textul
     * "Explorează categoria" aparea cu 10px mai sus decat titlul produsului
     * vecin. Total spacing media→text: 10px gap + 12px info padding = 22px. */
    gap: 10px;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 3px rgba(130, 130, 130, 0.07);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease;
    height: 100%;
}.hp-more-card:hover{
    box-shadow: 0 4px 14px rgba(11, 6, 70, 0.06);
    color: inherit;
    text-decoration: none;
}.hp-more-card__media{
    aspect-ratio: 1 / 1;
    background: #BD844C;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}.hp-more-card__icon{
    width: 56px;
    height: 56px;
    color: #FFFFFF;
    display: block;
}.hp-more-card__info{
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* 12px paritate cu .hp-product-card__info compact context (homepage-v2.css
     * line ~644) — text-ul "Explorează categoria" se aliniaza vertical cu titlul
     * produsului din cardul vecin. Inainte 8px → diferenta de 14px (cerere user). */
    padding: 12px;
    flex: 1 1 auto;
}.hp-more-card__content{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    color: #010F1C;
    font-family: var(--hp-font, 'Poppins'), sans-serif;
}.hp-more-card__title{
    /* Paritate exacta cu .hp-product-card__title (Poppins 13/500/1.35, #010F1C).
     * font-family explicit fortat — Shofy parent aplica `p { font-family: Jost }`
     * cu specificitate mai mare, blocand inheritance-ul prin .hp-more-card__content. */
    font-family: var(--hp-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--hp-text, #010F1C);
    margin: 0;
    /* Rezerva 2 randuri ca pe .hp-product-card__title — astfel "+N produse"
     * se aliniaza vertical cu pretul produsului din cardul vecin. */
    min-height: 2.7em;
}.hp-more-card__count{
    /* Paritate cu .hp-product-card__price (Poppins 13/500/1.4, #010F1C). */
    font-family: var(--hp-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--hp-text, #010F1C);
    margin: 0;
}.hp-more-card__btn{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #010F1C;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 8px;
    font-family: var(--hp-font, 'Poppins'), sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: auto;
    transition: background 0.15s ease;
}.hp-more-card:hover .hp-more-card__btn{
    background: #BD844C;
    color: #FFFFFF;
}.ck-content .hp-section{
    --hp-section-py: 32px;
    margin-block: 24px;
}.ck-content .hp-section .hp-container{
    max-width: 100%;
    padding-inline: 0;
}.ck-content .hp-section-header{
    align-items: flex-start;
    margin-bottom: 16px;
}.ck-content .hp-section-header__title{
    font-size: 24px;
}.ck-content .hp-section-header__title--small{
    font-size: 20px;
}.ck-content .hp-section-header__link{
    flex-shrink: 0;
}.ck-content .hp-more-card__info{
    gap: 8px;
}.ck-content .hp-more-card__content{
    gap: 4px;
}.ck-content .hp-more-card__title{
    min-height: 0;
}.ck-content .hp-more-card__count{
    line-height: 1.3;
}.ck-content .hp-more-card__btn{
    margin-top: auto;
}.ck-content .hp-blog .swiper,.ck-content .hp-categories .swiper{
    overflow-x: clip !important;
    overflow-y: visible !important;
}.ck-content .hp-category-card{
    height: 168px;
    gap: 12px;
    padding: 8px;
}.ck-content .hp-category-card__image,.ck-content .hp-category-card__placeholder{
    width: 112px;
    height: 112px;
}.ck-content .hp-category-card__name{
    max-width: 112px;
}.ck-content .hp-product-card__title{
    min-height: 0;
}.ck-content .hp-product-card__info,.ck-content .hp-products--compact .hp-product-card__info,.ck-content .hp-products--hero .hp-product-card__info{
    padding: 10px;
}.ck-content .hp-product-card__cta{
    margin: 0 10px 10px;
}.hp-blog .hp-more-card{ gap: 0; }.hp-blog .hp-more-card__info{
    padding: 8px;
    gap: 8px;
}.hp-blog .hp-more-card__content{ gap: 4px; }.hp-blog .hp-more-card__title{
    font-size: 14px;
    line-height: 1.3;
    min-height: 2.6em;
}.hp-blog .hp-more-card__count{ font-size: 12px; }.ck-content .hp-blog .hp-more-card__title{
    min-height: 0;
}@media (max-width: 575.98px){.hp-more-card__icon{
        width: 56px;
        height: 56px;
    }.hp-more-card__title{
        font-size: 13px;
        font-weight: 500;
    }.hp-more-card__count{
        font-size: 12px;
        font-weight: 400;
    }}.pp-subscribe{
    margin-top: 0 !important;
}.hp-products--hero .hp-section-header{
    align-items: flex-start;
}.hp-products--hero .hp-section-header__titles{
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start;
}.hp-products--hero .hp-section-header__link{
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--hp-accent-text);
}.hp-product-card{
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--card-bg, var(--hp-bg));
    border: 1px solid var(--card-border, #CED4DA);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease;
}.hp-product-card:hover{
    box-shadow: 0 4px 14px rgba(11, 6, 70, 0.06);
}.hp-product-card__media{
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--card-media-bg, var(--hp-surface));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}.hp-product-card__media-link{
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}.hp-product-card__actions{
    position: absolute;
    top: 16px;
    right: 5px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}.hp-product-card__action{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: var(--card-bg, #FFFFFF);
    border: 0;
    border-radius: 6px;
    color: var(--card-text, var(--hp-text));
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}.hp-product-card:hover .hp-product-card__action:hover{
    background: var(--card-cta-hover-bg, var(--hp-accent));
    color: var(--card-cta-text, #FFFFFF);
}.hp-product-card__info{
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}.hp-product-card__title-link{
    text-decoration: none;
    color: inherit;
    display: block;
    /* shofy/bootstrap aplica 14px pe <a> implicit; forteaza 13px medium
     * pentru paritate cu .hp-product-card__title parent. */
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}.hp-product-card__title-link:hover,.hp-product-card__title-link:focus{
    color: inherit;
    text-decoration: none;
}.hp-product-card__title{
    color: var(--card-text, var(--hp-text));
    font-family: var(--hp-font); /* forteaza Poppins peste shofy parent care aplica Jost pe h3 */
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Rezerva spatiu pentru 2 randuri indiferent daca titlul are 1 sau 2 randuri,
     * ca toate cardurile din carusel sa aiba inaltime egala. line-height (1.35)
     * × 2 = 2.7em. Paritate cu pagina de categorie (Shofy default). */
    min-height: 2.7em;
}a.hp-product-card__media,a.hp-product-card__title-link{
    color: inherit;
    text-decoration: none;
}.hp-product-card__price{
    color: var(--card-text, var(--hp-text));
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}.hp-product-card__cta{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--card-cta-bg, var(--hp-text));
    color: var(--card-cta-text, #FFFFFF);
    border: none;
    padding: 8px;
    margin: 0 8px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}.hp-product-card__cta:hover{
    background: var(--card-cta-hover-bg, var(--hp-accent));
    color: var(--card-cta-text, #FFFFFF);
}.hp-products--hero .hp-product-card{
    /* defaults — Swiper handles sizing via slidesPerView=5 */
}.hp-products--compact .hp-product-card__info,.hp-products--hero .hp-product-card__info,.pp-related .hp-product-card__info{
    padding: 12px;
}.hp-blog .swiper{
    overflow: hidden;
}@media (max-width: 991px){.hp-section{
        --hp-section-py: 48px;
    }}@media (max-width: 767px){.hp-products--hero .hp-section-header{
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        text-align: left;
    }.hp-products--hero .hp-section-header__titles{
        flex: 1 1 auto;
        min-width: 0;
        align-items: flex-start;
        gap: 3px;
    }.hp-products--hero .hp-section-header__link{
        align-self: flex-start;
        flex: 0 0 auto;
        margin-top: 3px;
        font-size: 14px;
    }.hp-products--compact .hp-section-header{
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }.hp-section-header__title{
        font-size: 30px;
        line-height: 1.25;
    }.hp-section-header__title--small{
        font-size: 20px; /* paritate Figma 371:732 — 20px SemiBold */
        font-weight: 600;
    }.hp-categories .hp-section-header,.hp-blog .hp-section-header{
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }}@media (max-width: 1199px){.hp-categories .swiper-slide{
        flex-basis: calc((100% - 55px) / 6);
    }}@media (max-width: 991px){.hp-categories .swiper-slide{
        flex-basis: calc((100% - 32px) / 5);
    }.hp-blog .swiper-slide{
        flex-basis: calc((100% - 32px) / 3);
    }}@media (max-width: 767px){.hp-categories .swiper-slide{
        flex-basis: calc((100% - 8px) / 2.3);
    }.hp-blog .swiper-slide{
        flex-basis: calc((100% - 12px) / 1.15);
    }}