:root {
    --page-bg: #070B14;
    --card-bg: #111827;
    --image-bg: #0F172A;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --border-color: #273449;
    --primary: #3B82F6;
    --primary-hover: #60A5FA;
    --secondary: #8B5CF6;
    --success: #34D399;
    --danger: #F87171;
    --new-bg: rgba(99, 102, 241, .18);
    --new-text: #A5B4FC;
    --product-media-bg: #0F172A;
    --product-media-surface: #111827;
    --product-media-border: #273449;
    --product-media-icon: #60A5FA;
    --product-media-icon-bg: rgba(59, 130, 246, .14);
    --product-media-glow: rgba(34, 211, 238, .10);
    --color-primary: #2563EB;
    --color-secondary: #7C3AED;
    --color-accent: #22D3EE;
    --color-background: #F8FAFC;
    --color-card: #FFFFFF;
    --color-text: #0F172A;
    --color-text-muted: #64748B;
    --color-border: #E2E8F0;
    --color-success: #16A34A;
    --color-danger: #EF4444;
    --bg: #0B1220;
    --bg2: #111827;
    --bg3: #1F2937;
    --blue: #2563EB;
    --purple: #6D28D9;
    --cyan: #0EA5E9;
    --success: #10B981;
    --warning: #F59E0B;
    --text: #F9FAFB;
    --muted: #9CA3AF;
    --card-bg: #111827;
    --border: rgba(229,231,235,0.12);
    --radius: 20px;
    --radius-sm: 16px;
    --nav-bg: rgba(11,18,32,0.92);
    --ticker-bg: rgba(11,18,32,0.95);
    --modal-overlay: rgba(3,7,18,0.72);
    --footer-bg: #030712;
    --footer-surface-start: #0F172A;
    --footer-surface-end: #0B1220;
    --footer-text: #E5E7EB;
    --footer-muted: #94A3B8;
    --footer-divider: rgba(148, 163, 184, .16);
    --shadow-sm: 0 4px 16px rgba(15,23,42,0.08);
    --shadow-md: 0 10px 28px rgba(15,23,42,0.12);
    --container: 1280px;
    --section-y: 56px;
    --card-gap: 22px;
    --gradient-brand: linear-gradient(135deg, #2563EB 0%, #6D28D9 100%);
    --focus-ring: 0 0 0 3px rgba(37,99,235,0.28);
}

[data-theme="light"] {
    --page-bg: #F8FAFC;
    --card-bg: #FFFFFF;
    --image-bg: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --secondary: #7C3AED;
    --success: #168266;
    --danger: #EF4444;
    --new-bg: #EEF2FF;
    --new-text: #4F46E5;
    --product-media-bg: #F4F7FB;
    --product-media-surface: #FFFFFF;
    --product-media-border: #E5EAF2;
    --product-media-icon: #2563EB;
    --product-media-icon-bg: #EAF2FF;
    --product-media-glow: rgba(34, 211, 238, .08);
    --bg: #F8FAFC;
    --bg2: #FFFFFF;
    --bg3: #F1F5F9;
    --blue: #2563EB;
    --purple: #6D28D9;
    --cyan: #0EA5E9;
    --text: #111827;
    --muted: #6B7280;
    --card-bg: #FFFFFF;
    --border: #E5E7EB;
    --nav-bg: rgba(255,255,255,0.92);
    --ticker-bg: #FFFFFF;
    --modal-overlay: rgba(15,23,42,0.45);
    --footer-bg: #F1F5F9;
    --footer-surface-start: #FFFFFF;
    --footer-surface-end: #F1F5F9;
    --footer-text: #1F2937;
    --footer-muted: #64748B;
    --footer-divider: #E2E8F0;
    --shadow-sm: 0 4px 14px rgba(15,23,42,0.06);
    --shadow-md: 0 12px 28px rgba(15,23,42,0.1);
}
/* خط Cairo محلي */
@font-face {
  font-family: 'Cairo';
  src: url('fonts/cairo/Cairo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('fonts/cairo/Cairo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('fonts/cairo/Cairo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('fonts/cairo/Cairo-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    direction: rtl;
    position: relative;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
body::after {
    content: "";
    position: fixed;
    top: auto;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    width: min(42vw, 380px);
    height: min(42vw, 380px);
    background: url('png/1.png') no-repeat center;
    background-size: contain;
    opacity: 0.025;
    filter: none;
    z-index: -1;
    pointer-events: none;
}
[data-theme="light"] body::after { opacity: 0.012; }
.product-card,
.store-cat-card,
.feature-card,
.occ-ocard {
    isolation: isolate;
}

/* Homepage simplified header — no secondary nav */
.site-header:not(:has(.nav-secondary)) .navbar {
    padding-block: 7px;
}
.home-page .site-header {
    box-shadow: 0 1px 8px rgba(15, 23, 42, .045);
}
.home-page .navbar {
    min-height: 60px;
}
.home-page .nav-search {
    height: 42px;
    border-radius: 14px;
}
.home-page .nav-search button {
    border-radius: 10px;
}
.site-header:not(:has(.nav-secondary)) + .mobile-menu {
    top: 72px;
}
@media (max-width: 768px) {
    .site-header:not(:has(.nav-secondary)) + .mobile-menu {
        top: 96px;
    }
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.w-100 { width: 100%; }
.btn {
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    font-family: 'Cairo', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}
.container-store {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}


/* NAVBAR */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(255,255,255,0.02), var(--shadow-sm);
}
.navbar {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 8px 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.42rem;
    font-weight: 900;
    color: var(--text);
    justify-self: start;
}
.nav-brand span {
    display: inline-block;
    padding-block: 2px;
    background: linear-gradient(105deg, #38BDF8 0%, #2563EB 40%, #8B5CF6 72%, #C084FC 100%);
    background-size: 140% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #2563EB;
    line-height: 1.25;
    letter-spacing: .01em;
    text-shadow: 0 3px 14px rgba(37, 99, 235, .22);
    transition: filter .25s ease, transform .25s ease;
}
.nav-brand:hover span {
    filter: brightness(1.12) saturate(1.08);
    transform: translateY(-1px);
}
.nav-brand img {
    border-radius: 12px;
    width: 40px;
    height: 40px;
    object-fit: cover;
}
.nav-links { display: none; }
.nav-search {
    width: min(100%, 520px);
    height: 44px;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 6px 5px 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--bg2);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.nav-search:focus-within {
    border-color: rgba(37,99,235,.45);
    background: var(--bg2);
    box-shadow: var(--focus-ring);
}
.nav-search i {
    color: var(--muted);
    font-size: 1rem;
    flex: none;
    width: 22px;
    text-align: center;
}
.nav-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    font-size: .9rem;
    font-weight: 500;
}
.nav-search input::placeholder { color: var(--muted); opacity: .9; }
.nav-search button {
    border: 0;
    border-radius: 14px;
    padding: 8px 16px;
    background: var(--gradient-brand);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.nav-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(37,99,235,.22);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-self: end;
}
.lounge-cta {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.lounge-cta i {
    width: auto;
    height: auto;
    display: inline-flex;
    color: var(--purple);
    background: none;
    font-size: 1rem;
    box-shadow: none;
    border-radius: 0;
}
.lounge-cta:hover {
    color: var(--purple);
    border-color: rgba(109,40,217,.35);
    background: rgba(109,40,217,.08);
    transform: none;
    box-shadow: none;
}
.admin-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 14px;
    font-size: .82rem;
    font-weight: 600;
    transition: all .2s;
}
.admin-btn:hover { background: rgba(109,40,217,.1); color: var(--purple); border-color: rgba(109,40,217,.3); }
.cart-btn,
.nav-icon-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.15rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: color .2s, background .2s;
    position: relative;
}
.cart-btn:hover,
.nav-icon-btn:hover {
    color: var(--blue);
    background: rgba(37,99,235,.08);
    transform: none;
}
#searchBtn { display: none; }
.nav-icon-btn .cart-badge { top: 4px; right: 4px; width: 16px; height: 16px; font-size: 0.65rem; }
.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--purple);
    color: #fff;
    font-size: 0.68rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--bg2);
}
.menu-toggle, .menu-btn {
    display: none !important;
    background: none;
    border: none;
    color: var(--text);
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 12px;
}

/* Secondary nav under header */
.nav-secondary {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 10px;
    scrollbar-width: none;
}
.nav-secondary::-webkit-scrollbar { display: none; }
.nav-secondary a {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.nav-secondary a:hover,
.nav-secondary a.active {
    color: var(--blue);
    background: rgba(37,99,235,.08);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 118px;
    right: 0;
    width: 100%;
    background: var(--nav-bg);
    z-index: 999;
    padding: 12px 5% 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--muted);
    min-height: 44px;
    display: flex;
    align-items: center;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.mobile-lounge-link {
    margin: 6px 0;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(37,99,235,.06);
    color: var(--blue);
}
.mobile-menu a.mobile-lounge-link i { margin-left: 8px; }

/* CART MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: var(--modal-overlay); backdrop-filter: blur(8px); z-index: 2000; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--bg3); border: 1px solid var(--border); border-radius: 24px; width: 90%; max-width: 480px; max-height: 80vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--border); }
.modal-header h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; color: var(--blue); }
.modal-close { background: none; border: none; color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.cart-footer { padding: 20px 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.btn-whatsapp { background: #25d366; color: #fff; border: none; padding: 12px 24px; border-radius: 30px; font-size: .95rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: 'Cairo',sans-serif; transition: all .3s; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* CART ITEM */
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; border-bottom: 1px solid var(--border); }
.cart-item-info { display: flex; align-items: center; gap: 12px; }
.cart-item-img { width: 50px; height: 50px; object-fit: cover; border-radius: 10px; }
.cart-remove { background: none; border: none; color: #ff0055; cursor: pointer; font-size: 1.1rem; }

/* NEWS TICKER */
.ticker-wrap {
    margin-top: 0; width: 100%; background: var(--ticker-bg);
    border-bottom: 1px solid var(--border); border-top: 0;
    display: flex; align-items: center; overflow: hidden; position: relative; z-index: 10; height: 40px;
}
.ticker-label {
    background: var(--gradient-brand); color: #fff;
    padding: 0 18px; height: 100%; display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: .82rem; white-space: nowrap; position: absolute; right: 0; z-index: 2;
    border-radius: 0 0 0 12px;
}
.ticker-content {
    display: inline-block; white-space: nowrap; padding-right: 160px;
    animation: tickerScroll 35s linear infinite; font-size: .88rem; color: var(--text);
}
.ticker-content:hover { animation-play-state: paused; }
.ticker-content span { margin: 0 40px; }
@keyframes tickerScroll { 0% { transform: translateX(-50%); } 100% { transform: translateX(100%); } }

/* HERO SLIDER */
.hero-section { position: relative; min-height: 520px; overflow: hidden; }
.hero-slider { position: relative; min-height: 520px; }
.hero-slide {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between;
    padding: 60px 8%; opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: all; }
.slide-content { max-width: 580px; z-index: 1; }
.badge-offer { display: inline-block; background: linear-gradient(45deg,var(--blue),var(--purple)); color: #fff; padding: 6px 20px; border-radius: 30px; font-size: .85rem; font-weight: 700; margin-bottom: 20px; }
.slide-content h1 { font-size: 2.8rem; font-weight: 900; line-height: 1.3; margin-bottom: 15px;
    background: linear-gradient(45deg,var(--text),var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.slide-content p { color: var(--muted); font-size: 1.1rem; margin-bottom: 30px; }
.slide-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--gradient-brand); color: #fff; border-radius: 16px; font-weight: 600; font-size: .95rem; transition: all .25s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,99,235,.28); }
.btn-wa { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: rgba(37,211,102,.15); border: 1px solid #25d366; color: #25d366; border-radius: 30px; font-weight: 700; font-size: .95rem; transition: all .3s; }
.btn-wa:hover { background: #25d366; color: #fff; }
.slide-icon { font-size: 10rem; opacity: .07; color: var(--blue); position: absolute; left: 8%; animation: floatAnim 5s ease-in-out infinite; }
@keyframes floatAnim { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.slider-controls { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; z-index: 5; }
.sl-btn { background: rgba(255,255,255,.1); border: 1px solid var(--border); color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: .9rem; transition: all .3s; }
.sl-btn:hover { background: var(--blue); color: #000; }
.sl-dots { display: flex; gap: 8px; }
.sl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); cursor: pointer; transition: all .3s; }
.sl-dot.active { background: var(--blue); width: 24px; border-radius: 4px; }

/* STATS BAR */
.stats-bar { display: flex; justify-content: center; gap: 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 10px; padding: 18px 30px; color: var(--muted); font-weight: 600; font-size: .9rem; border-left: 1px solid var(--border); }
.stat-item i { font-size: 1.2rem; color: var(--blue); }
.stat-item:last-child { border-left: none; }

/* SECTIONS */
.section {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    padding: var(--section-y) 0;
}
.dark-section { background: var(--bg2); }
.section-head { text-align: right; margin-bottom: 28px; }
.section-title { font-size: clamp(24px, 2.4vw, 28px); font-weight: 700; margin-bottom: 8px; color: var(--text); }
.section-title span { background: none; -webkit-text-fill-color: unset; color: var(--text); }
.section-sub { color: var(--muted); font-size: 14px; }

/* Store category cards row */
.store-categories {
    width: min(100% - 40px, var(--container));
    margin: 8px auto 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.store-cat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-height: 84px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.store-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(37,99,235,.28);
}
.store-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37,99,235,.08);
    color: var(--blue);
    font-size: 1.25rem;
    flex: none;
}
.store-cat-card strong {
    display: block;
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text);
}
.store-cat-card span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}
.store-cat-card .fa-arrow-left {
    margin-inline-start: auto;
    color: var(--muted);
    font-size: .85rem;
}

/* CATEGORY BLOCK */
.category-block { margin-bottom: 40px; }
.cat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.cat-title { display: flex; align-items: center; gap: 12px; }
.cat-title i { font-size: 1.4rem; color: var(--blue) !important; width: 28px; text-align: center; }
.cat-title h3 { font-size: 1.35rem; font-weight: 700; }
.category-entry-link .cat-header {
    position: relative;
    z-index: 2;
    border-radius: 16px;
    padding: 12px 14px 16px;
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.category-entry-link:hover .cat-header {
    background: rgba(37,99,235,.04);
    border-color: rgba(37,99,235,.22);
    transform: translateY(-2px);
}
.cat-open-link,
.category-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(37,99,235,.22);
    border-radius: 999px;
    color: var(--blue);
    background: rgba(37,99,235,.05);
    font-family: 'Cairo', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .22s ease, color .22s ease, transform .22s ease, border-color .22s ease;
}
.cat-open-link {
    padding: 8px 13px;
}
.category-more-link {
    position: relative;
    z-index: 2;
    width: fit-content;
    margin-top: 18px;
    padding: 11px 16px;
}
.cat-open-link:hover,
.category-more-link:hover {
    color: var(--blue);
    border-color: rgba(37,99,235,.35);
    background: rgba(37,99,235,.08);
    transform: none;
}

/* MOBILE ACCESSORY FILTERS */
.mobile-product-tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: -6px 0 24px;
}
.mobile-section-search {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card-bg);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mobile-section-search:focus-within {
    border-color: rgba(37,99,235,.45);
    background: var(--bg2);
    box-shadow: var(--focus-ring);
}
.mobile-section-search > i {
    color: var(--blue);
    font-size: 1rem;
    flex: none;
}
.mobile-section-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    font-size: .9rem;
    font-weight: 500;
}
.mobile-section-search input::placeholder {
    color: var(--muted);
    opacity: .82;
}
.mobile-section-search button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    color: var(--muted);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.mobile-section-search button.visible { display: inline-flex; }
.mobile-section-search button:hover {
    background: rgba(255,0,85,.1);
    color: #ff3d71;
}
.mobile-category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 5px;
    scrollbar-width: none;
}
.mobile-category-strip::-webkit-scrollbar { display: none; }
.mobile-filter-chip,
.mobile-sort-btn {
    border: 1px solid var(--border);
    color: var(--muted);
    background: rgba(255,255,255,.035);
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    outline: none;
    transition: all .25s ease;
}
.mobile-filter-chip {
    position: relative;
    min-width: max-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
}
.mobile-filter-chip i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--blue);
    background: rgba(37,99,235,.08);
    font-size: .95rem;
}
.mobile-filter-chip small {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--bg3);
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
    padding: 0 7px;
}
.mobile-filter-chip:hover,
.mobile-sort-btn:hover {
    color: var(--text);
    border-color: rgba(37,99,235,.28);
    background: rgba(37,99,235,.06);
}
.mobile-filter-chip:focus-visible,
.mobile-sort-btn:focus-visible {
    box-shadow: var(--focus-ring);
    border-color: rgba(37,99,235,.45);
}
.mobile-filter-chip.active,
.mobile-sort-btn.active {
    color: #fff;
    border-color: transparent;
    background: var(--gradient-brand);
    box-shadow: 0 8px 18px rgba(37,99,235,.18);
}
.mobile-filter-chip.active i,
.mobile-filter-chip.active small {
    color: #fff;
    background: rgba(255,255,255,.16);
}
.mobile-sort-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card-bg);
}
.mobile-sort-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mobile-sort-select {
    min-height: 42px;
    min-width: 160px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg2);
    color: var(--text);
    font-family: inherit;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
}
.mobile-sort-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 600;
}
.mobile-sort-label i { color: var(--blue); }
.mobile-sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.mobile-sort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
}
.mobile-sort-btn[hidden] {
    display: none !important;
}
.mobile-sort-btn small {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-size: .66rem;
    font-weight: 900;
}
.mobile-sort-btn.is-pending:not(.active) small {
    color: var(--blue);
    background: rgba(37,99,235,.1);
}
.mobile-sort-btn[data-mobile-sort="price-low"] small {
    display: none;
}
.mobile-filter-meta {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
}

