/* ═══════════════════════════════════════════════════════
   LE BOLLE — style.css
   Design system: crema/salvia/beige · Cormorant + DM Sans
   Zaira Officina · 2025
═══════════════════════════════════════════════════════ */


/* ── FONT ──────────────────────────────────────────── */


/* ── RESET ─────────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}


/* ── VARIABILI ──────────────────────────────────────── */

:root {
    --bg-cream: #F5F0E8;
    --bg-white: #FAF7F2;
    --bg-sage-light: #EFF4EE;
    --bg-dark: #2C2416;
    --text-dark: #2C2416;
    --text-mid: #6B5D4A;
    --text-soft: #756548;
    --accent-sage: #7A9E7E;
    --accent-sage-dark: #5E7E62;
    --accent-beige: #C9B89A;
    --accent-water: #C0D8D4;
    --accent-rose: #D4B5B0;
    --border: #E0D9CE;
    --shadow: 0 2px 20px rgba(44, 36, 22, 0.06);
    --shadow-md: 0 6px 40px rgba(44, 36, 22, 0.10);
    --radius: 6px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'Courier Prime', monospace;
}


/* ── UTILITY ────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* ── TIPOGRAFIA ─────────────────────────────────────── */

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3A6040;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.section-title em {
    font-style: italic;
    color: var(--accent-sage-dark);
}

.section-subtitle {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-mid);
    max-width: 480px;
}

.section-subtitle__secondary {
    display: block;
    margin-top: 0.25rem;
    opacity: 0.65;
    font-size: 0.9em;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}


/* ── BOTTONI ────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--dark {
    background: var(--text-dark);
    color: var(--bg-cream);
    border-color: var(--text-dark);
}

.btn--dark:hover {
    background: #3d3220;
    border-color: #3d3220;
}

.btn--sage {
    background: var(--accent-sage);
    color: #fff;
    border-color: var(--accent-sage);
}

.btn--sage:hover {
    background: var(--accent-sage-dark);
    border-color: var(--accent-sage-dark);
}

.btn--outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border);
}

.btn--outline:hover {
    border-color: var(--accent-sage);
    color: var(--accent-sage-dark);
}

.btn--whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    font-size: 1rem;
    padding: 1rem 2rem;
}

.btn--whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
}

.btn--small {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}


/* ── ANIMAZIONI REVEAL ──────────────────────────────── */

/* Hero above-the-fold: animazione immediata via CSS, non attende il JS */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: revealIn 0.65s ease both;
}

.reveal--delay-1 {
    animation-delay: 0.1s;
}

.reveal--delay-2 {
    animation-delay: 0.22s;
}

.reveal--delay-3 {
    animation-delay: 0.36s;
}

.reveal--delay-4 {
    animation-delay: 0.52s;
}

@keyframes revealIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sezioni sotto la piega: reveal allo scroll, gestito da main.js */
.js-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Rispetta la preferenza di movimento ridotto */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .js-reveal {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}


/* ── HEADER ─────────────────────────────────────────── */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 0;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.header.scrolled {
    background: rgba(245, 240, 232, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border);
    padding: 0.8rem 0;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header:not(.scrolled) .header__inner {
    max-width: 1160px;
    padding: 0.55rem 1rem 0.55rem 1.15rem;
    background: transparent;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    flex-shrink: 0;
}

.header__logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

.header__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
}

.header:not(.scrolled) .header__logo-text {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.header__nav {
    display: flex;
    gap: 1.8rem;
    margin-left: auto;
}

.header__link {
    font-size: 0.9rem;
    color: var(--text-mid);
    transition: color 0.2s;
}

.header__link:hover {
    color: var(--accent-sage-dark);
}

.header:not(.scrolled) .header__link {
    color: #fff;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.header:not(.scrolled) .header__link:hover {
    color: var(--accent-sage-dark);
}

.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 10px;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    justify-content: center;
}

.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.25s ease;
}


/* Menu mobile */

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 2rem 2rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu__link {
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 0.75rem 0;
    display: block;
}


