.single-product-page {
    overflow: visible;
}

.product-hero {
    padding: clamp(3.5rem, 5vw, 4.5rem) 0;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.product-hero-info {
    position: sticky;
    top: 1rem;
    z-index: 1;
    min-width: 0;
}

.product-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #C5CAD9;
}

.product-heading .product-title {
    margin: 0;
    color: var(--color2);
    font-size: clamp(1.375rem, 2.4vw, 2rem);
    line-height: 1.6;
}

.product-sku {
    flex: 0 0 auto;
    color: var(--text);
    font-size: 0.875rem;
}

.product-review-summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin: 1rem 0;
    color: var(--text);
}

.product-review-count,
.product-average-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color2);
    font-size: 0.875rem;
    line-height: 1;
}

.product-review-count span,
.product-average-rating span {
    margin-top: 4px;
}

.product-review-count i,
.product-average-rating i {
    color: var(--color1);
    font-size: 1.25rem;
}

.product-short-description {
    margin-bottom: 22px;
    color: #8A8D90;
}

.product-accordion {
    border-bottom: 1px solid #C5CAD9;
}

.product-accordions .product-accordion:last-child {
    border-bottom: 0;
}

.product-accordion-toggle {
    width: 100%;
    padding: 1.75rem 0 1.75rem 1.125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: transparent;
    font-family: var(--main_font);
    color: var(--color2);
    font-size: 1.125rem;
    text-align: right;
    cursor: pointer;
    transition: 0.25s ease;
}

.product-accordion-toggle:hover {
    color: var(--color1);
}

.product-accordion.is-open .product-accordion-toggle {
    color: var(--color1);
}

.product-accordion-toggle i {
    flex: 0 0 auto;
    font-size: 6px;
    transition: transform 0.25s ease;
    color: var(--color2);
}

.product-accordion.is-open .product-accordion-toggle i {
    transform: rotate(180deg);
}

.product-accordion-content {
    padding-bottom: 1rem;
}

.product-accordion-content.editor-content p {
    color: var(--text);
}

.product-accordion-content[hidden] {
    display: none;
}

.product-accordion-content> :last-child {
    margin-bottom: 0;
}

.product-attributes-list {
    margin: 0;
}

.product-attribute-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.125rem;
}

.product-attribute-item dt {
    color: var(--text);
    font-size: 1.125rem;
}

.product-attribute-item dd {
    color: var(--text);
    font-size: 1.125rem;
}

.product-price-inquiry.button {
    width: 100%;
    min-height: 85px;
    margin-top: 2.5rem;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0;
    background: var(--color2);
    color: var(--white);
    font-size: 1.5rem;
}

.product-price-inquiry.button:hover {
    background: var(--color1);
}

.product-hero-actions {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-top: 2.5rem;
}

.product-hero-actions .product-price-inquiry.button,
.product-hero-actions .product-catalog-preview.button {
    margin-top: 0;
    flex: 1 1 0;
    width: auto;
}

.product-catalog-preview.button {
    width: 100%;
    min-height: 85px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0;
    background: var(--color2);
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
}

.product-catalog-preview.button:hover {
    background: var(--color1);
}

.product-hero-gallery-col {
    min-width: 0;
}