.store-product-tools,
.store-search-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 24px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card-bg);
}

.store-product-search {
    flex: 1 1 260px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg2);
}

.store-product-search i { color: var(--blue); }

.store-product-search input,
.store-product-tools select,
.store-search-filters select {
    min-height: 44px;
    border: none;
    outline: none;
    color: var(--text);
    background: transparent;
    font-family: inherit;
    font-weight: 600;
}

.store-product-search input {
    width: 100%;
}

.store-product-tools select,
.store-search-filters select,
.store-product-tools button,
.store-search-filters button {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg2);
    color: var(--text);
    font-family: inherit;
    font-weight: 600;
}

.store-product-tools button,
.store-search-filters button {
    cursor: pointer;
}

.store-product-tools button.active,
.store-search-filters button.active {
    color: #fff;
    border-color: transparent;
    background: var(--gradient-brand);
}

.store-product-meta {
    color: var(--muted);
    font-weight: 600;
    margin-inline-start: auto;
    font-size: 14px;
}

/* PRODUCTS GRID — 6 بطاقات في الصف على الديسكتوب */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}
.product-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease, border-color .24s ease;
    backdrop-filter: none;
    position: relative;
    box-shadow: 0 4px 16px rgba(15,23,42,.055);
    color: #111827;
    isolation: isolate;
}
[data-theme="light"] .product-card,
:root:not([data-theme]) .product-card {
    /* keep light cards readable on dark theme too */
}
:root:not([data-theme="light"]) .product-card {
    background: linear-gradient(180deg, #131D2E 0%, #0F1726 100%);
    border-color: var(--border);
    color: var(--text);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15,23,42,.13);
    border-color: rgba(37,99,235,.35);
}

/* Image wrapper — الصورة تملأ البنر بالكامل */
.pc-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    background: linear-gradient(145deg, #162238, #0B1220);
    padding: 0;
    display: block;
}
.pc-img-wrap::before,
.pc-img-wrap::after { display: none; }
:root:not([data-theme="light"]) .pc-img-wrap { background: #0B1220; }
.pc-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .3s ease;
    border-radius: 0;
    filter: none;
    display: block;
}
.product-card:hover .pc-img-wrap img {
    transform: scale(1.04);
    filter: saturate(1.06) contrast(1.02);
}

/* ===== بكج التوفير: تقسيم مكان الصورة إلى شبكة بصور منتجات البكج ===== */
.pc-bundle-collage {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 3px;
    background: rgba(148, 163, 184, .28);
}
.pc-bundle-collage--2 { grid-template-columns: 1fr 1fr; }
.pc-bundle-collage--3 { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; }
.pc-bundle-collage--3 .pc-bundle-tile:first-child { grid-row: span 2; }
.pc-bundle-collage--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pc-bundle-tile {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #162238, #0B1220);
}
:root[data-theme="light"] .pc-bundle-tile { background: #eef2f9; }
.pc-bundle-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.pc-bundle-tile--empty::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(148, 163, 184, .25) 0, transparent 55%);
}
.pc-bundle-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 18, 32, .58);
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: .5px;
    z-index: 1;
    backdrop-filter: blur(2px);
}
.pc-bundle-chip {
    position: absolute;
    bottom: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .38);
    pointer-events: none;
    white-space: nowrap;
}

