@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --marine: #650101;
    --sand: #F5E6DA;
    --dark: #2C2C2C;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--sand);
    color: #6A1B1B;
}


.free-shipping {
    background-color: var(--sand); /* sfondo chiaro */
    overflow: hidden;
    white-space: nowrap;

}

.scrolling-text p {
    display: inline-block;
    padding-left: 100%; /* parte fuori dallo schermo a destra */
    animation: scroll-left 15s linear infinite;
    font-weight: bold;
    font-size: 1rem;
    color: #556B2F; /* colore testo */
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Responsive */
@media (max-width: 600px) {
    .scrolling-text p {
        font-size: 0.9rem;
    }
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: #6A1B1B;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 100%;
    background: #D4A373;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: #D4A373;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Toggle hamburger */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    z-index: 1001;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 40%;
        background: #6A1B1B;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.8rem;
    }

    .menu-toggle {
        display: block;
    }
}

/* Hero */
.hero {
    padding-top: 80px; /* o quanto è alta la navbar */
    position: relative;
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8dmlub3xlbnwwfHwwfHx8MA%3D%3D') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-bottom: 100px; /* Spazio per non sovrapporre il bottone */
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(106, 27, 27, 0.5);
    opacity: 0.45; /* più basso = più trasparente */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Pulsante hero */
.btn {
    background: #6A1B1B;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(106, 27, 27, 0.4);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(106, 27, 27, 0.6);
}

/* Onda */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
    fill: var(--sand);
}

.hero-wave path {
    fill: var(--sand);
}

@media (max-width: 768px) {
    .hero {
        padding-bottom: 140px; /* più spazio sotto per evitare sovrapposizione */
    }

    .hero-wave svg {
        height: 160px; /* onda più grande su mobile */
    }
}

/* About */
#about {
    padding: 4rem 1rem;
    text-align: center;
    background: var(--sand);
}

#about h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--marine);
}

#about p {
    max-width: 800px;
    margin: 1rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 1rem auto;
    text-align: left;
}

.about-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.about-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--marine);
    font-size: 1rem;
}

.about-benefits {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    text-align: center;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    flex: 1 1 250px;
}

.benefit-item img {
    width: 60px;
    height: 60px;
}

.benefit-item h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #556B2F;
}

.benefit-item p {
    margin: 0.3rem 0 0;
    color: #555;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .about-benefits {
        flex-direction: column;
        gap: 1.5rem;
    }
}



/* Catalogo */
.catalogo-section {
    padding: 60px 20px;
    text-align: center;
    background: var(--sand);
}

.catalogo-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 600;
    color: #6A1B1B;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalogo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalogo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.catalogo-card h3 {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.catalogo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--sand); /* bianco latte */
    padding: 4rem 1.5rem;
    text-align: center;
}

.reviews-section h2 {
    font-size: 2rem;
    color: #6A1B1B; /* oro rosato */
    margin-bottom: 2.5rem;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background-color: #6A1B1B; /* rosa cipria */
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.review-text {
    font-size: 1rem;
    color: #ffffff; /* grigio tortora */
    margin-bottom: 1rem;
    font-style: italic;
}

.review-stars {
    color: #D4A373; /* oro rosato */
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.review-author {
    font-weight: bold;
    color: #f5f5f5;
    font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .reviews-section h2 {
        font-size: 1.6rem;
    }

    .review-card {
        padding: 1.2rem;
    }
}


/* FAQ */
.faq-section {
    padding: 60px 20px;
    background: var(--sand);
    text-align: center;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.faq-answer {
    display: none;
    padding: 0 15px 15px;
    font-size: 0.95rem;
    color: #444;
}

/* Counter */
.counter-section {
    padding: 60px 20px;
    text-align: center;
    background: var(--sand);
}
.counter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.counter-box {
    font-size: 1.2rem;
    font-weight: 600;
}
.counter-box .counter {
    font-size: 2.5rem;
    color: #6A1B1B;
    display: block;
}

/* Sezione Eventi */
.eventi-section {
    padding: 60px 0;
    text-align: center;
}
.eventi-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #555;
}


#form-eventi {
    scroll-margin-top: 100px; /* adatta al tuo header */
}

/* Blocco evento */
.evento-block {
    position: relative;
    height: 350px; /* leggermente più alto per effetto immersivo */
    background-size: cover;
    background-position: center;
    margin: 0;              /* niente spazio tra i blocchi */
    border-radius: 0;       /* niente bordi arrotondati */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.evento-block::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45); /* overlay scuro */
    pointer-events: none; /* ✅ non blocca più i click */
}

