/* ═══════════════════════════════════════════════════════════════════
   GIOIELLERIA D'URBANO — Home Page
   Aesthetic: Warm Italian Luxury · Editorial Softness
   Inspired by: Buccellati, Pomellato, Damiani — warmth over coldness
   ═══════════════════════════════════════════════════════════════════ */

/* ── Google Fonts: load here too for specificity ──────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────────────── */
.home-page {
    /* Honey-gold palette — calda e vivida */
    --hg:             #d9a84e;
    --hg-light:       #edd08a;
    --hg-lighter:     #faf0d6;
    --hg-dark:        #b8842e;
    --hg-deep:        #8f6320;
    --hg-glow:        rgba(217, 168, 78, 0.32);

    /* Neutri caldi — toni pesca e avorio */
    --h-ivory:        #fff9f1;
    --h-cream:        #faf0e2;
    --h-sand:         #f2e0c8;
    --h-linen:        #e9d2b0;
    --h-parchment:    #fdf5e8;
    --h-peach:        #ffe8cc;
    --h-amber-mist:   rgba(255, 210, 150, 0.35);

    /* Toni scuri caldi */
    --h-ink:          #2a1e12;
    --h-espresso:     #3f2d1c;
    --h-walnut:       #5e4226;
    --h-muted:        #7d6345;
    --h-soft:         #a6845e;

    /* Bordi dorati più presenti */
    --h-border:       rgba(217, 168, 78, 0.30);
    --h-border-warm:  rgba(217, 168, 78, 0.48);
    --h-border-strong:rgba(184, 132, 46, 0.65);

    /* Sconti — terracotta vivida */
    --h-sale:         #cc5038;
    --h-sale-deep:    #a83828;
    --h-sale-light:   rgba(204, 80, 56, 0.14);
    --h-sale-border:  rgba(204, 80, 56, 0.42);
    --h-sale-glow:    rgba(204, 80, 56, 0.28);

    /* Typography */
    --h-serif:        'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --h-sans:         'Jost', system-ui, sans-serif;

    /* Ombre calde e più vive */
    --h-shadow-xs:    0 2px 12px rgba(150, 95, 35, 0.10);
    --h-shadow-sm:    0 4px 22px rgba(150, 95, 35, 0.13);
    --h-shadow-md:    0 8px 42px rgba(150, 95, 35, 0.17);
    --h-shadow-lg:    0 20px 68px rgba(150, 95, 35, 0.22);

    /* Radii */
    --h-r-sm:         6px;
    --h-r-md:         12px;
    --h-r-lg:         20px;

    /* Easing */
    --h-ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --h-t:            0.4s;
}

/* ── Base ──────────────────────────────────────────────────────── */
.home-page .main > .content {
    /*
     * Sfondo linen-bianco #faf8f4 con:
     *  1. Trama cross-hatch diagonale (linee ±45°) — gold 8% opacity
     *  2. Dot-grid 32px — gold 14% opacity
     *  3. Vignette radiali calde (ambra, pesca, sabbia)
     * Tutti i layer sono semitrasparenti; il colore base mantiene la leggibilità.
     */
    background-color: #faf8f4;
    background-image:
        /* ① Grande vignette ambra sx — luce calda diffusa */
        radial-gradient(
            ellipse 65% 55% at -8% 38%,
            rgba(217, 168, 78, 0.13) 0%,
            transparent 68%
        ),
        /* ② Vignette pesca alto-dx */
        radial-gradient(
            ellipse 50% 45% at 108% 8%,
            rgba(255, 190, 110, 0.11) 0%,
            transparent 62%
        ),
        /* ③ Vignette sabbia bassa centrale */
        radial-gradient(
            ellipse 80% 35% at 50% 102%,
            rgba(220, 185, 135, 0.14) 0%,
            transparent 72%
        ),
        /* ④ Linee diagonali +45° — cross-hatch primo asse */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 22px,
            rgba(184, 140, 60, 0.055) 22px,
            rgba(184, 140, 60, 0.055) 23px
        ),
        /* ⑤ Linee diagonali -45° — cross-hatch secondo asse */
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 22px,
            rgba(184, 140, 60, 0.045) 22px,
            rgba(184, 140, 60, 0.045) 23px
        ),
        /* ⑥ Dot-grid SVG dorato */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='1' cy='1' r='1.1' fill='%23c49a38' fill-opacity='0.14'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size:
        auto,          /* ① */
        auto,          /* ② */
        auto,          /* ③ */
        auto,          /* ④ cross-hatch */
        auto,          /* ⑤ cross-hatch */
        32px 32px;     /* ⑥ dot-grid */
    font-family: var(--h-sans);
    font-weight: 400;
    color: var(--h-ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* ── Striscia shimmer dorata in cima alla pagina ───────────────── */
.home-page .main > .content::before {
    content: '';
    position: fixed;        /* fixed così rimane visibile anche scrollando */
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(217, 168, 78, 0.0) 5%,
        #d9a84e 25%,
        #f0cc80 50%,
        #d9a84e 75%,
        rgba(217, 168, 78, 0.0) 95%,
        transparent 100%
    );
    z-index: 9999;
    pointer-events: none;
    animation: hShimmerBar 4s ease-in-out infinite alternate;
}
@keyframes hShimmerBar {
    from { opacity: 0.55; }
    to   { opacity: 1; }
}

/* ── Keyframes ─────────────────────────────────────────────────── */
@keyframes hRevealUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes hFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes hGlow {
    0%,100% { box-shadow: 0 0 20px var(--hg-glow); }
    50%      { box-shadow: 0 0 44px rgba(217, 168, 78, 0.42); }
}
@keyframes hFloatDiamond {
    0%,100% { transform: rotate(45deg) translateY(0); }
    50%      { transform: rotate(45deg) translateY(-3px); }
}

.home-animate {
    opacity: 0;
    animation: hRevealUp 0.9s var(--h-ease) forwards;
}
.home-animate--d1 { animation-delay: 0.05s; }
.home-animate--d2 { animation-delay: 0.20s; }
.home-animate--d3 { animation-delay: 0.35s; }
.home-animate--d4 { animation-delay: 0.50s; }
.home-animate--d5 { animation-delay: 0.65s; }

/* ── Mouse scroll hint (hero bottom) ──────────────────────────── */
.home-scroll-hint {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.55s var(--h-ease), visibility 0.55s;
}

.home-scroll-hint.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.home-scroll-hint__mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid var(--hg-dark);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
    background: rgba(255, 248, 236, 0.88);
    box-shadow: var(--h-shadow-xs), 0 0 12px var(--hg-glow);
}

.home-scroll-hint__wheel {
    width: 3px;
    height: 7px;
    background: var(--hg);
    border-radius: 2px;
    animation: hScrollWheel 1.6s ease-in-out infinite;
}

@keyframes hScrollWheel {
    0%   { opacity: 1; transform: translateY(0); }
    70%  { opacity: 0.2; transform: translateY(8px); }
    100% { opacity: 0; transform: translateY(8px); }
}

.home-scroll-hint__label {
    font-family: var(--h-sans);
    font-size: 0.6425rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hg-dark);
}

/* ── Scroll Reveal ─────────────────────────────────────────────── */
.home-reveal,
.home-reveal-left,
.home-reveal-right,
.home-reveal-scale {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.85s var(--h-ease),
        transform 0.85s var(--h-ease);
}

.home-reveal--d1 { transition-delay: 0.06s; }
.home-reveal--d2 { transition-delay: 0.16s; }
.home-reveal--d3 { transition-delay: 0.26s; }
.home-reveal--d4 { transition-delay: 0.36s; }

/* ═══════════════════════════════════════════════════════════════════
   SHARED COMPONENTS
   ═══════════════════════════════════════════════════════════════════ */

/* Buttons */
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--h-sans);
    font-size: 0.7625rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.95rem 2.4rem;
    border-radius: 2px;
    transition:
        background var(--h-t) var(--h-ease),
        color var(--h-t) var(--h-ease),
        border-color var(--h-t) var(--h-ease),
        box-shadow var(--h-t) var(--h-ease),
        transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.home-btn:active {
    transform: scale(0.98);
}

.home-btn--primary {
    background: linear-gradient(135deg, var(--h-espresso) 0%, var(--h-ink) 100%);
    color: #fff;
    border: 1px solid var(--h-espresso);
    box-shadow: 0 4px 18px rgba(63, 45, 28, 0.22);
}

.home-btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--hg-dark) 0%, var(--hg) 100%);
    opacity: 0;
    transition: opacity 0.45s var(--h-ease);
    z-index: 0;
}

.home-btn--primary > * { position: relative; z-index: 1; }

.home-btn--primary:hover {
    color: #fff;
    text-decoration: none;
    border-color: var(--hg-dark);
    box-shadow: 0 6px 28px var(--hg-glow);
}

.home-btn--primary:hover::before {
    opacity: 1;
}

.home-btn--ghost {
    background: rgba(255, 248, 236, 0.55);
    color: var(--h-ink);
    border: 1px solid var(--h-border-warm);
}

.home-btn--ghost:hover {
    border-color: var(--hg);
    color: var(--hg-deep);
    background: var(--h-amber-mist);
    text-decoration: none;
    box-shadow: var(--h-shadow-xs), 0 0 14px var(--hg-glow);
}

.home-btn--sale {
    background: linear-gradient(135deg, var(--h-sale) 0%, var(--h-sale-deep) 100%);
    color: #fff;
    border: 1px solid var(--h-sale-deep);
    box-shadow: 0 4px 20px var(--h-sale-glow);
}

.home-btn--sale:hover {
    background: linear-gradient(135deg, #d85c42 0%, var(--h-sale-deep) 100%);
    color: #fff;
    text-decoration: none;
    border-color: var(--h-sale-deep);
    box-shadow: 0 8px 28px rgba(168, 56, 40, 0.38);
}

/* Links */
.home-link {
    display: inline-block;
    font-family: var(--h-sans);
    font-size: 0.7425rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--h-walnut);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color var(--h-t) var(--h-ease);
}

.home-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--hg-dark), var(--hg));
    transition: opacity var(--h-t) ease;
}

.home-link:hover {
    color: var(--hg-deep);
    text-decoration: none;
}

/* Ornamental separator used in headers */
.home-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 1.6rem auto;
    width: 160px;
}
.home-ornament .o-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--h-border-warm));
}
.home-ornament .o-line:last-child {
    background: linear-gradient(90deg, var(--h-border-warm), transparent);
}
.home-ornament .o-diamond {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--hg-light), var(--hg-dark));
    transform: rotate(45deg);
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--hg-glow);
    animation: hFloatDiamond 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */

.home-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg,
        #fff6eb 0%,
        #fcefd8 35%,
        #f6e4c6 68%,
        #edd9b4 100%
    );
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 95% at 0% 50%,
            rgba(217, 168, 78, 0.26) 0%, transparent 58%),
        radial-gradient(ellipse 55% 60% at 100% 15%,
            rgba(255, 190, 110, 0.18) 0%, transparent 52%),
        radial-gradient(ellipse 40% 50% at 70% 90%,
            rgba(204, 80, 56, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.home-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%, var(--hg) 30%,
        #e8c47a 50%, var(--hg) 70%, transparent 100%);
    z-index: 2;
}

.home-hero__frame {
    padding: 5rem 0 5.5rem;
    position: relative;
    z-index: 1;
    min-height: min(88vh, 820px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-hero__glow {
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    top: 50%;
    left: 18%;
    transform: translate(-30%, -50%);
    background: radial-gradient(circle,
        rgba(255, 200, 120, 0.28) 0%,
        rgba(217, 168, 78, 0.12) 40%,
        transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.home-hero__frame::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 85%; height: 1px;
    background: linear-gradient(90deg,
        transparent, var(--h-border-warm) 30%,
        var(--h-border-warm) 70%, transparent);
}

.home-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

/* Logo / Image */
.home-hero__visual {
    flex-shrink: 0;
}

.home-hero__logo-wrap {
    position: relative;
    display: inline-block;
    max-width: 300px;
}

.home-hero__logo-ring {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(217, 168, 78, 0.45);
    box-shadow: 0 0 24px rgba(255, 200, 120, 0.25);
    pointer-events: none;
    animation: hHeroRing 6s ease-in-out infinite;
}

@keyframes hHeroRing {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.04); opacity: 1; }
}

/* Outer decorative gold corners */
.home-hero__logo-wrap::before,
.home-hero__logo-wrap::after {
    content: '';
    position: absolute;
    width: 40px; height: 40px;
    z-index: 2;
    transition: opacity 0.4s ease;
}
.home-hero__logo-wrap::before {
    top: -10px; left: -10px;
    border-top: 1.5px solid var(--hg);
    border-left: 1.5px solid var(--hg);
}
.home-hero__logo-wrap::after {
    bottom: -10px; right: -10px;
    border-bottom: 1.5px solid var(--hg);
    border-right: 1.5px solid var(--hg);
}

.home-hero__logo-inner {
    position: relative;
    background: #fff;
    border: 1px solid var(--h-border-warm);
    border-radius: 50%;
    padding: 2rem;
    overflow: hidden;
    box-shadow:
        var(--h-shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 6px rgba(255, 230, 190, 0.45);
    transition:
        box-shadow var(--h-t) var(--h-ease),
        border-color var(--h-t) var(--h-ease),
        transform var(--h-t) var(--h-ease);
}

.home-hero__logo-wrap:hover .home-hero__logo-inner {
    border-color: var(--hg);
    box-shadow:
        var(--h-shadow-lg),
        0 0 40px var(--hg-glow),
        inset 0 1px 0 rgba(255,255,255,0.9);
    transform: translateY(-4px);
}

.home-hero__logo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
}

/* Content */
.home-hero__content {
    max-width: 580px;
}

.home-hero__location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--h-sans);
    font-size: 0.6425rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--hg-deep);
    margin: 0 0 0.85rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--h-border-warm);
    border-radius: 2px;
    background: var(--h-amber-mist);
    box-shadow: 0 2px 10px rgba(217, 168, 78, 0.15);
}

.home-hero__eyebrow {
    font-family: var(--h-sans);
    font-size: 0.7125rem;
    letter-spacing: 0.44em;
    text-transform: uppercase;
    color: var(--hg-dark);
    margin: 0 0 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0.9;
}
.home-hero__eyebrow::before,
.home-hero__eyebrow::after {
    content: '';
    flex: 0 0 24px;
    height: 1px;
    background: var(--hg-light);
}

.home-hero__title {
    font-family: var(--h-serif);
    font-size: clamp(3rem, 7vw, 5.2rem);
    font-weight: 400;
    line-height: 1.04;
    color: var(--h-ink);
    margin: 0;
    letter-spacing: -0.02em;
}

.home-hero__title em {
    font-style: italic;
    color: var(--hg-deep);
    font-weight: 500;
    display: block;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 20px rgba(217, 168, 78, 0.25);
}

/* Divider — reuse shared ornament */
.home-hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 1.75rem auto;
    width: 180px;
}
.home-hero__divider .line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, var(--h-border-warm));
}
.home-hero__divider .line:last-child {
    background: linear-gradient(90deg, var(--h-border-warm), transparent);
}
.home-hero__divider .diamond {
    width: 7px; height: 7px;
    background: linear-gradient(135deg, var(--hg), var(--hg-dark));
    transform: rotate(45deg);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 200, 120, 0.45);
}

.home-hero__subtitle {
    font-size: 0.97rem;
    line-height: 1.95;
    color: var(--h-muted);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.home-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
}

.home-hero__highlights li {
    font-family: var(--h-sans);
    font-size: 0.6825rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--h-soft);
    position: relative;
    padding-left: 0.85rem;
}

.home-hero__highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, var(--hg-light), var(--hg-dark));
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 6px var(--hg-glow);
}

/* ═══════════════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════════════ */

.home-trust-bar {
    padding: 0;
    background: linear-gradient(135deg, #4a3520 0%, var(--h-espresso) 45%, var(--h-ink) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Warm glow texture */
.home-trust-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 100% at 50% 0%,
            rgba(255, 200, 120, 0.18) 0%, transparent 65%),
        radial-gradient(ellipse 40% 80% at 0% 50%,
            rgba(217, 168, 78, 0.10) 0%, transparent 55%);
    pointer-events: none;
}

/* Top shimmer */
.home-trust-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent, var(--hg), var(--hg-light), var(--hg), transparent);
}

.home-trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 1;
}

.home-trust-strip__item {
    padding: 2rem 1.75rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background var(--h-t) ease;
    position: relative;
}

.home-trust-strip__item:hover {
    background: rgba(255, 200, 120, 0.10);
}

.home-trust-strip__item:last-child {
    border-bottom: none;
}

/* SVG Icons in trust bar */
.home-trust-strip__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 200, 120, 0.45);
    color: var(--hg-light);
    transition: border-color var(--h-t), background var(--h-t), box-shadow var(--h-t);
}

.home-trust-strip__item:hover .home-trust-strip__icon {
    border-color: var(--hg-light);
    background: rgba(255, 200, 120, 0.14);
    box-shadow: 0 0 16px rgba(217, 168, 78, 0.25);
}

.home-trust-strip__icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-trust-strip__label {
    display: block;
    font-family: var(--h-serif);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #fce8c8;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.home-trust-strip__item p {
    font-size: 0.8425rem;
    font-weight: 400;
    color: rgba(255,255,255,0.58);
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.55;
}

.home-trust-strip__link {
    color: rgba(255,255,255,0.60);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(217, 168, 78, 0.65);
    transition: color 0.25s ease;
}
.home-trust-strip__link:hover {
    color: var(--hg-lighter);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION HEADERS (shared)
   ═══════════════════════════════════════════════════════════════════ */

.home-section {
    padding: 5.5rem 0 3.5rem;
    position: relative;
}

.home-section-header {
    margin-bottom: 3.5rem;
}

.home-section-header__eyebrow {
    font-family: var(--h-sans);
    font-size: 0.6825rem;
    letter-spacing: 0.44em;
    text-transform: uppercase;
    color: var(--hg-deep);
    margin: 0 0 1rem;
    font-weight: 500;
    opacity: 1;
}

.home-section-header__title {
    font-family: var(--h-serif);
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 400;
    color: var(--h-ink);
    margin: 0 0 0.75rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.home-section-header__title em {
    font-style: italic;
    color: var(--hg-deep);
    font-weight: 500;
}

.home-section-header__title span {
    font-style: italic;
    color: var(--hg-dark);
}

.home-section-header__subtitle {
    font-size: 1.05rem;
    color: var(--h-muted);
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.62;
    font-weight: 400;
}

.home-section-header__subtitle strong {
    color: var(--hg-dark);
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .home-section-header__subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        line-height: 1.55;
    }
}

/* Ornament replaces default underline when present */
.home-section-header:has(.home-ornament)::after {
    display: none;
}

.home-section-header .home-ornament {
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.home-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.home-ornament__line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--h-sale-border), transparent);
}

