@import url('./reset.css');
@import url('./catalog.css');
@import url('./basket.css');
@import url('./card.css'); 

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #fff;
}

body {
    background-color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    max-width: 98%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    height: 60px;
    align-items: center;
    margin: 20px auto;
    border: 0px solid;
    border-radius: 4px;
    background-color: #0596af;    
}

.header__space {
    min-width: 30px;
}

.header__logo-bar {
    height: 65%;
    max-width: 20%;    
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #0596af;    
    padding-left: 20px;
    padding-right: 20px;
}

.header__logo-title {    
    text-align: center;
    align-items: center;
    align-self: center;
    vertical-align: middle;
    font-size: 28px;
    color: #fff;
    font-weight: 700;
}

.header__panels {
    display: flex;
    flex-direction: row;
    column-gap: 50px;
    margin-top: 10px;
}

.header__catalog-panel {
    margin-left: 30px;
    height: 40px;
    border: 2px solid #3b0501;
    border-radius: 4px;
    width: 200px;
    background-color: #99160c;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    padding-top: 7px;
}

.header__catalog-panel ul:hover {
    cursor: pointer;
}

.header__search-bar {
    min-width: 70%;
    height: 40px;
    display: flex;
    flex-direction: row;
    column-gap: 10px;    
}

.header__search-box {
    min-width: 100%;
    height: 100%;
    width: 100%;
    padding-left: 10px;
    border-radius: 5px;
    border: 1px solid;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-size: 16px;
}

