/* NexaStore Storefront — CSS v3 — RTL mobile fixes */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* RTL on Android Chrome behaves badly with overflow-x:clip — revert to hidden.
   To preserve position:sticky for the header (which `overflow-x:hidden` on html
   would break), we keep the rule on body only and ensure html stays default. */
html { width: 100%; overflow-x: hidden; }
body { width: 100%; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
/* When the off-canvas mobile menu is open, lock the page underneath so RTL
   transforms can't push content out of the viewport. */
body.menu-open { overflow: hidden; touch-action: none; }

:root {
    --primary: #E53935;
    --primary-hover: #C62828;
    --primary-light: #FFF0F0;
    --secondary: #1A1A2E;
    --accent: #FF6F00;
    --text: #212121;
    --text-muted: #757575;
    --text-light: #9E9E9E;
    --bg: #FFFFFF;
    --bg-gray: #F7F7F9;
    --border: #EEEEEE;
    --border-dark: #E0E0E0;
    --success: #43A047;
    --warning: #FB8C00;
    --info: #4285F4;
    --radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --transition: 0.25s ease;
    --header-h: 64px;
    --header-row-h: 64px;
}

body { font-family: 'Inter', 'Noto Kufi Arabic', -apple-system, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; }
body[dir="rtl"] { font-family: 'Noto Kufi Arabic', 'Inter', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; }

/* ── Announcement ──────────────────────────────────────── */
.announcement-bar { background: var(--primary); color: #fff; text-align: center; padding: 8px 16px; font-size: 12px; font-weight: 500; }

/* ── Header ────────────────────────────────────────────── */
.store-header { background: #fff; position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: box-shadow 0.3s; margin: 0; padding: 0; border: none; display: flex; flex-direction: column; }
.store-header.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.08); border-bottom: 1px solid var(--border); }
/* Reserve space at top of body so content doesn't slip under fixed header.
   --header-h is set by JS once the header has rendered (see store.js). */
body { padding-top: var(--header-h, 64px); }

/* Header inner — 3-column: left | center | right */
.header-inner { max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 20px; height: var(--header-row-h); display: flex; align-items: center; gap: 16px; }
.header-left { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-logo { flex-shrink: 0; }
.header-logo img { height: 36px; width: auto; }
.header-logo .logo-text { font-size: 22px; font-weight: 700; color: var(--secondary); white-space: nowrap; }
.header-search { display: flex; width: 100%; border: 2px solid var(--border-dark); border-radius: 25px; overflow: hidden; transition: border-color 0.2s; }
.header-search:focus-within { border-color: var(--primary); }
.header-search input { flex: 1; padding: 9px 18px; border: none; outline: none; font-size: 14px; font-family: inherit; min-width: 0; background: transparent; }
.header-search button { padding: 9px 16px; background: var(--primary); color: #fff; border: none; cursor: pointer; border-radius: 0 22px 22px 0; display: flex; align-items: center; }
body[dir="rtl"] .header-search button { border-radius: 22px 0 0 22px; }
.header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; margin-left: auto; }
body[dir="rtl"] .header-right { margin-left: 0; margin-right: auto; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-nav a { font-size: 13px; font-weight: 500; color: var(--text); transition: color var(--transition); white-space: nowrap; }
.header-nav a:hover, .header-nav a.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-action-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--text); position: relative; transition: all var(--transition); }
.header-action-btn:hover { background: var(--bg-gray); color: var(--primary); }
.header-action-btn svg { width: 20px; height: 20px; }
.header-action-btn .badge-count { position: absolute; top: 2px; right: 2px; background: var(--primary); color: #fff; width: 16px; height: 16px; border-radius: 50%; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
body[dir="rtl"] .header-action-btn .badge-count { right: auto; left: 2px; }
.header-lang { font-size: 12px; padding: 5px 12px; border: 1px solid var(--border-dark); border-radius: 20px; color: var(--text); font-weight: 500; transition: all var(--transition); white-space: nowrap; }
.header-lang:hover { border-color: var(--primary); color: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text); padding: 6px; flex-shrink: 0; }
.mobile-menu-btn svg { width: 24px; height: 24px; }
.desktop-only { display: flex; }

/* ── Mobile Slide Menu (WoodMart style) ────────────────── */
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; visibility: hidden; transition: all 0.3s; }
.mobile-menu-overlay.show { opacity: 1; visibility: visible; }
.mobile-slide-menu { position: fixed; top: 0; width: 300px; max-width: 85vw; height: 100vh; background: #fff; z-index: 201; overflow-y: auto; box-shadow: var(--shadow-lg); transition: transform 0.3s ease; left: 0; right: auto; transform: translateX(-100%); }
body[dir="rtl"] .mobile-slide-menu { left: auto; right: 0; transform: translateX(100%); }
.mobile-slide-menu.open { transform: translateX(0) !important; }

/* Sidebar search */
.mm-search { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mm-search form { display: flex; flex: 1; border: 1px solid var(--border-dark); border-radius: 20px; overflow: hidden; }
.mm-search input { flex: 1; padding: 9px 14px; border: none; outline: none; font-size: 13px; font-family: inherit; min-width: 0; }
.mm-search button[type="submit"] { padding: 9px 12px; background: none; border: none; cursor: pointer; color: var(--text-muted); display: flex; align-items: center; }
.mm-close { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; flex-shrink: 0; }

/* Tabs */
.mm-tabs { display: flex; border-bottom: 2px solid var(--border); }
.mm-tab { flex: 1; padding: 14px 12px; font-size: 12px; font-weight: 700; text-align: center; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; font-family: inherit; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s; }
.mm-tab.active { color: var(--text); border-bottom-color: var(--text); }

/* Panels */
.mobile-menu-panel { display: none; }
.mobile-menu-panel.active { display: block; }

/* Category links */
/* Mobile menu — categories with optional subcategory accordion */
.mm-cat-item { border-bottom: 1px solid var(--bg-gray); }
.mm-cat-row { display: flex; align-items: stretch; }
.mm-cat-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    min-width: 0;
}
.mm-cat-link:hover, .mm-cat-link:focus { background: var(--bg-gray); color: var(--primary); }
.mm-cat-icon { font-size: 18px; flex-shrink: 0; }
.mm-cat-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.mm-cat-toggle {
    flex-shrink: 0;
    width: 48px;
    background: transparent;
    border: none;
    border-inline-start: 1px solid var(--bg-gray);
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.mm-cat-toggle:hover { background: var(--bg-gray); color: var(--primary); }
.mm-cat-toggle svg { transition: transform 0.25s ease; }
.mm-cat-item.expanded .mm-cat-toggle svg { transform: rotate(180deg); color: var(--primary); }

.mm-subcat-wrap {
    background: linear-gradient(to bottom, rgba(0,0,0,0.025), transparent);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mm-cat-item.expanded .mm-subcat-wrap { max-height: 600px; }

.mm-subcat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 38px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}
[dir="rtl"] .mm-subcat-link { padding: 10px 38px 10px 20px; }
.mm-subcat-link:hover { color: var(--primary); background: var(--bg-gray); }
.mm-subcat-bullet {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
    flex-shrink: 0;
}

/* Menu links */
.mm-menu-link { display: block; padding: 14px 20px; font-size: 14px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--bg-gray); transition: background 0.15s; }
.mm-menu-link:hover { background: var(--bg-gray); color: var(--primary); }
.mm-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ── Shop Banner ───────────────────────────────────────── */
.shop-banner { background: var(--secondary); color: #fff; text-align: center; padding: 36px 20px 28px; margin-top: -6px; }
.shop-banner h1 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
/* Shop categories carousel — paginated slider showing N pills per page */
.shop-cat-carousel {
    position: relative;
    margin-top: 22px;
    padding: 0 56px;        /* room for prev/next arrows */
    user-select: none;
}
.shop-cat-viewport { overflow: hidden; width: 100%; }
.shop-cat-track {
    display: flex;
    /* CRITICAL: width:100% pins the track to one viewport. Without this,
       a flex container with N children at flex:0 0 100% auto-grows to
       N viewports wide, and translateX(-100%) shifts by N viewports
       instead of one — leaving blank space on every page after the first. */
    width: 100%;
    transition: transform .55s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.shop-cat-page {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}
.shop-cat-page a {
    flex: 0 1 auto;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
}
.shop-cat-page a:hover, .shop-cat-page a.active {
    background: #fff;
    color: var(--secondary, #1a1d2e);
    border-color: #fff;
}
.shop-cat-page a .count { font-size: 11px; opacity: 0.55; margin-inline-start: 4px; }
.shop-cat-page a:hover .count, .shop-cat-page a.active .count { opacity: 0.5; }

/* Prev / Next arrows */
.shop-cat-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(6px);
    z-index: 2;
}
.shop-cat-arrow:hover { background: #fff; color: var(--secondary, #1a1d2e); border-color: #fff; }
.shop-cat-arrow.prev { left: 6px; }
.shop-cat-arrow.next { right: 6px; }
[dir="rtl"] .shop-cat-arrow.prev { left: auto; right: 6px; }
[dir="rtl"] .shop-cat-arrow.next { right: auto; left: 6px; }
[dir="rtl"] .shop-cat-arrow svg { transform: scaleX(-1); }
.shop-cat-arrow:disabled { opacity: 0; pointer-events: none; }

/* Dots */
.shop-cat-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}
.shop-cat-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s;
}
.shop-cat-dot:hover { background: rgba(255,255,255,0.5); }
.shop-cat-dot.active { background: #fff; width: 22px; border-radius: 4px; }

@media (max-width: 768px) {
    .shop-cat-carousel { padding: 0 44px; margin-top: 16px; }
    .shop-cat-arrow { width: 32px; height: 32px; }
    .shop-cat-page { gap: 6px; }
    .shop-cat-page a { font-size: 12.5px; padding: 7px 14px; }
}

/* Legacy fallback if JS doesn't initialize */
.shop-categories {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    justify-content: center;
    flex-wrap: wrap;
    scrollbar-width: none;
}
.shop-categories::-webkit-scrollbar { display: none; }
.shop-categories a {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.shop-categories a:hover, .shop-categories a.active {
    background: #fff;
    color: var(--secondary, #1a1d2e);
    border-color: #fff;
}
.shop-categories a .count { font-size: 11px; opacity: 0.6; margin-inline-start: 3px; }

.shop-container { max-width: 1280px; margin: 0 auto; padding: 24px 16px; display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.sidebar-widget { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.sidebar-widget:last-child { border-bottom: none; }
.sidebar-widget h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.3px; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { flex: 1; width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; outline: none; font-family: inherit; }
.price-range input:focus { border-color: var(--primary); }
.filter-btn { width: 100%; padding: 9px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 10px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.shop-toolbar .results-count { font-size: 13px; color: var(--text-muted); }
.shop-toolbar select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; font-family: inherit; background: #fff; outline: none; }

/* ── Product Grid ──────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── Product Card ──────────────────────────────────────── */
.product-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); background: #fff; position: relative; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent; }
.product-card .card-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-gray); }
.product-card .card-image-slider { position: relative; width: 100%; height: 100%; }
.product-card .card-image-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; opacity: 0; transition: opacity 0.3s; }
.product-card .card-image-slider img.active { opacity: 1; position: relative; }
.product-card .card-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.9); border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 2; opacity: 0; transition: opacity 0.2s; box-shadow: var(--shadow-sm); }
.product-card:hover .card-slider-btn { opacity: 1; }
.product-card .card-slider-btn.prev { left: 6px; }
.product-card .card-slider-btn.next { right: 6px; }
body[dir="rtl"] .product-card .card-slider-btn.prev { left: auto; right: 6px; }
body[dir="rtl"] .product-card .card-slider-btn.next { right: auto; left: 6px; }
.product-card .card-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 3; }
body[dir="rtl"] .product-card .card-badges { left: auto; right: 8px; }
.product-card .card-badge { padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff; }
.card-badge.sale { background: var(--primary); }
.card-badge.sold-out { background: #333; }
.card-badge.new { background: var(--success); }
.product-card .card-actions { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
body[dir="rtl"] .product-card .card-actions { right: auto; left: 8px; }
.product-card .card-actions button { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); box-shadow: var(--shadow-sm); font-size: 14px; }
.product-card .card-actions button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-card .card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.product-card .card-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; line-height: 1.3; color: var(--text); display: block; }
.product-card .card-title:hover { color: var(--primary); }
.product-card .card-category { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.product-card .card-rating { display: flex; align-items: center; gap: 2px; margin-bottom: 6px; }
.product-card .card-rating .stars { color: #FFC107; font-size: 13px; letter-spacing: -1px; }
.product-card .card-rating .stars-empty { color: #DDD; font-size: 13px; letter-spacing: -1px; }
.product-card .card-stock { display: flex; align-items: center; gap: 4px; font-size: 12px; margin-bottom: 8px; }
.product-card .card-stock.in-stock { color: var(--success); }
.product-card .card-stock.out-of-stock { color: var(--text-light); }
.product-card .card-price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; gap: 6px; }
.product-card .card-price .current { font-size: 16px; font-weight: 700; color: var(--primary); }
.product-card .card-price .original { font-size: 12px; color: var(--text-light); text-decoration: line-through; margin-inline-start: 6px; }
.product-card .card-color-swatches { display: flex; gap: 4px; align-items: center; }
.product-card .card-color-swatches .swatch { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); }
.product-card .card-options { display: flex; gap: 4px; margin-bottom: 10px; flex-wrap: wrap; }
.product-card .card-options .opt-btn { padding: 3px 8px; border: 1px solid var(--border); border-radius: 4px; font-size: 11px; color: var(--text-muted); background: none; }
.product-card .card-select-btn { display: block; width: 100%; padding: 10px; background: var(--info); color: #fff; border: none; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; transition: all var(--transition); margin-top: auto; font-family: inherit; }
.product-card .card-select-btn:hover { background: #3367D6; }
.product-card .card-sku { font-size: 11px; color: var(--text-light); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--bg-gray); }

/* ── Product Page ──────────────────────────────────────── */
.product-page { max-width: 1280px; margin: 0 auto; padding: 24px 16px; }
.breadcrumbs { font-size: 12px; color: var(--text-light); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.product-main { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--bg-gray); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; touch-action: pan-y; cursor: grab; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; cursor: zoom-in; transition: transform 0.3s; }
.gallery-main:hover img { transform: scale(1.1); }
.gallery-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); z-index: 2; }
.gallery-nav-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }
body[dir="rtl"] .gallery-nav-btn.prev { left: auto; right: 10px; }
body[dir="rtl"] .gallery-nav-btn.next { right: auto; left: 10px; }
.gallery-zoom-btn { position: absolute; bottom: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.9); border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; }
body[dir="rtl"] .gallery-zoom-btn { left: auto; right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.gallery-thumbs .thumb { width: 70px; height: 70px; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; flex-shrink: 0; background: var(--bg-gray); }
.gallery-thumbs .thumb.active { border-color: var(--primary); }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.product-info h1 { font-size: 24px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.product-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.product-rating { display: flex; align-items: center; gap: 4px; }
.product-rating .stars { color: #FFC107; font-size: 14px; }
.product-rating .count { font-size: 12px; color: var(--text-muted); }
.product-sku { font-size: 12px; color: var(--text-light); }
.product-price-box { margin: 16px 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.product-price-box .price { font-size: 28px; font-weight: 700; color: var(--primary); }
.product-price-box .compare-price { font-size: 16px; color: var(--text-light); text-decoration: line-through; }
.product-price-box .discount-badge { background: var(--primary); color: #fff; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.product-option-group { margin-bottom: 16px; }
.product-option-group .option-label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.product-option-group .option-label span { color: var(--text-muted); font-weight: 400; }
.option-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.option-buttons .opt-btn { padding: 8px 18px; border: 1px solid var(--border-dark); border-radius: var(--radius); font-size: 13px; font-weight: 500; background: #fff; cursor: pointer; transition: all var(--transition); }
.option-buttons .opt-btn:hover { border-color: var(--text); }
.option-buttons .opt-btn.selected { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.option-buttons .opt-btn .opt-price-adj { font-size: 11px; color: var(--text-muted); display: block; margin-top: 2px; }
.option-buttons .opt-btn.selected .opt-price-adj { color: var(--primary); }
.color-swatches { display: flex; gap: 8px; }
.color-swatches .swatch { width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; transition: all var(--transition); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); }
.color-swatches .swatch:hover { transform: scale(1.15); }
.color-swatches .swatch.selected { border-color: var(--primary); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary); }
.product-add-section { display: flex; gap: 10px; margin: 20px 0; align-items: center; flex-wrap: wrap; }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--border-dark); border-radius: var(--radius); overflow: hidden; }
.qty-selector button { width: 40px; height: 44px; background: var(--bg-gray); border: none; cursor: pointer; font-size: 18px; color: var(--text); }
.qty-selector input { width: 50px; height: 44px; text-align: center; border: none; font-size: 15px; font-weight: 600; font-family: inherit; outline: none; }
.btn-add-cart { flex: 1; min-width: 120px; padding: 12px 20px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--transition); font-family: inherit; }
.btn-add-cart:hover { background: var(--primary-hover); }
.btn-buy-now { padding: 12px 20px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; }
.product-actions-row { display: flex; gap: 16px; margin-bottom: 16px; font-size: 13px; flex-wrap: wrap; }
.product-actions-row a, .product-actions-row button { display: flex; align-items: center; gap: 5px; color: var(--text-muted); background: none; border: none; cursor: pointer; font-size: 13px; font-family: inherit; }
.product-actions-row a:hover, .product-actions-row button:hover { color: var(--primary); }
.watching-badge { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bg-gray); border-radius: var(--radius); font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* ── Product Extra Features ────────────────────────────── */
.pef-section { margin-bottom: 16px; }
.pef-shipping { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pef-shipping .pef-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.pef-shipping .pef-row:last-child { border-bottom: none; }
.pef-row .pef-icon { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pef-row .pef-icon img { width: 28px; height: 28px; object-fit: contain; }
.pef-row .pef-details { flex: 1; min-width: 0; }
.pef-row .pef-details strong { display: block; font-size: 13px; font-weight: 600; }
.pef-row .pef-details small { color: var(--text-light); font-size: 12px; }
.pef-row .pef-extra { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.pef-row .pef-price { font-weight: 600; color: var(--success); white-space: nowrap; font-size: 14px; }
.pef-guarantees { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 12px; }
.pef-guarantees .pef-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.pef-guarantees .pef-row:last-child { border-bottom: none; }
.pef-guarantees .pef-price { color: var(--info); font-size: 13px; font-weight: 500; }

/* ── Product Tabs ──────────────────────────────────────── */
.product-tabs { border-top: 1px solid var(--border); padding-top: 30px; margin-top: 30px; }
.product-tabs .tabs-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
.product-tabs .tabs-nav button { padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--text-muted); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: all var(--transition); font-family: inherit; white-space: nowrap; }
.product-tabs .tabs-nav button:hover { color: var(--text); }
.product-tabs .tabs-nav button.active { color: var(--primary); border-bottom-color: var(--primary); }
.product-tabs .tab-panel { display: none; }
.product-tabs .tab-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.tab-description { font-size: 14px; line-height: 1.8; }
.reviews-summary { text-align: center; margin-bottom: 24px; }
.reviews-summary .big-rating { font-size: 48px; font-weight: 700; }
.reviews-summary .stars { color: #FFC107; font-size: 20px; margin: 4px 0; }
.related-section { margin-top: 40px; }
.related-section h2 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── Footer ────────────────────────────────────────────── */
.store-footer { background: var(--secondary); color: rgba(255,255,255,0.8); padding: 50px 16px 24px; margin-top: 60px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); padding: 3px 0; }
.footer-col a:hover { color: #fff; }
/* Footer contact lines (phone, email) with proper SVG icons */
.footer-contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 13px; }
body[dir="rtl"] .footer-contact-line { flex-direction: row-reverse; justify-content: flex-end; }
.footer-contact-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.65; }

/* Footer social row - circular brand icons */
.footer-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.footer-social .social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}
.footer-social .social-icon svg { width: 16px; height: 16px; transition: transform 0.25s; }
.footer-social .social-icon:hover {
    background: var(--brand, var(--primary));
    border-color: var(--brand, var(--primary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.footer-social .social-icon:hover svg { transform: scale(1.1); }

/* WhatsApp floating action button - polished with pulse */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow:
        0 8px 20px rgba(37,211,102,0.35),
        0 2px 6px rgba(37,211,102,0.25),
        inset 0 -2px 0 rgba(0,0,0,0.06);
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body[dir="rtl"] .whatsapp-float { right: auto; left: 24px; }
.whatsapp-float svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    color: #fff;
    box-shadow:
        0 12px 28px rgba(37,211,102,0.45),
        0 4px 10px rgba(37,211,102,0.3);
}
.whatsapp-float:active { transform: scale(0.96); }

/* Pulse ring */
.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: 0;
    z-index: 1;
    animation: waPulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 8px; }
.footer-newsletter-form { display: flex; gap: 6px; margin-top: 8px; }
.footer-newsletter-form input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; background: rgba(255,255,255,0.08); color: #fff; font-size: 13px; outline: none; font-family: inherit; }
.footer-newsletter-form button { padding: 9px 16px; background: var(--primary); color: #fff; border: none; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; white-space: nowrap; }

/* ── WhatsApp Float ────────────────────────────────────── */
.whatsapp-float-OLD-REMOVED { display: none; }

/* ── Mobile Bottom Nav ─────────────────────────────────── */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); z-index: 100; padding: 4px 0 env(safe-area-inset-bottom, 4px); }
.mobile-bottom-nav .nav-items { display: flex; justify-content: space-around; }
.mobile-bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: var(--text-muted); padding: 6px 8px; white-space: nowrap; }
.mobile-bottom-nav .nav-item.active { color: var(--primary); }
.mobile-bottom-nav .nav-item svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
    .product-main { grid-template-columns: 1fr; gap: 24px; }
    .product-gallery { position: static; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .desktop-only { display: none !important; }
    .mobile-menu-btn { display: flex; }
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: 58px; }

    /* Mobile header: burger (left) | logo (center) | lang+cart (right) */
    .header-inner { padding: 0 12px; gap: 0; position: relative; justify-content: space-between; height: 56px; }
    .header-left { flex: 0 0 auto; }
    .header-logo { position: absolute; left: 50%; transform: translateX(-50%); }
    body[dir="rtl"] .header-logo { left: auto; right: 50%; transform: translateX(50%); }
    .header-logo img { height: 28px; }
    .header-logo .logo-text { font-size: 18px; }
    .header-right { flex: 0 0 auto; gap: 4px; }
    .header-actions { gap: 2px; }
    .header-action-btn { width: 34px; height: 34px; }
    .header-action-btn svg { width: 20px; height: 20px; }
    .header-lang { font-size: 11px; padding: 4px 10px; }

    .shop-container { grid-template-columns: 1fr; padding: 16px 10px; }
    .shop-sidebar { display: none; }
    .shop-sidebar.show { display: block; position: static; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card .card-body { padding: 10px; }
    .product-card .card-title { font-size: 13px; }
    .product-card .card-slider-btn { opacity: 1; width: 24px; height: 24px; font-size: 12px; }
    .product-card .card-select-btn { font-size: 12px; padding: 8px; }
    .product-card .card-price .current { font-size: 14px; }

    .product-page { padding: 16px 10px; }
    .product-info h1 { font-size: 20px; }
    .product-price-box .price { font-size: 22px; }

    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .whatsapp-float { bottom: 68px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-banner { padding: 28px 16px 22px; }
    .shop-banner h1 { font-size: 22px; }
}

/* ============================================================
   HOMEPAGE SECTIONS — Phase 3
   ============================================================ */

/* (header-search styles moved to header section above) */
/* (old mobile-search-bar placeholder removed) */

/* ── Mobile Menu Tabs ──────────────────────────────────── */
/* (old mobile menu tabs removed - now using .mm-tabs above) */

/* ── Hero Slider ───────────────────────────────────────── */
.hero-section { position: relative; overflow: hidden; margin: -6px 0 0 0; padding: 0; line-height: 0; touch-action: pan-y; cursor: grab; }
.hero-slider { position: relative; width: 100%; line-height: 1.6; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; display: flex; align-items: center; justify-content: center; }
.hero-slide.active { opacity: 1; position: relative; }
.hero-slide-img { width: 100%; display: block; }
.hero-slide-img.mobile-img { display: none; }
.hero-slide-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    object-fit: cover;
    aspect-ratio: 12 / 5;
}
iframe.hero-slide-video {
    aspect-ratio: 16 / 9;
    border: 0;
    pointer-events: none;
}
@media (max-width: 768px) {
    .hero-slide-video { aspect-ratio: 3 / 4; }
    iframe.hero-slide-video { aspect-ratio: 9 / 16; }
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); pointer-events: none; }
.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.hero-title { font-size: 38px; font-weight: 700; margin-bottom: 10px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 16px; opacity: 0.9; margin-bottom: 20px; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.hero-btn { display: inline-block; padding: 14px 36px; background: var(--primary); color: #fff; border-radius: var(--radius); font-weight: 600; font-size: 15px; transition: all var(--transition); }
.hero-btn:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); }
/* If no image uploaded, show a colored bg fallback */
.hero-slide-placeholder { width: 100%; min-height: 350px; background: var(--secondary); }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; cursor: pointer; font-size: 20px; z-index: 3; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.hero-nav:hover { background: #fff; box-shadow: var(--shadow); }
.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }
body[dir="rtl"] .hero-nav.prev { left: auto; right: 20px; }
body[dir="rtl"] .hero-nav.next { right: auto; left: 20px; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; }
.hero-dot.active { background: #fff; transform: scale(1.3); }

/* ── Search Bar (mobile) ──────────────────────────────── */
.mobile-search-bar { display: none; background: var(--primary); padding: 8px 12px 10px; margin: 0; line-height: 1; position: relative; }
.mobile-search-bar::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 5px; background: var(--primary); }
.mobile-search-bar form { display: flex; gap: 0; background: #fff; border-radius: 22px; overflow: hidden; margin: 0; line-height: normal; }
.mobile-search-bar input { flex: 1; padding: 10px 16px; border: none; outline: none; font-size: 13px; font-family: inherit; min-width: 0; background: transparent; }
.mobile-search-bar button { padding: 10px 14px; background: var(--primary); border: none; cursor: pointer; color: #fff; display: flex; align-items: center; border-radius: 0 22px 22px 0; }
body[dir="rtl"] .mobile-search-bar button { border-radius: 22px 0 0 22px; }

/* ── Features Bar ──────────────────────────────────────── */
.features-bar { border-bottom: 1px solid var(--border); overflow-x: auto; }
.features-inner { max-width: 1280px; margin: 0 auto; display: flex; padding: 16px 20px; gap: 30px; }
.feature-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.feature-icon { font-size: 18px; color: var(--primary); }
.feature-item strong { font-size: 13px; display: block; }
.feature-item span { font-size: 11px; color: var(--text-light); }

/* ── Home Sections ─────────────────────────────────────── */
.home-section { padding: 40px 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-header h2 { font-size: 22px; font-weight: 700; }
.section-link { font-size: 13px; font-weight: 600; color: var(--primary); }
.section-link:hover { text-decoration: underline; }

/* Products horizontal scroll */
.products-scroll { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
/* View: Slider */
.products-scroll.view-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.products-scroll.view-slider::-webkit-scrollbar { height: 4px; }
.products-scroll.view-slider::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 2px; }
.products-scroll.view-slider .product-card { min-width: 220px; max-width: 260px; flex-shrink: 0; scroll-snap-align: start; }
/* View: Masonry */
.products-scroll.view-masonry { columns: 4; column-gap: 16px; display: block; }
.products-scroll.view-masonry .product-card { break-inside: avoid; margin-bottom: 16px; display: inline-block; width: 100%; }

/* Categories views */
.categories-grid.view-slider { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.categories-grid.view-slider::-webkit-scrollbar { height: 4px; }
.categories-grid.view-slider::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 2px; }
.categories-grid.view-slider .category-card { min-width: 260px; flex-shrink: 0; }

/* ── Categories Grid ───────────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.category-card { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); background: #fff; }
.category-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.category-img { width: 90px; height: 90px; border-radius: var(--radius); overflow: hidden; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.category-img img { width: 100%; height: 100%; object-fit: cover; }
.category-img span { font-size: 32px; }
.category-info strong { font-size: 15px; display: block; margin-bottom: 4px; color: var(--text); }
.category-info span { font-size: 12px; color: var(--text-light); }

/* ── Promo Banners Grid ────────────────────────────────── */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.promo-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 200px; display: flex; align-items: center; transition: all var(--transition); }
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.promo-img-desktop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-img-mobile { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.promo-content { position: relative; z-index: 2; padding: 24px; }
.promo-subtitle { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; display: block; margin-bottom: 6px; }
.promo-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.promo-btn { display: inline-block; padding: 8px 18px; border: 1px solid currentColor; border-radius: var(--radius); font-size: 13px; font-weight: 600; transition: all var(--transition); }
.promo-btn:hover { background: rgba(0,0,0,0.1); }

/* ── Why Choose Us ─────────────────────────────────────── */
.why-choose-layout { display: flex; flex-direction: column; gap: 36px; }
.why-choose-header { text-align: center; max-width: 720px; margin: 0 auto; }
.why-choose-heading { font-size: 32px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.5px; }
.why-choose-heading .accent { color: var(--primary); }
.why-choose-desc { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 0; }

/* Body: image on one side, items on the other */
.why-choose-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-choose-body.no-media { grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; }

.why-choose-media { position: relative; }
.why-choose-media img { width: 100%; border-radius: 12px; display: block; }
.why-choose-video { position: relative; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: var(--shadow); }

/* Items: vertical list (single column) — reads well next to a hero image */
.why-choose-items { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-number {
    font-size: 18px; font-weight: 700; color: var(--primary);
    flex-shrink: 0; line-height: 1.2;
    min-width: 24px; padding-top: 2px;
}
.why-icon-wrap { width: 44px; flex-shrink: 0; display: flex; align-items: flex-start; padding-top: 2px; }
.why-icon { width: 38px; height: 38px; object-fit: contain; }
.why-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.why-content p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; }

@media (max-width: 800px) {
    .why-choose-body { grid-template-columns: 1fr; gap: 24px; }
    .why-choose-heading { font-size: 24px; }
}

/* ── Story Section ─────────────────────────────────────── */
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story-img img { width: 100%; border-radius: var(--radius); }
.story-text h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.story-text p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ── Flash Sale Countdown ──────────────────────────────── */
.countdown { display: flex; gap: 8px; }
.cd-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; text-align: center; min-width: 55px; }
.cd-box span { font-size: 22px; font-weight: 700; display: block; }
.cd-box small { font-size: 10px; color: var(--text-light); text-transform: uppercase; }

/* ── Newsletter ────────────────────────────────────────── */
.newsletter-form { display: flex; gap: 8px; max-width: 450px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius); background: rgba(255,255,255,0.1); color: #fff; font-size: 14px; outline: none; font-family: inherit; min-width: 0; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button { padding: 12px 24px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; white-space: nowrap; }

/* ── Contact Section ───────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: start; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-icon { font-size: 24px; flex-shrink: 0; }
.contact-item strong { font-size: 14px; display: block; margin-bottom: 4px; }
.contact-item p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── Homepage Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
    .story-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-inner > .search-wrapper { display: none; }
    .mobile-search-bar { display: block; }

    .hero-slide-img.desktop-img { display: none; }
    .hero-slide-img.mobile-img { display: block; }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 13px; }
    .hero-nav { width: 32px; height: 32px; font-size: 16px; }
    .hero-nav.prev { left: 8px; }
    .hero-nav.next { right: 8px; }
    body[dir="rtl"] .hero-nav.prev { left: auto; right: 8px; }
    body[dir="rtl"] .hero-nav.next { right: auto; left: 8px; }

    .features-inner { gap: 16px; padding: 12px 16px; }
    .feature-item strong { font-size: 12px; }

    .home-section { padding: 28px 0; }
    .section-header h2 { font-size: 18px; }
    .section-inner { padding: 0 12px; }

    .products-scroll { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .categories-grid { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .promo-card.has-mobile-img .promo-img-desktop { display: none; }
    .promo-card.has-mobile-img .promo-img-mobile { display: block; }
    .promo-content h3 { font-size: 18px; }

    .why-choose-heading { font-size: 22px; }
    .story-text h2 { font-size: 20px; }
    .countdown { gap: 4px; }
    .cd-box { padding: 6px 8px; min-width: 45px; }
    .cd-box span { font-size: 18px; }
    .newsletter-form { flex-direction: column; }
}

/* ============================================================
   PHASE 4 — Cart Sidebar, Cart Page, Checkout, Confirmation
   ============================================================ */

/* ── Cart Sidebar ──────────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 300; opacity: 0; visibility: hidden; transition: all 0.3s; }
.cart-overlay.show { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 400px; max-width: 90vw; height: 100vh; background: #fff; z-index: 301; transform: translateX(100%); transition: transform 0.3s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
body[dir="rtl"] .cart-sidebar { right: auto; left: 0; transform: translateX(-100%); }
.cart-sidebar.open { transform: translateX(0) !important; }
.cart-sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.cart-sidebar-header h3 { font-size: 18px; font-weight: 700; }
.cart-sidebar-header button { background: none; border: none; font-size: 14px; cursor: pointer; color: var(--text-muted); display: flex; align-items: center; gap: 4px; font-family: inherit; }
.cart-sidebar-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-empty-msg { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 14px; }
.cart-sidebar-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--bg-gray); position: relative; }
.cart-item-img { width: 64px; height: 64px; object-fit: contain; border-radius: 6px; background: var(--bg-gray); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.cart-item-sku { font-size: 10px; color: var(--text-light); }
.cart-item-opts { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.cart-item-qty-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-qty-mini { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; }
.cart-qty-mini button { width: 26px; height: 26px; background: var(--bg-gray); border: none; cursor: pointer; font-size: 14px; }
.cart-qty-mini span { width: 28px; text-align: center; font-size: 13px; font-weight: 600; }
.cart-item-price { font-size: 13px; color: var(--primary); font-weight: 600; }
.cart-item-remove { position: absolute; top: 14px; right: 0; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-light); line-height: 1; }
body[dir="rtl"] .cart-item-remove { right: auto; left: 0; }

.cart-sidebar-footer { border-top: 1px solid var(--border); padding: 16px 20px; flex-shrink: 0; }
.cart-sidebar-subtotal { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.cart-sidebar-subtotal span:last-child { color: var(--primary); }
.cart-sidebar-freeship { margin-bottom: 14px; font-size: 13px; color: var(--text-muted); }
.cart-sidebar-freeship strong { color: var(--primary); }
.fs-qualified { color: var(--success) !important; font-weight: 600; }
.fs-bar { width: 100%; height: 6px; background: var(--bg-gray); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.fs-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--info)); border-radius: 3px; transition: width 0.3s; }
.cart-sidebar-viewcart { display: block; width: 100%; padding: 11px; text-align: center; border: 1px solid var(--border-dark); border-radius: var(--radius); font-size: 14px; font-weight: 600; margin-bottom: 8px; transition: all var(--transition); }
.cart-sidebar-viewcart:hover { border-color: var(--text); }
.cart-sidebar-checkout { display: block; width: 100%; padding: 12px; text-align: center; background: var(--info); color: #fff; border-radius: var(--radius); font-size: 14px; font-weight: 600; transition: all var(--transition); }
.cart-sidebar-checkout:hover { background: #3367D6; color: #fff; }

/* ── Cart Page ─────────────────────────────────────────── */
.cart-page { max-width: 1280px; margin: 0 auto; padding: 30px 20px; }
.cart-page-title { font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty h3 { margin: 12px 0 20px; color: var(--text-muted); }
.btn-continue-shop { display: inline-block; padding: 12px 28px; background: var(--primary); color: #fff; border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.free-ship-bar { padding: 16px 20px; background: var(--bg-gray); border-radius: var(--radius); margin-bottom: 20px; }
.free-ship-bar p { font-size: 14px; margin-bottom: 8px; }
.free-ship-bar strong { color: var(--primary); }
.free-ship-progress { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.free-ship-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--success)); border-radius: 4px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.cart-table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 12px 16px; font-size: 13px; font-weight: 600; text-align: left; border-bottom: 2px solid var(--border); }
body[dir="rtl"] .cart-table th { text-align: right; }
.cart-table td { padding: 16px; vertical-align: middle; border-bottom: 1px solid var(--bg-gray); }
.cart-td-remove { width: 30px; }
.cart-remove-btn { font-size: 20px; color: var(--text-light); }
.cart-remove-btn:hover { color: var(--primary); }
.cart-product-row { display: flex; align-items: center; gap: 12px; }
.cart-product-img { width: 70px; height: 70px; object-fit: contain; border-radius: 6px; background: var(--bg-gray); }
.cart-product-row strong { font-size: 13px; display: block; }
.cart-product-opts { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.cart-td-price { font-size: 14px; }
.cart-qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-qty button { width: 34px; height: 36px; background: var(--bg-gray); border: none; cursor: pointer; font-size: 16px; }
.cart-qty input { width: 40px; height: 36px; text-align: center; border: none; font-size: 14px; font-weight: 600; outline: none; font-family: inherit; }
.cart-td-total { font-size: 15px; }
.cart-actions-row { display: flex; justify-content: space-between; align-items: center; padding: 16px; gap: 12px; flex-wrap: wrap; }
.cart-coupon-row { display: flex; gap: 8px; align-items: center; }
.cart-coupon-input { padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; outline: none; font-family: inherit; min-width: 180px; }
.cart-coupon-btn { padding: 10px 18px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }
.cart-coupon-remove { color: var(--primary); font-size: 18px; }
.cart-update-btn { padding: 10px 20px; border: 1px solid var(--border-dark); border-radius: var(--radius); background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }
.cart-totals { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.cart-totals h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.ct-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--bg-gray); }
.ct-discount span:last-child { color: var(--success); }
.ct-total { border-bottom: none; font-size: 18px; font-weight: 700; border-top: 2px solid var(--border); padding-top: 14px; }
.ct-total-price { color: var(--primary); }
.ct-shipping { padding: 12px 0; border-bottom: 1px solid var(--bg-gray); }
.ct-shipping strong { font-size: 14px; display: block; margin-bottom: 8px; }
.ct-ship-option { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; cursor: pointer; gap: 8px; }
.ct-ship-option input { margin: 0; }
.cart-checkout-btn { display: block; width: 100%; padding: 14px; text-align: center; background: var(--primary); color: #fff; border-radius: var(--radius); font-size: 16px; font-weight: 600; margin-top: 16px; }
.cart-checkout-btn:hover { background: var(--primary-hover); color: #fff; }

/* ── Checkout Page ─────────────────────────────────────── */
.checkout-page { max-width: 1280px; margin: 0 auto; padding: 30px 20px; }
.checkout-title { font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.checkout-errors { margin-bottom: 16px; }
.checkout-error { padding: 8px 14px; background: #FFEBEE; color: #C62828; border-radius: 6px; font-size: 13px; margin-bottom: 6px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 30px; }
.checkout-form h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.checkout-fields { display: flex; flex-wrap: wrap; gap: 14px; }
.checkout-field { width: 100%; }
.checkout-field.half { width: calc(50% - 7px); }
.checkout-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.checkout-field .req { color: var(--primary); }
.checkout-input { width: 100%; padding: 10px 14px; border: 1px solid var(--border-dark); border-radius: var(--radius); font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s; }
.checkout-input:focus { border-color: var(--primary); }
.checkout-shipping { display: flex; flex-direction: column; gap: 8px; }
.shipping-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color 0.2s; }
.shipping-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.shipping-option-info { flex: 1; }
.shipping-option-info strong { font-size: 13px; display: block; }
.shipping-option-info span { font-size: 11px; color: var(--text-muted); }
.shipping-option-price { font-size: 13px; font-weight: 600; color: var(--success); }
.checkout-payment { display: flex; flex-direction: column; gap: 8px; }
.payment-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: 14px; }
.checkout-summary { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.checkout-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.order-items { margin-bottom: 16px; }
.order-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--bg-gray); }
.order-item img { width: 50px; height: 50px; object-fit: contain; border-radius: 6px; background: var(--bg-gray); }
.order-item-info { flex: 1; }
.order-item-info strong { font-size: 13px; display: block; line-height: 1.2; }
.order-item-info small { font-size: 11px; color: var(--text-muted); display: block; }
.order-item-info span { font-size: 12px; color: var(--text-muted); }
.order-item-total { font-weight: 600; font-size: 14px; white-space: nowrap; }
.order-totals { border-top: 1px solid var(--border); padding-top: 12px; }
.ot-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.ot-discount span:last-child { color: var(--success); }
.ot-total { font-size: 18px; font-weight: 700; border-top: 2px solid var(--border); padding-top: 12px; }
.ot-total span:last-child { color: var(--primary); }
.place-order-btn { display: block; width: 100%; padding: 14px; text-align: center; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 16px; font-family: inherit; }
.place-order-btn:hover { background: var(--primary-hover); }

/* ── Order Confirmation ────────────────────────────────── */
.confirmation-page { padding: 40px 20px; }
.confirm-box { text-align: center; max-width: 600px; margin: 0 auto; }
.confirm-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--success); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 16px; }
.confirm-box h1 { font-size: 26px; margin-bottom: 6px; }
.confirm-subtitle { color: var(--text-muted); margin-bottom: 24px; }
.confirm-details { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; text-align: left; }
.cd-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--bg-gray); }
.cd-row:last-child { border-bottom: none; }
.confirm-total { color: var(--primary); font-size: 18px; }
.confirm-items { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; text-align: left; }
.confirm-items h3 { margin-bottom: 12px; }
.ci-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.ci-row small { color: var(--text-muted); }
.confirm-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp-order { padding: 12px 28px; background: #25D366; color: #fff; border-radius: var(--radius); font-weight: 600; font-size: 14px; }

/* ── Cart/Checkout Responsive ──────────────────────────── */
@media (max-width: 768px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-totals { position: static; }
    .cart-table th:nth-child(3), .cart-table td.cart-td-price { display: none; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .checkout-field.half { width: 100%; }
    .cart-actions-row { flex-direction: column; }
    .cart-coupon-row { width: 100%; }
    .cart-coupon-input { flex: 1; min-width: 0; }
}

/* ============================================================
   CATEGORY DISCOUNT BADGES & BANNERS
   ============================================================ */

/* Badge — small inline (for lists) */
.cat-deal-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; background: linear-gradient(135deg, #FF6B35, #F7C948); color: #fff; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }

/* Card — under category card on homepage */
.cat-deal-card { margin-top: 8px; padding: 6px 12px; background: linear-gradient(135deg, #FF6B35, #E53935); color: #fff; border-radius: 8px; font-size: 11px; font-weight: 700; text-align: center; line-height: 1.3; animation: deal-pulse 2s ease-in-out infinite; }

/* Banner — full width (product page, shop page) */
.cat-deal-banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%); color: #fff; margin: 0; text-align: center; position: relative; overflow: hidden; }
.cat-deal-banner::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 50%); animation: deal-shimmer 3s ease-in-out infinite; }
.cat-deal-icon { font-size: 22px; flex-shrink: 0; position: relative; z-index: 1; animation: deal-bounce 1.5s ease-in-out infinite; }
.cat-deal-text { font-size: 15px; font-weight: 700; letter-spacing: 0.3px; position: relative; z-index: 1; }

/* Product page banner — rounded with margin */
.product-main .cat-deal-banner { border-radius: var(--radius); margin: 0 0 16px 0; grid-column: 1 / -1; }

@keyframes deal-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.85; } }
@keyframes deal-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes deal-shimmer { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } }

@media (max-width: 768px) {
    .cat-deal-banner { padding: 10px 14px; gap: 8px; }
    .cat-deal-text { font-size: 13px; }
    .cat-deal-icon { font-size: 18px; }
    .cat-deal-card { font-size: 10px; padding: 5px 8px; }
}

/* ============================================================
   LIVE SEARCH DROPDOWN
   ============================================================ */
.search-wrapper { position: relative; flex: 1; max-width: 480px; }
.search-dropdown { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: 0 0 12px 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 150; max-height: 400px; overflow-y: auto; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--bg-gray); transition: background 0.15s; }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-gray); }
.search-result-item img { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: var(--bg-gray); flex-shrink: 0; }
.search-result-noimg { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg-gray); border-radius: 6px; font-size: 20px; flex-shrink: 0; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-info strong { display: block; font-size: 13px; color: var(--text); font-weight: 600; line-height: 1.3; }
.search-result-price { font-size: 13px; font-weight: 700; color: var(--primary); }
.search-result-old { font-size: 11px; color: var(--text-light); text-decoration: line-through; margin-right: 6px; }
body[dir="rtl"] .search-result-old { margin-right: 0; margin-left: 6px; }
.search-no-results { padding: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }

.mobile-search-bar .search-wrapper { max-width: none; }
.mobile-search-bar .search-dropdown { border-radius: 0 0 12px 12px; top: calc(100% + 2px); }

