body {
    background-color: #F6F6F6;
}
.product-page-info {
    display: flex;
    gap: 20px;
}
.page-title-block {
    padding-bottom: 32px;
    background-color: transparent;
}
.product-photo-column {
    width: 555px;
    min-width: 555px;
    height: auto;
}
.product-gallery-wrapper {
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: 450px;
    gap: 10px;
    position: sticky;
    top: 90px;
}
.product-thumbs-swiper {
    width: 99px;
    height: 450px;
}
.product-thumbs-swiper .swiper-slide {
    width: 95px !important;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.product-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-thumbs-swiper .swiper-slide {
    border: 2px solid transparent;
}
.product-thumbs-swiper .swiper-slide-thumb-active {
    border: 2px solid var(--color-violet);
}

.product-main-swiper {
    width: 450px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.product-main-swiper .swiper-slide { display:flex; align-items:center; justify-content:center; }
.product-main-swiper .swiper-slide img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
}
.gallery-button-prev,
.gallery-button-next {
    display: none;
}
.gallery-button-prev { left: 8px; }
.gallery-button-next { right: 8px; }
.product-info-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}
.product-actions-column {
    width: 325px;
    min-width: 325px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.product-page-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-page-header h1 {
    font-size: 24px;
    color: var(--color-gray-dark);
    font-weight: 600;
}
.gray-label {
    font-size: 14px;
    color: #676767;
    font-weight: 400;
}
.product-page-header .gray-label {
    font-size: 16px;
    color: #676767;
}
.product-page-header p {
    font-size: 16px;
    color: var(--color-gray-dark);
    font-weight: 500;
}
.size-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.size-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.size-table-button {
    display: flex;
    gap: 4px;
    align-items: center;
}
.size-table-button p {
    font-size: 14px;
    color: #5159FE;
}
.product-specs-short {
    display: flex;
    flex-direction: column;
}
.subheading-18 {
    font-size: 18px;
    color: var(--color-gray-dark); 
    font-weight: 700;
    line-height: 120%;
}
.product-specs-short-list {
    display: flex;
    flex-direction: column;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0px;
    border-bottom: 1px solid transparent;
    gap: 20px;
}
.spec-row:not(:last-child) {
    border-bottom: 1px solid #E8E8E8;
}
/* Таб-меню */
.detailed-info-section {
    margin-top: 82px;
}
.tabs-nav {
    display: flex;
    gap: 24px;
}
.tab-btn {
    position: relative;
    padding: 0px 0px 6px 0px;
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: 700;
    color: #676767;
    cursor: pointer;
}
.tab-btn.active {
    color: var(--color-gray-dark);
}
.tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--color-red);
    border-radius: 2px;
}
.tabs-content {
    padding-top: 16px;
}
.tab-panel[hidden] { display: none; }
.rich-text {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.rich-text p { 
    color: #676767; 
    line-height: 120%; 
    font-size: 14px;
}
.rich-text ul { padding-left: 18px; }


.related-products-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}
.related-products-section h3 {
    font-size: 60px;
    font-weight: 800;
    color: var(--color-gray-dark)
}
.related-products-slider {
    display: flex;
    gap: 10px;
}
.related-products-slider .product-card {
    width: calc((100% - 10px * 4) / 5) !important;
}
.related-products-slider .product-card:hover .open-preview {
    display: none;
    font-weight: 500;
}

.specs-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
    margin-bottom: 82px;
}
.specs-section .subheading {
    margin-bottom: 2px;
}

.subheading {
    font-size: 24px;
    color: var(--color-gray-dark); 
    font-weight: 700;
    line-height: 120%;
}
.specs-columns {
    display: flex;
    column-gap: 60px;
    row-gap: 0px;
    flex-wrap: wrap;
}
.specs-columns > .spec-row {
    width: calc((100% - 60px) / 2);
    gap: 40px;
}
.specs-column {
    width: calc((100% - 60px) / 2);
    display: flex;
    flex-direction: column;
}
.specs-column .subheading-18 {
    margin-bottom: 2px;
}
.spec-row:has(+ .subheading-18) {
    margin-bottom: 12px;
    border-bottom: 1px solid transparent;
}
#deatiledInfo {
    scroll-margin-top: 90px;
}

.product-page-section .preview-add-to-cart-button {
    width: 100%;
}
.product-photo-column .popular-catalog-card__top-rating {
    position: absolute;
    top: 12px;
    left: 12px;
    width: fit-content;
}