.wc-block-mini-cart__template-part .wc-block-components-notices {
    display: none;
}

.wc-block-components-drawer {
    transform: translateX(-650px);
    width: 650px;
}


.is-medium table.wc-block-cart-items .wc-block-cart-items__row,
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
.is-small table.wc-block-cart-items .wc-block-cart-items__row {
    padding: 0px 0 20px;
}


.wc-block-components-product-details * {
    color: #999999;
    font-size: clamp(11px, calc(11px + ((13 - 11) * ((100vw - 400px) / (1500 - 400)))), 13px);
}

.wc-block-components-product-details__name {
    display: none;
}

.wc-block-components-product-metadata__description {
    display: none;
}

.wc-block-cart-item__wrap {
    flex-direction: column;
    align-items: flex-start;
    display: flex;
}

.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
    align-self: flex-start;
}

.wc-block-cart-item__prices {
    order: 5;
}

.wc-block-cart-item__quantity {
    order: 10;
}

.is-medium table.wc-block-cart-items .wc-block-cart-items__row,
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
.is-small table.wc-block-cart-items .wc-block-cart-items__row {
    grid-template-columns: 100px 132px;
}

.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    font-family: var(--police-worksans-bold);
    font-size: clamp(14px, calc(14px + ((16 - 14) * ((100vw - 400px) / (1500 - 400)))), 16px);
}

.wc-block-cart-item__wrap .wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    font-size: clamp(11px, calc(11px + ((13 - 11) * ((100vw - 400px) / (1500 - 400)))), 13px);
}

.wc-block-components-product-price__value.is-discounted {
    color: #D19166;
    font-weight: bold;
    font-size: clamp(11px, calc(11px + ((13 - 11) * ((100vw - 400px) / (1500 - 400)))), 13px);
}

.price.wc-block-components-product-price {
    order: 5;
}

.wc-block-components-product-details {
    margin-top: 0px !important;
}

.wc-block-components-product-metadata {
    margin-bottom: 5px !important;
}


.wc-block-components-product-badge.wc-block-components-sale-badge {
    background-color: #D19166;
}

.wc-block-components-product-badge.wc-block-components-sale-badge * {
    color: white;
    font-size: clamp(11px, calc(11px + ((13 - 11) * ((100vw - 400px) / (1500 - 400)))), 13px);
    font-weight: 700;
}

.wc-block-components-product-badge.wc-block-components-sale-badge {
    color: white;
    font-size: clamp(11px, calc(11px + ((13 - 11) * ((100vw - 400px) / (1500 - 400)))), 13px);
    font-weight: 700;
}


.wc-block-mini-cart__footer {
    border: none;
    padding: 15px 30px;
    background-color: #FFF9EB;
}

.wc-block-mini-cart__footer-actions {
    flex-direction: row-reverse;
}

.wp-block-woocommerce-mini-cart-checkout-button-block {
    border-radius: 5px;
    background-color: #D19166 !important;
    color: white !important;
    font-weight: 700;
    text-transform: uppercase;
}

.wp-block-woocommerce-mini-cart-cart-button-block {
    color: #D19166 !important;
    background-color: white !important;
    border: 1px solid #D19166;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    display: flex;
    flex-direction: column;
    line-height: initial;
    font-size: clamp(11px, calc(11px + ((13 - 11) * ((100vw - 400px) / (1500 - 400)))), 13px);
    gap: 2px;
    margin-bottom: 0px;
    font-weight: 400;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name span {
    font-size: clamp(14px, calc(14px + ((16 - 14) * ((100vw - 400px) / (1500 - 400)))), 16px);
    margin-bottom: 5px;
    font-family: var(--police-worksans-bold);
}

.wc-block-components-quantity-selector * {
    background-color: white !important;
    opacity: 1 !important;
}

.wc-block-components-quantity-selector {
    border: 1px solid #E5E5E5;
    border-radius: 5px;
    min-height: 35px;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button.wc-block-components-quantity-selector__button--plus:disabled {
    opacity: 0.3 !important;
    background-color: #E5E5E5 !important;
    cursor: not-allowed;
}


/* === MINI CART EMPTY CUSTOM === */
.lpg-mini-cart-empty-native-hidden {
    display: none !important;
}

.lpg-mini-cart-empty-custom-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 30px;
}

.lpg-mini-cart-empty-custom {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.lpg-mini-cart-empty-custom__head {
    margin-bottom: 25px;
    text-align: center;
}

.lpg-mini-cart-empty-custom__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.lpg-mini-cart-empty-custom__title {
    font-size: 35px;
    margin-bottom: 35px;
    font-family: var(--police-balthazar-regular);
}

.lpg-mini-cart-empty-custom__text {
    margin-bottom: 0;
}

.lpg-mini-cart-empty-custom__text span {
    font-weight: 700;
}

.lpg-mini-cart-empty-custom__reco {
    margin: 14px 0 30px;
    text-align: left;
    max-height: 400px;
    overflow: hidden;
    overflow-y: scroll;
    max-height: 45vh;
}

.lpg-mini-cart-empty-custom__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto 15px;
    max-width: 332px;
}

.lpg-mini-cart-empty-custom__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-size: clamp(14px, calc(14px + ((16 - 14) * ((100vw - 400px) / (1500 - 400)))), 16px);
}

