/* Styles Frontend - Interface client sur la page produit */

.cvs-product-selection {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Header */
.cvs-selection-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.cvs-selection-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 10px 0;
}

.cvs-selection-subtitle {
    font-size: 14px;
    color: #646970;
    margin: 0;
}

/* Étapes */
.cvs-step {
    margin-bottom: 30px;
}

.cvs-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 15px;
}

.cvs-step-description {
    font-size: 14px;
    color: #646970;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cvs-step-description strong {
    color: #CEAB12;
    font-weight: 600;
}

/* Grille des gammes */
.cvs-gammes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    max-width: 100%;
}



/* Pour les produits Panhard avec seulement 2 gammes, centrer les cartes */
body.cvs-panhard-page .cvs-gammes-grid {
    justify-content: center;
}

/* Responsive: 1 colonne sur mobile */
@media (max-width: 767px) {
    .cvs-gammes-grid {
        grid-template-columns: 1fr;
    }
}

.cvs-gamme-card {
    position: relative;
    display: block;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.cvs-gamme-card:hover {
    border-color: #CEAB12;
    background: #fdf8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 171, 18, 0.15);
}

.cvs-gamme-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cvs-gamme-input:checked + .cvs-gamme-content {
    color: #fff;
}

/* Gamme sélectionnée (avec :has et classe .selected) */
.cvs-gamme-card:has(.cvs-gamme-input:checked),
.cvs-gamme-card.selected {
    border-color: #CEAB12;
    border-width: 3px;
    background: #fcf3d9;
    box-shadow: 0 4px 16px rgba(206, 171, 18, 0.25);
}

/* Texte en noir quand la gamme est sélectionnée */
.cvs-gamme-card:has(.cvs-gamme-input:checked) .cvs-gamme-name,
.cvs-gamme-card.selected .cvs-gamme-name {
    color: #1d2327 !important;
}

.cvs-gamme-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cvs-gamme-icon {
    font-size: 32px;
    display: block;
}

.cvs-gamme-icon-img {
    width: 100%;
    height: 70px;
    margin-bottom: 5px;
    object-fit: contain;
    display: block;
}

.cvs-gamme-label {
    font-size: 15px;
    font-weight: 600;
    color: #1d2327;
}

/* Options Liste */
.cvs-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cvs-option-radio {
    position: relative;
    display: block;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 16px 20px;
    transition: all 0.2s ease;
    background: #fff;
}

.cvs-option-radio:hover {
    border-color: #CEAB12;
    background: #fdf8e8;
}

.cvs-option-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cvs-option-radio:has(.cvs-option-input:checked) {
    background: #fcf3d9;
    border-color: #CEAB12;
    border-width: 3px;
    box-shadow: 0 2px 8px rgba(206, 171, 18, 0.2);
}

.cvs-option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cvs-option-label {
    font-size: 15px;
    font-weight: 500;
    color: #1d2327;
}

.cvs-option-price {
    font-size: 18px;
    font-weight: 700;
    color: #CEAB12;
}

/* Footer avec prix */
.cvs-selection-footer {
    margin-top: 30px;
}

.cvs-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #CEAB12;
    border-radius: 10px;
    color: #fff;
}

.cvs-price-label {
    font-size: 18px;
    font-weight: 600;
}

.cvs-price-amount {
    font-size: 32px;
    font-weight: 700;
}

/* Monospace Interface */
.cvs-monospace-options {
    margin: 20px 0;
}

.cvs-gamme-section {
    margin-bottom: 20px;
}

.cvs-gamme-title {
    font-size: 18px;
    font-weight: 600;
    color: #CEAB12;
    margin: 0 0 15px 0;
    padding-left: 10px;
    border-left: 4px solid #CEAB12;
}

