
@font-face {
    font-family: "CENTURYGOTHIC"; /* Гарнитура шрифта */
    src: url(/fonts/centurygothic.ttf); /* Путь к файлу со шрифтом */
}

@font-face {
    font-family: "CENTURYGOTHIC_BOLD"; /* Гарнитура шрифта */
    src: url(/fonts/centurygothic_bold.ttf); /* Путь к файлу со шрифтом */
}


@font-face {
    font-family: "Montserrat-Bold"; /* Гарнитура шрифта */
    src: url(/fonts/Montserrat-Bold.ttf); /* Путь к файлу со шрифтом */
}

@font-face {
    font-family: "Montserrat-Medium"; /* Гарнитура шрифта */
    src: url(/fonts/Montserrat-Medium.ttf); /* Путь к файлу со шрифтом */
}



.btn-dark-blue{
  background-color: #1E356C;
  cursor: pointer;
  padding: 5px 8px 5px 8px;
  text-align: center;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
}

.btn-dark-blue:hover{
    color: #fff;
    border-bottom: 1px solid #fff;
}


body{
    font-family: "Montserrat-Medium";
}


.text-italic{
    font-style: italic;

}

.margin-bottom{
    margin-top: 20px;
}

main{

    min-height: calc(100vh - 305px);
    background-color: #F5F5F5;
    padding-top: 15px;

}


main > .container {
    padding: 0px 15px 20px;
    
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}


.form-group{
    margin-bottom: 15px;
}

.help-block{
    color: red;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination > li {
    display: inline;
}

.pagination > li:first-child > a, .pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}


.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #777777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
      border-top-color: rgb(221, 221, 221);
      border-right-color: rgb(221, 221, 221);
      border-bottom-color: rgb(221, 221, 221);
      border-left-color: rgb(221, 221, 221);
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.btn-user{
    background-color: #1E356C;
    color: #fff;
    margin-top: 30px
}

.btn-user:hover{
    background-color: #284a98;
    color: #fff;
  
}



/*************** ГЛАВНАЯ СТРАНИЦА ***********************/
/*************** КАТАЛОГ ********************************/
/*************** КОНТАКТЫ *******************************/
/*************** СТРАНИЦА ВЫБРАННОГО ТОВАРА *************/
/*************** ШАПКА САЙТА ****************************/
/*************** ПОДВАЛ *********************************/
/*************** АДМИНКА ********************************/


/* ГЛАВНАЯ СТРАНИЦА НАЧАЛО*/

#main-block-index{
    height: calc(100vh - 50px);
    margin-top: -15px;
    background-repeat: no-repeat;
    background-position: center center;
   
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#block-menu{
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: space-between;
    padding-top:0px;
}

#block-сatalog-search{
    display: grid;
    grid-template-rows: 1fr;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 50px);
}

.item-menu{
   
    border-bottom: 2px solid  #fff;
    font-family: "Montserrat-Medium";
}

.item-menu:hover{
   
    border-bottom: 4px solid  #fff;
}

.item-menu a, #catalog-link, #contact-link{ 
    text-decoration: none;
    font-size: 22px;
    cursor: pointer;
    font-family: "CENTURYGOTHIC";
    color: #23396a;
}
 
.item-menu-widget {
    border-bottom: 2px solid  #6c757d;
    font-family: "CENTURYGOTHIC";
}

.item-menu-widget:hover{
   
    border-bottom: 4px solid  #6c757d;
}

.item-menu-widget a{ 
    text-decoration: none;
    color: #6c757d;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
}



#input-сatalog-search::-webkit-input-placeholder {
  color: #B6C0A5; 
  font-style: italic; 
  background: #E0EFCA;
  margin-left: 7px;
}

#input-сatalog-search:-moz-placeholder {
  color: #B6C0A5; 
  font-style: italic; 
  background: #E0EFCA;
  margin-left: 7px;
}

#input-сatalog-search:-ms-input-placeholder {
  color: #B6C0A5; 
  font-style: italic; 
  background: #E0EFCA;
  margin-left: 7px;
}

#block-icon-search {
    padding: 5px;
    border: 1px solid #233765;
    color: #000;
    width: 60px;
    height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    position: absolute;
    z-index: 111;
    margin-left: -61px;
}

#input-сatalog-search{
    height: 39px;
    border-radius: 20px;
    border: 1px solid #233765;
    width: 400px;
    background-color: #fff;
    padding-left: 20px;
}

#input-сatalog-search::placeholder{
    font-size: 12px;
    margin-left: 20px;
}

#input-сatalog-search ::placeholder {
    background-color: #fff;
}

#label-search-catalog{
    text-align: center;
    font-size: 15px;
    margin-top: 6px;
    font-family: "CENTURYGOTHIC_BOLD";
    font-weight: 600;
}

#block-result-search{
    display: none;
    padding-top: 25px;
    padding-bottom: 25px;
    position: relative;
    z-index: 199;
    background-color: #F5F5F5;;
  
}

#block-category{
    margin-bottom: 30px;
}

