* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.new-cart {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Century Gothic', Arial, sans-serif;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

.auth-page__title {
    font-size: 30px;
    line-height: 37px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 50px;
}

.cart-content {
    display: flex;
    gap: 40px;
    margin-top: 0;
}

.cart-items {
    flex: 1;
    max-width: 752px;
}

.section-title {
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 400;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid #E5E5E5;
    padding-top: 14px;
}

.cart-item {
    padding-bottom: 12px;
}

.cart-item:last-child {
    border-bottom: 1px solid #E5E5E5;
}

.item-main {
    display: flex;
    gap: 22px;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.item-article {
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    color: #31569D;
    text-transform: uppercase;
}

.item-article a {
    color: #31569D;
    text-decoration: none;
}

.item-delivery {
    display: flex;
    align-items: center;
    gap: 9px;
}

.item-delivery svg {
    width: 17px;
    height: 17px;
}

.item-delivery span {
    font-size: 12px;
    line-height: 15px;
    color: #31569D;
}

.item-name {
    font-size: 16px;
    line-height: 125%;
    color: #000000;
    width: 100%;
}

.item-name a {
    color: #000000;
    text-decoration: none;
}

.item-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: #EFF4F8;
    font-size: 12px;
    line-height: 15px;
    color: #31569D;
}

.item-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}

.item-footer {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 22px;
    margin-top: 5px;
}

.item-price-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.item-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    color: #31569D;
    white-space: nowrap;
}

.item-old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
}

.item-delete {
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    text-decoration-line: underline;
    color: #31569D;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    font-family: 'Century Gothic', Arial, sans-serif;
}

.item-mobile-tags {
    display: none;
}

.cart-sidebar {
    width: 364px;
    flex-shrink: 0;
}

.foreign-info {
    background: #EFF4F8;
    padding: 16px 12px 16px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    font-family: 'Century Gothic', Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    height: fit-content;
    margin-bottom: 21px;
}

.foreign-info b,
.foreign-info a {
    font-weight: 700;
}

.payment-section {
    margin-bottom: 21px;
}

.payment-title {
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin-bottom: 30px;
    font-weight: 400;
}

.payment-methods {
    display: flex;
    gap: 6px;
}

.payment-method {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.method-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 69px;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #000000;
    padding: 17px;
}

.payment-method input[type="radio"]:checked + .method-content {
    border: 1px solid #31569D;
    position: relative;
}

.method-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #31569D;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 17px;
    padding: 2px 10px;
    white-space: nowrap;
    z-index: 2;
}

.payment-info {
    margin-top: 10px;
    background: #EFF4F8;
    padding: 20px 15px;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    color: #31569D;
}

.total-section {
    background: #EFF4F8;
    padding: 23px 15px;
}

.total-header h3 {
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    font-weight: 400;
    margin-top: 23px;
    margin-bottom: 0px;
}

.checkout-btn {
    width: 100%;
    height: 57px;
    background: #31569D;
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(49, 86, 157, 0.3);
}

.total-details {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 23px;
}

.total-labels span,
.total-values span {
    display: block;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    margin-bottom: 6px;
}

.total-values {
    text-align: right;
}

.total-values span:first-child {
    font-size: 15px;
    line-height: 18px;
}

.grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grand-total span:first-child {
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    color: #31569D;
}

.grand-total span:last-child {
    font-size: 24px;
    line-height: 29px;
    font-weight: 700;
    color: #31569D;
}

.promo-section {
    border: 1px solid #E5E5E5;
    padding: 16px;
}

.promo-title {
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 400;
}

.promo-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo-input {
    width: 100%;
    height: 38px;
    background: #EFF4F8;
    border: none;
    padding: 0 15px;
    font-size: 14px;
    font-family: 'Century Gothic', Arial, sans-serif;
}

.promo-apply {
    width: 100%;
    height: 38px;
    background: #31569D;
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    cursor: pointer;
}

.promo-code {
    background: #EFF4F8;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 14px;
    margin-bottom: 10px;
}

.promo-cancel {
    width: 100%;
    height: 38px;
    background: none;
    border: 1px solid red;
    color: red;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
}

.promo-success {
    color: green;
    font-weight: bold;
    margin: 10px 0;
}

.payment-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.item-mobile-footer {
    display: none;
}

