/* ============================================
   WASLA PRODUCT PAGE
   ============================================ */

:root {
    --p-primary:        #0b3d91;
    --p-navy:           #1a1a1a;
    --p-gray-50:        #f7f8fa;
    --p-gray-100:       #eef2f5;
    --p-gray-200:       #e2e8f0;
    --p-gray-500:       #718096;
    --p-gray-600:       #4a5568;
    --p-white:          #ffffff;
    --p-accent:         #ff3b3b;
    --p-success:        #38a169;
    --p-radius-lg:      24px;
    --p-radius-md:      16px;
    --p-radius-sm:      8px;
    --p-shadow:         0 10px 40px rgba(0, 0, 0, 0.06);
    --p-shadow-sm:      0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================
   PAGE WRAPPER
   ============================================ */

.single-product .wasla-product-container {
    background: var(--p-white);
}

.single-product .wasla-product-container > .container {
    padding-top: 30px;
    padding-bottom: 80px;
}

/* Fix: site-main already provides max-width, prevent double margin */
.single-product .site-main {
    margin-top: 0;
    margin-bottom: 0;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.wasla-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 28px;
    font-size: 13px;
    color: var(--p-gray-500);
}

.wasla-breadcrumbs a {
    color: var(--p-gray-500);
    text-decoration: none;
    transition: color 0.25s;
}

.wasla-breadcrumbs a:hover {
    color: var(--p-primary);
}

.wasla-breadcrumbs .separator {
    margin: 0 6px;
    opacity: 0.45;
    font-size: 11px;
}

.wasla-breadcrumbs .current {
    color: var(--p-navy);
    font-weight: 600;
}

/* ============================================
   TWO-COLUMN PRODUCT LAYOUT
   ============================================ */

.wasla-product-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .wasla-product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
}

/* ============================================
   LIGHTHOUSE GALLERY — PREMIUM V2
   ============================================ */