/* Animation d'apparition */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cvs-step-option {
    animation: slideIn 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .cvs-product-selection {
        padding: 20px;
        margin: 20px 0;
    }
    
    .cvs-selection-title {
        font-size: 20px;
    }
    
    .cvs-gammes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .cvs-gammes-comparison-wrapper .cvs-gamme-card {
        padding: 15px 10px;
    }
    
    .cvs-gamme-icon {
        font-size: 24px;
    }
    
    .cvs-gamme-label {
        font-size: 13px;
    }
    
    .cvs-option-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cvs-option-price {
        font-size: 16px;
    }
    
    .cvs-price-display {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cvs-price-amount {
        font-size: 28px;
    }
    
    /* Builder responsive */
    .cvs-builder-section {
        padding: 15px;
    }
    
    .cvs-section-header {
        flex-wrap: wrap;
    }
    
    .cvs-builder-options {
        flex-direction: column;
    }
    
    .cvs-option-btn {
        min-width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .cvs-btn-price {
        font-size: 18px;
    }
    
    .cvs-promo-badge {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    /* Section panier responsive */
    .cvs-cart-section {
        padding: 15px;
    }
    
    .cvs-cart-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cvs-cart-actions .cvs-quantity-input,
    .cvs-cart-actions .quantity input {
        width: 100% !important;
    }
    
    .cvs-add-to-cart-btn {
        width: 100%;
        max-width: 100%;
    }
}

/* États */
.cvs-loading {
    opacity: 0.6;
    pointer-events: none;
}

.cvs-error {
    background: #fef2f2;
    border: 2px solid #dc2626;
    color: #dc2626;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

/* Indicateur de sélection */
.cvs-option-radio::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cvs-option-radio:hover::before {
    border-color: #CEAB12;
}

.cvs-option-radio:has(.cvs-option-input:checked)::before {
    background: #CEAB12;
    border-color: #CEAB12;
    box-shadow: inset 0 0 0 4px #fff;
}

.cvs-option-content {
    padding-left: 35px;
}

/* Badge "Meilleure offre" ou "Recommandé" */
.cvs-option-badge {
    display: inline-block;
    background: #CEAB12;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
    text-transform: uppercase;
}

/* Builder Interface - Nouvelle version */
.cvs-builder-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cvs-builder-section {
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
    padding: 20px;
    transition: all 0.2s ease;
}

.cvs-builder-section:hover {
    border-color: #CEAB12;
}

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

.cvs-builder-icon {
    font-size: 24px;
}

.cvs-builder-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.cvs-builder-label {
    font-size: 17px;
    font-weight: 600;
    color: #1d2327;
    flex: 1;
}

.cvs-dependency-note {
    font-size: 12px;
    color: #a7aaad;
    font-style: italic;
    padding: 4px 10px;
    background: #f6f7f7;
    border-radius: 8px;
}

.cvs-builder-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cvs-builder-container button.cvs-option-btn {
    flex: 1;
    min-width: 140px;
    padding: 16px 20px;
    border: 3px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    max-width: 50%;
    gap: 8px;
}

.cvs-builder-container button.cvs-option-btn:hover:not(:disabled) {
    border-color: #CEAB12;
    background: #fdf8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 171, 18, 0.15);
}

.cvs-builder-container button.cvs-option-btn.selected {
    border-color: #CEAB12;
    border-width: 3px;
    background: #fcf3d9;
    box-shadow: 0 4px 16px rgba(206, 171, 18, 0.25);
}

.cvs-builder-container button.cvs-option-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f6f7f7;
}

.cvs-btn-label {
    font-size: 18px;
    font-weight: 700;
    color: #1d2327;
}

.cvs-btn-price {
    font-size: 15px;
    font-weight: 600;
    color: #CEAB12;
}

.cvs-section-dependent.cvs-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Badge Promo */
.cvs-promo-container {
    transform: translateY(50%);
    text-align: right;
}

.cvs-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: slideIn 0.3s ease;
    margin-right: 10px;
}

.cvs-promo-text {
    font-size: 12px;
}

/* Bouton info et modal */
.cvs-step-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cvs-info-link {
    color: #CEAB12;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #CEAB12;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cvs-info-link:hover {
    background: #CEAB12;
    color: #fff;
    text-decoration: none;
}

.cvs-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvs-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.cvs-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.cvs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 2px solid #f0f0f0;
}

.cvs-modal-header h3 {
    margin: 0;
    font-size: 22px;
    color: #1d2327;
}

.cvs-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #a7aaad;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cvs-modal-close:hover {
    color: #1d2327;
}

.cvs-modal-body {
    padding: 25px;
}

.cvs-modal-body h4 {
    color: #CEAB12;
    margin: 20px 0 10px 0;
    font-size: 18px;
}

.cvs-modal-body h4:first-child {
    margin-top: 0;
}

.cvs-modal-body p {
    margin: 10px 0;
    line-height: 1.6;
    color: #1d2327;
}

.cvs-modal-body ul {
    margin: 10px 0;
    padding-left: 25px;
}