.home-ornament__diamond {
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, var(--h-sale), var(--h-sale-deep));
    transform: rotate(45deg);
    box-shadow: 0 0 8px var(--h-sale-glow);
    flex-shrink: 0;
}

.home-deals-highlight {
    font-style: italic;
    color: var(--h-sale-deep);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   CATEGORIES
   ═══════════════════════════════════════════════════════════════════ */

.home-section--categories {
    background: linear-gradient(180deg, var(--h-cream) 0%, var(--h-sand) 100%);
    border-top: 1px solid var(--h-border-warm);
}

.home-page .home-section--categories .nav-item.nav-item-quadrato {
    padding-bottom: 2.5rem;
}

.home-page .home-section--categories .nav-link.nav-link-quadrato {
    background: linear-gradient(180deg, rgba(255, 252, 244, 0.95) 0%, rgba(252, 238, 214, 0.88) 100%);
    border: 1px solid var(--h-border-warm);
    border-radius: var(--h-r-md) var(--h-r-md) 0 0;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: var(--h-shadow-xs);
    transition:
        border-color var(--h-t) var(--h-ease),
        box-shadow var(--h-t) var(--h-ease),
        transform var(--h-t) var(--h-ease);
}

.home-page .home-section--categories .nav-link.nav-link-quadrato:hover {
    border-color: var(--hg);
    box-shadow: var(--h-shadow-md), 0 0 20px var(--hg-glow);
    transform: translateY(-5px);
}

.home-page .home-section--categories .nav-link.nav-link-quadrato img {
    transition: transform 0.7s var(--h-ease), opacity 0.4s ease;
    padding: 18px 18px 0 18px;
}

.home-page .home-section--categories .nav-link.nav-link-quadrato:hover img {
    transform: scale(1.05);
    opacity: 0.88;
}

.home-page .home-section--categories .nav-item.nav-item-quadrato h5 {
    font-family: var(--h-sans);
    font-size: 0.7425rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--h-walnut);
    padding: 0.6rem 0.75rem 0.65rem;
    background: linear-gradient(180deg, rgba(255, 250, 238, 0.98), rgba(245, 225, 195, 0.95));
    border-top: 1px solid var(--h-border-warm);
    border-radius: 0 0 var(--h-r-sm) var(--h-r-sm);
    transition: color var(--h-t);
}

/* ═══════════════════════════════════════════════════════════════════
   HOT DEALS
   ═══════════════════════════════════════════════════════════════════ */

.home-section--deals {
    background:
        linear-gradient(180deg,
            rgba(255, 220, 190, 0.45) 0%,
            var(--h-peach) 12%,
            var(--h-cream) 35%,
            var(--h-sand) 100%);
    padding-bottom: 5.5rem;
    border-top: 3px solid var(--h-sale-border);
    position: relative;
    overflow: hidden;
}

.home-section--deals::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 12% 8%, rgba(204, 80, 56, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 88% 12%, rgba(255, 190, 100, 0.20) 0%, transparent 50%);
    pointer-events: none;
}

.home-section--deals::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--h-sale), var(--hg-light), var(--h-sale), transparent);
    opacity: 0.65;
    pointer-events: none;
}

.home-section-header__eyebrow--sale {
    color: var(--h-sale);
    font-weight: 600;
    letter-spacing: 0.48em;
}

.home-deals-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.home-deals-intro__pct {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e06848 0%, var(--h-sale-deep) 100%);
    color: #fff;
    font-family: var(--h-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 18px var(--h-sale-glow), 0 0 20px rgba(255, 160, 100, 0.2);
}

.home-deals-intro__label {
    font-family: var(--h-sans);
    font-size: 0.6825rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--h-sale-deep);
    padding: 0.45rem 1rem;
    border: 1px solid var(--h-sale-border);
    border-radius: 2px;
    background: rgba(255, 248, 236, 0.88);
    box-shadow: 0 2px 10px rgba(204, 80, 56, 0.12);
}

/* ─── ARTICOLI: 5 per riga, stesse card con zoom uniforme ─────
   Le card restano identiche (tipografia, badge, vetrina, CTA).
   Su desktop il layout interno è calcolato come in una griglia a 3
   (larghezza 166.67% della cella) e poi ridotto con zoom 0.6,
   così 5 card riempiono la riga senza distorcere le proporzioni. */
.home-deals__products-grid {
    --deals-zoom: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 0.5rem;
    align-items: start;
}

.home-deals__product-slot {
    min-width: 0;
    display: flex;
    justify-content: center;
}

.home-deals__products-grid .card-product--home {
    width: calc(100% / var(--deals-zoom));
    max-width: none;
    zoom: var(--deals-zoom);
}

@media (min-width: 768px) {
    .home-deals__products-grid {
        --deals-zoom: 1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 1200px) {
    .home-deals__products-grid {
        --deals-zoom: 0.8;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (min-width: 1200px) {
    .home-deals__products-grid .card-product--home:hover {
        transform: translateY(-10px) !important;
    }
}

/* Fallback image specifica per card offerte in evidenza */
.home-deals__products-grid .card-product--fallback .card-product__stage-link,
.home-deals__products-grid .card-product__stage-link:has(.card-product__image--fallback),
.home-deals__products-grid .card-product__stage-link:has(img[src*="noimage"]) {
    padding: 42px 28px 24px !important;
    box-sizing: border-box !important;
}

.home-deals__products-grid .card-product--fallback .card-product__image,
.home-deals__products-grid .card-product__image--fallback,
.home-deals__products-grid .card-product__image[src*="noimage"] {
    width: auto !important;
    height: auto !important;
    max-width: 52% !important;
    max-height: 140px !important;
    object-fit: contain !important;
    margin: auto !important;
    opacity: 0.82;
}

/* ─── BRAND: 2 per riga, card orizzontale rettangolare ───────── */
.home-deals__brands-section {
    margin-top: 2.25rem;
}

.home-deals__brands-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.home-deals__brands-header::before,
.home-deals__brands-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--h-border-warm), transparent);
}

.home-deals__brands-label {
    font-family: var(--h-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hg-deep);
    white-space: nowrap;
}

.home-deals__brands-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .home-deals__brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 992px) {
    .home-deals__brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .home-brand-deal-card {
        min-height: 180px;
        grid-template-columns: minmax(140px, 0.32fr) minmax(0, 0.68fr);
    }

    .home-brand-deal-card__body {
        padding: 1rem 1.1rem 0.95rem;
    }

    .home-brand-deal-card__name {
        font-size: clamp(1.1rem, 1.4vw, 1.45rem);
    }

    .home-brand-deal-card__cta {
        font-size: 0.58rem;
        padding: 0.38rem 0.85rem;
    }
}

.home-brand-deal-card {
    display: grid;
    grid-template-columns: minmax(140px, 0.38fr) minmax(0, 0.62fr);
    align-items: stretch;
    min-height: 176px;
    background: linear-gradient(180deg, #ffffff 0%, var(--h-ivory) 100%);
    border: 1px solid var(--h-border);
    border-radius: var(--h-r-md);
    overflow: hidden;
    box-shadow: var(--h-shadow-sm);
    isolation: isolate;
    transition:
        transform var(--h-t) var(--h-ease),
        box-shadow var(--h-t) var(--h-ease),
        border-color var(--h-t) var(--h-ease);
}

.home-brand-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--h-shadow-md), 0 0 24px var(--hg-glow);
    border-color: var(--h-border-strong);
}

.home-brand-deal-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 0.9rem;
    background:
        radial-gradient(ellipse 70% 80% at 50% 40%, rgba(255, 248, 230, 0.95) 0%, transparent 70%),
        linear-gradient(160deg, var(--h-parchment) 0%, var(--h-sand) 100%);
    border-right: 1px solid var(--h-border);
    text-decoration: none;
    overflow: hidden;
}

.home-brand-deal-card__visual::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(217, 168, 78, 0.38);
    border-radius: 8px;
    pointer-events: none;
    box-shadow: inset 0 0 0 4px rgba(255, 252, 244, 0.55);
}

.home-brand-deal-card__frame {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 6px;
}

.home-brand-deal-card__logo {
    max-height: 78px;
    max-width: 78%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(70, 45, 15, 0.12));
    transition: transform 0.5s var(--h-ease);
}

.home-brand-deal-card:hover .home-brand-deal-card__logo {
    transform: scale(1.05);
}

.home-brand-deal-card__stamp {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.22rem;
    padding: 0.22rem 0.55rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--h-sale) 0%, var(--h-sale-deep) 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px var(--h-sale-glow);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.home-brand-deal-card__stamp-pct {
    font-family: var(--h-sans);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.home-brand-deal-card__stamp-label {
    font-family: var(--h-sans);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.92;
}

.home-brand-deal-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    padding: 1rem 1.25rem 1.05rem;
    min-width: 0;
}

.home-brand-deal-card__flag {
    font-family: var(--h-sans);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--h-sale-deep);
    background: var(--h-sale-light);
    border: 1px solid var(--h-sale-border);
    border-radius: 4px;
    padding: 0.16rem 0.45rem;
    align-self: flex-start;
}

.home-brand-deal-card__name {
    font-family: var(--h-serif);
    font-size: clamp(1.15rem, 1.55vw, 1.55rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--h-espresso);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0.05rem 0 0.1rem;
    transition: color 0.3s ease;
}

.home-brand-deal-card__name:hover {
    color: var(--hg-deep);
    text-decoration: none;
}

.home-brand-deal-card__count {
    font-family: var(--h-sans);
    font-size: 0.8rem;
    color: var(--h-muted);
    margin: 0;
    line-height: 1.4;
}

.home-brand-deal-card__count strong {
    color: var(--h-sale-deep);
    font-weight: 700;
}

.home-brand-deal-card__time {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--h-sans);
    font-size: 0.75rem;
    color: var(--h-walnut);
    margin: 0 0 0.25rem;
    white-space: nowrap;
}

.home-brand-deal-card__time i {
    color: var(--hg-dark);
    font-size: 0.85rem;
}

.home-brand-deal-card__time strong {
    color: var(--hg-deep);
    font-weight: 600;
}

.home-brand-deal-card__cta {
    align-self: flex-start;
    margin-top: 0.2rem;
    font-family: var(--h-sans);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, var(--hg-deep) 0%, var(--hg-dark) 100%);
    padding: 0.42rem 0.95rem;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(143, 99, 32, 0.25);
    transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.home-brand-deal-card__cta:hover {
    background: linear-gradient(135deg, var(--hg-dark) 0%, var(--hg) 100%);
    transform: translateX(3px);
    box-shadow: 0 5px 16px rgba(143, 99, 32, 0.35);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .home-brand-deal-card {
        min-height: 150px;
        grid-template-columns: minmax(118px, 0.34fr) minmax(0, 0.66fr);
    }

    .home-brand-deal-card__visual {
        padding: 0.85rem 0.65rem;
    }

    .home-brand-deal-card__visual::before {
        inset: 8px;
    }

    .home-brand-deal-card__logo {
        max-height: 58px;
        max-width: 82%;
    }

    .home-brand-deal-card__body {
        padding: 0.7rem 0.85rem 0.75rem;
        gap: 0.16rem;
    }

    .home-brand-deal-card__name {
        font-size: 1.18rem;
    }

    .home-brand-deal-card__cta {
        font-size: 0.54rem;
        padding: 0.32rem 0.7rem;
        letter-spacing: 0.08em;
    }
}

@media (max-width: 359px) {
    .home-brand-deal-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-brand-deal-card__visual {
        min-height: 118px;
        border-right: none;
        border-bottom: 1px solid var(--h-border);
        padding: 1.1rem 1rem;
    }

    .home-brand-deal-card__logo {
        max-height: 64px;
    }

    .home-brand-deal-card__body {
        padding: 0.85rem 1rem 1rem;
    }

    .home-brand-deal-card__time {
        white-space: normal;
    }
}

.home-deal-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 252, 244, 0.98) 0%, rgba(252, 236, 210, 0.95) 100%);
    border: 1px solid var(--h-border-warm);
    border-radius: var(--h-r-md);
    overflow: hidden;
    box-shadow: var(--h-shadow-sm);
    transition:
        box-shadow var(--h-t) var(--h-ease),
        transform var(--h-t) var(--h-ease),
        border-color var(--h-t) var(--h-ease);
    position: relative;
}

.home-deal-card--sale {
    border-color: var(--h-sale-border);
    box-shadow: var(--h-shadow-sm), 0 0 0 1px rgba(204, 80, 56, 0.08);
}

.home-deal-card--sale::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--h-sale) 0%, var(--hg-dark) 100%);
    z-index: 3;
    border-radius: var(--h-r-md) 0 0 var(--h-r-md);
}

/* Top accent line — always visible on sale cards */
.home-deal-card--sale::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--h-sale), var(--hg), var(--h-sale));
    transform: none;
    z-index: 2;
    border-radius: 0;
}

.home-deal-card:hover {
    box-shadow: var(--h-shadow-lg), 0 0 30px var(--hg-glow);
    transform: translateY(-6px);
    border-color: var(--h-border-warm);
}

.home-deal-card--sale:hover {
    box-shadow: var(--h-shadow-lg), 0 0 28px var(--h-sale-glow);
    border-color: rgba(204, 80, 56, 0.55);
}

.home-deal-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--h-peach) 0%, var(--h-cream) 100%);
    padding: 2.5rem 2rem 2rem;
    min-height: 240px;
    text-decoration: none;
    border-bottom: 1px solid var(--h-border);
    overflow: hidden;
}

/* Subtle warm circle behind image */
.home-deal-card__media::before {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 120, 0.22), transparent 70%);
    pointer-events: none;
}

.home-deal-card__image {
    max-height: 175px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.65s var(--h-ease), opacity 0.4s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(80, 55, 20, 0.12));
}

.home-deal-card:hover .home-deal-card__image {
    transform: scale(1.05) translateY(-3px);
    opacity: 0.93;
}

.home-deal-card__brand-logo {
    max-height: 65px;
    max-width: 170px;
    object-fit: contain;
    opacity: 0.80;
    transition: opacity var(--h-t);
}
.home-deal-card:hover .home-deal-card__brand-logo {
    opacity: 1;
}

/* Discount stamp — top right */
.home-deal-card__stamp {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 4;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--h-sale) 0%, var(--h-sale-deep) 100%);
    color: #fff;
    box-shadow:
        0 4px 14px var(--h-sale-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.home-deal-card__stamp-pct {
    font-family: var(--h-serif);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
}

.home-deal-card__stamp-label {
    font-family: var(--h-sans);
    font-size: 0.4825rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.92;
    margin-top: 2px;
}

.home-deal-card__stamp--brand {
    width: 62px;
    height: 62px;
}

.home-deal-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem 1.75rem;
    text-align: center;
}

.home-deal-card__sale-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    align-self: center;
    margin-bottom: 0.75rem;
    padding: 0.28rem 0.75rem;
    font-family: var(--h-sans);
    font-size: 0.6225rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--h-sale-deep);
    background: var(--h-sale-light);
    border: 1px solid var(--h-sale-border);
    border-radius: 2px;
}

.home-deal-card__sale-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--h-sale);
    flex-shrink: 0;
    animation: hSalePulse 2s ease-in-out infinite;
}

@keyframes hSalePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.85); }
}

.home-deal-card__sale-tag--brand {
    color: var(--h-sale-deep);
}

.home-deal-card__brand-name {
    font-family: var(--h-sans);
    font-size: 0.6625rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hg-dark);
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color var(--h-t);
    display: block;
}
.home-deal-card__brand-name:hover {
    color: var(--hg-deep);
    text-decoration: none;
}

.home-deal-card__title {
    font-family: var(--h-serif);
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--h-ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
    margin-bottom: 1rem;
    transition: color var(--h-t);
}
.home-deal-card__title:hover {
    color: var(--hg-dark);
    text-decoration: none;
}

.home-deal-card__pricing {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.home-deal-card__pricing--sale {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0.25rem 0 0.65rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, rgba(255, 220, 190, 0.55) 0%, rgba(255, 248, 236, 0.7) 100%);
    border: 1px solid var(--h-sale-border);
    border-radius: var(--h-r-sm);
}

.home-deal-card__price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.home-deal-card__price-row--was {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px dashed rgba(204, 80, 56, 0.28);
}

.home-deal-card__price-label {
    font-family: var(--h-sans);
    font-size: 0.5825rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--h-soft);
    flex-shrink: 0;
}

.home-deal-card__price-row--was .home-deal-card__price-label {
    color: var(--h-soft);
}

.home-deal-card__price-new {
    font-family: var(--h-serif);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--h-ink);
    letter-spacing: 0.01em;
}

.home-deal-card__pricing--sale .home-deal-card__price-new {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--h-sale-deep);
}

.home-deal-card__price-old {
    font-size: 0.9425rem;
    color: var(--h-soft);
    text-decoration: line-through;
    font-weight: 400;
}

.home-deal-card__savings {
    margin: 0.55rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(204, 80, 56, 0.20);
    font-family: var(--h-sans);
    font-size: 0.7825rem;
    font-weight: 500;
    color: var(--h-walnut);
    text-align: center;
    letter-spacing: 0.04em;
}

.home-deal-card__savings strong {
    color: var(--h-sale-deep);
    font-weight: 600;
}

.home-deal-card__savings-pct {
    color: var(--h-sale);
    font-weight: 600;
    margin-left: 0.15rem;
}

.home-deal-card__meta {
    font-size: 0.7425rem;
    color: var(--h-soft);
    margin: 0 0 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}

.home-deal-card__link {
    margin-top: auto;
    font-family: var(--h-sans);
    font-size: 0.6825rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--h-walnut);
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--h-border-warm);
    align-self: center;
    transition: color var(--h-t), border-color var(--h-t);
}
.home-deal-card__link:hover {
    color: var(--hg-dark);
    border-color: var(--hg-dark);
    text-decoration: none;
}

.home-deal-card__link--sale {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--h-sale) 0%, var(--h-sale-deep) 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.18em;
    box-shadow: 0 3px 12px var(--h-sale-glow);
    transition:
        transform var(--h-t) var(--h-ease),
        box-shadow var(--h-t) var(--h-ease),
        background var(--h-t) var(--h-ease);
    align-self: stretch;
    text-align: center;
    margin-top: auto;
}

.home-deal-card__link--sale:hover {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, #e05f42 0%, var(--h-sale) 100%);
    border-bottom-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 80, 56, 0.42);
    text-decoration: none;
}

