/* --- RESET & VARIABILI --- */
:root {
    --bg-color: #F9F9F7;
    --text-main: #2C2C2C;
    --text-muted: #666666;
    --accent: #1a1a1a;
    --border-light: #E0E0E0;
    --container-width: 900px;
    --transition: all 0.4s ease;
    --spacing-unit: 2rem;
}

/* --- LAZY LOADING --- */
.lazy-img {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.lazy-img.loaded {
    opacity: 1;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- HEADER --- */
header {
    padding: 2rem 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 1.5rem;
}

/* Menu Toggle Button (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    right: 0;
}

.menu-toggle span {
    width: 100%;
    height: 1px;
    background-color: var(--accent);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.brand-name,
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
    text-decoration: none;
    font-weight: 600;
}

header .logo {
    font-size: 1.8rem;
}

/* Override for some pages */

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 1rem 0;
}

/* Specific home style for nav border */
nav ul {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

nav a.active {
    border-bottom: 1px solid var(--accent);
}

/* --- MAIN LAYOUT --- */
main {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border-light);
    text-align: center;
    padding: 3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4rem;
}

/* --- CAROUSEL (Home) --- */
.carousel-container {
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
}

.slider {
    display: flex;
    width: 100%;
    aspect-ratio: 16/9;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

.slider.active-drag {
    cursor: grabbing;
    scroll-snap-type: none;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    pointer-events: none;
    /* Evita che il browser provi a trascinare l'immagine come file */
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-style: italic;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.slide-text {
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-family: inherit;
    letter-spacing: 0.2em;
    transition: background 0.3s;
    cursor: pointer;
}

.slide-content .btn-outline {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--text-muted);
    background: transparent;
    text-decoration: none;
    transition: background 0.3s;
}

.dot:hover,
.dot:target,
.dot.active {
    background: var(--text-muted);
}

/* --- HOME INTRO --- */
.home-intro {
    max-width: 800px;
    margin: 4rem auto 6rem;
    text-align: center;
    padding: 0 1.5rem;
}

.intro-headline {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--accent);
    font-style: italic;
}

.intro-subheadline {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* --- SECTION DECORATORS --- */
.section-separator {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    background-color: var(--bg-color);
    padding: 0 1rem;
    z-index: 1;
    position: relative;
}

.section-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #E0E0E0;
    z-index: 0;
}

/* --- GALLERY GRIDS --- */
.gallery-grid {
    display: grid;
    gap: 3rem 2rem;
    position: relative;
    margin-bottom: 3rem;
}

/* Home 2-column grid */
.gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
    overflow: hidden;
}

