@import "./reset.css";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}
.container {
    max-width: 1230px;
    padding: 0 15px;   
    margin: 0 auto; 
}
.title-1 {
    font-size: 20px;
    font-weight: 600;
}
.block-title {
    margin-bottom: 20px;
}
a {
    color: #000;
}
a:hover {
    color: #510000;
}
.line_ser {
    width: 100%;
    border-bottom: 1px solid #bbbbbb;
    margin-top: 10px;
}
input, textarea {
    display:block;
    width:100%;
    margin:10px 0;
    padding:10px;
    border-radius:5px;
    border: 1px solid #c5c5c5;
    transition: .3s border-color;
    background-color: #f7f7f7;
    font-weight: 500;
    font-size: 16px;
}

input:focus, input:active, input:hover,
textarea:focus, textarea:active, textarea:hover {
    border: 1px solid #797979;
    outline-color: #cecece;
}

/* table */

table {border-collapse:collapse;}
td {
vertical-align: middle;
padding: 4px;
border: 1px solid #e3e3e3;
}
th {
border: 1px solid #c5c5c5;
background-color: #eaebff;
padding: 5px 0px;
}
.table_niz {   
	border: 1px solid #c5c5c5;
    background-color: #eaebff;
    padding: 5px 0px;
    font-weight: bold;
}
          
