
    * {
        box-sizing: border-box;
    }
    
    .product-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        color: #333;
    }
    
    .product-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        margin-bottom: 60px;
    }
    
    /* Sezione Galleria Immagini */
    .product-gallery {
        position: sticky;
        top: 20px;
        height: fit-content;
    }
    
    .main-image-wrapper {
        position: relative;
        background: #f8f8f8;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 16px;
        aspect-ratio: 1;
    }
    
    .product-brand-logo {
        position: absolute;
        top: 16px;
        right: 16px;
        background: white;
        padding: 8px 12px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        max-width: 100px;
        z-index: 10;
        opacity:80%;
    }
    
    .product-brand-logo img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .main-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 20px;
    }
    
    .thumbnails {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 4px 0;
    }
    
    .thumbnail {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .thumbnail:hover,
    .thumbnail.active {
        border-color: #2563eb;
        transform: translateY(-2px);
    }
    
    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Sezione Info Prodotto */
    .product-info {
        display: flex;
        flex-direction: column;
    }
    
    .product-badges {
        display: flex;
        gap: 8px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }
    
    .badge {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
    }
    
    .badge-new {
        background: #10b981;
        color: white;
    }
    
    .badge-promo {
        background: #ef4444;
        color: white;
    }
    
    .badge-out {
        background: #6b7280;
        color: white;
    }
    
    .product-brand {
        font-size: 14px;
        color: #6b7280;
        margin-bottom: 8px;
        font-weight: 500;
    }
    
    .product-title {
        font-size: 32px;
        font-weight: 700;
        margin: 0 0 16px 0;
        line-height: 1.2;
        color: #111;
    }
    
    .product-description-short {
        font-size: 16px;
        color: #6b7280;
        margin-bottom: 24px;
        line-height: 1.6;
    }
    
    .product-price-section {
        background: #f9fafb;
        padding: 24px;
        border-radius: 12px;
        margin-bottom: 24px;
    }
    
    .price-wrapper {
        display: flex;
        align-items: baseline;
        gap: 12px;
        margin-bottom: 8px;
    }
    
    .price-current {
        font-size: 36px;
        font-weight: 700;
        color: #111;
    }
    
    .price-original {
        font-size: 24px;
        color: #9ca3af;
        text-decoration: line-through;
    }
    
    .price-label {
        font-size: 13px;
        color: #6b7280;
    }
    
    .cta-button {
        width: 100%;
        background: #2563eb;
        color: white;
        border: none;
        padding: 18px 32px;
        border-radius: 10px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 12px;
    }
    
    .cta-button:hover {
        background: #1d4ed8;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    }
    
    .cta-button:disabled {
        background: #9ca3af;
        cursor: not-allowed;
        transform: none;
    }
    
    .cta-secondary {
        width: 100%;
        background: white;
        color: #2563eb;
        border: 2px solid #2563eb;
        padding: 16px 32px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .cta-secondary:hover {
        background: #eff6ff;
    }
    
    .product-details {
        margin: 32px 0;
    }
    
    .details-grid {
        display: grid;
        gap: 16px;
    }
    
    .detail-row {
        display: grid;
        grid-template-columns: 140px 1fr;
        padding: 12px 0;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .detail-label {
        font-weight: 600;
        color: #374151;
    }
    
    .detail-value {
        color: #6b7280;
    }
    
    /* Sezione Descrizione Lunga */
    .product-description-long {
        background: white;
        padding: 32px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        margin-bottom: 40px;
    }
    
    .description-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 16px;
        color: #111;
    }
    
    .description-content {
        font-size: 16px;
        line-height: 1.8;
        color: #4b5563;
    }
    
    /* Prodotti Correlati */
    .related-products {
        margin-top: 60px;
    }
    
    .related-title {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 24px;
        color: #111;
    }
    
    .related-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .related-card {
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    .related-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    }
    
    .related-image {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        background: #f8f8f8;
    }
    
    .related-info {
        padding: 16px;
    }
    
    .related-name {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #111;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .related-price {
        font-size: 16px;
        font-weight: 700;
        color: #2563eb;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .product-grid {
            grid-template-columns: 1fr;
            gap: 32px;
        }
        
        .product-gallery {
            position: static;
        }
        
        .product-title {
            font-size: 24px;
        }
        
        .price-current {
            font-size: 28px;
        }
        
        .detail-row {
            grid-template-columns: 1fr;
            gap: 4px;
        }
        
        .related-grid {
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        }
    }

:root{--primary-color:#1F8A89;--secondary-color:#CBE2E2;--accent-color:#c17d4a;--accent-hover:#ab6d3f;--text-dark:#2d2d2d;--light-grey:#f4f4f4}
.product-image-placeholder{min-height:250px;display:grid;place-items:center;color:#516675;background:#f3f6f8}.thumbnail{padding:0;background:#fff}.thumbnails{flex-wrap:wrap}.description-content{overflow-wrap:anywhere}