/* ── HERO ───────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 5.4rem clamp(1.25rem, 4vw, 4.5rem) 2.2rem;
    overflow: hidden;
    background: #1d2118;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(245, 240, 232, 0.96) 0%, rgba(245, 240, 232, 0.85) 25%, rgba(245, 240, 232, 0.40) 45%, transparent 62%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at 68% 48%, transparent 44%, rgba(44, 36, 22, 0.18) 100%), url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.16;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.26;
}

.hero__bubbles {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    position: relative;
    z-index: 5;
    width: min(46vw, 600px);
    max-width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 0.5rem;
    background: rgba(250, 247, 242, 0.82);
    border: 1px solid rgba(201, 184, 154, 0.38);
    border-radius: 100px;
    padding: 0.38rem 0.95rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-mid);
    margin-bottom: 1.35rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-sage);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* Badge orari hero */
.hero__orari {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(250, 247, 242, 0.82);
    border: 1px solid rgba(201, 184, 154, 0.38);
    border-radius: 100px;
    padding: 0.38rem 0.95rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-mid);
    margin-bottom: 1.35rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero__orari:empty {
    display: none;
}

.hero__orari-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.hero__orari-dot--open    { background: #3aaa6e; }
.hero__orari-dot--warning { background: #e09c2a; }
.hero__orari-dot--closed  { background: #c04a3a; animation: none; }

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.45vw, 5rem);
    font-weight: 400;
    line-height: 1.01;
    color: var(--text-dark);
    margin-bottom: 1.1rem;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 1px 3px rgba(245, 240, 232, 0.4);
}

.hero__title em {
    font-style: italic;
    color: var(--accent-sage-dark);
}

.hero__subtitle {
    font-size: 1.08rem;
    color: var(--text-mid);
    margin-bottom: 1.25rem;
    max-width: 470px;
    line-height: 1.75;
    text-shadow: 0 1px 2px rgba(245, 240, 232, 0.3);
}

.hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.35rem;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    max-width: 520px;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(201, 184, 154, 0.5);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hero__stat-num {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.76rem;
    color: var(--text-soft);
    letter-spacing: 0.05em;
}

.hero__stat-sep {
    width: 1px;
    height: 30px;
    background: rgba(201, 184, 154, 0.62);
}

.hero__visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero__visual::before {
    content: '';
    position: absolute;
    right: clamp(1rem, 5vw, 5rem);
    bottom: clamp(1rem, 6vh, 4rem);
    width: min(42vw, 520px);
    aspect-ratio: 1;
    z-index: 3;
    border-radius: 999px;
    background: rgba(192, 216, 212, 0.13);
    filter: blur(2px);
}

.hero__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(245, 240, 232, 0.18) 0%, transparent 38%, rgba(44, 36, 22, 0.18) 100%);
    pointer-events: none;
}

.hero__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 0% 10%;
    filter: saturate(1.03) contrast(1.02) brightness(0.98) blur(2px);
    animation: kenburns 20s ease-in-out infinite alternate;
    will-change: transform;
}

/* Copia sfocata dell'immagine mascherata sul viso — privacy senza toccare il file */
.hero__img--face-blur {
    position: absolute;
    inset: 0;
    filter: saturate(1.03) contrast(1.02) brightness(0.98) blur(22px);
    mask-image: linear-gradient(to right, black 0%, black 32%, transparent 48%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black 32%, transparent 48%);
    z-index: 3;
    pointer-events: none;
}

.hero__bottles {
    display: flex;
    align-items: flex-end;
    gap: 1.2rem;
}

.bottle {
    position: relative;
    border-radius: 16px 16px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 1rem;
    overflow: hidden;
    cursor: default;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
}

.bottle:hover {
    transform: translateY(-6px);
}

.bottle--tall {
    width: 90px;
    height: 220px;
}

.bottle--round {
    width: 100px;
    height: 180px;
}

