.bulk-out_of_stock {
    background: transparent !important;
    border:none !important;
}
#shopping-cart-table_farZone.bulk-out_of_stock {
    .item-info {
        border: 2px solid #E60000 !important;
        border-radius: 10px;
        margin: 2px 0px;
 }
 .out_stock_middle {
    display: flex !important;
    background: #000;
    color: #fff;
    position: absolute;
    z-index: 2;
    width: fit-content;
    padding: 5px;
    top: 43%;
    width: 92%;
    align-items: center;
    justify-content: center;
 }
  .product-item-photo {
     position:relative !important;
     top:0px !important;
 }
 
}

.report_link {display:none !important;}
#report_rest.report_link {display:flex !important;}
.checkout-methods-items .action.primary.disabled {
        opacity: 0.3 !important;
        cursor: not-allowed !important;
         pointer-events: bounding-box;
}
.cart.table-wrapper .product-image-wrapper .product-image-photo {
    border-radius:8px;
}
.shopping-cart-table tbody:not(:last-of-type) {
    border-bottom: 1px solid #EEEEEE;
}
.shopping-cart-table .product-item-details .timing {
    bottom:10px !important;width:100%;
}
.cart-item-options dd {
    border: 1px solid #cacaca;
    border-radius: 20px;
    padding: 3px 8px;
    margin:2px 4px !important;
}
.halfOpacity.product-item-details .timing {
    width:100%;
}
/*form.form.form-cart {*/
/*    background-color: transparent;*/
/*    border-radius: 0;*/
/*    padding: 0;*/
/*}*/
    .checkout-cart-index .cart-products-toolbar-top {
        display: none;
    }

    .secondary_block_stockout {
        justify-content: space-between;
        width: 100%;
        align-items: baseline;
        display: flex;
    }

    .optional_message {
        display: none;
    }

    .ah-out-of-stock {
        display: none;
    }

    .side_bar_outstock .betweenClass {
        flex-direction: column !important;
        gap: 10px;
        align-items: center;
    }

    .side_bar_outstock .remove_outstock_item_btn {
        position: absolute;
        right: 4px;
        top: 7px;
        padding: 10px;
    }

    .checkout_btn_side {
        padding-top: 5px;
        border-top: 1px dashed #cacaca;
    }

    .checkout_btn_side button {
        width: 100%;
        padding: 9px 15px;
        background-color: #b7d635;
        color: #fff;
        font-size: 16px;
        letter-spacing: 1px;
        font-weight: 600;
        border-radius: 6px;
        border: none;
    }

    .checkout_btn_side button:hover,
    .checkout_btn_side button:focus,
    .checkout_btn_side button:active {
        border: none;
        background-color: #abc734;
        color: #fff;
    }

    .active .sidefixed_hover {
        display: block;
        inset: 0;
        position: fixed;
        pointer-events: auto;
        background: black;
        opacity: 0.5;
    }

    .side_bar_outstock {
        border: 1px solid #cacaca;
        height: -webkit-fill-available;
        /*height:auto;*/
        background: #fff;
        visibility: hidden;
        padding: 20px 0px;
        opacity: 0;
        z-index: 10;
    }

    .active .side_bar_outstock {
        visibility: visible;
        opacity: 1;
        overflow-y: auto;
        padding-bottom: 50px !important;
        overflow-x: hidden;
    }

    /*#shopping-cart-table_outStock .betweenClass {*/
    /*    padding: 10px !important;*/
    /*    font-size: 15px;*/
    /*}*/

    /*new code to stop scroll*/
    /*.cart.table-wrapper #shopping-cart-table_outStock {*/
    /*    border-collapse: separate !important;*/
    /*    display: flex;*/
    /*    flex-direction: column;*/
    /*    position: fixed;*/
    /*    top: 0;*/
    /*    bottom: 0;*/
    /*}*/

    /*#shopping-cart-table_outStock thead {*/
    /*    flex: 0 0 auto;*/
    /*    background:#FDECED;*/
    /*}*/

    /*#shopping-cart-table_outStock .cart.item {*/
    /*    flex: 1 1 auto;*/
    /*    overflow-y: auto;*/
    /*    border: 0;*/
    /*}*/

    /*#shopping-cart-table_outStock .checkout_btn_side {*/
    /*    flex: 0 0 auto;*/
    /*    display: flex;*/
    /*    justify-content: center;*/
    /*    overflow: hidden;*/
    /*}*/

    /*new code to stop scroll ends here*/
    /*#shopping-cart-table_outStock .item-info {*/
    /*    border-top: 1px dashed #cacaca;*/
    /*}*/

    .remove_outstock_item_btn,
    .remove_outstock_item_btn:focus,
    .remove_outstock_item_btn:active {
        border: none;
        background-color: transparent;
    }

    .noaddress .fixed_hover {
        display: block !important;
        inset: 0;
        position: fixed;
        pointer-events: auto;
        background: #cacaca;
        opacity: 0.5;
    }

    .noaddress .blink-border {
        animation: blink 1s infinite alternate;
        border-width: 2px;
        border-style: solid;
    }

    @keyframes blink {
        0% {
            border-color: #eb8d8d;
        }

        100% {
            border-color: transparent;
        }
    }

    .fixed_hover {
        display: none;
    }

    .noaddress .cart_address_block {
        position: relative;
        z-index: 39;
    }

    .noaddress .cart_address_block {
        border: 1px solid #eb8d8d;
    }

    .redText {
        color: #EF0303;
        font-weight: 600
    }

    .outofstock_item .product-image-photo {
        filter: grayscale(1);
    }


    .highligh-primary {
        border: none;
        color: #0657CE;
        font-weight: 500;
        background: none;
        line-height: 16px;
        cursor: pointer;
        width:max-content;
        font-family: system-ui;
    }

    .highligh-primary:focus,
    .highligh-primary:hover,
    .highligh-primary:active {
        border: none;
        background: none;
        color: #0657CE;
        box-shadow: none;
    }

    #cart_side_container {
        width: 100%;
        width: -webkit-fill-available;
    }

    .cart_address_block {
        background-color: #fff;
        border-radius: 8px;
        padding: 14px 12px;
        float: left;
        display: flex;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
        gap: 5px;

    }

    .custom-dropdown {
        position: relative;
        width: 100px;
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.3s ease-in-out;
        border: 1px solid #cacaca;
    }

    .dropdown-selected {
        padding: 3px 9px;
        border-radius: 6px;
        font-weight: 600;
        color: #333;
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-selected:hover {
        background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
    }

    .dropdown-selected.open {
        background: #f5f5f5;
    }

    .arrow-down {
        font-size: 12px;
        margin-left: 8px;
    }

    .dropdown-options {
        position: absolute;
        top: 110%;
        left: 0;
        width: 100%;
        border-radius: 0px 0px 6px 6px;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        display: none;
        overflow: hidden;
        max-height: 200px;
        overflow-y: auto;
        z-index: 10;
    }

    .dropdown-option {
        padding: 4px 8px;
        font-weight: 500;
        color: #333;
        text-align: left;
        transition: background 0.3s;
    }

    .dropdown-option:hover {
        background: #b7d635;
        color: #000;
    }

    .dropdown-options::-webkit-scrollbar {
        background: #f1f1f1 !important;
        height: 7px !important;
        width: 5px;
    }

    .dropdown-options::-webkit-scrollbar-thumb {
        background: #888 !important;
        border-radius: 7px;
    }

    .light-gray {
        color: #757575;
        font-size: 16px;
        line-height: 20px;
        max-width: 370px;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
    .allBlack {
        color:#000 !important;
    }

    .narrowText {
        color: #666666;
        font-weight: 500;
        line-height: 1.25rem;
        white-space: nowrap;
    }

    .out_of_stock_header {
        background: #FDF5E9;
        border-radius: 10px;
        border: 1px solid #FFE0B0;
        padding: 12px 10px;
        gap: 5px;
        display: flex;
    }

    .cart-mobile-footer.noaddress .checkout_outerDiv {
        pointer-events: none;
        opacity: 0.5;
    }
/*changes*/
    #shopping-cart-table_farZone {
        margin-top: 0;
        background: rgba(255, 0, 0, 0.10);
        border-collapse: separate;
        border-radius: 8px;
        border: 1px solid #cacaca;
        margin-bottom: 10px;
        padding:8px;
    }
/**/
    #shopping-cart-table_farZone {
        .betweenClass.redText {
            padding: 8px !important;
        }

        .item-info {
            border-top: 1px solid #cacaca;
        }

        .remove_outstock_item_btn {
            display: flex;
            gap: 4px;
            flex-wrap: nowrap;
        }

    }

    @media (max-width: 769px) {
       .timing.cartDelivery {
            display: none;
        }

         .cart #shopping-cart-table_farZone {
            position:relative;
            padding-bottom:50px !important;
        }
        .clear-cart-btn {
            position: absolute;
            bottom: 8px;
            width: 95%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .pref-label {
            width:100%;
        }
        .pref-group-left {
            gap: 4px !important;
        }
        .pref-btn {
            gap:4px !important;
            padding: 10px 13px !important;
            font-size: 12px !important;
            font-weight: 400 !important;
        }
    .delivery-sidebar-container,
    .address-sidebar-container ,.confirm-sidebar-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 85vh !important; 
        top: 20% !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        border-radius: 24px 24px 0 0 !important; 
        transform: translateY(100%) !important; 
        transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
        overflow-y: auto !important; 
        padding-bottom: 60px !important; 
    }

    
    #sidepannel.active .delivery-sidebar-container,
    #addressSidebar.active .address-sidebar-container,
    #confirmSidebar.active .confirm-sidebar-container {
        transform: translateY(0) !important;
    }

    .ds-close-btn, .as-close-btn {
        top: 16px !important;
        right: 16px !important;
        background: #f0f0f0 !important; 
    }

        .showInWeb, #shopping-cart-table_farZone .col.price[data-th]:before {
            display: none !important;
        }

        #shopping-cart-table_farZone .cart .item-info .col.price {
            display: flex !important;
        }

        .page.messages {
            top: 64px;
        }

        .product-item-details .curreny_title {
            font-size: 12px;
            color: gray;
        }

        .product-item-details .nonDiscount_price .price_item {
            color: #000;
            font-size: 16px;
            font-weight: 600;
        }

        .cart.table-wrapper .cart .item-info .item-actions {
            display: block !important;
        }

        .cart.table-wrapper .cart .item-info .item-actions .qty .qty-control {
            display: flex;
            flex-direction: column-reverse;
            align-items: center;
            row-gap: 5px;
            justify-content: space-between;
            height: 88px;
        }

        .cart.table-wrapper .cart .item-info .item-actions .qty .qty-control button {
            border: none;
            font-size: 18px;
            font-weight: 600;
            color: #6cc51d;
            padding: 7px;
        }

        .cart.table-wrapper .cart .item-info .item-actions .qty .qty-control .qty-minus {
            color: #868889;
        }

        .cart.table-wrapper .cart .item-info .item-actions .qty .qty-control input[type="number"] {
            border-radius: 0 !important;
            width: 30px;
            max-width: fit-content;
            font-size: 17px;
            font-weight: 900;
            height: auto;
            text-align: center;
            padding: 0px;
        }

    }

    @media (max-width: 768px) {
        /*added form custom css*/
        /*added from custom css ends here*/
        #padding_remove {
            padding: 0;
            padding-bottom: 5px;
        }

        .out_of_stock_header {
            align-items: center;
            padding: 4px 8px;
            box-sizing: border-box;
        }

        .secondary_block_stockout {
            flex-wrap: wrap;
            gap: 3px;
            text-align: justify;
        }

        .noaddress .optional_message {
            display: block;
        }

        .light-gray {
            font-size: 14px;
            line-height: 16px;
            max-width: 320px;
        }

        .optional_message {
            position: fixed;
            bottom: 59px;
            font-size: 13px;
            background: #FDF5E9;
            color: #EF0303;
            width: 100%;
            left: 0;
            word-spacing: 1px;
            letter-spacing: 1px;
            padding: 3px;
            font-weight: 600;
        }

        .checkout_btn_side {
            padding-top: 15px !important;
            padding-bottom: 15px;
        }

        .checkout_btn_side tr td {
            width: 100% !important;
            padding: 0 !important;
        }

        .active .side_bar_outstock {
            bottom: 0;
            /*top: 45%;*/
            top: 15%;
            width: 100%;
            box-sizing: border-box;
            transition: all 0.3s ease-in-out;
            transform: translateY(0);
            height: auto !important;
            z-index: 999;
        }

        .side_bar_outstock {
            transform: translateY(100%);
            padding: 5px 0px;
            border-radius: 16px 16px 0px 0px;
            transition: all 0.3s ease-in-out;
        }

        /*#shopping-cart-table_outStock .items thead + .item {*/
        /*    border-top: 1px dashed #d1d1d1;*/
        /*}*/

        /*#shopping-cart-table_outStock {*/
        /*    background: #fff;*/
        /*    border-radius: 12px;*/
        /*    box-sizing: border-box;*/
        /*}*/

        /*#shopping-cart-table_outStock .col.price[data-th]:before {*/
        /*    content: '' !important;*/
        /*}*/

        .outofstock_item .col.price .desktop_price {
            display: none;
        }

        .outofstock_item .col.price {
            display: flex !important;
            flex-direction: column;
            justify-content: center;
            align-items: end;
        }

        .outofstock_item .col.item .product-item-details {
            justify-content: center;
        }

        .cart_inner {
            flex-direction: column;
            justify-content: flex-start;
            align-items: baseline;
            position: relative;
            gap: 10px
        }

        .custom-dropdown, .product-item-details .cart.item .delBtnCart {
            display: none;
        }

        .cart_address_block {
            width: -webkit-fill-available;
            width: -moz-available;
            margin: 0px 8px 8px;
            padding: 12px;
        }
