/**
 * EGYZONE — Luxury Fashion & Lifestyle Marketplace Design System
 * Controlled, Component-Scoped Architecture
 */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
    --color-ink: #111827;
    --color-navy: #101828;
    --color-navy-soft: #1f2937;
    --color-gold: #c89b3c;
    --color-gold-hover: #a97c24;
    --color-gold-soft: #faf4e8;
    --color-page: #f7f8fa;
    --color-surface: #ffffff;
    --color-surface-muted: #f2f4f7;
    --color-text: #344054;
    --color-muted: #667085;
    --color-light: #98a2b3;
    --color-border: #e4e7ec;
    --color-success: #067647;
    --color-danger: #b42318;

    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;

    --shadow-small: 0 2px 8px rgba(16, 24, 40, 0.05);
    --shadow-medium: 0 8px 24px rgba(16, 24, 40, 0.08);

    --container-max: 1320px;
    --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   2. Typography & Base Layout
   ========================================================================== */
html {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body {
    background-color: var(--color-page) !important;
    color: var(--color-text) !important;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    max-width: 100% !important;
    overflow-x: hidden !important;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

html[dir="rtl"] body,
body.rtl {
    font-family: var(--font-ar) !important;
    text-align: start;
}

html[dir="ltr"] body,
body.ltr {
    font-family: var(--font-en) !important;
    text-align: start;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: var(--container-max) !important;
}

/* Clear excessive margins & section padding */
.section-t-space {
    padding-top: 56px !important;
}

.section-b-space {
    padding-bottom: 56px !important;
}

@media (max-width: 768px) {
    .section-t-space {
        padding-top: 36px !important;
    }
    .section-b-space {
        padding-bottom: 36px !important;
    }
}

/* ==========================================================================
   3. Section Headings (Controlled, Elegant)
   ========================================================================== */
.section-header {
    margin-bottom: 32px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    margin-bottom: 6px;
}

.section-title {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 800;
    color: var(--color-ink);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.section-subtitle {
    max-width: 560px;
    margin: 0 auto;
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Override legacy theme title blocks */
.title1 {
    text-align: center;
    margin-bottom: 28px;
}

.title1 h4 {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: var(--color-gold) !important;
    margin-bottom: 6px !important;
}

.title1 h2.title-inner1 {
    font-size: clamp(24px, 2.8vw, 34px) !important;
    font-weight: 800 !important;
    color: var(--color-ink) !important;
    letter-spacing: -0.5px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    text-transform: none !important;
}

.title1 h2.title-inner1::before,
.title1 h2.title-inner1::after {
    display: none !important;
}

.product-para {
    margin-bottom: 28px;
}

.product-para p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
}

/* ==========================================================================
   4. Component: Site Header
   ========================================================================== */
.site-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #ffffff;
    box-shadow: var(--shadow-small);
}

/* Top Utility Bar: 34px */
.site-topbar {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    height: 34px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-topbar .welcome-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.site-topbar .welcome-text i {
    color: var(--color-gold);
}

.site-topbar a.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    transition: color 0.2s ease;
}

.site-topbar a.auth-link:hover {
    color: var(--color-gold);
}

.site-topbar a.merchant-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 11.5px;
    transition: all 0.2s ease;
    padding: 2px 10px;
    border-radius: 6px;
    background: rgba(202, 154, 63, 0.12);
    border: 1px solid rgba(202, 154, 63, 0.3);
    text-decoration: none;
}

.site-topbar a.merchant-topbar-link:hover {
    color: #ffffff;
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.site-topbar .topbar-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
}

/* Main Navigation Bar: 70px */
.site-navbar {
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.site-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
}

/* Logo */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-small);
}

.site-logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-navy);
}

.site-logo-text span {
    color: var(--color-gold);
}

/* Navigation Links (Strictly 40px height, subtle gold underline active state) */
.site-nav {
    display: flex;
    align-items: center;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-menu li {
    margin: 0;
    padding: 0;
}

.site-menu .nav-link {
    display: inline-flex;
    align-items: center;
    height: 40px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--color-text) !important;
    border-radius: var(--radius-small) !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease, background 0.2s ease !important;
}

.site-menu .nav-link:hover {
    color: var(--color-ink) !important;
    background: rgba(17, 24, 39, 0.04) !important;
}

.site-menu .nav-link.active {
    color: var(--color-ink) !important;
    font-weight: 700 !important;
    background: transparent !important;
}

.site-menu .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

/* Action Controls (Lang, Cart, Hamburger): Perfectly 38px high */
.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-control-btn {
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-small);
    transition: all 0.2s ease;
    text-decoration: none;
}

.site-control-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-navy);
}

/* ==========================================================================
   Luxury Language Selector & Dropdown Styling (Full Width 100% Items)
   ========================================================================== */
.ez-lang-selector-wrapper {
    position: relative;
}

