/* ============================================
   PAGE PRODUIT - DESIGN MODERNE
   ============================================ */

.blockreassurance_product {
    display: none;
}

/* Container principal */
#main .product-container {
    padding: 40px 0;
    gap: 50px;
}

/* ============================================
   ZONE IMAGES (Colonne gauche)
   ============================================ */

.product-container .col-md-6:first-child {
    position: relative;
}

.page-product select.form-control:not([size]):not([multiple]) {
    height: calc(3.5rem - 0px);
}

/* Images produit */
.product-cover-thumbnails {
    position: relative;
    margin-bottom: 20px;
}

.product-cover {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    /* Ratio 1:1 carré */
    overflow: hidden;
}

.product-cover img {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Couvre tout le conteneur sans bandes blanches */
}

.product-cover:hover img {
    transform: scale(1.02);
}

/* Thumbnails */
.product-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 5px 0;
}

.product-images .thumb-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-images .thumb-container:hover,
.product-images .thumb-container.selected {
    border-color: var(--primaryllw-color, #FF3200);
    box-shadow: 0 4px 12px rgba(255, 50, 0, 0.2);
}

.product-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flags produit */
.product-flags {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-flag {
    background: var(--primaryllw-color, #FF3200);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 50, 0, 0.3);
}

.product-flag.discount {
    background: #2ecc71;
}

.product-flag.new {
    background: #3498db;
}

.product-flag.pack {
    background: #9b59b6;
}

/* ============================================
   ZONE INFORMATIONS (Colonne droite)
   ============================================ */

.product-container .col-md-6:last-child {
    display: flex;
    flex-direction: column;
}

/* Titre produit */
.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

/* Prix */
.product-prices {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    margin-bottom: 25px;
    border-left: 4px solid var(--primaryllw-color, #FF3200);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.current-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primaryllw-color, #FF3200);
}

.regular-price {
    font-size: 20px;
    color: #95a5a6;
    text-decoration: line-through;
}

.discount {
    background: var(--primaryllw-color, #FF3200);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.tax-shipping-delivery-label {
    font-size: 11px !important;
    color: #7f8c8d;
    margin-top: -14px;
}

/* Description courte */
.product-description {
    font-size: 15px;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ecf0f1;
}

.product-description p {
    margin: 0 0 10px 0;
}

/* ============================================
   VARIANTES & OPTIONS
   ============================================ */

.product-variants {
    margin-bottom: 25px;
}

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

.product-variants label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

/* Variants couleurs */
.product-variants .color {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #ecf0f1;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    position: relative;
}

.product-variants .color:hover,
.product-variants .color.active {
    border-color: var(--primaryllw-color, #FF3200);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 50, 0, 0.3);
}

/* Select dropdowns */
.product-variants select,
.product-variants .custom-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-variants select:hover,
.product-variants select:focus {
    border-color: var(--primaryllw-color, #FF3200);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 50, 0, 0.1);
}

/* ============================================
   QUANTITÉ & AJOUT PANIER
   ============================================ */

.product-add-to-cart {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #ecf0f1;
    margin-bottom: 25px;
}

.product-quantity {
    margin-bottom: 20px;
}

.product-quantity label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.qty {
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-group {
    display: flex;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    overflow: hidden;
}

.input-group-btn-vertical {
    display: flex;
}

.input-group-btn-vertical .btn {
    background: #f8f9fa;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-size: 18px;
}

.input-group-btn-vertical .btn:hover {
    background: var(--primaryllw-color, #FF3200);
    color: #ffffff;
}

#quantity_wanted {
    border: none;
    text-align: center;
    width: 60px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    padding: 12px 8px;
}

/* Bouton Ajouter au panier */
.add-to-cart {
    display: flex;
    gap: 15px;
    align-items: center;
}

.add-to-cart button[type="submit"],
.add-to-cart .btn-primary {
    flex: 1;
    background: var(--primaryllw-color, #FF3200);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart button[type="submit"]:hover {
    background: #e02d00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 50, 0, 0.4);
}

.add-to-cart button[type="submit"]:active {
    transform: translateY(0);
}

.add-to-cart .material-icons {
    font-size: 20px;
}

/* Disponibilité */
.product-availability {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-availability.available {
    background: #d4edda;
    color: #155724;
}

.product-availability .material-icons {
    font-size: 18px;
}

/* ============================================
   INFORMATIONS ADDITIONNELLES
   ============================================ */

.product-additional-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.product-additional-info .product-reference,
.product-additional-info .product-minimal-quantity {
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-additional-info .label {
    font-weight: 600;
}

/* ============================================
   TABS PRODUIT
   ============================================ */

.tabs {
    margin-top: 60px;
    clear: both;
}

.nav-tabs {
    border-bottom: 2px solid #ecf0f1;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-tabs .nav-item {
    margin-bottom: -2px;
}

.nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: #7f8c8d;
    padding: 15px 25px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--primaryllw-color, #FF3200);
}

.nav-tabs .nav-link.active {
    color: var(--primaryllw-color, #FF3200);
    border-bottom-color: var(--primaryllw-color, #FF3200);
}

.tab-content {
    padding: 30px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content .product-description {
    font-size: 15px;
    line-height: 1.8;
    color: #5a6c7d;
    border-bottom: none;
    padding-bottom: 0;
}

/* Détails produit */
.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #ecf0f1;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features .label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 180px;
    flex-shrink: 0;
}

.product-features .value {
    color: #5a6c7d;
}

/* ============================================
   PRODUITS ASSOCIÉS
   ============================================ */

.product-accessories {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #ecf0f1;
}

.product-accessories .h5 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-align: center;
}

/* ============================================
   CUSTOMIZATION
   ============================================ */

.product-customization {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.product-customization h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.product-customization label {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.product-customization input[type="text"],
.product-customization textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.product-customization input[type="text"]:focus,
.product-customization textarea:focus {
    border-color: var(--primaryllw-color, #FF3200);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 50, 0, 0.1);
}

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

@media (max-width: 991px) {
    #main .product-container {
        gap: 30px;
        padding: 30px 0;
    }




    .page-header h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .current-price .price {
        font-size: 30px;
    }

    .product-prices {
        padding: 15px;
    }

    .product-add-to-cart {
        padding: 20px;
    }

    .tabs {
        margin-top: 40px;
    }

    .nav-tabs .nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    #main .product-container {
        padding: 20px 0;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .current-price .price {
        font-size: 26px;
    }

    .product-prices {
        padding: 15px;
        margin-bottom: 20px;
    }

    .product-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .product-add-to-cart {
        padding: 15px;
    }

    .add-to-cart {
        flex-direction: column;
    }

    .add-to-cart button[type="submit"] {
        width: 100%;
    }

    .input-group {
        width: 100%;
    }

    .nav-tabs {
        flex-direction: column;
    }

    .nav-tabs .nav-link {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #ecf0f1;
        border-radius: 0;
    }

    .nav-tabs .nav-link.active {
        border-left: 3px solid var(--primaryllw-color, #FF3200);
        border-bottom: 1px solid #ecf0f1;
    }

    .product-features .label {
        min-width: 140px;
        font-size: 13px;
    }

    .product-features .value {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .page-header h1 {
        font-size: 20px;
    }

    .current-price .price {
        font-size: 24px;
    }

    .product-images .thumb-container {
        width: 60px;
        height: 60px;
    }

    .product-features li {
        flex-direction: column;
        gap: 5px;
    }

    .product-features .label {
        min-width: auto;
    }
}

/* ============================================
   ANIMATIONS & INTERACTIONS
   ============================================ */

.product-cover,
.add-to-cart button,
.nav-tabs .nav-link,
.product-variants .color,
.input-group-btn-vertical .btn {
    position: relative;
    overflow: hidden;
}

.add-to-cart button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.add-to-cart button[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

/* Loader pour l'ajout au panier */
.add-to-cart button[type="submit"].loading {
    pointer-events: none;
    opacity: 0.7;
}

.add-to-cart button[type="submit"].loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Success message */
.add-to-cart .added-to-cart {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 8px;
}

.add-to-cart .added-to-cart.show {
    display: flex;
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

span.price-tax-label {
    margin-top: -17px;
    font-size: 12px;
    color: gray;
}

#product .tabs {
    display: none;
}

/* ============================================
   PRODUIT RÉCUP POINT RELAIS (ID 192)
   ============================================ */

/* Masquer le prix pour le produit 192 - Sélecteurs multiples */
body[id*="product-192"] .product-prices,
body[id*="product-192"] .product-price,
body[id="product"] .product-prices:has(+ * #product_page_product_id[value="192"]),
body[id="product"] .js-product-prices:has(~ form #product_page_product_id[value="192"]),
.product-information .product-prices:has(~ .product-actions #product_page_product_id[value="192"]),
#product-192 .product-prices,
.product-page-192 .product-prices {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Masquer la quantité pour le produit 192 - Sélecteurs multiples */
body[id*="product-192"] .product-quantity .qty,
body[id*="product-192"] .product-quantity .control-label,
body[id="product"] .product-quantity:has(~ * #product_page_product_id[value="192"]) .qty,
body[id="product"] .product-quantity:has(~ * #product_page_product_id[value="192"]) .control-label,
.product-actions:has(#product_page_product_id[value="192"]) .product-quantity .qty,
.product-actions:has(#product_page_product_id[value="192"]) .control-label,
#product-192 .product-quantity .qty,
#product-192 .control-label,
.product-page-192 .product-quantity .qty,
.product-page-192 .control-label {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Améliorer le bouton pour le produit 192 */
body[id*="product-192"] .add-to-cart button[type="submit"],
body[id*="product-192"] .add-to-cart .btn-primary {
    background: linear-gradient(135deg, black 0%, #764ba2 100%);
    font-size: 18px;
    padding: 20px 40px;
    text-transform: none;
    letter-spacing: 0;
}

body[id*="product-192"] .add-to-cart button[type="submit"]:hover {
    background: linear-gradient(135deg, #764ba2 0%, black 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

body[id*="product-192"] .add-to-cart button[type="submit"] .shopping-cart {
    display: none;
}

body[id*="product-192"] .add-to-cart button[type="submit"]::after {
    content: '📦 Prendre en compte ma demande de colis relais';
}

/* Améliorer la personnalisation pour le produit 192 */
body[id*="product-192"] .product-customization {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px solid black;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

body[id*="product-192"] .product-customization .card-title {
    color: black;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

body[id*="product-192"] .product-customization>p {
    text-align: center;
    color: #000000;
    font-size: 14px;
    margin-bottom: 25px;
    font-style: italic;
}

body[id*="product-192"] .product-customization-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body[id*="product-192"] .product-customization-item label {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    display: block;
}

body[id*="product-192"] .product-customization-item label::before {
    content: '📝 ';
    margin-right: 5px;
}

body[id*="product-192"] .product-customization .product-message {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 80px;
}

body[id*="product-192"] .product-customization .product-message:focus {
    border-color: black;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

body[id*="product-192"] .product-customization .float-xs-right {
    color: #718096;
    font-size: 12px;
    margin-top: 5px;
}

body[id*="product-192"] .product-customization button[type="submit"] {
    background: black;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

body[id*="product-192"] .product-customization button[type="submit"]:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Titre du produit 192 */
body[id*="product-192"] .page-header h1 {
    color: black;
    font-size: 36px;
}

body[id*="product-192"] .page-header h1::before {
    content: '📦 ';
    margin-right: 10px;
}

/* ============================================
   PRODUIT 192 DANS LE PANIER
   Masquer prix et quantité
   ============================================ */

/* Masquer le prix unitaire du produit 192 dans le panier */
.cart-item [data-id-product="192"] .product-line-info.product-price,
.cart-item [data-id-product="192"] .current-price,
.cart-item [data-id-product="192"] .product-discount,
.cart-item [data-id-product="192"] .price {
    display: none !important;
}

/* Masquer le sélecteur de quantité pour le produit 192 */
.cart-item [data-id-product="192"] .qty,
.cart-item [data-id-product="192"] .js-cart-line-product-quantity {
    display: none !important;
}

/* Masquer le prix total à droite pour le produit 192 */
.cart-item [data-id-product="192"] .product-price strong {
    display: none !important;
}

/* Ajuster la mise en page quand le prix et la quantité sont masqués */
.cart-item [data-id-product="192"] .product-line-grid-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Message pour le produit 192 dans le panier */
.cart-item [data-id-product="192"] .product-line-grid-body::after {
    content: '📦 Service de récupération en point relais';
    display: block;
    margin-top: 10px;
    padding: 10px 15px;
    background: linear-gradient(135deg, black 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.product-container h1 {
    color: black !important;
}

.product-id-192 .product-container .product-information .clearfix {
    justify-self: anchor-center;
}

.block-social ul,
.product-quantity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    align-content: space-between;
}




/* Cache le titre et le texte brut à l'intérieur de la card */
.product-information .card-block>.card-title,
.card-block>p,
.card-block {
    /* Cette règle cache le texte "N'oubliez pas..." qui n'est pas dans une balise */
    font-size: 0;
}

/* On réaffiche le formulaire et on remet la taille de police normale pour son contenu */
.product-information .card-block form {
    display: block;
    font-size: 1rem;
    /* Ou la taille de votre choix */
}

/* Cache spécifiquement les éléments visibles hors du form */
.product-information .card-block>.h4.card-title {
    display: none;
}

@media (max-width:768px) {
    #product input.input-radio {
        display: none;
        ;
    }


    #blockcart-modal .cart-content .cart-content-btn {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: grid;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

}



/* ============================================
   MODAL PANIER — Pizze & Cook
   Primary: #FF3200
   Scoped: .modal-content
   ============================================ */

/* === CONTENEUR PRINCIPAL === */
.modal-content {
  border-radius: 18px !important;
  border: none !important;
  box-shadow:
    0 30px 80px rgba(26,16,8,0.22),
    0 0 0 1px rgba(255,50,0,0.08) !important;
  overflow: hidden !important;
  font-family: inherit !important;
}

/* === HEADER === */
.modal-content .modal-header {
  background: #ffffff !important;
  border-bottom: 2px solid #FF3200 !important;
  padding: 18px 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative !important;
}

/* Titre */
.modal-content .modal-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1a1008 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 !important;
  text-align: left !important;
}

/* Icône check dans le titre */
.modal-content .modal-title .material-icons {
  color: #ff320000 !important;
  font-size: 20px !important;
}

/* Pastille verte "succès" devant le titre */
.modal-content .modal-title::before {
  content: '✓' !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #FF3200 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  flex-shrink: 0 !important;
}

/* Bouton fermer × */
.modal-content .close {
  position: absolute !important;
  top: 14px !important;
  right: 18px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: #fff5f3 !important;
  border: 1px solid rgba(255,50,0,0.15) !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 !important;
  opacity: 1 !important;
  transition: background 0.2s, transform 0.2s !important;
  cursor: pointer !important;
}

.modal-content .close:hover {
  background: #FF3200 !important;
  transform: rotate(90deg) scale(1.05) !important;
}

.modal-content .close .material-icons {
  font-size: 17px !important;
  color: #cc4422 !important;
  transition: color 0.2s !important;
  /* margin-bottom: 12%; */
}

.modal-content .close:hover .material-icons {
  color: #ffffff !important;
}

/* === BODY === */
.modal-content .modal-body {
  background: #fff8f5 !important;
  padding: 24px !important;
}

/* === COLONNE GAUCHE — Image + infos produit === */
.modal-content .divide-right {
  border-right: 1px solid rgba(255,50,0,0.12) !important;
  padding-right: 20px !important;
}

/* Image produit */
.modal-content .product-image {
  width: 100% !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 4px 14px rgba(26,16,8,0.12) !important;
  display: block !important;
}

/* Nom produit */
.modal-content .product-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a1008 !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
}

/* Prix produit */
.modal-content .product-price {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #FF3200 !important;
  margin-bottom: 8px !important;
}

/* Quantité */
.modal-content .product-quantity {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #ffffff !important;
  border: 1px solid rgba(255,50,0,0.18) !important;
  border-radius: 6px !important;
  padding: 3px 10px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #6b4535 !important;
}

.modal-content .product-quantity strong {
  color: #FF3200 !important;
  font-weight: 800 !important;
}

/* === COLONNE DROITE — Récap panier === */
.modal-content .cart-content {
  padding-left: 8px !important;
}

/* Nombre d'articles */
.modal-content .cart-products-count {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #8a6a5a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 14px !important;
}

/* Lignes sous-total / transport / total */
.modal-content .cart-content p {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 13px !important;
  color: #4a3020 !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px dashed rgba(255,50,0,0.1) !important;
}

.modal-content .cart-content p:last-of-type {
  border-bottom: none !important;
}

.modal-content .cart-content .label {
  font-weight: 600 !important;
  color: #6b4535 !important;
}

.modal-content .cart-content .value {
  font-weight: 700 !important;
  color: #1a1008 !important;
}

.modal-content .cart-content .shipping.value {
  color: #2d9a4e !important;
  font-weight: 700 !important;
}

/* Ligne Total TTC — mise en avant */
.modal-content .product-total {
  background: #ffffff !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  border: 1.5px solid rgba(255,50,0,0.2) !important;
  margin-top: 4px !important;
  border-bottom: 1.5px solid rgba(255,50,0,0.2) !important;
}

.modal-content .product-total .label {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #1a1008 !important;
}

.modal-content .product-total .value {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #FF3200 !important;
}

/* === BOUTONS === */
.modal-content .cart-content-btn {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

/* Bouton secondaire — Continuer mes achats */
.modal-content .cart-content-btn .btn-secondary {
  background: #ffffff !important;
  color: #4a3020 !important;
  border: 1.5px solid rgba(255,50,0,0.2) !important;
  border-radius: 10px !important;
  padding: 11px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
  width: 100% !important;
}

.modal-content .cart-content-btn .btn-secondary:hover {
  background: #fff0ec !important;
  border-color: #FF3200 !important;
  color: #FF3200 !important;
}

/* Bouton primaire — Commander */
.modal-content .cart-content-btn .btn-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #FF3200 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 13px 16px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  text-align: center !important;
  cursor: pointer !important;
  box-shadow:
    0 4px 18px rgba(255,50,0,0.35),
    0 1px 4px rgba(255,50,0,0.2) !important;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.15s !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Shimmer au hover */
.modal-content .cart-content-btn .btn-primary::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.25) 50%,
    transparent 100%
  ) !important;
  transition: left 0.5s ease !important;
}

.modal-content .cart-content-btn .btn-primary:hover {
  background: #cc2800 !important;
  box-shadow:
    0 8px 28px rgba(255,50,0,0.45),
    0 2px 8px rgba(255,50,0,0.25) !important;
  transform: translateY(-2px) !important;
}

.modal-content .cart-content-btn .btn-primary:hover::before {
  left: 150% !important;
}

.modal-content .cart-content-btn .btn-primary:active {
  transform: translateY(0) !important;
}

.modal-content .cart-content-btn .btn-primary .material-icons {
  font-size: 18px !important;
}