.slidecart-overlay {
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    height: 100%; 
    z-index: -1; 
    background-color: rgba(0,0,0,0.3);
    opacity: 0; 
    width: 100%;
    transition: all 1s, z-index 0s;
    &.active {
        opacity: 1;
        z-index: 999;
    } 
}
.cart-link, .slidecart-overlay, .close-cart-icon {
    cursor: pointer;
}
.slidecart-inner {
    height: fit-content;
}
.slidecart-wrapper { 
    position: fixed;
    overflow: hidden;   
    top: 0px;
    bottom: 0px;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    right: 0px; 
    transform: translate(100%, 0);
    z-index: 9000;  
    transition: all 0.5s;
    background-color: #fff;
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, .09), 0 0 4px 0 rgba(0, 0, 0, 0.21), 0 0 0 1px rgba(0, 0, 0, .09);
    padding: 0;
    display: flex;
    flex-direction: column;
    &.active { 
        transform: translate(0, 0);
    } 
    
    .slidecart-item-wrapper, .slidecart-title-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .slidecart-title-wrapper {
        padding: 0 28px;
        
    }
    .slidecart-title {
        margin: 0;
        font-weight: var(--FONT-WEIGHT-HEADING-BOLD);
        font-size: calc(2.375rem* var(--adjust-heading));
        font-family: var(--font-primary)!important;
        line-height: 1.25;
        text-transform: var(--HEADING-TEXT-CAPS)!important;
        display: block;
        font-style: var(--FONT-STYLE-HEADING)!important;
    }
    .shipping-notice:not(.footer) {
        text-align: left;
        font-size: 13px;
        line-height: 1.5;
        font-weight: 400;
        margin-bottom: 6px;
    }
    .shipping-notice-3 {
        margin: 0 auto !important;
        line-height: 1;
    }
    .slidecart-item-image-wrapper {
        img {
            max-width: 99px;
            max-height: 99px;
            width: 100%;
            height: 100%;
            border-radius: 5px;
        }
    }
    .slidecart-shipping-bar {
        padding: 0px 20px 13px;
    }
    .slidecart-shipping-bar-wrapper {
        width: 100%;
        height: 10px;
        background-color: var(--text-alpha-10);
        border-radius: 500px;
        .slidecart-shipping-bar-percent {
            background: var(--PRIMARY-BUTTONS-COLOR-BG);
            height: 10px;
            border-radius: 500px;
        }
    }
}

/* Cart Close Button */

.close-cart-icon {
  font-size: 1.6rem !important;
}

.small-cart-note {
    text-align: center;
    font-weight: 400; 
    font-size: 12px;
    line-height: 16px;
    margin-top: 20px;
}
.cart-footer {
    position: sticky;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    top: auto;
    background: #fff;
    padding: 13px 20px 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    flex-shrink: 0;
}
.slidecart-header {
    position: sticky; 
    top: 0px;
    left: 0px; 
    right: 0px;  
    width: 100%;
    bottom: auto; 
    padding-top: 10px;
} 
.slidecart-inner-wrapper {
    overflow-y: scroll; 
    flex-grow: 1;
    flex-shrink: 1;
}

