/* СТИЛИ БЛЯ БЛОКА 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-wrapper {
    display: flex;
    column-gap: 25px;
}

.product-description__thumbnails {
    width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

.product-description__thumbnails-arrow {
    width: 100%;
    border: 1px solid #ddd;
    background: #fff;
    padding: 6px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.product-description__thumbnails-arrow:disabled {
    opacity: 0.5;
    cursor: default;
}

.product-description__thumbnails-viewport {
    width: 100%;
    max-height: 350px; 
    overflow: hidden;
    box-sizing: border-box;
}

.product-description__thumbnails-list {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .3s ease;
    will-change: transform;
}

.product-description__thumbnails-item { 
    box-sizing: border-box; 
}

.product-description__thumbnails-img {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid #DCDCDC;
    transition: .1s;
    background: #fff;
}

.product-description__thumbnails-img:hover { 
    border-color: #f07c00; 
    opacity: 0.85; 
}

.product-description__thumbnails-item--active .product-description__thumbnails-img { 
    border: 2px solid #000; 
}

.product-description__main-image {
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-description__main-image-item {
    display: none;
    position: relative;
}
    
.product-description__main-image-item:first-child {
    display: block;
}

.product-description__main-image-img {
    width: 370px;
    height: 350px;
    object-fit: contain;
    border: 1px solid #F5F5F5;
    border-radius: 3px;
    cursor: pointer;
    transition: .3s ease;
    background: #fff;
}

.product-description__main-image-img:hover {
    border: 1px solid #f07c00;
    opacity: 0.75;
}

.product-description__label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f07c00;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.product-description__modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.product-description__modal--open {
    display: flex;
}

.product-description__modal-content {
    position: relative;
    width: 750px;
    height: 650px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-description__modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 3px;
    background: #fff;
}

.product-description__modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 34px;
    color: #f07c00;
    cursor: pointer;
}

.product-description__modal-close:hover {
    transform: scale(1.15);
}

.product-description__modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    padding: 0 20px;
}

.product-description__modal-content:hover .product-description__modal-nav {
    opacity: 1;
    pointer-events: auto;
}

.product-description__modal-nav-btn {
    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 .3s ease;
}

.product-description__modal-nav-btn:hover {
    color: #f07c00;
}

.product-description__document-link {
    display: inline-flex;
    align-items: center;
}

.product-description__document-link a {
    margin-left: 15px;
    color: #f07c00;
    position: relative;
}

.product-description__document-link a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f07c00;
    transition: width .3s ease-out;
}

.product-description__document-link a:hover::after {
    width: 100%;
}

.product-description__text li {
    margin: 10px 0 0 10px;
}

.product-description__features {
    font-weight: 600;
    font-size: 16px;
    color: #514f4f;
    margin-top: 10px;
}

.product-description__content {
    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-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;
    text-decoration: none;
}

.product-description__button:hover {
    background: #f07c00;
    color: #fff;
    cursor: pointer;
}

.product-description__button--primary {
    background: #f07c00;
    color: #fff;
    transition: all .3s ease-out;
    border: 2px solid transparent;
}

.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;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА PRODUCT-DESCRIPTION */