/* Brand deal variant */
.home-deal-card--brand .home-deal-card__media {
    min-height: 180px;
    padding: 2.75rem 2rem 2rem;
}

.home-deal-card__brand-title {
    font-family: var(--h-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--h-ink);
    margin: 0 0 0.45rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-deal-card__brand-desc {
    font-size: 0.9125rem;
    color: var(--h-muted);
    margin: 0 0 0.4rem;
    font-weight: 400;
    line-height: 1.65;
}

.home-deal-card__expiry {
    font-size: 0.8625rem;
    color: var(--hg-dark);
    margin: 0 0 1.25rem;
    font-style: italic;
    font-family: var(--h-serif);
}

.home-deals__footer {
    margin-top: 3rem;
    text-align: center;
}

.home-deals__footer .home-btn--sale {
    padding: 1rem 2.6rem;
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════════════════════════════════ */

.home-page .home-section--products {
    background: linear-gradient(180deg, var(--h-ivory) 0%, var(--h-cream) 100%);
    border-top: 1px solid var(--h-border-warm);
    padding-top: 5rem;
}


/* ── Product cards — Vitrina Lusso Modern (Redesign Premium) ──────────────── */
.home-page .card-product--home,
.card-product--home {
    width: 100%;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border: 1px solid rgba(217, 168, 78, 0.22) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 6px 20px rgba(70, 50, 20, 0.06) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
}

.home-page .card-product--home:hover,
.card-product--home:hover {
    box-shadow: 0 16px 40px rgba(184, 132, 46, 0.18) !important;
    border-color: rgba(217, 168, 78, 0.6) !important;
    transform: translateY(-6px) !important;
}

.home-page .card-product--sale,
.card-product--sale {
    border-color: rgba(204, 80, 56, 0.25) !important;
}

.home-page .card-product--sale:hover,
.card-product--sale:hover {
    border-color: rgba(204, 80, 56, 0.55) !important;
    box-shadow: 0 16px 40px rgba(204, 80, 56, 0.18) !important;
}

/* Showcase — vetrina illuminata */
.home-page .card-product__showcase,
.card-product__showcase {
    position: relative;
    padding: 0 !important;
    min-height: 280px;
    height: 280px;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(217, 168, 78, 0.18) !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

.home-page .card-product__frame,
.card-product__frame {
    display: none;
}

.home-page .card-product__pedestal,
.card-product__pedestal {
    position: absolute;
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    width: 60%;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(120, 80, 30, 0.12) 0%, transparent 75%);
    filter: blur(2px);
}

.home-page .card-product__badges,
.card-product__badges {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
}

.home-page .card-product__flag,
.card-product__flag {
    font-family: 'Jost', system-ui, sans-serif;
    font-size: 0.6125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    line-height: 1.2;
}

.home-page .card-product__flag--new,
.card-product__flag--new {
    color: #8f6320;
    background: rgba(255, 252, 240, 0.95);
    border: 1px solid rgba(217, 168, 78, 0.35);
}

.home-page .card-product__flag--sale,
.card-product__flag--sale {
    color: #cc5038;
    background: rgba(204, 80, 56, 0.08);
    border: 1px solid rgba(204, 80, 56, 0.25);
}

/* Stamp sconto — elegante pillola top-right */
.home-page .card-product__stamp,
.card-product__stamp {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 4;
    width: auto;
    height: auto;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #cc5038 0%, #a83828 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(204, 80, 56, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.home-page .card-product__stamp-pct,
.card-product__stamp-pct {
    font-family: 'Jost', sans-serif;
    font-size: 0.8625rem;
    font-weight: 700;
    line-height: 1;
}

.home-page .card-product__stamp-label,
.card-product__stamp-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.95;
    margin-top: 0;
}

.home-page .card-product__stage,
.card-product__stage {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .card-product__stage-link,
.card-product__stage-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 360px !important;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.home-page .card-product__image,
.card-product__image {
    width: 100% !important;
    height: 100% !important;
    max-height: 360px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    filter: drop-shadow(0 4px 12px rgba(70, 45, 15, 0.08));
    transition: transform 0.5s ease, opacity 0.35s ease;
}

.home-page .card-product--home:hover .card-product__image:not(.img-seconda-immagine),
.card-product--home:hover .card-product__image:not(.img-seconda-immagine) {
    transform: scale(1.06) translateY(-4px);
}

/* Immagine di fallback / noimage: ridimensionamento proporzionato, padding e contenimento */
.home-page .card-product--fallback .card-product__stage-link,
.card-product--fallback .card-product__stage-link {
    padding: 38px 26px 22px !important;
    box-sizing: border-box !important;
}

.home-page .card-product--fallback .card-product__image,
.card-product--fallback .card-product__image,
.home-page .card-product__image--fallback,
.card-product__image--fallback,
.home-page .card-product__image[src*="noimage"],
.card-product__image[src*="noimage"] {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    margin: auto !important;
    padding: 0 !important;
    opacity: 0.85;
    filter: none !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.home-page .card-product--fallback:hover .card-product__image,
.card-product--fallback:hover .card-product__image,
.home-page .card-product--home:hover .card-product__image--fallback,
.card-product--home:hover .card-product__image--fallback,
.home-page .card-product--home:hover .card-product__image[src*="noimage"],
.card-product--home:hover .card-product__image[src*="noimage"] {
    transform: scale(1.03) !important;
}

.home-page .card-product__overlay,
.card-product__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0.85rem;
    background: linear-gradient(180deg, transparent 50%, rgba(42, 30, 18, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.home-page .card-product--home:hover .card-product__overlay,
.card-product--home:hover .card-product__overlay {
    opacity: 1;
}

.home-page .card-product__overlay-cta,
.card-product__overlay-cta {
    font-family: 'Jost', sans-serif;
    font-size: 0.6625rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    background: rgba(42, 30, 18, 0.5);
    backdrop-filter: blur(4px);
}

.home-page .card-product__wishlist,
.card-product__wishlist {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(217, 168, 78, 0.35);
    background: rgba(255, 255, 255, 0.95);
    color: #a6845e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.home-page .card-product__wishlist:hover,
.card-product__wishlist:hover {
    transform: scale(1.1);
    color: #cc5038;
    background: #ffffff;
}

.home-page .card-product__wishlist.is-active,
.card-product__wishlist.is-active {
    color: #cc5038;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(204, 80, 56, 0.3);
}

/* Info — testo pulito ed editoriale su sfondo bianco */
.home-page .card-product__info,
.card-product__info {
    padding: 1rem 1.15rem 0.65rem !important;
    text-align: left;
    flex: 1;
    background: #ffffff !important;
}

.home-page .card-product__info-top,
.card-product__info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(217, 168, 78, 0.18) !important;
}

.home-page .card-product__brand,
.card-product__brand {
    font-family: 'Jost', sans-serif;
    font-size: 0.7125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8f6320 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-page .card-product__brand:hover,
.card-product__brand:hover {
    color: #b8842e !important;
    text-decoration: none;
}

.home-page .card-product__ref,
.card-product__ref {
    font-family: 'Jost', sans-serif;
    font-size: 0.6625rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888888 !important;
    flex-shrink: 0;
}

.home-page .card-product__title,
.card-product__title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #2c221e !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7rem !important;
    margin: 0 !important;
    transition: color 0.3s ease;
}

.home-page .card-product__title:hover,
.card-product__title:hover {
    color: #8f6320 !important;
    text-decoration: none;
}

.home-page .card-product__rating,
.card-product__rating {
    margin: 0.45rem 0 0;
    line-height: 1;
}

.home-page .card-product__rating .material-icons-outlined,
.card-product__rating .material-icons-outlined {
    font-size: 0.9125rem;
    color: #d9a84e;
}

/* Commerce — pannello CHIARO ed elegante (Nessun blocco nero!) */
.home-page .card-product__commerce,
.card-product__commerce {
    margin-top: auto;
    background: #faf8f5 !important;
    border-top: 1px solid rgba(217, 168, 78, 0.2) !important;
    padding: 0.85rem 1.15rem 1rem !important;
}

.home-page .card-product__price-panel,
.card-product__price-panel {
    padding: 0 0 0.65rem !important;
    text-align: left;
    background: transparent !important;
}

.home-page .card-product__price-panel--sale,
.card-product__price-panel--sale {
    background: transparent !important;
}

.home-page .card-product__price-label,
.card-product__price-label {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 0.6425rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888888 !important;
    margin-bottom: 0.2rem;
}

.home-page .card-product__price--hero,
.card-product__price--hero {
    display: block;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    line-height: 1.1;
    color: #2c221e !important;
    letter-spacing: 0.01em;
}

.home-page .card-product__price--sale,
.card-product__price--sale {
    color: #cc5038 !important;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
}

.home-page .card-product__price-was,
.card-product__price-was {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    margin-top: 0.3rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.8425rem;
    color: #888888 !important;
}

.home-page .card-product__price-was > span:first-child,
.card-product__price-was > span:first-child {
    text-decoration: line-through;
    color: #999999 !important;
}

.home-page .card-product__savings-tag,
.card-product__savings-tag {
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 1.5rem 1.25rem;
}

.home-page .card-product__stock,
.card-product__stock {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--h-sans, 'Jost', sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1e7e34 !important;
    flex-shrink: 0;
}

.home-page .card-product__stock-dot,
.card-product__stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7dce9a;
    box-shadow: 0 0 8px rgba(125, 206, 154, 0.55);
}

.home-page .card-product__cta,
.card-product__cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

.home-page .card-product__savings-tag,
.card-product__savings-tag {
    font-size: 0.6825rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #cc5038 !important;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: rgba(204, 80, 56, 0.1) !important;
    border: 1px solid rgba(204, 80, 56, 0.2) !important;
}

.home-page .card-product__actions,
.card-product__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 !important;
}

.home-page .card-product__stock,
.card-product__stock {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.6425rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #489a65 !important;
}

.home-page .card-product__stock-dot,
.card-product__stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #489a65 !important;
    box-shadow: 0 0 6px rgba(72, 154, 101, 0.4);
}

.home-page .card-product__cta,
.card-product__cta {
    width: 100% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.7825rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #cc5038 0%, #a83828 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.65rem 1rem !important;
    box-shadow: 0 4px 12px rgba(204, 80, 56, 0.25) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.home-page .card-product__cta:hover,
.card-product__cta:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #db5941 0%, #b83a26 100%) !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(204, 80, 56, 0.35) !important;
}

.home-page .card-product__cta-arrow,
.card-product__cta-arrow {
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.home-page .card-product__cta:hover .card-product__cta-arrow,
.card-product__cta:hover .card-product__cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 575px) {
    .home-page .card-product__showcase {
        min-height: 260px;
    }

    .home-page .card-product__stage,
    .home-page .card-product__stage-link {
        min-height: 200px;
    }

    .home-page .card-product__title {
        font-size: 1.1rem;
        min-height: 3rem;
    }

    .home-page .card-product__price--hero {
        font-size: 1.55rem;
    }

    .home-page .card-product__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   FILTERS SIDEBAR & TOOLBAR — Haute Joaillerie Edition
   Refined glassmorphism, gold-thread accents, editorial precision
   ═══════════════════════════════════════════════════════════════════ */

/* ── Sidebar Animations ───────────────────────────────────────────── */
@keyframes hFilterGoldLine {
    from { width: 0; opacity: 0; }
    to   { width: 3.5rem; opacity: 1; }
}

@keyframes hFilterCheckIn {
    0%   { transform: scale(0) rotate(-45deg); opacity: 0; }
    60%  { transform: scale(1.15) rotate(0deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes hFilterSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hFilterShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ── Sidebar Column ───────────────────────────────────────────────── */
.home-page .home-filters-col {
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .home-page .home-filters-col {
        position: sticky;
        top: 5.5rem;
        align-self: flex-start;
    }
}

/* ── Mobile toggle button ─────────────────────────────────────────── */
.home-page .home-filters-mobile-toggle {
    margin-bottom: 1.25rem !important;
}

.home-filters-tab {
    display: none;
}

@media (max-width: 991.98px) {
    .home-page .home-filters-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1035;
        width: 38px;
        height: 92px;
        padding: 0;
        margin: 0;
        border: 1px solid rgba(217, 168, 78, 0.45);
        border-left: none;
        border-radius: 0 16px 16px 0;
        background: linear-gradient(180deg, #f3d48a 0%, var(--hg, #d9a84e) 55%, var(--hg-dark, #b8842e) 100%);
        color: var(--h-espresso, #3f2d1c);
        box-shadow:
            4px 0 18px rgba(120, 75, 20, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.45);
        cursor: pointer;
        transition: transform 0.28s ease, opacity 0.22s ease, box-shadow 0.22s ease;
    }

    .home-page .home-filters-tab i {
        font-size: 1.05rem;
        line-height: 1;
    }

    .home-page .home-filters-tab:hover,
    .home-page .home-filters-tab:focus {
        outline: none;
        box-shadow:
            6px 0 22px rgba(120, 75, 20, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    .home-page .home-filters-tab:active {
        transform: translateY(-50%) translateX(1px);
    }

    .home-filters-tab__badge {
        position: absolute;
        top: 8px;
        right: 6px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 8px;
        background: var(--h-sale, #cc5038);
        color: #fff;
        font-family: var(--h-sans, 'Jost', sans-serif);
        font-size: 0.58rem;
        font-weight: 700;
        line-height: 16px;
        text-align: center;
    }

    body.card-filtri-container-shown .home-filters-tab {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-50%) translateX(-110%);
    }
}

.home-page .home-filters__toggle {
    gap: 0.55rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.6825rem;
}

.home-page .home-filters__badge--inline {
    margin-left: 0.15rem;
}

/* ── Sidebar Card (Glassmorphic Luxury) ───────────────────────────── */
.home-page .home-filters {
    background:
        linear-gradient(165deg,
            rgba(255, 253, 248, 0.97) 0%,
            rgba(252, 244, 230, 0.94) 45%,
            rgba(248, 237, 218, 0.92) 100%) !important;
    border: 1px solid rgba(217, 168, 78, 0.28) !important;
    border-radius: 14px !important;
    box-shadow:
        0 8px 32px rgba(150, 95, 35, 0.09),
        0 1px 3px rgba(217, 168, 78, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
    overflow-x: hidden !important;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-sizing: border-box !important;
}

/* Top gold thread accent */
.home-page .home-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 5%,
        var(--hg-light) 20%,
        var(--hg) 50%,
        var(--hg-light) 80%,
        transparent 95%);
    z-index: 1;
    opacity: 0.85;
}

.home-page .home-filters > .card-body {
    padding: 1.5rem 1.35rem 0.6rem;
    position: relative;
    z-index: 1;
}

/* ── Header ───────────────────────────────────────────────────────── */
.home-page .home-filters__header {
    position: relative;
    padding-bottom: 1.15rem;
    margin-bottom: 0.5rem;
   /*   border-bottom: 1px solid rgba(217, 168, 78, 0.15);*/
}

.home-page .home-filters__header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 3.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--hg) 0%, var(--hg-light) 70%, transparent 100%);
    animation: hFilterGoldLine 0.8s var(--h-ease) forwards;
    border-radius: 1px;
}

.home-page .home-filters__eyebrow {
    margin: 0 0 0.3rem;
    font-family: var(--h-sans);
    font-size: 0.6025rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--hg-dark);
    opacity: 0.7;
}

.home-page .home-filters__title {
    margin: 0;
    padding-right: 2.5rem;
    font-family: var(--h-serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--h-ink);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    letter-spacing: -0.01em;
}

.home-page .home-filters__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    font-family: var(--h-sans);
    font-size: 0.6625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--h-ink);
    background: linear-gradient(135deg, rgba(237, 208, 138, 0.5) 0%, rgba(217, 168, 78, 0.3) 100%);
    border: 1px solid rgba(217, 168, 78, 0.5);
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(217, 168, 78, 0.15);
}

/* ── Close button (mobile) ────────────────────────────────────────── */
.home-page .home-filters__close {
    position: absolute;
    top: 0.15rem;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    border: 1px solid rgba(217, 168, 78, 0.3);
    border-radius: 50%;
    background: rgba(255, 252, 244, 0.92);
    color: var(--h-walnut);
    cursor: pointer;
    transition:
        border-color 0.3s var(--h-ease),
        color 0.3s var(--h-ease),
        background 0.3s var(--h-ease),
        box-shadow 0.3s var(--h-ease),
        transform 0.2s ease;
}

.home-page .home-filters__close:hover {
    border-color: var(--hg);
    color: var(--hg-deep);
    background: var(--h-peach);
    box-shadow: 0 2px 10px var(--hg-glow);
    transform: rotate(90deg);
}

.home-page .home-filters__close:focus-visible {
    outline: 2px solid var(--hg);
    outline-offset: 2px;
}

/* ── Accordion Sections ───────────────────────────────────────────── */
.home-page #cardFiltri,
.home-page .card-filtri,
.home-page .home-filters,
#cardFiltri {
    background: linear-gradient(165deg, #fffdf9 0%, #fcf6eb 50%, #f7ecd9 100%) !important;
    border: 1px solid rgba(217, 168, 78, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 36px rgba(75, 48, 18, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    overflow: hidden !important;
}

/* Accordion Item Card Reset */
.home-filters .card.card-collapse,
.home-filters__accordion .card-collapse,
#accordion .card-collapse,
.card-collapse {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(217, 168, 78, 0.18) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.home-filters .card.card-collapse:last-child,
.home-filters__accordion .card-collapse:last-child {
    border-bottom: none !important;
}

/* Accordion Header Container */
.home-filters .card-collapse .card-header,
.home-filters__accordion .card-collapse .card-header {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.home-filters .card-collapse .card-header h5 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Accordion Trigger Link — Warm Luxury Styling (No Pink / No Magenta) */
.home-page .home-filters .card-collapse .card-header a,
.home-filters .card-collapse .card-header a,
.home-filters__accordion .card-collapse .card-header a,
#accordion .card-collapse .card-header a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0.82rem 1rem !important;
    font-family: 'Jost', var(--h-sans), sans-serif !important;
    font-size: 0.8425rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #3f2d1c !important;
    background: linear-gradient(90deg, rgba(217, 168, 78, 0.08) 0%, rgba(255, 255, 255, 0.3) 100%) !important;
    border-left: 3px solid #d9a84e !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
}

/* Sidebar Filter Item Label (wraps icon + text) */
.home-page .home-filters .card-collapse .card-header a > span,
.home-filters .card-collapse .card-header a > span,
.home-filters__accordion .card-collapse .card-header a > span,
#accordion .card-collapse .card-header a > span,
#cardFiltri .card-collapse .card-header a > span,
.home-filters__item-label {
    display: inline-flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

/* Icons inside accordion link text: allineate a sinistra prima del testo, con larghezza fissa e spaziatura */
.home-filters .card-collapse .card-header a i.fa-duotone,
.home-filters .card-collapse .card-header a i.fa-solid,
.home-filters .card-collapse .card-header a i.fas,
.home-filters .card-collapse .card-header a i.fa,
.home-filters .card-collapse .card-header a i[class*="fa-"],
.home-page .home-filters .card-collapse .card-header a span i,
.home-filters .card-collapse .card-header a span i,
#cardFiltri .card-collapse .card-header a span i,
#accordion .card-collapse .card-header a span i {
    float: none !important;
    position: static !important;
    top: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.25rem !important;
    min-width: 1.25rem !important;
    text-align: center !important;
    margin-right: 0.65rem !important;
    margin-left: 0 !important;
    color: #b8862d !important;
    font-size: 0.95rem !important;
    transform: none !important;
    transition: color 0.3s ease !important;
}

/* Chevron arrow on right */
.home-filters .card-collapse .card-header a .material-icons,
.home-filters .card-collapse .card-header a i.material-icons,
.home-page #cardFiltri .card-collapse .card-header a .material-icons,
.home-page #accordion .card-collapse .card-header a .material-icons {
    float: none !important;
    position: static !important;
    margin-left: auto !important;
    color: #b8862d !important;
    font-size: 1.15rem !important;
    opacity: 0.85 !important;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease !important;
}

/* Hover State */
.home-page .home-filters .card-collapse .card-header a:hover,
.home-filters .card-collapse .card-header a:hover,
.home-filters .card-collapse .card-header a:focus {
    color: #1a1005 !important;
    background: linear-gradient(90deg, rgba(217, 168, 78, 0.2) 0%, rgba(252, 244, 230, 0.7) 100%) !important;
    border-left-color: #b8862d !important;
    text-decoration: none !important;
}

.home-filters .card-collapse .card-header a:hover i,
.home-filters .card-collapse .card-header a:hover .material-icons {
    color: #8f6320 !important;
    opacity: 1 !important;
}

/* Expanded State */
.home-page .home-filters .card-collapse .card-header a[aria-expanded="true"],
.home-filters .card-collapse .card-header a[aria-expanded="true"] {
    color: #1a1005 !important;
    background: linear-gradient(90deg, rgba(217, 168, 78, 0.22) 0%, rgba(252, 244, 230, 0.75) 100%) !important;
    border-left-color: #8f6320 !important;
}

.home-filters .card-collapse .card-header a[aria-expanded="true"] .material-icons {
    transform: rotate(180deg) !important;
    color: #8f6320 !important;
    opacity: 1 !important;
}

/* Accordion Content Body */
.home-page .home-filters .card-collapse .card-body,
.home-filters .card-collapse .card-body,
.home-filters .card-collapse div[role="tabpanel"] {
    background: rgba(255, 255, 255, 0.45) !important;
    padding: 0.85rem 0.6rem 1rem !important;
    /*border-top: 1px solid rgba(217, 168, 78, 0.12) !important;*/
    box-sizing: border-box !important;
   /* overflow-x: hidden !important;*/
}

/* Custom Grid Body for Materiale and Colore (Zero Negative Margins / Zero Overflow) */
.home-page .home-filters__grid-body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    padding: 0.75rem 0.5rem 0.9rem 0.75rem;
    border-bottom: 1px solid rgba(217, 168, 78, 0.1);
    animation: hFilterSlideDown 0.3s var(--h-ease);
    box-sizing: border-box;
    overflow-x: hidden;
}

.home-page .home-filters__grid-item {
    flex: 0 0 calc(50% - 0.25rem);
    max-width: calc(50% - 0.25rem);
    margin-bottom: 0.25rem;
    padding-left: 1.6rem !important;
    box-sizing: border-box;
}

@media (max-width: 400px) {
    .home-page .home-filters__grid-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.home-page .home-filters__accordion .card-collapse:last-child .card-body {
    border-bottom: none;
}

/* ── Form Controls (Select / Input) ───────────────────────────────── */
.home-page .home-filters .form-control,
.home-page .home-filters .custom-select {
    font-family: var(--h-sans);
    font-size: 0.8825rem;
    font-weight: 400;
    color: var(--h-ink);
    background: linear-gradient(135deg, rgba(255, 252, 245, 0.95) 0%, rgba(248, 237, 220, 0.85) 100%);
    border: 1px solid rgba(217, 168, 78, 0.3);
    border-radius: var(--h-r-sm);
    height: auto;
    min-height: 2.4rem;
    padding: 0.5rem 0.8rem;
    box-shadow: inset 0 1px 2px rgba(120, 75, 25, 0.05);
    transition:
        border-color 0.35s var(--h-ease),
        box-shadow 0.35s var(--h-ease),
        background 0.35s var(--h-ease);
    -webkit-appearance: none;
}

.home-page .home-filters .form-control:hover,
.home-page .home-filters .custom-select:hover {
    border-color: rgba(217, 168, 78, 0.55);
    background: linear-gradient(135deg, rgba(255, 254, 250, 0.98) 0%, rgba(250, 240, 225, 0.92) 100%);
}

.home-page .home-filters .form-control:focus,
.home-page .home-filters .custom-select:focus {
    border-color: var(--hg);
    box-shadow:
        0 0 0 3px rgba(217, 168, 78, 0.2),
        inset 0 1px 2px rgba(120, 75, 25, 0.04);
    background: #fffdf8;
    outline: none;
}

/* ── Checkboxes (Luxury Custom) ───────────────────────────────────── */
.home-page .home-filters .form-check {
    margin-bottom: 0.3rem;
    padding-left: 1.85rem;
    position: relative;
}

.home-page .home-filters .form-check-label {
    font-family: var(--h-sans);
    font-size: 0.8625rem;
    color: var(--h-espresso);
    cursor: pointer;
    line-height: 1.5;
    padding: 0.15rem 0;
    transition:
        color 0.3s var(--h-ease),
        padding-left 0.25s var(--h-ease);
}

.home-page .home-filters .form-check-label:hover {
    color: var(--hg-deep);
    padding-left: 2px;
}

/* Parent category label (disabled) — editorial weight */
.home-page .home-filters .form-check-label-disabled {
    font-family: var(--h-serif);
    font-size: 0.95rem;
    font-weight: 600 !important;
    color: var(--h-ink) !important;
    letter-spacing: 0.02em;
    margin-top: 0.75rem;
    margin-bottom: 0.2rem;
    cursor: default;
    position: relative;
    padding-left: 0;
}

/* Custom checkbox — refined with gold gradient */
.home-page .home-filters .form-check-sign .check {
    border: 1.5px solid rgba(217, 168, 78, 0.45) !important;
    border-radius: 4px !important;
    background: linear-gradient(135deg, rgba(255, 252, 245, 0.95) 0%, rgba(248, 236, 218, 0.88) 100%) !important;
    box-shadow: 0 1px 2px rgba(150, 95, 35, 0.08) !important;
    transition:
        border-color 0.3s var(--h-ease),
        background 0.3s var(--h-ease),
        box-shadow 0.3s var(--h-ease),
        transform 0.2s ease;
}

.home-page .home-filters .form-check-label:hover .form-check-sign .check {
    border-color: rgba(217, 168, 78, 0.65) !important;
    box-shadow: 0 1px 4px rgba(217, 168, 78, 0.15) !important;
}

.home-page .home-filters .form-check-input:checked ~ .form-check-sign .check {
    border-color: var(--hg) !important;
    background: linear-gradient(135deg, var(--hg-light) 0%, var(--hg) 100%) !important;
    box-shadow:
        0 2px 6px rgba(217, 168, 78, 0.3),
        0 0 0 2px rgba(217, 168, 78, 0.1) !important;
    animation: hFilterCheckIn 0.35s var(--h-ease);
}

/* Brand filter list */
.home-page .home-filters #collapseFornitore .form-check {
    display: block;
    margin-right: 0;
}

/* ── Price Range Slider ───────────────────────────────────────────── */
.home-page .home-filters__price-range {
    padding-top: 0.15rem;
}

.home-page .home-filters__price-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    font-family: var(--h-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--hg-deep);
}

.home-page .home-filters .slider.slider-rose .noUi-connect {
    background: linear-gradient(90deg, var(--hg-light) 0%, var(--hg) 100%) !important;
    box-shadow: 0 0 8px rgba(217, 168, 78, 0.2);
}

.home-page .home-filters .noUi-horizontal {
    height: 5px;
    margin: 0.5rem 0.35rem 1.35rem;
    background: linear-gradient(90deg, var(--h-sand) 0%, var(--h-linen) 100%);
    border: none;
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(94, 66, 38, 0.1);
}

/* Diamond-shaped slider handle */
.home-page .home-filters .noUi-horizontal .noUi-handle {
    width: 18px;
    height: 18px;
    right: -9px;
    top: -7px;
    border: 2px solid var(--hg);
    border-radius: 3px;
    background: linear-gradient(135deg, #fff 0%, #faf0d6 100%);
    box-shadow:
        0 2px 8px var(--hg-glow),
        0 0 0 3px rgba(217, 168, 78, 0.08);
    cursor: grab;
    transform: rotate(45deg);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease;
}

.home-page .home-filters .noUi-horizontal .noUi-handle:hover,
.home-page .home-filters .noUi-horizontal .noUi-handle:active {
    border-color: var(--hg-dark);
    box-shadow:
        0 3px 12px rgba(217, 168, 78, 0.35),
        0 0 0 4px rgba(217, 168, 78, 0.12);
}

.home-page .home-filters .noUi-handle::before,
.home-page .home-filters .noUi-handle::after {
    display: none;
}

/* ── Footer Actions ───────────────────────────────────────────────── */
.home-page .home-filters__footer {
    padding: 1.1rem 1.35rem 1.4rem !important;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(250, 237, 215, 0.25) 40%,
        rgba(248, 230, 200, 0.4) 100%) !important;
    border-top: 1px solid rgba(217, 168, 78, 0.15) !important;
    position: relative;
    box-sizing: border-box;
}

.home-page .home-filters__footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Decorative top thread on footer */
.home-page .home-filters__footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 1.35rem;
    width: 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--hg), transparent);
}

