/* product-page start  */

.product-page {
    margin-top: 8.4375rem;
}
.product-page__main {
    margin-top: 3.75rem;
    display: grid;
    grid-template-columns: 60.1875rem 1fr;
    column-gap: 4.625rem;
    align-items: start;
    position: relative;
}
.product-page__gallery {
    width: 100%;
    min-width: 0;
    padding: 1.875rem 6.125rem 2.8125rem;
    position: sticky;
    top: 2.5rem;
}
.product-page__gallery-slider {
    width: 100%;
    min-width: 0;
    height: 36rem;
    overflow: hidden;
}
.product-page__gallery-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.product-page__gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.product-page__gallery-controls {
    display: flex;
    align-items: center;
    column-gap: 2.5rem;
    width: 100%;
    min-width: 0;
    margin-top: 1.875rem;
}
.product-page__gallery-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    color: var(--color-black-light);
    transition: color 0.3s ease;
}
.product-page__gallery-arrow svg {
    display: block;
    width: 100%;
    height: auto;
}
@media (hover: hover) {
    .product-page__gallery-arrow:not(.swiper-button-disabled):hover {
        color: var(--color-green-light);
    }
}
.product-page__gallery-arrow:not(.swiper-button-disabled):active {
    color: var(--color-green-light);
}
.product-page__gallery-arrow.swiper-button-disabled,
.product-page__gallery-arrow:disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}
.product-gallery__thumbs {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding-block: 2px;
}
.product-gallery__thumbs .swiper-wrapper {
    align-items: stretch;
}
.product-gallery__thumb {
    height: 5.625rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 0.625rem;
    transition: border-color 0.3s ease;
}
.product-gallery__thumb-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.product-gallery__thumb--360 {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.3125rem;
    padding: 0.625rem;
    font-size: 0.875rem;
    line-height: 90%;
    color: var(--color-black-light);
}
.product-gallery__thumb--360::before {
    content: "";
    background-color: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M0.285714 2.8691L6 0L11.7143 2.8691L6 6.31201L0.285714 2.8691Z' fill='%23080808'/%3E%3Cpath d='M0 8.94441V3.39271L5.70382 6.83563V12L0 8.94441Z' fill='%23080808'/%3E%3Cpath d='M6.33333 6.83563V12L12 8.63598V3.39271L6.33333 6.83563Z' fill='%23080808'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M0.285714 2.8691L6 0L11.7143 2.8691L6 6.31201L0.285714 2.8691Z' fill='%23080808'/%3E%3Cpath d='M0 8.94441V3.39271L5.70382 6.83563V12L0 8.94441Z' fill='%23080808'/%3E%3Cpath d='M6.33333 6.83563V12L12 8.63598V3.39271L6.33333 6.83563Z' fill='%23080808'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    height: 0.75rem;
    width: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.product-gallery__thumb.swiper-slide-thumb-active {
    border-color: var(--color-black-light);
}
.product-page__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3125rem;
    margin-bottom: 1.25rem;
}
.product-page__tag {
    padding: 0.5rem 0.8125rem;
    border-radius: 0.3125rem;
    background-color: var(--color-black-05);
}
.product-page__tag.product-page__tag--green {
    background-color: var(--color-green-light);
    color: var(--color-white);
}
.product-page__title {
    font-family: var(--font-title);
    font-size: var(--font-size-55);
    line-height: 95%;
    letter-spacing: -0.1375rem;
    margin-bottom: 1.875rem;
    max-width: 40.5rem;
}
.product-page__price {
    margin-bottom: 2.5rem;
}
.product-page__variations {
    display: flex;
    flex-direction: column;
    row-gap: 0.75rem;
    margin-bottom: 2.3125rem;
}
.product-page__variations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.product-page__variations-item {
    position: relative;
}
.product-page__variation-input {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    position: absolute;
    opacity: 0;
}
.product-page__variation-label {
    cursor: pointer;
    user-select: none;
    border-radius: 62.5rem;
    border: 1px solid transparent;
    padding: 0.1875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9375rem;
    height: 1.9375rem;
    transition: border-color 0.3s ease;
}
.product-page__variation-label span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.product-page__variation-input:checked + .product-page__variation-label {
    border-color: var(--color-black-light);
}
.product-page__primary-actions {
    display: flex;
    align-items: center;
    margin-bottom: 1.875rem;
}
.product-page__favorite {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    color: var(--color-black-light);
    transition: color 0.3s ease;
}
.product-page__favorite svg {
    width: 1.875rem;
    height: auto;
}
.product-page__secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 3.75rem;
    width: 100%;
}
.product-page__certificates {
    display: flex;
    padding-bottom: 1.875rem;
    width: 40.4375rem;
    border-bottom: 1px solid var(--color-black-20);
    margin-bottom: 1.875rem;
}

