/* СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА СТРАНИЦЫ PRODUCT */

.modal-slider {
	display: none;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.7);
	align-items: center;
	justify-content: center;
	padding: 0 5px;
}

.modal-slider.open {
	display: flex;
}

.modal__content {
	position: relative;
	max-width: 70%;
	max-height: 70%;
	background: #fff;
	padding: 10px;
	border-radius: 10px;
	box-shadow: 0 0 10px #000;
	height: auto;
	aspect-ratio: 16/9;
}

.modal-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 3px;
}

.modal__close {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 28px;
	color: #f07c00;
	cursor: pointer;
	z-index: 1;
	display: none;
}

.modal-nav {
	position: absolute;
	top: 50%;
	width: 95%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	padding: 0 10px;
	box-sizing: border-box;
}

.modal__content:hover .modal-nav {
	opacity: 1;
	pointer-events: auto;
}

.modal-nav button {
	background-color: rgba(0, 0, 0, 0.5);
	border: none;
	color: #fff;
	font-size: 24px;
	padding: 5px 10px;
	cursor: pointer;
	border-radius: 3px;
	transition: background 0.3s ease;
}

.modal-nav button:hover {
	color: #f07c00;
}

@media (max-width: 620px) {
    
    .modal__content {
		width: 90%;
		max-width: 90%;
	}
	
	.modal-nav button {
		font-size: 18px;
		padding: 3px 8px;
	}
	
	.modal__close {
		font-size: 24px;
		right: 15px;
	}
	
    .modal-slider {
    	width: 100%;
    }
}


/* СТИЛИ БЛЯ БЛОКА PRODUCT-DESCRIPTION */

#teh_har,
#markirovka,
#stand_mod {
    scroll-margin-top: 8rem;
}

.product-description {
    display: flex;
    column-gap: 30px;
    flex-wrap: wrap;
}

.product-description__gallery {
    flex: 1 1 520px;
    min-width: 0;
}

.product-description__text {
    flex: 1 1 400px;
    min-width: 0;
}

.product-description__slider-list li {
	display: none;
}

.product-description__slider-list li.active {
	display: block;
}

.product-description__slider-img {
	width: 370px;
	height: 350px;
	object-fit: contain;
	border: 1px solid #f5f5f5;
	border-radius: 3px;
	cursor: pointer;
	transition: 0.2s ease;
}

.product-description__slider-img:hover {
	border: 1px solid #f07c00;
	opacity: 0.75;
}

.product-description__slider-wrapper {
	display: flex;
	flex-wrap: wrap;
	column-gap: 30px;
}

.product-description__nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex-direction: column;
	margin: 0;
	padding: 0;
	height: 100%;
}

.product-description__nav-item {
	display: block;
	box-sizing: border-box;
	transition: 0.2s ease;
}

.product-description__nav-img {
	transition: 0.2s ease;
	width: 120px;
	height: 120px;
	object-fit: contain;
}

.product-description__nav-img:hover {
	border: 1px solid #f07c00;
	opacity: 0.75;
}

.product-description__slider-nav .active .product-description__nav-img {
	border: 1px solid #dcdcdc;
}

.product-description__nav-img {
	border: 1px solid #f5f5f5;
	border-radius: 3px;
	cursor: pointer;
}

.product-description__document-link {
	display: inline-flex;
	align-items: center;
	position: relative;
}

.product-description__document-link a {
	margin-left: 15px;
	color: #f07c00;
}

.product-description__document-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffab52;
    transition: width 0.3s ease-out;
}

.product-description__document-link:hover::after {
    width: 100%;
}

.product-description__text li {
	margin: 10px 0 0 10px;
}

.product-description__features {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 16px;
	color: #514f4f;
	margin-top: 10px;
}

.product-description__content {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 16px;
	color: #514f4f;
	cursor: text;
	line-height: 136%;
}

.product-description__content li {
	padding-bottom: 10px;
	cursor: text;
	line-height: 136%;
}

.product-description__text li:before {
	content: "";
	z-index: 10;
	position: absolute;
	width: 4px;
	height: 4px;
	margin: 8px 0 0 -10px;
	background: #f07c00;
}

.product-description__wrapper {
	display: flex;
	column-gap: 80px;
}

.product-description__controls {
	display: flex;
	column-gap: 20px;
}

.product-description__actions,
.product-description__controls-wrapper {
	display: flex;
	flex-direction: column;
	row-gap: 10px;
}

.product-description__button {
	border-radius: 5px;
	padding: 13px 20px;
	font-family: var(--font-family);
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
	display: inline-block;
	min-width: 250px;
	border: 2px solid #f07c00;
	background: #fff;
	font-size: 14px;
	color: #f07c00;
	transition: all .3s ease-out;
}

.product-description__button:hover {
	background: #f07c00;
	color: #fff;
	cursor: pointer;
}

.product-description__button--primary {
	background: #f07c00;
	color: #fff;
	transition: all .3s ease-out;
}

.product-description__button--primary:hover {
	background: #fff;
	color: #f07c00;
	cursor: pointer;
	border: 2px solid #f07c00;
}

.product-description__price {
	position: relative;
}

.product-description__price-value {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 22px;
	text-align: center;
	color: #fff;
	z-index: 2;
	position: absolute;
	top: 8px;
	left: 75px;
}

@media (max-width: 995px) {
    
    /* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА PRODUCT-DESCRIPTION */
    
    .product-description__controls {
    	padding-bottom: 15px;
    	flex-wrap: wrap;
    }
}