.home-page .home-filters__apply,
.home-page .home-filters__reset {
    gap: 0.55rem;
    width: 100%;
    padding: 0.78rem 1rem;
    font-size: 0.7125rem;
}

.home-page .home-filters__apply i,
.home-page .home-filters__reset i {
    font-size: 0.9125rem;
}

/* ── Product Grid Toolbar ─────────────────────────────────────────── */
.home-page .row-filters.home-toolbar {
    background: linear-gradient(135deg,
        rgba(255, 253, 248, 0.95) 0%,
        rgba(250, 240, 226, 0.88) 100%);
    border: 1px solid rgba(217, 168, 78, 0.22);
    border-radius: var(--h-r-sm);
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem !important;
    box-shadow: 0 2px 10px rgba(150, 95, 35, 0.06);
    position: relative;
}

.home-page .home-toolbar__label {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--h-sans);
    font-size: 0.6125rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--hg-dark);
    opacity: 0.65;
}

.home-page .home-toolbar__perpage span[data-perpage] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    padding: 0.22rem 0.5rem;
    font-family: var(--h-sans);
    font-size: 0.8825rem;
    color: var(--h-muted);
    border-radius: 3px;
    cursor: pointer;
    transition:
        color 0.3s var(--h-ease),
        background 0.3s var(--h-ease),
        box-shadow 0.3s var(--h-ease);
}

.home-page .home-toolbar__perpage span[data-perpage]:hover {
    color: var(--hg-deep);
    background: rgba(217, 168, 78, 0.12);
}

.home-page .home-toolbar__perpage span[data-perpage].font-weight-bolder {
    color: var(--h-ink);
    font-weight: 600 !important;
    background: linear-gradient(135deg, rgba(237, 208, 138, 0.35) 0%, rgba(217, 168, 78, 0.2) 100%);
    border: 1px solid rgba(217, 168, 78, 0.35);
    box-shadow: 0 1px 3px rgba(217, 168, 78, 0.1);
}

.home-page .home-toolbar__sort {
    font-family: var(--h-sans);
    font-size: 0.8625rem;
    color: var(--h-ink);
    background-color: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(217, 168, 78, 0.22);
    border-radius: var(--h-r-sm);
    padding: 0.48rem 2rem 0.48rem 0.75rem;
    transition:
        border-color 0.3s var(--h-ease),
        box-shadow 0.3s var(--h-ease);
}

.home-page .home-toolbar__sort:hover {
    border-color: rgba(217, 168, 78, 0.45);
}

.home-page .home-toolbar__sort:focus {
    border-color: var(--hg);
    box-shadow: 0 0 0 3px rgba(217, 168, 78, 0.18);
    outline: none;
}

/* ── Mobile Drawer (Frosted Slide-Over) ───────────────────────────── */
@media (max-width: 991.98px) {
    .home-page .card-filtri-container.show {
        background-color: rgba(30, 20, 10, 0.5) !important;
        backdrop-filter: blur(6px) saturate(1.2);
        -webkit-backdrop-filter: blur(6px) saturate(1.2);
    }

    .home-page #cardFiltri,
    .home-page .card-filtri,
    .home-page .home-filters,
    .home-page #cardFiltri.show,
    .home-page .card-filtri.show,
    .home-page .home-filters.show {
        width: min(88vw, 22rem) !important;
        height: 100% !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain;
        touch-action: pan-y;
        padding-right: 0 !important;
        padding-left: 0 !important;
        border-radius: 0 !important;
        background: linear-gradient(180deg,
            rgba(255, 253, 248, 0.98) 0%,
            rgba(250, 240, 226, 0.96) 100%) !important;
        border-right: 1px solid rgba(217, 168, 78, 0.3) !important;
        box-shadow:
            10px 0 40px rgba(42, 30, 18, 0.28),
            2px 0 12px rgba(217, 168, 78, 0.06) !important;
    }

    .home-page .home-filters > .card-body {
        padding-top: 1.5rem;
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   BRANDS
   ═══════════════════════════════════════════════════════════════════ */

.home-section--brands {
    padding-bottom: 5.5rem;
    background: linear-gradient(180deg, var(--h-sand) 0%, var(--h-cream) 50%, var(--h-ivory) 100%);
    border-top: 1px solid var(--h-border-warm);
    position: relative;
}

.home-section--brands::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 100%,
        rgba(255, 190, 100, 0.16) 0%, transparent 65%);
    pointer-events: none;
}

.home-page .home-section--brands #iNostriBrandsContainer .nav-item.nav-item-quadrato h3.title {
    margin: 0;
    padding: 0 6px;
}

.home-page .home-section--brands #iNostriBrandsContainer .nav-item.nav-item-quadrato h3.title a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 2rem;
    background: linear-gradient(145deg, rgba(255, 252, 244, 0.95) 0%, rgba(250, 232, 205, 0.88) 100%);
    border: 1px solid var(--h-border-warm);
    border-radius: var(--h-r-md);
    backdrop-filter: blur(6px);
    box-shadow: var(--h-shadow-sm);
    transition:
        border-color var(--h-t) var(--h-ease),
        box-shadow var(--h-t) var(--h-ease),
        transform var(--h-t) var(--h-ease);
    min-height: 90px;
    text-decoration: none;
}

.home-page .home-section--brands #iNostriBrandsContainer .nav-item.nav-item-quadrato h3.title a:hover {
    border-color: var(--hg);
    box-shadow: var(--h-shadow-sm), 0 0 16px var(--hg-glow);
    transform: translateY(-3px);
}

.home-page .home-section--brands #iNostriBrandsContainer .nav-item.nav-item-quadrato h3.title a img {
    filter: grayscale(20%) brightness(0.95);
    opacity: 0.82;
    transition: filter var(--h-t), opacity var(--h-t);
}

.home-page .home-section--brands #iNostriBrandsContainer .nav-item.nav-item-quadrato h3.title a:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.home-brands-cta {
    margin-top: 2.75rem;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (min-width: 576px) {
    .home-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-trust-strip__item:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.06);
    }
    .home-trust-strip__item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .home-deals__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .home-hero__frame {
        padding: 7rem 0 6rem;
    }
    .home-hero__inner {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 5rem;
    }
    .home-hero__visual { flex-shrink: 0; }
    .home-hero__logo-wrap { max-width: 310px; }
    .home-hero__content { flex: 1; max-width: 540px; }
    .home-hero__location { margin-left: 0; }
    .home-hero__eyebrow { justify-content: flex-start; }
    .home-hero__divider { margin-left: 0; justify-content: flex-start; }
    .home-hero__subtitle { margin-left: 0; margin-right: 0; }
    .home-hero__actions { justify-content: flex-start; }
    .home-hero__highlights { justify-content: flex-start; }
    .home-hero__glow { left: 8%; }

    .home-trust-strip {
        grid-template-columns: repeat(4, 1fr);
    }
    .home-trust-strip__item {
        border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.06);
    }
    .home-trust-strip__item:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.06);
    }
    .home-trust-strip__item:last-child {
        border-right: none;
    }

    .home-deals__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .home-hero__logo-wrap { max-width: 330px; }
    .home-hero__frame { padding: 8rem 0 7rem; }
    .home-deals__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .home-hero__inner { gap: 7rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   ENHANCEMENTS — warmth, carousels, stagger, grain
   ═══════════════════════════════════════════════════════════════════ */

/* Subtle warm paper grain */
.home-page .main > .content::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.038;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

/* Staggered scroll reveal for deal cards */
.home-deals__grid .home-deal-card.home-reveal:nth-child(1) { transition-delay: 0.05s; }
.home-deals__grid .home-deal-card.home-reveal:nth-child(2) { transition-delay: 0.15s; }
.home-deals__grid .home-deal-card.home-reveal:nth-child(3) { transition-delay: 0.25s; }
.home-deals__grid .home-deal-card.home-reveal:nth-child(4) { transition-delay: 0.35s; }
.home-deals__grid .home-deal-card.home-reveal:nth-child(5) { transition-delay: 0.45s; }
.home-deals__grid .home-deal-card.home-reveal:nth-child(6) { transition-delay: 0.55s; }

/* Staggered reveal — product grid */
.home-page #galleria-articoli > .home-reveal-scale:nth-child(3n+1) { transition-delay: 0.04s; }
.home-page #galleria-articoli > .home-reveal-scale:nth-child(3n+2) { transition-delay: 0.12s; }
.home-page #galleria-articoli > .home-reveal-scale:nth-child(3n+3) { transition-delay: 0.20s; }

/* Staggered reveal — category & brand carousels */
.home-page #flexiselGalleriaCategorie .home-reveal-scale:nth-child(4n+1),
.home-page #flexiselGalleriaNostriBrands .home-reveal-scale:nth-child(4n+1) { transition-delay: 0.04s; }
.home-page #flexiselGalleriaCategorie .home-reveal-scale:nth-child(4n+2),
.home-page #flexiselGalleriaNostriBrands .home-reveal-scale:nth-child(4n+2) { transition-delay: 0.12s; }
.home-page #flexiselGalleriaCategorie .home-reveal-scale:nth-child(4n+3),
.home-page #flexiselGalleriaNostriBrands .home-reveal-scale:nth-child(4n+3) { transition-delay: 0.20s; }
.home-page #flexiselGalleriaCategorie .home-reveal-scale:nth-child(4n+4),
.home-page #flexiselGalleriaNostriBrands .home-reveal-scale:nth-child(4n+4) { transition-delay: 0.28s; }

/* Category & brand carousels */
.home-page #navigaTraCategorieContainer,
.home-page #iNostriBrandsContainer {
    padding: 0.5rem 0 1rem;
}

