/* 
====================================
?@___ start header___@
====================================
 */
.cp_header {
    border-bottom: 1px solid #ECECEC;
}

.cp_header_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
}

.cp_header_cart,
.cp_header_logo a {
    display: flex;
    align-items: center;
}

.shipping_method_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
}

/* 
====================================
?@___ end header___@
====================================
 */


/* 
====================================
?@___ start checkout content___@
====================================
 */
.email_subcription_wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.email_subcription_wrapper label {
    color: rgb(32, 32, 32);
    font-size: 14px;
    font-weight: 400;
    margin-top: 1px;
}

.contact_flag_and_input_wrapper {
    width: 100%;
    display: flex;
    gap: 10px;
}

.contact_flag_and_input_wrapper .cp_input_control_wrapper {
    width: 100%;
}

.flag_images {
    height: 48px;
    border: 1px solid #DEDEDE;
    padding: 0px 10px;
    border-radius: 5px;
    width: 55px;
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;

}

.view {
    display: flex;
    justify-content: center;
    align-items: center;
}

.view img {
    width: 100%
}

.flag_wrapper {
    display: none;
    flex-direction: column;
    top: 48px;
    border: 1px solid #DEDEDE;
    width: 55px;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    gap: 8px;
    position: absolute;
    z-index: 23;

}