.evento-overlay {
    position: relative;
    z-index: 2; /* ✅ sopra l’overlay */
    color: #fff;
    text-align: center;
    padding: 20px;
    max-width: 700px;
    pointer-events: auto; /* ✅ bottoni cliccabili */
}

.evento-overlay h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.evento-overlay p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
}

/* Stile pulsanti negli eventi */
.evento-overlay .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: #800020; /* bordeaux */
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.evento-overlay .btn:hover {
    background-color: #b8860b; /* oro scuro */
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .evento-block {
        height: 220px;
    }
    .evento-overlay h3 {
        font-size: 1.5rem;
    }
    .evento-overlay p {
        font-size: 0.95rem;
    }
}

/* Form eventi */
.eventi-form-wrapper {
    margin-top: 50px;
    max-width: 600px;
    margin-inline: auto;
    padding: 0 20px; /* un po' di respiro ai lati */
}

.eventi-form input,
.eventi-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.eventi-form button {
    background: #6A1B1B;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}
.eventi-form button:hover {
    background: #8B2E2E;
}

/*  Mobile: form più stretto */
@media (max-width: 768px) {
    .eventi-form-wrapper {
        max-width: 90%;   /* invece di 100% */
    }
}
@media (max-width: 480px) {
    .eventi-form-wrapper {
        max-width: 85%;   /* ancora più contenuto su schermi molto piccoli */
    }
}



/* === Sezione Gallery === */
.gallery-section {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--sand); /* colore di sfondo */
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333; /* o un colore coerente col tema */
}

/* Swiper container */
.mySwiper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem; /* margine sotto */
    padding-bottom: 2rem; /* spazio per paginazione */
}

/* Slide */
.swiper-slide {
    height: 450px; /* altezza fissa per uniformità */
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Immagine nello slide */
.swiper-slide img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Effetto leggero al passaggio mouse */
.swiper-slide img:hover {
    transform: scale(1.05);
}

/* Paginazione */
.swiper-pagination {
    bottom: 0;
    margin-top: 1rem;
}

/* Frecce di navigazione */
.swiper-button-prev,
.swiper-button-next {
    color: var(--marine); /* colore coerente con tema */
    top: 50%;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 1;
}

/* Responsive */

/* Più slide visibili su schermi più grandi */
@media (min-width: 640px) {
    .swiper-slide {
        height: 400px;
    }
}

@media (min-width: 768px) {
    .swiper-slide {
        height: 420px;
    }
}

@media (min-width: 1024px) {
    .swiper-slide {
        height: 450px;
    }
}

.caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--marine); /* o colore che preferisci */
    text-align: center;
    font-weight: 500;
}

.cta {
    padding: 3rem 1rem;
    background-color: var(--sand);
    color: #6A1B1B; /* colore testo - blu mare */
    font-family: 'Montserrat', sans-serif;
}

.cta h2 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 2rem;
}

#contact h2 {
    color: white;
    text-align: center;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-container {
    display: flex;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-form {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #6A1B1B;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #6A1B1B;
    outline: none;
}

.contact-form button {
    background-color: #6A1B1B;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #8B2E2E;
}

.map-wrapper {
    flex: 1 1 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-height: 300px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    display: block;
    border-radius: 12px;
}

/* Responsive */

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form,
    .map-wrapper {
        flex: 1 1 100%;
    }
}

.social-section {
    padding: 3rem 1rem;
    background-color: var(--sand); /* un blu scuro coerente con tema mare */
    color: var(--sand);
    text-align: center;
}

.social-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.social-icons a img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.social-icons a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.8));
}


.whatsapp {
    position: fixed;
    bottom: 20px;  /* distanza dal fondo */
    left: 20px;    /* distanza dal bordo sinistro */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366; /* verde WhatsApp */
    border-radius: 50%;        /* rotondo */
    width: 60px;               /* larghezza bottone */
    height: 60px;              /* altezza bottone */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp img {
    width: 35px;  /* dimensione logo */
    height: 35px;
}

.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Adattamento per schermi piccoli */
@media (max-width: 480px) {
    .whatsapp {
        width: 50px;
        height: 50px;
    }

    .whatsapp img {
        width: 28px;
        height: 28px;
    }
}



/* Footer */
footer {
    background: var(--sand);
    color: #6A1B1B  ;
    text-align: center;
    padding: 2rem 1rem;
}

footer a {
    color: #6A1B1B;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background-color: #fff;
    color: #00303f;
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 480px;
    width: calc(100% - 40px);
    opacity: 0;
    gap: 1rem;
    z-index: 9999;
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: auto;
}

#cookie-banner p {
    margin: 0;
    font-weight: 500;
    flex: 1;
    color: #00303f;
}