.bottle--sage {
    background: linear-gradient(160deg, #b8d4ba 0%, #7A9E7E 100%);
}

.bottle--water {
    background: linear-gradient(160deg, #daeef0 0%, #C0D8D4 100%);
}

.bottle--beige {
    background: linear-gradient(160deg, #e8dcc8 0%, #C9B89A 100%);
}

.bottle__label {
    position: relative;
    z-index: 2;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    padding: 0.5rem 0.6rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin-bottom: 0.3rem;
}

.bottle__label em {
    display: block;
    font-style: normal;
    font-size: 0.65rem;
    opacity: 0.85;
    margin-top: 0.15rem;
}

.bottle__fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0 0 8px 8px;
}


/* Scroll indicator */

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: var(--accent-sage);
    animation: scrollDown 1.8s ease infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

@keyframes kenburns {
    0% {
        transform: scale(1.025) translateX(0);
    }
    100% {
        transform: scale(1.09) translateX(-1.5%);
    }
}

.hero__scroll-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-soft);
    text-transform: lowercase;
    writing-mode: vertical-lr;
}


/* ── COME FUNZIONA ──────────────────────────────────── */

.come-funziona {
    background: var(--bg-white);
    padding: 6rem 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-cream);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step__number {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--accent-sage);
    margin-bottom: 1.2rem;
}

.step__icon {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-sage-light);
    border-radius: 50%;
}

.step__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.step__text {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.step__arrow {
    font-size: 1.5rem;
    color: var(--border);
    align-self: center;
    flex-shrink: 0;
    margin-top: -1rem;
}

.come-funziona__note {
    text-align: center;
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 3rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.6;
}

.come-funziona__note span {
    display: block;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--accent-sage);
    margin-top: 0.5rem;
}


/* ── PERCHÉ ─────────────────────────────────────────── */

.perche {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.pillole {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pillola {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pillola:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pillola__icon {
    width: 52px;
    height: 52px;
    background: var(--bg-sage-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.pillola__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.pillola__text {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* Blocco certificazioni sotto le pillole */
.perche__certs {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.perche__certs-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 0.75rem;
}

.perche__cert-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.perche__cert {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-sage-dark);
    background: var(--bg-sage-light);
    border: 1px solid var(--accent-sage);
    border-radius: 4px;
    padding: 0.3rem 0.8rem;
    letter-spacing: 0.04em;
}

.perche__certs-note {
    font-size: 0.8rem;
    color: var(--text-mid);
}


/* ── PRODOTTI ───────────────────────────────────────── */

.prodotti {
    background: var(--bg-white);
    padding: 6rem 0;
}

/* Teaser prodotti — visibile solo in launch mode */
.prodotti-teaser {
    background: var(--bg-white);
    padding: 5rem 0;
    text-align: center;
}

.prodotti-teaser__testo {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.categorie {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.categoria {
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}


/* Card cliccabile: reset stili link */

a.categoria {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}


/* Indicatore "scopri →" che appare all'hover */

a.categoria .categoria__tag::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.2s ease;
}

a.categoria:hover .categoria__tag::after {
    opacity: 1;
}

.categoria:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--accent-sage);
}

.categoria__visual {
    position: relative;
    height: 90px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categoria__visual--green {
    background: linear-gradient(135deg, #c8e0ca, #9dc0a0);
}

.categoria__visual--water {
    background: linear-gradient(135deg, #d8eeed, #a8cbc8);
}

.categoria__visual--beige {
    background: linear-gradient(135deg, #e8dcc8, #d0ba9a);
}

.categoria__visual--sage {
    background: linear-gradient(135deg, #d0e8d2, #a0be9c);
}

.categoria__visual--rose {
    background: linear-gradient(135deg, #e8d4d0, #c4a09a);
}

.categoria__bubble {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.categoria__emoji {
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.categoria__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.categoria__desc {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.categoria__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent-sage);
    background: var(--bg-sage-light);
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
}

.categoria--cta {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.categoria__cta-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--bg-cream);
    line-height: 1.5;
}

.categoria__cta-text em {
    font-style: normal;
    color: var(--accent-beige);
}


/* ── ORDINA SU WHATSAPP ─────────────────────────────── */

.ordina {
    background: var(--bg-dark);
    padding: 6rem 0;
}

.ordina .section-header {
    margin-bottom: 4rem;
}

.ordina .section-tag {
    color: var(--accent-sage);
    background: rgba(122, 158, 126, 0.15);
}

.ordina .section-title {
    color: var(--bg-cream);
}

.ordina .section-subtitle {
    color: rgba(245, 240, 232, 0.6);
}

.ordina__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.ordina__step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.ordina__step-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent-sage);
    opacity: 0.5;
    flex-shrink: 0;
    width: 2.5rem;
}

.ordina__step-body {
    padding-top: 0.3rem;
}

.ordina__step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bg-cream);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.ordina__step-text {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.55);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.ordina__step-link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-sage);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.ordina__step-link:hover {
    color: #a8c8aa;
}


/* CTA centrale */

.ordina__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(245, 240, 232, 0.1);
}

.ordina__cta-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(245, 240, 232, 0.5);
}

.ordina__cta-note {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(245, 240, 232, 0.3);
    letter-spacing: 0.04em;
}


/* Variante grande per btn--whatsapp nella sezione ordina */

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    gap: 0.75rem;
}


/* ── NEGOZIO ────────────────────────────────────────── */

.negozio {
    background: var(--bg-cream);
    padding: 6rem 0;
}

.negozio__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}


/* Galleria foto reali */

.negozio__gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 240px 240px 240px;
    gap: 12px;
}

.gallery__item {
    border-radius: 10px;
    overflow: hidden;
}

.gallery__item--main {
    grid-row: span 2;
}

/* Immagini reali: coprono il loro slot */
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.gallery__item:hover img {
    transform: scale(1.04);
}

.negozio__content .section-tag {
    display: block;
    margin-bottom: 0.8rem;
}

.negozio__text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.negozio__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.8rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 1.8rem 0;
}