.lpg-mini-cart-empty-custom__btn--ghost {
    background: #fff;
    border: 1px solid #D19166;
    color: #D19166;
}

.lpg-mini-cart-empty-custom__btn--filled {
    background: #D19166;
    border: 1px solid #D19166;
    color: #fff;
}

.lpg-mini-cart-empty-custom__payment {
    padding: 5px 30px 30px;
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.lpg-mini-cart-empty-custom__reco .produits-recommandes-title,
.lpg-mini-cart-empty-custom__reco .section-title,
.lpg-mini-cart-empty-custom__reco h2,
.lpg-mini-cart-empty-custom__reco h3 {
    display: none !important;
}

.lpg-mini-cart-empty-custom__reco .swiper,
.lpg-mini-cart-empty-custom__reco .produits-recommandes-slider,
.lpg-mini-cart-empty-custom__reco .produits-recommandes-wrapper {
    margin-bottom: 0 !important;
}

.lpg-mini-cart-empty-custom__reco .swiper-pagination {
    position: static !important;
    margin-top: 12px;
    text-align: center;
}

.lpg-mini-cart-empty-custom__reco .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    opacity: 1;
}

.lpg-mini-cart-empty-custom__payment .lpg-paiement-securise,
.lpg-mini-cart-empty-custom__payment .paiement-securise-wrapper {
    margin: 0 !important;
}

.wc-block-mini-cart__empty-cart,
.wc-block-mini-cart__empty-cart-wrapper,
.wc-block-components-empty-cart {
    margin-bottom: 0 !important;
}

.lpg-mini-cart-zone-before-reco:empty {
    display: none;
}

#lpg-offres-panier-info-wrapper:empty {
    display: none;
}

.wc-block-mini-cart__footer-subtotal .wc-block-formatted-money-amount::after {
    content: " TTC";
}

.wc-block-cart-item__image img {
    height: auto !important;
}

.lpg-mini-cart-empty-custom__reco .swiper-wrapper {
    flex-direction: column;
    gap: 10px;
}

.popup_informations_content a {
    text-decoration: underline;
}

.wp-block-woocommerce-mini-cart-title-items-counter-block {
    display: none;
}

/* .wp-block-woocommerce-empty-mini-cart-contents-block {
    justify-content: end !important;
} */

/* Panier vide */
#main-panier-blocks .lpg-mini-cart-empty-custom__reco {
    max-height: 100%;
}

#main-panier-blocks .lpg-mini-cart-empty-custom__reco .swiper-wrapper {
    align-items: center;
}

#main-panier-blocks .lpg-paiement-securise {
    justify-content: center;
    margin-top: 25px !important;
}




