/* ==========================================================================
   SAMRAA SHOP - UNIFIED SHARED COMPONENTS
   Fashion store component library (Arabic RTL first, logical properties).
   Preserves all existing class names and JS hooks.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BUTTONS (Consistent height, radius, focus ring, states)
   -------------------------------------------------------------------------- */
.btn,
.btn-primary,
.btn-luxury,
.btn-luxury-gold,
.btn-pay,
.btn-submit,
.acc-btn,
.acc-btn--primary,
button.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-family: var(--shop-font-family) !important;
    font-size: var(--shop-font-sm) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    min-height: 46px !important;
    padding-inline: 22px !important;
    padding-block: 10px !important;
    border-radius: var(--shop-radius-md) !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: background var(--shop-transition-fast), 
                border-color var(--shop-transition-fast), 
                box-shadow var(--shop-transition-fast), 
                transform var(--shop-transition-fast) !important;
    background: var(--shop-primary) !important;
    color: var(--shop-text-inverse) !important;
    box-shadow: var(--shop-shadow-xs) !important;
    user-select: none !important;
    text-align: center !important;
}

.btn:hover,
.btn-primary:hover,
.btn-luxury:hover,
.acc-btn--primary:hover {
    background: var(--shop-primary-hover) !important;
    color: var(--shop-text-inverse) !important;
    box-shadow: var(--shop-shadow-sm) !important;
    transform: translateY(-1px) !important;
}

.btn:active,
.btn-primary:active {
    transform: translateY(0) !important;
}

.btn:focus-visible,
.acc-btn:focus-visible,
button:focus-visible {
    outline: none !important;
    box-shadow: var(--shop-shadow-focus) !important;
}

/* Secondary / Outline Button */
.btn-outline,
.btn-outline-primary,
.acc-btn--outline {
    background: transparent !important;
    border: 1.5px solid var(--shop-primary) !important;
    color: var(--shop-primary) !important;
    box-shadow: none !important;
}

.btn-outline:hover,
.btn-outline-primary:hover,
.acc-btn--outline:hover {
    background: var(--shop-primary-soft) !important;
    color: var(--shop-primary) !important;
    border-color: var(--shop-primary-hover) !important;
}

/* Ghost Button */
.btn-ghost,
.acc-btn--ghost {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--shop-text-secondary) !important;
    box-shadow: none !important;
}

.btn-ghost:hover,
.acc-btn--ghost:hover {
    background: var(--shop-surface-alt) !important;
    color: var(--shop-primary) !important;
}

/* Danger Button */
.btn-danger,
.acc-btn--danger {
    background: var(--shop-danger) !important;
    color: #ffffff !important;
    border-color: var(--shop-danger) !important;
}

.btn-danger:hover,
.acc-btn--danger:hover {
    background: #DC2626 !important;
}