/* --- ART CARDS --- */
.art-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.image-frame {
    aspect-ratio: 4/5;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: #eee;
    position: relative;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.art-card:hover .image-frame img {
    transform: scale(1.05);
}

.card-info {
    text-align: center;
}

.art-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.collection-view .art-title {
    font-size: 1.35rem;
}

.art-meta,
.art-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.art-price {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    color: var(--text-main);
}

.art-price::before,
.art-price::after {
    content: ' — ';
    opacity: 0.5;
}

/* --- PRODUCT PAGE --- */
.breadcrumb {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.product-wrapper {
    max-width: 1200px;
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-info {
    position: sticky;
    top: 2rem;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--accent);
    line-height: 1.2;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.specs-list {
    list-style: none;
    border-top: 1px solid var(--border-light);
    margin-bottom: 2.5rem;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.specs-label {
    font-weight: 700;
    color: var(--accent);
}

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 1.2rem;
    background-color: var(--accent);
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--accent);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
}

.related-section {
    border-top: 1px solid var(--border-light);
    padding-top: 4rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.related-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.related-card img {
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    filter: grayscale(20%);
    transition: var(--transition);
}

.related-card:hover img {
    filter: grayscale(0%);
}

.related-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.action-box {
    text-align: center;
    margin-top: 2rem;
}

.cta-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.cta-sublabel {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
    cursor: pointer;
}

.btn-whatsapp {
    background-color: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    font-weight: 600;
    padding: 1.2rem;
}

.btn-whatsapp:hover {
    background-color: transparent;
    color: var(--accent);
}

.secondary-actions {
    display: flex;
    gap: 1rem;
}

.btn-email,
.btn-insta {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent);
    font-size: 0.8rem;
    padding: 0.8rem;
}

.btn-email:hover,
.btn-insta:hover {
    border-color: var(--accent);
    color: #fff;
    background-color: var(--accent);
}


.product-attributes {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-bottom: 2.5rem !important;
}

.product-attributes .attr-btn {
    flex: 1;
    width: auto;
    padding: 0.8rem 0.5rem;
    font-size: 0.7rem;
}

.product-view .btn-outline {
    border-color: var(--accent);
    color: var(--accent);
}

.product-view .btn-outline:hover,
.product-view .btn-outline.active {
    background: var(--accent);
    color: #fff;
}

/* --- PRODUCT CAROUSEL & THUMBNAILS --- */
.product-carousel {
    margin-bottom: 2rem;
    background: transparent;
}

.product-carousel .slider {
    aspect-ratio: 4/5;
    /* Adatto a stampe verticali e orizzontali */
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.product-carousel .slide img {
    filter: brightness(1);
    /* Leggera attenuazione come nella home, ma senza scritte */
    object-fit: contain;
    width: 100% !important;
    height: 100% !important;
    background-color: transparent;
}

.product-carousel.only-horizontal .slider {
    aspect-ratio: 3/2;
}

.product-thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.thumb {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb:hover {
    opacity: 1;
}

.thumb.active {
    border-color: var(--accent);
    opacity: 1;
}

/* --- MODAL --- */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 44, 44, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.modal-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.context-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 0.2rem 0;
}

.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-form label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.modal-form .form-control {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
}

.btn-submit-modal {
    width: 100%;
    background-color: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    padding: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit-modal:hover {
    background-color: transparent;
    color: var(--accent);
}

/* --- ABOUT PAGE --- */
.bio-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.portrait-container {
    position: relative;
}

.portrait-container::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    z-index: -1;
    transition: var(--transition);
}

.portrait-container img {
    width: 100%;
    display: block;
    filter: grayscale(100%);
    transition: var(--transition);
}

.portrait-container:hover img {
    filter: grayscale(0%);
}

.bio-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--accent);
}

.signature {
    font-family: 'Mrs Saint Delafield', cursive;
    font-size: 3rem;
    color: var(--accent);
    margin-top: 1rem;
    opacity: 0.8;
}

.philosophy-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.exhibitions-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.exhibitions-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.timeline-list {
    list-style: none;
}

.timeline-item {
    display: flex;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.timeline-year {
    font-weight: 700;
    width: 80px;
    color: var(--accent);
}

/* --- CONTACTS PAGE --- */
.page-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.page-intro h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.info-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-block {
    margin-bottom: 2.5rem;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.info-value {
    color: var(--text-main);
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
}

.info-value:hover {
    text-decoration: underline;
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--accent);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.btn-submit {
    display: inline-block;
    background-color: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
    padding: 1.2rem 3rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--accent);
}

.map-frame {
    margin-top: 4rem;
    width: 100%;
    height: 300px;
    background-color: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 850px) {
    .product-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-info {
        position: static;
    }
}

@media (max-width: 768px) {

    /* Header Mobile */
    header {
        padding: 1.5rem 1rem;
    }

    .header-container {
        margin-bottom: 0;
    }

    .brand-name {
        font-size: 1.6rem;
        margin-bottom: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
        border: none;
        padding: 0;
    }

    .nav-menu li {
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Layout general */
    .bio-section,
    .exhibitions-section,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portrait-container::after {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
    }

    .secondary-actions {
        flex-direction: column;
    }

    /* Product Page Tweaks */
    .product-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .specs-list li {
        flex-direction: column;
        gap: 0.3rem;
    }

    .specs-label {
        font-size: 0.8rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .close-modal {
        top: 0.5rem;
        right: 1rem;
    }

    /* Sizings wrapping */
    .product-info .secondary-actions {
        flex-wrap: wrap !important;
        flex-direction: row;
        gap: 0;
    }

    .product-info .btn-outline {
        flex: 1 1 calc(50% - 0.5rem);
        text-align: center;
        padding: 0.8rem 0.5rem;
    }

    .product-attributes .attr-btn {
        width: auto;
        flex: 1;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .brand-name {
        font-size: 1.4rem;
    }

    .slide-title {
        font-size: 1.6rem;
    }

    .slide-content {
        width: 90%;
    }

    .section-title {
        font-size: 1.1rem;
    }

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

/* --- 404 ERROR PAGE --- */
.error-404 main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.error-content {
    max-width: 500px;
    padding: 2rem;
}

.error-code {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 0.5rem;
    opacity: 0.1;
}

.error-separator {
    width: 40px;
    height: 1px;
    background-color: var(--accent);
    margin: 0 auto 2rem;
}

.error-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.error-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.error-404 .btn-primary {
    max-width: 294px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }

    .error-message {
        font-size: 1.5rem;
    }
}

/* --- MODAL FEEDBACK --- */
.modal-feedback,
.contact-feedback {
    margin-top: 2.2rem;
    padding: 1.2rem 1.8rem;
    border-radius: 4px;
    font-size: 1rem;
    display: none;
    text-align: center;
    line-height: 1.5;
    transition: all 0.3s ease;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.modal-feedback.error,
.contact-feedback.error {
    display: block;
    background-color: #fff5f5;
    color: #c0392b;
    border-color: #ebccd1;
}

.modal-feedback.success,
.contact-feedback.success {
    display: block;
    background-color: #f7fff7;
    color: #27ae60;
    border-color: #d6e9c6;
}

/* --- SHIPPING INFO --- */
.product-print-shipping {
    margin-bottom: 3rem;
    text-align: center;
}

.product-print-shipping p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* --- POLICY PAGES --- */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

.policy-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--accent);
}

.last-updated {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.policy-section p {
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.policy-section a {
    color: var(--accent);
    text-decoration: underline;
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links span {
    opacity: 0.3;
}

/* --- WORKSHOP PAGE --- */

/* Sottotitolo descrittivo sotto il titolo prodotto */
.product-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Override margini specifici per la pagina workshop */
.workshop-view .product-title {
    margin-bottom: 1.5rem;
}

.workshop-view .specs-list {
    margin-bottom: 2rem;
}

.workshop-view .action-box {
    margin-top: 0;
}

.workshop-view .btn-primary {
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;
    font-weight: 600;
}

.workshop-view .cta-sublabel {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.workshop-view .btn-whatsapp {
    padding: 0.8rem;
    font-size: 0.8rem;
    font-weight: normal;
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent);
}

.workshop-view .btn-whatsapp:hover {
    border-color: var(--accent);
    color: #fff;
    background-color: var(--accent);
}

/* Titoli e liste nella sezione panoramica */
.product-description h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.product-description ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid var(--border-light);
}

.accordion-item:first-child {
    border-top: 1px solid var(--border-light);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    transition: none;
}

.accordion-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--text-muted);
    position: relative;
    transition: transform 0.35s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--text-muted);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.accordion-icon::before {
    width: 9px;
    height: 1px;
    transform: translate(-50%, -50%);
}

.accordion-icon::after {
    width: 1px;
    height: 9px;
    transform: translate(-50%, -50%);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.accordion-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body:not([hidden]) {
    max-height: 500px;
}

.accordion-body p {
    padding: 0 0 1.25rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

.workshops-intro {
    max-width: 800px;
    margin: 0 auto 6rem;
    text-align: center;
    padding: 0 1.5rem;
}

.privacy-disclaimer {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
}