.info__row {
    display: flex;
    gap: 1rem;
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.info__icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1.3;
}

.info__row a {
    color: var(--accent-sage-dark);
    transition: color 0.2s;
}

.info__row a:hover {
    color: var(--text-dark);
}

.info__closed {
    color: var(--text-mid);
}


/* ── RECENSIONI ─────────────────────────────────────── */

.recensioni {
    background: var(--bg-white);
    padding: 6rem 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.review {
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.25s ease;
}

.review:hover {
    box-shadow: var(--shadow-md);
}

.review__stars {
    color: #d4a017;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review__text {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.review__author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.review__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-sage);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.review__author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.review__author span {
    font-size: 0.78rem;
    color: var(--text-mid);
}

.recensioni__cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.recensioni__cta p {
    font-size: 1rem;
    color: var(--text-mid);
}


/* ── CONTATTI ───────────────────────────────────────── */

.contatti {
    background: var(--bg-cream);
    padding: 6rem 0;
}

.contatti__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contatti__text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.contatti__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contatti__details {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contatti__details strong {
    color: var(--text-dark);
}


/* Mappa */

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    border: 1px solid var(--border);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.map-placeholder:hover {
    background: var(--bg-sage-light);
}

.map-placeholder__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.map-placeholder__pin {
    font-size: 2rem;
}

.map-placeholder__inner p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.5;
}

.map-placeholder__btn {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--accent-sage);
    border: 1px solid var(--accent-sage);
    border-radius: 100px;
    padding: 0.4rem 1rem;
}


/* ── FOOTER ─────────────────────────────────────────── */

.footer {
    background: var(--bg-dark);
    color: var(--bg-cream);
    padding: 4rem 0 2rem;
}

.footer__inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer__brand {
    flex: 1;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.footer__logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.footer__brand p {
    font-size: 0.88rem;
    color: rgba(245, 240, 232, 0.55);
    line-height: 1.6;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--bg-cream);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer__contact a:last-child {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s;
}

.footer__contact a:last-child:hover {
    color: var(--bg-cream);
}

.footer__bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer__bottom p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(245, 240, 232, 0.35);
}

.footer__bottom a {
    color: var(--accent-sage);
    transition: color 0.2s;
}

.footer__bottom a:hover {
    color: #9abe9e;
}


/* ── WHATSAPP STICKY ────────────────────────────────── */