/* ============================================================
   LEAD MAGNET POPUP
   ============================================================ */
.leadpop-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 500; }
.leadpop { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 501; background: #fff; border-radius: 16px; overflow: hidden; max-width: 480px; width: 92vw; max-height: 90vh; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: popIn 0.3s ease; }
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.leadpop-close { position: absolute; top: 10px; right: 10px; z-index: 5; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,0.5); color: #fff; border: none; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
body[dir="rtl"] .leadpop-close { right: auto; left: 10px; }
.leadpop-img { width: 100%; overflow: hidden; }
.leadpop-img img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 280px; }
.leadpop-body { padding: 24px; text-align: center; }
.leadpop-heading { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.leadpop-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.leadpop-form { display: flex; flex-direction: column; gap: 10px; }
.leadpop-form input { padding: 12px 16px; border: 1px solid var(--border-dark); border-radius: var(--radius); font-size: 14px; outline: none; font-family: inherit; text-align: center; }
.leadpop-form input:focus { border-color: var(--primary); }
.leadpop-btn { padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.leadpop-btn:hover { background: var(--primary-hover); }
.leadpop-coupon-reveal { text-align: center; }
.leadpop-coupon-reveal p { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.leadpop-coupon-code { font-size: 28px; font-weight: 800; color: var(--primary); background: var(--bg-gray); padding: 12px 24px; border-radius: 10px; letter-spacing: 3px; display: inline-block; margin-bottom: 12px; border: 2px dashed var(--primary); }
.leadpop-copy { padding: 10px 20px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }
.leadpop-wa-msg { padding: 20px; }
.leadpop-wa-msg p { font-size: 16px; color: var(--success); font-weight: 600; }

/* Payment options styling */
.pay-opt-content { flex: 1; }
.pay-opt-content strong { display: block; font-size: 14px; margin-bottom: 2px; }
.pay-logos { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color 0.2s; }
.payment-option:has(input:checked) { border-color: var(--primary); background: rgba(229,57,53,0.03); }

@media (max-width: 480px) {
    .leadpop { width: 95vw; }
    .leadpop-heading { font-size: 18px; }
    .leadpop-body { padding: 18px; }
    .leadpop-coupon-code { font-size: 22px; padding: 10px 18px; }
}

/* ============================================================
   CONTACT US PAGE
   ============================================================ */
.contact-page { padding: 30px 0 60px; }
.contact-title { font-size: 28px; font-weight: 700; margin-bottom: 24px; }
.contact-map { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { display: block; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-info-card, .contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-info-card h3, .contact-form-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bg-gray); }
.contact-item:last-of-type { border-bottom: none; }
.contact-icon { font-size: 22px; flex-shrink: 0; width: 32px; text-align: center; }
.contact-item strong { display: block; font-size: 13px; margin-bottom: 2px; }
.contact-item p { font-size: 14px; color: var(--text-muted); margin: 0; }
.contact-item a { color: var(--primary); }
.contact-map-link { font-size: 12px; color: var(--primary); font-weight: 600; margin-top: 4px; display: inline-block; }
.contact-social { padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--border); }
.contact-social strong { display: block; font-size: 13px; margin-bottom: 12px; letter-spacing: 0.3px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.contact-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px;
    background: var(--bg-gray, #f4f4f5);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px; font-weight: 600;
    color: var(--text);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}
.social-btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
.social-btn:hover {
    background: var(--brand, var(--primary));
    color: var(--brand-text, #fff);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.social-btn:hover svg { transform: scale(1.1); }

/* Contact Form */
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-field { margin-bottom: 14px; }
.contact-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.contact-field input, .contact-field textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border-dark); border-radius: var(--radius); font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s; }
.contact-field input:focus, .contact-field textarea:focus { border-color: var(--primary); }
.contact-submit { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.contact-submit:hover { background: var(--primary-hover); }
.contact-success { text-align: center; padding: 30px; }
.contact-success span { display: block; font-size: 40px; margin-bottom: 12px; }
.contact-success p { color: var(--success); font-size: 15px; font-weight: 600; }

/* ============================================================
   RETURNS POLICY PAGE
   ============================================================ */
.policy-page { padding: 30px 0 60px; }
.policy-title { font-size: 28px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.policy-content { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; font-size: 15px; line-height: 1.8; color: var(--text); }
.policy-content h2 { font-size: 20px; font-weight: 700; margin: 24px 0 12px; color: var(--secondary); }
.policy-content h3 { font-size: 17px; font-weight: 600; margin: 20px 0 10px; }
.policy-content p { margin-bottom: 14px; }
.policy-content ul, .policy-content ol { margin: 12px 0 14px 24px; }
body[dir="rtl"] .policy-content ul, body[dir="rtl"] .policy-content ol { margin: 12px 24px 14px 0; }
.policy-content li { margin-bottom: 6px; }
.policy-content strong { color: var(--secondary); }

@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-map iframe { height: 250px; }
    .contact-info-card, .contact-form-card { padding: 20px; }
    .policy-content { padding: 20px; font-size: 14px; }
}

/* ============================================================
   AUTH PAGES (Login, Register, Account)
   ============================================================ */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 40px 20px; }
.auth-box { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 36px; width: 100%; max-width: 480px; }
.auth-box h1 { font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 4px; }
.auth-subtitle { text-align: center; color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
.auth-error { background: #FFEBEE; color: #C62828; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; text-align: center; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.auth-field input { width: 100%; padding: 11px 14px; border: 1px solid var(--border-dark); border-radius: var(--radius); font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s; }
.auth-field input:focus { border-color: var(--primary); }
.auth-field input:disabled { opacity: 0.6; background: var(--bg-gray); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-btn { width: 100%; padding: 13px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; margin-top: 8px; transition: background 0.2s; }
.auth-btn:hover { background: var(--primary-hover); }
.auth-link { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.auth-link a { color: var(--primary); font-weight: 600; }

/* Account Page */
.account-page { padding: 30px 0 60px; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.account-sidebar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.account-sidebar h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.account-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; text-align: start; }
.account-nav a { padding: 10px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 500; color: var(--text); transition: all 0.15s; }
.account-nav a:hover { background: var(--bg-gray); }
.account-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.account-content { min-width: 0; }
.account-content h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.account-empty { text-align: center; padding: 40px 20px; }
.account-empty span { font-size: 48px; display: block; margin-bottom: 12px; }
.account-empty p { color: var(--text-muted); margin-bottom: 16px; }

/* Order cards */
.orders-list { display: flex; flex-direction: column; gap: 10px; }
.order-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.order-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-card-header strong { font-size: 14px; }
.order-card-body { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); }

/* Wishlist grid */
.wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.wishlist-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; position: relative; }
.wishlist-item img { width: 60px; height: 60px; object-fit: contain; border-radius: 6px; background: var(--bg-gray); }
.wishlist-item strong { font-size: 13px; display: block; line-height: 1.3; }
.wishlist-remove { position: absolute; top: 8px; right: 8px; font-size: 18px; color: var(--text-light); }
body[dir="rtl"] .wishlist-remove { right: auto; left: 8px; }
.wishlist-remove:hover { color: var(--primary); }

/* Profile form */
.profile-form { max-width: 600px; }

/* Badge count in header */
.header-action-btn .badge-count { position: absolute; top: 2px; right: 2px; background: var(--primary); color: #fff; width: 16px; height: 16px; border-radius: 50%; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

@media (max-width: 768px) {
    .auth-row { grid-template-columns: 1fr; }
    .auth-box { padding: 24px 18px; }
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; display: flex; flex-direction: row; align-items: center; gap: 14px; text-align: start; padding: 16px; }
    .account-sidebar h3 { font-size: 14px; }
    .account-avatar { width: 44px; height: 44px; font-size: 18px; margin: 0; }
    .account-nav { flex-direction: row; overflow-x: auto; margin-top: 10px; gap: 4px; }
    .account-nav a { white-space: nowrap; padding: 8px 12px; font-size: 12px; }
    .wishlist-grid { grid-template-columns: 1fr; }
}

/* Wishlist button states */
.card-wl-btn { background: rgba(255,255,255,0.9); width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; color: var(--text-muted); }
.card-wl-btn:hover { background: #fff; color: var(--primary); transform: scale(1.1); }
.card-wl-btn.wishlisted { color: var(--primary); }
.product-actions-row button.wishlisted { color: var(--primary); }

/* Footer newsletter form */
.footer-newsletter-form { display: flex; gap: 0; border-radius: 6px; overflow: hidden; margin-top: 8px; }
.footer-newsletter-form input { flex: 1; padding: 10px 12px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: #fff; font-size: 13px; outline: none; font-family: inherit; min-width: 0; border-radius: 6px 0 0 6px; }
body[dir="rtl"] .footer-newsletter-form input { border-radius: 0 6px 6px 0; }
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-form button { padding: 10px 16px; background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 13px; font-weight: 600; font-family: inherit; border-radius: 0 6px 6px 0; }
body[dir="rtl"] .footer-newsletter-form button { border-radius: 6px 0 0 6px; }

/* Mobile bottom nav badge */
.bottom-badge { position: absolute; top: -2px; right: 50%; transform: translateX(14px); background: var(--primary); color: #fff; width: 16px; height: 16px; border-radius: 50%; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ============================================================
   CUSTOM SECTIONS (Page Builder)
   ============================================================ */
.cs-section { position: relative; overflow: hidden; }
.cs-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cs-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 50px 20px; }
.cs-header { text-align: center; margin-bottom: 30px; }
.cs-title { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.cs-subtitle { font-size: 15px; opacity: 0.8; max-width: 600px; margin: 0 auto; }
.custom-page-header { background: var(--secondary); color: #fff; padding: 32px 0; text-align: center; }
.custom-page-header h1 { font-size: 28px; font-weight: 700; }

/* ── Custom Slider ────────────────────────────────────── */
.cs-slider { position: relative; min-height: 350px; border-radius: var(--radius); overflow: hidden; }
.cs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; display: flex; align-items: center; justify-content: center; }
.cs-slide.active { opacity: 1; position: relative; }
.cs-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-slide-overlay { position: absolute; inset: 0; }
.cs-slide-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 40px; max-width: 700px; }
.cs-slide-content h3 { font-size: 32px; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.cs-slide-content p { font-size: 16px; margin-bottom: 20px; opacity: 0.9; }
.cs-slide-btn { display: inline-block; padding: 12px 32px; background: var(--primary); color: #fff; border-radius: var(--radius); font-weight: 700; font-size: 15px; transition: background 0.2s; }
.cs-slide-btn:hover { background: var(--primary-hover); }
.cs-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.cs-nav:hover { background: #fff; }
.cs-nav.prev { left: 16px; }
.cs-nav.next { right: 16px; }
body[dir="rtl"] .cs-nav.prev { left: auto; right: 16px; }
body[dir="rtl"] .cs-nav.next { right: auto; left: 16px; }
.cs-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.cs-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.2s; }
.cs-dot.active { background: #fff; transform: scale(1.3); }

/* ── Features Grid ────────────────────────────────────── */
.cs-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
@media (max-width: 1024px) { .cs-features-grid { grid-template-columns: repeat(2, 1fr); } }
.cs-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 8px;
}
.cs-feature-img {
    width: 72px; height: 72px;
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
}
.cs-feature-icon {
    font-size: 56px;
    line-height: 1;
    color: var(--primary);
    flex-shrink: 0;
}
.cs-feature-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 20px;
    flex-shrink: 0;
}
.cs-feature-body { width: 100%; }
.cs-feature-body h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cs-feature-body p {
    font-size: 13px;
    opacity: 0.75;
    line-height: 1.7;
    margin: 0;
}
.cs-feature-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
}
.cs-feature-link:hover { opacity: 0.7; color: var(--primary); }

/* ── Story Layout ─────────────────────────────────────── */
.cs-story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cs-story-media img { width: 100%; border-radius: var(--radius); }
.cs-story-body { font-size: 15px; line-height: 1.8; opacity: 0.85; }
.cs-story-btn { display: inline-block; margin-top: 18px; padding: 12px 28px; background: var(--primary); color: #fff; border-radius: var(--radius); font-weight: 700; }

/* ── Card Carousel ────────────────────────────────────── */
.cs-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.cs-carousel::-webkit-scrollbar { height: 4px; }
.cs-carousel::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 2px; }
.cs-card { min-width: 280px; max-width: 320px; flex-shrink: 0; scroll-snap-align: start; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: transform 0.2s; }
.cs-card:hover { transform: translateY(-4px); }
.cs-card-img img { width: 100%; height: 180px; object-fit: cover; }
.cs-card-icon { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 48px; background: var(--bg-gray); }
.cs-card-body { padding: 18px; }
.cs-card-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.cs-card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.cs-card-btn { display: inline-block; padding: 8px 18px; background: var(--primary); color: #fff; border-radius: var(--radius); font-size: 13px; font-weight: 600; }

/* ── Video ────────────────────────────────────────────── */
.cs-video { margin-top: 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
.cs-video-thumb { position: relative; cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.cs-video-thumb img { width: 100%; display: block; }
.cs-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; background: rgba(0,0,0,0.7); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all 0.2s; }
.cs-video-thumb:hover .cs-play-btn { background: var(--primary); transform: translate(-50%, -50%) scale(1.1); }

@media (max-width: 768px) {
    .cs-inner { padding: 30px 16px; }
    .cs-title { font-size: 22px; }
    .cs-slider { min-height: 250px; }
    .cs-slide-content h3 { font-size: 22px; }
    .cs-slide-content { padding: 24px 16px; }
    .cs-nav { width: 32px; height: 32px; font-size: 16px; }
    .cs-features-grid { grid-template-columns: 1fr; gap: 16px; }
    .cs-story-layout { grid-template-columns: 1fr; gap: 20px; }
    .cs-card { min-width: 240px; }
    .custom-page-header { padding: 24px 0; }
    .custom-page-header h1 { font-size: 22px; }
}

/* ============================================================
   BRANDS SLIDER & BRAND PAGE
   ============================================================ */

/* Homepage brands slider */
.brands-slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.brands-slider::-webkit-scrollbar { height: 4px; }
.brands-slider::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 2px; }
.brand-slide-card { min-width: 140px; max-width: 180px; flex-shrink: 0; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; transition: all 0.2s; text-align: center; }
.brand-slide-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.brand-slide-img { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.brand-slide-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-slide-icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; font-size: 36px; background: var(--bg-gray); border-radius: 50%; }
.brand-slide-card strong { font-size: 13px; color: var(--text); white-space: nowrap; }

/* Brand page header */
.brand-header { background: linear-gradient(135deg, var(--secondary) 0%, #1a1a2e 100%); color: #fff; padding: 40px 0 0; }
.brand-header-inner { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.brand-logo-wrap { width: 90px; height: 90px; background: #fff; border-radius: 16px; padding: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-info h1 { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.brand-info p { font-size: 14px; opacity: 0.8; margin-bottom: 6px; }
.brand-count { font-size: 12px; opacity: 0.6; }

/* Brand category filter tabs */
.brand-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 0; -webkit-overflow-scrolling: touch; }
.brand-cats a { padding: 10px 18px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); white-space: nowrap; border-bottom: 2px solid transparent; transition: all 0.2s; }
.brand-cats a:hover { color: #fff; }
.brand-cats a.active { color: #fff; border-bottom-color: var(--primary); }
.brand-cats a span { font-size: 11px; opacity: 0.6; }

/* Brand toolbar */
.brand-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

@media (max-width: 768px) {
    .brand-header-inner { gap: 16px; }
    .brand-logo-wrap { width: 64px; height: 64px; border-radius: 12px; padding: 8px; }
    .brand-info h1 { font-size: 20px; }
    .brand-slide-card { min-width: 120px; padding: 14px 10px; }
    .brand-slide-img { width: 60px; height: 60px; }
    .brand-slide-card strong { font-size: 11px; }
}

/* Product brand link */
.product-brand-link { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; background: var(--bg-gray); border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--primary); transition: all 0.2s; }
.product-brand-link:hover { background: var(--primary-light); }

/* ════════════════════════════════════════════════════════
   HEADER CUSTOMIZATION (search/nav bg + font + reorder)
   ════════════════════════════════════════════════════════ */
.store-header { background: var(--header-nav-bg, #fff); }
.store-header .header-nav a { color: var(--header-nav-text, #333); }
.mobile-search-bar { background: var(--header-search-bg, var(--primary)); }
.mobile-search-bar::after { background: var(--header-search-bg, var(--primary)); }
.mobile-search-bar button { background: var(--header-search-bg, var(--primary)); color: var(--header-search-text, #fff); }
.header-search input { color: var(--header-nav-text, #333); }
.header-search button { color: var(--header-search-bg, var(--primary)); }

/* Hero on mobile: sit flush against search bar, no gap, no overlap */
@media (max-width: 768px) {
    .hero-section { margin-top: 0 !important; }
    .mobile-search-bar { padding-bottom: 12px; }
    .mobile-search-bar::after { display: none; }
}

/* ════════════════════════════════════════════════════════
   PAGE BANNER (shop / category / brand) CUSTOMIZATION
   ════════════════════════════════════════════════════════ */
.page-banner-custom {
    position: relative;
    background-color: var(--page-banner-bg, var(--secondary));
    background-size: cover;
    background-position: center;
    color: var(--page-banner-text, #fff);
    text-align: center;
    padding: 60px 20px 50px;
    margin-top: -6px;
    overflow: hidden;
}
.page-banner-custom::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, var(--page-banner-overlay, 0));
    pointer-events: none;
    z-index: 1;
}
.page-banner-custom > * { position: relative; z-index: 2; }
.page-banner-custom h1 {
    font-size: 36px; font-weight: 700; margin-bottom: 8px;
    color: var(--page-banner-text, #fff);
}
.page-banner-custom .banner-desc {
    font-size: 14px; opacity: 0.9; max-width: 600px; margin: 0 auto 16px;
}
.page-banner-custom .shop-categories,
.page-banner-custom .brand-cats {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px;
}
.page-banner-custom .shop-categories a,
.page-banner-custom .brand-cats a {
    padding: 8px 18px; border-radius: 999px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--page-banner-text, #fff);
    font-size: 13px; font-weight: 500;
    transition: all 0.2s;
}
.page-banner-custom .shop-categories a:hover,
.page-banner-custom .brand-cats a:hover,
.page-banner-custom .shop-categories a.active,
.page-banner-custom .brand-cats a.active {
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    border-color: rgba(255,255,255,0.95);
}
@media (max-width: 768px) {
    .page-banner-custom { padding: 40px 16px 32px; }
    .page-banner-custom h1 { font-size: 24px; }
}

/* ════════════════════════════════════════════════════════
   NEW SEARCH ICON STYLE (red circle button)
   ════════════════════════════════════════════════════════ */
.mobile-search-bar form {
    background: #fff;
    border-radius: 999px;
    padding: 4px 4px 4px 16px;
    overflow: visible;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
body[dir="rtl"] .mobile-search-bar form { padding: 4px 16px 4px 4px; }
.mobile-search-bar input {
    padding: 9px 0;
}
.mobile-search-bar button {
    width: 38px; height: 38px;
    border-radius: 50% !important;
    background: var(--header-search-bg, var(--primary)) !important;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.mobile-search-bar button svg {
    stroke: #fff;
    stroke-width: 2.5;
}

/* Desktop search button - rounded too */
.header-search {
    background: #fff;
    border-radius: 999px;
    padding: 4px 4px 4px 16px;
    border: 1px solid var(--border);
    align-items: center;
    overflow: visible;
}
body[dir="rtl"] .header-search { padding: 4px 16px 4px 4px; }
.header-search input { padding: 8px 0; border: none; outline: none; background: transparent; flex: 1; }
.header-search button {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
}
.header-search button svg { stroke: #fff; stroke-width: 2.5; }

/* Header rows order */
.store-header { display: flex; flex-direction: column; }
.store-header .header-inner { order: var(--order-nav, 2); }
.store-header .mobile-search-bar { order: var(--order-search, 3); }
.announcement-bar { order: var(--order-announcement, 1); }

/* ──────────────────────────────────────────────────────
   Variation Selector (WooCommerce-style)
   Generated by Phase 1 of the variant rewrite.
   ────────────────────────────────────────────────────── */
/* ──────────────────────────────────────────────────────
   Variation Selector — v3
   Bigger touch targets, square image swatches, label pills with
   price-differential subtext (e.g. "256GB / +EGP3,000.00").
   Selectors are written specifically (.vr-terms-* > .vr-term) to win
   against any older cached rules.
   ────────────────────────────────────────────────────── */
.vr-attr-group { margin: 18px 0; }
.vr-attr-label {
    font-size: 14px; margin-bottom: 10px; color: var(--text, #222);
    display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
}
.vr-attr-label strong { font-weight: 600; }
.vr-attr-selected {
    font-weight: 500; margin-inline-start: 4px;
    color: var(--text, #222) !important;
}

.vr-terms { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }

/* ── Color swatches: round chips ── */
.vr-terms.vr-terms-color > .vr-term {
    width: 44px !important; height: 44px !important; min-width: 44px !important;
    border-radius: 50% !important;
    border: 2px solid #d0d0d0; cursor: pointer; padding: 0;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    overflow: hidden; position: relative;
    background: #f5f5f5;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
    flex: 0 0 auto;
}
.vr-terms.vr-terms-color > .vr-term:hover { transform: scale(1.08); border-color: #999; }
.vr-terms.vr-terms-color > .vr-term.vr-selected {
    border-color: var(--primary, #E53935);
    box-shadow: 0 0 0 2px #fff inset, 0 0 0 3px var(--primary, #E53935);
    transform: scale(1.05);
}
.vr-terms.vr-terms-color > .vr-term img {
    width: 100%; height: 100%; object-fit: cover;
}

/* ── Image swatches: SQUARE chips (sharper corners — explicit user request) ── */
.vr-terms.vr-terms-image > .vr-term {
    width: 64px !important; height: 64px !important;
    border-radius: 6px !important;  /* slight rounding, otherwise square */
    border: 2px solid #d0d0d0; padding: 0; cursor: pointer;
    overflow: hidden; background: #f8f8f8;
    transition: all .12s ease;
    flex: 0 0 auto;
}
.vr-terms.vr-terms-image > .vr-term:hover { transform: translateY(-2px); border-color: #999; }
.vr-terms.vr-terms-image > .vr-term.vr-selected {
    border-color: var(--primary, #E53935);
    box-shadow: 0 0 0 2px var(--primary, #E53935);
}
.vr-terms.vr-terms-image > .vr-term img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── Label pills: bigger, with name + price-diff subtext stacked ── */
.vr-terms.vr-terms-label > .vr-term {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 1.5px solid #d0d0d0; background: #fff; cursor: pointer;
    padding: 10px 18px; border-radius: 8px;
    font-weight: 500; min-width: 64px; min-height: 48px;
    color: var(--text, #222);
    transition: all .12s ease;
    line-height: 1.25;
    gap: 2px;
}
.vr-terms.vr-terms-label > .vr-term:hover { border-color: var(--primary, #E53935); background: #faf8f8; }
.vr-terms.vr-terms-label > .vr-term.vr-selected {
    background: var(--primary, #E53935); color: #fff;
    border-color: var(--primary, #E53935);
}
.vr-terms.vr-terms-label .vr-term-name { font-size: 14px; font-weight: 600; }
.vr-terms.vr-terms-label .vr-term-price { font-size: 11px; opacity: 0.75; font-weight: 500; }
.vr-terms.vr-terms-label > .vr-term.vr-selected .vr-term-price { opacity: 0.95; }

/* ── Unavailable state (across all swatch types) ── */
.vr-term.vr-unavailable { opacity: 0.4; cursor: not-allowed; position: relative; }
.vr-term.vr-unavailable::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top right,
        transparent calc(50% - 1px),
        rgba(120,120,120,.6) calc(50% - 1px),
        rgba(120,120,120,.6) calc(50% + 1px),
        transparent calc(50% + 1px));
}

/* ── "From" price label ── */
.price-from-label { display: inline-block; vertical-align: middle; }

/* ── Card-level variant indicators (shop/home cards) ── */
.card-variant-hint {
    display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px;
    align-items: center;
}
.card-variant-hint .vh-color {
    width: 16px; height: 16px; border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.1); display: inline-block;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.card-variant-hint .vh-text {
    font-size: 11px; padding: 2px 8px; border-radius: 10px;
    background: #f0f0f0; color: var(--text-muted, #666);
    border: 1px solid #e5e5e5;
    line-height: 1.4;
}
.card-variant-hint .vh-more {
    font-size: 11px; color: var(--text-muted, #888);
    padding: 2px 4px;
}

/* ════════════════════════════════════════════════════════════════
   REVIEWS CAROUSEL — Editorial Testimonials
   ════════════════════════════════════════════════════════════════ */
.cs-reviews { background: linear-gradient(180deg, #FAFAF7 0%, #F4EEE8 100%); }
.cs-reviews .cs-inner { max-width: 1320px; }

/* Section title styling within reviews */
.cs-reviews .cs-title {
    letter-spacing: -0.02em;
    font-weight: 800;
}
.cs-reviews .cs-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}
.cs-reviews .cs-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 600px;
    margin-top: 12px;
}

/* Wrap & viewport */
.cs-reviews-wrap { position: relative; padding-top: 8px; }
.cs-reviews-controls-row {
    position: absolute;
    top: -68px;
    inset-inline-end: 0;
    display: flex;
    gap: 10px;
    z-index: 2;
}
.cs-reviews-arrow {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary);
    transition: all 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    padding: 0;
}
.cs-reviews-arrow:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 28px -8px rgba(229, 57, 53, 0.45);
}
.cs-reviews-arrow:disabled { opacity: 0.32; cursor: not-allowed; }
body[dir="rtl"] .cs-reviews-arrow svg { transform: scaleX(-1); }

.cs-reviews-viewport { overflow: hidden; padding: 6px 4px 28px; margin: 0 -4px; }
.cs-reviews-track {
    display: flex;
    gap: 22px;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

/* ── Card base ── */
.cs-review-card {
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;
    background: #FAF8F5;
    border-radius: 18px;
    padding: 28px 26px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 15, 30, 0.04), 0 12px 36px -12px rgba(15, 15, 30, 0.10);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(24px);
    animation: csReviewEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}
@keyframes csReviewEntrance {
    to { opacity: 1; transform: translateY(0); }
}
.cs-review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 8px rgba(15, 15, 30, 0.06), 0 28px 56px -16px rgba(15, 15, 30, 0.18);
}

/* Top accent gradient bar (avatar cards only — kept off media cards) */
.cs-review-avatar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.9;
}

/* ── AVATAR REVIEW CARD ── */
.cs-review-avatar-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
}
.cs-review-quote-bg {
    position: absolute;
    top: 12px;
    inset-inline-end: 18px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 140px;
    line-height: 0.85;
    color: rgba(229, 57, 53, 0.07);
    font-weight: 900;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.cs-review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.cs-review-star {
    width: 16px; height: 16px;
    color: #FFB300;
    filter: drop-shadow(0 1px 2px rgba(255, 179, 0, 0.32));
    flex-shrink: 0;
}
.cs-review-star.empty {
    color: rgba(0, 0, 0, 0.10);
    filter: none;
}
.cs-review-message {
    font-size: 15px;
    line-height: 1.72;
    color: var(--secondary);
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    flex: 1;
    font-weight: 400;
    word-wrap: break-word;
}
body[dir="rtl"] .cs-review-message { font-size: 14.5px; line-height: 1.85; }
.cs-review-author {
    display: flex; align-items: center; gap: 12px;
    position: relative;
    z-index: 1;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 15, 30, 0.06);
}
.cs-review-avatar,
.cs-review-avatar-fallback {
    width: 46px; height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cs-review-avatar {
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}
.cs-review-avatar-fallback {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
}
.cs-review-author-text { min-width: 0; }
.cs-review-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cs-review-name-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 3px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── SCREENSHOT REVIEW CARD ── */
.cs-review-screenshot-card {
    padding: 0;
    background: #fff;
    cursor: zoom-in;
    aspect-ratio: 9 / 16;
}
.cs-review-screenshot-card::before { display: none; }
.cs-review-screenshot-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cs-review-screenshot-card:hover .cs-review-screenshot-img {
    transform: scale(1.04);
}
.cs-review-screenshot-frame {
    position: absolute; inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05),
                inset 0 -80px 60px -40px rgba(0, 0, 0, 0.35);
    border-radius: 18px;
}
.cs-review-screenshot-badge {
    position: absolute;
    top: 14px; inset-inline-start: 14px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--secondary);
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-flex; align-items: center; gap: 5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.cs-review-screenshot-badge svg { color: #25D366; }
.cs-review-screenshot-name {
    position: absolute;
    bottom: 16px;
    inset-inline-start: 18px;
    inset-inline-end: 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* ── VIDEO REVIEW CARD ── */
.cs-review-video-card {
    padding: 0;
    background: #0a0a14;
    aspect-ratio: 9 / 16;
}
.cs-review-video-card::before { display: none; }
.cs-review-video-poster {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cs-review-video-noposter {
    background: radial-gradient(circle at 30% 30%, rgba(229, 57, 53, 0.4), transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(255, 111, 0, 0.4), transparent 60%),
                #0a0a14;
}
.cs-review-video-card:hover .cs-review-video-poster {
    transform: scale(1.05);
}
.cs-review-video-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0) 35%,
        rgba(0, 0, 0, 0) 55%,
        rgba(0, 0, 0, 0.78) 100%);
    pointer-events: none;
}
.cs-review-video-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 68px; height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--secondary);
    transition: all 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7), 0 12px 36px rgba(0, 0, 0, 0.55);
    z-index: 2;
    padding: 0;
    padding-inline-start: 4px; /* visually center the play triangle */
}
.cs-review-video-play svg { display: block; }
.cs-review-video-card::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 68px; height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    z-index: 1;
    pointer-events: none;
    animation: csVideoPulse 2.2s ease-out infinite;
}
@keyframes csVideoPulse {
    0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.9; }
    70%  { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
}
.cs-review-video-card:hover .cs-review-video-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--primary);
    color: #fff;
}
.cs-review-video-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 18px 20px 16px;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}
.cs-review-video-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    letter-spacing: -0.01em;
}
.cs-review-video-tag {
    font-size: 10.5px;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.cs-review-video-card.playing .cs-review-video-play,
.cs-review-video-card.playing .cs-review-video-overlay,
.cs-review-video-card.playing .cs-review-video-info,
.cs-review-video-card.playing .cs-review-video-poster {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cs-review-video-card.playing::after { display: none; }

/* ── Pagination dots ── */
.cs-reviews-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 6px;
}
.cs-reviews-dot {
    width: 8px; height: 8px;
    border-radius: 4px;
    background: rgba(15, 15, 30, 0.16);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    border: none;
    padding: 0;
}
.cs-reviews-dot:hover { background: rgba(15, 15, 30, 0.28); }
.cs-reviews-dot.active {
    width: 28px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

/* ── Lightbox for screenshots ── */
.cs-review-lightbox {
    position: fixed; inset: 0;
    background: rgba(8, 8, 18, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: csLightboxFade 0.35s ease;
}
.cs-review-lightbox.show { display: flex; }
.cs-review-lightbox img {
    max-width: min(92vw, 480px);
    max-height: 92vh;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    animation: csLightboxZoom 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.cs-review-lightbox-close {
    position: absolute;
    top: 24px; inset-inline-end: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 22px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
    display: flex; align-items: center; justify-content: center;
}
.cs-review-lightbox-close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }
@keyframes csLightboxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes csLightboxZoom { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ─ Mobile: 2 columns ─ */
@media (max-width: 768px) {
    .cs-reviews .cs-inner { padding-top: 36px; padding-bottom: 36px; }
    .cs-reviews-track { gap: 14px; }
    .cs-review-card {
        flex: 0 0 calc((100% - 14px) / 2);
        padding: 22px 18px 20px;
        border-radius: 14px;
    }
    .cs-review-avatar-card { min-height: 240px; }
    .cs-review-message { font-size: 13.5px; line-height: 1.65; margin-bottom: 18px; }
    body[dir="rtl"] .cs-review-message { font-size: 13px; line-height: 1.78; }
    .cs-review-quote-bg { font-size: 100px; top: 8px; }
    .cs-review-avatar, .cs-review-avatar-fallback { width: 38px; height: 38px; }
    .cs-review-avatar-fallback { font-size: 15px; }
    .cs-review-name { font-size: 13px; }
    .cs-review-name-sub { font-size: 10px; letter-spacing: 0.4px; }
    .cs-review-stars { margin-bottom: 12px; gap: 2px; }
    .cs-review-star { width: 13px; height: 13px; }
    .cs-review-author { padding-top: 14px; gap: 10px; }
    .cs-reviews-arrow { width: 40px; height: 40px; }
    .cs-reviews-arrow svg { width: 16px; height: 16px; }
    .cs-reviews-controls-row { top: -56px; gap: 8px; }
    .cs-review-screenshot-card,
    .cs-review-video-card { border-radius: 14px; }
    .cs-review-video-play { width: 54px; height: 54px; }
    .cs-review-video-play svg { width: 18px; height: 18px; }
    .cs-review-video-card::after { width: 54px; height: 54px; }
    .cs-review-screenshot-badge { font-size: 10px; padding: 5px 9px; top: 10px; }
    .cs-review-screenshot-name { font-size: 12px; bottom: 12px; }
    .cs-review-video-info { padding: 14px 14px 12px; }
    .cs-review-video-name { font-size: 12.5px; }
    .cs-review-video-tag { font-size: 9.5px; }
    .cs-reviews-dots { margin-top: 14px; }
    .cs-review-lightbox img { border-radius: 10px; }
    .cs-review-lightbox-close { top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; font-size: 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cs-review-card { animation: none; opacity: 1; transform: none; }
    .cs-review-card:hover { transform: none; }
    .cs-reviews-track { transition: transform 0.3s ease; }
    .cs-review-video-card::after { animation: none; opacity: 0; }
}

/* ════════════════════════════════════════════════════════════════
   CUSTOM-PAGE / SLIDER FULL-BLEED + HERO PARITY
   ════════════════════════════════════════════════════════════════ */

/* Custom page with hidden header — flush against navigation bar */
.custom-page--no-header { padding-top: 0; }
.custom-page--no-header .cs-section:first-child { margin-top: 0; }

/* When slider section is full-bleed, kill the inner constraint */
.cs-section.cs-slider {
    overflow: hidden;
    line-height: 0;
    margin: 0;
    padding: 0;
}
.cs-section.cs-slider .cs-inner.cs-inner--bleed,
.cs-section.cs-slider .cs-inner {
    max-width: none;
    padding: 0;
    margin: 0;
    line-height: 1.6;
}

/* Hero-equivalent slider — full width, image-driven height */
.cs-slider--hero {
    position: relative;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    min-height: 280px;
    aspect-ratio: 12 / 5;
}
@media (max-width: 768px) {
    .cs-slider--hero { aspect-ratio: 4 / 5; min-height: 320px; }
}
.cs-slider--hero .cs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.cs-slider--hero .cs-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.cs-slider--hero .cs-slide-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.cs-slider--hero .cs-slide-img.mobile-img { display: none; }
.cs-slider--hero .cs-slide-video {
    width: 100%;
    aspect-ratio: 12 / 5;
    display: block;
    object-fit: cover;
    background: var(--secondary);
}
.cs-slider--hero iframe.cs-slide-video {
    aspect-ratio: 16 / 9;
    border: 0;
}
.cs-slider--hero .cs-slide-placeholder {
    width: 100%;
    min-height: 350px;
    background: var(--secondary);
}
.cs-slider--hero .cs-slide-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.cs-slider--hero .cs-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    max-width: none;
    color: #fff;
}
.cs-slider--hero .cs-slide-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.cs-slider--hero .cs-slide-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.cs-slider--hero .cs-slide-desc {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 22px;
    max-width: 640px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    line-height: 1.6;
}
.cs-slider--hero .cs-slide-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
}
.cs-slider--hero .cs-slide-btn:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
}

/* Nav buttons — match hero look */
.cs-slider--hero .cs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    font-size: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.cs-slider--hero .cs-nav:hover { background: #fff; box-shadow: var(--shadow); }
.cs-slider--hero .cs-nav.prev { inset-inline-start: 20px; }
.cs-slider--hero .cs-nav.next { inset-inline-end: 20px; }
body[dir="rtl"] .cs-slider--hero .cs-nav.prev { transform: translateY(-50%) scaleX(-1); }
body[dir="rtl"] .cs-slider--hero .cs-nav.next { transform: translateY(-50%) scaleX(-1); }

/* Dots — match hero look */
.cs-slider--hero .cs-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
    margin: 0;
}
.cs-slider--hero .cs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}
.cs-slider--hero .cs-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Mobile: swap to portrait image and tighten typography */
@media (max-width: 768px) {
    .cs-slider--hero .cs-slide-img.desktop-img { display: none; }
    .cs-slider--hero .cs-slide-img.mobile-img { display: block; }
    .cs-slider--hero .cs-slide-video { aspect-ratio: 3 / 4; }
    .cs-slider--hero iframe.cs-slide-video { aspect-ratio: 9 / 16; }
    .cs-slider--hero .cs-slide-title { font-size: 22px; }
    .cs-slider--hero .cs-slide-subtitle { font-size: 13px; }
    .cs-slider--hero .cs-slide-desc { font-size: 13px; margin-bottom: 16px; }
    .cs-slider--hero .cs-slide-btn { padding: 11px 26px; font-size: 13px; }
    .cs-slider--hero .cs-nav { width: 36px; height: 36px; font-size: 16px; }
    .cs-slider--hero .cs-nav.prev { inset-inline-start: 12px; }
    .cs-slider--hero .cs-nav.next { inset-inline-end: 12px; }
}

/* ───────────────────────────────────────────────────────────
   Sticky-header reinforcement + Desktop Mega Menu (Shop)
   ─────────────────────────────────────────────────────────── */
.store-header { backdrop-filter: saturate(1.05); }
.store-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); border-bottom: 1px solid var(--border); }

/* ─────────────────────────────────────────────────────────
   MEGA MENU — Editorial / refined
   Hover from desktop "Shop" link. Two-zone layout:
     • Featured promo card (left) — visual anchor
     • Categories grid (right) — root cats with subcats listed beneath
   Typography hierarchy: small uppercase eyebrow + serif/heavy display
   for the section title, refined body copy for links.
   ───────────────────────────────────────────────────────── */
.nav-shop-wrap { position: relative; display: inline-flex; align-items: center; }
.nav-shop-link { display: inline-flex; align-items: center; gap: 4px; position: relative; }
.nav-shop-caret { transition: transform .25s ease; opacity: .55; }
.nav-shop-wrap:hover .nav-shop-caret,
.nav-shop-wrap:focus-within .nav-shop-caret { transform: rotate(180deg); opacity: 1; }

.mega-menu {
    position: fixed;
    top: var(--header-h, 64px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    width: min(960px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid rgba(15, 15, 30, 0.08);
    border-radius: 4px;
    box-shadow: 0 24px 60px -10px rgba(15,15,30,.18), 0 6px 20px -4px rgba(15,15,30,.08);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
    z-index: 150;
    overflow: hidden;
}

.nav-shop-wrap:hover > .mega-menu,
.nav-shop-wrap:focus-within > .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity .22s ease, transform .22s ease, visibility 0s;
}

/* Hover bridge so cursor can move from "Shop" to the panel */
.mega-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 16px; }

/* Two-zone layout */
.mega-menu-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    align-items: stretch;
}

/* Left feature panel — sets the editorial tone */
.mega-feature {
    background: linear-gradient(155deg, #1a1d2e 0%, #2d1b3d 60%, #4a1a2b 100%);
    color: #fff;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}
.mega-feature::after {
    content: "";
    position: absolute;
    inset: -40% -40% auto auto;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(229,57,53,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.mega-feature-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 10px;
}
.mega-feature-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.mega-feature-text {
    font-size: 13px;
    line-height: 1.55;
    opacity: 0.78;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.mega-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 9px 16px;
    background: #fff;
    color: #1a1d2e;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border-radius: 999px;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    z-index: 1;
}
.mega-feature-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -4px rgba(0,0,0,.3); color: var(--primary); }
.mega-feature-cta svg { width: 14px; height: 14px; transition: transform .2s; }
.mega-feature-cta:hover svg { transform: translateX(3px); }
[dir="rtl"] .mega-feature-cta:hover svg { transform: translateX(-3px) scaleX(-1); }
[dir="rtl"] .mega-feature-cta svg { transform: scaleX(-1); }

/* Right side — categories grid */
.mega-grid-wrap {
    padding: 28px 30px 22px;
    background: #fff;
}
.mega-grid-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light, #999);
    margin-bottom: 14px;
}
.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 26px;
}
.mega-col {
    min-width: 0;
}
.mega-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.01em;
    color: #1a1d2e;
    text-decoration: none;
    margin-bottom: 8px;
    padding-bottom: 6px;
    position: relative;
    transition: color 0.18s;
}
.mega-col-title::after {
    content: "";
    position: absolute;
    bottom: 0; inset-inline-start: 0;
    width: 18px; height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}
.mega-col-title:hover { color: var(--primary); }
.mega-col-title:hover::after { width: 36px; }
.mega-col-icon { font-size: 14px; opacity: 0.85; }

.mega-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.mega-col-list li { margin: 0; }
.mega-col-list a {
    display: block;
    padding: 4px 0;
    color: #6b6f7e;
    font-size: 12.5px;
    text-decoration: none;
    transition: color 0.15s, transform 0.15s, padding 0.15s;
    position: relative;
}
.mega-col-list a:hover {
    color: var(--primary);
    padding-inline-start: 6px;
}

.mega-menu-footer {
    margin-top: 0;
    padding: 12px 30px;
    background: #fafafa;
    border-top: 1px solid rgba(15,15,30,0.06);
    text-align: end;
}
.mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.mega-view-all::after {
    content: "→";
    transition: transform .2s;
}
.mega-view-all:hover::after { transform: translateX(4px); }
[dir="rtl"] .mega-view-all::after { content: "←"; }
[dir="rtl"] .mega-view-all:hover::after { transform: translateX(-4px); }

/* Hide mega menu on mobile — mobile uses off-canvas menu */
@media (max-width: 900px) {
    .nav-shop-caret { display: none; }
    .mega-menu { display: none !important; }
}
@media (max-width: 1100px) {
    .mega-menu-body { grid-template-columns: 1fr; }
    .mega-feature { min-height: 0; padding: 22px 24px; }
    .mega-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Cart sidebar — auto-applied category discount rows */
.cart-sidebar-discounts { display: flex; flex-direction: column; gap: 6px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed var(--border); }
.cart-sidebar-discount-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.cart-sidebar-discount-label { color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.cart-sidebar-discount-value { color: #138a36; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ─────────────────────────────────────────────────────────
   SHOP FILTERS — Refined sidebar
   ───────────────────────────────────────────────────────── */
.shop-sidebar { font-size: 13px; }
.shop-sidebar .sidebar-widget { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.shop-sidebar .sidebar-widget:last-child { border-bottom: none; margin-bottom: 0; }
.shop-sidebar h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1d2e;
    margin-bottom: 12px;
}

/* Active filter chips */
.filter-chips-widget { background: #fafafa; border: 1px solid var(--border); border-radius: 8px; padding: 12px !important; }
.filter-chips-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1a1d2e; }
.filter-clear-all { color: var(--primary); font-size: 11px; text-decoration: underline; cursor: pointer; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 11.5px;
    color: var(--text);
    text-decoration: none;
    transition: all .15s;
}
.filter-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-chip svg { opacity: 0.6; }
.filter-chip:hover svg { opacity: 1; }

/* Plain link list (categories / subcategories) */
.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.filter-list-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 8px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: background .15s, color .15s;
}
.filter-list-link:hover { background: var(--bg-gray); color: var(--text); }
.filter-list-link.active { background: rgba(229,57,53,0.08); color: var(--primary); font-weight: 600; }
.filter-count { font-size: 11px; color: var(--text-light); background: var(--bg-gray); padding: 1px 7px; border-radius: 10px; flex-shrink: 0; }
.filter-list-link.active .filter-count { background: rgba(229,57,53,0.15); color: var(--primary); }

/* Custom checkbox */
.filter-checkbox { display: flex; align-items: center; gap: 9px; padding: 6px 0; cursor: pointer; user-select: none; }
.filter-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.filter-checkbox-box {
    width: 16px; height: 16px;
    border: 1.5px solid #c4c4cc;
    border-radius: 3px;
    flex-shrink: 0;
    background: #fff;
    transition: all 0.15s;
    position: relative;
}
.filter-checkbox-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
    opacity: 0;
    transition: opacity 0.12s;
}
.filter-checkbox input:checked + .filter-checkbox-box {
    background: var(--primary);
    border-color: var(--primary);
}
.filter-checkbox input:checked + .filter-checkbox-box::after { opacity: 1; }
.filter-checkbox-label {
    display: flex; align-items: center; gap: 8px;
    flex: 1; min-width: 0;
    font-size: 13px;
    color: var(--text);
}
.filter-brand-logo { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.filter-brand-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-checkbox-label .filter-count { margin-inline-start: auto; }

.filter-scroll { max-height: 220px; overflow-y: auto; padding-inline-end: 4px; }
.filter-scroll::-webkit-scrollbar { width: 4px; }
.filter-scroll::-webkit-scrollbar-thumb { background: #d4d4dc; border-radius: 2px; }

/* Price range */
.price-range { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.price-range input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-family: inherit; }
.price-range input:focus { outline: none; border-color: var(--primary); }
.price-range span { color: var(--text-light); }
.price-range-hint { font-size: 11px; color: var(--text-light); margin-top: 4px; }

/* Rating filter */
.rating-filter { display: flex; flex-direction: column; gap: 4px; }
.rating-option {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}
.rating-option:hover { background: var(--bg-gray); }
.rating-option.active { background: rgba(245, 180, 0, 0.08); }
.rating-option input { display: none; }
.rating-option .stars { display: inline-flex; gap: 1px; }
.rating-option .rating-label { font-size: 12px; color: var(--text-muted); }

/* Color swatches */
.color-swatches-filter { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.color-swatch-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 4px;
    border: 1.5px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}
.color-swatch-filter:hover { border-color: var(--border); }
.color-swatch-filter.active { border-color: var(--primary); background: rgba(229,57,53,0.05); }
.color-swatch-filter input { display: none; }
.color-swatch-dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 0 0 2px #fff;
    flex-shrink: 0;
}
.color-swatch-filter.active .color-swatch-dot { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--primary); }
.color-swatch-name { font-size: 10.5px; color: var(--text-muted); text-align: center; line-height: 1.2; }

/* Size pills */
.size-pills-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 6px 12px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
    background: #fff;
}
.size-pill:hover { border-color: #888; }
.size-pill.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.size-pill input { display: none; }

/* Apply button */
.filter-btn-apply { width: 100%; margin-top: 10px; padding: 11px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer; transition: background .15s; font-family: inherit; }
.filter-btn-apply:hover { background: var(--primary-hover); }

/* Mobile filter drawer body lock when sidebar is open */
@media (max-width: 768px) {
    .shop-sidebar h4 { font-size: 12px; }
}