.cart.table-wrapper .col.item.sc-header {
    padding:10px 0 !important;
}
        .highligh-primary {
            /*position: absolute;*/
            /*right: 0;*/
            z-index: 1;
        }

        .cart_loc_icon {
            display: none;
        }

        .cart.table-wrapper .shopping-cart-table .col.price {
            font-size: 14px;
            font-weight: 600;
            text-align: right;
        }

        .cart.table-wrapper .shopping-cart-table tr.item-info .product-item-details .cart.item.message.error {
            display: block !important;
        }

        .cart.table-wrapper .shopping-cart-table .item .item-info {
            background-color: #fff;
            margin-bottom: 5px;
            border: 1px solid #cdcdcd;
            padding: 5px;
            border-radius: 8px;
        }

        .cart.table-wrapper .col.item {
            padding: 0px 0 !important;
        }

        .cart.table-wrapper .col.item .product-item-details {
            padding: 8px 0 !important;
        }


        .cart.table-wrapper .shopping-cart-table {
            border-collapse: separate !important;
        }

    }
    @media (min-width: 769px) {
        #shopping-cart-table_farZone .product-item-name {
           min-height:20px !important;
       }
       .cart.table-wrapper .col.item.sc-header {
                padding: 14px 13px !important;
        }
        .showInMob {
            display: none !important;
        }

        .active .side_bar_outstock {
            right: 0;
            top: 0;
            width: 450px;
            transition: all 0.3s ease-in-out;
            transform: translateX(0);
        }

        .side_bar_outstock {
            transform: translateX(100%);
        }

        .checkout-cart-index .cart.table-wrapper .item .col.item {
            align-items: flex-start;
        }

        /*.mobile-qty-input,*/
        /*#shopping-cart-table_outStock .nonDiscount_price {*/
        /*    display: none;*/
        /*}*/

        .md\:flex-row {
            flex-direction: row;
        }

        .cart.table-wrapper .cart .col.price .mob_item_price {
            display: flex;
            flex-wrap: nowrap;
            column-gap: 12px;
            align-items: baseline;
            font-size: 16px;
            color: gray;
            font-weight: 500;
            flex-direction: row;
            line-height: normal;
        }

        .cart.table-wrapper .cart .col.price .desktop_price {
            font-size: 16px;
            font-weight: 600;
        }

        .cart.table-wrapper .cart .col.price {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-top: 5px !important;
            gap: 5px
        }

        .checkout-cart-index .cart-container #form-validate .cart.main.actions {
            position: absolute;
            top: 20px;
            right: 14px;
        }

        .cart.table-wrapper .item .col.item {
            padding: 12px !important;
        }

        .checkout-cart-index .cart-container #form-validate {
            position: relative;
            width: -webkit-fill-available;
        }

        .checkout-cart-index .page-main .page-title-wrapper h1 {
            font-size: 25px !important;
            margin-left: 33px;
        }

        .cart-container .cart-summary {
            min-width: 30% !important;
            padding: 15px;
            margin-bottom: 0;
        }
    }

    @media (min-width: 768px) {
    
        .cart.table-wrapper .shopping-cart-table .cart .col.price {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-top: 5px !important;
        }

        .cart.table-wrapper .cart .col.price .desktop_price {
            font-size: 16px;
            font-weight: 600;
        }

        .cart.table-wrapper .cart .col.price .mob_item_price {
            display: flex;
            flex-wrap: nowrap;
            column-gap: 12px;
            align-items: baseline;
            font-size: 16px;
            color: gray;
            font-weight: 500;
            flex-direction: row;
            line-height: normal;
        }

        .cart.table-wrapper .cart .col.price .mob_item_price .old-price {
            line-height: normal !important;
        }

        .cart.table-wrapper .cart .col.price .mob_item_price .special-price {
            color: #db3022;
            font-size: 16px;
            font-weight: 600;
            display: flex;
            align-items: baseline;
            justify-content: center;
            column-gap: 5px;
        }

        .cart.table-wrapper .cart .col.price .mob_item_price .special-price .price_item_mob {
            order: 2;
        }

        .cart.table-wrapper .cart .col.price .mob_item_price .special-price .old-price {
            font-size: 14px !important;
            text-decoration: line-through;
        }

        .cart.table-wrapper .cart .col.price .mob_item_price .special-price .curreny_title {
            color: #838383;
            font-size: 14px;
            font-weight: 500;
        }

        .cart.table-wrapper .cart .col.price .desktop_price .curreny_title {
            font-size: 14px;
            font-weight: 500;
            color: #838383;
        }
    }
    /*new unavilabe items section*/
    /* Container styling */
    .cart-preferences-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /*background-color: #ffffff;*/
        padding:1px;
        /*border-radius: 12px;*/
        /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);*/
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom:8px;
    }

    /* Left Group */
    .pref-group-left {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        background: #fff;
        padding: 8px 10px;
        border-radius: 8px;
    }

    .pref-label {
        font-size: 15px;
        font-weight: 500;
        color: #1a1a1a;
        margin-right: 4px;
    }

    /* Shared Button Styles */
    .pref-btn, .clear-cart-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        background-color: #ffffff;
        border: 1px solid #e5e5e5;
        color: #333333;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    /* Pill shape for preferences */
    .pref-btn {
        border-radius: 30px;
    }

    /* Standard rounded shape for clear cart */
    .clear-cart-btn {
        border-radius: 8px;
    }

    /* Hover states */
    .pref-btn:hover {
        background-color: #1a1a1a;
        color: #ffffff;
        border-color: #1a1a1a;
    }
    .clear-cart-btn:hover {
        border-color:#666666;
        background-color:#fff;
    }

    /* Active State for Preference Buttons */
    .pref-btn.active {
        background-color: #1a1a1a;
        color: #ffffff;
        border-color: #1a1a1a;
    }

    /* SVG Icon Styling - inherits text color automatically */
    .pref-btn svg, .clear-cart-btn svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
    }