.ez-lang-btn {
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.ez-lang-btn:hover,
.ez-lang-btn:focus,
.ez-lang-btn.show,
.ez-lang-btn[aria-expanded="true"] {
    background: #ffffff;
    border-color: #d4af37;
    color: #0b132b;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.18);
}

.ez-lang-name {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.ez-lang-chevron {
    font-size: 13px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.ez-lang-btn[aria-expanded="true"] .ez-lang-chevron {
    transform: rotate(180deg);
}

.ez-flag-badge {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.ez-lang-menu {
    min-width: 175px !important;
    width: max-content !important;
    max-width: 230px !important;
    padding: 6px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.14), 0 4px 10px -2px rgba(15, 23, 42, 0.06) !important;
    margin-top: 8px !important;
    z-index: 1050;
    box-sizing: border-box !important;
}

.ez-lang-menu li {
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    margin: 2px 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

.ez-lang-item {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 9px 14px !important;
    border-radius: 8px !important;
    color: #1e293b !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.15s ease-in-out !important;
    background: transparent;
    box-sizing: border-box !important;
}

.ez-lang-item:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.ez-lang-item.active {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.ez-lang-item.active .ez-flag-badge {
    border-color: rgba(255, 255, 255, 0.3);
}

.ez-lang-check {
    font-size: 15px;
    color: #d4af37;
    flex-shrink: 0;
}

.ez-lang-item.active .ez-lang-check {
    color: #ffffff;
}

[dir="rtl"] .ez-lang-menu {
    text-align: right !important;
}

.site-cart-btn {
    width: 38px;
    padding: 0;
    position: relative;
    font-size: 18px;
}

.site-cart-badge {
    position: absolute;
    top: -5px;
    inset-inline-end: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    border: 2px solid #ffffff;
}

.site-hamburger {
    width: 38px;
    padding: 0;
    font-size: 18px;
    display: none;
}

@media (max-width: 991.98px) {
    .site-nav {
        display: none !important;
    }
    .site-hamburger {
        display: inline-flex !important;
    }
}

/* Mobile Header Refinements */
@media (max-width: 767.98px) {
    .site-topbar {
        font-size: 11px !important;
        height: 34px !important;
    }

    .site-topbar .welcome-text span {
        max-width: 170px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-topbar a.auth-link span {
        max-width: 130px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-navbar {
        height: 64px !important;
    }

    .site-nav-inner {
        height: 64px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .site-logo {
        flex-shrink: 0 !important;
    }

    .site-logo img {
        height: 36px !important;
        width: auto !important;
    }

    .site-nav-actions {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        margin-inline-start: auto !important;
        gap: 6px !important;
    }

    .site-control-btn {
        min-height: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }

    .site-cart-btn,
    .site-hamburger {
        width: 42px !important;
        min-width: 42px !important;
        padding: 0 !important;
    }
}

@media (max-width: 400px) {
    .site-topbar .welcome-text span {
        max-width: 130px;
    }
    .site-logo img {
        height: 32px !important;
    }
    .site-nav-actions {
        gap: 4px !important;
    }
    .site-control-btn {
        padding: 0 6px !important;
    }
}

/* ==========================================================================
   4b. Hero Slider & Promotional Banners
   ========================================================================== */
.home-slider,
.home-slider .slide-1,
.home-slider .slick-slider,
.home-slider .slick-list,
.slide-1,
.slick-slider,
.slick-list {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.home-slider .home {
    width: 100% !important;
    height: 460px !important;
    max-height: 460px !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
}

.home-slider img,
.home-slider .home img,
.home-slider img.bg-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 460px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

@media (max-width: 991.98px) {
    .home-slider .home,
    .home-slider img,
    .home-slider .home img,
    .home-slider img.bg-img {
        height: 320px !important;
        max-height: 320px !important;
    }
}

@media (max-width: 575.98px) {
    .home-slider .home,
    .home-slider img,
    .home-slider .home img,
    .home-slider img.bg-img {
        height: 200px !important;
        max-height: 200px !important;
    }
}

/* Collection & Offer Banners */
.banner-section .collection-banner {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-section .collection-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.banner-section .collection-banner img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-medium);
    display: block;
}

/* ==========================================================================
   5. Component: Product Card & 4-Column Grid
   ========================================================================== */
/* Reset legacy theme card styling */
.theme-product-1,
.basic-product {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.theme-product-1 .overflow-hidden {
    overflow: visible !important;
}

/* Modern Compact Product Card */
.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(200, 155, 60, 0.4);
}

/* Image Container (1:1 Ratio, cover without distortion or gaps) */
.product-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--color-surface-muted);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card-img-wrap img {
    transform: scale(1.04);
}

/* Hover Quick Actions (Neat, small 34px buttons in corner) */
.product-card-actions {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.product-card:hover .product-card-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .product-card-actions {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

.product-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: var(--shadow-small);
    transition: all 0.2s ease;
    text-decoration: none;
}

.product-action-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #ffffff;
}

/* Product Card Details (Compact, No descriptions) */
.product-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 11px;
}

.product-meta-variant {
    color: var(--color-muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta-cat {
    color: var(--color-light);
    white-space: nowrap;
}

.product-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card-title:hover {
    color: var(--color-gold);
}

.product-card-price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.product-price-current {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-navy);
}

.product-price-old {
    font-size: 12px;
    color: var(--color-light);
    text-decoration: line-through;
    font-weight: 500;
}

.product-badge-discount {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--color-gold-soft);
    color: var(--color-gold-hover);
}

/* ==========================================================================
   6. Component: Category Tabs
   ========================================================================== */
.theme-tab {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.category-tabs-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0 16px;
    margin-bottom: 24px;
}

.category-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .category-tabs {
        justify-content: flex-start;
    }
}

.category-tab-link {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab-link:hover {
    border-color: var(--color-gold);
    color: var(--color-ink);
}

.category-tab-link.active {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: #ffffff;
}

/* ==========================================================================
   7. Component: Services / Trust Strip
   ========================================================================== */
.trust-strip {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    padding: 24px 30px;
    margin-block: 40px;
    box-shadow: var(--shadow-small);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
}

.trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-medium);
    background: var(--color-gold-soft);
    color: var(--color-gold-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.trust-content h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-ink);
    margin: 0 0 2px 0;
}

.trust-content p {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .trust-strip {
        padding: 16px;
    }
    .trust-item {
        padding: 8px 0;
    }
}

/* ==========================================================================
   8. Component: Cart Offcanvas Drawer
   ========================================================================== */
.cart-drawer {
    width: 410px !important;
    max-width: 94vw !important;
    border-start-start-radius: var(--radius-large);
    border-end-start-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    background: #ffffff !important;
}

.cart-drawer-header {
    height: 72px;
    background: var(--color-navy);
    color: #ffffff;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-drawer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-drawer-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(200, 155, 60, 0.25);
    color: var(--color-gold);
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(200, 155, 60, 0.4);
}

.cart-drawer-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-drawer-close:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.cart-drawer-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 72px);
    overflow-y: auto;
}

/* Empty Cart State (Vertically Centered & Refined) */
.cart-empty-state {
    margin: auto 0;
    text-align: center;
    padding: 32px 16px;
}

.cart-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-gold-soft);
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 16px;
}