/* Styles spécifiques pour les échantillons offerts dans le bloc panier WooCommerce */
.wc-block-cart-items__row[class*="lpg-cart-item-"] {
    position: relative;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-components-quantity-selector {
    display: none !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    font-weight: 700;
    /* margin-top: 20px; */
    font-weight: initial;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__prices {
    display: none !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__remove-link {
    display: none !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__wrap {
    flex-direction: row !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-components-quantity-selector__input {
    margin-top: 0px !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-components-product-name {
    font-size: clamp(14px, calc(14px + ((16 - 14) * ((100vw - 400px) / (1500 - 400)))), 16px) !important;
    font-weight: 700 !important;
    /* margin-top: 20px; */
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__total .wc-block-components-product-price__value {
    color: #c8844e !important;
    font-size: clamp(14px, calc(14px + ((16 - 14) * ((100vw - 400px) / (1500 - 400)))), 16px);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__product .wc-block-cart-item__wrap {
    margin-left: -20px;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__product {
    padding-left: 0px !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__total {
    vertical-align: middle;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-components-product-metadata {
    display: none !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .lpg-hidden-qty .wc-block-components-quantity-selector {
    display: none !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__image img {
    width: 50px !important;
    height: auto !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-components-product-name {
    flex-direction: row !important;
    font-size: clamp(14px, calc(14px + ((16 - 14) * ((100vw - 400px) / (1500 - 400)))), 16px) !important;
    margin: 0px !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-components-product-name * {
    font-size: clamp(14px, calc(14px + ((16 - 14) * ((100vw - 400px) / (1500 - 400)))), 16px) !important;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__wrap {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.wc-block-cart-items__row[class*="lpg-cart-item-"] a {
    pointer-events: none;
}

.wc-block-cart-items__row.lpg-cart-item-freebie .wc-block-components-quantity-selector button {
    display: none;
}

.wc-block-cart-items__row.lpg-cart-item-freebie .wc-block-components-quantity-selector {
    width: max-content !important;
    border: 0px !important;
}

.wc-block-cart-items__row.lpg-cart-item-freebie .wc-block-components-quantity-selector * {
    background-color: transparent !important;
    padding: 0px !important;
    margin-top: 10px;
}

.wc-block-cart-items__row.lpg-cart-item-freebie .wc-block-components-quantity-selector::after {
    content: "x";
    font-size: 14px;
    top: calc(50% - 16px);
    position: absolute;
    left: 8px;
}

.wc-block-cart-items__row.lpg-cart-item-freebie .wc-block-components-quantity-selector {
    display: block !important;
    pointer-events: none;
}

.wc-block-components-totals-item__description {
    display: none !important;
}


.heho-mini-cart-shipping-line {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.heho-mini-cart-total-line {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.wc-block-components-totals-item.wc-block-mini-cart__footer-subtotal.heho-mini-cart-total-custom * {
    font-size: clamp(14px, calc(14px + ((16 - 14) * ((100vw - 400px) / (1500 - 400)))), 16px) !important;
}

html .wc-block-mini-cart__template-part .wc-block-mini-cart__footer.wp-block-woocommerce-mini-cart-footer-block .heho-mini-cart-tax-line p {
	font-size: clamp(11px, calc(11px + ((13 - 11) * ((100vw - 400px) / (1500 - 400)))), 13px) !important;
	font-weight: initial;
	color: #999999;
}

.heho-mini-cart-shipping-value {
    max-width: 50%;
    text-align: right;
}

.heho-mini-cart-shipping-line span {
    font-weight: initial;
}

.heho-mini-cart-shipping-subtext {
    font-weight: initial;
}

.heho-mini-cart-shipping-value {
    font-family: var(--police-worksans-bold);
}

.heho-mini-cart-total-line * {
	font-weight: initial;
	font-family: var(--police-worksans-bold);
}

/* === RESPONSIVE === */
@media screen and (max-width: 1500px) {
    .lpg-mini-cart-empty-custom__head {
        margin-bottom: 10px;
    }

    .lpg-mini-cart-empty-custom__title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .lpg-mini-cart-empty-custom__reco {
        margin: 14px 0 20px;
    }

    .lpg-mini-cart-empty-custom-wrapper {
        padding: 20px 20px 10px;
    }

    .lpg-mini-cart-empty-custom__btn {
        padding: 15px 30px;
        font-size: 14px;
    }

    .lpg-mini-cart-empty-custom__payment {
        padding: 5px 20px 20px;
    }
}

@media (max-width: 782px) {

    .wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__image {
        width: 52px;
        min-width: 52px;
        margin-right: 14px;
    }

    .wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-components-product-name {
        font-size: 15px;
    }

    .wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__total .wc-block-components-product-price__value {
        font-size: 15px !important;
    }

    .wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__image img {
        width: 40px !important;
    }

    .wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__product .wc-block-cart-item__wrap {
        margin-left: 0px;
    }
}




@media screen and (max-width: 500px) {
    .wc-block-cart-items__row[class*="lpg-cart-item-"] .wc-block-cart-item__wrap {
        gap: 4px;
        flex-wrap: wrap;
    }
}