.product-single__layout {
    gap: 2.8rem;
}

.product-single__gallery {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    position: sticky;
    top: 5rem;
    align-self: start;
    z-index: 1;
    background: var(--brand-muted);
    border-radius: 2.5rem;
}

.product-single__gallery-inner {
    max-width: 100%;
    width: 100%;
}

.product-single__certificate {
    gap: var(--space-1);
    position: absolute !important;
    top: 1.8rem;
    left: 1.8rem;
    z-index: 2;
}


.product-single__layout .product-labels {
    background: var(--brand-muted);
}


.product-single__zoom {
    display: block;
    cursor: zoom-in;
    width: 100%;
    height: 100%;
    padding: 1.8rem;
    aspect-ratio: 915 / 570;
}

.product-single__slider {
    width: 100%;
    aspect-ratio: 915 / 570;
}

.product-single__slide .product-single__image {
    pointer-events: none;
}

.product-single__slider-controls {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-2);
}

.product-single__image,
.product-single__placeholder {
    display: block;
    width: 100%;
    object-fit: contain;
    /* border-radius: 2.5rem;
    background: var(--brand-muted); */
    height: 100%;
}

.product-single__gallery .slider-controls__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--brand);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.product-single__gallery .slider-controls__pagination .swiper-pagination-bullet {
    background: var(--bg-white);

}

.product-single__gallery .product-single__slider-controls {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-2);
    position: absolute;
    bottom: var(--space-4);
    z-index: 2;
}


.product-single__title {
    margin: 0;
}

.product-single__price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--brand);
}

.product-single__price del {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 0.4rem;
}

.product-single__info {
    gap: 2.8rem;
    width: 100%;
}

.product-single__summary {
    gap: 1.8rem;
}


.product-single__excerpt {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: normal;
    overflow-wrap: break-word;
}

.product-single__excerpt p {
    /* margin: 0; */
}

.product-single__specs-title {
    font-weight: 500;
    margin: 0;
}

.product-single__specs-header {
    /* margin-bottom: var(--space-5); */
}

.product-single__spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.product-single__spec {
    display: flex;
    align-items: end;
    gap: var(--space-2);
}

.product-single__spec-name {
    color: var(--text-muted);
}

.product-single__spec-value {
    max-width: 75%;
    text-align: end;
}

.product-single__spec-line {
    flex: 1;
    border-bottom: 1px solid var(--list-item-marker);
}


.product-single__specs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-5);
    position: sticky;
    top: calc(4rem + var(--space-4));
}

.product-single__spec--extra {
    display: none;
}

.product-single__specs.is-expanded .product-single__spec--extra {
    display: flex;
}

.product-single__specs-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand);
    font: inherit;
    cursor: pointer;
    margin: 0 auto;
}

.product-single__specs-more .site-header__menu-caret {
    background-image: none;
    background-color: var(--brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5' viewBox='0 0 10 5' fill='none'%3E%3Cpath d='M5 5L0 0H10L5 5Z' fill='%23000'/%3E%3C/svg%3E") center / 10px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5' viewBox='0 0 10 5' fill='none'%3E%3Cpath d='M5 5L0 0H10L5 5Z' fill='%23000'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.product-single__specs.is-expanded .product-single__specs-more .site-header__menu-caret {
    transform: rotateX(180deg);
}

.product-single__excerpt-title {
    font-weight: 500;
    margin-bottom: var(--space-5);
}

.product-single__description {
    margin-top: var(--space-8);
}


@media screen and (max-width: 1024px) {
    .product-single__layout {
        gap: var(--space-5);
        grid-template-columns: 1fr !important;
    }

    .product-single__title {
        font-size: 1.4rem;
    }

    .product-single__zoom {
        padding: var(--space-5);
        aspect-ratio: 37 / 32;
    }

    .product-single__certificate {
        top: var(--space-5);
        left: var(--space-5);
    }

    .product-single__info {
        gap: var(--space-5);
    }

    .product-single__gallery {
        position: static;
        max-width: 75%;
        margin: 0 auto;
    }

    .product-single__header {
        margin: 0 auto;
    }

   .product-single__image {
    aspect-ratio: 37 / 32;
    height: auto;
}
}


@media screen and (max-width: 630px) {
    .product-single__info {
        grid-template-columns: 1fr !important;
    }

    .product-single__gallery {
        max-width: 100%;
    }

    .product-single__header {
        width: 100%;
    }
}



@media screen and (max-width: 456px) {
    .product-single__actions>* {
        width: 100%;
    }

    .product-single__layout {
        display: flex !important;
        flex-direction: column;
    }

    .product-labels {
        /* flex-direction: column; */
        width: 100%;
        /* text-align: center;
        justify-content: center; */
    }

    /* .product-labels__inner {
        width: auto;

    } */
}