.home-page #flexiselNavigatorCategorie,
.home-page #flexiselNavigatorNostriBrands {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.home-page #flexiselNavigatorCategorie > div,
.home-page #flexiselNavigatorNostriBrands > div {
    width: 42px !important;
    height: 42px !important;
    border: 1px solid var(--h-border-warm) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.85) !important;
    color: var(--h-walnut) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition:
        border-color var(--h-t) var(--h-ease),
        background var(--h-t) var(--h-ease),
        box-shadow var(--h-t) var(--h-ease),
        color var(--h-t) var(--h-ease);
    box-shadow: var(--h-shadow-xs) !important;
    font-size: 0 !important;
    position: static !important;
    margin: 0 !important;
}

.home-page #flexiselNavigatorCategorie > div:hover,
.home-page #flexiselNavigatorNostriBrands > div:hover {
    border-color: var(--hg) !important;
    background: #fff !important;
    box-shadow: var(--h-shadow-sm), 0 0 12px var(--hg-glow) !important;
    color: var(--hg-dark) !important;
}

.home-page #flexiselNavigatorCategorie > div::before,
.home-page #flexiselNavigatorNostriBrands > div::before {
    font-family: var(--h-sans);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1;
    color: inherit;
}

.home-page #flexiselNavigatorCategorie > div:first-child::before,
.home-page #flexiselNavigatorNostriBrands > div:first-child::before {
    content: '‹';
}

.home-page #flexiselNavigatorCategorie > div:last-child::before,
.home-page #flexiselNavigatorNostriBrands > div:last-child::before {
    content: '›';
}



/* Pagination warm tint */
.home-page .pagination > .page-item.active > a,
.home-page .pagination > .page-item.active > span {
    background-color: var(--hg-dark) !important;
    border-color: var(--hg-dark) !important;
}

.home-page .pagination > .page-item:not(.active) > a:hover,
.home-page .pagination > .page-item:not(.active) > span:hover {
    background-color: var(--h-parchment) !important;
    color: var(--h-ink) !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .home-animate,
    .home-reveal,
    .home-reveal-left,
    .home-reveal-right,
    .home-reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    .home-scroll-hint__wheel {
        animation: none;
    }

    .home-deal-card__sale-tag-dot {
        animation: none;
    }

    .home-page .card-product__overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 70%, rgba(42, 30, 18, 0.25) 100%);
    }

    .home-hero__logo-ring {
        animation: none;
    }

    .home-ornament .o-diamond {
        animation: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   ENHANCED SELECTION & SIDEBAR FILTERS (Haute Joaillerie Edition)
   Active chips, brand search, color swatches, scrollbars
   ═══════════════════════════════════════════════════════════════════ */

/* ── Active Filters Chips Bar ─────────────────────────────────────── */
.home-active-filters {
    padding: 0.9rem;
    background: linear-gradient(135deg,
        rgba(255, 253, 248, 0.96) 0%,
        rgba(250, 240, 226, 0.88) 100%);
    border: 1px solid rgba(217, 168, 78, 0.25);
    border-radius: 8px;
    box-shadow:
        0 2px 8px rgba(150, 95, 35, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
}

/* Subtle top edge accent */
.home-active-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0.9rem;
    right: 0.9rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217, 168, 78, 0.3), transparent);
    border-radius: 1px;
}

.home-active-filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
}

.home-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--h-sans);
    font-size: 0.7025rem;
    font-weight: 500;
    color: var(--h-ink);
    background: linear-gradient(135deg, #fff 0%, #fdf8f0 100%);
    border: 1px solid rgba(217, 168, 78, 0.35);
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(150, 95, 35, 0.06);
    cursor: pointer;
    transition:
        border-color 0.3s var(--h-ease),
        color 0.3s var(--h-ease),
        background 0.3s var(--h-ease),
        box-shadow 0.3s var(--h-ease),
        transform 0.2s ease;
    letter-spacing: 0.01em;
}

.home-active-chip:hover {
    border-color: var(--h-sale-border);
    color: var(--h-sale);
    background: linear-gradient(135deg, #fff8f6 0%, #fff0ed 100%);
    box-shadow: 0 2px 8px rgba(204, 80, 56, 0.12);
    transform: translateY(-1px);
}

.home-active-chip__remove {
    font-size: 0.7625rem;
    color: var(--h-soft);
    transition:
        color 0.25s ease,
        transform 0.25s ease;
    line-height: 1;
}

.home-active-chip:hover .home-active-chip__remove {
    color: var(--h-sale);
    transform: scale(1.15);
}

.home-active-filters__clear {
    font-family: var(--h-sans);
    font-size: 0.6225rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--h-sale);
    background: none;
    border: none;
    padding: 0.15rem 0;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    transition: color 0.25s ease;
}

/* Animated underline */
.home-active-filters__clear::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0.6);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-active-filters__clear:hover {
    color: var(--h-sale-deep);
}

.home-active-filters__clear:hover::after {
    transform: scaleX(1);
}

/* ── Brand Filter Live Search ─────────────────────────────────────── */
.home-filters__search-wrap {
    position: relative;
}

/* Search icon indicator */
.home-filters__search-wrap::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Duotone', 'Font Awesome 6 Pro', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7125rem;
    color: var(--hg-light);
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.home-filters__search-wrap:focus-within::before {
    color: var(--hg);
}

.home-filters__search-input {
    font-size: 0.8125rem !important;
    padding-left: 0.75rem !important;
    padding-right: 2rem !important;
    border-radius: var(--h-r-sm) !important;
    background: rgba(255, 253, 248, 0.95) !important;
    border: 1px solid rgba(217, 168, 78, 0.25) !important;
    box-shadow: inset 0 1px 2px rgba(150, 95, 35, 0.03) !important;
    transition:
        border-color 0.3s var(--h-ease),
        box-shadow 0.3s var(--h-ease),
        background 0.3s var(--h-ease) !important;
}

.home-filters__search-input:focus {
    border-color: var(--hg) !important;
    box-shadow:
        0 0 0 3px rgba(217, 168, 78, 0.15),
        inset 0 1px 2px rgba(150, 95, 35, 0.03) !important;
    background: #fff !important;
}

.home-filters__search-input::placeholder {
    color: var(--h-soft);
    font-style: italic;
    opacity: 0.6;
}

.home-filters__brand-list {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 0.35rem;
    margin-top: 0.15rem;
}

/* Brand item hover highlight */
.home-filters__brand-item {
    transition: background 0.2s ease;
    border-radius: 3px;
    margin-left: -0.25rem;
    padding-left: calc(1.85rem + 0.25rem) !important;
}

.home-filters__brand-item:hover {
    background: rgba(217, 168, 78, 0.06);
}

/* ── Custom Luxury Scrollbars ─────────────────────────────────────── */
.home-filters__brand-list::-webkit-scrollbar,
.home-filters__accordion .card-collapse .card-body::-webkit-scrollbar {
    width: 4px;
}

.home-filters__brand-list::-webkit-scrollbar-track,
.home-filters__accordion .card-collapse .card-body::-webkit-scrollbar-track {
    background: rgba(242, 224, 200, 0.3);
    border-radius: 4px;
}

.home-filters__brand-list::-webkit-scrollbar-thumb,
.home-filters__accordion .card-collapse .card-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--hg-light), var(--hg));
    border-radius: 4px;
    transition: background 0.2s ease;
}

.home-filters__brand-list::-webkit-scrollbar-thumb:hover {
    background: var(--hg-dark);
}

/* Firefox scrollbar */
.home-filters__brand-list,
.home-filters__accordion .card-collapse .card-body {
    scrollbar-width: thin;
    scrollbar-color: var(--hg-light) rgba(242, 224, 200, 0.3);
}

/* ── Visual Color Swatches ────────────────────────────────────────── */
.home-color-swatch {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    margin-right: 0.5rem;
    flex-shrink: 0;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    vertical-align: middle;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    position: relative;
}

/* Hover glow on swatches */
.home-page .home-filters .form-check-label:hover .home-color-swatch {
    transform: scale(1.15);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(217, 168, 78, 0.2);
}

/* Selected state ring */
.home-page .home-filters .form-check-input:checked ~ .form-check-sign ~ .home-color-swatch,
.home-page .home-filters .form-check-input:checked + .home-color-swatch {
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(217, 168, 78, 0.4);
}

