/* CSS ПЕРЕМЕННЫЕ ДЛЯ ТЕМНОЙ ТЕМЫ */

:root {
  /* Светлая тема (по умолчанию) */
  --primary-color: #f07c00;
  --primary-hover: #e57300;
  --primary-light: #ffab52;
  
  --text-primary: #514f4f;
  --text-secondary: #929292;
  --text-white: #ffffff;
  --text-black: #000000;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f0f0f0;
  --bg-orange: #f07c00;
  --bg-dark: #121212;
  --bg-gray: #767676;
  --bg-light-gray: #f5f5f5;
  
  --border-color: #e2e2e2;
  --border-dark: #333333;
  --border-light: #d6d6d6;
  --border-orange: #f07c00;
  
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --shadow-orange: rgba(240, 124, 0, 0.15);
  
  --error-color: #ff6b6b;
  --success-color: #4caf50;
  
  /* Дополнительные цвета для product */
  --thumbnail-border: #DCDCDC;
  --thumbnail-active: #000000;
  --modal-overlay: rgba(0,0,0,0.6);
  --modal-bg: #fff;
  --modal-close: #f07c00;
  --modal-nav-bg: rgba(0,0,0,0.5);
  --specs-odd: #ffddb9;
  --specs-even: #fff4e9;
  --specs-border: #fff;
  --marking-gray: #767676;
  --marking-border: #767676;
  --marking-highlight: #f07c00;
  --table-header: #f07c00;
  --table-odd: #ffddb9;
  --table-even: #fff4e9;
  --scrollbar-bg: #f5f5f5;
  --scrollbar-thumb: #c1c1c1;
}

/* Темная тема */
[data-theme="dark"] {
  --primary-color: #ff9800;
  --primary-hover: #ffb74d;
  --primary-light: #ffcc80;
  
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --text-white: #ffffff;
  --text-black: #f5f5f5;
  
  --bg-primary: #48494a;
  --bg-secondary: #464747;
  --bg-tertiary: #2d2d2d;
  --bg-orange: #333333;
  --bg-dark: #000000;
  --bg-gray: #444444;
  --bg-light-gray: #2d2d2d;
  
  --border-color: #e2e2e2;
  --border-dark: #444444;
  --border-light: #444444;
  --border-orange: #ff9800;
  
  --shadow-light: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --shadow-dark: rgba(0, 0, 0, 0.5);
  --shadow-orange: rgba(255, 152, 0, 0.2);
  
  --error-color: #ff5252;
  --success-color: #66bb6a;
  
  /* Дополнительные цвета для product в темной теме */
  --thumbnail-border: #555555;
  --thumbnail-active: #ff9800;
  --modal-overlay: rgba(0,0,0,0.7);
  --modal-bg: #707070;
  --modal-close: #ff9800;
  --modal-nav-bg: rgba(0,0,0,0.7);
  --specs-odd: #333333;
  --specs-even: #2d2d2d;
  --specs-border: #7a7a79;
  --marking-gray: #555555;
  --marking-border: #444444;
  --marking-highlight: #ff9800;
  --table-header: #ff9800;
  --table-odd: #454545;
  --table-even: #3a3a3a;
  --scrollbar-bg: #2d2d2d;
  --scrollbar-thumb: #555555;
}

/* Автоматическое определение темы системы */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary-color: #ff9800;
    --primary-hover: #ffb74d;
    --primary-light: #ffcc80;
    
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-white: #ffffff;
    --text-black: #f5f5f5;
    
    --bg-primary: #121212;
    --bg-secondary: #464747;
    --bg-tertiary: #2d2d2d;
    --bg-orange: #333333;
    --bg-dark: #000000;
    --bg-gray: #444444;
    --bg-light-gray: #2d2d2d;
    
    --border-color: #333333;
    --border-dark: #444444;
    --border-light: #444444;
    --border-orange: #ff9800;
    
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-dark: rgba(0, 0, 0, 0.5);
    --shadow-orange: rgba(255, 152, 0, 0.2);
    
    --error-color: #ff5252;
    --success-color: #66bb6a;
    
    --thumbnail-border: #555555;
    --thumbnail-active: #ff9800;
    --modal-overlay: rgba(0,0,0,0.7);
    --modal-bg: #707070;
    --modal-close: #ff9800;
    --modal-nav-bg: rgba(0,0,0,0.7);
    --specs-odd: #333333;
    --specs-even: #2d2d2d;
    --specs-border: #7a7a79;
    --marking-gray: #555555;
    --marking-border: #444444;
    --marking-highlight: #ff9800;
    --table-header: #ff9800;
    --table-odd: #454545;
    --table-even: #3a3a3a;
    --scrollbar-bg: #2d2d2d;
    --scrollbar-thumb: #555555;
  }
}