/* ===== نافذة تفاصيل البكج (تصميم فاخر — تمرير واحد) ===== */
.bundle-modal {
    max-width: 680px; width: min(94vw, 680px);
    max-height: 88vh;
    display: flex; flex-direction: column;
    overflow: hidden; /* يمنع التمرير المزدوج: الجسم فقط يتمرر */
    border-radius: 26px;
    box-shadow: 0 40px 90px -20px rgba(2, 6, 23, .55);
}
.bundle-modal .modal-header {
    padding: 18px 26px;
    background: linear-gradient(135deg, rgba(79, 70, 229, .14), rgba(37, 99, 235, .05) 55%, transparent);
}
.bundle-modal-header-icon {
    display: inline-flex; width: 38px; height: 38px; border-radius: 12px;
    align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    box-shadow: 0 8px 18px rgba(79, 70, 229, .4);
    font-size: .95rem;
}
.bundle-modal .modal-close {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s ease; font-size: 1.5rem;
}
.bundle-modal .modal-close:hover { background: rgba(225, 29, 72, .12); color: #e11d48; transform: rotate(90deg); }
.bundle-modal-body {
    flex: 1; overflow-y: auto;
    padding: 20px 26px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, .45) transparent;
}
.bundle-modal-body::-webkit-scrollbar { width: 6px; }
.bundle-modal-body::-webkit-scrollbar-thumb { background: linear-gradient(#4f46e5, #2563eb); border-radius: 99px; }
.bundle-modal-body::-webkit-scrollbar-track { background: transparent; }
.bundle-modal-title { margin: 0 0 16px; font-size: 1.02rem; line-height: 1.75; font-weight: 700; }

/* لوحة السعر الفاخرة */
.bundle-modal-hero {
    position: relative; overflow: hidden;
    border-radius: 18px; padding: 18px 22px;
    background: linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 60%, #172554 100%);
    border: 1px solid rgba(99, 102, 241, .35);
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    margin-bottom: 18px;
}
.bundle-modal-hero::after {
    content: ''; position: absolute; top: -20%; bottom: -20%; width: 60px;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .13), transparent);
    transform: skewX(-18deg);
    animation: bundleShine 3.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes bundleShine {
    0% { inset-inline-start: -90px; }
    55%, 100% { inset-inline-start: 110%; }
}
.bundle-modal-price-label { font-size: .7rem; color: #c7d2fe; letter-spacing: .5px; margin-bottom: 3px; font-weight: 700; }
.bundle-modal-new-price { color: #fff; font-weight: 900; font-size: 1.75rem; line-height: 1.15; }
.bundle-modal-new-price small { font-size: .85rem; font-weight: 800; color: #93c5fd; }
.bundle-modal-old-price { text-decoration: line-through; color: #94a3b8; font-size: .88rem; margin-top: 3px; }
.bundle-modal-saving { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.bundle-modal-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px;
    background: linear-gradient(135deg, #e11d48, #f43f5e);
    color: #fff; font-size: .78rem; font-weight: 800;
    box-shadow: 0 6px 16px rgba(225, 29, 72, .35);
    white-space: nowrap;
}
.bundle-modal-badge--amount {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    box-shadow: 0 6px 16px rgba(245, 158, 11, .35);
}

/* العداد التنازلي */
.bundle-countdown-label {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; color: var(--muted, #94a3b8);
    margin-bottom: 9px;
}
.bundle-countdown { display: flex; align-items: stretch; justify-content: center; gap: 10px; margin: 0 0 20px; direction: ltr; }
.bundle-countdown-unit {
    flex: 1; max-width: 96px;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 11px 6px 9px; border-radius: 14px;
    background: linear-gradient(180deg, rgba(79, 70, 229, .16), rgba(37, 99, 235, .05));
    border: 1px solid rgba(99, 102, 241, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.bundle-countdown-unit strong {
    font-size: 1.45rem; font-weight: 900; color: #4f46e5;
    font-variant-numeric: tabular-nums; line-height: 1;
}
:root:not([data-theme="light"]) .bundle-countdown-unit strong { color: #a5b4fc; }
.bundle-countdown-unit span { font-size: .66rem; color: var(--muted, #94a3b8); font-weight: 700; }
.bundle-countdown-sep { display: flex; align-items: center; font-weight: 900; color: #6366f1; opacity: .55; font-size: 1.2rem; }
.bundle-countdown-ended { display: inline-flex; align-items: center; gap: 8px; color: #e11d48; font-weight: 800; padding: 8px 0; }

/* محتويات البكج */
.bundle-modal-products-title { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: .95rem; margin-bottom: 12px; }
.bundle-modal-products-title i { color: #4f46e5; }
.bundle-count-pill {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #fff; font-size: .68rem; font-weight: 800;
    padding: 3px 11px; border-radius: 999px;
}
.bundle-modal-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.bundle-modal-product {
    position: relative;
    border: 1px solid var(--border, rgba(148, 163, 184, .22));
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg3, rgba(148, 163, 184, .05));
    display: flex; flex-direction: column;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.bundle-modal-product:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, .6);
    box-shadow: 0 16px 30px -12px rgba(37, 99, 235, .35);
}
.bundle-modal-product__num {
    position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2;
    width: 24px; height: 24px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #fff; font-size: .72rem; font-weight: 800;
    box-shadow: 0 4px 10px rgba(37, 99, 235, .4);
}
.bundle-modal-product__img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(145deg, #162238, #0B1220); }
:root[data-theme="light"] .bundle-modal-product__img { background: #eef2f9; }
.bundle-modal-product__img img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform .4s ease;
}
.bundle-modal-product:hover .bundle-modal-product__img img { transform: scale(1.06); }
.bundle-modal-product__img > i {
    position: absolute; inset: 0; display: none;
    align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--muted, #94a3b8);
}
.bundle-modal-product__img--empty > i, .bundle-modal-product__img:not(:has(img)) > i { display: flex; }
.bundle-modal-product__name { font-size: .78rem; line-height: 1.55; margin: 9px 10px 4px; font-weight: 700; }
.bundle-modal-product__price {
    margin: auto 10px 10px; padding-top: 7px;
    border-top: 1px dashed var(--border, rgba(148, 163, 184, .25));
    font-size: .72rem; display: flex; gap: 5px; align-items: baseline; flex-wrap: wrap;
}
.bundle-modal-product__price-label { color: var(--muted, #94a3b8); }
.bundle-modal-product__price strong { color: #2563eb; font-size: .78rem; }
.bundle-modal-empty { color: var(--muted, #94a3b8); font-size: .85rem; }

/* الأزرار */
.bundle-modal-footer { gap: 10px; background: linear-gradient(0deg, rgba(79, 70, 229, .06), transparent); }
.bundle-modal-footer .pc-btn-order, .bundle-modal-footer .pc-btn-cart {
    flex: 1; justify-content: center;
    padding: 13px 18px; border-radius: 14px; font-weight: 800;
}
@media (max-width: 480px) {
    .bundle-modal-hero { flex-direction: column; align-items: flex-start; }
    .bundle-modal-saving { flex-direction: row; align-items: center; }
    .bundle-countdown-unit strong { font-size: 1.15rem; }
}
.pc-img-wrap .pc-no-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 18px 14px;
    color: #E2E8F0;
    font-size: 1rem;
    background:
        radial-gradient(circle at 50% 25%, rgba(37,99,235,.25), transparent 42%),
        linear-gradient(150deg, #17243A, #0B1220);
    border-radius: 0;
    z-index: 0;
}
:root:not([data-theme="light"]) .pc-img-wrap .pc-no-img {
    background: linear-gradient(165deg, #1E293B, #0F172A);
}
.pc-img-wrap .pc-no-img--hidden { display: none; }
.pc-no-img__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    font-size: 1.35rem;
    background: var(--gradient-brand);
    box-shadow: 0 10px 28px rgba(37,99,235,.3);
}
.pc-img-wrap .pc-no-img strong {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}
.pc-img-wrap .pc-no-img small {
    max-width: 100%;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    color: rgba(226,232,240,.66);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Overlays on image */
.wish-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(15,23,42,.72);
    border: 1px solid rgba(255,255,255,.24);
    color: #fff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        transform .18s cubic-bezier(.2,.8,.2,1),
        color .18s ease,
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
    z-index: 10;
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    backdrop-filter: blur(12px) saturate(135%);
    font-size: 1rem;
    line-height: 1;
    box-shadow:
        0 6px 18px rgba(15,23,42,.28),
        inset 0 1px 0 rgba(255,255,255,.16);
    -webkit-tap-highlight-color: transparent;
}
.wish-btn i {
    pointer-events: none;
}
:root:not([data-theme="light"]) .wish-btn {
    background: rgba(2,6,23,.76);
    border-color: rgba(255,255,255,.2);
    color: #F8FAFC;
    box-shadow: 0 4px 16px rgba(0,0,0,.28);
}
@media (hover: hover) {
    .wish-btn:hover {
        transform: translateY(-1px) scale(1.06);
        background: rgba(15,23,42,.9);
        border-color: rgba(255,255,255,.4);
        color: #FDA4AF;
        box-shadow: 0 8px 22px rgba(15,23,42,.34);
    }
}
.wish-btn:active {
    transform: scale(.92);
}
.wish-btn:focus-visible {
    outline: 3px solid rgba(37,99,235,.42);
    outline-offset: 2px;
}
.wish-btn.active {
    color: #fff;
    background: linear-gradient(145deg, #F43F5E, #BE123C);
    border-color: rgba(255,255,255,.32);
    box-shadow:
        0 7px 20px rgba(190,18,60,.42),
        inset 0 1px 0 rgba(255,255,255,.24);
}
@media (hover: hover) {
    .wish-btn.active:hover {
        color: #fff;
        background: #BE123C;
        border-color: #BE123C;
    }
}
.wish-btn.active i {
    animation: wish-heart-pop .3s cubic-bezier(.2,.9,.3,1.35);
}
@keyframes wish-heart-pop {
    0% { transform: scale(.65); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .wish-btn,
    .wish-btn.active i {
        transition: none;
        animation: none;
    }
}

.rating-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(18,20,29,0.85);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #f5c518;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.rating-tag i { font-size: 0.7rem; }

/* Body */
.product-body, .pc-body {
    padding: 11px 12px 13px;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-category-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pc-category-label i {
    flex: none;
    font-size: 9px;
    opacity: .85;
}

/* Title — اسم البطاقة بارز واحترافي */
.product-name, .pc-title {
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.4em;
    margin: 0;
    color: var(--text);
}

/* Spec subtitle — مخفي حسب طلب الواجهة */
.pc-spec { display: none !important; }

/* Price — مباشرة تحت الاسم بدون فراغ كبير */
.product-price, .pc-price {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--purple);
    text-shadow: none;
    margin-top: 2px;
    padding-top: 0;
    white-space: nowrap;
}
.pc-price--contact {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    text-shadow: none;
    white-space: normal;
}

/* Dual action buttons: اطلب الآن + أضف للسلة */
.pc-actions {
    display: flex;
    gap: 7px;
    margin-top: 3px;
    padding-top: 4px;
}
.pc-btn-order {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 38px;
    min-width: 0;
    padding: 7px 6px;
    background: var(--gradient-brand);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.pc-btn-order:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37,99,235,.28);
}
.pc-btn-order i { font-size: 0.78rem; flex: none; }
/* زر طلب خدمة الطباعة يُقدَّم كرابط لصفحة الطلب، فيلزم إلغاء تسطير الرابط. */
a.pc-btn-order, a.pc-btn-order:hover, a.pc-btn-order:visited { text-decoration: none; color: #fff; }
.pc-btn-order.pc-btn-contact {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid rgba(37,99,235,.35);
    font-size: 11px;
}
.pc-btn-order.pc-btn-contact:hover {
    background: rgba(37,99,235,.08);
    box-shadow: none;
}

.pc-btn-cart {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 38px;
    min-width: 0;
    padding: 7px 6px;
    background: transparent;
    color: var(--blue);
    border: 1.5px solid rgba(37,99,235,.35);
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.pc-btn-cart:hover {
    background: rgba(37,99,235,.08);
    border-color: var(--blue);
    transform: translateY(-1px);
}
.pc-btn-cart i { font-size: 0.85rem; flex: none; }
.pc-actions--priced .pc-btn-order { flex: 1.05; }
.pc-actions--priced .pc-btn-cart { flex: 1; }
.pc-actions--contact .pc-btn-order { flex: 1; }

/* Legacy fallback — hide old btn-primary inside cards */
.product-card .btn-primary { display: none; }
.product-desc { display: none; }
.pc-status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid transparent;
    background: rgba(16,185,129,.92);
    color: #fff;
    border-color: rgba(255,255,255,.2);
    box-shadow: 0 2px 8px rgba(15,23,42,.18);
    backdrop-filter: blur(4px);
}
.pc-status-badge.out-of-stock {
    background: rgba(220,38,38,.92);
    color: #fff;
    border-color: rgba(255,255,255,.2);
}
.pc-status-badge.in-stock {
    background: rgba(5,150,105,.92);
    color: #fff;
    border-color: rgba(255,255,255,.2);
}
.pc-status-badge.pc-status-request {
    background: rgba(217,119,6,.92);
    color: #fff;
    border-color: rgba(255,255,255,.2);
}
/* Legacy category pages: header.navbar without .site-header wrapper */
header.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding-inline: max(20px, calc((100% - var(--container)) / 2));
}
.page-main {
    padding-top: 20px;
    min-height: 70vh;
}
/* EMPTY STATE */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px; color: var(--muted); width: 100%; grid-column: 1 / -1; text-align: center; }
.empty-state i { font-size: 2.4rem; color: rgba(37,99,235,.28); }
.empty-state p { font-size: 1rem; line-height: 1.6; }

/* PRINTING GRID */
.printing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.print-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 20px; text-align: center; cursor: pointer; transition: all .3s; backdrop-filter: blur(10px); }
.print-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,.4); border-color: rgba(37,99,235,.28); }
.print-icon { width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; margin: 0 auto 16px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.print-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.print-card p { font-size: .82rem; color: var(--muted); }

/* BIG SERVICE CARDS */
.services-big-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-big-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.sbig-header { padding: 32px 28px; display: flex; align-items: center; gap: 16px; color: #fff; }
.sbig-header i { font-size: 2.5rem; }
.sbig-header h3 { font-size: 1.25rem; font-weight: 800; }
.sbig-body { padding: 24px 28px; flex-grow: 1; color: var(--muted); line-height: 1.8; }
.sbig-btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px 28px 28px; padding: 14px; background: linear-gradient(45deg,var(--blue),var(--purple)); color: #fff; border-radius: 14px; font-weight: 700; font-size: .95rem; transition: all .3s; }
.sbig-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(37,99,235,.2); }
.repair-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.repair-list li { display: flex; align-items: center; gap: 10px; }
.repair-list i { font-size: .85rem; flex-shrink: 0; }

/* PARTNERS */
.partners-slider-wrap { overflow: hidden; }
.partners-slider { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.partner-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: center; transition: all .3s; }
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.partner-card img { width: 100%; height: 180px; object-fit: cover; }
.partner-card p { padding: 14px; font-weight: 600; color: var(--muted); font-size: .9rem; }

/* Features — شريط مكثّف فوق الفوتر بدون فراغات */
.features-bar {
    width: min(100% - 40px, var(--container));
    margin: 8px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}
.features-bar--strip {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, .04);
    overflow: hidden;
}
.features-bar--bridge {
    margin: 8px auto 0;
    z-index: 1;
}
.features-bar--strip .feature-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 12px;
    text-align: right;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    transition: background .18s ease;
}
.features-bar--strip .feature-card + .feature-card {
    border-inline-start: 1px solid #E8ECF1;
}
.features-bar--strip .feature-card:hover {
    transform: none;
    background: rgba(37, 99, 235, .04);
    box-shadow: none;
    border-color: transparent;
}
[data-theme="light"] .features-bar--strip,
:root:not([data-theme]) .features-bar--strip {
    background: #fff;
}
:root:not([data-theme="light"]) .features-bar--strip {
    background: var(--card-bg);
    border-color: var(--border);
}
:root:not([data-theme="light"]) .features-bar--strip .feature-card + .feature-card {
    border-inline-start-color: var(--border);
}
:root:not([data-theme="light"]) .features-bar--strip .feature-card:nth-child(n + 3) {
    border-top-color: var(--border);
}
.feature-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 12px 10px 11px;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    box-shadow: 0 4px 14px rgba(15,23,42,.05);
}
[data-theme="light"] .feature-card,
:root:not([data-theme]) .feature-card {
    background: #fff;
}
:root:not([data-theme="light"]) .feature-card {
    background: var(--card-bg);
    border-color: var(--border);
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37,99,235,.28);
    box-shadow: 0 10px 24px rgba(37,99,235,.12);
}
.feature-icon {
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: none;
    background: linear-gradient(145deg, #2563EB, #1D4ED8);
    color: #fff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .28);
}
.feature-icon i {
    font-size: 1.15rem;
    margin: 0;
    color: inherit;
}
.feature-card > i {
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 10px;
    display: inline-block;
}
.feature-card:nth-child(1) .feature-icon {
    color: #fff;
    background: linear-gradient(145deg, #2563EB, #1D4ED8);
    box-shadow: 0 6px 14px rgba(37, 99, 235, .28);
}
.feature-card:nth-child(2) .feature-icon {
    color: #fff;
    background: linear-gradient(145deg, #10B981, #059669);
    box-shadow: 0 6px 14px rgba(5, 150, 105, .28);
}
.feature-card:nth-child(3) .feature-icon {
    color: #fff;
    background: linear-gradient(145deg, #F59E0B, #D97706);
    box-shadow: 0 6px 14px rgba(217, 119, 6, .28);
}
.feature-card:nth-child(4) .feature-icon {
    color: #fff;
    background: linear-gradient(145deg, #8B5CF6, #7C3AED);
    box-shadow: 0 6px 14px rgba(124, 58, 237, .28);
}
.feature-copy {
    min-width: 0;
}
.feature-card strong,
.feature-copy strong {
    display: block;
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 800;
    margin-bottom: 2px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text);
}
.feature-card p,
.feature-copy p {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.35;
    margin: 0;
}

/* FOOTER — أسفل الصفحة بدون تداخل، محتوى مكثّف */
.site-footer-stack {
    position: relative;
    margin-top: 0;
    padding-top: 0;
}
.site-footer,
footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 90% 0%, rgba(37,99,235,.18), transparent 55%),
        radial-gradient(ellipse 45% 45% at 10% 100%, rgba(109,40,217,.14), transparent 50%),
        linear-gradient(180deg, #111827 0%, #0B1220 60%, #070B14 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #E5E7EB;
    margin-top: 0;
}
.site-footer--slim,
.site-footer--bar {
    background:
        linear-gradient(90deg, rgba(37,99,235,.12), transparent 28%, transparent 72%, rgba(109,40,217,.1)),
        linear-gradient(180deg, var(--footer-surface-start) 0%, var(--footer-surface-end) 100%);
    color: var(--footer-text);
}
.site-footer--bar::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3B82F6 20%, #8B5CF6 50%, #3B82F6 80%, transparent);
    opacity: .85;
}
.site-footer--bar .footer-inner,
.footer-bar {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    padding: 10px 0;
}
.footer-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 6px;
    min-width: 0;
    padding: 2px 16px;
}
.footer-panel + .footer-panel {
    border-inline-start: 1px solid var(--footer-divider);
}
.footer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #93C5FD;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: none;
}
.footer-kicker i {
    font-size: .72rem;
    opacity: .9;
}
.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
    align-content: start;
}
.footer-nav-grid a {
    color: #CBD5E1;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 4px 0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .18s, border-color .18s;
}
.footer-nav-grid a:hover {
    color: #fff;
    border-bottom-color: rgba(96, 165, 250, .45);
}
.footer-place-text {
    margin: 0;
    color: var(--footer-muted);
    font-size: .78rem;
    line-height: 1.55;
}
.footer-map-btn,
.footer-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: .74rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.footer-map-btn {
    background: rgba(37, 99, 235, .14);
    border: 1px solid rgba(96, 165, 250, .28);
    color: #BFDBFE;
}
.footer-map-btn:hover {
    background: rgba(37, 99, 235, .24);
    color: #fff;
    transform: translateY(-1px);
}
.footer-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #F8FAFC;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: background .18s, border-color .18s, transform .18s;
}
.footer-tel:hover {
    background: rgba(37, 99, 235, .16);
    border-color: rgba(96, 165, 250, .4);
    transform: translateY(-1px);
}
.footer-reach-row {
    display: grid;
    grid-template-columns: 1fr repeat(3, 32px);
    gap: 6px;
    align-items: center;
}
.footer-wa {
    background: rgba(37, 211, 102, .14);
    border: 1px solid rgba(37, 211, 102, .35);
    color: #86EFAC;
}
.footer-wa:hover {
    background: rgba(37, 211, 102, .24);
    color: #fff;
    transform: translateY(-1px);
}
.site-footer--bar .soc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: .82rem;
}
[data-theme="light"] .site-footer--bar {
    border-top-color: var(--footer-divider);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .05);
}
[data-theme="light"] .site-footer--bar .footer-kicker {
    color: #2563EB;
}
[data-theme="light"] .site-footer--bar .footer-nav-grid a {
    color: #334155;
}
[data-theme="light"] .site-footer--bar .footer-nav-grid a:hover {
    color: #1D4ED8;
}
[data-theme="light"] .site-footer--bar .footer-map-btn {
    color: #1D4ED8;
    background: rgba(37, 99, 235, .08);
    border-color: rgba(37, 99, 235, .2);
}
[data-theme="light"] .site-footer--bar .footer-tel {
    color: #0F172A;
    background: rgba(255, 255, 255, .8);
    border-color: #CBD5E1;
}
[data-theme="light"] .site-footer--bar .footer-wa {
    color: #047857;
    background: rgba(16, 185, 129, .09);
    border-color: rgba(5, 150, 105, .25);
}

/* legacy slim helpers kept for older pages */
.site-footer--slim .footer-inner {
    padding: 10px 0 12px;
    gap: 0;
}
.site-footer--slim .footer-grid,
.footer-grid--dense {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) minmax(0, 1.1fr);
    gap: 10px 18px;
    align-items: stretch;
}
.footer-location-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.footer-location-body p {
    font-size: .78rem;
    line-height: 1.45;
}
.footer-contact-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-wa-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 9px;
    background: rgba(37, 211, 102, .14);
    border: 1px solid rgba(37, 211, 102, .35);
    color: #86EFAC;
    font-size: .74rem;
    font-weight: 700;
    text-decoration: none;
}
.footer-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.025), transparent);
    opacity: .6;
}
.footer-inner {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 6px;
}
.footer-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 8px 14px;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}
.footer-brand img {
    border-radius: 12px;
    width: 42px;
    height: 42px;
    box-shadow: 0 6px 14px rgba(37,99,235,.25);
}
.footer-brand h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.footer-tag {
    display: block;
    margin-top: 2px;
    font-size: .7rem;
    color: #93C5FD;
    font-weight: 600;
    letter-spacing: .02em;
}
.footer-lead {
    color: #9CA3AF;
    font-size: .82rem;
    line-height: 1.45;
    margin: 0;
    max-width: 36ch;
}
.footer-top-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 8px 14px;
    align-items: start;
}
.footer-col p,
.footer-contact-note {
    color: #9CA3AF;
    font-size: .8rem;
    line-height: 1.45;
    margin: 0;
}
.footer-contact-note { margin-bottom: 4px; }
.footer-col h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: #fff;
}
.footer-col h3 i {
    color: #60A5FA;
    font-size: .8rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 2px; }
.footer-col ul li a,
.footer-links a {
    color: #9CA3AF;
    font-size: .8rem;
    transition: color .2s, background .2s;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
    padding: 3px 6px;
    border-radius: 8px;
    margin-inline: -6px;
}
.footer-links--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
}
.footer-links a i {
    font-size: .62rem;
    opacity: .55;
    transition: transform .2s, opacity .2s;
}
.footer-col ul li a:hover,
.footer-links a:hover {
    color: #fff;
    background: rgba(255,255,255,.05);
}
.footer-links a:hover i {
    opacity: 1;
    transform: translateX(-3px);
    color: #60A5FA;
}
.footer-hours,
.footer-info-card,
.footer-phone {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
}
.footer-hours { margin-top: 0; }
.footer-hours strong,
.footer-phone strong {
    display: block;
    color: #fff;
    font-size: .72rem;
    margin-bottom: 1px;
}
.footer-hours span:last-child,
.footer-phone b {
    color: #9CA3AF;
    font-size: .76rem;
    font-weight: 500;
}
.footer-phone {
    text-decoration: none;
    color: inherit;
    margin-bottom: 0;
    transition: border-color .2s, background .2s, transform .2s;
}
.footer-phone:hover {
    background: rgba(37,99,235,.12);
    border-color: rgba(96,165,250,.35);
    transform: translateY(-1px);
}
.footer-phone b {
    color: #93C5FD;
    font-weight: 700;
    font-size: .86rem;
}
.footer-mini-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex: none;
    background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(109,40,217,.3));
    color: #BFDBFE;
    font-size: .8rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(37,99,235,.14);
    border: 1px solid rgba(96,165,250,.28);
    color: #BFDBFE;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.footer-map-link:hover {
    background: rgba(37,99,235,.24);
    transform: translateY(-1px);
    color: #fff;
}
.footer-quick-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.footer-quick-cats a {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: #CBD5E1;
    font-size: .72rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.footer-quick-cats a:hover {
    background: rgba(37,99,235,.18);
    border-color: rgba(96,165,250,.35);
    color: #fff;
}
.social-row { display: flex; gap: 6px; flex-wrap: wrap; }
.soc-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .92rem;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
.soc-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .22s ease;
}
.soc-icon.fb::before { background: linear-gradient(135deg, #1877F2, #0A4CB3); opacity: .9; }
.soc-icon.ig::before { background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF); opacity: .9; }
.soc-icon.wa::before { background: linear-gradient(135deg, #25D366, #128C7E); opacity: .9; }
.soc-icon.wc::before { background: linear-gradient(135deg, #0EA5E9, #2563EB); opacity: .9; }
.soc-icon i { position: relative; z-index: 1; }
.soc-icon.fb,
.soc-icon.ig,
.soc-icon.wa,
.soc-icon.wc { background: rgba(255,255,255,0.06); }
.soc-icon:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 22px rgba(0,0,0,.28);
    border-color: transparent;
}
.soc-icon:hover::before { opacity: 1; }
.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    padding: 6px 0 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #6B7280;
    font-size: .76rem;
}
.footer-bottom-note {
    color: #94A3B8;
    font-weight: 600;
}

.recently-viewed-section {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    padding: 36px 0 20px !important;
}
.recently-viewed-section .section-header {
    text-align: right !important;
    margin-bottom: 20px !important;
}
.recently-viewed-section h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}


/* RESPONSIVE */
@media (max-width: 1320px) {
    .navbar {
        grid-template-columns: auto minmax(240px, 1fr) auto;
    }
    .nav-links { display: none; }
    .nav-search { max-width: none; }
}

@media (max-width: 1120px) {
    .lounge-cta {
        width: 42px;
        padding: 0;
    }
    .lounge-cta span { display: none; }
    .store-categories {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-bar,
    .features-bar--bridge {
        grid-template-columns: repeat(2, 1fr);
        margin: 8px auto 0;
    }
    .features-bar--strip {
        border-radius: 12px 12px 0 0;
    }
    .features-bar--strip .feature-card:nth-child(2) {
        border-inline-start: 0;
    }
    .features-bar--strip .feature-card:nth-child(n + 3) {
        border-top: 1px solid #E8ECF1;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .footer-top-cards {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .footer-inner {
        padding: 10px 0 6px;
        gap: 8px;
    }
    .site-footer--slim .footer-inner {
        padding: 10px 0 12px;
    }
    .site-footer--slim .footer-grid,
    .footer-grid--dense {
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
    }
    .site-footer--slim .footer-col--contact {
        grid-column: 1 / -1;
    }
    .site-footer--bar .footer-inner,
    .footer-bar {
        grid-template-columns: 1fr 1fr;
        padding: 10px 0;
    }
    .footer-panel--reach {
        grid-column: 1 / -1;
        border-inline-start: 0;
        border-top: 1px solid rgba(148, 163, 184, .16);
        padding-top: 10px;
        margin-top: 4px;
    }
    .footer-panel + .footer-panel--reach {
        border-inline-start: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: auto;
        height: auto;
        grid-template-columns: auto 1fr auto;
        align-content: center;
        row-gap: 6px;
        padding-top: 6px;
        padding-bottom: 6px;
        width: min(100% - 24px, var(--container));
    }
    .nav-brand { font-size: 1.16rem; }
    .nav-brand img { width: 34px; height: 34px; }
    .nav-search {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 40px;
        width: 100%;
        order: 3;
    }
    .nav-search input { font-size: .82rem; }
    .nav-search button { padding: 6px 12px; }
    .nav-actions {
        gap: 2px;
        justify-self: end;
    }
    .nav-icon-btn,
    .cart-btn { width: 40px; height: 40px; font-size: 1.05rem; }
    #searchBtn { display: none; }
    .lounge-cta {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 12px;
    }
    .lounge-cta span { display: none; }
    .admin-btn { display: none; }
    .menu-toggle, .menu-btn { display: none !important; }
    .nav-secondary {
        width: min(100% - 24px, var(--container));
        padding-bottom: 6px;
        gap: 4px;
    }
    .nav-secondary a { padding: 6px 12px; font-size: .84rem; }
    .mobile-menu { top: 108px; }
    .site-header { box-shadow: 0 1px 0 rgba(15,23,42,0.04); }
    .occasions-slider-wrap,
    .ticker-wrap { margin-top: 0; }
    .slide-content h1 { font-size: 1.8rem; }
    .slide-icon { display: none; }
    .hero-slide { padding: 40px 5%; }
    .stat-item { padding: 14px 16px; font-size: .8rem; }
    .section {
        width: min(100% - 24px, var(--container));
        padding: 32px 0;
    }
    .store-categories {
        width: min(100% - 24px, var(--container));
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .store-cat-card {
        padding: 12px;
        min-height: 72px;
        gap: 8px;
    }
    .store-cat-card .fa-arrow-left { display: none; }
    .store-cat-icon { width: 40px; height: 40px; font-size: 1.05rem; }
    .features-bar,
    .features-bar--bridge {
        width: min(100% - 24px, var(--container));
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin: 6px auto 0;
    }
    .features-bar--strip .feature-card {
        padding: 9px 10px;
        gap: 8px;
        grid-template-columns: 36px minmax(0, 1fr);
    }
    .feature-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    .feature-icon i { font-size: 1rem; }
    .feature-copy strong { font-size: 12px; }
    .feature-copy p { font-size: 11px; }
    .footer-inner {
        width: min(100% - 24px, var(--container));
        gap: 8px;
        padding: 8px 0 6px;
    }
    .site-footer--slim .footer-inner {
        padding: 10px 0 12px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-bottom: 8px;
    }
    .footer-top-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 10px; }
    .site-footer--slim .footer-grid,
    .footer-grid--dense {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .site-footer--slim .footer-col--contact {
        grid-column: auto;
    }
    .footer-contact-actions {
        justify-content: flex-start;
    }
    .site-footer--bar .footer-inner,
    .footer-bar {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px 0;
    }
    .footer-panel {
        padding: 8px 0;
        grid-template-rows: auto auto auto;
    }
    .footer-panel + .footer-panel {
        border-inline-start: 0;
        border-top: 1px solid rgba(148, 163, 184, .16);
    }
    .footer-panel--reach {
        grid-column: auto;
        margin-top: 0;
        padding-top: 8px;
    }
    .footer-tel {
        font-size: .98rem;
        min-height: 38px;
    }
    .footer-reach-row {
        grid-template-columns: 1fr repeat(3, 32px);
    }
    .footer-links--split { grid-template-columns: 1fr; }
    .footer-lead { max-width: none; }
    .footer-bottom {
        width: min(100% - 24px, var(--container));
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
        gap: 6px;
    }
    .services-big-grid { grid-template-columns: 1fr; }
    .printing-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .mobile-product-tools { margin-top: -8px; gap: 12px; }
    .mobile-category-strip {
        margin-inline: -4%;
        padding-inline: 4%;
        scroll-snap-type: x proximity;
    }
    .mobile-filter-chip {
        scroll-snap-align: start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        min-width: 82px;
        min-height: 66px;
        padding: 8px 10px;
        font-size: .78rem;
    }
    .mobile-filter-chip i { width: 30px; height: 30px; }
    .mobile-filter-chip small {
        position: absolute;
        top: 7px;
        left: 8px;
        min-width: 20px;
        height: 20px;
        font-size: .65rem;
    }
    .mobile-sort-row {
        align-items: stretch;
        padding: 9px;
    }
    .mobile-sort-label,
    .mobile-filter-meta { width: 100%; }
    .mobile-sort-options {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
    }
    .mobile-sort-btn {
        flex: 0 0 auto;
        min-height: 34px;
        font-size: .76rem;
        padding: 7px 10px;
    }
    /* Product card mobile — عمودان */
    .pc-order-text { display: inline; }
    .pc-cart-text { display: none; }
    .pc-btn-order,
    .pc-btn-cart { min-height: 36px; }
    .pc-btn-order { padding: 7px 8px; gap: 4px; font-size: 10px; }
    .pc-btn-cart { flex: 0 0 36px !important; width: 36px; padding: 7px; gap: 0; font-size: 0; }
    .pc-btn-order i,
    .pc-btn-cart i { font-size: 0.82rem; }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pc-body { padding: 9px 9px 10px; gap: 3px; }
    .pc-category-label { font-size: 9px; }
    .pc-title { font-size: 0.9rem; font-weight: 800; line-height: 1.5; min-height: 42px; -webkit-line-clamp: 2; }
    .pc-price { font-size: 1rem; margin-top: 1px; }
    .pc-actions { gap: 6px; margin-top: 2px; padding-top: 3px; }
    .wish-btn { top: 8px; left: 8px; width: 36px; height: 36px; border-radius: 11px; }
}

/* --- PREMIUM REDESIGN --- */
.hero-premium {
    min-height: 100vh;
    padding: 120px 5% 60px;
    background: radial-gradient(circle at 10% 50%, rgba(157,0,255,0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(37,99,235,0.15) 0%, transparent 40%),
                var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 61, 113, 0.1);
    border: 1px solid rgba(255, 61, 113, 0.3);
    color: #ff3d71;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(255, 61, 113, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 40%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.1);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-neon-primary {
    padding: 14px 32px;
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(157,0,255,0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-neon-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37,99,235,0.6);
}

.btn-neon-outline {
    padding: 14px 32px;
    background: var(--bg2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-neon-outline:hover {
    background: rgba(37,99,235,0.1);
    border-color: var(--blue);
    box-shadow: 0 0 20px rgba(37,99,235,0.2);
    transform: translateY(-3px);
}

.features-bar-inline {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.features-bar-inline span {
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.features-bar-inline i {
    color: var(--blue);
}

.hero-visuals {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glassmorphism {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.deal-of-day-card {
    width: 320px;
    padding: 25px;
    position: relative;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(37,99,235,0.3);
    box-shadow: 0 20px 50px rgba(37,99,235,0.15), inset 0 0 20px rgba(37,99,235,0.05);
}

.deal-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff3d71;
    color: white;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255,61,113,0.4);
}

.deal-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

.deal-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.deal-prices {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.old-price {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 0.95rem;
}
.new-price {
    color: var(--blue);
    font-size: 1.5rem;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(37,99,235,0.3);
}

.countdown {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}
.time-box {
    flex: 1;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 5px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
}
.time-box span {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
}

.floating-tech {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--bg2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1;
}
.floating-tech.laptop { top: 10%; right: 10%; color: var(--blue); box-shadow: 0 0 30px rgba(37,99,235,0.2); animation: float 5s ease-in-out infinite 1s; }
.floating-tech.headphones { bottom: 15%; right: 20%; color: var(--purple); box-shadow: 0 0 30px rgba(157,0,255,0.2); animation: float 7s ease-in-out infinite 2s; }
.floating-tech.phone { top: 20%; left: 5%; color: #ff3d71; box-shadow: 0 0 30px rgba(255,61,113,0.2); animation: float 6s ease-in-out infinite 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* NEW TODAY SECTION */
.new-today-section {
    padding: 100px 5%;
}

.neon-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text);
    text-shadow: 0 0 20px rgba(37,99,235,0.3);
    margin-bottom: 10px;
}

.glass-tabs {
    display: flex;
    gap: 15px;
    background: rgba(18,20,29,0.4);
    padding: 8px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    margin: 40px auto;
    max-width: fit-content;
    flex-wrap: wrap;
    justify-content: center;
}

.glass-tabs .tab-btn {
    background: transparent;
    border: none;
    color: var(--muted);
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
}

.glass-tabs .tab-btn.active {
    background: linear-gradient(45deg, var(--blue), var(--purple));
    color: #fff;
    box-shadow: 0 5px 15px rgba(157,0,255,0.3);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    animation: fadeIn 0.5s ease;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.premium-card {
    padding: 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.premium-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37,99,235,0.4);
    box-shadow: 0 20px 40px rgba(37,99,235,0.15);
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    z-index: 2;
}
.premium-badge.new { background: #25d366; box-shadow: 0 0 10px rgba(37,211,102,0.4); }
.premium-badge.update { background: var(--blue); box-shadow: 0 0 10px rgba(37,99,235,0.4); }
.premium-badge.trend { background: #ff3d71; box-shadow: 0 0 10px rgba(255,61,113,0.4); }

.card-img-wrap {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 16px;
}

.premium-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.premium-card-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.premium-card-body p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
}

.micro-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.micro-stats .hot { color: #ff3d71; }
.micro-stats .viewers { color: var(--blue); }
.micro-stats .limited { color: #f39c12; }

@media (max-width: 992px) {
    .hero-premium {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    .hero-actions { justify-content: center; }
    .features-bar-inline { justify-content: center; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    .deal-of-day-card { width: 100%; }
}

/* W-100 utility */
.w-100 { width: 100%; justify-content: center; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
* { scrollbar-width: thin; scrollbar-color: var(--purple) var(--bg2); }

/* ==========================================================================
   ADDITIONAL PREMIUM FEATURES CSS
   ========================================================================== */

/* 1. Custom Smart Toast Notifications */
.dragon-toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10000;
    pointer-events: none;
    max-width: 380px;
    width: calc(100% - 48px);
}
.dragon-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(18, 20, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: auto;
    direction: rtl;
    transform-origin: bottom center;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
}
.dragon-toast.toast-success {
    border-right: 4px solid var(--success);
    box-shadow: var(--shadow-md);
}
.dragon-toast.toast-success i {
    color: var(--success);
    text-shadow: none;
}
.dragon-toast.toast-info {
    border-right: 4px solid var(--blue);
    box-shadow: var(--shadow-md);
}
.dragon-toast.toast-info i {
    color: var(--blue);
    text-shadow: none;
}
.dragon-toast.toast-error {
    border-right: 4px solid #EF4444;
    box-shadow: var(--shadow-md);
}
.dragon-toast.toast-error i {
    color: #EF4444;
    text-shadow: none;
}
.dragon-toast.toast-fade-out {
    animation: toastSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-15px) scale(0.92);
    }
}

/* 2. Floating Help & Scroll to Top Buttons */
.dc-track-link { display: none !important; }
.floating-actions-container {
    position: fixed;
    inset-inline-end: 22px;
    inset-inline-start: auto;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: 900;
}
.floating-help-panel {
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(37,99,235,.18);
    border-radius: 18px;
    background: rgba(15,16,22,.86);
    box-shadow: 0 18px 48px rgba(0,0,0,.26);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.96);
    transform-origin: bottom right;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    pointer-events: none;
}
[data-theme="light"] .floating-help-panel {
    background: rgba(255,255,255,.92);
}
.floating-help-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.floating-help-title {
    padding: 7px 9px 9px;
    border-bottom: 1px solid rgba(37,99,235,.12);
    margin-bottom: 2px;
}
.floating-help-title strong,
.floating-help-title small {
    display: block;
}
.floating-help-title strong {
    color: var(--text);
    font-size: .9rem;
    font-weight: 900;
}
.floating-help-title small {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    margin-top: 2px;
}
.floating-help-item {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    font-size: .84rem;
    font-weight: 800;
    text-align: right;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, color .2s ease;
}
.floating-help-item:hover {
    background: rgba(37,99,235,.09);
    color: var(--blue);
    transform: translateX(2px);
}
.floating-help-item i {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    flex: none;
}
.floating-help-missing {
    background: linear-gradient(90deg, rgba(37,99,235,.1), rgba(139,92,246,.08));
}
.floating-help-missing i {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 6px 16px rgba(249,115,22,.22);
}
body.missing-product-open { overflow: hidden; }
.missing-product-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(2,6,23,.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease;
}
.missing-product-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.missing-product-modal {
    position: relative;
    width: min(500px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    direction: rtl;
    padding: 26px;
    border: 1px solid rgba(96,165,250,.22);
    border-radius: 26px;
    color: var(--text);
    background:
        radial-gradient(circle at 100% 0, rgba(37,99,235,.18), transparent 34%),
        radial-gradient(circle at 0 100%, rgba(139,92,246,.14), transparent 38%),
        rgba(12,16,29,.97);
    box-shadow: 0 30px 90px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.05);
    transform: translateY(18px) scale(.97);
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.missing-product-backdrop.active .missing-product-modal { transform: translateY(0) scale(1); }
[data-theme="light"] .missing-product-modal {
    background:
        radial-gradient(circle at 100% 0, rgba(37,99,235,.12), transparent 34%),
        radial-gradient(circle at 0 100%, rgba(139,92,246,.09), transparent 38%),
        rgba(255,255,255,.98);
}
.missing-product-close {
    position: absolute;
    inset-inline-end: 16px;
    top: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 11px;
    background: rgba(148,163,184,.09);
    color: var(--muted);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}
.missing-product-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-inline-end: 28px;
    margin-bottom: 22px;
}
.missing-product-heading-icon {
    width: 52px;
    height: 52px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 12px 30px rgba(37,99,235,.28);
}
.missing-product-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #60a5fa;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .04em;
}
.missing-product-heading h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 900;
}
.missing-product-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.75;
}
.missing-product-label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 2px 7px;
    color: var(--text);
    font-size: .78rem;
    font-weight: 900;
}
.missing-product-label b { color: #fb7185; }
.missing-product-label span {
    color: var(--muted);
    font-size: .66rem;
    font-weight: 700;
}
.missing-product-input-wrap {
    position: relative;
    margin-bottom: 17px;
}
.missing-product-input-wrap > i {
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    color: #60a5fa;
    transform: translateY(-50%);
}
.missing-product-input-wrap input {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 0 43px 0 14px;
    border: 1px solid rgba(148,163,184,.2);
    border-radius: 14px;
    outline: 0;
    color: var(--text);
    background: rgba(15,23,42,.55);
    font: 700 .82rem 'Cairo', sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease;
}
[data-theme="light"] .missing-product-input-wrap input { background: rgba(241,245,249,.85); }
.missing-product-input-wrap input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}
.missing-product-upload {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 16px;
    border: 1.5px dashed rgba(96,165,250,.4);
    border-radius: 17px;
    color: var(--text);
    background: rgba(37,99,235,.06);
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.missing-product-upload:hover {
    border-color: #60a5fa;
    background: rgba(37,99,235,.1);
    transform: translateY(-1px);
}
.missing-product-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}
.missing-product-upload-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 2px;
    border-radius: 14px;
    color: #60a5fa;
    background: rgba(59,130,246,.13);
    font-size: 1.1rem;
}
.missing-product-upload strong { font-size: .8rem; }
.missing-product-upload small { color: var(--muted); font-size: .66rem; }
.missing-product-preview {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) 34px;
    align-items: center;
    gap: 11px;
    margin-top: 10px;
    padding: 9px;
    border: 1px solid rgba(52,211,153,.2);
    border-radius: 14px;
    background: rgba(16,185,129,.07);
}
.missing-product-preview[hidden] { display: none; }
.missing-product-preview img {
    width: 58px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
}
.missing-product-preview div { min-width: 0; }
.missing-product-preview strong,
.missing-product-preview small { display: block; }
.missing-product-preview strong {
    overflow: hidden;
    color: var(--text);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.missing-product-preview small { margin-top: 2px; color: #34d399; font-size: .63rem; }
.missing-product-preview button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 9px;
    color: #fb7185;
    background: rgba(244,63,94,.1);
    cursor: pointer;
}
.missing-product-error {
    display: none;
    margin: 10px 0 0;
    padding: 9px 11px;
    border: 1px solid rgba(251,113,133,.28);
    border-radius: 11px;
    color: #fda4af;
    background: rgba(244,63,94,.08);
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.7;
}
.missing-product-error.visible { display: block; }
.missing-product-submit {
    width: 100%;
    min-height: 52px;
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    padding: 10px 16px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 13px 28px rgba(34,197,94,.23);
    font: 900 .84rem 'Cairo', sans-serif;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.missing-product-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 34px rgba(34,197,94,.3);
}
.missing-product-submit .fa-whatsapp { font-size: 1.35rem; }
.missing-product-submit .fa-arrow-left { font-size: .75rem; }
.missing-product-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 700;
}
.missing-product-trust i { margin-left: 3px; color: #60a5fa; }
.floating-btn {
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
}
.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.floating-btn-help {
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #152238, #0ea5e9 48%, #8b5cf6);
    box-shadow: 0 12px 34px rgba(37,99,235,.24);
}
.floating-btn-help i { font-size: 1rem; }
.floating-btn-help span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.floating-btn-help[aria-expanded="true"] {
    box-shadow: 0 0 0 4px rgba(37,99,235,.12), 0 16px 38px rgba(0,0,0,.26);
}
.floating-btn-scrollup {
    width: 42px;
    height: 42px;
    display: none;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    font-size: .95rem;
}
.floating-btn-scrollup.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
@media (max-width: 768px) {
    .floating-actions-container {
        inset-inline-end: 14px;
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }
    .floating-help-panel {
        width: min(250px, calc(100vw - 28px));
    }
    .floating-btn-help {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 14px;
    }
    .floating-btn-scrollup {
        width: 40px;
        height: 40px;
    }
    .missing-product-backdrop {
        align-items: flex-end;
        padding: 10px;
    }
    .missing-product-modal {
        width: 100%;
        max-height: calc(100dvh - 20px);
        padding: 22px 17px 18px;
        border-radius: 24px;
    }
    .missing-product-heading {
        gap: 11px;
        margin-bottom: 18px;
    }
    .missing-product-heading-icon {
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }
    .missing-product-heading h2 { font-size: 1.1rem; }
    .missing-product-upload { min-height: 112px; }
    /* مساحة سفلية حتى لا تغطي الأزرار العائمة بطاقات المنتجات */
    .all-products-section .products-grid {
        padding-bottom: 110px;
    }
}

/* 3. Product Status Badges — متوفر / غير متوفر */
.pc-img-wrap .wish-btn {
    left: 12px;
    right: auto;
}
.pc-img-wrap .pc-status-badge {
    top: 8px;
    right: 8px;
    left: auto;
}

/* 4. Product Page Share Component */
.pd-share-wrapper {
    position: relative;
    display: inline-block;
}
.pd-share-popover {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(24, 26, 38, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 200px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pd-share-popover.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.pd-share-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: right;
    transition: all 0.2s ease;
}
.pd-share-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.pd-share-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}
.pd-share-item.whatsapp i { color: #25D366; }
.pd-share-item.copy i { color: var(--cyan); }

/* Recently Viewed Section Home styling */
.recently-viewed-section {
    padding: 60px 5%;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 20, 29, 0.3) 100%);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

/* ==========================================================================
   OCCASIONS SLIDER
   ========================================================================== */
.occasions-slider-wrap {
    margin-top: 0;
    position: relative;
    padding: 12px 0 0;
    margin-bottom: 0;
    background: transparent;
}
.home-hero-layout {
    width: min(100% - 40px, min(1440px, var(--container)));
    margin: 0 auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(260px, 0.9fr);
    gap: 16px;
    align-items: stretch;
}
.home-hero-layout--triple {
    grid-template-columns: minmax(230px, 0.25fr) minmax(460px, 0.5fr) minmax(230px, 0.25fr);
    gap: 12px;
}
.home-hero-layout .occ-track {
    border-radius: 18px;
    overflow: hidden;
    height: 300px;
    min-height: 280px;
    max-height: 320px;
}
.home-side-offers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
    min-width: 0;
}
.home-side-offers #homeRibbonOffers,
.home-side-offers #homeRibbonOffersStart,
.home-side-offers #homeRibbonOffersEnd {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-width: 0;
}
.home-side-offers .occ-ocard {
    width: 100%;
    min-height: 0;
    flex: 1;
}
.home-hero-layout--triple .occ-ocard {
    min-height: 144px;
    height: 100%;
    box-shadow: 0 6px 20px rgba(15,23,42,0.06);
}
.home-hero-layout--triple .occ-ocard-link {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    min-height: 136px;
    height: 100%;
    padding: 12px;
    align-items: center;
}
.home-hero-layout--triple .occ-product-media {
    width: 108px;
    height: 108px;
    min-height: 108px;
    max-height: 108px;
    align-self: center;
    flex: none;
}
.home-hero-layout--triple .occ-product-body {
    min-height: 0;
    height: 100%;
    justify-content: space-between;
    gap: 6px;
}
.home-hero-layout--triple .occ-ocard h4 {
    font-size: clamp(1.12rem, 1.35vw, 1.28rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
}
.home-hero-layout--triple .occ-now {
    font-size: 1.15rem;
    font-weight: 900;
    white-space: nowrap;
}
.home-hero-layout--triple .occ-old {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration-thickness: 2px;
}
.home-hero-layout--triple .occ-order-btn {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.88rem;
    border-radius: 11px;
    gap: 6px;
    flex: none;
}
.home-hero-layout--triple .occ-product-topline {
    margin-bottom: 4px;
    gap: 8px;
    flex-wrap: nowrap;
}
.home-hero-layout--triple .occ-product-eyebrow {
    min-width: 0;
    flex: 1 1 auto;
    font-size: clamp(1.02rem, 1.15vw, 1.18rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.home-hero-layout--triple .occ-product-eyebrow i {
    font-size: 1rem;
}
.home-hero-layout--triple .occ-product-footer {
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: auto;
}
.home-hero-layout--triple .occ-price {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}
@media (min-width: 1121px) {
    .home-hero-layout--triple {
        height: 300px;
        gap: 0;
        padding: 0;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: var(--card-bg);
        box-shadow: 0 8px 24px rgba(15,23,42,.07);
    }
    .home-hero-layout--triple .occ-track {
        height: 100%;
        min-height: 100%;
        max-height: 100%;
        border-radius: 0;
        border-inline: 1px solid var(--border);
    }
    .home-hero-layout--triple .home-side-offers,
    .home-hero-layout--triple .home-side-offers .occ-ribbon-in,
    .home-hero-layout--triple .home-side-offers #homeRibbonOffers,
    .home-hero-layout--triple .home-side-offers #homeRibbonOffersStart,
    .home-hero-layout--triple .home-side-offers #homeRibbonOffersEnd {
        width: 100%;
        max-width: none;
        height: 100%;
        min-height: 0;
        margin: 0;
        padding: 0;
        gap: 0;
    }
    .home-side-offers #homeRibbonOffers,
    .home-side-offers #homeRibbonOffersStart,
    .home-side-offers #homeRibbonOffersEnd {
        gap: 0;
    }
    .home-hero-layout--triple .occ-ocard {
        min-height: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .home-hero-layout--triple .home-side-offers .occ-ocard:first-child {
        border-bottom: 1px solid var(--border);
    }
    .home-hero-layout--triple .occ-ocard:hover {
        z-index: 2;
        transform: none;
        box-shadow: inset 0 0 0 1px rgba(37,99,235,.32);
    }
    .home-hero-layout--triple .occ-ocard-link {
        min-height: 0;
        padding: 12px 14px;
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
    }
    .home-hero-layout--triple .occ-product-media {
        width: 104px;
        height: 104px;
        min-height: 104px;
        max-height: 104px;
    }
    .home-hero-layout--triple .occ-product-body {
        height: 104px;
        min-height: 104px;
        max-height: 104px;
        overflow: hidden;
    }
    .home-hero-layout--triple .occ-product-footer {
        align-items: center;
        flex-direction: row;
        gap: 8px;
    }
    .home-hero-layout--triple .occ-price {
        align-items: baseline;
        flex-direction: row;
        gap: 10px;
    }
    .home-hero-layout--triple .occ-order-btn {
        width: auto;
        min-height: 38px;
        justify-content: center;
        padding: 8px 14px;
        font-size: .86rem;
    }
    .home-hero-layout--triple .occ-product-eyebrow {
        font-size: 1.08rem;
        line-height: 1.25;
        font-weight: 800;
        letter-spacing: -0.015em;
    }
    .home-hero-layout--triple .occ-product-eyebrow i {
        font-size: .95rem;
    }
    .home-hero-layout--triple .occ-ocard h4 {
        font-size: 1.14rem;
        line-height: 1.38;
    }
    .home-hero-layout--triple .occ-now {
        font-size: 1.12rem;
    }
    .home-hero-layout--triple .occ-old {
        font-size: .98rem;
        line-height: 1.2;
        color: #64748b;
    }
    .home-hero-layout--triple .occ-content {
        padding-inline: 48px;
    }
    .home-hero-layout--triple .occ-kicker {
        margin-bottom: 10px;
        padding: 5px 12px;
        font-size: .76rem;
    }
    .home-hero-layout--triple .occ-slide h2 {
        margin-bottom: 8px;
        font-size: clamp(1.75rem, 2.7vw, 2.2rem);
    }
    .home-hero-layout--triple .occ-slide p {
        margin-bottom: 16px;
        font-size: .88rem;
    }
    .home-hero-layout--triple .occ-btn {
        padding: 9px 16px;
        font-size: .82rem;
    }
}

/* All products section */
.all-products-section {
    padding-top: 30px !important;
    padding-bottom: 6px !important;
    margin-top: 0 !important;
}
.occasions-slider-wrap {
    margin-bottom: 0;
    padding-bottom: 0;
}
.all-products-head,
.all-products-title-wrap,
.all-products-count { display: none !important; }
.home-category-showcase {
    display: grid;
    grid-template-columns: minmax(190px, .72fr) minmax(0, 3fr);
    align-items: stretch;
    gap: 12px;
    margin-bottom: 14px;
}
.home-products-intro {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 104px;
    padding: 17px 19px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 18px;
    margin-bottom: 0;
    background:
        radial-gradient(circle at 8% 115%, rgba(37, 99, 235, .14), transparent 44%),
        linear-gradient(135deg, rgba(37, 99, 235, .07), transparent 64%),
        var(--card-bg);
    box-shadow: 0 3px 14px rgba(15, 23, 42, .04);
}
.home-products-intro::before {
    content: "";
    position: absolute;
    inset-block: 18px;
    inset-inline-start: 0;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--blue), #8b5cf6);
}
.home-products-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
    color: var(--blue);
    font-size: .74rem;
    font-weight: 800;
}
.home-products-intro h2 {
    color: var(--text);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.4;
}
.home-products-intro p {
    margin-top: 2px;
    color: var(--muted);
    font-size: .82rem;
}
.home-products-show-all {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--muted);
    background: var(--card-bg);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.home-products-show-all:hover,
.home-products-show-all.is-active {
    color: var(--blue);
    border-color: rgba(37, 99, 235, .3);
    background: rgba(37, 99, 235, .06);
}
.home-category-banners {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 0;
}
.home-category-banner {
    --category-accent: #38bdf8;
    --category-accent-rgb: 56, 189, 248;
    position: relative;
    isolation: isolate;
    min-height: 104px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    text-align: right;
    font-family: inherit;
    cursor: pointer;
    background:
        linear-gradient(110deg, rgba(var(--category-accent-rgb), .11), transparent 58%),
        var(--card-bg);
    box-shadow: 0 3px 14px rgba(15, 23, 42, .045);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.home-category-banner[href] {
    text-decoration: none;
}
.home-category-banner--computer {
    --category-accent: #60a5fa;
    --category-accent-rgb: 96, 165, 250;
}
.home-category-banner--electronics {
    --category-accent: #fbbf24;
    --category-accent-rgb: 251, 191, 36;
}
.home-category-banner--mobile {
    --category-accent: #a78bfa;
    --category-accent-rgb: 167, 139, 250;
}
.home-category-banner--printing {
    --category-accent: #10b981;
    --category-accent-rgb: 16, 185, 129;
}
.home-category-banner::before,
.home-category-banner::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
.home-category-banner::before {
    width: 90px;
    height: 90px;
    inset-inline-start: -36px;
    bottom: -52px;
    border: 1px solid rgba(var(--category-accent-rgb), .16);
    box-shadow: 0 0 0 16px rgba(var(--category-accent-rgb), .025);
}
.home-category-banner::after {
    width: 4px;
    height: 4px;
    top: 15px;
    inset-inline-end: 18px;
    background: var(--category-accent);
    box-shadow: 13px 8px 0 rgba(var(--category-accent-rgb), .35);
}
.home-category-banner__glow {
    position: absolute;
    z-index: -1;
    width: 90px;
    height: 90px;
    inset-inline-end: -28px;
    top: -44px;
    border-radius: 50%;
    background: rgba(var(--category-accent-rgb), .16);
    filter: blur(30px);
    transition: transform .35s ease, opacity .35s ease;
}
.home-category-banner__icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(var(--category-accent-rgb), .18);
    border-radius: 15px;
    color: var(--category-accent);
    background: rgba(var(--category-accent-rgb), .1);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .3s ease, background .3s ease;
}
.home-category-banner__icon i {
    font-size: 1.35rem;
}
.home-category-banner__content {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}
.home-category-banner__content small {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 600;
}
.home-category-banner__content strong {
    margin-top: 0;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.4;
}
.home-category-banner__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    color: var(--category-accent);
    font-size: .7rem;
    font-weight: 800;
}
.home-category-banner__action i {
    transition: transform .25s ease;
}
.home-category-banner__count {
    position: absolute;
    top: 9px;
    inset-inline-start: 9px;
    min-width: 30px;
    height: 23px;
    display: none;
    place-items: center;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: var(--bg2);
    font-size: .64rem;
    font-weight: 800;
}
.home-category-banner__count:not(:empty) { display: grid; }
.home-category-banner:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--category-accent-rgb), .42);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.home-category-banner:hover .home-category-banner__icon {
    transform: scale(1.04);
    background: rgba(var(--category-accent-rgb), .16);
}
.home-category-banner:hover .home-category-banner__action i {
    transform: translateX(-4px);
}
.home-category-banner:hover .home-category-banner__glow { transform: scale(1.2); }
.home-category-banner:focus-visible {
    outline: none;
    border-color: var(--category-accent);
    box-shadow: 0 0 0 3px rgba(var(--category-accent-rgb), .16);
}
.home-category-banner.is-active {
    border-color: var(--category-accent);
    box-shadow: 0 0 0 2px rgba(var(--category-accent-rgb), .12), 0 8px 20px rgba(15, 23, 42, .07);
}
.home-category-banner.is-active .home-category-banner__icon {
    color: #fff;
    background: var(--category-accent);
}
.all-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    margin-top: 0;
    padding: 12px 14px 12px 12px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .07), transparent 48%),
        var(--card-bg);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .055);
}
@media (min-width: 769px) {
    .all-products-toolbar {
        position: sticky;
        top: 72px;
        z-index: 30;
        background:
            linear-gradient(135deg, rgba(37, 99, 235, .08), transparent 48%),
            color-mix(in srgb, var(--card-bg) 94%, transparent);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}
.all-products-toolbar__intro {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.all-products-toolbar__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 13px;
    color: var(--blue);
    background: rgba(37, 99, 235, .09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}
.all-products-toolbar__copy {
    display: grid;
    gap: 1px;
    line-height: 1.35;
}
.all-products-toolbar__copy small {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
}
.all-products-toolbar__copy strong {
    color: var(--text);
    font-size: .92rem;
    font-weight: 800;
}
.all-products-toolbar__controls {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}
.all-products-search-wrap,
.all-products-sort-wrap {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
.all-products-search-wrap {
    flex: 0 0 auto;
}
.all-products-sort-wrap {
    flex: 1 1 auto;
}
.all-products-control-label {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    padding-inline-start: 3px;
    font-size: .7rem;
    font-weight: 700;
    white-space: nowrap;
}
.all-products-search-field,
.all-products-sort-select {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--blue);
}
.all-products-search-field {
    width: clamp(210px, 20vw, 280px);
}
.all-products-sort-options {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 4px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 14px;
    background: var(--bg2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.all-products-sort-option {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    color: var(--muted);
    background: transparent;
    font-family: inherit;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.all-products-sort-option i {
    color: var(--blue);
    font-size: .76rem;
}
.all-products-sort-option:hover {
    color: var(--text);
    background: rgba(37, 99, 235, .09);
}
.all-products-sort-option:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}
.all-products-sort-option.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #1d4ed8);
    box-shadow: 0 6px 14px rgba(37, 99, 235, .24);
}
.all-products-sort-option.is-active i {
    color: #fff;
}
.all-products-sort-option:active {
    transform: translateY(1px);
}
.all-products-sort-select {
    min-width: 210px;
}
.all-products-search-field > i {
    position: absolute;
    inset-inline-start: 15px;
    z-index: 1;
    font-size: .86rem;
    pointer-events: none;
}
.all-products-sort-select > i:first-child {
    position: absolute;
    inset-inline-start: 15px;
    z-index: 1;
    font-size: .86rem;
    pointer-events: none;
}
.all-products-sort-chevron {
    position: absolute;
    inset-inline-end: 15px;
    z-index: 1;
    color: var(--muted);
    font-size: .68rem;
    pointer-events: none;
    transition: transform .2s ease;
}
.all-products-toolbar input,
.all-products-toolbar select {
    width: 100%;
    min-height: 46px;
    padding: 0 43px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 14px;
    background: var(--bg2);
    color: var(--text);
    font-family: inherit;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.all-products-toolbar input {
    padding: 0 43px 0 16px;
    cursor: text;
}
.all-products-toolbar input::placeholder {
    color: var(--muted);
    opacity: .78;
}
.all-products-toolbar input::-webkit-search-cancel-button {
    cursor: pointer;
}
.all-products-toolbar input:hover,
.all-products-toolbar select:hover {
    border-color: rgba(37, 99, 235, .38);
    background: color-mix(in srgb, var(--bg2) 90%, var(--blue) 10%);
}
.all-products-toolbar input:focus-visible,
.all-products-toolbar select:focus-visible {
    border-color: var(--blue);
    box-shadow: var(--focus-ring);
}
.all-products-sort-select:focus-within .all-products-sort-chevron {
    transform: rotate(180deg);
}
.all-products-section .products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 24px;
}
.home-page .all-products-section .product-card {
    border-radius: 20px;
    box-shadow: 0 3px 14px rgba(15, 23, 42, .05);
}
.home-page .all-products-section .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}
.home-page .all-products-section .pc-body {
    padding: 11px 12px 13px;
    gap: 4px;
}
.home-page .all-products-section .pc-title {
    min-height: 1.4em;
    font-size: clamp(15px, 1.15vw, 17px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.home-page .all-products-section .pc-price {
    font-size: 15px;
    font-weight: 800;
}
.home-page .all-products-section .pc-actions {
    padding-top: 4px;
}
.home-page .all-products-section .pc-btn-order,
.home-page .all-products-section .pc-btn-cart {
    min-height: 38px;
    border-radius: 10px;
}
.all-products-section .products-grid.products-grid--filtered {
    animation: categoryProductsReveal .38s ease both;
}
@keyframes categoryProductsReveal {
    from { opacity: .35; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.home-dynamic-products {
    padding-top: 24px !important;
    padding-bottom: 4px !important;
}
.home-dynamic-products[hidden] {
    display: none !important;
}
.home-dynamic-products__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 3px 14px rgba(15, 23, 42, .045);
}
.home-dynamic-products__title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.home-dynamic-products__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--blue);
    background: rgba(37, 99, 235, .09);
}
.home-dynamic-products__icon i {
    font-size: 1.05rem;
}
.home-dynamic-products h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    font-weight: 850;
    line-height: 1.35;
}
.home-dynamic-products p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.7;
}
.home-dynamic-products__close {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    background: var(--bg2);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.home-dynamic-products__close:hover,
.home-dynamic-products__close:focus-visible {
    color: var(--blue);
    border-color: rgba(37, 99, 235, .35);
    background: rgba(37, 99, 235, .07);
}
.home-dynamic-products .products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 18px;
}
.collection-products-page .collection-main {
    min-height: 0;
    padding-top: 0 !important;
}
.collection-products-page .collection-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 118px;
    margin-top: 0;
    margin-bottom: 2px;
    padding-top: 14px !important;
    padding-bottom: 12px !important;
}
.collection-products-page .collection-hero__copy {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 780px;
}
.collection-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 850;
}
.collection-products-page .collection-hero h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.45rem, 2.4vw, 2.05rem);
    line-height: 1.18;
    font-weight: 900;
}
.collection-products-page .collection-hero p {
    max-width: 720px;
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
}
.collection-products-page .collection-back {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    background: var(--card-bg);
    text-decoration: none;
    font-weight: 800;
    font-size: .82rem;
    white-space: nowrap;
}
.collection-back:hover,
.collection-back:focus-visible {
    color: var(--blue);
    border-color: rgba(37, 99, 235, .35);
    background: rgba(37, 99, 235, .07);
}
.collection-products-page .collection-products-section {
    padding-top: 0 !important;
    padding-bottom: 10px !important;
}
.collection-products-page[data-collection-type="recent"] {
    --collection-title-accent: #2563EB;
    --collection-title-gradient: linear-gradient(135deg, #38BDF8, #2563EB);
    --collection-title-shadow: rgba(37, 99, 235, .18);
}
.collection-products-page[data-collection-type="trending"] {
    --collection-title-accent: #F97316;
    --collection-title-gradient: linear-gradient(135deg, #F59E0B, #EF4444);
    --collection-title-shadow: rgba(249, 115, 22, .2);
}
.collection-products-page[data-collection-type="saveMore"] {
    --collection-title-accent: var(--blue);
    --collection-title-gradient: linear-gradient(135deg, var(--blue), var(--purple));
    --collection-title-shadow: rgba(37, 99, 235, .18);
}
.collection-products-page[data-collection-type="discounts"] {
    --collection-title-accent: #E11D48;
    --collection-title-gradient: linear-gradient(135deg, #F43F5E, #DB2777);
    --collection-title-shadow: rgba(225, 29, 72, .18);
}
.collection-products-page .collection-hero {
    min-height: 78px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.collection-products-page .collection-eyebrow,
.collection-products-page .collection-back {
    display: none !important;
}
.collection-products-page .collection-hero__copy {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    max-width: none;
}
.collection-products-page .collection-hero h1 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: none;
    color: var(--text);
    font-size: clamp(1.18rem, 1.7vw, 1.52rem);
    line-height: 1.2;
    letter-spacing: 0;
}
.collection-products-page .collection-hero h1::before {
    content: "\f005";
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff;
    background: var(--collection-title-gradient, linear-gradient(135deg, var(--blue), var(--purple)));
    font-family: "Font Awesome 6 Free";
    font-size: .78rem;
    font-weight: 900;
    box-shadow: 0 8px 18px var(--collection-title-shadow, rgba(37, 99, 235, .18));
}
.collection-products-page[data-collection-type="trending"] .collection-hero h1::before {
    content: "\f06d";
}
.collection-products-page[data-collection-type="saveMore"] .collection-hero h1::before {
    content: "\f0e7";
}
.collection-products-page[data-collection-type="discounts"] .collection-hero h1::before {
    content: "\f02b";
}
.collection-products-page .collection-hero h1::after {
    content: "";
    width: 38px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--collection-title-accent, var(--blue)), rgba(109, 40, 217, .12));
}
.collection-products-page .collection-hero p {
    max-width: 620px;
    margin: 0;
    font-size: .86rem;
    line-height: 1.55;
}
.collection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 3px 14px rgba(15, 23, 42, .045);
}
.collection-count {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}
.collection-sort-options {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
.collection-sort-option {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--muted);
    background: var(--bg2);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}