.home-color-swatch--oro-giallo,
.home-color-swatch--giallo {
    background: linear-gradient(135deg, #ffe082 0%, #d4af37 100%);
    border-color: rgba(212, 175, 55, 0.3);
}

.home-color-swatch--oro-rosa,
.home-color-swatch--rosa {
    background: linear-gradient(135deg, #f7c5c2 0%, #b76e79 100%);
    border-color: rgba(183, 110, 121, 0.3);
}

.home-color-swatch--oro-bianco,
.home-color-swatch--bianco,
.home-color-swatch--argento {
    background: linear-gradient(135deg, #ffffff 0%, #dcdcdc 50%, #b0b0b0 100%);
    border-color: rgba(176, 176, 176, 0.35);
}

.home-color-swatch--nero {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    border-color: rgba(0, 0, 0, 0.2);
}

.home-color-swatch--acciaio {
    background: linear-gradient(135deg, #e0e0e0 0%, #9e9e9e 100%);
    border-color: rgba(158, 158, 158, 0.3);
}

.home-color-swatch--rosso {
    background: linear-gradient(135deg, #ff5252 0%, #c62828 100%);
    border-color: rgba(198, 40, 40, 0.3);
}

.home-color-swatch--verde {
    background: linear-gradient(135deg, #66bb6a 0%, #2e7d32 100%);
    border-color: rgba(46, 125, 50, 0.3);
}

.home-color-swatch--blu,
.home-color-swatch--azzurro {
    background: linear-gradient(135deg, #42a5f5 0%, #1565c0 100%);
    border-color: rgba(21, 101, 192, 0.3);
}

.home-color-swatch--marrone {
    background: linear-gradient(135deg, #a1887f 0%, #4e342e 100%);
    border-color: rgba(78, 52, 46, 0.3);
}

.home-color-swatch--multicolore {
    background: conic-gradient(from 0deg, #ff1744, #ffea00, #00e676, #2979ff, #d500f9, #ff1744);
    border-color: rgba(0, 0, 0, 0.12);
}

.home-color-swatch--trasparente {
    background: repeating-conic-gradient(
        rgba(0, 0, 0, 0.06) 0% 25%,
        transparent 0% 50%
    ) 0 0 / 6px 6px;
    border: 1.5px dashed rgba(217, 168, 78, 0.5);
}

/* ── Product Card Improvements ────────────────────────────────────── */
.card-product__savings-tag {
    display: inline-block;
    font-family: var(--h-sans);
    font-size: 0.6025rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--h-sale) 0%, var(--h-sale-deep) 100%);
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    margin-left: 0.4rem;
    box-shadow: 0 2px 6px var(--h-sale-glow);
}

.card-product__stock-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
    margin-right: 0.35rem;
    animation: stockPulse 2s ease-in-out infinite;
}

@keyframes stockPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.card-product__wishlist.is-active {
    animation: wishlistPulse 0.4s ease-out;
}

@keyframes wishlistPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}


/* ═══════════════════════════════════════════════════════════════════
   SIDEBAR BUTTONS & GRID ENFORCER
   ═══════════════════════════════════════════════════════════════════ */

/* Primary Button: Applica Filtri */
#btnApplicaFiltri,
.home-filters__apply,
button#btnApplicaFiltri,
.home-btn--primary {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
    min-height: 2.85rem !important;
    padding: 0.75rem 1.4rem !important;
    font-family: 'Jost', var(--h-sans), sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #271a0b 0%, #4a3419 50%, #271a0b 100%) !important;
    border: 1px solid #d9a84e !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(39, 26, 11, 0.22), 0 0 10px rgba(217, 168, 78, 0.15) !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    margin: 0.35rem 0 0 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

#btnApplicaFiltri:hover,
#btnApplicaFiltri:focus,
.home-filters__apply:hover,
button#btnApplicaFiltri:hover {
    background: linear-gradient(135deg, #d9a84e 0%, #b8862d 100%) !important;
    color: #1a1005 !important;
    border-color: #f3d489 !important;
    box-shadow: 0 8px 24px rgba(217, 168, 78, 0.4), 0 0 15px rgba(217, 168, 78, 0.3) !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
    outline: none !important;
}

#btnApplicaFiltri i,
.home-filters__apply i {
    font-size: 0.9rem !important;
    color: #d9a84e !important;
    transition: color 0.35s ease !important;
}

#btnApplicaFiltri:hover i,
.home-filters__apply:hover i {
    color: #1a1005 !important;
}

/* Secondary Ghost Button: Rimuovi Filtri */
#btnRimuoviFiltri,
.home-filters__reset,
button#btnRimuoviFiltri,
#btnRimuoviFiltriRicerca,
.home-btn--ghost {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    min-height: 2.65rem !important;
    padding: 0.65rem 1.25rem !important;
    font-family: 'Jost', var(--h-sans), sans-serif !important;
    font-size: 0.7625rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #8c6827 !important;
    background: linear-gradient(180deg, #fffcf5 0%, #f7ebd5 100%) !important;
    border: 1px solid rgba(217, 168, 78, 0.5) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(140, 104, 39, 0.08) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    margin: 0.35rem 0 0 0 !important;
}

#btnRimuoviFiltri:hover,
#btnRimuoviFiltri:focus,
.home-filters__reset:hover,
button#btnRimuoviFiltri:hover,
#btnRimuoviFiltriRicerca:hover {
    background: #fff3f0 !important;
    color: #c0392b !important;
    border-color: #e74c3c !important;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.18) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
    outline: none !important;
}

#btnRimuoviFiltri i,
.home-filters__reset i,
#btnRimuoviFiltriRicerca i {
    font-size: 0.8825rem !important;
    color: #a87d32 !important;
    transition: color 0.3s ease !important;
}

#btnRimuoviFiltri:hover i,
.home-filters__reset:hover i,
#btnRimuoviFiltriRicerca:hover i {
    color: #c0392b !important;
}

/* Griglia prodotti: 2 colonne su tablet, 3 colonne su desktop (≥ 992px) */
#galleria-articoli,
.row-product-grid,
.home-products-grid,
.home-product-grid {
    margin-top: 1.5rem !important;
    margin-bottom: 2.5rem !important;
}

#galleria-articoli > [class*="col-"]:not(.home-empty-state-col),
.row-product-grid > [class*="col-"]:not(.home-empty-state-col),
.home-products-grid > [class*="col-"]:not(.home-empty-state-col),
.home-product-grid > [class*="col-"]:not(.home-empty-state-col) {
    margin-bottom: 1.75rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

@media (min-width: 576px) and (max-width: 991px) {
    #galleria-articoli,
    .row-product-grid,
    .home-products-grid,
    .home-product-grid {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #galleria-articoli > [class*="col-"]:not(.home-empty-state-col),
    .row-product-grid > [class*="col-"]:not(.home-empty-state-col),
    .home-products-grid > [class*="col-"]:not(.home-empty-state-col),
    .home-product-grid > [class*="col-"]:not(.home-empty-state-col) {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        margin-bottom: 2rem !important;
    }
}

@media (min-width: 992px) {
    #galleria-articoli,
    .row-product-grid,
    .home-products-grid,
    .home-product-grid {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #galleria-articoli > [class*="col-"]:not(.home-empty-state-col),
    .row-product-grid > [class*="col-"]:not(.home-empty-state-col),
    .home-products-grid > [class*="col-"]:not(.home-empty-state-col),
    .home-product-grid > [class*="col-"]:not(.home-empty-state-col) {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
        margin-bottom: 2.25rem !important;
    }

   #galleria-articoli > [class*="col-"]:nth-child(3n+1) {
  padding-right: 0.3rem !important;
}
#galleria-articoli > [class*="col-"]:nth-child(3n+2) {
  padding-left: 0.575rem !important;
  padding-right: 0.575rem !important;
}
#galleria-articoli > [class*="col-"]:nth-child(3n+3) {
  padding-left: 0.3rem !important;
}
}

/* ── Empty State Griglia Prodotti (Nessun Risultato) ── */
#galleria-articoli > .home-empty-state-col,
#galleria-articoli > [class*="col-"].home-empty-state-col,
.row-product-grid > .home-empty-state-col,
.home-products-grid > .home-empty-state-col,
.home-product-grid > .home-empty-state-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.home-empty-state {
    max-width: 90%;
    padding: 3.5rem 2rem;
    background: #ffffff;
    border: 1px solid rgba(217, 168, 78, 0.28);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(70, 50, 20, 0.06);
    text-align: center;
}

.home-empty-state__icon i {
    font-size: 3.2rem;
    color: #d9a84e;
    opacity: 0.9;
}

.home-empty-state__title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important;
    color: #2e1f0d !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 0.5rem !important;
}

.home-empty-state__desc {
    font-family: 'Jost', system-ui, sans-serif !important;
    font-size: 1rem !important;
    color: #7d6345 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.75rem !important;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.home-empty-state #btnRimuoviFiltriRicerca {
    width: auto !important;
    min-width: 260px !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    display: inline-flex !important;
}

/* Upgrade Card Product Details Button in results view */
.card-product .btn-danger.btn-block,
.card-product .row-hover .btn-danger {
    background: linear-gradient(135deg, #d9a84e 0%, #b8862d 100%) !important;
    border: none !important;
    color: #271a0b !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.7125rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    padding: 0.6rem 0.85rem !important;
    box-shadow: 0 4px 12px rgba(217, 168, 78, 0.25) !important;
    transition: all 0.3s ease !important;
}

.card-product .btn-danger.btn-block:hover,
.card-product .row-hover .btn-danger:hover {
    background: linear-gradient(135deg, #271a0b 0%, #422d14 100%) !important;
    color: #d9a84e !important;
    box-shadow: 0 6px 18px rgba(39, 26, 11, 0.3) !important;
    transform: translateY(-1px) !important;
}


/* ═══════════════════════════════════════════════════════════════════
   GUARANTEED ULTRA-LUXURY SIDEBAR BUTTONS
   ═══════════════════════════════════════════════════════════════════ */

#btnApplicaFiltri,
.home-filters__apply,
button#btnApplicaFiltri,
.home-btn--primary {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
    min-height: 2.85rem !important;
    padding: 0.75rem 1.4rem !important;
    font-family: 'Jost', var(--h-sans), sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #271a0b 0%, #4a3419 50%, #271a0b 100%) !important;
    border: 1px solid #d9a84e !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(39, 26, 11, 0.22), 0 0 10px rgba(217, 168, 78, 0.15) !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    margin: 0.35rem 0 0 0 !important;
}

#btnApplicaFiltri:hover,
#btnApplicaFiltri:focus,
.home-filters__apply:hover,
button#btnApplicaFiltri:hover {
    background: linear-gradient(135deg, #d9a84e 0%, #b8862d 100%) !important;
    color: #1a1005 !important;
    border-color: #f3d489 !important;
    box-shadow: 0 8px 24px rgba(217, 168, 78, 0.4), 0 0 15px rgba(217, 168, 78, 0.3) !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
    outline: none !important;
}

#btnApplicaFiltri i,
.home-filters__apply i {
    font-size: 0.9rem !important;
    color: #d9a84e !important;
    transition: color 0.35s ease !important;
}

#btnApplicaFiltri:hover i,
.home-filters__apply:hover i {
    color: #1a1005 !important;
}

#btnRimuoviFiltri,
.home-filters__reset,
button#btnRimuoviFiltri,
#btnRimuoviFiltriRicerca,
.home-btn--ghost {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    min-height: 2.65rem !important;
    padding: 0.65rem 1.25rem !important;
    font-family: 'Jost', var(--h-sans), sans-serif !important;
    font-size: 0.7625rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #8c6827 !important;
    background: linear-gradient(180deg, #fffcf5 0%, #f7ebd5 100%) !important;
    border: 1px solid rgba(217, 168, 78, 0.5) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(140, 104, 39, 0.08) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    margin: 0.35rem 0 0 0 !important;
}

#btnRimuoviFiltri:hover,
#btnRimuoviFiltri:focus,
.home-filters__reset:hover,
button#btnRimuoviFiltri:hover,
#btnRimuoviFiltriRicerca:hover {
    background: #fff3f0 !important;
    color: #c0392b !important;
    border-color: #e74c3c !important;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.18) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
    outline: none !important;
}

#btnRimuoviFiltri i,
.home-filters__reset i,
#btnRimuoviFiltriRicerca i {
    font-size: 0.8825rem !important;
    color: #a87d32 !important;
    transition: color 0.3s ease !important;
}

#btnRimuoviFiltri:hover i,
.home-filters__reset:hover i,
#btnRimuoviFiltriRicerca:hover i {
    color: #c0392b !important;
}

/* ═══════════════════════════════════════════════════════════════════
   PROMO BRAND LOGO FRAME BOX
   ═══════════════════════════════════════════════════════════════════ */
.home-brand-logo-frame {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 72px !important;
    max-width: 90px !important;
    height: 72px !important;
    padding: 0.55rem !important;
    background: #ffffff !important;
    border: 1px solid rgba(217, 168, 78, 0.38) !important;
    border-radius: 12px !important;
    box-shadow:
        0 4px 14px rgba(42, 30, 18, 0.07),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin: 0 auto !important;
    text-decoration: none !important;
    overflow: hidden !important;
}

.home-brand-logo-frame:hover {
    border-color: #d9a84e !important;
    box-shadow:
        0 8px 20px rgba(217, 168, 78, 0.28),
        0 2px 8px rgba(42, 30, 18, 0.08) !important;
    transform: translateY(-2px) scale(1.04) !important;
}

.home-brand-logo-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.home-brand-logo-frame:hover .home-brand-logo-img {
    transform: scale(1.06) !important;
}


/* ═══════════════════════════════════════════════════════════════════
   GOLD PALETTE OVERRIDE — Rimuove viola/rosa, impone colori coerenti al gold
   Sovrascrive frontend.css (.card-collapse) e material-kit (slider-rose)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Rimuove background e gradient grigio/bianco da .card .card-header ── */
.home-page .card .card-header,
.home-page .card-collapse .card-header,
.home-page .home-filters .card-header,
.home-page #cardFiltri .card-header,
.home-page #accordion .card-header,
.card .card-header {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home-page .card-collapse,
.home-page #accordion .card,
.home-page .home-filters .card.card-collapse {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* ── Override accordion header: dal rosa/fucsia → warm espresso + gold ── */
.home-page .card-collapse .card-header a,
.home-page .home-filters .card-collapse .card-header a,
.home-page #accordion .card-collapse .card-header a {
    font-weight: 600 !important;
    color: #3f2d1c !important;
    background: linear-gradient(90deg,
        rgba(217, 168, 78, 0.10) 0%,
        rgba(252, 244, 230, 0.5) 60%,
        rgba(255, 255, 255, 0) 100%) !important;
    border-left: 3px solid #d9a84e !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top-left-radius: 0 !important;
    padding-left: 0.85rem !important;
    padding-top: 0.82rem !important;
    padding-bottom: 0.82rem !important;
}

.home-page .card-collapse .card-header a:hover,
.home-page .card-collapse .card-header a:active,
.home-page .card-collapse .card-header a:focus,
.home-page .card-collapse .card-header a[aria-expanded="true"],
.home-page .home-filters .card-collapse .card-header a:hover,
.home-page .home-filters .card-collapse .card-header a[aria-expanded="true"] {
    color: #1a1005 !important;
    background: linear-gradient(90deg,
        rgba(217, 168, 78, 0.22) 0%,
        rgba(252, 244, 230, 0.72) 100%) !important;
    border-left-color: #b8862d !important;
}

/* ── Override slider-rose → gold gradient ── */
.home-page .slider.slider-rose .noUi-connect,
.home-page .home-filters .slider.slider-rose .noUi-connect,
#sliderFiltri.slider-rose .noUi-connect,
.home-page .slider.slider-rose .noUi-connect {
    background: linear-gradient(90deg, #edd08a 0%, #d9a84e 50%, #b8842e 100%) !important;
    background-color: #d9a84e !important;
    box-shadow: 0 0 8px rgba(217, 168, 78, 0.28) !important;
}

.home-page .slider.slider-rose .noUi-handle,
.home-page .home-filters .slider.slider-rose .noUi-handle,
#sliderFiltri.slider-rose .noUi-handle {
    border-color: #d9a84e !important;
    background: linear-gradient(135deg, #fff 0%, #faf0d6 100%) !important;
    box-shadow: 0 2px 8px rgba(217, 168, 78, 0.3) !important;
}

/* ── Rimuovi sfondo bianco dal card principale filtri ── */
.home-page .card.card-filtri,
.home-page #cardFiltri,
.home-page .home-filters,
.home-page .card-filtri {
    background: linear-gradient(165deg,
        #fffdf9 0%,
        #fcf6eb 45%,
        #f7ecd9 100%) !important;
    border: 1px solid rgba(217, 168, 78, 0.32) !important;
}

/* ── Rimuovi sfondo bianco dai card-body interni accordion ── */
.home-page .home-filters .card-collapse .card-body,
.home-page .home-filters .card-collapse div[role="tabpanel"] {
    background: rgba(253, 248, 238, 0.55) !important;
    border-top-color: rgba(217, 168, 78, 0.14) !important;
}

/* ── Override accordion icons: via rosa → gold caldo ── */
.home-page .card-collapse .card-header a i,
.home-page .home-filters .card-collapse .card-header a i.fa-duotone,
.home-page .home-filters .card-collapse .card-header a i.fa-solid,
.home-page .home-filters .card-collapse .card-header a .material-icons {
    color: #b8862d !important;
}

.home-page .card-collapse .card-header a:hover i,
.home-page .home-filters .card-collapse .card-header a:hover i,
.home-page .home-filters .card-collapse .card-header a:hover .material-icons,
.home-page .home-filters .card-collapse .card-header a[aria-expanded="true"] .material-icons {
    color: #8f6320 !important;
}

/* ── noUi slider track base: tono caldo invece di grigio neutro ── */
.home-page .slider,
.home-page .noUi-target {
    background: linear-gradient(90deg, #e9d8be 0%, #dfc9a5 100%) !important;
    border-radius: 4px !important;
}

/* ── Tick marks dello slider: oro invece di grigio ── */
.home-page .noUi-pips-horizontal .noUi-marker {
    background: rgba(184, 132, 46, 0.35) !important;
}
.home-page .noUi-pips-horizontal .noUi-value {
    color: #8c6827 !important;
    font-size: 0.6125rem !important;
}


/* ═══════════════════════════════════════════════════════════════════
   SIDEBAR FILTRI — FIX BOX BIANCHI & HEADER (Definitivo)
   Rimuove sfondo bianco dai card-header accordion
   e ridisegna la parte superiore come da mockup
   ═══════════════════════════════════════════════════════════════════ */

/* Nucleo: azzera OGNI possibile background su card e card-header
   all'interno della sidebar filtri, con specificità massima         */
.home-page #cardFiltri .card,
.home-page #cardFiltri .card-collapse,
.home-page #cardFiltri .card-header,
.home-page #accordion .card,
.home-page #accordion .card-collapse,
.home-page #accordion .card-header,
.home-page #accordion .card-header h5,
.home-page .home-filters .card,
.home-page .home-filters .card-collapse,
.home-page .home-filters .card-header,
.home-page .home-filters .card-header h5 {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ripristina solo il padding del card-body interno */
.home-page #accordion .card-collapse .card-body,
.home-page .home-filters .card-collapse .card-body {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  /*  border-top: 1px solid rgba(217, 168, 78, 0.14) !important;*/
    padding: 0.75rem 0.5rem 0.9rem 0.85rem !important;
}

/* Accordion header link: stile gold definitivo */
.home-page #accordion .card-collapse .card-header a,
.home-page .home-filters .card-collapse .card-header a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    padding: 0.72rem 0.8rem 0.72rem 0.85rem !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #3f2d1c !important;
    background: linear-gradient(90deg,
        rgba(217, 168, 78, 0.10) 0%,
        rgba(255, 249, 241, 0.0) 70%) !important;
    border-left: 3px solid #d9a84e !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 6px 6px 0 !important;
    transition: background 0.28s ease, color 0.28s ease, border-left-color 0.28s ease !important;
    margin-bottom: 0.25rem !important;
}

.home-page #accordion .card-collapse .card-header a:hover,
.home-page #accordion .card-collapse .card-header a:focus,
.home-page #accordion .card-collapse .card-header a[aria-expanded="true"],
.home-page .home-filters .card-collapse .card-header a:hover,
.home-page .home-filters .card-collapse .card-header a:focus,
.home-page .home-filters .card-collapse .card-header a[aria-expanded="true"] {
    color: #271a0b !important;
    background: linear-gradient(90deg,
        rgba(217, 168, 78, 0.22) 0%,
        rgba(252, 244, 230, 0.6) 100%) !important;
    border-left-color: #b8842e !important;
    text-decoration: none !important;
}

/* Icon gold */
.home-page #accordion .card-collapse .card-header a i,
.home-page .home-filters .card-collapse .card-header a i,
.home-page #accordion .card-collapse .card-header a .material-icons,
.home-page .home-filters .card-collapse .card-header a .material-icons {
    color: #c09030 !important;
    flex-shrink: 0 !important;
}

.home-page #accordion .card-collapse .card-header a .material-icons,
.home-page .home-filters .card-collapse .card-header a .material-icons {
    font-size: 1.1rem !important;
    transition: transform 0.3s ease !important;
}

.home-page #accordion .card-collapse .card-header a[aria-expanded="true"] .material-icons,
.home-page .home-filters .card-collapse .card-header a[aria-expanded="true"] .material-icons {
    transform: rotate(180deg) !important;
}

/* ── Sidebar Header (parte superiore) ────────────────────────────── */

/* Eyebrow "Collezione" */
.home-page .home-filters__eyebrow {
    display: block !important;
    margin: 0 0 0.15rem !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.575rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;
    color: #a6845e !important;
}

/* Titolo "Filtri di ricerca N" */
.home-page .home-filters__title {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
    margin: 0 0 0.65rem !important;
    padding-right: 2.25rem !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.55rem !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    color: #2a1e12 !important;
}

/* Badge numero filtri */
.home-page .home-filters__badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 1.5rem !important;
    height: 1.5rem !important;
    padding: 0 0.38rem !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #d9a84e 0%, #b8842e 100%) !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(184, 132, 46, 0.35) !important;
}

/* Separatore sotto l'header */
.home-page .home-filters__header {
    padding: 1.25rem 1.25rem 1rem !important;
    margin: 0 !important;
  /*  border-bottom: 1px solid rgba(217, 168, 78, 0.22) !important;*/
    position: relative !important;
}

.home-page .home-filters__header::after {
    content: '' !important;
    position: absolute !important;
    left: 1.25rem !important;
    bottom: -1px !important;
    width: 3rem !important;
    height: 2px !important;
    background: none;
    /*linear-gradient(90deg, #d9a84e 0%, transparent 100%) !important;*/
}

/* Chiudi pulsante (mobile) */
.home-page .home-filters__close {
    position: absolute !important;
    top: 1.25rem !important;
    right: 1.1rem !important;
    width: 2rem !important;
    height: 2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: rgba(255, 252, 244, 0.92) !important;
    border: 1px solid rgba(217, 168, 78, 0.35) !important;
    border-radius: 50% !important;
    color: #5e4226 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

.home-page .home-filters__close:hover {
    background: #fff4e0 !important;
    border-color: #d9a84e !important;
    color: #271a0b !important;
}

/* ── Bottone "Rimuovi tutti i filtri" nella sidebar ──────────────── */
.home-active-filters__clear,
button.btn-reset-all-chips,
#btnResetAllChips {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    color: #5e4226 !important;
    background: transparent !important;
    border: 1px solid rgba(217, 168, 78, 0.45) !important;
    border-radius: 4px !important;
    padding: 0.35rem 0.85rem !important;
    cursor: pointer !important;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
    text-decoration: none !important;
    text-transform: none !important;
    position: static !important;
    width: auto !important;
    min-height: unset !important;
    margin: 0 !important;
}

.home-active-filters__clear::after {
    display: none !important;
}

.home-active-filters__clear:hover,
button.btn-reset-all-chips:hover,
#btnResetAllChips:hover {
    background: #fff4e0 !important;
    border-color: #d9a84e !important;
    color: #271a0b !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ── Azzera padding e sfondo card-body principale della sidebar ──────────── */
.home-page #cardFiltri > .card-body,
.home-page .home-filters > .card-body {
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* ── Area filtri attivi e accordion: padding laterale ──────────── */
.home-page .home-filters .home-active-filters {
    margin: 0 1.25rem 0.85rem !important;
}

.home-page .home-filters .home-filters__accordion {
    padding: 0.5rem 0.5rem 0.75rem !important;
}


/* ═══════════════════════════════════════════════════════════════════
   CARD PRODOTTO — Immagine riempie tutta l'area header (no margini)
   ═══════════════════════════════════════════════════════════════════ */

/* Contenitore header: altezza fissa, overflow hidden, sfondo avorio */
.home-page .row-product-grid .card.card-product .card-header.card-header-image,
.home-page .home-products-grid .card.card-product .card-header.card-header-image {
    height: 240px;
    min-height: 240px;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--h-ivory) !important;
    position: relative;
}

/* Link wrapper: occupa tutto l'header */
.home-page .row-product-grid .card.card-product .card-header.card-header-image a,
.home-page .home-products-grid .card.card-product .card-header.card-header-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

/* Immagine: riempie senza distorcere, sfondo avorio */
.home-page .row-product-grid .card.card-product .card-header.card-header-image img.img-prodotto,
.home-page .home-products-grid .card.card-product .card-header.card-header-image img.img-prodotto {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    max-width: 100% !important;
    object-fit: contain;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: transform 0.55s var(--h-ease), opacity 0.4s ease;
}

/* Zoom leggero al hover */
.home-page .card.card-product:hover .card-header.card-header-image img.img-prodotto {
    transform: scale(1.04);
}

/* Seconda immagine (fader): stessa regola */
.home-page .card.card-product .card-header.card-header-image img.img-seconda-immagine {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain;
    padding: 0 !important;
    margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   SIDEBAR FILTRI — Miglioramenti luxury aggiuntivi
   ═══════════════════════════════════════════════════════════════════ */

/* Header sezione: aggiunge linea dorata sottile a ogni sezione aperta */
.home-page .home-filters .card-collapse .card-header a[aria-expanded="true"] {
    background: linear-gradient(90deg,
        rgba(253, 248, 236, 0.85) 0%,
        rgba(255, 253, 248, 0.5) 100%) !important;
}

/* Select: sfondo avorio, bordo dorato, font serif */
.home-page .home-filters .form-control,
.home-page .home-filters .custom-select {
    background-color: rgba(255, 249, 241, 0.95) !important;
    border: 1px solid rgba(217, 168, 78, 0.45) !important;
    border-radius: 6px !important;
    color: var(--h-ink) !important;
    font-family: var(--h-sans) !important;
    font-size: 0.8125rem !important;
    padding: 0.45rem 0.85rem !important;
    box-shadow: inset 0 1px 3px rgba(150, 95, 35, 0.06) !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    appearance: auto;
}

.home-page .home-filters .form-control:focus,
.home-page .home-filters .custom-select:focus {
    border-color: var(--hg) !important;
    box-shadow: 0 0 0 3px rgba(217, 168, 78, 0.18) !important;
    outline: none !important;
}

/* Checkbox: cerchio con check dorato */
.home-page .home-filters .form-check-input:checked ~ .form-check-sign .check {
    background: var(--hg-dark) !important;
    border-color: var(--hg-dark) !important;
}

/* Card footer — pulsanti apply/reset */
.home-page .home-filters .home-filters__footer {
    background: linear-gradient(180deg,
        rgba(252, 244, 230, 0) 0%,
        rgba(248, 237, 218, 0.65) 100%) !important;
    border-top: 1px solid rgba(217, 168, 78, 0.18) !important;
    padding: 1rem 1.25rem 1.25rem !important;
}

.home-page .home-filters .home-filters__footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Btn "Applica filtri" — stile primary luxury */
.home-page #btnApplicaFiltri {
    width: 100%;
    padding: 0.7rem 1.2rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.2em !important;
    border-radius: 4px !important;
}

/* Btn "Rimuovi filtri" — stile ghost */
.home-page #btnRimuoviFiltri {
    width: 100%;
    padding: 0.6rem 1.2rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.2em !important;
    border-radius: 4px !important;
}

/* Toggle filtri (mobile) — stile coerente */
.home-page #btnFiltri {
    font-size: 0.72rem !important;
    letter-spacing: 0.18em !important;
    padding: 0.7rem 1.8rem !important;
}

/* Btn "Visualizza dettagli" nelle card — restyling luxury */
.home-page .row-product-grid .card.card-product .card-footer .btn-danger,
.home-page .home-products-grid .card.card-product .card-footer .btn-danger {
    background: linear-gradient(135deg, var(--h-espresso) 0%, var(--h-ink) 100%) !important;
    border-color: var(--h-espresso) !important;
    border-radius: 3px !important;
    font-family: var(--h-sans) !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 10px rgba(63, 45, 28, 0.18) !important;
    transition: background 0.35s, box-shadow 0.35s !important;
    color: #fff !important;
}

.home-page .row-product-grid .card.card-product .card-footer .btn-danger:hover,
.home-page .home-products-grid .card.card-product .card-footer .btn-danger:hover {
    background: linear-gradient(135deg, var(--hg-dark) 0%, var(--hg) 100%) !important;
    border-color: var(--hg-dark) !important;
    box-shadow: 0 4px 20px var(--hg-glow) !important;
    color: #fff !important;
}

/* Price color: usa tono walnut brand */
.home-page .card.card-product .price {
    color: var(--h-walnut) !important;
    font-family: var(--h-serif) !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
}

/* Ordinamento top (select above product grid) */
.home-page #selectFiltriTopOrderBy {
    border: 1px solid rgba(217, 168, 78, 0.42) !important;
    border-radius: 6px !important;
    background-color: rgba(255, 249, 241, 0.9) !important;
    color: var(--h-ink) !important;
    font-family: var(--h-sans) !important;
    font-size: 0.8rem !important;
}

.home-page #selectFiltriTopOrderBy:focus {
    border-color: var(--hg) !important;
    box-shadow: 0 0 0 3px rgba(217, 168, 78, 0.18) !important;
    outline: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   SIDEBAR FILTRI — ELIMINAZIONE SFONDO BIANCO INTERNO & ARMONIZZAZIONE
   ═══════════════════════════════════════════════════════════════════ */

/* Sfondo uniforme caldo e lussuoso per l'intero blocco sidebar */
.home-page #cardFiltri,
.home-page .card-filtri,
.home-page .home-filters,
#cardFiltri {
    background: #faf7f2 !important;
    background-color: #faf7f2 !important;
}

/* Azzera lo sfondo bianco e i margini su TUTTI i card interni all'accordion */
.home-page #cardFiltri .card,
.home-page #cardFiltri .card-collapse,
.home-page #accordion .card,
.home-page #accordion .card-collapse,
.home-page .home-filters .card,
.home-page .home-filters .card-collapse,
#cardFiltri .card-collapse,
#accordion .card-collapse {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(217, 168, 78, 0.16) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.home-page #cardFiltri .card-collapse:last-child,
.home-page #accordion .card-collapse:last-child {
    border-bottom: none !important;
}

/* Azzera padding e background di default del card-header Bootstrap */
.home-page #cardFiltri .card-collapse .card-header,
.home-page #accordion .card-collapse .card-header,
.home-page .home-filters .card-collapse .card-header,
#cardFiltri .card-collapse .card-header,
#accordion .card-collapse .card-header {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.home-page #cardFiltri .card-collapse .card-header h5,
.home-page #accordion .card-collapse .card-header h5 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Pulsante testata accordion: stile raffinato senza interruzioni bianche */
.home-page #cardFiltri .card-collapse .card-header a,
.home-page #accordion .card-collapse .card-header a,
.home-page .home-filters .card-collapse .card-header a,
#cardFiltri .card-collapse .card-header a,
#accordion .card-collapse .card-header a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0.85rem 1.1rem !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #382816 !important;
    background: rgba(255, 255, 255, 0.35) !important;
    border-left: 3px solid #d9a84e !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.home-page #cardFiltri .card-collapse .card-header a:hover,
.home-page #accordion .card-collapse .card-header a:hover {
    color: #1a1005 !important;
    background: rgba(217, 168, 78, 0.14) !important;
    border-left-color: #b8862d !important;
}