#cookie-banner a {
    color: #0077cc;
    text-decoration: underline;
}

#cookie-banner button {
    background-color: #0077cc;
    border: none;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

#cookie-banner button:hover {
    background-color: #005fa3;
}

/* Classe per far comparire il banner con fade-in + slide-up */
#cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.privacy-consent {
    display: block;
    font-size: 0.9rem;
    margin: 1rem 0;
    color: #00303f;
}

.privacy-consent input[type="checkbox"] {
    margin-right: 0.5rem;
    vertical-align: middle;
}

.privacy-consent a {
    color: white;
    text-decoration: underline;
}









/* ================= HERO ================= */
.hero-small {
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-small::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(90, 31, 31, 0.65); /* overlay rosso vino */
    z-index: 1;
}

.hero-small > * {
    position: relative;
    z-index: 2;
}



/* Font generale per la filter-bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    padding: 1rem 1rem;
    background: #f5f0f8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: 'Inter', sans-serif;
    max-width: 1000px;
}

/* Input di ricerca */
.filter-bar input[type="text"] {
    padding: 0.5rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    flex: 1 1 150px;
    max-width: 300px;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.filter-bar input[type="text"]:focus {
    border-color: #9c27b0;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.15);
}

/* Select e dropdown personalizzati */
.filter-bar select {
    padding: 0.5rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    flex: 1 1 120px;
    max-width: 220px;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
    appearance: none; /* rimuove la freccia di default */
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><polygon points='0,0 16,0 8,8' fill='%239c27b0'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 0.6rem;
    cursor: pointer;
    position: relative;
}

/* Rotazione freccia al focus */
.filter-bar select:focus {
    border-color: #9c27b0;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.15);
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><polygon points='0,8 8,0 16,8' fill='%239c27b0'/></svg>");
}

.filter-bar select:focus::-ms-expand {
    display: none; /* nasconde freccia in IE */
}

/* Opzioni più carine */
.filter-bar option {
    font-size: 0.95rem;
    color: #333;
    padding: 0.5rem 1rem;
    background: #fff;
    transition: all 0.2s ease;
}

/* Hover sulle opzioni */
.filter-bar option:hover {
    background: #f3e5f5;
    color: #9c27b0;
}

/* Prima opzione più evidenziata (senza icone) */
.filter-bar select option:first-child {
    font-weight: 500;
    color: #7b2cbf;
}

/* Responsive per schermi piccoli */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        padding: 1rem;
    }

    .filter-bar input[type="text"],
    .filter-bar select {
        flex: 1 1 100%;
        max-width: 100%;
        font-size: 0.95rem;
    }
}

/* ================= PRODOTTI ================= */
.product-section {
    background-color: #F5E6DA;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 2; /* sopra la hero */
}

.product-title {
    color: #4a2f2f;
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-intro {
    color: #6a5555;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    justify-items: center;
    gap: 2rem;
    align-items: start; /* 🔥 fondamentale */
}

/* CARD */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 360px;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-content {
    padding: 20px;
    text-align: left;
}

.product-price {
    color: #b48b55;
    font-weight: bold;
    margin: 10px 0;
}

.product-btn {
    width: 100%;
    background: #b48b55;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background: #9c7543;
}

/* FORM */
.product-form-wrapper {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    max-height: 0;
    opacity: 0;
}

.product-form-wrapper.active {
    max-height: 650px;
    opacity: 1;
}

.product-form {
    background: #f9f8f6;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-top: 15px;
    padding: 15px;
}

.product-form label {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #333;
}

.product-form input,
.product-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.product-form .product-total {
    text-align: right;
    margin-top: 10px;
    font-weight: bold;
    color: #222;
}

.product-submit {
    width: 100%;
    margin-top: 15px;
    background: #b48b55;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-submit:hover {
    background: #9c7543;
}