.clear-cart-btn svg {
    stroke:none !important
}
    /* Responsive adjustment for smaller screens */
    @media (max-width: 768px) {
        .checkout-cart-index .page-main {
            margin: 0;
            margin-top: 64px;
            padding: 0px;
        }
        .pref-group-left {
            width:100%;
        }
        .cart-preferences-bar {
            flex-direction: column;
            align-items: flex-start;
            margin:0 8px;
        }
        .pref-group-right {
            width: 100%;
            display: flex;
            justify-content: flex-end;
            padding-top: 16px;
            border-top: 1px solid #f0f0f0;
        }
        .pref-group-right {
            display:none;
        }
    }
    #second-delivery-shopping, .shopping-cart-table {
        border-collapse:collapse;
        margin-bottom:10px !important;
        padding:10px !important;
        background:#fff;
        border-radius:8px;
    }
   #shopping-cart-table_farZone .outstockheadertext {
        font-size:14px;
        font-weight:400;
        color:#000
    }
   #shopping-cart-table_farZone .col.price .desktop_price .curreny_title {
       font-size:12px;
   }
    #shopping-cart-table_farZone .item-info {
        background:#fff;
        /*border-radius:8px;*/
    }
    #shopping-cart-table_farZone .col.item.betweenClass {
       padding:0px 0px 6px !important; 
    }
    .font-medium {
        font-size:14px;
        font-weight:400;
    }
    /* Scoped styles to prevent conflict with your main theme */