.header__search-button {
    min-width: 80px;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.header__search-clear {
    min-width: 40px;
    font-size: 24px;
}

.header__addr-bar {
    display: flex;
    flex-direction: row;
    column-gap: 50px;
    max-width: 45%;
    align-items: center;
    justify-content: center;
    margin-left: 50px;
    margin-right: 50px;
}

.header__addr-bar a {
    font-size: 28px;
    font-weight: 700;
}

.header__menu-bar {
    max-width: 20%;
    height: 80%;
    justify-content: center;    
    background-color: #11c4e4;
    border-radius: 0 4px 4px 0;
}

.header__menu {
    display: flex;
    flex-direction: row;
    column-gap: 25px;    
    margin-right: 30px;
    padding-top: 10px;
    margin-left: 45px;
}

.header__menu-link {
    font-size: 32px;
}

.header__menu-link i {
    color:#3a3cdd;
}

nav {
    height: 50px;
    margin:  auto auto;
    /* min-width: 100%; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 10px;
}

nav .profile__menu-dropdown-box {
    display: flex;
    flex-direction: column;
    border-radius: 0 0 4px 4px;
    z-index: 101;
    visibility: hidden;
    background-color: #fff;
    margin-top: 10px;
    min-width: 180px;    
}

nav .profile__menu-dropdown-box a {
    margin-top: 5px;
    padding-left: 5px;
    padding-top: 12px;
    padding-right: 10px;
    font-size: 12px;
    height: 44px;
    color: #000;    
}

nav .profile__menu-dropdown-box a:hover {
    transition: linear 0.4s;
    padding-top: 14px;
    background-color: #3a3cdd;
    color: #fff;
    letter-spacing: 0.2px;
    border-radius: 4px;
    font-size: 12px;    
}

.header__menu-profile-link {
    font-size: 32px;
}

.header__menu-profile-link i {
    color:#3a3cdd;
}

.header__menu-profile-link:hover .profile__menu-dropdown-box {
    position: relative;
    visibility: inherit;
    opacity: 0.9;
    transition: linear 0.2s;    
}

nav .top__menu-wrapper {
    min-width: 82%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    background-color: #eaecec;
}

nav ul {
    margin-top: 5px;
    padding-top: 10px;
    border-radius: 4px 4px 0 0;
    height: 40px;
    font-size: 18px;
}

nav ul:hover {
    cursor: pointer;
    border-bottom: 5px solid #3a3cdd;
}

nav ul:hover .top__menu-dropdown-box {
    position: relative;
    visibility:inherit;
    opacity: 0.9;
    transition: linear 0.2s;
}

nav .top__menu-dropdown-box {
    display: flex;
    flex-direction: column;
    border-radius: 0 0 4px 4px;
    z-index: 99;
    visibility: hidden;
    background-color: #fff;
    margin-top: 10px;
    min-width: 180px;
}

nav .top__menu-dropdown-box a {
    margin-top: 5px;
    padding-left: 5px;
    padding-top: 12px;
    padding-right: 10px;
    font-size: 12px;
    height: 44px;
    color: #000;
}

nav .top__menu-dropdown-box a:hover {
    transition: linear 0.4s;
    padding-top: 14px;
    background-color: #3a3cdd;
    color: #fff;
    letter-spacing: 0.2px;
    border-radius: 4px;
    font-size: 12px;
}

nav .header__logo {
    min-width:10%;
    text-align: center;
}

nav .header__logo a {
    font-size: 34px;
    font-weight: 600;
    color: #000;
}

nav .header__menu {
    margin-top: 4px;
    max-width: 300px;
    justify-self: right;
    height: 35px;
}

nav .header__menu a {
    color: #110101
}

main {
    max-width: 82%;
    margin: 2px auto;
    border-radius: 6px;     
    display: flex;
    flex-direction: column;
    height: 100lv;
}

.mainpage__goods_slider {
    background-color: #cecccc;
    margin: 30px 20px;
    padding: 10px 10px 0 10px;
    border-radius: 4px;
}

.mainpage__goods_slider .itc-slider-indicators {
    margin-top: 30px;
}

.mainpage__goods_slider .itc-slider-indicator {
    background-color:rgba(236, 9, 9, 0.3);
}

.mainpage__goods_slider .itc-slider-indicator:active {
    background-color:rgba(236, 9, 9, 0.9);
}

.mainpage__goods_slider .itc-slider-items {
    gap: 20px;
}

.choice_reasons {
    margin: 10px 0px;
    background-color: #e2e0e0;
    text-align: center;
    height: 380px;
    border-radius: 4px;
}

.choice_reasons h2 {
    margin: 30px auto 30px auto;
}

.choice_reasons_list {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.choice_reasons_item {
    padding: 30px;
    font-size: 20px;
    font-weight: 700;
    word-wrap:normal;
    min-height: 220px;
    border-radius: 4px;
    align-items: center;
    text-align: center;
    background-color: rgba(13, 66, 182, 0.2);
    /* min-width: 310px;
    max-width: 330px; */
    box-shadow: 10px 10px 10px 10px rgba(9, 100, 236, 0.3);    
}

.map__container {
    margin: 30px -15px;
}

.form__login {
    display: flex;
    flex-direction: column;
    min-width: 400px;
    margin: 8% auto;
    border: 1px solid;
    border-radius: 4px;
    box-shadow: 10px 10px 10px 10px rgba(46, 42, 42, 0.6);
    justify-content: center;
    row-gap: 30px;
}

.form__login a {
    color: #000;
}

.form__login h3 {
    text-align: center;
    margin-top: 15px;
}

.form__login button:hover {
    cursor: pointer;
    background-color: #e48211;
    border-radius: 4px;
}

.form__login-block {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    margin: auto 30px;
}

.form__login-input {
    min-height: 30px;
    padding-left: 3px;
}

.form__login-button {
    min-width: 180px;
    min-height: 30px;
    align-items: center;
    margin: 10px auto 20px;    
}

.form__forgot-passwd {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 10% auto;
    border: 2px solid;
    border-radius: 4px;
    box-shadow: 10px 10px 10px 10px rgba(46, 42, 42, 0.6);
    justify-content: center;
    row-gap: 30px;
}

.form__forgot-passwd a {
    color: #000;
}

.form__forgot-passwd a:hover {
    text-decoration: underline;
    font-weight: 600;
    color: #3a3cdd;
}

.form__forgot-passwd button:hover {
    cursor: pointer;
    background-color: #e48211;
    border-radius: 4px;   
}

.form__registr {
    display: flex;
    flex-direction: column;
    min-width: 400px;
    margin: 4% auto;
    border: 2px solid;
    border-radius: 4px;
    box-shadow: 10px 10px 10px 10px rgba(46, 42, 42, 0.6);
    justify-content: center;
    row-gap: 15px;
}

.form__registr a {
    color: #000;
}

.form__registr a:hover {
    text-decoration: underline;
    color: #3a3cdd;
    font-weight: 600;
}

.form__registr h3 {
    text-align: center;
    margin-top: 15px;
}

.form__registr input {
    padding-left: 3px;
}

.form__registr button:hover {
    cursor: pointer;
    background-color: #e48211;
    border-radius: 4px;
}

.video__observ-benefit {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    justify-content: space-evenly;
    margin: 30px 10px 10px 3px;
}

.video__observ-benefit-item {
    min-height: 110px;    
    font-size: 18px;
    border: 1px solid;
    box-shadow: 2px 2px 2px 2px rgba(46, 42, 42, 0.6);
    padding: 10px 10px;
    border-radius: 6px;
}

.slider__wrapper {
    margin: auto 10px;
}

.maintaince__wrapper {
    margin: 20px 20px;
    display: flex;
    flex-direction: row;
    column-gap: 70px;
}

.main__wrapper-img {
    max-width: 500px;
    border-radius: 6px;
}

.service__description {
    font-size: 18px;
}

.service__description-item {
    margin: 8px;
}

.service__description-list {
    list-style: circle;
}

.pay_cond {
    margin-top: 20px;
    padding-left: 20px;
    font-size: 18px;
}

.delivery_cond {
    margin-top: 20px;
    padding-left: 20px;
    font-size: 18px;
}

.delivery_cond p {
    margin-top: 10px;
}

footer {
    /* border: 2px solid; */
    max-width: 82%;
    margin: 2px auto;
    display: flex;
    flex-direction: column;
    column-gap: 60px;
    justify-content: space-evenly;
    background-color: #eaecec;
    /* background-color: #0596af; */
    /* color: #fff; */
    border-radius: 6px;
    margin-bottom: 20px;
}

footer a {
    color: #000;
    font-size: 18px;
}

footer a:hover {
    text-decoration: underline;
    color: #3a3cdd;
}

.footer__menu-wrapper {
    min-width: 100%;
    margin: 10px auto;
    display: flex;
    flex-direction: row;
    column-gap: 30px;
    justify-content: space-evenly;
}

.footer__menu-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer__menu-item {
    margin: 5px auto;
    font-size: 16px;
}

.footer__price-agreement {
    text-align: justify;
    margin: 30px 200px;
}

.footer__copyright {
    margin: 20px auto;
    font-weight: 700;
}

/* Дальше адаптив */

@media(max-width:1920px) {
    .header__logo-bar {
        padding-top: 0px;
    }    
    .choice_reasons_item {
        font-size: 16px;
        min-width: 200px;
        max-width: 300px;        
    }
}

@media (max-width:1600px) {
    .header__logo-bar {
        padding-top: 4px;
    }
    .header__logo-title {
        font-size: 22px;
   }
    .header__addr-bar a {
        padding-top: 7px;
        font-size: 22px;
    }
    .header__search-bar {
        min-width: 40%;
    }
    .header__search-box {
        min-width: 300px;
    } 
    .header__menu-link {
        font-size: 26px;
    }    
   .choice_reasons_item {
        min-width: 200px;
        max-width: 280px;
        font-size: 15px;
   }
   .footer__menu-title {
        font-size: 16px;
   }
   .footer__menu-link {
        font-size: 12px;
   }
   .footer__price-agreement {
        font-size: 12px;
   }
   .footer__copyright {
        font-size: 12px;
   }
}

@media(max-width:1366px) {
   .footer__menu-title {
        font-size: 14px;
   }
   .footer__menu-link {
        font-size: 12px;
   }
   .choice_reasons_item {
        min-width: 170px;
        max-width: 230px;
        font-size: 14px;
   }
}

@media (max-width:1280px) {
    .header__logo-bar {
        padding-top: 5px;
    }
    .header__addr-bar {
        padding-top: 8px;
        margin-left: 100px;
        min-width: 40%;
    }
    .header__search-bar {
        display: none;
    }
    .header__search-box {
        min-width: 150px;
    }      
    .footer__price-agreement {
        display: none;
    }    
    .choice_reasons_item {
        min-width: 150px;
        max-width: 200px;
        font-size: 12px;
   }
   .footer__menu-title {
        font-size: 12px;
   }
   .footer__menu-link {
        font-size: 10px;
   }
   .top__menu-list {
        font-size: 12px;
        min-width: 150px;
   }
   .top__menu-list:hover {
        font-weight: 700;
   }
   .header__logo-title {
        font-size: 18px;
   }
   .header__addr-bar a {
        font-size: 18px;
   }
   .header__menu-link {
        font-size: 20px;
   }
}

@media (max-width:800px) {
    .header__logo-bar {
        padding-top: 5px;
    }
    .header__addr-bar {
        display: none;
    } 
    .header__search-box {
        min-width: 150px;
    }      
    .footer__price-agreement {
        display: none;
    }    
    .choice_reasons_item {
        min-width: 80px;
        max-width: 160px;
        font-size: 10px;
        min-height: auto;
        box-shadow: 5px 5px 5px 5px rgba(9, 100, 236, 0.3); 
   }
   .footer__menu-title {
        display: none;
   }
   .footer__menu-item {
        display: none;
   }
   .top__menu-list {
        font-size: 12px;
        min-width: 150px;
   }
   .top__menu-list:hover {
        font-weight: 700;
   }
   .header__logo-title {
        font-size: 18px;
   }
   .header__menu-link {
        font-size: 20px;
   }
}

@media (max-width:640px) {
    nav {
        display: none;
    }
    .slider__wrapper {
        display: none;
    }
    .choice_reasons_list {
        display: block;
    }
    .choice_reasons_item div {
        margin: 0 auto;
        /* height: auto; */
        /* width: 95%; */
    }
    .header__search-bar {
        display: none;
    }
    .header__search-box {
        display: none;
    }
    .header__addr-bar {
        display: none;
    }
    .footer__price-agreement {
        display: none;
    }
    
}