:root {
    --cart-font-size: 14px;
    --display-address-form: none;
    --address-border-radius: 0.3rem;
    --address-list-gap-val: 15px
}

.checkout-wrapper {
    /* background-color: #f8f7f5; */
    height: 100vh;
    /* border: 2px solid red; */
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    display: flex;
    justify-content: center;
}

/* width of the scroll bar inside all_imgs */
::-webkit-scrollbar {
    width: 6px;
    margin-right: 2px;
    border-radius: 2px;
    scroll-behavior: smooth;
    background: rgb(147 135 135 / 32%);
}

body {
    font-size: 1rem;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: hsl(0deg 0% 66% / 89%);
    border-radius: 0px;
    background-clip: padding-box;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: hsl(40deg 33% 60%);
}


.checkout {
    margin: 20px 2%;
    padding: 36px 40px;
    /* border: 1px solid red; */
    /* max-width: 1064px; */
}

.entire-screen form {
    background: #fff;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 30px;
}

.delivery-related {
    display: flex;
    flex-direction: column;
}

.checkout-wrapper .header {
    margin-bottom: 12px;
    font-weight: 700;
}

.checkout-wrapper .header.delivery__address__select {
    margin-bottom: 0;
}

.checkout-wrapper .header-top-sticky {
    position: sticky;
    top: 1.3rem;
}

/* .choose-address, */
.address_list,
.delivery-info,
.order-summary {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 8px;
}

#shipping .address_list {
    padding: 17px 5px;
}

.enable-shadow {
    box-shadow: 1px 1px 6px 1px rgb(0 0 0 / 18%);
}

.enable-shadow:hover {
    box-shadow: 1px 1px 6px 1px rgb(0 0 0 / 36%);
}

.width-50 {
    /* width: 49% !important; */
}

form.address-info {}

