/*
Theme Name: Vape and Vape
Theme URI: https://vapeandvape.it
Author: Gianni Panebianco
Description: Premium WordPress theme for Vape and Vape Trieste
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vapeandvape
*/

/* ===== CSS Custom Properties ===== */
:root {
    --color-bg: #f9f7f3;
    --color-surface: #ffffff;
    --color-surface-elevated: #efece7;
    --color-orange: #e86b32;
    --color-orange-dark: #e06e28;
    --color-orange-hover: #f28551;
    --color-orange-tint: #fff4ec;
    --color-amber: #d4901c;
    --color-cream-warm: #f0ead8;
    --color-dark: #0a0a0b;
    --color-dark-alt: #121214;
    --color-dark-deep: #050506;
    --color-ochre: #d4af37;
    --color-border: rgba(0,0,0,0.07);
    --color-text: #1a1a1a;
    --color-text-body: rgba(30,30,30,0.85);
    --color-text-muted: rgba(30,30,30,0.55);
    --color-shadow: rgba(0,0,0,0.06);
    --color-shadow-hover: rgba(232,107,50,0.16);
    --radius: 16px;
    --radius-pill: 999px;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}

/* ===== Base Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text-body);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { font-size: 1rem; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Section titles */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

/* ===== Fixed Header ===== */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}
/* Give site-main room for the fixed nav bar */
.site-main { padding-top: 36px; }
@media (max-width: 1023px) { .site-main { padding-top: 60px; } }
/* Homepage hero is fullscreen — cancel the offset so video fills viewport */
.home .site-main { padding-top: 0; }
/* Liquidi hero is dark fullbleed — cancel the offset */
.page-template-page-i-nostri-liquidi-php .site-main { padding-top: 0; }

/* WP Admin Bar Offset — shift the entire fixed header down */
.admin-bar #site-header { top: 32px; }
.admin-bar .site-main { padding-top: calc(36px + 32px); }
.admin-bar.home .site-main { padding-top: 32px; }
.admin-bar.page-template-page-i-nostri-liquidi-php .site-main { padding-top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar #site-header { top: 46px; }
    .admin-bar .site-main { padding-top: calc(60px + 46px); }
    .admin-bar.home .site-main { padding-top: 46px; }
}

/* ===== Top Bar (notch nav — all screen sizes) ===== */
#site-header .top-bar {
    width: 100%;
    height: 36px;
    background: #0f0f0f;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
    transition: background 0.35s ease;
}

/* On homepage: transparent bar until scroll — notch pill always dark */
#site-header:not(.always-visible):not(.scrolled) .top-bar {
    background: transparent;
}
#site-header.scrolled .top-bar,
#site-header.always-visible .top-bar {
    background: #0f0f0f;
}

/* === NAVBAR GLOBAL VISIBILITY === */
body[data-navbar="notch"] .notch-nav-wrapper { display: grid; }
body[data-navbar="notch"] .pill-nav-wrapper  { display: none; }
body[data-navbar="pill"]  .pill-nav-wrapper  { display: flex; }
body[data-navbar="pill"]  .notch-nav-wrapper { display: none; }

/* === NAVBAR VARIANT B (NOTCH) === */
.notch-nav-wrapper {
    background: #0f0f0f;
    border-radius: 0 0 26px 26px;
    border-left: 1px solid rgba(255,255,255,0.09);
    border-right: 1px solid rgba(255,255,255,0.09);
    border-bottom: 1px solid rgba(255,255,255,0.09);
    border-top: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto auto 1fr; /* left | div | pill | div | right — always symmetric */
    align-items: center;
    max-width: 180px; /* Rest state */
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    transition: max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 50;
}

@media (hover: hover) and (pointer: fine) {
    .top-bar:hover .notch-nav-wrapper {
        max-width: 700px;
    }
}

.notch-pill {
    padding: 8px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.notch-pill .logo-pill img {
    height: 42px;
    width: auto;
    display: block;
}

.notch-side {
    display: flex;
    align-items: center;
    padding: 0 6px;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: nowrap;
}

.left-side { justify-content: flex-end; }
.right-side { justify-content: flex-start; }

@media (hover: hover) and (pointer: fine) {
    .top-bar:hover .notch-side {
        opacity: 1;
        width: 300px;
        transition-delay: 0.05s;
    }
}

.notch-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.08);
    align-self: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .top-bar:hover .notch-divider {
        opacity: 1;
        transition-delay: 0.05s;
    }
}