.cart-empty-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 6px;
}

.cart-empty-desc {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 22px;
}

.cart-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 24px;
    background: var(--color-navy);
    color: #ffffff;
    border-radius: var(--radius-small);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cart-empty-btn:hover {
    background: var(--color-navy-soft);
    color: #ffffff;
}

/* Filled Cart Item Cards */
.cart-drawer-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-drawer-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.cart-drawer-item img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: var(--radius-small);
    border: 1px solid var(--color-border);
}

.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}

.cart-drawer-item-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-ink);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-inline-end: 24px;
}

.cart-drawer-item-meta {
    font-size: 11px;
    color: var(--color-muted);
    margin-bottom: 6px;
}

.cart-drawer-item-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-navy);
}

/* Quantity Controls in Drawer */
.cart-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    overflow: hidden;
    height: 28px;
}

.cart-qty-stepper button {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--color-surface-muted);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.cart-qty-stepper input {
    width: 36px;
    height: 28px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    padding: 0;
    background: #ffffff;
}

.cart-item-remove-btn {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-surface-muted);
    border: none;
    color: var(--color-danger);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cart-item-remove-btn:hover {
    background: #fee2e2;
}

/* Drawer Footer / Subtotal */
.cart-drawer-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.cart-drawer-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 800;
    color: var(--color-ink);
}

.cart-drawer-actions {
    display: flex;
    gap: 10px;
}

.cart-drawer-actions .btn-cart-view {
    flex: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-navy);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-small);
    text-decoration: none;
}

.cart-drawer-actions .btn-cart-checkout {
    flex: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--color-gold);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-small);
    text-decoration: none;
}

/* ==========================================================================
   9. Component: Site Footer (Refined & Balanced)
   ========================================================================== */
.site-footer {
    background: var(--color-navy) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border-top: 2px solid var(--color-gold);
    padding-top: 55px;
    margin-top: 50px;
}

.footer-logo-box {
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-small);
    margin-bottom: 16px;
}

.footer-logo-box img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    max-width: 320px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 18px;
}

.footer-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 24px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
}

.footer-vlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-vlist li {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px;
}

.footer-vlist li a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-vlist li a:hover {
    color: var(--color-gold);
    transform: translateX(3px);
}

