/**
 * Magasin JCD Shortcode Styles
 */

.magasin-jcd-container {

    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.magasin-header {
    text-align: center;
    margin-bottom: 40px;
}

.magasin-header h2 {
    color: var(--e-global-color-accent, #103a5b);
    font-family: var(--e-global-typography-primary-font-family, Sans-serif);
    font-weight: var(--e-global-typography-primary-font-weight, 600) !important;
    margin-bottom: 10px;
}

.magasin-address {
    color: #666;
    font-size: 16px;
}

h2 {
    color: var(--e-global-color-accent, #103a5b);
    font-family: var(--e-global-typography-primary-font-family, Sans-serif);
    font-weight: var(--e-global-typography-primary-font-weight, 600) !important;
}

#container_prix {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#container_prix > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: #0000004a solid 1px;
    align-items: center;
}

.container_prix > div {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    margin: 4px 0;
}

.container_prix > div > img {
    width: 40px;
    margin-right: 10px;
}

.titre_etape {
    font-weight: 300;
    margin: 0;
    color: var(--e-global-color-primary, #103a5b);
    font-size: 26px;
}

.container_prix {
    color: #000000 !important;
    font-weight: 500;
    font-size: 20px !important;
    width: fit-content;
    text-align: start;
    display: block;
    background: #ffffff;
    padding: 2px 10px;
    border-radius: 10px;
    margin: 8px 0;
    border: 1px solid #aaaaaa61;
    margin: 70px 0 0 0;
}

#conteneurCartes {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.price {
    color: var(--e-global-color-primary, #103a5b) !important;
    font-weight: bold;
    font-size: 34px !important;
}

.card {
    cursor: pointer;
}

.card2,
.card3 {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px;
    display: inline-block;
    cursor: pointer;
}

.card.active,
.card2.active,
.card3.active {
    color: white;
    background-color: var(--e-global-color-primary, #103a5b);
}

.accordion-content {
    display: none;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    margin-top: -5px;
    border-radius: 0 0 10px 10px;
}

.accordion-item {
    margin: 8px 0;
    border: unset;
}

.accordion_button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    cursor: pointer;
    border-radius: 18px;
    color: #103a5b;
    outline: none;
    transition: background-color 0.4s ease;
    cursor: pointer;
    background: #07c8ff;
    color: white;
    width: 20px;
    height: 20px;
}

.accordion_button:hover,
.accordion_button.active {
    background-color: #ccc;
}

.container_titre {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
    position: relative;
    background: #eaeaea;
    border: 1px solid #848484;
    border-radius: 10px;
    padding: 5px 10px;
    /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
    color: #103a5b;
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
    font-weight: bold;
    font-size: 12px;
}
.container_titre.card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}
.super_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container-gauche {
    width: 60%;
}

.container-droit {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.container-droit > div {
    position: sticky;
    top: 60px;
}

select {
    padding: 13px 0;
    text-align: center;
    background: #eaeaea;
    margin: 8px 0;
    border-radius: 5px;
    width: 100%;
}

#info_choix_volume {
    padding: 2px 0 0px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    cursor: pointer;
    border-radius: 18px;
    outline: none;
    transition: background-color 0.4s ease;
    cursor: pointer;
    background: #07c8ff;
    color: white;
    width: 20px;
    height: 20px;
    border: unset;
}

button#click_panier {
    border-radius: 15px !important;
    text-transform: uppercase;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 10px;
}

.svg_bouton_panier {
    width: 20px;
    fill: white;
    margin: 0px 12px -3px 0;
}

.bleu,
#click_panier:hover {
    background-color: var(--e-global-color-primary, #103a5b) !important;
    border-color: var(--e-global-color-primary, #103a5b) !important;
}

.click_panier {
    border-radius: 5px 5px 5px 5px;
    padding: 14px 14px 14px 14px;
    color: white;
    margin: 25px 0;
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
}

.click_panier:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .super_container {
        flex-direction: column;
    }

    .container-gauche,
    .container-droit {
        width: 100%;
    }

    .container-droit > div {
        position: relative;
        top: 0;
    }
}

@media only screen and (max-width: 420px) {
    .titre_etape {
        font-size: 20px !important;
    }

    .container_titre.card > span {
        font-size: 15px !important;
    }

    div.container_prix {
        margin: 35px 0 0 0 !important;
    }
}


  .cart-content {
   
            background: #fff;
        }
        .cart-content h3 {
            color: #1a3a4a;
            font-size: 18px;
            font-weight: bold;
            margin: 0 0 15px 0;
        }
        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        .cart-header h3,#quantity-selector-container h3 {
                margin: 0;
    font-weight: var(--e-global-typography-primary-font-weight) !important;
    margin: 0;
    color: var(--e-global-color-primary);
    font-size: 26px;
        }
