:root {
    --cs-border-radius: 5px;
    --cs-padding: 16px;
    --cs-margin: 16px;
    --cs-font-size: 16px;
    --cs-line-height: 1.5;
    --cs-padding-button: 12px 24px;
}

button,
.button {
    border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
}

/* ------------- Age confirn modal START ------------ */
#agl_wrapper .agl_main {
    border-radius: var(--cs-border-radius);
}

#agl_wrapper .agl_main img {
    display: inline-block;
}

#agl_wrapper .agl_main strong {
    display: inline-block;
}

#agl_yes_button {
    border-radius: var(--cs-border-radius);
    background-color: var(--global-palette-btn-bg);
    color: var(--global-palette-btn-text);
    text-decoration: none;
}

div#agl_form h2 {
    display: none;
}

/* ------------- Age confirn modal END ------------ */

/* ------------ Sale badge START ------------ */

.woocommerce span.onsale {
    background-color: #e4003a;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 3px;
    min-height: auto;
    min-width: auto;
    line-height: 1.5;
    position: absolute;
    text-align: center;
    top: 10px;
    left: 10px;
    margin: 0;
    z-index: 9;
}

/* ------------ Sale badge END ------------ */

.product-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-price-wrap del {
    color: var(--global-palette6);
    font-size: 0.9em;
}

.product-price-wrap ins {
    text-decoration: none;
    font-weight: 600;
}

.product-discount-percentage {
    color: #e4003a;
    font-weight: 600;
    font-size: 0.9em;
    margin-top: 5px;

}


.home-products h2 {
    font-size: 14px !important;
    display: -webkit-box;
    /* Enables the box layout model */
    -webkit-box-orient: vertical;
    /* Specifies the orientation of the box */
    -webkit-line-clamp: 2;
    /* Limits the text to 2 lines */
    overflow: hidden;
    /* Hides any overflowed text */
    text-overflow: ellipsis;
    max-height: 46px
}

.home-2col-section .product,
.home-products .product {
    box-shadow: unset !important;
}

.image-fw,
.image-fw img {
    width: 100%;
}

/* ------------ Side cart START ------------ */

.woocommerce ul.cart_list li img,
.woocommerce ul.product_list_widget li img {
    font-size: 0px;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid var(--global-palette7);
    min-width: 50px;
}

.woocommerce ul.cart_list li a,
.woocommerce ul.product_list_widget li a {
    font-size: .8em;
    font-weight: 500;
    line-height: 120%;
}

.woocommerce ul.cart_list li .quantity,
.woocommerce ul.product_list_widget li .quantity {
    padding-left: 0px;
}

#cart-drawer.popup-drawer .drawer-content .woocommerce-mini-cart__buttons.buttons {
    display: flex;
    flex-direction: column-reverse;
}

#cart-drawer.popup-drawer .drawer-content .woocommerce-mini-cart__buttons.buttons .wc-forward {
    border: unset;
}

/* ------------ Side cart END ------------ */

/* ------------ View Transition API START ------------ */

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: vt-fade-out .3s ease-out forwards;
}

::view-transition-new(root) {
    animation: vt-fade-in .3s ease-in forwards;
}

@keyframes vt-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes vt-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

/* ------------ View Transition API END ------------ */