.block-search-cart-product{
    display: grid;
    grid-template-columns: 200px auto 200px;
    min-height: 200px;
    margin-top: 25px;
    gap: 10px;
    text-decoration: none;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
}

.product_name{
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid;
    cursor: pointer;
    line-height: 22px;
    color: #000;
}

.product_name:hover{
    color: #ca783d;
}

.status-remain{
    font-size: 13px;
    color: #0e950e;
}

.specifications-product-item{
    color: #000;
}

.message-in-cart{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    text-align: center;

}

.message-in-cart-success{

    background-color: #d1e7dd;
    color: #0f5132;
}

.message-in-cart-danger{
    background-color: #f8d7da;
    color: #842029;
}

#block-result-search-count{
    display: grid;
    grid-template-columns: repeat(2, 1fr)
}

#close-block-result-search-count{
    justify-self : end;
    cursor: pointer;
}


.result-search-count{
    font-size: 24px;
    align-self: flex-start;
  
}

#main-slogan{
    text-align: center;
    margin-top: 12px;
    font-size: 22px;
    font-family: "CENTURYGOTHIC_BOLD";
    
}

/* ГЛАВНАЯ СТРАНИЦА КОНЕЦ */



/* начало КАТАЛОГ*/



.img-logo-category{
    width: 50%;
}

#blocl-catalog {
    padding-bottom: 25px;
}

#catalog-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    row-gap: 25px;
    column-gap:  25px;
}

.category-item{

    cursor: pointer;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}

.buy-in-one-click-in-category{
    margin-top: 12px;
}

.product-price-in-category{
  
    font-size: 22px;
}


.product-old-price-in-category{
    color: #6ab3e8;
    margin-left: 15px;
    text-decoration: line-through;
}

.discont-in-category{
    background-color: #6ab3e8;
    color: #fff;
    padding: 2px 6px;
    width: 42px;
    font-size: 14px;
    text-align: center;
    position: absolute;
    z-index: 101;
    margin-top: 7px;
   margin-left: 7px;
}



.applicability-product table{
    margin-top: 7px;
}

/* конец КАТАЛОГ*/

/* КАТЕГОРИЯ НАЧАЛО */
 
.product-name{
    font-size: 21px;
   
}

.product-name a{
    color: #094eb4;
}

/* КАТЕГОРИЯ  КОНЕЦ */

/* начало КОНТАКТЫ */
#blocl-contacts {
   
    padding-bottom: 25px;

}

.block-address-info{
   
    margin-bottom: 20px;

}

.contact-info{
    font-size: 16px;
    margin-bottom: 7px;
}

#btn-send-callback{
    cursor: pointer;
    color: #094eb4;
}

/* конец Контакты */

/* начало СТРАНИЦА ВЫБРАННОГО ТОВАРА */

#block-product{
    padding-top: 25px;
   
}

#block-description-productn-in-card{
    padding: 0px 10px;
}

#block-main-image-product{
    cursor: pointer;
}


#block-info-product{
    display: grid;
    grid-template-columns: 400px auto 250px;
    gap: 10px;
    margin-top: 25px;
  
}

.block-description-productn-in-card{
   padding-left: 15px;
}

.block-description-productn-in-card div{
    margin-top: 10px;
 }

#block-gellary-img{
    display: grid;
    grid-template-columns: 70px auto;
    column-gap:10px
}

.image-from-gallery{
    margin-bottom: 10px;
}

.image-from-gallery img{
    cursor: pointer;
}

.buy-in-one-click{
    cursor: pointer;
    color: #1E356C;
    border: 1px solid #1E356C;
    border-radius: 6px;
    padding-left: 5px;
    padding-top: 1px;
    padding-bottom: 2px;
    padding-right: 5px;
    text-align: center;
   
}

.one-click-quantity-control{
    display: flex;
    gap: 8px;
    max-width: 220px;
}

.one-click-quantity-control input{
    text-align: center;
}

#block-add-cart-in-product{
    background-color: #fff;
    border-radius: 12px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(196, 204, 210, 0.2);
    -moz-box-shadow: 0px 0px 8px 2px rgba(196, 204, 210, 0.2);
    box-shadow: 0px 0px 8px 2px rgba(196, 204, 210, 0.2);
}

#total-sum-in-product{
    color: #000;
    font-size: 24px;
    margin-left: 12px;
}


#in-cart-in-product{
    margin-top: 25px;
}

.description-product-click, .applicability-product-click{
    color: #989898;
    font-size: 15px;
    cursor: pointer;
}

.applicability-product-click:hover{
    border-bottom: 1px dashed #989898;
    color: #989898;
}

.block-applicability{
    display: none;
}


#description-in-productc{
    display: none;
    font-size: 15px;
}

.our-advantages{
    color: #4D4D4D;
    font-size: 13px;
    margin-top: 20px;
}

.our-advantages img{
   margin-right: 7px;
}


.title-block-slider{
    margin-left: 8px;
    color: #242424;
    margin-bottom: 7px;
}

.item-slider-name{
    font-size: 13px;
}

