/* 
    * CSS specific to modules
*/

/* 
 * myprestaloyalty - Fidélité 
 */

#loyalty_cart {
    background: transparent;
    margin: 16px;
    padding: 16px 24px;
    border-radius: 32px;
    border: 2px solid var(--color-primary);
}


/* 
 * blockreassurance
*/
.blockreassurance_product {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.blockreassurance_product>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.blockreassurance_product>div.clearfix {
    display: none;
}

/* 
 *  Brand Order Days
*/

.cart-product-restriction-message {
    position: relative;
    width: 100%;
    top: unset;
    right: unset;
    padding: 8px 0;
    margin: 0;
    max-width: unset;
    transform: none;
}

.cart-product-restriction-message p {
    color: var(--color-error);
    font-weight: 600;
}

.product-line-grid-right .cart-line-product-actions:has(.cart-product-restriction-message) .remove-from-cart {
    display: flex;
    margin: 0;
}

.product-line-grid-right .cart-line-product-actions:has(.cart-product-restriction-message) .remove-from-cart svg path {
    fill: var(--color-error);
    stroke: var(--color-error);
}

.product-line-grid:has(.cart-product-restriction-message) .row:has(> .price),
.product-line-grid:has(.cart-product-restriction-message) .product-line-grid-left,
.product-line-grid:has(.cart-product-restriction-message) .product-line-grid-body {
    opacity: 0.3;
}









/* 
 * Carrier Postcode Restriction
*/

.carrierpostcoderestriction-notice {
    background: var(--color-white);
    margin-bottom: 16px;
}

.carrierpostcoderestriction-notice h4,
.carrierpostcoderestriction-notice p {
    color: var(--color-black);
}

.carrierpostcoderestriction-notice a {
    color: var(--color-secondary);
}

.carrierpostcoderestriction-notice a:hover {
    color: var(--color-primary);
}



/* 
 * Weekly Order Schedule Notice
*/
.weeklyorderschedule-notice {
    background-color: var(--color-white);
    border-radius: 32px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--color-black);
}

.weeklyorderschedule-notice .texts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.weeklyorderschedule-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 575px) {
    .weeklyorderschedule-links {
        flex-direction: column;
        align-items: flex-start;
    }
}









/* 
 * Modules Prestashop 
*/

/* 
 * Cash On Delivery
*/
#ps_cashondelivery-displayOrderConfirmation {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#ps_cashondelivery-displayOrderConfirmation p:first-child {
    display: none;
}

/* 
 * Wish list
*/

.wishlist-list-item:hover .wishlist-list-item-title {
    color: var(--color-primary) !important;
}

/* 
 * Block Cart
 */

#header .header-nav .cart-preview.active {
    background: var(--color-primary);
}

#header .header-nav .blockcart.active a:hover,
#header .header-nav .cart-preview.active a,
#header .header-nav .cart-preview.active i {
    color: var(--color-white-light);
}

#header .header-nav .cart-preview .shopping-cart {
    color: var(--color-black-light);
}

#header .header-nav .blockcart {
    background: var(--color-white);
    color: var(--color-black);

    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    gap: 10px;
    height: 100%;
}

#header .header-nav .blockcart a:hover {
    color: var(--color-primary);
}
