/* ========================================
   RIDETOVIBE — FOGLIO DI STILE UNICO
   ========================================
   INDICE:
   1. Reset e base
   2. Header
   3. Menu overlay e hamburger
   4. Componenti comuni (titoli, bottoni, form)
   5. Hero carousel
   6. Home — Manifesto
   7. Home — Metodo
   8. Home — Su misura
   9. Home — Discipline
   10. Home — Articoli e Prodotti
   11. Home — CTA finale
   12. Fix spazio bianco home
   13. Chi Siamo
   14. Blog (pagina indice)
   15. Articolo (pagina singola)
   16. Prodotti (card, griglia, pagina prodotto)
   17. Carrello e checkout
   18. Pagine utente (login, registrazione, profilo)
   19. Breadcrumb
   20. Contatti
   21. Tabelle legali
   22. Pagine di errore
   23. Footer
   24. Notifiche
   25. WhatsApp flottante
   26. Badge e utility
   ======================================== */


/* ========================================
   1. RESET E BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    position: relative;
    min-height: 100vh;
}

/* Sticky footer con flexbox */
form {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding-top: 0;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    margin-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 0;
}

main .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.featured {
    padding: 2rem 2rem 4rem;
    margin-bottom: 2rem;
}


/* ========================================
   2. HEADER
======================================== */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: #1a1a2e;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s, backdrop-filter 0.3s;
}

header.header-transparent {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(5px);
}

.logo h1 a {
    color: #f72585;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-style: italic;
}

.logo h1 a .title-light {
    font-weight: 300;
    font-style: italic;
}

.title-light {
    font-weight: 300;
    font-style: italic;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #f72585;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-dropdown,
.cart-summary {
    display: flex;
    align-items: center;
    line-height: 1;
}

.user-dropdown .dropdown-toggle,
.cart-summary .cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    height: 24px;
    width: 24px;
    padding: 0;
    background: none;
    border: none;
    color: white;
}

.user-icon a,
.cart-icon {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    padding: 0 !important;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f72585;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    line-height: 1;
    font-family: sans-serif;
}

.cart-summary a {
    background: none !important;
    padding: 0 !important;
}

/* Dropdown utente */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 30px;
    transition: background 0.3s;
}

.user-dropdown .dropdown-toggle i {
    font-size: 1.3rem;
}

.user-name {
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 4px;
    color: white;
}

.user-dropdown.logged-in {
    margin-right: 15px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 180px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #f72585;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}

.user-dropdown.active .dropdown-menu {
    display: block;
}


/* ========================================
   3. MENU OVERLAY E HAMBURGER
======================================== */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow-y: auto;
    pointer-events: none;
}

.menu-overlay.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay-content {
    position: relative;
    padding: 40px 20px;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
}

.menu-overlay-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu-overlay-content ul li {
    margin: 1.5rem 0;
}

.menu-overlay-content ul li a {
    color: white;
    font-size: 2.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.menu-overlay-content ul li a:hover {
    color: #f72585;
    transform: scale(1.05);
}

.menu-close {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-close:hover {
    color: #f72585;
    transform: rotate(90deg);
}

/* Hamburger legacy (nascosto) */
.hamburger,
.menu-toggle {
    display: none;
}

#phLoginMobile, #phLogoutMobile {
    display: none;
}


/* ========================================
   4. COMPONENTI COMUNI
======================================== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a2e;
    position: relative;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f72585;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #777;
    font-size: 1.1rem;
    margin-bottom: 40px;
    margin-top: 0;
}

/* Bottoni */
.btn {
    background: #f72585;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #e94560;
}

.btn-secondary {
    background: #4cc9f0;
}

.btn-secondary:hover {
    background: #3aa8d0;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

.btn.btn-disabled {
    background: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}

/* Form base */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a2e;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #f72585;
    box-shadow: 0 0 0 3px rgba(247,37,133,0.1);
}

.form-control.error {
    border-color: #dc3545;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group.half {
    flex: 1;
}

.form-message {
    display: block;
    margin: 10px 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}


/* ========================================
   5. HERO CAROUSEL
======================================== */
.hero-carousel {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: calc(100vh - 80px);
    overflow: hidden;
    margin-bottom: 0;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 30;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.dot.active {
    background: #f72585;
    transform: scale(1.2);
}

/* Hero legacy (pagina senza carosello) */
.hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    margin-bottom: 3rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero .btn {
    background: #f72585;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.hero .btn:hover {
    background: #e94560;
}


/* ========================================
   6. HOME — MANIFESTO
======================================== */
.manifesto-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.manifesto-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manifesto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.manifesto-icon {
    font-size: 2rem;
    color: #f72585;
    margin-bottom: 20px;
}

.manifesto-icon i {
    background: rgba(247, 37, 133, 0.1);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.manifesto-card h3 {
    font-size: 1.25rem;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-weight: 600;
}

.manifesto-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ========================================
   7. HOME — METODO
======================================== */
.metodo-section {
    padding: 4rem 2rem;
    background: #1a1a2e;
    color: #fff;
}

.metodo-section .section-title {
    color: #fff;
}

.metodo-section .section-title:after {
    background: #f72585;
}

.metodo-section .section-subtitle {
    color: #aaa;
}

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

.metodo-step {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 35px 25px 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.metodo-step:hover {
    transform: translateY(-5px);
    border-color: #f72585;
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(247, 37, 133, 0.15);
    line-height: 1;
}

.step-icon {
    font-size: 1.8rem;
    color: #f72585;
    margin-bottom: 18px;
}

.step-icon i {
    background: rgba(247, 37, 133, 0.15);
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.metodo-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.metodo-step p {
    font-size: 0.9rem;
    color: #bbb;
    line-height: 1.6;
}


/* ========================================
   8. HOME — SU MISURA
======================================== */
.su-misura-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.su-misura-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.su-misura-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #f72585;
}

.su-misura-badge {
    display: inline-block;
    background: rgba(247, 37, 133, 0.1);
    color: #f72585;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.su-misura-text h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.su-misura-text p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
}

.su-misura-text p strong {
    color: #1a1a2e;
}

.su-misura-text .btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.su-misura-text .btn:hover i {
    transform: translateX(4px);
}

.su-misura-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.su-misura-icon {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f72585 0%, #e94560 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(247, 37, 133, 0.3);
    animation: su-misura-float 4s ease-in-out infinite;
}

.su-misura-icon i {
    font-size: 5rem;
    color: #fff;
}

@keyframes su-misura-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}


/* ========================================
   9. HOME — DISCIPLINE
======================================== */
.discipline-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.discipline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.discipline-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 45px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.discipline-card:hover {
    transform: translateY(-5px);
    border-color: #f72585;
    color: #f72585;
    box-shadow: 0 12px 30px rgba(247, 37, 133, 0.12);
}

.discipline-card i {
    font-size: 2.6rem;
    color: #f72585;
    transition: transform 0.3s ease;
}

.discipline-card:hover i {
    transform: scale(1.1);
}


/* ========================================
   10. HOME — ARTICOLI E PRODOTTI
======================================== */
.home-articles,
.home-products {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.home-articles .blog-grid,
.home-products .product-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.home-cta-center {
    text-align: center;
    margin-top: 40px;
}

.home-cta-center .btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.home-cta-center .btn:hover i {
    transform: translateX(4px);
}


/* ========================================
   11. HOME — CTA FINALE
======================================== */
.home-final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem 8rem;
    margin-bottom: 3rem;
}

.home-final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.home-final-cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.home-final-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* ========================================
   12. FIX SPAZIO BIANCO HOME
======================================== */
form.home-body {
    padding-top: 0 !important;
}

form.home-body .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

form.home-body .hero-carousel {
    margin-top: 0 !important;
    height: 100vh;
}

form.home-body .manifesto-section {
    padding-top: 4rem;
}


/* ========================================
   13. CHI SIAMO
======================================== */
.chi-siamo-hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.chi-siamo-hero h1 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    position: relative;
}

.chi-siamo-hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f72585;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.chi-siamo-hero p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
}

.chi-siamo-story {
    padding: 3rem 2rem;
    background: #f8f9fa;
}

.chi-siamo-story-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.chi-siamo-badge {
    display: inline-block;
    background: rgba(247, 37, 133, 0.1);
    color: #f72585;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.chi-siamo-story-text h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 18px;
    line-height: 1.2;
}

.chi-siamo-story-text p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.chi-siamo-story-text strong {
    color: #1a1a2e;
}

.chi-siamo-story-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.chi-siamo-filosofia {
    padding: 4rem 2rem;
    background: #1a1a2e;
    color: #fff;
}

.chi-siamo-filosofia .section-title {
    color: #fff;
}

.chi-siamo-filosofia .section-title:after {
    background: #f72585;
}

.chi-siamo-filosofia .section-subtitle {
    color: #aaa;
}

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

.filosofia-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.filosofia-card:hover {
    transform: translateY(-5px);
    border-color: #f72585;
}

.filosofia-icon {
    font-size: 2rem;
    color: #f72585;
    margin-bottom: 20px;
}

.filosofia-icon i {
    background: rgba(247, 37, 133, 0.15);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.filosofia-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #fff;
}

.filosofia-card p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ========================================
   14. BLOG — PAGINA INDICE
======================================== */
.blog-hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.blog-hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f72585;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.blog-hero p {
    font-size: 1.15rem;
    color: #666;
}

.blog-list {
    padding: 2rem 2rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-list .blog-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Griglia blog condivisa */
.blog-section {
    padding: 2rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.blog-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a2e;
    cursor: pointer;
}

.blog-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

.blog-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.blog-item:hover .blog-image img {
    transform: scale(1.08);
}

/* Card articolo */
.post-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border-right: 6px solid #f72585;
    border-bottom: 6px solid #f72585;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.post-card:hover {
    transform: translate(-4px, -4px);
    border-color: #c91c39;
}

.post-card .blog-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8) 60%);
    z-index: 2;
    transition: padding 0.3s ease;
}