.wasla-lighthouse-gallery-v2 {
    display: flex;
    gap: 20px;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wasla-lighthouse-gallery-v2.wasla-is-ready {
    opacity: 1;
}

.wasla-lighthouse-gallery-v2.wasla-is-ready .wasla-gallery-skeleton {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

@media (max-width: 768px) {
    .wasla-lighthouse-gallery-v2 {
        flex-direction: column-reverse;
        gap: 15px;
    }
}

/* Skeleton Loader */
.wasla-gallery-skeleton {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 20px;
    z-index: 10;
    background: var(--p-white);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.wasla-is-ready .wasla-gallery-skeleton {
    opacity: 0;
}

.skeleton-main {
    flex: 1;
    background: linear-gradient(90deg, #f0f2f5 25%, #f7f8fa 50%, #f0f2f5 75%);
    background-size: 200% 100%;
    animation: skeleton-wave 1.5s infinite;
    border-radius: var(--p-radius-lg);
    aspect-ratio: 1/1;
}

.skeleton-thumbs {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-thumbs span {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f0f2f5;
    border-radius: var(--p-radius-sm);
    animation: skeleton-fade 1.5s infinite;
}

@keyframes skeleton-wave {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes skeleton-fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ---- Thumbnail Column ---- */
.lighthouse-thumbs-wrapper {
    width: 85px;
    flex-shrink: 0;
    min-width: 0;
}

@media (max-width: 768px) {
    .lighthouse-thumbs-wrapper {
        width: 100%;
    }
}

.wasla-thumbs-swiper {
    height: 520px;
}

@media (max-width: 768px) {
    .wasla-thumbs-swiper {
        height: auto;
    }
}

.wasla-thumbs-swiper .swiper-slide {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wasla-thumbs-swiper .swiper-slide:hover {
    transform: scale(0.95);
}

.thumb-inner {
    border-radius: var(--p-radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--p-gray-50);
    aspect-ratio: 1 / 1;
    transition: all 0.3s ease;
    box-shadow: var(--p-shadow-sm);
}

.swiper-slide-thumb-active .thumb-inner {
    border-color: var(--p-primary);
    box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.1);
    transform: scale(1.05);
}

.wasla-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Main Display ---- */
.lighthouse-main-display {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    border-radius: var(--p-radius-lg);
    overflow: hidden;
    background: #fff;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    aspect-ratio: 1 / 1;
    max-height: 70vh; /* Reduced from 85vh to make it smaller */
}

/* Sale Badge Integration */
.lighthouse-main-display span.onsale {
    position: absolute;
    top: 24px;
    inset-inline-start: 24px;
    z-index: 5;
    background: var(--p-accent);
    color: var(--p-white);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 40px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 59, 59, 0.2);
    margin: 0;
    min-height: auto;
    min-width: auto;
}

.wasla-main-swiper {
    width: 100%;
    height: 100%;
}

.wasla-main-swiper .slide-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lighthouse-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 60px; /* Increased from 40px (or 20px originally) to make the image appear smaller within its container */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wasla-main-swiper .swiper-slide-active .lighthouse-img {
    transform: scale(1);
}

/* Action Icons */
.lighthouse-actions {
    position: absolute;
    bottom: 24px;
    inset-inline-end: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 5;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lighthouse-main-display:hover .lighthouse-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--p-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--p-primary);
    color: #fff;
    transform: scale(1.1);
}

/* Custom Navigation */
.lighthouse-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 0;
}

.lighthouse-prev { left: 20px; transform: translateY(-50%) translateX(-20px); }
.lighthouse-next { right: 20px; transform: translateY(-50%) translateX(20px); }

.lighthouse-main-display:hover .lighthouse-nav {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.lighthouse-nav:hover {
    background: var(--p-primary);
    color: #fff;
}

.lighthouse-pagination {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 800;
    z-index: 5;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.lighthouse-pagination span {
    display: inline-block;
}

/* Zoom Overlay */
.wasla-zoom-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background-repeat: no-repeat;
    background-size: 250%; /* Larger zoom for premium feel */
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    background-color: #fff;
    cursor: zoom-in;
}

.slide-inner:hover .wasla-zoom-overlay {
    opacity: 1;
}

/* Custom Cursor for Gallery */
.wasla-main-swiper {
    cursor: grab;
}

.wasla-main-swiper:active {
    cursor: grabbing;
}


/* ============================================
   PRODUCT SUMMARY — RIGHT COLUMN
   ============================================ */

.wasla-product-summary {
    padding-top: 8px;
}

/* Category/Brand label */
.wasla-product-brand {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--p-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

/* Product Title */
.wasla-product-title {
    font-size: clamp(24px, 2.5vw, 38px);
    font-weight: 800;
    color: var(--p-navy);
    line-height: 1.2;
    margin: 0 0 16px;
}

/* Rating Row */
.wasla-product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.wasla-stars {
    display: flex;
    gap: 2px;
    font-size: 15px;
}

/* WooCommerce star output inside .wasla-stars */
.wasla-stars .star-rating {
    overflow: visible;
    width: auto;
    font-size: 15px;
}

.wasla-review-count {
    font-size: 13px;
    color: var(--p-gray-500);
    font-weight: 600;
}

/* Price Row */
.wasla-price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.wasla-current-price {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    color: var(--p-primary);
    line-height: 1;
}

/* WooCommerce price HTML inside wasla-current-price */
.wasla-current-price .woocommerce-Price-amount,
.wasla-current-price ins .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.wasla-current-price del {
    font-size: 0.6em;
    color: var(--p-gray-500);
    text-decoration: line-through;
    font-weight: 500;
    opacity: 0.8;
}

.wasla-current-price ins {
    text-decoration: none;
}

.wasla-old-price {
    font-size: 20px;
    color: var(--p-gray-500);
    text-decoration: line-through;
    font-weight: 500;
}

.wasla-discount-pill {
    background: var(--p-accent);
    color: var(--p-white);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

/* Short Description */
.wasla-short-description {
    font-size: 15px;
    color: var(--p-gray-600);
    line-height: 1.75;
    margin-bottom: 32px;
}

.wasla-short-description p:last-child {
    margin-bottom: 0;
}

/* ============================================
   VARIATIONS FORM
   ============================================ */

.wasla-variations-form {
    margin-bottom: 28px;
}

.wasla-attribute-row {
    margin-bottom: 22px;
}

.wasla-attribute-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--p-navy);
    margin-bottom: 10px;
}

/* Swatches */
.wasla-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wasla-swatch {
    min-width: 44px;
    height: 44px;
    border: 2px solid var(--p-gray-200);
    border-radius: var(--p-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 0 14px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    user-select: none;
    color: var(--p-navy);
}

.wasla-swatch:hover {
    border-color: var(--p-primary);
    color: var(--p-primary);
}

.wasla-swatch.active {
    border-color: var(--p-primary);
    background: var(--p-primary);
    color: var(--p-white);
}

.wasla-swatch.swatch-color {
    width: 44px;
    padding: 4px;
    border-radius: 50%;
}

.wasla-swatch.swatch-color .color-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Reset Variations Link */
.reset_variations {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--p-gray-500);
    text-decoration: underline;
    cursor: pointer;
}

/* WooCommerce variation data (price/availability update area) */
.single_variation_wrap {
    margin-top: 0;
}

.woocommerce-variation.single_variation {
    margin-bottom: 16px;
}

.woocommerce-variation-price .woocommerce-Price-amount {
    font-size: 28px;
    font-weight: 900;
    color: var(--p-primary);
}

.woocommerce-variation-availability .stock {
    font-size: 13px;
    font-weight: 600;
}

.woocommerce-variation-availability .in-stock  { color: var(--p-success); }
.woocommerce-variation-availability .out-of-stock { color: var(--p-accent); }

/* ============================================
   BUY BOX
   ============================================ */

.wasla-buy-box {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Qty Selector */
.wasla-qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--p-gray-200);
    border-radius: var(--p-radius-md);
    height: 54px;
    background: var(--p-white);
    flex-shrink: 0;
}

.wasla-qty-btn {
    width: 46px;
    height: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: var(--p-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.wasla-qty-btn:hover { color: var(--p-primary); }

.wasla-qty-input {
    width: 38px;
    border: none;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: var(--p-navy);
    background: transparent;
    -moz-appearance: textfield;
}

.wasla-qty-input::-webkit-inner-spin-button,
.wasla-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button */
.wasla-add-to-cart-btn {
    flex: 1;
    min-width: 160px;
    height: 54px;
    background: var(--p-navy);
    color: var(--p-white);
    border: none;
    border-radius: var(--p-radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.wasla-add-to-cart-btn:hover {
    background: var(--p-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(11, 61, 145, 0.25);
    color: var(--p-white);
}

.wasla-add-to-cart-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.wasla-add-to-cart-btn.added {
    background: var(--p-success);
}

/* Wishlist Circle */
.wasla-wishlist-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--p-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--p-gray-500);
    background: var(--p-white);
}

.wasla-wishlist-circle:hover {
    border-color: var(--p-accent);
    color: var(--p-accent);
}

/* YITH Wishlist button rendered via hook — hide duplicate, we use our own heart */
.wasla-simple-form .yith-wcwl-add-button,
.wasla-variations-form .yith-wcwl-add-button,
.single-product .woocommerce_after_add_to_cart_button + .yith-wcwl-add-button {
    display: none !important;
}

/* Stock Status */
.wasla-stock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.wasla-stock-status.in-stock  { color: var(--p-success); }
.wasla-stock-status.out-of-stock { color: var(--p-accent); }

/* WooCommerce stock html (wc_get_stock_html) outside our custom status */
.single-product .stock {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.single-product .stock.in-stock  { color: var(--p-success); }
.single-product .stock.out-of-stock { color: var(--p-accent); }

/* Trust Badges */
.wasla-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--p-gray-100);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--p-gray-600);
    font-weight: 500;
}

.badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--p-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--p-primary);
    flex-shrink: 0;
}

/* Product Meta */
.wasla-meta-details {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--p-gray-100);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wasla-meta-item {
    font-size: 13px;
    color: var(--p-gray-500);
    line-height: 1.6;
}

.wasla-meta-item strong {
    color: var(--p-navy);
    font-weight: 700;
    margin-inline-end: 8px;
}

.wasla-meta-item a {
    color: var(--p-primary);
    text-decoration: none;
}

.wasla-meta-item a:hover {
    text-decoration: underline;
}

/* ============================================
   TABS SECTION
   ============================================ */

.wasla-product-tabs {
    margin-bottom: 80px;
}

.wasla-tabs-nav {
    display: flex;
    gap: 36px;
    border-bottom: 2px solid var(--p-gray-100);
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wasla-tabs-nav::-webkit-scrollbar { display: none; }

.wasla-tab-trigger {
    padding-bottom: 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--p-gray-500);
    cursor: pointer;
    position: relative;
    transition: color 0.25s;
    white-space: nowrap;
    flex-shrink: 0;
}

.wasla-tab-trigger::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--p-primary);
    transition: width 0.3s ease;
}