.delivery-sidebar-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #111;
}

.ds-warning-title {
    color: #D8231D;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.ds-warning-text {
    color: #555;
    font-size: 14px;
    margin: 0;
    padding-left: 24px; /* Aligns text under the title properly */
}

/* Map Card */
.ds-map-card {
    /*border: 1px solid #EAEAEA;*/
    /*border-radius: 8px;*/
    /*overflow: hidden;*/
    /*margin-bottom: 24px;*/
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    overflow: hidden; /* This forces the rounded corners on the map */
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    background: #fff;
    /* Add this to fix Safari rounded corner overflow bugs */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.ds-map-image {
    /*position: relative;*/
    /*background: #f0f0f0;*/
    position: relative;
    width: 100%;
    height: 150px; /* Lock the height here instead of inline */
    background: #f0f0f0;
}
/* 3. The Leaflet Map Div */
.ds-map-card #ahmap_selected {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Keep map below the pin */
}
.ds-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Forces it above the Leaflet tiles */
    pointer-events: none;
    display:none !important;
}
.ds-address-details {
    /*padding: 16px;*/
    /*font-weight: 600;*/
    /*font-size: 16px;*/
    /*background: #fff;*/
    /*position:relative;*/
    padding: 16px;
    font-weight: 600;
    font-size: 16px;
    background: #fff;
    border-top: 1px solid #EAEAEA;
    position: relative;
    z-index: 2;
}

