@font-face {
  font-family: "Noto Sans Arabic";
  src: url("../fonts/NotoSansArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("../fonts/NotoSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #17212b;
  --text-soft: #526273;
  --muted: #778798;
  --navy: #0b1520;
  --navy-soft: #132231;
  --surface: #ffffff;
  --surface-soft: #f0f3f6;
  --bg: #f7f8fa;
  --line: #dde3e9;
  --primary: #087c91;
  --primary-dark: #066879;
  --primary-soft: #e7f4f6;
  --accent: #ed6a2c;
  --danger: #d94343;
  --success: #18835a;
  --shadow: 0 12px 32px rgba(24, 39, 55, .08);
  font-family: "Noto Sans Arabic", Tahoma, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); line-height: 1.75; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
::selection { color: #fff; background: var(--primary); }
.container { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; right: 18px; z-index: 999; padding: 9px 14px; color: #fff; background: var(--primary); border-radius: 0 0 8px 8px; font-weight: 700; }
.skip-link:focus { top: 0; }

.site-header { position: sticky; top: 0; z-index: 50; height: 72px; color: #fff; background: rgba(11, 21, 32, .97); border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(12px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: max-content; color: inherit; }
.brand:hover { color: inherit; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; direction: ltr; text-align: left; line-height: 1.1; }
.brand-copy strong { font: 700 1.05rem/1.1 "Segoe UI", Arial, sans-serif; letter-spacing: .02em; text-transform: lowercase; }
.brand-copy small { margin-top: 4px; color: #8fb5bd; font: 600 .75rem/1 "Segoe UI", Arial, sans-serif; letter-spacing: .08em; }
.brand.light { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a { position: relative; padding: 8px 10px; color: #c7d0d8; border-radius: 7px; font-size: .875rem; font-weight: 400; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a.active { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav > a.active::after { content: ""; position: absolute; right: 12px; left: 12px; bottom: 1px; height: 2px; background: #50bfd0; }
.main-nav .nav-cta { margin-right: 5px; padding-inline: 14px; color: #fff; background: var(--primary); }
.language-switch a { display: inline-grid; place-items: center; min-width: 36px; min-height: 30px; padding: 2px 8px; color: var(--primary); background: var(--primary-soft); border-radius: 7px; font: 700 .75rem/1 Arial, sans-serif; }
.main-nav .nav-cta:hover { color: #fff; background: var(--primary-dark); }
.main-nav .nav-user { border: 1px solid rgba(255, 255, 255, .15); }
.main-nav .nav-quiet { color: #91a0ad; }
.badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-right: 3px; padding-inline: 5px; color: #fff; background: var(--accent); border-radius: 20px; font: 700 .75rem/1 Arial; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 9px; background: transparent; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: #fff; border-radius: 2px; }
.messages { position: fixed; top: 86px; left: 50%; z-index: 100; max-width: 620px; transform: translateX(-50%); }
.message { margin-bottom: 7px; padding: 11px 15px; color: var(--text); background: #fff; border: 1px solid var(--line); border-right: 4px solid var(--success); border-radius: 9px; box-shadow: var(--shadow); font-size: .9rem; }
.message.error { border-right-color: var(--danger); }
.message.info { border-right-color: var(--primary); }

.hero-slider { position: relative; height: 470px; min-height: 470px; overflow: hidden; color: #fff; background: var(--navy); }
.slide { position: absolute; inset: 0; display: none; align-items: center; background-position: center; background-size: cover; isolation: isolate; }
.slide.active { display: flex; animation: fade .35s ease; }
.slide.fallback { background: var(--navy); }
.slide-content { position: relative; z-index: 2; display: block; }
.slide-copy { max-width: 610px; }
.slide h1 { max-width: 600px; margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.slide p { max-width: 570px; margin: 0 0 23px; color: #d1d8df; font-size: 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #73cedb; font-size: .8rem; font-weight: 700; }
.eyebrow i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.eyebrow.dark { color: var(--primary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 25px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-metrics span { display: grid; color: #a7b3be; font-size: .78rem; }
.hero-metrics b { color: #fff; font-size: .9rem; }
.hero-core, .orbit, .core-tag { display: none; }
.slider-controls { position: absolute; bottom: 18px; left: 50%; z-index: 5; display: flex; align-items: center; gap: 11px; transform: translateX(-50%); }
.slider-dots { display: flex; align-items: center; gap: 6px; }
.slider-dots button { width: 7px; height: 7px; padding: 0; background: rgba(255, 255, 255, .35); border: 0; border-radius: 20px; cursor: pointer; transition: width .2s, background .2s; }
.slider-dots button.active { width: 24px; background: #6bc8d6; }
.slider-arrow { display: grid; place-items: center; width: 30px; height: 30px; color: #fff; background: rgba(0, 0, 0, .15); border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; cursor: pointer; }
.slider-arrow:hover { background: rgba(255, 255, 255, .1); }
@keyframes fade { from { opacity: .4; } to { opacity: 1; } }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 18px; border-left: 1px solid var(--line); }
.trust-grid > div:last-child { border-left: 0; }
.trust-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--primary); background: var(--primary-soft); border-radius: 9px; font: 700 1rem/1 Arial; }
.trust-grid p { display: grid; margin: 0; line-height: 1.5; }
.trust-grid strong { font-size: .875rem; }
.trust-grid small { margin-top: 2px; color: var(--muted); font-size: .75rem; }

.section { position: relative; padding: 64px 0; }
.section-tint { background: #eef2f5; border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.section-heading h2, .page-heading h1 { margin: 5px 0; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.4; }
.section-heading p, .page-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.section-link, .text-link { display: inline-flex; align-items: center; gap: 5px; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card, .article-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.product-card:hover, .article-card:hover { transform: translateY(-3px); border-color: #bdc8d2; box-shadow: var(--shadow); }
.product-image { position: relative; display: block; height: 235px; overflow: hidden; background: var(--surface-soft); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-image img { transform: scale(1.025); }
.image-placeholder { display: grid; place-items: center; align-content: center; width: 100%; height: 100%; gap: 4px; color: var(--primary); background: var(--surface-soft); }
.image-placeholder span { font: 700 3.5rem/1 Arial; }
.image-placeholder small { color: var(--muted); font: 600 .75rem/1 Arial; letter-spacing: .08em; }
.card-tech-label, .read-label { position: absolute; top: 11px; left: 11px; z-index: 2; padding: 4px 7px; color: #fff; background: rgba(11, 21, 32, .78); border-radius: 5px; font: 600 .75rem/1 Arial; letter-spacing: .03em; }
.discount-label { position: absolute; top: 11px; right: 11px; z-index: 3; padding: 5px 9px; color: #fff; background: var(--accent); border-radius: 6px; font-size: .78rem; font-weight: 700; }
.countdown { position: absolute; right: 10px; bottom: 10px; left: 10px; z-index: 3; padding: 5px 7px; color: #fff; background: rgba(11, 21, 32, .82); border-radius: 6px; text-align: center; font-size: .75rem; }
.product-body { padding: 16px; }
.product-body h2, .product-body h3 { margin: 4px 0 10px; font-size: 1rem; line-height: 1.65; }
.product-body h2 a, .product-body h3 a { color: var(--text); }
.muted { color: var(--muted); font-size: .8rem; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.price-row strong { color: var(--primary-dark); font-size: .98rem; }
.price-row strong small { color: var(--muted); font-size: .75rem; font-weight: 400; }
.price-row del { color: #929daa; font-size: .78rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-image { position: relative; height: 215px; overflow: hidden; }
.article-image > a, .article-card > a { display: block; height: 100%; }
.article-image img, .article-card > a > img, .article-card > img { width: 100%; height: 100%; object-fit: cover; }
.article-placeholder { display: grid !important; place-items: center; color: var(--primary); background: var(--surface-soft); font: 700 1.4rem Arial; letter-spacing: .12em; }
.article-placeholder i { display: none; }
.article-body { padding: 18px; }
.article-body h2, .article-body h3 { margin: 10px 0 8px; font-size: 1.05rem; line-height: 1.65; }
.article-body h2 a, .article-body h3 a { color: var(--text); }
.article-body p { color: var(--text-soft); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 3px 8px; color: var(--primary-dark); background: var(--primary-soft); border-radius: 20px; font-size: .75rem; }
.chips .age-chip { color: #9a4b24; background: #fff0e9; }
.card-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 13px; padding-top: 11px; color: var(--muted); border-top: 1px solid var(--line); font-size: .8rem; }

.cta-section { padding: 56px 0 70px; }
.cta-box { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 220px; overflow: hidden; padding: 34px 40px; color: #fff; background: var(--navy-soft); border-radius: 16px; }
.cta-copy { position: relative; z-index: 2; max-width: 640px; }
.cta-box h2 { margin: 6px 0; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.cta-box p { margin: 0 0 18px; color: #c9d3dc; font-size: .92rem; }
.cta-box > img { width: 175px; height: 175px; object-fit: contain; opacity: .55; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 9px 16px; font-size: .875rem; font-weight: 700; border: 1px solid transparent; border-radius: 8px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--primary); }
.btn-primary:hover { color: #fff; background: var(--primary-dark); }
.btn-secondary { color: var(--primary-dark); background: var(--primary-soft); border-color: #c8e1e5; }
.btn-light { color: var(--navy); background: #fff; }
.btn-light:hover { color: var(--navy); background: #f0f4f6; }
.btn-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.btn-danger { color: var(--danger); background: #fff0f0; border-color: #f3caca; }
.btn-block { width: 100%; }
.btn-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--danger); background: #fff0f0; border: 1px solid #f1cece; border-radius: 50%; font-size: 1.15rem; cursor: pointer; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.page-hero { position: relative; padding: 48px 0; color: #fff; background: var(--navy-soft); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 6px 0; font-size: clamp(1.8rem, 4vw, 2.45rem); line-height: 1.35; }
.page-hero p { max-width: 650px; margin: 0; color: #c9d3dc; font-size: .95rem; }
.shop-hero { background: #102435; }
.page-heading { margin-bottom: 28px; text-align: center; }
.narrow-wide { max-width: 900px; }
.panel { padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 20px rgba(24, 39, 55, .04); }
.panel h2 { font-size: 1.15rem; line-height: 1.5; }

.form-panel fieldset { margin: 0 0 26px; padding: 0 0 26px; border: 0; border-bottom: 1px solid var(--line); }
.form-panel legend { margin-bottom: 16px; color: var(--text); font-size: 1.1rem; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--text-soft); font-size: .875rem; font-weight: 700; }
.form-control { width: 100%; min-height: 44px; padding: 9px 11px; color: var(--text); background: #fff; border: 1px solid #cfd7df; border-radius: 8px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.form-control::placeholder { color: #9aa6b2; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(8, 124, 145, .1); }
.field small { color: var(--muted); font-size: .78rem; }
.errorlist { margin: 0; padding: 0; color: var(--danger); list-style: none; font-size: .8rem; }
.form-errors { margin-bottom: 18px; padding: 10px 13px; color: var(--danger); background: #fff2f2; border: 1px solid #f2cccc; border-radius: 8px; }
.age-result, .dev-note { padding: 8px 10px; color: var(--primary-dark); background: var(--primary-soft); border-radius: 7px; font-size: .8rem; }
.age-result.loading { opacity: .55; }
.sport-row { display: grid; grid-template-columns: 1fr .7fr 1fr 42px; align-items: end; gap: 11px; margin-bottom: 11px; padding: 13px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; }
.delete-field { align-items: center; justify-content: center; }

.auth-section, .gateway-page { display: grid; place-items: center; min-height: calc(100vh - 72px); padding: 52px 16px; background: #eef2f5; }
.auth-card, .gateway-card { width: min(455px, 100%); padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.auth-card h1, .gateway-card h1 { margin: 5px 0; font-size: 1.6rem; }
.auth-card > p, .gateway-card > p { color: var(--muted); font-size: .9rem; }
.auth-card form, .gateway-card form { display: grid; gap: 14px; margin-top: 20px; }
.auth-links { display: flex; justify-content: space-between; gap: 14px; margin-top: 19px; font-size: .84rem; }
.dev-note { margin-top: 16px; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile-grid .full { grid-column: 1 / -1; }
.detail-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 700; text-align: left; }
.history-list > div { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; align-items: start; gap: 24px; }
.filter-panel { position: sticky; top: 88px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.filter-panel h2 { margin-top: 0; font-size: 1.05rem; }
.filter-panel form { display: grid; gap: 12px; }
.price-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.clear-filter { text-align: center; font-size: .82rem; }
.store-grid { grid-template-columns: repeat(3, 1fr); }
.stock-status { display: inline-flex; align-items: center; gap: 6px; color: var(--danger); font-size: .78rem; }
.stock-status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.stock-status.in-stock { color: var(--success); }
.content-grid { grid-template-columns: repeat(2, 1fr); }
.catalog-content { min-width: 0; }
.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.catalog-toolbar h2 { margin: 4px 0 0; font-size: 1.25rem; }
.catalog-note { color: var(--muted); font-size: .8rem; }

.article-header { padding: 54px 0 38px; color: #fff; background: var(--navy-soft); }
.article-narrow { position: relative; max-width: 780px; }
.article-header h1 { margin: 12px 0; font-size: clamp(1.8rem, 4vw, 2.55rem); line-height: 1.5; }
.article-header p { color: #d0d8df; font-size: .98rem; }
.article-header .card-meta { color: #aebbc6; border-color: rgba(255, 255, 255, .15); }
.article-cover { width: 100%; max-height: 500px; margin-top: 28px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.article-content { padding-block: 36px; color: #303e4c; font-size: 1rem; line-height: 2; }
.article-media { margin: 30px 0; }
.article-media img, .article-media video { width: 100%; border-radius: 12px; }
.article-media audio { width: 100%; }
.article-media figcaption { margin-top: 6px; color: var(--muted); font-size: .8rem; }
.source-link { padding: 12px; background: var(--surface-soft); border-radius: 8px; }
.interaction-grid { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding-bottom: 65px; }
.interaction-grid form { display: grid; gap: 9px; }
.comment { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.comment time { margin-right: 7px; color: var(--muted); font-size: .8rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: -24px 0 24px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs span:last-child { color: var(--primary); }
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; }
.gallery-main { position: relative; height: 500px; overflow: hidden; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 14px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main p { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: 9px 12px; color: #fff; background: rgba(11, 21, 32, .8); font-size: .84rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.gallery-thumbs button { height: 84px; overflow: hidden; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.gallery-thumbs button:hover, .gallery-thumbs button.active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info > .eyebrow { margin-bottom: 12px; }
.product-info .chips { margin-bottom: 7px; }
.product-info h1 { margin: 7px 0; font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1.5; }
.sku { color: var(--muted); font: .78rem/1.5 Arial; direction: ltr; text-align: right; }
.detail-price { margin: 19px 0; padding: 17px 0; border-block: 1px solid var(--line); }
.detail-price > strong { display: block; color: var(--primary-dark); font-size: 1.45rem; }
.detail-price > strong small { color: var(--muted); font-size: .78rem; font-weight: 400; }
.price-caption { display: block; color: var(--muted); font-size: .78rem; }
.detail-price del { color: var(--muted); font-size: .82rem; }
.sale-box { margin-top: 10px; padding: 9px 10px; color: #9a4b24; background: #fff0e9; border-radius: 8px; }
.sale-box .countdown { position: static; display: block; padding: 2px 0 0; color: #9a4b24; background: transparent; text-align: right; }
.description { color: var(--text-soft); font-size: .92rem; }
.description h2 { color: var(--text); font-size: 1.05rem; }
.buy-box { display: grid; grid-template-columns: 1fr 90px auto; align-items: end; gap: 10px; padding: 15px; background: var(--surface-soft); border-radius: 11px; }
.detail-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 11px; }
.detail-highlights span { display: flex; align-items: center; gap: 6px; padding: 7px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: .75rem; }
.detail-highlights i { color: var(--primary); font: .7rem Arial; }
.purchase-note { display: flex; align-items: start; gap: 7px; color: var(--muted); font-size: .8rem; }
.purchase-note span { color: var(--success); }

.cart-layout { display: grid; grid-template-columns: 1fr 320px; align-items: start; gap: 20px; }
.cart-item { display: grid; grid-template-columns: 1fr 210px 145px; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-item > div { display: grid; }
.cart-item span { color: var(--muted); font-size: .82rem; }
.cart-item form { display: grid; grid-template-columns: 66px 1fr; gap: 6px; }
.cart-item form small { grid-column: 1 / -1; color: var(--muted); font-size: .76rem; }
.order-summary { position: sticky; top: 88px; }
.order-summary dl > div, .invoice-total > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; }
.order-summary dd, .invoice-total dd { margin: 0; }
.total { color: var(--text); border-top: 1px solid var(--line); font-size: 1.05rem; font-weight: 700; }
.success-text { color: var(--success); }
.invoice-head, .order-head, .order-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.invoice-head > span { padding: 6px 10px; color: var(--primary-dark); background: var(--primary-soft); border-radius: 7px; font-size: .82rem; }
.delivery { margin: 16px 0; padding: 12px; background: var(--surface-soft); border-radius: 8px; }
.delivery p { margin-bottom: 0; color: var(--text-soft); }
.invoice-lines > div { display: grid; grid-template-columns: 1fr 85px 150px; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.gateway-logo { display: inline-block; padding: 6px 9px; color: var(--primary); border: 1px solid var(--primary); border-radius: 6px; direction: ltr; font: 700 1rem Arial; }
.gateway-card dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gateway-card dd { margin: 0; }
.orders-list { display: grid; gap: 14px; }
.order-head h2 { margin: 0; }
.order-head span { color: var(--muted); font-size: .82rem; }
.status { padding: 4px 9px; color: var(--text-soft); background: var(--surface-soft); border-radius: 20px; font-size: .8rem; }
.status-paid { color: var(--success) !important; background: #eaf7f1; }
.status-failed { color: var(--danger) !important; background: #fff0f0; }
.order-products { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0; }
.order-products span { padding: 4px 8px; background: var(--surface-soft); border-radius: 6px; font-size: .82rem; }
.empty-state { grid-column: 1 / -1; padding: 45px 18px; color: var(--muted); background: #fff; border: 1px dashed #bdc8d2; border-radius: 12px; text-align: center; }

.site-footer { padding: 48px 0 18px; color: #bcc7d0; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr .8fr; gap: 34px; }
.footer-brand > p { max-width: 310px; color: #8fa0ae; font-size: .88rem; }
.site-footer h3 { margin-top: 0; color: #fff; font-size: .95rem; }
.footer-links, .social-links { display: grid; gap: 6px; }
.footer-links a, .social-links a { color: #aebbc6; font-size: .84rem; }
.footer-links a:hover, .social-links a:hover { color: #fff; }
.system-status { display: inline-flex; align-items: center; gap: 6px; color: #8fa0ae; font-size: .76rem; }
.system-status i { width: 6px; height: 6px; background: #42b884; border-radius: 50%; }
.copyright { display: flex; justify-content: space-between; gap: 18px; margin-top: 32px; padding-top: 16px; color: #7f909e; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; }

html[dir="ltr"] body { font-family: "Noto Sans Arabic", Arial, sans-serif; }
html[dir="ltr"] .main-nav .nav-cta { margin-right: 0; margin-left: 5px; }
html[dir="ltr"] .message { border-right: 0; border-left: 3px solid var(--primary); }
html[dir="ltr"] .sku, html[dir="ltr"] .sale-box .countdown { direction: ltr; text-align: left; }
html[dir="ltr"] .section-link span, html[dir="ltr"] .text-link span, html[dir="ltr"] .hero-actions [aria-hidden="true"], html[dir="ltr"] .cta-copy [aria-hidden="true"] { display: inline-block; transform: rotate(180deg); }
html[dir="ltr"] .detail-list dd { text-align: right; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 64px; right: 18px; left: 18px; display: none; max-height: calc(100vh - 82px); overflow: auto; padding: 13px; background: #101d2a; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 10px 12px; }
  .main-nav > a.active::after { right: 12px; left: auto; width: 24px; }
  .main-nav .nav-cta { margin: 4px 0 0; text-align: center; }
  .product-grid, .store-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .buy-box { grid-template-columns: 1fr 90px; }
  .buy-box button { grid-column: 1 / -1; }
  .interaction-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1120px); }
  .site-header { height: 66px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { display: none; }
  .hero-slider { height: 500px; min-height: 500px; }
  .slide h1 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
  .slide p { font-size: .94rem; }
  .hero-metrics { gap: 14px; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 5px; }
  .trust-grid > div { justify-content: flex-start; padding: 11px 5px; border-left: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .section { padding: 48px 0; }
  .product-grid, .store-grid, .article-grid, .content-grid { grid-template-columns: 1fr; }
  .product-image { height: 290px; }
  .section-heading, .catalog-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cta-box { align-items: flex-start; min-height: auto; padding: 27px 23px; }
  .cta-box > img { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .sport-row { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-grid .full { grid-column: auto; }
  .filter-panel { margin-bottom: 19px; }
  .product-detail { gap: 24px; }
  .gallery-main { height: 370px; }
  .buy-box { grid-template-columns: 1fr; }
  .buy-box button { grid-column: auto; }
  .detail-highlights { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 1fr; }
  .cart-item form { grid-template-columns: 86px 1fr; }
  .invoice-lines > div { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .order-foot, .order-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .auth-card, .gateway-card { padding: 26px 22px; }
  .auth-links { flex-direction: column; }
  .copyright { flex-direction: column; gap: 3px; }
  .history-list > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* Crawlable, accessible pagination shared by catalog and magazine pages. */
.pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:32px 0 0;flex-wrap:wrap}.pagination a,.pagination span{border:1px solid var(--line);border-radius:10px;padding:9px 14px;background:#fff;color:var(--text);font-size:.88rem}.pagination a{color:var(--primary);font-weight:700}.pagination a:hover{border-color:var(--primary);background:var(--primary-soft)}