.collection-sort-option:hover,
.collection-sort-option:focus-visible,
.collection-sort-option.is-active {
    color: var(--blue);
    border-color: rgba(37, 99, 235, .35);
    background: rgba(37, 99, 235, .08);
}
.collection-products-section .products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 10px;
}
.collection-products-section .products-grid.products-grid--compact {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.collection-products-section .products-grid.products-grid--compact .product-card {
    border-radius: 14px;
}
.collection-products-section .products-grid.products-grid--compact .pc-body {
    padding: 10px;
    gap: 4px;
}
.collection-products-section .products-grid.products-grid--compact .pc-title {
    font-size: 14px;
    min-height: 0;
}
.collection-products-section .products-grid.products-grid--compact .pc-actions {
    padding-top: 4px;
}
.collection-products-section .empty-state {
    padding: 28px 16px;
}
@media (max-width: 1200px) {
    .all-products-toolbar__copy { display: none; }
    .all-products-sort-option {
        padding-inline: 8px;
        font-size: .71rem;
    }
    .products-grid,
    .home-dynamic-products .products-grid,
    .collection-products-section .products-grid,
    .all-products-section .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}
@media (max-width: 900px) {
    .home-category-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .home-category-banner {
        min-height: 100px;
        gap: 10px;
        padding: 13px;
    }
    .home-category-banner__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 14px;
    }
    .home-category-banner__icon i { font-size: 1.2rem; }
    .products-grid,
    .home-dynamic-products .products-grid,
    .collection-products-section .products-grid,
    .all-products-section .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .collection-products-page .collection-main {
        padding-top: 4px;
    }
    .collection-products-page .collection-hero,
    .collection-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .collection-products-page .collection-hero {
        min-height: 0;
        gap: 10px;
        padding-top: 10px !important;
        padding-bottom: 8px !important;
    }
    .collection-products-page .collection-back {
        width: fit-content;
    }
    .collection-sort-options {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .collection-sort-options::-webkit-scrollbar {
        display: none;
    }
    .home-dynamic-products__head {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 13px;
    }
    .home-dynamic-products__close {
        width: 100%;
    }
}

@media (max-width: 1120px) {
    .home-hero-layout,
    .home-hero-layout--triple {
        grid-template-columns: 1fr;
    }
    .home-hero-layout .occ-track,
    .home-hero-layout--triple .occ-track {
        height: 300px;
        min-height: 280px;
        max-height: none;
        width: 100%;
        order: -1;
    }
    .home-side-offers {
        display: contents;
        min-height: 0;
    }
    .home-side-offers #homeRibbonOffers,
    .home-side-offers #homeRibbonOffersStart,
    .home-side-offers #homeRibbonOffersEnd {
        display: contents;
    }
    .home-hero-layout--triple {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .home-hero-layout--triple .occ-track {
        grid-column: 1 / -1;
    }
    .home-hero-layout--triple .occ-ocard {
        min-height: 140px;
    }
}
@media (max-width: 768px) {
    .home-hero-layout,
    .home-hero-layout--triple {
        width: min(100% - 24px, var(--container));
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .home-hero-layout .occ-track,
    .home-hero-layout--triple .occ-track {
        height: 220px;
        min-height: 200px;
        width: 100%;
        max-width: 100%;
        grid-column: 1 / -1;
        order: -1;
    }
    .home-side-offers,
    .home-side-offers #homeRibbonOffers,
    .home-side-offers #homeRibbonOffersStart,
    .home-side-offers #homeRibbonOffersEnd {
        display: contents;
    }
    .home-side-offers .occ-ocard,
    .home-hero-layout--triple .occ-ocard {
        width: 100%;
        min-height: 150px;
        flex: none;
    }
    .home-hero-layout--triple .occ-ocard-link {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
        min-height: 160px;
    }
    .home-hero-layout--triple .occ-product-media {
        width: 118px;
        height: 118px;
        min-height: 118px;
        max-height: 118px;
    }
    .all-products-section {
        padding-top: 24px !important;
        padding-bottom: 8px !important;
    }
    .home-category-showcase {
        display: block;
        margin-bottom: 14px;
    }
    .home-products-intro {
        align-items: center;
        min-height: 0;
        padding: 13px 15px;
        margin-bottom: 13px;
    }
    .home-products-intro p { display: none; }
    .home-products-show-all {
        min-height: 36px;
        padding-inline: 12px;
    }
    .home-category-banners {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 76vw);
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
        margin-inline: -12px;
        padding: 2px 12px 10px;
    }
    .home-category-banners::-webkit-scrollbar { display: none; }
    .home-category-banner {
        min-height: 94px;
        scroll-snap-align: start;
    }
    .home-category-banner__content small { display: none; }
    .home-category-banner__action { margin-top: 3px; }
    .all-products-title-wrap {
        gap: 2px;
    }
    .all-products-head {
        margin-bottom: 12px;
    }
    .all-products-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 11px;
        padding: 12px;
    }
    .all-products-toolbar select {
        min-width: 0;
        flex: 1;
        width: 100%;
    }
    .all-products-toolbar__controls {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }
    .all-products-search-wrap,
    .all-products-sort-wrap {
        width: 100%;
    }
    .all-products-search-field,
    .all-products-sort-select {
        width: 100%;
        min-width: 0;
        flex: 1;
    }
    .all-products-sort-options {
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }
    .all-products-sort-options::-webkit-scrollbar { display: none; }
    .all-products-sort-option {
        flex: 1 0 auto;
        min-width: max-content;
        padding-inline: 11px;
    }
    .all-products-toolbar input {
        padding-inline: 39px 12px;
        font-size: .8rem;
    }
    .all-products-toolbar select {
        padding-inline: 39px 36px;
        font-size: .8rem;
    }
    .all-products-search-field > i,
    .all-products-sort-select > i:first-child {
        inset-inline-start: 13px;
    }
    .all-products-sort-chevron {
        inset-inline-end: 12px;
    }
    .all-products-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-category-banner,
    .home-category-banner__icon,
    .home-category-banner__action i,
    .home-category-banner__glow {
        transition: none;
    }
    .all-products-section .products-grid.products-grid--filtered {
        animation: none;
    }
}
.occ-track {
    position: relative;
    height: 320px;
    min-height: 300px;
    border-radius: 22px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 18px 48px rgba(2, 6, 23, .22);
}
.occ-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.occ-slide.occ-active {
    opacity: 1;
    pointer-events: all;
}
/* Image background */
.occ-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.occ-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
/* Dark gradient overlay for text readability (RTL: right side darker) */
.occ-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, .18) 0%, rgba(2, 6, 23, .38) 48%, rgba(2, 6, 23, .92) 100%),
        radial-gradient(circle at 22% 28%, rgba(14, 165, 233, .32), transparent 38%),
        radial-gradient(circle at 70% 88%, rgba(124, 58, 237, .24), transparent 42%);
}
[data-theme="light"] .occ-overlay {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, .16) 0%, rgba(2, 6, 23, .34) 48%, rgba(2, 6, 23, .88) 100%),
        radial-gradient(circle at 22% 28%, rgba(14, 165, 233, .28), transparent 38%),
        radial-gradient(circle at 70% 88%, rgba(124, 58, 237, .2), transparent 42%);
}

