/*
Theme Name: OptimizedCommerce
Theme URI: https://yoursite.com
Author: Your Name
Author URI: https://yoursite.com
Description: Tema WooCommerce altamente ottimizzato per performance con Redis, W3 Total Cache e Cloudflare Pro. Design moderno e professionale con colori brand #0BB38C, bianco e nero.
Version: 1.8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: optimizedcommerce
Tags: e-commerce, woocommerce, performance, redis, modern, professional
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/*
===========================================
VARIABLES CSS
===========================================
*/
:root {
    /* ===================================
       PRIMARY COLORS - Teal Tech
       =================================== */
    --primary-color: #0BB38C;
    --primary-color-light: #1DD9A8;
    --primary-color-dark: #078768;
    --primary-color-lighter: #E6F9F4;
    --primary-color-rgb: 11, 179, 140;
    --primary-color-hover: #078768;
    --primary-color-active: #056B51;

    /* ===================================
       SECONDARY COLORS - Navy Professional
       =================================== */
    --secondary-color: #1E293B;
    --secondary-color-light: #334155;
    --secondary-color-dark: #0F172A;
    --secondary-color-rgb: 30, 41, 59;

    /* ===================================
       ACCENT COLORS
       =================================== */
    --accent-blue: #3B82F6;
    --accent-blue-light: #60A5FA;
    --accent-blue-dark: #2563EB;
    --accent-blue-rgb: 59, 130, 246;

    --accent-amber: #F59E0B;
    --accent-amber-light: #FBBF24;
    --accent-amber-dark: #D97706;
    --accent-amber-rgb: 245, 158, 11;

    /* ===================================
       FUNCTIONAL COLORS - Semantic
       =================================== */
    --success-color: #10B981;
    --success-color-light: #34D399;
    --success-color-dark: #059669;
    --success-bg: #D1FAE5;

    --warning-color: #F59E0B;
    --warning-color-light: #FBBF24;
    --warning-color-dark: #D97706;
    --warning-bg: #FEF3C7;

    --error-color: #EF4444;
    --error-color-light: #F87171;
    --error-color-dark: #DC2626;
    --error-bg: #FEE2E2;

    --info-color: #3B82F6;
    --info-color-light: #60A5FA;
    --info-color-dark: #2563EB;
    --info-bg: #DBEAFE;

    /* ===================================
       TEXT COLORS - Typography
       =================================== */
    --text-color: #0F172A;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;
    --text-light: #94A3B8;
    --text-disabled: #CBD5E1;
    --text-on-primary: #FFFFFF;
    --text-on-dark: #F8FAFC;
    --text-link: #3B82F6;
    --text-link-hover: #2563EB;

    /* ===================================
       BACKGROUND COLORS - Surfaces
       =================================== */
    --background-color: #FFFFFF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-dark: #1E293B;
    --bg-darker: #0F172A;

    /* Surface elevations */
    --surface-0: #FFFFFF;
    --surface-1: #FFFFFF;
    --surface-2: #F8FAFC;
    --surface-3: #F1F5F9;

    /* ===================================
       BORDER COLORS
       =================================== */
    --border-color: #E2E8F0;
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    --border-dark: #94A3B8;
    --border-focus: #0BB38C;
    --border-error: #EF4444;

    /* ===================================
       BADGE COLORS - Product Labels
       =================================== */
    --badge-sale-start: #F59E0B;
    --badge-sale-end: #DC2626;
    --badge-stock: #0BB38C;
    --badge-out-of-stock: #71717A;
    --badge-new: #3B82F6;
    --badge-original: #1E293B;
    --badge-original-accent: #F59E0B;

    /* ===================================
       GRADIENTS
       =================================== */
    --gradient-primary: linear-gradient(135deg, #0BB38C 0%, #078768 100%);
    --gradient-secondary: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    --gradient-sale: linear-gradient(135deg, #F59E0B 0%, #DC2626 100%);
    --gradient-premium: linear-gradient(135deg, #1E293B 0%, #334155 100%);

    /* ===================================
       TYPOGRAPHY
       =================================== */
    --font-primary: 'Zalando Sans SemiExpanded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-lg: 1.125rem;    /* 18px */
    --font-size-xl: 1.25rem;     /* 20px */
    --font-size-2xl: 1.5rem;     /* 24px */

    /* ===================================
       SPACING
       =================================== */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 0.75rem;    /* 12px */
    --space-lg: 1rem;       /* 16px */
    --space-xl: 1.5rem;     /* 24px */
    --space-2xl: 2rem;      /* 32px */

    /* ===================================
       BORDER RADIUS
       =================================== */
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-full: 9999px;

    /* ===================================
       SHADOWS
       =================================== */
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Shadow colored (brand) */
    --shadow-primary: 0 4px 14px rgba(11, 179, 140, 0.25);
    --shadow-primary-hover: 0 6px 20px rgba(11, 179, 140, 0.35);

    /* ===================================
       TRANSITIONS
       =================================== */
    --transition: all 0.3s ease;
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* ===================================
       INTERACTIVE STATES
       =================================== */
    --state-hover-opacity: 0.9;
    --state-active-opacity: 0.8;
    --state-disabled-opacity: 0.5;

    /* Focus ring */
    --focus-ring: 0 0 0 3px rgba(11, 179, 140, 0.2);
    --focus-ring-error: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip; /* Previene overflow orizzontale senza bloccare position: sticky */
    width: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: clip; /* Previene overflow orizzontale senza bloccare position: sticky */
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Previeni overflow di elementi embeddati */
iframe,
embed,
object,
video {
    max-width: 100%;
}

/* Previeni overflow di tabelle */
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Previeni overflow di pre e code */
pre {
    max-width: 100%;
    overflow-x: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/*
===========================================
LAYOUT
===========================================
*/
.container {
    max-width: min(1400px, 100%);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.site-header {
    background: var(--background-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    pointer-events: auto; /* Assicura che l'header sia sempre interagibile */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/*
===========================================
NAVIGATION
===========================================
*/
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.current {
    color: var(--primary-color);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.current::after {
    width: 100%;
}

/*
===========================================
HEADER CART & ACCOUNT
===========================================
*/
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1001; /* Assicura che sia sopra altri elementi */
}

.header-cart,
.header-account {
    position: relative;
    cursor: pointer;
    pointer-events: auto; /* Assicura che siano sempre cliccabili */
    z-index: 1001;
}

.header-cart a,
.header-account a,
.header-cart button,
.header-account button {
    pointer-events: auto; /* Assicura che i link e i button siano cliccabili */
    position: relative;
    z-index: 1;
}

.header-cart svg,
.header-account svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-color);
    transition: var(--transition);
}

.header-cart:hover svg,
.header-account:hover svg {
    stroke: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/*
===========================================
BUTTONS
===========================================
*/
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #099974;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/*
===========================================
SHOP CONTAINER & HEADER
===========================================
*/
.shop-container {
    max-width: min(1440px, 100%);
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.shop-header {
    margin-bottom: 50px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.03) 0%, rgba(11, 179, 140, 0.01) 100%);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

/* Elemento decorativo */
.shop-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(11, 179, 140, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.shop-header__content {
    position: relative;
    z-index: 1;
}

.shop-header__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

/* Sottolineatura decorativa H1 */
.shop-header__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(11, 179, 140, 0.3) 100%);
    border-radius: 2px;
}

/* Contenitore descrizione */
.shop-header__description {
    max-width: 950px;
    margin-top: 32px;
}

/* H2 dentro la descrizione (sottotitoli SEO) */
.shop-header__description h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin: 28px 0 16px;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.shop-header__description h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Primo H2 ha margine top ridotto */
.shop-header__description h2:first-child {
    margin-top: 0;
}

/* Paragrafi */
.shop-header__description p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin: 14px 0;
}

.shop-header__description p:first-of-type {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-color);
}

/* Strong/Bold dentro paragrafi */
.shop-header__description strong,
.shop-header__description b {
    color: var(--text-color);
    font-weight: 700;
}

/* Liste */
.shop-header__description ul,
.shop-header__description ol {
    margin: 16px 0;
    padding-left: 28px;
    line-height: 1.8;
    color: #4b5563;
}

.shop-header__description li {
    margin-bottom: 10px;
    font-size: 16px;
}

.shop-header__description ul li::marker {
    color: var(--primary-color);
    font-size: 1.2em;
}

/* Link dentro descrizione */
.shop-header__description a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.shop-header__description a:hover {
    border-bottom-color: var(--primary-color);
}

/* H3 dentro descrizione (se presente) */
.shop-header__description h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-color);
    margin: 22px 0 12px;
    line-height: 1.4;
}

/*
===========================================
LAYOUT 3 COLONNE PROFESSIONALE
===========================================
*/
.shop-layout-pro {
    display: grid;
    grid-template-columns: 250px 1fr 320px;
    gap: 30px;
    align-items: flex-start; /* NECESSARIO per position: sticky */
}

/* Layout senza sottocategorie (2 colonne) */
.shop-layout-pro--no-subcats {
    grid-template-columns: 1fr 320px;
}

.shop-layout-pro--no-subcats .shop-sidebar-left {
    display: none;
}

/*
===========================================
SIDEBAR SOTTOCATEGORIE (Sinistra)
===========================================
*/
.shop-sidebar-left {
    /* Nessun position: la sidebar scrolla normalmente con la pagina */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Link Ritorna alla Categoria Principale */
.shop-parent-link {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.parent-category-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.05) 0%, rgba(11, 179, 140, 0.02) 100%);
}

.parent-category-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

.parent-category-link svg {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.parent-category-link:hover svg {
    color: white;
    transform: translateX(-4px);
}

.parent-category-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.parent-category-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.parent-category-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.parent-category-link:hover .parent-category-label,
.parent-category-link:hover .parent-category-name {
    color: white;
}

/* Box Sottocategorie */
.shop-subcategories {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.shop-subcategories__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.shop-subcategories__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-subcategories__item {
    margin-bottom: 2px;
}

.shop-subcategories__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.shop-subcategories__link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.shop-subcategories__name {
    font-weight: 500;
}

.shop-subcategories__count {
    font-size: 13px;
    opacity: 0.7;
}

/*
===========================================
CONTENUTO CENTRALE - PRODOTTI
===========================================
*/
.shop-main-pro {
    min-width: 0;
}

.products-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/*
===========================================
CARD PRODOTTO PROFESSIONALE
===========================================
*/
.product-card-pro {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    will-change: transform;
}

.product-card-pro:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-card-pro:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Immagine */
.product-card-pro__image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f9fafb;
    overflow: hidden;
}

.product-card-pro__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card-pro__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-lg);
    transition: transform var(--transition-slow);
}

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

/* Badges Top */
.product-card-pro__badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.product-badge {
    padding: var(--space-sm) var(--space-md);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: transform var(--transition-fast);
}

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

.product-badge--sale {
    background: var(--gradient-sale);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.product-badge--out-of-stock {
    background: var(--badge-out-of-stock);
    color: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

/* ============================================================================
   BADGE DISPONIBILITÀ - Elegant Availability Badge
   ========================================================================== */

/**
 * Badge Disponibilità Prodotto
 * Design minimalista con checkmark animato
 * Posizionamento: Top Left nelle card, inline nella single product
 */
.product-availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(11, 179, 140, 0.95);
    border: 1.5px solid var(--primary-color, #0BB38C);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    transition: all 0.3s ease;
    position: absolute;
    top: 10px; /* Dentro l'area padding-top dedicata */
    left: 12px;
    z-index: 3;
    backdrop-filter: blur(4px);
    animation: availabilityPulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(11, 179, 140, 0.3);
}

/* Variante per Single Product Page (non assoluta) */
.product-availability-badge--single {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 16px;
    font-size: 13px;
    padding: 8px 16px;
    animation: none; /* Nessuna animazione pulse nella single page */
    background: rgba(11, 179, 140, 0.1); /* Background chiaro per single page */
    color: var(--primary-color, #0BB38C); /* Testo teal */
    box-shadow: none;
}

.product-availability-badge--single .product-availability-badge__icon {
    stroke: var(--primary-color, #0BB38C); /* Icona teal per single page */
}

/* Icona Checkmark */
.product-availability-badge__icon {
    flex-shrink: 0;
    stroke: white; /* Bianco per contrasto con background teal */
    animation: checkmarkDraw 0.6s ease-out;
}

.product-availability-badge--single .product-availability-badge__icon {
    width: 16px;
    height: 16px;
}

/* Hover Effect (solo su card) */
.product-card-pro:hover .product-availability-badge {
    background: var(--primary-color, #0BB38C);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(11, 179, 140, 0.5);
}

/* Animazione Pulse Sottile */
@keyframes availabilityPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(11, 179, 140, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(11, 179, 140, 0);
    }
}

/* Animazione Checkmark Draw-in */
@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 0, 100;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dasharray: 100, 0;
        opacity: 1;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .product-availability-badge {
        font-size: 10px;
        padding: 5px 10px;
        gap: 4px;
    }

    .product-availability-badge__icon {
        width: 12px;
        height: 12px;
    }

    .product-availability-badge--single {
        font-size: 12px;
        padding: 7px 14px;
    }
}

/* Accessibilità: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .product-availability-badge {
        animation: none;
    }

    .product-availability-badge__icon {
        animation: none;
    }
}

/* Badge Marca (Bottom Left) */
.product-brand-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.product-brand-badge__image {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.product-brand-badge__image img {
    width: 32px !important;
    height: auto !important;
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
    display: block;
    padding: 0 !important; /* Reset padding ereditato da .product-card-pro__image img */
}

.product-brand-badge__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content */
.product-card-pro__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-card-pro__title {
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.4;
    /* CSS Line Clamp for 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2); /* Reserve space for 2 lines */
}

.product-card-pro__title a {
    text-decoration: none;
    color: var(--text-color);
    transition: color var(--transition-fast);
}

.product-card-pro__title a:hover {
    color: var(--primary-color);
}

.product-card-pro__title a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.product-card-pro__price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.product-card-pro__price del {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-card-pro__price ins {
    text-decoration: none;
    font-weight: 700;
}

.product-card-pro__rating {
    margin: -5px 0;
}

.product-card-pro__actions {
    margin-top: auto;
}

.product-card-pro__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.product-card-pro__btn--cart {
    background: var(--primary-color);
    color: white;
}

.product-card-pro__btn--cart:hover:not(.loading) {
    background: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.3);
}

.product-card-pro__btn--cart:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.product-card-pro__btn--cart:active:not(.loading) {
    transform: translateY(0);
}

/* Loading State */
.product-card-pro__btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.product-card-pro__btn.loading .product-card-pro__btn-text {
    opacity: 0;
}

.product-card-pro__btn-spinner {
    display: none;
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.product-card-pro__btn.loading .product-card-pro__btn-spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Added State */
.product-card-pro__btn.added {
    background: var(--success-color);
}

.product-card-pro__btn.added::after {
    content: '\2713';
    position: absolute;
    font-size: 20px;
    animation: checkmarkAppear 0.3s ease-out;
}

@keyframes checkmarkAppear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.product-card-pro__btn--disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.product-card-pro__btn--disabled:hover {
    transform: none;
}

/*
===========================================
SIDEBAR DESTRA (Finder Widget)
===========================================
*/
.shop-sidebar-right {
    /* La sidebar stessa è il contenitore sticky */
    position: sticky;
    top: 120px; /* Aumentato per evitare che venga tagliato dall'header */
}

/*
===========================================
PAGINAZIONE WOOCOMMERCE (Fix Verticale)
===========================================
*/
.woocommerce-pagination {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce-pagination .page-numbers:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(11, 179, 140, 0.05);
}

.woocommerce-pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/*
===========================================
NO PRODUCTS FOUND
===========================================
*/
.shop-no-products {
    text-align: center;
    padding: 80px 20px;
}

.shop-no-products svg {
    color: #d1d5db;
    margin-bottom: 20px;
}

.shop-no-products h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.shop-no-products p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/*
===========================================
RESPONSIVE
===========================================
*/

/* Tablet */
@media (max-width: 1024px) {
    .shop-layout-pro {
        grid-template-columns: 1fr 300px;
    }

    .shop-sidebar-left {
        display: none;
    }

    .products-grid-pro {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .shop-header {
        padding: 40px 30px;
        margin-bottom: 40px;
    }

    .shop-header__title {
        font-size: 36px;
    }

    .shop-header__description h2 {
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .shop-container {
        padding: 20px 15px;
    }

    .shop-header {
        margin-bottom: 30px;
        padding: 30px 25px;
        border-radius: 16px;
    }

    .shop-header::before {
        width: 150px;
        height: 150px;
        top: -30px;
        right: -30px;
    }

    .shop-header__title {
        font-size: 28px;
        margin-bottom: 20px;
        letter-spacing: -0.3px;
    }

    .shop-header__title::after {
        width: 60px;
        height: 3px;
        bottom: -6px;
    }

    .shop-header__description {
        margin-top: 24px;
    }

    .shop-header__description h2 {
        font-size: 19px;
        margin: 22px 0 12px;
        padding-left: 16px;
    }

    .shop-header__description h2::before {
        width: 3px;
        height: 20px;
    }

    .shop-header__description p {
        font-size: 15px;
        line-height: 1.7;
    }

    .shop-header__description p:first-of-type {
        font-size: 16px;
    }

    .shop-header__description h3 {
        font-size: 17px;
        margin: 18px 0 10px;
    }

    .shop-header__description li {
        font-size: 15px;
        margin-bottom: 8px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .shop-header {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .shop-header__title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .shop-header__title::after {
        width: 50px;
    }

    .shop-header__description h2 {
        font-size: 18px;
        padding-left: 14px;
    }

    .shop-header__description p {
        font-size: 14px;
    }

    .shop-layout-pro {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shop-sidebar-right {
        position: relative;
        top: auto;
        order: -1;
    }

    /* Finder widget mobile */
    .finder-sidebar-widget {
        /* Nessuna regola necessaria - scrolla normalmente */
    }

    .products-grid-pro {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-card-pro__content {
        padding: 15px;
    }

    .product-card-pro__title {
        font-size: 14px;
    }

    .product-card-pro__price {
        font-size: 18px;
    }

    .product-brand-badge {
        bottom: 8px;
        left: 8px;
        padding: 6px 10px;
        gap: 8px;
    }

    .product-brand-badge__image {
        width: 26px;
        height: 26px;
    }

    .product-brand-badge__label {
        font-size: 10px;
    }

    /* Link categoria parent su mobile */
    .parent-category-link {
        padding: 16px;
        gap: 12px;
    }

    .parent-category-label {
        font-size: 11px;
    }

    .parent-category-name {
        font-size: 14px;
    }

    .parent-category-link svg {
        width: 18px;
        height: 18px;
    }
}

/*
===========================================
SINGLE PRODUCT
===========================================
*/
.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 40px 0;
}

/* Gallery Styling */
.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
    z-index: 1; /* Z-index basso per non interferire con header e megamenu */
}

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
}

.woocommerce-product-gallery__image {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.woocommerce-product-gallery__image:hover {
    box-shadow: var(--box-shadow-hover);
}

.woocommerce-product-gallery__image img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

/* Thumbnails */
.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 0 0;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    margin: 0;
    padding: 0;
}

.flex-control-thumbs li img {
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.flex-control-thumbs li img:hover,
.flex-control-thumbs li img.flex-active {
    border-color: var(--primary-color);
    opacity: 1;
}

/* Product Details Section */
.product-details {
    display: flex;
    flex-direction: column;
}

.product-details h1,
.product_title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--secondary-color);
}

/* Rating and Meta */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-rating,
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.star-rating {
    color: #ffc107;
    position: relative;
    font-size: 14px;
}

.woocommerce-review-link {
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
}

.woocommerce-review-link:hover {
    color: var(--primary-color);
}

.product_meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}

.product_meta > span {
    display: flex;
    gap: 8px;
}

.product_meta .sku_wrapper,
.product_meta .posted_in,
.product_meta .tagged_as {
    color: var(--text-light);
}

.product_meta a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Price */
.price,
.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.price del,
.product-price del {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 400;
    margin-right: 15px;
    text-decoration: line-through;
}

.price ins,
.product-price ins {
    text-decoration: none;
}

/* Product Description */
.woocommerce-product-details__short-description,
.product-short-description {
    margin: 25px 0;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
}

/* Add to Cart Form */
.cart {
    margin: 20px 0;
}

form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
}

/* Quantity Selector */
.quantity {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
}

.quantity input.qty {
    width: 80px;
    height: 50px;
    text-align: center;
    border: none;
    font-size: 18px;
    font-weight: 600;
    background: transparent;
    -moz-appearance: textfield;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity .qty-btn {
    width: 40px;
    height: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    color: var(--text-color);
}

.quantity .qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Add to Cart Button */
.single_add_to_cart_button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
}

.single_add_to_cart_button:hover {
    background: #099974;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.single_add_to_cart_button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

/* Product Variations */
.variations {
    margin: 25px 0;
    width: 100%;
}

.variations tr {
    border-bottom: 1px solid var(--border-color);
}

.variations td {
    padding: 15px 0;
}

.variations label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 120px;
    display: inline-block;
}

.variations select {
    width: 100%;
    max-width: 300px;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.variations .reset_variations {
    display: inline-block;
    margin-left: 10px;
    color: var(--text-light);
    font-size: 14px;
}

/* Stock Status */
.stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0;
}

.stock.in-stock {
    background: rgba(11, 179, 140, 0.1);
    color: var(--primary-color);
}

.stock.out-of-stock {
    background: rgba(231, 76, 60, 0.1);
    color: var(--error-color);
}

/* Trust Badges on Product Page */
.product-trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 25px;
    background: #f9f9f9;
    border-radius: var(--border-radius);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-badge-item svg {
    flex-shrink: 0;
}

.trust-badge-item span {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

/*
===========================================
SHIPPING COUNTDOWN COMPACT (Ridisegnato)
===========================================
*/
.shipping-countdown-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.08) 0%, rgba(11, 179, 140, 0.12) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    margin: 16px 0;
}

.countdown-truck {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-truck svg {
    stroke: white;
}

.countdown-text {
    flex: 1;
}

.countdown-label {
    display: block;
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 4px;
    font-weight: 500;
}

.countdown-timer-inline {
    font-size: 16px;
    color: var(--primary-color);
}

.countdown-timer-inline strong {
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/*
===========================================
TRUST SEALS PROFESSIONAL (Compatto e Affidabile)
===========================================
*/
.product-trust-seals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 16px 0;
    padding: 0;
}

.trust-seal {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.trust-seal:hover {
    border-color: var(--primary-color);
    background: rgba(11, 179, 140, 0.02);
}

.trust-seal-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-seal-icon svg {
    stroke: var(--primary-color);
}

.trust-seal span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

/*
===========================================
GUARANTEE BADGE (Compatto)
===========================================
*/
.guarantee-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.05) 0%, rgba(11, 179, 140, 0.08) 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    margin: 16px 0;
}

.guarantee-badge-icon {
    flex-shrink: 0;
    stroke: var(--primary-color);
}

.guarantee-badge-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guarantee-badge-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

.guarantee-badge-text span {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

/*
===========================================
BLOG CATEGORIES WIDGET SIDEBAR
===========================================
*/
.blog-categories-widget {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

.blog-categories-widget__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: white;
}

.blog-categories-widget__icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-categories-widget__icon svg {
    stroke: white;
}

.blog-categories-widget__title-wrap {
    flex: 1;
}

.blog-categories-widget__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.blog-categories-widget__subtitle {
    font-size: 13px;
    opacity: 0.85;
    margin: 0;
}

.blog-categories-widget__list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.blog-categories-widget__item {
    margin: 0;
    border-bottom: 1px solid var(--border-light);
}

.blog-categories-widget__item:last-child {
    border-bottom: none;
}

.blog-categories-widget__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-categories-widget__link:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding-left: 24px;
}

.blog-categories-widget__item-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.blog-categories-widget__item-icon svg {
    stroke: var(--text-secondary);
    transition: stroke 0.2s ease;
}

.blog-categories-widget__link:hover .blog-categories-widget__item-icon {
    background: rgba(11, 179, 140, 0.1);
}

.blog-categories-widget__link:hover .blog-categories-widget__item-icon svg {
    stroke: var(--primary-color);
}

.blog-categories-widget__item-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.blog-categories-widget__arrow {
    stroke: var(--text-tertiary);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
}

.blog-categories-widget__link:hover .blog-categories-widget__arrow {
    opacity: 1;
    transform: translateX(0);
    stroke: var(--primary-color);
}

.blog-categories-widget__footer {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.blog-categories-widget__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--secondary-color);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-categories-widget__cta:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 179, 140, 0.3);
    color: white;
}

.blog-categories-widget__cta svg {
    transition: transform 0.25s ease;
}

.blog-categories-widget__cta:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-categories-widget {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .blog-categories-widget__header {
        padding: 16px;
    }

    .blog-categories-widget__icon {
        width: 40px;
        height: 40px;
    }

    .blog-categories-widget__title {
        font-size: 15px;
    }

    .blog-categories-widget__link {
        padding: 10px 16px;
    }

    .blog-categories-widget__item-icon {
        width: 32px;
        height: 32px;
    }
}

/*
===========================================
FINDER WIDGET SIDEBAR (Vertical Card)
===========================================
*/
/*
===========================================
FINDER SIDEBAR WIDGET (Nuovo - Pulito)
===========================================
*/
.finder-sidebar-widget {
    width: 100%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.04) 0%, rgba(11, 179, 140, 0.06) 100%);
    border: 2px solid rgba(11, 179, 140, 0.2);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;

    /* Nessun position qui - lo sticky è sul parent .shop-sidebar-right */
}