/* СТИЛИ ДЛЯ БЛОКА 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 var(--border-color);
    background: var(--bg-primary);
    padding: 6px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: var(--text-primary);
    transition: all .3s ease;
}

.product-description__thumbnails-arrow:hover:not(:disabled) {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.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 var(--thumbnail-border);
    transition: .1s;
    background: var(--thumbnail-bg);
}

.product-description__thumbnails-img:hover { 
    border-color: var(--primary-color); 
    opacity: 0.85; 
}

.product-description__thumbnails-item--active .product-description__thumbnails-img { 
    border: 2px solid var(--thumbnail-active); 
}

.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 var(--border-color);
    border-radius: 3px;
    cursor: pointer;
    transition: .3s ease;
    background: var(--bg-primary);
}

.product-description__main-image-img:hover {
    border: 1px solid var(--primary-color);
    opacity: 0.75;
}

.product-description__label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--text-white);
    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: var(--modal-overlay);
    align-items: center;
    justify-content: center;
}

.product-description__modal--open {
    display: flex;
}

.product-description__modal-content {
    position: relative;
    width: 750px;
    height: 570px;
    background: var(--modal-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--shadow-dark);
    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: var(--modal-bg);
}

.product-description__modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 34px;
    color: var(--modal-close);
    cursor: pointer;
    transition: transform .3s ease;
}

.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: var(--modal-nav-bg);
    border: none;
    color: var(--text-white);
    font-size: 24px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    transition: background .3s ease;
}

.product-description__modal-nav-btn:hover {
    color: var(--primary-color);
}

.product-description__document-link {
    display: inline-flex;
    align-items: center;
}

.product-description__document-link a {
    margin-left: 15px;
    color: var(--primary-color);
    position: relative;
    text-decoration: none;
}

.product-description__document-link a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    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: var(--text-primary);
    margin-top: 10px;
}

.product-description__content {
    font-weight: 400;
    font-size: 16px;
    color: var(--text-primary);
    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: var(--primary-color);
}

.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 var(--primary-color);
    background: var(--bg-primary);
    font-size: 14px;
    color: var(--primary-color);
    transition: all .3s ease-out;
    text-decoration: none;
    cursor: pointer;
}

.product-description__button:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.product-description__button--primary {
    background: var(--primary-color);
    color: var(--text-white);
    transition: all .3s ease-out;
    border: 2px solid transparent;
}

.product-description__button--primary:hover {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.product-description__price {
    position: relative;
}

.product-description__price-value {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    color: var(--text-white);
    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%;
    }
}

/* СТИЛИ БЛЯ БЛОКА 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: var(--modal-overlay);
}

.product-order__modal__box {
    margin: 0px auto;
    box-shadow: 0px 4px 18px var(--shadow-dark);
    position: relative;
    height: 100%;
}

.product-order__modal__content {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-order__modal__header {
    flex: 0 0 45%;
    background: var(--primary-color);
    display: flex;
    align-items: flex-start;
    padding-top: 30px;
}

.product-order__modal__body {
    flex: 0 0 55%;
    background: var(--bg-primary);
    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: var(--primary-color);
    transform: rotate(45deg);
    cursor: pointer;
    justify-self: end;
    align-self: start;
    transition: color .3s ease;
}

.product-order__modal__close:hover {
    color: var(--primary-hover);
}

.product-order__modal__title {
    font-weight: 700;
    font-size: 30px;
    color: var(--text-white);
    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: var(--text-white);
}

.product-order__modal__description {
    font-weight: 400;
    font-size: 16px;
    text-align: justify;
    color: var(--text-primary);
    margin-left: auto; 
}

.product-order__modal__text {
    max-width: 950px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-top: 20px;
}

.product-order__modal__info {
    font-weight: 600;
    font-size: 20px;
    line-height: 183%;
    text-align: center;
    color: var(--text-primary);
    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: var(--text-white);
    border-radius: 5px;
    background: var(--primary-color);
    border: none;
    padding: 15px 55px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: all .3s ease-out;
}

.product-order__modal__button:hover {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.product-order__modal__contact-info {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

.product-order__modal__contact-info p:not(:first-child) {
    margin-top: 15px;
}

.product-order__modal__contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color .3s ease;
}

.product-order__modal__contact-info a:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА 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;
        margin-left: 0;
    }
    
    .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: var(--table-header);
    color: var(--text-white);
    height: 36px;
    border-top: 1px solid var(--specs-border);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-white);
}

.product-specs__header--name {
    text-align: left;
    padding-left: 30px;
    padding-right: 5px;
    border-right: 1px solid var(--specs-border);
    width: 50%;
}

.product-specs__header--value {
    text-align: center;
}

.product-specs__row:nth-child(odd) {
    background-color: var(--table-odd);
}

.product-specs__row:nth-child(even) {
    background-color: var(--table-even);
}

.product-specs__cell {
    padding: 5px;
    border-top: 1px solid var(--specs-border);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.product-specs__cell--name {
    text-align: left;
    padding-left: 30px;
    border-right: 1px solid var(--specs-border);
}

.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: var(--error-color);
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА 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: var(--primary-color);
    color: var(--text-white);
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    width: 100%;
    padding: 12px 16px;
    white-space: nowrap;
}

.product-marking__bottom {
    background: var(--bg-gray);
    color: var(--text-white);
    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: var(--text-primary);
    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: var(--text-white);
    background-color: var(--bg-gray);
    border-bottom: 1px solid var(--specs-border);
    border-top: 1px solid var(--marking-border);
    width: 8%;
    min-width: 50px;
}

.product-marking__cell--description {
    background-color: var(--primary-color);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-white);
    padding: 20px;
    border-bottom: 1px solid var(--specs-border);
    border-top: 1px solid var(--primary-color);
    width: 52%; 
}

.product-marking__cell--details {
    background-color: var(--bg-primary);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 20px;
    border: 1px solid var(--primary-color);
    width: 40%;
}

.product-marking__cell--first {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 136%;
    text-align: center;
    color: var(--text-white);
    background-color: var(--bg-gray);
    padding: 15px;
    border-bottom: 1px solid var(--marking-border);
}

.product-marking__cell--prelast {
    background-color: var(--primary-color);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-white);
    min-width: 450px;
    padding: 20px;
    border-bottom: 1px solid var(--primary-color);
}

.product-marking__highlight {
    font-size: 16px;
    color: var(--marking-highlight);
    font-weight: 600;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА PRODUCT-MARKING */