.home-page #cardFiltri .card-collapse .card-header a[aria-expanded="true"],
.home-page #accordion .card-collapse .card-header a[aria-expanded="true"] {
    color: #1a1005 !important;
    background: linear-gradient(90deg, rgba(217, 168, 78, 0.2) 0%, rgba(250, 243, 230, 0.8) 100%) !important;
    border-left-color: #b8862d !important;
}

/* Icone e freccia */
.home-page #cardFiltri .card-collapse .card-header a i.fa-duotone,
.home-page #accordion .card-collapse .card-header a i.fa-duotone,
.home-page #cardFiltri .card-collapse .card-header a span i,
.home-page #accordion .card-collapse .card-header a span i {
    color: #b8862d !important;
    font-size: 0.95rem !important;
    margin-right: 0.65rem !important;
    margin-left: 0 !important;
    float: none !important;
    position: static !important;
    top: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.25rem !important;
    min-width: 1.25rem !important;
    text-align: center !important;
    transform: none !important;
}

.home-page #cardFiltri .card-collapse .card-header a[aria-expanded="true"] span i,
.home-page #accordion .card-collapse .card-header a[aria-expanded="true"] span i,
.home-page #cardFiltri .card-collapse .card-header a[aria-expanded="true"] i.fa-duotone,
.home-page #accordion .card-collapse .card-header a[aria-expanded="true"] i.fa-duotone {
    transform: none !important;
    color: #8f6320 !important;
}

.home-page #cardFiltri .card-collapse .card-header a .material-icons,
.home-page #accordion .card-collapse .card-header a .material-icons {
    color: #b8862d !important;
    font-size: 1.15rem !important;
    transition: transform 0.3s ease !important;
    margin-left: auto !important;
    float: none !important;
    position: static !important;
}

.home-page #cardFiltri .card-collapse .card-header a[aria-expanded="true"] .material-icons,
.home-page #accordion .card-collapse .card-header a[aria-expanded="true"] .material-icons {
    transform: rotate(180deg) !important;
    color: #8f6320 !important;
}

/* Corpo espanso: sfondo traslucido caldo, nessun bianco piatto */
.home-page #cardFiltri .card-collapse .card-body,
.home-page #accordion .card-collapse .card-body,
.home-page #collapseOnlyDiscounted .card-body,
.home-page #collapsePrezzo .card-body,
.home-page #collapseCategoria .card-body,
.home-page #collapseFornitore .card-body,
.home-page #collapseGenere .card-body,
.home-page #collapseMateriale .card-body,
.home-page #collapseColore .card-body,
.home-page #collapsePerPage .card-body {
    background: rgba(255, 248, 235, 0.55) !important;
    background-color: rgba(255, 248, 235, 0.55) !important;
    padding: 0  !important;
   /* border-top: 1px solid rgba(217, 168, 78, 0.14) !important;*/
    box-sizing: border-box !important;
}
div#collapsePrezzo {
    margin-bottom: 0.8rem
12.8px
 !important;
}
/* ═══════════════════════════════════════════════════════════════════
   HOME BRANDS SECTION — Warm Luxury Italian Styling
   ═══════════════════════════════════════════════════════════════════ */
.home-brands-section {
    position: relative;
    padding: 3rem 0 4.5rem !important;
}

.home-brands-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.home-brands-eyebrow {
    display: block;
    font-family: var(--h-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hg-deep);
    margin-bottom: 0.5rem;
}

.home-brands-title {
    font-family: var(--h-serif) !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 500 !important;
    color: var(--h-espresso) !important;
    margin: 0 0 0.5rem !important;
    line-height: 1.15 !important;
}

.home-brands-subtitle {
    font-family: var(--h-serif);
    font-size: 1.05rem;
    color: var(--h-muted);
    font-style: italic;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.5;
}

.home-brands-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hg), transparent);
    margin: 1.25rem auto 0;
}

/* Brands carousel wrapper */
#iNostriBrandsContainer {
    position: relative;
    padding: 0.5rem 0;
}

#iNostriBrandsContainer .nbs-flexisel-inner {
    padding: 14px 4px 18px !important;
    overflow: hidden;
}

.home-brand-item {
    padding: 0 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Card che racchiude ogni logo (solo carosello marchi, non le card sconto) */
#iNostriBrandsContainer .home-brand-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 105px !important;
    background: #ffffff !important;
    border: 1px solid rgba(217, 168, 78, 0.28) !important;
    border-radius: var(--h-r-md, 14px) !important;
    padding: 1rem 1.4rem !important;
    box-shadow: 0 4px 18px rgba(94, 66, 38, 0.06) !important;
    text-decoration: none !important;
    transition: transform 0.32s var(--h-ease), box-shadow 0.32s var(--h-ease), border-color 0.32s var(--h-ease) !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#iNostriBrandsContainer .home-brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(217, 168, 78, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.32s ease;
    pointer-events: none;
}

#iNostriBrandsContainer .home-brand-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--hg) !important;
    box-shadow: 0 10px 30px rgba(217, 168, 78, 0.24) !important;
}

#iNostriBrandsContainer .home-brand-card:hover::before {
    opacity: 1;
}

/* Logo image styling */
.home-brand-logo {
    max-height: 52px !important;
    max-width: 85% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: grayscale(25%) contrast(95%);
    transition: transform 0.32s var(--h-ease), filter 0.32s var(--h-ease) !important;
    display: block !important;
    margin: 0 auto !important;
}

#iNostriBrandsContainer .home-brand-card:hover .home-brand-logo {
    filter: none !important;
    transform: scale(1.06) !important;
}

/* Fallback brand text */
.home-brand-fallback-name {
    font-family: var(--h-serif) !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    color: var(--h-espresso) !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
    transition: color 0.25s ease !important;
    display: block !important;
}

#iNostriBrandsContainer .home-brand-card:hover .home-brand-fallback-name {
    color: var(--hg-deep) !important;
}

/* Navigator arrows container */
#flexiselNavigatorNostriBrands {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.25rem !important;
    margin-top: 1.75rem !important;
    position: relative !important;
    z-index: 2 !important;
}

#flexiselNavigatorNostriBrands .nbs-flexisel-nav-left,
#flexiselNavigatorNostriBrands .nbs-flexisel-nav-right {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid rgba(217, 168, 78, 0.4) !important;
    box-shadow: 0 3px 12px rgba(94, 66, 38, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 1 !important;
    transition: all 0.28s var(--h-ease) !important;
}

#flexiselNavigatorNostriBrands .nbs-flexisel-nav-left::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-left: 2px solid var(--hg-deep) !important;
    border-bottom: 2px solid var(--hg-deep) !important;
    transform: rotate(45deg) !important;
    margin-left: 3px !important;
    transition: border-color 0.25s ease !important;
    display: block !important;
}

#flexiselNavigatorNostriBrands .nbs-flexisel-nav-right::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2px solid var(--hg-deep) !important;
    border-top: 2px solid var(--hg-deep) !important;
    transform: rotate(45deg) !important;
    margin-right: 3px !important;
    transition: border-color 0.25s ease !important;
    display: block !important;
}

#flexiselNavigatorNostriBrands .nbs-flexisel-nav-left:hover,
#flexiselNavigatorNostriBrands .nbs-flexisel-nav-right:hover {
    background: linear-gradient(135deg, var(--hg-light) 0%, var(--hg) 100%) !important;
    border-color: var(--hg-dark) !important;
    box-shadow: 0 6px 20px var(--hg-glow) !important;
    transform: translateY(-2px) !important;
}

#flexiselNavigatorNostriBrands .nbs-flexisel-nav-left:hover::before,
#flexiselNavigatorNostriBrands .nbs-flexisel-nav-right:hover::before {
    border-color: #ffffff !important;
}

#flexiselNavigatorNostriBrands .nbs-flexisel-nav-left.disabled,
#flexiselNavigatorNostriBrands .nbs-flexisel-nav-right.disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Call to action "Scopri tutti i marchi" */
.home-brands-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    font-family: var(--h-sans) !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--h-espresso) !important;
    background: #ffffff !important;
    border: 1px solid var(--h-border-warm) !important;
    border-radius: 40px !important;
    padding: 0.85rem 2.25rem !important;
    box-shadow: 0 3px 14px rgba(94, 66, 38, 0.07) !important;
    text-decoration: none !important;
    transition: all 0.3s var(--h-ease) !important;
}

.home-brands-cta i {
    color: var(--hg-deep) !important;
    font-size: 0.85rem !important;
    transition: transform 0.25s ease, color 0.25s ease !important;
}

.home-brands-cta:hover {
    background: linear-gradient(135deg, var(--hg-light) 0%, var(--hg) 100%) !important;
    border-color: var(--hg-dark) !important;
    color: var(--h-ink) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px var(--hg-glow) !important;
    text-decoration: none !important;
}

.home-brands-cta:hover i {
    transform: translateX(4px) !important;
    color: var(--h-ink) !important;
}


/*
div#collapsePrezzo div.card-body {
    overflow: hidden !important;
}*/

/* ═══════════════════════════════════════════════════════════════════
   SIDEBAR FILTERS — Modern Luxury Design
   ═══════════════════════════════════════════════════════════════════ */

/* Hidden accessible checkbox */
.home-filter-hidden-cb {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── 1. Categories Accordion ── */
.home-filters__cat-body {
    padding: 0.5rem 0.25rem 0.75rem !important;
}

.home-cat-accordions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.home-cat-group {
    background: #ffffff;
    border: 1px solid rgba(217, 168, 78, 0.22);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-cat-group.is-open {
    border-color: rgba(217, 168, 78, 0.45);
    box-shadow: 0 2px 8px rgba(94, 66, 38, 0.05);
}

.home-cat-group__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    background: #ffffff;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
    user-select: none;
}

.home-cat-group__header:hover {
    background: rgba(254, 250, 242, 0.9);
}

.home-cat-group__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--h-sans);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--h-espresso, #2b2520);
    letter-spacing: 0.02em;
}

.home-cat-group__icon {
    font-size: 0.9rem;
    color: var(--hg-deep, #9c7328);
    opacity: 0.85;
}

.home-cat-group__meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.home-cat-group__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    font-family: var(--h-sans);
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--hg-deep, #9c7328) 0%, var(--hg-dark, #7a5418) 100%);
    border-radius: 10px;
}