.post-card .blog-content-overlay .post-category {
    display: inline-block;
    background: rgba(247, 37, 133, 0.8);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.post-card .blog-content-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.post-card .blog-content-overlay .post-excerpt {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.post-card .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f72585;
    font-weight: 500;
    font-size: 0.85rem;
    transition: gap 0.3s;
}

.post-card .blog-read-more i {
    transition: transform 0.3s;
}

.post-card .blog-read-more:hover {
    gap: 12px;
}

.post-card .blog-read-more:hover i {
    transform: translateX(4px);
}

.post-card:hover .blog-image img {
    transform: scale(1.05);
}

.post-card:hover .blog-content-overlay {
    padding-bottom: 25px;
}

.post-date {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    font-weight: 300;
}


/* ========================================
   15. ARTICOLO — PAGINA SINGOLA
======================================== */
.article-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 20px;
}

.article-category {
    display: inline-block;
    background: #f72585;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.article-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 8px;
}

.article-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 24px;
}

.article-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-excerpt {
    position: relative;
    padding-left: 3.5rem;
    margin-top: 3rem;
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.quote-mark {
    position: absolute;
    left: 0;
    top: -0.2rem;
    font-size: 3.5rem;
    color: #ccc;
    font-family: Georgia, serif;
    line-height: 1;
}

.excerpt-text {
    font-style: italic;
    font-weight: 400;
    color: #444;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-top: 3rem;
}

.article-content br {
    display: block;
    content: "";
    margin-top: 0.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2, 
.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content ul, 
.article-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.article-content blockquote {
    border-left: 4px solid #f72585;
    padding-left: 20px;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.article-video {
    margin: 2rem 0;
}

.article-video h3 {
    margin-bottom: 12px;
    color: #1a1a2e;
}

.article-video iframe {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    border: none;
}

.article-video-wrapper {
    margin: 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.article-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.article-link {
    margin: 2rem 0;
    text-align: center;
}

.article-back {
    margin-top: 3rem;
    text-align: center;
}


/* ========================================
   16. PRODOTTI
======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f72585;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-info {
    padding: 1rem 1.5rem;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.price-container {
    margin-bottom: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.sale-price {
    color: #a0c303;
    font-weight: bold;
    font-size: 1.8rem;
}

.price {
    font-weight: bold;
    color: #f72585;
    font-size: 1.8rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
    margin-top: auto;
    border-top: 1px solid #eee;
}

.product-details-link {
    color: #f72585;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-details-link:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

.add-to-cart-icon {
    font-size: 1.2rem;
    color: #f72585;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

.add-to-cart-icon:hover {
    color: #e94560;
    transform: scale(1.1);
}

.product-details-arrow {
    display: inline-block;
    margin-top: 10px;
    color: #f72585;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.product-card:hover .product-details-arrow {
    transform: translateX(5px);
}

/* Card prodotto per la home mescolata */
.product-card-blog .product-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 30px 20px 20px;
    transition: bottom 0.4s ease;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-card-blog:hover .product-overlay {
    bottom: 0;
}

.product-overlay .product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f72585;
    margin-bottom: 4px;
}

.product-overlay .product-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: white;
}

.product-overlay .product-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f72585;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s;
}

.product-overlay .product-add-cart:hover {
    background: #e94560;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f72585;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 3;
    box-shadow: 0 2px 12px rgba(247, 37, 133, 0.4);
    animation: pulse 2s infinite;
    transition: transform 0.3s;
}

.product-badge:hover {
    transform: scale(1.15);
    animation-play-state: paused;
}

.product-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff6b6b;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3;
}

/* Pagina prodotto singolo */
.product-detail {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    cursor: pointer;
}

.thumbnail:hover {
    border-color: #f72585;
}

.product-info h1 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.product-conditions, 
.product-availability, 
.product-features, 
.product-measures, 
.product-description, 
.product-additional {
    margin: 10px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.product-conditions strong, 
.product-availability strong, 
.product-features strong, 
.product-measures strong, 
.product-description strong, 
.product-additional strong {
    color: #1a1a2e;
    display: block;
    margin-bottom: 5px;
}

.quantity-selector {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-selector label {
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 0;
}

.quantity-selector .form-control {
    width: auto;
    display: inline-block;
}

.product-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.extra-column {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.extra-column h3 {
    color: #1a1a2e;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #f72585;
    padding-bottom: 8px;
}

.extra-content {
    line-height: 1.8;
    color: #555;
}

/* Thumbnail scroll orizzontale */
.thumbnail-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    margin-top: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #f72585 #eee;
}

.thumbnail-scroll::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-scroll::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 4px;
}

.thumbnail-scroll::-webkit-scrollbar-thumb {
    background: #f72585;
    border-radius: 4px;
}

.thumbnail-track {
    display: flex;
    gap: 8px;
    width: max-content;
}

.thumbnail-track .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border 0.3s, transform 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}

.thumbnail-track .thumbnail:hover {
    border-color: #f72585;
    transform: scale(1.05);
}

/* Disponibilità */
.product-availability {
    margin: 10px 0;
    padding: 8px 15px;
    border-radius: 8px;
    background: #f8f9fa;
}

.availability-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.availability-label.in-stock {
    color: #28a745;
}

.availability-label.out-of-stock {
    color: #dc3545;
}