/* Slide content */
.occ-content {
    position: relative;
    z-index: 3;
    padding: 0 clamp(56px, 8%, 80px);
    max-width: 520px;
    color: #fff;
    animation: occSlideIn 0.9s ease both;
}
[data-theme="light"] .occ-content {
    color: #fff;
}
@keyframes occSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
.occ-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, .42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(125, 211, 252, .34);
    padding: 7px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 18px;
    color: #fff;
}
[data-theme="light"] .occ-kicker {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
.occ-slide h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 18px rgba(0,0,0,0.35);
    margin-bottom: 12px;
    color: #fff !important;
}
.occ-slide p {
    font-size: 1rem;
    max-width: 420px;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
    opacity: 1;
    margin-bottom: 26px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}
.occ-arrow {
    opacity: 0.38;
}
.occ-track:hover .occ-arrow,
.occ-arrow:focus-visible,
.occ-arrow:hover { opacity: 1; }
.occ-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    border: none;
    background: #fff;
    color: #2563EB;
    box-shadow: 0 6px 16px rgba(15,23,42,0.16);
    transition: all 0.25s ease;
    text-decoration: none;
}
.occ-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15,23,42,0.2);
    color: #2563EB;
}

/* Sparkle animations — muted for calmer UI */
.occ-spark { display: none !important; }