form.address-info>div {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.order-summary-related {
    min-width: min(430px, 93vw);
}

.order-summary {
    /* min-width: 331px; */
    position: sticky;
    top: 3.5rem;
    box-shadow: none !important;
}

form.address-info input.form-input {
    border: 1px solid var(--color-border-strong, hsl(0deg 17% 91%));
}

form.address-info input.basic_form--textInput:focus {
    border: 2px solid var(--color-border-selected, #0d99ff);
    padding: 0 5px;
}

form.address-info input.form-input:focus {
    --color-border-selected-strong: hsl(241deg 100% 82%);
    border: 2px solid var(--color-border-selected-strong, #5551ff);
}


.entire-screen {
    display: var(--display-address-form);
    /* position: absolute; */
    position: fixed;
    top: 0;
    z-index: 3;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    left: 0;
    background: rgba(0, 0, 0, .4);
    backdrop-filter: blur(6px);
}

.delivery-info-wrapper {
    max-width: 577px;
    position: relative;
    margin: auto;
    /* top: 25vh; */


    transition: 0.5s transform ease-in-out 0s;
}

.delivery-info {
    max-width: 577px;
    transform: translateX(-100vw) skew(10deg, 10deg) scale(0.5);
    margin: 0 7px;
    padding: 12px 35px 36px;
    max-width: calc(373px + 100px);
    max-height: 95vh;
    overflow: hidden;
    overflow-y: scroll;
}

.delivery-info-show {
    transform: translateX(0vw) skew(0deg, 0deg) scale(1);
}

.add-new-address {
    display: flex;
    justify-content: center;
    margin-top: -1.5rem;
    position: relative;
    color: blue;
}

.blue-btn-tsp,
.new-address {
    font-weight: 700;
    background: inherit;
    border: none;
    cursor: pointer;
}

.blue-btn-tsp {
    color: blue;
    font-weight: 400;
    font-size: 14px;
    display: block;
    margin: auto;
    margin-top: 10px;
    /* border: 1px solid */
}

button.new-address:active>.entire-screen {
    --display-address-form: hidden;
}

.deliver-here-new {
    width: 100%;
    height: 40px;
    font-weight: 700;
}

.cart-items {}

.cart-item-list {}

.cart-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    transition: 0.2s transform ease-in-out;
}

.cart-item:hover {
    transform: scale(1.025);
}

/* .address_each:not(:last-child), */
.cart-item:not(:last-child) {
    margin-bottom: 1rem;
}



.cart-item .product-img {
    min-width: 40px;
    width: calc(100%/4);
    max-width: 80px;
    padding: 0 4% 0 0;
}

.cart-item .product-img img { border-radius: 0.3rem;}

.ca-flex-r {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.sub {
    font-weight: 500;
    margin: 10px 10px 15px;
}

.sub-total {
    font-weight: 600;
}

.sb-total-700 {
    font-weight: 700;
}

a.Button--primary {
    color: var(--button-text-color, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none !important;
    font-weight: 500;
}

.confirm-order {
    width: 100%;
    height: 40px;
    position: relative;
    border: none;
    margin: 2rem 0 0;
    cursor: pointer;
}

.confirm-order .btn-icon {
    position: absolute;
    right: -2px;
    top: -2px;
    transform: rotate(-45deg);
}

.trailing-space-cart {
    height: 2vh;
}

.product-body {
    width: calc(100%/2);
}

.img-pr-1 {}


.product-title-2,
.product-price {
    font-size: var(--cart-font-size);
    text-transform: uppercase;
    font-weight: 500;
    color: #12263a;
}

.product-id {
    font-size: var(--cart-font-size);
    
}

.product-item-qty {
    width: calc(100%/4);
    display: flex;
    max-height: 40px;
    border: 1px solid hsl(210, 2%, 69%);
    overflow: hidden;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.product-item-qty button {
    background-color: initial;
    border: 0;
    height: 100%;
}

.product-item-qty a {
    width: 22px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.product-item-qty input {
    width: 20px;
    background: initial;
    border: none;
    text-align: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.minus {
    width: 10px;
    height: 2px;
    border-radius: 7px;
    background-color: hsl(210, 2%, 69%);
}

.increment svg {
    height: 10px;
    width: 10px;
}

/* select addresses */

.choose-address {
    margin: 0 0 15px;
    /* padding: 11px 20px 29px; */
    padding: 0px 20px 0px;
}

/* .delivery-related .choose-address {
    margin: 0 0 15px;
    padding: 0;
} */

.choose-address .header {
    color: var(--highlight-color-shade3);
    text-shadow: 0 0 var(--highlight-color-shade3);
    background: #FFF;
    padding: 10px 40px 3px;
    transform: translate(0px, 18px);
    position: relative;
    z-index: 1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.address_list_wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.address_list {
    position: relative;
    z-index: 0;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: var(--address-list-gap-val, 12px);
    flex-direction: row;
}

.choose-address .address_list {
    background: transparent;
}

.choose-schedule .address_list {
    background: #fff;
}

.address_each {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    /* padding-left: calc(100%/14.5); */
    /* padding-left: 1.7%; */
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: 0.2s all ease;
    /* 1st iter change */
    /* min-width: 100% !important; */
    /* max-width: min(calc(calc(100% - var(--address-list-gap-val))/2), 202.31px); */
    border-radius: var(--address-border-radius);
    background: #fff;
    box-shadow: 0.5px 0.5px 2px 1px rgb(205 203 203 / 87%) !important;
}

.checkout-wrapper .address_each {
    max-width: unset;
    width: 229px;
    box-shadow: none;
}

.address_each:hover {
    transform: scale(1.005);
}

.address_each label::after {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--highlight-color-shade3);
    border-radius: 7px;
}

input[type="radio"] {
    background-color: var(--highlight-color-shade3);
    place-content: center;
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: var(--highlight-color-shade3);
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid currentColor;
    border-radius: 50%;
    display: grid;
}

input[type="radio"]:checked {
    color: var(--highlight-color-shade3);
    fill: var(--highlight-color-shade3);
}

.checkout-wrapper input[type="radio"] {
    margin: 11px 0;
}

input[type="radio"]:checked {
    margin-top: 1rem;
}

input[type="radio"]:checked~label {
    border: 2px solid var(--highlight-color-shade3);
    padding: 15px 7% 15px 7%;
    box-shadow: none !important;
    width: 100%;
    height: 100%;
    /* transform: scale(1.025); */
    /* border-radius: 2px; */
    /* margin: 11px 0; */
    /* margin-left: -1rem; */
    /* border-style: double; */
}

input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--highlight-color-shade3);
}

input[type="radio"]:checked::before {
    transform: scale(1);
}

.selected {
    display: none;
    margin: 1px 0px 0 15px;
    position: absolute;
    right: 0%;
    background: #79633e;
    color: #fff;
    padding: 3px 8px;
    border-radius: 0.3rem;
    justify-content: center;
    top: 0px;
    opacity: 0.75;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

input[type="radio"]:checked~.selected {
    display: flex;

}

.address_each input {
    visibility: hidden;
    position: absolute;
}

.address_each label {
    width: 100%;
    /* padding: 10px 35px 12px 35px; */
    /* padding: 7.5% 7% 8% 5%; */
    padding: 15px 7% 18px 7%;
    position: relative;
    /* bottom: 5px; */
    /* margin: 6px 5px 0 6px; */
    transition: all 0.25s ease-in 0.25s;
    border: 2px solid #fff;
    border-radius: var(--address-border-radius);
}

.address_each label.enable-shadow {
    box-shadow: 2px 2px 7px -2px rgb(0 0 0 / 10%);
}

.address {}

.main-address {
    word-break: break-word;
}

.h-add {}

.h-add .district {
    font-weight: 500;
}

.h-add .state {
    font-weight: 700;
}

.h-add .state span {}

.schedule-delivery {
    display: flex;
    flex-direction: column;
    transition: all 0.15s ease-in-out 0s;
}

.content-not-visible {
    content-visibility: hidden;
}

.content-visible {
    content-visibility: visible;
}

.schedule-delivery label {
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 0.75rem;
}

.schedule-delivery label:not(:first-child) {
    margin-top: 1.5rem;
}

.header.schedule {
    margin-top: 2rem;
}

.header.schedule .switch {
    left: 10px;
}

.datepicker {
    position: relative;
    padding-left: 25px;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    /* width: calc(118px + 40px); */
    width: fit-content;
}

/* .datepicker:first-child:before {
    content: "From:";
    font-weight: 800;
    color: grey;
    margin-right: 10px;
}

.datepicker:last-child:before {
    content: "To:";
    font-weight: 800;
    color: grey;
    margin-right: 10px;
} */

#schedule-date {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* flex-wrap: wrap; */
    overflow: hidden;
}

.hiphen {
    width: 10px;
    height: 3px;
    border-radius: 999px;
    background-color: #12263a;
}

.datepicker::after {
    content: " *change";
    color: #5551ff;
    /* visibility: hidden; */
}

.datepicker:hover::after {
    visibility: visible;
}

.datepicker:focus,
.datepicker:checked,
input.datepicker.input-checkbox:checked:not(:focus) {
    border: none !important;
}

.datepicker::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0px;
    top: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date label {
    color: #5551ff;
}

.checkout-wrapper #new_shipping_address {
    width: min-content;
    margin: auto;

    display: flex;
    align-items: center;
}

.checkout-wrapper .simplt-wht-btn {
    background: transparent;
}


.sub-2 {
    font-size: 14px;
    /* font-weight: 700; */
    color: #848484;
}

textarea {
    padding: 8px 10px;
}

#address-select-next {
    display: none;
}

.entire-screen .start-el {
    padding-top: 0;
}

.entire-screen .signon-wrapper {
    top: 0;
    height: unset;
}

.entire-screen .sign-in-and-up#add_shipping_address_ {
    margin-top: 0vh;
}

.entire-screen .input-box{
    border-bottom: none;
}

.entire-screen .input-box input {
    border: 1px solid #ddd4d4;
    margin-top: 9px;
    margin-bottom: 11px;
}

@media screen and (max-width: 1200) {
    :root {
        --cart-font-size: 12px;
    }

    
}

@media screen and (max-width: 1120px) {
    /* .checkout-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    .order-summary-related {
        display: none;
    }

    #address-select-next {
        display: block;
    } */

    .checkout-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-column-gap: 30px;
    }
}


@media screen and (max-width: 1000) {
    :root {
        --cart-font-size: 12px;
    }
}

@media screen and (max-width : 984px) {
    .checkout {
        padding: 10px;
    }

    :root {
        --cart-font-size: 11px;
    }
}

@media screen and (max-width : 938px) {
    .checkout {
        padding: 0;
    }

    .checkout-grid {
        grid-gap: 1%;
    }

    .choose-address {
        padding: 0px 2px 0px;
    }

    .choose-schedule {
        padding: 11px 2px 0px;
    }

    .order-summary-related {
        min-width: min(356px, 93vw);
    }
}

@media screen and (max-width : 690px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .header.schedule {
        /* margin-top: 3rem; */
    }

    .order-summary-related {
        margin-top: 2.7rem;
    }

    .header.schedule {
        margin-top: 1rem;
    }

    .checkout-wrapper .header {
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 500px) {
    .order-summary-related {
        margin-top: 0rem;
    }

    .delivery-info {
        padding: 0px 0 0px;
    }
}

@media screen and (max-width: 376px) {
    .address_each {
        min-width: 286px;
        max-width: 100%;
    }

    .address_list {
        --address-list-gap-val: 18px;
        justify-content: center;
    }
}

@media screen and (max-width : 374px) {
    .address_list {
        background-color: #fff;
        /* padding: 40px 0px; */
        padding: 40px 4%;
        border-radius: 8px;
    }

    .datepicker {
        padding-left: 17px;
    }

    .address_each {
        /* padding-left: calc(100%/29.5); */
    }

    .address_each label {
        padding: 10px 0px 12px 20px;
    }
}

@media screen and (max-width : 362px) {
    #schedule-date {
        flex-direction: column;
        gap: 15px;
    }

    .address_each {
        min-width: 100%;
    }
}