@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: var(--table-header);
    color: var(--text-white);
}

.product-standart__header-cell {
    height: 36px;
    border-top: 1px solid var(--specs-border);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-white);
}

.product-standart__header-cell--name {
    border-right: 1px solid var(--specs-border);
    width: 10%;
}

.product-standart__header-cell--value {
    text-align: center;
    border-right: 1px solid var(--specs-border);
    width: 20%;
}

.product-standart__header-cell:last-child {
    border-right: none;
}

.product-standart__row:nth-child(odd) {
    background-color: var(--table-odd);
}

.product-standart__row:nth-child(even) {
    background-color: var(--table-even);
}

.product-standart__cell {
    height: 36px;
    border-top: 1px solid var(--specs-border);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.product-standart__cell--name {
    text-align: left;
    padding-left: 30px;
    border-right: 1px solid var(--specs-border);
}

.product-standart__cell--value {
    text-align: center;
    border-right: 1px solid var(--specs-border);
}

.product-standart__cell:last-child {
    border-right: none;
}

/* Дополнительные улучшения для темной темы */
[data-theme="dark"] .product-description__thumbnails-arrow {
    border-color: var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .product-description__thumbnails-arrow:hover:not(:disabled) {
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

[data-theme="dark"] .product-description__main-image-img {
    border-color: var(--border-color);
    background: var(--bg-secondary);
}

[data-theme="dark"] .product-description__modal-content {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .product-marking__cell--details {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

[data-theme="dark"] .product-specs__row:nth-child(odd),
[data-theme="dark"] .product-standart__row:nth-child(odd) {
    background-color: var(--table-odd);
}

[data-theme="dark"] .product-specs__row:nth-child(even),
[data-theme="dark"] .product-standart__row:nth-child(even) {
    background-color: var(--table-even);
}

/* Прокрутка для миниатюр в темной теме */
[data-theme="dark"] .product-description__thumbnails-viewport::-webkit-scrollbar {
    display: block;
    width: 8px;
}

[data-theme="dark"] .product-description__thumbnails-viewport::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
    border-radius: 4px;
}

[data-theme="dark"] .product-description__thumbnails-viewport::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}

[data-theme="dark"] .product-description__thumbnails-viewport::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}