.item-slider-price{
    color: #000;
    font-weight: 600;
}

#main-image-product{
    border-radius: 8px;
}

.product-image-modal{
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .9);
}

.product-image-modal.is-open{ display: flex; }
.product-image-modal-content{ max-width: 85vw; max-height: 85vh; object-fit: contain; }
.product-image-modal button{
    position: absolute;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
}
.product-image-modal-close{ top: 15px; right: 25px; }
.product-image-modal-prev{ left: 20px; }
.product-image-modal-next{ right: 20px; }
body.product-image-modal-open{ overflow: hidden; }

.block-img img{
    border-radius: 6px;
}

.image-from-gallery img{
    border-radius: 4px;
}

/*  КОНЕЦ СТРАНИЦА ВЫБРАННОГО ТОВАРА */

/* начало ШАПКА САЙТА */

.site-header-desktop {
    position: relative;
    display: grid !important;
    grid-template-columns: 100px minmax(0, 1fr) max-content;
    grid-template-rows: 100px;
    column-gap: clamp(20px, 6vw, 80px);
    align-items: stretch;
    background: #fff;
    color: #23396a;
    padding: 0 clamp(20px, 6vw, 80px);
}

.site-header-top {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 42px);
    font-size: 16px;
    font-weight: 700;
}

.site-header-top a,
.site-header-menu a,
.site-header-cart {
    color: #23396a;
    text-decoration: none;
}

.site-header-social,
.site-header-top-contacts,
.site-header-cart {
    display: flex;
    align-items: center;
}

