.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #1c75bc;
    color: #fff;
}

.cart-icon-container {
    display: flex;
    gap: 5px;
    cursor: pointer;
    position: relative;
    margin: 13px;
}

.cart-count {
    align-items: center;
    background: #1432a8;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 10px;
    height: 20px;
    justify-content: center;
    position: absolute;
    right: -20px;
    top: -10px;
    width: 20px;
    font-family: "regular", "arm-bold"
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow effect */
    transform: translateX(100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition for shadow effect */
    padding: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.cart-sidebar.open {
    transform: translateX(0);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow effect when open */
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.cart-header h2 {
    color: #004CA5;
    font-weight: bold;
    font-size: 26px;
    font-family: 'Montserrat', sans-serif;
    line-height: 30px;
}

.cart-items {
    flex-grow: 1;
    margin-top: 20px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item-actions span {
    color: #004CA5;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    line-height: 30px;
}

.cart-item-details h4 {
    text-align: left;
    font-family: 'Nato Sans Armeni', Sans-Serif;
    font-size: 16px;
}

.remove-btn {
    background: rgb(0, 90, 168);
    border: none;
    color: white;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

/*.remove-btn:hover {*/
/*    background: #ff0000;*/
/*}*/

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.checkout-btn {
    background-color: #1c75bc;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px;
    margin-top: 10px;
}

.checkout-btn:hover {
    background-color: #145a8c;
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 20px;
    position: sticky;
    bottom: 0;
    background: white;
    padding-bottom: 10px;
}

.cart-footer-text {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-footer-text h3 {
    color: #004CA5;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    line-height: 30px;
}

#totalPrice {
    color: #004CA5;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    line-height: 30px
}

.empty-cart-message {
    /*display: none;*/
    text-align: center;
    color: #888;
    font-size: 18px;
    margin-top: 20px;
}

.checkout-form-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow effect */
    transform: translateX(100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition for shadow effect */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.checkout-form-container.last {
    justify-content: flex-start;
}
.checkout-form-container.open {
    transform: translateX(0);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow effect when open */
}

.checkout-form {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.checkout-form label {
    margin: 10px 0 5px;
    font-weight: bold;
}

.checkout-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 16px;
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.submit-btn, .back-btn {
    background-color: rgb(0, 90, 168);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px;
    width: 100%;
}

.submit-btn:hover, .back-btn:hover {
    background-color: #145a8c;
}

.success-message {
    text-align: center;
    padding: 200px;
}

.success-message h1 {
    color: #1c75bc;
}

.home-btn {
    background-color: #1c75bc;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px;
    margin-top: 20px;
    text-decoration: none;
}

.home-btn:hover {
    background-color: #145a8c;
}

.fields {
    display: flex;
    flex-direction: column;
}

.branch-list {
    display: none;
}

.branch-list-block {
    max-height: 300px;
    overflow: hidden;
    overflow-y: scroll;
    list-style-type: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.branch-list-item {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
}

.branch-list-item:last-child {
    border-bottom: none;
}

.branch-list-item:hover {
    background-color: #f0f0f0;
}

.branch-list-item:active {
    background-color: #e0e0e0;
}

.branch-list-item.selected {
    background-color: rgb(0, 90, 168);
    color: #fff;
}
.cart-header.end{
    width: 100%;
    /*justify-content: flex-end;*/
    border: none;
}
@media screen and (max-width: 910px) {
    .cart-count {
        left: 20px;
    }
    .cart-icon-container{
        right: 15px;
        top: 89px;
        position: fixed;
    }
}

.radio-section {
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    /*height: 100vh;*/
}

.radio-item [type="radio"] {
    display: none;
}
.radio-item + .radio-item {
    margin-top: 15px;
}
.radio-item label {
    display: block;
    padding: 10px 60px;
    /*background: #1d1d42;*/
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    /*min-width: 250px;*/
    white-space: nowrap;
    position: relative;
    transition: 0.4s ease-in-out 0s;
}
.radio-item label:after,
.radio-item label:before {
    content: "";
    position: absolute;
    border-radius: 50%;
}
.radio-item label:after {
    height: 19px;
    width: 19px;
    border: 2px solid #004CA5;
    left: 19px;
    top: calc(50% - 12px);
}
.radio-item label:before {
    background: #004CA5;
    height: 18px;
    width: 17px;
    left: 20px;
    top: calc(50% - 11px);
    transform: scale(5);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease-in-out 0s;
    border-radius: 50%;
}
.radio-item [type="radio"]:checked ~ label {
    border-color: #004CA5;
}
.radio-item [type="radio"]:checked ~ label::before {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.fields {
    position: relative;
}

.input-container {
    position: relative;
    display: inline-block;
}

/*.input-container input {*/
/*    padding-right: 20px; !* Добавляем отступ для иконки *!*/
/*}*/

.arrow-icon {
    position: absolute;
    top: 45%;
    right: 10px; /* Расстояние от правого края инпута */
    transform: translateY(-50%);
    pointer-events: none; /* Иконка не будет перехватывать клики */
}

.errorValidateMessage{
    color: rgba(185, 74, 72, 0.8);
    display: flex;
    justify-content: end;
}
