/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav a:hover {
    color: #90c695;
    background: rgba(144, 198, 149, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(144, 198, 149, 0.2);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon:hover {
    background-color: rgba(144, 198, 149, 0.2);
}

.cart-icon i {
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: url('images/Greenhub sfondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
    width: 100%;
}

/* Sections */
.products-section, .info-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
    font-weight: 700;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 550px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    height: 400px;
    background: linear-gradient(135deg, #90c695, #4a7c59);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
    /* Aspect ratio ottimizzato per immagini portrait (1024x1536) */
    /* Il rapporto 2:3 corrisponde alle proporzioni native delle immagini */
    aspect-ratio: 2 / 3;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s ease, opacity 0.15s ease;
    /* Aggiungi padding per evitare che l'immagine tocchi i bordi */
    padding: 8px;
    box-sizing: border-box;
    /* Mantieni le proporzioni originali senza ritagliare */
    object-position: center;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d5a27;
}

.product-description {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
    position: relative;
}

.product-description::before {
    content: "📋";
    position: absolute;
    top: -8px;
    left: 12px;
    background: #4a7c59;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Highlight important values in product description */
.product-description strong {
    color: #2d5a27;
    font-weight: 600;
}

.price-selector {
    margin-bottom: 1rem;
}

.price-selector label {
    display: block;
    font-weight: 600;
    color: #2d5a27;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.quantity-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    color: #333;
    font-weight: 500;
    transition: border-color 0.3s ease;
    min-height: 48px; /* Touch-friendly */
}

.quantity-select:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.add-to-cart {
    background: linear-gradient(45deg, #4a7c59, #90c695);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
    font-size: 1rem;
    min-height: 48px; /* Touch-friendly */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
}

.add-to-cart:active {
    transform: translateY(0);
}



.product-legal-note {
    background: linear-gradient(45deg, #e8f5e8, #d4edda);
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 0.8rem;
    margin-top: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-legal-note i {
    color: #28a745;
    font-size: 0.9rem;
}

.product-legal-note small {
    color: #155724;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Partnership Hero Section */
.partnership-hero {
    background: linear-gradient(135deg, #1a3d1a 0%, #2d5a27 25%, #4a7c59 50%, #90c695 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.partnership-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.partnership-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(144, 198, 149, 0.2) 0%, transparent 40%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #90c695;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-progress {
    max-width: 600px;
    margin: 0 auto;
}

.hero-progress .progress-bar {
    height: 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-progress .progress-fill {
    background: linear-gradient(45deg, #90c695, #ffffff);
    height: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(144, 198, 149, 0.4);
}

/* Partners Section */
.partners-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.partners-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #2d5a27, #4a7c59, #90c695);
}

.partners-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partners-intro h3 {
    color: #2d5a27;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.partners-intro p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Expansion Goals */
.expansion-goals {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.goal-item {
    text-align: center;
    margin-bottom: 1.5rem;
}

.goal-item i {
    font-size: 2.5rem;
    color: #4a7c59;
    margin-bottom: 1rem;
    display: block;
}

.goal-item h4 {
    color: #2d5a27;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.goal-item p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.goal-progress {
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #4a7c59, #90c695);
    width: 0%;
    transition: width 1s ease;
    border-radius: 10px;
}

.progress-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d5a27;
    margin: 0;
}

/* Partnership Cards */
.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.partnership-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 3px solid transparent;
    will-change: transform;
}

.partnership-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.partnership-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}

.partnership-card:hover::before {
    opacity: 1;
}

.partnership-card.featured {
    border-color: #ffd700;
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
}

.partnership-card.featured:hover {
    transform: scale(1.07) translateY(-12px);
    box-shadow: 0 35px 80px rgba(255, 215, 0, 0.25);
}

.partnership-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #2d5a27;
    padding: 8px 20px;
    border-radius: 0 0 15px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.partnership-header {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.partnership-card.oro .partnership-header {
    background: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
}

.partnership-card.platinum .partnership-header {
    background: linear-gradient(135deg, #4a4a4a 0%, #808080 100%);
}

.partnership-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.partnership-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.partnership-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
}

.partnership-price span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

.partnership-body {
    padding: 2rem;
}

.contribution-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #4a7c59;
}

.partnership-card.oro .contribution-info {
    border-left-color: #daa520;
}

.partnership-card.platinum .contribution-info {
    border-left-color: #808080;
}

.contribution-info h4 {
    color: #2d5a27;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contribution-info p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.benefits-list h4 {
    color: #2d5a27;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefits-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.benefits-list li i {
    color: #4a7c59;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.benefits-list li strong {
    color: #2d5a27;
    font-weight: 600;
}

.partnership-btn {
    width: 100%;
    padding: 20px 24px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.partnership-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 0.4s ease;
    z-index: -1;
}

.partnership-btn:hover {
    transform: translateY(-3px);
    letter-spacing: 1px;
}

.partnership-btn:hover::before {
    width: 100%;
}

.verde-btn {
    background: linear-gradient(135deg, #4a7c59, #90c695);
    color: white;
    box-shadow: 0 5px 20px rgba(74, 124, 89, 0.3);
}

.verde-btn::before {
    background: linear-gradient(135deg, #2d5a27, #4a7c59);
}

.verde-btn:hover {
    box-shadow: 0 15px 35px rgba(74, 124, 89, 0.5);
}

.oro-btn {
    background: linear-gradient(135deg, #b8860b, #ffd700);
    color: white;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.3);
}

.oro-btn::before {
    background: linear-gradient(135deg, #9a7209, #daa520);
}

.oro-btn:hover {
    box-shadow: 0 15px 35px rgba(218, 165, 32, 0.5);
}

.platinum-btn {
    background: linear-gradient(135deg, #4a4a4a, #999999);
    color: white;
    box-shadow: 0 5px 20px rgba(128, 128, 128, 0.3);
}

.platinum-btn::before {
    background: linear-gradient(135deg, #2a2a2a, #666666);
}

.platinum-btn:hover {
    box-shadow: 0 15px 35px rgba(128, 128, 128, 0.5);
}

/* Transparency Section */
.transparency-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.transparency-section h3 {
    text-align: center;
    color: #2d5a27;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.transparency-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.transparency-item:hover {
    transform: translateY(-5px);
    border-color: #4a7c59;
    box-shadow: 0 10px 25px rgba(74, 124, 89, 0.1);
}

.transparency-item i {
    font-size: 2.5rem;
    color: #4a7c59;
    margin-bottom: 1.5rem;
    display: block;
}

.transparency-item h4 {
    color: #2d5a27;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.transparency-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Roadmap Section */
.roadmap-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.roadmap-section h3 {
    text-align: center;
    color: #2d5a27;
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.roadmap-timeline {
    position: relative;
    padding-left: 2rem;
}

.roadmap-timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #4a7c59, #90c695);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -45px;
    top: 0;
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid #4a7c59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1) rotate(10deg);
}

.timeline-item.active .timeline-icon {
    background: linear-gradient(135deg, #4a7c59, #90c695);
    color: white;
    border-color: #2d5a27;
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(74, 124, 89, 0.6); }
    100% { box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4); }
}

.timeline-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #4a7c59;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(144, 198, 149, 0.1), transparent);
    transition: left 0.6s ease;
}

.timeline-item:hover .timeline-content::before {
    left: 100%;
}

.timeline-item.active .timeline-content {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    border-left-color: #28a745;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.1);
}

.timeline-content h4 {
    color: #2d5a27;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Partnership CTA Section */
.partnership-cta {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    padding: 4rem 0;
    margin-top: 4rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.partnership-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(144, 198, 149, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(144, 198, 149, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.cta-btn.primary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-btn.primary:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.cta-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* Active Menu Item */
.nav a.active {
    background: rgba(144, 198, 149, 0.2);
    color: #90c695;
    border-radius: 8px;
}

/* Info Section */
.info-section {
    background: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.info-card i {
    font-size: 3rem;
    color: #4a7c59;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    color: #2d5a27;
    margin-bottom: 1rem;
}



/* Legal Notes in Info Cards */
.legal-note {
    background: linear-gradient(45deg, #4a7c59, #90c695);
    color: white;
    padding: 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Legal Compliance Section */
.legal-compliance-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    border: 2px solid #e0e0e0;
}

.legal-compliance-section h3 {
    text-align: center;
    color: #2d5a27;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.compliance-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #4a7c59;
    transition: transform 0.3s ease;
}

.compliance-item:hover {
    transform: translateY(-5px);
}

.compliance-item h4 {
    color: #2d5a27;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.compliance-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    background: #2d5a27;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.cart-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    background-color: rgba(144, 198, 149, 0.2);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

.cart-item-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #2d5a27;
    line-height: 1.3;
}

.cart-item-variant {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.cart-item-price {
    color: #4a7c59;
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.quantity-btn {
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.remove-item {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    min-height: 36px;
}

.remove-item:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.cart-footer {
    background: #f8f9fa;
    padding: 1rem;
    border-top: 1px solid #eee;
    /* Desktop: posizione normale */
    position: relative;
}

.cart-total {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    color: #2d5a27;
}

.checkout-btn {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-height: 50px;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.checkout-btn:active {
    transform: translateY(0);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: #2d5a27;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #90c695;
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c59;
    color: #90c695;
}

/* Terms Modal */
.terms-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.terms-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.terms-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.terms-header {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.close-terms {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-terms:hover {
    background-color: rgba(144, 198, 149, 0.2);
}

.terms-body {
    padding: 2rem;
    line-height: 1.6;
    color: #333;
}

.terms-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-section h3 i {
    color: #4a7c59;
    font-size: 1.2rem;
}

.terms-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.terms-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section li {
    margin-bottom: 0.8rem;
    text-align: justify;
}

.terms-section li strong {
    color: #2d5a27;
    font-weight: 600;
}

.terms-section ul ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.terms-section ul ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Empty Cart Message */
.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    padding: 1rem;
    z-index: 1002;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 300px;
}

.cookie-text i {
    font-size: 1.5rem;
    color: #90c695;
    flex-shrink: 0;
}

.cookie-text span {
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 0.9rem;
}

.cookie-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.cookie-accept {
    background: linear-gradient(45deg, #90c695, #4a7c59) !important;
    border-color: #90c695 !important;
}

.cookie-accept:hover {
    background: linear-gradient(45deg, #4a7c59, #2d5a27) !important;
    box-shadow: 0 5px 15px rgba(144, 198, 149, 0.3);
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.cookie-table td code {
    background: #f8f9fa;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #2d5a27;
    font-weight: 600;
}

.cookie-table tbody tr:hover {
    background: #f8f9fa;
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cookie Preferences */
.cookie-preferences {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.cookie-preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cookie-preference-item:last-child {
    border-bottom: none;
}

.cookie-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2d5a27;
    font-size: 1.1rem;
}

.cookie-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #4a7c59;
}

.cookie-toggle label {
    font-weight: 600;
    color: #4a7c59;
    cursor: pointer;
}

.cookie-toggle input[disabled] + label {
    color: #999;
    cursor: not-allowed;
}

/* Cookie Actions in Modal */
.cookie-actions-modal {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #eee;
}

.cookie-necessary {
    background: linear-gradient(45deg, #6c757d, #495057) !important;
    border-color: #6c757d !important;
}

.cookie-necessary:hover {
    background: linear-gradient(45deg, #495057, #343a40) !important;
}

/* FAQ Items */
.faq-item {
    background: #f8f9fa;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid #4a7c59;
}

.faq-item h5 {
    margin: 0 0 0.5rem 0;
    color: #2d5a27;
}

.faq-item p {
    margin: 0;
    color: #333;
}

/* Withdrawal Form */
.withdrawal-form-section {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.withdrawal-form {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #333;
    border: 1px solid #ddd;
    margin: 1rem 0;
}

.withdrawal-form p {
    margin: 0.5rem 0;
}

.withdrawal-form strong {
    color: #2d5a27;
    font-weight: bold;
}

.withdrawal-note {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin-top: 1rem;
}

.withdrawal-note p {
    margin: 0;
    color: #0d47a1;
    font-weight: 500;
}

/* Terms sections improvements */
.terms-section h4 {
    color: #2d5a27;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #90c695;
    padding-bottom: 0.5rem;
}

.terms-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section ol li {
    margin-bottom: 0.8rem;
    text-align: justify;
    padding-left: 0.5rem;
}

.terms-section ol li strong {
    color: #2d5a27;
    font-weight: 600;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.payment-method {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #4a7c59;
}

.payment-method h5 {
    color: #2d5a27;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #90c695;
}

.payment-method h5 i {
    font-size: 1.3rem;
    color: #4a7c59;
}

.payment-method ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style-type: none;
}

.payment-method li {
    margin-bottom: 0.8rem;
    position: relative;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.payment-method li:before {
    content: "✓";
    position: absolute;
    left: -1.2rem;
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
}

/* PayPal specific styling */
.payment-method:nth-child(1) {
    border-left: 4px solid #0070ba;
}

.payment-method:nth-child(1) h5 i {
    color: #0070ba;
}

/* Revolut specific styling */
.payment-method:nth-child(2) {
    border-left: 4px solid #0075ff;
}

.payment-method:nth-child(2) h5 i {
    color: #0075ff;
}

/* Bank transfer specific styling */
.payment-method:nth-child(3) {
    border-left: 4px solid #6c757d;
}

.payment-method:nth-child(3) h5 i {
    color: #6c757d;
}

/* Certification Section */
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.certification-item {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #4a7c59;
}

.certification-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #4a7c59, #90c695);
}

.cert-icon {
    background: linear-gradient(45deg, #4a7c59, #90c695);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
}

.cert-icon i {
    font-size: 1.5rem;
}

.cert-content h5 {
    color: #2d5a27;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.8rem 0;
}

.cert-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cert-content ul {
    margin: 0;
    padding-left: 1rem;
    list-style: none;
}

.cert-content li {
    position: relative;
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.cert-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Compliance Badges */
.compliance-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.compliance-badge {
    background: linear-gradient(45deg, #e8f5e8, #d4edda);
    border: 2px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.compliance-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.2);
}

.compliance-badge i {
    font-size: 1.5rem;
    color: #28a745;
}

.compliance-badge span {
    font-weight: 600;
    color: #155724;
    font-size: 0.9rem;
}

/* Age Verification Modal */
.age-verification-modal, .age-denied-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-verification-modal.active, .age-denied-modal.active {
    display: flex;
}

.age-verification-content, .age-denied-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: ageModalSlideIn 0.5s ease;
}

@keyframes ageModalSlideIn {
    from {
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.age-verification-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.age-verification-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.age-verification-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.age-verification-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.age-verification-body {
    padding: 2rem;
}

/* Warning Section */
.warning-section {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.warning-icon {
    flex-shrink: 0;
}

.warning-icon i {
    font-size: 2rem;
    color: #f39c12;
    animation: pulse 2s infinite;
}

.warning-content h3 {
    margin: 0 0 1rem 0;
    color: #856404;
    font-size: 1.2rem;
}

.warning-content ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #856404;
}

.warning-content li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Age Verification Form */
.age-verification-form {
    margin-bottom: 2rem;
}

.age-verification-form h4 {
    color: #2d5a27;
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.age-verification-form p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.age-confirmation, .legal-compliance-check {
    margin-bottom: 1.5rem;
}

/* Custom Checkbox */
.age-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    line-height: 1.5;
}

.age-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.age-checkbox:hover .checkmark {
    background-color: #f0f0f0;
    border-color: #4a7c59;
}

.age-checkbox input:checked ~ .checkmark {
    background-color: #4a7c59;
    border-color: #4a7c59;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.age-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Age Verification Actions */
.age-verification-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 2rem;
}

.age-btn {
    background: transparent;
    border: 2px solid;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    justify-content: center;
}

.age-deny {
    color: #dc3545;
    border-color: #dc3545;
}

.age-deny:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

.age-confirm {
    color: #28a745;
    border-color: #28a745;
}

.age-confirm:hover {
    background: #28a745;
    color: white;
    transform: translateY(-2px);
}

.age-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.age-verification-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
}

.age-verification-footer p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.age-verification-footer i {
    color: #4a7c59;
}

/* Age Denied Modal */
.age-denied-content {
    text-align: center;
    padding: 3rem 2rem;
}

.age-denied-icon {
    margin-bottom: 2rem;
}

.age-denied-icon i {
    font-size: 4rem;
    color: #dc3545;
    animation: shake 1s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.age-denied-content h2 {
    color: #dc3545;
    margin: 0 0 1.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.age-denied-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.alternative-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.alternative-content h3 {
    color: #2d5a27;
    margin: 0 0 1rem 0;
    text-align: center;
}

.alternative-content ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.alternative-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.alternative-content li:last-child {
    border-bottom: none;
}

.age-denied-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-understand {
    color: #17a2b8;
    border-color: #17a2b8;
}

.age-understand:hover {
    background: #17a2b8;
    color: white;
}

.age-leave {
    color: #6c757d;
    border-color: #6c757d;
}

.age-leave:hover {
    background: #6c757d;
    color: white;
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card, .info-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* RESPONSIVE DESIGN - OTTIMIZZAZIONI COMPLETE */

/* Tablet (1024px e sotto) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        background-attachment: scroll; /* Migliore performance su mobile */
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .cart-sidebar {
        width: 350px;
    }
}

/* Mobile (768px e sotto) */
@media (max-width: 768px) {
    /* Header Mobile */
    .header {
        padding: 0.8rem 0;
    }
    
    .header .container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: rgba(45, 90, 39, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem;
        border-radius: 0 0 15px 15px;
        backdrop-filter: blur(10px);
    }
    
    .nav.mobile-open {
        display: flex;
    }
    
    .nav a {
        padding: 0.8rem 1rem;
        border-radius: 8px;
        text-align: center;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn {
        display: block;
        order: -1;
    }
    
    .cart-icon {
        min-width: 44px;
        min-height: 44px;
    }
    
         /* Hero Mobile */
     .hero {
         height: 80vh;
         min-height: 500px;
         margin-top: 70px;
         background-size: cover;
         background-position: center center;
         background-attachment: scroll;
     }
    
    /* Sections Mobile */
    .products-section, .info-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Products Mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        min-height: auto;
        max-width: 400px;
        margin: 0 auto;
        /* Ottimizza l'altezza per le nuove proporzioni delle immagini */
        display: flex;
        flex-direction: column;
    }
    
         .product-image {
         height: 380px;
         aspect-ratio: 2 / 3;
     }
    
    .product-info {
        padding: 1.2rem;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .product-description {
        font-size: 0.85rem;
        padding: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .product-description::before {
        width: 18px;
        height: 18px;
        top: -6px;
        left: 10px;
        font-size: 0.65rem;
    }

    .product-legal-note {
        padding: 0.6rem;
        margin-top: 0.8rem;
    }

    .product-legal-note small {
        font-size: 0.75rem;
    }
    
    /* Info Grid Mobile */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    /* Legal Notes in Info Cards Mobile */
    .legal-note {
        padding: 0.4rem;
        font-size: 0.7rem;
    }

    /* Legal Compliance Section Mobile */
    .legal-compliance-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .compliance-item {
        padding: 1rem;
    }

    .compliance-item h4 {
        font-size: 1.1rem;
    }

    .compliance-item p {
        font-size: 0.9rem;
    }

    /* Cart Mobile */
    .cart-sidebar {
        width: 100%;
        right: -100%;
        /* Aggiungi safe area per iOS */
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    
    .cart-header {
        padding: 1rem 1.2rem;
        /* Aggiungi safe area top per iOS */
        padding-top: calc(1rem + env(safe-area-inset-top, 0px));
    }
    
    .cart-items {
        /* Garantisci che ci sia spazio per il footer anche con UI native */
        padding-bottom: 200px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .cart-item-icon {
        align-self: flex-start;
        margin-bottom: 0.5rem;
    }
    
    .quantity-controls {
        justify-content: space-between;
        margin-top: 0.8rem;
    }
    
    .quantity-btn {
        width: 40px;
        height: 40px;
    }
    
    .remove-item {
        padding: 10px 15px;
        min-height: 40px;
    }
    
    /* Footer carrello mobile - posizione fissa SOLO quando carrello aperto */
    .cart-open-mobile .cart-footer {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        background: #f8f9fa;
        padding: 1.5rem 1.2rem;
        border-top: 2px solid #e0e0e0;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
        z-index: 1003;
        /* Aggiungi safe area bottom per iOS */
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 20px));
        /* Assicurati che sia sopra la UI nativa */
        min-height: calc(120px + env(safe-area-inset-bottom, 20px));
    }
    
    .cart-total {
        font-size: 1.4rem;
        font-weight: bold;
        margin-bottom: 1rem;
        text-align: center;
        color: #2d5a27;
    }
    
    .checkout-btn {
        background: linear-gradient(45deg, #25d366, #128c7e);
        color: white;
        border: none;
        padding: 18px 20px;
        border-radius: 15px;
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: 700;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transition: all 0.3s ease;
        min-height: 60px;
        /* Touch target più grande */
        min-height: 65px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }

    /* Cookie Banner Mobile */
    .cookie-banner {
        padding: 1rem;
        z-index: 1002;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
        gap: 10px;
        min-width: auto;
    }
    
    .cookie-text i {
        font-size: 2rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    /* Cookie Table Mobile */
    .cookie-table {
        font-size: 0.8rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px 10px;
    }
    
    .cookie-table th {
        font-size: 0.7rem;
    }

    /* Cookie Actions Modal Mobile */
    .cookie-actions-modal {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section p {
        justify-content: center;
    }
    
    /* Terms Modal Mobile */
    .terms-modal {
        padding: 10px;
    }
    
    .terms-content {
        margin: 10px auto;
    }
    
    .terms-header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .terms-header h2 {
        font-size: 1.5rem;
    }
    
    .terms-body {
        padding: 1.5rem;
    }
    
    .terms-section h3 {
        font-size: 1.2rem;
    }
    
    .terms-section p, 
    .terms-section li {
        font-size: 0.9rem;
    }

    /* Payment Methods Mobile */
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }

    .payment-method {
        padding: 1rem;
    }

    .payment-method h5 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .payment-method li {
        font-size: 0.85rem;
    }

    /* Certification Section Mobile */
    .certification-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .certification-item {
        padding: 1rem;
    }

    .cert-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }

    .cert-icon i {
        font-size: 1.2rem;
    }

    .cert-content h5 {
        font-size: 1.1rem;
    }

    .cert-content p {
        font-size: 0.85rem;
    }

    .cert-content li {
        font-size: 0.8rem;
    }

    /* Compliance Badges Mobile */
    .compliance-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin: 1rem 0;
    }

    .compliance-badge {
        padding: 0.8rem;
    }

    .compliance-badge i {
        font-size: 1.2rem;
    }

    .compliance-badge span {
        font-size: 0.8rem;
    }

    /* Partners Section Mobile */
    .partners-section {
        padding: 60px 0;
    }

    .partners-intro h3 {
        font-size: 1.6rem;
    }

    .partners-intro p {
        font-size: 1rem;
    }

    .expansion-goals {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .goal-item i {
        font-size: 2rem;
    }

    .goal-item h4 {
        font-size: 1.2rem;
    }

    .goal-item p {
        font-size: 1rem;
    }

    .partnerships-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .partnership-card {
        border-radius: 20px;
        margin: 0 auto 2rem;
        max-width: 400px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        will-change: transform;
    }

    .partnership-card:active {
        transform: scale(0.98);
    }

    .partnership-card.featured {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    }

    .partnership-card.featured:hover {
        transform: translateY(-5px);
    }

    .partnership-badge {
        font-size: 0.7rem;
        padding: 6px 15px;
        letter-spacing: 0.5px;
    }

    .partnership-header {
        padding: 1.8rem 1.5rem;
    }

    .partnership-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .partnership-header h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .partnership-price {
        font-size: 1.8rem;
    }

    .partnership-price span {
        font-size: 0.9rem;
    }

    .partnership-body {
        padding: 1.5rem;
    }

    .contribution-info {
        padding: 1rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }

    .contribution-info h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .contribution-info h4 i {
        font-size: 0.9rem;
    }

    .contribution-info p {
        font-size: 0.95rem;
    }

    .benefits-list h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .benefits-list h4 i {
        font-size: 0.9rem;
    }

    .benefits-list li {
        padding: 0.8rem;
        margin-bottom: 0.6rem;
        font-size: 0.85rem;
        border-radius: 10px;
        gap: 10px;
    }

    .benefits-list li:active {
        transform: scale(0.98);
        background: #e0e3e6;
    }

    .benefits-list li i {
        font-size: 1rem;
    }

    .partnership-btn {
        padding: 18px 20px;
        font-size: 1rem;
        margin-top: 1.5rem;
        border-radius: 25px;
        min-height: 56px;
        -webkit-tap-highlight-color: transparent;
    }

    .partnership-btn:active {
        transform: scale(0.98);
    }

    /* Transparency Section Mobile */
    .transparency-section {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .transparency-section h3 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }

    .transparency-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .transparency-item {
        padding: 1.5rem;
    }

    .transparency-item i {
        font-size: 2rem;
    }

    .transparency-item h4 {
        font-size: 1.2rem;
    }

    /* Roadmap Section Mobile */
    .roadmap-section {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .roadmap-section h3 {
        font-size: 1.5rem;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .roadmap-section h3 i {
        font-size: 1.3rem;
    }

    .roadmap-timeline {
        padding-left: 0.5rem;
        position: relative;
    }

    .roadmap-timeline::before {
        left: 15px;
        width: 3px;
    }

    .timeline-item {
        padding-left: 1.8rem;
        margin-bottom: 2rem;
        animation-delay: 0s !important;
    }

    .timeline-icon {
        left: -20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        border-width: 3px;
    }

    .timeline-item:hover .timeline-icon {
        transform: scale(1.05);
    }

    .timeline-item:active .timeline-icon {
        transform: scale(0.95);
    }

    .timeline-content {
        padding: 1.2rem;
        border-radius: 15px;
        border-left-width: 3px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        color: #2d5a27;
    }

    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        color: #555;
    }

    /* Partnership Hero Mobile */
    .partnership-hero {
        padding: 100px 0 60px;
    }

    .partnership-hero::after {
        animation-duration: 30s;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .stat-item {
        padding: 1.5rem;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .stat-item:active {
        transform: scale(0.98);
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .hero-progress {
        padding: 0 1rem;
    }

    .hero-progress .progress-bar {
        height: 10px;
    }

    /* Partnership CTA Mobile */
    .partnership-cta {
        padding: 3rem 0;
        margin-top: 3rem;
    }

    .cta-content h3 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
        padding: 12px 20px;
    }
}

 /* Mobile Extra Small (360px e sotto) */
 @media (max-width: 360px) {
     .section-title {
         font-size: 1.6rem;
     }
    
    .product-image {
        height: 280px;
        aspect-ratio: 2 / 3;
    }
    
    /* Partnership mobile extra small */
    .partnership-hero {
        padding: 90px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .partnership-card {
        max-width: 100%;
        margin: 0 10px 1.5rem;
    }
    
    .partnership-header h3 {
        font-size: 1.2rem;
    }
    
    .partnership-price {
        font-size: 1.5rem;
    }
    
    .benefits-list li {
        font-size: 0.8rem;
        padding: 0.6rem;
    }
    
    .partnership-btn {
        font-size: 0.9rem;
        padding: 15px 18px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: -18px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.8rem;
    }
    
    .product-image img {
        padding: 4px;
    }
    
    .product-description {
        font-size: 0.8rem;
        padding: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .product-description::before {
        width: 16px;
        height: 16px;
        top: -5px;
        left: 8px;
        font-size: 0.6rem;
    }
    
    .cart-item-icon {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    /* Cart Footer Mobile Extra Small - massima sicurezza */
    .cart-open-mobile .cart-footer {
        padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 40px)) !important;
        min-height: calc(160px + env(safe-area-inset-bottom, 40px)) !important;
    }
    
    .checkout-btn {
        font-size: 1.05rem;
        padding: 22px 16px;
        min-height: 75px;
        /* Evidenzia ancora di più il pulsante */
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
        border: 4px solid rgba(255,255,255,0.4);
    }
}

 /* Landscape mobile */
 @media (max-width: 896px) and (orientation: landscape) and (max-height: 500px) {
     .hero {
         height: 100vh;
         margin-top: 60px;
     }
     
     /* Riduci le dimensioni delle immagini prodotto in landscape */
     .product-image {
         height: 250px;
         aspect-ratio: 2 / 3;
     }
     
     .product-image img {
         padding: 4px;
     }
 }

/* Touch and hover improvements */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    
    .info-card:hover {
        transform: none;
    }
    
    .nav a:hover {
        background: rgba(144, 198, 149, 0.2);
    }
    
         .add-to-cart:hover,
     .checkout-btn:hover {
         transform: none;
     }
    
    .quantity-btn:hover,
    .remove-item:hover,
    .close-cart:hover,
    .close-terms:hover {
        background: rgba(144, 198, 149, 0.1);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero {
        background-attachment: scroll;
    }
}

 /* High contrast mode */
 @media (prefers-contrast: high) {
     .add-to-cart,
     .checkout-btn {
         border: 2px solid currentColor;
     }
    
    .cart-count {
        border: 2px solid white;
    }
    
    .product-card,
    .info-card {
        border: 1px solid #333;
    }
}

/* Animazioni avanzate partnership - Aggiunte migliorie grafiche */
.progress-fill {
    position: relative;
    background: linear-gradient(135deg, #4a7c59, #90c695);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmerMove 2s infinite;
}

@keyframes shimmerMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Effetto float per icone partnership */
.partnership-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Miglioramenti benefit list con hover effects */
.benefits-list li {
    position: relative;
    overflow: hidden;
}

.benefits-list li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a7c59, #90c695);
    transition: width 0.3s ease;
}

.benefits-list li:hover::after {
    width: 100%;
}

/* Badge animato per card featured */
.partnership-badge {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

/* Parallax effect per hero desktop */
@media (min-width: 769px) {
    .partnership-hero {
        background-attachment: fixed;
    }
}

/* Smooth scroll behavior globale */
html {
    scroll-behavior: smooth;
}

/* Entrance animations per partnership cards */
.partnerships-grid > * {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease forwards;
}

.partnerships-grid > *:nth-child(1) { animation-delay: 0.1s; }
.partnerships-grid > *:nth-child(2) { animation-delay: 0.2s; }
.partnerships-grid > *:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch feedback ottimizzato per mobile */
@media (hover: none) and (pointer: coarse) {
    .partnership-btn,
    .benefits-list li,
    .stat-item,
    .timeline-content,
    .transparency-item {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    .partnership-card {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* Swipe hint per mobile */
@media (max-width: 768px) {
    .partnerships-grid {
        position: relative;
        padding-bottom: 2rem;
    }
    
    .partnerships-grid::after {
        content: "← Scorri per vedere tutte le opzioni →";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.8rem;
        color: #666;
        opacity: 0.6;
        display: none;
    }
}

/* Ottimizzazioni performance animazioni mobile */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
    .partnership-icon,
    .timeline-icon {
        animation-duration: 4s;
    }
    
    .progress-fill::after {
        animation: none;
    }
}

/* Miglioramenti accessibilità */
.partnership-btn:focus,
.benefits-list li:focus {
    outline: 3px solid #4a7c59;
    outline-offset: 2px;
}

/* Stati attivi migliorati per touch */
.partnership-btn:active {
    transform: scale(0.98) translateY(0);
}

.stat-item:active,
.timeline-content:active {
    transform: scale(0.98);
}

/* Glassmorphism effect per transparency cards mobile */
@supports (backdrop-filter: blur(10px)) {
    @media (max-width: 768px) {
        .transparency-item {
            background: rgba(248, 249, 250, 0.8);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
    }
} 