.pocket-nav {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    padding: 0 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pocket-nav:hover, 
.pocket-nav.active {
    color: var(--color-orange);
}

/* === NAVBAR VARIANT D (PILL) === */
.pill-nav-wrapper {
    width: calc(100% - 48px);
    max-width: 1200px;
    height: 44px;
    background: #0f0f0f;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    margin: 0 auto;
    align-items: center;
    padding: 0 14px 0 16px;
    box-sizing: border-box;
    z-index: 50;
    position: relative;
}

.pill-logo {
    display: flex;
    align-items: center;
}

.pill-logo img {
    height: 28px;
    width: auto;
    display: block;
    margin-right: 4px;
}

.pill-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.1);
    margin: 0 12px;
}

.pill-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    padding: 0 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.pill-link:hover,
.pill-link.active {
    color: var(--color-orange);
}

.pill-spacer {
    flex: 1;
}

/* Mobile-nav-bar removed — replaced by mobile-notch-bar */
#site-header .mobile-nav-bar { display: none; }

/* ===== Mobile Notch Bar (mobile only) ===== */
.mobile-notch-bar {
    display: none;
}

@media (max-width: 1023px) {
    #site-header .top-bar { display: none; }

    .mobile-notch-bar {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        background: #0f0f0f;
    }

    .mobile-notch-pill {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
        background: #0f0f0f;
        border-radius: 0 0 26px 26px;
        border-left: 1px solid rgba(255,255,255,0.09);
        border-right: 1px solid rgba(255,255,255,0.09);
        border-bottom: 1px solid rgba(255,255,255,0.09);
        box-shadow: 0 4px 24px rgba(0,0,0,0.35);
        padding: 6px 16px 10px 16px;
    }

    .mobile-notch-pill::after {
        content: '';
    }

    .mobile-notch-pill .hamburger {
        justify-self: start;
    }
}

/* ===== Hamburger ===== */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    align-items: flex-end;
    justify-content: center;
}
.hamburger span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: white;
    transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 18px; }
.hamburger span:nth-child(3) { width: 22px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); width: 24px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 24px; }

/* ===== Mobile Drawer — fullscreen overlay ===== */
#mobile-drawer {
    position: fixed;
    inset: 0;
    width: 100%; height: 100%;
    background: #0a0a0a;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 48px 32px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}
#mobile-drawer.open {
    opacity: 1;
    pointer-events: all;
}
.drawer-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none; border: none;
    cursor: pointer;
    color: white; padding: 8px;
}
.drawer-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    padding: 16px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    width: 100%;
    max-width: 320px;
    transition: color var(--transition-fast);
}
.drawer-link:hover, .drawer-link.active { color: var(--color-orange); }
#drawer-overlay {
    display: none; /* fullscreen drawer replaces overlay */
}
.drawer-cta {
    justify-content: center;
    margin-top: 32px;
    width: 100%;
    max-width: 320px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    background: var(--color-dark);
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0 64px 80px;
    max-width: 720px;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: heroBounce 1.8s ease-in-out infinite;
}
@keyframes heroBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}
@media (max-width: 768px) { .hero-content { padding: 0 20px 60px; } }

/* ===== Page Hero — Light (all subpages) ===== */
.page-hero-light {
    background: var(--color-bg);
    padding: 48px 24px 48px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.page-hero-light h1 { 
    color: var(--color-text); 
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}
.page-hero-light p { color: var(--color-text-body); max-width: 500px; margin: 0 auto; }
.accent-line {
    width: 48px; height: 4px;
    background: var(--color-orange);
    border-radius: 2px;
    margin: 24px auto 0;
}
@media (max-width: 768px) { .page-hero-light { padding: 60px 20px 60px; } }

/* ===== Split Image ===== */
.split-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}
.split-image img, .split-image video { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-image img { aspect-ratio: 3/4; }
.split-image video { aspect-ratio: 16/10; }

/* ===== Buttons ===== */
.btn-primary, .btn-secondary, .btn-ghost-light, .btn-ochre {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 22px;
    font-family: var(--font-body); font-size: 13px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
    border-radius: 8px; border-width: 1.6px; border-style: solid; cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary      { background: var(--color-orange); color: var(--color-dark); border-color: var(--color-orange); box-shadow: 0 4px 12px rgba(232,107,50,0.2); }
.btn-primary:hover  { background-color: var(--color-orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,107,50,0.3); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(232,107,50,0.15); }

.btn-secondary      { background: transparent; color: var(--color-dark); border-color: var(--color-dark); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.btn-secondary:hover  { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.btn-secondary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

.btn-ghost-light      { background: transparent; color: var(--color-bg); border-color: var(--color-bg); box-shadow: 0 4px 12px rgba(247,245,242,0.1); }
.btn-ghost-light:hover  { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(247,245,242,0.2); }
.btn-ghost-light:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(247,245,242,0.05); }

.btn-ochre      { background: transparent; color: var(--color-ochre); border-color: var(--color-ochre); box-shadow: 0 4px 12px rgba(212,175,55,0.15); }
.btn-ochre:hover  { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.25); }
.btn-ochre:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(212,175,55,0.1); }

/* ===== Section Label ===== */
.section-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
}