html[dir="rtl"] .footer-vlist li a:hover {
    transform: translateX(-3px);
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

.site-subfooter {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    margin-top: 40px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   10. Component: Executive Customer Dashboard & Profile (Luxury Navy & Gold)
   ========================================================================== */

/* Guaranteed Visible Sidebar Override */
.ez-profile-sidebar,
.account-sidebar {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px -2px rgba(16, 24, 40, 0.06) !important;
    transition: all 0.3s ease;
    width: 100% !important;
    text-transform: none !important;
    text-align: start !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
    cursor: default !important;
}

@media (min-width: 992px) {
    .ez-profile-sidebar,
    .account-sidebar {
        position: sticky;
        top: 95px;
    }
}

/* Sidebar Header Profile Card */
.ez-profile-header,
.account-sidebar-top {
    background: linear-gradient(135deg, var(--color-navy) 0%, #1d2c46 100%) !important;
    padding: 26px 20px !important;
    text-align: center !important;
    color: #ffffff !important;
    position: relative;
    border-bottom: 1px solid rgba(214, 168, 79, 0.2);
}

.ez-profile-avatar,
.account-avatar {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    margin: 0 auto 12px !important;
    border: 3px solid var(--color-gold) !important;
    padding: 2px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.ez-profile-avatar img,
.account-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50%;
}

.ez-profile-name,
.account-sidebar-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 3px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ez-profile-email,
.account-sidebar-email {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 10px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ez-client-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    background: rgba(214, 168, 79, 0.15);
    color: var(--color-gold);
    border: 1px solid rgba(214, 168, 79, 0.4);
    border-radius: 20px;
}

/* Sidebar Navigation Links */
.ez-profile-nav,
.account-nav-list {
    list-style: none !important;
    padding: 12px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.ez-nav-item,
.account-nav-list li {
    list-style: none !important;
}

.ez-nav-link,
.account-nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    color: var(--color-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

.ez-nav-link-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ez-nav-link i,
.account-nav-link i {
    font-size: 18px !important;
    color: var(--color-muted);
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.ez-nav-link:hover,
.account-nav-link:hover {
    background: #f8fafc !important;
    color: var(--color-navy) !important;
}

.ez-nav-link:hover i,
.account-nav-link:hover i {
    color: var(--color-gold) !important;
}

.ez-nav-link.active,
.account-nav-link.active {
    background: #fdfaf3 !important;
    color: var(--color-navy) !important;
    border-inline-start: 3.5px solid var(--color-gold) !important;
    box-shadow: inset 0 0 0 1px rgba(214, 168, 79, 0.2) !important;
}

.ez-nav-link.active i,
.account-nav-link.active i {
    color: var(--color-gold) !important;
}

.ez-nav-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: #e2e8f0;
    color: #334155;
}

.ez-nav-badge.gold {
    background: #fff7e6;
    color: #b5832a;
    border: 1px solid rgba(214, 168, 79, 0.3);
}

/* Sidebar Logout Button */
.ez-logout-btn,
.account-logout-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 11px 16px !important;
    border-radius: 12px !important;
    background: #fff1f2 !important;
    color: #e11d48 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border: 1px solid #ffe4e6 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.ez-logout-btn:hover,
.account-logout-btn:hover {
    background: #e11d48 !important;
    color: #ffffff !important;
    border-color: #e11d48 !important;
}

/* Mobile Toggle Button */
.ez-mobile-menu-trigger {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    box-shadow: var(--shadow-small);
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
}

@media (max-width: 991px) {
    .ez-mobile-menu-trigger {
        display: flex;
    }
}

/* ==========================================================================
   Executive Customer Dashboard (Main Canvas Components)
   ========================================================================== */

/* Welcome Hero Card */
.ez-welcome-hero {
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    border: 1px solid rgba(214, 168, 79, 0.3);
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px -2px rgba(16, 24, 40, 0.05);
    position: relative;
    overflow: hidden;
}

.ez-welcome-hero::after {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 180px;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(214, 168, 79, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ez-welcome-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.ez-welcome-desc {
    font-size: 0.92rem;
    color: var(--color-muted);
    margin: 0;
    max-width: 650px;
    line-height: 1.6;
}

/* KPI Stat Cards Grid */
.ez-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .ez-kpi-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.ez-kpi-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.ez-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(16, 24, 40, 0.08);
    border-color: rgba(214, 168, 79, 0.4);
    color: inherit;
}

.ez-kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.ez-kpi-icon.gold {
    background: #fff7e6;
    color: #b5832a;
    border: 1px solid rgba(214, 168, 79, 0.3);
}

.ez-kpi-icon.navy {
    background: #eff4fb;
    color: var(--color-navy);
    border: 1px solid #dbeafe;
}

.ez-kpi-icon.emerald {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.ez-kpi-data {
    flex-grow: 1;
}

.ez-kpi-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 2px;
}

.ez-kpi-value span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

.ez-kpi-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-muted);
    margin: 0;
}

/* Bento Cards (Information & Security Cards) */
.ez-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .ez-bento-grid {
        grid-template-columns: 1fr;
    }
}

.ez-bento-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

.ez-bento-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.ez-bento-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ez-bento-title i {
    color: var(--color-gold);
    font-size: 18px;
}

.ez-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ez-action-btn:hover {
    background: #f1f5f9;
    color: var(--color-navy);
    border-color: #cbd5e1;
}

.ez-data-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ez-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
}

.ez-data-label {
    color: var(--color-muted);
    font-weight: 500;
}

.ez-data-value {
    color: var(--color-navy);
    font-weight: 600;
}

/* Recent Orders Widget in Profile Overview */
.ez-recent-orders-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
    margin-bottom: 24px;
}

.ez-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.ez-order-item:hover {
    background: #ffffff;
    border-color: rgba(214, 168, 79, 0.4);
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.05);
}

.ez-order-id {
    font-family: monospace;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-navy);
}

.ez-order-date {
    font-size: 12px;
    color: var(--color-muted);
}

.ez-order-total {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 14px;
}

/* Luxury Tables for Orders, Wallet, Transactions */
.ez-profile-table-container {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

.ez-table {
    width: 100%;
    margin-bottom: 0;
    vertical-align: middle;
}

.ez-table thead {
    background: #f8fafc;
    border-bottom: 1px solid #e4e7ec;
}

.ez-table th {
    padding: 14px 18px;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.ez-table td {
    padding: 16px 18px;
    font-size: 13.5px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.ez-table tbody tr:last-child td {
    border-bottom: none;
}

.ez-table tbody tr:hover {
    background: #fbfcfe;
}

/* Profile Table Header Bar */
.ez-table-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e4e7ec;
    background: #ffffff;
    flex-wrap: wrap;
    gap: 12px;
}

.ez-table-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0;
}

.ez-table-header-title i {
    color: var(--color-gold);
    font-size: 20px;
}

.ez-table-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Empty State Container */
.ez-empty-state {
    text-align: center;
    padding: 56px 24px;
}

.ez-empty-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #94a3b8;
    margin-bottom: 14px;
}