.site-header-social { gap: 7px; }
.site-header-social img { width: 25px; height: 25px; object-fit: contain; }
.site-header-top-contacts { gap: clamp(18px, 3vw, 40px); }
.site-header-account {
    white-space: nowrap;
}
.site-header-account .site-header-logout { color: #a83232; }
.site-header-cart {
    position: relative;
    gap: 5px;
    white-space: nowrap;
}
.site-header-cart svg { fill: #122a62; }
.site-header-cart #count-cart-header { top: -7px; left: 14px; margin: 0; }
.site-header-cart > span:last-child { position: relative; left: 15px; }

.site-header-bottom {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header-center { grid-column: 2; grid-row: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.site-header-center .site-header-top { padding-bottom: 10px; border-bottom: 1px solid #edf0f4; transform: translateY(5px); }
.site-header-center .site-header-bottom { padding-top: 10px; }
.site-header-actions { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; }
.site-header-logo { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-content: flex-start; width: 100px; }
.site-header-logo img { display: block; width: auto; max-width: 100%; height: 91.2px; object-fit: contain; }
.site-header-bottom > .item-logo { padding-left: 0; }
.site-header-menu { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 60px); }
.site-header-menu a { color: #343b45; font-size: 18px; font-weight: 400; white-space: nowrap; }
.site-header-menu a:hover { color: #0876d1; }

.site-header-desktop .block-nav-link { display: none; }

.block-item-contact{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.block-nav-link {
    display: grid;
    grid-template-columns: 370px auto  200px 170px;
    height: 150px;
}


.item-logo{
   padding-left: 50px;
   align-self: center;
}

.main-block-header{
    color: #23396a;
    align-self : center;
    

}

#log-in-to-personal-account{
    justify-self: end;
    padding-top: 0px;
}

#item-nav-cart{
    justify-self: center;
    padding-top: 15px;
}

.item-contact a{
    text-decoration: none;
    color: #23396a;
    font-family: "Montserrat-Bold";
}


#block-burger{
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 12px;
    padding: 6px 10px;
    cursor: pointer;
    min-height: 58px;
    height: auto;
    background-color: #f8f9fa;
}


.block-nav-sm{
    background-color: #0a0d3c;
    color: #fff;
    padding-bottom: 20px;
    display: none;
    padding-top: 20px;
}


.block-nav-sm > nav > ul > li > a{
   text-decoration: none;
   color: #fff;
}

.block-phone-nav-sm{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items : center;
}

.block-phone-nav-sm a{
    color: #74afe9;
    text-decoration: none;
    font-size: 13px;
}


.block-sandwich{
    color: #000;
    text-align: end;
}

.block-sandwich svg{
    border: 1px solid #000;
    border-radius: 5px;
    margin-right: 20px;
    margin-top: 7px;
}

.block-logo-header-sm{
    display: none;
}

.mobile-header-contacts {
    display: contents;
}

.mobile-header-contacts > a[href^="tel:"] {
    grid-column: 1 / 3;
    grid-row: 1;
    justify-self: start;
}

.mobile-header-contacts .site-header-social {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    gap: 5px;
}

.mobile-header-contacts > a[href^="mailto:"] {
    grid-column: 1 / 3;
    grid-row: 2;
    justify-self: start;
}

.mobile-header-contacts a {
    color: #23396a;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.mobile-header-contacts {
    min-width: 0;
    font-size: 16.25px;
    line-height: 1.25;
}

.mobile-header-actions {
    display: contents;
}

.mobile-header-contacts .site-header-social img { width: 25px; height: 25px; }
.mobile-header-cart { grid-column: 1; grid-row: 3; position: relative; display: inline-flex; align-items: center; justify-self: start; margin-top: 15px; color: #23396a; }
.mobile-header-actions .block-sandwich { grid-column: 3; grid-row: 3; justify-self: end; margin-top: 15px; }
.mobile-header-cart .mobile-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    padding: 1px 4px;
    border-radius: 10px;
    background: #22386a;
    color: #fff;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
}

@media (max-width: 900px) and (min-width: 768px) {
    .site-header-desktop { padding: 0 18px; grid-template-columns: 100px minmax(0, 1fr) max-content; column-gap: 18px; }
    .site-header-top { gap: 8px; font-size: 10px; }
    .site-header-social { gap: 3px; }
    .site-header-social img { width: 14px; height: 14px; }
    .site-header-top-contacts { gap: 8px; }
    .site-header-bottom { gap: 20px; }
    .site-header-menu { gap: 12px; }
    .site-header-menu a { font-size: 12px; }
    .site-header-logo img { height: 72px; }
    .site-header-actions { font-size: 10px; }
}

@media (max-width: 767.98px) {
    .main-block-header-sm { display: block !important; }
    .site-header-desktop { display: none !important; }
    .block-logo-header-sm { display: none !important; }
    .block-sandwich { margin-left: 0; }
    .block-sandwich svg { margin: 0; }
    .block-phone-nav-sm { grid-template-columns: 1fr; row-gap: 8px; padding: 0 16px; }
}

/* конец Шапка сайта */


/* начало ПОДВАЛ */

#footer {
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 25px;
    padding-left: 80px;
    height: 255px;
}


.slogan-footer{
    color: #484848;
   
}

.item-footer{
    color: #23396a;;
    margin-bottom: 15px;
    padding-left: 0px;
    padding-right: 0px;
    
}

.item-footer ul{
    list-style: none;
    margin-left: 10px;
}


.item-footer li{
    margin-bottom: 8px;
}

.item-footer a{
    text-decoration: none;
    color: #23396a;

}

.item-footer div{
    margin-bottom: 8px;
}

.item-icon-footer{
    margin-right: 10px;
}

.item-contact-footer{
    min-width: 150px;
}

.item-contact-info{
    display: grid;
    grid-template-columns: 40px auto;
    align-items: center;
    margin-bottom: 10px;
}

.title-col-footer{
    font-size: 18px;
    margin-top: 20px;
    color: #23396a;
    font-family: "Montserrat-Bold";
}

/* КОНЕЦ ПОДВАЛ */



/* начало КОРЗИНА */

#user-cart{
    margin-top: 25px;
    padding-bottom: 35px;
}

.block-add-cart{
    display: grid;
    grid-template-columns: 85px 100px;
    align-items: center;
    column-gap: 8px;
    margin-top: 12px;
}

#block-add-cart-in-one-click{
    display: grid;
    grid-template-columns: 200px 100px 140px;
    align-items: center;
    column-gap: 8px;
    margin-bottom: 30px;
}

.in-cart {
    background-color: #1E356C;
    height: 30px;
    cursor: pointer;
    padding-top: 2px;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    width: 100px;
}

#title-list-products-cart-desctop{
    display: grid;
    grid-template-columns: 100px auto 100px 100px 100px 100px 50px;
    align-items: center;
    column-gap: 10px;
    row-gap: 15px;
    border-top: 1px solid #dcd7d7;
    border-bottom: 1px solid #dcd7d7;
    height: 48px;
    color: #797979;
    
}

.title-product-name-in-cart{
    padding-left: 25px;
}

#list-products-cart-desctop{
    margin-top: 25px;
}

.product-item-in-cart{
    display: grid;
    grid-template-columns: 100px auto 100px 100px 100px 100px 50px;
    align-items: center;
    column-gap: 10px;
    margin-bottom: 25px;

}

#heading-user-cart{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 25px;
}

#title-page-cart{
    justify-self: start;
}

#clear-user-cart{
    justify-self: end;
}


#total-values-cart{
    display: grid;
    grid-template-columns:  auto 100px 100px 100px 50px;
    column-gap: 10px;
    margin-top: 25px;
    border-top: 2px solid #dcd7d7;
    padding-top: 15px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 35px;
}

.delete-product-in-cart{
    color:#dc3545;
    cursor: pointer;
}


#count-cart-header{
  background-color: #22386a;
  padding-left: 6px;
  padding-right: 6px;
  border-radius: 9px;
  font-size: 12px;
  color: #fff;
  position: absolute;
  margin-top: -4px;
  margin-left: -8px;;
}

#sum-cart-header{
   margin-left: 16px;
   font-size: 14px;
   font-weight: 600;
}

#mobile-cart{
    display: none;
}

#title-list-products-cart-mobile{
    border-top: 1px solid #dcd7d7;
    border-bottom: 1px solid #dcd7d7;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #797979;
}