.cvs-modal-body li {
    margin: 8px 0;
    line-height: 1.6;
}

.cvs-modal-body hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

.cvs-info-highlight {
    background: #fef3e0;
    border-left: 4px solid #f59e0b;
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
}

.cvs-modal-footer {
    padding: 20px 25px;
    border-top: 2px solid #f0f0f0;
    text-align: right;
}

.cvs-modal-btn {
    background: #CEAB12;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cvs-modal-btn:hover {
    background: #1558d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(206, 171, 18, 0.3);
}

/* Section coloris */
.cvs-coloris-section {
    margin-top: 30px;
}

.cvs-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    margin: 0 0 20px 0;
}

.cvs-coloris-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cvs-coloris-option {
    cursor: pointer;
}

.cvs-coloris-input {
    display: none;
}

.cvs-coloris-card {
    border: 3px solid #ddd;
    border-radius: 12px;
    padding: 10px;
    width: 118px;
    text-align: center;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

.cvs-coloris-card:hover {
    border-color: #CEAB12;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 171, 18, 0.15);
}

/* Coloris sélectionné (avec :has et classe .selected) */
.cvs-coloris-option:has(.cvs-coloris-input:checked) .cvs-coloris-card,
.cvs-coloris-card.selected {
    border-color: #CEAB12 !important;
    background: #fcf3d9 !important;
    border-width: 4px !important;
    box-shadow: 0 4px 16px rgba(206, 171, 18, 0.3) !important;
}

.cvs-coloris-option:has(.cvs-coloris-input:checked) .cvs-coloris-card::after,
.cvs-coloris-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #CEAB12;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(206, 171, 18, 0.4);
}

.cvs-coloris-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.cvs-coloris-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1d2327;
}

/* === Section Panier (Quantité + Ajouter au panier) === */
.cvs-cart-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.cvs-cart-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.cvs-cart-actions .quantity {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
}

.cvs-cart-actions .cvs-quantity-input,
.cvs-cart-actions .quantity input {
    width: 80px !important;
    height: 50px !important;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #d1d5db !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
    font-family: system-ui;
}

.cvs-cart-actions .cvs-quantity-input:focus,
.cvs-cart-actions .quantity input:focus {
    border-color: #CEAB12 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(206, 171, 18, 0.1) !important;
}
.cvs-cart-actions .quantity .plus::before{
    top: initial;
    transform: translateY(1px);
}
.cvs-add-to-cart-btn {
    flex: 1;
    max-width: 400px;
    height: 50px;
    font-size: 18px !important;
    font-weight: 600 !important;
    background: #CEAB12!important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cvs-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(175, 177, 34, 0.4);
    background: #927a0d!important;
}

.cvs-add-to-cart-btn:active {
    transform: translateY(0);
}

/* ========================================
   TABLEAU COMPARATIF DES GAMMES
======================================== */
.cvs-gammes-comparison-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.cvs-gammes-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 30px 0;
    text-align: center;
}

.cvs-gammes-description {
    font-size: 16px;
    line-height: 1.6;
    margin: -15px 0 25px 0;
    text-align: center;
}

.cvs-gammes-comparison {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Affichage spécial pour Panhard integral (2 gammes seulement) */
.cvs-panhard-comparison .cvs-gammes-comparison {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Affichage spécial pour Monospace */
.cvs-monospace-display .cvs-gammes-comparison.cvs-monospace-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.cvs-monospace-display .cvs-gamme-card {
    flex: 0 0 auto;
    width: 380px;
}

.cvs-monospace-intro {
    flex: 1;
    background: #fdf8e8;
    border-left: 4px solid #CEAB12;
    padding: 20px 25px;
    border-radius: 8px;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.cvs-monospace-intro p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
}

.cvs-monospace-intro strong {
    color: #CEAB12;
    font-weight: 600;
}

.cvs-gamme-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 0 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cvs-gammes-comparison-wrapper .cvs-gamme-card {
    padding: 15px 25px;
    cursor: initial;
}

.cvs-gamme-nom {
    font-size: 22px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 10px 0;
}

.cvs-gamme-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    font-size: 20px;
    margin-bottom: 15px;
}

.cvs-star {
    color: #fbbf24;
}

.cvs-star-half-wrapper {
    position: relative;
    display: inline-block;
    width: 1rem;
}

.cvs-star-half-left {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    width: 0.5rem;
    color: #fbbf24;
}

.cvs-star-half-right {
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    width: 0.5rem;
    color: #d1d5db;
    transform: scaleX(-1);
}

.cvs-star-empty {
    color: #d1d5db;
}

.cvs-gamme-prix-note {
    font-size: 11px;
    color: #9ca3af;
    font-style: italic;
    margin: 0 0 5px 0;
}

.cvs-gamme-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 15px;
    line-height: 1;
}