@media (max-width: 1150px) {
    
    .product-description__controls {
        padding-bottom: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width: 820px) {
    
    .product-description__slider-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .product-description__thumbnails {
        width: 100%;
        flex-direction: row;
        position: relative;
        order: 2;
    }

    .product-description__main-image-wrapper {
        order: 1;
    }

    .product-description__thumbnails-viewport {
        max-height: none;
        width: calc(100% - 60px);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .product-description__thumbnails-viewport::-webkit-scrollbar {
        display: none;
    }

    .product-description__thumbnails-list {
        flex-direction: row;
        gap: 10px;
        padding: 10px 0;
        transition: transform .3s ease;
    }

    .product-description__thumbnails-item {
        flex-shrink: 0;
    }

    .product-description__thumbnails-arrow {
        margin-top: 70px;
        z-index: 2;
        width: 20px;
        height: 70px;
        padding: 0;
    }

    .product-description__thumbnails-arrow--up {
        left: 0;
        transform: translateY(-50%) rotate(360deg);
    }

    .product-description__thumbnails-arrow--down {
        right: 0;
        transform: translateY(-50%) rotate(360deg);
    }

    .product-description__main-image-img {
        width: 100%;
        max-width: 100%;
    }

    .product-description__thumbnails-img {
        width: 80px;
        height: 80px;
    }

    .product-description__modal-content {
        width: 90vw;
        height: auto;
        max-height: 80vh;
        padding: 20px;
    }
    
    .product-description__modal-image {
        max-height: 70vh;
    }
    
    .product-description__document-link a {
        font-size: 13px;
    }
}

@media (max-width: 620px) {
    
    .product-description__controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-description__main-image-img {
        width: 100%;
        height: auto;
    }
    
    .product-description__document-link a {
        margin-left: 5px;
        font-size: 13px;
    }
    
    .product-description__button {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 620px) {
    
    .product-description__controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .product-description__main-image-img {
        width: 100%;
        height: auto;
    }
    
    .product-description__document-link a {
        margin-left: 5px;
        font-size: 13px;
    }
    
    .product-description__button {
        min-width: auto;
        width: 100%;
    }
}

/* СТИЛИ БЛЯ БЛОКА PRODUCT-ORDER__MODAL */

.product-order__modal {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    overflow: auto;
    overscroll-behavior: contain;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
}

.product-order__modal__box {
    margin: 0px auto;
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.52);
    position: relative;
    height: 100%;
}

.product-order__modal__content {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-order__modal__header {
    flex: 0 0 45%;
    background: #f07c00;
    display: flex;
    align-items: flex-start;
    padding-top: 30px;
}

.product-order__modal__body {
    flex: 0 0 55%;
    background: #fff;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    padding: 20px 20px 20px 65px;
    position: relative;
}

.product-order__modal__close {
    font-weight: 700;
    font-size: 30px;
    color: #f07c00;
    transform: rotate(45deg);
    cursor: pointer;
    justify-self: end;
    align-self: start;
}

.product-order__modal__title {
    font-weight: 700;
    font-size: 30px;
    color: #fff;
    position: relative;
    margin-left: 75px;
    margin-top: 30px;
    display: inline-block;
    max-width: 700px;
    padding-left: 20px;
}

.product-order__modal__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: #fff;
}

.product-order__modal__description {
    font-weight: 400;
    font-size: 16px;
    text-align: justify;
    color: #514f4f;
    margin-left: auto; 
}

.product-order__modal__text {
    max-width: 950px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 20px;
}

.product-order__modal__info {
    font-weight: 600;
    font-size: 20px;
    line-height: 183%;
    text-align: center;
    color: #514f4f;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.product-order__modal__button {
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
    text-align: justify;
    color: #fff;
    border-radius: 5px;
    background: #f07c00;
    border: none;
    padding: 15px 55px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.product-order__modal__contact-info {
    font-size: 16px;
    line-height: 1.6;
}

.product-order__modal__contact-info p:not(:first-child) {
    margin-top: 15px;
}

.product-order__modal__contact-info a {
    color: #f07c00;
    text-decoration: none;
    font-weight: 600;
}

.product-order__modal__contact-info a:hover {
    text-decoration: underline;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА PRODUCT-ORDER__MODAL */

@media (max-width: 900px) {
    
    .product-order__modal__content {
        flex-direction: column;
    }
 
    .product-order__modal__header {
        flex: 0 0 auto;
        padding: 20px;
    }

    .product-order__modal__body {
        flex: 1 1 auto;
        padding: 20px;
        grid-template-rows: auto auto auto auto;
    }
    
    .product-order__modal__title {
        margin-left: 0;
        margin-top: 0;
        padding-left: 15px;
        font-size: 24px;
    }

    .product-order__modal__close {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .product-order__modal__description {
        font-size: 14px;
        text-align: left;
    }
    
    .product-order__modal__info {
        font-size: 16px;
        text-align: left;
    }
    
    .product-order__modal__button {
        font-size: 15px;
        padding: 12px 40px;
        max-width: 280px;
    }
}

@media (max-width: 620px) {

    .product-order__modal__body {
        padding: 15px;
    }

    .product-order__modal__title {
        font-size: 20px;
        padding-left: 12px;
    }

    .product-order__modal__description {
        font-size: 13px;
    }

    .product-order__modal__info,
    .product-order__modal__contact-info {
        font-size: 14px;
    }

    .product-order__modal__button {
        font-size: 14px;
        padding: 10px 30px;
    }
}

/* СТИЛИ ДЛЯ БЛОКА 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;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА PRODUCT-SPECS */

@media (max-width: 620px) {
    
    .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;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА PRODUCT-DESCRIPTION */

@media (max-width: 620px) {
    
    .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;
}