.header{
    background: linear-gradient(135deg, #00AFF2 0%, #0099D4 100%);
    background-size: cover;
    padding: 10px 34px;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 175, 242, 0.15);
    transition: all 0.3s ease;
}
.header_wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1150px;
    width: 100%;
}
.header_content{
    display: flex;
}
.header_content ul{
    list-style: none;
    display: flex;
    gap: 12px;
    color: #FFFFFF;
}
.header_content ul li{
    display: flex;
    align-items: center;
    gap: 1px;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    justify-content: center;
}
.header_content ul li:last-child{
    display: none;
}
.header_content select{
    background: none;
    border: none;
    color: #FFFFFF;
}
.header_content select option{
    background: #00AFF2;
}
.button_buy_tires{
    font-family: 'Montserrat', sans-serif;
    border-radius: 12px;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    gap: 4px;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.profile_button_wrapper{
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.button_buy_tires:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
#close_button_mobile{
    display: none;
}
#open_button_mobile{
    cursor: pointer;
}
.header_mobile_menu{
    display: none;
}
.header_mobile_menu.active{
    display: block;
    position: fixed;
    z-index: 100;
    width: 100%;
    left: 0;
    margin-top: 14px;
}
.header_mobile_menu_wrapper{
    background: #FFFFFF;
    padding: 15px 16px
}
.header_mobile_menu_upper_title{
    font-weight: 600;
    font-size: 24px;
    line-height: 16px;
    color: #231F20;
    margin: 0;
}
.header_mobile_menu_wrapper_text{
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #231F20;
}
.header_mobile_menu_upper{
    padding: 24px 16px;
    border-bottom: 1px solid #E4E4E4;
    margin-bottom: 20px;
}
#authorize_button{
    border-radius: 8px;
    padding: 14px 32px;
    background: #00AFF2;
    color: #FFFFFF;
    border: none;
    width: 100%;
    margin-bottom: 10px;
}
.account_button{
    border-radius: 8px;
    padding: 14px 32px;
    background: #00AFF2;
    color: #FFFFFF;
    border: none;
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
}
.header_mobile_menu_lower hr{
    border-top: 1px solid #E4E4E4;
}
.header_mobile_menu_lower_content{
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #231F20;
}
.account_question_button{
    margin-top: 10px;
    border-radius: 8px;
    padding: 14px 32px;
    background: #FFFFFF;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #231F20;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #231F20;
}
.header_mobile_menu_upper_account_title{
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    color: #231F20;
    margin: 0;
    text-transform: uppercase;
}
.header_mobile_menu_lower_account{
    display: flex;
    flex-direction: column;
    align-items: end;
}
.header_mobile_menu_lower_account input{
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #E4E4E4;
    background: #FFFFFF;
    padding: 14px 16px;
    border-radius: 8px;
}
.header_mobile_menu_lower_account input::placeholder{
    color: #E4E4E4;
}
.header_mobile_menu_lower_account_text{
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #ABABAB;
    text-decoration: underline;
    text-align: end;
    margin-bottom: 10px;
}
.header_mobile_menu_lower_text_container{
    display: flex;
    gap: 4px;
    font-weight: 500;
    color: #231F20;
    justify-content: center;
}
.header_mobile_menu_lower_text_container p:last-child{
    color: #00AFF2;
    cursor: pointer;
}
.header_mobile_menu_lower_account_checkbox{
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-size: 12px;
    line-height: 12px;
    color: #231F20;
    margin: 10px 0;
}
.header_mobile_register_container{
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}
.header_mobile_register_container_wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.header_mobile_register_container_wrapper h2{
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
}
.header_mobile_register_container_wrapper p{
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #FFFFFF;
    text-align: center;
}
.invalid input[type=checkbox]{
    outline: 1px auto red;
}
#shopping_cart {
    position: relative;
    z-index: 10;
}
.shopping_cart_details{
    display: none;
}
.shopping_cart_details.active{
    display: block;
}
.shopping_cart-dropdown {
    position: absolute;
    right: -80%;
    background: white;
    border: 1px solid #ccc;
    width: 415px;
    top: 100%;
    border-radius: 0 0 8px 8px;
    border-top: none;
    display: none;
    z-index: -1;
    margin-top: 11px;
}
.shopping_cart-dropdown_wrapper{
    max-height: 402px;
    overflow-y: auto;
}
.shopping_cart-dropdown:hover {
    display: block;
}
.shopping_cart-item {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid #E4E4E4;
}
.shopping_cart-item_wrapper{
    display: flex;
    align-items: center;
    width: 100%;
}
.shopping_cart-item img {
    width: 110px;
    /*height: 110px;*/
    margin-right: 10px;
}
.shopping_cart_item-info_lower{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.shopping_cart_item-info_lower div{
    display: flex;
}
.shopping_cart_item_lower-sum{
    flex-direction: column;
    align-items: flex-start;
}
.shopping_cart_item-info_lower p{
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: #ABABAB;
    margin: 0;
}
.shopping_cart_item-info_lower img{
    width: 16px;
    height: 16px;
}
.product_remove{
    cursor: pointer;
    margin-right: 5px;
    align-items: center;
}
.shopping_cart_item-info {
    flex: 1;
}
.shopping_cart_item-total {
    font-weight: 700!important;
    font-size: 14px!important;
    line-height: 16px!important;
    color: #231F20!important;
    margin: 0!important;
}
.shopping_cart_item_parameters{
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    color: #ABABAB;
}
.shopping_cart_item_value_text p{
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    color: #ABABAB;
}
.shopping_cart_item_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}
.shopping_cart_item_value_text,
.shopping_cart_item_value {
    display: contents;
}
.shopping_cart_item_text_first{
    justify-content: left!important;
}
.shopping_cart_item_row p {
    display: flex;
    justify-content: center;
    margin: 0;
}
.shopping_cart_item_value p{
    display: flex;
    justify-content: center;
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    color: #231F20;
    margin: 0;
}
.shopping_cart_item-sum{
    font-weight: 500;
    font-size: 0.8rem;
    line-height: 150%;
    color: #ABABAB;
    margin-top: 2px;
    margin-bottom: 3px!important;
}
.shopping_cart_item_tittle{
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    color: #231F20;
    padding-bottom: 3px;
}
.shopping_cart-footer {
    display: flex;
    padding: 24px 16px;
    justify-content: space-between;
    align-items: center;
}
.shopping_cart-footer .go-to-cart {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
}
.shopping_cart-footer .go-to-cart:hover {
    background: #0056b3;
}
.shopping_cart_footer-container{
    display: flex;
    flex-direction: column;
}
#go_to_cart_button{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #00AFF2;
    padding: 12px 32px;
    border-radius: 8px;
    height: 44px;
    width: 244px;
}
.shopping_cart_footer_first_text{
    color: #ABABAB;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    margin: 0;
    margin-bottom: 5px;
}
.shopping_cart_footer_second_text{
    color: #231F20;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
}
#profile_container {
    position: relative;
    width: 110px;
    gap: 5px;
    flex-direction: column;
}
.profile-dropdown{
    position: absolute;
    right: -200px;
    background: white;
    border: 1px solid #E4E4E4;
    width: 431px;
    top: 100%;
    border-radius: 0 0 8px 8px;
    z-index: -1;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    display: none;
    margin-top: 17px;
}

