/* --- VARIABILI & SETUP --- */
:root {
    --bg: #F8FAFC;
    --primary: #0F172A;      /* Blu Notte Premium */
    --accent: #D4AF37;       /* Oro/Bronzo */
    --text: #334155;
    --white: #FFFFFF;
    --sidebar-w: 300px;      /* Ridotto leggermente per mobile */
    --sold: #EF4444;
    --coming: #F59E0B;
}

body { font-family: 'Outfit', sans-serif; margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden; }
* { box-sizing: border-box; outline: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; color: var(--primary); }
ul { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* STILE IMMAGINE LOGO */
.logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* --- NAVBAR STICKY --- */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    padding: 15px 5%; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.nav-left { display: flex; align-items: center; gap: 15px; } 
.logo { 
    font-size: 1.6rem; font-weight: 800; letter-spacing: 1px; color: var(--primary); 
    cursor: pointer; display: flex; align-items: center; gap: 8px; 
}
.logo span { color: var(--accent); }
.menu-trigger { background: none; border: none; color: var(--primary); font-size: 1.4rem; display: flex; align-items: center; padding: 5px; }
.btn-nav-contact {
    background: var(--primary); color: var(--accent); padding: 12px 28px;
    border-radius: 4px; font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; transition: 0.3s;
}
.btn-nav-contact:hover { background: var(--accent); color: white; }

/* --- SIDEBAR (CORRETTA PER MOBILE) --- */
#overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.6); z-index: 1500; 
    opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(3px); 
}
#overlay.active { opacity: 1; visibility: visible; }

.sidebar {
    position: fixed; top: 0; left: 0; width: var(--sidebar-w); height: 100%;
    background: #0f172a; color: white; z-index: 2000;
    /* FIX MOBILE: Nascondi completamente fuori schermo */
    transform: translateX(-100%);
    visibility: hidden; 
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    box-shadow: 5px 0 30px rgba(0,0,0,0.3); display: flex; flex-direction: column;
}

/* Quando ha la classe .open, diventa visibile e scorre dentro */
.sidebar.open { 
    transform: translateX(0); 
    visibility: visible; 
}

.sidebar-header { padding: 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.2); }
.close-btn { background: none; border: none; color: white; font-size: 1.5rem; opacity: 0.7; transition: 0.3s; padding: 5px;}
.close-btn:hover { opacity: 1; transform: rotate(90deg); }

.sidebar-content { padding: 25px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.widget { margin-bottom: 40px; }
.widget h4 { color: var(--accent); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }

.sidebar-menu li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.03); cursor: pointer; display: flex; align-items: center; gap: 15px; font-weight: 400; transition: 0.2s; font-size: 1rem; }
.sidebar-menu li:hover { padding-left: 10px; color: var(--accent); background: rgba(255,255,255,0.02); }

/* Preferiti Sidebar */
.fav-list { font-size: 0.9rem; font-weight: 300; min-height: 50px; }
.fav-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding: 10px; background: rgba(255,255,255,0.05); border-radius: 6px; transition: 0.2s; }
.fav-item:hover { background: rgba(255,255,255,0.1); }