.home-cat-group__chevron {
    font-size: 0.72rem;
    color: var(--h-muted, #7c7267);
    transition: transform 0.25s ease;
}

.home-cat-group__header:not(.collapsed) .home-cat-group__chevron,
.home-cat-group.is-open .home-cat-group__chevron {
    transform: rotate(180deg);
}

.home-cat-group__body {
    padding: 0.35rem 0.75rem 0.65rem;
    background: rgba(255, 253, 248, 0.6);
    border-top: 1px solid rgba(217, 168, 78, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.home-cat-subgroup {
    margin-top: 0.25rem;
    padding-left: 0.25rem;
}

.home-cat-subgroup__title {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--h-sans);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--h-muted, #7c7267);
    padding: 0.35rem 0.25rem 0.15rem;
}

.home-cat-subgroup__icon {
    font-size: 0.7rem;
    color: var(--hg-deep, #9c7328);
}

.home-cat-subgroup__items {
    padding-left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* ── 2. Standard Checkbox Row (Categories, Materials) ── */
.home-filter-check-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.32rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 !important;
    position: relative;
    user-select: none;
    transition: background 0.18s ease;
}

.home-filter-check-row:hover {
    background: rgba(217, 168, 78, 0.1);
}

.home-filter-check-row.is-checked,
.home-filter-check-row:has(.home-filter-hidden-cb:checked) {
    background: rgba(217, 168, 78, 0.16);
}

.home-filter-check-row__check {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    border: 1.5px solid rgba(175, 140, 95, 0.5);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
}

.home-filter-check-row.is-checked .home-filter-check-row__check,
.home-filter-check-row:has(.home-filter-hidden-cb:checked) .home-filter-check-row__check {
    background: linear-gradient(135deg, var(--hg-deep, #9c7328) 0%, var(--hg-dark, #7a5418) 100%);
    border-color: var(--hg-dark, #7a5418);
}

.home-filter-check-row.is-checked .home-filter-check-row__check::after,
.home-filter-check-row:has(.home-filter-hidden-cb:checked) .home-filter-check-row__check::after {
    content: '';
    width: 4.5px;
    height: 8.5px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-0.5px, -0.5px);
    display: block;
}

.home-filter-check-row__name {
    font-family: var(--h-sans);
    font-size: 0.84rem;
    color: var(--h-espresso, #2b2520);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-filter-check-row.is-checked .home-filter-check-row__name,
.home-filter-check-row:has(.home-filter-hidden-cb:checked) .home-filter-check-row__name {
    font-weight: 600;
    color: var(--h-espresso, #2b2520);
}

/* ── 3. Material Grid (2 columns) ── */
.home-filters__material-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.35rem 0.45rem !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    padding: 0.75rem 0.5rem !important;
}

.home-filters__material-grid .home-filter-check-row {
    padding: 0.28rem 0.4rem;
}

/* ── 4. Brand / Fornitore Filters ── */
.home-filters__search-wrap {
    position: relative;
    width: 100%;
}

.home-filters__search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--h-muted, #7c7267);
    font-size: 0.82rem;
    pointer-events: none;
}

.home-filters__brand-search {
    width: 100% !important;
    padding: 0.5rem 0.85rem 0.5rem 2.2rem !important;
    font-family: var(--h-sans) !important;
    font-size: 0.83rem !important;
    color: var(--h-espresso, #2b2520) !important;
    background: #ffffff !important;
    border: 1px solid rgba(217, 168, 78, 0.35) !important;
    border-radius: 20px !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.home-filters__brand-search:focus {
    border-color: var(--hg, #d4af37) !important;
    box-shadow: 0 0 0 3px rgba(217, 168, 78, 0.2) !important;
}

.home-filters__brand-chips {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.home-filter-brand-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.38rem 0.65rem;
    background: #ffffff;
    border: 1px solid rgba(217, 168, 78, 0.22);
    border-radius: 8px;
    cursor: pointer;
    margin: 0 !important;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
}

.home-filter-brand-chip:hover {
    background: rgba(254, 250, 242, 0.95);
    border-color: var(--hg, #d4af37);
    transform: translateX(2px);
}

.home-filter-brand-chip.is-checked,
.home-filter-brand-chip:has(.home-filter-hidden-cb:checked) {
    background: linear-gradient(135deg, rgba(253, 246, 230, 0.95) 0%, rgba(247, 235, 206, 0.95) 100%);
    border-color: var(--hg-deep, #9c7328);
    box-shadow: 0 2px 6px rgba(180, 130, 40, 0.12);
}

.home-filter-brand-chip__initial {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(217, 168, 78, 0.18);
    color: var(--hg-deep, #9c7328);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--h-serif);
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.home-filter-brand-chip.is-checked .home-filter-brand-chip__initial,
.home-filter-brand-chip:has(.home-filter-hidden-cb:checked) .home-filter-brand-chip__initial {
    background: linear-gradient(135deg, var(--hg-deep, #9c7328) 0%, var(--hg-dark, #7a5418) 100%);
    color: #ffffff;
}

.home-filter-brand-chip__name {
    flex: 1;
    font-family: var(--h-sans);
    font-size: 0.83rem;
    color: var(--h-espresso, #2b2520);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-filter-brand-chip.is-checked .home-filter-brand-chip__name,
.home-filter-brand-chip:has(.home-filter-hidden-cb:checked) .home-filter-brand-chip__name {
    font-weight: 600;
}

.home-filter-brand-chip__check {
    font-size: 0.72rem;
    color: var(--hg-deep, #9c7328);
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.home-filter-brand-chip.is-checked .home-filter-brand-chip__check,
.home-filter-brand-chip:has(.home-filter-hidden-cb:checked) .home-filter-brand-chip__check {
    opacity: 1;
    transform: scale(1);
}

/* ── 5. Color Filter ── */
.home-filters__color-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: 280px;
    overflow-y: auto;
    padding: 0.75rem 0.5rem !important;
}

.home-filter-color-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 !important;
    position: relative;
    user-select: none;
    transition: background 0.18s ease;
}

.home-filter-color-row:hover {
    background: rgba(217, 168, 78, 0.1);
}

.home-filter-color-row.is-checked,
.home-filter-color-row:has(.home-filter-hidden-cb:checked) {
    background: rgba(217, 168, 78, 0.16);
}

.home-filter-color-row__check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(175, 140, 95, 0.5);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
}

.home-filter-color-row.is-checked .home-filter-color-row__check,
.home-filter-color-row:has(.home-filter-hidden-cb:checked) .home-filter-color-row__check {
    border-color: var(--h-espresso, #2b2520);
}

.home-filter-color-row.is-checked .home-filter-color-row__check::after,
.home-filter-color-row:has(.home-filter-hidden-cb:checked) .home-filter-color-row__check::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--h-espresso, #2b2520);
    display: block;
}

.home-filter-color-row__name {
    font-family: var(--h-sans);
    font-size: 0.85rem;
    color: var(--h-espresso, #2b2520);
    margin-right: 0.15rem;
    line-height: 1.3;
}

.home-filter-color-row.is-checked .home-filter-color-row__name,
.home-filter-color-row:has(.home-filter-hidden-cb:checked) .home-filter-color-row__name {
    font-weight: 600;
}

/* Swatch refinement (rectangular with soft corners matching reference) */
.home-color-swatch {
    display: inline-block;
    width: 22px !important;
    height: 16px !important;
    border-radius: 3px !important;
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
    margin: 0 !important;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Split color swatches */
.home-color-swatch--rosso-bianco {
    background: linear-gradient(90deg, #d88a7c 50%, #e0e0e0 50%) !important;
}

.home-color-swatch--bianco-rosso {
    background: linear-gradient(90deg, #e0e0e0 50%, #d88a7c 50%) !important;
}

.home-color-swatch--bianco-giallo {
    background: linear-gradient(90deg, #e0e0e0 50%, #d4af37 50%) !important;
}

.home-color-swatch--giallo-bianco {
    background: linear-gradient(90deg, #d4af37 50%, #e0e0e0 50%) !important;
}

.home-color-swatch--bianco-giallo-rosso,
.home-color-swatch--giallo-bianco-rosso {
    background: linear-gradient(90deg, #e0e0e0 33.3%, #d4af37 33.3% 66.6%, #d88a7c 66.6%) !important;
}

.home-color-swatch--bicolore {
    background: linear-gradient(90deg, #e0e0e0 50%, #d4af37 50%) !important;
}

/* Specific color definitions for all catalog colors */
.home-color-swatch--acciaio {
    background: linear-gradient(135deg, #e8ecef 0%, #a8b2ba 50%, #7d8790 100%) !important;
    border-color: rgba(125, 135, 144, 0.4) !important;
}

.home-color-swatch--alluminio {
    background: linear-gradient(135deg, #f0f2f4 0%, #c8ced4 50%, #9aa0a6 100%) !important;
    border-color: rgba(154, 160, 166, 0.4) !important;
}

.home-color-swatch--arancio {
    background: linear-gradient(135deg, #ffa726 0%, #e65100 100%) !important;
    border-color: rgba(230, 81, 0, 0.35) !important;
}

.home-color-swatch--argento {
    background: linear-gradient(135deg, #ffffff 0%, #dcdcdc 45%, #a6afb8 100%) !important;
    border-color: rgba(166, 175, 184, 0.4) !important;
}

.home-color-swatch--avorio {
    background: linear-gradient(135deg, #fffff0 0%, #faebd7 60%, #eadaaf 100%) !important;
    border-color: rgba(200, 185, 155, 0.45) !important;
}

.home-color-swatch--azzurro {
    background: linear-gradient(135deg, #81d4fa 0%, #0288d1 100%) !important;
    border-color: rgba(2, 136, 209, 0.35) !important;
}

.home-color-swatch--beige {
    background: linear-gradient(135deg, #f5f5dc 0%, #e6d7b8 50%, #cbb58c 100%) !important;
    border-color: rgba(190, 170, 130, 0.4) !important;
}

.home-color-swatch--bianco,
.home-color-swatch--oro-bianco {
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 50%, #e0e0e0 100%) !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
}

.home-color-swatch--bianco-marmo {
    background: linear-gradient(135deg, #ffffff 0%, #edf1f5 35%, #d8dde3 50%, #ffffff 65%, #c2c9d1 100%) !important;
    border-color: rgba(180, 185, 195, 0.45) !important;
}

.home-color-swatch--bianco-perla {
    background: linear-gradient(135deg, #ffffff 0%, #f7f3ee 30%, #ebdcd1 70%, #dfd5c9 100%) !important;
    border-color: rgba(195, 185, 175, 0.4) !important;
}

.home-color-swatch--blu {
    background: linear-gradient(135deg, #1e3c72 0%, #0d1b3e 100%) !important;
    border-color: rgba(13, 27, 62, 0.4) !important;
}

.home-color-swatch--bordeaux {
    background: linear-gradient(135deg, #881b2c 0%, #4a0e17 100%) !important;
    border-color: rgba(74, 14, 23, 0.4) !important;
}

.home-color-swatch--bronzo {
    background: linear-gradient(135deg, #cd7f32 0%, #8c531b 100%) !important;
    border-color: rgba(140, 83, 27, 0.4) !important;
}

.home-color-swatch--brunito {
    background: linear-gradient(135deg, #545b62 0%, #292b2c 100%) !important;
    border-color: rgba(41, 43, 44, 0.45) !important;
}

.home-color-swatch--celeste {
    background: linear-gradient(135deg, #b3e5fc 0%, #4fc3f7 100%) !important;
    border-color: rgba(79, 195, 247, 0.4) !important;
}

.home-color-swatch--champagne {
    background: linear-gradient(135deg, #fbf2db 0%, #eed9a8 50%, #caa966 100%) !important;
    border-color: rgba(196, 159, 105, 0.45) !important;
}

.home-color-swatch--cipria {
    background: linear-gradient(135deg, #fdedec 0%, #f5cba7 50%, #e6a88b 100%) !important;
    border-color: rgba(215, 160, 135, 0.4) !important;
}

.home-color-swatch--crema {
    background: linear-gradient(135deg, #fffdd0 0%, #fbf3c4 50%, #ebd78b 100%) !important;
    border-color: rgba(215, 195, 130, 0.4) !important;
}

.home-color-swatch--cromo {
    background: linear-gradient(135deg, #ffffff 0%, #d8e2eb 50%, #9cb2c4 100%) !important;
    border-color: rgba(144, 158, 168, 0.45) !important;
}

.home-color-swatch--dorato {
    background: linear-gradient(135deg, #ffe082 0%, #d4af37 60%, #aa8010 100%) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.home-color-swatch--fango {
    background: linear-gradient(135deg, #8d7e71 0%, #5d5045 100%) !important;
    border-color: rgba(93, 80, 69, 0.4) !important;
}

.home-color-swatch--giallo {
    background: linear-gradient(135deg, #fff176 0%, #fbc02d 100%) !important;
    border-color: rgba(251, 192, 45, 0.4) !important;
}

.home-color-swatch--grigio {
    background: linear-gradient(135deg, #cfd8dc 0%, #78909c 100%) !important;
    border-color: rgba(120, 144, 156, 0.4) !important;
}

.home-color-swatch--iris {
    background: linear-gradient(135deg, #7e57c2 0%, #4527a0 100%) !important;
    border-color: rgba(69, 39, 160, 0.4) !important;
}

.home-color-swatch--lampone {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%) !important;
    border-color: rgba(173, 20, 87, 0.4) !important;
}

.home-color-swatch--lilla {
    background: linear-gradient(135deg, #e1bee7 0%, #ba68c8 100%) !important;
    border-color: rgba(186, 104, 200, 0.4) !important;
}

.home-color-swatch--madreperla {
    background: linear-gradient(135deg, #ffffff 0%, #f5e6ea 25%, #e8f5e9 50%, #e1f5fe 75%, #fff3e0 100%) !important;
    border-color: rgba(190, 185, 180, 0.4) !important;
}

.home-color-swatch--marrone {
    background: linear-gradient(135deg, #8d6e63 0%, #4e342e 100%) !important;
    border-color: rgba(78, 52, 46, 0.4) !important;
}

.home-color-swatch--multicolor,
.home-color-swatch--multicolore {
    background: conic-gradient(from 0deg, #ff1744, #ffea00, #00e676, #2979ff, #d500f9, #ff1744) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

.home-color-swatch--nero {
    background: linear-gradient(135deg, #424242 0%, #111111 100%) !important;
    border-color: rgba(0, 0, 0, 0.35) !important;
}

.home-color-swatch--neutro {
    background: linear-gradient(135deg, #f5efe6 0%, #e2d7c9 100%) !important;
    border-color: rgba(200, 190, 175, 0.4) !important;
}

.home-color-swatch--onice {
    background: linear-gradient(135deg, #2b2b2b 0%, #0a0a0a 100%) !important;
    border-color: rgba(0, 0, 0, 0.45) !important;
}

.home-color-swatch--oro,
.home-color-swatch--oro-giallo {
    background: linear-gradient(135deg, #fae082 0%, #d4af37 50%, #997300 100%) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.home-color-swatch--rosa,
.home-color-swatch--oro-rosa {
    background: linear-gradient(135deg, #f8bbd0 0%, #e08b98 50%, #b76e79 100%) !important;
    border-color: rgba(183, 110, 121, 0.4) !important;
}

.home-color-swatch--rosso {
    background: linear-gradient(135deg, #ef5350 0%, #c62828 100%) !important;
    border-color: rgba(198, 40, 40, 0.35) !important;
}

.home-color-swatch--rovere {
    background: linear-gradient(135deg, #bfa07a 0%, #8b6943 100%) !important;
    border-color: rgba(139, 105, 67, 0.4) !important;
}

.home-color-swatch--sabbia {
    background: linear-gradient(135deg, #f2e3c6 0%, #d8be92 100%) !important;
    border-color: rgba(200, 175, 130, 0.4) !important;
}

.home-color-swatch--smalto {
    background: linear-gradient(135deg, #ffffff 0%, #80deea 50%, #00acc1 100%) !important;
    border-color: rgba(0, 172, 193, 0.4) !important;
}

.home-color-swatch--tabacco {
    background: linear-gradient(135deg, #795548 0%, #3e2723 100%) !important;
    border-color: rgba(62, 39, 35, 0.4) !important;
}

.home-color-swatch--terra {
    background: linear-gradient(135deg, #d97d54 0%, #a44222 100%) !important;
    border-color: rgba(164, 66, 34, 0.4) !important;
}

.home-color-swatch--tiffany {
    background: linear-gradient(135deg, #a0ece8 0%, #0abab5 100%) !important;
    border-color: rgba(10, 186, 181, 0.4) !important;
}

.home-color-swatch--tortora {
    background: linear-gradient(135deg, #c7b9ab 0%, #918274 100%) !important;
    border-color: rgba(145, 130, 116, 0.4) !important;
}

.home-color-swatch--trasparente {
    background: repeating-conic-gradient(rgba(0, 0, 0, 0.06) 0% 25%, transparent 0% 50%) 0 0 / 6px 6px !important;
    border: 1.5px dashed rgba(217, 168, 78, 0.5) !important;
}

.home-color-swatch--verde {
    background: linear-gradient(135deg, #66bb6a 0%, #2e7d32 100%) !important;
    border-color: rgba(46, 125, 50, 0.35) !important;
}

.home-color-swatch--verde-acqua {
    background: linear-gradient(135deg, #80cbc4 0%, #00897b 100%) !important;
    border-color: rgba(0, 137, 123, 0.35) !important;
}

.home-color-swatch--verde-salvia {
    background: linear-gradient(135deg, #b2c9ab 0%, #778f6d 100%) !important;
    border-color: rgba(119, 143, 109, 0.35) !important;
}

.home-color-swatch--viola {
    background: linear-gradient(135deg, #ab47bc 0%, #6a1b9a 100%) !important;
    border-color: rgba(106, 27, 154, 0.35) !important;
}

.home-color-swatch--wenge {
    background: linear-gradient(135deg, #3d2f2b 0%, #1f1412 100%) !important;
    border-color: rgba(31, 20, 18, 0.45) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   HOME TOOLBAR — Modern luxury toolbar (per-page & order-by)
   ═══════════════════════════════════════════════════════════════════ */
.home-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.85rem 1.4rem;
    background: linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(253, 248, 238, 0.95) 100%);
    border: 1px solid rgba(217, 168, 78, 0.28);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(94, 66, 38, 0.04);
}

.home-toolbar__perpage {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.home-toolbar__label {
    font-family: var(--h-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--h-espresso, #2b2520);
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
}

.home-toolbar__label-icon {
    font-size: 0.85rem;
    color: var(--hg-deep, #9c7328);
}

.home-toolbar__pills {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ffffff;
    border: 1px solid rgba(217, 168, 78, 0.25);
    border-radius: 20px;
    padding: 2px 4px;
    box-shadow: inset 0 1px 3px rgba(94, 66, 38, 0.04);
}

.home-toolbar__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 0.55rem;
    font-family: var(--h-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--h-walnut, #54493f);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.home-toolbar__pill:hover {
    color: var(--hg-deep, #9c7328);
    background: rgba(217, 168, 78, 0.12);
}

.home-toolbar__pill.is-active {
    background: linear-gradient(135deg, var(--hg-deep, #9c7328) 0%, var(--hg-dark, #7a5418) 100%);
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(156, 115, 40, 0.35);
}

.home-toolbar__order {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.home-toolbar__order-label {
    white-space: nowrap;
}

.home-toolbar__select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.home-toolbar__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: var(--h-sans) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: var(--h-espresso, #2b2520) !important;
    background: #ffffff !important;
    border: 1px solid rgba(217, 168, 78, 0.35) !important;
    border-radius: 20px !important;
    padding: 0.45rem 2.2rem 0.45rem 1rem !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 1px 4px rgba(94, 66, 38, 0.04) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.home-toolbar__select:hover {
    border-color: var(--hg, #d4af37) !important;
}

.home-toolbar__select:focus {
    border-color: var(--hg, #d4af37) !important;
    box-shadow: 0 0 0 3px rgba(217, 168, 78, 0.2) !important;
}

.home-toolbar__select-arrow {
    position: absolute;
    right: 0.85rem;
    font-size: 0.72rem;
    color: var(--hg-deep, #9c7328);
    pointer-events: none;
}

@media (max-width: 767px) {
    .home-toolbar,
    .home-page .home-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 1.05rem 1.15rem;
        border-radius: 16px;
    }

    .home-toolbar__perpage,
    .home-toolbar__order,
    .home-page .home-toolbar__perpage,
    .home-page .home-toolbar__order {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    .home-toolbar__label,
    .home-toolbar__order-label,
    .home-page .home-toolbar__label {
        display: inline-flex;
        width: 100%;
        margin: 0;
        font-size: 0.62rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--hg-deep, #8f6320);
        opacity: 1;
        white-space: nowrap;
    }

    .home-toolbar__pills {
        display: flex;
        width: 100%;
        gap: 3px;
        padding: 3px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(217, 168, 78, 0.28);
        box-shadow: inset 0 1px 2px rgba(94, 66, 38, 0.04);
    }

    .home-toolbar__pill,
    .home-page .home-toolbar__perpage span[data-perpage] {
        flex: 1 1 0;
        min-width: 0;
        height: 38px;
        padding: 0;
        border-radius: 9px;
        font-size: 0.9rem;
        font-weight: 600;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .home-toolbar__pill.is-active,
    .home-page .home-toolbar__perpage span[data-perpage].is-active,
    .home-page .home-toolbar__perpage span[data-perpage].font-weight-bolder {
        background: linear-gradient(135deg, var(--hg-deep, #9c7328) 0%, var(--hg-dark, #7a5418) 100%);
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(156, 115, 40, 0.32);
        border: none;
    }

    .home-toolbar__select-wrap {
        flex: none;
        width: 100%;
    }

    .home-toolbar__select,
    .home-page .home-toolbar__select {
        width: 100% !important;
        min-height: 44px;
        border-radius: 12px !important;
        padding: 0.6rem 2.5rem 0.6rem 0.95rem !important;
        font-size: 0.88rem !important;
        background: #ffffff !important;
    }

    .home-toolbar__select-arrow {
        right: 1rem;
    }
}

@media (max-width: 991.98px) {
    .home-page #cardFiltri,
    .home-page .card-filtri,
    .home-page .home-filters,
    #cardFiltri {
        border-radius: 0 !important;
    }
}
