.checkout-client-type {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 15px;
}

.checkout-client-type a {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #222;
    border: 2px solid #f1f1f1;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 400;
    background: white;
}

.checkout-client-type a.active {
    background: var(--main-blue);
    color: white;
}

.cfc-flex-3 {
    display: flex;
    align-items: center;
    justify-content: space-between;

}



.cfc-flex-3 .checkout-form-item {
    flex: 0 0 32%;
}

.checkout-form-item input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: #f1f1f1;
    border: none;
    font-size: 18px;
    color: #222;
}

.checkout-form-item{
    position: relative;
}

.checkout-form-item label span {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.cfc-flex-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.cfc-flex-2 .checkout-form-item {
    flex: 0 0 49%;
}

.checkout-form-item {
    margin-bottom: 15px;
}

.checkout-form-client {
    padding: 20px 40px;
    border: 2px solid #f1f1f1;
    border-radius: 12px;
    margin: 40px 0;
    background: white;
}

.checkout-form-shipping {
    padding: 20px 40px;
    border: 2px solid #f1f1f1;
    border-radius: 12px;
    margin: 40px 0;
    background: white;
}

.checkout-left {
    width: 60%;
}

.cfc-title {
    font-size: 22px;
    font-weight: 500;
    padding: 10px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 32px;
    cursor: pointer;
}

/* Hide default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

/* Track */
.slider3 {
    position: absolute;
    inset: 0;
    background-color: #e5e6ea;
    border-radius: 32px;
    transition: background-color 0.2s ease;
}

/* Knob */
.slider3::before {
    content: "";
    position: absolute;
    height: 26px;
    width: 26px;
    left: 3px;
    top: 3px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    transition: transform 0.2s ease;
}

/* Checked state */
.switch input:checked+.slider3 {
    background-color: var(--main-blue);
}

.switch input:checked+.slider3::before {
    transform: translateX(20px);
}

.cfc-switch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 18px;
    column-gap: 15px;
}

.shipping-methods {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 15px;
}

.shipping-methods a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 3px solid #f1f1f1;
    font-size: 16px;
    color: #222;
    column-gap: 15px;
    padding: 10px 15px;
    border-radius: 12px;
   
    transition: all .3s ease-in-out;
    
}

.shipping-methods a.disabled{
       background: #f1f1f1;
    /* opacity: .3; */
    border: 2px solid #f1f1f1;
    cursor: default;
}

.shipping-methods a.disabled img{
    opacity: .2;
}

.shipping-methods a.disabled span{
    opacity: .2;
    color: #777;
}

.shipping-methods a img {
    height: 69px;
}

.shipping-methods a img.np {
    width: 30px;
    margin-left: 0;
    border-radius: 5px;
}
.shipping-methods a img.up {
    width: 20px;
}

.shipping-methods a img.roz {
    width: 30px;
}

.shipping-methods a span {
    margin: 0;
    font-size: 18px;
}

.shipping-methods a.active {
    /*background-color: var(--main-blue);*/
        border: 3px solid var(--main-blue);
    color: var(--main-blue);
}

.shipping-methods a.active img.np {
   /* filter: brightness(50) invert(0) grayscale(1); */
}


.shipping-methods a:hover{
    background: #f1f1f1;
    border: 3px solid #2f2f2f;
}

.shipping-methods a.active:hover{
      border: 3px solid var(--main-blue);
    color: var(--main-blue);
     /*border: 2px solid var(--main-blue);
     background: #f1f1f1;
    background: var(--main-blue-hover);*/
}


.payment-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.payment-options input[type="radio"] {
    display: none;
    /* hide native radios */
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 10px;
    cursor: pointer;
    background-color: #fff;
    font-size: 16px;
    transition: all 0.2s ease;

    text-align: center;
}

/* Hover effect */
.payment-option:hover {
    border-color: #888;
}

/* Checked state */
.payment-options input[type="radio"]:checked+.payment-option {
    border-color: #34c759;
    background-color: #e9f9f0;
    font-weight: bold;
}

.checkout-right {
    width: 35%;
    margin-top: 45px;
}

.checkout-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.checkout-payments {
    padding: 20px 40px;
    border: 2px solid #f1f1f1;
    border-radius: 12px;
    margin: 40px 0;
    background: white;
}

.checkout-cart {
    padding: 20px 40px;
    border-left: 2px solid #f1f1f1;
    border-top: 2px solid #f1f1f1;
    border-right: 2px solid #f1f1f1;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin: 40px 0 0;
    background: white;
}

.checkout-cart-items .cart-item {
    align-items: center;
    column-gap: 15px;
    padding: 25px 0;
    border-bottom: 2px solid #f1f1f1;
    border-right: none;
    border-top: none;
    border-left: none;
    border-radius: 0px;
    margin-bottom: 0;
}

.checkout-cart-items .cart-item:last-child {

    border: none;
}