/* Calcolatore */
.calc-box input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 12px; margin-bottom: 12px; border-radius: 6px; font-size: 16px; } /* font 16px evita zoom su iPhone */
.btn-gold { width: 100%; background: var(--accent); border: none; padding: 12px; color: black; font-weight: 800; margin-top: 5px; border-radius: 6px; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.btn-gold:hover { background: white; }
#risultato-rata { margin-top: 15px; color: var(--accent); font-weight: bold; text-align: center; font-size: 1rem; padding: 10px; background: rgba(0,0,0,0.2); border-radius: 6px; }

/* --- HERO SLIDER --- */
.hero-slider-container { position: relative; height: 65vh; min-height: 450px; overflow: hidden; background: #000; }
.hero-slider { height: 100%; width: 100%; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 1s ease;
}
.slide::before { content:''; position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7)); }
.slide.active { opacity: 1; }
.slide-content { position: relative; z-index: 2; text-align: center; color: white; padding: 20px; max-width: 900px; }
.slide-content h5 { color: var(--accent); letter-spacing: 4px; margin-bottom: 15px; font-size: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.slide-content h1 { font-size: 3.5rem; margin-bottom: 15px; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.slide-price { display: block; font-size: 1.8rem; font-weight: 300; margin-bottom: 30px; color: #f1f5f9; }
.btn-hero { background: white; color: var(--primary); padding: 15px 40px; border: none; font-weight: 800; letter-spacing: 1px; transition: 0.3s; border-radius: 4px; }
.btn-hero:hover { background: var(--accent); color: white; transform: translateY(-3px); }

.slider-controls { position: absolute; bottom: 30px; right: 30px; z-index: 10; display: flex; gap: 15px; }
.slider-controls button { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white; width: 45px; height: 45px; border-radius: 50%; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition:0.3s; backdrop-filter: blur(5px); }
.slider-controls button:hover { background: var(--accent); border-color: var(--accent); }

/* --- LINK RAPIDI --- */
.quick-links { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin: 80px 0;
    position: relative; 
    z-index: 10; 
}
.link-card {
    background: white; padding: 40px 25px; border-radius: 15px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); text-align: center; cursor: pointer; 
    transition: all 0.4s ease; border-bottom: 5px solid transparent; 
}
.link-card:hover { transform: translateY(-10px); border-bottom-color: var(--accent); box-shadow: 0 25px 60px rgba(0,0,0,0.15); }
.link-card span { font-size: 45px; color: var(--primary); margin-bottom: 20px; display: inline-block; background: #F1F5F9; padding: 20px; border-radius: 50%; transition: 0.4s; }
.link-card:hover span { background: var(--primary); color: var(--accent); }
.link-card h3 { margin: 0 0 10px; font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.link-card p { color: #64748b; font-size: 1rem; margin: 0; line-height: 1.6; }

/* --- SEZIONI --- */
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* Chi Siamo */
.about-section { margin-bottom: 100px; margin-top: 80px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.about-image img { width: 100%; height: auto; display: block; object-fit: cover; }
.experience-badge { position: absolute; bottom: 0; right: 0; background: var(--accent); color: white; padding: 30px; text-align: center; border-top-left-radius: 20px; }
.experience-badge .years { font-size: 2.5rem; font-weight: 800; display: block; line-height: 1; }

.about-text h6 { color: var(--accent); letter-spacing: 2px; margin-bottom: 15px; }
.about-text h2 { font-size: 3rem; line-height: 1.1; margin-bottom: 25px; }
.about-text p { color: #64748b; line-height: 1.8; margin-bottom: 20px; font-size: 1.05rem; }

/* --- GRIGLIA AUTO & FILTRI --- */
.showroom-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.category-tabs { display: flex; gap: 10px; }
.cat-btn { background: white; color: var(--text); padding: 12px 20px; border: 1px solid #e2e8f0; border-radius: 8px; font-weight: 600; transition: 0.3s; }
.cat-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2); }
.cat-btn:not(.active):hover { background: #f1f5f9; }

.advanced-filters-row { display: flex; gap: 15px; align-items: center; }
.search-input { display: flex; align-items: center; background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 0 10px; }
.search-input input { border: none; padding: 10px 0; background: none; font-size: 16px; }
.search-input span { color: #94a3b8; margin-right: 5px; }
.filter-dropdowns { display: flex; gap: 15px; }
.filter-dropdowns select { padding: 10px 15px; border: 1px solid #e2e8f0; border-radius: 8px; background: white; font-family: inherit; font-size: 16px; }

.grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; padding-bottom: 80px; }

.card { background: white; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: 0.4s; cursor: pointer; border: 1px solid rgba(0,0,0,0.03); }
.card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }
.card-img-wrap { height: 240px; position: relative; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.card:hover .card-img-wrap img { transform: scale(1.08); }

.card-badge { position: absolute; top: 15px; left: 15px; padding: 6px 12px; font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; color: white; text-transform: uppercase; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.card-badge.sold { background: var(--sold); }
.card-badge.coming { background: var(--coming); color: black; }
.btn-card-share { position: absolute; bottom: 15px; right: 15px; width: 40px; height: 40px; background: white; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; color: var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.card-info { padding: 25px; }
.card-title { font-size: 1.3rem; margin-bottom: 8px; color: var(--primary); }
.price-final { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.price-old { text-decoration: line-through; color: #94a3b8; font-size: 0.9rem; margin-right: 10px; }
.card-features { display: flex; flex-wrap: wrap; gap: 15px; padding-top: 15px; margin-top: 15px; border-top: 1px solid #f1f5f9; font-size: 0.9rem; color: #64748b; }
.card-review { margin-top: 15px; background: #FFFBF0; padding: 10px; border-left: 3px solid var(--accent); display: block; }
.card-review .stars { color: var(--accent); font-size: 0.8rem; letter-spacing: 2px; display: block; }
.card-review .rev-text { font-style: italic; font-size: 0.8rem; color: #555; display: block; margin-top: 5px; }

/* --- MODALE --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(8px); }
.modal-overlay.open { display: flex; }
.modal-card { background: white; width: 100%; max-width: 1100px; height: 90vh; overflow-y: auto; position: relative; display: flex; flex-direction: column; border-radius: 15px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.close-modal { position: absolute; top: 15px; right: 15px; background: #f1f5f9; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-weight: bold; z-index: 10; font-size: 1.2rem; transition: 0.3s; }
.close-modal:hover { background: var(--sold); color: white; transform: rotate(90deg); }

.modal-body { display: grid; grid-template-columns: 1.5fr 1fr; height: 100%; }
.modal-gallery { background: #000; padding: 0; display: flex; flex-direction: column; justify-content: center; position: relative; }
.main-img { width: 100%; height: 100%; object-fit: contain; max-height: 60vh; }
.thumbs-list { display: flex; gap: 10px; padding: 20px; overflow-x: auto; background: rgba(255,255,255,0.05); justify-content: center; }
.thumb { height: 60px; width: 90px; object-fit: cover; opacity: 0.5; cursor: pointer; border: 2px solid transparent; border-radius: 4px; transition: 0.3s; }
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--accent); transform: scale(1.05); }

.modal-info { padding: 40px; overflow-y: auto; background: white; }
.modal-info h2 { font-size: 2.5rem; margin-bottom: 10px; line-height: 1.1; }
.price-box { margin-bottom: 30px; font-size: 2.2rem; font-weight: 800; color: var(--accent); display: flex; align-items: center; gap: 15px; }
.price-old-modal { text-decoration: line-through; color: #94a3b8; font-size: 1.3rem; margin-right: 10px; }
.price-final-modal { font-size: 2.2rem; font-weight: 800; }
.specs-row { display: flex; flex-wrap: wrap; gap: 20px; font-size: 1rem; color: #64748b; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; }
.desc-scroll { max-height: 200px; overflow-y: auto; padding-right: 15px; line-height: 1.6; }
.modal-actions { display: flex; gap: 15px; margin-top: 40px; }
.btn-action { flex: 1; padding: 16px; border: none; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: 0.3s; border-radius: 8px; font-size: 1rem; }
.btn-action.whatsapp { background: #25D366; color: white; text-decoration: none; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.btn-action.fav { background: #f1f5f9; color: var(--primary); flex: 0.3; font-size: 1.5rem; }
.btn-action.fav span { color: var(--sold); }
.btn-action.fav:hover { background: #e2e8f0; }

.wa-float { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.wa-float:hover { transform: scale(1.1); }
.wa-float img { width: 35px; height: 35px; }

.contact-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin: 80px 0; }
.contact-box { text-align: center; padding: 30px; background: white; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 5px solid var(--accent); }
.icon-circle { width: 70px; height: 70px; margin: 0 auto 20px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon-circle span { font-size: 30px; color: var(--accent); }
.map-section { margin-bottom: 80px; }
.map-wrapper { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-top: 30px; }
.map-wrapper iframe { border:0; width:100%; height:450px; }
.orari-box { background: #f1f5f9; padding: 30px; border-radius: 12px; margin-top: 30px; }

/* --- RESPONSIVE MOBILE E TABLET --- */
@media(max-width: 1024px) {
    .modal-body { grid-template-columns: 1fr; height: auto; }
    .modal-card { height: 95vh; max-width: 95vw; top: 2.5vh; }
    .main-img { max-height: 40vh; }
    .modal-gallery { order: 1; }
    .modal-info { order: 2; padding: 25px; }
}

@media(max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-text h2 { font-size: 2.5rem; }
}

@media(max-width: 768px) {
    .container { padding: 0 15px; }
    /* Sidebar su Mobile */
    .sidebar { width: 85%; max-width: 320px; }
    
    .showroom-controls { flex-direction: column; align-items: stretch; }
    .category-tabs { display: flex; overflow-x: auto; white-space: nowrap; margin-bottom: 15px; padding-bottom: 5px; }
    .category-tabs button { flex: 0 0 auto; margin-right: 10px; padding: 10px 15px; }
    .advanced-filters-row { flex-direction: column; gap: 15px; align-items: stretch; }
    .filter-dropdowns { flex-direction: column; gap: 15px; }
    .grid-container { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
    .quick-links { gap: 20px; margin: 60px 0; }
    .page-header h1 { font-size: 2.5rem; }
}

@media(max-width: 450px) {
    .logo { font-size: 1.4rem; }
    .logo-img { height: 25px; }
    .btn-nav-contact { display: none; } /* Nasconde bottone contatti su schermi piccoli per spazio */
    
    .hero-slider-container { height: 50vh; min-height: 350px; }
    .slide-content h1 { font-size: 2.2rem; }
    .slide-price { font-size: 1.5rem; }
    .slider-controls { right: 10px; bottom: 10px; }
    .slider-controls button { width: 35px; height: 35px; font-size: 1rem; }
    
    .modal-info h2 { font-size: 1.8rem; }
    .price-box { font-size: 1.8rem; }
    .modal-actions { flex-direction: column; }
}

/* =========================================
   STILI AGGIUNTIVI (DA INDEX & SHOWROOM)
   ========================================= */

/* --- TOP BAR --- */
.top-bar { background: #0f172a; color: rgba(255,255,255,0.7); padding: 8px 0; font-size: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.top-info span { margin-right: 15px; display: inline-flex; align-items: center; gap: 5px; }
.top-social a { color: white; margin-left: 10px; text-decoration: none; transition: 0.3s; }

/* --- SEARCH BOX HOME --- */
.hero-search-wrapper { position: relative; margin-top: -40px; z-index: 50; padding: 0 15px; margin-bottom: 60px; }
.hero-search-box { 
    max-width: 1000px; margin: 0 auto; background: white; padding: 25px; 
    border-radius: 10px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    display: flex; flex-wrap: wrap; gap: 15px; align-items: end; 
    border-bottom: 4px solid #D4AF37; 
}
.search-group { flex: 1; min-width: 100%; }
.search-group label { display: block; font-weight: 700; font-size: 0.8rem; color: #0F172A; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.search-group select, .search-group input { width: 100%; padding: 12px; border: 1px solid #e2e8f0; border-radius: 6px; background: #f8fafc; font-family: inherit; font-size: 16px; }
.btn-search-main { background: #0F172A; color: white; border: none; padding: 13px 30px; border-radius: 6px; font-weight: 700; cursor: pointer; height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }

/* --- FEATURES SECTION --- */
.features-section { padding: 60px 0; background: white; text-align: center; }
.sec-title { font-size: 0.8rem; color: #D4AF37; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.sec-head { font-size: 2rem; color: #0F172A; margin-bottom: 40px; line-height: 1.2; }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1300px; margin: 0 auto; padding: 0 15px; }
.feat-item { padding: 25px; border-radius: 12px; background: #F8FAFC; border: 1px solid #eee; }
.feat-icon { font-size: 36px; color: #D4AF37; margin-bottom: 15px; display: block; }
.feat-item h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; }

/* --- STATS SECTION --- */
.stats-section { padding: 60px 0; background: #0F172A; color: white; margin: 60px 0; position: relative; overflow: hidden; }
.stats-bg { position: absolute; top:0; left:0; width:100%; height:100%; opacity: 0.1; background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1300px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: #D4AF37; display: block; margin-bottom: 5px; }
.stat-label { font-size: 0.9rem; font-weight: 300; opacity: 0.8; }

/* --- BRANDS --- */
.brands-section { padding: 40px 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 60px; overflow: hidden; }
.brands-wrapper { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; opacity: 0.6; filter: grayscale(100%); }
.brand-logo { font-size: 1.1rem; font-weight: 800; color: #cbd5e1; display: flex; align-items: center; gap: 8px; }

/* --- CTA --- */
.cta-strip { background: linear-gradient(45deg, #D4AF37, #F59E0B); padding: 40px 20px; text-align: center; border-radius: 15px; margin: 60px 15px; color: #0F172A; }
.cta-strip h2 { font-size: 1.8rem; margin-bottom: 10px; }
.btn-cta-dark { background: #0F172A; color: white; padding: 15px 30px; border-radius: 50px; font-weight: 700; border: none; font-size: 0.9rem; cursor: pointer; width: 100%; max-width: 300px; }

/* --- ABOUT INLINE STATS --- */
.stat-item-inline { text-align: center; padding: 15px; background: #F1F5F9; border-radius: 8px; flex: 1; margin-bottom: 10px; }
.stat-item-inline span:first-child { font-size: 1.5rem; font-weight: 800; color: #D4AF37; display:block; }

/* --- ANIMAZIONI --- */
.hero-animate { animation: fadeInUp 1s ease-out forwards; opacity: 0; transform: translateY(20px); }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed; bottom: 85px; right: 20px;
    background: #0F172A; color: #D4AF37;
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; visibility: hidden;
    transition: all 0.3s; z-index: 999;
    border: 2px solid #D4AF37; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #D4AF37; color: #0F172A; }

/* --- MEDIA QUERIES AGGIUNTIVE --- */
@media(min-width: 768px) {
    .hero-search-box { flex-direction: row; gap: 20px; padding: 30px; }
    .search-group { min-width: auto; }
    .btn-search-main { width: auto; margin-top: 0; }
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .about-image { height: 450px; }
    .about-image img { height: 100%; object-fit: cover; }
    .top-bar { display: block; }
}

@media(max-width: 767px) {
    .top-bar { display: none; }
    .navbar { padding: 15px; }
    .logo-img { height: 25px; }
    .logo { font-size: 1.4rem; }
    
    /* Fix Modale Mobile */
    .modal-card {
        width: 95% !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        margin: 20px auto !important;
    }
    .modal-body {
        flex-direction: column !important;
        display: flex !important;
    }
    .modal-gallery { width: 100% !important; }
    .modal-info { padding: 15px !important; }
    .modal-actions {
        display: flex !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
    }
    .btn-action.whatsapp {
        flex: 3 !important;
        font-size: 0.9rem !important;
        padding: 12px !important;
    }
    .btn-action.fav {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Showroom Mobile */
    .category-tabs { margin-bottom: 10px !important; }
    .advanced-filters-row { flex-direction: column !important; gap: 5px !important; }
    .filter-dropdowns { width: 100% !important; }
    .filter-dropdowns select { flex: 1 !important; font-size: 13px !important; }
    .back-to-top { bottom: 95px; right: 15px; width: 40px; height: 40px; }
}