.slidecart-wrapper .slidecart-item-wrapper {
    padding: 10px 20px;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
}
.slidecart-wrapper .slidecart-item-wrapper:not(:last-child) {
    padding-bottom: 11px;
}
.slidecart-item-image-wrapper {
    width: 70px;
    flex-shrink: 0;
}
.slidecart-item-title h2 {
    font-size: calc(.815rem* var(--adjust-body));
    font-weight: var(--FONT-WEIGHT-BODY-MEDIUM);
    font-family: var(--FONT-STACK-BODY)!important;
    line-height: 1.3;
    margin-bottom: 5px;
    padding-right: 20px;
}
.cart-item-bundle-items {
    list-style: none;
    font-size: 14px;
    line-height: 1.5;
}
.cart-item-bundle-el {
    margin-bottom: 5px;
}
.cart_item_selling_plan {
    background: 0;
    padding: 0.4rem;
    appearance: auto;
    font-size: 14px;
    margin-bottom: 5px;
}
.slidecart-item-qty-wrapper {
    margin-top: 15px;
    display: flex;    
    gap: 10px;
    align-items: center;
}
.slidecart-item-purchase-frequency {
    font-size: 14px;
    margin-bottom: 5px;
}
/*
.slidecart-item-qty-wrapper .removeItem {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 0;
    line-height: 0;
    background-image: url("data:image/svg+xml;utf8,<svg width='9' height='9' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'><path d='M9.677 8.118a1.102 1.102 0 11-1.559 1.56L5 6.558 1.882 9.677a1.102 1.102 0 11-1.56-1.559L3.442 5 .323 1.882A1.102 1.102 0 111.882.322L5 3.442 8.118.323a1.102 1.102 0 111.56 1.559L6.558 5l3.118 3.118z' fill='%23555555' fill-rule='nonzero'></path></svg>");
    background-size: 9px;
    background-repeat: no-repeat;
    background-position: 6px 5px;
    width: 20px;
    height: 24px;
    cursor: pointer;
}
*/
.slidecart-item-details-wrapper {
    width: 100%;
    position: relative;
}
.slidecart-item-price {
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
    position: absolute;
    right: 0;
    top: 0;
}
.slidecart-item-price p {
    font: inherit;
    margin: auto;
    line-height: inherit;
}
.slidecart-qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--COLOR-BORDER-ALPHA-50);
    overflow: hidden;   
    width: inherit;
}
.removeItem{
    text-decoration: underline;
    font-size:13px;
    cursor: pointer;
}
.slidecart-qty-wrapper .qty-button {
    background: none;
    border: 0;
    width: 30px;
    flex-shrink: 0;
}
.slidecart-wrapper .slidecart-item-qty-wrapper .slidecart-qty-wrapper .cart-qty-input::-webkit-outer-spin-button,
.slidecart-wrapper .slidecart-item-qty-wrapper .slidecart-qty-wrapper .cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.slidecart-wrapper .slidecart-item-qty-wrapper .slidecart-qty-wrapper .cart-qty-input {
    -moz-appearance: textfield;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: center;
    margin: auto;
    width: 45px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    border-radius:0px;
    border-right: 1px solid var(--COLOR-BORDER-ALPHA-50);
    border-left: 1px solid var(--COLOR-BORDER-ALPHA-50);
}
.cart-shipping-info {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}
.cart-subtotal-info {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    padding: 5px 0;
}
.subUpsell{
    padding-left:5px;
}
.cart-subtotal-info h2 {
    font: inherit;
    font-size: 1.1rem !important;
    font-family: var(--FONT-STACK-BODY)!important;
    margin: 0;
}
.cart-subtotal-info p {
    font-family: inherit;
    margin: 0;
    font-size: 1.1rem !important;
}
.shipping-notice{
    text-align: center;
}
.slidecart-wrapper .button, .cart-footer .btn-secondary {
    margin-top: 5px;
    margin-bottom: 10px;
    flex-shrink: 0;
    display: block;
    font-size: 13px;
    line-height: 1.43;
    border-radius: 500px;
    text-align: center;
    background: #000;
    color: white;
    text-transform: uppercase;
    font-family: var(--FONT-STACK-BUTTON)!important;
}
.slidecart-wrapper .button:hover {
    background: #000;
}
.slidecart-wrapper .button ~ a {
    text-decoration: underline;
    margin-top: 15px;
    display: block;
    text-align: center;
    cursor: pointer;
}
.cart-item-payment-options__button {
    font-size: 14px;
    line-height: normal;
    margin-top: 10px;
    position: relative;
    padding: 0;
    background: 0;
    border: 0;
    padding-left: 1em;
}
.cart-item-payment-options__button:before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    vertical-align: middle;
    border: 2px solid #555;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
}
.cart-item-payment-options__button:after {
    content: '';
    display: block;
    width: calc(1em - 4px);
    height: calc(1em - 4px);
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translate(0%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all .2s ease-in;
}
.cart-item-payment-options__button:hover:after {
    background-color: var(--PRIMARY-BUTTONS-COLOR-BG);;
}

.slidecart-item-image-wrapper {
    flex-shrink: 0;
}
.slidecart-item-details-wrapper {
    flex-grow: 1;
    flex-shrink: 1;
}
.slidecart-item-title {
    color: inherit;
    text-decoration: none;
}
.slidecart-item-description-wrapper p{
  margin:0px;
  font-size:12px;
}
.slidecart-item-title h2 {
    margin-top: 0;
    margin-bottom: .5em;
}
.cart-item-bundle-items {
    list-style: none;
    padding-left: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: normal;
}
.cart-item-bundle-el {
    margin-bottom: .2rem;
}
.cart_item_selling_plan {
    padding: .5rem 1.5rem .5rem .5rem;
    margin: .5rem 0;
    border-radius:0px!important;
}
.cart-drawer{
    display: none!important
}
.slidecart-item-details-wrapper .loader--line{
    visibility: visible!important;
    opacity: 1!important;
    margin-top: 10px;
}
.indicator{
    font-size: 12px;
}
.lsg-bundle-product-select-price{
    text-align: center;
}

/* Upsell Section Styles */
.slidecart-upsell-section {
    padding: 20px;
    background-color: var(--COLOR-UPSELLS-BG);
    margin: 10px;
    border-radius: 10px;
}

.slidecart-upsell-title {
    margin-bottom: 5px;
    text-align: left;
}

.slidecart-upsell-title h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: var(--FONT-WEIGHT-HEADING-BOLD);
    color: var(--COLOR-UPSELLS-TEXT);
    text-transform: var(--HEADING-TEXT-CAPS);
    line-height: 1.3;
    margin-bottom: 0;
}