#title-list-products-cart-mobile-top{
    display: grid;
    grid-template-columns: 100px auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 25px;
}


#title-list-products-cart-mobile-bottom{
    display: grid;
    grid-template-columns:  2fr 2fr 1fr;
    column-gap: 10px;
    align-items: center;
}


#list-products-cart-mobile-top{
    display: grid;
    grid-template-columns: 150px auto 50px;
    align-items: center;
    column-gap: 10px;
    row-gap: 25px;
}

#list-products-cart-mobile-bottom{
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    column-gap: 10px;
    align-items: center;
}


.block-edit-count{
    border: 1px solid #D7D7D7;
    width: 85px;
    height: 30px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    justify-items : center;
    align-items: center;
    border-radius: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
}



.button-edit-count{
    cursor: pointer;
}


#product-remeins-in-card{
    margin-top: 10px;
}

.block-edit-count-in-cart{
    border: 1px solid #D7D7D7;
    width: 85px;
    height: 30px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    justify-items : center;
    align-items: center;
    border-radius: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
}

/* конец КОРЗИНА */


/* начало Офрмление заказа */

    #title-making-order{
        text-align: center;
        margin-top: 35px;
    }

    #block-order{
        padding-top: 20px;
        padding-bottom: 30px
    }

    #block-select-form-order{
        display: grid;
        grid-template-columns: 240px 240px;
        column-gap: 20px;
        align-items: center;
        justify-content: center;
        margin-top: 25px;
    }

    .status-user{
        text-align: center;
        font-size: 19px;
        color: #444;
        cursor: pointer;
        padding: 3px;
    }

    .status-user label{
        cursor: pointer;
    }

    .select-user-status{
        border: 1px solid #10A8FB;
        background-color: #D9EBFF;
        border-radius: 7px;
    }
    
    #block-form-legal-entity{
        display: none;
        padding-top: 20px;
        padding-bottom: 25px;
    }

    #block-form-natural-person{
        padding-top: 20px;
        padding-bottom: 25px;
    }

    #total-values-order{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }


    #total-values-order div{
        height: 50px;
        text-align: center;
        padding-top: 10px;
        width: 100%;
        font-size: 20px;
        
    }

    .total-values-order-white{
        background-color: #fff;
    }

    .total-values-order-grey{
        background-color: #E6E6E6;
    }

/* конец Офрмление заказа */



/*---СЛАЙДЕР НАЧАЛО---*/

.slider{
    position: relative;
}

.block-img{
    padding-left: 8px;
    padding-right: 8px;
}

.slider-insurance {
    position: relative;
    margin-top: 18px;
 
}

/* стрелки */
 .slick-arrow{
    position: absolute;
    top:50%;
    z-index: 10;
    font-size: 0;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    padding: 0;
    border: none;
}

/* Не активная стрелка (слайдер дошел до  конца и нет бесконечности)*/
.slick-arrow.slick-disabled{
    opacity: 0.2 ;
}

.slick-arrow.slick-prev{
    left: -30px;
    background: url('/images/arrow-left.png') 0 0 / 100% no-repeat;
    top: 70px;
    width: 23px;
}

.slick-arrow.slick-next{
    right: -30px;
    background: url('/images/arrow-right.png') 0 0 / 100% no-repeat;
    top: 70px;
    width: 23px;
}

/* кнопки */
.slick-dots{
    display: flex;
    align-items: center;
    justify-content: center;
}

.slick-dots li{
    list-style: none;
    margin: 0px 10px;
}


.slick-dots button{
    font-size: 0;
    width: 15px;
    height: 15px;
    background-color: #bbb6b6;
    margin: 0px 10px;
    padding: 0;
    border-radius: 50%;

}


.slick-dots li.slick-active button{
    background-color: #ff6900;
}




.background-dark{
    position: absolute;
    width:100%;
    height:100%;
}

.about-description{
    position: absolute;
    color: #fff;
    z-index: 11;
    width: 250px;
    top: 20%;
    margin-left: 25rem;
    padding: 6px;
}

.slick-active{
    z-index: 999;
}


.slick-track{
    display: flex;
    align-items: flex-start;
}

.slick-list{
   overflow: hidden;
}


.slider_item{
    text-align: center;
}

.slider_item a{
   text-decoration: none;
   cursor: pointer;
}

.slider_item.slick-center{
    height: 100%;
}

#wrapper-slider-baner{
    margin-top: 45px;
}

/*----СЛАЙДЕР КОНЕЦ---*/


/* --- СЛУЖБА ДОСТАВКИ НАЧАЛО---- */

#block-delivery-services{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 35px;
    justify-items: center;
    margin-bottom: 50px;
    margin-top: 30px;

}


#block-delivery-services img{
    width: 200px;
    
}

#delivery-text-top{
    margin-top: 35px;
}

#delivery-text-bottom{
    margin-bottom: 80px;
    text-align: center;
}

/* --- СЛУЖБА ДОСТАВКИ КОНЕЦ ---- */



/*--- Авторизация пользователя ----*/