/* ===== Brand Track (shared animation) ===== */
.brand-track {
    display: flex;
    gap: 0;
    align-items: center;
    animation: brandScroll 30s linear infinite;
    width: max-content;
}
.brand-track:hover { animation-play-state: paused; }
@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Store Card ===== */
.store-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.store-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--color-shadow-hover); }
.store-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-orange);
    font-weight: 600;
    font-size: 1rem;
    transition: opacity var(--transition-fast);
}
.store-phone:hover { opacity: 0.75; }
.store-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== Pillar Card ===== */
.pillar-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--color-shadow-hover); }
.pillar-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255,140,66,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillar-icon svg { width: 20px; height: 20px; stroke: var(--color-orange); }

/* ===== Category Cards ===== */
.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.category-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover { transform: scale(1.02); box-shadow: 0 14px 36px var(--color-shadow-hover); }
.category-card:hover img { transform: scale(1.06); }
.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.15) 55%, transparent);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}
.category-card-overlay h3 { color: white; font-size: 1.375rem; font-weight: 600; }
.category-card-overlay p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 6px; }

/* ===== Device Cards ===== */
.device-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface-elevated);
}
.device-card video { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
.device-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
    display: flex; align-items: flex-end;
    padding: 20px;
}
.device-card h3 { color: white; font-size: 1.125rem; font-weight: 600; }
.device-card p { color: rgba(255,255,255,0.75); font-size: 0.9375rem; margin-top: 4px; }

/* ===== Instagram Grid ===== */
.insta-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color var(--transition-base), transform var(--transition-base);
}
.insta-item:hover { border-color: rgba(255,140,66,0.4); transform: translateY(-4px); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.insta-item:hover img { transform: scale(1.08); }

/* ===== Contact Card ===== */
.contact-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--color-shadow-hover); }
.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    background: var(--color-orange);
    color: var(--color-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all var(--transition-base);
}
.call-btn:hover { background: var(--color-orange-hover); box-shadow: 0 8px 24px var(--color-shadow-hover); transform: translateY(-1px); }

/* ===== Map ===== */
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.map-card iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ===== Contatti Map+Panel ===== */
.contatti-map-section {
    display: flex;
    height: 600px;
    overflow: hidden;
    position: relative;
}
.contatti-map-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
}
.contatti-map {
    position: absolute;
    inset: 0;
}
/* Panel — animates width from 0 to 360px */
.contatti-panel {
    flex-shrink: 0;
    width: 0;
    overflow: hidden;
    transition: width 0.35s ease;
    position: relative;
    z-index: 1;
}
.contatti-panel.is-open {
    width: 360px;
}
/* Fixed-width inner so content doesn't collapse during animation */
.contatti-panel-inner {
    width: 360px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-left: 1px solid var(--color-border);
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
    overflow: hidden;
}
.contatti-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 12px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
.contatti-panel-header h2 {
    font-size: 1.1rem;
    margin: 0;
}
.contatti-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: transparent;
    cursor: pointer;
    color: var(--color-dark);
    transition: background 0.15s;
    flex-shrink: 0;
}
.contatti-panel-close:hover { background: var(--color-surface); }
.contatti-panel-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s;
}
.contatti-panel-back:hover { opacity: 1; }
.contatti-stores {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
}
.contatti-store-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
    border-right: none;
    border-top: none;
}
.contatti-store-item:hover,
.contatti-store-item.is-active { background: var(--color-surface); }
.contatti-store-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-dark);
}
.contatti-store-detail p {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.5);
    margin: 0;
    line-height: 1.5;
}
.contatti-store-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}
.contatti-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background: white;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.contatti-action-btn:hover { background: var(--color-surface); }
.contatti-action-btn--wa { color: #25d366; border-color: rgba(37,211,102,0.4); }
.contatti-action-btn--wa:hover { background: #f0fff4; }
/* Toggle button sits above all Leaflet panes (tile pane = z-index 200 inside map) */
.contatti-panel-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: white;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    transition: box-shadow 0.15s;
}
.contatti-panel-toggle:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
@media (max-width: 767px) {
    .contatti-map-section { flex-direction: column; height: auto; }
    .contatti-map-wrapper { height: 320px; flex: none; }
    .contatti-panel,
    .contatti-panel.is-open { width: 100%; }
    .contatti-panel-inner {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--color-border);
        max-height: 360px;
    }
    .contatti-panel-toggle { display: none; }
}