.whatsapp-sticky {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-sticky:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@media (max-width: 900px) {
    .header__nav {
        display: none;
    }
    .header .btn {
        display: none;
    }
    .header__hamburger {
        display: flex;
    }
    /* Hero */
    .hero {
        min-height: 100svh;
        display: flex;
        align-items: flex-end;
        padding: 6rem 1.25rem 2.5rem;
        text-align: center;
    }
    .hero::before {
        background: linear-gradient(180deg, rgba(245, 240, 232, 0.2) 0%, rgba(245, 240, 232, 0.78) 42%, rgba(245, 240, 232, 0.96) 100%), linear-gradient(90deg, rgba(44, 36, 22, 0.18), transparent 55%);
    }
    .hero__content {
        width: 100%;
        max-width: 100%;
        align-items: center;
    }
    .hero__badge {
        margin-bottom: 1rem;
    }
    .hero__title {
        font-size: clamp(2.75rem, 13vw, 4.1rem);
    }
    .hero__subtitle {
        margin: 0 auto 1.55rem;
    }
    .hero__cta {
        justify-content: center;
        margin-bottom: 1.6rem;
    }
    .hero__stats {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 0.8rem;
        width: 100%;
    }
    .hero__stat {
        text-align: center;
    }
    .hero__img {
        object-position: 30% top;
    }
    .hero__scroll {
        display: none;
    }
    /* Steps */
    .steps {
        flex-direction: column;
        gap: 0;
    }
    .step__arrow {
        display: none;
    }
    .step {
        border-radius: 0;
    }
    .step:first-child {
        border-radius: 12px 12px 0 0;
    }
    .step:last-child {
        border-radius: 0 0 12px 12px;
    }
    /* Pillole */
    .pillole {
        grid-template-columns: 1fr 1fr;
    }
    /* Categorie */
    .categorie {
        grid-template-columns: 1fr 1fr;
    }
    /* Negozio */
    .negozio__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .negozio__gallery {
        grid-template-rows: 200px 200px 200px;
    }
    /* Recensioni */
    .review-grid {
        grid-template-columns: 1fr;
    }
    /* Contatti */
    .contatti__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    /* Footer */
    .footer__inner {
        flex-direction: column;
        gap: 2rem;
    }
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    /* Ordina steps — collassa a colonna singola */
    .ordina__steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .ordina {
        padding: 4rem 0;
    }
    /* Negozio gallery — colonne OK su tablet, si collassa sotto 480px */
    /* WhatsApp sticky più visibile su mobile */
    .whatsapp-sticky {
        width: 60px;
        height: 60px;
        bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }
    /* Sezioni padding ridotto */
    .come-funziona,
    .perche,
    .profumi,
    .novita,
    .prodotti,
    .negozio,
    .recensioni,
    .richieste,
    .contatti {
        padding: 4rem 0;
    }
}

@media (max-width: 520px) {
    .pillole {
        grid-template-columns: 1fr;
    }
    .categorie {
        grid-template-columns: 1fr;
    }
    .hero__title {
        font-size: clamp(2.4rem, 7.5vw, 2.8rem);
    }
    .hero__cta {
        flex-direction: column;
        align-items: center;
    }
    .hero__cta .btn {
        width: 100%;
        justify-content: center;
    }
    .contatti__actions {
        flex-direction: column;
    }
    .contatti__actions .btn {
        width: 100%;
        justify-content: center;
    }
    .come-funziona__note {
        padding: 1.5rem;
        font-size: 1.2rem;
    }
    /* Recensioni CTA — evita overflow testo lungo su 360px */
    .recensioni__cta .btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }
    /* Ordina CTA — bottone WA full-width su mobile per conversione */
    .ordina__cta .btn {
        width: 100%;
        justify-content: center;
    }
    /* Footer links — tap target */
    .footer__links a {
        padding: 0.4rem 0;
        display: block;
    }
    /* Card link — tap target "Lo voglio" e novità */
    .richiesta-card__link,
    .novita-card__link {
        display: inline-block;
        padding: 0.5rem 0;
    }
    .container {
        padding: 0 1.2rem;
    }
    /* Evita zoom automatico iOS su input con font-size < 16px */
    .profumi-search-input {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Negozio gallery — collassa a colonna singola con foto reali */
    .negozio__gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 120px 120px 120px 120px;
    }
    .gallery__item--main {
        grid-row: auto;
    }
}