.product-page__certificates-button {
    width: fit-content;
}

.product-page__characteristics {
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 1.875rem;
}
.product-page__characteristics-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.product-page__characteristic {
    display: flex;
    flex-direction: column;
    row-gap: 0.375rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-black-20);
}
.product-page__characteristic-name {
    color: var(--color-black-50);
}
.product-page__description {
    margin-top: 10rem;
    max-width: 63.625rem;
    display: flex;
    flex-direction: column;
    row-gap: 1.875rem;
}
.product-page__description-text {
    display: flex;
    flex-direction: column;
    row-gap: 0.625rem;
}
.product-page__description-text ol,
.product-page__description-text ul {
    padding-left: 1.5625rem;
    display: flex;
    flex-direction: column;
    row-gap: 0.625rem;
}
.product-page__description-text ul li {
    list-style-type: disc;
}
.product-page__description-text ol li {
    list-style-type: decimal;
}
.product-page__model-viewer {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
}
@media (max-width: 1024px) {
    .product-page {
        margin-top: 6.875rem;
    }
    .product-page__main {
        margin-top: 2.5rem;
        grid-template-columns: 39rem 1fr;
        column-gap: 0.9375rem;
    }
    .product-page__gallery {
        width: 100%;
        min-width: 0;
        padding: 0 0.75rem 1.25rem;
        display: flex;
        flex-direction: column;
    }
    .product-page__gallery-slider {
        height: 28.125rem;
    }
    .product-page__gallery-controls {
        column-gap: 1.875rem;
        margin-top: 1.25rem;
        width: 33.25rem;
        margin-inline: auto;
    }
    .product-page__gallery-arrow {
        width: 1rem;
    }
    .product-gallery__thumb {
        height: 3.75rem;
    }
    .product-gallery__thumb--360 {
        column-gap: 0.1875rem;
        font-size: 0.625rem;
    }
    .product-gallery__thumb--360::before {
        height: 0.5rem;
        width: 0.5rem;
    }
    .product-page__tags {
        margin-bottom: 0.625rem;
    }
    .product-page__tag {
        padding: 0.3125rem 0.625rem;
        font-size: var(--font-size-12);
        line-height: 130%;
    }
    .product-page__title {
        font-size: var(--font-size-32);
        line-height: 100%;
        letter-spacing: -0.06rem;
        margin-bottom: 1.25rem;
        max-width: 100%;
    }
    .product-page__price {
        margin-bottom: 1.875rem;
    }
    .product-page__variations {
        row-gap: 0.625rem;
    }
    .product-page__variation-label {
        width: 1.625rem;
        height: 1.625rem;
    }
    .product-page__primary-actions {
        margin-bottom: 1.25rem;
    }
    .product-page__favorite {
        width: 3.5rem;
        height: 3.5rem;
    }
    .product-page__favorite svg {
        width: 1.3125rem;
    }
    .product-page__secondary-actions {
        flex-direction: column;
        align-items: start;
        margin-bottom: 3.125rem;
    }
    .product-page__certificates {
        padding-bottom: 1.25rem;
        width: 100%;
    }

    .product-page__characteristics {
        row-gap: 1.25rem;
    }
    .product-page__characteristics-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.9375rem;
    }
    .product-page__description {
        margin-top: 6.25rem;
        max-width: 39rem;
        row-gap: 1.25rem;
    }
}
@media (max-width: 768px) {
    .product-page {
        margin-top: 5.625rem;
    }
    .product-page__main {
        margin-top: 3.75rem;
        display: flex;
        flex-direction: column;
        row-gap: 1.25rem;
    }
    .product-page__gallery {
        padding: 0 0 1.25rem;
        position: relative;
        top: 0;
    }
    .product-page__gallery-slider {
        height: 16.125rem;
    }
    .product-page__gallery-controls {
        width: 100%;
    }
    .product-page__tags {
        margin-bottom: 0.9375rem;
    }
    .product-page__title {
        margin-bottom: 0.75rem;
    }
    .product-page__request {
        flex: 1;
        justify-content: center;
    }
    .product-page__secondary-button,
    .product-page__materials-button {
        width: 100%;
        justify-content: center;
    }

    .product-page__certificates-button {
        width: 100%;
        justify-content: center;
    }
    .product-page__description {
        margin-top: 3.75rem;
        max-width: 100%;
    }
}

/* product-page end  */

/* product-photogallery start  */