/* ===== FAQ ===== */
.faq-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255,140,66,0.07);
    border: 1px solid rgba(255,140,66,0.18);
    color: var(--color-orange);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}
.faq-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: box-shadow var(--transition-base);
}
.faq-item:hover { box-shadow: 0 8px 28px var(--color-shadow-hover); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-text);
    background: none; border: none;
    width: 100%; text-align: left;
    transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--color-orange); }
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-orange); transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--color-text-body); line-height: 1.75; font-size: 1rem; }

/* Home Minimal FAQ (Transparent, simple border) */
.faq-item-minimal {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}
.faq-item-minimal:hover { box-shadow: none; }
.faq-item-minimal .faq-question {
    padding: 24px 0;
    font-size: 1.125rem;
}
.faq-item-minimal .faq-question:hover { color: var(--color-text); opacity: 0.8;}
.faq-item-minimal .faq-icon {
    color: var(--color-text-muted);
}
.faq-item-minimal.active .faq-icon {
    color: var(--color-text);
}
.faq-item-minimal .faq-answer-inner {
    padding: 0 0 24px 0;
    font-size: 1rem;
    color: var(--color-text-body);
}

/* ===== Trust Bar ===== */
.trust-bar-inner {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: trustScroll 30s linear infinite;
    padding-right: 60px;
}
.trust-bar-inner:hover { animation-play-state: paused; }
@keyframes trustScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Photo Strip ===== */
.photo-strip-item { overflow: hidden; position: relative; }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.photo-strip-item:hover img { transform: scale(1.04); }

/* ===== Scroll Reveal ===== */
.reveal, .card-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.is-visible, .card-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.card-reveal { transition-delay: calc(var(--card-index, 0) * 0.1s); }

/* ===== Feature Pillars ===== */
.feature-pillar-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-pillar-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}
.feature-pillar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}
.feature-pillar-desc {
    font-size: 0.9375rem;
    color: var(--color-text-body);
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* ===== Footer Social ===== */
.footer-newsletter-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255,140,66,0.16), transparent 44%),
        linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    overflow: hidden;
}
.footer-newsletter-copy {
    max-width: 430px;
}
.footer-newsletter-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1rem;
}
.footer-newsletter-text {
    color: rgba(255,255,255,0.66);
    line-height: 1.75;
    margin: 0;
}
.footer-newsletter-art {
    position: relative;
    min-height: 220px;
}
.footer-newsletter-art::before {
    content: "";
    position: absolute;
    inset: 8% 2% 8% auto;
    width: 72%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 72%);
    filter: blur(18px);
}
.footer-newsletter-art-image {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    display: block;
    opacity: 0.95;
}
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-base);
}
.footer-social a:hover { background: var(--color-orange); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; stroke: white; }

/* ===== Flavor Chips ===== */
.flavor-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.flavor-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255,140,66,0.08);
    border: 1px solid rgba(255,140,66,0.2);
    color: var(--color-orange);
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: var(--font-body);
    white-space: nowrap;
}

/* ===== Hero (reworked) ===== */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 16px;
}
.hero-title-accent { color: var(--color-orange); }
.hero-location {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    margin: 0 0 40px;
}
.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.btn-secondary-light {
    color: white;
    border-color: rgba(255,255,255,0.4);
    box-shadow: 3px 3px 0 0 rgba(255,255,255,0.3);
}
.btn-secondary-light:hover {
    transform: translate(-2px,-2px);
    box-shadow: 5px 5px 0 0 rgba(255,255,255,0.3);
    color: white;
}
.btn-secondary-light:active {
    transform: translate(2px,2px);
    box-shadow: 1px 1px 0 0 rgba(255,255,255,0.3);
}