/* ── SELETTORE PROFUMI HOMEPAGE ─────────────────────── */

.categoria--profumi {
    background: var(--bg-white);
    border-color: var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.6rem;
}

.categoria__cta-label {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.profumi-search-wrap {
    position: relative;
}

.profumi-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    pointer-events: none;
}

.profumi-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem 0.55rem 2.1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: var(--bg-cream);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s ease;
}

.profumi-search-input:focus {
    border-color: var(--accent-sage);
}

.profumi-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-white);
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.profumi-list:empty {
    display: none;
}

.profumi-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s ease;
}

.profumi-item:last-child {
    border-bottom: none;
}

.profumi-item:hover {
    background: var(--bg-sage-light);
}

.profumi-item--sel {
    background: rgba(122, 158, 126, 0.12);
}

.profumi-nome {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

/* Codice numerico prodotto — visibile nella card risultati ricerca */
.profumi-codice {
    font-size: 0.7rem;
    font-family: 'Courier Prime', monospace;
    color: var(--text-soft);
    opacity: 0.7;
    font-weight: 400;
}

.profumi-ref {
    font-size: 0.76rem;
    color: var(--text-soft);
}

.profumi-empty,
.profumi-more {
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    color: var(--text-soft);
    font-family: var(--font-mono);
}

.profumi-more__btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--terracotta);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.profumi-more__btn:hover {
    opacity: 0.75;
}

.profumi-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-height: 2rem;
}

.profumi-hint {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-soft);
}

.profumi-wa-btn {
    display: none;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
}


/* ── ACCESSIBILITÀ ─────────────────────────────────── */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ── PROFUMI EQUIVALENTI ───────────────────────────── */

.profumi {
    position: relative;
    background: var(--bg-cream);
    padding: 6rem 0;
    overflow: hidden;
}

.profumi::before {
    content: '';
    position: absolute;
    top: 4rem;
    right: -6rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: var(--accent-water);
    opacity: 0.25;
    pointer-events: none;
}

.profumi__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.profumi__content .section-subtitle {
    margin-bottom: 2rem;
}

.profumi__price-card {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.2rem 1.4rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.profumi__price-label,
.profumi__price-note {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.profumi__price {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent-sage-dark);
}

/* Nota qualità EDP sotto il price card */
.profumi__quality-note {
    margin-top: 0.9rem;
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.5;
}

.profumi__quality-note strong {
    color: var(--accent-sage-dark);
}

/* Meta-row — badge qualità EDP e novità mensili sotto il price card */
.profumi__meta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.1rem;
    padding: 0;
    list-style: none;
}

.profumi__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-mid);
}

.profumi__meta-item strong {
    color: var(--accent-sage-dark);
}

.profumi__meta-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.05rem;
    border-radius: 50%;
    background: var(--bg-sage-light);
    font-size: 0.7rem;
    color: var(--accent-sage-dark);
}

/* Variante "novità" — più visibile, link cliccabile */
.profumi__meta-item--link {
    color: var(--text-dark);
}

.profumi__meta-item--link a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-rose);
}

.profumi__meta-item--link a:hover {
    border-bottom-color: var(--text-dark);
}

.profumi__meta-item--link .profumi__meta-icon {
    background: var(--accent-rose);
    color: var(--text-dark);
}

.profumi-finder {
    background: rgba(250, 247, 242, 0.92);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.profumi-finder__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.profumi-finder__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-sage);
    margin-bottom: 0.25rem;
}

.profumi-finder__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
}

.profumi-finder__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.profumi-finder__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    background: var(--bg-sage-light);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-sage-dark);
    cursor: pointer;
    text-decoration: none;
}

.profumi-finder__badge--catalog {
    background: transparent;
    border: 1px solid var(--accent-sage);
    color: var(--accent-sage);
}

.profumi-search-wrap--large {
    margin-bottom: 0.8rem;
}

.profumi-search-input--large {
    min-height: 3.2rem;
    padding-left: 2.5rem;
    font-size: 0.98rem;
    background: #fffdf9;
}

.profumi-list--large {
    max-height: 340px;
    margin-top: 1rem;
}