.iti {
    width: 100%;
    margin-bottom: 10px;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.order-page {
    margin-top: 30px;
}

.order-left {
    flex: 1;
    max-width: 753px;
}

.medical-center-selector {
    margin-bottom: 30px;
}

.order-section-title {
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 400;
}

.medical-center-field {
    display: flex;
    align-items: center;
    background: #EFF4F8;
    height: 63px;
    padding: 0 16px;
}

.field-value {
    flex: 1;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
}

.field-edit {
    width: 22px;
    height: 22px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="22" viewBox="0 0 10 22"><path d="M1 7L5 11L9 7" stroke="%2331569D" stroke-width="2" fill="none"/></svg>') no-repeat center;
    border: none;
    cursor: pointer;
    transform: rotate(-90deg);
}

.order-data {
    margin-top: 30px;
}

.order-data-header {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 20px;
}

.order-data-title {
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.auth-link {
    font-size: 14px;
    line-height: 18px;
    color: #31569D;
    text-decoration: none;
    padding: 5px 20px;
    border: 1px solid #31569D;
    filter: drop-shadow(2px 2px 5px rgba(49, 86, 157, 0.3));
}

.order-data-form {
    background: #EFF4F8;
    padding: 20px 16px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.form-field {
    background: #FFFFFF;
    height: 46px;
}

.form-field-textarea {
    height: 105px;
}

.form-input {
    width: 100%;
    height: 46px;
    border: none;
    padding: 0 15px;
    font-size: 14px;
    font-family: 'Century Gothic', Arial, sans-serif;
    color: #000000;
}

.form-input::placeholder {
    color: #9EA5AA;
}

.form-textarea {
    width: 100%;
    height: 105px;
    border: none;
    padding: 15px;
    font-size: 14px;
    font-family: 'Century Gothic', Arial, sans-serif;
    color: #000000;
    resize: none;
}

.form-textarea::placeholder {
    color: #9EA5AA;
}

.order-total {
    margin-bottom: 20px;
}

.pay-btn {
    margin-bottom: 23px;
}

.order-grand-total span:first-child {
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    color: #31569D;
}

.order-grand-total span:last-child {
    font-size: 24px;
    line-height: 29px;
    font-weight: 700;
    color: #31569D;
}

.agreement-section {
    background: #EFF4F8;
    padding: 16px;
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
    cursor: pointer;
}

.checkbox-input {
    position: absolute;
    /* opacity: 0; */
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    border: 1px solid rgba(20, 105, 180, 0.4);
    display: none;
}

.checkbox-input:checked + .checkbox-custom {
    background: #31569D;
    position: relative;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 14px;
    line-height: 17px;
    color: #000000;
}

.checkbox-text a {
    color: #31569D;
    text-decoration: underline;
}

.order-note {
    margin-top: 20px;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
}
.jq-selectbox__trigger {
    display: none;
}

.passport-block {
    margin-top: 30px;
}
.passport-select {
    margin-bottom: 20px;
}
.passport-fields {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 15px;
}
.passport-fields .form-field {
    background: #FFFFFF;
    height: 46px;
}
.passport-fields .form-input {
    width: 100%;
    height: 46px;
    border: none;
    padding: 0 15px;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .cart-content {
        gap: 30px;
    }
    .cart-items {
        max-width: 588px;
    }
    .cart-sidebar {
        width: 314px;
    }
    .item-main {
        gap: 20px;
    }
    .item-name {
        max-width: 321px;
    }
    .item-footer {
        gap: 15px;
    }
    .order-left {
        max-width: 588px;
    }
    .form-row {
        flex-direction: column;
    }
    .medical-center-field {
        height: 63px;
    }
    .field-value {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .cart-content {
        flex-direction: column;
    }
    .cart-items,
    .cart-sidebar,
    .order-left {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .order-grand-total span:first-child,
    .grand-total span:first-child {
        font-size: 16px;
    }

    .order-grand-total span:last-child,
    .grand-total span:last-child {
        font-size: 20px;
    }

    .payment-info-container {
        flex-direction: column-reverse;
    }
    .item-main {
        flex-direction: column;
        gap: 10px;
    }
    .item-header {
        gap: 15px;
    }
    .item-tags {
        display: none;
    }
    .item-mobile-tags {
        display: flex;
        gap: 10px;
        margin-top: 5px;
    }
    .item-footer {
        display: none;
    }
    .item-mobile-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-top: 10px;
    }
    .item-price-block {
        width: 100%;
        justify-content: space-between;
    }
    .payment-methods {
        gap: 10px;
    }
    .payment-method {
        width: 100%;
    }
    .method-content {
        padding: 18px 11px;
    }
    .grand-total {
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .order-data-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .form-row {
        flex-direction: column;
    }
}

.medical-center-selector {
    margin-bottom: 30px;
}

.lab-сities {
    margin-bottom: 30px;
}

.lab-list {
    margin-top: 30px;
}

.order-section-title {
    font-size: 16px;
    line-height: 20px;
    color: #000;
    margin-bottom: 15px;
    font-weight: 400;
}

.medical-center-field {
    background: #EFF4F8;
    height: 63px;
    position: relative;
    width: 100%;
}

.medical-center-field .select_input {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 767px) {
    .medical-center-field {
        height: 100%;
    }

    .medical-center-field .select_input {
        margin-bottom: 0px !important;
    }
}

.medical-center-field select {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-family: 'Century Gothic', Arial, sans-serif;
    font-size: 14px;
    line-height: 17px;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.medical-center-field select::-ms-expand {
    display: none;
}

.medical-center-field::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    width: 10px;
    height: 22px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="22" viewBox="0 0 10 22"><path d="M1 7L5 11L9 7" stroke="%2331569D" stroke-width="2" fill="none"/></svg>') no-repeat center;
    pointer-events: none;
}

.breadcrumb-custom {
    width: fit-content;
    max-height: fit-content;
    font-family: "Century Gothic", Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #000000;
    margin: 0;
    margin-top: 50px;
    margin-bottom: 15px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-custom a {
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.medical-center-field .jq-selectbox__select,
.medical-center-field {
    padding: 0 !important;
}
@media (max-width: 767px) {
    .medical-center-field .jq-selectbox__select {
        padding: 16px 0 !important;
    }
}

.medical-center-field {
    background: #EFF4F8;
}

.medical-center-field .jq-selectbox__select {
    background: none !important;
    border: none !important;
}

.medical-center-field .jq-selectbox__select-text {
    padding: 0 16px;
    max-width: 94%;
    white-space: wrap !important;
}