@media (max-width: 620px) {
    
    /* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА PRODUCT-DESCRIPTION */
    
    .product-description__controls-wrapper {
        flex-direction: column-reverse;
        padding-bottom: 10px;
    }
    
    .product-description__nav-list {
	    flex-direction: row;
    }
    
    .product-description__slider-img {
    	width: 250px;
    	height: 230px;
    }
    
    .product-description__document-link a {
    	margin-left: 5px;
    	font-size: 13px;
    }
}

/* СТИЛИ ДЛЯ БЛОКА PRODUCT-SPECS */

.product-specs__table {
	margin-top: 20px;
	border-collapse: collapse;
	width: 100%;
}

.product-specs__header {
	background-color: #f07c00;
	color: #fff;
	height: 36px;
	border-top: 1px solid #fff;
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 14px;
	color: #fff;
}

.product-specs__header--name {
	text-align: left;
	padding-left: 30px;
	padding-right: 5px;
	border-right: 1px solid #fff;
	width: 50%;
}

.product-specs__header--value {
	text-align: center;
}

.product-specs__row:nth-child(odd) {
	background-color: #ffddb9;
}

.product-specs__row:nth-child(even) {
	background-color: #fff4e9;
}

.product-specs__cell {
	padding: 5px;
	border-top: 1px solid #fff;
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 14px;
	color: #514f4f;
}

.product-specs__cell--name {
	text-align: left;
	padding-left: 30px;
	border-right: 1px solid #fff;
}

.product-specs__cell--value {
	text-align: center;
}

.product-specs__note {
	margin-top: 15px;
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 10px;
	color: #ff0909;
}

@media (max-width: 620px) {
    
    /* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА PRODUCT-SPECS */
    
    .product-specs__cell--name,
    .product-specs__header--name {
    	padding-left: 10px;
    }
}
  
/*  СТИЛИ ДЛЯ БЛОКА PRODUCT-MARKING */
  
.product-marking {
    position: relative;
    width: 100%;
}

.product-marking__container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    column-gap: 1px;
    row-gap: 5px;
}

.product-marking__pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.product-marking__top {
    background: #f07c00;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    width: 100%;
    padding: 12px 16px;
    white-space: nowrap;
}

.product-marking__bottom {
    background: #767676;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    height: 20px;
    line-height: 20px;
    width: 100%;
}

.product-marking__separator {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: #514f4f;
    font-weight: 900;
    padding: 0 15px;
}

.product-marking__table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    table-layout: fixed; 
}

.product-marking__cell--number {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 136%;
    text-align: center;
    color: #fff;
    background-color: #767676;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #767676;
    width: 8%;
    min-width: 50px;
}

.product-marking__cell--description {
    background-color: #f07c00;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    padding: 20px;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #f07c00;
    width: 52%; 
}

.product-marking__cell--details {
    background-color: #fff;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: #514f4f;
    padding: 20px;
    border: 1px solid #f07c00;
    width: 40%;
}

.product-marking__cell--first {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 136%;
    text-align: center;
    color: #fff;
    background-color: #767676;
    padding: 15px;
    border-bottom: 1px solid #767676;
}

.product-marking__cell--prelast {
    background-color: #f07c00;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    min-width: 450px;
    padding: 20px;
    border-bottom: 1px solid #f07c00;
}

.product-marking__highlight{
    font-size: 16px;
    color: #f07c00;
    font-weight: 600;
}

@media (max-width: 620px) {
    
    /* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА PRODUCT-DESCRIPTION */
    .product-marking__container {
        display: block;
        text-align: center;
    }
    
    .product-marking__top {
        padding: 6px 8px;
    }
    
    .product-marking__cell--number,
    .product-marking__cell--first {
        width: 15%;
        padding: 5px;
        font-size: 13px;
    }
    
    .product-marking__cell--description,
    .product-marking__cell--prelast {
        padding: 5px;
        font-size: 13px;
    }
    
    .product-marking__cell--details {
        padding: 5px;
        font-size: 12px;
    }
    
    .product-marking__highlight{
        font-size: 12px;
    }
    
    .product-marking__cell--details {
        width: 50%;
    }
}

/* СТИЛИ ДЛЯ БЛОКА PRODUCT-STANDART */

.product-standart__table {
    margin-top: 20px;
    border-collapse: collapse;
    width: 100%;
}

.product-standart__header {
    background-color: #f07c00;
    color: #fff;
}

.product-standart__header-cell {
    height: 36px;
    border-top: 1px solid #fff;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.product-standart__header-cell--name {

    border-right: 1px solid #fff;
    width: 10%;
}

.product-standart__header-cell--value {
    text-align: center;
    border-right: 1px solid #fff;
    width: 20%;
}

.product-standart__header-cell:last-child {
    border-right: none;
}

.product-standart__row:nth-child(odd) {
    background-color: #ffddb9;
}

.product-standart__row:nth-child(even) {
    background-color: #fff4e9;
}

.product-standart__cell {
    height: 36px;
    border-top: 1px solid #fff;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    color: #514f4f;
}

.product-standart__cell--name {
    text-align: left;
    padding-left: 30px;
    border-right: 1px solid #fff;
}

.product-standart__cell--value {
    text-align: center;
    border-right: 1px solid #fff;
}

.product-standart__cell:last-child {
    border-right: none;
}