/* ===== Identity Strip ===== */
.identity-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 420px;
}
.identity-card {
    position: relative;
    overflow: hidden;
}
.identity-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.identity-card:hover img { transform: scale(1.04); }
.identity-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    z-index: 1;
}
.identity-card-label {
    position: absolute;
    bottom: 24px; left: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.identity-card-sub {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.identity-card-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: white;
    line-height: 1;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .identity-strip { grid-template-columns: 1fr; height: auto; }
    .identity-card { height: 260px; }
}

/* ===== Mi Vida Showcase ===== */
.mivida-section {
    background: var(--mivida-bg, #0f0f0f);
    transition: background-color 0.5s ease;
    padding: 100px 0 80px;
    overflow: hidden;
}
.mivida-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 400;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
}
.mivida-fan {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 360px;
    position: relative;
    margin-bottom: 48px;
}
.mivida-bottle {
    position: absolute;
    width: 90px;
    cursor: pointer;
    transform-origin: bottom center;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, width 0.4s ease;
    opacity: 0.55;
}
.mivida-bottle img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
    pointer-events: none;
}
.mivida-bottle.active {
    width: 160px;
    opacity: 1;
    z-index: 10;
    transform: translateY(-20px) !important;
}
.mivida-bottle:hover:not(.active) { opacity: 0.8; }
.mivida-info { text-align: center; }
.mivida-flavor-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    color: white;
    text-transform: uppercase;
    margin-bottom: 32px;
    min-height: 1.2em;
    transition: opacity 0.25s ease;
}
.mivida-attributes {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.mivida-attr { text-align: center; }
.mivida-attr-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.mivida-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
}
.mivida-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: background 0.3s ease;
}
.mivida-dot.filled { background: var(--color-orange); }
@media (max-width: 768px) {
    .mivida-fan {
        position: relative;
        height: auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 20px 24px 40px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }
    .mivida-fan::-webkit-scrollbar { display: none; }
    .mivida-bottle {
        position: relative;
        flex-shrink: 0;
        width: 120px;
        scroll-snap-align: center;
        transform: none !important;
        opacity: 0.6;
    }
    .mivida-bottle.active {
        width: 150px;
        opacity: 1;
        transform: none !important;
    }
}

/* ===== La Tabaccheria ===== */
.tabaccheria-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    color: white;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 40px;
}
.tabaccheria-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
    align-items: stretch;
}
.tabaccheria-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}
.tabaccheria-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.tabaccheria-card img, .tabaccheria-card video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.tabaccheria-card:hover img, .tabaccheria-card:hover video { transform: scale(1.03); }
.tabaccheria-card-main { min-height: 520px; }
.tabaccheria-card-sm  { min-height: 244px; }
.tabaccheria-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.tabaccheria-card-overlay {
    position: absolute;
    bottom: 20px; left: 20px;
    z-index: 2;
}
.tabaccheria-card-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tabaccheria-card-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .tabaccheria-grid { grid-template-columns: 1fr; }
    .tabaccheria-card-main { min-height: 320px; }
}

/* ===== Brand Bar (FÜM style — ochre bg) ===== */
.brand-bar { background: var(--color-ochre); }
.brand-bar-header {
    display: flex;
    align-items: center;
    gap: 20px;
}
.brand-bar-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    color: rgba(15,15,15,0.5);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
}
.brand-bar-rule {
    flex: 1;
    height: 1px;
    background: rgba(15,15,15,0.15);
}
.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    flex-shrink: 0;
}
.brand-logo-item img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.65;
    transition: opacity 0.3s ease;
}
.brand-logo-item:hover img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: #25d366;
    color: white;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}
.whatsapp-btn:hover { opacity: 0.9; transform: translateY(-1px); color: white; }
.whatsapp-btn svg { flex-shrink: 0; }

/* ===== FAQ Split Layout ===== */
.faq-split-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}
.faq-split-headline {
    position: sticky;
    top: 60px;
}
.faq-big-headline {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 400;
    color: var(--color-text);
    text-transform: uppercase;
    line-height: 0.95;
    margin-top: 12px;
}
@media (max-width: 768px) {
    .faq-split-layout { grid-template-columns: 1fr; gap: 40px; }
    .faq-split-headline { position: static; }
}

