﻿.product-card {
    width: 100%;
    height: 100%;
    background: var(--panel, #FFFFFF);
    border: 1px solid var(--line, #E2E8F0);
    border-radius: 18px;
    overflow: hidden;
    color: var(--ink, #1E293B);
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--copper, #C9A227);
    box-shadow: 0 12px 35px rgba(71, 85, 105, 0.12);
}

.product-image-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.product-image {
    height: 190px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg, #F4F5F7);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.07);
}

.product-card .wishlist-btn,
.wishlist-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1.5px solid #D1D5DB !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    padding: 0 !important;
    outline: none !important;
}

body[dir="rtl"] .product-card .wishlist-btn,
body[dir="rtl"] .wishlist-btn,
[dir="rtl"] .product-card .wishlist-btn,
[dir="rtl"] .wishlist-btn {
    right: auto !important;
    left: 12px !important;
}

.product-card .wishlist-btn i,
.wishlist-btn i {
    font-size: 17px !important;
    color: var(--copper, #374151) !important;
    transition: color 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    pointer-events: none;
}

.product-card .wishlist-btn:hover,
.wishlist-btn:hover {
    transform: scale(1.15) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #ff2d55 !important;
    box-shadow: 0 6px 18px rgba(255, 45, 85, 0.25) !important;
}

.product-card .wishlist-btn:hover i,
.wishlist-btn:hover i {
    color: #ff2d55 !important;
    transform: scale(1.15);
}

.product-card .wishlist-btn.active,
.wishlist-btn.active {
    background: var(--copper, #374151) !important;
    border-color: var(--copper, #374151) !important;
    box-shadow: 0 6px 20px rgba(55, 65, 81, 0.25) !important;
}

.product-card .wishlist-btn.active i,
.wishlist-btn.active i {
    color: #ff2d55 !important;
    transform: scale(1.1);
}

.product-card .wishlist-btn.active:hover,
.wishlist-btn.active:hover {
    transform: scale(1.18) !important;
    box-shadow: 0 8px 24px rgba(255, 45, 85, 0.5) !important;
}

.product-info {
    background: var(--panel, #F8FAFC);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1 1 auto;
    border-top: 1px solid var(--line, #E5E7EB);
    color: var(--ink, #111827);
}

.product-info a {
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.product-info h3,
.product-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    height: 40px;
    padding: 0;
    word-break: break-word;
    text-align: left;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    width: 100%;
}

.new-price {
    color: #C9A227;
    font-size: 18px;
    font-weight: 700;
}

.old-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 13.5px;
    font-weight: 500;
}

.cart-btn,
.product-card button.cart-btn {
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    flex-shrink: 0;
    border: none !important;
    background: #C9A227 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.22) !important;
}

.cart-btn i {
    font-size: 15px;
}

.cart-btn .cart-btn-arrow {
    font-size: 13px;
    transition: transform 0.2s ease;
    margin-inline-start: auto !important;
}

.cart-btn:hover {
    background: #e86f00 !important;
    box-shadow: 0 6px 18px rgba(71, 85, 105, 0.38) !important;
}

.cart-btn:hover .cart-btn-arrow {
    transform: translateX(3px);
}

.sale-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    width: auto !important;
    max-width: max-content !important;
    background: linear-gradient(135deg, #ff2d55 0%, #e11d48 100%) !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    z-index: 10 !important;
    letter-spacing: .02em !important;
    box-shadow: 0 4px 12px rgba(255, 45, 85, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    pointer-events: none;
}

body[dir="rtl"] .product-info {
    text-align: right;
    align-items: flex-start;
}

body[dir="rtl"] .product-info h3,
body[dir="rtl"] .product-card h3 {
    text-align: right;
}

body[dir="rtl"] .price {
    justify-content: flex-start;
}

body[dir="rtl"] .product-card .wishlist-btn,
body[dir="rtl"] .wishlist-btn {
    right: auto !important;
    left: 12px !important;
}

body[dir="rtl"] .sale-badge {
    left: auto !important;
    right: 12px !important;
}

body[dir="rtl"] .cart-btn:hover .cart-btn-arrow {
    transform: translateX(-3px);
}

i.wishlist{
    display: none !important;
}

.wishlist:hover{
    color:#ff2d55;
}

/*==========================
 PRODUCT DETAIL PAGE
==========================*/

.product-detail{
    padding-top:35px;
}

.product-detail{
    padding-top:35px;
    width:100%;
}

.product-detail-wrap{
    display:block !important;
    width:100% !important;
    max-width:1280px;
    margin:0 auto 50px;
}

/* ==========================
   PRODUCT RESPONSIVE RULES
========================== */
@media(max-width:768px){
    .product-detail-wrap{
        flex-direction:column;
        gap:24px;
        margin-bottom:40px;
    }
    .product-image-block{
        min-width:100%;
        max-width:100%;
    }
    .product-image-block .product-image{
        height:260px;
        padding:16px;
    }
    .product-detail-wrap .product-info{
        min-width:100%;
        align-items:flex-start;
        text-align:left;
    }
    body[dir="rtl"] .product-detail-wrap .product-info{
        align-items:flex-start;
        text-align:right;
    }
    .product-detail-wrap .product-info h3{
        font-size:22px;
    }
    .product-detail-wrap .new-price{ font-size:24px; }
    .product-detail-wrap .old-price{ font-size:16px; }
    .product-detail-wrap .cart-btn{
        width:100%;
        height:48px;
        font-size:16px;
        padding:0 20px;
    }
}

@media(max-width:480px){
    .product-image{
        height:135px;
        padding:8px;
    }
    .product-info{
        padding:8px 8px 10px;
    }
    .product-info h3{
        font-size:13px;
        min-height:33px;
        margin-bottom:4px;
    }
    .new-price{ font-size:14.5px; }
    .old-price{ font-size:11px; }
    .cart-btn{
        width:calc(100% - 16px);
        height:36px;
        margin:8px;
        font-size:11.5px;
        padding:0 6px;
        gap:4px;
    }
}

.related-head{
    margin:10px 0 26px;
    text-align:center;
}

.related-head h2{
    font-size:28px;
    font-weight:700;
}

.product-not-found{
    width:100%;
    text-align:center;
    padding:60px 20px;
}

.product-not-found i{
    font-size:60px;
    color:#C9A227;
    margin-bottom:20px;
    display:block;
}

.product-not-found h2{ font-size:28px; margin-bottom:10px; }
.product-not-found p{ color:#777; margin-bottom:26px; }

/* Fallback icon shown when a product photo file is missing */
.product-image.no-photo{
    background:
        radial-gradient(circle at 30% 20%,rgba(255,140,0,.12),transparent 55%),
        #f8f8f8;
}

.product-image.no-photo i{
    font-size:70px;
    color:#C9A227;
}

/* Detail page fallback icon needs to be much larger to fill the
   400px image box instead of looking like a tiny lost icon */
.product-image-block .product-image.no-photo i{
    font-size: 220px;
}

.no-results{
    grid-column:1/-1;
    text-align:center;
    color:#888;
    padding:60px 0;
    font-size:16px;
}

/*==========================
 LANGUAGE BUTTON
==========================*/

.lang-btn{
    background:transparent;
    border:1px solid #ddd;
    color:#333;
    font-size:13px;
    font-weight:600;
    padding:8px 14px;
    border-radius:20px;
    display:flex;
    align-items:center;
    gap:7px;
    transition:.25s;
    white-space:nowrap;
}

.lang-btn:hover{
    background:#C9A227;
    color:#fff;
    border-color:#C9A227;
}

body[dir="rtl"]{
    font-family:'Inter',sans-serif;
}

body[dir="rtl"] .header-bottom a i,
body[dir="rtl"] .lang-btn i{
    margin-left:6px;
}

/* =========================================================================
   ENHANCED PRODUCT DETAIL UI STYLES (MATCHING SCREENSHOT)
   ========================================================================= */

.product-main-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
    width: 100%;
}

.product-image-block {
    flex: 0 0 480px;
    width: 480px;
    max-width: 100%;
}

.product-image-block .product-image {
    height: 440px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-block .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info-block {
    flex: 1;
    min-width: 300px;
}

.product-title-heading {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 8px;
}

/* SKU & Badges Header Row */
.product-meta-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.sku-badge {
    font-size: 12px;
    color: #94a3b8;
}

.sku-badge b {
    color: #64748b;
    font-weight: 600;
}

.tags-badge-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: #ffedd5;
    color: #ea580c;
    border: 1px solid #fed7aa;
}

.stock-badge.out-stock {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.tag-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tag-badge i {
    font-size: 11px;
    color: #94a3b8;
}

/* Logistics & Social Share Bar */
.logistics-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
    padding: 6px 0;
}

.logistics-info-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logistics-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.icon-orange {
    color: #78350f;
}

.social-share-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-share-links a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #ffffff;
    border: 1.5px solid var(--signal, #C9A227);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--signal, #C9A227);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-share-links a:hover {
    background: var(--signal, #C9A227);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Warm Price & Quantity Card (Matching Screenshot Exact Look) */
.price-warm-card {
    background: linear-gradient(135deg, #ffffff 0%, #f7f1e0 100%);
    border: 1px solid #ece1c2;
    border-radius: 18px;
    padding: 30px 36px;
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 660px;
}

.price-section-label,
.qty-section-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #94a3b8;
    text-transform: uppercase;
}

.qty-section-label {
    margin-top: 18px;
    margin-bottom: 10px;
}

.price-values-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.new-price-large {
    font-size: 40px;
    font-weight: 800;
    color: var(--signal, #C9A227);
}

.old-price-large {
    font-size: 26px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.sale-badge-pill {
    background: #ef4444;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.discount-percent-text {
    color: #16a34a;
    font-weight: 700;
    font-size: 18px;
}

/* Actions Bar Inside Warm Card */
.product-actions-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.quantity-control-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ece1c2;
    border-radius: 13px;
    height: 56px;
    padding: 5px;
}

.quantity-control-box .qty-btn {
    width: 42px;
    height: 42px;
    background: #f7efd6;
    border: none;
    border-radius: 9px;
    font-size: 21px;
    font-weight: 700;
    color: var(--signal, #C9A227);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.quantity-control-box .qty-btn:hover {
    background: #efe0ac;
}

.quantity-control-box input {
    width: 60px;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.add-cart-action-btn,
.cart-btn.add-cart-action-btn,
#prodAddToCartBtn {
    flex: 1;
    max-width: 340px;
    height: 56px;
    padding: 0 32px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-radius: 13px !important;
    background: var(--signal, #C9A227) !important;
    color: #ffffff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.28) !important;
    transition: background 0.2s ease;
}

.add-cart-action-btn:hover {
    background: #b3901f;
}

.wishlist-icon-btn {
    width: 56px;
    height: 56px;
    border-radius: 13px;
    border: 1.5px solid #ece1c2;
    background: #ffffff;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .06);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wishlist-icon-btn i {
    color: #64748b;
    transition: color 0.25s ease, transform 0.25s ease;
}

.wishlist-icon-btn:hover {
    border-color: #ff2d55;
    background: #fff1f3;
    transform: scale(1.08);
}

.wishlist-icon-btn:hover i {
    color: #ff2d55 !important;
    transform: scale(1.1);
}

.wishlist-icon-btn.active {
    background: #fff1f3;
    border-color: #ff2d55;
    box-shadow: 0 6px 20px rgba(255, 45, 85, 0.25);
}

.wishlist-icon-btn.active i {
    color: #ff2d55 !important;
    transform: scale(1.1);
}

/* Thumbnails */
.prod-thumb-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
}

.prod-thumb-item {
    width: 70px;
    height: 70px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px;
    cursor: pointer;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.prod-thumb-item.active,
.prod-thumb-item:hover {
    border-color: #C9A227;
}

.prod-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tabs Section (Exact Match to Screenshot) */
.product-tabs-section {
    width: 100%;
    margin-top: 40px;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.tabs-nav-bar {
    display: inline-flex;
    background: #f8fafc;
    border-radius: 14px;
    padding: 6px;
    gap: 6px;
    margin-bottom: 24px;
    overflow-x: auto;
    border-bottom: none;
    max-width: 100%;
}

.tab-nav-btn {
    padding: 10px 28px;
    border-radius: 10px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-bottom: none;
}

.tab-nav-btn:hover {
    color: #C9A227;
}

.tab-nav-btn.active {
    background: #C9A227;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 133, 0, 0.25);
}

.tab-pane {
    padding: 10px 4px 4px;
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    border-bottom: none;
    display: block;
}

.tab-body-text {
    font-size: 15px;
    line-height: 1.8;
    color: #C9A227;
    white-space: pre-line;
}

/* Video & Reviews Tabs */
.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 12px;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.no-video-box {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

.no-video-box i {
    font-size: 40px;
    margin-bottom: 10px;
}

.reviews-summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.rating-number {
    font-size: 36px;
    font-weight: 800;
    color: #C9A227;
}

.rating-stars {
    color: #f59e0b;
    font-size: 16px;
}

.user-review-item {
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.reviewer-name {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-badge {
    font-size: 11px;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 10px;
}

.review-stars {
    color: #f59e0b;
    font-size: 12px;
    margin-bottom: 6px;
}

.review-comment {
    font-size: 14px;
    color: #C9A227;
}

/* Related Products Carousel Navigation (Left & Right Arrows) */
.related-section-wrap {
    margin-top: 50px;
}

.related-head-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.related-head-bar h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.related-carousel-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #9C7A1E;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.rel-nav-btn:hover {
    background: #C9A227;
    color: #ffffff;
    border-color: #C9A227;
    box-shadow: 0 4px 12px rgba(255, 133, 0, 0.3);
}

.related-carousel-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 4px 20px;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.related-carousel-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.related-carousel-grid .product-card {
    flex: 0 0 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
}

@media (max-width: 768px) {
    .product-main-flex {
        flex-direction: column;
        gap: 24px;
    }
    .product-image-block {
        flex: 1 1 100%;
        width: 100%;
    }
    .price-warm-card {
        max-width: none;
    }
    .product-title-heading {
        font-size: 22px;
    }
    .logistics-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-actions-bar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        row-gap: 12px;
    }
    .quantity-control-box {
        justify-content: center;
        flex: 0 0 auto;
        order: 1;
    }
    .wishlist-icon-btn {
        flex: 0 0 56px;
        margin-left: auto;
        order: 2;
    }
    .add-cart-action-btn,
    .cart-btn.add-cart-action-btn,
    #prodAddToCartBtn {
        flex: 1 1 100%;
        max-width: none;
        order: 3;
    }

    /* Reviews summary card: let the description wrap to its own line
       instead of overflowing past the screen edge */
    .reviews-summary-card {
        flex-wrap: wrap;
        row-gap: 6px;
    }
    .reviews-summary-card p {
        flex: 1 1 100%;
        margin: 4px 0 0;
        font-size: 13px;
        line-height: 1.5;
    }
    .rating-number {
        font-size: 30px;
    }

    /* Tabs bar: keep it inside the card and let it scroll horizontally
       instead of spilling past the edge of the screen */
    .product-tabs-section {
        padding: 16px;
    }
    .tabs-nav-bar {
        display: flex;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }
    .tab-nav-btn {
        padding: 10px 16px;
        font-size: 13px;
        flex: 0 0 auto;
    }
}

/* ==========================================
   Discounted Products Section (Offers)
   ========================================== */
.offers-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
    border-top: 1px solid rgba(71, 85, 105, 0.12);
    border-bottom: 1px solid rgba(71, 85, 105, 0.12);
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.offers-eyebrow {
    color: #ff2d55 !important;
    font-weight: 700;
}

.offers-eyebrow::before {
    background: #ff2d55 !important;
}

.offers-view-all {
    border-color: #ff2d55 !important;
    color: #ff2d55 !important;
}

.offers-view-all:hover {
    background: #ff2d55 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(255, 45, 85, 0.25);
}

.sale-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    width: auto !important;
    max-width: max-content !important;
    background: linear-gradient(135deg, #ff2d55 0%, #e11d48 100%) !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    z-index: 10 !important;
    letter-spacing: .02em !important;
    box-shadow: 0 4px 12px rgba(255, 45, 85, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    pointer-events: none;
}

body[dir="rtl"] .sale-badge {
    left: auto !important;
    right: 12px !important;
}

/* Fixed Phone Icon & Telephone links (LTR & RTL FIXED) */
.fa-phone,
.fa-phone-alt,
.fa-phone-flip,
i.fa-phone,
i.fa-phone-alt,
[class*="fa-phone"],
body[dir="rtl"] .fa-phone,
body[dir="rtl"] .fa-phone-alt,
body[dir="rtl"] .fa-phone-flip,
body[dir="rtl"] i.fa-phone,
body[dir="rtl"] i.fa-phone-alt,
body[dir="rtl"] [class*="fa-phone"] {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    transform: none !important;
    -webkit-transform: none !important;
    display: inline-block !important;
    writing-mode: horizontal-tb !important;
}

/* LTR layout (default) */
a[href^="tel:"],
a[href^="https://wa.me/"],
input[type="tel"],
.phone-ltr {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* RTL layout: align phone line with email and location lines in Arabic footer */
body[dir="rtl"] a[href^="tel:"],
body[dir="rtl"] a[href^="https://wa.me/"],
body[dir="rtl"] .footer-col ul li a[href^="tel:"] {
    direction: ltr !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

body[dir="rtl"] .footer-col ul li a i,
body[dir="rtl"] .header-contact a i {
    margin-left: 8px !important;
    margin-right: 0 !important;
    transform: none !important;
}

/* Enforce Theme Color #C9A227 for Navigation and Contact Icons */
nav ul li a i,
.header-contact i,
.header-contact a i,
.header-contact a span i,
.footer-col ul li a i {
    color: #C9A227 !important;
}

nav ul li a::after {
    background: #C9A227 !important;
}