.product-gallery {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.product-gallery-badge {
    display: none;
}

.product-gallery-share-bar {
    display: none;
}

.product-gallery-badge-sku {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    padding: 0.5rem 0.75rem;
    background: var(--white);
    color: var(--color2);
    font-size: 0.75rem;
    line-height: 1.4;
    pointer-events: none;
}

.product-gallery-main .swiper-slide {
    aspect-ratio: 1 / 1;
}

.product-gallery-main .swiper-slide,
.product-gallery-main-item,
.product-gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main-item {
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.product-gallery-placeholder {
    width: 100%;
    height: 100%;
}

.product-gallery-share {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-gallery-share i.icon-share {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    transform: rotate(180deg);
    font-size: 1.25rem;
}

.product-gallery-share .product-gallery-share-items {
    background-color: var(--white);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    gap: 12px;
}

.product-gallery-share a,
.product-gallery-share .copy-btn {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color2);
    cursor: pointer;
    font-size: 1.125rem;
}

.product-gallery-share a:hover,
.product-gallery-share .copy-btn:hover {
    color: var(--color1);
}

.product-gallery-share .copy-btn {
    position: relative;
}

.product-gallery-share .tooltip-url {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 50%;
    z-index: 3;
    width: max-content;
    padding: 0.2rem 0.5rem;
    transform: translateX(50%);
    background: var(--color2);
    color: var(--white);
    font-size: 0.6875rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}

.product-gallery-share .copy-btn:hover .tooltip-url,
.product-gallery-share .copy-btn.is-copied .tooltip-url,
.product-gallery-share .copy-btn.is-error .tooltip-url {
    opacity: 1;
    visibility: visible;
}

.product-gallery-main .swiper-pagination {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 4;
}

.product-gallery-main .swiper-pagination-bullet {
    width: 12px;
    display: block;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    opacity: 1;
    cursor: pointer;
    transition: width 0.3s;
}

.product-gallery-main .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 0.75rem;
    background: var(--color1);
    opacity: 1;
}

.single-section-products,
.single-section-products {
    background-color: #F7F9FF;
    padding: 5.5rem 0;
}

.product-gallery-zoom-box {
    width: 500px;
    height: 500px;
    overflow: hidden;
    border: 1px solid var(--gray4);
    background: #fff;
    background-repeat: no-repeat;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    position: absolute;
    top: 0;
    right: auto;
    left: 0;
    transform: translateX(calc(-100% - 1rem));
    border-radius: 0;
    z-index: 2;
    display: none;
    pointer-events: none;
}

.product-gallery-zoom-image {
    width: auto;
    height: auto;
    transform: scale(2);
    transform-origin: top left;
    position: relative;
}

@media (max-width: 991.98px) {
    .product-hero {
        padding: 2rem 0 2.5rem;
    }

    .single-section-products,
    .single-section-products {
        padding: 4.5rem 0;
    }

    .product-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .product-hero-info {
        display: contents;
        position: static;
    }

    .product-heading {
        order: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin-bottom: 0;
        padding-bottom: 1rem;
        text-align: center;
        width: 100%;
    }

    .product-heading .product-title {
        width: 100%;
        font-size: clamp(1.25rem, 5vw, 1.5rem);
        line-height: 1.7;
    }

    .product-heading .product-sku {
        display: none;
    }

    .product-review-summary {
        order: 2;
        justify-content: center;
        gap: 1.25rem;
        margin: 1rem 0 1.5rem;
        width: 100%;
    }

    .product-review-count {
        order: 2;
    }

    .product-average-rating {
        order: 1;
    }

    .product-hero-gallery-col {
        order: 3;
        width: 100%;
        max-width: 100%;
    }

    .product-hero-info-rest {
        order: 4;
        margin-top: 1.5rem;
    }

    .product-short-description {
        margin-bottom: 0.75rem;
    }

    .product-short-description p {
        color: var(--text);
    }

    .product-accordion-toggle {
        padding: 1.25rem 0 1.25rem 0.75rem;
        font-size: 1rem;
    }

    .product-attribute-item dt,
    .product-attribute-item dd {
        font-size: 1rem;
    }

    .product-price-inquiry.button {
        min-height: 56px;
        margin-top: 1.5rem;
        font-size: 1.125rem;
    }

    .product-hero-actions {
        flex-direction: column;
        margin-top: 1.5rem;
    }

    .product-hero-actions .product-price-inquiry.button,
    .product-hero-actions .product-catalog-preview.button {
        margin-top: 0;
    }

    .product-catalog-preview.button {
        min-height: 56px;
        font-size: 1.125rem;
    }

    .product-gallery-share--desktop {
        display: none;
    }

    .product-gallery-badge {
        display: block;
    }

    .product-gallery-share-bar {
        display: block;
        margin-top: 0;
        background: #F0F1F4;
    }

    .product-gallery-share-bar-inner {
        display: flex;
        align-items: center;
        gap: 0.875rem;
        min-height: 5rem;
        padding: 0;
        margin-top: 1rem;
        justify-content: center;
    }

    .product-gallery-share-bar-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        color: var(--color2);
        font-size: 1.25rem;
        transform: rotate(180deg);
    }

    .product-gallery-share-bar-sep {
        width: 2px;
        height: 1.25rem;
        background: #C5CAD9;
        border-radius: 0.5rem;
    }

    .product-gallery-share-bar-items {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
        min-width: 0;
    }

    .product-gallery-share-bar-items a,
    .product-gallery-share-bar-items .copy-btn {
        width: 1.5rem;
        height: 1.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--color2);
        font-size: 1.25rem;
        cursor: pointer;
    }

    .product-gallery-share-bar-items a:hover,
    .product-gallery-share-bar-items .copy-btn:hover {
        color: var(--color1);
    }

    .product-gallery-share-bar-items .copy-btn {
        position: relative;
    }

    .product-gallery-share-bar-items .tooltip-url {
        position: absolute;
        top: calc(100% + 0.35rem);
        right: 50%;
        z-index: 3;
        width: max-content;
        padding: 0.2rem 0.5rem;
        transform: translateX(50%);
        background: var(--color2);
        color: var(--white);
        font-size: 0.6875rem;
        opacity: 0;
        visibility: hidden;
        transition: 0.2s;
    }

    .product-gallery-share-bar-items .copy-btn:hover .tooltip-url,
    .product-gallery-share-bar-items .copy-btn.is-copied .tooltip-url,
    .product-gallery-share-bar-items .copy-btn.is-error .tooltip-url {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 575.98px) {
    .product-hero {
        padding-top: 3.5rem;
    }
}