/* Arrow buttons */
.occ-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    font-size: 15px;
    color: #fff;
    display: grid;
    place-items: center;
    transition: all 0.25s ease;
}
.occ-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.04);
}
.occ-prev { right: 18px; }
.occ-next { left: 18px; }

/* Dots */
.occ-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 7px;
}
.occ-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}
.occ-dot.occ-dot-on {
    background: #fff;
    width: 24px;
    border-radius: 8px;
}

/* === Offers Ribbon === */
.occ-ribbon {
    width: min(100% - 40px, var(--container));
    margin: 8px auto 0;
    position: relative;
    z-index: 20;
    padding: 0 0 4px;
}
.home-offers-head {
    margin: 0 auto 14px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}
.home-offers-head span {
    display: inline-flex;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: .8rem;
    font-weight: 700;
}
.home-offers-head h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.35;
    font-weight: 700;
    color: var(--text);
}
.home-offers-head a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    color: var(--blue);
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s ease;
}
.home-offers-head a:hover {
    background: rgba(37,99,235,.08);
    transform: none;
}
.occ-ribbon-in {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 auto;
}
.home-side-offers .occ-ribbon-in,
.home-side-offers #homeRibbonOffers {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}
.occ-ocard {
    min-height: 148px;
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(15,23,42,0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.occ-ocard::before { display: none; }
.occ-ocard-link {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 14px;
    min-height: 148px;
    padding: 14px;
}
.occ-ocard:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15,23,42,0.1);
    border-color: rgba(37,99,235,0.28);
}
.occ-ocard.is-clickable {
    cursor: pointer;
}
.occ-ocard.is-clickable:focus-visible {
    outline: 3px solid rgba(37,99,235,.28);
    outline-offset: 3px;
}
.occ-product-media {
    width: 100%;
    height: 130px;
    border: 1px solid rgba(148,163,184,0.18);
    border-radius: 10px;
    flex: none;
    position: relative;
    overflow: hidden;
    background: #F8FAFC;
    box-shadow: none;
}
:root:not([data-theme="light"]) .occ-product-media { background: var(--bg3); }
.occ-product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255,255,255,0.12), transparent 45%);
    pointer-events: none;
}
.occ-product-media.no-image::before {
    content: "صورة المنتج";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,0.86);
    font-size: 0.7rem;
    font-weight: 800;
}
.occ-product-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    padding: 0;
}
.occ-product-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 152px;
    text-align: right;
}
.occ-product-topline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    min-width: 0;
}
.occ-product-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blue);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.occ-product-eyebrow i { font-size: .92rem; flex: none; }
.occ-deal-tag {
    display: none;
}
.occ-ocard h4 {
    max-width: 100%;
    font-size: clamp(1.12rem, 1.45vw, 1.32rem);
    font-weight: 800;
    line-height: 1.38;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
    color: var(--text);
}
.occ-product-title-link {
    color: inherit;
    text-decoration: none;
}
.occ-product-title-link:hover { color: var(--blue); }
.occ-price {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}
.occ-product-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}
.occ-now {
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--blue);
    text-shadow: none;
    white-space: nowrap;
}
.occ-now .occ-currency,
.occ-old .occ-currency {
    font-weight: 800;
    font-size: .82em;
    letter-spacing: .02em;
    unicode-bidi: isolate;
}
.occ-old {
    color: #64748b;
    text-decoration-thickness: 2px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}