#block-entry-and-registration {

    display: grid;
    grid-template-columns: 70px auto;
    min-height: 50px;
    column-gap: 20px;
    align-items: center;

}


#loginform-rememberme label{
    cursor: pointer;
}

/*--- Авторизация пользователя -----*/



/*  --- СТРАНИЦЫ ПОЛЬЗОВАТЕЛЯ НАЧАЛО ----- */

.block-content-page{

    background-color: #fff;
    padding: 15px;
    margin-top: 30px;
}

#delivery-payment-page {
    padding: 36px 0 72px;
    color: #26344a;
}

#delivery-payment-page .delivery-payment-title {
    margin: 0 0 20px;
    color: #122a62;
    font-weight: 700;
}

#delivery-payment-page #delivery-text-top {
    max-width: 900px;
    line-height: 1.7;
}

#delivery-payment-page #block-delivery-services {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
    margin: 28px 0;
}

#delivery-payment-page #block-delivery-services > div {
    display: flex;
    min-height: 110px;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
    background: #fff;
}

#delivery-payment-page #block-delivery-services img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

#delivery-payment-page #delivery-text-bottom {
    margin: 0 0 32px;
    padding: 16px 20px;
    border-left: 4px solid #122a62;
    background: #f3f6fa;
    line-height: 1.6;
    text-align: left;
}

#delivery-payment-page .delivery-payment-card {
    margin: 24px 0 0;
    padding: 28px;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(18, 42, 98, .06);
    line-height: 1.7;
}

#delivery-payment-page .delivery-payment-card h2,
#delivery-payment-page .delivery-payment-card h3,
#delivery-payment-page .delivery-payment-card h4 {
    color: #122a62;
}

#delivery-payment-page .delivery-payment-card h3 {
    margin-top: 28px;
}

#delivery-payment-page .delivery-payment-card h4 {
    margin-top: 22px;
    font-size: 1.05rem;
    font-weight: 700;
}

#delivery-payment-page .delivery-payment-card p:last-child {
    margin-bottom: 0;
}

#delivery-payment-page .organization-details {
    margin-bottom: 0;
}

@media (max-width: 576px) {
    #delivery-payment-page {
        padding: 24px 0 48px;
    }

    #delivery-payment-page .delivery-payment-card {
        padding: 20px 16px;
    }

    #delivery-payment-page #block-delivery-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/*  --- СТРАНИЦЫ ПОЛЬЗОВАТЕЛЯ НАЧАЛО ----- */




/*  --- СТРАНИЦЫ ПОЛЬЗОВАТЕЛЯ ----- */

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}


/* АДМИНКА начало */
.add-input-model{
    width: 30px;
    margin-bottom: 12px;
}

.add-characteristic, .specify_brands, .add-input-model{
    color: rgb(77, 149, 212);
    border-bottom:1px dashed rgb(77, 149, 212);
    cursor: pointer;
    margin-left: 12px;
}

.category-list, .articles-list, .stamps-list{
    cursor: pointer;
    margin-bottom: 9px;
}



.block-stamps-list{
    display: grid;
    grid-template-columns: auto 105px;
    column-gap: 10px;
}



.confirm-name-brands {
    margin-bottom: 6px;
}

#save-applicability{
    margin-top: 25px;
}

#insert-applicability{
    padding: 15px 10px 15px 10px;
}

.delete-applicability{
    cursor: pointer;
}


.article-name, .product-stamps{
    background-color: #e2e2e2;
    padding: 6px 10px 6px 10px;
    border-radius: 6px;
}

.del-stamp, .del-article{
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
}

.del-stamp:hover{
    color: #dc3545;
}

.del-article:hover{
    color: #dc3545;
}

/* АДМИНКА конец */


/* TAPBAR начало */


#tapbar{
    position: fixed;
    bottom: 0px;
    z-index: 999;
    background-color: #fff;
    padding-top: 12px;
    padding-bottom: 10px;
    width: 100%;
}

#tapbar-content{
    display: flex;
    justify-content:space-evenly
}

/* TAPBAR Конец */



/* ВКЛАДКИ начало */

.block-hidden-description{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2px;
    padding-right: 15px;
    padding-left: 5px;
    margin-bottom: 8px;
    margin-top: 15px;
}

.hidden-description{
    text-align : center;
    width: 100%;
    background-color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
	-webkit-transform: skew(-20deg);
	   -moz-transform: skew(-20deg);
	     -o-transform: skew(-20deg);
}

/* ВКЛАДКИ конец */



/*---СЛАЙДЕР НАЧАЛО---*/

.slider {
    position: relative;
   
}

.slider .slick-arrow{
    position: absolute;
    top:35%;
    z-index: 10;
    font-size: 0;
    width: 40px;
    height: 70px;
    margin-top: 0px;
    padding: 0;
    border: none;
}

.background-dark{
    position: absolute;
    width:100%;
    height:100%;
}

.about-description{
    position: absolute;
    color: #fff;
    z-index: 11;
    width: 250px;
    top: 20%;
    margin-left: 25rem;

    padding: 6px;
    

}

