.shahr-wax-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    direction: rtl;
    font-family: inherit;
    width: 100%;
}
.shahr-wax-main-image-box {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 0 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f2f2f2;
    min-height: 400px;
    overflow: hidden;
}
.shahr-wax-main-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.shahr-wax-main-image-box.is-loading .shahr-wax-main-img {
    opacity: 0.3;
    filter: blur(8px);
}
.shahr-wax-loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background: rgba(255, 255, 255, 0.4);
}
.shahr-wax-main-image-box.is-loading .shahr-wax-loader {
    display: flex;
}
.shahr-wax-dots {
    display: flex;
    gap: 8px;
}
.shahr-wax-dots span {
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    animation: shahr-wax-bounce 0.5s alternate infinite;
}
.shahr-wax-dots span:nth-child(2) {
    animation-delay: 0.15s;
}
.shahr-wax-dots span:nth-child(3) {
    animation-delay: 0.3s;
}
@keyframes shahr-wax-bounce {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-10px); opacity: 0.5; }
}
.shahr-wax-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #23a680;
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    z-index: 2;
}
.shahr-wax-actions {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
}
.shahr-wax-btn-like, .shahr-wax-btn-share {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.shahr-wax-btn-like {
    border: 1.5px solid #ffdbdb;
    background: #fffafa;
}
.shahr-wax-btn-like svg path {
    transition: all 0.3s ease;
}
.shahr-wax-btn-like.is-loading-ajax {
    opacity: 0.6;
    pointer-events: none;
}
.shahr-wax-btn-share {
    border: 1.5px solid #d9e6ff;
    background: #f5f8ff;
}
.shahr-wax-thumbnails {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.shahr-wax-thumbnails::-webkit-scrollbar {
    display: none;
}
.shahr-wax-thumb-item {
    position: relative;
    flex: 0 0 calc(25% - 12px);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #ffffff;
    height: 100px;
}
.shahr-wax-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}
.shahr-wax-thumb-item.active {
    border-color: #23a680;
}
.shahr-wax-thumb-item.is-loading-thumb img {
    filter: blur(4px);
}
.shahr-wax-thumb-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.shahr-wax-thumb-item.active .shahr-wax-thumb-icon,
.shahr-wax-thumb-item:hover .shahr-wax-thumb-icon {
    opacity: 1;
}