.occ-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    margin-top: 0;
    padding: 10px 16px;
    border: none;
    border-radius: 11px;
    background: var(--blue);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    min-height: 40px;
}
.occ-order-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37,99,235,0.2);
}
.occ-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
}
.occ-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid rgba(37,99,235,.32);
    border-radius: 11px;
    background: var(--bg2);
    color: var(--blue);
    font-family: 'Cairo', sans-serif;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.occ-cart-btn:hover {
    background: rgba(37,99,235,.09);
    border-color: var(--blue);
    transform: translateY(-1px);
}
/* شارة الخصم فوق صورة المنتج لتبسيط منطقة النص */
.occ-pct {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    background: rgba(255,255,255,0.94);
    color: #B91C1C;
    font-weight: 800;
    font-size: 0.7rem;
    min-width: 0;
    padding: 3px 7px;
    text-align: center;
    border-radius: 999px;
    border: 1px solid rgba(239,68,68,0.16);
    box-shadow: 0 3px 10px rgba(15,23,42,.08);
    white-space: nowrap;
    flex: none;
}

/* واجهة العروض الرئيسية: تسلسل بصري أوضح وبطاقات هادئة بأسلوب متاجر عالمية. */
@media (min-width: 1121px) {
    .home-hero-layout--triple {
        grid-template-columns: minmax(255px, .28fr) minmax(500px, .44fr) minmax(255px, .28fr);
        height: 300px;
        border-color: rgba(148, 163, 184, .28);
        border-radius: 18px;
        box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
    }
    .home-hero-layout--triple .occ-track {
        border-inline-color: rgba(148, 163, 184, .24);
    }
    .home-hero-layout--triple .occ-ocard {
        background:
            linear-gradient(105deg, var(--bg3), var(--card-bg));
    }
    .home-hero-layout--triple .occ-ocard-link {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 14px;
    }
    .home-hero-layout--triple .occ-product-media {
        width: 104px;
        height: 104px;
        min-height: 104px;
        max-height: 104px;
        border: 1px solid rgba(148, 163, 184, .2);
        border-radius: 14px;
        background: var(--bg2);
        box-shadow: 0 5px 14px rgba(15, 23, 42, .07);
    }
    .home-hero-layout--triple .occ-product-img {
        object-fit: contain;
        padding: 6px;
    }
    .home-hero-layout--triple .occ-product-body {
        height: 104px;
        min-height: 104px;
        max-height: 104px;
        gap: 5px;
    }
    .home-hero-layout--triple .occ-product-topline {
        margin-bottom: 2px;
    }
    .home-hero-layout--triple .occ-product-eyebrow {
        width: fit-content;
        max-width: 100%;
        padding: 5px 11px;
        border-radius: 999px;
        background: rgba(37, 99, 235, .08);
        color: #2563eb;
        font-size: 1.05rem;
        font-weight: 800;
        letter-spacing: -.015em;
    }
    .home-hero-layout--triple .occ-product-eyebrow i {
        font-size: .95rem;
    }
    .home-hero-layout--triple .occ-ocard h4 {
        color: var(--text);
        font-size: 1.14rem;
        font-weight: 800;
        line-height: 1.38;
        letter-spacing: -0.015em;
    }
    .home-hero-layout--triple .occ-price {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }
    .home-hero-layout--triple .occ-now {
        color: #0f5fd7;
        font-size: 1.12rem;
        font-weight: 900;
        letter-spacing: -.02em;
    }
    .home-hero-layout--triple .occ-old {
        color: #64748b;
        font-size: .98rem;
        font-weight: 700;
        text-decoration-thickness: 2px;
    }
    .home-hero-layout--triple .occ-order-btn {
        min-height: 38px;
        padding: 8px 10px;
        border-radius: 10px;
        background: #1463d9;
        box-shadow: 0 4px 10px rgba(20, 99, 217, .17);
        font-size: .86rem;
        font-weight: 800;
    }
    .home-hero-layout--triple .occ-order-btn:hover {
        transform: none;
        background: #0f55bd;
        box-shadow: 0 6px 14px rgba(20, 99, 217, .24);
    }
    .home-hero-layout--triple .occ-cart-btn {
        min-height: 38px;
        padding: 8px 9px;
        font-size: .74rem;
    }
    .home-hero-layout--triple .occ-pct {
        top: 5px;
        left: 5px;
        padding: 2px 5px;
        border: 0;
        border-radius: 6px;
        background: #e11d48;
        color: #fff;
        box-shadow: 0 3px 8px rgba(190, 24, 93, .2);
        font-size: .58rem;
    }
    .home-hero-layout--triple .occ-ocard:hover {
        box-shadow: inset 0 0 0 1px rgba(20, 99, 217, .34);
    }
    .home-hero-layout--triple .occ-content {
        padding-inline: 54px;
    }
    .home-hero-layout--triple .occ-slide h2 {
        font-weight: 900;
        letter-spacing: -.035em;
        text-shadow: 0 3px 14px rgba(15, 23, 42, .2);
    }
    .home-hero-layout--triple .occ-slide p {
        color: rgba(255, 255, 255, .88);
        font-weight: 600;
    }
}

@media (min-width: 769px) and (max-width: 1120px) {
    .home-hero-layout--triple .occ-ocard {
        background: linear-gradient(110deg, var(--card-bg), var(--bg3));
        border-color: rgba(148, 163, 184, .24);
        box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    }
    .home-hero-layout--triple .occ-product-media {
        background: var(--bg2);
    }
    .home-hero-layout--triple .occ-product-img {
        object-fit: contain;
        padding: 6px;
    }
}
.occ-ocard-loading {
    background: linear-gradient(105deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.09) 40%, rgba(255,255,255,0.03) 55%);
    background-size: 220% 100%;
    animation: occRibbonLoading 1.25s linear infinite;
}
@keyframes occRibbonLoading {
    to { background-position-x: -220%; }
}

/* Responsive Occasions Slider — لا تُطبَّق على بطاقات Hero الجانبية */
@media (max-width: 920px) {
    .occ-content { padding: 0 5%; }
    .occ-ribbon:not(.home-side-offers .occ-ribbon-in) {
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 8px;
    }
    .home-offers-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 12px;
    }
    .occ-ribbon::-webkit-scrollbar { display: none; }
    /* شريط عروض أفقي قديم فقط — ليس بطاقات Hero */
    .occ-ribbon > .occ-ribbon-in {
        display: flex;
        width: max-content;
        max-width: none;
        gap: 14px;
    }
    .occ-ribbon > .occ-ribbon-in .occ-ocard { width: min(82vw, 420px); min-height: 176px; }
    .occ-ribbon > .occ-ribbon-in .occ-ocard-link {
        grid-template-columns: 132px 1fr;
        min-height: 176px;
        gap: 14px;
        padding: 14px;
    }
    .occ-ribbon > .occ-ribbon-in .occ-product-media {
        height: 136px;
        border-radius: 16px;
    }
    .occ-ribbon > .occ-ribbon-in .occ-product-body { min-height: 136px; }
    .occ-ribbon > .occ-ribbon-in .occ-product-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
@media (max-width: 560px) {
    .occasions-slider-wrap { margin-top: 0; padding-top: 12px; }
    .home-hero-layout .occ-track,
    .occ-track { height: 280px; min-height: 260px; }
    .occ-ribbon { margin-top: 12px; padding-inline: 0; }
    .home-offers-head h2 { font-size: 1.25rem; }
    .home-offers-head a { padding: 8px 12px; font-size: .78rem; }
    .occ-ribbon > .occ-ribbon-in .occ-ocard { width: min(86vw, 350px); min-height: 148px; border-radius: 18px; }
    .occ-ribbon > .occ-ribbon-in .occ-ocard-link {
        grid-template-columns: 106px 1fr;
        min-height: 148px;
        gap: 11px;
        padding: 10px;
    }
    .occ-ribbon > .occ-ribbon-in .occ-product-media { height: 114px; border-radius: 14px; }
    .occ-ribbon > .occ-ribbon-in .occ-product-body { min-height: 114px; }
    .home-hero-layout--triple .occ-product-topline { margin-bottom: 5px; }
    .home-hero-layout--triple .occ-product-eyebrow { padding: 5px 11px; font-size: 1.05rem; font-weight: 800; }
    .home-hero-layout--triple .occ-product-eyebrow i { font-size: .95rem; }
    .occ-deal-tag { display: none; }
    .home-hero-layout--triple .occ-ocard h4 { font-size: 1.16rem; font-weight: 800; margin-bottom: 0; }
    .home-hero-layout--triple .occ-price {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }
    .home-hero-layout--triple .occ-now { font-size: 1.12rem; }
    .home-hero-layout--triple .occ-old { font-size: 1rem; font-weight: 700; }
    .home-hero-layout--triple .occ-product-footer {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }
    .home-hero-layout--triple .occ-order-btn { padding: 9px 14px; font-size: 0.86rem; min-height: 40px; }
    .home-hero-layout--triple .occ-pct { min-width: 0; padding: 3px 7px; font-size: .68rem; }
    .occ-slide h2 { font-size: 1.6rem; }
    .occ-slide p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
    .occ-btn { padding: 11px 22px; font-size: 0.9rem; }
    .occ-arrow { width: 36px; height: 36px; font-size: 14px; }
    .occ-prev { right: 10px; }
    .occ-next { left: 10px; }
    .cat-open-link { display: none; }
    .category-more-link { width: 100%; margin-top: 14px; }
}

@media (max-width: 390px) {
    .home-hero-layout--triple .occ-ocard-link {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }
    .home-hero-layout--triple .occ-product-media {
        width: 100px;
        height: 100px;
        min-height: 100px;
        max-height: 100px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .product-name, .pc-title {
        font-size: 15px;
        font-weight: 800;
        line-height: 1.4;
        min-height: 0;
    }
    .product-price, .pc-price {
        font-size: 14px;
        font-weight: 700;
        margin-top: 0;
    }
    .pc-btn-order,
    .pc-btn-cart {
        font-size: 11px;
        padding: 7px 6px;
        border-radius: 11px;
    }
}


/* dragon-qa-fixes: responsive containment and safer mobile offer cards */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, canvas, svg { max-width: 100%; }
@media (max-width: 920px) {
    .occ-ribbon { overflow-x: hidden; }
    /* شريط عروض قديم فقط — لا تُطبَّق على بطاقات Hero الجانبية */
    .occ-ribbon > .occ-ribbon-in {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 14px;
    }
    .occ-ribbon > .occ-ribbon-in .occ-ocard { width: 100%; max-width: 100%; }
}
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
    .mobile-category-strip { max-width: 100%; padding-inline: 2px; overscroll-behavior-inline: contain; }
    .mobile-filter-chip { min-width: auto; max-width: 72vw; }
    .mobile-filter-chip span, .mobile-filter-chip strong { overflow: hidden; text-overflow: ellipsis; }
}


/* dragon-qa-click-safety: prevent fixed helpers/header from blocking product actions */
.product-card { scroll-margin-top: 120px; }
.pc-btn-cart { position: relative; z-index: 3; }
.floating-actions-container { pointer-events: none; }
.floating-actions-container .floating-btn,
.floating-actions-container .floating-help-panel,
.floating-actions-container .floating-help-item { pointer-events: auto; }
@media (max-width: 768px) {
    .floating-actions-container {
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
        inset-inline-end: 14px;
    }
}


/* dragon-qa-sr-only: semantic headings without visual layout changes */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Premium Ads Hero: أقل فراغات + بروز أوضح + خطوط أكبر في بطاقات العروض */
.occasions-slider-wrap {
    padding-top: 0;
    margin-bottom: 0;
}

.home-hero-layout,
.home-hero-layout--triple {
    width: min(100% - 8px, min(1500px, var(--container)));
    gap: 8px;
}

.home-hero-layout--triple .occ-product-img {
    object-fit: contain;
    padding: 4px;
}