/* Instruction Text */
.ds-instruction {
    font-size: 16px;
    color: #333;
    margin-bottom: 24px;
}

/* Buttons */
.ds-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.ds-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ds-btn-primary {
    background-color: #1A1A1A;
    color: #FFFFFF;
    border: 1px solid #1A1A1A;
}
.ds-btn-primary:hover {
    background-color: #333;
}
.ds-btn-secondary {
    background-color: #FFFFFF;
    color: #1A1A1A;
    border: 1px solid #CCCCCC;
}
.ds-btn-secondary:hover {
    background-color: #F9F9F9;
    border-color: #999;
}

/* Accordion */
.ds-accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #F8F8F8;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}
.ds-accordion-toggle:hover {
    background-color: #EBEBEB;
}
.ds-accordion-content {
    display: none;
    padding: 16px;
    background: #fff;
    /*border: 1px solid #EEF0EC;*/
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.ds-chevron {
    transition: transform 0.3s ease;
}
.ds-accordion.active .ds-chevron {
    transform: rotate(180deg);
}
/* Close Button Styles */
.ds-close-btn {
    position: absolute;
    top: 6px;
    right: 16px;
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.ds-close-btn:hover {
    background-color: #F0F0F0; 
}

.ds-warning-banner {
    background-color: #FDF2F2;
    padding: 16px;
    margin-bottom: 16px;
    margin-top: 28px; 
}
#sidepannel {
    display: none;
}
#sidepannel.active {
    display: block;
}