.checkout-cart-items .cart-item .cart-item__image {
    width: 80px;
    flex: 0 0 80px;
}

.checkout-cart-items .cart-item .cart-item__image img {
    width: 80px;
    border-radius: 7px;
}

.checkout-cart-items .cart-item__right {
    flex: 0 0 calc(100% - 100px);
    width: calc(100% - 220px);
}

.checkout-cart-items .cart-item__title a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    line-height: 20px;
}

.checkout-cart-items .cart-item__code.pif-code {
    width: auto;
    display: inline-block;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    font-size: 14px;
    font-weight: bold;
}

.checkout-cart-items .product-one__priceBuy {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 0;
    margin: 10px 0 0;
}

.checkout-cart-items .product-one__price.f-1 {
    flex: 0 0 100px;
    align-items: center;
}

.checkout-cart-items .product-one__quantity {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 0;
}


.checkout-cart-items .poq-likes {
    display: none;
}

.checkout-cart-items .cart-item .product-one__priceValue {
    font-size: 23px;
    margin-top: 0px;
}

.checkout-totals .cart-right {
    width: 100%;
}

.checkout-totals .promo-block {
    border-radius: 0px;
}


@media(max-width: 768px){
    .checkout-left {
    width: 100%;
}

.checkout-flex {
    display: flex
;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
}

.checkout-right {
    width: 35%;
    margin-top: 45px;
}

.checkout-client-type {
    display: flex
;
    align-items: center;
    justify-content: flex-start;
    column-gap: 15px;
    flex-direction: column;
}
.checkout-client-type a {
    padding: 15px 25px;
    display: flex;
    background: white;   
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #222;
    border: 2px solid #f1f1f1;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 400;
    width: calc(100% - 50px);
    margin-top: 14px;
    background: white;
}

main.checkout{
    padding-top: 20px;
}

main.checkout .breadcrumbs-mobile{
    display: none;
}



.checkout-form-client {
    padding: 20px 20px;
    border: 2px solid #f1f1f1;
    border-radius: 12px;
    margin: 40px 0;
    background: white;
}

.cfc-title{
    flex-direction: column;
}

.cfc-title .cfc-name{
    margin-bottom: 10px;
}
    .cfc-flex-3 .checkout-form-item {
        flex: 0 0 100%;
        width: 100%;
    }

        .cfc-flex-2 .checkout-form-item {
        flex: 0 0 100%;
        width: 100%;
    }



.cfc-flex-3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.cfc-flex-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.checkout-form-shipping {
    padding: 20p;
    border: 2px solid #f1f1f1;
    border-radius: 12px;
    margin: 40px 0;
    background: white;
}

.shipping-methods {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 15px;
    width: 100%;
    flex-direction: column;
}


.cfc-switch{font-size: 16px;}


.shipping-methods a{
    width: 90%;
    padding:6px 12px;
    margin-bottom: 10px;
}

.shipping-methods a.active {
    background-color: var(--main-blue);
    color: white;
    border: 2px solid var(--main-blue);
}
.shipping-methods a img.up {
    width: 20px;
    margin-left: 4px;
}
.payment-option{width:100%;}

.checkout-payments {
    padding: 20px;
    border: 2px solid #f1f1f1;
    border-radius: 12px;
    margin: 40px 0 0px;
    background: white;
}


.checkout-right {
        width: 100%;
        margin-top: 0;
    }


}


#city_suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background: #fff;
    z-index: 10001;
    max-height: 200px;
    overflow-y: auto;
}

.city-option {
    padding: 5px 10px;
    cursor: pointer;
}

.city-option:hover {
    background: #f0f0f0;
}

#city_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 9999;
}


#department_suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background: #fff;
    z-index: 10001;
    max-height: 200px;
    overflow-y: auto;
}

.department-option {
    padding: 6px 10px;
    cursor: pointer;
}

.department-option:hover {
    background: #f0f0f0;
}

#department_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 9999;
}


.select2-container--default .select2-selection--single {
    background-color: #f1f1f1;
    border: none;
    border-radius: 12px;
    height: 48px;
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 48px;
    padding-left: 15px;
    font-size: 16px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    height: 26px;
    margin-right: 40px;
    padding-right: 0px;
    margin-top: 14px;
}

.client-type-fields{
    display: none;
}

.client-type-fields.open{
    display: block;
}

#password_field{
    display: none;
}

#password_field.open{
    display: block;
}

.checkout-form-item .text-danger {
    color: #E91E63;
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

.client-type-fields .cfc-flex-3,
.client-type-fields .cfc-flex-2{
    align-items: flex-start;
}




.checkout-form-item label span{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
}

.checkout-form-item label span.required{
    color: red;
}

.checkout-form-item input{
    margin-top: 12px;
}


.checkout-form-item label span.shipping-method-title{
    margin-bottom: 15px;
}