.cvs-price-entier {
    font-size: 56px;
    font-weight: 700;
    color: #CEAB12;
    line-height: 1;
}

.cvs-price-details {
    display: flex;
    flex-direction: column;
    margin-left: 2px;
    margin-top: 8px;
}

.cvs-price-decimal {
    font-size: 24px;
    font-weight: 700;
    color: #CEAB12;
    line-height: 1;
}

.cvs-price-asterisk {
    font-size: 16px;
    color: #CEAB12;
    font-weight: 600;
    line-height: 1;
}

.cvs-price-currency {
    font-size: 24px;
    font-weight: 700;
    color: #CEAB12;
    margin-left: 5px;
    margin-top: 8px;
}

.cvs-gamme-slogan {
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    margin: 0 0 20px 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvs-gamme-caracteristiques {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cvs-gamme-caracteristiques li {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.cvs-gamme-caracteristiques li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #CEAB12;
    font-weight: 700;
    font-size: 16px;
}

.cvs-gammes-description {
    background: #f9fafb;
    border-radius: 12px;
    padding: 30px;
    line-height: 1.8;
}

.cvs-gammes-description p {
    margin-bottom: 15px;
    color: #4b5563;
    font-size: 15px;
}

.cvs-gammes-description p:last-child {
    margin-bottom: 0;
}

.cvs-gammes-description strong {
    color: #CEAB12;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .cvs-gammes-comparison:not(.cvs-monospace-layout) {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Panhard reste en 2 colonnes sur tablette */
    .cvs-panhard-comparison .cvs-gammes-comparison {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Monospace passe en colonne sur tablette */
    .cvs-monospace-display .cvs-gammes-comparison.cvs-monospace-layout {
        flex-direction: column;
        align-items: center;
    }
    
    .cvs-monospace-display .cvs-gamme-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 640px) {
    .cvs-gammes-comparison:not(.cvs-monospace-layout) {
        grid-template-columns: 1fr;
    }
    
    /* Panhard passe en 1 colonne sur mobile */
    .cvs-panhard-comparison .cvs-gammes-comparison {
        grid-template-columns: 1fr;
    }
    
    .cvs-gammes-comparison-wrapper .cvs-gamme-card {
        padding: 20px 15px;
    }
    
    .cvs-price-entier {
        font-size: 48px;
    }
    
    .cvs-gammes-description {
        padding: 20px;
    }
    
    /* Monospace en colonne sur mobile */
    .cvs-monospace-display .cvs-gammes-comparison.cvs-monospace-layout {
        flex-direction: column;
    }
    
    .cvs-monospace-display .cvs-gamme-card {
        width: 100%;
    }
}


/* === PANHARD SELECT === */
.cvs-panhard-select-wrapper {
    max-width: 100%;
    margin: 25px auto;
    padding: 20px;
    background: #fdf8e8;
    border-radius: 10px;
}

.cvs-panhard-option-select {
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    border: 3px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cvs-panhard-option-select:hover {
    border-color: #CEAB12;
    background-color: #fffbf0;
}

.cvs-panhard-option-select:focus {
    outline: none;
    border-color: #CEAB12;
    box-shadow: 0 0 0 4px rgba(206, 171, 18, 0.15);
}

.cvs-panhard-option-price {
    text-align: left;
    margin-top: 15px;
    font-size: 22px;
    font-weight: 700;
    animation: priceUpdate 0.5s ease;
}

.cvs-step-panhard-options {
    margin-top: 30px;
    animation: slideIn 0.4s ease;
}
.cvs-cart-section .cvs-price-total{
    display: none;
}

.site-header .quick-button .cart-dropdown .cart-dropdown-wrapper .products {
    max-height: 242px;
    overflow-y: scroll;
}
/* === FIN PANHARD SELECT === */

/* ============================================
   UTILITAIRES - Interface simplifiée
   ============================================ */

.cvs-utilitaires-wrapper {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cvs-utilitaires-header {
    margin-bottom: 30px;
}

.cvs-utilitaires-header .cvs-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 10px 0;
}

.cvs-utilitaires-type {
    font-size: 14px;
    color: #646970;
    margin: 10px 0 0 0;
}

.cvs-utilitaires-type strong {
    color: #CEAB12;
}

.cvs-utilitaires-wrapper .cvs-price-summary{
    display: none;
}

.cvs-utilitaires-wrapper .cvs-coloris-section{
    margin-bottom: 30px;
}

/* Tableau de comparaison pour Utilitaires */
.cvs-utilitaires-comparison .cvs-gammes-comparison {
    display: grid;
}

/* Si 2 gammes seulement (1 partie) : centrer */
.cvs-utilitaires-comparison .cvs-gammes-comparison:has(.cvs-gamme-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .cvs-utilitaires-comparison .cvs-gammes-comparison {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cvs-utilitaires-comparison .cvs-gammes-comparison {
        grid-template-columns: 1fr;
    }
}

/* Centrer le titre et la description pour Utilitaires */
.cvs-utilitaires-comparison .cvs-gammes-title,
.cvs-utilitaires-comparison .cvs-gammes-description {
    text-align: center;
}

/* Utilitaires : Assurer que le formulaire soit visible */
body.cvs-utilitaires-page form.cart {
    display: block !important;
}

/* Masquer le bouton WooCommerce par défaut, notre bouton custom sera visible */
body.cvs-utilitaires-page .woocommerce-variation-add-to-cart {
    display: none !important;
}

/* Responsive pour utilitaires - Prix summary */
@media (max-width: 480px) {
    .cvs-step-cart .cvs-price-summary > div {
        flex-direction: column !important;
        gap: 10px;
        text-align: center;
    }
}

/* === FIN UTILITAIRES === */

/* === NOUVELLES INFOS TECHNIQUES GAMMES === */

.cvs-epaisseur-detail {
    display: block;
    font-size: 12px;
    color: #646970;
    margin-top: 3px;
    padding-left: 8px;
}

.cvs-gamme-caracteristiques li strong {
    color: #CEAB12;
    font-weight: 600;
}

/* === DESCRIPTIONS DES GAMMES === */

.cvs-gammes-description-section {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.cvs-gammes-description-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #1d2327;
    font-weight: 600;
}

.cvs-gamme-description-item {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 6px;
}

.cvs-gamme-description-item:last-child {
    margin-bottom: 0;
}

.cvs-gamme-description-item h4 {
    font-size: 18px;
    margin: 0 0 12px 0;
    color: #CEAB12;
    font-weight: 600;
}

.cvs-gamme-description-item p {
    margin: 0;
    line-height: 1.7;
    color: #555;
    font-size: 15px;
}

@media (max-width: 768px) {
    .cvs-gammes-description-section {
        padding: 20px 15px;
    }
    
    .cvs-gamme-description-item {
        padding: 15px;
    }
    
    .cvs-gamme-description-item h4 {
        font-size: 16px;
    }
    
    .cvs-gamme-description-item p {
        font-size: 14px;
    }
}

/* Notes importantes */
.cvs-notes-importantes {
    margin-top: 30px;
    padding: 25px;
    border-radius: 6px;
}

.cvs-notes-importantes h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: #1d2327;
    font-weight: 600;
}

.cvs-notes-importantes ul {
    margin: 0 0 15px 20px;
    padding: 0;
}

.cvs-notes-importantes li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.cvs-notes-importantes p {
    margin: 10px 0;
    line-height: 1.7;
    color: #555;
}

@media (max-width: 768px) {
    .cvs-notes-importantes {
        padding: 15px;
    }
    
    .cvs-notes-importantes h3 {
        font-size: 18px;
    }
}

/* === Image au survol (Popup) === */
.cvs-coloris-hover-popup {
    position: absolute;
    z-index: 9999;
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 5px;
    border-radius: 4px;
    width: 200px;
    height: 200px;
    pointer-events: none; /* Ignore mouse events so it doesn't flicker if overlapping */
}

.cvs-coloris-hover-popup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*** correction visuelle ***/
div.single-product-wrapper .product-detail form.cart{
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

/*** HIDE PRICE ****/
.product_tag-utilitaire-2 p.price, .product_tag-utilitaire-4 p.price, .product_tag-collection p.price, .product_tag-moderne p.price {
    display: none;
}