.info-btn {
    border: none;
    padding: 6px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 18px;
    color: #103a5b;
    outline: none;
    transition: background-color 0.4s ease;
    background: #07c8ff;
    color: white;
    width: 20px;
    height: 20px;
}
        .info-btn:hover {
            background: #2a4a5a;
        }
        .cart-select {
            text-align: start;
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            background: #fff;
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
        }
        .cart-select:disabled {
            background-color: #f5f5f5;
            cursor: not-allowed;
        }
        .calculator-link {
            margin: 15px 0;
            font-size: 14px;
            font-size: 13px;
        }
        .calculator-link a {
            color: #0892ba;
            text-decoration: underline !important;
        }
        #quantity-selector-container {
            margin-top: 20px;
        }
        .order-summary-box {
            margin-top: 25px;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            background: #fff;
        }
        .summary-row {
            display: flex;
            align-items: center;
            padding: 12px 0;
border-bottom: 1px solid #9c9c9c;
        }
        .summary-row:last-of-type {
            border-bottom: none;
        }
        .summary-icon {
            width: 40px;
            height: 40px;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .summary-icon img {
            max-width: 40px;
            max-height: 40px;
        }
        .summary-icon .fallback-icon {
            display: none;
        }
        .summary-icon img[style*="display: none"] + .fallback-icon {
            display: block;
        }
        .summary-text {
            font-size: 16px;
            color: #333;
        }
        .price-section {
            margin-top: 15px;
        }
        .price-title {
            font-size: 24px !important;
            margin-bottom: 15px !important;
        }

        .price-row:last-child {
            border-bottom: none;
        }
        .price-row.total {
    font-size: 14px;
    font-family: 'Boldonse', Sans-serif;
        }
        .price-row.eco-part {
            color: #666;
            font-size: 12px;
        }
        .price-label {
            color: #333;
        }
        .price-value {
            color: #333;
        }
        .add-to-cart-btn {
    margin-top: 20px;
    background: #1a3a4a;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    border-radius: 25px !important;
    background-color: var(--e-global-color-primary) !important;
    border-color: var(--e-global-color-primary) !important;
    color: white !important;
    font-family: 'Boldonse', Sans-serif;
        }
        .add-to-cart-btn:hover:not(:disabled) {
            background: #2a4a5a;
        }
        .add-to-cart-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
        }
     
.buy-now-btn {
    background-color: var(--e-global-color-secondary) !important;
    border-color: var(--e-global-color-secondary) !important;
    width: 100% !important;
    margin-top: 10px;
    background: transparent;
    color: black !important;
    border: 2px solid #1a3a4a;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Boldonse', Sans-serif;
    border-radius: 25px !important;
    font-size: 14px !important;
}
     
        .buy-now-btn:hover:not(:disabled) {
            background: #1a3a4a;
            color: white;
        }
        .buy-now-btn:hover:not(:disabled) .svg_bouton_un_clic {
            fill: white;
        }
        .buy-now-btn:disabled {
    border-color: #ccc !important;
    color: white;
    cursor: not-allowed;
    background: #ccc !important;
        }
        .buy-now-btn:disabled .svg_bouton_un_clic {
            fill: white;
        }
        .svg_bouton_un_clic {
            width: 20px;
            height: 20px;
            fill: white;
            transition: fill 0.3s;
        }


        .titre_etape {
    margin: 0 0 20px 0;
    color: var(--e-global-color-primary);
    font-size: 18px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight) !important;
}