/* Luxury Gold Variant */
.btn-luxury-gold {
    background: linear-gradient(135deg, #E2C695 0%, #C5A059 100%) !important;
    color: #141318 !important;
    border: none !important;
}

.btn-luxury-gold:hover {
    background: linear-gradient(135deg, #F0D9B0 0%, #D4AF37 100%) !important;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35) !important;
}

/* Button Sizes */
.btn-sm,
.acc-btn--sm {
    min-height: 38px !important;
    padding-inline: 14px !important;
    font-size: var(--shop-font-xs) !important;
    border-radius: var(--shop-radius-sm) !important;
}

.btn-lg {
    min-height: 52px !important;
    padding-inline: 28px !important;
    font-size: var(--shop-font-base) !important;
    border-radius: var(--shop-radius-lg) !important;
}

/* Disabled & Loading States */
.btn:disabled,
.btn.disabled,
.acc-btn:disabled,
.acc-btn.disabled,
button[disabled] {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   2. FORM CONTROLS (Inputs, Textarea, Selects, Steppers)
   -------------------------------------------------------------------------- */
input[type="text"],
input[type="tel"]:not(.checkout-phone-input),
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select,
.form-control,
.modern-text-input {
    width: 100% !important;
    min-height: 46px !important;
    padding-inline: 16px !important;
    padding-block: 10px !important;
    font-family: var(--shop-font-family) !important;
    font-size: 16px !important; /* iOS Zoom Prevention: Never below 16px */
    font-weight: 500 !important;
    color: var(--shop-text) !important;
    background-color: var(--shop-surface) !important;
    border: 1.5px solid var(--shop-border) !important;
    border-radius: var(--shop-radius-md) !important;
    box-sizing: border-box !important;
    transition: border-color var(--shop-transition-fast), 
                box-shadow var(--shop-transition-fast), 
                background-color var(--shop-transition-fast) !important;
}

textarea {
    min-height: 90px !important;
    resize: vertical !important;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus,
.modern-text-input:focus {
    border-color: var(--shop-primary) !important;
    box-shadow: var(--shop-shadow-focus) !important;
    outline: none !important;
    background-color: #ffffff !important;
}

/* FontAwesome Free shim: alias fa-sparkles to fa-wand-magic-sparkles */
.fa-sparkles:before {
    content: "\e2ca" !important;
}

/* Auth & Account Inputs with leading icons & toggles (High Specificity Override) */
.acc-input-wrap {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

.acc-input-wrap input,
.acc-input-wrap input[type="text"],
.acc-input-wrap input[type="email"],
.acc-input-wrap input[type="password"],
.acc-input-wrap input[type="tel"] {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    padding-inline-start: 3.25rem !important;
    padding-inline-end: 3.25rem !important;
    padding-block: 10px !important;
    border-radius: 14px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
}

html[dir="rtl"] .acc-input-wrap input,
[dir="rtl"] .acc-input-wrap input {
    padding-right: 3.25rem !important;
    padding-left: 3.25rem !important;
    text-align: right !important;
}

html[dir="ltr"] .acc-input-wrap input,
[dir="ltr"] .acc-input-wrap input {
    padding-left: 3.25rem !important;
    padding-right: 3.25rem !important;
    text-align: left !important;
}

.acc-input-icon {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    inset-inline-start: 1.15rem !important;
    color: #9ca3af !important;
    font-size: 1rem !important;
    pointer-events: none !important;
    z-index: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    transition: color 0.2s ease !important;
}

html[dir="rtl"] .acc-input-icon,
[dir="rtl"] .acc-input-icon {
    right: 1.15rem !important;
    left: auto !important;
}

html[dir="ltr"] .acc-input-icon,
[dir="ltr"] .acc-input-icon {
    left: 1.15rem !important;
    right: auto !important;
}

.acc-pwd-toggle {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    inset-inline-end: 0.75rem !important;
    background: none !important;
    border: none !important;
    padding: 0.45rem !important;
    color: #9ca3af !important;
    cursor: pointer !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease !important;
    z-index: 3 !important;
}

html[dir="rtl"] .acc-pwd-toggle,
[dir="rtl"] .acc-pwd-toggle {
    left: 0.75rem !important;
    right: auto !important;
}

html[dir="ltr"] .acc-pwd-toggle,
[dir="ltr"] .acc-pwd-toggle {
    right: 0.75rem !important;
    left: auto !important;
}

/* Error States */
.has-error input,
.has-error select,
.has-error textarea,
input.is-invalid,
select.is-invalid,
[aria-invalid="true"] {
    border-color: var(--shop-danger) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* Disabled Form Controls */
input:disabled,
select:disabled,
textarea:disabled {
    background-color: var(--shop-surface-alt) !important;
    border-color: var(--shop-border-soft) !important;
    color: var(--shop-text-muted) !important;
    cursor: not-allowed !important;
    opacity: 0.75 !important;
}

/* Unified Native & Custom Selects (Clean SVG Arrow, RTL Aware) */
select,
select.form-control,
.modern-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    padding-inline-end: 38px !important; /* Spacing for the custom chevron */
    background-repeat: no-repeat !important;
    background-position: left 14px center !important; /* RTL default: icon on left */
    background-size: 14px 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A1835' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

html[dir="ltr"] select,
html[lang="en"] select {
    background-position: right 14px center !important;
}

select option {
    background-color: var(--shop-surface) !important;
    color: var(--shop-text) !important;
    padding: 10px !important;
    font-size: 15px !important;
}

/* Quantity Stepper Component */
.modern-stepper {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--shop-surface-alt) !important;
    border: 1px solid var(--shop-border) !important;
    border-radius: var(--shop-radius-sm) !important;
    padding: 3px !important;
    gap: 4px !important;
}

.stepper-btn {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--shop-surface) !important;
    border: 1px solid var(--shop-border-soft) !important;
    border-radius: 6px !important;
    color: var(--shop-text) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background var(--shop-transition-fast), border-color var(--shop-transition-fast) !important;
}

.stepper-btn:hover {
    background: var(--shop-primary) !important;
    color: #ffffff !important;
    border-color: var(--shop-primary) !important;
}

.item-qty-val {
    min-width: 28px !important;
    text-align: center !important;
    font-size: var(--shop-font-sm) !important;
    font-weight: 700 !important;
    color: var(--shop-text) !important;
}

/* --------------------------------------------------------------------------
   3. CARDS & CONTAINERS
   -------------------------------------------------------------------------- */
.card,
.checkout-card,
.order-summary-card,
.order-info-box,
.cart-summary,
.coupon-box {
    background: var(--shop-surface) !important;
    border: 1px solid var(--shop-border) !important;
    border-radius: var(--shop-radius-lg) !important;
    box-shadow: var(--shop-shadow-xs) !important;
    padding: var(--shop-space-5) !important;
    box-sizing: border-box !important;
    transition: border-color var(--shop-transition-base), box-shadow var(--shop-transition-base) !important;
}

.product-card {
    background: var(--shop-surface) !important;
    border: 1px solid var(--shop-border) !important;
    border-radius: var(--shop-radius-lg) !important;
    box-shadow: var(--shop-shadow-xs) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: border-color var(--shop-transition-base), box-shadow var(--shop-transition-base) !important;
}

.product-card .product-image,
.product-image {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.product-card:hover {
    border-color: var(--shop-border-focus) !important;
    box-shadow: var(--shop-shadow-md) !important;
    transform: translateY(-2px) !important;
}

/* --------------------------------------------------------------------------
   4. BADGES & CHIPS (Excludes product card badges which have solid luxury styling)
   -------------------------------------------------------------------------- */
.cat-badge,
.product-badge,
.hero-3d-slide-badge,
.badge:not(.sale):not(.special-badge):not(.bestseller-discount-badge):not(.bestseller-discount-pill):not(.wholesale-badge) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding-inline: 10px !important;
    padding-block: 4px !important;
    border-radius: var(--shop-radius-pill) !important;
    font-size: var(--shop-font-xs) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    background: var(--shop-primary-soft, #F9F0F4) !important;
    color: var(--shop-primary, #5A1835) !important;
    border: 1px solid rgba(90, 24, 53, 0.12) !important;
}

/* --------------------------------------------------------------------------
   Product Badges Bar: Opposite Corners (RTL: Sale on Right, Special on Left | LTR: Opposite)
   -------------------------------------------------------------------------- */
.product-badges-stack {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    pointer-events: none !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
}

[dir="rtl"] .product-badges-stack {
    flex-direction: row !important;
    justify-content: space-between !important;
}

[dir="ltr"] .product-badges-stack {
    flex-direction: row !important;
    justify-content: space-between !important;
}

/* When only ONE badge is present, pin it to the Start edge */
.product-badges-stack > :only-child {
    margin-inline-end: auto !important;
}

.product-badges-stack .badge {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    pointer-events: auto !important;
    flex-shrink: 0 !important;
}

/* 100% Solid, Fully Opaque Sale / Discount Badge */
.product-image .badge.sale,
.product-card .badge.sale,
.badge.sale,
.bestseller-discount-badge,
.sale-badge {
    background: #d32f2f !important;
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%) !important;
    background-color: #d32f2f !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 9px !important;
    border-radius: 6px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.45) !important;
    line-height: 1.3 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
}

/* Standalone sale badge positioning (when not inside .product-badges-stack) */
.product-image > .badge.sale,
.product-card > .badge.sale,
.badge.sale:not(.product-badges-stack *) {
    position: absolute !important;
    top: 8px !important;
}
[dir="rtl"] .product-image > .badge.sale,
[dir="rtl"] .product-card > .badge.sale,
[dir="rtl"] .badge.sale:not(.product-badges-stack *) {
    right: 8px !important;
    left: auto !important;
}
[dir="ltr"] .product-image > .badge.sale,
[dir="ltr"] .product-card > .badge.sale,
[dir="ltr"] .badge.sale:not(.product-badges-stack *) {
    left: 8px !important;
    right: auto !important;
}

.product-image .badge.sale i,
.product-card .badge.sale i,
.badge.sale i,
.bestseller-discount-badge i {
    font-size: 10px !important;
    color: #ffebee !important;
}

/* 100% Solid, Fully Opaque Special / Exclusive Badge (Plum burgundy + Gold border) */
.product-image .badge.special-badge,
.product-card .badge.special-badge,
.badge.special-badge,
.special-badge {
    background: #5A1835 !important;
    background: linear-gradient(135deg, #5A1835 0%, #3A102F 100%) !important;
    background-color: #5A1835 !important;
    color: #fce79a !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(243, 204, 138, 0.55) !important;
    box-shadow: 0 4px 12px rgba(58, 16, 47, 0.45) !important;
    line-height: 1.3 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
}

/* Standalone special badge positioning (Placed on the opposite corner from sale badge) */
.product-image > .badge.special-badge,
.product-card > .badge.special-badge,
.badge.special-badge:not(.product-badges-stack *) {
    position: absolute !important;
    top: 8px !important;
}
[dir="rtl"] .product-image > .badge.special-badge,
[dir="rtl"] .product-card > .badge.special-badge,
[dir="rtl"] .badge.special-badge:not(.product-badges-stack *) {
    left: 8px !important;
    right: auto !important;
}
[dir="ltr"] .product-image > .badge.special-badge,
[dir="ltr"] .product-card > .badge.special-badge,
[dir="ltr"] .badge.special-badge:not(.product-badges-stack *) {
    right: 8px !important;
    left: auto !important;
}

.product-image .badge.special-badge i,
.product-card .badge.special-badge i,
.badge.special-badge i {
    font-size: 10px !important;
    color: #fce79a !important;
}

.badge-sale {
    background: #FFFBEB !important;
    color: #B45309 !important;
    border-color: #FDE68A !important;
}

.badge-new {
    background: var(--shop-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--shop-primary) !important;
}

.badge-stock {
    background: var(--shop-success-soft) !important;
    color: var(--shop-success) !important;
    border-color: #A7F3D0 !important;
}

/* --------------------------------------------------------------------------
   5. PRICE DISPLAY (Consistent luxury styling)
   -------------------------------------------------------------------------- */
.price-display,
.product-price,
.cart-item-price {
    font-size: var(--shop-font-base) !important;
    font-weight: 700 !important;
    color: var(--shop-primary) !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 6px !important;
}

.price-old,
.old-price {
    font-size: var(--shop-font-xs) !important;
    font-weight: 400 !important;
    color: var(--shop-text-muted) !important;
    text-decoration: line-through !important;
    opacity: 0.8 !important;
}

/* --------------------------------------------------------------------------
   6. SECTION HEADINGS & SPACING RHYTHM
   -------------------------------------------------------------------------- */
.section-header,
.slider-header {
    margin-bottom: var(--shop-space-6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.section-title {
    font-size: var(--shop-font-xl) !important;
    font-weight: 800 !important;
    color: var(--shop-text) !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
}

.section-subtitle {
    font-size: var(--shop-font-sm) !important;
    color: var(--shop-text-muted) !important;
    margin-top: 4px !important;
}

/* --------------------------------------------------------------------------
   7. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   8. CART & CHECKOUT REDESIGN & UNIFICATION
   -------------------------------------------------------------------------- */
.checkout-container {
    padding-top: var(--shop-space-8, 32px);
    padding-bottom: var(--shop-space-16, 64px);
    background-color: var(--shop-surface-alt, #fafaf9);
    min-height: calc(100vh - 200px);
}

.checkout-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 420px) !important;
    gap: var(--shop-space-8, 32px) !important;
    align-items: start !important;
}

@media (max-width: 991px) {
    .checkout-grid {
        grid-template-columns: 100% !important;
        gap: var(--shop-space-6, 24px) !important;
    }
}

.checkout-card {
    background: var(--shop-surface, #ffffff) !important;
    border-radius: var(--shop-radius-lg, 16px) !important;
    border: 1px solid var(--shop-border, #e2e8f0) !important;
    box-shadow: var(--shop-shadow-sm) !important;
    padding: var(--shop-space-6, 24px) !important;
    margin-bottom: var(--shop-space-6, 24px) !important;
    position: relative !important;
    transition: var(--shop-transition-fast) !important;
}

.checkout-section-title {
    font-size: var(--shop-font-lg, 18px) !important;
    font-weight: 700 !important;
    margin-bottom: var(--shop-space-5, 20px) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--shop-space-3, 12px) !important;
    color: var(--shop-text-main, #1e293b) !important;
}

.checkout-section-title i:not(.toggle-icon) {
    width: 32px !important;
    height: 32px !important;
    border-radius: var(--shop-radius-sm, 8px) !important;
    background: linear-gradient(135deg, var(--shop-primary, #5A1835) 0%, #3e0e23 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
}

/* Order Summary Sticky Card (Desktop) */
@media (min-width: 992px) {
    .checkout-sidebar {
        position: sticky !important;
        top: calc(var(--shop-header-height, 84px) + 20px) !important;
        z-index: 30 !important;
    }
    .order-summary-card {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 0 !important;
    }
}

.order-summary-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: var(--shop-space-4, 16px) !important;
    border-bottom: 1px solid var(--shop-border, #e2e8f0) !important;
}

.cart-count-badge {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--shop-primary, #5A1835) !important;
    background: rgba(90, 24, 53, 0.08) !important;
    padding: 4px 10px !important;
    border-radius: var(--shop-radius-pill, 9999px) !important;
}

/* Cart Items Mini List */
#cartItems,
.cart-items-mini {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--shop-space-4, 16px) !important;
    max-height: 340px !important;
    overflow-y: auto !important;
    padding: var(--shop-space-4, 16px) 0 !important;
    scrollbar-width: thin !important;
    background: transparent !important;
    pointer-events: auto !important;
    width: 100% !important;
    height: auto !important;
}

.cart-item-modern {
    display: flex !important;
    gap: var(--shop-space-4, 16px) !important;
    padding-bottom: var(--shop-space-4, 16px) !important;
    border-bottom: 1px solid var(--shop-border, #f1f5f9) !important;
    min-width: 0 !important;
    position: relative !important;
}

.cart-item-modern:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.cart-item-image {
    width: 76px !important;
    height: 96px !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    object-fit: cover !important;
    background-color: var(--shop-surface-alt, #f8fafc) !important;
    border: 1px solid var(--shop-border, #e2e8f0) !important;
    flex-shrink: 0 !important;
}

.cart-item-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.cart-item-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--shop-text-main, #1e293b) !important;
    line-height: 1.4 !important;
    margin: 0 0 6px 0 !important;
    padding-inline-end: 28px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.cart-item-remove {
    position: absolute !important;
    top: 0 !important;
    inset-inline-end: 0 !important;
    background: none !important;
    border: none !important;
    color: var(--shop-text-muted, #94a3b8) !important;
    font-size: 15px !important;
    cursor: pointer !important;
    padding: 4px !important;
    border-radius: 6px !important;
    transition: var(--shop-transition-fast) !important;
}

.cart-item-remove:hover {
    color: var(--shop-danger, #ef4444) !important;
    transform: scale(1.15) !important;
}

.cart-item-meta {
    display: flex !important;
    gap: 10px !important;
    font-size: 12px !important;
    color: var(--shop-text-muted, #64748b) !important;
    flex-wrap: wrap !important;
    margin-bottom: 8px !important;
}

.cart-item-qty-price {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
}

.modern-stepper {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--shop-surface-alt, #f8fafc) !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    border-radius: var(--shop-radius-sm, 8px) !important;
    padding: 2px 4px !important;
    gap: 8px !important;
}

.stepper-btn {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    border: none !important;
    background: var(--shop-surface, #ffffff) !important;
    color: var(--shop-text-main, #1e293b) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    transition: var(--shop-transition-fast) !important;
}

.stepper-btn:hover {
    background: var(--shop-primary, #5A1835) !important;
    color: #ffffff !important;
}

.item-qty-val {
    font-weight: 700 !important;
    font-size: 14px !important;
    min-width: 20px !important;
    text-align: center !important;
    color: var(--shop-text-main, #1e293b) !important;
}

.cart-item-price {
    font-weight: 800 !important;
    color: var(--shop-primary, #5A1835) !important;
    font-size: 15px !important;
}

/* Order Totals */
.summary-totals {
    border-top: 1px solid var(--shop-border, #e2e8f0) !important;
    padding-top: var(--shop-space-4, 16px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--shop-space-3, 12px) !important;
    margin-bottom: var(--shop-space-4, 16px) !important;
}

.summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
    color: var(--shop-text-muted, #64748b) !important;
}

.summary-row strong {
    color: var(--shop-text-main, #1e293b) !important;
    font-weight: 700 !important;
}

.summary-row.total {
    border-top: 1px dashed var(--shop-border, #e2e8f0) !important;
    padding-top: var(--shop-space-4, 16px) !important;
    margin-top: 4px !important;
    font-size: 16px !important;
    color: var(--shop-text-main, #1e293b) !important;
    font-weight: 700 !important;
}

.summary-row.total .total-price {
    color: var(--shop-primary, #5A1835) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
}

/* Coupon Row */
.checkout-coupon-row {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: var(--shop-space-5, 20px) !important;
}

.checkout-coupon-row .form-control {
    flex: 1 !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    background: var(--shop-surface, #fff) !important;
}

.checkout-coupon-btn {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 22px !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    background: var(--shop-primary, #5A1835) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--shop-transition-fast) !important;
}

.checkout-coupon-btn:hover {
    background: #4a112a !important;
}

/* Primary Pay Button & Actions */
.btn-pay {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    background: linear-gradient(135deg, var(--shop-primary, #5A1835) 0%, #3e0e23 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(90, 24, 53, 0.28) !important;
    transition: var(--shop-transition-normal) !important;
}

.btn-pay:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(90, 24, 53, 0.38) !important;
    background: linear-gradient(135deg, #6c1e40 0%, #4a112a 100%) !important;
}

.btn-pay strong {
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
}

/* Pay button unlock behavior */
.checkout-actions {
    display: none !important;
    margin-bottom: var(--shop-space-4, 16px) !important;
}

body.checkout-unlocked .checkout-actions {
    display: block !important;
}

/* Mobile Sticky Bottom Pay Bar */
@media (max-width: 767px) {
    .sticky-pay-wrapper {
        display: none !important;
    }
    body.checkout-unlocked:not(.cart-empty) .sticky-pay-wrapper {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-top: 1px solid var(--shop-border, #e2e8f0) !important;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 9999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    }
    body.checkout-unlocked:not(.cart-empty) {
        padding-bottom: 90px !important;
    }
    .checkout-actions.d-none.d-md-block {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .sticky-pay-wrapper {
        display: none !important;
    }
}

/* Unified Form Controls in Checkout */
.checkout-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--shop-space-4, 16px) !important;
}

@media (max-width: 768px) {
    .checkout-form-row {
        grid-template-columns: 1fr !important;
        gap: var(--shop-space-3, 12px) !important;
    }
}

.modern-text-input,
.paymob-card-form .form-control {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    background: var(--shop-surface, #ffffff) !important;
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    font-family: inherit !important;
    color: var(--shop-text-main, #1e293b) !important;
    transition: var(--shop-transition-fast) !important;
    box-sizing: border-box !important;
}

.modern-text-input:focus,
.paymob-card-form .form-control:focus {
    border-color: var(--shop-primary, #5A1835) !important;
    box-shadow: var(--shop-focus-ring) !important;
    outline: none !important;
}

/* Unified Native & Custom Selects */
select,
.form-select,
select.custom-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: var(--shop-surface, #ffffff) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 14px center !important;
    background-size: 16px 16px !important;
    padding-inline-start: 16px !important;
    padding-inline-end: 42px !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    font-size: 16px !important;
    color: var(--shop-text-main, #1e293b) !important;
    font-family: inherit !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: var(--shop-transition-fast) !important;
}

[dir="ltr"] select,
[dir="ltr"] .form-select,
[dir="ltr"] select.custom-select {
    background-position: right 14px center !important;
}

select:focus,
.form-select:focus,
select.custom-select:focus {
    border-color: var(--shop-primary, #5A1835) !important;
    box-shadow: var(--shop-focus-ring) !important;
    outline: none !important;
}

/* JS-driven Modern Select Component */
.modern-select-wrapper {
    position: relative !important;
    width: 100% !important;
    user-select: none !important;
}

.modern-select-trigger {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    font-size: 16px !important;
    color: var(--shop-text-main, #1e293b) !important;
    background: var(--shop-surface, #ffffff) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: var(--shop-transition-fast) !important;
}

.modern-select-trigger:hover {
    border-color: #cbd5e1 !important;
}

.modern-select-trigger.open {
    border-color: var(--shop-primary, #5A1835) !important;
    box-shadow: var(--shop-focus-ring) !important;
    z-index: 1000 !important;
}

.modern-select-trigger i {
    font-size: 13px !important;
    color: var(--shop-text-muted, #64748b) !important;
    transition: transform 0.25s ease !important;
}

.modern-select-trigger.open i {
    transform: rotate(180deg) !important;
}

.modern-select-options {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 250px !important;
    background: var(--shop-surface, #ffffff) !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    box-shadow: var(--shop-shadow-lg) !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    padding: 6px 0 !important;
    box-sizing: border-box !important;
}

.modern-select-options:not(.open) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.modern-select-options.open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.modern-select-option {
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: var(--shop-text-main, #1e293b) !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: var(--shop-transition-fast) !important;
    background: transparent !important;
}

.modern-select-option:hover {
    background: rgba(90, 24, 53, 0.06) !important;
    color: var(--shop-primary, #5A1835) !important;
}

.modern-select-option.selected {
    background: rgba(90, 24, 53, 0.08) !important;
    color: var(--shop-primary, #5A1835) !important;
    font-weight: 700 !important;
}

/* Modern Phone Input + Prefix Wrapper */
.modern-phone-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    background: var(--shop-surface, #ffffff) !important;
    position: relative !important;
    transition: var(--shop-transition-fast) !important;
    box-sizing: border-box !important;
}

.modern-phone-wrapper:focus-within {
    border-color: var(--shop-primary, #5A1835) !important;
    box-shadow: var(--shop-focus-ring) !important;
}

.phone-prefix-container {
    position: relative !important;
    width: auto !important;
    min-width: 95px !important;
    flex-shrink: 0 !important;
    border: none !important;
    border-inline-end: none !important;
}

.phone-prefix-container .modern-select-trigger {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 10px !important;
    box-shadow: none !important;
}

.phone-prefix-container .modern-select-options {
    min-width: 150px !important;
    width: 150px !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    left: auto !important;
    right: auto !important;
}

[dir="rtl"] .phone-prefix-container .modern-select-options {
    right: 0 !important;
    left: auto !important;
}

[dir="ltr"] .phone-prefix-container .modern-select-options {
    left: 0 !important;
    right: auto !important;
}

.checkout-phone-input {
    flex: 1 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 14px !important;
    font-size: 16px !important;
    color: var(--shop-text-main, #1e293b) !important;
    height: 46px !important;
    min-height: 46px !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Payment Method Cards */
.payment-methods-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--shop-space-3, 12px) !important;
    margin-bottom: var(--shop-space-6, 24px) !important;
}

.payment-method-card {
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    padding: 14px 18px !important;
    cursor: pointer !important;
    transition: var(--shop-transition-fast) !important;
    background: var(--shop-surface, #ffffff) !important;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: var(--shop-space-4, 16px) !important;
    position: relative !important;
}

.payment-method-card:hover:not(.disabled) {
    border-color: var(--shop-primary, #5A1835) !important;
    background: rgba(90, 24, 53, 0.02) !important;
}

.payment-method-card.active {
    border-color: var(--shop-primary, #5A1835) !important;
    background: rgba(90, 24, 53, 0.03) !important;
    box-shadow: 0 4px 14px rgba(90, 24, 53, 0.08) !important;
}

.payment-method-card.disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    background: var(--shop-surface-alt, #fafaf9) !important;
}

/* --------------------------------------------------------------------------
   9. STOREFRONT-WIDE DESIGN UNIFICATION (Step 4)
   Header, Footer, Shop Grid, Product Detail, Customer Auth, Modals & Drawers
   -------------------------------------------------------------------------- */

/* Header & Navigation Bar (Preserve native containing block & isolate bottom bar) */
header.site-header,
.site-header {
    z-index: 100000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    contain: none !important;
}

.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-block: var(--shop-space-3, 12px) !important;
}

.logo img {
    height: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    transition: var(--shop-transition-fast) !important;
}

@media (max-width: 768px) {
    .logo img {
        height: 38px !important;
        max-height: 38px !important;
    }
}

/* Search Bar in Header */
.search-bar-wrapper,
.header-search {
    position: relative !important;
}

.search-input,
.search-form input[type="search"],
.header-search input {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: var(--shop-radius-pill, 9999px) !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    padding-inline-start: 42px !important;
    padding-inline-end: 18px !important;
    background: var(--shop-surface-alt, #f8fafc) !important;
    font-size: 14px !important;
    color: var(--shop-text-main, #1e293b) !important;
    transition: var(--shop-transition-fast) !important;
}

.search-input:focus,
.search-form input[type="search"]:focus,
.header-search input:focus {
    background: #ffffff !important;
    border-color: var(--shop-primary, #5A1835) !important;
    box-shadow: var(--shop-focus-ring) !important;
}

/* Header Action Icons & Badges */
.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: var(--shop-space-3, 12px) !important;
}

.header-action-btn,
.cart-toggle-btn,
.account-toggle-btn,
.lang-toggle-btn {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: var(--shop-radius-pill, 9999px) !important;
    border: 1px solid var(--shop-border, #e2e8f0) !important;
    background: var(--shop-surface, #ffffff) !important;
    color: var(--shop-text-main, #1e293b) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    cursor: pointer !important;
    transition: var(--shop-transition-fast) !important;
}

.header-action-btn:hover,
.cart-toggle-btn:hover,
.account-toggle-btn:hover {
    background: var(--shop-surface-alt, #f8fafc) !important;
    border-color: var(--shop-primary, #5A1835) !important;
    color: var(--shop-primary, #5A1835) !important;
    transform: translateY(-1px) !important;
}

.header-count-badge {
    position: absolute !important;
    top: -6px !important;
    inset-inline-end: -6px !important;
    background: var(--shop-primary, #5A1835) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-width: 20px !important;
    height: 20px !important;
    border-radius: var(--shop-radius-pill, 9999px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(90, 24, 53, 0.3) !important;
}

/* Product Cards & Grid Unification */
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: var(--shop-space-6, 24px) !important;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--shop-space-3, 12px) !important;
    }
}

.product-card {
    background: var(--shop-surface, #ffffff) !important;
    border-radius: var(--shop-radius-lg, 16px) !important;
    border: 1px solid var(--shop-border, #e2e8f0) !important;
    box-shadow: var(--shop-shadow-xs) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform var(--shop-transition-fast), box-shadow var(--shop-transition-fast), border-color var(--shop-transition-fast) !important;
    position: relative !important;
}

.product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shop-shadow-md) !important;
    border-color: rgba(90, 24, 53, 0.15) !important;
}

.product-card-image {
    aspect-ratio: 3 / 4 !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    background: var(--shop-surface-alt, #f8fafc) !important;
}

.product-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform var(--shop-transition-normal) !important;
}

.product-card:hover .product-card-image img {
    transform: scale(1.04) !important;
}

.product-card-info {
    padding: var(--shop-space-4, 16px) !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

@media (max-width: 768px) {
    .product-card-info {
        padding: var(--shop-space-3, 12px) !important;
    }
}

.product-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--shop-text-main, #1e293b) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.product-price {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--shop-primary, #5A1835) !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
}

.product-price .old-price {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--shop-text-muted, #94a3b8) !important;
    text-decoration: line-through !important;
}

/* Shop Controls Toolbar */
.shop-controls {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: var(--shop-space-4, 16px) !important;
    background: var(--shop-surface, #ffffff) !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    border: 1px solid var(--shop-border, #e2e8f0) !important;
    margin-bottom: var(--shop-space-6, 24px) !important;
    gap: 12px !important;
}

.view-toggle {
    display: flex !important;
    gap: 6px !important;
}

.view-toggle button {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: var(--shop-radius-sm, 8px) !important;
    border: 1px solid var(--shop-border, #e2e8f0) !important;
    background: var(--shop-surface, #ffffff) !important;
    color: var(--shop-text-muted, #64748b) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--shop-transition-fast) !important;
}

.view-toggle button.active,
.view-toggle button:hover {
    background: var(--shop-primary, #5A1835) !important;
    color: #ffffff !important;
    border-color: var(--shop-primary, #5A1835) !important;
}

.filter-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    border-radius: var(--shop-radius-sm, 8px) !important;
    border: 1.5px solid var(--shop-primary, #5A1835) !important;
    background: rgba(90, 24, 53, 0.04) !important;
    color: var(--shop-primary, #5A1835) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: var(--shop-transition-fast) !important;
}

.filter-toggle-btn:hover {
    background: var(--shop-primary, #5A1835) !important;
    color: #ffffff !important;
}

/* Pagination Component */
.pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: var(--shop-space-8, 32px) !important;
    margin-bottom: var(--shop-space-8, 32px) !important;
}

.page-link,
.pagination a,
.pagination span {
    min-width: 40px !important;
    height: 40px !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    border: 1px solid var(--shop-border, #e2e8f0) !important;
    background: var(--shop-surface, #ffffff) !important;
    color: var(--shop-text-main, #1e293b) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: var(--shop-transition-fast) !important;
}

.page-link.active,
.pagination .active a,
.pagination .current {
    background: var(--shop-primary, #5A1835) !important;
    color: #ffffff !important;
    border-color: var(--shop-primary, #5A1835) !important;
    box-shadow: 0 2px 8px rgba(90, 24, 53, 0.25) !important;
}

.page-link:hover:not(.active),
.pagination a:hover {
    border-color: var(--shop-primary, #5A1835) !important;
    color: var(--shop-primary, #5A1835) !important;
}

/* Product Detail Page Unification */
.product-detail-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--shop-space-8, 32px) !important;
    align-items: start !important;
}

@media (max-width: 991px) {
    .product-detail-layout {
        grid-template-columns: 100% !important;
        gap: var(--shop-space-6, 24px) !important;
    }
}

.variant-selector-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}

.size-btn,
.variant-btn {
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    background: var(--shop-surface, #ffffff) !important;
    color: var(--shop-text-main, #1e293b) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 12px !important;
    transition: var(--shop-transition-fast) !important;
}

.size-btn.active,
.variant-btn.active,
.size-btn:hover {
    border-color: var(--shop-primary, #5A1835) !important;
    color: var(--shop-primary, #5A1835) !important;
    background: rgba(90, 24, 53, 0.05) !important;
}

.size-btn.active {
    font-weight: 800 !important;
    box-shadow: 0 0 0 1px var(--shop-primary, #5A1835) !important;
}

.color-swatch-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    outline: 1.5px solid var(--shop-border, #e2e8f0) !important;
    cursor: pointer !important;
    transition: var(--shop-transition-fast) !important;
    display: inline-block !important;
}

.color-swatch-btn.active,
.color-swatch-btn:hover {
    outline-color: var(--shop-primary, #5A1835) !important;
    outline-width: 2.5px !important;
    transform: scale(1.1) !important;
}

/* Customer Auth & Account Pages */
.auth-container,
.acc-container,
.login-section {
    padding-top: var(--shop-space-8, 32px) !important;
    padding-bottom: var(--shop-space-12, 48px) !important;
}

.auth-card,
.acc-card {
    background: var(--shop-surface, #ffffff) !important;
    border-radius: var(--shop-radius-lg, 16px) !important;
    border: 1px solid var(--shop-border, #e2e8f0) !important;
    box-shadow: var(--shop-shadow-md) !important;
    padding: var(--shop-space-8, 32px) !important;
    max-width: 480px !important;
    margin: 0 auto !important;
}

@media (max-width: 576px) {
    .auth-card,
    .acc-card {
        padding: var(--shop-space-5, 20px) !important;
        border-radius: var(--shop-radius-md, 12px) !important;
    }
}

/* Modals, Drawers & Bottom Sheets */
.modal-content,
.global-filter-drawer,
.account-sheet,
.bottom-sheet {
    border-radius: var(--shop-radius-lg, 16px) !important;
    border: 1px solid var(--shop-border, #e2e8f0) !important;
    box-shadow: var(--shop-shadow-xl) !important;
    background: var(--shop-surface, #ffffff) !important;
}

@media (max-width: 768px) {
    .bottom-sheet,
    .account-sheet {
        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
}

/* Toast Notifications */
.toast,
.alert {
    border-radius: var(--shop-radius-md, 12px) !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: var(--shop-shadow-lg) !important;
    border: 1px solid transparent !important;
}

.alert-success,
.toast-success {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border-color: #a7f3d0 !important;
}

.alert-danger,
.toast-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-color: #fecaca !important;
}

.alert-warning,
.toast-warning {
    background: #fffbeb !important;
    color: #92400e !important;
    border-color: #fde68a !important;
}

/* Footer Section Unification */
footer {
    background: #141318 !important;
    color: #ffffff !important;
    padding-top: var(--shop-space-12, 48px) !important;
    padding-bottom: var(--shop-space-6, 24px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

footer h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #E2C695 !important;
    margin-bottom: var(--shop-space-4, 16px) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: var(--shop-transition-fast) !important;
}

footer a:hover {
    color: #E2C695 !important;
}

/* Footer Link Directional Arrows (Bilingual RTL / LTR) */
.footer-column ul li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
}

/* RTL Arrow (Arabic): points left */
html[dir="rtl"] .footer-column ul li a::before,
[dir="rtl"] .footer-column ul li a::before {
    content: '\f104';
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    font-size: 12px;
    color: #C5A880;
    opacity: 0.8;
    transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}

/* LTR Arrow (English): points right */
html[dir="ltr"] .footer-column ul li a::before,
[dir="ltr"] .footer-column ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    font-size: 12px;
    color: #C5A880;
    opacity: 0.8;
    transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}

/* Hover effects */
html[dir="rtl"] .footer-column ul li a:hover,
[dir="rtl"] .footer-column ul li a:hover {
    transform: translateX(-4px);
    color: #E2C695 !important;
}

html[dir="rtl"] .footer-column ul li a:hover::before,
[dir="rtl"] .footer-column ul li a:hover::before {
    transform: translateX(-2px);
    opacity: 1;
    color: #E2C695;
}

html[dir="ltr"] .footer-column ul li a:hover,
[dir="ltr"] .footer-column ul li a:hover {
    transform: translateX(4px);
    color: #E2C695 !important;
}

html[dir="ltr"] .footer-column ul li a:hover::before,
[dir="ltr"] .footer-column ul li a:hover::before {
    transform: translateX(2px);
    opacity: 1;
    color: #E2C695;
}

/* Page Background Stabilization (Prevents compositor canvas black flash on fast scroll-up) */
html,
body,
main,
#page-content {
    background-color: var(--bg-main, #F8F6F7);
}

html {
    background-color: var(--bg-main, #F8F6F7) !important;
}

.trends-section {
    background-color: var(--bg-main, #F8F6F7);
}

html[data-theme="dark"] html,
html[data-theme="dark"] body,
html[data-theme="dark"] main,
html[data-theme="dark"] .trends-section {
    background-color: var(--bg-main, #0B0A0E) !important;
}

.social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    transition: var(--shop-transition-fast) !important;
}

.social-links a:hover {
    background: #C5A059 !important;
    color: #141318 !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   FOOTER TOP CENTERED CONTACT SECTION (2 Rows) & 4-COLUMN GRID
   ========================================================================== */
.footer-top-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 32px;
    margin-bottom: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-top-contact__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #E2C695 !important;
    margin-bottom: 22px !important;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.footer-top-contact__title::before,
.footer-top-contact__title::after {
    content: '';
    display: inline-block;
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C5A059, transparent);
}

/* Row 1: Direct Contact Information (Pills) */
.footer-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.footer-contact-row--info {
    margin-bottom: 22px;
}

.footer-contact-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(226, 198, 149, 0.22) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.footer-contact-pill i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(226, 198, 149, 0.15);
    color: #E2C695;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

a.footer-contact-pill:hover {
    background: rgba(226, 198, 149, 0.18) !important;
    border-color: #E2C695 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

a.footer-contact-pill:hover i {
    background: #E2C695;
    color: #141318;
}

/* Row 2: Social Media Note & Platforms */
.footer-contact-row--social {
    gap: 16px;
}

.footer-contact-row--social .social-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin: 0;
}

.footer-contact-row--social .social-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-row--social .social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-contact-row--social .social-links a:hover {
    background: #E2C695 !important;
    color: #141318 !important;
    border-color: #E2C695 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(226, 198, 149, 0.35) !important;
}

.footer-contact-row--social .social-links a.whatsapp:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35) !important;
}
.footer-contact-row--social .social-links a.facebook:hover {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35) !important;
}
.footer-contact-row--social .social-links a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(214, 36, 159, 0.35) !important;
}
.footer-contact-row--social .social-links a.tiktok:hover {
    background: #000000 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45) !important;
}

/* 4-Column Footer Grid Layout */
.footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1.1fr 1.1fr 1.1fr !important;
    gap: 48px !important;
    margin-bottom: 50px !important;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 36px !important;
    }
}

@media (max-width: 768px) {
    .footer-top-contact {
        padding-bottom: 26px !important;
        margin-bottom: 36px !important;
    }
    .footer-contact-row--info {
        flex-direction: column !important;
        align-items: stretch !important;
        max-width: 440px !important;
        margin-inline: auto !important;
        gap: 12px !important;
    }
    .footer-contact-pill {
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
    }
    .footer-contact-row--social {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 18px !important;
        margin-bottom: 36px !important;
    }
    .footer-column.footer-about {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }
    .footer-column.footer-about .footer-logo {
        justify-content: center !important;
    }
    .footer-column:not(.footer-about) {
        text-align: start !important;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 14px !important;
    }
    .footer-column.footer-about {
        grid-column: 1 / -1 !important;
    }
}

/* ==========================================================================
   10. LUXURY INTERNATIONAL SELECTORS (Country, City, Phone)
   ========================================================================== */
.samraa-custom-select {
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.samraa-select-trigger {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    background: var(--shop-surface, #ffffff) !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: var(--shop-text-main, #1e293b) !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    text-align: start !important;
}

.samraa-select-trigger:hover {
    border-color: var(--shop-primary, #5A1835) !important;
    background: rgba(90, 24, 53, 0.01) !important;
}

.samraa-select-trigger:focus,
.samraa-select-trigger[aria-expanded="true"] {
    outline: none !important;
    border-color: var(--shop-primary, #5A1835) !important;
    box-shadow: 0 0 0 4px rgba(90, 24, 53, 0.12) !important;
}

.samraa-trigger-val {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.samraa-flag {
    font-size: 18px !important;
    line-height: 1 !important;
}

.samraa-en-name {
    font-size: 12px !important;
    opacity: 0.65 !important;
    font-weight: 400 !important;
}

.samraa-chevron {
    font-size: 12px !important;
    color: var(--shop-text-muted, #94a3b8) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-inline-start: 10px !important;
}

.samraa-select-trigger[aria-expanded="true"] .samraa-chevron,
.samraa-phone-prefix-btn[aria-expanded="true"] .samraa-phone-chevron {
    transform: rotate(180deg) !important;
    color: var(--shop-primary, #5A1835) !important;
}

/* Floating Searchable Menu */
.samraa-select-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    inset-inline-start: 0 !important;
    width: 100% !important;
    min-width: 280px !important;
    max-height: 380px;
    background: var(--shop-surface, #ffffff) !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    z-index: 50000 !important;
    display: none;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: samraaMenuDrop 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modern-select-options {
    z-index: 50000 !important;
}

.samraa-select-menu.open {
    display: flex !important;
}

/* Smart Upward Dropup when near bottom bar / footer */
.samraa-select-menu.open-upward {
    top: auto !important;
    bottom: calc(100% + 6px) !important;
    box-shadow: 0 -20px 45px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    animation: samraaMenuDropUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes samraaMenuDrop {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes samraaMenuDropUp {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Ensure checkout section and containers never clip dropdowns */
.checkout-container,
section.checkout-container,
.checkout-container > .container,
.checkout-grid,
.checkout-main,
.checkout-card,
.paymob-card-form {
    overflow: visible !important;
}

/* Bottom Nav Bar sits under open dropdowns */
.header-bottom {
    z-index: 100 !important;
}

/* Categories Dropdown (Mega Menu) Solid Background & Contrast */
.mega-menu {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #111012 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

.mega-menu .mega-column ul li a {
    color: #111012 !important;
}

.mega-menu .mega-column ul li a:hover {
    color: var(--primary-color, #5A1835) !important;
}

.mega-menu .mega-column h4 {
    color: var(--primary-color, #5A1835) !important;
}

html[data-theme="dark"] .mega-menu {
    background: #141318 !important;
    background-color: #141318 !important;
    color: #F5F0F3 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .mega-menu .mega-column ul li a {
    color: #F5F0F3 !important;
}

html[data-theme="dark"] .mega-menu .mega-column ul li a:hover {
    color: #D4AF37 !important;
}

html[data-theme="dark"] .mega-menu .mega-column h4 {
    color: #D4AF37 !important;
}

/* Mobile Side Drawer Mode for Categories (Mega Menu) */
@media (max-width: 991px) {
    .mega-menu {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: min(340px, 86vw) !important;
        max-width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        background: #FFFFFF !important;
        background-color: #FFFFFF !important;
        color: #111012 !important;
        z-index: 100005 !important;
        box-shadow: -8px 0 35px rgba(0, 0, 0, 0.25) !important;
        transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
        display: block !important;
        margin: 0 !important;
    }
    .mega-menu.active {
        right: 0 !important;
        left: auto !important;
    }
    html[dir="ltr"] .mega-menu {
        right: auto !important;
        left: -100% !important;
        transition: left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
        box-shadow: 8px 0 35px rgba(0, 0, 0, 0.25) !important;
    }
    html[dir="ltr"] .mega-menu.active {
        left: 0 !important;
        right: auto !important;
    }
    html[data-theme="dark"] .mega-menu {
        background: #141318 !important;
        background-color: #141318 !important;
        color: #F5F0F3 !important;
        box-shadow: -8px 0 35px rgba(0, 0, 0, 0.6) !important;
    }
    .mega-menu-close {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 20px !important;
        background: var(--bg-surface-elevated, #FAF7F9) !important;
        border-bottom: 1px solid var(--border-color, rgba(90, 24, 53, 0.12)) !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        color: var(--primary-color, #5A1835) !important;
        cursor: pointer !important;
        margin-bottom: 10px !important;
    }
    html[data-theme="dark"] .mega-menu-close {
        background: #1F141E !important;
        border-bottom-color: rgba(212, 175, 55, 0.2) !important;
        color: #D4AF37 !important;
    }
    .mega-menu-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 6px 16px 24px !important;
    }
    .mega-column {
        padding: 12px 6px !important;
        border-bottom: 1px solid rgba(90, 24, 53, 0.08) !important;
    }
    html[data-theme="dark"] .mega-column {
        border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    }
}

/* Mega Menu Backdrop Overlay */
.mega-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 100004;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}
.mega-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

footer,
footer.footer {
    position: relative;
    z-index: 1;
}

/* Search Header */
.samraa-search-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    background: var(--shop-surface-alt, #f8f9fa) !important;
    border-bottom: 1px solid var(--shop-border, #e2e8f0) !important;
}

.samraa-search-header i {
    color: var(--shop-text-muted, #94a3b8) !important;
    font-size: 14px !important;
}

.samraa-search-input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 13.5px !important;
    color: var(--shop-text-main, #1e293b) !important;
    font-weight: 500 !important;
    padding: 4px 0 !important;
}

.samraa-search-input::placeholder {
    color: var(--shop-text-muted, #94a3b8) !important;
}

/* Options List */
.samraa-options-list {
    flex: 1 !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    padding: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.samraa-options-list::-webkit-scrollbar {
    width: 6px;
}
.samraa-options-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

/* Option Items */
.samraa-option-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.18s ease, color 0.18s ease !important;
    font-size: 13.5px !important;
    color: var(--shop-text-main, #1e293b) !important;
    user-select: none !important;
}

.samraa-option-item:hover {
    background: rgba(90, 24, 53, 0.06) !important;
    color: var(--shop-primary, #5A1835) !important;
}

.samraa-option-item.active {
    background: rgba(90, 24, 53, 0.1) !important;
    color: var(--shop-primary, #5A1835) !important;
    font-weight: 700 !important;
}

.samraa-item-flag {
    font-size: 18px !important;
    line-height: 1 !important;
}

.samraa-item-name {
    flex: 1 !important;
    font-weight: 600 !important;
}

.samraa-item-en {
    font-size: 11.5px !important;
    color: var(--shop-text-muted, #94a3b8) !important;
    font-weight: 400 !important;
    margin-inline-end: 6px !important;
}

.samraa-item-code,
.samraa-item-dial {
    font-family: monospace, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    padding: 2px 6px !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border-radius: 6px !important;
    color: var(--shop-primary, #5A1835) !important;
    direction: ltr !important;
}

.samraa-check-icon {
    font-size: 12px !important;
    color: var(--shop-primary, #5A1835) !important;
    opacity: 0 !important;
    transform: scale(0.6) !important;
    transition: all 0.2s ease !important;
    margin-inline-start: auto !important;
}

.samraa-option-item.active .samraa-check-icon {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.samraa-no-results {
    padding: 16px 12px !important;
    text-align: center !important;
    color: var(--shop-text-muted, #94a3b8) !important;
    font-size: 13px !important;
}

/* Phone Prefix Luxury Trigger & Popup */
.samraa-luxury-phone-group {
    display: flex !important;
    align-items: stretch !important;
    border: 1.5px solid var(--shop-border, #e2e8f0) !important;
    border-radius: var(--shop-radius-md, 12px) !important;
    background: var(--shop-surface, #ffffff) !important;
    position: relative !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.samraa-luxury-phone-group:focus-within {
    border-color: var(--shop-primary, #5A1835) !important;
    box-shadow: 0 0 0 4px rgba(90, 24, 53, 0.12) !important;
}

.samraa-phone-prefix-btn {
    height: 48px !important;
    min-height: 48px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    border-inline-end: none !important;
    color: var(--shop-text-main, #1e293b) !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    transition: background 0.2s !important;
}

.samraa-phone-prefix-btn:hover {
    background: rgba(90, 24, 53, 0.04) !important;
}

input.checkout-phone-input,
.modern-phone-wrapper input.checkout-phone-input,
.samraa-luxury-phone-group input.checkout-phone-input,
#codPhone.checkout-phone-input,
.checkout-phone-input {
    border: none !important;
    border-width: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    flex: 1 1 auto !important;
    height: 48px !important;
    padding: 0 14px !important;
    font-size: 14.5px !important;
    color: inherit !important;
}

.samraa-phone-flag {
    font-size: 18px !important;
    line-height: 1 !important;
}

.samraa-phone-dial {
    direction: ltr !important;
    font-family: inherit !important;
    font-weight: 700 !important;
}

.samraa-phone-chevron {
    font-size: 11px !important;
    color: var(--shop-text-muted, #94a3b8) !important;
    transition: transform 0.25s !important;
}

.samraa-phone-menu {
    width: 320px !important;
    min-width: 300px !important;
    inset-inline-start: 0 !important;
}

.samraa-item-pin {
    color: var(--shop-primary, #5A1835) !important;
    font-size: 13px !important;
    opacity: 0.75 !important;
}

.samraa-city-other {
    border-top: 1px dashed var(--shop-border, #e2e8f0) !important;
    margin-top: 4px !important;
    padding-top: 10px !important;
    color: var(--shop-primary, #5A1835) !important;
}

/* ==========================================================================
   SEARCH DRAWER & SUGGESTIONS STYLING
   ========================================================================== */
.header-search-slide.active .search-history-dropdown,
.header-search-slide.is-open.active .search-history-dropdown {
    padding: 14px 16px 16px !important;
}

.search-history-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 4px 10px 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--shop-text-muted, #718096) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    margin-bottom: 8px !important;
}

#clearSearchHistory {
    background: transparent !important;
    border: none !important;
    color: #e53e3e !important;
    cursor: pointer !important;
    padding: 6px 8px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

#clearSearchHistory:hover {
    background: rgba(229, 62, 62, 0.1) !important;
    transform: scale(1.1) !important;
}

.search-suggestions-container {
    padding: 6px 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.search-suggestions-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 4px 4px 10px 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--shop-text-muted, #718096) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    margin-bottom: 12px !important;
}

.search-suggestions-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.suggestion-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    background: #fdfdfd !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease !important;
}

.suggestion-item:hover {
    background: #f7f3f6 !important;
    border-color: rgba(90, 24, 53, 0.2) !important;
    transform: translateX(-3px) !important;
}

[dir="ltr"] .suggestion-item:hover {
    transform: translateX(3px) !important;
}

.suggestion-img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.suggestion-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.suggestion-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--shop-text-main, #1a202c) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.suggestion-price {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.suggestion-price .curr-price {
    color: var(--shop-primary, #5A1835) !important;
}

.suggestion-price .old-price {
    font-size: 11px !important;
    text-decoration: line-through !important;
    color: #a0aec0 !important;
    font-weight: 500 !important;
}

/* Dark mode search suggestions */
html[data-theme="dark"] .suggestion-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .suggestion-item:hover {
    background: rgba(212, 175, 55, 0.12) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

html[data-theme="dark"] .suggestion-name {
    color: #f7fafc !important;
}

html[data-theme="dark"] .suggestion-price .curr-price {
    color: #D4AF37 !important;
}

html[data-theme="dark"] .search-history-header,
html[data-theme="dark"] .search-suggestions-header {
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #C5A059 !important;
}

/* Disable any heartbeat/zigzag animation next to all section titles */
.slider-header h2::after, .offers-header h2::after,
.slider-header h4::after, .slider-header a h4::after, .slider-header h4 a::after,
.trends-header h3::after, .promo-grid-section .section-label::after,
.suggested-products-section .slider-header h2::after,
.hero-categories-mini .header-text span::after,
.highlights-header h3::after,
.section-header h2::after {
    display: none !important;
    content: none !important;
    animation: none !important;
}

/* 4 cards layout across slider containers */
.slider-manual {
    container-type: inline-size;
}

.slider-track .product-card,
.suggested-products-section .slider-track .product-card {
    width: calc((100cqw - 60px) / 4) !important;
    min-width: calc((100cqw - 60px) / 4) !important;
    max-width: calc((100cqw - 60px) / 4) !important;
    flex: 0 0 calc((100cqw - 60px) / 4) !important;
    margin-bottom: 0;
}

@container (max-width: 1100px) {
    .slider-track .product-card,
    .suggested-products-section .slider-track .product-card {
        width: calc((100cqw - 40px) / 3) !important;
        min-width: calc((100cqw - 40px) / 3) !important;
        max-width: calc((100cqw - 40px) / 3) !important;
        flex: 0 0 calc((100cqw - 40px) / 3) !important;
    }
}

@container (max-width: 768px) {
    .slider-track .product-card,
    .suggested-products-section .slider-track .product-card {
        width: calc((100cqw - 20px) / 2) !important;
        min-width: calc((100cqw - 20px) / 2) !important;
        max-width: calc((100cqw - 20px) / 2) !important;
        flex: 0 0 calc((100cqw - 20px) / 2) !important;
    }
}

@container (max-width: 480px) {
    .slider-track .product-card,
    .suggested-products-section .slider-track .product-card {
        width: calc(100cqw - 30px) !important;
        min-width: calc(100cqw - 30px) !important;
        max-width: calc(100cqw - 30px) !important;
        flex: 0 0 calc(100cqw - 30px) !important;
    }
}

@media (min-width: 1101px) {
    .slider-track .product-card,
    .suggested-products-section .slider-track .product-card {
        width: calc((100% - 60px) / 4);
        flex: 0 0 calc((100% - 60px) / 4);
    }
}

@media (max-width: 1100px) and (min-width: 769px) {
    .slider-track .product-card,
    .suggested-products-section .slider-track .product-card {
        width: calc((100% - 40px) / 3);
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .slider-track .product-card,
    .suggested-products-section .slider-track .product-card {
        width: calc((100% - 20px) / 2);
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

/* ==========================================================================
   PROMOTIONAL BANNERS ("شوفي كل العروض") & BANNER CARDS
   ========================================================================== */
.promo-banners-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 380px !important;
    flex: 0 0 340px !important;
}

.promo-banners-col .banner-card,
.banner-card {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease !important;
    cursor: pointer !important;
}

.promo-banners-col .banner-card:hover,
.banner-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

.banner-card img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1) !important;
    z-index: 1 !important;
}

.banner-card:hover img {
    transform: scale(1.06) !important;
}

.banner-card-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.78) 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 20px 22px !important;
    text-align: right !important;
    color: #ffffff !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

[dir="ltr"] .banner-card-overlay {
    text-align: left !important;
}

.banner-card-overlay .promo-mini-badge {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: linear-gradient(135deg, #ff4081, #f50057) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 10px rgba(245, 0, 87, 0.4) !important;
    letter-spacing: 0.3px !important;
}

[dir="ltr"] .banner-card-overlay .promo-mini-badge {
    right: auto !important;
    left: 14px !important;
}

.banner-card-overlay h4 {
    font-size: 20px !important;
    font-weight: 900 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}

.banner-card-overlay p {
    font-size: 12px !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #111111 !important;
    padding: 6px 18px !important;
    border-radius: 50px !important;
    display: inline-block !important;
    width: fit-content !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.banner-card:hover .banner-card-overlay p {
    background: var(--shop-primary, #b8860b) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 991px) {
    .promo-banners-col {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
    }
    .promo-banners-col .banner-card {
        min-width: 280px !important;
        flex: 0 0 280px !important;
        height: 200px !important;
        min-height: 200px !important;
    }
}

/* ==========================================================================
   INSTANT NAVIGATION & VIEW TRANSITIONS
   Ultra-fast, zero-reload app experience across the entire store
   ========================================================================== */
@view-transition {
    navigation: auto;
}

/* Smooth Page Cross-Fade */
::view-transition-old(root) {
    animation: 90ms cubic-bezier(0.4, 0, 1, 1) both samraaPageFadeOut;
}
::view-transition-new(root) {
    animation: 200ms cubic-bezier(0, 0, 0.2, 1) both samraaPageFadeIn;
}

@keyframes samraaPageFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes samraaPageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation: none !important;
    }
}

/* Top Progress Bar for Tactile Instant Feedback */
#instant-progress-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 3px !important;
    z-index: 9999999 !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, #c5a96f 0%, #ecd399 50%, #b8860b 100%) !important;
    box-shadow: 0 0 10px rgba(197, 169, 111, 0.75), 0 0 4px rgba(184, 134, 11, 0.9) !important;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.2s cubic-bezier(0.1, 0.7, 0.1, 1), opacity 0.2s ease;
    opacity: 0;
}

#instant-progress-bar.active {
    opacity: 1 !important;
}

#instant-progress-bar.done {
    transform: translate3d(0, 0, 0) !important;
    opacity: 0 !important;
    transition: transform 0.15s ease-out, opacity 0.25s ease-out 0.1s !important;
}

/* ==========================================================================
   SAMRAA HEADER REDESIGN
   - 1. Announcement Bar (Free shipping over 5000 EGP, GeoIP & Multi-currency)
   - 2. Header Top Actions: Appearance & Language between Search & Currency
   - 3. Header Bottom: Directly under Header Top, separated sides (Shop & Categories vs Wishlist, Cart, Account)
   ========================================================================== */

/* Body Offset Adjustment */
body:not(.acc-dash-mode) {
    padding-top: 164px !important;
    padding-bottom: 0 !important;
}

@media (max-width: 991px) {
    body:not(.acc-dash-mode) {
        padding-top: 146px !important;
        padding-bottom: 0 !important;
    }
}

/* Site Header Outer Container */
header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100000 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07) !important;
    border-bottom: none !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 1. Top Announcement Bar */
.header-announcement-bar {
    position: relative !important;
    width: 100% !important;
    background: #240a1f !important;
    color: #e2c695 !important;
    padding: 7px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    z-index: 105 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22) !important;
    text-align: center !important;
    overflow: hidden !important;
    max-height: 50px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                padding 0.35s ease,
                margin 0.35s ease,
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html[data-theme="dark"] .header-announcement-bar {
    background: #140511 !important;
    border-bottom-color: rgba(212, 175, 55, 0.15) !important;
}

.announcement-bar-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
}

.announcement-icon {
    color: #f5a623 !important;
    font-size: 14px !important;
}

.announcement-price {
    color: #f5a623 !important;
    font-weight: 800 !important;
}

/* 2. Header Main (Header Top) - Smooth Collapse on Scroll */
.header-main {
    position: relative !important;
    z-index: 1100 !important;
    width: 100% !important;
    max-height: 140px;
    opacity: 1;
    transform: translateY(0);
    overflow: visible !important;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                padding 0.35s ease,
                margin 0.35s ease,
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.35s !important;
}

/* Header Top Actions: Search -> Appearance & Language -> Currency */
.header-top-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-inline-start: auto !important;
    flex-shrink: 0 !important;
}

.header-top-action-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.header-top-action-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    transform: translateY(-1px) !important;
}

.header-top-action-btn.lang-toggle {
    width: auto !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 40px !important;
}

/* =========================================================
   STICKY HEADER: Stable, Non-Clipping Header State on Scroll
   Preserves header branding, navigation, and visual stability
   without layout thrashing, clipping, or disappearing sections.
   ========================================================= */
/* =========================================================
   SCROLL HIDE: Announcement Bar & Header Top Collapse on Scroll
   When scrolled, Free Shipping Bar and Header Top smoothly collapse
   Leaving only Header Bottom (Navigation) pinned at the top.
   ========================================================= */
header.site-header.is-scrolled,
header.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}

/* 1. Free Shipping Announcement Bar collapses */
header.site-header.is-scrolled .header-announcement-bar,
header.site-header.scrolled .header-announcement-bar {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
    transform: translateY(-100%) !important;
    pointer-events: none !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* 2. Header Top (Header Main) collapses */
header.site-header.is-scrolled .header-main,
header.site-header.scrolled .header-main {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    border: none !important;
    transform: translateY(-100%) !important;
    pointer-events: none !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

header.site-header.is-scrolled .header-main .nav-wrapper,
header.site-header.scrolled .header-main .nav-wrapper {
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

header.site-header.is-scrolled .header-main .logo img,
header.site-header.scrolled .header-main .logo img {
    height: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
}

header.site-header.is-scrolled .header-search-slot,
header.site-header.scrolled .header-search-slot {
    display: none !important;
}

/* 3. Header Bottom (Stays Sticky at top:0 during Scroll) */
.header-bottom,
div.header-bottom {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 7px 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    z-index: 100 !important;
    display: block !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

header.site-header.is-scrolled .header-bottom,
header.site-header.scrolled .header-bottom {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    border-top: none !important;
}

html[data-theme="dark"] .header-bottom,
html[data-theme="dark"] div.header-bottom {
    background: #180a17 !important;
    border-top-color: rgba(255, 255, 255, 0.06) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.header-bottom-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 16px !important;
    box-sizing: border-box !important;
}

.header-bottom-start,
.header-bottom-end {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.header-bottom-start .header-bottom-shop + .header-bottom-categories::before {
    content: '' !important;
    display: inline-block !important;
    width: 1.5px !important;
    height: 18px !important;
    background: rgba(90, 24, 53, 0.22) !important;
    margin-inline-end: 8px !important;
    vertical-align: middle !important;
}

html[data-theme="dark"] .header-bottom-start .header-bottom-shop + .header-bottom-categories::before {
    background: rgba(212, 175, 55, 0.35) !important;
}

/* Header Bottom Action Links */
.header-bottom-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--text-main, #222222) !important;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: transparent !important;
    position: relative !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

html[data-theme="dark"] .header-bottom-link {
    color: #e5e5e5 !important;
}

.header-bottom-link:hover {
    color: var(--accent-burgundy, #5A1835) !important;
    background: rgba(90, 24, 53, 0.06) !important;
}

html[data-theme="dark"] .header-bottom-link:hover {
    color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.12) !important;
}

/* Distinct Round Icon Bubble */
.header-bottom-icon-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(90, 24, 53, 0.06) !important;
    color: var(--accent-burgundy, #5A1835) !important;
    transition: all 0.22s ease !important;
    flex-shrink: 0 !important;
}

.header-bottom-icon-wrap i {
    font-size: 16px !important;
    color: inherit !important;
    line-height: 1 !important;
    transition: transform 0.22s ease !important;
}

html[data-theme="dark"] .header-bottom-icon-wrap {
    background: rgba(212, 175, 55, 0.12) !important;
    color: #e2c695 !important;
}

.header-bottom-link:hover .header-bottom-icon-wrap {
    background: var(--accent-burgundy, #5A1835) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

html[data-theme="dark"] .header-bottom-link:hover .header-bottom-icon-wrap {
    background: #d4af37 !important;
    color: #1a0815 !important;
}

.header-bottom-link-text {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
}

/* Wishlist accent */
.header-bottom-wishlist:hover .header-bottom-icon-wrap {
    background: #e74c3c !important;
    color: #ffffff !important;
}
.header-bottom-wishlist:hover .header-bottom-icon-wrap i {
    transform: scale(1.15) !important;
}

/* Cart accent */
.header-bottom-cart .header-bottom-icon-wrap {
    background: rgba(90, 24, 53, 0.09) !important;
}
.header-bottom-cart:hover .header-bottom-icon-wrap {
    background: var(--accent-plum, #3A102F) !important;
    color: #e2c695 !important;
}

/* Counter Badge on Icon Wrap */
.header-bottom-icon-wrap .header-count-badge {
    position: absolute !important;
    top: -5px !important;
    inset-inline-end: -6px !important;
    right: auto !important;
    left: auto !important;
    background: var(--accent-burgundy, #5A1835) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    z-index: 10 !important;
}

html[data-theme="dark"] .header-bottom-icon-wrap .header-count-badge {
    background: #d4af37 !important;
    color: #1a0815 !important;
    border-color: #180a17 !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .header-announcement-bar {
        font-size: 11.5px !important;
        padding: 5px 0 !important;
    }
    .header-top-action-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }
    .header-top-action-btn.lang-toggle {
        height: 34px !important;
        padding: 0 10px !important;
        font-size: 11.5px !important;
    }
    .header-bottom-link {
        padding: 5px 9px !important;
        font-size: 12px !important;
        gap: 5px !important;
    }
    .header-bottom-icon-wrap {
        width: 28px !important;
        height: 28px !important;
    }
    .header-bottom-icon-wrap i {
        font-size: 14px !important;
    }
    .header-bottom-link-text {
        font-size: 12px !important;
    }
    .header-bottom-flex {
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    html[lang="en"] .header-bottom,
    html[dir="ltr"] .header-bottom,
    [dir="ltr"] .header-bottom {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    html[lang="en"] .header-bottom::-webkit-scrollbar,
    html[dir="ltr"] .header-bottom::-webkit-scrollbar,
    [dir="ltr"] .header-bottom::-webkit-scrollbar,
    html[lang="en"] .header-bottom-flex::-webkit-scrollbar,
    html[dir="ltr"] .header-bottom-flex::-webkit-scrollbar,
    [dir="ltr"] .header-bottom-flex::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    html[lang="en"] .header-bottom-flex,
    html[dir="ltr"] .header-bottom-flex,
    [dir="ltr"] .header-bottom-flex {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 0 10px !important;
        width: auto !important;
        max-width: none !important;
    }
    html[lang="en"] .header-bottom-start,
    html[dir="ltr"] .header-bottom-start,
    [dir="ltr"] .header-bottom-start,
    html[lang="en"] .header-bottom-end,
    html[dir="ltr"] .header-bottom-end,
    [dir="ltr"] .header-bottom-end {
        flex-shrink: 0 !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }
    html[lang="en"] .header-bottom-link,
    html[dir="ltr"] .header-bottom-link,
    [dir="ltr"] .header-bottom-link {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    .header-bottom-start,
    .header-bottom-end {
        gap: 6px !important;
    }
}

@media (max-width: 520px) {
    .header-bottom-flex {
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    html[lang="en"] .header-bottom-flex,
    html[dir="ltr"] .header-bottom-flex,
    [dir="ltr"] .header-bottom-flex {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
    }
    .header-bottom-link {
        padding: 4px 6px !important;
        gap: 4px !important;
    }
    .header-bottom-link-text {
        font-size: 11px !important;
    }
    .header-bottom-icon-wrap {
        width: 26px !important;
        height: 26px !important;
    }
    .header-bottom-icon-wrap i {
        font-size: 13px !important;
    }
    .header-bottom-start,
    .header-bottom-end {
        gap: 4px !important;
    }
}

/* ==========================================================================
   BEST SELLERS SECTION (2 ROWS, 3 COLUMNS PER ROW, HORIZONTAL MINI-CARDS,
   MULTI-PRODUCT ROTATION PER SLOT, FULL SECTION SLIDER)
   ========================================================================== */
/* ==========================================================================
   BEST SELLERS & RELATED PRODUCTS SLIDER (Unified Luxury Style)
   ========================================================================== */
.best-sellers-section,
.related-products-section {
    padding: 40px 0 !important;
    background: transparent;
    position: relative;
    overflow: visible !important;
}

.best-sellers-section > .container,
.related-products-section > .container {
    overflow: visible !important;
}

.bestseller-slider-container {
    position: relative !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0 46px !important;
    box-sizing: border-box !important;
}

.bestseller-slider-viewport {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    container-type: inline-size;
    container-name: bestseller-slider;
    padding: 10px 4px 25px !important;
}

/* Nav arrows positioned cleanly inside container padding, NEVER overlapping cards or clipped */
.bestseller-slider-container .bestseller-nav-btn,
.bestseller-slider-container .slider-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(90, 24, 53, 0.2) !important;
    color: var(--accent-burgundy, #5A1835) !important;
    box-shadow: 0 4px 14px rgba(90, 24, 53, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    cursor: pointer !important;
    z-index: 50 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
}

.bestseller-slider-container .bestseller-nav-btn:hover:not(.disabled),
.bestseller-slider-container .slider-nav-btn:hover:not(.disabled) {
    background: var(--accent-burgundy, #5A1835) !important;
    color: #ffffff !important;
    border-color: var(--accent-burgundy, #5A1835) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(90, 24, 53, 0.28) !important;
}

/* RTL: Prev on right, Next on left (positive, within 46px gutter) */
.bestseller-slider-container .bestseller-nav-btn.prev,
.bestseller-slider-container .slider-nav-btn.prev {
    right: 2px !important;
    left: auto !important;
}

.bestseller-slider-container .bestseller-nav-btn.next,
.bestseller-slider-container .slider-nav-btn.next {
    left: 2px !important;
    right: auto !important;
}

/* LTR: Prev on left, Next on right */
[dir="ltr"] .bestseller-slider-container .bestseller-nav-btn.prev,
[dir="ltr"] .bestseller-slider-container .slider-nav-btn.prev {
    left: 2px !important;
    right: auto !important;
}

[dir="ltr"] .bestseller-slider-container .bestseller-nav-btn.next,
[dir="ltr"] .bestseller-slider-container .slider-nav-btn.next {
    right: 2px !important;
    left: auto !important;
}

.bestseller-slider-container .bestseller-nav-btn.disabled,
.bestseller-slider-container .slider-nav-btn.disabled {
    opacity: 0.45 !important;
    cursor: default !important;
    pointer-events: none !important;
    background: #fcfcfc !important;
    border-color: rgba(90, 24, 53, 0.1) !important;
    color: rgba(90, 24, 53, 0.35) !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    .bestseller-slider-container {
        padding: 0 38px !important;
    }
    .bestseller-slider-container .bestseller-nav-btn,
    .bestseller-slider-container .slider-nav-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }
    .bestseller-slider-container .bestseller-nav-btn.prev,
    .bestseller-slider-container .slider-nav-btn.prev {
        right: 1px !important;
        left: auto !important;
    }
    .bestseller-slider-container .bestseller-nav-btn.next,
    .bestseller-slider-container .slider-nav-btn.next {
        left: 1px !important;
        right: auto !important;
    }
    [dir="ltr"] .bestseller-slider-container .bestseller-nav-btn.prev,
    [dir="ltr"] .bestseller-slider-container .slider-nav-btn.prev {
        left: 1px !important;
        right: auto !important;
    }
    [dir="ltr"] .bestseller-slider-container .bestseller-nav-btn.next,
    [dir="ltr"] .bestseller-slider-container .slider-nav-btn.next {
        right: 1px !important;
        left: auto !important;
    }
}

@media (max-width: 768px) {
    .bestseller-slider-container {
        padding: 0 32px !important;
    }
    .bestseller-slider-viewport {
        padding: 8px 4px 20px !important;
    }
    .bestseller-slider-container .bestseller-nav-btn,
    .bestseller-slider-container .slider-nav-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }
    .bestseller-slider-container .bestseller-nav-btn.prev,
    .bestseller-slider-container .slider-nav-btn.prev {
        right: 0 !important;
        left: auto !important;
    }
    .bestseller-slider-container .bestseller-nav-btn.next,
    .bestseller-slider-container .slider-nav-btn.next {
        left: 0 !important;
        right: auto !important;
    }
    [dir="ltr"] .bestseller-slider-container .bestseller-nav-btn.prev,
    [dir="ltr"] .bestseller-slider-container .slider-nav-btn.prev {
        left: 0 !important;
        right: auto !important;
    }
    [dir="ltr"] .bestseller-slider-container .bestseller-nav-btn.next,
    [dir="ltr"] .bestseller-slider-container .slider-nav-btn.next {
        right: 0 !important;
        left: auto !important;
    }
}

@media (max-width: 480px) {
    .bestseller-slider-container {
        padding: 0 28px !important;
    }
    .bestseller-slider-container .bestseller-nav-btn,
    .bestseller-slider-container .slider-nav-btn {
        width: 26px !important;
        height: 26px !important;
        font-size: 10px !important;
    }
}

html[data-theme="dark"] .bestseller-slider-container .bestseller-nav-btn,
html[data-theme="dark"] .bestseller-slider-container .slider-nav-btn {
    background: #1e1b24 !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    color: #D4AF37 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .bestseller-slider-container .bestseller-nav-btn:hover:not(.disabled),
html[data-theme="dark"] .bestseller-slider-container .slider-nav-btn:hover:not(.disabled) {
    background: #D4AF37 !important;
    color: #0B0A0E !important;
    border-color: #D4AF37 !important;
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.35) !important;
}

html[data-theme="dark"] .bestseller-slider-container .bestseller-nav-btn.disabled,
html[data-theme="dark"] .bestseller-slider-container .slider-nav-btn.disabled {
    opacity: 0.35 !important;
    background: #16141a !important;
    border-color: rgba(212, 175, 55, 0.15) !important;
    color: rgba(212, 175, 55, 0.3) !important;
    box-shadow: none !important;
}
.bestseller-slider-viewport::-webkit-scrollbar {
    display: none;
}

.bestseller-track {
    display: flex !important;
    gap: 20px !important;
    width: max-content !important;
    min-width: 100% !important;
}

/* 3 columns on desktop -> 2 rows in each column = 6 cards visible at once */
.bestseller-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: calc((100cqw - 40px) / 3) !important;
    min-width: calc((100cqw - 40px) / 3) !important;
    max-width: calc((100cqw - 40px) / 3) !important;
    flex: 0 0 calc((100cqw - 40px) / 3) !important;
}

@container bestseller-slider (max-width: 1024px) {
    .bestseller-column {
        width: calc((100cqw - 20px) / 2) !important;
        min-width: calc((100cqw - 20px) / 2) !important;
        max-width: calc((100cqw - 20px) / 2) !important;
        flex: 0 0 calc((100cqw - 20px) / 2) !important;
    }
}

@container bestseller-slider (max-width: 680px) {
    .bestseller-column {
        width: 100cqw !important;
        min-width: 100cqw !important;
        max-width: 100cqw !important;
        flex: 0 0 100cqw !important;
    }
}

/* Media query fallbacks */
@media (min-width: 1025px) {
    .bestseller-column {
        width: calc((100% - 40px) / 3);
        flex: 0 0 calc((100% - 40px) / 3);
    }
}
@media (max-width: 1024px) and (min-width: 681px) {
    .bestseller-column {
        width: calc((100% - 20px) / 2);
        flex: 0 0 calc((100% - 20px) / 2);
    }
}
@media (max-width: 680px) {
    .bestseller-column {
        width: 100%;
        flex: 0 0 100%;
    }
}

/* Card slot: Holds 2-3 cycling products */
.bestseller-card-slot {
    position: relative !important;
    width: 100% !important;
    height: 195px !important;
    min-height: 195px !important;
    max-height: 195px !important;
    background: var(--bg-surface, #ffffff) !important;
    border: 1px solid var(--border-color, rgba(90, 24, 53, 0.12)) !important;
    border-radius: 16px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.bestseller-card-slot:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(90, 24, 53, 0.14) !important;
    border-color: rgba(90, 24, 53, 0.3) !important;
}

.bestseller-slot-slides {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

/* Mini Card Item: Structured with Top Branch bar + Row Content */
.bestseller-card-slot .bestseller-mini-card,
.bestseller-card-slot .product-card.bestseller-mini-card {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 16px !important;
    background: transparent !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(6px) scale(0.98) !important;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s !important;
    z-index: 1 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.bestseller-card-slot .bestseller-mini-card.is-active,
.bestseller-card-slot .product-card.bestseller-mini-card.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
    z-index: 2 !important;
}

/* Branch bar on top of the bestseller card */
.bestseller-card-slot .product-card-branch-top {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding-inline-start: 12px !important;
    padding-inline-end: 65px !important; /* space for slot arrows */
    border-bottom: 1px solid rgba(90, 24, 53, 0.08) !important;
    background: #fbf9fa !important;
    border-radius: 16px 16px 0 0 !important;
    box-sizing: border-box !important;
}

/* Row containing image on one side and info on the other */
.bestseller-card-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 8px 12px 10px 12px !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: calc(100% - 28px) !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
}

/* Thumbnail - on right in RTL, on left in LTR (automatic with flex row) */
.bestseller-card-slot .bestseller-thumb,
.bestseller-card-slot .product-image.bestseller-thumb {
    position: relative !important;
    width: 105px !important;
    min-width: 105px !important;
    max-width: 105px !important;
    height: 100% !important;
    min-height: 145px !important;
    max-height: 152px !important;
    aspect-ratio: auto !important;
    border: 1px solid rgba(90, 24, 53, 0.08) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f8f6f7 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 100px !important;
    box-sizing: border-box !important;
}

.bestseller-card-slot .bestseller-thumb-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.bestseller-card-slot .bestseller-thumb img,
.bestseller-card-slot .product-image.bestseller-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 9px !important;
    display: block !important;
    transition: transform 0.35s ease !important;
}

.bestseller-card-slot:hover .bestseller-thumb img {
    transform: scale(1.06) !important;
}

/* Discount Badge on Thumbnail */
.bestseller-card-slot .bestseller-discount-badge {
    position: absolute !important;
    top: 6px !important;
    inset-inline-start: 6px !important;
    inset-inline-end: auto !important;
    right: auto !important;
    left: auto !important;
    background: #d32f2f !important;
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%) !important;
    color: #ffffff !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 3px 7px !important;
    border-radius: 5px !important;
    box-shadow: 0 3px 10px rgba(183, 28, 28, 0.45) !important;
    line-height: 1.3 !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
}
.bestseller-card-slot .bestseller-discount-badge i {
    font-size: 9.5px !important;
    color: #ffebee !important;
}

/* Info container: Name, price, actions - Override .product-info completely */
.bestseller-card-slot .bestseller-info,
.bestseller-card-slot .product-info.bestseller-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 4px !important;
    height: 100% !important;
    min-height: 145px !important;
    max-height: 152px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    text-align: start !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.bestseller-card-slot .bestseller-branch {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: var(--primary-color, #5A1835) !important;
    line-height: 1.2 !important;
}
.bestseller-card-slot .bestseller-branch i {
    font-size: 10.5px !important;
    color: var(--primary-color, #5A1835) !important;
}

.bestseller-card-slot .bestseller-name,
.bestseller-card-slot .product-name.bestseller-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--text-main, #111012) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: auto !important;
    max-height: 40px !important;
}

.bestseller-card-slot .bestseller-name a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.bestseller-card-slot .bestseller-name a:hover {
    color: var(--primary-color, #5A1835) !important;
}

.bestseller-card-slot .bestseller-pricing,
.bestseller-card-slot .product-price.bestseller-pricing {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
}

.bestseller-card-slot .bestseller-price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.bestseller-card-slot .bestseller-pricing .current-price {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #b71c1c !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    line-height: 1.2 !important;
}

.bestseller-card-slot .bestseller-pricing .current-price small {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #5A1835 !important;
}

.bestseller-card-slot .bestseller-pricing .old-price {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #888888 !important;
    text-decoration: line-through !important;
}

.bestseller-card-slot .bestseller-discount-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: rgba(229, 57, 53, 0.1) !important;
    color: #c62828 !important;
    border: 1px solid rgba(229, 57, 53, 0.25) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 1px 7px !important;
    border-radius: 999px !important;
    line-height: 1.3 !important;
}
.bestseller-card-slot .bestseller-discount-pill i {
    font-size: 9.5px !important;
    color: inherit !important;
}

html[data-theme="dark"] .bestseller-card-slot .bestseller-discount-pill {
    background: rgba(229, 57, 53, 0.2) !important;
    color: #ff8a80 !important;
    border-color: rgba(229, 57, 53, 0.45) !important;
}

/* Actions Row */
.bestseller-card-slot .bestseller-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: auto !important;
    position: relative !important;
    width: 100% !important;
}

/* Add to cart button */
.bestseller-card-slot .bestseller-mini-card .cart-btn,
.bestseller-card-slot .bestseller-cart-btn {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 32px !important;
    max-height: 32px !important;
    padding: 0 14px !important;
    width: auto !important;
    min-width: 95px !important;
    background: var(--primary-color, #5A1835) !important;
    background-color: var(--primary-color, #5A1835) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
    box-shadow: 0 2px 6px rgba(90, 24, 53, 0.2) !important;
    transform: none !important;
    overflow: visible !important;
}

.bestseller-card-slot .bestseller-mini-card .cart-btn *,
.bestseller-card-slot .bestseller-cart-btn * {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.bestseller-card-slot .bestseller-cart-btn:hover {
    background: var(--primary-dark, #3A102F) !important;
    transform: translateY(-1px) !important;
}

/* Wishlist Button - High Contrast & Visibility in BOTH Light & Dark mode */
.wishlist-btn,
.product-card .wishlist-btn,
.bestseller-card-slot .bestseller-mini-card .wishlist-btn,
.bestseller-card-slot .bestseller-wishlist-btn {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #fbf2f6 !important;
    background-color: #fbf2f6 !important;
    border: 1.5px solid rgba(90, 24, 53, 0.25) !important;
    color: var(--primary-color, #5A1835) !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(90, 24, 53, 0.08) !important;
}

.wishlist-btn:hover,
.product-card .wishlist-btn:hover,
.bestseller-card-slot .bestseller-wishlist-btn:hover {
    color: #e53935 !important;
    border-color: #e53935 !important;
    background: #ffebee !important;
    background-color: #ffebee !important;
    transform: scale(1.08) !important;
    box-shadow: 0 3px 8px rgba(229, 57, 53, 0.2) !important;
}

.wishlist-btn.active,
.product-card .wishlist-btn.active,
.bestseller-card-slot .bestseller-wishlist-btn.active {
    background: #e53935 !important;
    background-color: #e53935 !important;
    border-color: #e53935 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(229, 57, 53, 0.3) !important;
}

.wishlist-btn.active i,
.product-card .wishlist-btn.active i,
.bestseller-card-slot .bestseller-wishlist-btn.active i {
    color: #ffffff !important;
    font-weight: 900 !important;
}

/* Wishlist Button in DARK MODE */
html[data-theme="dark"] .wishlist-btn,
html[data-theme="dark"] .product-card .wishlist-btn,
html[data-theme="dark"] .bestseller-card-slot .bestseller-mini-card .wishlist-btn,
html[data-theme="dark"] .bestseller-card-slot .bestseller-wishlist-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    background-color: rgba(255, 255, 255, 0.14) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] .wishlist-btn:hover,
html[data-theme="dark"] .product-card .wishlist-btn:hover,
html[data-theme="dark"] .bestseller-card-slot .bestseller-wishlist-btn:hover {
    background: rgba(229, 57, 53, 0.3) !important;
    background-color: rgba(229, 57, 53, 0.3) !important;
    border-color: #e53935 !important;
    color: #ff6b6b !important;
    box-shadow: 0 0 10px rgba(229, 57, 53, 0.4) !important;
}

html[data-theme="dark"] .wishlist-btn.active,
html[data-theme="dark"] .product-card .wishlist-btn.active,
html[data-theme="dark"] .bestseller-card-slot .bestseller-wishlist-btn.active {
    background: #e53935 !important;
    background-color: #e53935 !important;
    border-color: #e53935 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(229, 57, 53, 0.6) !important;
}

html[data-theme="dark"] .wishlist-btn.active i,
html[data-theme="dark"] .product-card .wishlist-btn.active i,
html[data-theme="dark"] .bestseller-card-slot .bestseller-wishlist-btn.active i {
    color: #ffffff !important;
}

/* Card Slot Navigation Arrows - positioned cleanly in the branch top bar header */
.bestseller-card-slot .bestseller-slot-arrows {
    position: absolute !important;
    top: 2px !important;
    inset-inline-end: 8px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    z-index: 15 !important;
}

.bestseller-card-slot .slot-arrow-btn {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(90, 24, 53, 0.16) !important;
    background: #ffffff !important;
    color: var(--primary-color, #5A1835) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 10px !important;
    padding: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
    opacity: 0.9 !important;
}

.bestseller-card-slot:hover .slot-arrow-btn {
    opacity: 1 !important;
}

.bestseller-card-slot .slot-arrow-btn:hover {
    background: var(--primary-color, #5A1835) !important;
    color: #ffffff !important;
    border-color: var(--primary-color, #5A1835) !important;
    transform: scale(1.12) !important;
    box-shadow: 0 3px 8px rgba(90, 24, 53, 0.25) !important;
}

[dir="ltr"] .bestseller-slot-arrows .slot-arrow-btn i {
    transform: none !important;
}

html[data-theme="dark"] .bestseller-card-slot .slot-arrow-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .bestseller-card-slot .slot-arrow-btn:hover {
    background: var(--primary-color, #5A1835) !important;
    border-color: var(--primary-color, #5A1835) !important;
    color: #ffffff !important;
}

/* Abolish all slider dots across the entire storefront */
.bestseller-card-slot .bestseller-slot-dots,
.bestseller-slot-dots,
.slot-dot,
.hero-offer-controls,
.hero-offer-dots,
.hero-offer-dot,
.slider-dots,
.slider-dot,
.carousel-dots,
.shop-slider-dots,
.shop-slider-dot,
.banner-slider-dots {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================================
   PRODUCT CARD TOP BRANCH BAR (Branch name on top of the card, not over image)
   ========================================================================== */
.product-card-branch-top {
    width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    background: #fbf9fa !important;
    border-bottom: 1px solid rgba(90, 24, 53, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    z-index: 3 !important;
    transition: background 0.2s ease !important;
    overflow: hidden !important;
}

.product-card:hover .product-card-branch-top {
    background: #f5f0f3 !important;
}

.product-card-branch-top .card-branch-link,
.product-card-branch-top a,
.product-card-branch-top span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: var(--primary-color, #5A1835) !important;
    text-decoration: none !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.product-card-branch-top i {
    font-size: 11px !important;
    color: var(--primary-color, #5A1835) !important;
    flex-shrink: 0 !important;
}

.product-card-branch-top .branch-name {
    display: inline-block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: var(--primary-color, #5A1835) !important;
}

/* Ensure no branch badge covers the product image anywhere */
.product-image .branch-badge {
    display: none !important;
}


/* ==========================================================================
   BESTSELLER DESCRIPTION SNIPPET & HOVER SLIDE-UP
   ========================================================================== */
.bestseller-card-slot .bestseller-desc-wrapper {
    position: relative !important;
    overflow: hidden !important;
    max-height: 20px !important;
    min-height: 20px !important;
    margin: 3px 0 !important;
    transition: max-height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    line-height: 18px !important;
}

.bestseller-card-slot .bestseller-desc {
    font-size: 11.5px !important;
    line-height: 18px !important;
    color: var(--text-muted, #666666) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.25s ease !important;
}

/* Hover over slot or card: Description slides up and expands smoothly */
.bestseller-card-slot:hover .bestseller-desc-wrapper,
.bestseller-mini-card:hover .bestseller-desc-wrapper {
    max-height: 54px !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
}
.bestseller-card-slot:hover .bestseller-desc-wrapper::-webkit-scrollbar,
.bestseller-mini-card:hover .bestseller-desc-wrapper::-webkit-scrollbar {
    display: none !important;
}

.bestseller-card-slot:hover .bestseller-desc,
.bestseller-mini-card:hover .bestseller-desc {
    -webkit-line-clamp: 3 !important;
    color: var(--text-main, #222222) !important;
}

html[data-theme="dark"] .bestseller-card-slot .bestseller-desc {
    color: rgba(255, 255, 255, 0.65) !important;
}
html[data-theme="dark"] .bestseller-card-slot:hover .bestseller-desc,
html[data-theme="dark"] .bestseller-mini-card:hover .bestseller-desc {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* ==========================================================================
   UNIFIED PRODUCT ACTION BUTTONS (ACROSS ENTIRE WEBSITE)
   Standardized luxury modern design language for .cart-btn, .wishlist-btn, .view-btn
   ========================================================================== */

/* 1. Floating Cart Action Button (On Product Image) */
.product-card .product-image .cart-btn,
.product-image .cart-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #701d42 0%, #5A1835 100%) !important;
    background-color: #5A1835 !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 12px rgba(90, 24, 53, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 6 !important;
    padding: 0 !important;
    font-size: 15px !important;
}

.product-card .product-image .cart-btn:hover,
.product-image .cart-btn:hover {
    background: linear-gradient(135deg, #872350 0%, #681b3e 100%) !important;
    transform: scale(1.12) translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(90, 24, 53, 0.45) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.product-card .product-image .cart-btn i,
.product-image .cart-btn i {
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

/* 2. Standardized Wishlist Button */
.wishlist-btn,
.product-card .wishlist-btn,
.product-actions .wishlist-btn,
.bestseller-card-slot .bestseller-wishlist-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid rgba(90, 24, 53, 0.2) !important;
    color: var(--primary-color, #5A1835) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.22s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
}

.wishlist-btn:hover,
.product-card .wishlist-btn:hover,
.product-actions .wishlist-btn:hover,
.bestseller-card-slot .bestseller-wishlist-btn:hover {
    background: #fff0f3 !important;
    background-color: #fff0f3 !important;
    border-color: #e53935 !important;
    color: #e53935 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 3px 10px rgba(229, 57, 53, 0.22) !important;
}

.wishlist-btn.active,
.product-card .wishlist-btn.active,
.product-actions .wishlist-btn.active,
.bestseller-card-slot .bestseller-wishlist-btn.active {
    background: #e53935 !important;
    background-color: #e53935 !important;
    border-color: #e53935 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(229, 57, 53, 0.35) !important;
}

.wishlist-btn.active i,
.product-card .wishlist-btn.active i,
.product-actions .wishlist-btn.active i,
.bestseller-card-slot .bestseller-wishlist-btn.active i {
    color: #ffffff !important;
    font-weight: 900 !important;
}

/* 3. Standardized View Details Button */
.view-btn,
.product-card .view-btn,
.product-actions .view-btn {
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 9px !important;
    background: rgba(90, 24, 53, 0.07) !important;
    background-color: rgba(90, 24, 53, 0.07) !important;
    color: var(--primary-color, #5A1835) !important;
    border: 1.5px solid rgba(90, 24, 53, 0.2) !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 14px !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
}

.view-btn:hover,
.product-card .view-btn:hover,
.product-actions .view-btn:hover {
    background: var(--primary-color, #5A1835) !important;
    background-color: var(--primary-color, #5A1835) !important;
    color: #ffffff !important;
    border-color: var(--primary-color, #5A1835) !important;
    box-shadow: 0 4px 12px rgba(90, 24, 53, 0.25) !important;
    transform: translateY(-1px) !important;
}

.view-btn i,
.product-card .view-btn i {
    font-size: 13px !important;
    color: inherit !important;
    transition: transform 0.2s ease !important;
}

/* 4. Best Seller Card Cart Button */
.bestseller-card-slot .bestseller-mini-card .cart-btn,
.bestseller-card-slot .bestseller-cart-btn {
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #701d42 0%, #5A1835 100%) !important;
    background-color: #5A1835 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(90, 24, 53, 0.25) !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 14px !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
    flex: 1 1 auto !important;
}

.bestseller-card-slot .bestseller-mini-card .cart-btn:hover,
.bestseller-card-slot .bestseller-cart-btn:hover {
    background: linear-gradient(135deg, #872350 0%, #681b3e 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(90, 24, 53, 0.4) !important;
    color: #ffffff !important;
}

/* 5. Dark Mode Harmonization for All Product Buttons */
html[data-theme="dark"] .product-card .product-image .cart-btn,
html[data-theme="dark"] .product-image .cart-btn {
    background: linear-gradient(135deg, #7e224c 0%, #5A1835 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .wishlist-btn,
html[data-theme="dark"] .product-card .wishlist-btn,
html[data-theme="dark"] .product-actions .wishlist-btn,
html[data-theme="dark"] .bestseller-card-slot .bestseller-wishlist-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .wishlist-btn:hover,
html[data-theme="dark"] .product-card .wishlist-btn:hover,
html[data-theme="dark"] .product-actions .wishlist-btn:hover,
html[data-theme="dark"] .bestseller-card-slot .bestseller-wishlist-btn:hover {
    background: rgba(229, 57, 53, 0.35) !important;
    border-color: #e53935 !important;
    color: #ff8a80 !important;
}

html[data-theme="dark"] .wishlist-btn.active,
html[data-theme="dark"] .product-card .wishlist-btn.active,
html[data-theme="dark"] .product-actions .wishlist-btn.active,
html[data-theme="dark"] .bestseller-card-slot .bestseller-wishlist-btn.active {
    background: #e53935 !important;
    border-color: #e53935 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .view-btn,
html[data-theme="dark"] .product-card .view-btn,
html[data-theme="dark"] .product-actions .view-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .view-btn:hover,
html[data-theme="dark"] .product-card .view-btn:hover,
html[data-theme="dark"] .product-actions .view-btn:hover {
    background: var(--primary-color, #5A1835) !important;
    border-color: var(--primary-color, #5A1835) !important;
    color: #ffffff !important;
}


/* ==========================================================================
   PROMO GRID SIDE AD BANNERS & CENTER OFFERS SLIDER (2-Row Layout)
   ========================================================================== */
.promo-grid-wrapper {
    display: grid !important;
    grid-template-columns: 290px 1fr 290px !important;
    gap: 22px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.promo-ad-banner-col {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
}

.promo-side-ad-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 380px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    background: #1a0f16 !important;
    border: 1px solid rgba(90, 24, 53, 0.16) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
    box-sizing: border-box !important;
}

.promo-side-ad-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(90, 24, 53, 0.2) !important;
    border-color: rgba(90, 24, 53, 0.4) !important;
}

.promo-side-ad-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.promo-side-ad-image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.promo-side-ad-card:hover .promo-side-ad-image img {
    transform: scale(1.08) !important;
}

.promo-side-ad-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(20, 5, 14, 0.1) 0%, rgba(60, 16, 38, 0.3) 45%, rgba(20, 5, 14, 0.88) 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 22px 20px !important;
    z-index: 2 !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
}

/* Luxury Minimal Badge — Light Mode */
.promo-side-ad-badge {
    align-self: flex-start !important;
    background: rgba(255, 255, 255, 0.82) !important;
    color: #4A1028 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: 1px solid rgba(90, 24, 53, 0.16) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.promo-side-ad-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: start !important;
}

.promo-side-ad-body h4 {
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
}

.promo-side-ad-body p {
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5) !important;
}

.promo-side-ad-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #4A1028 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    width: fit-content !important;
    margin-top: 6px !important;
    border: 1px solid rgba(90, 24, 53, 0.15) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.25s ease !important;
}

.promo-side-ad-card:hover .promo-side-ad-btn {
    background: var(--primary-color, #5A1835) !important;
    color: #ffffff !important;
    border-color: var(--primary-color, #5A1835) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(90, 24, 53, 0.3) !important;
}

/* Offers Grid Slide: Exactly 2 Rows on Desktop (Prevent vertical stretching when only 1 row is present) */
.offers-grid-slide {
    min-width: 100% !important;
    flex: 0 0 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(2, auto) !important;
    align-content: start !important;
    align-items: start !important;
    gap: 12px !important;
}

.promo-offers-col .offer-card,
.offers-grid-slide .offer-card {
    min-width: 0 !important;
    height: auto !important;
    align-self: start !important;
}

.promo-offers-col .offer-img-box,
.offers-grid-slide .offer-img-box {
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    max-height: 220px !important;
    flex-shrink: 0 !important;
}

@media (max-width: 1100px) {
    .offers-grid-slide {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        align-content: start !important;
        align-items: start !important;
    }
}

@media (max-width: 768px) {
    .offers-grid-slide {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        align-content: start !important;
        align-items: start !important;
    }
    .promo-offers-col .offer-img-box,
    .offers-grid-slide .offer-img-box {
        max-height: 180px !important;
    }
}

/* ==========================================================================
   Dark Mode Styles for Promo Grid & Banners
   ========================================================================== */
html[data-theme="dark"] .promo-grid-section {
    background: transparent !important;
}

html[data-theme="dark"] .promo-side-ad-card {
    background: #140812 !important;
    border-color: rgba(116, 52, 90, 0.32) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] .promo-side-ad-card:hover {
    border-color: rgba(226, 198, 149, 0.5) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7) !important;
}

html[data-theme="dark"] .promo-side-ad-overlay {
    background: linear-gradient(180deg, rgba(12, 4, 10, 0.2) 0%, rgba(28, 10, 22, 0.45) 45%, rgba(10, 3, 8, 0.94) 100%) !important;
}

html[data-theme="dark"] .promo-side-ad-badge {
    background: rgba(26, 12, 23, 0.78) !important;
    color: var(--accent-gold, #E2C695) !important;
    border-color: rgba(226, 198, 149, 0.35) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] .promo-side-ad-body h4 {
    color: #F5F0F3 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

html[data-theme="dark"] .promo-side-ad-body p {
    color: rgba(226, 198, 149, 0.88) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="dark"] .promo-side-ad-btn {
    background: rgba(30, 14, 26, 0.9) !important;
    color: #E2C695 !important;
    border-color: rgba(226, 198, 149, 0.4) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .promo-side-ad-card:hover .promo-side-ad-btn {
    background: #E2C695 !important;
    color: #1A0D18 !important;
    border-color: #E2C695 !important;
    box-shadow: 0 6px 20px rgba(226, 198, 149, 0.35) !important;
}

@media (max-width: 1200px) {
    .promo-grid-wrapper {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .promo-offers-col {
        order: 1 !important;
    }
    .promo-ad-banner-col {
        order: 2 !important;
    }
    .promo-side-ad-card {
        min-height: 200px !important;
        max-height: 240px !important;
    }
}


/* =========================================================================
   UNIFIED SAMRAA PRODUCT PLACEHOLDER (BILINGUAL BRAND FALLBACK)
   ========================================================================= */
.samraa-product-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    aspect-ratio: inherit;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #F8F4EE 0%, #EDE4D8 50%, #F5EFE7 100%);
    border: 1px solid rgba(90, 24, 53, 0.08);
    user-select: none !important;
    -webkit-user-select: none !important;
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* Luxury subtle shimmer overlay */
.samraa-product-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 45%, rgba(212, 175, 55, 0.15) 55%, transparent 75%);
    background-size: 200% 100%;
    animation: samraaPlaceholderShimmer 3.5s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes samraaPlaceholderShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.samraa-placeholder-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 16px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.placeholder-watermark-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 24, 53, 0.08) 0%, rgba(90, 24, 53, 0) 70%);
    color: #5A1835;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.samraa-product-placeholder:hover .placeholder-watermark-icon {
    transform: scale(1.08) rotate(4deg);
    color: #D4AF37;
}

.placeholder-brand {
    font-weight: 700;
    color: #5A1835;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.placeholder-brand.lang-ar {
    font-family: 'Cairo', 'Almarai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.placeholder-brand.lang-en {
    font-family: 'Playfair Display', 'Cinzel', 'Bodoni MT', 'Georgia', serif !important;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Instant Bilingual Reactivity: CSS drives display without page reload */
html[lang="ar"] .samraa-product-placeholder .lang-en,
html[dir="rtl"] .samraa-product-placeholder .lang-en {
    display: none !important;
}
html[lang="ar"] .samraa-product-placeholder .lang-ar,
html[dir="rtl"] .samraa-product-placeholder .lang-ar {
    display: inline-block !important;
}
html[lang="en"] .samraa-product-placeholder .lang-ar,
html[dir="ltr"] .samraa-product-placeholder .lang-ar {
    display: none !important;
}
html[lang="en"] .samraa-product-placeholder .lang-en,
html[dir="ltr"] .samraa-product-placeholder .lang-en {
    display: inline-block !important;
}

/* Dark Mode Theme */
html[data-theme="dark"] .samraa-product-placeholder {
    background: linear-gradient(135deg, #1F101A 0%, #150912 50%, #2A1322 100%) !important;
    border-color: rgba(226, 198, 149, 0.15) !important;
}

html[data-theme="dark"] .samraa-product-placeholder::before {
    background: linear-gradient(110deg, transparent 20%, rgba(226, 198, 149, 0.12) 45%, rgba(255, 255, 255, 0.05) 55%, transparent 75%) !important;
}

html[data-theme="dark"] .placeholder-watermark-icon {
    background: radial-gradient(circle, rgba(226, 198, 149, 0.12) 0%, rgba(226, 198, 149, 0) 70%) !important;
    color: #E2C695 !important;
}

html[data-theme="dark"] .placeholder-brand {
    color: #F5EFE7 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Compact contexts (cart items, mini search suggestions, thumbnails, order tracking) */
.cart-item-image.samraa-product-placeholder,
.suggestion-img.samraa-product-placeholder,
.acc-order-product__img.samraa-product-placeholder,
.order-item-img.samraa-product-placeholder,
.track-item-img.samraa-product-placeholder,
.tracking-product-img.samraa-product-placeholder,
.bestseller-thumb.samraa-product-placeholder,
.thumb-placeholder.samraa-product-placeholder,
.samraa-product-placeholder.is-compact {
    min-height: 0 !important;
    border-radius: 8px !important;
}

.cart-item-image.samraa-product-placeholder .samraa-placeholder-inner,
.suggestion-img.samraa-product-placeholder .samraa-placeholder-inner,
.acc-order-product__img.samraa-product-placeholder .samraa-placeholder-inner,
.order-item-img.samraa-product-placeholder .samraa-placeholder-inner,
.track-item-img.samraa-product-placeholder .samraa-placeholder-inner,
.tracking-product-img.samraa-product-placeholder .samraa-placeholder-inner,
.bestseller-thumb.samraa-product-placeholder .samraa-placeholder-inner,
.thumb-placeholder.samraa-product-placeholder .samraa-placeholder-inner,
.samraa-product-placeholder.is-compact .samraa-placeholder-inner {
    padding: 4px !important;
    gap: 2px !important;
}

.cart-item-image.samraa-product-placeholder .placeholder-watermark-icon,
.suggestion-img.samraa-product-placeholder .placeholder-watermark-icon,
.acc-order-product__img.samraa-product-placeholder .placeholder-watermark-icon,
.order-item-img.samraa-product-placeholder .placeholder-watermark-icon,
.track-item-img.samraa-product-placeholder .placeholder-watermark-icon,
.tracking-product-img.samraa-product-placeholder .placeholder-watermark-icon,
.bestseller-thumb.samraa-product-placeholder .placeholder-watermark-icon,
.thumb-placeholder.samraa-product-placeholder .placeholder-watermark-icon,
.samraa-product-placeholder.is-compact .placeholder-watermark-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.75rem !important;
}

.cart-item-image.samraa-product-placeholder .placeholder-brand.lang-ar,
.suggestion-img.samraa-product-placeholder .placeholder-brand.lang-ar,
.acc-order-product__img.samraa-product-placeholder .placeholder-brand.lang-ar,
.order-item-img.samraa-product-placeholder .placeholder-brand.lang-ar,
.track-item-img.samraa-product-placeholder .placeholder-brand.lang-ar,
.tracking-product-img.samraa-product-placeholder .placeholder-brand.lang-ar,
.bestseller-thumb.samraa-product-placeholder .placeholder-brand.lang-ar,
.thumb-placeholder.samraa-product-placeholder .placeholder-brand.lang-ar,
.samraa-product-placeholder.is-compact .placeholder-brand.lang-ar {
    font-size: 0.85rem !important;
}

.cart-item-image.samraa-product-placeholder .placeholder-brand.lang-en,
.suggestion-img.samraa-product-placeholder .placeholder-brand.lang-en,
.acc-order-product__img.samraa-product-placeholder .placeholder-brand.lang-en,
.order-item-img.samraa-product-placeholder .placeholder-brand.lang-en,
.track-item-img.samraa-product-placeholder .placeholder-brand.lang-en,
.tracking-product-img.samraa-product-placeholder .placeholder-brand.lang-en,
.bestseller-thumb.samraa-product-placeholder .placeholder-brand.lang-en,
.thumb-placeholder.samraa-product-placeholder .placeholder-brand.lang-en,
.samraa-product-placeholder.is-compact .placeholder-brand.lang-en {
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
}

.suggestion-img.samraa-product-placeholder .placeholder-watermark-icon {
    display: none !important;
}


/* ==========================================================================
   FEATURES BAR STRIP & CONTAINER (Universal Full-Bleed 100% Width Edge-to-Edge)
   ========================================================================== */
.features-bar-strip {
    position: relative !important;
    width: 100% !important;
    width: 100vw !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.features-bar-strip .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.features-bar-strip .features-bar-container,
.shop-page .features-bar-container {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding: 0 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-left: none !important;
    border-right: none !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.features-bar-strip .features-bar-container .feature-bar-item,
.shop-page .features-bar-container .feature-bar-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 1 1 0% !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 0 16px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-inline-end: 1px solid rgba(0, 0, 0, 0.07) !important;
    border-inline-start: none !important;
    border-top: none !important;
    border-bottom: none !important;
    transition: background 0.2s ease !important;
}

.features-bar-strip .features-bar-container .feature-bar-item:last-child,
.shop-page .features-bar-container .feature-bar-item:last-child {
    border-inline-end: none !important;
}

.features-bar-strip .features-bar-container .feature-bar-item:hover,
.shop-page .features-bar-container .feature-bar-item:hover {
    background: rgba(90, 24, 53, 0.03) !important;
}

.features-bar-strip .features-bar-container .fb-icon,
.shop-page .features-bar-container .fb-icon {
    font-size: 24px !important;
    color: var(--accent-plum, #3A102F) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease, color 0.25s ease !important;
}

.features-bar-strip .features-bar-container .feature-bar-item:hover .fb-icon,
.shop-page .features-bar-container .feature-bar-item:hover .fb-icon {
    transform: scale(1.12) !important;
    color: var(--accent-burgundy, #5A1835) !important;
}

.features-bar-strip .features-bar-container .fb-text,
.shop-page .features-bar-container .fb-text {
    display: flex !important;
    flex-direction: column !important;
    text-align: start !important;
}

.features-bar-strip .features-bar-container .fb-text strong,
.shop-page .features-bar-container .fb-text strong {
    font-size: 14.5px !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

.features-bar-strip .features-bar-container .fb-text span,
.shop-page .features-bar-container .fb-text span {
    font-size: 12px !important;
    color: #707070 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

/* Dark mode features bar strip styling */
html[data-theme="dark"] .features-bar-strip {
    background: #140713 !important;
}

html[data-theme="dark"] .features-bar-strip .features-bar-container,
html[data-theme="dark"] .shop-page .features-bar-container {
    background: #140713 !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .features-bar-strip .features-bar-container .feature-bar-item,
html[data-theme="dark"] .shop-page .features-bar-container .feature-bar-item {
    border-inline-end-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .features-bar-strip .features-bar-container .feature-bar-item:hover,
html[data-theme="dark"] .shop-page .features-bar-container .feature-bar-item:hover {
    background: rgba(212, 175, 55, 0.06) !important;
}

html[data-theme="dark"] .features-bar-strip .features-bar-container .fb-text strong,
html[data-theme="dark"] .shop-page .features-bar-container .fb-text strong {
    color: #ffffff !important;
}

html[data-theme="dark"] .features-bar-strip .features-bar-container .fb-text span,
html[data-theme="dark"] .shop-page .features-bar-container .fb-text span {
    color: rgba(255, 255, 255, 0.6) !important;
}

html[data-theme="dark"] .features-bar-strip .features-bar-container .fb-icon,
html[data-theme="dark"] .shop-page .features-bar-container .fb-icon {
    color: #D4AF37 !important;
}

@media (max-width: 991px) {
    .features-bar-strip .features-bar-container,
    .shop-page .features-bar-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0 !important;
        padding: 6px 0 !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .features-bar-strip .features-bar-container .feature-bar-item,
    .shop-page .features-bar-container .feature-bar-item {
        padding: 10px 14px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }
    html[data-theme="dark"] .features-bar-strip .features-bar-container .feature-bar-item,
    html[data-theme="dark"] .shop-page .features-bar-container .feature-bar-item {
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }
}


/* ==========================================================================
   Wholesale Split Showcase Section (جملة سمراء - تصميم العرض المتكامل)
   ========================================================================== */

.wholesale-showcase-section {
    padding: 70px 0 80px;
    background: linear-gradient(180deg, rgba(90, 24, 53, 0.03) 0%, rgba(90, 24, 53, 0.07) 100%);
    position: relative;
    overflow: hidden;
}

html[data-theme="dark"] .wholesale-showcase-section {
    background: linear-gradient(180deg, rgba(20, 10, 16, 0.6) 0%, rgba(10, 5, 8, 0.8) 100%);
}

.wholesale-header-block {
    margin-bottom: 35px;
    position: relative;
}

.wholesale-sub-tag {
    display: inline-block;
    color: var(--accent-burgundy, #5A1835);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: rgba(90, 24, 53, 0.08);
    padding: 4px 16px;
    border-radius: 30px;
}

html[data-theme="dark"] .wholesale-sub-tag {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.12);
}

.wholesale-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main, #1A1A1A);
    margin: 0;
    position: relative;
}

html[data-theme="dark"] .wholesale-main-title {
    color: #FFFFFF;
}

/* Split Showcase 2-Column Grid */
.wholesale-split-layout {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Side 1: Merchant B2B Banner */
.wholesale-merchant-banner {
    background: linear-gradient(145deg, #2A081D 0%, #44132F 50%, #1A0512 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 24px;
    padding: 32px 26px;
    box-shadow: 0 16px 40px rgba(42, 8, 29, 0.28);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banner-ambient-glow {
    position: absolute;
    top: -50px;
    inset-inline-end: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.wholesale-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.merchant-pill-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #F5E6B3;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.merchant-pill-badge i {
    color: #D4AF37;
    font-size: 13px;
}

.wholesale-banner-title {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.4;
    margin: 0 0 12px;
}

.wholesale-banner-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin: 0 0 24px;
}

/* Feature Micro-Cards */
.wholesale-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
    flex-grow: 1;
}

.wholesale-feat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 14px;
    transition: all 0.25s ease;
}

.wholesale-feat-card:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

.wholesale-feat-card .feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #D4AF37 0%, #AA771C 100%);
    color: #1A0512;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.wholesale-feat-card .feat-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wholesale-feat-card .feat-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2px;
    line-height: 1.3;
}

.wholesale-feat-card .feat-text span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}

/* Banner CTAs */
.wholesale-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.wholesale-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.wholesale-cta-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.wholesale-cta-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    color: #FFFFFF !important;
}

.wholesale-cta-catalog {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
}

.wholesale-cta-catalog:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(212, 175, 55, 0.5);
    color: #F5E6B3 !important;
    transform: translateY(-2px);
}

/* Side 2: Wholesale Slider Column */
.wholesale-slider-column {
    background: var(--bg-surface, #FFFFFF);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 24px;
    padding: 26px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    position: relative;
}

html[data-theme="dark"] .wholesale-slider-column {
    background: #181820;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wholesale-slider-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
    flex-wrap: wrap;
    gap: 12px;
}

html[data-theme="dark"] .wholesale-slider-topbar {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.slider-title-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wholesale-slider-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-burgundy, #5A1835);
    margin: 0;
}

html[data-theme="dark"] .wholesale-slider-heading {
    color: #F5E6B3;
}

.wholesale-count-badge {
    background: rgba(90, 24, 53, 0.08);
    color: var(--accent-burgundy, #5A1835);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

html[data-theme="dark"] .wholesale-count-badge {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
}

.wholesale-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-burgundy, #5A1835);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.wholesale-view-all-link:hover {
    color: #8C2250;
    transform: translateX(-3px);
}

[dir="ltr"] .wholesale-view-all-link:hover {
    transform: translateX(3px);
}

html[data-theme="dark"] .wholesale-view-all-link {
    color: #D4AF37;
}

html[data-theme="dark"] .wholesale-view-all-link:hover {
    color: #F5E6B3;
}

/* Wholesale Slider Container */
.wholesale-slider-container {
    position: relative;
    width: 100%;
    overflow: visible;
}

.wholesale-slider-container .slider-manual {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.wholesale-slider-container .slider-manual::-webkit-scrollbar {
    display: none;
}

.wholesale-slider-container .slider-track {
    display: flex;
    gap: 18px;
    padding: 6px 2px 14px;
}

/* Nav Buttons in Wholesale Slider */
.wholesale-slider-container .slider-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF !important;
    border: 1px solid rgba(90, 24, 53, 0.2) !important;
    color: var(--accent-burgundy, #5A1835) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.wholesale-slider-container .slider-nav-btn:hover {
    background: var(--accent-burgundy, #5A1835) !important;
    color: #FFFFFF !important;
    border-color: var(--accent-burgundy, #5A1835) !important;
    transform: translateY(-50%) scale(1.08);
}

html[data-theme="dark"] .wholesale-slider-container .slider-nav-btn {
    background: #242430 !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    color: #D4AF37 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .wholesale-slider-container .slider-nav-btn:hover {
    background: #D4AF37 !important;
    color: #1A0512 !important;
    border-color: #D4AF37 !important;
}

.wholesale-slider-container .slider-nav-btn.prev {
    inset-inline-start: -18px;
}

.wholesale-slider-container .slider-nav-btn.next {
    inset-inline-end: -18px;
}

.wholesale-slider-container .slider-nav-btn.disabled {
    opacity: 0.25;
    pointer-events: none;
}

/* Product Card - Wholesale Card */
.wholesale-card {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    flex: 0 0 250px;
    background: var(--bg-surface, #FFFFFF) !important;
    border: 1px solid rgba(90, 24, 53, 0.12) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

html[data-theme="dark"] .wholesale-card {
    background: #1E1E26 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.wholesale-card:hover {
    transform: translateY(-6px) !important;
    background: var(--bg-surface, #FFFFFF) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 14px 28px rgba(90, 24, 53, 0.15) !important;
}

html[data-theme="dark"] .wholesale-card:hover {
    background: #1E1E26 !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5) !important;
}

.wholesale-card:hover h3,
.wholesale-card:hover h3 a {
    color: var(--accent-burgundy, #5A1835) !important;
    text-shadow: none !important;
}

html[data-theme="dark"] .wholesale-card:hover h3,
html[data-theme="dark"] .wholesale-card:hover h3 a {
    color: #F5E6B3 !important;
}

.wholesale-card .product-image {
    height: 270px;
    position: relative;
    overflow: hidden !important;
    background: #f7f7f9;
    border-radius: 18px 18px 0 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] .wholesale-card .product-image {
    background: #14141A;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.wholesale-card .wholesale-img-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.wholesale-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

.wholesale-card:hover .product-image img {
    transform: scale(1.04);
}

/* Wholesale Product Badges Stack & Ultra-Clear Badge */
.wholesale-card .product-badges-stack {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    width: calc(100% - 20px) !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

[dir="rtl"] .wholesale-card .product-badges-stack {
    justify-content: flex-start !important;
}

[dir="ltr"] .wholesale-card .product-badges-stack {
    justify-content: flex-start !important;
}

.wholesale-badge,
.badge.wholesale-badge,
.wholesale-card .wholesale-badge,
.wholesale-card .product-badges-stack .wholesale-badge,
.product-card.wholesale-card .product-badges-stack .badge.wholesale-badge {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #5A1835 !important;
    background: linear-gradient(135deg, #5A1835 0%, #350A1E 100%) !important;
    background-color: #5A1835 !important;
    color: #FFFFFF !important;
    border: 1px solid #D4AF37 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(90, 24, 53, 0.5) !important;
    letter-spacing: 0.3px !important;
    z-index: 10 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.wholesale-card .wholesale-badge i,
.wholesale-badge i {
    font-size: 11px !important;
    color: #FFD700 !important;
    display: inline-block !important;
}

.wholesale-card:hover .wholesale-badge,
.wholesale-badge:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(245, 176, 0, 0.7) !important;
}

/* Card Body Info */
.wholesale-card-info {
    padding: 14px 16px 16px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: start !important;
}

.wholesale-card-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    height: 40px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0 0 8px !important;
}

.wholesale-card-title a {
    color: var(--text-main, #222) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

html[data-theme="dark"] .wholesale-card-title a {
    color: #F0F0F5 !important;
}

.wholesale-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 211, 102, 0.1);
    color: #128C7E;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
    width: fit-content;
}

html[data-theme="dark"] .wholesale-status-tag {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.wholesale-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
    margin-top: auto;
}

.wholesale-price-row .price-start-label {
    font-size: 11.5px;
    color: var(--text-muted, #777);
    font-weight: 500;
}

html[data-theme="dark"] .wholesale-price-row .price-start-label {
    color: #A0A0AA;
}

.wholesale-price-row .current-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-burgundy, #5A1835);
}

html[data-theme="dark"] .wholesale-price-row .current-price {
    color: #D4AF37;
}

.wholesale-price-row .current-price small {
    font-size: 11px;
    font-weight: 600;
}

/* Actions in Card */
.wholesale-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.wholesale-view-btn {
    flex-grow: 1;
    background: linear-gradient(135deg, #5A1835 0%, #3A102F 100%);
    color: #FFFFFF !important;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.wholesale-view-btn:hover {
    background: linear-gradient(135deg, #7A2048 0%, #4E143E 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 24, 53, 0.25);
}

html[data-theme="dark"] .wholesale-view-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #AA771C 100%);
    color: #1A0512 !important;
}

html[data-theme="dark"] .wholesale-view-btn:hover {
    background: linear-gradient(135deg, #F5E6B3 0%, #C5A880 100%);
    color: #1A0512 !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.wholesale-wa-quick-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.wholesale-wa-quick-btn:hover {
    background: #128C7E;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
}

/* Responsive Rules for Split Showcase */
@media (max-width: 991px) {
    .wholesale-split-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .wholesale-merchant-banner {
        padding: 26px 20px;
    }
    
    .wholesale-features-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .wholesale-slider-column {
        padding: 22px 16px;
    }
    
    .wholesale-slider-container .slider-nav-btn {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .wholesale-showcase-section {
        padding: 45px 0 55px;
    }
    
    .wholesale-main-title {
        font-size: 24px;
    }
    
    .wholesale-features-list {
        grid-template-columns: 1fr;
    }
    
    .wholesale-card {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
        flex: 0 0 220px;
    }
    
    .wholesale-card .product-image {
        height: 230px;
    }
}


/* ==========================================================================
   Curated Boutique Showcase Layouts (الأقسام المميزة الأربعة)
   1. كاجوال حريمي و دريسات
   2. كاجوال رجالي
   3. فضة ودهب صيني
   4. ساعات ومحافظ
   ========================================================================== */

.curated-showcase-box {
    border-radius: 24px;
    padding: 30px 24px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 1. Women Casual & Dresses (كاجوال حريمي و دريسات) */
.curated-women-box {
    background: linear-gradient(135deg, rgba(90, 24, 53, 0.04) 0%, rgba(212, 175, 55, 0.06) 100%);
    border: 1.5px solid rgba(90, 24, 53, 0.14);
    box-shadow: 0 10px 30px rgba(90, 24, 53, 0.05);
}

html[data-theme="dark"] .curated-women-box {
    background: linear-gradient(135deg, #1C121A 0%, #150D14 100%);
    border-color: rgba(212, 175, 55, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* 2. Men Casual (كاجوال رجالي) */
.curated-men-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.04) 0%, rgba(15, 23, 42, 0.06) 100%);
    border: 1.5px solid rgba(30, 41, 59, 0.16);
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.05);
}

html[data-theme="dark"] .curated-men-box {
    background: linear-gradient(135deg, #121820 0%, #0E131A 100%);
    border-color: rgba(100, 149, 237, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* 3. Silver & Chinese Gold (فضة ودهب صيني) */
.curated-jewelry-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(248, 248, 252, 0.95) 50%, rgba(212, 175, 55, 0.08) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.1);
}

html[data-theme="dark"] .curated-jewelry-box {
    background: linear-gradient(135deg, #1A1612 0%, #14111E 100%);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

/* 4. Watches & Wallets (ساعات ومحافظ) */
.curated-watches-box {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.04) 0%, rgba(250, 245, 240, 0.95) 50%, rgba(90, 24, 53, 0.05) 100%);
    border: 1.5px solid rgba(139, 69, 19, 0.22);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.08);
}

html[data-theme="dark"] .curated-watches-box {
    background: linear-gradient(135deg, #181412 0%, #120E0D 100%);
    border-color: rgba(200, 150, 100, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

/* Header Inside Curated Showcase */
.curated-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
    gap: 16px;
}

html[data-theme="dark"] .curated-showcase-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.curated-header-titles {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.curated-pill-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.curated-women-box .curated-pill-badge {
    background: rgba(90, 24, 53, 0.08);
    color: var(--accent-burgundy, #5A1835);
    border: 1px solid rgba(90, 24, 53, 0.2);
}
html[data-theme="dark"] .curated-women-box .curated-pill-badge {
    background: rgba(212, 175, 55, 0.15);
    color: #F5E6B3;
    border-color: rgba(212, 175, 55, 0.3);
}

.curated-men-box .curated-pill-badge {
    background: rgba(30, 41, 59, 0.08);
    color: #1E293B;
    border: 1px solid rgba(30, 41, 59, 0.2);
}
html[data-theme="dark"] .curated-men-box .curated-pill-badge {
    background: rgba(100, 149, 237, 0.15);
    color: #93C5FD;
    border-color: rgba(100, 149, 237, 0.3);
}

.curated-jewelry-box .curated-pill-badge {
    background: rgba(212, 175, 55, 0.12);
    color: #8C6D1F;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
html[data-theme="dark"] .curated-jewelry-box .curated-pill-badge {
    background: rgba(212, 175, 55, 0.2);
    color: #F5E6B3;
    border-color: rgba(212, 175, 55, 0.4);
}

.curated-watches-box .curated-pill-badge {
    background: rgba(139, 69, 19, 0.1);
    color: #8B4513;
    border: 1px solid rgba(139, 69, 19, 0.25);
}
html[data-theme="dark"] .curated-watches-box .curated-pill-badge {
    background: rgba(200, 150, 100, 0.18);
    color: #FCD34D;
    border-color: rgba(200, 150, 100, 0.35);
}

.curated-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main, #1A1A1A);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

html[data-theme="dark"] .curated-title {
    color: #FFFFFF;
}

.curated-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.curated-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    background: var(--bg-surface, #FFFFFF);
    color: var(--accent-burgundy, #5A1835);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.curated-view-more-btn:hover {
    background: var(--accent-burgundy, #5A1835);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(90, 24, 53, 0.2);
}

html[data-theme="dark"] .curated-view-more-btn {
    background: #242028;
    color: #F5E6B3;
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .curated-view-more-btn:hover {
    background: #D4AF37;
    color: #1A0512 !important;
    border-color: #D4AF37;
}

/* Nav arrows inside Curated Showcase */
.curated-showcase-box .slider-container .slider-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFFFFF !important;
    color: var(--accent-burgundy, #5A1835) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.curated-showcase-box .slider-container .slider-nav-btn:hover {
    background: var(--accent-burgundy, #5A1835) !important;
    color: #FFFFFF !important;
    transform: translateY(-50%) scale(1.08) !important;
}

html[data-theme="dark"] .curated-showcase-box .slider-container .slider-nav-btn {
    background: #242028 !important;
    color: #D4AF37 !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .curated-showcase-box .slider-container .slider-nav-btn:hover {
    background: #D4AF37 !important;
    color: #1A0512 !important;
}

.curated-showcase-box .slider-track {
    gap: 18px;
    padding: 6px 2px 14px;
}

.curated-showcase-box .product-card {
    border-radius: 18px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curated-showcase-box .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .curated-showcase-box {
        padding: 20px 14px;
        margin-bottom: 35px;
        border-radius: 18px;
    }
    
    .curated-title {
        font-size: 18px;
    }
    
    .curated-showcase-box .slider-container .slider-nav-btn {
        display: none !important;
    }
}


/* ==========================================================================
   PRODUCT LIST VIEW - PREMIUM SINGLE-COLUMN LAYOUT (DESKTOP & MOBILE)
   ========================================================================== */
.product-grid.list-view,
.shop-main .product-grid.list-view,
#product-container.list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
}

.product-grid.list-view .product-card,
.shop-main .product-grid.list-view .product-card,
#product-container.list-view .product-card {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 210px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: var(--bg-surface, #FFFFFF) !important;
    border: 1px solid var(--border-color, rgba(90, 24, 53, 0.12)) !important;
    box-shadow: 0 4px 16px rgba(90, 24, 53, 0.05) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.product-grid.list-view .product-card:hover,
.shop-main .product-grid.list-view .product-card:hover,
#product-container.list-view .product-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(90, 24, 53, 0.12) !important;
}

html[data-theme="dark"] .product-grid.list-view .product-card,
html[data-theme="dark"] .shop-main .product-grid.list-view .product-card,
html[data-theme="dark"] #product-container.list-view .product-card {
    background: #180F18 !important;
    border-color: rgba(226, 198, 149, 0.18) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

/* Detach branch top bar from horizontal row into floating top pill badge */
.product-grid.list-view .product-card-branch-top,
.shop-main .product-grid.list-view .product-card-branch-top,
#product-container.list-view .product-card-branch-top {
    position: absolute !important;
    top: 14px !important;
    inset-inline-end: 16px !important;
    width: auto !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding: 0 10px !important;
    border-radius: 13px !important;
    border: 1px solid rgba(90, 24, 53, 0.12) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="dark"] .product-grid.list-view .product-card-branch-top,
html[data-theme="dark"] .shop-main .product-grid.list-view .product-card-branch-top,
html[data-theme="dark"] #product-container.list-view .product-card-branch-top {
    background: rgba(26, 17, 25, 0.95) !important;
    border-color: rgba(226, 198, 149, 0.25) !important;
    color: #E2C695 !important;
}

/* Product Image Column */
.product-grid.list-view .product-image,
.shop-main .product-grid.list-view .product-image,
#product-container.list-view .product-image {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    height: auto !important;
    min-height: 210px !important;
    position: relative !important;
    flex-shrink: 0 !important;
    border-bottom: none !important;
    border-inline-end: 1px solid var(--border-color, rgba(90, 24, 53, 0.12)) !important;
    background: #FAF7F9 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
}

html[data-theme="dark"] .product-grid.list-view .product-image,
html[data-theme="dark"] .shop-main .product-grid.list-view .product-image,
html[data-theme="dark"] #product-container.list-view .product-image {
    background: #140813 !important;
    border-inline-end-color: rgba(226, 198, 149, 0.18) !important;
}

.product-grid.list-view .product-image img,
.shop-main .product-grid.list-view .product-image img,
#product-container.list-view .product-image img,
.product-grid.list-view .product-image .product-card-slider img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Product Info Column */
.product-grid.list-view .product-info,
.shop-main .product-grid.list-view .product-info,
#product-container.list-view .product-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 0 !important;
    padding: 22px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: start !important;
    box-sizing: border-box !important;
}

.product-grid.list-view .product-name,
.shop-main .product-grid.list-view .product-name,
#product-container.list-view .product-name {
    font-size: 19px !important;
    height: auto !important;
    line-height: 1.4 !important;
    margin: 0 0 8px 0 !important;
    font-weight: 700 !important;
    color: var(--text-main, #2B0B18) !important;
}

html[data-theme="dark"] .product-grid.list-view .product-name,
html[data-theme="dark"] .shop-main .product-grid.list-view .product-name,
html[data-theme="dark"] #product-container.list-view .product-name {
    color: #FAF5F8 !important;
}

.product-grid.list-view .product-description,
.shop-main .product-grid.list-view .product-description,
#product-container.list-view .product-description {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 14px !important;
    color: var(--text-muted, #7A6B74) !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.6 !important;
}

.product-grid.list-view .product-price,
.shop-main .product-grid.list-view .product-price,
#product-container.list-view .product-price {
    margin: 0 0 16px 0 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: var(--color-gold, #c5a96f) !important;
}

.product-grid.list-view .product-actions,
.shop-main .product-grid.list-view .product-actions,
#product-container.list-view .product-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: auto !important;
}

.product-grid.list-view .product-actions .view-btn,
.shop-main .product-grid.list-view .product-actions .view-btn,
#product-container.list-view .product-actions .view-btn {
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    background: var(--primary-gradient, linear-gradient(135deg, #5A1835 0%, #3A102F 100%)) !important;
    color: #FFFFFF !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.product-grid.list-view .product-actions .wishlist-btn,
.shop-main .product-grid.list-view .product-actions .wishlist-btn,
#product-container.list-view .product-actions .wishlist-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--border-color, rgba(90, 24, 53, 0.12)) !important;
    background: transparent !important;
    cursor: pointer !important;
}

/* Mobile Responsive List View (< 768px) */
@media (max-width: 768px) {
    .product-grid.list-view,
    .shop-main .product-grid.list-view,
    #product-container.list-view {
        gap: 10px !important;
    }

    .product-grid.list-view .product-card,
    .shop-main .product-grid.list-view .product-card,
    #product-container.list-view .product-card {
        min-height: 140px !important;
        max-height: 165px !important;
        border-radius: 12px !important;
    }

    .product-grid.list-view .product-card-branch-top,
    .shop-main .product-grid.list-view .product-card-branch-top,
    #product-container.list-view .product-card-branch-top {
        top: 6px !important;
        inset-inline-end: 8px !important;
        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        padding: 0 6px !important;
        font-size: 10px !important;
    }

    .product-grid.list-view .product-image,
    .shop-main .product-grid.list-view .product-image,
    #product-container.list-view .product-image {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        height: auto !important;
        min-height: 140px !important;
    }

    .product-grid.list-view .product-info,
    .shop-main .product-grid.list-view .product-info,
    #product-container.list-view .product-info {
        padding: 10px 12px !important;
    }

    .product-grid.list-view .product-name,
    .shop-main .product-grid.list-view .product-name,
    #product-container.list-view .product-name {
        font-size: 13.5px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .product-grid.list-view .product-description,
    .shop-main .product-grid.list-view .product-description,
    #product-container.list-view .product-description {
        display: none !important;
    }

    .product-grid.list-view .product-price,
    .shop-main .product-grid.list-view .product-price,
    #product-container.list-view .product-price {
        font-size: 14.5px !important;
        margin-bottom: 6px !important;
    }

    .product-grid.list-view .product-actions,
    .shop-main .product-grid.list-view .product-actions,
    #product-container.list-view .product-actions {
        gap: 8px !important;
        margin-top: auto !important;
    }

    .product-grid.list-view .product-actions .view-btn,
    .shop-main .product-grid.list-view .product-actions .view-btn,
    #product-container.list-view .product-actions .view-btn {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
    }

    .product-grid.list-view .product-actions .wishlist-btn,
    .shop-main .product-grid.list-view .product-actions .wishlist-btn,
    #product-container.list-view .product-actions .wishlist-btn {
        width: 32px !important;
        height: 32px !important;
    }
}

/* ==========================================================================
   GLOBAL FILTER DRAWER - SIDE DRAWER WITH REFINED LAYOUT & DARK/LIGHT MODES
   ========================================================================== */
.global-filter-drawer {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: -100% !important;
    left: auto !important;
    width: min(390px, 92vw) !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 100003 !important;
    background: #FFFFFF !important;
    color: #171518 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.22) !important;
    transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    border-radius: 0 !important;
    transform: none !important;
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.global-filter-drawer.active {
    right: 0 !important;
    left: auto !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

html[dir="ltr"] .global-filter-drawer {
    right: auto !important;
    left: -100% !important;
    transition: left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    box-shadow: 8px 0 35px rgba(0, 0, 0, 0.22) !important;
}

html[dir="ltr"] .global-filter-drawer.active {
    left: 0 !important;
    right: auto !important;
}

.filter-drawer-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 100002 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    pointer-events: none !important;
}

.filter-drawer-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.global-filter-drawer #globalFilterForm {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Header */
.global-filter-drawer .drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    background: #FAF7F9 !important;
    border-bottom: 1px solid rgba(90, 24, 53, 0.12) !important;
    flex-shrink: 0 !important;
    gap: 12px !important;
}

.global-filter-drawer .drawer-header h3 {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #5A1835 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.global-filter-drawer .drawer-header .filter-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-inline-start: auto !important;
}

.global-filter-drawer .drawer-header .filter-actions .btn {
    padding: 6px 14px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    min-height: 32px !important;
    cursor: pointer !important;
}

.global-filter-drawer .drawer-header .filter-actions .btn-outline {
    background: #FFFFFF !important;
    color: #5A1835 !important;
    border: 1px solid rgba(90, 24, 53, 0.25) !important;
}

.global-filter-drawer .drawer-header .filter-actions .btn-primary {
    background: #5A1835 !important;
    color: #FFFFFF !important;
    border: 1px solid #5A1835 !important;
}

.global-filter-drawer .drawer-header .close-drawer {
    background: rgba(90, 24, 53, 0.08) !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    color: #5A1835 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.global-filter-drawer .drawer-header .close-drawer:hover {
    background: #5A1835 !important;
    color: #FFFFFF !important;
}

/* Body */
.global-filter-drawer .drawer-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding: 18px 20px 30px !important;
    background: #FFFFFF !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
}

.global-filter-drawer .filter-group {
    background: #FCFAFC !important;
    border: 1px solid rgba(90, 24, 53, 0.08) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
}

.global-filter-drawer .filter-group h4 {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #5A1835 !important;
    margin: 0 0 10px 0 !important;
}

.global-filter-drawer .filter-select {
    width: 100% !important;
    height: 42px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(90, 24, 53, 0.15) !important;
    padding: 0 12px !important;
    font-size: 13.5px !important;
    background: #FFFFFF !important;
    color: #171518 !important;
    outline: none !important;
    cursor: pointer !important;
}

.global-filter-drawer .price-range-inputs input {
    height: 38px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(90, 24, 53, 0.15) !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    text-align: center !important;
    background: #FFFFFF !important;
    color: #171518 !important;
}

/* Dark Mode Global Filter Drawer */
html[data-theme="dark"] .global-filter-drawer {
    background: #140F15 !important;
    color: #F5F0F3 !important;
    box-shadow: -8px 0 45px rgba(0, 0, 0, 0.7) !important;
}

html[data-theme="dark"] .global-filter-drawer .drawer-header {
    background: #1C131D !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

html[data-theme="dark"] .global-filter-drawer .drawer-header h3 {
    color: #E2C695 !important;
}

html[data-theme="dark"] .global-filter-drawer .drawer-header .filter-actions .btn-outline {
    background: transparent !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    color: #E2C695 !important;
}

html[data-theme="dark"] .global-filter-drawer .drawer-header .filter-actions .btn-primary {
    background: linear-gradient(135deg, #74345A 0%, #5A1835 100%) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
    color: #FFFFFF !important;
}

html[data-theme="dark"] .global-filter-drawer .drawer-header .close-drawer {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #E2C695 !important;
}

html[data-theme="dark"] .global-filter-drawer .drawer-header .close-drawer:hover {
    background: #74345A !important;
    color: #FFFFFF !important;
}

html[data-theme="dark"] .global-filter-drawer .drawer-body {
    background: #140F15 !important;
}

html[data-theme="dark"] .global-filter-drawer .filter-group {
    background: #1A131C !important;
    border-color: rgba(212, 175, 55, 0.14) !important;
}

html[data-theme="dark"] .global-filter-drawer .filter-group h4 {
    color: #E2C695 !important;
}

html[data-theme="dark"] .global-filter-drawer .filter-select {
    background: #231825 !important;
    border-color: rgba(212, 175, 55, 0.25) !important;
    color: #F5F0F3 !important;
}

html[data-theme="dark"] .global-filter-drawer .price-range-inputs input {
    background: #231825 !important;
    border-color: rgba(212, 175, 55, 0.25) !important;
    color: #F5F0F3 !important;
}

html[data-theme="dark"] .global-filter-drawer .custom-checkbox-label span {
    color: #F5F0F3 !important;
}