.ds-btn-primary:hover {
    color:#fff;
}
.ds-bottom-container {
    padding:0px 14px;
    padding-bottom:50px;
}
.ds-accordion.active {
    border: 1px solid #EEEEEE;
    border-radius: 8px;
}
/* --- Sidebar Wrapper & Animation --- */
#addressSidebar {
    pointer-events: none;
}
#addressSidebar.active {
    pointer-events: auto;
}
.address-sidebar-container {
    position: fixed;
    z-index: 30; /* Higher than the first sidebar */
    background: #fff;
    width: 100%;
    max-width: 420px;
    right: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
#addressSidebar.active .address-sidebar-container {
    transform: translateX(0);
}

.as-overlay {
    z-index: 25;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#addressSidebar.active .as-overlay {
    opacity: 0.6;
    visibility: visible;
}

/* --- Header --- */
.as-header {
    padding: 24px 20px 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.as-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px 0;
}
.as-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}
.as-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

/* --- Address List & Cards --- */
.as-address-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.as-address-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.as-address-card.selected {
    border-color: #333; 
}

/* --- Custom Radio Buttons --- */
.as-radio-container {
    position: relative;
    padding-top: 2px;
}
.as-radio-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.as-radio-custom {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid #CCC;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}
.as-radio-input:checked ~ .as-radio-custom {
    border-color: #E91E63;
}
.as-radio-input:checked ~ .as-radio-custom::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #E91E63;
    border-radius: 50%;
}