.slidecart-upsell-subtitle p {
    font-size: 12px;
    margin: 0;
}

/* Slidecart Upsell Styles */
.slidecart-upsell {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--COLOR-BORDER-ALPHA-50);
}

.slidecart-upsell:last-child {
    border-bottom: none;
}

.slidecart-upsell__image {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    display: block;
}

.slidecart-upsell__content {
    flex: 1;
    min-width: 0;
}

.slidecart-upsell__row {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slidecart-upsell__title {
    font-size: calc(.815rem * var(--adjust-body));
    font-family: var(--FONT-STACK-BODY);
    line-height: 1.3;
    margin-bottom: 0;
}

.slidecart-upsell__title a {
    color: inherit;
    text-decoration: none;
}

.slidecart-upsell__price {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
}

.slidecart-upsell__quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.slidecart-quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--COLOR-BORDER-ALPHA-50);
    border-radius: 4px;
    overflow: hidden;
}

.slidecart-quantity__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: background-color 0.2s ease;
}

.slidecart-quantity__btn svg {
    width: 12px;
    height: 12px;
}

.slidecart-quantity__input {
    width: 40px;
    text-align: center;
    padding: 0;
    font-size: 0.8rem;
    background: transparent;
    -moz-appearance: textfield;
    border-top: 0;
    border-bottom: 0;
    border-right: 1px solid var(--COLOR-BORDER-ALPHA-50);
    border-left: 1px solid var(--COLOR-BORDER-ALPHA-50);
    border-radius: 0px;
}

.slidecart-quantity__input::-webkit-outer-spin-button,
.slidecart-quantity__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.slidecart-upsell__btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 8px;
    min-height: auto;
}

/* Button states */
.slidecart-upsell__btn.is-loading .slidecart-upsell__btn-text {
    display: none;
}

.slidecart-upsell__btn.is-loading .slidecart-upsell__btn-progress {
    display: block;
}

.slidecart-upsell__btn.is-success .slidecart-upsell__btn-text {
    display: none;
}

.slidecart-upsell__btn.is-success .slidecart-upsell__btn-check {
    display: block;
}

.slidecart-upsell__btn-progress,
.slidecart-upsell__btn-check {
    display: none;
}

.slidecart-upsell__errors {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--error-color, #d82c0d);
}

.slidecart-upsell__options {
    margin: 10px 0;
}

.slidecart-upsell__option {
    margin-bottom: 8px;
}

.slidecart-upsell__option-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slidecart-upsell__option-select {
    width: 100%;
    padding: 4px 32px 4px 12px;
    border: 1px solid var(--lightGrey);
    background: #ffffff;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.slidecart-upsell__option-select:hover {
    border-color: var(--primary);
}

.slidecart-upsell__option-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(222, 99, 49, 0.2);
}

.slidecart-upsell__option-select option {
    padding: 8px;
    background: #fff;
    color: var(--secondary);
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
    .slidecart-upsell__option-select {
        padding: 4px 28px 4px 10px;
        font-size: 11px;
        background-size: 14px;
        background-position: right 6px center;
    }
}

@media screen and (max-width: 768px) {
    .cart-footer {
        max-height: 40vh;
        display: flex;
        flex-direction: column;
    }
    .cart-footer__express {
        max-height: 240px;
        overflow-y: scroll;
        position: relative;
    }
    .cart-footer__express > .shopify-buyer-consent,
    .cart-footer__express > .shopify-payment-terms__container {
        display: block;
    }
    .slidecart-inner-wrapper {
        flex: 1 1 auto;
    }
}