.ez-empty-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.ez-empty-desc {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0 auto;
    max-width: 440px;
    line-height: 1.6;
}

/* Status Pills & Badges */
.ez-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3.5px 11px;
    border-radius: 20px;
    white-space: nowrap;
}

.ez-badge-status.pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.ez-badge-status.processing {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.ez-badge-status.shipped {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.ez-badge-status.delivered {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.ez-badge-status.cancelled {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.ez-badge-status.paid {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.ez-badge-status.unpaid {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.ez-badge-status.instapay {
    background: #fffbeb;
    color: #854d0e;
    border: 1px solid #fef08a;
}

/* Wallet Hero Card */
.ez-wallet-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 18px;
    padding: 28px 32px;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(214, 168, 79, 0.25);
}

.ez-wallet-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    inset-inline-end: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 168, 79, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ez-wallet-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(214, 168, 79, 0.15);
    border: 1px solid rgba(214, 168, 79, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 32px;
    flex-shrink: 0;
}

.ez-wallet-balance {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 4px 0 0 0;
    letter-spacing: -0.5px;
}

.ez-wallet-currency {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-inline-start: 4px;
}

/* Address Grid & Modern Cards */
.ez-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.ez-address-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.03);
}

.ez-address-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    border-color: rgba(214, 168, 79, 0.4);
}

.ez-address-card.is-default {
    border: 1.5px solid var(--color-gold);
    background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(214, 168, 79, 0.12);
}

.ez-address-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
}

.ez-address-recipient {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.ez-address-title-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

.ez-address-default-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: #fff7e6;
    color: #b5832a;
    border: 1px solid rgba(214, 168, 79, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.ez-address-body {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.ez-address-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-top: 8px;
}

.ez-address-phone i {
    color: var(--color-gold);
    font-size: 16px;
}

.ez-address-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    gap: 8px;
    flex-wrap: wrap;
}

.ez-address-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.ez-address-btn:hover {
    background: #f8fafc;
    color: var(--color-navy);
    border-color: #cbd5e1;
}

.ez-address-btn.danger {
    color: #e11d48;
    border-color: #fecdd3;
    background: #fff1f2;
}

.ez-address-btn.danger:hover {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
}

.ez-address-btn.default-active {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
    cursor: default;
}

.ez-address-btn.default-set {
    color: #2563eb;
    border-color: #bfdbfe;
}

.ez-address-btn.default-set:hover {
    background: #eff6ff;
}

/* Modals Modern Polish */
.modal-content.ez-modal-card {
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
}

.modal-header.ez-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 24px;
}

.modal-header.ez-modal-header.navy {
    background: linear-gradient(135deg, var(--color-navy) 0%, #1e293b 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(214, 168, 79, 0.2);
}

.modal-header.ez-modal-header.danger {
    background: #fff1f2;
    color: #e11d48;
    border-bottom: 1px solid #fecdd3;
}

/* ==========================================================================
   Responsive Order Cards, Wallet Cards & Transaction Cards (No Raw IDs)
   ========================================================================== */

/* Order Cards */
.ez-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ez-order-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    padding: 22px 24px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}

.ez-order-card:hover {
    border-color: rgba(214, 168, 79, 0.45);
    box-shadow: 0 10px 28px -4px rgba(16, 24, 40, 0.08);
    transform: translateY(-2px);
}

.ez-order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 12px;
}

.ez-order-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-navy);
}

.ez-order-card-date i {
    color: var(--color-gold);
    font-size: 18px;
}

.ez-order-card-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    padding: 18px 0;
}

.ez-order-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ez-order-metric-label {
    font-size: 12px;
    color: var(--color-muted);
    font-weight: 600;
}

.ez-order-metric-val {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-navy);
}

.ez-order-metric-val.price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-navy);
}

.ez-order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 12px;
}

/* Wallet Activity Cards */
.ez-wallet-activity-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.03);
}

.ez-wallet-activity-card:hover {
    border-color: rgba(214, 168, 79, 0.35);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.ez-activity-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.ez-activity-icon-box.credit {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.ez-activity-icon-box.debit {
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
}

.ez-activity-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 3px;
}

.ez-activity-date {
    font-size: 12px;
    color: var(--color-muted);
}

.ez-activity-amount {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: end;
}

.ez-activity-amount.credit {
    color: #059669;
}

.ez-activity-amount.debit {
    color: #dc2626;
}

/* Store Transaction Cards (No Raw IDs) */
.ez-txn-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.03);
    flex-wrap: wrap;
}

.ez-txn-card:hover {
    border-color: rgba(214, 168, 79, 0.35);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.ez-txn-store {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ez-txn-store-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.ez-txn-store-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.ez-txn-store-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 3px;
}

/* Luxury Modal System */
.ez-modal-card {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35);
    background: #ffffff;
}