.profumi-list--large .profumi-item {
    gap: 0.25rem;
    padding: 0.9rem 1rem;
}

.profumi-list--large .profumi-nome {
    font-size: 1rem;
}

.profumi-list--large .profumi-ref {
    font-size: 0.82rem;
}

.profumi-item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.45rem;
}

.profumi-tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.18rem 0.55rem;
    border-radius: 100px;
    background: var(--bg-sage-light);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-sage-dark);
}

.profumi-order-link {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-sage-dark);
    white-space: nowrap;
}

.profumi-order-link:hover {
    color: var(--text-dark);
}

.profumi-loading-state,
.profumi-empty-state,
.profumi-no-results,
.profumi-error-state {
    margin-top: 1rem;
    padding: 1.2rem;
    border: 1px dashed var(--border);
    border-radius: 12px;
    background: var(--bg-cream);
    color: var(--text-mid);
}

.profumi-loading-state,
.profumi-empty-state {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.profumi-loading-state.is-hidden,
.profumi-empty-state.is-hidden,
.profumi-no-results.is-hidden,
.profumi-error-state.is-hidden {
    display: none;
}

.profumi-loading-state__dot,
.profumi-empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: var(--bg-sage-light);
}

.profumi-loading-state__dot::after {
    content: '';
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--accent-sage);
    animation: pulse 1.3s ease-in-out infinite;
}

.profumi-no-results,
.profumi-error-state {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: flex-start;
}


/* ── ULTIMI ARRIVI ─────────────────────────────────── */

.novita {
    background: var(--bg-white);
    padding: 6rem 0;
}

.novita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.novita-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.6rem;
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.novita-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.novita-card__tag {
    width: fit-content;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    background: var(--accent-sage);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.novita-card__title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
}

.novita-card__text {
    color: var(--text-mid);
    line-height: 1.65;
}

.novita-card__price {
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-soft);
}

.novita-card__link {
    width: fit-content;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-sage-dark);
}

.novita-card__link:hover {
    color: var(--text-dark);
}


/* ── MAP PLACEHOLDER COME BUTTON ───────────────────── */

.map-placeholder {
    width: 100%;
    font: inherit;
    text-align: inherit;
}

@media (max-width: 900px) {
    .profumi__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .novita-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .profumi-finder {
        padding: 1.2rem;
        border-radius: 14px;
    }
    .profumi-finder__head {
        flex-direction: column;
    }
    .profumi-item__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
    .profumi-order-link {
        white-space: normal;
    }
}

.is-hidden {
    display: none;
}


/* ── FRAGRANZE PIÙ RICHIESTE ───────────────────────── */

.richieste {
    background: var(--bg-white);
    padding: 6rem 0;
}

.richieste-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.richiesta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 180px;
    padding: 1.6rem;
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.richiesta-card::before {
    content: '';
    position: absolute;
    top: -42px;
    right: -42px;
    width: 110px;
    height: 110px;
    background: var(--accent-water);
    border-radius: 50%;
    opacity: 0.22;
    pointer-events: none;
}

.richiesta-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.richiesta-card__tag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    padding: 0.3rem 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-sage-dark);
}

.richiesta-card__title {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
}

.richiesta-card__link {
    position: relative;
    z-index: 1;
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-sage-dark);
    transition: color 0.2s ease;
}

.richiesta-card__link:hover {
    color: var(--text-dark);
}

.richiesta-card__desc {
    position: relative;
    z-index: 1;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    transition: max-height 0.38s ease, opacity 0.28s ease, margin 0.38s ease;
}

.richiesta-card:hover .richiesta-card__desc,
.richiesta-card.is-open .richiesta-card__desc {
    max-height: 100px;
    opacity: 1;
    margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
    .richieste-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .richieste {
        padding: 4rem 0;
    }
    .richieste-grid {
        grid-template-columns: 1fr;
    }
    .richiesta-card {
        min-height: auto;
    }
}

.profumi-error-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}


/* ── FORMATI FLACONI ─────────────────────────────────── */

.formati {
    background: var(--bg-white);
    padding: 6rem 0;
}

.formati__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.formati__group {
    padding: 3rem 2.5rem;
    background: var(--bg-cream);
}