.flag_wrapper li {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flag_wrapper li img {
    width: 100%
}

.cp_row {
    display: flex;
    flex-direction: column-reverse;
}

/* ?@___ form___@ */
.cp_form_wrapper {
    /* width: 100%; */
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.cp_contact_heading,
.cp_delivery_title,
.cp_shipping_method_heading,
.cp_payment_heading,
.cp_billing_address {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.cp_payment_heading {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}


.cp_contact_title p,
.cp_delivery_title p,
.cp_shipping_method_heading p,
.cp_payment_heading p:first-child,
.cp_billing_address p,
.bottom_order_summery_title {
    color: #000;
    font-size: 18px;
    font-weight: 600;
}

.bottom_order_summery_title {
    font-size: 16px;
    font-weight: 600;
}

.cp_payment_heading .cp_payment_sub_title {
    color: #707070;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.cp_contact_login_btn a {
    color: #1773B0;
    font-size: 13px;
    font-weight: 400;
    text-decoration-line: underline;
}

.cp_contact_form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cp_input_control {
    height: 48px;
    border-radius: 5px;
    padding: 0px 12px;
    border: 1px solid #DEDEDE;
    outline: none;
    width: 100%;
    color: #707070;
    font-size: 13px;
    font-weight: 400;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.cp_input_control_wrapper {
    position: relative;
}

.cp_input_control_wrapper button {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    display: flex;
}

.cp_input_control.error {
    border: 1px solid #dd1d1d;
}

.cp_error_text {
    color: #dd1d1d;
    font-size: 13px;
}

.cp_input_control::placeholder {
    color: #707070;
    font-size: 13px;
}

.cp_contact_item p {
    color: #000;
    font-size: 13px;
    font-weight: 400;
}

/* start checkbox */
.cp_checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp_checkbox p {
    color: #000;
    font-size: 13px;
    font-weight: 400;
}

.cp_checkbox .cp_input_control {
    width: 16px;
    height: 16px;
}

/* end checkbox */


/* start radio */
.cp_radio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp_radio p {
    color: #000000eb;
    font-size: 13px;
    font-weight: 400;
    line-height: 13px;
}

.shipping_location p {
    color: #000000eb !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 13px;
}

/* end radio */

/* delivery form */
.cp_delivery_form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cp_delivery_form_item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.cp_select_wrapper {
    height: 48px;
    border-radius: 5px;
    position: relative;
    border: 1px solid #DEDEDE;
    outline: none;
    width: 100%;
    color: #707070;
    font-size: 13px;
    font-weight: 400;
    display: block;
}

.cp_select_wrapper select {
    position: absolute;
    height: 100%;
    border-radius: 5px;
    border: none;
    width: 100%;
    outline: none;
    padding: 0 12px;
    color: #707070;
}

/* shipping method */

.cp_shipping_method {
    border: 1px solid #DEDEDE;
    border-radius: 5px;

}

.cp_shipping_method_tab_buttons {
    /* background: #FFF; */
    border-radius: 5px;

}

.cp_shipping_method_tab_button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* height: 54px; */
    padding: 16px 16px;
    border: 1px solid transparent;
}

.cp_shipping_method_tab_button.active {
    background-color: #F0F5FF;
    border: 1px solid #1773B0 !important;
}

.cp_shipping_method_tab_button.active:first-child {
    border-radius: 5px 5px 0px 0px;
}

.cp_shipping_method_tab_button.active:last-child {
    border-radius: 0px 0px 5px 5px;
}

.cp_shipping_type p {
    color: #000;
    font-size: 13px;
    font-weight: 600;
}

.cp_shipping_method_tab_content,
.cp_payment_tab_content {
    background: #F4F4F4;
    padding: 16px;
}

.cp_shipping_input_item,
.cp_payment_inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* payment */
.cp_payment_payment_inputs {
    width: 100%;
    display: flex;
    gap: 14px;
}

.cp_payment_payment_input {
    position: relative;
    width: 100%;
}

.cp_input_control_with_icon {
    position: relative;
    width: 100%;
}

.cp_payment_payment_input button {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    display: flex;
}

.cp_input_control_with_icon button {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    display: flex;
}


/* 
?@___ billing address___@ 
*/

.cp_payment_inner.cp_billing_address_wrapper {
    margin-top: 24px;
}

.cp_billing_address_content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cp_input_row {
    display: flex;
    gap: 14px;
    flex-direction: column;
    width: 100%;
}

.cp_input_col {
    width: 100%;

}


.pay_now_button {
    display: flex;
    align-items: center;
}

.pay_now_button button {
    width: 100%;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1773B0;
    color: #ffffff;
    border: 1px solid #1773B0;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
}

/* 
====================================
?@___Subtotal___@
====================================
 */
.cp_sub_total_container_wrapper {
    background-color: #F5F5F5;
}

.cp_sub_total_container,
.cp_form_wrapper {
    /* width: 320px; */
    margin: 0 auto;

}

/* tab */
.cp_order_summery_tab {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #DEDEDE;
}

.cp_order_summmery_btn button {
    color: #1773B0;
    font-size: 13px;
    font-weight: 400;
    border: none;
    outline: none;
    background-color: transparent;
    display: flex;
    align-items: center;
}

.cp_order_summmery_btn button span {
    display: flex;
    align-items: center;
}

.cp_order_summery_price p {
    color: #000000;
    font-weight: 500;
    font-size: 16px;
}

.cp_summery {
    padding: 20px 16px;
}

.cp_summery_items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cp_summery_item {
    display: flex;
    gap: 15px;
}

.cp_summery_item_img {
    width: 64px;
    height: 64px;
    border-radius: 5px;
    border: 1px solid #ECECEC;
    position: relative;
}

/* count */
.cp_item_count {
    position: absolute;
    background: rgba(0, 0, 0, .7);
    top: -12px;
    right: -11px;
    border-radius: 12px;
    padding: 0px 7px;
}

.cp_item_count p {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;

}

.cp_summery_item_img img {
    border-radius: 5px;
    display: inline-flex;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.cp_summery_item_price_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 64px);
}

.cp_summery_item_title p,
.cp_summery_item_price p {
    color: #000000;
    font-size: 13px;
    font-weight: 400;
}

/* subtotal price */
.cp_subtotal_box {
    margin-top: 30px;
}

.cp_sum_total_row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cp_sum_total_col {
    display: flex;
    justify-content: space-between;
}

.cp_sum_total_label,
.cp_sum_total_price_or_text {
    font-size: 13px;
    font-weight: 400;
    color: #000000;
}

.cp_sum_total_price_or_text {
    font-weight: 500;
}

.cp_total_price .cp_sum_total_label,
.cp_total_price .cp_sum_total_price_or_text {
    font-weight: 500;
    font-size: 16px;
}

/* 
====================================
?@___ end checkout content___@
====================================
 */
.bottom_order_summery .cp_order_summery_tab .cp_order_summmery_btn {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.shipping_location {
    display: flex;
    /* padding-left: 21px; */
    gap: 5px;
}

.cp_delivery_shipping_btn.active {
    border-radius: 5px 5px 0px 0px;
}

.cp_delivery_pickup_btn.active {
    border-radius: 0px 0px 5px 5px;
}



/* skeleton */
.skeleton_wrapper {
    width: 100%
}

.text_skeleton_box {
    width: 100%;
    padding: 0;
}

.skeleton_box {
    max-width: 300px;
    width: 100%;
    padding: 0 15px;
}

.skeleton,
.text_skeleton {
    padding: 15px;
    max-width: 300px;
    width: 100%;
    background: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text_skeleton {
    padding: 0;
    max-width: 100%;
    min-width: 100px;
    width: 100%;
}

.skeleton .line,
.text_skeleton .line {
    height: 12px;
    margin-bottom: 6px;
    border-radius: 2px;
    background: rgba(130, 130, 130, 0.2);
    background: -webkit-gradient(linear, left top, right top, color-stop(8%, rgba(130, 130, 130, 0.2)), color-stop(18%, rgba(130, 130, 130, 0.3)), color-stop(33%, rgba(130, 130, 130, 0.2)));
    background: linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%);
    background-size: 800px 100px;
    animation: wave-lines 2s infinite ease-out;
}

.text_skeleton .line {
    height: 17px;
    margin-bottom: 0px;
}

.skeleton-left {
    flex: 2;
    padding-right: 15px;
}

.text_skeleton .skeleton-left {
    padding-right: 0px;
}

.skeleton .line:last-child {
    margin-bottom: 0;
}

.first_line {
    height: 17px !important;
}

.text_first_line {
    height: 4px;
}

.first_line_w40 {
    width: 40% !important;
}

.third_line {
    width: 75% !important
}

.first_line_m10 {
    margin-bottom: 10px !important;
}

@keyframes wave-lines {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

@keyframes wave-squares {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

/*@___ end skeleton___@ */
.cp_pickup_charge_rate,
.cp_pickup_message {
    text-align: right;
}

.cp_pickup_loction_options {
    height: unset !important;
    padding: 16px 16px !important;
}

.cp_pickup_loction_options .shipping_location {
    padding-left: 0;
}

.store_information {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cp_pickup_loction_options .cp_radio {
    gap: 14px;
}

.cp_pickup_loction_options .cp_shipping_method_radio_button {
    width: 65%;
}

.cp_pickup_loction_options .cp_shipping_type {
    width: 35%;
}

.shipping_location p {
    line-height: 20px;
}

.cp_shipping_method_tab_button:not(:last-child) {
    border-bottom: 1px solid #DEDEDE;
}

.payment_note_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cp_shipping_method_tab_button.payment_note_wrapper {
    height: unset !important;
    padding: 16px 16px !important;
    background: #F4F4F4 !important;
}

/* @___ shipping method___@ */
.cp_shipping_method_description_wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shipping_method_rate_description {
    font-size: 13px;
    color: #000000eb !important;
}

/* .payment_note {
    text-align: center;
} */
.icon {
    width: 30px;
    display: flex;
    align-items: center;
}

.icon img {
    width: 100%;
    object-fit: cover;
}

/* .local_shipping_visible_cod_note{
    display: none;
}
.local_shipping_visible_cod_note.active{
    display: block;
} */

.loader_wrapper {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #000000ab;
    justify-content: center;
    align-items: center;
    z-index: 23;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    --c: no-repeat radial-gradient(farthest-side, #25b09b 92%, #0000);
    background:
        var(--c) 50% 0,
        var(--c) 50% 100%,
        var(--c) 100% 50%,
        var(--c) 0 50%;
    background-size: 12px 12px;
    animation: l12 1s infinite;
}

.loader::before {
    margin: 4px;
    filter: hue-rotate(45deg);
    background-size: 8px 8px;
    animation-timing-function: linear
}

@keyframes l12 {
    100% {
        transform: rotate(.5turn)
    }
}

/* @___ show cart error___@ */
.show_cart_error_main_wrapper {
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(6px);
    background-color: #0009;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart_error_inner_content_wrapper {
    padding: 10px;
}

.cart_error_inner_content {
    padding: 21px;
    background-color: #FFFFFF;
    border-radius: 10px;
    max-width: 320px;
    width: 100%;
}

.error_title_wrapper {
    padding-bottom: 21px;
}

.error_title {
    font-size: 21px;
    font-weight: 600 !important;
    color: #000000;
    line-height: 1.2;
}

.error_message {
    font-size: 14px;
    color: #000000;
}

.error_product_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.error_product_info {
    display: flex;
    gap: 14px;
}

.button_wrapper {
    display: flex;
    align-items: center;
    justify-content: end;
}

.error_product_list_wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
}

.cart_error_body {
    display: flex;
    flex-direction: column;
    row-gap: 2.1rem;
}

.error_icon {
    display: block;
    height: 14px;
    width: 14px;
}

.sold_out_text {
    display: block;
    font-size: 12px;
    color: #DD1D1D;
    font-weight: 600;
}

.product_error_info {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.store_button {
    padding: 14px;
    border: none;
    outline: none;
    border-radius: 5px;
    color: #FFFFFF;
    background-color: #6BAD0D;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s linear;
}

.store_button:hover {
    background-color: #589500;
}

.product_img_wrapper {
    height: 64px;
    width: 64px;
    border: 1px solid #dedede;
    background-color: #dedede33;
    border-radius: 5px;
}

.product_img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.product_name_variant {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item_name {
    display: inline-block;
    font-size: 14px;
    color: #000000;
}

.item_variant {
    font-size: 12px;
    color: #707070;
}


@media(max-width:991px) {
    .container {
        width: auto !important;
    }
}

/* @___ Billing address ___@ */
.cp_billing_heading h2 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.cp_billing_heading {
    margin-bottom: 14px;
}

.billing_options {
    border: 1px solid rgba(130, 130, 130, 0.2);
    border-bottom: unset;
}

.billing_options label .store_information h4 {
    color: #000;
    font-weight: 600;
    font-size: 15px;
}

.billing_address_form {
    background-color: #F4F4F4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.open_billing_form.billing_address_form{
    max-height: 1000px;
}

.billing_address_form .cp_delivery_form {
    padding: 16px;
}


@media(min-width:494px) {
    .cart_error_inner_content {
        max-width: 100%;
        width: 400px;
    }
}

@media(min-width:664px) {

    .cp_sub_total_container,
    .cp_form_wrapper {
        width: 664px;

    }

    .cart_error_inner_content {
        width: 450px;
    }
}

@media(min-width:724px) {

    .cp_sub_total_container,
    .cp_form_wrapper {
        width: 742px;

    }

    .cart_error_inner_content {
        width: 500px;
    }
}

@media(min-width:972px) {
    .store_button {
        cursor: pointer;
    }

    .cart_error_inner_content {
        width: 600px;
    }

    .cp_header_content {
        height: 76px;
        padding: 0 38px;
    }

    .bottom_order_summery {
        display: none;
    }

    /* ?@___ form___@ */
    .cp_row {
        display: flex;
        flex-direction: row;
    }

    .cp_main_content_section {
        background-image: linear-gradient(90deg, #ffffff 55%, #F5F5F5 10%);
    }

    .cp_left_column {
        width: calc(100% - 450px);
        border-right: 1px solid #F5F5F5;
        padding: 38px;
    }

    .cp_form_wrapper {
        padding: 0px 0px;
        gap: 32px;
    }

    .cp_sub_total_container,
    .cp_form_wrapper {
        width: 100%;

    }

    .cp_contact_title p,
    .cp_delivery_title p,
    .cp_shipping_method_heading p,
    .cp_payment_heading p:first-child,
    .cp_billing_address p {
        font-size: 21px;
    }



    .cp_payment_heading .cp_payment_sub_title {
        font-size: 14px !important;
    }

    /* delivery form */
    .cp_delivery_form_item {
        display: flex;
        flex-direction: row;
        gap: 14px;
    }

    .cp_select_wrapper p {
        font-size: 14px;
    }

    /* shipping method */
    .cp_shipping_type p {
        font-size: 14px;
    }

    /* start checkbox */

    .cp_checkbox p {
        font-size: 14px;
    }

    /* end checkbox */
    /* start radio */
    .cp_radio p {
        font-size: 14px;
        line-height: 14px;
    }

    .shipping_location p {
        font-size: 14px;
        line-height: 14px;
    }

    /* end radio */
    .pay_now_button button,
    .cp_shipping_method_tab_button,
    .cp_radio,
    .cp_checkbox label {
        cursor: pointer;
    }


    /* ?@___subtotal___@ */
    .cp_sub_total_container_wrapper {
        background-color: transparent;
    }

    .cp_summery {
        padding: 0 0;
    }

    .cp_sub_total_container_wrapper {
        background-color: #F5F5F5;
        width: 450px;
        padding: 38px;
    }

    .cp_order_summery_tab {
        display: none;
    }

    .cp_summery_item_title p,
    .cp_summery_item_price p,
    .cp_contact_item p,
    .cp_input_control,
    .cp_input_control::placeholder,
    .cp_contact_login_btn a,
    .cp_sum_total_label,
    .cp_sum_total_price_or_text {
        font-size: 14px;
    }


    .cp_total_price .cp_sum_total_label,
    .cp_total_price .cp_sum_total_price_or_text {
        font-size: 18px;
    }

    /* ?@___ end checkout content___@ */
    .cp_input_row {
        flex-direction: row;
    }
}

@media(min-width:1220px) {

    /* ?@___ form___@ */
    .cp_main_content_section {
        background-image: linear-gradient(90deg, #ffffff 59%, #F5F5F5 10%);
    }

    .cp_left_column {
        width: calc(100% - 502px);
    }

    /* ?@___subtotal___@ */
    .cp_sub_total_container_wrapper {
        width: 502px;
    }

    /* ?@___ end checkout content___@ */
}