.zebra_title tr:nth-child(odd) {background-color: #f3f3f3}
.zebra_title tr:nth-child(even) {background-color: #fff}
	
.off-rows {background-color: #e2e2e2;}
		
.teh-rows {background-color: #daedff;}

/* header */

.header {
    padding-top: 10px;
    background-color: #efefef;
}
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 30px;
    row-gap: 10px;
    flex-wrap: wrap;
}
.head-logo {
    padding-bottom: 5px;
}
.head-contacts {
    font-size: 24px;
    font-weight: 600;
}

/* Nav */

.head-nav {
    background-color: #272727;
}
.nav-list {
    display: flex;  /* Элементы в ряд*/
    column-gap: 25px;   /* отступ между колонками */
    font-weight: 500;   /* размер шрифта (толщина) - медиум */
    font-size: 14px;
    text-transform: uppercase;  /* Заглавные буквы */
}
.nav-button {
    display: none;
}
.nav-item {
    text-align: center; 
}
.nav-item a {
    display: block;
    line-height: 46px;
    width: 140px;
}
.nav-item a:hover {
    color: #e9e9e9;
}
.nav-item:hover {
    background-color: #4e4e4e;
}
.nav-item.active {
    background-color: #4e4e4e;
}
.nav-link {
    color: #fff;
}
.nav-link.active {
    color: #e9e9e9;
}

/* content */

.content {
    padding: 15px 0;
    min-height: 500px;
}

/* big-slider */

.big-slider {
    margin-bottom: 20px;
}

/* catalog  категории */

.category-row {
    display: flex;  /* в ряд */
    column-gap: 30px;   /* отступ между элементами по горизонтали */
    row-gap: 30px;  /* отступ между элементами по вертикали */
    flex-wrap: wrap;    /* Карточки переносятся на след строку */
}
.category-card {
    flex: 1 1 0;
    max-width: 260px;
    min-width: 260px;
    text-align: center;
    border: 1px solid #f5f5f5;
}
.category-card:hover {
    border: 1px solid #f0f0f0;
    -webkit-box-shadow: 0px 0px 9px 1px rgba(34, 60, 80, 0.23);
    -moz-box-shadow: 0px 0px 9px 1px rgba(34, 60, 80, 0.23);
    box-shadow: 0px 0px 9px 1px rgba(34, 60, 80, 0.23);
    transition: box-shadow 0.2s ease-in;  /* Плавные эфекты */
}
.category-card-img {
    margin-bottom: 10px;
}
.category-card-title {
    font-weight: 600;
    font-size: 18px;
    height: 34px;
}

/* products  товары */

.products-row {
    display: flex;  /* в ряд */
    column-gap: 30px;   /* отступ между элементами по горизонтали */
    row-gap: 30px;  /* отступ между элементами по вертикали */
    flex-wrap: wrap;    /* Карточки переносятся на след строку */
}
.products-card {
    flex: 1 1 0;
    max-width: 380px;
    min-width: 340px;
    text-align: center;
    border: 1px solid #f5f5f5;
}
.products-card:hover {
    border: 1px solid #f0f0f0;
    -webkit-box-shadow: 0px 0px 9px 1px rgba(34, 60, 80, 0.13);
    -moz-box-shadow: 0px 0px 9px 1px rgba(34, 60, 80, 0.13);
    box-shadow: 0px 0px 9px 1px rgba(34, 60, 80, 0.13);
    transition: box-shadow 0.2s ease-in;  /* Плавные эфекты */
}
.products-card_inner {
    padding: 18px 24px 16px;
}
.products-card-img {
  /*  max-width: 378px; */
    margin-bottom: 10px;
}
.products-card-title {
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 18px;
    height: 60px;    
}
.products-card-price {
    margin-bottom: 15px;
    font-size: 16px;
}
 
/* Footer */

.footer {
    padding: 10px 0;
    text-align: center;
    background-color: #272727;
    left: 0;
    right: 0;    
    bottom: 0;
}
.footer-content {
    color: #fff;
    font-size: 13px;
}

/* product-detail */ 

.product-detail {
    padding: 15px 0;
}
.product-detail-row {
    display: flex;
    column-gap: 30px;    
    flex-wrap: wrap;
}
.product-detail-img {
    flex: 1 1 0;
    width: 50%;
    float: left;
    min-width: 320px;
}
.product-detail-title {
    flex: 1 1 0;
    min-width: 320px;
}
.product_name {
    font-size: 28px;
    padding-bottom: 25px;
}
.product_availability {
    font-size: 16px;
    color: #38761d;
    padding-bottom: 30px;
}
.product_price {
    font-size: 20px;
    padding-bottom: 30px;
}
.product_description p {
    margin: 0 0 5px;
}

/* parameters */

.parameters {
    padding: 10px 0;
}

/* description */

.description {
    padding: 10px 0;
}
.product_desc .text-center {
    text-align: center;
}
.product_desc video {    
    max-width: 100%;
    cursor: pointer;
}
.product_desc h2 {
    font-size: 26px;
    font-weight: 500;
    margin: 20px 0 20px 0;
}
  
/* buy_one_click */

.btn_buy_one_click {  
    padding-bottom: 35px;
}
.btn_buy_one_click a {
    background-color: #272727;  
    padding: 10px 40px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 3px;
}
.btn_buy_one_click a:hover {
      background-color: #5e5e5e;
}

.pop_up {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: transparent;
    z-index: 20;
    transform: translateY(-44.5%) scale(0);
    transition: .4s ease-in-out;
}
.pop_up.active {
    transform: translateY(0%) scale(100%);
    background-color: rgba(0, 0, 0, .8);
}
.pop_up_container {
    display: flex;
    width: 100%;
    height: 100%;
}
.pop_up_body {
    margin: auto;
    width: 480px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 50px 15px 50px 15px;
    position: relative;
}
.pop_up_body p {
    font-size: 28px;
    font-weight: 600;
    color: #222620;
    margin-bottom: 30px;
}
.pop_up_body input {
    margin: 25px auto 0px auto;
    width: 350px;
}
.pop_up_body textarea {  
    margin: 25px auto 0px auto;
    width: 350px;
}
.pop_up_body button {    
    display: block;    
    margin: 30px auto 0px auto;    
    text-transform: uppercase; 
    font-weight: 500;
    font-size: 16px;
    border: none;
    border-radius: 3px;
    color: #fff;
    background-color: #272727;
    padding: 10px 40px;
    cursor: pointer;
}
.pop_up_body button:hover {
      background-color: #5e5e5e;
}
.pop_up_close {
    position: absolute;
      width: 36px;
      height: 36px;
      top: 15px;
      right: 15px;
      font-size: 26px;
      cursor: pointer;
      background: #fff;
      border-radius: 50%;
}
.pop_up_close:hover {
    background: #d3d3d3; 
}

/* product img slider */

.slider__container {
    position: relative;
    margin-left: 100px;
}
.slider {
    max-width: 500px;
    flex: 0 0 310px;
    margin-left: unset;
    margin-right: unset;
}
.slider__items {
    counter-reset: slide;
}
.slider__item {
    counter-increment: slide;
    display: flex;
}
.slider__item::before {
    content: counter(slide);
    position: absolute;
    top: 10px;
    right: 20px;
    color: #e6e6e672;
    font-style: italic;
    font-size: 32px;
    font-weight: bold;
}
.slider img {
    max-width: 100%;
    height: auto;
}
.slider__thumbnails {
    position: absolute;
    display: flex;
    flex-flow: column wrap;
    align-content: center;
    width: 100px;
    left: -100px;
    top: 0;
    height: 100%;
}
.slider__thumbnails-item {
    line-height: 0;
    max-width: 60px;
    margin: 0 10px 10px 0;
    opacity: .5;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.15s opacity ease-in-out;
}
.slider__thumbnails-item.active {
    opacity: 1;
}

.slider__thumbnails-item:hover {
    opacity: 1;
}
.slider__thumbnails-item>img {
    display: inline-block;
    width: 100%;
    height: auto;
    cursor: pointer;
}
.slider__indicators {
   display: none;
}
.image-open {
    background: rgb(0 0 0 / 10%);
    border-radius: 12px 40px 12px 12px;
    position: absolute;
    padding: 10px 16px 6px;
    left: 8px;
    bottom: 8px;
    cursor: pointer;
    transition: background-color .15s ease-in-out;
    line-height: 1;
}
.image-open:hover {
    background: rgba(0,0,0,.3);
}
.image-open::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'/%3E%3C/svg%3E");
}
.slider-overflow__container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
}
.slider-overflow__container_show {
    display: block;  
}
.slider-overflow {
    margin-left: auto;
    margin-right: auto;
}
.slider-overflow .slider__wrapper {
    height: 100%; 
    margin-left: auto;
    margin-right: auto;
}
.slider-overflow .slider__items {
    height: 100%; 
}
.slider-overflow img {
      /*  max-height: 100%; 
        width: auto;     */
    max-height: 100%;
    max-width: 100%; 
    border-radius: 4px;
    z-index: 800;
    }
.btn-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 900;
    padding: 1.25rem 1rem;
    box-sizing: content-box;
    width: 2em;
    height: 2em;
    padding: 0.25em 0.25em;
    color: #000;
    background: #e5e5e5 url(/img/icons/btn-close.svg) center/2em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
}
.btn-close:hover {
    color: #000;
    opacity: 0.75;
}
.btn-close:focus {
    outline: 0;
    box-shadow: none;
    opacity: 0.75;
}

/* стили для слайдера */
.itcss__items {
    counter-reset: slide;
}
.itcss__item {
    counter-increment: slide;
}
.itcss__item>div::before {
    content: counter(slide);
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-style: italic;
    font-size: 32px;
    font-weight: bold;
}

/* Отчет по заказу */

.report table td {
    padding: 0 8px;
}
.report .txt_l {
    text-align: left;
}
.report .txt_r {
    text-align: right;
}
@media (max-width: 431px) {
    .report table{
        font-size: 16px;
    }
}