.p-2{
    border-bottom: 2px solid red;
}


.slider .slick-dots{
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .slick-dots li{
    list-style: none;
}


.slider .slick-dots li.slick-active button{
    background-color: #23396a;
}

.slick-active{
    z-index: 999;
}

.slick-active img{
    border: 5px solid #fff;
    box-shadow: 0 0 5px 2px;
}


.slider .slick-dots button{
    font-size: 0;
    width: 15px;
    height: 15px;
    background-color: rgb(187, 182, 182);
    margin: 0px 10px;
    padding: 0;
   border: none;
}



.slick-track{
    display: flex;
    align-items: center;
}

.slick-list{
   overflow: hidden;
}

.slider .slick-arrow.slick-prev{
    left: 0;
    background: url('/images/arrow-left.png') 0 0 / 100% no-repeat;
}

.slider .slick-arrow.slick-next{
    right: 0;
    background: url('/images/arrow-right.png') 0 0 / 100% no-repeat;
}

.slider_item{
    text-align: center;
}

.slider_item.slick-center{
    height: 120%;
}


.block_title{
    margin-top: 15px;
}
/*----СЛАЙДЕР КОНЕЦ---*/



@media(max-width: 1400px) {

    #catalog-list {
        grid-template-columns: repeat(6, 1fr);
        column-gap:15px;
    }
  
}
   
@media(max-width: 980px) {

    #catalog-list {
        grid-template-columns: repeat(5, 1fr);
        column-gap:15px;
    
    }
  
}
    
@media(max-width:767px) {

    #catalog-list {
        grid-template-columns: repeat(4, 1fr);
        column-gap:15px;
    }



    #mobile-cart{
        display: block;
    }

    #block-info-product {
     
        grid-template-columns: 1fr;
    }


    .block-nav-link {
        grid-template-columns: 150px auto;
        padding-right: 8px;
    }

    .img-logo-category{
        width: 50px;
    }

    .block-search-cart-product{
       
        grid-template-columns: 1fr;
    }

    .block-add-cart{
        justify-items: center;
        grid-template-columns: 1fr 1fr;
        margin-top: 15px;
    }

    .block-product-price-in-category{
        text-align: center;
    }


    .buy-in-one-click-in-category{
        margin-top: 20px;
    }
    
    #footer {
        height: auto;
        padding-left: 20px;
        padding-bottom: 45px;
    }

    #block-menu{
        display: none;
    }

    #input-сatalog-search{
   
        width: 345px;
        
    }

    
    #title-list-products-cart-desctop{
        grid-template-areas:
        "B B B B   B B B B   C C C C"
        "D D D D   E E E E   G G G G";
        grid-template-columns: none;
        row-gap: 0px;
        height: 75px;
        column-gap: 0px;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 14px;
    }


    .title-product-img-in-cart{
        display: none;
    }

    .title-product-name-in-cart{
        grid-area: B;
    }

    .title-block-edit-count{
        grid-area: C;
    }

    .title-delete-product-in-cart{
        display: none;
    }

    .title-product-cost-in-cart{
        grid-area: D;
    }

    .title-product-discount-in-cart{
        grid-area: E;
    }

    .title-product-total-sum-in-cart{
        grid-area: G;
    }



    .product-item-in-cart{
        grid-template-areas:
        "B B B B  B B B B  D D D C"
        "E E E E  F F F F  G G G C";
        grid-template-columns: none;
        padding-left: 5px;
        padding-right: 10px;
        column-gap: 5px;
        row-gap: 15px;
        border-bottom: 1px solid #dcd7d7;
        padding-bottom: 10px;
    }

    .product-img-in-cart{
        display: none;
    }

    .product-name-in-cart{
        grid-area: B;
        font-size: 13px;
    }

    .delete-product-in-cart{
        grid-area: C;
    }

    
    .block-edit-count-in-cart{
        grid-area: D;
    }


    .product-cost-in-cart{
        grid-area: E;
    }

    .product-discount-in-cart{
        grid-area: F;
    }

    .product-total-sum-in-cart{
        grid-area: G;
    }

   
    #heading-user-cart {
        padding-right: 10px;
        padding-right: 10px;
    }


    .empty-block{
        display: none;
    }

    #total-values-cart{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    #total-values-order{
        grid-template-columns: 1fr;
    }

    #block-select-form-order {
        grid-template-columns: 1fr;
        margin-top: 10px;
        margin-bottom: 25px;
        
    }

    .status-user{
        text-align: left;
    }


    #main-block-index{
        height: calc(100vh - 125px);
    }

    .name-nav-tap{
        font-size: 12px;
        text-align: center;
        
    }

    .name-nav-tap a{
        text-decoration: none;
        color: #122a62;
    }


    #block-add-cart-in-one-click {
        grid-template-columns: 100px 90px 132px;
      
    }


    #block-delivery-services {
       
        grid-template-columns: 1fr;
   
    }

}

@media screen and (max-width: 580px) {

    #catalog-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-item{
        font-weight: 500;
        font-size: 13px;
    }


}


