.gpchild-seo-product-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    font-family: inherit;
}

.gpchild-seo-product-page .qv-inner-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: 0;
    max-height: none;
    overflow: visible;
}

.gpchild-seo-product-page .image-gallery {
    width: 100%;
    border-radius: 0;
    overflow: visible;
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
}

.gpchild-seo-product-page .main-image-container {
    width: 100%;
    height: 80vw;
    max-height: 420px;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.gpchild-seo-product-page .main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s;
    display: block;
}

.gpchild-seo-product-page .thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.gpchild-seo-product-page .thumbnail-item {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    background: #fff;
}

.gpchild-seo-product-page .thumbnail-item.active,
.gpchild-seo-product-page .thumbnail-item:hover {
    border-color: #000;
}

.gpchild-seo-product-page .thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gpchild-seo-product-page .product-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.gpchild-seo-product-page .product-content {
    padding: 20px 25px 40px;
}

[dir="rtl"] .gpchild-seo-product-page .product-content {
    text-align: right;
}

.gpchild-seo-product-page .accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.gpchild-seo-product-page .accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
}

.gpchild-seo-product-page .accordion-header h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: bold;
}

.gpchild-seo-product-page .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    padding-right: 20px;
}

.gpchild-seo-product-page .accordion-item.open .accordion-content {
    max-height: 600px;
}

[dir="rtl"] .gpchild-seo-product-page .accordion-header {
    text-align: right;
}

[dir="rtl"] .gpchild-seo-product-page .accordion-content {
    padding-right: 0;
    padding-left: 20px;
    text-align: right;
}

.gpchild-seo-product-page .icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
}

.gpchild-seo-product-page .accordion-item.open .icon {
    transform: rotate(45deg);
}

.gpchild-seo-product-page .quantity-control {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
}

.gpchild-seo-product-page .qty-btn {
    background-color: #f0f0f0;
    border: none;
    color: #000;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
    outline: none;
}

.gpchild-seo-product-page .qty-btn:hover {
    background-color: #ddd;
}

.gpchild-seo-product-page .qty-value {
    padding: 0 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

@media (min-width: 768px) {

    .gpchild-seo-product-page .qv-inner-wrapper {
        flex-direction: row;
        align-items: stretch;
        border-radius: 0;
        min-height: 75vh;
    }

    [dir="rtl"] .gpchild-seo-product-page .qv-inner-wrapper {
        flex-direction: row-reverse;
    }

    .gpchild-seo-product-page .image-gallery {
        width: 50%;
        flex-shrink: 0;
        position: sticky;
        top: 80px;
        align-self: flex-start;
        padding: 30px 25px 15px;
        border-radius: 0;
    }

    .gpchild-seo-product-page .main-image-container {
        width: 100%;
        height: 420px;
        max-height: none;
        padding: 15px;
    }

    .gpchild-seo-product-page .thumbnails {
        padding: 15px 0 10px;
        gap: 12px;
    }

    .gpchild-seo-product-page .thumbnail-item {
        width: 65px;
        height: 65px;
    }

    .gpchild-seo-product-page .product-content-wrapper {
        width: 50%;
        overflow-y: auto;
    }

    .gpchild-seo-product-page .product-content {
        padding: 40px 40px 60px;
    }
}