.formati__group:first-child {
    border-right: 1px solid var(--border);
}

.formati__group--glass {
    background: var(--bg-white);
}

.formati__group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 1.2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.formati__group-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0;
}

.formati__type {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.formati__type-desc {
    font-size: 0.85rem;
    color: var(--text-mid) !important;
    line-height: 1.5;
    max-width: 22ch;
}

.formati__type-note {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: var(--text-soft);
    white-space: nowrap;
}

/* Foto reale flaconi */
.formati__visual {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-cream);
}

/* Gruppo vetro ha sfondo diverso: allinea il visual al parent */
.formati__group--glass .formati__visual {
    background: var(--bg-white);
}

.formati__visual img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    object-position: center 90%;
    display: block;
    padding: 1.5rem 2rem 0;
}

.formati__items {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    min-height: 180px;
    margin-bottom: 2rem;
}

/* Quando c'è la foto, i prezzi si centrano e si allineano in basso */
.formati__group:has(.formati__visual) .formati__items {
    min-height: auto;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border);
    padding-top: 1.2rem;
    text-align: center;
}

.formato {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

/* Formato evidenziato "più scelto" */
.formato--best {
    background: var(--bg-sage-light);
    border: 1px solid rgba(122, 158, 126, 0.3);
}

.formato__best-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-sage-dark);
    margin-bottom: 0.1rem;
}

/* Badge piccolo (prova / regalo) */
.formato__tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-top: 0.1rem;
}

/* Bottiglia come rettangolo scalato — simula proporzione volume */
.formato__bottle {
    border-radius: 5px 5px 3px 3px;
    position: relative;
}

/* Tappo */
.formato__bottle::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 38%;
    height: 9px;
    border-radius: 2px 2px 0 0;
    background: inherit;
    opacity: 0.65;
}

/* PET — toni acqua/neutro */
.formato__bottle--s {
    width: 32px;
    height: 50px;
    background: linear-gradient(160deg, #d8eeed 0%, #a8cece 100%);
}

.formato__bottle--m {
    width: 36px;
    height: 82px;
    background: linear-gradient(160deg, #d8eeed 0%, #a8cece 100%);
}

.formato__bottle--l {
    width: 40px;
    height: 114px;
    background: linear-gradient(160deg, #d8eeed 0%, #a8cece 100%);
}

.formato__bottle--xl {
    width: 44px;
    height: 156px;
    background: linear-gradient(160deg, #d8eeed 0%, #a8cece 100%);
}

/* Vetro — toni beige/oro caldo */
.formato__bottle--glass {
    border-radius: 8px 8px 5px 5px;
    background: linear-gradient(160deg, #eddfc0 0%, #c9a870 100%);
}

/* Volume — secondario, grigio */
.formato__vol {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Prezzo — primario, grande */
.formato__price {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
}

.formati__cost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-soft);
    letter-spacing: 0.03em;
}

.formati__cost strong {
    color: var(--accent-sage-dark);
    font-weight: 600;
}

.formati__note {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-soft);
    margin-bottom: 2rem;
    opacity: 0.7;
}

.formati__cta {
    text-align: center;
}

/* CTA WhatsApp nella sezione formati — più visibile */
.formati__cta .btn {
    font-size: 1rem;
    padding: 1rem 2.2rem;
    gap: 0.6rem;
}

@media (max-width: 900px) {
    .formati {
        padding: 4rem 0;
    }

    .formati__grid {
        grid-template-columns: 1fr;
    }

    .formati__group:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .formati__items {
        gap: 1.2rem;
    }

    .formati__group {
        padding: 1.5rem 1.2rem;
    }

    .formati__visual img {
        height: 180px;
        object-position: center center;
    }
}

@media (max-width: 520px) {
    .formati__group {
        padding: 1.5rem 1rem;
    }
    .formati__visual img {
        height: 140px;
        padding: 1rem 1.5rem 0;
    }
    .formati__items {
        gap: 1rem;
        min-height: auto;
    }
    .formati__group-head {
        flex-wrap: wrap;
    }
    .formati__type-note {
        white-space: normal;
    }
}