/* ===== Device Cards (static) ===== */
.device-card-static {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.device-card-static img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.device-card-static:hover img { transform: scale(1.04); }
.device-card-static-label {
    padding: 20px;
    background: white;
}
.device-card-static-label h3 { margin-bottom: 4px; }
.device-card-static-label p { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }

/* ===== Privacy Policy Prose ===== */
.prose-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.prose-content h3 { font-size: 1.125rem; margin: 1.5rem 0 .75rem; }
.prose-content p  { margin-bottom: 1rem; color: var(--color-text-body); }
.prose-content ul { margin: 1rem 0 1rem 1.5rem; list-style: disc; }
.prose-content li { margin-bottom: .5rem; color: var(--color-text-body); }
.prose-content a  { color: var(--color-orange); }

/* ===== 404 Page ===== */
.fourohfour-section { padding: 80px 24px; }
.fourohfour-num {
    font-family: var(--font-heading);
    font-size: clamp(8rem, 20vw, 14rem);
    line-height: 1;
    color: var(--color-orange);
    margin-bottom: 0;
}
.fourohfour-secondary {
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.fourohfour-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: white;
}

/* ===== Testimonials (Google Reviews style) ===== */
.gr-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}
@media (min-width: 640px) { .gr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gr-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .gr-grid { grid-template-columns: repeat(5, 1fr); } }

.gr-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.gr-card__header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.gr-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.gr-card__meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}
.gr-card__name {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gr-card__row {
    display: flex;
    align-items: center;
    gap: 3px;
}
.gr-card__date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.gr-card__via {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.gr-summary {
    margin: 10px 0 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}
.gr-summary strong {
    color: var(--color-text);
    font-weight: 700;
}
.gr-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}
.gr-card__stars { margin-top: -2px; }
.gr-card__text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-body);
    margin: 0;
}



/* ===== Age Gate ===== */
.age-gate {
    position: fixed; inset: 0;
    background: rgba(10,10,18,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: opacity 0.4s ease;
}
.age-gate-modal {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}
.age-gate-logo {
    height: 48px;
    width: auto;
    margin: 0 auto 24px;
    display: block;
}
.age-gate-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}
.age-gate-text {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 32px;
}
.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* ===== Cookie Notice ===== */
.cookie-notice {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #0f0f0f;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 9990;
    flex-wrap: wrap;
}
.cookie-notice-text {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin: 0;
}
.cookie-notice-text a { color: var(--color-orange); }
.cookie-notice-btn {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: var(--color-orange);
    color: #0f0f0f;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.cookie-notice-btn:hover { background: var(--color-orange-hover); }

/* ===== Newsletter ===== */
.newsletter-container {
    max-width: 720px;
}
.newsletter-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}
.newsletter-desc {
    color: rgba(255,255,255,0.6);
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 32px;
}
.newsletter-form {
    max-width: 460px;
    margin: 0 auto;
}
.newsletter-input-group {
    display: flex;
    gap: 8px;
}
.newsletter-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: 14px 20px;
    background: rgba(255,255,255,0.06);
    border: 1.6px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: white;
    outline: none;
    transition: border-color var(--transition-fast);
}
.newsletter-input::placeholder {
    color: rgba(255,255,255,0.35);
}
.newsletter-input:focus {
    border-color: var(--color-orange);
}
.newsletter-btn {
    flex-shrink: 0;
}
.newsletter-privacy {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    margin-top: 16px;
}
@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== WordPress Core ===== */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 8px; }

/* ===== Brand Identity Split ===== */
.identity-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
@media (max-width: 768px) {
  .identity-split { grid-template-columns: 1fr; }
}
.identity-split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.identity-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
}
@media (max-width: 768px) {
  .identity-split-content { padding: 2rem 1.5rem; }
}

/* ===== Device Video Cards ===== */
.device-video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--color-dark);
}
.device-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.device-video-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
}
.device-video-card-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.25rem;
}
.device-video-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

/* ===== Promo Video Block (wide cinematic) ===== */
.promo-video-block {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .promo-video-block { aspect-ratio: 16 / 9; border-radius: 8px; }
}
.promo-video-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-video-block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

/* ===== Store Video Hero (chi-siamo) ===== */
.store-video-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.store-video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Map Consent Gate ===== */
.map-consent-gate {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-dark);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem;
}
.map-consent-gate[data-map-loaded="true"] {
  padding: 0;
  background: transparent;
  aspect-ratio: unset;
  height: 280px;
}
.map-consent-gate[data-map-loaded="true"] .map-consent-prompt { display: none; }
.map-consent-gate iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}
.map-consent-btn {
  background: var(--color-orange);
  color: #fff;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  cursor: pointer;
  letter-spacing: 0.05em;
}
.map-consent-btn:hover { opacity: 0.88; }