.ez-modal-icon-danger {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fef2f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.ez-modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.ez-modal-header.danger {
    background: #fef2f2;
    color: #991b1b;
    border-bottom: 1px solid #fee2e2;
}

.ez-modal-header.danger .modal-title {
    color: #991b1b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ez-modal-card .form-check {
    padding: 10px 14px;
    margin-bottom: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ez-modal-card .form-check:hover {
    border-color: rgba(214, 168, 79, 0.6);
    background: #fafafa;
}

.ez-modal-card .form-check-input {
    margin-top: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.ez-modal-card .form-check-label {
    cursor: pointer;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Single Product Luxury Layout & Amazon-Style Related Carousel
   ========================================================================== */
.ez-single-page-wrapper {
    padding: 30px 0 60px;
    background-color: var(--color-page);
}

.ez-single-gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.ez-single-gallery-card .product-slick {
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.ez-single-gallery-card .product-slick .slick-slide img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.ez-single-gallery-card .slider-nav {
    margin: 0 -6px;
}

.ez-single-gallery-card .slider-nav .slick-slide {
    padding: 0 6px;
    outline: none !important;
}

.ez-single-gallery-card .slider-nav .slick-slide img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ez-single-gallery-card .slider-nav .slick-slide:hover img {
    border-color: #c0923e;
    transform: translateY(-2px);
}

.ez-single-gallery-card .slider-nav .slick-current img {
    border-color: #c0923e !important;
    box-shadow: 0 0 0 3px rgba(192, 146, 62, 0.25);
}

/* Middle Details Box */
.ez-single-details-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    height: 100%;
}

.ez-single-category-badge {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
}

.ez-single-store-badge {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ez-single-store-badge:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.ez-single-store-badge .ez-badge-label {
    color: #64748b;
    margin-inline-end: 4px;
}

.ez-single-store-badge .ez-badge-store-name {
    color: #0f172a;
    font-weight: 700;
}

.ez-single-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.ez-single-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.ez-single-price-current {
    font-size: 28px;
    font-weight: 800;
    color: #c0923e;
    letter-spacing: -0.02em;
}

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

.ez-single-discount-badge {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.ez-single-desc-card {
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
    white-space: pre-line;
}

/* Right Action Card */
.ez-action-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
}

.ez-option-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ez-option-val-label {
    color: #0f172a;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
}

/* Color Swatches */
.ez-color-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ez-color-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 62px;
    text-align: center;
}

.ez-color-option img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.ez-color-option .ez-color-name {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.ez-color-option:hover {
    border-color: #c0923e;
    transform: translateY(-2px);
}

.ez-color-option.active {
    border-color: #c0923e;
    box-shadow: 0 0 0 3px rgba(192, 146, 62, 0.25);
}

/* Size Chips */
.ez-size-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ez-size-option {
    padding: 7px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8fafc;
    user-select: none;
}

.ez-size-option:hover {
    border-color: #c0923e;
    background: #ffffff;
    color: #0f172a;
}

.ez-size-option.active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Stepper & Buttons */
.ez-stepper-box {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    overflow: hidden;
    height: 46px;
}

.ez-stepper-btn {
    width: 44px;
    height: 100%;
    background: transparent;
    border: none;
    color: #475569;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ez-stepper-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ez-stepper-input {
    width: 50px;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
}

.ez-btn-add-cart {
    background: linear-gradient(135deg, #c0923e 0%, #a67c2e 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    height: 46px;
    padding: 0 24px;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(192, 146, 62, 0.35);
    flex: 1;
    text-decoration: none;
}

.ez-btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(192, 146, 62, 0.5);
    color: #ffffff !important;
}

/* Guarantees Box */
.ez-guarantees-box {
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: 20px;
}

.ez-guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.ez-guarantee-item:last-child {
    margin-bottom: 0;
}

.ez-guarantee-item i {
    font-size: 16px;
    color: #c0923e;
}

/* Dedicated Seller / Merchant Trust Box */
.ez-seller-trust-box {
    border-top: 1px solid #f1f5f9;
}

.ez-seller-box-label {
    letter-spacing: 0.04em;
    font-size: 11.5px;
    color: #64748b;
}

.ez-seller-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.ez-seller-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.ez-seller-avatar-fallback {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.ez-seller-name {
    font-size: 14.5px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.35;
}

.ez-merchant-owner {
    font-size: 12px;
    color: #64748b;
}

.ez-btn-view-store {
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    color: #334155;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.ez-btn-view-store:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.ez-seller-pill-micro {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11.5px;
}

/* ==========================================================================
   Amazon-Style Related Products Section
   ========================================================================== */
.amazon-related-section {
    padding: 20px 0 60px;
}

.amazon-related-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.amazon-related-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.amazon-related-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.amazon-related-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.amazon-related-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.amazon-page-info {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px 12px;
    border-radius: 20px;
}

.amazon-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.amazon-nav-btn:hover:not(:disabled) {
    border-color: #c0923e;
    color: #c0923e;
    background: #fffdfa;
    box-shadow: 0 4px 12px rgba(192, 146, 62, 0.2);
    transform: translateY(-1px);
}

.amazon-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #e2e8f0;
    pointer-events: none;
}

.amazon-related-slider .amazon-slide-wrap {
    padding: 0 10px;
    outline: none !important;
}

.amazon-related-slider .product-card {
    margin-bottom: 0;
    height: 100%;
}

/* Slick RTL Structure & Float Enforcement (Overrides legacy style.css ltr hacks) */
[dir="rtl"] .amazon-related-slider,
.rtl .amazon-related-slider,
[dir="rtl"] #relatedSlider,
.rtl #relatedSlider {
    direction: rtl !important;
}

[dir="rtl"] .amazon-related-slider .slick-track,
.rtl .amazon-related-slider .slick-track,
[dir="rtl"] #relatedSlider .slick-track,
.rtl #relatedSlider .slick-track {
    direction: rtl !important;
}

[dir="rtl"] .amazon-related-slider .slick-slide,
.rtl .amazon-related-slider .slick-slide,
[dir="rtl"] #relatedSlider .slick-slide,
.rtl #relatedSlider .slick-slide {
    float: right !important;
    direction: rtl !important;
}

[dir="ltr"] .amazon-related-slider,
.ltr .amazon-related-slider,
[dir="ltr"] #relatedSlider,
.ltr #relatedSlider {
    direction: ltr !important;
}

[dir="ltr"] .amazon-related-slider .slick-track,
.ltr .amazon-related-slider .slick-track,
[dir="ltr"] #relatedSlider .slick-track,
.ltr #relatedSlider .slick-track {
    direction: ltr !important;
}