.product-photogallery {
    margin-top: 10rem;
    overflow: hidden;
}
.product-photogallery__inner {
    display: flex;
    flex-direction: column;
    row-gap: 3.75rem;
}
.product-photogallery__slider {
    width: 100%;
    overflow: visible;
}
.product-photogallery__slide {
    width: 68.25rem;
    height: 42.5rem;
    overflow: hidden;
    border-radius: 0.625rem;
}
.product-photogallery__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-photogallery__slider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.875rem;
}
.product-photogallery__slider-pagination {
    display: flex;
    align-items: center;
    width: auto !important;
    column-gap: 0.5rem;
}
.product-photogallery__slider-pagination .swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 !important;
    border-radius: 50%;
    background-color: var(--color-black-20);
    opacity: 1;
    transform: scale(1);
    transform-origin: center;
    transition:
            transform 0.3s ease,
            background-color 0.3s ease;
}
.product-photogallery__slider-pagination .swiper-pagination-bullet-active {
    background-color: var(--color-black-light);
    transform: scale(1.25);
}
.product-photogallery__slider-navigation {
    display: flex;
    align-items: center;
    column-gap: 0.3125rem;
}
.product-photogallery__slider-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.625rem;
    height: 3.625rem;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--color-blue-light);
    color: var(--color-black-light);
    transition:
            color 0.3s ease,
            background-color 0.3s ease;
}
.product-photogallery__slider-button svg {
    width: 0.875rem;
    height: auto;
}
@media (hover: hover) {
    .product-photogallery__slider-button:hover {
        color: var(--color-white);
        background-color: var(--color-green-light);
    }
}
.product-photogallery__slider-button:active {
    color: var(--color-white);
    background-color: var(--color-green-light);
}
.product-photogallery__slider-button.swiper-button-disabled {
    pointer-events: none;
    opacity: 0.4;
}
.product-photogallery__slider-scrollbar {
    display: none;
}
@media (max-width: 1024px) {
    .product-photogallery {
        margin-top: 6.25rem;
    }
    .product-photogallery__inner {
        row-gap: 2.5rem;
    }
    .product-photogallery__slide {
        width: 40.25rem;
        height: 25rem;
    }
    .product-photogallery__slider-footer {
        margin-top: 1.25rem;
    }
    .product-photogallery__slider-button {
        width: 2.5rem;
        height: 2.5rem;
    }
}
@media (max-width: 768px) {
    .product-photogallery {
        margin-top: 5rem;
    }
    .product-photogallery__slide {
        width: 20rem;
        height: 17.5rem;
    }
    .product-photogallery__slider-footer {
        margin-top: 1.875rem;
    }
    .product-photogallery__slider-button {
        display: none;
    }
    .product-photogallery__slider-pagination {
        display: none;
    }
    .product-photogallery__slider-scrollbar {
        display: block;
    }
    .product-photogallery__slider-scrollbar.swiper-scrollbar-horizontal {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        height: 1px;
        border-radius: 0;
        background-color: var(--color-blue-dark);
    }
    .product-photogallery__slider-scrollbar .swiper-scrollbar-drag {
        top: 0;
        height: 1px;
        border-radius: 0;
        background-color: var(--color-black-light);
    }
}

/* product-photogallery end  */

/* product gallery popup */
.product-page__gallery-slide:not([data-product-gallery-model]) {
    cursor: pointer;
}
html.is-product-gallery-popup-open,
html.is-product-gallery-popup-open body {
    overflow: hidden;
}
.product-gallery-popup {
    position: fixed;
    z-index: 101;
    inset: 0;
    width: 100%;
    height: 100dvh;
    padding: 6.5rem 15.25rem;
    background: transparent;
}
.product-gallery-popup[hidden] {
    display: none;
}
.product-gallery-popup__slider {
    width: 100%;
    min-width: 0;
    height: 100%;
    background: transparent;
}
.product-gallery-popup__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: transparent;
}
.product-gallery-popup__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
    mix-blend-mode: multiply;
    user-select: none;
}
.product-gallery-popup__close {
    z-index: 4;
}
.product-gallery-popup__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
}
.product-gallery-popup__arrow--prev {
    left: 1.875rem;
}
.product-gallery-popup__arrow--next {
    right: 1.875rem;
}
.product-gallery-popup__arrow.swiper-button-disabled {
    opacity: 0.4;
    pointer-events: auto;
    cursor: default;
}
@media (max-width: 1024px) {
    .product-gallery-popup {
        padding: 6.5rem 6rem;
    }
    .product-gallery-popup__arrow--prev {
        left: 0.9375rem;
    }
    .product-gallery-popup__arrow--next {
        right: 0.9375rem;
    }
}
@media (max-width: 768px) {
    .product-gallery-popup {
        padding: 5.5rem 3rem;
    }
    .product-gallery-popup__arrow {
        width: 2.5rem;
        height: 2.5rem;
    }
    .product-gallery-popup__arrow--prev {
        left: 0.5rem;
    }
    .product-gallery-popup__arrow--next {
        right: 0.5rem;
    }
}

.certificate-gallery-popup__image {
    mix-blend-mode: normal;
}