/* ===== Newsletter Success ===== */
.newsletter-success {
  display: none;
  padding: 1rem 1.5rem;
  background: rgba(201, 164, 74, 0.15);
  border: 1px solid var(--color-ochre);
  border-radius: 8px;
  color: var(--color-ochre);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.newsletter-success.visible { display: block; }

/* ===== Tabaccheria Light Mode ===== */
.tabaccheria-section--light {
  background: var(--color-cream-warm) !important;
  color: var(--color-dark) !important;
}
.tabaccheria-section--light .section-title { color: var(--color-dark); }
.tabaccheria-section--light .section-label { color: var(--color-amber); }
.tabaccheria-section--light .tabaccheria-card-overlay { background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); }

/* ===== Section utility ===== */
.tabaccheria-header { margin-bottom: 2rem; }

@media (max-width: 900px) {
    .footer-newsletter-panel {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    .footer-newsletter-art {
        min-height: 0;
    }
    .footer-newsletter-art-image {
        max-width: 360px;
        margin: 0 auto;
    }
}

/* ===== Home Product Carousel ===== */
.hp-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-dark);
  background: transparent;
  cursor: pointer;
  color: var(--color-dark);
  transition: background 0.2s, color 0.2s;
}
.hp-nav-btn:hover {
  background: var(--color-dark);
  color: var(--color-bg);
}
.hp-tab {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--color-text-muted);
  transition: all 0.2s;
  line-height: 1.4;
}
.hp-tab.active {
  border-color: var(--color-dark);
  color: var(--color-dark);
  background: white;
}
.hp-tab:hover:not(.active) {
  color: var(--color-dark);
}
.hp-slide.hidden { display: none !important; }

/* Product carousel: 3-col grid on desktop, horizontal scroll on mobile */
.hp-slide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; /* fallback; gap-5 from Tailwind overrides on desktop */
}
@media (max-width: 639px) {
    .hp-slide-grid {
        display: flex;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 8px;
    }
    .hp-slide-grid::-webkit-scrollbar { display: none; }
    .hp-slide-grid > div {
        flex: 0 0 72vw;
        scroll-snap-align: start;
    }
}

/* Tabs row: scrollable on narrow phones */
@media (max-width: 639px) {
    #hp-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }
    #hp-tabs::-webkit-scrollbar { display: none; }
    .hp-tab { flex-shrink: 0; }
}

/* ===== Home Scroll Rows (Black Lion + Mi Vida) ===== */
.home-scroll-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.home-scroll-row::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .home-scroll-row {
    padding-left: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
  }
}

.home-scroll-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
}
.home-scroll-card--tall {
  width: 260px;
  aspect-ratio: 3 / 4;
  position: relative;
}
.home-scroll-card--bottle {
  width: 180px;
}

/* ===== Mi Vida Lightbox ===== */
.mivida-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.3s ease;
}
.mivida-lightbox.active { display: flex; opacity: 1; }
.mivida-lightbox-img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; border-radius: 12px;
}
.mivida-lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: #fff;
  font-size: 2.5rem; cursor: pointer; line-height: 1;
  opacity: 0.7; transition: opacity 0.2s;
}
.mivida-lightbox-close:hover { opacity: 1; }
.mivida-lightbox-prev,
.mivida-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0.7; transition: opacity 0.2s, background 0.2s;
}
.mivida-lightbox-prev:hover,
.mivida-lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.2); }
.mivida-lightbox-prev { left: 16px; }
.mivida-lightbox-next { right: 16px; }
.mivida-lightbox-caption {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,0.8);
  font-size: 0.9rem; font-weight: 500;
}