/* Главный экран: поиск, преимущества и заявка */
#main-block-index {
    position: relative;
    min-height: 560px;
    height: min(680px, calc(100vh - 80px));
    background-color: #d8f0ff;
    background-position: center;
    background-size: cover;
}

.home-hero {
    width: min(1180px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.home-hero-content {
    width: min(100%, 1180px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 24px 32px;
    align-items: start;
}

.home-hero-title,
.home-benefits,
.home-search-form {
    position: relative;
    top: -70px;
}

.home-hero-title {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    color: #122a62;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
}

.home-hero-title span {
    display: block;
}

.home-hero-title span + span {
    color: #0876d1;
}

.home-benefits {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    gap: 0;
    color: #122a62;
}

.home-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
}

.home-benefit:first-child { padding-left: 0; }
.home-benefit + .home-benefit { border-left: 1px solid #0876d1; }

.home-benefit-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    color: #0876d1;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-search-form,
.home-request-form {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 28px rgba(18, 69, 117, .16);
}

.home-search-form {
    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: center;
}

.home-search-form h2,
.home-request-form h2 {
    margin: 0;
    color: #122a62;
    font-size: 24px;
    font-weight: 700;
}

.home-search-form h2 { grid-column: 1 / -1; }
.home-search-fields { display: grid; gap: 8px; }
.home-search-form input,
.home-request-form input[type="text"],
.home-request-form input[type="tel"],
.home-contact-toggle {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #b7c8d8;
    border-radius: 9px;
    background: #fff;
    color: #122a62;
    font: inherit;
}

.home-search-form button,
.home-request-form button {
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #1185e3, #0756ac);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.home-search-form button { min-height: 50px; padding: 0 20px; }
.home-search-form button img { width: 18px; height: 18px; vertical-align: middle; filter: brightness(0) invert(1); }
#block-icon-search { position: static; z-index: auto; display: block; width: auto; height: auto; margin: 0; padding: 0 20px; border: 0; border-radius: 10px; color: #fff; }

.home-request-form {
    position: absolute;
    top: 50px;
    right: max(24px, calc((100% - 1180px) / 2));
    display: grid;
    gap: 12px;
    width: min(380px, calc(100% - 48px));
}
.home-request-form h2 { font-size: 22px; }
.home-request-form h2 span { color: #0876d1; }
.home-request-form p { margin: -8px 0 0; color: #122a62; font-weight: 600; }
.home-contact-method { position: relative; }
.home-contact-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #b7c8d8 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #122a62 !important;
    font-weight: 400 !important;
    text-align: left;
}
.home-contact-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.home-contact-options {
    position: absolute;
    z-index: 2;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    display: none;
    overflow: hidden;
    border: 1px solid #b7c8d8;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(18, 69, 117, .16);
}
.home-contact-method.is-open .home-contact-options { display: grid; }
.home-contact-options button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 13px;
    border-radius: 0;
    background: #fff;
    color: #122a62;
    text-align: left;
}
.home-contact-options button:hover, .home-contact-options button:focus { background: #eef6fc; }
.home-contact-options svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-contact-options button[data-value="Макс"] svg { width: 24px; height: 24px; flex-basis: 24px; fill: currentColor; stroke: none; }
.home-contact-options button[data-value="Telegram"] svg { fill: currentColor; stroke: none; }
.home-request-form label { display: flex; align-items: flex-start; gap: 8px; color: #33445d; font-size: 12px; }
.home-request-form label input { margin-top: 3px; }
.home-request-form button { min-height: 48px; }
.home-request-form button:disabled { cursor: wait; opacity: .75; }
.home-request-status { min-height: 18px; color: #122a62; font-size: 13px; }
.home-request-status.is-loading { display: flex; align-items: center; gap: 8px; }
.home-request-status.is-loading::before {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(8, 118, 209, .25);
    border-top-color: #0876d1;
    border-radius: 50%;
    content: "";
    animation: home-request-spin .7s linear infinite;
}
@keyframes home-request-spin { to { transform: rotate(360deg); } }

@media screen and (max-width: 760px) {
    #main-block-index { height: auto; min-height: 0; padding: 32px 0; background-position: 60% center; }
    .home-hero { width: min(100% - 28px, 520px); }
    .home-hero-content { grid-template-columns: 1fr; gap: 18px; }
    .home-hero-title, .home-benefits, .home-search-form, .home-request-form { grid-column: 1; grid-row: auto; }
    .home-hero-title, .home-benefits, .home-search-form { top: 0; }
    .home-request-form { position: static; width: auto; }
    .home-benefits { grid-column: auto; flex-direction: column; gap: 0; }
    .home-benefit, .home-benefit:first-child { padding: 10px 0; }
    .home-benefit + .home-benefit { border-left: 0; border-top: 1px solid #0876d1; }
    .home-search-form { grid-template-columns: 1fr; }
    .home-search-form h2 { grid-column: auto; }
    .home-search-form button { width: 100%; }
}
