:root {
  --brand-primary: #0E1629;
  --brand-dark: #070C18;
  --brand-accent: #BD2025;
  --brand-accent-hover: #9E181D;
  --brand-surface: #F4F7FB;
  --brand-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Poppins', sans-serif;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(14, 22, 41, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--brand-surface);
  color: var(--text-main);
  font-family: var(--font-ar);
  line-height: 1.65;
  padding-bottom: 72px;
}
html[dir="ltr"] body { font-family: var(--font-en); }
@media (min-width: 769px) { body { padding-bottom: 0; } }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 22px; }
@media (min-width: 1920px) { .container { max-width: 1680px; } }
.hidden { display: none !important; }
.muted { color: var(--text-muted); font-size: 0.92rem; }
img { max-width: 100%; display: block; }

/* ==================== UNIFIED BRANDED CINEMA CURTAIN LOADER ==================== */
.cinema-curtain {
  position: fixed; inset: 0; z-index: 10050;
  background: radial-gradient(circle at 50% 42%, #172542 0%, #070C18 75%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s cubic-bezier(.4,0,.2,1), visibility .26s;
}
.cinema-curtain.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.curtain-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px; }
.curtain-logo { height: var(--curtain-logo-h, 76px); width: auto; object-fit: contain; filter: drop-shadow(0 10px 28px rgba(189,32,37,0.35)); animation: curtainPulse 1.4s ease-in-out infinite; }
.curtain-bar { width: 220px; height: 4px; background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden; }
.curtain-bar span { display: block; width: 45%; height: 100%; background: linear-gradient(90deg, var(--brand-accent), #F87171); border-radius: 999px; animation: curtainSlide .9s ease-in-out infinite; }
.curtain-label { font-size: 0.78rem; letter-spacing: 0.22em; color: #CBD5E1; font-weight: 700; text-transform: uppercase; }
@keyframes curtainSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes curtainPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* ==================== SPA PAGE TRANSITIONS ==================== */
.page-view { display: none; animation: pageFadeIn .35s ease; }
.page-view.is-active { display: block; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ==================== TOP BAR & DARK LUXURY HEADER ==================== */
.announcement-bar { background: var(--brand-dark); color: #CBD5E1; font-size: 0.82rem; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.announcement-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.announcement-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.announcement-right a { color: #FCA5A5; text-decoration: none; font-weight: 700; }
.announcement-right .top-admin-link { color: #fff; background: rgba(189,32,37,0.28); padding: 2px 10px; border-radius: 999px; }
.sep { opacity: 0.4; }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(14, 22, 41, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 2px solid var(--brand-accent); box-shadow: 0 8px 30px rgba(7,12,24,0.28); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }

/* LARGE, PROMINENT, NEVER-CROPPED LOGO */
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: var(--header-logo-h, 48px); width: auto; max-width: 210px; object-fit: contain; transition: transform .2s; }
.brand-logo:hover img { transform: scale(1.03); }
@media (max-width: 768px) { .brand-logo img { height: calc(var(--header-logo-h, 48px) * 0.82); max-width: 155px; } }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { background: transparent; border: 0; color: #E2E8F0; font-family: inherit; font-weight: 700; font-size: 0.95rem; padding: 8px 14px; border-radius: 10px; cursor: pointer; transition: all .2s; }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.1); color: #fff; }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--brand-accent); }
.nav-egypro-pill { background: rgba(189,32,37,0.25) !important; border: 1px solid rgba(189,32,37,0.6) !important; color: #FCA5A5 !important; }
.nav-egypro-pill.active, .nav-egypro-pill:hover { background: var(--brand-accent) !important; color: #fff !important; }
@media (max-width: 980px) { .main-nav { display: none; } }

.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-lang-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 7px 13px; border-radius: 999px; font-weight: 800; font-size: 0.85rem; cursor: pointer; font-family: inherit; transition: all .2s; }
.btn-lang-pill:hover { background: var(--brand-accent); border-color: var(--brand-accent); }
.lang-dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; }
.btn-dash-pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; padding: 7px 12px; border-radius: 10px; font-weight: 700; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.16); transition: all .2s; }
.btn-dash-pill:hover { background: #fff; color: var(--brand-primary); }
@media (max-width: 600px) { .btn-dash-pill { display: none; } }

.btn-icon-dark { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #fff; border-radius: 10px; padding: 7px 10px; cursor: pointer; font-weight: 700; font-family: inherit; }
@media (max-width: 520px) { .btn-icon-dark { display: none; } }
.btn-cart { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-accent); color: #fff; border: 0; border-radius: 10px; padding: 8px 14px; cursor: pointer; font-weight: 800; font-family: inherit; transition: background .2s; }
.btn-cart:hover { background: var(--brand-accent-hover); }
.badge { background: var(--brand-accent); color: #fff; font-size: 0.72rem; border-radius: 999px; padding: 1px 6px; }
.badge-white { background: #fff; color: var(--brand-primary); }

/* Sub-header Category & Search Bar */
.sub-header-bar { background: #fff; border-bottom: 1px solid var(--border-color); }
.sub-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 8px; padding-bottom: 8px; }
.category-strip-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.cat-chip { white-space: nowrap; border: 1px solid var(--border-color); background: #F8FAFC; color: var(--brand-primary); padding: 6px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .2s; }
.cat-chip.active, .cat-chip:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.header-search { width: 280px; flex-shrink: 0; display: flex; border: 1.5px solid var(--border-color); border-radius: 999px; overflow: hidden; background: #F8FAFC; }
.header-search input { flex: 1; border: 0; background: transparent; padding: 7px 14px; font-family: inherit; font-size: 0.86rem; outline: none; }
.header-search button { border: 0; background: var(--brand-primary); color: #fff; padding: 0 14px; cursor: pointer; }
@media (max-width: 768px) { .header-search { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 11px; font-weight: 800; font-family: inherit; cursor: pointer; text-decoration: none; border: 0; transition: all .2s; font-size: 0.94rem; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-primary { background: var(--brand-accent); color: #fff; box-shadow: 0 8px 22px rgba(189,32,37,0.3); }
.btn-primary:hover { background: var(--brand-accent-hover); transform: translateY(-1px); }
.btn-outline-light { background: rgba(255,255,255,0.06); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover { background: rgba(255,255,255,0.16); }
.btn-outline-dark { background: transparent; color: var(--brand-primary); border: 1.5px solid var(--brand-primary); }
.btn-outline-dark:hover { background: var(--brand-primary); color: #fff; }
.btn-ghost { background: #E2E8F0; color: var(--text-main); }
.btn-sm { padding: 7px 14px; font-size: 0.84rem; }
.btn-block { width: 100%; }

/* ==================== FLAGSHIP HERO ==================== */
.hero-section { position: relative; background: radial-gradient(circle at 80% 25%, rgba(189,32,37,0.22), transparent 50%), linear-gradient(135deg, #070C18 0%, #0E1629 60%, #15223D 100%); color: #fff; padding: 60px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 38px; align-items: center; position: relative; z-index: 2; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.hero-badge { display: inline-block; background: rgba(189,32,37,0.22); border: 1px solid var(--brand-accent); color: #FCA5A5; padding: 5px 15px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 14px; }
.hero-content h1 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.22; margin: 0 0 16px; font-weight: 900; }
.hero-content p { color: #CBD5E1; font-size: 1.05rem; margin: 0 0 26px; max-width: 580px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
@media (max-width: 960px) { .hero-ctas { justify-content: center; } .hero-content p { margin-inline: auto; } }
.hero-social-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); }
.sp-item strong { display: block; font-size: 1.4rem; color: #fff; font-weight: 900; }
.sp-item span { font-size: 0.78rem; color: #94A3B8; }

.hero-cinema-frame { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; padding: 10px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.hero-banner-img { width: 100%; border-radius: 14px; aspect-ratio: 16/9; object-fit: cover; }
.hero-frame-caption { display: flex; justify-content: space-between; align-items: center; padding: 12px 8px 4px; font-size: 0.82rem; color: #CBD5E1; gap: 10px; flex-wrap: wrap; }
.hero-frame-caption strong { display: block; color: #fff; }
.live-dot { color: #34D399; font-weight: 800; font-size: 0.76rem; }

/* Sections */
.section { padding: 54px 0; }
.section-tinted { background: #EDF2F8; }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head h2 { margin: 0 0 8px; font-size: clamp(1.45rem, 2.5vw, 2.1rem); font-weight: 900; color: var(--brand-primary); }

/* Shoot Modes */
.shoot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 850px) { .shoot-grid { grid-template-columns: repeat(2, 1fr); } }
.shoot-card { background: #fff; border: 1.5px solid var(--border-color); border-radius: var(--radius); padding: 24px 16px; text-align: center; cursor: pointer; font-family: inherit; transition: all .22s; }
.shoot-card:hover { border-color: var(--brand-accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.shoot-icon { font-size: 2.1rem; display: block; margin-bottom: 8px; }
.shoot-card strong { display: block; font-size: 1.05rem; color: var(--brand-primary); }
.shoot-card small { color: var(--text-muted); font-size: 0.8rem; }

/* Studio Banner */
.studio-banner-section { background: linear-gradient(135deg, #0E1629, #1A2744); color: #fff; padding: 56px 0; }
.studio-banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .studio-banner-grid { grid-template-columns: 1fr; } }
.studio-banner-img-wrap img { border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.14); }
.studio-banner-content h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 0 0 12px; font-weight: 900; }
.studio-banner-content p { color: #CBD5E1; margin: 0 0 22px; }

/* Brands & Catalog */
.brands-bar { background: #fff; border-bottom: 1px solid var(--border-color); padding: 14px 0; }
.brands-row { display: flex; gap: 10px; overflow-x: auto; align-items: center; }
.brand-pill { border: 1px solid var(--border-color); background: #F8FAFC; padding: 6px 16px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; cursor: pointer; white-space: nowrap; font-family: inherit; }
.brand-pill.active, .brand-pill:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

.shop-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-header h2 { margin: 0; font-size: 1.65rem; font-weight: 900; color: var(--brand-primary); }
.shop-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-controls select { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border-color); background: #fff; font-family: inherit; font-size: 0.88rem; }

.products-grid { display: grid; grid-template-columns: repeat(var(--grid-cols, 4), 1fr); gap: 20px; }
@media (max-width: 1200px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }

.product-card { background: var(--brand-card); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-thumb { position: relative; background: #fff; cursor: pointer; border-bottom: 1px solid #F1F5F9; }
.product-thumb img { width: 100%; height: var(--card-img-h, 220px); object-fit: var(--card-img-fit, contain); padding: 14px; }
.prod-badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; }
.prod-badge { padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; color: #fff; background: var(--brand-accent); }
.prod-badge.brand { background: var(--brand-primary); }
.prod-top-actions { position: absolute; top: 10px; inset-inline-end: 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-act-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-color); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 0.85rem; }

.product-body { padding: 15px; display: flex; flex-direction: column; flex: 1; }
.product-title { margin: 0 0 6px; font-size: 0.96rem; font-weight: 800; color: var(--brand-primary); cursor: pointer; }
.product-stock { font-size: 0.78rem; font-weight: 700; margin-bottom: 8px; }
.stock-in { color: #059669; }
.stock-out { color: #DC2626; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 12px; }
.price-now { font-size: 1.14rem; font-weight: 900; color: var(--brand-accent); }
.price-old { font-size: 0.84rem; text-decoration: line-through; color: var(--text-muted); }

/* ==================== EGYPRO SHOWCASE ==================== */
.egypro-section { background: linear-gradient(135deg, #070C18 0%, #0E1629 55%, #1A2744 100%); color: #fff; padding: 56px 0; }
.egypro-top-showcase { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center; }
@media (max-width: 900px) { .egypro-top-showcase { grid-template-columns: 1fr; } }
.egypro-visual-card img { border-radius: 18px; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.egypro-pill { display: inline-block; background: var(--brand-accent); padding: 4px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; margin-bottom: 12px; }
.egypro-top-showcase h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin: 0 0 12px; font-weight: 900; line-height: 1.25; }
.egypro-lead { color: #CBD5E1; font-size: 1rem; margin: 0 0 20px; }
.egypro-stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 600px) { .egypro-stat-strip { grid-template-columns: repeat(2, 1fr); } }
.egypro-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 12px 8px; text-align: center; }
.egypro-stat strong { display: block; font-size: 1.1rem; color: #FCA5A5; font-weight: 900; }
.egypro-stat span { font-size: 0.74rem; color: #E2E8F0; }

.egypro-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .egypro-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .egypro-features-grid { grid-template-columns: 1fr; } }
.egypro-feat-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 18px; }
.feat-ico { font-size: 1.6rem; display: inline-block; margin-bottom: 8px; }
.egypro-feat-card h3 { margin: 0 0 6px; font-size: 1rem; }
.egypro-feat-card p { margin: 0; font-size: 0.86rem; color: #CBD5E1; }

.egypro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 850px) { .egypro-grid { grid-template-columns: 1fr; } }
.egypro-steps-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 24px; }
.egypro-steps-list { margin: 0; padding-inline-start: 20px; display: grid; gap: 12px; color: #E2E8F0; font-size: 0.92rem; }
.egypro-steps-list strong { color: #FCA5A5; }
.egypro-compatibility { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: #6EE7B7; font-weight: 700; }

.egypro-form-card { background: #fff; color: var(--text-main); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.egypro-form-card h3 { margin: 0 0 14px; color: var(--brand-primary); }
.egypro-form-card input, .egypro-form-card select { width: 100%; padding: 10px 12px; border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 10px; font-family: inherit; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.consent-check { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; cursor: pointer; }
.consent-check input { width: auto; margin-top: 4px; }
.form-feedback { margin-top: 12px; padding: 12px; border-radius: 8px; font-size: 0.9rem; background: #ECFDF5; color: #065F46; border: 1px solid #10B981; }

/* Portfolio & Articles */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); }
.portfolio-card-body { padding: 14px; }
.portfolio-card-body h3 { margin: 0 0 4px; font-size: 1rem; color: var(--brand-primary); }

.article-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.articles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .articles-grid { grid-template-columns: 1fr; } }
.article-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #0E1629; flex-shrink: 0; }
.article-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.article-card:hover img { transform: scale(1.03); }
.article-detail-cover { width: 100%; aspect-ratio: 16 / 9; max-height: 430px; object-fit: cover; border-radius: 14px; margin-bottom: 22px; background: #0E1629; display: block; }
.article-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.article-meta { font-size: 0.76rem; color: var(--brand-accent); font-weight: 800; margin-bottom: 6px; }
.article-card-body h3 { margin: 0 0 8px; font-size: 0.98rem; color: var(--brand-primary); }

/* Footer */
.site-footer { background: var(--brand-dark); color: #CBD5E1; padding: 52px 0 0; border-top: 3px solid var(--brand-accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-bottom: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: var(--footer-logo-h, 64px); width: auto; object-fit: contain; margin-bottom: 14px; }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-socials a { color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); padding: 6px 12px; border-radius: 8px; text-decoration: none; font-size: 0.82rem; font-weight: 700; transition: all .2s; }
.footer-socials a:hover { background: var(--brand-accent); border-color: var(--brand-accent); }
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a, .link-btn { color: #CBD5E1; text-decoration: none; background: none; border: 0; padding: 0; font-family: inherit; font-size: 0.92rem; cursor: pointer; text-align: inherit; }
.footer-links a:hover, .link-btn:hover { color: #FCA5A5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; font-size: 0.84rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-pwa-footer { background: var(--brand-accent); color: #fff; border: 0; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-family: inherit; font-weight: 700; }

/* Fixed Mobile Bottom Nav */
.mobile-bottom-nav { display: none; }
@media (max-width: 768px) {
  .mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    background: var(--brand-primary); border-top: 2px solid var(--brand-accent);
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px env(safe-area-inset-bottom);
  }
  .mobile-bottom-nav a, .mobile-bottom-nav button {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: none; border: 0; color: #fff; text-decoration: none;
    font-family: inherit; font-size: 0.72rem; font-weight: 700; position: relative; cursor: pointer;
  }
  .mobile-bottom-nav em { position: absolute; top: 0; inset-inline-end: 16%; background: var(--brand-accent); color: #fff; font-style: normal; font-size: 0.65rem; padding: 0 5px; border-radius: 999px; }
}

/* Drawer & Modal */
.drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; visibility: hidden; transition: visibility .34s; }
.drawer.open { pointer-events: auto; visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(7,12,24,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .32s cubic-bezier(.4,0,.2,1); }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0;
  width: min(430px, 100%); background: #fff; display: flex; flex-direction: column;
  box-shadow: -12px 0 44px rgba(7,12,24,0.34);
  transform: translateX(-105%);
  transition: transform .36s cubic-bezier(.22,1,.36,1);
}
html[dir="ltr"] .drawer-panel { transform: translateX(105%); }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { background: var(--brand-primary); color: #fff; border-bottom: 2px solid var(--brand-accent) !important; }
.drawer-head h3 { margin: 0; font-size: 1.08rem; }
.drawer-head .close-x { background: rgba(255,255,255,0.14); color: #fff; }
.drawer-head .close-x:hover { background: var(--brand-accent); }
.cart-item { animation: cartItemPop .28s ease both; }
@keyframes cartItemPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cartBump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.18); } 70% { transform: scale(0.95); } }
.btn-cart.bump { animation: cartBump .42s cubic-bezier(.34,1.56,.64,1); }
.cart-toast {
  position: fixed; top: 88px; inset-inline-end: 20px; z-index: 150;
  background: var(--brand-primary); color: #fff; border: 1px solid rgba(255,255,255,0.14);
  border-inline-start: 4px solid var(--brand-accent); border-radius: 14px;
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; max-width: 340px;
  box-shadow: 0 18px 40px rgba(7,12,24,0.38);
  opacity: 0; transform: translateY(-14px) scale(0.96); pointer-events: none;
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.cart-toast.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.cart-toast img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; flex-shrink: 0; }
.drawer-head, .drawer-foot { padding: 16px 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.drawer-foot { border-bottom: 0; border-top: 1px solid var(--border-color); flex-direction: column; gap: 10px; align-items: stretch; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 1.05rem; }
.cart-item { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--border-color); padding: 10px 0; }
.cart-item img { width: 64px; height: 64px; object-fit: contain; background: #F1F5F9; border-radius: 8px; }
.qty-ctrl { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-color); border-radius: 6px; padding: 2px 8px; }
.qty-ctrl button { border: 0; background: none; font-weight: 800; cursor: pointer; font-size: 1rem; }

.modal { position: fixed; inset: 0; z-index: 130; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,12,24,0.72); }
.modal-dialog { position: relative; background: #fff; border-radius: 16px; max-width: 780px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 26px; z-index: 2; }
.modal-close, .close-x { background: #F1F5F9; border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-weight: 800; }
.modal-close { position: sticky; top: 0; float: inline-end; }
.specs-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.9rem; }
.specs-table th, .specs-table td { border: 1px solid var(--border-color); padding: 8px 10px; text-align: start; }
.specs-table th { background: #F8FAFC; width: 36%; }

.cookie-banner { position: fixed; bottom: 16px; inset-inline-start: 16px; max-width: 420px; background: var(--brand-primary); color: #fff; padding: 14px 18px; border-radius: 12px; z-index: 110; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.15); }
.cookie-banner p { margin: 0 0 10px; font-size: 0.85rem; }
.cookie-actions { display: flex; gap: 8px; }


/* ==================== ABOUT PAGE ==================== */
.about-hero { background: linear-gradient(135deg, #070C18 0%, #0E1629 65%, #1A2744 100%); color: #fff; padding: 56px 0; text-align: center; }
.about-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin: 0 0 16px; font-weight: 900; }
.about-lead { max-width: 820px; margin: 0 auto 12px; color: #CBD5E1; font-size: 1.05rem; line-height: 1.85; }
.about-vision-card { background: #fff; border: 1px solid var(--border-color); border-inline-start: 5px solid var(--brand-accent); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--shadow); }
.about-kicker { display: inline-block; color: var(--brand-accent); font-weight: 900; font-size: 1.15rem; margin-bottom: 8px; }
.about-vision-card p { margin: 0; font-size: 1.04rem; color: var(--brand-primary); line-height: 1.8; font-weight: 600; }
.about-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 24px; }
@media (max-width: 850px) { .about-two-col { grid-template-columns: 1fr; } }
.about-box { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 26px; }
.about-box h2 { margin: 0 0 12px; color: var(--brand-primary); font-size: 1.35rem; font-weight: 900; }
.about-list, .about-why-list { margin: 12px 0 0; padding-inline-start: 20px; display: grid; gap: 10px; font-size: 0.96rem; color: #1E293B; }
.about-why-list strong { color: var(--brand-accent); }
.about-visit-card { background: linear-gradient(135deg, #0E1629, #1A2744); color: #fff; border-radius: 18px; padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border: 1px solid rgba(255,255,255,0.12); }
.about-visit-card h2 { margin: 0 0 8px; font-size: 1.6rem; }
.about-address { font-size: 1.02rem; color: #E2E8F0; margin: 10px 0; }
.about-slogan { display: inline-block; margin-top: 8px; background: rgba(189,32,37,0.22); border: 1px solid var(--brand-accent); color: #FCA5A5; padding: 6px 14px; border-radius: 10px; font-weight: 800; }
.about-visit-actions { display: flex; flex-direction: column; gap: 10px; min-width: 210px; }

/* ==================== V7 FLAGSHIP ENHANCEMENTS ==================== */
.btn-account-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 0.86rem; cursor: pointer; font-family: inherit; transition: all .2s; }
.btn-account-pill:hover { background: #fff; color: var(--brand-primary); }
@media (max-width: 600px) { .btn-account-pill { display: none; } }

/* Official SVG Social Icons */
.social-icon-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.soc-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); transition: all .22s; text-decoration: none; }
.soc-btn svg { width: 20px; height: 20px; }
.soc-fb:hover { background: #1877F2; border-color: #1877F2; transform: translateY(-2px); }
.soc-ig:hover { background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); border-color: transparent; transform: translateY(-2px); }
.soc-tt:hover { background: #000000; border-color: #25F4EE; transform: translateY(-2px); }
.soc-yt:hover { background: #FF0000; border-color: #FF0000; transform: translateY(-2px); }

/* Clean Phone + Inline WhatsApp Icon */
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.phone-wa-row { display: flex; align-items: center; gap: 10px; }
.phone-num { color: #fff; text-decoration: none; font-weight: 800; font-size: 0.96rem; }
.wa-inline-badge { width: 32px; height: 32px; border-radius: 50%; background: #25D366; color: #fff; display: inline-grid; place-items: center; transition: transform .2s; }
.wa-inline-badge svg { width: 17px; height: 17px; }
.wa-inline-badge:hover { transform: scale(1.1); }

/* Organized 2-Column Footer Quick Links */
.footer-quick-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.footer-quick-grid .link-btn { color: #CBD5E1; font-weight: 600; font-size: 0.9rem; transition: color .2s; }
.footer-quick-grid .link-btn:hover { color: #FCA5A5; }

/* Floating WhatsApp Button (Flagship Style) */
.floating-wa-btn {
  position: fixed; bottom: 76px; inset-inline-end: 22px; z-index: 98;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; text-decoration: none;
  padding: 11px 18px; border-radius: 999px; font-weight: 800; font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(37,211,102,0.42); transition: transform .2s, box-shadow .2s;
}
.floating-wa-btn svg { width: 22px; height: 22px; }
.floating-wa-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(37,211,102,0.55); }
@media (max-width: 768px) { .floating-wa-btn { bottom: 78px; inset-inline-end: 14px; padding: 10px 14px; } }

/* Standalone Product Detail Page */
.breadcrumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 0.86rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumbs button { background: none; border: 0; color: var(--brand-primary); font-weight: 700; cursor: pointer; font-family: inherit; padding: 0; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .pdp-grid { grid-template-columns: 1fr; padding: 18px; } }
.pdp-gallery { background: #F8FAFC; border-radius: 16px; padding: 24px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); }
.pdp-gallery img { max-height: 440px; object-fit: contain; transition: transform .3s; }
.pdp-gallery:hover img { transform: scale(1.04); }
.pdp-meta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.pdp-title { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 0 0 12px; color: var(--brand-primary); font-weight: 900; }
.pdp-price-box { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.pdp-price-now { font-size: 1.8rem; font-weight: 900; color: var(--brand-accent); }
.pdp-desc-box { background: #F8FAFC; border-radius: 12px; padding: 16px; margin: 16px 0; color: #1E293B; line-height: 1.8; }
.pdp-actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.pdp-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
@media (max-width: 560px) { .pdp-trust-grid { grid-template-columns: 1fr; } }
.pdp-trust-item { background: #F8FAFC; border: 1px solid var(--border-color); border-radius: 10px; padding: 10px; font-size: 0.82rem; font-weight: 700; text-align: center; }

/* Standalone Article Detail Page */
.article-detail-card { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.article-detail-card h1 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: var(--brand-primary); margin: 12px 0 16px; }
.article-detail-body { font-size: 1.03rem; line-height: 1.9; color: #1E293B; }
.article-detail-body h2 { color: var(--brand-primary); margin-top: 26px; }

/* World-Class Customer Dashboard */
.cust-auth-card { max-width: 480px; margin: 20px auto; background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.cust-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.cust-tab-btn { padding: 10px; border-radius: 10px; border: 1px solid var(--border-color); background: #F8FAFC; font-weight: 800; font-family: inherit; cursor: pointer; }
.cust-tab-btn.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.cust-shell { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .cust-shell { grid-template-columns: 1fr; } }
.cust-sidebar { background: var(--brand-primary); color: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.cust-avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--brand-accent); display: grid; place-items: center; font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; }
.cust-nav-btn { background: rgba(255,255,255,0.06); color: #E2E8F0; border: 0; text-align: start; padding: 10px 14px; border-radius: 10px; font-family: inherit; font-weight: 700; cursor: pointer; }
.cust-nav-btn.active, .cust-nav-btn:hover { background: var(--brand-accent); color: #fff; }
.cust-panel { background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.cust-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 600px) { .cust-kpi-row { grid-template-columns: 1fr; } }
.cust-kpi { background: #F8FAFC; border: 1px solid var(--border-color); border-radius: 14px; padding: 16px; }
.cust-kpi small { color: var(--text-muted); display: block; }
.cust-kpi strong { font-size: 1.5rem; color: var(--brand-primary); }
.order-card { border: 1px solid var(--border-color); border-radius: 14px; padding: 16px; margin-bottom: 14px; background: #F8FAFC; }
.order-timeline { display: flex; justify-content: space-between; gap: 6px; margin-top: 12px; font-size: 0.76rem; }
.ot-step { flex: 1; text-align: center; padding: 6px 4px; border-radius: 8px; background: #E2E8F0; color: #64748B; font-weight: 700; }
.ot-step.done { background: #10B981; color: #fff; }


.footer-contact-list a { color: #E2E8F0; text-decoration: none; font-weight: 700; transition: color .2s; }
.footer-contact-list a:hover { color: #FCA5A5; }
.footer-email-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); padding: 6px 12px; border-radius: 10px; color: #F8FAFC !important; font-size: 0.88rem; }
.footer-email-pill:hover { background: var(--brand-accent); border-color: var(--brand-accent); color: #fff !important; }


html { font-size: var(--base-font-size, 16px); }
.site-header { background: var(--header-bg, rgba(14, 22, 41, 0.96)); }
.site-footer { background: var(--footer-bg, #070C18); }
h1, h2, h3 { letter-spacing: normal; }


/* Polished Structured Address Card (Footer & About — AR/EN) */
.footer-address-card, .about-address-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 12px 14px; margin: 6px 0; max-width: 360px;
}
.about-address-card { max-width: 560px; margin: 14px 0; background: rgba(255,255,255,0.07); }
.addr-pin-ico {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px;
  background: rgba(189,32,37,0.22); color: #FCA5A5;
  display: grid; place-items: center; margin-top: 2px;
}
.addr-pin-ico svg { width: 18px; height: 18px; }
.addr-text-wrap { display: flex; flex-direction: column; gap: 3px; }
.addr-heading { font-size: 0.78rem; color: #FCA5A5; font-weight: 800; letter-spacing: 0.02em; display: block; }
.addr-lines { font-size: 0.88rem; color: #E2E8F0; line-height: 1.65; display: block; }


/* Toggleable Discount Code Bar */
.promo-coupon-bar {
  background: linear-gradient(90deg, #8F151A 0%, var(--brand-accent) 50%, #8F151A 100%);
  color: #fff; padding: 8px 0; font-size: 0.88rem; font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.promo-coupon-inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.promo-code-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(7,12,24,0.38); border: 1.5px dashed rgba(255,255,255,0.75);
  color: #fff; padding: 3px 12px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 0.84rem; transition: background .2s, transform .15s;
}
.promo-code-pill:hover { background: rgba(7,12,24,0.65); transform: scale(1.03); }


/* ==================== V11 CINEMATIC OPENING & LUXURY PAGE TRANSITIONS ==================== */
.cinema-curtain {
  background: radial-gradient(circle at 50% 42%, #1C2E52 0%, #090F1E 58%, #04070F 100%) !important;
  transition: opacity .42s cubic-bezier(.22,1,.36,1), visibility .42s, transform .42s cubic-bezier(.22,1,.36,1) !important;
}
.cinema-curtain:not(.is-active) { transform: scale(1.04); }
.curtain-logo {
  height: var(--curtain-logo-h, 76px);
  animation: cinemaLogoReveal 1.1s cubic-bezier(.22,1,.36,1) infinite alternate !important;
}
@keyframes cinemaLogoReveal {
  0% { transform: scale(0.96); filter: drop-shadow(0 6px 20px rgba(189,32,37,0.28)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 14px 36px rgba(189,32,37,0.62)); }
}
.page-view { animation: cinemaPageIn .48s cubic-bezier(.22,1,.36,1) both !important; }
@keyframes cinemaPageIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.992); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.order-items-mini { margin: 10px 0; padding: 10px 12px; background: #fff; border-radius: 10px; border: 1px solid var(--border-color); font-size: 0.86rem; }
.order-items-mini li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px dashed #E2E8F0; }
.order-items-mini li:last-child { border-bottom: 0; }


/* ==================== V12 RESPONSIVE PERFECTION (MOBILE, TABLET, LAPTOP, 4K) ==================== */
html, body { overflow-x: clip; max-width: 100%; }

/* Mobile Hamburger & Slide-Out Drawer */
.mob-drawer-toggle {
  display: none; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; width: 40px; height: 40px; border-radius: 10px; font-size: 1.25rem; cursor: pointer;
  align-items: center; justify-content: center; flex-shrink: 0;
}
@media (max-width: 980px) { .mob-drawer-toggle { display: inline-flex; } }

.mob-drawer { position: fixed; inset: 0; z-index: 140; pointer-events: none; visibility: hidden; transition: visibility .3s; }
.mob-drawer.open { pointer-events: auto; visibility: visible; }
.mob-drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 0;
  width: min(320px, 86vw); background: var(--brand-primary); color: #fff;
  display: flex; flex-direction: column; box-shadow: 10px 0 40px rgba(0,0,0,0.45);
  transform: translateX(105%); transition: transform .34s cubic-bezier(.22,1,.36,1);
}
html[dir="ltr"] .mob-drawer-panel { transform: translateX(-105%); }
.mob-drawer.open .mob-drawer-panel { transform: translateX(0); }
.mob-drawer-head { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--brand-accent); }
.mob-drawer-head .close-x { background: rgba(255,255,255,0.12); color: #fff; }
.mob-drawer-body { padding: 16px; overflow-y: auto; flex: 1; }
.mob-search-box { display: flex; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.mob-search-box input { flex: 1; border: 0; background: transparent; color: #fff; padding: 10px 12px; font-family: inherit; font-size: 0.9rem; outline: none; }
.mob-search-box input::placeholder { color: #94A3B8; }
.mob-search-box button { border: 0; background: var(--brand-accent); color: #fff; padding: 0 14px; cursor: pointer; }
.mob-nav-list { display: grid; gap: 6px; margin-bottom: 18px; }
.mob-nav-list button { background: rgba(255,255,255,0.06); color: #fff; border: 0; padding: 11px 14px; border-radius: 10px; text-align: start; font-family: inherit; font-weight: 700; font-size: 0.94rem; cursor: pointer; }
.mob-nav-list button.mob-nav-egypro { background: rgba(189,32,37,0.28); border: 1px solid rgba(189,32,37,0.65); color: #FCA5A5; }
.mob-drawer-cats-title { font-size: 0.78rem; color: #94A3B8; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; }
.mob-drawer-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mob-drawer-cats button { background: rgba(255,255,255,0.08); color: #E2E8F0; border: 1px solid rgba(255,255,255,0.1); padding: 8px 10px; border-radius: 9px; font-family: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }

/* Fix Cookie Banner Alignment & Mobile Bottom Nav Clearance */
@media (max-width: 768px) {
  .cookie-banner {
    left: 12px !important; right: 12px !important;
    inset-inline-start: 12px !important; inset-inline-end: 12px !important;
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    max-width: none !important; width: auto !important;
    z-index: 105; padding: 14px 16px;
  }
  .cookie-actions { justify-content: flex-end; }
  .sub-header-inner { padding-inline: 12px !important; }
  .category-strip-inner { gap: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .cat-chip { scroll-snap-align: start; padding: 6px 12px; font-size: 0.8rem; }
  .header-inner { gap: 8px; padding-inline: 12px !important; }
  .btn-cart .cart-label { display: none; }
  .btn-cart { padding: 7px 11px; }
  .btn-lang-pill { padding: 6px 10px; font-size: 0.8rem; }
  .floating-wa-btn { bottom: calc(76px + env(safe-area-inset-bottom)) !important; inset-inline-end: 12px !important; padding: 9px 13px; font-size: 0.82rem; }
  .footer-address-card { max-width: 100%; }
  .footer-bottom { padding-bottom: 24px; }
}

/* Tablet Tuning (769px – 1100px) */
@media (min-width: 769px) and (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 16px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-grid { gap: 24px; }
}


/* ==================== V12.9 TYPOGRAPHY & CATEGORY/FILTER POLISH (DESKTOP + MOBILE) ==================== */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
button, input, select, textarea { font-family: inherit; }

/* Crisp English (LTR) Typography — eliminates clunky heavy faux-bold */
html[dir="ltr"] body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.005em;
}
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] .section-head h2,
html[dir="ltr"] .shop-header h2,
html[dir="ltr"] .hero-title {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
}
html[dir="ltr"] .nav-link,
html[dir="ltr"] .cat-chip,
html[dir="ltr"] .brand-pill,
html[dir="ltr"] .btn {
  font-weight: 600;
  letter-spacing: -0.01em;
}
html[dir="ltr"] .product-title {
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.38;
  letter-spacing: -0.01em;
}
html[dir="ltr"] .price-now { font-weight: 700; letter-spacing: -0.02em; }

/* Crisp Arabic (RTL) Typography */
html[dir="rtl"] body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] .section-head h2,
html[dir="rtl"] .shop-header h2 {
  font-weight: 800;
  line-height: 1.32;
}

/* Polished Category Strip (Desktop & Mobile) */
.sub-header-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 2px 10px rgba(14, 22, 41, 0.04);
}
.category-strip-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 4px 2px;
  scrollbar-width: none;
}
.category-strip-inner::-webkit-scrollbar { display: none; }
.cat-chip {
  scroll-snap-align: start;
  flex-shrink: 0;
  padding: 7px 15px;
  font-size: 0.83rem;
  line-height: 1.2;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #1E293B;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.cat-chip.active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(14, 22, 41, 0.16);
}

/* Polished Shop Header & Filter Controls (Desktop Row + Mobile 2-Column Grid) */
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.shop-header h2 {
  margin: 0 0 4px;
  font-size: clamp(1.32rem, 2.3vw, 1.75rem);
  color: var(--brand-primary);
}
.shop-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 4px 16px rgba(14, 22, 41, 0.04);
}
.shop-controls select {
  appearance: none;
  -webkit-appearance: none;
  height: 40px;
  padding: 0 32px 0 12px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background-color: #F8FAFC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  color: #0F172A;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 148px;
  cursor: pointer;
  transition: border-color .18s, background-color .18s;
}
html[dir="rtl"] .shop-controls select {
  padding: 0 12px 0 32px;
  background-position: left 10px center;
}
.shop-controls select:focus {
  outline: none;
  border-color: var(--brand-primary);
  background-color: #fff;
}
.shop-controls #resetFiltersBtn {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
}
.shop-controls #resetFiltersBtn:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

@media (max-width: 768px) {
  .sub-header-inner { padding: 8px 12px; }
  .cat-chip { padding: 7px 13px; font-size: 0.81rem; }
  .shop-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 18px;
  }
  .shop-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    padding: 10px;
    border-radius: 14px;
  }
  .shop-controls select {
    width: 100%;
    min-width: 0;
    height: 42px;
    font-size: 0.82rem;
    text-overflow: ellipsis;
  }
  .shop-controls #resetFiltersBtn {
    grid-column: 1 / -1;
    width: 100%;
    height: 38px;
  }
  .whatsapp-float {
    bottom: 76px !important;
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
  }
}


/* ==================== V13.1 TRUE CENTERED MOBILE HEADER LOGO ==================== */
@media (max-width: 980px) {
  .header-inner {
    position: relative;
    min-height: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .header-inner .brand-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .header-inner .brand-logo img {
    height: 36px !important;
    max-width: 118px !important;
    width: auto;
    object-fit: contain;
  }
  .header-actions {
    gap: 6px;
    z-index: 3;
  }
  .mob-menu-toggle {
    z-index: 3;
  }
}
@media (max-width: 440px) {
  .header-inner .brand-logo img {
    height: 33px !important;
    max-width: 104px !important;
  }
  .btn-lang-pill {
    padding: 5px 9px !important;
    font-size: 0.76rem !important;
    gap: 4px !important;
  }
  .btn-cart {
    padding: 6px 9px !important;
    font-size: 0.78rem !important;
    gap: 4px !important;
  }
}


/* ==================== V13.2 BRAND LOGOS PILLS & MOVING MARQUEE SLIDER ==================== */
.brands-marquee-section {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 20px 0 24px;
  overflow: hidden;
}
.brands-marquee-head {
  text-align: center;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.02em;
}
.brands-marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: egycamBrandMarquee 42s linear infinite;
}
.brands-marquee-viewport:hover .brands-marquee-track {
  animation-play-state: paused;
}
@keyframes egycamBrandMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-brand-card {
  flex-shrink: 0;
  height: 58px;
  min-width: 132px;
  padding: 10px 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.marquee-brand-card:hover {
  background: #FFFFFF;
  border-color: var(--brand-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 22, 41, 0.08);
}
.marquee-brand-card img {
  height: 28px;
  width: auto;
  max-width: 106px;
  object-fit: contain;
  display: block;
}

/* Shop Brands Bar — Logo Pills */
.brands-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  align-items: center;
  padding: 4px 2px;
  scrollbar-width: none;
}
.brands-row::-webkit-scrollbar { display: none; }
.brand-pill.brand-pill-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 96px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  transition: all .18s;
}
.brand-pill.brand-pill-img:hover {
  border-color: var(--brand-primary);
  background: #F8FAFC;
  transform: translateY(-1px);
}
.brand-pill.brand-pill-img.active {
  background: #FEF2F2;
  border-color: var(--brand-accent);
  box-shadow: 0 4px 12px rgba(189, 32, 37, 0.16);
}
.brand-pill-logo {
  height: 22px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  display: block;
}
.brand-pill.brand-pill-all {
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .brands-marquee-track { animation-duration: 32s; gap: 12px; }
  .marquee-brand-card { height: 50px; min-width: 112px; padding: 8px 14px; }
  .marquee-brand-card img { height: 24px; max-width: 88px; }
  .brand-pill.brand-pill-img { height: 40px; min-width: 84px; padding: 5px 10px; }
  .brand-pill-logo { height: 20px; max-width: 72px; }
}


/* ==================== V13.3 DIRECT PWA INSTALL BAR ==================== */
.pwa-install-bar {
  position: fixed;
  bottom: 18px;
  inset-inline-start: 18px;
  z-index: 95;
  background: rgba(14, 22, 41, 0.97);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 14px 36px rgba(7, 12, 24, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 420px;
}
.pwa-install-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pwa-install-icon { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.2); }
.pwa-install-info strong { display: block; font-size: 0.86rem; line-height: 1.25; }
.pwa-install-info small { display: block; font-size: 0.72rem; color: #CBD5E1; line-height: 1.3; }
.pwa-install-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.pwa-install-actions .btn-sm { padding: 7px 12px; font-size: 0.8rem; white-space: nowrap; }
.pwa-close-btn { background: rgba(255,255,255,0.1); border: 0; color: #CBD5E1; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 0.82rem; display: grid; place-items: center; }
@media (max-width: 768px) {
  .pwa-install-bar {
    inset-inline-start: 10px;
    inset-inline-end: 10px;
    max-width: none;
    bottom: calc(68px + env(safe-area-inset-bottom));
    padding: 9px 11px;
  }
}


/* ==================== V13.6 UNIFIED FOOTER CONTACT & ADDRESS ALIGNMENT ==================== */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}
.footer-contact-list .phone-wa-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  transition: border-color .2s, background .2s;
}
.footer-contact-list .phone-wa-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}
.footer-contact-list .phone-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F8FAFC;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}
.footer-contact-list .footer-address-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  margin: 0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  text-align: start;
}
.footer-contact-list .addr-pin-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(189, 32, 37, 0.22);
  border: 1px solid rgba(189, 32, 37, 0.45);
  color: #FCA5A5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.footer-contact-list .addr-pin-ico svg { width: 18px; height: 18px; }
.footer-contact-list .addr-text-wrap {
  flex: 1;
  min-width: 0;
  text-align: start;
}
.footer-contact-list .addr-lines {
  display: block;
  color: #E2E8F0;
  font-size: 0.87rem;
  line-height: 1.65;
  font-weight: 600;
}
.footer-contact-list .footer-email-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color .2s, background .2s;
}
.footer-contact-list .footer-email-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--brand-accent);
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .footer-contact-list { max-width: 100%; }
}


/* ==================== V13.7 MODERN SVG PHONE, WHATSAPP & MAIL PILLS ==================== */
.contact-ico-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0;
  transition: background .2s, color .2s, border-color .2s;
}
.contact-ico-badge svg { width: 16px; height: 16px; }
.phone-wa-row:hover .phone-ico {
  background: rgba(189, 32, 37, 0.22);
  border-color: rgba(189, 32, 37, 0.5);
  color: #FCA5A5;
}
.phone-digits {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  color: #F8FAFC;
}
.wa-modern-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.36);
  color: #4ADE80;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all .2s ease;
}
.wa-modern-pill svg { width: 15px; height: 15px; flex-shrink: 0; }
.wa-modern-pill:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}
.footer-contact-list .footer-email-pill {
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
}
.footer-contact-list .footer-email-pill:hover .mail-ico {
  background: rgba(189, 32, 37, 0.22);
  border-color: rgba(189, 32, 37, 0.5);
  color: #FCA5A5;
}


/* ==================== V13.8 ZERO-OVERLAP MOBILE PWA BAR & WHATSAPP FLOAT ==================== */
@media (max-width: 768px) {
  .pwa-install-bar {
    inset-inline-start: 10px !important;
    inset-inline-end: 10px !important;
    bottom: calc(68px + env(safe-area-inset-bottom)) !important;
    padding: 9px 12px !important;
    gap: 10px !important;
    z-index: 98 !important;
  }
  .pwa-install-info strong { font-size: 0.82rem !important; }
  .pwa-install-info small { font-size: 0.7rem !important; }
  .pwa-install-actions .btn-sm { padding: 7px 11px !important; font-size: 0.78rem !important; }

  .whatsapp-float {
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    transition: bottom .25s ease, transform .2s ease !important;
    z-index: 97 !important;
  }
  body.has-pwa-bar .whatsapp-float {
    bottom: calc(144px + env(safe-area-inset-bottom)) !important;
  }
}


/* ==================== V13.9 DESKTOP 2x2 BALANCED FOOTER CONTACT GRID ==================== */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 2.15fr 0.9fr !important;
    gap: 28px !important;
    align-items: start !important;
  }
  .footer-contact-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    grid-auto-flow: column !important;
    gap: 10px 14px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .footer-contact-list > li {
    display: flex;
    align-items: stretch;
  }
  .footer-contact-list .phone-wa-row,
  .footer-contact-list .footer-address-card,
  .footer-contact-list .footer-email-pill {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box;
  }
  .footer-contact-list .addr-lines {
    font-size: 0.83rem;
    line-height: 1.5;
  }
}


/* ==================== V14.0 SYMMETRICAL CENTERED FOOTER & ZERO WHATSAPP OVERLAP ==================== */
@media (min-width: 1024px) {
  .site-footer {
    padding-bottom: 34px !important;
  }
  .footer-grid {
    grid-template-columns: 0.92fr 2.16fr 0.92fr !important;
    gap: 32px !important;
    align-items: start !important;
    padding-bottom: 32px !important;
  }
  .footer-grid > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-grid > div:nth-child(2) h4 {
    text-align: center;
    width: 100%;
    margin-bottom: 14px;
  }
  .footer-contact-list {
    max-width: 660px !important;
    margin: 0 auto !important;
  }
  .footer-contact-list .footer-address-card {
    justify-content: center;
  }
  .footer-contact-list .footer-email-pill {
    justify-content: center !important;
  }
  .footer-grid > div:nth-child(3) {
    padding-inline-end: 16px;
  }
  .footer-bottom {
    padding-bottom: 18px !important;
    padding-inline: 110px !important;
  }
  .whatsapp-float {
    bottom: 20px !important;
    inset-inline-end: 20px !important;
    z-index: 96 !important;
  }
}


/* ==================== V14.3 MATHEMATICALLY SYMMETRICAL 3-COLUMN DESKTOP FOOTER ==================== */
@media (min-width: 1024px) {
  .footer-grid {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 36px !important;
    padding-bottom: 34px !important;
  }
  .footer-grid > div:nth-child(1) {
    flex: 0 0 250px !important;
    width: 250px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid > div:nth-child(1) .footer-logo {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }
  .footer-grid > div:nth-child(2) {
    flex: 1 1 auto !important;
    max-width: 640px !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-grid > div:nth-child(2) h4 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    text-align: center !important;
    width: 100%;
  }
  .footer-grid > div:nth-child(3) {
    flex: 0 0 250px !important;
    width: 250px !important;
    padding-inline-end: 0 !important;
  }
  .footer-grid > div:nth-child(3) h4 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }
  .footer-contact-list {
    width: 100% !important;
    max-width: 640px !important;
  }
}


/* ==================== V15.0 GEAR & CAMERA COMPARE STUDIO ==================== */
.cmp-presets { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.cmp-selectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 16px; margin-bottom: 18px; box-shadow: 0 6px 20px rgba(14,22,41,0.04); }
.cmp-selectors label { display: block; font-size: 0.82rem; font-weight: 700; color: #475569; margin-bottom: 6px; }
.cmp-selectors select { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid #CBD5E1; border-radius: 10px; background: #F8FAFC; font-weight: 700; font-size: 0.88rem; color: #0E1629; }
.cmp-ai-bar { display: flex; gap: 10px; margin-bottom: 18px; background: #EEF2FF; border: 1px solid #C7D2FE; padding: 12px; border-radius: 14px; }
.cmp-ai-bar input { flex: 1; border: 1px solid #CBD5E1; border-radius: 10px; padding: 10px 14px; background: #fff; font-size: 0.9rem; }
.cmp-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #E2E8F0; border-radius: 18px; box-shadow: 0 10px 30px rgba(14,22,41,0.06); }
.cmp-matrix { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-matrix th, .cmp-matrix td { padding: 14px 16px; border-bottom: 1px solid #F1F5F9; text-align: start; vertical-align: middle; font-size: 0.9rem; }
.cmp-matrix thead th { background: #0E1629; color: #fff; vertical-align: top; }
.cmp-matrix thead th:first-child { width: 200px; background: #070C18; }
.cmp-col-brand { font-size: 0.74rem; color: #FCA5A5; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.cmp-col-name { font-size: 1.05rem; font-weight: 800; margin: 4px 0 10px; color: #fff; }
.cmp-col-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.cmp-col-actions .btn-sm { padding: 6px 10px; font-size: 0.76rem; }
.cmp-spec-lbl { font-weight: 800; color: #0E1629; background: #F8FAFC; width: 200px; }
.cmp-matrix tbody tr:hover td { background: #F8FAFC; }
.cmp-win { display: inline-block; margin-inline-start: 6px; padding: 2px 7px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
@media (max-width: 768px) {
  .cmp-selectors { grid-template-columns: 1fr; }
  .cmp-matrix th, .cmp-matrix td { padding: 10px 12px; font-size: 0.82rem; }
  .cmp-spec-lbl { width: 130px; }
}


/* ==================== V16.0 FULL LEGAL PAGES, SEO HASHTAGS & AI ASSISTANT ==================== */
.legal-page-card { max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid #E2E8F0; border-radius: 20px; padding: 34px 36px; box-shadow: 0 12px 34px rgba(14,22,41,0.06); }
.legal-page-head h1 { margin: 10px 0 14px; font-size: clamp(1.45rem, 2.8vw, 2.05rem); color: var(--brand-primary); }
.legal-tabs-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #E2E8F0; }
.legal-page-body { color: #1E293B; line-height: 1.9; font-size: 0.98rem; }
.legal-sec-h { margin: 22px 0 8px; font-size: 1.12rem; color: var(--brand-primary); border-inline-start: 4px solid var(--brand-accent); padding-inline-start: 12px; }
.legal-ul { margin: 6px 0 14px; padding-inline-start: 22px; display: grid; gap: 6px; }
.legal-page-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid #E2E8F0; display: flex; gap: 10px; flex-wrap: wrap; }

.article-tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 14px; }
.article-tag-pill { background: #F1F5F9; color: #0E1629; border: 1px solid #CBD5E1; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }

/* AI Assistant Floating Button & Chat Window (Zero overlap with WhatsApp) */
.ai-chat-fab {
  position: fixed;
  bottom: 76px;
  inset-inline-end: 20px;
  z-index: 96;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0E1629, #1E3A5F);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(14,22,41,0.38);
  transition: transform .2s, box-shadow .2s;
}
.ai-chat-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(189,32,37,0.35); border-color: var(--brand-accent); }
.ai-fab-ico { font-size: 1.1rem; }

.ai-chat-box {
  position: fixed;
  bottom: 132px;
  inset-inline-end: 20px;
  z-index: 120;
  width: 375px;
  max-width: calc(100vw - 24px);
  height: 500px;
  max-height: calc(100vh - 160px);
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(7,12,24,0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-chat-head { background: linear-gradient(135deg, #0E1629, #1A2744); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--brand-accent); }
.ai-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.12); display: grid; place-items: center; font-size: 1.2rem; }
.ai-chat-head strong { display: block; font-size: 0.92rem; }
.ai-chat-head small { display: block; font-size: 0.7rem; color: #CBD5E1; }
.ai-close-btn { background: rgba(255,255,255,0.12); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.ai-chat-messages { flex: 1; padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: #F8FAFC; }
.ai-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 0.86rem; line-height: 1.6; }
.ai-msg-bot { align-self: flex-start; background: #fff; color: #0F172A; border: 1px solid #E2E8F0; border-start-start-radius: 4px; }
.ai-msg-user { align-self: flex-end; background: var(--brand-primary); color: #fff; border-start-end-radius: 4px; }
.ai-typing { opacity: 0.72; font-style: italic; }
.ai-quick-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; background: #fff; border-top: 1px solid #F1F5F9; scrollbar-width: none; }
.ai-chip { white-space: nowrap; background: #F1F5F9; border: 1px solid #CBD5E1; border-radius: 999px; padding: 4px 10px; font-size: 0.75rem; font-weight: 700; color: #0E1629; cursor: pointer; }
.ai-chip:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.ai-chat-form { display: flex; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid #E2E8F0; }
.ai-chat-form input { flex: 1; border: 1.5px solid #CBD5E1; border-radius: 10px; padding: 8px 12px; font-size: 0.86rem; outline: none; }
.ai-chat-form input:focus { border-color: var(--brand-primary); }

@media (max-width: 768px) {
  .legal-page-card { padding: 20px 16px; border-radius: 16px; }
  .ai-chat-fab { bottom: calc(128px + env(safe-area-inset-bottom)) !important; padding: 9px 13px; font-size: 0.8rem; }
  body.has-pwa-bar .ai-chat-fab { bottom: calc(198px + env(safe-area-inset-bottom)) !important; }
  .ai-chat-box { inset-inline: 10px; bottom: calc(74px + env(safe-area-inset-bottom)); width: auto; height: 70vh; }
}


/* ==================== V16.1 RESPONSIVE AI CHAT (4K / LAPTOP / TABLET / IPHONE / ANDROID) ==================== */
.ai-msg-admin {
  align-self: flex-start;
  background: #FEF2F2;
  color: #0F172A;
  border: 1px solid #FECACA;
  border-start-start-radius: 4px;
}
.ai-chat-form input {
  font-size: 16px !important; /* Prevents iOS Safari auto-zoom on focus */
}
@media (min-width: 1440px) {
  .ai-chat-box { width: 410px; height: 560px; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .ai-chat-box { width: 350px; height: 480px; bottom: 124px; }
}
@media (max-width: 768px) {
  .ai-chat-fab {
    inset-inline-end: 14px !important;
    bottom: calc(130px + env(safe-area-inset-bottom)) !important;
    padding: 9px 14px !important;
    font-size: 0.8rem !important;
    z-index: 97 !important;
  }
  body.has-pwa-bar .ai-chat-fab {
    bottom: calc(198px + env(safe-area-inset-bottom)) !important;
  }
  .ai-chat-box {
    position: fixed !important;
    inset-inline: 8px !important;
    bottom: calc(68px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    height: min(74dvh, 520px) !important;
    max-height: calc(100dvh - 120px) !important;
    border-radius: 18px !important;
    z-index: 150 !important;
  }
  .ai-chat-form {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;
  }
}


/* ==================== V16.2 UNIFIED FLOATING DOCK & SLIDE-IN CHAT DRAWER (ZERO OVERLAP) ==================== */
.floating-action-dock {
  position: fixed !important;
  inset-inline-end: 18px !important;
  bottom: 20px !important;
  z-index: 98 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  pointer-events: none;
  transition: bottom .25s ease !important;
}
.floating-action-dock > * {
  position: static !important;
  inset: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  pointer-events: auto;
}
.floating-action-dock .ai-chat-fab {
  position: relative !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0E1629, #1E3A5F);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(14, 22, 41, 0.35);
}
.floating-action-dock .floating-wa-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 16px !important;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}
.chat-fab-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28);
  flex-shrink: 0;
}
.chat-unread-badge {
  background: #EF4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Backdrop + Slide-In Drawer */
.chat-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 24, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 145;
}
.chat-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: 420px;
  max-width: 100vw;
  background: #FFFFFF;
  z-index: 150;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 44px rgba(7, 12, 24, 0.32);
  border-inline-start: 1px solid #E2E8F0;
}
.chat-status-line { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.chat-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; display: inline-block; flex-shrink: 0; }
.chat-guest-bar {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
  align-items: center;
}
.chat-guest-bar input {
  flex: 1;
  min-width: 0;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.8rem;
  background: #fff;
}
.chat-guest-bar .btn-sm { padding: 6px 10px; font-size: 0.76rem; flex-shrink: 0; }
.chat-wa-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  background: #ECFDF5;
  border-top: 1px solid #A7F3D0;
  font-size: 0.78rem;
  color: #065F46;
  font-weight: 700;
}
.wa-strip-link {
  color: #059669;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}
.wa-strip-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .floating-action-dock {
    inset-inline-end: 12px !important;
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    gap: 8px !important;
  }
  body.has-pwa-bar .floating-action-dock {
    bottom: calc(144px + env(safe-area-inset-bottom)) !important;
  }
  .floating-action-dock .ai-chat-fab,
  .floating-action-dock .floating-wa-btn {
    padding: 8px 13px !important;
    font-size: 0.78rem !important;
  }
  .chat-drawer {
    top: auto;
    inset-inline: 0;
    bottom: 0;
    width: 100%;
    height: 84dvh;
    border-radius: 20px 20px 0 0;
    border-inline-start: 0;
    overflow: hidden;
  }
  .chat-guest-bar input { font-size: 16px; }
}

/* Articles Pagination */
.articles-pagination {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pagination-info {
  font-size: 0.86rem;
  color: #64748B;
  font-weight: 700;
}
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--brand-primary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  transform: translateY(-1px);
}
.page-btn.active {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(189, 32, 37, 0.25);
  cursor: default;
}
.page-btn.page-nav {
  padding: 0 16px;
}
.page-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.page-ellipsis {
  color: #94A3B8;
  font-weight: 800;
  padding: 0 4px;
  user-select: none;
}

/* === V16.8 Compact Floating Chat Widget (Desktop) & Keyboard-Safe Sheet (Mobile) === */
.chat-backdrop {
  display: none;
}
.chat-drawer {
  position: fixed;
  top: auto;
  bottom: 88px;
  inset-inline-end: 20px;
  width: 360px;
  max-width: calc(100vw - 24px);
  height: 510px;
  max-height: calc(100dvh - 115px);
  background: #FFFFFF;
  z-index: 160;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 54px rgba(14, 22, 41, 0.28);
  border: 1px solid #CBD5E1;
  box-sizing: border-box;
}
.chat-drawer * { box-sizing: border-box; }
.chat-drawer .ai-chat-head {
  flex-shrink: 0;
  padding: 12px 14px;
}
.chat-drawer .ai-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px;
}
.chat-guest-bar {
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
}
.chat-guest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}
.chat-guest-grid input {
  width: 100%;
  min-width: 0;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 0.82rem;
  font-family: inherit;
  background: #fff;
}
.chat-guest-grid .chat-guest-submit {
  grid-column: 1 / -1;
  width: 100%;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 8px;
}
.chat-drawer .ai-quick-chips {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  overflow: visible;
  background: #fff;
  border-top: 1px solid #F1F5F9;
}
.chat-drawer .ai-chip {
  white-space: normal;
  font-size: 0.73rem;
  padding: 5px 10px;
  line-height: 1.3;
}
.chat-drawer .chat-wa-strip {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.75rem;
}
.chat-drawer .ai-chat-form {
  flex-shrink: 0;
  display: flex;
  gap: 6px;
  padding: 9px 10px;
  background: #fff;
  border-top: 1px solid #E2E8F0;
  align-items: center;
}
.chat-drawer .ai-chat-form input {
  flex: 1;
  min-width: 0;
  font-size: 0.86rem;
  padding: 8px 10px;
  border-radius: 10px;
}
.chat-drawer .ai-chat-form button {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
}

/* Keep 7-item main-nav crisp & single-line on laptops */
.main-nav { gap: 4px; }
.main-nav .nav-link { padding: 7px 11px; font-size: 0.86rem; white-space: nowrap; }

@media (max-width: 768px) {
  .chat-backdrop:not(.hidden) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7, 12, 24, 0.45);
    z-index: 155;
  }
  .chat-drawer {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset-inline: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }
  .chat-guest-grid input,
  .chat-drawer .ai-chat-form input {
    font-size: 16px;
  }
  .chat-drawer .ai-chat-form {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
}

/* === V16.11 Bulletproof Floating Action Dock Lock (Zero Mobile Jump/Glitch) === */
.floating-action-dock {
  position: fixed !important;
  inset-inline-end: 18px !important;
  bottom: 22px !important;
  z-index: 130 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  pointer-events: none;
}
.floating-action-dock > *,
.floating-action-dock .ai-chat-fab,
.floating-action-dock .floating-wa-btn,
body.has-pwa-bar .floating-action-dock .ai-chat-fab,
body.has-pwa-bar .floating-action-dock .floating-wa-btn {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  inset: auto !important;
  inset-inline-end: auto !important;
  margin: 0 !important;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .floating-action-dock {
    left: 12px !important;
    right: 12px !important;
    inset-inline: 12px !important;
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    direction: rtl !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
  }
  body.has-pwa-bar .floating-action-dock {
    bottom: calc(146px + env(safe-area-inset-bottom)) !important;
  }
  .floating-action-dock .ai-chat-fab,
  .floating-action-dock .floating-wa-btn,
  body.has-pwa-bar .floating-action-dock .ai-chat-fab,
  body.has-pwa-bar .floating-action-dock .floating-wa-btn {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    inset: auto !important;
    padding: 8px 13px !important;
    font-size: 0.78rem !important;
  }
  .floating-action-dock .floating-wa-btn {
    margin-right: auto !important;
  }
}

/* === V16.13 Sleek Circular WhatsApp + Matching-Height AI Assistant Side-by-Side === */
.floating-action-dock {
  position: fixed !important;
  left: auto !important;
  right: auto !important;
  inset-inline-end: 18px !important;
  bottom: 22px !important;
  z-index: 130 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  pointer-events: none;
}
.floating-action-dock .floating-wa-btn {
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.42) !important;
}
.floating-action-dock .floating-wa-btn span {
  display: none !important;
}
.floating-action-dock .floating-wa-btn svg {
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
}
.floating-action-dock .ai-chat-fab {
  height: 48px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 0.84rem !important;
  margin: 0 !important;
}
.floating-action-dock .ai-chat-fab .ai-fab-ico {
  font-size: 0.96rem !important;
  line-height: 1 !important;
}
.footer-bottom-inner {
  justify-content: center;
  text-align: center;
}
@media (max-width: 768px) {
  .floating-action-dock {
    left: auto !important;
    right: auto !important;
    inset-inline: auto !important;
    inset-inline-end: 12px !important;
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
  }
  body.has-pwa-bar .floating-action-dock {
    bottom: calc(146px + env(safe-area-inset-bottom)) !important;
  }
  .floating-action-dock .floating-wa-btn {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .floating-action-dock .floating-wa-btn svg {
    width: 22px !important;
    height: 22px !important;
  }
  .floating-action-dock .ai-chat-fab {
    height: 44px !important;
    padding: 0 12px !important;
    font-size: 0.78rem !important;
    gap: 6px !important;
  }
  .floating-action-dock .ai-chat-fab .ai-fab-ico {
    font-size: 0.88rem !important;
  }
}

/* ============================================================================
   EGY CAM STORE V17.0 — MOBILE COMPARE, DROPDOWNS, USED, TRADE-IN, VIDEOS, FOOTER
   ============================================================================ */

/* Header Navigation Dropdown Menus */
.nav-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-caret {
  font-size: 0.7rem;
  margin-inline-start: 4px;
  opacity: 0.8;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  min-width: 230px;
  background: #0E1629;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(7, 12, 24, 0.45);
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 220;
}
.nav-item-wrap:hover .nav-dropdown-menu,
.nav-item-wrap.open .nav-dropdown-menu {
  display: flex;
}
.nav-dropdown-item {
  width: 100%;
  text-align: start;
  background: transparent;
  border: 0;
  color: #E2E8F0;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.nav-dropdown-item:hover {
  background: rgba(189, 32, 37, 0.22);
  color: #fff;
}

/* Auto-Loaded Category Brand Strip in Shop */
.cat-auto-brands-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
}
.cat-auto-brands-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #475569;
  margin-inline-end: 4px;
}

/* Used Cameras & Multi-Photo Gallery */
.used-card-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: #059669;
}
.used-card-badge.reserved { background: #D97706; }
.used-card-badge.sold { background: #64748B; }
.used-shutter-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F1F5F9;
  color: #0E1629;
  border: 1px solid #CBD5E1;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}
.used-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: #0E1629;
  border: 1px solid #E2E8F0;
}
.used-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.used-gallery-thumbs img {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.used-gallery-thumbs img.active,
.used-gallery-thumbs img:hover {
  border-color: var(--brand-accent);
}
.used-spec-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.used-spec-row {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.used-spec-row strong { font-size: 0.8rem; color: #64748B; }
.used-spec-row span { font-size: 0.92rem; color: #0E1629; font-weight: 700; }

/* Trade-In Form & Photo Previews */
.trade-in-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.trade-photo-previews {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.trade-photo-previews img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
}

/* Mobizil-Style YouTube Video Review Section */
.pdp-videos-section {
  margin-top: 28px;
  padding: 22px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
}
.pdp-videos-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.pdp-videos-head h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdp-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.yt-video-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.yt-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(14,22,41,0.12);
}
.yt-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0E1629;
  overflow: hidden;
}
.yt-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 40px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.94);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.yt-video-title {
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0E1629;
}
.yt-iframe-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Google AdSense Clean Wrapper */
.egy-adsense-slot {
  margin: 20px auto;
  text-align: center;
  min-height: 90px;
  overflow: hidden;
}

/* Footer Bottom Spacer + Bilingual Copyright + Asaad Media Credit */
.site-footer {
  padding-bottom: 66px !important;
}
.footer-copy-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: #CBD5E1;
  line-height: 1.7;
}
.footer-copy-line .copy-sep {
  opacity: 0.45;
}
.dev-credit-link {
  color: #F8FAFC;
  font-weight: 800;
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(189, 32, 37, 0.18);
  border: 1px solid rgba(252, 165, 165, 0.3);
  transition: all .2s ease;
}
.dev-credit-link:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}

/* === MOBILE COMPARISON TABLE REDESIGN (ZERO CLIPPING — AR & EN) === */
@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 78px !important;
  }
  .compare-table-wrap {
    overflow: visible !important;
    border-radius: 14px;
  }
  .compare-table,
  .compare-table thead,
  .compare-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .compare-table thead tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    width: 100% !important;
  }
  .compare-table thead th:first-child {
    display: none !important;
  }
  .compare-table thead th {
    padding: 12px 10px !important;
    font-size: 0.84rem !important;
    text-align: center !important;
    min-width: 0 !important;
    word-break: break-word;
  }
  .compare-table thead th .btn {
    width: 100%;
    font-size: 0.75rem !important;
    padding: 6px 8px !important;
  }
  .compare-table tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    border-bottom: 1px solid #E2E8F0;
  }
  .compare-table tbody td:first-child {
    grid-column: 1 / -1 !important;
    background: #F1F5F9 !important;
    color: #0E1629 !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    padding: 8px 12px !important;
    text-align: center !important;
    border-bottom: 1px solid #E2E8F0;
  }
  .compare-table tbody td:not(:first-child) {
    padding: 10px 8px !important;
    font-size: 0.8rem !important;
    text-align: center !important;
    min-width: 0 !important;
    word-break: break-word;
    border-inline-end: 1px solid #F1F5F9;
  }
  .compare-table tbody td:last-child {
    border-inline-end: 0;
  }
}

/* ============================================================================
   EGY CAM STORE V18.0 — ZERO-GAP DROPDOWN, MOBILE COMPARE CARDS & MOBILE DRAWER
   ============================================================================ */
.nav-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 4px;
  margin-bottom: -4px;
}
.nav-dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  inset-inline-start: 0;
  margin-top: 0 !important;
  min-width: 245px;
  background: #0E1629;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 20px 44px rgba(7, 12, 24, 0.5);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 260;
}
/* Invisible hover bridge so moving mouse slowly from button to menu NEVER closes it */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-item-wrap:hover .nav-dropdown-menu,
.nav-item-wrap:focus-within .nav-dropdown-menu,
.nav-item-wrap.open .nav-dropdown-menu {
  display: flex !important;
}

/* Mobile Drawer Sub-Items */
.mob-sub-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline-start: 14px;
  margin: 4px 0 8px;
  border-inline-start: 2px solid rgba(189, 32, 37, 0.5);
}
.mob-sub-btn {
  text-align: start;
  background: rgba(255,255,255,0.06);
  color: #E2E8F0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* Dedicated Mobile Comparison Cards (AR RTL & EN LTR — 100% Zero Clipping) */
.cmp-mobile-cards { display: none; }
@media (max-width: 768px) {
  .compare-table-wrap { display: none !important; }
  .cmp-mobile-cards {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .cmp-mob-header-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 10px;
  }
  .cmp-mob-cam-head {
    background: linear-gradient(135deg, #0E1629, #1A2744);
    color: #fff;
    border-radius: 14px;
    padding: 12px;
    border-top: 3px solid var(--brand-accent);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .cmp-mob-cam-head small { color: #FCA5A5; font-weight: 800; font-size: 0.72rem; }
  .cmp-mob-cam-head strong { font-size: 0.92rem; line-height: 1.35; }
  .cmp-mob-cam-head .btn { width: 100%; padding: 6px 8px; font-size: 0.74rem; }
  .cmp-mob-spec-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(14,22,41,0.04);
  }
  .cmp-mob-spec-title {
    background: #F1F5F9;
    color: #0E1629;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 8px 12px;
    border-bottom: 1px solid #E2E8F0;
  }
  .cmp-mob-spec-rows {
    display: flex;
    flex-direction: column;
  }
  .cmp-mob-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.82rem;
  }
  .cmp-mob-spec-row:last-child { border-bottom: 0; }
  .cmp-mob-spec-cam {
    font-weight: 800;
    color: #475569;
    font-size: 0.76rem;
    flex-shrink: 0;
    max-width: 42%;
  }
  .cmp-mob-spec-val {
    font-weight: 700;
    color: #0E1629;
    text-align: end;
    word-break: break-word;
  }
}

@media (max-width: 768px) { .footer-copy-line { flex-direction: column; gap: 6px; } .footer-copy-line .copy-sep { display: none; } }

/* V18.2 Sleek Product Videos Theatre Layout (Above Related Products) */
.pdp-videos-section {
  max-width: 900px;
  margin: 26px auto 12px;
  padding: 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(14, 22, 41, 0.06);
}
.pdp-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  justify-content: center;
  gap: 16px;
}

/* V19.0 Force-close dropdown after click & smooth spring animation on AI Chat Box */
.nav-item-wrap.force-closed .nav-dropdown-menu {
  display: none !important;
}
@keyframes egyChatSpringIn {
  0%   { opacity: 0; transform: translateY(22px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
#aiChatBox:not(.hidden) {
  animation: egyChatSpringIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-origin: bottom left;
}

/* V19.1 Big Cinematic Product Video Card on Desktop */
.pdp-videos-section {
  max-width: 960px;
  margin: 28px auto 16px;
  padding: 24px;
}
.pdp-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.pdp-videos-grid.single-vid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.pdp-videos-grid .yt-video-card {
  width: 100%;
  border-radius: 16px;
}
@media (max-width: 768px) {
  .pdp-videos-section { padding: 14px; }
  .pdp-videos-grid,
  .pdp-videos-grid.single-vid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   EGY CAM STORE V20.1 — ANTI-FLICKER, ZERO-JITTER SCROLL & GPU STABILITY
   ============================================================================ */
html, body {
  overflow-x: clip !important;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}
/* Remove transform from page-view fade so sticky/fixed bars never flicker */
@keyframes cinemaPageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.page-view {
  animation: cinemaPageIn 0.24s ease-out !important;
  transform: none !important;
}
/* Replace heavy GPU backdrop-filter blur on sticky header & mobile nav with crisp solid GPU layer */
.site-header {
  background: #0E1629 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}
.mobile-bottom-nav,
.floating-action-dock,
.pwa-install-bar {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
/* Isolate infinite brand marquee so it NEVER invalidates page scroll */
.brands-marquee-wrap,
.brands-marquee-viewport {
  overflow: hidden !important;
  contain: layout paint;
}
.brands-marquee-track {
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
/* Eliminate Cumulative Layout Shift (CLS) on lazy images while scrolling */
.products-grid,
.articles-grid,
.portfolio-grid {
  overflow-anchor: none;
}
.product-thumb {
  height: var(--card-img-h, 220px);
  flex-shrink: 0;
  overflow: hidden;
  contain: layout paint;
}
.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0E1629;
}

/* ============================================================================
   EGY CAM STORE V20.2 — CLEAN DESKTOP/LAPTOP/TABLET MENU & MOBILE-ONLY QUICK CHIPS
   ============================================================================ */
.cat-chip-mobile-only {
  display: none !important;
}
@media (max-width: 900px) {
  .cat-chip-mobile-only {
    display: inline-flex !important;
  }
}
/* Crisp fit for Laptop & Tablet screens (901px - 1240px) with zero clipping */
@media (max-width: 1240px) and (min-width: 901px) {
  .main-nav { gap: 2px !important; }
  .main-nav .nav-link { padding: 6px 8px !important; font-size: 0.8rem !important; }
  .category-strip-inner { gap: 6px !important; }
  .category-strip-inner .cat-chip { padding: 6px 11px !important; font-size: 0.8rem !important; }
}
/* On tablets (<= 980px), cleanly switch top nav to the mobile drawer button so nothing overflows */
@media (max-width: 980px) {
  .main-nav { display: none !important; }
  .mob-drawer-toggle { display: inline-flex !important; }
}

/* ============================================================================
   EGY CAM STORE V20.4 — ZERO MOBILE TAP-HIGHLIGHT RECTANGLE & CLEAN CURTAIN
   ============================================================================ */
*, *::before, *::after, a, button, input, select, textarea,
.product-card, .article-card, .portfolio-card, .cat-chip, .brand-pill {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
}
.product-card:focus,
.article-card:focus,
.portfolio-card:focus,
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none;
}
.product-card:active,
.article-card:active {
  background-color: #FFFFFF !important;
}

/* ============================================================================
   EGY CAM STORE V20.8 — 2K/27" MONITOR SCALE ONLY + CLEAN TABLET TOUCH DROPDOWN
   ============================================================================ */
/* 1. 27-inch 2K / 4K Monitors ONLY (>= 1800px) — Zero impact on Laptops (<=1728px), Tablets, or Phones */
@media (min-width: 1800px) {
  html { font-size: 17.5px; }
  .container { max-width: min(88vw, 1960px) !important; padding-inline: 36px !important; }
  .header-inner { gap: 20px; }
  .main-nav { gap: 8px; }
  .main-nav .nav-link { font-size: 0.92rem; padding: 8px 14px; }
  .hero-inner { gap: 56px; align-items: center; }
  .hero-visual img { max-height: 440px; }
  .products-grid { gap: 24px; }
  .product-thumb { height: 245px !important; }
  .product-thumb img { height: 245px !important; }
  .articles-grid { gap: 22px; }
}
@media (min-width: 2200px) {
  html { font-size: 18.5px; }
  .container { max-width: min(86vw, 2120px) !important; }
  .products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 24px; }
  .articles-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px; }
  .product-thumb { height: 255px !important; }
  .product-thumb img { height: 255px !important; }
}

/* 2. Touch Tablet Dropdown Fix — Prevent stuck :hover / :focus-within on touch screens */
@media (hover: none), (pointer: coarse) {
  .nav-item-wrap:hover .nav-dropdown-menu,
  .nav-item-wrap:focus-within .nav-dropdown-menu {
    display: none !important;
  }
  .nav-item-wrap.open .nav-dropdown-menu {
    display: flex !important;
  }
}