.finder-sidebar-widget:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(11, 179, 140, 0.12);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.06) 0%, rgba(11, 179, 140, 0.08) 100%);
}

/* Header with Icon */
.finder-sidebar-widget__header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.finder-sidebar-widget__icon-wrapper {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #25D366 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(11, 179, 140, 0.3);
}

.finder-sidebar-widget__icon {
    color: white;
    width: 40px;
    height: 40px;
}

/* Content */
.finder-sidebar-widget__content {
    text-align: center;
}

/* Badge */
.finder-sidebar-widget__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    margin-bottom: 16px;
}

.finder-sidebar-widget__badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Title */
.finder-sidebar-widget__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
    margin: 0 0 12px 0;
}

/* Description */
.finder-sidebar-widget__description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0 0 20px 0;
}

/* Features List */
.finder-sidebar-widget__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.finder-sidebar-widget__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-color);
}

.finder-sidebar-widget__features li svg {
    flex-shrink: 0;
    color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.finder-sidebar-widget__features li span {
    font-weight: 500;
}

/* CTA Button */
.finder-sidebar-widget__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(11, 179, 140, 0.3);
    margin-bottom: 16px;
}

.finder-sidebar-widget__cta:hover,
.finder-sidebar-widget__cta:focus {
    background: #099a7b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 179, 140, 0.4);
}

.finder-sidebar-widget__cta svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Trust Indicator */
.finder-sidebar-widget__trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid rgba(11, 179, 140, 0.15);
}

.finder-sidebar-widget__trust .trust-stars {
    display: flex;
    gap: 3px;
}

.finder-sidebar-widget__trust-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

/*
===========================================
FINDER WIDGET PRODUCT PAGE (Horizontal Compact)
===========================================
*/
.finder-widget-product {
    margin: 16px 0;
    padding: 0;
}

.finder-widget-product__container {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.04) 0%, rgba(11, 179, 140, 0.06) 100%);
    border: 1px solid rgba(11, 179, 140, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.finder-widget-product__container:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.06) 0%, rgba(11, 179, 140, 0.08) 100%);
    box-shadow: 0 2px 8px rgba(11, 179, 140, 0.1);
}

/* Icon */
.finder-widget-product__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #25D366 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px rgba(11, 179, 140, 0.25);
}

.finder-widget-product__icon svg {
    flex-shrink: 0;
}

/* Content */
.finder-widget-product__content {
    flex: 1;
    min-width: 0;
}

.finder-widget-product__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.finder-widget-product__question {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.finder-widget-product__description {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.3;
}

/* CTA */
.finder-widget-product__cta-wrapper {
    flex-shrink: 0;
}

.finder-widget-product__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(11, 179, 140, 0.2);
    white-space: nowrap;
}

.finder-widget-product__cta:hover,
.finder-widget-product__cta:focus {
    background: #099a7b;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(11, 179, 140, 0.3);
}

.finder-widget-product__cta svg {
    flex-shrink: 0;
}

/*
===========================================
GALLERY IMPROVEMENTS
===========================================
*/
.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.woocommerce-product-gallery__image {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    cursor: zoom-in;
}

.woocommerce-product-gallery__image::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') center no-repeat;
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.woocommerce-product-gallery__image:hover::after {
    opacity: 1;
}

.woocommerce-product-gallery__image:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

/*
===========================================
PRODUCT TABS (Descrizione, Recensioni, Info)
===========================================
*/
.woocommerce-tabs {
    margin: 60px 0;
}

.woocommerce-tabs .tabs {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid var(--border-color);
}

.woocommerce-tabs .tabs li {
    margin: 0;
    padding: 0;
}

.woocommerce-tabs .tabs li a {
    display: block;
    padding: 18px 30px;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    top: 2px;
}

.woocommerce-tabs .tabs li a:hover {
    color: var(--primary-color);
}

.woocommerce-tabs .tabs li.active a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.woocommerce-tabs .panel {
    padding: 40px 0;
    display: none; /* Nasconde i pannelli per default */
}

.woocommerce-tabs .panel.active {
    display: block; /* Mostra solo il pannello attivo */
}

/* WooCommerce usa .woocommerce-Tabs-panel--{slug} + aria-hidden */
.woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 40px 0;
}

.woocommerce-tabs .woocommerce-Tabs-panel[aria-hidden="true"] {
    display: none;
}

.woocommerce-tabs .woocommerce-Tabs-panel[aria-hidden="false"] {
    display: block;
}

.woocommerce-tabs .panel h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.woocommerce-tabs .panel p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Reviews */
#reviews {
    padding: 40px 0;
}

#reviews .commentlist {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

#reviews .comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

#reviews .comment:last-child {
    border-bottom: none;
}

#reviews .comment-text {
    background: #f9f9f9;
    padding: 25px;
    border-radius: var(--border-radius);
    position: relative;
}

#reviews .star-rating {
    margin-bottom: 10px;
}

#reviews .meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

#reviews .meta strong {
    font-weight: 600;
    color: var(--secondary-color);
}

#reviews .meta time {
    color: var(--text-light);
    font-size: 14px;
}

#reviews .description p {
    margin: 0;
    line-height: 1.7;
}

/* Review Form */
#review_form_wrapper {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

#respond {
    background: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
}

#respond #reply-title {
    font-size: 24px;
    margin-bottom: 20px;
}

#respond .comment-form-rating {
    margin-bottom: 20px;
}

#respond .comment-form-comment {
    margin-bottom: 20px;
}

#respond .comment-form-comment label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

#respond textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: var(--font-primary);
    min-height: 150px;
}

#respond textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

#respond .form-submit {
    margin: 0;
}

#respond .submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

#respond .submit:hover {
    background: #099974;
    transform: translateY(-2px);
}

/*
===========================================
RELATED PRODUCTS (Prodotti Correlati)
===========================================
*/
.related.products,
.upsells.products {
    margin: 80px 0;
}

.related.products h2,
.upsells.products h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.related.products h2::after,
.upsells.products h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 40px;
    border-radius: 2px;
}

.related.products .products,
.upsells.products .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Override per prodotti correlati - usa stile product-card */
.related .product,
.upsells .product {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.related .product:hover,
.upsells .product:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.related .product .woocommerce-loop-product__link,
.upsells .product .woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
}

.related .product .attachment-woocommerce_thumbnail,
.upsells .product .attachment-woocommerce_thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related .product:hover .attachment-woocommerce_thumbnail,
.upsells .product:hover .attachment-woocommerce_thumbnail {
    transform: scale(1.05);
}

.related .product .woocommerce-loop-product__title,
.upsells .product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    margin: 15px;
    color: var(--text-color);
}

.related .product .price,
.upsells .product .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 15px 15px;
}

.related .product .button,
.upsells .product .button {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.related .product .button:hover,
.upsells .product .button:hover {
    background: #099974;
    color: white;
}

/* Badge su prodotti correlati */
.related .product .onsale,
.upsells .product .onsale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--error-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

/*
===========================================
CART PAGE
===========================================
*/
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.cart-items {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.cart-item-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cart-item-details h3 {
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-summary {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    color: var(--primary-color);
}

/*
===========================================
CHECKOUT MODERNO
===========================================
*/
.checkout-modern {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Header Checkout */
.checkout-header {
    text-align: center;
    padding: 40px 0 30px;
}

.checkout-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 30px;
}

.checkout-title svg {
    color: var(--primary-color);
}

/* Progress Steps */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.progress-step.completed .step-number {
    background: var(--primary-color);
    color: white;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(11, 179, 140, 0.2);
}

.step-label {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.progress-step.completed .step-label,
.progress-step.active .step-label {
    color: var(--text-color);
}

.progress-line {
    width: 60px;
    height: 3px;
    background: #e0e0e0;
    margin: 0 10px 24px;
    border-radius: 2px;
}

.progress-line.completed {
    background: var(--primary-color);
}

/* Trust Badges Bar */
.trust-badges-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.trust-badge svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Layout Checkout */
.checkout-layout-modern {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: start;
}

/* Checkout Main (Form) */
.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 24px 0;
}

.section-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), #0a9d7a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    color: white;
}

.section-title-wrap h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.section-content {
    padding: 24px;
}

/* Form Fields Styling */
.checkout-section .woocommerce-billing-fields__field-wrapper,
.checkout-section .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout-section .form-row {
    margin: 0;
}

.checkout-section .form-row-wide {
    grid-column: 1 / -1;
}

.checkout-section .form-row-first {
    grid-column: 1;
}

.checkout-section .form-row-last {
    grid-column: 2;
}

.checkout-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.checkout-section label .required {
    color: var(--primary-color);
}

.checkout-section input[type="text"],
.checkout-section input[type="email"],
.checkout-section input[type="tel"],
.checkout-section input[type="number"],
.checkout-section input[type="password"],
.checkout-section select,
.checkout-section textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fafafa;
}

.checkout-section input:focus,
.checkout-section select:focus,
.checkout-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(11, 179, 140, 0.1);
}

.checkout-section input::placeholder {
    color: #aaa;
}

.checkout-section textarea {
    min-height: 100px;
    resize: vertical;
}

/* Select2 Override */
.checkout-section .select2-container--default .select2-selection--single {
    height: 50px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}

.checkout-section .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 16px;
    color: #333;
}

.checkout-section .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
    right: 10px;
}

/* Sidebar Checkout */
.checkout-sidebar {
    position: sticky;
    top: 20px;
}

.order-summary-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.summary-header svg {
    color: var(--primary-color);
}

.item-count {
    font-size: 13px;
    color: #888;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Order Items */
.order-items {
    padding: 16px 24px;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.item-image {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-details dl {
    margin: 4px 0 0;
    font-size: 12px;
    color: #888;
}

.item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Coupon Section */
.coupon-section {
    padding: 12px 24px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.coupon-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.coupon-toggle:hover {
    opacity: 0.8;
}

/* Order Totals */
.order-totals {
    padding: 20px 24px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}

.total-row.shipping span:last-child {
    text-align: right;
}

.total-row.coupon .discount {
    color: var(--primary-color);
}

.total-row.total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #f0f0f0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.total-amount {
    color: var(--primary-color);
    font-size: 22px;
}

/* Payment Section */
.payment-section {
    padding: 24px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.payment-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-color);
}

.payment-section h3 svg {
    color: var(--primary-color);
}

/* Payment Methods */
.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc_payment_method {
    margin-bottom: 12px;
}

.wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wc_payment_method input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.wc_payment_method input[type="radio"]:checked + label,
.wc_payment_method label:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(11, 179, 140, 0.05);
}

.payment_box {
    padding: 16px;
    margin-top: 8px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
}

/* Place Order Button */
#place_order {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--primary-color), #0a9d7a);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 179, 140, 0.3);
}

#place_order:active {
    transform: translateY(0);
}

/* Privacy Policy */
.woocommerce-terms-and-conditions-wrapper {
    margin-top: 16px;
}

.woocommerce-privacy-policy-text {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* Security Footer */
.security-footer {
    padding: 16px 24px;
    background: #f8f9fa;
    border-top: 1px solid #f0f0f0;
}

.security-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
}

.security-icons svg {
    color: var(--primary-color);
}

/* Help Box */
.help-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    margin-top: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.help-icon {
    width: 48px;
    height: 48px;
    background: #f0f9f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-icon svg {
    color: var(--primary-color);
}

.help-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-color);
}

