
.parana-single-product-gallery-wrapper {
    width: 100%;
    margin: 0 auto;
    direction: ltr; /* Content is generally RTL but gallery usually flows LTR for CSS simplicity with flex, I will handle alignment */
}

.parana-gallery-main-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.parana-gallery-main-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f8f8ff; /* Light lavender-ish background */
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.parana-gallery-main-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Badges */
.parana-gallery-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    pointer-events: none;
}

.parana-gallery-rating {
    background: #6966b0;
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #fff; /* Based on image it looks like light text or white */
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.parana-gallery-rating .star {
    color: #FFD700;
}

.parana-gallery-sale-badge {
    background: linear-gradient(135deg, #FF5C8A 0%, #FF2D46 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 45, 70, 0.3);
    direction: rtl;
}

/* Thumbnails */
.parana-gallery-thumbs-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 0 15px 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar for IE/Edge */
    justify-content: flex-end; /* Align to right for Arabic flow */
}

.parana-gallery-thumbs-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.parana-gallery-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background-color: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parana-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.parana-gallery-thumb:hover img {
    opacity: 1;
}

.parana-gallery-thumb.active {
    border-color: #655EAB; /* Signature blue-ish color from theme */
    background-color: #f8f8ff;
}

.parana-gallery-thumb.active img {
    opacity: 1;
}

/* Responsive */
@media (max-width: 767px) {
    .parana-gallery-main-img {
        border-radius: 20px;
    }
    
    .parana-gallery-thumb {
        width: 65px;
        height: 65px;
        border-radius: 12px;
    }
    
    .parana-gallery-sale-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}