/* ===== Liquidi Gallery Carousel ===== */
.liquidi-gallery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}
.liquidi-gallery-nav {
    display: flex;
    gap: 8px;
}
.liquidi-gallery-prev,
.liquidi-gallery-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    background: white;
    cursor: pointer;
    color: var(--color-dark);
    transition: background 0.15s, border-color 0.15s;
}
.liquidi-gallery-prev:hover,
.liquidi-gallery-next:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: white;
}
.liquidi-gallery-track {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.liquidi-gallery-track::-webkit-scrollbar { display: none; }
.liquidi-gallery-item {
    flex: 0 0 auto;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    position: relative;
}
.liquidi-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.liquidi-gallery-item:hover img {
    transform: scale(1.05);
}
@media (max-width: 767px) {
    .liquidi-gallery-item {
        width: 150px;
        height: 150px;
    }
}

/* ===== Category Band ===== */
.category-band {
    border-top: 1px solid var(--color-border, rgba(0,0,0,.07));
    border-bottom: 1px solid var(--color-border, rgba(0,0,0,.07));
}
.category-band-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 1.5rem;
    height: 42px;
}
.category-band-label {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.category-band-right {
    margin-left: auto;
    font-size: .625rem;
    border-radius: 4px;
    padding: 2px 8px;
    border: 1px solid var(--color-border, rgba(0,0,0,.08));
}

/* ===== Liquidi Hero (Redesigned) ===== */
.liquidi-hero { overflow: hidden; }

.liquidi-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
}

.liquidi-hero-copy-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: clamp(60px, 8vh, 96px) 48px clamp(60px, 8vh, 96px) 24px;
}

.liquidi-hero-copy {
    max-width: 520px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.liquidi-hero-mark {
    margin-bottom: 24px;
    opacity: 0.8;
}

.liquidi-hero-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 20px;
}

.liquidi-hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4.8vw, 4.8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: white;
    text-transform: uppercase;
    margin: 0 0 4px;
}

.liquidi-hero-heading-accent {
    color: var(--color-orange);
}

.liquidi-hero-rule {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 28px 0;
    flex-shrink: 0;
}

.liquidi-hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
    margin-bottom: 32px;
}

.liquidi-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.liquidi-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.liquidi-pill:hover {
    color: white;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
}

.liquidi-hero-media {
    position: relative;
    overflow: hidden;
}
.liquidi-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 767px) {
    .liquidi-hero-grid {
        grid-template-columns: 1fr;
        min-height: unset;
    }
    .liquidi-hero-copy-col {
        justify-content: flex-start;
        padding: 56px 24px 40px;
    }
    .liquidi-hero-copy {
        max-width: 100%;
    }
    .liquidi-hero-media {
        height: 300px;
    }
}

/* ===== Liquidi Proof Strip ===== */
.liquidi-proof-strip {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.liquidi-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
}

.liquidi-proof-item {
    padding: 28px 24px;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.liquidi-proof-item:last-child {
    border-right: none;
}

.liquidi-proof-item dt {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.liquidi-proof-item dt svg {
    flex-shrink: 0;
    stroke: var(--color-orange);
}

.liquidi-proof-item dd {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.48);
    line-height: 1.6;
    padding-left: 28px;
    margin: 0;
}

@media (max-width: 767px) {
    .liquidi-proof-grid {
        grid-template-columns: 1fr;
    }
    .liquidi-proof-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 20px 24px;
    }
    .liquidi-proof-item:last-child {
        border-bottom: none;
    }
}

/* ===== Liquidi Split Sections ===== */
.liquidi-split-section {
    overflow: hidden;
}
.liquidi-split-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    min-height: 420px;
}
.liquidi-split-grid--reverse {
    grid-template-columns: 7fr 5fr;
}
.liquidi-split-media {
    overflow: hidden;
    min-height: 420px;
    position: relative;
}
.liquidi-split-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.liquidi-split-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem;
    gap: 20px;
}
.liquidi-split-text h2 {
    margin: 0;
}
.liquidi-split-text p {
    color: var(--color-text-body);
    max-width: 480px;
    margin: 0;
}
.liquidi-split-text--dark p {
    color: rgba(255,255,255,0.75);
}
.liquidi-split-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.liquidi-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: rgba(232,107,50,0.07);
    border: 1px solid rgba(232,107,50,0.2);
    color: var(--color-orange);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
}
.liquidi-tag--dark {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
}
.liquidi-split-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-orange);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}
.liquidi-split-link:hover { opacity: 0.75; }
.liquidi-split-link--dark {
    color: rgba(255,255,255,0.55);
}
.liquidi-split-link--dark:hover { opacity: 1; color: white; }
@media (max-width: 767px) {
    .liquidi-split-grid,
    .liquidi-split-grid--reverse {
        grid-template-columns: 1fr;
        min-height: unset;
    }
    .liquidi-split-grid--reverse .liquidi-split-media {
        order: -1;
    }
    .liquidi-split-media {
        height: 280px;
        min-height: unset;
    }
    .liquidi-split-text {
        padding: 2rem 1.5rem;
        gap: 16px;
    }
}