.help-content p {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.help-link:hover {
    text-decoration: underline;
}

/* Checkout Responsive */
@media (max-width: 992px) {
    .checkout-layout-modern {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        position: static;
    }

    .trust-badges-bar {
        gap: 16px;
    }

    .trust-badge {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .checkout-header {
        padding: 30px 0 20px;
    }

    .checkout-title {
        font-size: 22px;
    }

    .progress-line {
        width: 30px;
    }

    .step-label {
        font-size: 11px;
    }

    .trust-badges-bar {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .section-header {
        padding: 20px 20px 0;
    }

    .section-content {
        padding: 20px;
    }

    .checkout-section .woocommerce-billing-fields__field-wrapper,
    .checkout-section .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .checkout-section .form-row-first,
    .checkout-section .form-row-last {
        grid-column: 1;
    }

    .order-items {
        padding: 12px 16px;
    }

    .order-totals {
        padding: 16px;
    }

    .payment-section {
        padding: 16px;
    }
}

/* Legacy Checkout Styles (per retrocompatibilità) */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.checkout-form {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h2 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/*
===========================================
BLOG
===========================================
*/
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.blog-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 14px;
}

.blog-title {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/*
===========================================
FOOTER
===========================================
*/
.site-footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/*
===========================================
RESPONSIVE
===========================================
*/
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

    .single-product-layout,
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Responsive Product Page Enhancements */
    .product-trust-seals {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .trust-seal {
        padding: 10px 12px;
    }

    .trust-seal-icon {
        width: 28px;
        height: 28px;
    }

    .trust-seal span {
        font-size: 12px;
    }

    .shipping-countdown-compact {
        padding: 12px 15px;
    }

    .countdown-truck {
        width: 36px;
        height: 36px;
    }

    .countdown-label {
        font-size: 12px;
    }

    .countdown-timer-inline {
        font-size: 14px;
    }

    .guarantee-badge {
        padding: 14px 16px;
    }

    .guarantee-badge-text strong {
        font-size: 14px;
    }

    .guarantee-badge-text span {
        font-size: 12px;
    }

    /* Finder Widget Sidebar - Mobile Responsive */
    .finder-widget__container {
        padding: 20px 16px;
    }

    .finder-widget__icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .finder-widget__icon {
        width: 32px;
        height: 32px;
    }

    .finder-widget__title {
        font-size: 18px;
    }

    .finder-widget__description {
        font-size: 13px;
    }

    .finder-widget__features li {
        font-size: 13px;
        padding: 6px 0;
    }

    .finder-widget__cta {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Finder Widget Product - Mobile Responsive */
    .finder-widget-product__container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 14px 16px;
    }

    .finder-widget-product__icon {
        width: 40px;
        height: 40px;
    }

    .finder-widget-product__icon svg {
        width: 26px;
        height: 26px;
    }

    .finder-widget-product__question {
        font-size: 13px;
    }

    .finder-widget-product__description {
        font-size: 11px;
    }

    .finder-widget-product__cta {
        width: 100%;
        justify-content: center;
        padding: 11px 20px;
        font-size: 14px;
    }
}

/*
===========================================
UTILITY CLASSES
===========================================
*/
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.hidden {
    display: none;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.no-scroll {
    overflow: hidden;
}

/*
===========================================
TOP BAR
===========================================
*/
.top-bar {
    background-color: #0BB38C;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    position: relative;
    z-index: 999;
    transition: var(--transition);
}

.top-bar.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.top-bar-announcement {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-announcement svg {
    stroke: white;
}

/*
===========================================
HEADER REFACTORED
===========================================
*/
.site-header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.site-header.is-sticky {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

.site-header.is-sticky .header-inner {
    padding: 15px 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.site-logo:hover {
    color: var(--secondary-color);
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
}

.site-header.is-sticky .custom-logo {
    max-height: 40px;
}

/* Header Search Bar */
.header-search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-account a,
.header-cart button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    border-radius: 50%;
}

.header-account a:hover,
.header-cart button:hover {
    background: rgba(11, 179, 140, 0.1);
}

.header-account svg,
.header-cart svg {
    stroke: var(--text-color);
    transition: var(--transition);
}

.header-account a:hover svg,
.header-cart button:hover svg {
    stroke: var(--primary-color);
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.cart-count.animate-bounce {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.2); }
}

/*
===========================================
MEGA MENU (Desktop)
===========================================
*/
.mega-menu-wrapper {
    background: var(--primary-color);
    position: relative;
    z-index: 999; /* Appena sotto l'header ma sopra il contenuto */
    pointer-events: auto; /* Assicura che sia sempre interagibile */
}

/* Rimuovi gap tra header e contenuto */
.site-main {
    margin-top: 0;
    padding-top: 0;
}

.mega-menu-nav {
    margin: 0;
    padding: 0;
}

.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mega-menu-item {
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.mega-menu-item.has-dropdown {
    pointer-events: auto; /* Assicura hover e click */
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 18px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.mega-menu-link:hover,
.mega-menu-item.is-active > .mega-menu-link {
    color: var(--primary-color);
    background: white;
}

.mega-menu-link .dropdown-icon {
    transition: transform 0.3s ease;
    stroke: #ffffff;
}

.mega-menu-link:hover .dropdown-icon,
.mega-menu-item.is-active > .mega-menu-link .dropdown-icon {
    stroke: var(--primary-color);
}

.mega-menu-item.is-active .mega-menu-link .dropdown-icon {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: min(900px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    width: max-content;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    padding: 0;
    pointer-events: none; /* BUGFIX: Non intercetta mouse quando nascosto */
}

.mega-menu-dropdown.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto; /* Intercetta mouse solo quando visibile */
}

/* Smart Positioning: Centrato nel viewport (gestito da JS) */
.mega-menu-dropdown.align-viewport-center {
    transform: translateY(10px);
}

.mega-menu-dropdown.align-viewport-center.is-visible {
    transform: translateY(0);
}

/* Fallback per align-left e align-right (legacy) */
.mega-menu-dropdown.align-viewport-left,
.mega-menu-dropdown.align-viewport-right {
    transform: translateY(10px);
}

.mega-menu-dropdown.align-viewport-left.is-visible,
.mega-menu-dropdown.align-viewport-right.is-visible {
    transform: translateY(0);
}

.mega-menu-dropdown-inner {
    padding: 30px;
}

.mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.mega-menu-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.view-all-link:hover {
    gap: 10px;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 16px;
}

.subcategory-item {
    margin: 0;
    padding: 0;
}

.subcategory-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 13px;
}

.subcategory-link:hover {
    background: rgba(11, 179, 140, 0.08);
    color: var(--primary-color);
    transform: translateX(4px);
}

.product-count {
    color: var(--text-light);
    font-size: 12px;
}

.mega-menu-featured {
    display: none;
}

.mega-menu-featured img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/*
===========================================
CART SIDEBAR
===========================================
*/
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    z-index: 10000;
    pointer-events: none;
}

.cart-sidebar.is-open {
    pointer-events: auto;
}

/*
 * OVERLAY: Backdrop scuro dietro la sidebar
 * IMPORTANTE: z-index più BASSO del panel per non coprirlo
 */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998; /* Più basso del panel (9999) */
    pointer-events: none; /* Non blocca click quando chiuso */
}

.cart-sidebar.is-open .cart-sidebar-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Abilita click per chiudere quando aperto */
}

/*
 * PANEL: Il contenuto effettivo della sidebar
 * IMPORTANTE: z-index più ALTO dell'overlay per essere sopra
 */
.cart-sidebar-panel {
    position: fixed; /* Cambiato da absolute a fixed per stacking context pulito */
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: white;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 9999; /* Sopra l'overlay (9998) */
    pointer-events: auto; /* Sempre cliccabile */
}

.cart-sidebar.is-open .cart-sidebar-panel {
    transform: translateX(0);
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.cart-sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.cart-sidebar-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-sidebar-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.cart-sidebar-close svg {
    stroke: var(--text-color);
}

.cart-sidebar-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* Cart Empty State */
.cart-sidebar-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-message {
    color: var(--text-light);
    margin: 20px 0 30px;
    font-size: 16px;
}

/* Cart Items List */
.cart-sidebar-items {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.cart-sidebar-item {
    display: grid;
    grid-template-columns: 80px 1fr 24px;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.cart-sidebar-item:first-child {
    padding-top: 0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #f5f5f5;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-item-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.cart-item-name a {
    color: var(--text-color);
    text-decoration: none;
}

.cart-item-name a:hover {
    color: var(--primary-color);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
}

.cart-item-quantity {
    color: var(--text-light);
    font-size: 13px;
}

.cart-item-subtotal {
    color: var(--text-color);
    font-size: 13px;
}

.subtotal-label {
    color: var(--text-light);
    margin-right: 4px;
}

.remove-cart-item {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    width: 24px;
    height: 24px;
}

.remove-cart-item:hover {
    background: rgba(231, 76, 60, 0.1);
}

.remove-cart-item svg {
    stroke: var(--text-light);
}

.remove-cart-item:hover svg {
    stroke: var(--error-color);
}

.remove-cart-item.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Cart Totals */
.cart-sidebar-totals {
    padding: 20px 0;
    border-top: 2px solid var(--border-color);
    margin-top: 20px;
}

.cart-subtotal,
.cart-tax,
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-total {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 18px;
    font-weight: 700;
}

.total-amount {
    color: var(--primary-color);
}

/* Cart Actions */
.cart-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.btn-checkout,
.btn-view-cart {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
}

/* Trust Badges Container */
.cart-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #f8faf9;
    border-radius: var(--border-radius);
    margin-top: 20px;
    border: 1px solid rgba(11, 179, 140, 0.15);
}

.cart-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444;
}

.cart-trust-badge svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.cart-trust-badge span {
    font-weight: 500;
}

/* Payment Methods */
.cart-payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    margin-top: 12px;
    background: #fafafa;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
}

.payment-label {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-icons svg {
    height: 24px;
    width: auto;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/*
===========================================
FREE SHIPPING PROGRESS BAR (Cart Sidebar)
===========================================
*/
.free-shipping-progress-wrapper {
    margin: 20px 0 16px;
    padding: 0;
}

.free-shipping-progress {
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.04) 0%, rgba(11, 179, 140, 0.08) 100%);
    border: 1px solid rgba(11, 179, 140, 0.15);
    border-radius: var(--border-radius);
    padding: 14px 16px;
    transition: all 0.3s ease;
}

.free-shipping-progress:hover {
    border-color: rgba(11, 179, 140, 0.25);
    box-shadow: 0 2px 8px rgba(11, 179, 140, 0.08);
}

/* Message Row */
.free-shipping-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.free-shipping-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.free-shipping-progress:hover .free-shipping-icon {
    transform: scale(1.05);
}

.free-shipping-icon svg {
    stroke: white;
    width: 16px;
    height: 16px;
}

.free-shipping-text {
    flex: 1;
    min-width: 0;
}

.free-shipping-label {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.4;
}

.free-shipping-label strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Success State */
.free-shipping-success {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.4;
}

.free-shipping-success .check-icon {
    flex-shrink: 0;
    stroke: var(--primary-color);
    animation: checkPulse 0.5s ease;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Progress Bar */
.free-shipping-bar {
    margin-bottom: 8px;
}

.free-shipping-bar-track {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 10px;
    overflow: visible; /* Importante per truck indicator */
}

.free-shipping-bar-fill {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #25D366 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(11, 179, 140, 0.2);
}

.free-shipping-bar-fill.is-complete {
    background: linear-gradient(90deg, #25D366 0%, #20b858 100%);
    animation: completePulse 0.8s ease;
}

@keyframes completePulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.3); }
}

/* Truck Indicator (si muove sulla barra) */
.free-shipping-truck-indicator {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: right 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.free-shipping-truck-indicator svg {
    width: 12px;
    height: 12px;
    fill: var(--primary-color);
}

/* Amount Info */
.free-shipping-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 6px;
}

.current-amount {
    font-weight: 600;
    color: var(--primary-color);
}

.threshold-amount {
    font-weight: 600;
    color: var(--text-light);
}

/* Responsive Mobile */
@media (max-width: 480px) {
    .free-shipping-progress {
        padding: 12px 14px;
    }

    .free-shipping-icon {
        width: 26px;
        height: 26px;
    }

    .free-shipping-icon svg {
        width: 14px;
        height: 14px;
    }

    .free-shipping-label,
    .free-shipping-success {
        font-size: 12px;
    }

    .free-shipping-bar-track {
        height: 7px;
    }

    .free-shipping-info {
        font-size: 10px;
    }
}

/*
===========================================
CART NOTIFICATION
===========================================
*/
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    z-index: 10001;
    min-width: 280px;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.cart-notification-error {
    border-left-color: var(--error-color);
}

.cart-notification.fade-out {
    animation: slideOutRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/*
===========================================
MOBILE MENU
===========================================
*/
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    pointer-events: auto; /* Assicura che sia sempre cliccabile */
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    pointer-events: none;
}

.mobile-menu-sidebar.is-open {
    pointer-events: auto;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-sidebar.is-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: white;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 1;
}

.mobile-menu-sidebar.is-open .mobile-menu-container {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--border-color);
}

/* Stili comuni per link e button accordion categorie */
.mobile-menu-link,
.mobile-category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    color: var(--text-color);
    text-decoration: none;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-link:hover,
.mobile-category-toggle:hover {
    background: rgba(11, 179, 140, 0.05);
    color: var(--primary-color);
}

/* Icona chevron accordion */
.mobile-category-toggle .toggle-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Impedisce al SVG di comprimersi */
    margin-left: 8px;
}

/* Rotazione icona quando accordion è espanso */
.mobile-menu-item.is-expanded .mobile-category-toggle .toggle-icon {
    transform: rotate(180deg);
}

/* Feedback visivo al click */
.mobile-category-toggle:active {
    background: rgba(11, 179, 140, 0.1);
    transform: scale(0.98);
}

/* Highlight quando categoria è espansa */
.mobile-menu-item.is-expanded > .mobile-category-toggle {
    color: var(--primary-color);
    background: rgba(11, 179, 140, 0.05);
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
    display: none;
}

.mobile-submenu-item,
.mobile-submenu-all {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-submenu-item:last-child {
    border-bottom: none;
}

.mobile-submenu-item a,
.mobile-submenu-all a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.mobile-submenu-all a {
    font-weight: 600;
    color: var(--primary-color);
}

.mobile-submenu-item a:hover,
.mobile-submenu-all a:hover {
    background: rgba(11, 179, 140, 0.08);
    color: var(--primary-color);
}

/*
===========================================
RESPONSIVE
===========================================
*/
@media (max-width: 1200px) {
    .mega-menu-dropdown {
        min-width: 90vw;
        max-width: 90vw;
        width: 90vw;
    }

    .subcategory-list {
        grid-template-columns: repeat(3, 1fr); /* 3 colonne su schermi medi */
    }
}

@media (max-width: 1024px) {
    .mega-menu-dropdown {
        min-width: 90vw;
        max-width: 90vw;
        width: 90vw;
    }

    .subcategory-list {
        grid-template-columns: repeat(2, 1fr); /* 2 colonne su tablet */
    }
}

@media (max-width: 768px) {
    .subcategory-list {
        grid-template-columns: 1fr; /* 1 colonna su mobile */
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    /* Per schermi tra 769px e 900px (tablet landscape) */
    .mega-menu-dropdown {
        min-width: calc(100% - 40px); /* Fix overflow: usa 100% invece di 100vw */
        max-width: calc(100% - 40px);
        width: calc(100% - 40px);
    }

    /* Forza sempre allineamento a sinistra su questi schermi */
    .mega-menu-dropdown {
        left: 20px !important;
        right: 20px !important;
        transform: translateY(10px) !important;
    }

    .mega-menu-dropdown.is-visible {
        transform: translateY(0) !important;
    }
}

@media (max-width: 768px) {
    /* Hide desktop mega menu */
    .mega-menu-wrapper {
        display: none;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Header adjustments */
    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
    }

    .site-branding {
        order: 2;
        flex: 1;
    }

    /* Search bar visible on mobile - full width row */
    .header-search-bar {
        display: block;
        order: 4;
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
        margin: 8px 0 0 0;
    }

    .header-search-bar input[type="search"],
    .header-search-bar input[type="text"] {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px; /* Prevent iOS zoom */
        border-radius: 8px;
    }

    .header-actions {
        order: 3;
        gap: 12px;
    }

    .mobile-menu-toggle {
        order: 1;
    }

    /* Cart sidebar full width on mobile */
    .cart-sidebar {
        max-width: 100%;
    }

    .cart-sidebar-panel {
        max-width: 100%; /* Full width su mobile */
    }

    .cart-sidebar-item {
        grid-template-columns: 70px 1fr 24px;
        gap: 12px;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    /* Assicurati che l'overlay non copra il panel su mobile */
    .cart-sidebar-overlay {
        z-index: 9998; /* Sempre sotto il panel */
    }

    .cart-sidebar-panel {
        z-index: 9999; /* Sempre sopra l'overlay */
    }
}

/* AJAX Search Pro - Mobile Optimization */
.header-search-bar .prso,
.header-search-bar .asp_w,
.header-search-bar .probox,
.header-search-bar .asp_m {
    width: 100% !important;
}

.header-search-bar .probox input,
.header-search-bar .asp_w input[type="search"],
.header-search-bar .asp_m input {
    width: 100% !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .header-search-bar .prso,
    .header-search-bar .asp_w,
    .header-search-bar .probox,
    .header-search-bar .asp_m {
        max-width: 100% !important;
    }

    /* Risultati ricerca mobile */
    .asp_r,
    .asp_w .results,
    .prso .results {
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .top-bar {
        font-size: 12px;
        padding: 10px 0;
    }

    .header-inner {
        padding: 10px 0;
    }

    .custom-logo {
        max-height: 40px;
    }

    .cart-sidebar-panel {
        width: 100%;
    }

    /* Search bar 480px */
    .header-search-bar {
        margin-top: 6px;
    }

    .subcategory-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   BESTSELLER SLIDER - Splide Integration
   ========================================================================== */

/**
 * Sezione Bestseller Slider
 * Design coerente con homepage, responsive mobile-first
 */
.bestseller-slider-section {
    margin-top: 80px; /* Distanza dalla hero section */
    margin-bottom: 60px;
    position: relative;
    overflow-x: hidden; /* Previene overflow da frecce negative */
}

/* Header Section */
.bestseller-slider-header {
    text-align: center;
    margin-bottom: 40px;
}

.bestseller-slider-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.bestseller-slider-header p {
    color: var(--text-tertiary);
    font-size: 18px;
    margin: 0;
}

/* ============================================================================
   OTTIMIZZAZIONI CARD SLIDER - Proporzioni e UX Migliorate
   ========================================================================== */

/**
 * Override specifici per product-card-pro nello slider
 * Migliora proporzioni, spacing, e leggibilità
 */

/* Card wrapper - aspect ratio ottimizzato */
.bestseller-slider-section .product-card-pro {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.bestseller-slider-section .product-card-pro:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Immagine - container con padding-top per spazio badge */
.bestseller-slider-section .product-card-pro__image {
    aspect-ratio: 1 / 1;
    background: #f9fafb;
    overflow: hidden; /* Mantiene tutto contenuto */
    position: relative;
    padding-top: 40px; /* Spazio dedicato badge top */
    display: flex;
    align-items: flex-start; /* Allinea in alto */
    justify-content: center;
}

.bestseller-slider-section .product-card-pro__image-link {
    width: calc(100% - 32px); /* Margini laterali simmetrici */
    height: calc(100% - 40px); /* Compensa padding-top */
    display: block;
    margin: 0 16px 16px 16px; /* Margini laterali uguali + bottom */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.bestseller-slider-section .product-card-pro__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.bestseller-slider-section .product-card-pro:hover .product-card-pro__image img {
    transform: scale(1.05); /* Ridotto da 1.08 - effetto più sottile */
}

/* Badge positioning nell'area dedicata top */
.bestseller-slider-section .product-card-pro__badges {
    top: 10px; /* Allineato con badge disponibilità */
    right: 12px;
}

/* Content area - padding ridotto per più respiro */
.bestseller-slider-section .product-card-pro__content {
    padding: 20px; /* Bilanciato per respiro */
    display: flex;
    flex-direction: column;
    gap: 14px; /* Spacing armonico */
    flex: 1;
    min-height: 160px; /* Ridotto per proporzioni migliori */
}

/* Titolo - line clamp 2 righe con altezza fissa */
.bestseller-slider-section .product-card-pro__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    min-height: 48px; /* Esattamente 2 righe (16px * 1.5 * 2) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bestseller-slider-section .product-card-pro__title a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.bestseller-slider-section .product-card-pro__title a:hover {
    color: var(--primary-color, #0BB38C);
}

/* Prezzo - font-size aumentato per prominenza */
.bestseller-slider-section .product-card-pro__price {
    font-size: 24px; /* Aumentato da 22px */
    font-weight: 700;
    color: var(--primary-color, #0BB38C);
    line-height: 1.2;
}

.bestseller-slider-section .product-card-pro__price del {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light, #999);
    margin-left: 8px;
}

.bestseller-slider-section .product-card-pro__price ins {
    text-decoration: none;
}

/* Rating - spacing ottimizzato */
.bestseller-slider-section .product-card-pro__rating {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Button - proporzioni ottimizzate per desktop */
.bestseller-slider-section .product-card-pro__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px; /* Ottimizzato per single-line text */
    border-radius: 8px;
    font-size: 12px; /* Ridotto per evitare wrapping */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
    white-space: nowrap; /* Impedisce line break */
}

.bestseller-slider-section .product-card-pro__btn--cart {
    background: var(--primary-color, #0BB38C);
    color: white;
    border: 2px solid var(--primary-color, #0BB38C);
}

.bestseller-slider-section .product-card-pro__btn--cart:hover {
    background: white;
    color: var(--primary-color, #0BB38C);
    transform: translateY(-1px); /* Ridotto da -2px - più sottile */
    box-shadow: 0 3px 10px rgba(11, 179, 140, 0.2); /* Shadow ridotto */
}

.bestseller-slider-section .product-card-pro__btn svg {
    flex-shrink: 0;
    width: 16px; /* Ridotto da 18px per proporzioni button */
    height: 16px;
}

/* Brand Badge - ottimizzato per slider */
.bestseller-slider-section .product-brand-badge {
    position: absolute;
    bottom: 16px; /* Aumentato da 12px */
    left: 16px; /* Aumentato da 12px */
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px; /* Aumentato da 12px */
    padding: 10px 14px; /* Aumentato da 8px 12px */
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); /* Shadow più prominente */
    backdrop-filter: blur(10px);
    z-index: 3;
    transition: all 0.3s ease;
}

.bestseller-slider-section .product-card-pro:hover .product-brand-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.bestseller-slider-section .product-brand-badge__image {
    width: 36px; /* Aumentato da 32px */
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bestseller-slider-section .product-brand-badge__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bestseller-slider-section .product-brand-badge__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color, #0BB38C);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Badge top (Offerta/Esaurito) - ottimizzati */
.bestseller-slider-section .product-card-pro__badges {
    position: absolute;
    top: 16px; /* Aumentato da 12px */
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.bestseller-slider-section .product-badge {
    padding: 8px 16px; /* Aumentato da 6px 14px */
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Empty State (quando nessun bestseller) */
.bestseller-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.bestseller-empty-state svg {
    opacity: 0.3;
    margin: 0 auto 20px;
    display: block;
}

.bestseller-empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.bestseller-empty-state p {
    color: var(--text-tertiary);
    margin-bottom: 24px;
    font-size: 16px;
}

/* Splide Track Wrapper */
#bestseller-slider {
    min-height: 450px; /* CLS prevention: reserve space */
}

#bestseller-slider .splide__track {
    padding: 10px 0 20px; /* Spazio per box-shadow hover */
}

#bestseller-slider .splide__slide {
    display: flex; /* Assicura altezza uniforme cards */
    height: auto;
}

#bestseller-slider .splide__slide .product-card-pro {
    width: 100%;
    height: 100%;
}

/* Custom Navigation Arrows - Design moderno coerente con tema */
.bestseller-arrow {
    width: 44px; /* Ridotto da 48px */
    height: 44px;
    background: var(--primary-color, #0BB38C); /* Background teal diretto */
    border: 1.5px solid var(--primary-color, #0BB38C);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 14px rgba(11, 179, 140, 0.35); /* Shadow teal più intenso */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    backdrop-filter: blur(4px); /* Glassmorphism */
}

.bestseller-arrow--prev {
    left: -22px; /* Ridotto da -24px */
}

.bestseller-arrow--next {
    right: -22px;
}

.bestseller-arrow:hover:not(:disabled) {
    background: var(--primary-color, #0BB38C);
    border-color: var(--primary-color, #0BB38C);
    box-shadow: 0 6px 20px rgba(11, 179, 140, 0.45); /* Shadow più intenso on hover */
    transform: translateY(-50%) scale(1.08);
}

.bestseller-arrow svg {
    fill: none;
    stroke: white; /* Bianco diretto per contrasto su teal */
    stroke-width: 2.5;
    stroke-linecap: round; /* Bordi arrotondati */
    stroke-linejoin: round;
    transition: stroke 0.25s ease;
    width: 18px; /* Ridotto da 20px */
    height: 18px;
}

.bestseller-arrow:hover:not(:disabled) svg {
    stroke: white; /* Rimane bianco */
}

.bestseller-arrow:disabled {
    opacity: 0.25; /* Ridotto da 0.3 - più invisibile */
    cursor: not-allowed;
    box-shadow: none;
    border-color: #e0e0e0;
}

.bestseller-arrow:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #e0e0e0;
    transform: translateY(-50%) scale(1);
}

.bestseller-arrow:focus-visible {
    outline: 2px solid var(--primary-color, #0BB38C);
    outline-offset: 3px;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet Landscape (1024px - 1280px) */
@media (max-width: 1280px) {
    .bestseller-slider-section {
        margin-top: 70px; /* Ridotto da 80px */
    }

    .bestseller-slider-header h2 {
        font-size: 32px;
    }

    .bestseller-slider-header p {
        font-size: 16px;
    }

    #bestseller-slider {
        min-height: 420px;
    }

    /* Card ottimizzazioni tablet landscape */
    .bestseller-slider-section .product-card-pro__content {
        padding: 20px;
        gap: 14px;
        min-height: 170px;
    }

    .bestseller-slider-section .product-card-pro__title {
        font-size: 15px;
        min-height: 45px; /* 15px * 1.5 * 2 */
    }

    .bestseller-slider-section .product-card-pro__price {
        font-size: 22px;
    }

    .bestseller-slider-section .product-card-pro__btn {
        padding: 11px 16px; /* Progressione logica da desktop */
        font-size: 12px;
    }

    .bestseller-slider-section .product-brand-badge {
        bottom: 14px;
        left: 14px;
        padding: 8px 12px;
    }

    .bestseller-slider-section .product-brand-badge__image {
        width: 32px;
        height: 32px;
    }
}

/* Tablet Portrait (768px - 1024px) */
@media (max-width: 1024px) {
    .bestseller-slider-section {
        margin-top: 60px; /* Ridotto da 70px */
    }

    .bestseller-slider-header h2 {
        font-size: 28px;
    }

    .bestseller-arrow {
        width: 40px; /* Ridotto da 42px */
        height: 40px;
    }

    .bestseller-arrow svg {
        width: 16px;
        height: 16px;
    }

    .bestseller-arrow--prev {
        left: -20px; /* Ridotto da -16px */
    }

    .bestseller-arrow--next {
        right: -20px;
    }

    #bestseller-slider {
        min-height: 400px;
    }

    /* Card ottimizzazioni tablet portrait */
    .bestseller-slider-section .product-card-pro__content {
        padding: 18px;
        gap: 12px;
        min-height: 160px;
    }

    .bestseller-slider-section .product-card-pro__title {
        font-size: 14px;
        min-height: 42px; /* 14px * 1.5 * 2 */
    }

    .bestseller-slider-section .product-card-pro__price {
        font-size: 20px;
    }

    .bestseller-slider-section .product-card-pro__btn {
        padding: 11px 18px;
        font-size: 13px;
    }

    .bestseller-slider-section .product-brand-badge {
        bottom: 12px;
        left: 12px;
        padding: 7px 10px;
        gap: 8px;
    }

    .bestseller-slider-section .product-brand-badge__image {
        width: 28px;
        height: 28px;
    }

    .bestseller-slider-section .product-brand-badge__label {
        font-size: 10px;
    }
}

/* Mobile Large (480px - 768px) */
@media (max-width: 768px) {
    .bestseller-slider-section {
        margin-top: 40px; /* Ridotto da 60px */
        margin-bottom: 40px;
    }

    .bestseller-slider-header {
        margin-bottom: 30px;
    }

    .bestseller-slider-header h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .bestseller-slider-header p {
        font-size: 14px;
    }

    .bestseller-arrow {
        width: 36px;
        height: 36px;
    }

    .bestseller-arrow svg {
        width: 16px;
        height: 16px;
    }

    .bestseller-arrow--prev {
        left: -12px;
    }

    .bestseller-arrow--next {
        right: -12px;
    }

    #bestseller-slider {
        min-height: 400px;
    }

    .bestseller-empty-state {
        padding: 60px 20px;
    }

    .bestseller-empty-state h3 {
        font-size: 20px;
    }

    /* Card ottimizzazioni mobile */
    .bestseller-slider-section .product-card-pro__content {
        padding: 16px;
        gap: 12px;
        min-height: 150px;
    }

    .bestseller-slider-section .product-card-pro__title {
        font-size: 14px;
        min-height: 42px;
    }

    .bestseller-slider-section .product-card-pro__price {
        font-size: 20px;
    }

    .bestseller-slider-section .product-card-pro__btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .bestseller-slider-section .product-brand-badge {
        bottom: 10px;
        left: 10px;
        padding: 6px 8px;
        gap: 6px;
        border-radius: 10px;
    }

    .bestseller-slider-section .product-brand-badge__image {
        width: 24px;
        height: 24px;
    }

    .bestseller-slider-section .product-brand-badge__label {
        font-size: 9px;
    }

    .bestseller-slider-section .product-card-pro__badges {
        top: 12px;
        right: 12px;
    }

    .bestseller-slider-section .product-badge {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Riduzione spazi immagine su tablet */
    .bestseller-slider-section .product-card-pro__image {
        padding-top: 36px;
    }

    .bestseller-slider-section .product-card-pro__image-link {
        width: calc(100% - 28px);
        height: calc(100% - 36px);
        margin: 0 14px 14px 14px;
    }

    .sale-products-slider-section .product-card-pro__image {
        padding-top: 36px;
    }

    .sale-products-slider-section .product-card-pro__image-link {
        width: calc(100% - 28px);
        height: calc(100% - 36px);
        margin: 0 14px 14px 14px;
    }
}

/* Mobile Small (< 480px) */
@media (max-width: 480px) {
    .bestseller-slider-section {
        margin-top: 30px; /* Compatto per mobile */
    }

    .bestseller-slider-header h2 {
        font-size: 22px;
    }

    .bestseller-arrow {
        width: 32px;
        height: 32px;
    }

    .bestseller-arrow svg {
        width: 14px;
        height: 14px;
    }

    .bestseller-arrow--prev {
        left: -8px;
    }

    .bestseller-arrow--next {
        right: -8px;
    }

    #bestseller-slider {
        min-height: 380px;
    }

    .bestseller-empty-state {
        padding: 40px 15px;
    }

    .bestseller-empty-state svg {
        width: 60px;
        height: 60px;
    }

    /* Card ottimizzazioni mobile small */
    .bestseller-slider-section .product-card-pro__content {
        padding: 14px;
        gap: 10px;
        min-height: 140px;
    }

    .bestseller-slider-section .product-card-pro__title {
        font-size: 13px;
        min-height: 39px; /* 13px * 1.5 * 2 */
    }

    .bestseller-slider-section .product-card-pro__price {
        font-size: 18px;
    }

    .bestseller-slider-section .product-card-pro__btn {
        padding: 11px 14px;
        font-size: 12px;
        gap: 8px;
    }

    .bestseller-slider-section .product-brand-badge {
        bottom: 8px;
        left: 8px;
        padding: 5px 7px;
        gap: 5px;
        border-radius: 8px;
    }

    .bestseller-slider-section .product-brand-badge__image {
        width: 20px;
        height: 20px;
    }

    .bestseller-slider-section .product-brand-badge__label {
        font-size: 8px;
        letter-spacing: 0.3px;
    }

    .bestseller-slider-section .product-card-pro__badges {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .bestseller-slider-section .product-badge {
        padding: 5px 10px;
        font-size: 10px;
    }

    /* Riduzione spazi immagine su mobile small */
    .bestseller-slider-section .product-card-pro__image {
        padding-top: 32px;
    }

    .bestseller-slider-section .product-card-pro__image-link {
        width: calc(100% - 24px);
        height: calc(100% - 32px);
        margin: 0 12px 12px 12px;
    }

    .sale-products-slider-section .product-card-pro__image {
        padding-top: 32px;
    }

    .sale-products-slider-section .product-card-pro__image-link {
        width: calc(100% - 24px);
        height: calc(100% - 32px);
        margin: 0 12px 12px 12px;
    }
}

/* ============================================================================
   LOADING STATE (opzionale skeleton)
   ========================================================================== */

#bestseller-slider.is-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: bestseller-skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes bestseller-skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Screen reader only text per live region */
.screen-reader-text,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Allow screen reader text to be focusable when navigated to via keyboard */
.screen-reader-text:focus,
.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: var(--space-sm) var(--space-md);
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-sm);
    z-index: 100000;
}

/* Focus visible per keyboard navigation */
#bestseller-slider .splide__slide:focus-visible {
    outline: 2px solid var(--primary-color, #0BB38C);
    outline-offset: 4px;
    border-radius: 8px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #bestseller-slider,
    .bestseller-arrow,
    .bestseller-arrow svg {
        transition: none !important;
        animation: none !important;
    }

    #bestseller-slider .splide__slide {
        scroll-snap-align: start;
    }
}

/* ============================================================================
   SALE PRODUCTS SLIDER - Prodotti in Offerta
   ========================================================================== */

/*
 * Riutilizza tutti gli stili del bestseller-slider con classe condivisa
 * Aggiunge solo specifiche necessarie per il secondo slider
 */

.sale-products-slider-section {
    margin-top: 80px; /* Spaziatura dalla sezione precedente */
    margin-bottom: 80px;
    padding: 0;
    background: white;
    overflow-x: hidden; /* Previene overflow da frecce negative */
}

/* Immagine - container con padding-top per spazio badge */
.sale-products-slider-section .product-card-pro__image {
    aspect-ratio: 1 / 1;
    background: #f9fafb;
    overflow: hidden;
    position: relative;
    padding-top: 40px; /* Spazio dedicato badge top */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.sale-products-slider-section .product-card-pro__image-link {
    width: calc(100% - 32px);
    height: calc(100% - 40px);
    display: block;
    margin: 0 16px 16px 16px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.sale-products-slider-section .product-card-pro__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.sale-products-slider-section .product-card-pro:hover .product-card-pro__image img {
    transform: scale(1.05);
}

/* Badge positioning nell'area dedicata top */
.sale-products-slider-section .product-card-pro__badges {
    top: 10px;
    right: 12px;
}

/* Badge Offerta - Override con colori tema per massimo impatto */
.sale-products-slider-section .product-badge--sale {
    background: var(--gradient-sale);
    color: white;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(11, 179, 140, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Animazione pulse per attirare attenzione */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 3px 12px rgba(11, 179, 140, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(11, 179, 140, 0.6);
    }
}

/* Arrow styling - identico al bestseller */
.sale-products-arrow {
    width: 44px; /* Ridotto da 48px */
    height: 44px;
    background: var(--primary-color, #0BB38C); /* Background teal diretto */
    border: 1.5px solid var(--primary-color, #0BB38C);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 14px rgba(11, 179, 140, 0.35); /* Shadow teal più intenso */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    backdrop-filter: blur(4px); /* Glassmorphism */
}

.sale-products-arrow--prev {
    left: -22px; /* Ridotto da -24px */
}

.sale-products-arrow--next {
    right: -22px;
}

.sale-products-arrow:hover:not(:disabled) {
    background: var(--primary-color, #0BB38C);
    border-color: var(--primary-color, #0BB38C);
    box-shadow: 0 6px 20px rgba(11, 179, 140, 0.45); /* Shadow più intenso on hover */
    transform: translateY(-50%) scale(1.08);
}

.sale-products-arrow svg {
    fill: none;
    stroke: white; /* Bianco diretto per contrasto su teal */
    stroke-width: 2.5;
    stroke-linecap: round; /* Bordi arrotondati */
    stroke-linejoin: round;
    transition: stroke 0.25s ease;
    width: 18px; /* Ridotto da 20px */
    height: 18px;
}

.sale-products-arrow:hover:not(:disabled) svg {
    stroke: white; /* Rimane bianco */
}

.sale-products-arrow:disabled {
    opacity: 0.25; /* Ridotto da 0.3 - più invisibile */
    cursor: not-allowed;
    box-shadow: none;
    border-color: #e0e0e0;
}

.sale-products-arrow:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #e0e0e0;
    transform: translateY(-50%) scale(1);
}

.sale-products-arrow:focus-visible {
    outline: 2px solid var(--primary-color, #0BB38C);
    outline-offset: 3px;
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .sale-products-slider-section {
        margin-top: 70px;
        margin-bottom: 70px;
    }
}

@media (max-width: 1024px) {
    .sale-products-slider-section {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .sale-products-arrow {
        width: 40px; /* Ridotto da 42px */
        height: 40px;
    }

    .sale-products-arrow svg {
        width: 16px;
        height: 16px;
    }

    .sale-products-arrow--prev {
        left: -20px; /* Ridotto da -16px */
    }

    .sale-products-arrow--next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .sale-products-slider-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .sale-products-arrow {
        width: 36px;
        height: 36px;
    }

    .sale-products-arrow svg {
        width: 16px;
        height: 16px;
    }

    .sale-products-arrow--prev {
        left: -12px;
    }

    .sale-products-arrow--next {
        right: -12px;
    }
}

@media (max-width: 480px) {
    .sale-products-slider-section {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .sale-products-arrow {
        width: 32px;
        height: 32px;
    }

    .sale-products-arrow svg {
        width: 14px;
        height: 14px;
    }

    .sale-products-arrow--prev {
        left: -8px;
    }

    .sale-products-arrow--next {
        right: -8px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .sale-products-arrow,
    .sale-products-arrow svg,
    .sale-products-slider-section .product-badge--sale {
        transition: none !important;
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    .sale-products-arrow {
        display: none !important;
    }

    #sale-products-slider .splide__list {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 20px !important;
    }
}

/* ============================================================================
   BRANDS SLIDER - Showcase Marchi
   ========================================================================== */

.brands-slider-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
}

.brands-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--border-color) 20%,
        var(--border-color) 80%,
        transparent 100%
    );
}

/* Header */
.brands-slider-header {
    text-align: center;
    margin-bottom: 50px;
}

.brands-slider-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.brands-slider-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Brand Logo Card */
.brand-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 20px;
}

.brand-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 121px; /* Dimensione originale immagini */
    height: 67px; /* Dimensione originale immagini */
    transition: all 0.3s ease;
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantiene aspect ratio senza sgranare */
    filter: grayscale(100%) opacity(0.7); /* Grayscale di default */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effect - Ritorna a colori */
.brand-logo-card:hover .brand-logo-image {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Placeholder per immagini mancanti */
.brand-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 121px;
    height: 67px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 8px;
}

/* Optional CTA */
.brands-cta {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Adjustments */
@media (max-width: 1280px) {
    .brands-slider-section {
        padding: 50px 0;
    }

    .brands-slider-header h2 {
        font-size: 28px;
    }

    .brands-slider-subtitle {
        font-size: 15px;
    }

    .brand-logo-card {
        min-height: 90px;
        padding: 18px;
    }
}

@media (max-width: 1024px) {
    .brands-slider-section {
        padding: 45px 0;
    }

    .brands-slider-header {
        margin-bottom: 40px;
    }

    .brands-slider-header h2 {
        font-size: 26px;
    }

    .brand-logo-card {
        min-height: 80px;
        padding: 15px;
    }

    .brand-logo-wrapper {
        max-width: 110px;
        height: 61px;
    }
}

@media (max-width: 768px) {
    .brands-slider-section {
        padding: 40px 0;
    }

    .brands-slider-header {
        margin-bottom: 35px;
    }

    .brands-slider-header h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .brands-slider-subtitle {
        font-size: 14px;
    }

    .brand-logo-card {
        min-height: 75px;
        padding: 12px;
    }

    .brand-logo-wrapper {
        max-width: 100px;
        height: 55px;
    }

    /* No hover effect su mobile/touch */
    .brand-logo-image {
        filter: grayscale(100%) opacity(0.8);
    }
}

@media (max-width: 480px) {
    .brands-slider-section {
        padding: 35px 0;
    }

    .brands-slider-header h2 {
        font-size: 22px;
    }

    .brand-logo-card {
        min-height: 70px;
        padding: 10px;
    }

    .brand-logo-wrapper {
        max-width: 90px;
        height: 50px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .brand-logo-image,
    .brand-logo-wrapper {
        transition: none !important;
        animation: none !important;
    }

    .brand-logo-card:hover .brand-logo-image {
        transform: none;
    }

    /* Disable autoplay via JS quando prefers-reduced-motion */
    #brands-slider {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .brands-slider-section {
        padding: 30px 0;
        background: white;
    }

    #brands-slider .splide__list {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
        gap: 15px !important;
    }

    .brand-logo-image {
        filter: none !important;
    }
}

/* ============================================================================
   CTA CARDS SECTION - Chi Siamo & Impegno
   ========================================================================== */

.cta-cards-section {
    padding: 80px 0;
    background: white;
}

/* Cards Grid */
.cta-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Single Card */
.cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Link Wrapper */
.cta-card__link {
    display: block;
    position: relative;
    height: 400px; /* Altezza fissa per aspect ratio 2:1 */
    text-decoration: none;
    color: white;
}

.cta-card__link:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

/* Background Image */
.cta-card__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Cover per riempire senza distorcere */
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover .cta-card__background {
    transform: scale(1.05); /* Subtle zoom on hover */
}

/* Gradient Overlay per leggibilità */
.cta-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    transition: background 0.4s ease;
}

.cta-card:hover .cta-card__overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.75) 100%
    );
}

/* Content */
.cta-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

/* Icon */
.cta-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.cta-card__icon svg {
    width: 28px;
    height: 28px;
    color: white;
    transition: transform 0.3s ease;
}

.cta-card:hover .cta-card__icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.cta-card:hover .cta-card__icon svg {
    transform: rotate(5deg);
}

/* Title */
.cta-card__title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Description */
.cta-card__description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* CTA Button */
.cta-card__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.cta-card__arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-card:hover .cta-card__button {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.cta-card:hover .cta-card__arrow {
    transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 1280px) {
    .cta-cards-section {
        padding: 70px 0;
    }

    .cta-cards-grid {
        gap: 28px;
    }

    .cta-card__link {
        height: 380px;
    }

    .cta-card__content {
        padding: 36px;
    }

    .cta-card__title {
        font-size: 26px;
    }

    .cta-card__description {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .cta-cards-section {
        padding: 60px 0;
    }

    .cta-cards-grid {
        gap: 24px;
    }

    .cta-card__link {
        height: 360px;
    }

    .cta-card__content {
        padding: 32px;
    }

    .cta-card__icon {
        width: 52px;
        height: 52px;
        margin-bottom: 20px;
    }

    .cta-card__icon svg {
        width: 26px;
        height: 26px;
    }

    .cta-card__title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .cta-cards-section {
        padding: 50px 0;
    }

    /* Stack cards verticalmente su mobile */
    .cta-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-card__link {
        height: 340px;
    }

    .cta-card__content {
        padding: 28px;
    }

    .cta-card__icon {
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
    }

    .cta-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .cta-card__title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .cta-card__description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cta-card__button {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Ridotto hover effect su mobile */
    .cta-card:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .cta-cards-section {
        padding: 40px 0;
    }

    .cta-card__link {
        height: 320px;
    }

    .cta-card__content {
        padding: 24px;
    }

    .cta-card__title {
        font-size: 20px;
    }

    .cta-card__description {
        font-size: 14px;
        line-height: 1.5;
    }

    .cta-card__button {
        padding: 11px 20px;
        font-size: 13px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .cta-card,
    .cta-card__background,
    .cta-card__overlay,
    .cta-card__icon,
    .cta-card__icon svg,
    .cta-card__button,
    .cta-card__arrow {
        transition: none !important;
        animation: none !important;
    }

    .cta-card:hover {
        transform: none;
    }

    .cta-card:hover .cta-card__background {
        transform: none;
    }

    .cta-card:hover .cta-card__button {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .cta-cards-section {
        padding: 30px 0;
    }

    .cta-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-card__link {
        height: auto;
        min-height: 250px;
    }

    .cta-card__background {
        opacity: 0.3;
    }

    .cta-card__overlay {
        background: none;
    }

    .cta-card__content {
        color: black !important;
    }

    .cta-card__title,
    .cta-card__description {
        color: black !important;
        text-shadow: none !important;
    }
}

/* ============================================================================
   SERVICES SECTION - I Nostri Servizi (Design Premium)
   ========================================================================== */

.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

/* Decorazioni di sfondo */
.services-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11, 179, 140, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(11, 179, 140, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.services-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.services-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    background: rgba(11, 179, 140, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.services-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.services-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Service Card */
.service-card {
    position: relative;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Gradient border effect on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary-color), #0dd9a7, var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(11, 179, 140, 0.3);
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-color), #0dd9a7);
}

/* Badge */
.service-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), #0dd9a7);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(11, 179, 140, 0.3);
    z-index: 10;
}

/* Link Wrapper */
.service-card__link {
    display: flex;
    flex-direction: column;
    padding: 50px 35px 40px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.service-card__link:focus {
    outline: none;
}

.service-card__link:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 20px;
}

/* Icon Container - Larger and more prominent */
.service-card__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(145deg, #f0fdf9, #e6f9f4);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Glow effect behind icon */
.service-card__icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.2), rgba(13, 217, 167, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover .service-card__icon::before {
    opacity: 1;
}

.service-card__icon svg {
    width: 56px;
    height: 56px;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-card__icon svg {
    color: white;
    transform: scale(1.05);
}

/* Content */
.service-card__content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card:hover .service-card__title {
    color: white;
}

.service-card__description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 28px;
    flex: 1;
    transition: color 0.3s ease;
}

.service-card:hover .service-card__description {
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Button */
.service-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(11, 179, 140, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-card__cta-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.service-card__arrow svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-card__cta {
    background: rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-card__cta-text {
    color: white;
}

.service-card:hover .service-card__arrow svg {
    color: white;
    transform: translateX(4px);
}

/* ============================================================================
   SERVICES SECTION - RESPONSIVE
   ========================================================================== */

/* Tablet Landscape (1024px - 1280px) */
@media (max-width: 1280px) {
    .services-section {
        padding: 80px 0;
    }

    .services-header {
        margin-bottom: 60px;
    }

    .services-title {
        font-size: 38px;
    }

    .services-grid {
        gap: 25px;
    }

    .service-card__link {
        padding: 45px 30px 35px;
    }

    .service-card__icon {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }

    .service-card__icon svg {
        width: 50px;
        height: 50px;
    }

    .service-card__title {
        font-size: 22px;
    }
}

/* Tablet Portrait (768px - 1024px) */
@media (max-width: 1024px) {
    .services-section {
        padding: 70px 0;
    }

    .services-header {
        margin-bottom: 50px;
    }

    .services-eyebrow {
        font-size: 12px;
        padding: 6px 16px;
    }

    .services-title {
        font-size: 34px;
    }

    .services-subtitle {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Terza card a full width su tablet portrait */
    .service-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .service-card__link {
        padding: 40px 25px 30px;
    }

    .service-card__icon {
        width: 80px;
        height: 80px;
    }

    .service-card__icon svg {
        width: 44px;
        height: 44px;
    }

    .service-card__badge {
        font-size: 10px;
        padding: 5px 12px;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-section::before,
    .services-section::after {
        display: none; /* Nascondi decorazioni su mobile */
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-eyebrow {
        font-size: 11px;
        padding: 5px 14px;
        margin-bottom: 16px;
    }

    .services-title {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .services-subtitle {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }

    .service-card__badge {
        top: -10px;
    }

    .service-card__link {
        padding: 40px 24px 32px;
    }

    .service-card__icon {
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
        border-radius: 20px;
    }

    .service-card__icon svg {
        width: 44px;
        height: 44px;
    }

    .service-card__title {
        font-size: 21px;
        margin-bottom: 14px;
    }

    .service-card__description {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.7;
    }

    .service-card__cta {
        padding: 12px 24px;
    }

    .service-card:hover {
        transform: translateY(-6px);
    }
}

/* Mobile Small (max 480px) */
@media (max-width: 480px) {
    .services-section {
        padding: 40px 0;
    }

    .services-title {
        font-size: 24px;
    }

    .services-subtitle {
        font-size: 14px;
    }

    .service-card__link {
        padding: 28px 20px;
    }

    .service-card__icon {
        width: 56px;
        height: 56px;
        margin-bottom: 18px;
    }

    .service-card__icon svg {
        width: 28px;
        height: 28px;
    }

    .service-card__title {
        font-size: 18px;
    }

    .service-card__description {
        font-size: 14px;
        line-height: 1.6;
    }

    .service-card__arrow {
        width: 36px;
        height: 36px;
    }

    .service-card__arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card__icon,
    .service-card__icon svg,
    .service-card__arrow svg {
        transition: none !important;
        animation: none !important;
    }

    .service-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .services-section {
        padding: 40px 0;
        background: white;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .service-card__arrow {
        display: none;
    }
}

/* ============================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .bestseller-arrow,
    #bestseller-sr-live {
        display: none !important;
    }

    #bestseller-slider .splide__list {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 20px !important;
    }
}

/* ============================================================================
   SINGLE POST LAYOUT - Articolo Singolo con Sidebar
   ========================================================================== */

.single-post-layout {
    padding: 40px 0 80px;
    background: #f9fafb;
}

.single-post-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Main Content */
.single-post-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.single-article {
    padding: 0;
}

.single-article__image {
    margin-bottom: 0;
    overflow: hidden;
}

.single-article__image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-article__header {
    padding: 32px 40px 0;
}

.single-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.single-article__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-article__meta svg {
    opacity: 0.6;
}

.single-article__category a {
    color: var(--primary-color);
    text-decoration: none;
}

.single-article__category a:hover {
    text-decoration: underline;
}

.single-article__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
    margin: 0;
}

.single-article__content {
    padding: 32px 40px;
    line-height: 1.8;
    font-size: 17px;
    color: var(--text-color);
}

.single-article__content p {
    margin-bottom: 1.5em;
}

.single-article__content h2,
.single-article__content h3,
.single-article__content h4 {
    margin-top: 2em;
    margin-bottom: 0.8em;
    color: var(--secondary-color);
}

.single-article__content h2 {
    font-size: 26px;
}

.single-article__content h3 {
    font-size: 22px;
}

.single-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.single-article__content ul,
.single-article__content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.single-article__content li {
    margin-bottom: 0.5em;
}

.single-article__content blockquote {
    margin: 2em 0;
    padding: 20px 24px;
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.single-article__tags {
    padding: 0 40px 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 32px;
}

.single-article__tags a {
    color: var(--primary-color);
    text-decoration: none;
}

.single-article__tags a:hover {
    text-decoration: underline;
}

/* Author Bio */
.single-article__author-bio {
    margin: 0 40px 32px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-bio__avatar img {
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

.author-bio__name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.author-bio__description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.single-article__navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 40px 40px;
    border-top: 1px solid var(--border-color);
}

.post-nav__prev,
.post-nav__next {
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.post-nav__prev:hover,
.post-nav__next:hover {
    background: rgba(11, 179, 140, 0.08);
}

.post-nav__next {
    text-align: right;
}

.post-nav__label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.post-nav__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-nav__link:hover {
    color: var(--primary-color);
}

/* Sidebar */
.single-post-sidebar {
    position: sticky;
    top: 100px;
}

/* Responsive */
@media (max-width: 1200px) {
    .single-post-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .single-post-wrapper {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .single-article__header,
    .single-article__content {
        padding-left: 32px;
        padding-right: 32px;
    }

    .single-article__tags,
    .single-article__navigation {
        padding-left: 32px;
        padding-right: 32px;
    }

    .single-article__author-bio {
        margin-left: 32px;
        margin-right: 32px;
    }
}

@media (max-width: 768px) {
    .single-post-layout {
        padding: 20px 0 60px;
    }

    .single-article__header,
    .single-article__content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .single-article__tags,
    .single-article__navigation {
        padding-left: 20px;
        padding-right: 20px;
    }

    .single-article__author-bio {
        margin-left: 20px;
        margin-right: 20px;
        flex-direction: column;
        text-align: center;
    }

    .single-article__title {
        font-size: 26px;
    }

    .single-article__content {
        font-size: 16px;
    }

    .single-article__navigation {
        grid-template-columns: 1fr;
    }

    .post-nav__next {
        text-align: left;
    }

    .single-post-sidebar {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* ============================================================================
   LATEST POSTS SECTION - Blog Homepage
   ========================================================================== */

.latest-posts-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
}

/* Header */
.latest-posts-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.latest-posts-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    background: rgba(11, 179, 140, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.latest-posts-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.latest-posts-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Layout con sidebar */
.latest-posts-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Blog Grid */
.latest-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Blog Card Modern */
.blog-card-modern {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.blog-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 179, 140, 0.12);
    border-color: rgba(11, 179, 140, 0.2);
}

.blog-card-modern__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-modern__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-modern:hover .blog-card-modern__image img {
    transform: scale(1.08);
}

.blog-card-modern__category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 6px;
}

.blog-card-modern__content {
    padding: 24px 28px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-modern__meta {
    margin-bottom: 12px;
}

.blog-card-modern__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.blog-card-modern__date svg {
    opacity: 0.6;
}

.blog-card-modern__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-modern__title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-modern__title a:hover {
    color: var(--primary-color);
}

.blog-card-modern__excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

.blog-card-modern__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card-modern__link svg {
    transition: transform 0.3s ease;
}

.blog-card-modern__link:hover {
    gap: 12px;
}

.blog-card-modern__link:hover svg {
    transform: translateX(4px);
}

/* Sidebar */
.latest-posts-sidebar {
    position: sticky;
    top: 100px;
}

/* Responsive */
@media (max-width: 1200px) {
    .latest-posts-layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

    .blog-card-modern {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 1024px) {
    .latest-posts-layout {
        grid-template-columns: 1fr;
    }

    .latest-posts-sidebar {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 40px auto 0;
    }

    .blog-card-modern {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 768px) {
    .latest-posts-section {
        padding: 60px 0;
    }

    .latest-posts-header {
        margin-bottom: 40px;
    }

    .latest-posts-title {
        font-size: 32px;
    }

    .blog-card-modern {
        grid-template-columns: 1fr;
    }

    .blog-card-modern__image {
        height: 180px;
    }

    .blog-card-modern__content {
        padding: 20px;
    }

    .latest-posts-sidebar {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .latest-posts-title {
        font-size: 28px;
    }

    .latest-posts-eyebrow {
        font-size: 11px;
        padding: 6px 14px;
    }

    .blog-card-modern__title {
        font-size: 18px;
    }
}

/* ============================================================================
   ENVIRONMENTAL COMMITMENT SECTION - Impegno Ambientale Pre-Footer
   ========================================================================== */

.environmental-commitment-section {
    padding: 60px 0 60px;
    background: #f8faf9;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* Decorative Background Elements */
.env-bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--primary-color, #0BB38C);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

/* Container Layout */
.environmental-commitment-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Header - Left Side */
.env-header {
    flex: 1;
    max-width: 500px;
}

.env-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(11, 179, 140, 0.2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary-color, #0BB38C);
    margin-bottom: 20px;
}

.env-badge__icon {
    width: 16px;
    height: 16px;
    stroke: var(--primary-color, #0BB38C);
}

.env-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-dark, #1a1a1a);
}

.env-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light, #6b7280);
    margin: 0;
}

/* Stats Grid - Right Side */
.env-stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Stat Card - Minimal & Clean */
.env-stat-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.env-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color, #0BB38C);
    box-shadow: 0 8px 24px rgba(11, 179, 140, 0.12);
}

/* Icon - Enhanced */
.env-stat-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    padding: 12px;
    background: linear-gradient(145deg, rgba(11, 179, 140, 0.12), rgba(11, 179, 140, 0.06));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.env-stat-card__icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color, #0BB38C);
    stroke: var(--primary-color, #0BB38C);
}

.env-stat-card:hover .env-stat-card__icon {
    background: linear-gradient(135deg, var(--primary-color, #0BB38C), #0dd9a7);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(11, 179, 140, 0.3);
}

.env-stat-card:hover .env-stat-card__icon svg {
    color: white;
    stroke: white;
}

/* Content */
.env-stat-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.env-stat-card__number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark, #1a1a1a);
    letter-spacing: -0.5px;
}

.env-stat-card__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    margin: 0;
    line-height: 1.3;
}

.env-stat-card__description {
    font-size: 12px;
    color: var(--text-light, #6b7280);
    line-height: 1.4;
    margin: 0;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .environmental-commitment-section .container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .env-header {
        max-width: 100%;
    }

    .env-stats-grid {
        width: 100%;
    }

    .env-title {
        font-size: 32px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .environmental-commitment-section {
        padding: 50px 0;
    }

    .environmental-commitment-section .container {
        gap: 32px;
    }

    .env-title {
        font-size: 28px;
    }

    .env-description {
        font-size: 15px;
    }

    .env-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .env-stat-card {
        padding: 20px 16px;
    }

    .env-stat-card__number {
        font-size: 28px;
    }

    .env-stat-card__label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .environmental-commitment-section {
        padding: 40px 0;
    }

    .env-title {
        font-size: 24px;
    }

    .env-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .env-stat-card__number {
        font-size: 26px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .env-stat-card,
    .env-stat-card__icon {
        transition: none !important;
    }

    .env-stat-card:hover {
        transform: none;
    }
}

/* ============================================================================
   FOOTER - Modern Clean Design
   ========================================================================== */

.site-footer {
    background: var(--primary-color, #0BB38C);
    color: white;
    padding: 60px 0 0;
    position: relative;
    border-top: none;
    margin-top: 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: white;
}

/* Footer Main - 4 Columns Grid */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Column */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column__title {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Column 1: Company Info */
.footer-column--company {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    max-width: 160px;
    height: auto;
}

.footer-brand a {
    font-size: 22px;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.footer-company-info p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-company-info .icon {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: white;
}

.company-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

/* Column 2 & 3: Nav Links */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 2px 0;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.85);
}

.footer-nav a:hover {
    padding-left: 6px;
    color: white;
}

.footer-nav .link-icon {
    width: 12px;
    height: 12px;
    stroke: white;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
}

.footer-nav a:hover .link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Column 4: Social */
.footer-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: white;
    transition: fill 0.3s ease;
}

.social-link--facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link--facebook:hover svg {
    fill: white;
}

.social-link--instagram:hover {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
    border-color: #DD2A7B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link--instagram:hover svg {
    fill: white;
}

.social-link--linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link--linkedin:hover svg {
    fill: white;
}

.footer-social-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-top: 6px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
}

.footer-bottom__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.footer-stats__text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

.footer-powered {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 600;
}

.footer-payment {
    flex: 0 0 auto;
}

.footer-payment__image {
    max-width: 280px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.footer-payment__image:hover {
    opacity: 1;
}

.footer-copyright {
    flex: 0 0 auto;
}

.footer-copyright p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-column--company {
        grid-column: span 2;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .footer-column--company {
        grid-column: span 1;
    }

    .footer-bottom__content {
        flex-direction: column;
        text-align: center;
    }

    .footer-stats {
        order: 1;
        text-align: center;
    }

    .footer-payment {
        order: 2;
    }

    .footer-payment__image {
        max-width: 240px;
    }

    .footer-copyright {
        order: 3;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 0;
    }

    .footer-main {
        gap: 28px;
        padding-bottom: 28px;
    }

    .footer-column__title {
        font-size: 14px;
    }

    .footer-company-info {
        font-size: 12px;
    }

    .footer-nav a {
        font-size: 12px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }

    .footer-payment__image {
        max-width: 200px;
    }

    .footer-bottom {
        padding: 20px 0;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .site-footer a,
    .footer-nav a,
    .footer-nav .link-icon,
    .social-link,
    .footer-payment__image {
        transition: none !important;
    }

    .social-link:hover {
        transform: none;
    }

    .footer-nav a:hover {
        padding-left: 0;
    }
}

/* Print Styles */
@media print {
    .environmental-commitment-section {
        background: white;
        color: black;
        padding: 30px 0;
    }

    .env-bg-decoration {
        display: none;
    }

    .env-stat-card {
        background: #f5f5f5;
        border: 1px solid #ddd;
    }

    .env-stat-card__number,
    .env-title,
    .env-stat-card__label {
        color: black;
    }

    .site-footer {
        background: white;
        color: black;
        padding: 20px 0;
    }

    .footer-social-links,
    .footer-payment {
        display: none;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
    }

    .site-footer a {
        color: black;
    }
}

/* ============================================================================
   BRAND FILTER - Filtro Marche per Categorie
   ========================================================================== */

.brand-filter {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin: 0 0 32px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.brand-filter__container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Label */
.brand-filter__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark, #1a1a1a);
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-filter__label svg {
    stroke: var(--primary-color, #0BB38C);
    flex-shrink: 0;
}

/* Scroll Container */
.brand-filter__scroll {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.brand-filter__scroll::-webkit-scrollbar {
    height: 6px;
}

.brand-filter__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.brand-filter__scroll::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 3px;
}

.brand-filter__scroll::-webkit-scrollbar-thumb:hover {
    background: #d1d5db;
}

/* Items Container */
.brand-filter__items {
    display: flex;
    gap: 10px;
    min-width: min-content;
}

/* Single Item */
.brand-filter__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark, #1a1a1a);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.brand-filter__item:hover {
    background: #f3f4f6;
    border-color: var(--primary-color, #0BB38C);
    color: var(--primary-color, #0BB38C);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(11, 179, 140, 0.15);
}

/* Active State */
.brand-filter__item--active {
    background: var(--primary-color, #0BB38C);
    border-color: var(--primary-color, #0BB38C);
    color: white;
    font-weight: 600;
}

.brand-filter__item--active:hover {
    background: var(--primary-color, #0BB38C);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 179, 140, 0.25);
}

/* Item Name */
.brand-filter__item-name {
    line-height: 1.2;
}

/* Item Count */
.brand-filter__item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.brand-filter__item--active .brand-filter__item-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Reset Button */
.brand-filter__reset {
    display: none; /* Hidden on desktop */
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #dc2626;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.brand-filter__reset:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.brand-filter__reset svg {
    stroke: #dc2626;
    flex-shrink: 0;
}

.brand-filter__reset-text {
    line-height: 1;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .brand-filter {
        padding: 18px;
        margin-bottom: 28px;
    }

    .brand-filter__container {
        gap: 16px;
    }

    .brand-filter__label {
        font-size: 13px;
    }

    .brand-filter__label svg {
        width: 16px;
        height: 16px;
    }

    .brand-filter__items {
        gap: 8px;
    }

    .brand-filter__item {
        padding: 7px 14px;
        font-size: 12px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .brand-filter {
        padding: 16px;
        margin-bottom: 24px;
        border-radius: 10px;
    }

    .brand-filter__container {
        gap: 12px;
    }

    .brand-filter__label {
        font-size: 12px;
    }

    .brand-filter__label span {
        display: none; /* Hide "Filtra per marca:" text on mobile */
    }

    .brand-filter__label svg {
        width: 18px;
        height: 18px;
    }

    .brand-filter__items {
        gap: 8px;
    }

    .brand-filter__item {
        padding: 8px 12px;
        font-size: 12px;
    }

    .brand-filter__item-count {
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        font-size: 10px;
    }

    /* Show reset button on mobile */
    .brand-filter__reset {
        display: inline-flex;
    }
}

/* Responsive - Mobile Small */
@media (max-width: 480px) {
    .brand-filter {
        padding: 14px;
        margin-bottom: 20px;
    }

    .brand-filter__container {
        gap: 10px;
    }

    .brand-filter__items {
        gap: 6px;
    }

    .brand-filter__item {
        padding: 7px 10px;
        font-size: 11px;
    }

    .brand-filter__item-count {
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        font-size: 9px;
    }

    .brand-filter__reset {
        padding: 7px 10px;
        font-size: 11px;
    }

    .brand-filter__reset svg {
        width: 14px;
        height: 14px;
    }

    .brand-filter__reset-text {
        display: none; /* Hide "Reset" text, show only icon */
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .brand-filter__item {
        transition: none !important;
    }

    .brand-filter__item:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .brand-filter {
        display: none;
    }
}

/*
===========================================
WOOCOMMERCE CART BLOCK - CUSTOMIZATIONS
===========================================
Fix: Nascondi colonna "Totale" ridondante nella tabella prodotti
Il totale è già mostrato nella sidebar "Totale carrello"
*/

/* Nascondi header colonna "Totale" */
.wc-block-cart-items__header-total {
    display: none;
}

/* Nascondi cella "Totale" per ogni prodotto */
.wc-block-cart-item__total {
    display: none;
}

/* Optional: Espandi colonna "Dettagli" per occupare lo spazio */
.wc-block-cart-item__product {
    flex: 1;
    max-width: 100%;
}

/* Mobile: Assicura buon layout senza colonna totale */
@media (max-width: 768px) {
    .wc-block-cart-items__header-product {
        flex: 1;
    }

    .wc-block-cart-item__product {
        width: 100%;
    }
}



/*
===========================================
BUGFIX: SINGLE PRODUCT PAGE - Z-INDEX E INTERAZIONI
Correzioni per garantire che header, megamenu e icone
funzionino correttamente sulla pagina del prodotto
===========================================
*/

/* Assicura che il contenuto della pagina prodotto non interferisca con header */
body.single-product .site-header {
    z-index: 1000;
    position: sticky;
}

body.single-product .mega-menu-wrapper {
    z-index: 999;
}

body.single-product .mega-menu-dropdown {
    z-index: 1001;
}

body.single-product .header-actions,
body.single-product .header-cart,
body.single-product .header-account {
    z-index: 1001;
    pointer-events: auto;
}

/* Assicura che gli elementi della pagina prodotto non coprano l'header */
body.single-product .single-product-layout,
body.single-product .product-gallery,
body.single-product .product-details {
    z-index: 1;
    position: relative;
}

/* Fix per il widget del finder sulla pagina prodotto */
body.single-product .finder-widget-product {
    z-index: 1;
    position: relative;
}


/* Fix specifico per visualizzare le woocommerce-tabs sulla pagina prodotto */
body.single-product .woocommerce-tabs {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.single-product .woocommerce-tabs .tabs {
    display: flex !important;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel:first-of-type {
    display: block !important;
}


/*
===========================================
PAGINA CHI SIAMO - ABOUT PAGE STYLES
Design professionale per la pagina aziendale
===========================================
*/

/* Hero Section */
.about-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
}

.about-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.about-hero__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero__content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 80px 20px;
}

.about-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(11, 179, 140, 0.15);
    border: 1px solid rgba(11, 179, 140, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--primary-color-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
}

.about-hero__badge svg {
    flex-shrink: 0;
}

.about-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-hero__title-highlight {
    color: var(--primary-color);
    display: block;
}

.about-hero__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* About Intro Section */
.about-intro {
    padding: 100px 0;
    background: #fff;
}

.about-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro__label {
    display: inline-block;
    margin-bottom: 15px;
}

.about-intro__label span {
    background: var(--primary-color-lighter);
    color: var(--primary-color-dark);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-intro__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.about-intro__text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-intro__text strong {
    color: var(--primary-color-dark);
}

.about-intro__image-wrapper {
    position: relative;
}

.about-intro__image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-intro__image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: #fff;
    padding: 25px 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(11, 179, 140, 0.4);
}

.about-intro__image-badge-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.about-intro__image-badge-text {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
    display: block;
}

/* Stats Section */
.about-stats {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-stat-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-color-lighter);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.about-stat-card__icon svg {
    width: 40px;
    height: 40px;
}

.about-stat-card__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.about-stat-card__label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* Timeline Section */
.about-timeline {
    padding: 100px 0;
    background: #fff;
}

.about-timeline__header {
    text-align: center;
    margin-bottom: 80px;
}

.about-timeline__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-timeline__subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.about-timeline__wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.about-timeline__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-timeline__item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.about-timeline__item:last-child {
    margin-bottom: 0;
}

.about-timeline__marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.about-timeline__year {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(11, 179, 140, 0.4);
}

.about-timeline__content {
    width: 45%;
}

.about-timeline__item .about-timeline__content {
    margin-right: auto;
    padding-right: 60px;
}

.about-timeline__item--right .about-timeline__content {
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
    padding-left: 60px;
}

.about-timeline__card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

.about-timeline__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.about-timeline__card--highlight {
    background: linear-gradient(135deg, var(--primary-color-lighter) 0%, #fff 100%);
    border-color: rgba(11, 179, 140, 0.2);
}

.about-timeline__card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color-lighter);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-timeline__card-icon svg {
    width: 24px;
    height: 24px;
}

.about-timeline__card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-timeline__card-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-timeline__card-founder {
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.founder-name {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 15px;
}

.founder-role {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Mission Section */
.about-mission {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.about-mission__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-mission__icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(11, 179, 140, 0.3);
}

.about-mission__icon svg {
    width: 50px;
    height: 50px;
}

.about-mission__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.about-mission__text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-mission__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 35px;
}

.about-mission__value {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-mission__value:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.about-mission__value svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.about-mission__value span {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 15px;
}

.about-mission__visual {
    display: flex;
    justify-content: center;
}

.about-mission__card {
    background: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color-lighter);
    max-width: 350px;
}

.about-mission__card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: var(--primary-color);
}

.about-mission__card-icon svg {
    width: 100%;
    height: 100%;
}

.about-mission__card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-mission__card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
}

.about-cta__wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.about-cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

.about-cta__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.about-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-cta__btn--primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 30px rgba(11, 179, 140, 0.4);
}

.about-cta__btn--primary:hover {
    background: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(11, 179, 140, 0.5);
    color: #fff;
}

.about-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #fff;
}

.about-cta__trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-cta__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.about-cta__trust-item svg {
    color: var(--primary-color);
}

/* Responsive - Chi Siamo */
@media (max-width: 1024px) {
    .about-intro__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-intro__image-wrapper img {
        height: 350px;
    }

    .about-intro__image-badge {
        bottom: -20px;
        right: 20px;
    }

    .about-stats__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-timeline__line {
        left: 30px;
    }

    .about-timeline__marker {
        left: 30px;
    }

    .about-timeline__content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .about-mission__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-mission__visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-hero__content {
        padding: 60px 15px;
    }

    .about-hero__badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .about-intro {
        padding: 60px 0;
    }

    .about-intro__title {
        font-size: 32px;
    }

    .about-intro__text p {
        font-size: 16px;
    }

    .about-stat-card {
        padding: 30px 20px;
    }

    .about-stat-card__number {
        font-size: 36px;
    }

    .about-timeline {
        padding: 60px 0;
    }

    .about-timeline__header {
        margin-bottom: 50px;
    }

    .about-timeline__title {
        font-size: 32px;
    }

    .about-timeline__card {
        padding: 25px;
    }

    .about-mission {
        padding: 60px 0;
    }

    .about-mission__title {
        font-size: 32px;
    }

    .about-mission__values {
        grid-template-columns: 1fr;
    }

    .about-cta {
        padding: 60px 0;
    }

    .about-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .about-cta__btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-cta__trust {
        flex-direction: column;
        gap: 15px;
    }
}

/* ============================================================================
   ENVIRONMENT PAGE - Il Nostro Impegno per l'Ambiente
   Design coerente con Chi Siamo + enfasi sostenibilità
   ========================================================================== */

/* ----- Hero Section ----- */
.environment-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}

.environment-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.environment-hero__pattern {
    position: absolute;
    inset: 0;
    color: var(--primary-color);
    opacity: 0.5;
}

.environment-hero__pattern svg {
    width: 100%;
    height: 100%;
}

.environment-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(15, 23, 42, 0.7) 100%);
}

.environment-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.environment-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(11, 179, 140, 0.15);
    border: 1px solid rgba(11, 179, 140, 0.3);
    border-radius: 50px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.environment-hero__badge svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.environment-hero__badge span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.environment-hero__title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.environment-hero__title-highlight {
    color: var(--primary-color);
    display: block;
}

.environment-hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin: 0 auto;
}

.environment-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ----- Pillars Section ----- */
.environment-pillars {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.environment-pillars__header {
    text-align: center;
    margin-bottom: 60px;
}

.environment-pillars__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    background: rgba(11, 179, 140, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
}

.environment-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.environment-pillar {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.environment-pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 179, 140, 0.15);
    border-color: rgba(11, 179, 140, 0.2);
}

.environment-pillar--featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, #078768 100%);
    color: #fff;
    transform: scale(1.05);
}

.environment-pillar--featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 25px 50px rgba(11, 179, 140, 0.35);
}

.environment-pillar__icon-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.environment-pillar__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    color: var(--primary-color);
}

.environment-pillar--featured .environment-pillar__icon {
    color: #fff;
}

.environment-pillar__icon svg {
    width: 100%;
    height: 100%;
}

.environment-pillar__number {
    position: absolute;
    top: -10px;
    right: calc(50% - 60px);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(11, 179, 140, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.environment-pillar--featured .environment-pillar__number {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.environment-pillar__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.environment-pillar--featured .environment-pillar__title {
    color: #fff;
}

.environment-pillar__description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.environment-pillar--featured .environment-pillar__description {
    color: rgba(255, 255, 255, 0.85);
}

/* ----- Content Section ----- */
.environment-content {
    padding: 100px 20px;
    background: #fff;
}

.environment-content__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.environment-content__visual {
    position: relative;
}

.environment-content__image-wrapper {
    position: relative;
    aspect-ratio: 1;
    max-width: 500px;
    margin: 0 auto;
}

.environment-content__image-bg {
    position: absolute;
    inset: 20px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.1) 0%, rgba(11, 179, 140, 0.05) 100%);
    border-radius: 30px;
    transform: rotate(-6deg);
}

.environment-content__icon-large {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.environment-content__icon-large svg {
    width: 80%;
    height: 80%;
}

.environment-content__text {
    max-width: 520px;
}

.environment-content__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.environment-content__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.environment-content__description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.environment-content__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.environment-content__list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.5;
}

.environment-content__list-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.environment-content__list-icon svg {
    width: 16px;
    height: 16px;
}

/* ----- Future Section ----- */
.environment-future {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.environment-future__wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.environment-future__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    color: var(--primary-color);
}

.environment-future__icon svg {
    width: 100%;
    height: 100%;
}

.environment-future__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.environment-future__text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
}

.environment-future__values {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.environment-future__value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.environment-future__value-icon {
    width: 64px;
    height: 64px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.environment-future__value:hover .environment-future__value-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.environment-future__value-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ----- CTA Section ----- */
.environment-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
}

.environment-cta__wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.environment-cta__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.environment-cta__text {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.environment-cta__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.environment-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.environment-cta__btn--primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 20px rgba(11, 179, 140, 0.4);
}

.environment-cta__btn--primary:hover {
    background: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(11, 179, 140, 0.5);
}

.environment-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.environment-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.environment-cta__trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.environment-cta__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.environment-cta__trust-item svg {
    color: var(--primary-color);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .environment-pillars__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .environment-pillar--featured {
        transform: none;
        order: -1;
    }

    .environment-pillar--featured:hover {
        transform: translateY(-8px);
    }

    .environment-content__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .environment-content__visual {
        order: -1;
    }

    .environment-content__image-wrapper {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .environment-hero {
        min-height: 60vh;
        padding: 100px 20px 60px;
    }

    .environment-hero__badge {
        padding: 10px 18px;
    }

    .environment-hero__badge span {
        font-size: 12px;
    }

    .environment-pillars,
    .environment-content,
    .environment-future,
    .environment-cta {
        padding: 60px 20px;
    }

    .environment-future__values {
        gap: 30px;
    }

    .environment-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .environment-cta__btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .environment-cta__trust {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .environment-hero__scroll {
        display: none;
    }

    .environment-pillar {
        padding: 30px 20px;
    }

    .environment-pillar__icon {
        width: 80px;
        height: 80px;
    }

    .environment-content__image-wrapper {
        max-width: 280px;
    }

    .environment-future__icon {
        width: 80px;
        height: 80px;
    }

    .environment-future__value-icon {
        width: 50px;
        height: 50px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .environment-hero__scroll,
    .environment-pillar,
    .environment-cta__btn,
    .environment-future__value-icon {
        animation: none !important;
        transition: none !important;
    }

    .environment-pillar:hover,
    .environment-pillar--featured:hover {
        transform: none;
    }
}

/* Utility class for screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================================
   POLICY PAGE - Politica di Rimborso e Restituzione
   Design pulito e professionale per pagine legali/policy
   ========================================================================== */

/* ----- Hero Section ----- */
.policy-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(11, 179, 140, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.policy-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.policy-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(11, 179, 140, 0.1);
    border: 1px solid rgba(11, 179, 140, 0.2);
    border-radius: 50px;
    margin-bottom: 24px;
}

.policy-hero__badge svg {
    color: var(--primary-color);
}

.policy-hero__badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.policy-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.policy-hero__title-highlight {
    color: var(--primary-color);
}

.policy-hero__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.policy-hero__quick-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.policy-hero__info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}

.policy-hero__info-item svg {
    color: var(--primary-color);
}

.policy-hero__info-item strong {
    color: var(--text-primary);
}

/* ----- Content Section ----- */
.policy-content {
    padding: 80px 20px;
    background: #fff;
}

.policy-content__wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ----- Sidebar ----- */
.policy-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.policy-nav {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.policy-nav__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.policy-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy-nav__list a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.policy-nav__list a:hover {
    background: rgba(11, 179, 140, 0.1);
    color: var(--primary-color);
}

/* Contact Card */
.policy-contact-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #078768 100%);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    color: #fff;
}

.policy-contact-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.policy-contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.policy-contact-card p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 20px;
}

.policy-contact-card__btn {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.policy-contact-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ----- Main Content ----- */
.policy-main {
    max-width: 800px;
}

/* Highlight Box */
.policy-highlight-box {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.08) 0%, rgba(11, 179, 140, 0.03) 100%);
    border: 1px solid rgba(11, 179, 140, 0.2);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 48px;
}

.policy-highlight-box__icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.policy-highlight-box__content h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.policy-highlight-box__value {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    margin: 0;
}

.policy-highlight-box__note {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 4px 0 0;
}

/* Section */
.policy-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #e2e8f0;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.policy-section__icon {
    width: 52px;
    height: 52px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.policy-section--warning .policy-section__icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.policy-section__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.policy-section__content {
    padding-left: 68px;
}

.policy-section__content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.policy-section__content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.policy-section__content a:hover {
    text-decoration: underline;
}

/* Warning Box */
.policy-warning {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 20px;
}

.policy-warning svg {
    color: var(--warning-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.policy-warning p {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
}

/* Info Box */
.policy-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 24px;
}

.policy-info-box svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.policy-info-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px;
    line-height: 1.5;
}

.policy-info-box p:last-child {
    margin-bottom: 0;
}

.policy-info-box--highlight {
    background: rgba(11, 179, 140, 0.08);
    border: 1px solid rgba(11, 179, 140, 0.15);
}

/* Checklist */
.policy-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.policy-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
}

.policy-checklist li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.policy-checklist--success li svg {
    color: var(--success-color);
}

.policy-checklist--error li svg {
    color: var(--error-color);
}

.policy-checklist--neutral li svg {
    color: var(--primary-color);
}

/* Steps */
.policy-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.policy-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.policy-step__number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.policy-step__content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.policy-step__content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Address Card */
.policy-address-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 28px 32px;
}

.policy-address-card__icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.policy-address-card__address {
    font-style: normal;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
}

/* ----- CTA Section ----- */
.policy-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
}

.policy-cta__wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.policy-cta__title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.policy-cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.policy-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.policy-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-cta__btn--primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(11, 179, 140, 0.4);
}

.policy-cta__btn--primary:hover {
    background: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(11, 179, 140, 0.5);
}

.policy-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .policy-content__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .policy-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .policy-nav,
    .policy-contact-card {
        margin-bottom: 0;
    }

    .policy-section__content {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .policy-hero {
        padding: 100px 20px 60px;
    }

    .policy-hero__quick-info {
        flex-direction: column;
        gap: 16px;
    }

    .policy-sidebar {
        grid-template-columns: 1fr;
    }

    .policy-highlight-box {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .policy-highlight-box__value {
        font-size: 36px;
    }

    .policy-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .policy-section__icon {
        width: 44px;
        height: 44px;
    }

    .policy-section__icon svg {
        width: 22px;
        height: 22px;
    }

    .policy-section__title {
        font-size: 20px;
    }

    .policy-address-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .policy-cta {
        padding: 60px 20px;
    }

    .policy-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .policy-cta__btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .policy-step {
        flex-direction: column;
        gap: 12px;
    }

    .policy-step__number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .policy-sidebar,
    .policy-cta {
        display: none;
    }

    .policy-content__wrapper {
        grid-template-columns: 1fr;
    }

    .policy-section {
        break-inside: avoid;
    }
}

/* ============================================================================
   PRIVACY PAGE - Politica sulla Riservatezza
   Componenti aggiuntivi per pagina Privacy/GDPR
   ========================================================================== */

/* ----- Hero Version Badge ----- */
.policy-hero__version {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 10px 24px;
    margin-top: 8px;
}

.policy-hero__version-label {
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.policy-hero__version-number {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.policy-hero__version-date {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ----- Privacy Intro Section ----- */
.privacy-intro {
    padding: 60px 20px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.privacy-intro__wrapper {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.05) 0%, rgba(11, 179, 140, 0.02) 100%);
    border: 1px solid rgba(11, 179, 140, 0.15);
    border-radius: 20px;
    padding: 32px 36px;
}

.privacy-intro__icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.privacy-intro__content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 16px;
}

.privacy-intro__content p:last-child {
    margin-bottom: 0;
}

/* ----- GDPR Badge ----- */
.privacy-gdpr-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    margin-bottom: 24px;
}

.privacy-gdpr-badge__icon {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.privacy-gdpr-badge__text {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.privacy-gdpr-badge__subtext {
    font-size: 13px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ----- Section Number ----- */
.policy-section__number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ----- Titolare Card ----- */
.privacy-titolare-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 28px 32px;
}

.privacy-titolare-card__logo {
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.privacy-titolare-card__info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.privacy-titolare-card__contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-titolare-card__contact svg {
    color: var(--primary-color);
}

.privacy-titolare-card__contact a {
    font-size: 16px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.privacy-titolare-card__contact a:hover {
    text-decoration: underline;
}

/* ----- Data Grid ----- */
.privacy-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.privacy-data-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.privacy-data-card:hover {
    border-color: rgba(11, 179, 140, 0.3);
    background: rgba(11, 179, 140, 0.03);
}

.privacy-data-card__icon {
    width: 44px;
    height: 44px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.privacy-data-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.privacy-data-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ----- Finalita Box ----- */
.privacy-finalita-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.privacy-finalita-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 14px;
}

.privacy-finalita-box h4 svg {
    color: var(--primary-color);
}

.privacy-finalita-box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* ----- Legal Basis ----- */
.privacy-legal-basis {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.1) 0%, rgba(11, 179, 140, 0.05) 100%);
    border: 1px solid rgba(11, 179, 140, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
}

.privacy-legal-basis__icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.privacy-legal-basis__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.privacy-legal-basis__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
}

.privacy-legal-basis__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ----- Rights Grid ----- */
.privacy-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.privacy-right-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.2s ease;
}

.privacy-right-item:hover {
    border-color: rgba(11, 179, 140, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.privacy-right-item--highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #078768 100%);
    border-color: transparent;
    grid-column: span 2;
}

.privacy-right-item--highlight:hover {
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(11, 179, 140, 0.3);
}

.privacy-right-item--highlight h4,
.privacy-right-item--highlight p {
    color: #fff;
}

.privacy-right-item--highlight .privacy-right-item__header svg {
    color: rgba(255, 255, 255, 0.8);
}

.privacy-right-item__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.privacy-right-item__article {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.privacy-right-item--highlight .privacy-right-item__article {
    color: rgba(255, 255, 255, 0.9);
}

.privacy-right-item__badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-tertiary);
    background: rgba(0, 0, 0, 0.06);
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.privacy-right-item--highlight .privacy-right-item__badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.privacy-right-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.privacy-right-item p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 6px 0 0;
}

.privacy-right-item__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.privacy-right-item__link:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ----- Responsive Privacy ----- */
@media (max-width: 768px) {
    .privacy-intro__wrapper {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .privacy-intro__icon {
        margin: 0 auto;
    }

    .policy-section__header {
        flex-wrap: wrap;
    }

    .policy-section__number {
        order: -1;
    }

    .privacy-titolare-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .privacy-titolare-card__contact {
        justify-content: center;
    }

    .privacy-data-grid {
        grid-template-columns: 1fr;
    }

    .privacy-rights-grid {
        grid-template-columns: 1fr;
    }

    .privacy-right-item--highlight {
        grid-column: span 1;
    }

    .privacy-legal-basis {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .policy-hero__version {
        flex-direction: column;
        gap: 6px;
        padding: 14px 20px;
    }
}

/* ============================================================================
   REPAIR PAGE - Riparazione Schede Elettroniche
   Design tech/professionale per servizio di riparazione
   ========================================================================== */

/* ----- Hero Section ----- */
.repair-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.repair-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.repair-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.repair-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 50%, rgba(15, 23, 42, 0.9) 100%);
}

.repair-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.repair-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(11, 179, 140, 0.15);
    border: 1px solid rgba(11, 179, 140, 0.3);
    border-radius: 50px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.repair-hero__badge svg {
    color: var(--primary-color);
}

.repair-hero__badge span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.repair-hero__title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.repair-hero__title-highlight {
    color: var(--primary-color);
    display: block;
}

.repair-hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

.repair-hero__cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.repair-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.repair-hero__btn--primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 20px rgba(11, 179, 140, 0.4);
}

.repair-hero__btn--primary:hover {
    background: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(11, 179, 140, 0.5);
}

.repair-hero__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.repair-hero__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.repair-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

/* ----- Did You Know Section ----- */
.repair-didyouknow {
    padding: 0;
    background: #fff;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.repair-didyouknow__wrapper {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.1) 0%, rgba(11, 179, 140, 0.05) 100%);
    border: 2px solid rgba(11, 179, 140, 0.2);
    border-radius: 20px;
    padding: 32px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.repair-didyouknow__icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.repair-didyouknow__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin: 0 0 8px;
}

.repair-didyouknow__text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
}

/* ----- Benefits Section ----- */
.repair-benefits {
    padding: 100px 20px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.repair-benefits__header {
    text-align: center;
    margin-bottom: 60px;
}

.repair-benefits__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    background: rgba(11, 179, 140, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.repair-benefits__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.repair-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.repair-benefit-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.repair-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11, 179, 140, 0.15);
    border-color: rgba(11, 179, 140, 0.2);
}

.repair-benefit-card--featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, #078768 100%);
    color: #fff;
}

.repair-benefit-card--featured:hover {
    box-shadow: 0 25px 60px rgba(11, 179, 140, 0.35);
}

.repair-benefit-card__icon {
    width: 90px;
    height: 90px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.repair-benefit-card--featured .repair-benefit-card__icon {
    color: #fff;
}

.repair-benefit-card__icon svg {
    width: 100%;
    height: 100%;
}

.repair-benefit-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.repair-benefit-card--featured .repair-benefit-card__title {
    color: #fff;
}

.repair-benefit-card__description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.repair-benefit-card--featured .repair-benefit-card__description {
    color: rgba(255, 255, 255, 0.85);
}

.repair-benefit-card__badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(11, 179, 140, 0.1);
    color: var(--primary-color);
}

.repair-benefit-card--featured .repair-benefit-card__badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.repair-benefits__tagline {
    text-align: center;
    max-width: 700px;
    margin: 50px auto 0;
}

.repair-benefits__tagline p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* ----- Process Section ----- */
.repair-process {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
}

.repair-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230BB38C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.repair-process__header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.repair-process__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    background: rgba(11, 179, 140, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.repair-process__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.repair-process__timeline {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.repair-step {
    flex: 1;
    max-width: 340px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.repair-step__number {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.repair-step__number span {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.repair-step__connector {
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(11, 179, 140, 0.3) 100%);
}

.repair-step:last-child .repair-step__connector {
    display: none;
}

.repair-step__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.repair-step__card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(11, 179, 140, 0.3);
}

.repair-step__card--featured {
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.2) 0%, rgba(11, 179, 140, 0.1) 100%);
    border-color: rgba(11, 179, 140, 0.4);
}

.repair-step__icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.repair-step__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.repair-step__description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px;
}

.repair-step__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(11, 179, 140, 0.15);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ----- Tagline Section ----- */
.repair-tagline {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.08) 0%, rgba(11, 179, 140, 0.03) 100%);
}

.repair-tagline__wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.repair-tagline__icon {
    color: var(--primary-color);
    margin-bottom: 24px;
}

.repair-tagline__title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.repair-tagline__text {
    font-size: 20px;
    color: var(--text-secondary);
    margin: 0;
}

/* ----- CTA Section ----- */
.repair-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #078768 100%);
    position: relative;
    overflow: hidden;
}

.repair-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.repair-cta__wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.repair-cta__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.repair-cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

.repair-cta__actions {
    margin-bottom: 40px;
}

.repair-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.repair-cta__btn--primary {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.repair-cta__btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.repair-cta__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.repair-cta__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.repair-cta__feature svg {
    color: #fff;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .repair-process__timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .repair-step {
        max-width: 400px;
    }

    .repair-step__connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .repair-hero {
        min-height: 70vh;
        padding: 100px 20px 60px;
    }

    .repair-hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .repair-hero__btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .repair-didyouknow__wrapper {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .repair-didyouknow__icon {
        width: 64px;
        height: 64px;
    }

    .repair-benefits__grid {
        grid-template-columns: 1fr;
    }

    .repair-benefit-card {
        padding: 32px 28px;
    }

    .repair-process,
    .repair-benefits,
    .repair-cta {
        padding: 60px 20px;
    }

    .repair-cta__features {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .repair-hero__scroll {
        display: none;
    }

    .repair-didyouknow__text {
        font-size: 17px;
    }

    .repair-step__card {
        padding: 24px 20px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .repair-hero__scroll,
    .repair-benefit-card,
    .repair-step__card,
    .repair-hero__btn,
    .repair-cta__btn {
        animation: none !important;
        transition: none !important;
    }

    .repair-benefit-card:hover,
    .repair-step__card:hover {
        transform: none;
    }
}

/* ============================================================================
   SHIPPING PAGE - Spedizioni e Consegna
   Design pulito e informativo per pagina spedizioni
   ========================================================================== */

/* ----- Hero Section ----- */
.shipping-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #078768 100%);
    padding: 120px 20px 100px;
    overflow: hidden;
}

.shipping-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.shipping-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.shipping-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.shipping-hero__badge svg {
    color: #fff;
}

.shipping-hero__badge span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.shipping-hero__title {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.shipping-hero__title-highlight {
    display: block;
    opacity: 0.9;
}

.shipping-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

.shipping-hero__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.shipping-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.shipping-hero__stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shipping-hero__stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shipping-hero__stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
}

.shipping-hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
}

.shipping-hero__wave svg {
    width: 100%;
    height: 100%;
}

/* ----- Content Section ----- */
.shipping-content {
    padding: 80px 20px;
    background: #fff;
}

.shipping-content__wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* ----- Shipping Section ----- */
.shipping-section {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
}

.shipping-section__icon-wrapper {
    position: sticky;
    top: 100px;
}

.shipping-section__icon {
    width: 72px;
    height: 72px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.shipping-section__icon--warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.shipping-section__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.shipping-section__text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 28px;
}

/* Info Cards */
.shipping-info-cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.shipping-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px 20px;
    flex: 1;
    min-width: 220px;
}

.shipping-info-card__icon {
    width: 44px;
    height: 44px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.shipping-info-card span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Featured Section */
.shipping-section--featured {
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.05) 0%, rgba(11, 179, 140, 0.02) 100%);
    border: 1px solid rgba(11, 179, 140, 0.15);
    border-radius: 24px;
    padding: 40px;
    display: block;
}

.shipping-section--featured .shipping-section__icon-wrapper {
    display: none;
}

/* Guarantees Grid */
.shipping-guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.shipping-guarantee {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.shipping-guarantee:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(11, 179, 140, 0.12);
}

.shipping-guarantee__icon {
    width: 56px;
    height: 56px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin: 0 auto 16px;
}

.shipping-guarantee__content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.shipping-guarantee__content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* Tracking Box */
.shipping-tracking-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.shipping-tracking-box__icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.shipping-tracking-box p {
    font-size: 15px;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
}

/* Courier Badges */
.shipping-couriers {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.shipping-couriers__label {
    font-size: 14px;
    color: var(--text-secondary);
}

.shipping-couriers__logos {
    display: flex;
    gap: 12px;
}

.shipping-courier-badge {
    padding: 10px 24px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}

/* Notes Section */
.shipping-section--notes {
    background: #fef9f0;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 24px;
    padding: 40px;
    display: block;
}

.shipping-section--notes .shipping-section__icon-wrapper {
    display: none;
}

.shipping-notes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shipping-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}

.shipping-note__icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warning-color);
    flex-shrink: 0;
}

.shipping-note p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.shipping-note--highlight {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.shipping-note--highlight strong {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

/* ----- CTA Section ----- */
.shipping-cta {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.shipping-cta__wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.shipping-cta__icon {
    width: 80px;
    height: 80px;
    background: rgba(11, 179, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin: 0 auto 24px;
}

.shipping-cta__title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.shipping-cta__text {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.shipping-cta__actions {
    margin-bottom: 24px;
}

.shipping-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shipping-cta__btn--primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 20px rgba(11, 179, 140, 0.35);
}

.shipping-cta__btn--primary:hover {
    background: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(11, 179, 140, 0.45);
}

.shipping-cta__reminder {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 50px;
}

.shipping-cta__reminder svg {
    color: var(--primary-color);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .shipping-hero {
        padding: 100px 20px 80px;
    }

    .shipping-hero__stats {
        gap: 20px;
    }

    .shipping-hero__stat-value {
        font-size: 26px;
    }

    .shipping-hero__stat-divider {
        display: none;
    }

    .shipping-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shipping-section__icon-wrapper {
        position: static;
    }

    .shipping-section__icon {
        width: 56px;
        height: 56px;
    }

    .shipping-section--featured,
    .shipping-section--notes {
        padding: 28px 24px;
    }

    .shipping-guarantees {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .shipping-guarantee {
        display: flex;
        text-align: left;
        gap: 16px;
        padding: 20px;
    }

    .shipping-guarantee__icon {
        margin: 0;
        width: 48px;
        height: 48px;
    }

    .shipping-info-cards {
        flex-direction: column;
    }

    .shipping-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .shipping-hero__wave {
        height: 50px;
    }

    .shipping-tracking-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .shipping-couriers {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .shipping-cta__reminder {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

/* ============================================================================
   DYSON LANDING PAGE - Offerte Dyson & GHD
   Design premium per landing page conversioni Ads
   ========================================================================== */

/* ----- Hero Section ----- */
.dyson-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.dyson-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.dyson-hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 40%, #312E81 100%);
}

.dyson-hero__pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(11, 179, 140, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
}

.dyson-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.dyson-hero__text {
    max-width: 650px;
}

.dyson-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    margin-bottom: 28px;
}

.dyson-hero__badge svg {
    color: #FBBF24;
}

.dyson-hero__badge span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9);
}

.dyson-hero__title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.dyson-hero__title-highlight {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dyson-hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
}

.dyson-hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.dyson-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dyson-hero__btn--primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.dyson-hero__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.dyson-hero__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.dyson-hero__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.dyson-hero__stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.dyson-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dyson-hero__stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.dyson-hero__stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

/* Brand Cards */
.dyson-hero__brands {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dyson-hero__brand-card {
    width: 180px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dyson-hero__brand-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.dyson-hero__brand-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
}

/* ----- Trust Section ----- */
.dyson-trust {
    padding: 0;
    background: #fff;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.dyson-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dyson-trust__item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 28px;
    border-right: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.dyson-trust__item:last-child {
    border-right: none;
}

.dyson-trust__item:hover {
    background: rgba(139, 92, 246, 0.03);
}

.dyson-trust__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    flex-shrink: 0;
}

.dyson-trust__content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.dyson-trust__content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ----- Products Section ----- */
.dyson-products {
    padding: 100px 20px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.dyson-products__header {
    text-align: center;
    margin-bottom: 60px;
}

.dyson-products__partners {
    margin-bottom: 20px;
}

.dyson-products__partners-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.dyson-products__partners-logos {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.dyson-products__partner-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-primary);
    opacity: 0.8;
}

.dyson-products__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.dyson-products__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
}

.dyson-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.dyson-products__empty {
    grid-column: span 4;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

/* Product Card */
.dyson-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.dyson-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.2);
}

.dyson-product-card__image {
    position: relative;
    aspect-ratio: 1;
    background: #f8fafc;
    overflow: hidden;
}

.dyson-product-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.dyson-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}

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

.dyson-product-card__badge {
    position: absolute;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
}

.dyson-product-card__badge--sale {
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #fff;
}

.dyson-product-card__badge--stock {
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

.dyson-product-card__content {
    padding: 20px;
}

.dyson-product-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dyson-product-card__title a {
    color: var(--text-primary);
    text-decoration: none;
}

.dyson-product-card__title a:hover {
    color: #8B5CF6;
}

.dyson-product-card__price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.dyson-product-card__price del {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 400;
    margin-right: 8px;
}

.dyson-product-card__price ins {
    text-decoration: none;
    color: #8B5CF6;
}

.dyson-product-card__trust {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.dyson-product-card__trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.dyson-product-card__trust svg {
    color: #8B5CF6;
}

.dyson-product-card__actions {
    display: flex;
    gap: 10px;
}

.dyson-product-card__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dyson-product-card__btn--view {
    background: #f1f5f9;
    color: var(--text-primary);
}

.dyson-product-card__btn--view:hover {
    background: #e2e8f0;
}

.dyson-product-card__btn--cart {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #fff;
}

.dyson-product-card__btn--cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* ----- CTA Section ----- */
.dyson-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #312E81 100%);
    position: relative;
    overflow: hidden;
}

.dyson-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.dyson-cta__wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.dyson-cta__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.dyson-cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.6;
}

.dyson-cta__actions {
    margin-bottom: 40px;
}

.dyson-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dyson-cta__btn--primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.dyson-cta__btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.dyson-cta__guarantees {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.dyson-cta__guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.dyson-cta__guarantee svg {
    color: #8B5CF6;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .dyson-hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dyson-hero__brands {
        flex-direction: row;
        justify-content: center;
    }

    .dyson-hero__cta {
        justify-content: center;
    }

    .dyson-hero__stats {
        justify-content: center;
    }

    .dyson-trust__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dyson-trust__item {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .dyson-trust__item:last-child {
        border-bottom: none;
    }

    .dyson-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dyson-products__empty {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .dyson-hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .dyson-hero__brands {
        display: none;
    }

    .dyson-hero__stats {
        gap: 24px;
    }

    .dyson-hero__stat-value {
        font-size: 24px;
    }

    .dyson-hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .dyson-hero__btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .dyson-trust {
        margin-top: 0;
    }

    .dyson-trust__grid {
        border-radius: 0;
        box-shadow: none;
    }

    .dyson-products,
    .dyson-cta {
        padding: 60px 20px;
    }

    .dyson-products__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dyson-products__empty {
        grid-column: span 1;
    }

    .dyson-cta__guarantees {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .dyson-product-card__actions {
        flex-direction: column;
    }

    .dyson-product-card__trust {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================================================
   BLOG HUB PAGE - Blog, Guide e Novità
   Design ottimizzato per SEO e indicizzazione articoli
   ========================================================================== */

/* ----- Hero Section ----- */
.blog-hub-hero {
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.blog-hub-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(11, 179, 140, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hub-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.blog-hub-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.blog-hub-hero__breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-hub-hero__breadcrumb a:hover {
    text-decoration: underline;
}

.blog-hub-hero__breadcrumb svg {
    color: var(--text-tertiary);
}

.blog-hub-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.blog-hub-hero__title-highlight {
    color: var(--primary-color);
}

.blog-hub-hero__description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Search Box */
.blog-hub-hero__search {
    max-width: 500px;
    margin: 0 auto 40px;
}

.blog-hub-search-form {
    display: flex;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.blog-hub-search-form__input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
}

.blog-hub-search-form__input::placeholder {
    color: var(--text-tertiary);
}

.blog-hub-search-form__btn {
    padding: 18px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-hub-search-form__btn:hover {
    background: var(--primary-color-dark);
}

/* Stats */
.blog-hub-hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.blog-hub-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.blog-hub-hero__stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.blog-hub-hero__stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ----- Categories ----- */
.blog-hub-categories {
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-hub-categories__wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-hub-categories__wrapper::-webkit-scrollbar {
    display: none;
}

.blog-hub-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.blog-hub-category:hover {
    background: rgba(11, 179, 140, 0.1);
    border-color: rgba(11, 179, 140, 0.3);
    color: var(--primary-color);
}

.blog-hub-category--active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.blog-hub-category--active:hover {
    background: var(--primary-color-dark);
    color: #fff;
}

.blog-hub-category__count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.blog-hub-category--active .blog-hub-category__count {
    background: rgba(255, 255, 255, 0.2);
}

/* ----- Featured Section ----- */
.blog-hub-featured {
    padding: 60px 20px;
    background: #fff;
}

.blog-hub-featured__header {
    max-width: 1200px;
    margin: 0 auto 32px;
}

.blog-hub-featured__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.blog-hub-featured__title svg {
    color: #FBBF24;
}

.blog-hub-featured__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-hub-featured-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f8fafc;
}

.blog-hub-featured-card--large {
    grid-row: span 2;
}

.blog-hub-featured-card__link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.blog-hub-featured-card__image {
    position: relative;
    height: 100%;
    min-height: 200px;
}

.blog-hub-featured-card--large .blog-hub-featured-card__image {
    min-height: 100%;
}

.blog-hub-featured-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-hub-featured-card:hover .blog-hub-featured-card__img {
    transform: scale(1.05);
}

.blog-hub-featured-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    color: var(--text-tertiary);
}

.blog-hub-featured-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.blog-hub-featured-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    color: #fff;
}

.blog-hub-featured-card__category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-hub-featured-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.blog-hub-featured-card--large .blog-hub-featured-card__title {
    font-size: 28px;
}

.blog-hub-featured-card__excerpt {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-hub-featured-card__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    opacity: 0.8;
}

/* ----- Articles Section ----- */
.blog-hub-articles {
    padding: 60px 20px 80px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.blog-hub-articles__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-hub-articles__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.blog-hub-articles__count {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.blog-hub-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-hub-articles__empty {
    grid-column: span 3;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.blog-hub-articles__empty svg {
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.blog-hub-articles__empty h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 0 0 8px;
}

/* Article Card */
.blog-hub-article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.blog-hub-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.blog-hub-article-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-hub-article-card__image {
    position: relative;
    aspect-ratio: 16/10;
    background: #f8fafc;
    overflow: hidden;
}

.blog-hub-article-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-hub-article-card:hover .blog-hub-article-card__img {
    transform: scale(1.08);
}

.blog-hub-article-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    color: var(--text-tertiary);
}

.blog-hub-article-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-hub-article-card__content {
    padding: 24px;
}

.blog-hub-article-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-hub-article-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-hub-article-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-hub-article-card__footer time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.blog-hub-article-card__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ----- Pagination ----- */
.blog-hub-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.blog-hub-pagination__list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-hub-pagination__item a,
.blog-hub-pagination__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-hub-pagination__item a:hover {
    background: rgba(11, 179, 140, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.blog-hub-pagination__item .current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ----- SEO Section ----- */
.blog-hub-seo {
    padding: 80px 20px;
    background: #f8fafc;
}

.blog-hub-seo__wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.blog-hub-seo__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 28px;
    text-align: center;
}

.blog-hub-seo__content {
    margin-bottom: 40px;
}

.blog-hub-seo__content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.blog-hub-seo__topics h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px;
    text-align: center;
}

.blog-hub-seo__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.blog-hub-seo__tags span {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.blog-hub-seo__tags span:hover {
    background: rgba(11, 179, 140, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ----- CTA Section ----- */
.blog-hub-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
}

.blog-hub-cta__wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.blog-hub-cta__title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.blog-hub-cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.blog-hub-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-hub-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-hub-cta__btn--primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(11, 179, 140, 0.4);
}

.blog-hub-cta__btn--primary:hover {
    background: var(--primary-color-dark);
    transform: translateY(-3px);
}

.blog-hub-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-hub-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .blog-hub-featured__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .blog-hub-featured-card--large {
        grid-row: span 1;
    }

    .blog-hub-articles__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-hub-articles__empty {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .blog-hub-hero {
        padding: 100px 20px 60px;
    }

    .blog-hub-hero__stats {
        gap: 32px;
    }

    .blog-hub-categories {
        position: static;
    }

    .blog-hub-featured,
    .blog-hub-articles {
        padding: 40px 20px 60px;
    }

    .blog-hub-articles__grid {
        grid-template-columns: 1fr;
    }

    .blog-hub-articles__empty {
        grid-column: span 1;
    }

    .blog-hub-featured-card__content {
        padding: 20px;
    }

    .blog-hub-featured-card--large .blog-hub-featured-card__title {
        font-size: 22px;
    }

    .blog-hub-seo,
    .blog-hub-cta {
        padding: 60px 20px;
    }

    .blog-hub-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .blog-hub-cta__btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-hub-hero__stat-value {
        font-size: 24px;
    }

    .blog-hub-search-form {
        flex-direction: column;
    }

    .blog-hub-search-form__btn {
        padding: 14px;
    }

    .blog-hub-article-card__content {
        padding: 20px;
    }
}


/*
===========================================
PAGINA CONTATTI
===========================================
*/
.contact-page {
    background: var(--bg-secondary);
    min-height: 100vh;
}

/* Hero */
.contact-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(11, 179, 140, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.contact-hero__title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.contact-hero__subtitle {
    font-size: 18px;
    opacity: 0.85;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

/* Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding: 50px 0 80px;
    align-items: start;
}

/* Info Cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(11, 179, 140, 0.12);
    transform: translateY(-2px);
}

.contact-info-card__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card__icon svg {
    stroke: white;
}

.contact-info-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-card__label {
    font-size: 13px;
    color: var(--text-secondary);
}

.contact-info-card__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Form Wrapper */
.contact-form-wrapper {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
}

.contact-form__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.contact-form__description {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 28px;
}

/* Form Fields */
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form__field {
    margin-bottom: 20px;
}

.contact-form__field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-form__field input,
.contact-form__field textarea,
.contact-form__field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--bg-primary);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus,
.contact-form__field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 179, 140, 0.1);
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Privacy */
.contact-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-form__checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.contact-form__checkbox label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
    margin-bottom: 0;
}

/* Submit Button */
.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.contact-form__submit:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 179, 140, 0.3);
}

.contact-form__submit svg {
    transition: transform 0.3s ease;
}

.contact-form__submit:hover svg {
    transform: translateX(4px);
}

/* FAQ Sidebar */
.contact-faq {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    position: sticky;
    top: 100px;
}

.contact-faq__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
}

.contact-faq__title svg {
    stroke: var(--primary-color);
}

.contact-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-faq__item {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.contact-faq__item[open] {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(11, 179, 140, 0.08);
}

.contact-faq__question {
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
}

.contact-faq__question::-webkit-details-marker {
    display: none;
}

.contact-faq__question::after {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-faq__item[open] .contact-faq__question::after {
    transform: rotate(180deg);
}

.contact-faq__item[open] .contact-faq__question {
    background: rgba(11, 179, 140, 0.05);
    color: var(--primary-color);
}

.contact-faq__answer {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.contact-faq__answer a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-faq__answer a:hover {
    text-decoration: underline;
}

/* Contact Form 7 Override */
.contact-form-wrapper .wpcf7-form p {
    margin-bottom: 20px;
}

.contact-form-wrapper .wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.contact-form-wrapper .wpcf7-form input:focus,
.contact-form-wrapper .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 179, 140, 0.1);
}

.contact-form-wrapper .wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 179, 140, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-faq {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 40px 0;
    }

    .contact-hero__title {
        font-size: 32px;
    }

    .contact-hero__subtitle {
        font-size: 16px;
    }

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

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-faq {
        padding: 20px;
    }

    .contact-faq__question {
        font-size: 13px;
        padding: 14px;
    }
}



/* Contact Form Messages */
.contact-form__message {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.contact-form__message--success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.contact-form__message--success svg {
    stroke: #10b981;
    flex-shrink: 0;
}

.contact-form__message--success strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-form__message--success p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

.contact-form__message--error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.contact-form__message--error svg {
    stroke: #ef4444;
    flex-shrink: 0;
}

/* ============================================================================
   AJAX SEARCH PRO (ASPS) - Override per Header Search Bar
   ============================================================================ */

/* Container principale - Barra più grande e prominente */
.header-search-bar .asps-search-wrapper {
    max-width: 100% !important;
    width: 100% !important;
}

.header-search-bar .asps-search-container {
    width: 100% !important;
    max-width: none !important;
}

/* Input più grande e visibile */
.header-search-bar .asps-search-input {
    height: 48px !important;
    font-size: 15px !important;
    padding: 12px 50px 12px 18px !important;
    border-radius: 10px !important;
    border: 2px solid #e5e7eb !important;
    background: #f9fafb !important;
    transition: all 0.3s ease !important;
}

.header-search-bar .asps-search-input:focus {
    border-color: var(--primary-color, #0BB38C) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(11, 179, 140, 0.15) !important;
    outline: none !important;
}

.header-search-bar .asps-search-input::placeholder {
    color: #9ca3af !important;
    font-size: 14px !important;
}

/* Icona di ricerca più grande */
.header-search-bar .asps-search-button,
.header-search-bar .asps-search-icon {
    width: 44px !important;
    height: 44px !important;
    right: 2px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.header-search-bar .asps-search-button svg,
.header-search-bar .asps-search-icon svg {
    width: 20px !important;
    height: 20px !important;
}

/* Dropdown risultati */
.header-search-bar .asps-results-container {
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e5e7eb !important;
    margin-top: 8px !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
}

/* ============================================================================
   MOBILE FIX - Overlay e Scroll
   ============================================================================ */

/* Fix mobile backdrop - permetti click attraverso quando non necessario */
.asps-mobile-backdrop {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Quando risultati sono aperti su mobile */
@media (max-width: 768px) {
    /* Fix wrapper fisso che blocca scroll */
    .asps-search-wrapper.results-open {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        background: #fff !important;
        padding: 15px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    }

    /* Risultati scrollabili su mobile */
    .asps-search-wrapper.results-open .asps-results-container {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
    }

    /* Backdrop cliccabile per chiudere */
    .asps-mobile-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9998 !important;
        pointer-events: auto !important;
        touch-action: auto !important;
    }

    /* Header search bar mobile più grande */
    .header-search-bar .asps-search-input {
        height: 44px !important;
        font-size: 16px !important; /* Previene zoom su iOS */
    }

    /* Fix per elementi risultato cliccabili */
    .asps-results-container a,
    .asps-results-container .asps-result-item {
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-search-bar .asps-search-input {
        height: 44px !important;
        font-size: 14px !important;
    }
}

/* ============================================================================
   PRODUCT BRAND BADGE - Single Product Page (Inline sotto titolo)
   ============================================================================ */

/* Badge Brand inline sotto il titolo */
.product-brand-badge--single-inline {
    position: static !important; /* Override del position: absolute base */
    bottom: auto !important;
    left: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.08) 0%, rgba(11, 179, 140, 0.04) 100%);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(11, 179, 140, 0.2);
    margin-bottom: 16px;
    margin-top: 12px;
}

.product-brand-badge--single-inline .product-brand-badge__image {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: white;
    border-radius: 6px;
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.product-brand-badge--single-inline .product-brand-badge__image img {
    width: 22px !important;
    height: auto !important;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
    border-radius: 0;
    padding: 0 !important;
}

.product-brand-badge--single-inline .product-brand-badge__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color, #0BB38C);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .product-brand-badge--single-inline {
        padding: 6px 12px;
        gap: 8px;
        margin-bottom: 12px;
    }

    .product-brand-badge--single-inline .product-brand-badge__image {
        width: 24px;
        height: 24px;
    }

    .product-brand-badge--single-inline .product-brand-badge__image img {
        width: 18px !important;
        max-width: 18px;
        max-height: 18px;
    }

    .product-brand-badge--single-inline .product-brand-badge__label {
        font-size: 11px;
    }
}

/* ============================================================================
   PRODUCT VARIATIONS - Stile Select Varianti
   ============================================================================ */

/* Tabella variazioni */
.variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.variations tr {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.variations tr:last-child {
    margin-bottom: 0;
}

.variations .label {
    display: block;
    padding: 0;
    margin-bottom: 4px;
}

.variations .label label {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color, #1a1a2e);
    text-transform: none;
}

.variations .value {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Select principale */
.variations select {
    flex: 1;
    min-width: 200px;
    height: 48px;
    padding: 0 44px 0 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary-color, #1a1a2e);
    background-color: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

.variations select:hover {
    border-color: var(--primary-color, #0BB38C);
    background-color: #fff;
}

.variations select:focus {
    outline: none;
    border-color: var(--primary-color, #0BB38C);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(11, 179, 140, 0.12);
}

/* Link reset variazioni */
.variations .reset_variations {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.variations .reset_variations:hover {
    color: #ef4444;
    background: #fef2f2;
}

.variations .reset_variations::before {
    content: "×";
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

/* Prezzo variazione */
.woocommerce-variation-price {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(11, 179, 140, 0.06) 0%, rgba(11, 179, 140, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(11, 179, 140, 0.15);
}

.woocommerce-variation-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color, #0BB38C);
}

.woocommerce-variation-price .price del {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 400;
}

.woocommerce-variation-price .price ins {
    text-decoration: none;
}

/* Descrizione variazione */
.woocommerce-variation-description {
    margin-top: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Disponibilità variazione */
.woocommerce-variation-availability {
    margin-top: 12px;
}

.woocommerce-variation-availability .stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
}

.woocommerce-variation-availability .stock.in-stock {
    color: #059669;
    background: #ecfdf5;
}

.woocommerce-variation-availability .stock.out-of-stock {
    color: #dc2626;
    background: #fef2f2;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .variations tr {
        margin-bottom: 12px;
    }

    .variations select {
        width: 100%;
        min-width: 100%;
        height: 44px;
        font-size: 16px; /* Previene zoom iOS */
        padding: 0 40px 0 14px;
    }

    .variations .value {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .variations .reset_variations {
        align-self: flex-start;
    }

    .woocommerce-variation-price .price {
        font-size: 22px;
    }
}