.wasla-tab-trigger.active {
    color: var(--p-navy);
}

.wasla-tab-trigger.active::after {
    width: 100%;
}

.wasla-tab-content {
    display: none;
}

.wasla-tab-content.active {
    display: block;
    animation: wasla-fadein 0.3s ease;
}

@keyframes wasla-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Description tab content */
#tab-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--p-gray-600);
    max-width: 820px;
}

#tab-description h2,
#tab-description h3,
#tab-description h4 {
    color: var(--p-navy);
    font-weight: 700;
    margin: 24px 0 12px;
}

#tab-description ul,
#tab-description ol {
    padding-inline-start: 24px;
    margin-bottom: 16px;
}

#tab-description li { margin-bottom: 6px; }

/* Additional information tab */
#tab-info table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

#tab-info table.shop_attributes th {
    padding: 12px 16px;
    background: var(--p-gray-50);
    font-weight: 700;
    color: var(--p-navy);
    width: 200px;
    text-align: start;
    border-bottom: 1px solid var(--p-gray-200);
}

#tab-info table.shop_attributes td {
    padding: 12px 16px;
    color: var(--p-gray-600);
    border-bottom: 1px solid var(--p-gray-200);
}

/* Reviews tab */
#tab-reviews .woocommerce-Reviews-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--p-navy);
    margin-bottom: 24px;
}