@media (min-width: 1121px) {
    .home-hero-layout--triple {
        gap: 0;
        border-radius: 20px;
        border-color: rgba(148, 163, 184, .32);
        box-shadow: 0 18px 42px rgba(15, 23, 42, .11);
    }

    .home-hero-layout--triple .occ-ocard-link {
        padding: 12px 14px;
    }

    .home-hero-layout--triple .occ-product-eyebrow {
        font-size: 1.12rem;
        font-weight: 800;
        letter-spacing: -0.015em;
    }
    .home-hero-layout--triple .occ-product-eyebrow i {
        font-size: 1rem;
    }

    .home-hero-layout--triple .occ-ocard h4 {
        font-size: 1.2rem;
        font-weight: 800;
        line-height: 1.38;
        letter-spacing: -0.015em;
    }

    .home-hero-layout--triple .occ-price {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .home-hero-layout--triple .occ-now {
        font-size: 1.18rem;
        font-weight: 900;
    }

    .home-hero-layout--triple .occ-old {
        font-size: 1.02rem;
        font-weight: 700;
        color: #64748b;
    }

    .home-hero-layout--triple .occ-order-btn {
        font-size: .9rem;
        min-height: 40px;
        padding: 9px 15px;
    }

    .home-hero-layout--triple .occ-pct {
        font-size: .72rem;
    }
}

@media (min-width: 769px) and (max-width: 1120px) {
    .home-hero-layout--triple {
        gap: 10px;
    }

    .home-hero-layout--triple .occ-ocard h4 {
        font-size: 1.14rem;
        font-weight: 800;
        line-height: 1.38;
        letter-spacing: -0.015em;
    }

    .home-hero-layout--triple .occ-price {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .home-hero-layout--triple .occ-now {
        font-size: 1.12rem;
    }

    .home-hero-layout--triple .occ-old {
        font-size: 1rem;
        font-weight: 700;
    }

    .home-hero-layout--triple .occ-order-btn {
        font-size: .86rem;
        min-height: 38px;
        padding: 8px 14px;
    }
}

@media (max-width: 768px) {
    .occasions-slider-wrap {
        padding-top: 0;
    }

    .home-hero-layout,
    .home-hero-layout--triple {
        width: min(100% - 12px, var(--container));
        gap: 10px;
    }

    .home-hero-layout--triple .occ-ocard h4 {
        font-size: 1.16rem;
        font-weight: 800;
        line-height: 1.38;
        letter-spacing: -0.015em;
    }

    .home-hero-layout--triple .occ-price {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .home-hero-layout--triple .occ-now {
        font-size: 1.15rem;
    }

    .home-hero-layout--triple .occ-old {
        font-size: 1.02rem;
        font-weight: 700;
    }

    .home-hero-layout--triple .occ-product-eyebrow {
        font-size: 1.08rem;
        font-weight: 800;
        letter-spacing: -0.015em;
    }
    .home-hero-layout--triple .occ-product-eyebrow i {
        font-size: .95rem;
    }

    .home-hero-layout--triple .occ-order-btn {
        font-size: .88rem;
        min-height: 40px;
        padding: 9px 14px;
    }
}

/* Compact hero: الإعلان والبطاقات بحجم متوازن من دون فقدان الوضوح */
@media (min-width: 1121px) {
    .home-hero-layout--triple {
        grid-template-columns: minmax(280px, .29fr) minmax(480px, .42fr) minmax(280px, .29fr);
        height: 264px;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, .09);
    }

    .home-hero-layout--triple .occ-ocard-link {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 12px;
    }

    .home-hero-layout--triple .occ-product-media {
        width: 88px;
        height: 88px;
        min-height: 88px;
        max-height: 88px;
        border-radius: 12px;
    }

    .home-hero-layout--triple .occ-product-body {
        height: 100px;
        min-height: 100px;
        max-height: 100px;
        gap: 3px;
    }

    .home-hero-layout--triple .occ-product-eyebrow {
        padding: 5px 11px;
        font-size: 1.08rem;
        font-weight: 800;
        letter-spacing: -0.015em;
    }
    .home-hero-layout--triple .occ-product-eyebrow i {
        font-size: .95rem;
    }

    .home-hero-layout--triple .occ-ocard h4 {
        font-size: 1.08rem;
        font-weight: 800;
        line-height: 1.35;
        letter-spacing: -0.015em;
    }

    .home-hero-layout--triple .occ-price {
        gap: 7px;
    }

    .home-hero-layout--triple .occ-now {
        font-size: 1rem;
    }

    .home-hero-layout--triple .occ-old {
        font-size: .86rem;
    }

    .home-hero-layout--triple .occ-order-btn {
        min-height: 33px;
        padding: 6px 10px;
        border-radius: 9px;
        font-size: .76rem;
    }

    .home-hero-layout--triple .occ-pct {
        font-size: .62rem;
    }
}

@media (min-width: 769px) and (max-width: 1120px) {
    .home-hero-layout--triple {
        gap: 10px;
    }

    .home-hero-layout--triple .occ-ocard {
        min-height: 132px;
    }

    .home-hero-layout--triple .occ-ocard-link {
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 132px;
        gap: 11px;
        padding: 11px;
    }

    .home-hero-layout--triple .occ-product-media {
        width: 92px;
        height: 92px;
        min-height: 92px;
        max-height: 92px;
    }

    .home-hero-layout--triple .occ-order-btn {
        min-height: 34px;
        padding: 7px 11px;
        font-size: .78rem;
    }
}

@media (max-width: 768px) {
    .home-hero-layout .occ-track,
    .home-hero-layout--triple .occ-track {
        height: 200px;
        min-height: 190px;
    }

    .home-side-offers .occ-ocard,
    .home-hero-layout--triple .occ-ocard {
        min-height: 136px;
    }

    .home-hero-layout--triple .occ-ocard-link {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 136px;
        gap: 11px;
        padding: 11px;
    }

    .home-hero-layout--triple .occ-product-media {
        width: 96px;
        height: 96px;
        min-height: 96px;
        max-height: 96px;
    }

    .home-hero-layout--triple .occ-ocard h4 {
        font-size: 1.1rem;
        font-weight: 800;
        line-height: 1.35;
        letter-spacing: -0.015em;
    }

    .home-hero-layout--triple .occ-now {
        font-size: 1rem;
    }

    .home-hero-layout--triple .occ-old {
        font-size: .86rem;
    }

    .home-hero-layout--triple .occ-product-eyebrow {
        font-size: 1.02rem;
        font-weight: 800;
        letter-spacing: -0.015em;
    }
    .home-hero-layout--triple .occ-product-eyebrow i {
        font-size: .9rem;
    }

    .home-hero-layout--triple .occ-order-btn {
        min-height: 34px;
        padding: 7px 10px;
        font-size: .77rem;
    }
}

/* زوايا ناعمة وإطار احترافي لشاشة الإعلانات */
.home-hero-layout .occ-track,
.home-hero-layout--triple .occ-track {
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 10px 26px rgba(15, 23, 42, .12),
        inset 0 0 0 1px rgba(255, 255, 255, .12);
    isolation: isolate;
}

.home-hero-layout .occ-slide,
.home-hero-layout--triple .occ-slide,
.home-hero-layout .occ-bg,
.home-hero-layout--triple .occ-bg,
.home-hero-layout .occ-bg img,
.home-hero-layout--triple .occ-bg img,
.home-hero-layout .occ-overlay,
.home-hero-layout--triple .occ-overlay {
    border-radius: inherit;
}

@media (max-width: 768px) {
    .home-hero-layout .occ-track,
    .home-hero-layout--triple .occ-track {
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(15, 23, 42, .1);
    }
}

@media (min-width: 1121px) {
    .home-hero-layout--triple {
        gap: 9px;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .home-hero-layout--triple .occ-track {
        border-radius: 20px;
        border: 1px solid rgba(148, 163, 184, .34);
        box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
    }

    .home-hero-layout--triple .home-side-offers,
    .home-hero-layout--triple .home-side-offers .occ-ribbon-in,
    .home-hero-layout--triple .home-side-offers #homeRibbonOffersStart,
    .home-hero-layout--triple .home-side-offers #homeRibbonOffersEnd {
        gap: 9px;
    }

    .home-hero-layout--triple .occ-ocard {
        overflow: hidden;
        border: 1px solid rgba(148, 163, 184, .26);
        border-radius: 14px;
        box-shadow: 0 7px 20px rgba(15, 23, 42, .07);
    }

    .home-hero-layout--triple .home-side-offers .occ-ocard:first-child {
        border-bottom: 1px solid rgba(148, 163, 184, .26);
    }
}

/* Product cards — unified storefront design */
.products-grid,
.all-products-section .products-grid {
    align-items: stretch;
}

.product-card,
.home-page .all-products-section .product-card,
:root:not([data-theme="light"]) .product-card {
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .055);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover,
.home-page .all-products-section .product-card:hover {
    transform: none;
}

.pc-img-wrap,
:root:not([data-theme="light"]) .pc-img-wrap {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    padding: 0;
    background: linear-gradient(145deg, var(--product-media-surface), var(--product-media-bg));
    border: none;
    border-radius: 0;
}

.pc-img-wrap::before {
    content: "";
    position: absolute;
    inset: 20%;
    z-index: -1;
    display: block;
    background: url("png/1.png") center / contain no-repeat;
    opacity: .03;
    pointer-events: none;
}

.pc-img-wrap--has-image::before {
    display: none;
}

.pc-img-wrap::after {
    display: none;
}

.pc-img-wrap img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    filter: none;
    transform: none;
    transition: transform 180ms ease;
}

.product-card:hover .pc-img-wrap img {
    transform: none;
    filter: none;
}

.pc-img-wrap .pc-no-img,
:root:not([data-theme="light"]) .pc-img-wrap .pc-no-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    gap: 6px;
    color: var(--text-muted);
    border: 0;
    border-radius: 0;
    background: transparent;
}

.pc-no-img__icon {
    width: 58px;
    height: 58px;
    color: var(--product-media-icon);
    background: var(--product-media-icon-bg);
    font-size: 1.5rem;
    border-radius: 16px;
    box-shadow: none;
}

.pc-img-wrap .pc-no-img small {
    color: var(--text-muted);
}

.wish-btn,
.pc-img-wrap .wish-btn {
    width: 36px;
    height: 36px;
    top: 8px;
    left: 8px;
    color: #334155;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .09);
    backdrop-filter: blur(8px);
}

.wish-btn.active {
    color: var(--danger);
    background: rgba(255, 255, 255, .92);
    border-color: rgba(239, 68, 68, .25);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .09);
}

:root:not([data-theme="light"]) .wish-btn {
    color: #E2E8F0;
    background: rgba(15, 23, 42, .82);
    border-color: rgba(148, 163, 184, .25);
}

:root:not([data-theme="light"]) .wish-btn.active {
    color: var(--danger);
    background: rgba(30, 41, 59, .92);
}

.pc-corner-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 6;
    max-width: calc(100% - 58px);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .07);
}

.pc-corner-badge--danger,
.pc-corner-badge--discount {
    color: #FFFFFF;
    background: var(--danger);
    border: 1px solid transparent;
}

.pc-corner-badge--best {
    color: var(--new-text);
    background: var(--new-bg);
    border: 1px solid color-mix(in srgb, var(--new-text) 28%, transparent);
}

.pc-corner-badge--new {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    isolation: isolate;
    padding-inline: 7px 9px;
    color: #052E16;
    background: linear-gradient(135deg, #BBF7D0 0%, #5EEAD4 48%, #FDE68A 100%);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 8px 20px rgba(20, 184, 166, .26), 0 2px 7px rgba(15, 23, 42, .1);
}

.pc-corner-badge--new i {
    position: relative;
    z-index: 1;
    font-size: .85em;
    color: #047857;
}

.pc-corner-badge--new::after {
    content: "";
    position: absolute;
    inset-block: -2px;
    left: -34px;
    z-index: 0;
    width: 24px;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    animation: pcNewBadgeSweep 3.4s ease-in-out infinite;
}

:root:not([data-theme="light"]) .pc-corner-badge--new {
    color: #022C22;
    border-color: rgba(255, 255, 255, .48);
}

@keyframes pcNewBadgeSweep {
    0%, 44% {
        left: -34px;
        opacity: 0;
    }
    54% {
        opacity: .78;
    }
    72%, 100% {
        left: calc(100% + 14px);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-corner-badge--new::after {
        animation: none;
    }
}

.pc-corner-badge--limited {
    color: #92400E;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
}

:root:not([data-theme="light"]) .pc-corner-badge--limited {
    color: #FCD34D;
    background: rgba(245, 158, 11, .14);
    border-color: rgba(245, 158, 11, .24);
}

.product-body,
.pc-body,
.home-page .all-products-section .pc-body {
    flex: 1 1 auto;
    gap: 5px;
    padding: 10px 12px 12px;
}

.pc-category-label {
    gap: 5px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
}

.pc-category-label i {
    color: var(--text-muted);
    opacity: .72;
}

.product-name,
.pc-title,
.home-page .all-products-section .pc-title {
    min-height: 42px;
    min-width: 0;
    color: var(--text-primary);
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 700;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.pc-product-meta {
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pc-availability {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.pc-availability > span {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: currentColor;
}

.pc-availability--success { color: var(--success); }
.pc-availability--danger { color: var(--danger); }
.pc-availability--limited,
.pc-availability--request { color: #D97706; }
:root:not([data-theme="light"]) .pc-availability--limited,
:root:not([data-theme="light"]) .pc-availability--request { color: #FBBF24; }

.pc-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
}

.pc-rating-inline i { color: #EAB308; }

.pc-price-row {
    min-height: 27px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.product-price,
.pc-price,
.home-page .all-products-section .pc-price {
    margin: 0;
    color: var(--primary);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
}

.pc-old-price {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.pc-actions,
.home-page .all-products-section .pc-actions {
    width: 100%;
    margin-top: auto;
    padding-top: 5px;
    gap: 7px;
}

.pc-btn-order,
.home-page .all-products-section .pc-btn-order {
    min-height: 44px;
    padding: 8px;
    color: #FFFFFF;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pc-btn-order:hover {
    transform: none;
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 5px 12px rgba(37, 99, 235, .18);
}

.pc-btn-cart,
.home-page .all-products-section .pc-btn-cart {
    min-height: 44px;
    padding: 8px;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease;
}

.pc-btn-cart:hover {
    transform: none;
    color: var(--primary-hover);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    border-color: var(--primary-hover);
}

.pc-btn-order.pc-btn-contact {
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
}

.pc-btn-order.pc-btn-contact i {
    color: #16A34A;
}

.pc-btn-order.pc-btn-contact:hover {
    color: var(--primary-hover);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    border-color: var(--primary-hover);
}

.pc-btn-order:focus-visible,
.pc-btn-cart:focus-visible,
.wish-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover,
    .home-page .all-products-section .product-card:hover {
        transform: translateY(-3px);
        border-color: rgba(37, 99, 235, .24);
        box-shadow: 0 11px 24px rgba(15, 23, 42, .095);
    }

    .wish-btn:hover,
    .wish-btn.active:hover {
        transform: translateY(-1px);
        color: var(--danger);
        background: var(--card-bg);
        border-color: color-mix(in srgb, var(--danger) 32%, var(--border-color));
        box-shadow: 0 3px 9px rgba(15, 23, 42, .11);
    }

    .product-card:hover .pc-img-wrap--has-image img {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .product-card,
    .home-page .all-products-section .product-card {
        border-radius: 16px;
    }

    .pc-img-wrap {
        width: 100%;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .product-body,
    .pc-body,
    .home-page .all-products-section .pc-body {
        gap: 4px;
        padding: 8px 9px 9px;
    }

    .pc-title,
    .home-page .all-products-section .pc-title {
        min-height: 1.4em;
        font-size: 13px;
        line-height: 1.4;
        -webkit-line-clamp: 1;
    }

    .pc-price,
    .home-page .all-products-section .pc-price {
        font-size: 15px;
    }

    .pc-order-text,
    .pc-cart-text {
        display: inline;
    }

    .pc-btn-order,
    .pc-btn-cart,
    .home-page .all-products-section .pc-btn-order,
    .home-page .all-products-section .pc-btn-cart {
        min-height: 44px;
        width: auto;
        flex: 1 1 0 !important;
        padding: 7px 6px;
        gap: 4px;
        font-size: 11px;
    }

    .wish-btn,
    .pc-img-wrap .wish-btn {
        width: 32px;
        height: 32px;
        top: 6px;
        left: 6px;
        font-size: .9rem;
    }

    .pc-corner-badge {
        top: 6px;
        right: 6px;
        max-width: calc(100% - 48px);
        padding: 3px 7px;
        font-size: 9px;
    }

    .pc-no-img__icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
        font-size: 1.2rem;
    }
}

@media (max-width: 560px) {
    .pc-actions--priced {
        flex-direction: column;
    }

    .pc-actions--priced .pc-btn-order,
    .pc-actions--priced .pc-btn-cart {
        width: 100%;
        flex-basis: auto !important;
    }
}

/* Responsive Grid Breakpoints Overrides */
@media (max-width: 1200px) {
    .products-grid,
    .all-products-section .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 899px) {
    .products-grid,
    .all-products-section .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 599px) {
    .products-grid,
    .all-products-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 329px) {
    .products-grid,
    .all-products-section .products-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
}

/* Contact WhatsApp Button in Product Cards styling */
.pc-btn-order.pc-btn-contact {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 7px 5px;
    margin-top: 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 11px;
}

.pc-btn-order.pc-btn-contact i {
    position: static;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.pc-btn-order.pc-btn-contact span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .pc-img-wrap img {
        transition: none;
    }
}

/* Hide "Shop Now" buttons in the occasions slider */
.occ-btn {
    display: none !important;
}


/* Hide banner text overlay and dark background overlay */
.occ-content, .occ-overlay { display: none !important; }