[dir="ltr"] .amazon-related-slider .slick-slide,
.ltr .amazon-related-slider .slick-slide,
[dir="ltr"] #relatedSlider .slick-slide,
.ltr #relatedSlider .slick-slide {
    float: left !important;
    direction: ltr !important;
}

/* ==========================================================================
   Catalog Page Luxury Redesign (Hero, Sticky Filters, Toolbar & Grid)
   ========================================================================== */
.ez-catalog-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 40px 0 35px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    margin-bottom: 30px;
}

.ez-catalog-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 146, 62, 0.15) 0%, rgba(192, 146, 62, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ez-catalog-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.ez-catalog-hero-desc {
    font-size: 15px;
    color: #94a3b8;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.ez-catalog-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: #cbd5e1;
}

.ez-catalog-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ez-catalog-breadcrumbs a:hover {
    color: #c0923e;
}

.ez-catalog-breadcrumbs .active {
    color: #c0923e;
    font-weight: 600;
}

/* Quick Category Filter Pills */
.ez-quick-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.ez-quick-cat-pill {
    background: rgba(255, 255, 255, 0.07);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ez-quick-cat-pill:hover,
.ez-quick-cat-pill.active {
    background: #c0923e;
    color: #ffffff;
    border-color: #c0923e;
    box-shadow: 0 4px 14px rgba(192, 146, 62, 0.35);
}

/* Left Sidebar Filter Card */
.ez-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    position: sticky;
    top: 90px;
    z-index: 10;
}

.ez-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.ez-filter-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.ez-filter-title i {
    color: #c0923e;
    font-size: 20px;
}

.ez-btn-reset-filters {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ez-btn-reset-filters:hover {
    color: #dc2626;
    background: #fef2f2;
}

/* Accordion in Filter */
.ez-filter-group {
    margin-bottom: 22px;
}

.ez-filter-group-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ez-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 220px;
    overflow-y: auto;
    padding-inline-end: 6px;
}

.ez-filter-list::-webkit-scrollbar {
    width: 4px;
}

.ez-filter-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.ez-filter-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.ez-filter-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.ez-filter-item {
    margin-bottom: 8px;
}

.ez-filter-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
    margin: 0;
    width: 100%;
}

.ez-filter-checkbox-label:hover {
    background: #f8fafc;
    color: #0f172a;
}

.ez-filter-checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e1;
    accent-color: #c0923e;
    cursor: pointer;
    margin-inline-end: 10px;
}

.ez-filter-count-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Price Range Slider */
.ez-price-slider-wrap {
    padding: 4px 0 10px;
}

.ez-price-range-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ez-price-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.ez-price-range-slider {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    accent-color: #c0923e;
    cursor: pointer;
}

.ez-btn-apply-filters {
    background: linear-gradient(135deg, #c0923e 0%, #a67c2e 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(192, 146, 62, 0.3);
    margin-top: 15px;
}

.ez-btn-apply-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 146, 62, 0.45);
    color: #ffffff;
}

/* Top Catalog Toolbar */
.ez-catalog-toolbar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px 20px;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.03);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.ez-search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.ez-search-box input {
    width: 100%;
    padding: 10px 42px 10px 40px;
    border: 1.5px solid #e2e8f0;
    border-radius: 30px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

.ez-search-box input:focus {
    border-color: #c0923e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(192, 146, 62, 0.15);
}

.ez-search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 17px;
    pointer-events: none;
}

[dir="rtl"] .ez-search-icon {
    left: auto;
    right: 14px;
}

[dir="rtl"] .ez-search-box input {
    padding: 10px 40px 10px 42px;
}

.ez-search-clear-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
}

[dir="rtl"] .ez-search-clear-btn {
    right: auto;
    left: 12px;
}