#tab-reviews .woocommerce-review {
    padding: 24px 0;
    border-bottom: 1px solid var(--p-gray-100);
}

#tab-reviews .review_form_wrapper {
    margin-top: 40px;
    background: var(--p-gray-50);
    padding: 32px;
    border-radius: var(--p-radius-md);
}

#tab-reviews .review_form_wrapper h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--p-navy);
    margin-bottom: 20px;
}

#tab-reviews .review_form_wrapper textarea,
#tab-reviews .review_form_wrapper input[type="text"],
#tab-reviews .review_form_wrapper input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--p-gray-200);
    border-radius: var(--p-radius-sm);
    font-size: 14px;
    transition: border-color 0.2s;
    background: var(--p-white);
    box-sizing: border-box;
}

#tab-reviews .review_form_wrapper textarea:focus,
#tab-reviews .review_form_wrapper input:focus {
    outline: none;
    border-color: var(--p-primary);
}

#tab-reviews .review_form_wrapper .form-submit .submit {
    background: var(--p-primary);
    color: var(--p-white);
    border: none;
    padding: 12px 32px;
    border-radius: var(--p-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

#tab-reviews .review_form_wrapper .form-submit .submit:hover {
    background: var(--p-navy);
}

/* ============================================
   RELATED & UPSELLS SECTIONS
   ============================================ */

.wasla-related-section {
    margin-bottom: 60px;
}

.wasla-section-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--p-navy);
    margin-bottom: 32px;
    text-align: center;
}

/* Override container double-padding inside related section */
.wasla-related-section > .container {
    padding: 0;
}

/* ============================================
   WOOCOMMERCE NOTICES
   ============================================ */

.single-product .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

/* ============================================
   RTL SUPPORT
   ============================================ */

[dir="rtl"] .wasla-product-brand {
    letter-spacing: 0;
}

[dir="rtl"] .wasla-add-to-cart-btn i {
    transform: scaleX(-1);
}

[dir="rtl"] .wasla-breadcrumbs .separator i {
    transform: rotate(180deg);
}

[dir="rtl"] .wasla-main-slider .swiper-button-next,
[dir="rtl"] .wasla-main-slider .swiper-button-prev {
    transform: scaleX(-1);
}

[dir="rtl"] .wasla-tabs-nav {
    direction: rtl;
}

[dir="rtl"] .wasla-tab-trigger::after {
    left: auto;
    right: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .single-product .wasla-product-container > .container {
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .wasla-product-layout {
        margin-bottom: 40px;
    }

    .wasla-tabs-nav {
        gap: 20px;
    }

    .wasla-buy-box {
        flex-wrap: wrap;
    }

    .wasla-add-to-cart-btn {
        flex: 1 1 180px;
    }

    .wasla-trust-badges {
        gap: 12px;
    }

    .wasla-product-tabs {
        margin-bottom: 50px;
    }
}