.sold-out-badge {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quantity-selector select:disabled {
    background: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-nuovo { background: #28a745; color: white; }
.status-usato { background: #ffc107; color: #333; }
.status-rigenerato { background: #17a2b8; color: white; }

.taglia-fissa {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: 6px;
    font-weight: 500;
    color: #333;
    border: 1px solid #ddd;
}

.product-back-section {
    text-align: center;
    margin: 40px 0 20px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.btn-back-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-back-shop:hover {
    background: #5a6268;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.btn-back-shop i {
    font-size: 1rem;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(247, 37, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0); }
}

/* Colore disponibile */
.colore-disponibile {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 6px;
    font-weight: 600;
    color: #333;
    border: 1px solid #e0e0e0;
}

.colore-disponibile.out-of-stock {
    background: #fbe9e7;
    color: #c62828;
    border-left: 3px solid #c62828;
}

.color-fixed {
    background-color: #f0f0f0 !important;
    cursor: not-allowed;
    font-weight: 600;
    color: #333 !important;
    border-color: #ccc;
}

.color-fixed option {
    font-weight: 600;
    color: #333;
}

.color-out-of-stock {
    background-color: #fbe9e7 !important;
    cursor: not-allowed;
    font-weight: 600;
    color: #c62828 !important;
    border-color: #c62828;
}

.color-out-of-stock option {
    font-weight: 600;
    color: #c62828;
}


/* ========================================
   17. CARRELLO E CHECKOUT
======================================== */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cart-table th {
    background: #1a1a2e;
    color: white;
    padding: 1rem;
    text-align: left;
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-table tr:last-child td {
    border-bottom: none;
}

.cart-table input[type="text"] {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
}

.cart-table .btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

.cart-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-total {
    font-size: 1.5rem;
    text-align: right;
    margin: 2rem 0;
    font-weight: bold;
    color: #1a1a2e;
}

.cart-iva {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-top: -2rem;
    margin-bottom: 1.5rem;
}

.cart-subtotal, 
.cart-discount, 
.cart-shipping {
    font-size: 1.2rem;
    text-align: right;
    margin: 5px 0;
}

.cart-discount {
    color: #dc3545;
}

.cart-shipping {
    color: #28a745;
}

.cart-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.cart-row:last-child {
    border-bottom: none;
}

.cart-label {
    font-weight: bold;
    color: #1a1a2e;
}

.cart-value {
    color: #555;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-input {
    width: 70px !important;
    text-align: center;
}

.cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    justify-content: flex-end;
}

.coupon-section {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.coupon-section .form-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.coupon-section .form-group {
    flex: 1;
    margin-bottom: 0;
}

.coupon-section .btn {
    white-space: nowrap;
}

.coupon-message {
    margin-top: 10px;
    font-size: 0.9rem;
}

.coupon-message.success {
    color: green;
}

.coupon-message.error {
    color: red;
}

.shipping-section {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-options input[type="radio"] {
    margin-right: 10px;
}

.checkout-options {
    text-align: center;
    margin: 2rem 0;
}

.checkout-options h3 {
    margin-bottom: 1.5rem;
}

.checkout-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.checkout-buttons .btn {
    min-width: 180px;
}

.checkout-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.continue-shopping {
    margin-top: 1.5rem;
    text-align: center;
}

.continue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f72585;
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.2s;
}

.continue-link:hover {
    gap: 12px;
    text-decoration: underline;
}

.continue-link i {
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.continue-link:hover i {
    transform: translateX(3px);
}

/* Checkbox personalizzate */
.invoice-checkbox, 
.shipping-checkbox {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    color: #1a1a2e;
    position: relative;
    padding-left: 2rem;
    min-height: 2rem;
}

.invoice-checkbox input[type="checkbox"],
.shipping-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    margin: 0;
}

.invoice-checkbox .checkmark,
.shipping-checkbox .checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 1.25rem;
    width: 1.25rem;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.invoice-checkbox:hover .checkmark,
.shipping-checkbox:hover .checkmark {
    border-color: #f72585;
}

.invoice-checkbox input:checked ~ .checkmark,
.shipping-checkbox input:checked ~ .checkmark {
    background-color: #f72585;
    border-color: #f72585;
}

.invoice-checkbox .checkmark:after,
.shipping-checkbox .checkmark:after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    display: none;
    color: white;
    font-size: 0.8rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.invoice-checkbox input:checked ~ .checkmark:after,
.shipping-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.invoice-checkbox label,
.shipping-checkbox label {
    margin-left: 0.5rem;
    cursor: pointer;
    z-index: 1;
    position: relative;
    pointer-events: none;
}

.billing-section, 
.shipping-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.billing-section h3, 
.shipping-section h3 {
    margin-top: 0;
    color: #1a1a2e;
    border-bottom: 2px solid #f72585;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* Checkbox group (contatti) */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 15px 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 3px solid #f72585;
}

.checkbox-group .form-checkbox {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #f72585;
}

.checkbox-group .checkbox-label {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group .checkbox-label a {
    color: #f72585;
    text-decoration: none;
}

.checkbox-group .checkbox-label a:hover {
    text-decoration: underline;
}

.checkbox-group .checkbox-label strong {
    color: #1a1a2e;
}

/* Card ordini */
.order-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.order-row:last-child {
    border-bottom: none;
}

.order-label {
    font-weight: bold;
    color: #1a1a2e;
}

.order-value {
    color: #555;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
    color: white;
    flex-direction: column;
}

.loading-overlay .spinner {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay .message {
    font-size: 1.2rem;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 30px;
}


/* ========================================
   18. PAGINE UTENTE
======================================== */
.user-page {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.user-page h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a2e;
}

.profile-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.delete-link {
    color: #dc3545;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.delete-link:hover {
    color: #c82333;
    text-decoration: underline;
}

/* ============================================= */
/* PASSWORD WRAPPER CON OCCHIETTO */
/* ============================================= */
.password-wrapper {
    position: relative;
    display: block;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-wrapper .toggle-password:hover,
.password-wrapper .toggle-password:focus {
    color: #f72585;
    outline: none;
}

@media (max-width: 768px) {
    .password-wrapper .toggle-password {
        font-size: 1.2rem;
        right: 14px;
    }
}


/* ========================================
   19. BREADCRUMB
======================================== */
.breadcrumb-container {
    text-align: center;
    padding: 8px 0 6px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #999;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: #ccc;
    font-size: 0.65rem;
}

.breadcrumb-item a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #f72585;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
    font-weight: 400;
}


/* ========================================
   20. CONTATTI
======================================== */
.contatti-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contatti-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.info-icon {
    font-size: 2rem;
    color: #f72585;
    margin-bottom: 10px;
}

.info-icon i {
    background: rgba(247, 37, 133, 0.1);
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.info-card h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.info-card p {
    color: #555;
    margin: 4px 0;
    font-size: 0.95rem;
}

.info-card p a {
    color: #f72585;
    text-decoration: none;
}

.info-card p a:hover {
    text-decoration: underline;
}

.info-card small {
    color: #999;
    font-size: 0.8rem;
}

.social-card {
    background: transparent !important;
    border: 1px solid #eee !important;
    box-shadow: none !important;
}

.social-card h3 {
    color: #1a1a2e !important;
}

.social-contatti {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-contatti a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #e0e0e0;
}

.social-contatti a:hover {
    transform: translateY(-3px);
    background: #f72585;
    color: #fff;
    border-color: #f72585;
}

.contatti-form {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.contatti-form .form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.contatti-form .form-control {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    background: #fafafa;
}

.contatti-form .form-control:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.conferma-panel {
    text-align: center;
    padding: 40px 20px;
}

.conferma-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.conferma-icon i {
    background: rgba(40, 167, 69, 0.1);
    padding: 20px;
    border-radius: 50%;
}

.conferma-panel h2 {
    color: #1a1a2e;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.conferma-panel p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}


/* ========================================
   21. TABELLE LEGALI
======================================== */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.legal-table thead {
    background: #1a1a2e;
    color: white;
}

.legal-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    line-height: 1.6;
}

.legal-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.legal-table tbody tr:hover {
    background: #f0f0f0;
}

.legal-table td:first-child {
    font-weight: 500;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

.legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.legal-footer .btn {
    margin-bottom: 1rem;
}


/* ========================================
   22. PAGINE DI ERRORE
======================================== */
.error-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.error-icon {
    font-size: 60px;
    color: #f72585;
    margin-bottom: 20px;
}

.error-icon i {
    background: rgba(247, 37, 133, 0.1);
    padding: 25px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: pulse-error 2s ease-in-out infinite;
}

.error-page h1 {
    font-size: 120px;
    font-weight: 700;
    color: #f72585;
    margin: 0;
    line-height: 1;
    text-shadow: 0 4px 30px rgba(247, 37, 133, 0.15);
}

.error-page h2 {
    font-size: 32px;
    color: #1a1a2e;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.error-page p {
    font-size: 18px;
    color: #555;
    margin: 8px 0;
    line-height: 1.7;
}

.error-page p:last-of-type {
    margin-bottom: 30px;
}

.error-actions {
    margin-top: 10px;
}

.error-page .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #f72585;
    border: 2px solid #f72585;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.error-page .btn-secondary:hover {
    background: #f72585;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.25);
}

@keyframes pulse-error {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


/* ========================================
   23. FOOTER
======================================== */
footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f72585;
}

.footer-section p, 
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: #f72585;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #444;
    color: #aaa;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    transform: translateY(-3px);
    text-decoration: none;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.social-icons a:hover .fa-instagram { color: #E4405F; }
.social-icons a:hover .fa-facebook { color: #1877F2; }
.social-icons a:hover .fa-youtube { color: #FF0000; }
.social-icons a:hover .fa-tiktok { color: #ffffff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }


/* ========================================
   24. NOTIFICHE
======================================== */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
    max-width: 400px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
}

.custom-notification.show {
    transform: translateX(0);
}

.custom-notification.success { background: #28a745; }
.custom-notification.error { background: #dc3545; }
.custom-notification.warning { background: #ffc107; color: #333; }
.custom-notification.info { background: #17a2b8; }

.custom-notification i {
    font-size: 1.2rem;
    flex-shrink: 0;
}


/* ========================================
   25. WHATSAPP FLOTTANTE
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ========================================
   26. BADGE NEW
======================================== */
.new-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffd700;
    color: #f72585;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.4);
    animation: pulse-new 1.5s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #ffd900ba;
}

.new-badge i {
    font-size: 0.8rem;
    color: #f72585;
}

@keyframes pulse-new {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}


/* ========================================
   27. LOGHI PAGAMENTO
======================================== */
.payment-logos {
    margin-top: 25px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.payment-label {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 12px;
    font-weight: 400;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.paypal-badge {
    height: 45px;
    width: auto;
    border-radius: 6px;
    transition: transform 0.3s ease;
    background: #fff;
    padding: 4px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.paypal-badge:hover {
    transform: scale(1.05);
}

.payment-separator {
    color: #ddd;
    font-size: 1.2rem;
    font-weight: 300;
}

.payment-cards {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 2.2rem;
    color: #555;
}

.payment-cards i {
    transition: all 0.3s ease;
}

.payment-cards .fa-cc-visa:hover { color: #1a1f71; transform: scale(1.1); }
.payment-cards .fa-cc-mastercard:hover { color: #eb001b; transform: scale(1.1); }
.payment-cards .fa-cc-amex:hover { color: #006fcf; transform: scale(1.1); }
.payment-cards .fa-cc-paypal:hover { color: #003087; transform: scale(1.1); }

.payment-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.payment-badges .badge {
    font-size: 0.85rem;
    color: #555;
    background: #f8f9fa;
    padding: 6px 18px;
    border-radius: 25px;
    border: 1px solid #e9ecef;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.payment-badges .badge i {
    font-size: 0.85rem;
    color: #28a745;
}


/* ========================================
   RESPONSIVE — MOBILE E TABLET
======================================== */

/* Mobile: nasconde elementi desktop */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
    .mobile-user-icon {
        display: none;
    }
    .main-nav .mobile-only {
        display: none;
    }
    .mobile-label {
        display: none;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .contatti-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contatti-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Mobile generico */
@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .logo {
        flex: 1;
        text-align: center;
    }

    .header-icons {
        gap: 0.8rem;
    }

    .cart-badge {
        top: -6px;
        right: -6px;
        min-width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }

    .cart-icon {
        font-size: 1.4rem;
    }

    .user-dropdown.logged-in {
        margin-right: 10px;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .hero-carousel {
        height: calc(100vh - 70px);
    }

    .carousel-dots {
        bottom: 30px;
        padding: 5px 12px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .menu-overlay-content ul li a {
        font-size: 2rem;
    }

    .post-card .blog-content-overlay h3 {
        font-size: 1.1rem;
    }

    .post-card .blog-content-overlay .post-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 1;
    }

    .post-card .blog-content-overlay {
        padding: 20px 15px 15px;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-excerpt {
        font-size: 1rem;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .article-video iframe {
        height: 250px;
    }

    .quote-mark {
        font-size: 2.5rem;
    }

    .article-excerpt {
        padding-left: 2.5rem;
    }

    .article-video-wrapper {
        margin: 20px 0;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
    }

    .product-gallery {
        width: 100%;
        margin: 0;
    }

    .main-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 0;
    }

    .thumbnail-list {
        justify-content: center;
        margin-top: 10px;
        padding: 0 10px;
    }

    .thumbnail {
        width: 70px;
        height: 70px;
    }

    .product-info {
        padding: 0 15px;
    }

    .product-info h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .price, .sale-price {
        font-size: 1.8rem;
    }

    .product-extras {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
        padding: 0 15px;
    }

    .extra-column {
        padding: 15px;
    }

    .quantity-selector {
        margin: 15px 0;
        justify-content: flex-start;
        padding: 0 15px;
    }

    .product-back-section {
        margin: 30px 0 15px;
        padding: 15px 0;
    }

    .btn-back-shop {
        padding: 10px 25px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cart-actions .btn {
        width: 100%;
        text-align: center;
    }

    .checkout-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .checkout-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .continue-shopping {
        margin-top: 2rem;
    }

    .profile-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .delete-link {
        align-self: flex-end;
    }

    .cart-table,
    .cart-table thead,
    .cart-table tbody,
    .cart-table tr,
    .cart-table th,
    .cart-table td {
        display: block;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        margin-bottom: 1rem;
        border: none;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        border-radius: 8px;
        padding: 0;
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
    }

    .cart-table td:last-child {
        border-bottom: none;
    }

    .cart-table td:before {
        content: attr(data-label);
        font-weight: bold;
        color: #1a1a2e;
        margin-right: 1rem;
    }

    .cart-table {
        border: none;
    }

    .legal-table {
        font-size: 0.8rem;
        min-width: 600px;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }

    .contatti-container {
        padding: 10px 0 40px;
    }

    .contatti-info {
        grid-template-columns: 1fr;
    }

    .contatti-form {
        padding: 25px;
    }

    .info-card {
        padding: 20px;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .checkbox-group .form-checkbox {
        margin-top: 0;
    }

    .checkbox-group .checkbox-label {
        font-size: 0.85rem;
    }

    .custom-notification {
        top: 70px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateX(120%);
        font-size: 0.9rem;
        max-width: calc(100% - 40px);
        padding: 12px 16px;
        min-width: 0;
        width: auto;
    }

    .custom-notification.show {
        transform: translateX(-50%) translateX(0);
    }

    .error-page {
        padding: 40px 15px 60px;
        min-height: 50vh;
    }

    .error-page h1 {
        font-size: 80px;
    }

    .error-page h2 {
        font-size: 26px;
    }

    .error-page p {
        font-size: 16px;
    }

    .error-icon {
        font-size: 45px;
    }

    .error-icon i {
        width: 80px;
        height: 80px;
        padding: 20px;
    }

    .error-page .btn-secondary {
        padding: 10px 25px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
    }

    .social-icons {
        gap: 10px;
        justify-content: flex-start;
    }

    .social-icons a {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .payment-logos {
        margin-top: 20px;
        padding: 15px 0;
    }

    .paypal-badge {
        height: 38px;
        padding: 3px 10px;
    }

    .payment-cards {
        font-size: 1.8rem;
    }

    .payment-badges .badge {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .breadcrumb-container {
        padding: 6px 0 4px;
        margin-bottom: 10px;
    }

    .breadcrumb {
        font-size: 0.65rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        bottom: 18px;
        right: 18px;
    }
}

/* Smartphone piccoli */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .manifesto-card {
        padding: 30px 20px;
    }

    .metodo-step {
        padding: 25px 20px;
    }

    .post-card .blog-content-overlay h3 {
        font-size: 0.9rem;
    }

    .post-card .blog-content-overlay .post-excerpt {
        display: none;
    }

    .post-card .blog-content-overlay {
        padding: 15px 12px 12px;
    }

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

    .article-video iframe {
        height: 180px;
    }

    .article-video-wrapper {
        margin: 15px 0;
    }

    .btn-back-shop {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .contatti-form {
        padding: 20px;
    }

    .form-control {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .conferma-panel h2 {
        font-size: 1.4rem;
    }

    .legal-table {
        font-size: 0.7rem;
        min-width: 500px;
    }

    .legal-table th,
    .legal-table td {
        padding: 6px 8px;
    }

    .custom-notification {
        top: 65px;
        max-width: calc(100% - 30px);
        font-size: 0.8rem;
        padding: 10px 14px;
        border-radius: 6px;
    }

    .error-page h1 {
        font-size: 60px;
    }

    .error-page h2 {
        font-size: 22px;
    }

    .error-page p {
        font-size: 15px;
    }

    .error-icon {
        font-size: 35px;
    }

    .error-icon i {
        width: 70px;
        height: 70px;
        padding: 15px;
    }

    .social-icons {
        gap: 8px;
        justify-content: center;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .payment-logos {
        margin-top: 15px;
        padding: 12px 0;
    }

    .paypal-badge {
        height: 32px;
        padding: 2px 8px;
    }

    .payment-cards {
        font-size: 1.5rem;
    }

    .payment-separator {
        font-size: 0.8rem;
    }

    .payment-badges .badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .home-final-cta h2 {
        font-size: 1.5rem;
    }

    .home-final-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .discipline-card {
        padding: 25px 8px;
        font-size: 0.85rem;
    }

    .discipline-card i {
        font-size: 1.6rem;
    }

    .chi-siamo-hero h1 {
        font-size: 1.7rem;
    }

    .chi-siamo-hero p {
        font-size: 1rem;
    }

    .chi-siamo-story-text h2 {
        font-size: 1.5rem;
    }

    .su-misura-section {
        padding: 3rem 1rem;
    }

    .su-misura-inner {
        padding: 30px 20px;
    }

    .su-misura-text h2 {
        font-size: 1.4rem;
    }

    .su-misura-icon {
        width: 110px;
        height: 110px;
    }

    .su-misura-icon i {
        font-size: 3rem;
    }

    .blog-hero h1 {
        font-size: 1.7rem;
    }
}

@media (max-width: 900px) {
    .chi-siamo-story-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .chi-siamo-hero h1 {
        font-size: 2rem;
    }

    .chi-siamo-hero {
        padding: 3rem 1.5rem 2rem;
    }

    .su-misura-inner {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 30px;
        text-align: center;
    }

    .su-misura-inner::before {
        width: 100%;
        height: 5px;
    }

    .su-misura-icon {
        width: 130px;
        height: 130px;
    }

    .su-misura-icon i {
        font-size: 3.5rem;
    }

    .su-misura-text h2 {
        font-size: 1.6rem;
    }

    .su-misura-text p {
        font-size: 1rem;
    }
}

/* ============================================
   BADGE SPEDIZIONE PRODOTTI
   ============================================ */
.shipping-info-wrapper {
    margin: 6px 0 10px;
}

.shipping-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    line-height: 1.2;
}

.shipping-badge i {
    font-size: 0.8rem;
}

.shipping-badge.shipping-free {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.shipping-badge.shipping-cost {
    background: #f5f5f5;
    color: #555;
    border: 1px solid #e0e0e0;
}

/* ============================================= */
/* SPEDIZIONE GRATUITA - INFO E BANNER */
/* ============================================= */

/* Messaggio informativo nel checkout */
.shipping-info {
    display: block;
    margin: 12px 0;
    padding: 12px 18px;
    background: #fff8fb;
    border-left: 4px solid #f72585;
    border-radius: 4px;
    color: #1a1a2e;
    font-size: 0.95rem;
    line-height: 1.4;
}
.shipping-info.shipping-free {
    background: #e7f9ee;
    border-left-color: #25D366;
}
.shipping-info i {
    margin-right: 6px;
    font-size: 1.1rem;
}

/* Banner principale nel carrello */
.free-shipping-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff8fb 0%, #ffeef5 100%);
    border: 2px dashed #f72585;
    border-radius: 10px;
    color: #1a1a2e;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
    line-height: 1.4;
}
.free-shipping-banner.unlocked {
    background: linear-gradient(135deg, #e7f9ee 0%, #d4f4e1 100%);
    border-color: #25D366;
    border-style: solid;
}
.free-shipping-banner i {
    font-size: 1.5rem;
    color: #f72585;
    flex-shrink: 0;
}
.free-shipping-banner.unlocked i {
    color: #25D366;
}

@media (max-width: 768px) {
    .free-shipping-banner {
        font-size: 0.9rem;
        padding: 14px 16px;
    }
    .free-shipping-banner i {
        font-size: 1.3rem;
    }
}

/* ============================================= */
/* BANNER SPEDIZIONE GRATUITA - FIXED IN CIMA */
/* ============================================= */
.shipping-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #f72585 0%, #b5179e 100%);
    color: #fff;
    text-align: center;
    padding: 10px 45px 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.4;
    z-index: 1100;
    box-sizing: border-box;
}
.shipping-top-banner i.fa-truck {
    margin-right: 8px;
    font-size: 1rem;
}
.shipping-top-banner strong {
    font-weight: 700;
    color: #fff;
}

/* Pulsante di chiusura X */
.shipping-banner-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}
.shipping-banner-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}
.shipping-banner-close i {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1;
}

/* 
   NOTA: header e body NON hanno !important
   così il JS può sovrascriverli quando chiudi il banner
*/

/* ============================================= */
/* RIGA SPEDIZIONE NEL FOOTER */
/* ============================================= */
.footer-shipping {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}
.footer-shipping i {
    color: #f72585;
    margin-right: 6px;
}
.footer-shipping strong {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .shipping-top-banner {
        font-size: 0.8rem;
        padding: 8px 40px 8px 12px;
    }
    .shipping-top-banner i.fa-truck {
        margin-right: 5px;
        font-size: 0.9rem;
    }
    .shipping-banner-close {
        right: 8px;
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
    .footer-shipping {
        font-size: 0.85rem;
    }
}

/* ==================================================
   METODI DI SPEDIZIONE - CHECKOUT
   ================================================== */
.shipping-section {
    margin: 25px 0;
}

.shipping-section h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #1a1a2e;
    border-bottom: 2px solid #e91e63;
    padding-bottom: 8px;
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-card {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

.shipping-card:hover {
    border-color: #e91e63;
    background: #fff5f8;
}

.shipping-card.selected {
    border-color: #e91e63;
    background: #fff5f8;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.15);
}

.shipping-radio {
    width: 20px;
    height: 20px;
    accent-color: #e91e63;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.shipping-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.shipping-name {
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a2e;
    line-height: 1.3;
    display: block;
}

.shipping-cost {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    display: block;
}

.shipping-card.selected .shipping-cost {
    color: #e91e63;
    font-weight: 700;
}

.shipping-cost-free {
    color: #28a745 !important;
    font-weight: 700 !important;
}

.shipping-desc {
    display: block;
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 2px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.shipping-card.selected .shipping-desc {
    color: #666;
}

/* ============================================= */
/* THUMBNAIL PAGINA PRODOTTO */
/* ============================================= */
.thumbnail-list .thumbnail {
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.thumbnail-list .thumbnail:hover {
    border-color: #f72585;
    transform: scale(1.05);
}
.thumbnail-list .thumbnail.active {
    border-color: #f72585;
    box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.2);
}

/* ============================================= */
/* PALLINI COLORI SELEZIONABILI - PAGINA PRODOTTO */
/* ============================================= */
.colori-pallini-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.colore-pallino-btn {
    width: 44px;
    height: 44px;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.colore-pallino-btn:hover {
    transform: scale(1.1);
    border-color: #ddd;
}

.colore-pallino-btn.selected {
    border-color: #1a1a2e;
    box-shadow: 0 0 0 2px rgba(26, 26, 46, 0.15);
}

.pallino-cerchio {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.colore-nome-selezionato {
    font-weight: 500;
    color: #1a1a2e;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .colore-pallino-btn {
        width: 40px;
        height: 40px;
    }
    .colori-pallini-wrapper {
        gap: 10px;
    }
}

/* ============================================= */
/* FIX FORM MOBILE - CAMPI IN COLONNA */
/* ============================================= */
@media (max-width: 768px) {
    
    /* Form row → colonna su mobile */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Campi "half" → tutta la larghezza su mobile */
    .form-group.half {
        flex: 1 1 100%;
        width: 100%;
    }

    /* Checkout: sezioni con padding adeguato */
    .billing-section .form-row,
    .shipping-section .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Contatti: form row in colonna */
    .contatti-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Form row "altri" (login, registrazione, ecc.) */
    .user-page .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    
    /* Campi form più generosi su mobile */
    .form-control {
        font-size: 16px;      /* evita zoom automatico su iOS */
        padding: 14px 16px;   /* più spazio per il dito */
        min-height: 48px;     /* altezza minima tocco */
    }

    /* Label più visibili */
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 8px;
        font-weight: 600;
    }

    /* Spazio tra i campi */
    .form-group {
        margin-bottom: 18px;
    }
}

/* ============================================= */
/* PALLINO COLORE NEL CARRELLO */
/* ============================================= */
.colore-con-pallino {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pallino-carrello {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    vertical-align: middle;
}

/* ============================================= */
/* SHOP — LAYOUT CON SIDEBAR FILTRI */
/* ============================================= */

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================= */
/* SIDEBAR FILTRI */
/* ============================================= */
.shop-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-header-mobile {
    display: none;
}

.filter-block {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.filter-label i {
    color: #f72585;
    margin-right: 6px;
    width: 16px;
}

.shop-sidebar .form-control {
    width: 100%;
    padding: 9px 12px;
    font-size: 0.9rem;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    user-select: none;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #f72585;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-checkbox span i {
    color: #f72585;
    margin-right: 4px;
}

.filter-actions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.btn-block {
    width: 100%;
    text-align: center;
    display: block;
}

/* ============================================= */
/* TOOLBAR SOPRA LA GRIGLIA */
/* ============================================= */
.shop-main {
    min-width: 0;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 22px;
}

.risultati-count {
    font-size: 0.95rem;
    color: #666;
}

.risultati-count strong,
.risultati-count {
    font-weight: 500;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-label {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.toolbar-select {
    width: auto !important;
    min-width: 130px;
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
}

/* ============================================= */
/* TOGGLE FILTRI MOBILE */
/* ============================================= */
.filters-mobile-toggle {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 4px;
}

.btn-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filters-toggle:hover {
    background: #f72585;
}

.btn-filters-toggle i {
    font-size: 0.9rem;
}

.filtri-attivi-badge {
    display: inline-block;
    background: #f72585;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    text-align: center;
    padding: 0 5px;
    margin-left: 4px;
}

.risultati-count-mobile {
    font-size: 0.85rem;
    color: #666;
}

/* ============================================= */
/* OVERLAY FILTRI MOBILE */
/* ============================================= */
.filters-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* ============================================= */
/* PAGINAZIONE */
/* ============================================= */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

.pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-item {
    display: inline-block;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-link:hover {
    background: #f72585;
    color: #fff;
    border-color: #f72585;
}

.pagination-current .pagination-link {
    background: #f72585;
    color: #fff;
    border-color: #f72585;
    cursor: default;
    pointer-events: none;
}

.pagination-dots .pagination-link {
    background: transparent;
    border-color: transparent;
    cursor: default;
    pointer-events: none;
    color: #999;
}

/* ============================================= */
/* NESSUN RISULTATO */
/* ============================================= */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}

.no-results i {
    font-size: 3.5rem;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.no-results h3 {
    color: #1a1a2e;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.no-results p {
    color: #888;
    margin-bottom: 20px;
}

/* ============================================= */
/* PALLINI COLORI NELLE CARD SHOP */
/* ============================================= */
.pallini-shop-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    align-items: center;
}

.pallino-shop {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    cursor: default;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.pallino-shop:hover {
    transform: scale(1.15);
}

/* ============================================= */
/* RESPONSIVE */
/* ============================================= */
@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .filters-mobile-toggle {
        display: flex;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        overflow-y: auto;
        border-radius: 0;
        z-index: 999;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .shop-sidebar.open {
        left: 0;
    }

    .filters-overlay.open {
        display: block;
    }

    .sidebar-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid #f72585;
    }

    .sidebar-header-mobile h3 {
        font-size: 1.2rem;
        color: #1a1a2e;
        margin: 0;
    }

    .sidebar-header-mobile h3 i {
        color: #f72585;
        margin-right: 6px;
    }

    .btn-close-filters {
        background: none;
        border: none;
        font-size: 1.3rem;
        color: #666;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .btn-close-filters:hover {
        background: #f0f0f0;
        color: #f72585;
    }

    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .toolbar-select {
        min-width: 0;
        flex: 1;
    }

    .risultati-count {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .shop-toolbar {
        padding: 12px 15px;
    }

    .toolbar-right {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .toolbar-right .toolbar-label {
        font-size: 0.8rem;
    }

    .toolbar-select {
        width: 100% !important;
        min-width: 0;
        font-size: 16px !important;
    }

    .pagination-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.85rem;
    }

    .pallino-shop {
        width: 14px;
        height: 14px;
    }

    .pallini-shop-wrapper {
        gap: 5px;
    }
}

/* Blocca lo scroll del body quando i filtri sono aperti su mobile */
body.filters-open {
    overflow: hidden;
}

/* Blog: riusa il layout shop senza duplicare */
.blog-page .shop-layout {
    max-width: 1400px;
}

/* ============================================= */
/* BLOG — GALLERIA ARTICOLO (mantiene foto grandi) */
/* ============================================= */

/* Contenitore gallery: full width del .article-container (max 900px) */
.article-gallery {
    display: block;
    width: 100%;
    margin-bottom: 24px;
}

/* L'immagine grande occupa tutta la larghezza, come prima */
.article-gallery .gallery-main {
    width: 100%;
}

.article-gallery .gallery-main a {
    display: block;
    width: 100%;
    cursor: zoom-in;
}

.article-gallery .gallery-main img.main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 0;
    max-width: 100%;
    cursor: zoom-in;
}

/* La striscia di miniature resta sotto, con lo scroll orizzontale già esistente */
.article-gallery .thumbnail-scroll {
    margin-top: 12px;
}

/* ============================================= */
/* SEZIONE RECENSIONI — PAGINA PRODOTTO */
/* ============================================= */
.recensioni-section {
    max-width: 900px;
    margin: 60px auto 20px;
    padding: 0 20px;
}

.recensioni-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 2px solid #f72585;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.recensioni-header h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recensioni-header h2 i {
    color: #f72585;
}

/* Riepilogo voti (media) */
.riepilogo-voti {
    display: flex;
    align-items: center;
}

.voto-medio {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8fb;
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid #ffe0ee;
}

.numero-voto {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f72585;
    line-height: 1;
}

.stelle-grandi {
    display: inline-flex;
    gap: 3px;
    color: #ffc107;
    font-size: 1.1rem;
}

.stelle-grandi i {
    color: #ffc107;
}

.totale-recensioni {
    font-size: 0.9rem;
    color: #666;
}

/* Lista recensioni */
.lista-recensioni {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recensione-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recensione-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.recensione-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar-cliente {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f72585 0%, #e94560 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.recensione-meta {
    flex: 1;
}

.nome-cliente {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 1rem;
    margin-bottom: 2px;
}

.stelle-recensione {
    display: inline-flex;
    gap: 2px;
    color: #ffc107;
    font-size: 0.9rem;
}

.stelle-recensione i {
    color: #ffc107;
}

.data-recensione {
    font-size: 0.85rem;
    color: #999;
    flex-shrink: 0;
}

.titolo-recensione {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.testo-recensione {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Nessuna recensione */
.nessuna-recensione {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px dashed #ddd;
}

.nessuna-recensione i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.nessuna-recensione p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.nessuna-recensione small {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .recensioni-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .recensioni-header h2 {
        font-size: 1.5rem;
    }

    .voto-medio {
        width: 100%;
        justify-content: center;
    }

    .recensione-header {
        flex-wrap: wrap;
    }

    .data-recensione {
        width: 100%;
        text-align: right;
        margin-top: 5px;
    }
}

/* ============================================= */
/* FORM RECENSIONE + BADGE VERIFICATO */
/* ============================================= */

/* Pulsante apri form */
.btn-apri-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f72585;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.btn-apri-form:hover {
    background: #e94560;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 37, 133, 0.3);
}

/* Contenitore form scrittura */
.scrivi-recensione {
    margin-bottom: 30px;
}

.form-recensione {
    background: #fff;
    border: 2px solid #f72585;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(247, 37, 133, 0.1);
}

.form-recensione h3 {
    color: #1a1a2e;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f72585;
}

/* Stelle di selezione voto */
.stelle-selezione {
    display: flex;
    gap: 8px;
    font-size: 2rem;
    cursor: pointer;
    margin-top: 8px;
}

.stelle-selezione i {
    color: #ddd;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stelle-selezione i:hover,
.stelle-selezione i.fas {
    color: #ffc107;
    transform: scale(1.1);
}

/* Pulsanti form */
.form-actions-recensione {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-cancel {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    border-color: #999;
    color: #333;
}

/* Messaggio info (non può recensire) */
.info-recensione {
    background: #f0f8ff;
    border-left: 4px solid #4cc9f0;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    color: #1a1a2e;
    font-size: 0.95rem;
}

.info-recensione i {
    color: #4cc9f0;
    margin-right: 6px;
}

.info-recensione a {
    color: #f72585;
    font-weight: 600;
    text-decoration: underline;
}

/* Badge "Acquisto verificato" */
.badge-verificato {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #c8e6c9;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-verificato i {
    font-size: 0.7rem;
}

/* Messaggi form */
.form-recensione .form-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-recensione .form-message.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.form-recensione .form-message.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .form-recensione {
        padding: 20px;
    }

    .stelle-selezione {
        font-size: 1.7rem;
    }

    .form-actions-recensione {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions-recensione .btn,
    .form-actions-recensione .btn-cancel {
        width: 100%;
        text-align: center;
    }
}

.btn-secondary {
    background: #4cc9f0;
}
.btn-secondary:hover {
    background: #3aa8d0;
}

/* ============================================= */
/* PASSWORD WRAPPER CON OCCHIETTO */
/* ============================================= */
.password-wrapper {
    position: relative;
    display: block;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-wrapper .toggle-password:hover,
.password-wrapper .toggle-password:focus {
    color: #f72585;
    outline: none;
}

@media (max-width: 768px) {
    .password-wrapper .toggle-password {
        font-size: 1.2rem;
        right: 14px;
    }
}

.consensi-group {
    background: #f8f9fa;
    padding: 15px 18px;
    border-radius: 8px;
    border-left: 4px solid var(--primary, #f72585);
    margin-top: 20px;
}

.consensi-group .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.consensi-group .form-check:last-child {
    margin-bottom: 0;
}

.consensi-group input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    transform: scale(1.2);
}

.consensi-group label {
    font-weight: normal;
    cursor: pointer;
    line-height: 1.5;
}

.consensi-group label a {
    color: var(--primary, #f72585);
    text-decoration: underline;
}

/* ==================================================
   PREFERENZE EMAIL (Profilo)
   ================================================== */
.email-preferences-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.email-preferences-section h3 {
    color: var(--primary, #f72585);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-preferences-intro {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.preference-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary, #f72585);
}

.preference-item input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    transform: scale(1.2);
    cursor: pointer;
}

.preference-text {
    flex: 1;
}

.preference-text label {
    cursor: pointer;
    font-weight: 600;
    color: #1a1a2e;
    display: block;
    margin-bottom: 4px;
}

.preference-text small {
    display: block;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

#<%= lblMessageMarketing.ClientID %> {
    margin-top: 16px;
}

/* ==================================================
   SEZIONE RECESSO (Dettaglio Ordine)
   ================================================== */
.recesso-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.recesso-section h3 {
    color: var(--primary, #f72585);
    font-size: 1.15rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recesso-section .order-card {
    background: #f8f9fa;
    border-left: 4px solid var(--primary, #f72585);
}

.recesso-section .order-card p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

/* Intro Recesso */
.intro-recesso {
    background: #f0f4ff;
    padding: 15px 18px;
    border-radius: 8px;
    border-left: 4px solid var(--primary, #f72585);
    margin-bottom: 25px;
    color: #333;
    line-height: 1.6;
}

/* ==================================================
   SEGNALAZIONE CONTENUTI (DSA)
   ================================================== */
.intro-segnalazione {
    background: #f0f4ff;
    padding: 15px 18px;
    border-radius: 8px;
    border-left: 4px solid var(--primary, #f72585);
    margin-bottom: 25px;
    color: #333;
    line-height: 1.6;
}

.recensione-segnala {
    margin-top: 10px;
    text-align: right;
}

.link-segnala {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.link-segnala:hover {
    color: #dc3545;
    text-decoration: underline;
}

.link-segnala i {
    font-size: 0.7rem;
}

/* ============================================= */
/* PROGETTO SU MISURA — PAGINA PUBBLICA          */
/* ============================================= */
.su-misura-page-hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    max-width: 820px;
    margin: 0 auto;
}

.su-misura-page-hero h1 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    position: relative;
}

.su-misura-page-hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f72585;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.su-misura-page-hero p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
}

.su-misura-tipi {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.su-misura-form-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.su-misura-form-section .contatti-form {
    max-width: 760px;
    margin: 0 auto;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.step-indicator .step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: #eee;
    color: #999;
    transition: all .3s;
}

.step-indicator .step-dot.active {
    background: #f72585;
    color: #fff;
    box-shadow: 0 4px 15px rgba(247, 37, 133, .35);
}

.step-indicator .step-dot.done {
    background: #1a1a2e;
    color: #fff;
}

.step-title {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 20px;
    font-weight: 600;
}

.radio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.radio-list input[type="radio"] {
    accent-color: #f72585;
    margin-right: 8px;
}

.radio-list label {
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.form-actions-step {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.btn-back {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
    padding: .7rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    display: inline-block;
}

.btn-back:hover {
    border-color: #999;
    color: #333;
}

.upload-hint {
    font-size: .85rem;
    color: #888;
    margin-top: 6px;
}

.upload-hint i {
    color: #f72585;
    margin-right: 4px;
}

.conferma-panel .small {
    font-size: .95rem;
    color: #666;
    margin-top: 8px;
}

.su-misura-faq {
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.su-misura-faq details {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: border-color .2s;
}

.su-misura-faq details[open] {
    border-color: #f72585;
}

.su-misura-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #1a1a2e;
    list-style: none;
}

.su-misura-faq summary::-webkit-details-marker {
    display: none;
}

.su-misura-faq summary::after {
    content: '+';
    float: right;
    color: #f72585;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

.su-misura-faq details[open] summary::after {
    content: '−';
}

.su-misura-faq p {
    margin-top: 12px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .su-misura-page-hero h1 {
        font-size: 1.9rem;
    }

    .form-actions-step {
        flex-direction: column-reverse;
    }

    .form-actions-step .btn,
    .form-actions-step .btn-back {
        width: 100%;
        text-align: center;
    }

    .step-title {
        font-size: 1.2rem;
    }
}

/* ============================================= */
/* CUSTOM RADIO BUTTON - DEFINITIVO              */
/* ============================================= */
.custom-radio-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.custom-radio {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.2;
}

.custom-radio:hover {
    border-color: #f72585;
    background: #fff8fb;
}

/* NASCONDE IL RADIO NATIVO (in modo assoluto) */
.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* IL CERCHIETTO FINTO */
.radio-finto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 15px;
    background: #fff;
    transition: all 0.2s ease;
    position: relative;
}

/* IL PALLINO INTERNO (Nascosto) */
.radio-finto::after {
    content: '';
    width: 14px;
    height: 14px;
    background: #f72585;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

/* STATO SELEZIONATO */
.custom-radio input[type="radio"]:checked ~ .radio-finto {
    border-color: #f72585;
}

.custom-radio input[type="radio"]:checked ~ .radio-finto::after {
    transform: scale(1);
}

/* TESTO */
.radio-testo {
    flex: 1;
    line-height: 1.4;
}

/* EVIDENZIA LA CARD QUANDO SELEZIONATA */
.custom-radio:has(input[type="radio"]:checked) {
    border-color: #f72585;
    background: #fff8fb;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.1);
}

/* ============================================= */
/* RADIO BUTTON SU MOBILE (Pallino sopra al centro) */
/* ============================================= */
@media (max-width: 768px) {
    
    .custom-radio {
        flex-direction: column; /* Mette gli elementi in colonna */
        justify-content: center;
        text-align: center;
        padding: 20px 15px; /* Un po' più di spazio sopra e sotto */
        gap: 12px; /* Spazio tra il pallino e il testo */
    }

    .radio-finto {
        margin-right: 0; /* Toglie il margine a destra */
        margin-bottom: 0;
        width: 30px; /* Pallino leggermente più grande su mobile */
        height: 30px;
        min-width: 30px;
    }

    .radio-finto::after {
        width: 16px; /* Pallino interno più grande */
        height: 16px;
    }

    .radio-testo {
        width: 100%; /* Il testo occupa tutta la larghezza disponibile */
        display: block;
    }
}

/* ============================================= */
/* EVIDENZIA "SU MISURA" NEL MENU OVERLAY */
/* ============================================= */
.menu-overlay-content ul li a.menu-highlight {
    color: #f72585; /* Colore primario */
    position: relative;
}

.menu-overlay-content ul li a.menu-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px; /* Piccola linea decorativa sotto */
    height: 3px;
    background: #f72585;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.menu-overlay-content ul li a.menu-highlight:hover {
    color: #fff; /* Al passaggio del mouse diventa bianco (per contrasto) */
}

.menu-overlay-content ul li a.menu-highlight:hover::after {
    width: 80%; /* La linea si allarga al passaggio del mouse */
    background: #fff;
}

/* ============================================= */
/* OVERLAY "ESAURITO" SU CARD SHOP */
/* ============================================= */
.sold-out-overlay-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.sold-out-overlay-card span {
    background: #f72585;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transform: rotate(-6deg);
    border: 2px solid #fff;
    white-space: nowrap;
}

.sold-out-overlay-card span i {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .sold-out-overlay-card span {
        font-size: 0.85rem;
        padding: 6px 14px;
        letter-spacing: 1px;
        gap: 4px;
        border-width: 1.5px;
    }

    .sold-out-overlay-card span i {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .sold-out-overlay-card span {
        font-size: 0.75rem;
        padding: 4px 10px;
        letter-spacing: 0.5px;
    }
}

/* ============================================= */
/* BADGE SCONTO DETTAGLIO PRODOTTO */
/* ============================================= */
.sale-badge-detail {
    display: inline-block;
    background: #f72585;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 12px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(247, 37, 133, 0.3);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================= */
/* OVERLAY "ESAURITO" SU IMMAGINE PRINCIPALE */
/* ============================================= */
.main-image-wrapper {
    position: relative;
    display: block;
}

.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    pointer-events: none;
    z-index: 5;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.sold-out-overlay span {
    background: #f72585;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    padding: 20px 40px;
    border-radius: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transform: rotate(-6deg);
    border: 3px solid #fff;
}

.sold-out-overlay span i {
    font-size: 1.8rem;
}

/* Mobile: badge e overlay più piccoli */
@media (max-width: 768px) {
    .sold-out-overlay span {
        font-size: 1.3rem;
        padding: 12px 24px;
        letter-spacing: 2px;
        gap: 8px;
        border-width: 2px;
    }

    .sold-out-overlay span i {
        font-size: 1.2rem;
    }

    .sale-badge-detail {
        font-size: 0.85rem;
        padding: 3px 10px;
        margin-left: 8px;
    }
}

/* Su schermi molto piccoli */
@media (max-width: 480px) {
    .sold-out-overlay span {
        font-size: 1.1rem;
        padding: 10px 18px;
        letter-spacing: 1.5px;
    }

    .sold-out-overlay span i {
        font-size: 1rem;
    }

    .sale-badge-detail {
        font-size: 0.8rem;
        padding: 2px 8px;
    }
}

/* ============================================= */
/* CASI REALI */
/* ============================================= */
.su-misura-casi {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.casi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.caso-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.caso-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* VIDEO 16:9 */
.caso-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.caso-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.caso-content {
    padding: 25px;
}

.caso-badge {
    display: inline-block;
    background: #f72585;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.caso-content h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.caso-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.caso-content strong {
    color: #1a1a2e;
}

/* ============================================= */
/* CHI SIAMO (breve) */
/* ============================================= */
.su-misura-chi-siamo {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.su-misura-chi-siamo-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.su-misura-chi-siamo-inner p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ============================================= */
/* CTA PROGETTO SU MISURA (pagina prodotto) */
/* ============================================= */
.cta-su-misura {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, #fff8fb 0%, #ffeef5 100%);
    border: 2px dashed #f72585;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cta-su-misura:hover {
    background: linear-gradient(135deg, #ffeef5 0%, #ffe0ee 100%);
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 37, 133, 0.15);
}

.cta-su-misura-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f72585;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(247, 37, 133, 0.3);
}

.cta-su-misura-content {
    flex: 1;
}

.cta-su-misura-title {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1rem;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.cta-su-misura-text {
    color: #555;
    font-size: 0.9rem;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cta-su-misura-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f72585;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.cta-su-misura-link:hover {
    gap: 10px;
    color: #e94560;
    text-decoration: none;
}

@media (max-width: 480px) {
    .cta-su-misura {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 10px;
    }
    .cta-su-misura-content {
        text-align: center;
    }
}

/* ============================================= */
/* AREA ELIMINAZIONE ACCOUNT (Profilo)           */
/* ============================================= */
.delete-account-card {
    margin-top: 25px;
    padding: 25px;
    background: #fff8f8;
    border: 1px solid #f5c6cb;
    border-left: 5px solid #dc3545;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.08);
}

.delete-account-warning {
    color: #721c24;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.delete-account-warning i {
    color: #dc3545;
    font-size: 1.2rem;
    margin-top: 2px;
}

.delete-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.btn-danger {
    background: #dc3545 !important;
    color: #fff !important;
}

.btn-danger:hover {
    background: #c82333 !important;
}

@media (max-width: 768px) {
    .delete-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .delete-actions .btn {
        width: 100%;
        text-align: center;
    }
}