.ez-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ez-results-count {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.ez-sort-select {
    padding: 8px 32px 8px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    background-color: #ffffff;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

[dir="rtl"] .ez-sort-select {
    padding: 8px 14px 8px 32px;
    background-position: left 10px center;
}

.ez-sort-select:focus {
    border-color: #c0923e;
}

/* Grid Layout Switcher */
.ez-view-toggle {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.ez-view-btn {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ez-view-btn:hover {
    background: #f8fafc;
    color: #0f172a;
}

.ez-view-btn.active {
    background: #0f172a;
    color: #ffffff;
}

/* Mobile Filter Trigger */
.ez-mobile-filter-trigger {
    display: none;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .ez-mobile-filter-trigger {
        display: inline-flex;
    }
    .ez-filter-card {
        position: static;
    }
}

/* ==========================================================================
   RTL Centering & Bootstrap mx-auto Fix (Restores centering broken by legacy CSS)
   ========================================================================== */
[dir="rtl"] .mx-auto,
.rtl .mx-auto,
[dir="rtl"] .text-center.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

[dir="rtl"] .container,
.rtl .container {
    margin-right: auto !important;
    margin-left: auto !important;
}

.about-page .row {
    justify-content: center;
}

/* ==========================================================================
   Luxury Testimonials Slider
   ========================================================================== */
/* ==========================================================================
   Luxury Customer Testimonials Carousel & Cards
   ========================================================================== */
.ez-testimonials-carousel-wrapper {
    position: relative;
    padding: 0 32px;
}

.ez-testimonials-slider {
    margin: 0 -12px;
}

.ez-testimonials-slider .slick-track {
    display: flex !important;
    align-items: stretch !important;
    padding: 14px 0;
}

.ez-testimonials-slider .slick-slide {
    height: inherit !important;
    padding: 0 12px;
    outline: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.ez-testimonials-slider .slick-slide > div,
.ez-testimonials-slider .slick-slide > div > div {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* Luxury Testimonial Card */
.ez-testimonial-card {
    position: relative !important;
    height: 100% !important;
    min-height: 255px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 26px 24px !important;
    background: #ffffff !important;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Top Accent Line on Card Hover */
.ez-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.ez-testimonial-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.10), 0 0 0 1.5px rgba(212, 175, 55, 0.28) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
}

.ez-testimonial-card:hover::before {
    opacity: 1;
}

/* Decorative Watermark Quote */
.ez-card-watermark {
    position: absolute;
    top: 14px;
    font-size: 52px;
    line-height: 1;
    color: #0f172a;
    opacity: 0.035;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    transition: all 0.3s ease;
}

[dir="ltr"] .ez-card-watermark {
    right: 18px;
}

[dir="rtl"] .ez-card-watermark {
    left: 18px;
}

.ez-testimonial-card:hover .ez-card-watermark {
    opacity: 0.08;
    transform: scale(1.1);
    color: #d97706;
}

/* Card Header */
.ez-testimonial-header {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
    min-height: 28px !important;
}

.ez-stars-group {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.95rem;
    color: #f59e0b;
}

.ez-rating-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f172a;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 2px 7px;
    border-radius: 9999px;
    margin-inline-start: 6px;
}

.ez-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 9999px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.ez-trust-pill.vendor {
    background: #f0f9ff;
    color: #0369a1;
    border-color: #bae6fd;
}

/* Quote Text */
.ez-testimonial-quote {
    position: relative !important;
    z-index: 2 !important;
    font-size: 14.5px !important;
    line-height: 1.75 !important;
    color: #334155 !important;
    font-weight: 500 !important;
    font-style: normal !important;
    margin-bottom: 18px !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    min-height: 72px !important;
    max-height: 76px !important;
    overflow: hidden !important;
}

/* Author Section */
.ez-testimonial-author {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
    margin-top: auto !important;
    min-height: 58px !important;
}

.ez-testimonial-author > div {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.ez-author-name {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 2px !important;
    letter-spacing: -0.2px !important;
}

.ez-author-sub {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 0.76rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.ez-author-sub i {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
}

/* Gradient Avatars */
.ez-testimonial-avatar {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12) !important;
    border: 2px solid #ffffff !important;
}

.ez-avatar-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important; color: #ffffff !important; }
.ez-avatar-emerald { background: linear-gradient(135deg, #10b981, #047857) !important; color: #ffffff !important; }
.ez-avatar-amber { background: linear-gradient(135deg, #f59e0b, #b45309) !important; color: #ffffff !important; }
.ez-avatar-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important; color: #ffffff !important; }
.ez-avatar-rose { background: linear-gradient(135deg, #f43f5e, #be123c) !important; color: #ffffff !important; }
.ez-avatar-slate { background: linear-gradient(135deg, #334155, #0f172a) !important; color: #ffffff !important; }

/* Luxury Floating Navigation Arrows on Left & Right */
.ez-carousel-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
    font-size: 1.4rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 20 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
}

.ez-carousel-arrow-left {
    left: 0 !important;
}

.ez-carousel-arrow-right {
    right: 0 !important;
}

.ez-carousel-arrow:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.ez-carousel-arrow:active {
    transform: translateY(-50%) scale(0.95) !important;
}

@media (max-width: 768px) {
    .ez-testimonials-carousel-wrapper {
        padding: 0 16px;
    }
    .ez-carousel-arrow {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.15rem !important;
    }
    .ez-carousel-arrow-left {
        left: -4px !important;
    }
    .ez-carousel-arrow-right {
        right: -4px !important;
    }
}

/* Ensure Slick slide container has proper direction */
[dir="rtl"] .ez-testimonials-slider .slick-slide {
    text-align: right;
}

[dir="ltr"] .ez-testimonials-slider .slick-slide {
    text-align: left;
}