.profile-dropdown_tittle{
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 100%;
    color: #231F20;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.profile-dropdown_hint{
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 150%;
    color: #231F20;
    margin-bottom: 5px;
}

.profile-dropdown_inputs{
    margin-bottom: 25px;
}
.header_mobile_menu_phone_input{
    margin-bottom: 10px;
}
.header_mobile_menu_phone_input.password{
    display: none;
}
.header_mobile_menu_phone_input input{
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #E4E4E4;
    background: #FFFFFF;
    padding: 14px 16px;
    border-radius: 8px;
}
.header_mobile_menu_phone_input input::placeholder{
    color: #E4E4E4;
}
.header_mobile_menu_phone_password_text{
    font-weight: 500;
    line-height: 14px;
    color: #ABABAB;
    font-size: 0.8rem;
    text-align: start;
    margin-bottom: 8px;
    margin-top:16px;
}
#header_password_notification{
    display: none;
}
#header_password_recovery{
    display: none;
    color: #00AFF2;
    text-decoration: underline;
    cursor: pointer;
}
.logout_button{
    color: #FFFFFF;
    background: #00AFF2;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    padding: 1px 12px;
    cursor: pointer;
}
.shopping_cart_wrapper{
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
@media (max-width: 1330px) {
    .profile-dropdown{
        right: 0;
    }
}
@media (max-width: 800px) {

    #logout_button{
        display: block;
    }
    #user_information_button{
        display: block;
    }
    .header_content ul li:last-child{
        display: flex;
        width: 32px;
        height: 32px;
    }
    .shopping_cart-dropdown{
        margin-top: 30px;
    }
    .profile-dropdown{
        margin-top: 30px;
    }
}
@media (max-width: 600px) {
    .product_container_upper_left{
        width:100%;
    }
    .header_content ul{
        padding: 0;
        align-items: center;
    }
    .button_buy_tires{
        flex-direction: column;
        padding: 0;
        box-shadow: unset;
        border: unset;
        background:unset;
        font-weight: 500;
        text-transform: unset;
    }
    .profile_button_wrapper{
        font-size:0.8rem;
        flex-direction: column;
    }
    .shopping_cart_wrapper{
        flex-direction: column;
        font-size:0.8rem;
    }
    #language_selector{
        flex-direction: column;
        font-size:0.8rem;
    }
    #language{
        font-size:0.8rem;
    }
    .header_content ul li:last-child{
        display: flex;
    }
    #shopping_cart_icon{
        width: auto;
        height: auto;
    }
    #go_to_cart_button img{
        height: auto;
        width: 20px;
    }
    #profile_icon_mobile{
        width: auto;
        height: auto;
    }
}
@media (max-width: 550px) {
    #language_selector{
        margin-right:3px;
    }
    #shopping_cart a{
        flex-direction: column;
    }
    .shopping_cart-item_wrapper{
        flex-direction: row !important;
    }
    #go_to_cart_button{
        flex-direction: row !important;
    }
    .shopping_cart-dropdown{
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        margin-top: 69px;
    }

    #shopping_cart{
        justify-content: center;
        white-space: nowrap;
    }
    #profile_container {
        position: unset;
        width: 100%;
    }
    .profile-dropdown{
        width: 100%;
        right: 0;
        margin-top: 0;
    }
}
@media (max-width: 500px) {
    .header{
        height: 60px;
        padding: 5px 5px;
    }

    .header_content{
        width: 100%;
        justify-content: flex-end;
    }
}
@media (max-width: 600px) {
    .header_mobile_menu_upper_title{
        font-size: 16px;
    }
    .header_mobile_menu_lower_account_text{
        font-weight: 500;
        font-size: 12px;
        line-height: 12px;
        color: #ABABAB;
        text-decoration: underline;
        text-align: end;
    }
    .header_mobile_menu_wrapper_text, .header_mobile_menu_lower_content, .header_mobile_menu_lower_text_container p:last-child{
        font-size: 12px;
    }
    .account_question_button{
        font-size: 12px;
    }
    #profile_icon_mobile{
        width: auto;
        height: auto;
    }
    .header_mobile_menu.active{
     margin-top: 39px;
    }
    .shopping_cart-dropdown {
        position: fixed;
        top: 0;
        margin-top: 60px;
        width: 100%;
        left: 0;
        right: unset;
    }
}

/* Profile Dropdown */
.profile_wrapper {
    position: relative;
    display: inline-block;
}

.profile_dropdown_content {
    overflow: hidden;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    border-radius: 8px;
}

.profile_dropdown_content a, .profile_dropdown_content button {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.8rem;
}

.profile_dropdown_content a:hover, .profile_dropdown_content button:hover {
    background-color: #f1f1f1;
}