/* --- Card Details & Badges --- */
.as-address-details {
    flex-grow: 1;
}
.as-address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.as-address-label {
    font-weight: 600;
    font-size: 14px;
    color: #111;
}
.as-badge {
    display: none; /* Hidden by default */
    background: #E91E63;
    color: #FFF;
    font-size: 10px;
    font-weight: 400;
    padding: 5px 8px;
    border-radius: 4px;
}
.as-address-card.selected .as-badge {
    display: inline-block; /* Shows badge when parent is selected */
}
.as-address-body {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

/* --- Footer Buttons --- */
.as-footer {
    padding: 20px;
    background: #FFF;
    border-top: 1px solid #EAEAEA;
    display: flex;
    gap: 12px;
}
.as-btn {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}
.as-btn-outline {
    background: #FFF;
    border: 1px solid #CCC;
    color: #111;
}
.as-btn-outline:hover {
    background: #F9F9F9;
    border-color: #999;
}
.as-btn-solid {
    background: #1A1A1A;
    border: 1px solid #1A1A1A;
    color: #FFF;
}
.as-btn-solid:hover {
    background: #333;
    color:#fff;
}
/* --- Delivery Areas Accordion Specific Styles --- */
.zone-section {
    margin-bottom: 20px;
}
.zone-section:last-child {
    margin-bottom: 0;
}

.zone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}
.zone-header.eligible {
    color: #09802D; 
}
.zone-header.ineligible {
    color: #BF0D07; 
}

.zone-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.zone-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 23px;
    height: 26px;
    padding: 0 4px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid;
    background-color: #fff;
}

.eligible-grid span {
    border-color: #A0B8A1;
    color: #09802D;
    background-color: #EEF0EC;
}
.ineligible-grid span {
    border-color: #E6C6C5;
    color: #BF0D07;
    background-color: #EEF0EC;
}
/* --- Confirm Address Sidebar Specific Styles --- */
#confirmSidebar { pointer-events: none; }
#confirmSidebar.active { pointer-events: auto; }

.confirm-sidebar-container {
    position: fixed;
    z-index: 40; 
    background: #fff;
    width: 100%;
    max-width: 420px;
    right: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
#confirmSidebar.active .confirm-sidebar-container { transform: translateX(0); }

.cs-overlay {
    z-index: 35;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#confirmSidebar.active .cs-overlay { opacity: 0; visibility: visible; }

.cs-header {
    padding: 24px 20px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cs-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
}
.cs-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}


.cs-body {
    /*flex-grow: 1;*/
    padding: 0 20px;
    overflow-y: auto;
}
.cs-map-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    height: 180px;
    background: #f0f0f0;
}
.cs-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cs-map-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cs-map-tooltip {
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #111;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 4px;
    position: relative;
    white-space: nowrap;
}
/* Tooltip down arrow */
.cs-map-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

/* Address Info */
.cs-address-info {
    text-align: center;
    margin-bottom: 24px;
}
.cs-address-label {
    font-size: 14px;
    color: #555;
    margin: 0 0 8px 0;
}
.cs-address-value {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* Footer Buttons */
.cs-footer {
    padding: 20px;
    background: #FFF;
    display: flex;
    gap: 12px;
}
.cs-btn {
    flex: 1; /* Makes both buttons equal width side-by-side */
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}
.cs-btn-outline {
    background: #FFF;
    border: 1px solid #CCC;
    color: #111;
}
.cs-btn-outline:hover { background: #F9F9F9; border-color: #999; }
.cs-btn-solid {
    background: #1A1A1A;
    border: 1px solid #1A1A1A;
    color: #FFF;
}
.cs-btn-solid:hover { background: #333; }