/*
Theme Name: Nawra
Theme URI: https://example.com/
Description: قالب متجر للعطور ومنتجات العناية، أبيض ونقي، مصاوب لـ WooCommerce. فيه البانيرات، دواير الأقسام، عروض اليوم بالعداد، المفضلة، وزر الواتساب. كيوجّد المتجر بوحدو (الدرهم، الخلاص عند الاستلام، التوصيل، الأقسام).
Version: 1.7.4
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Author: Nawra
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nawra
Tags: e-commerce, rtl-language-support, custom-logo, custom-colors
WC requires at least: 9.0
WC tested up to: 11.2
*/

:root {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f8f3f5;
  --ink: #1d1a1c; --ink-2: #57505a; --ink-3: #847a82; --line: #ece5ea;
  --accent: #b8366b; --accent-2: #9a2a58; --accent-ink: #ffffff; --accent-soft: #fdebf2;
  --gold: #8f6d1c; --gold-soft: #f8f1df; --sale: #c0392b; --sale-soft: #fdecea;
  --pro: #8a5414; --pro-soft: #f8eedf; --ok: #2a7d4f; --ok-soft: #e6f4ec;
  --t-perf: #f3edf8; --t-hair: #eaf2fa; --t-skin: #fbf0ea; --t-body: #ecf6ef; --t-make: #fbecf2;
  --wa: #1f8f4e; --wa-ink: #ffffff;
  --shadow: 0 1px 2px rgba(40, 20, 30, .05), 0 6px 18px rgba(40, 20, 30, .06);
  --shadow-lg: 0 -10px 40px rgba(30, 10, 20, .2);
  --font: "Cairo", "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif;
  --font-display: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  --r: 16px; --r-sm: 10px; --wrap: 1180px;
  --fill: var(--accent); --fill-2: var(--accent-2); --fill-ink: var(--accent-ink); --fill-line: var(--accent);
  --chrome: var(--fill); --chrome-ink: var(--fill-ink); --chrome-strip: var(--ink); --chrome-strip-ink: #ffffff;
  color-scheme: light;
}
/* الألوان اللي تقدر تختار من «تخصيص» (الوردي هو الأصل) */
:root[data-pal="baby"] { --accent: #b84f75; --accent-2: #9c3d61; --accent-soft: #fdf0f5; --fill: #f4abc4; --fill-2: #ef98b6; --fill-ink: #2e1824; --fill-line: #f4abc4; --chrome: #fadbe6; --chrome-ink: #2e1824; --chrome-strip: #f4c1d3; --chrome-strip-ink: #2e1824; --t-make: #fdeef4; }
:root[data-pal="peach"] { --accent: #b0532a; --accent-2: #b0532a; --accent-soft: #fff3ec; --fill: #f7b998; --fill-2: #f3a682; --fill-ink: #3a2018; --fill-line: #f7b998; --chrome: #fde3d3; --chrome-ink: #3a2018; --chrome-strip: #f9cdb3; --chrome-strip-ink: #3a2018; }
:root[data-pal="lilac"] { --accent: #7a52b0; --accent-2: #7a52b0; --accent-soft: #f6f1fc; --fill: #cbb6ec; --fill-2: #bba1e5; --fill-ink: #261a3a; --fill-line: #cbb6ec; --chrome: #ebe2f8; --chrome-ink: #261a3a; --chrome-strip: #dccdf2; --chrome-strip-ink: #261a3a; }
:root[data-pal="sky"] { --accent: #2f6ea3; --accent-2: #2f6ea3; --accent-soft: #eff6fd; --fill: #a9cff0; --fill-2: #92c1ea; --fill-ink: #13283b; --fill-line: #a9cff0; --chrome: #dcecfa; --chrome-ink: #13283b; --chrome-strip: #c5dff5; --chrome-strip-ink: #13283b; }
:root[data-pal="mintl"] { --accent: #237a5e; --accent-2: #237a5e; --accent-soft: #edf9f4; --fill: #9fdcc3; --fill-2: #86d1b3; --fill-ink: #10302a; --fill-line: #9fdcc3; --chrome: #d9f2e8; --chrome-ink: #10302a; --chrome-strip: #c0e9d8; --chrome-strip-ink: #10302a; }
:root[data-pal="cream"] { --accent: #8a6338; --accent-2: #8a6338; --accent-soft: #fbf6f0; --fill: #e6cfb3; --fill-2: #dcc09f; --fill-ink: #33261a; --fill-line: #e6cfb3; --chrome: #f6ece0; --chrome-ink: #33261a; --chrome-strip: #ecdcc8; --chrome-strip-ink: #33261a; }
:root[data-pal="nude"] { --accent: #9a6a4c; --accent-2: #7d543a; --accent-soft: #f6ece5; }
:root[data-pal="lavender"] { --accent: #7a5aa6; --accent-2: #62478a; --accent-soft: #f1ebf9; }
:root[data-pal="mint"] { --accent: #2a8a74; --accent-2: #20705e; --accent-soft: #e3f4ef; }
:root[data-pal="gold"] { --accent: #9b7a22; --accent-2: #7f6319; --accent-soft: #f7f0dc; }
:root[data-pal="yellow"] { --accent: #1d1a1c; --accent-2: #000000; --accent-soft: #fff8c2; --fill: #ffe500; --fill-2: #f2d600; --fill-ink: #111111; --fill-line: #ffe500; }
:root[data-pal="white"] { --accent: #2b2629; --accent-2: #000000; --accent-soft: #f6f4f5; --fill: #ffffff; --fill-2: #f6f4f5; --fill-ink: #1d1a1c; --fill-line: #1d1a1c; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.num { font-variant-numeric: tabular-nums; }
.screen-reader-text, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 99; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
[hidden] { display: none !important; }

/* ---------- الراس ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 0; } }
.strip { background: var(--fill); color: var(--fill-ink); border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; text-align: center; padding: 6px 12px; }
.top .bar { display: flex; align-items: center; gap: 8px; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.logo-img { max-height: 44px; width: auto; }
.logo-mark { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; background: var(--fill); color: var(--fill-ink); border: 1.5px solid var(--fill-line); display: grid; place-items: center; font: 700 22px/1 var(--font-display); }
.logo-t { display: flex; flex-direction: column; min-width: 0; }
.logo-t b { font: 700 18px/1.15 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-t span { font-size: 11px; color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; }
.top .sp { flex: 1; }
.iconbtn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: none; color: var(--ink); display: grid; place-items: center; flex: 0 0 auto; position: relative; text-decoration: none; }
.iconbtn:hover { background: var(--surface-2); }
.search:not(body) { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid transparent; border-radius: 999px; padding: 0 16px; min-height: 46px; margin: 0; }
.search:not(body):focus-within { border-color: var(--accent); background: var(--surface); }
.search:not(body) svg { color: var(--ink-3); flex: 0 0 auto; }
.search:not(body) input[type="search"] { border: 0; background: none; outline: none; flex: 1; min-width: 0; font-size: 15px; padding-block: 10px; -webkit-appearance: none; appearance: none; }
.search-row { padding-block: 0 12px; }
.top .topnav { display: none; }
@media (min-width: 900px) { .top .topnav { display: flex; gap: 4px; flex-wrap: wrap; padding-block: 0 10px; } }
.topnav a { padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.topnav a:hover { background: var(--surface-2); color: var(--ink); }
.topnav a.on { background: var(--accent-soft); color: var(--accent); }
.badge { position: absolute; top: 2px; inset-inline-end: 0; background: var(--fill); color: var(--fill-ink); box-shadow: inset 0 0 0 1px var(--fill-line); font-size: 11px; font-weight: 700; min-width: 19px; height: 19px; border-radius: 99px; display: grid; place-items: center; padding: 0 5px; line-height: 1; }

main { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); min-height: 50vh; }
@media (min-width: 900px) { main { padding-bottom: 40px; } }
.sec { display: flex; flex-direction: column; gap: 12px; padding-block: 22px 4px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sec-h h2 { font: 700 19px/1.3 var(--font-display); }
.pro-h { color: var(--pro); }
.link { color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; padding: 6px 0; }
.empty { text-align: center; color: var(--ink-3); padding: 28px 10px; }

/* ---------- أزرار ---------- */
.btn, .button, button.button, a.button, input.button, #place_order, .wc-forward {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 12px; padding: 10px 16px; min-height: 46px; font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.3; cursor: pointer;
}
.btn.pri, .button.alt, button.button.alt, #place_order, .checkout-button, .single_add_to_cart_button, .wc-forward.checkout {
  background: var(--fill); border-color: var(--fill-line); color: var(--fill-ink);
}
.btn.pri:hover, .button.alt:hover, #place_order:hover, .checkout-button:hover, .single_add_to_cart_button:hover { background: var(--fill-2); }
.btn.pro { background: var(--pro); border-color: var(--pro); color: #fff; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.btn.block { width: 100%; }
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 8px 14px; font-size: 14px; font-weight: 500; min-height: 40px; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; }
.chip.on { background: var(--fill); border-color: var(--fill-line); color: var(--fill-ink); box-shadow: inset 0 0 0 1px var(--fill-line); }
.scroll-x { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }

/* ---------- البانيرات ---------- */
.carousel { position: relative; overflow: hidden; border-radius: var(--r); margin-top: 14px; touch-action: pan-y; }
.track { display: flex; transition: transform .45s ease; }
.slide { flex: 0 0 100%; min-width: 0; position: relative; overflow: hidden; padding: 22px 20px 40px; min-height: 214px; display: flex; flex-direction: column; justify-content: center; color: var(--ink); background: var(--sbg); }
.slide.s1 { --sbg: var(--accent-soft); }
.slide.s2 { --sbg: var(--t-perf); }
.slide.s3 { --sbg: var(--pro-soft); }
.slide .txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; max-width: 58%; }
.slide .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.slide.s2 .eyebrow { color: #6b4f93; }
.slide.s3 .eyebrow { color: var(--pro); }
.slide h1, .slide .h1 { font: 700 23px/1.25 var(--font-display); }
.slide p { color: var(--ink-2); font-size: 13.5px; }
.slide .btn { align-self: flex-start; margin-top: 4px; min-height: 42px; padding: 8px 16px; }
.art { position: absolute; inset-inline-end: 0; bottom: 0; width: 46%; height: 100%; pointer-events: none; }
.art img { position: absolute; bottom: 14px; height: auto; max-width: 100%; }
.art img:nth-child(1) { width: 70%; inset-inline-end: 4%; z-index: 2; }
.art img:nth-child(2) { width: 52%; inset-inline-end: 46%; bottom: 22px; z-index: 1; }
.art img:nth-child(3) { width: 44%; inset-inline-end: 64%; bottom: 30px; z-index: 0; }
.art.one img { width: 92%; inset-inline-end: 4%; bottom: 50%; transform: translateY(50%); max-height: 92%; object-fit: contain; }
@media (min-width: 720px) { .slide { min-height: 280px; padding: 30px 34px 44px; } .slide h1, .slide .h1 { font-size: 32px; } .slide p { font-size: 15px; } .art { width: min(44%, 340px); inset-inline-end: 4%; } }
.dots { position: absolute; bottom: 8px; inset-inline: 0; display: flex; justify-content: center; gap: 4px; z-index: 3; }
.dots button { width: 26px; height: 26px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--ink); opacity: .25; display: block; transition: width .2s; }
.dots button.on i { width: 20px; opacity: .85; background: var(--accent); }

/* ---------- دواير الأقسام ---------- */
.circles { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.circles::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .circles { justify-content: center; gap: 26px; } }
.circle { flex: 0 0 auto; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; text-align: center; line-height: 1.3; }
.circle .ring { width: 70px; height: 70px; border-radius: 99px; display: grid; place-items: center; overflow: hidden; border: 2px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line); background: var(--surface-2); }
.circle:hover .ring { box-shadow: 0 0 0 1.5px var(--accent); }
.circle .ring img { width: 92%; height: 92%; object-fit: contain; }
.circle .ring b { font: 700 24px/1 var(--font-display); color: var(--accent); }
.ring-sale { background: var(--sale-soft) !important; color: var(--sale); }
.ring-perfumes { background: var(--t-perf) !important; } .ring-hair { background: var(--t-hair) !important; } .ring-skin { background: var(--t-skin) !important; }
.ring-body { background: var(--t-body) !important; } .ring-makeup { background: var(--t-make) !important; } .ring-salon { background: var(--pro-soft) !important; }

/* ---------- الماركات ---------- */
.brands { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.brands::-webkit-scrollbar { display: none; }
.bchip { flex: 0 0 auto; min-width: 116px; height: 58px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; padding: 0 14px; font: 700 15px/1 Georgia, "Times New Roman", serif; color: var(--ink); letter-spacing: .03em; text-decoration: none; }
.bchip img { max-height: 40px; width: auto; }
.bchip:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- عروض اليوم ---------- */
.flash { background: var(--accent-soft); border-radius: var(--r); padding: 14px; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.flash .sec-h h2 { font: 700 19px/1.3 var(--font-display); }
.timer { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.timer b { background: var(--fill); color: var(--fill-ink); border: 1px solid var(--fill-line); border-radius: 6px; padding: 2px 6px; font-variant-numeric: tabular-nums; min-width: 28px; text-align: center; }

/* ---------- البطاقات ---------- */
ul.products { list-style: none; margin: 0; padding: 0; }
ul.products.grid, .woo-wrap ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { ul.products.grid, .woo-wrap ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { ul.products.grid, .woo-wrap ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
ul.products.rail { width: 100%; max-width: 100%; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 44%); gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
ul.products.rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { ul.products.rail { grid-auto-columns: minmax(180px, 23%); } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; margin: 0; }
.ph { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.ph-open { display: block; width: 100%; height: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tags { position: absolute; top: 8px; inset-inline-start: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; z-index: 2; }
.tag { background: var(--sale); color: #fff; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.tag.pro { background: var(--pro); }
.tag.out { background: var(--ink-2); }
.heart { position: absolute; top: 6px; inset-inline-end: 6px; width: 38px; height: 38px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .92); color: #57505a; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.08); z-index: 2; }
.heart.on { color: #c2185b; }
.card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .brand { font-size: 12px; color: var(--ink-3); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.card .name { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.card .foot { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; color: var(--ink); }
.price del { color: var(--ink-3); font-weight: 400; font-size: 12.5px; order: 2; white-space: nowrap; }
.price ins { text-decoration: none; order: 1; }
.price .amount { white-space: nowrap; }
.addw, .card .button { width: 100%; min-height: 40px; border-radius: 10px; border: 1.5px solid var(--accent); background: var(--surface); color: var(--accent); font-weight: 700; font-size: 14px; padding: 6px 10px; }
.addw:hover { background: var(--accent-soft); }
.addw.in, .addw.added { background: var(--fill); color: var(--fill-ink); border-color: var(--fill-line); }
.addw.loading { opacity: .6; }
.card .added_to_cart { display: none; }
.card.outofstock .addw { border-color: var(--line); color: var(--ink-3); }

/* ---------- الشريط التحتاني و الواتساب ---------- */
.bnav { position: fixed; inset: auto 0 0 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 900px) { .bnav { display: none; } }
.bnav .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding-block: 6px; max-width: 680px; }
.bnav a, .bnav button { position: relative; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; font-size: 11.5px; color: var(--ink-3); min-height: 54px; min-width: 0; text-decoration: none; }
.bnav span:not(.badge) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bnav .on { color: var(--accent); font-weight: 700; }
.bnav .badge { inset-inline-end: calc(50% - 22px); }
.fab { position: fixed; z-index: 29; inset-inline-start: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 99px; background: var(--wa); color: var(--wa-ink); display: grid; place-items: center; box-shadow: var(--shadow); }
@media (min-width: 900px) { .fab { bottom: 24px; } }
.toast { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ---------- المونيو ---------- */
.mscrim { position: fixed; inset: 0; z-index: 55; background: rgba(20, 8, 14, .45); }
.drawer { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 56; width: min(86vw, 340px); background: var(--surface); box-shadow: var(--shadow-lg); overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px calc(20px + env(safe-area-inset-bottom, 0px)); animation: dslide .2s ease; }
@keyframes dslide { from { opacity: .4; } to { opacity: 1; } }
.drawer .dh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.drawer .x { width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--surface-2); display: grid; place-items: center; }
.drawer .mi, .dmenu a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; font-size: 15.5px; font-weight: 600; min-height: 46px; color: var(--ink); text-decoration: none; }
.drawer .mi:hover, .dmenu a:hover { background: var(--surface-2); }
.dmenu { list-style: none; margin: 0; padding: 0; }
.drawer .grp { font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .05em; padding: 14px 8px 4px; }
.drawer summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; font-size: 15.5px; font-weight: 600; min-height: 46px; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary:hover { background: var(--surface-2); }
.drawer summary .ci { width: 34px; height: 34px; border-radius: 99px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); flex: 0 0 auto; }
.drawer summary .ci img { width: 100%; height: 100%; object-fit: cover; }
.drawer summary .chev { margin-inline-start: auto; color: var(--ink-3); transition: transform .15s; }
.drawer details[open] summary .chev { transform: rotate(180deg); }
.drawer .subs { display: flex; flex-direction: column; padding-inline-start: 54px; padding-bottom: 6px; }
.drawer .subs a { padding: 8px 6px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.drawer .subs a:hover { background: var(--surface-2); color: var(--ink); }
.drawer .subs a.all { color: var(--accent); font-weight: 600; }

/* ---------- صفحات المنتجات ---------- */
.woo-wrap { padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.woocommerce-products-header { display: flex; flex-direction: column; gap: 6px; }
.woocommerce-products-header__title, .page-title { font: 700 22px/1.3 var(--font-display); margin: 18px 0 12px; }
.woo-wrap .woocommerce-products-header__title { margin: 0; }
.term-description { color: var(--ink-2); font-size: 14.5px; }
.chips-row { margin-bottom: 4px; }
.woocommerce-result-count { color: var(--ink-3); font-size: 13px; margin: 0; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .orderby { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 6px 10px; min-height: 40px; font-size: 14px; }
.woo-wrap > .woocommerce-result-count, .woo-wrap > .woocommerce-ordering { display: inline-block; }
.woo-wrap .shop-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; justify-content: center; padding: 0; margin: 20px 0 0; flex-wrap: wrap; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.woocommerce-pagination .current { background: var(--fill); color: var(--fill-ink); border-color: var(--fill-line); }

/* المنتج */
.is-single .product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; position: relative; }
@media (min-width: 860px) { .is-single .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; } .is-single .product > .woocommerce-tabs, .is-single .product > .related, .is-single .product > .up-sells { grid-column: 1 / -1; } }
.is-single .product > .tags { top: 10px; inset-inline-start: 10px; }
.woocommerce-product-gallery { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface-2); margin: 0; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { width: 100%; display: block; }
.woocommerce-product-gallery__trigger { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 99px; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 0; text-decoration: none; }
.woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 18px; color: var(--ink); }
.flex-control-thumbs { list-style: none; display: flex; gap: 8px; padding: 8px; margin: 0; overflow-x: auto; }
.flex-control-thumbs li { flex: 0 0 64px; }
.flex-control-thumbs img { border-radius: 10px; opacity: .6; cursor: pointer; display: block; }
.flex-control-thumbs img.flex-active { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.flex-viewport { border-radius: var(--r); }
.summary { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.p-brand { font-size: 13px; color: var(--ink-3); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.product_title { font: 700 23px/1.3 var(--font-display); }
.summary .price { font-size: 24px; }
.summary .price del { font-size: 15px; }
.woocommerce-product-details__short-description { color: var(--ink-2); font-size: 14.5px; }
.stock { font-size: 13.5px; font-weight: 600; color: var(--ok); margin: 0; }
.stock.out-of-stock { color: var(--sale); }
form.cart { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; margin: 0; }
form.cart .single_add_to_cart_button { flex: 1; min-height: 48px; }
.quantity { display: inline-flex; align-items: center; }
.quantity .qty { width: 72px; min-height: 48px; text-align: center; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 16px; background: var(--surface); }
form.variations_form { flex-direction: column; }
table.variations { border-collapse: collapse; width: 100%; }
table.variations th, table.variations td { display: block; text-align: start; padding: 4px 0; }
table.variations select { width: 100%; border: 1px solid var(--line); border-radius: 12px; min-height: 46px; padding: 8px 12px; background: var(--surface); }
.reset_variations { font-size: 13px; color: var(--ink-3); }
.woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
.perks-mini { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--ink-2); background: var(--surface-2); border-radius: var(--r-sm); padding: 10px 12px; }
.perks-mini span { display: inline-flex; align-items: center; gap: 6px; }
.perks-mini svg { color: var(--accent); }
.sku-line { font-size: 12.5px; color: var(--ink-3); }
.woocommerce-tabs { border-top: 1px solid var(--line); padding-top: 14px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 12px; overflow-x: auto; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { background: var(--fill); color: var(--fill-ink); border-color: var(--fill-line); }
.woocommerce-Tabs-panel { color: var(--ink-2); font-size: 14.5px; max-width: 72ch; }
.woocommerce-Tabs-panel h2 { font: 700 17px/1.3 var(--font-display); color: var(--ink); margin-bottom: 8px; }
.woocommerce-product-attributes { border-collapse: collapse; width: 100%; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: start; padding: 8px; border-bottom: 1px solid var(--line); }
.related > h2, .up-sells > h2 { font: 700 19px/1.3 var(--font-display); margin: 8px 0 12px; }
.star-rating { font-size: 0; }
#reviews .comment-form input, #reviews .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }

/* ---------- الإشعارات ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .cart-empty { list-style: none; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); color: var(--ink); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.woocommerce-info, .woocommerce-noreviews, .cart-empty { background: var(--surface-2); }
.woocommerce-error { background: var(--sale-soft); flex-direction: column; align-items: flex-start; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 6px 12px; font-size: 14px; }
.return-to-shop { text-align: center; }

/* ---------- السلة و الطلب ---------- */
.woo-page { padding-bottom: 10px; }
.woo-body > .woocommerce { display: flex; flex-direction: column; gap: 14px; }
.free-ship { background: var(--accent-soft); color: var(--ink); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 8px; }
.free-ship i { display: block; height: 6px; border-radius: 99px; background: linear-gradient(to left, var(--accent) var(--p), rgba(0,0,0,.08) var(--p)); }
[dir="ltr"] .free-ship i { background: linear-gradient(to right, var(--accent) var(--p), rgba(0,0,0,.08) var(--p)); }
table.shop_table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; border-spacing: 0; }
table.shop_table th, table.shop_table td { padding: 12px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14.5px; }
table.shop_table thead th { font-size: 13px; color: var(--ink-3); font-weight: 700; background: var(--surface-2); }
table.shop_table tr:last-child td { border-bottom: 0; }
.woocommerce-cart-form .product-thumbnail img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.woocommerce-cart-form .product-name a { color: var(--ink); text-decoration: none; font-weight: 600; }
.woocommerce-cart-form a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); text-decoration: none; font-size: 20px; line-height: 1; }
.woocommerce-cart-form a.remove:hover { background: var(--sale-soft); color: var(--sale); }
.woocommerce-cart-form .actions { text-align: end; }
.woocommerce-cart-form .coupon { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.woocommerce-cart-form .coupon label { display: none; }
.woocommerce-cart-form .coupon .input-text { flex: 1 1 160px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.woocommerce-cart-form button[name="update_cart"] { min-height: 44px; }
/* السلة فالتيليفون: كل منتج كيولّي بطاقة */
@media (max-width: 768px) {
  .woocommerce-cart-form table.shop_table thead { display: none; }
  .woocommerce-cart-form table.shop_table, .woocommerce-cart-form table.shop_table tbody { display: block; border: 0; background: none; }
  .woocommerce-cart-form tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img name rm" "img price qty" "img sub sub"; gap: 4px 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; background: var(--surface); align-items: center; }
  .woocommerce-cart-form tr.cart_item td { display: block; padding: 0; border: 0; }
  .woocommerce-cart-form tr.cart_item td::before { display: none; }
  .woocommerce-cart-form .product-thumbnail { grid-area: img; }
  .woocommerce-cart-form .product-name { grid-area: name; font-size: 14px; }
  .woocommerce-cart-form .product-remove { grid-area: rm; }
  .woocommerce-cart-form .product-price { grid-area: price; color: var(--ink-3); font-size: 13px; }
  .woocommerce-cart-form .product-quantity { grid-area: qty; }
  .woocommerce-cart-form .product-subtotal { grid-area: sub; font-weight: 700; text-align: end; }
  .woocommerce-cart-form .product-quantity .qty { width: 64px; min-height: 40px; }
  .woocommerce-cart-form tr:not(.cart_item) { display: block; }
  .woocommerce-cart-form tr:not(.cart_item) td { display: block; border: 0; padding: 0; }
}
.cart-collaterals { display: flex; flex-direction: column; gap: 14px; }
.cart_totals, #order_review, .woocommerce-checkout-review-order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-additional-fields h3, .woocommerce-order-details__title, .woocommerce-column__title { font: 700 18px/1.3 var(--font-display); margin: 0 0 4px; }
.cart_totals table.shop_table, #order_review table.shop_table { border: 0; }
.cart_totals table th, .cart_totals table td, #order_review table th, #order_review table td { display: table-cell; padding: 10px 0; }
.cart_totals .order-total, #order_review .order-total { font-size: 18px; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.woocommerce-shipping-methods li { display: flex; align-items: center; gap: 8px; }
.woocommerce-shipping-methods input { accent-color: var(--accent); width: 18px; height: 18px; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { display: none; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 50px; font-size: 16px; }
@media (min-width: 900px) {
  .woocommerce-cart .woo-body > .woocommerce { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .woocommerce-cart .woo-body > .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .woo-body > .woocommerce > .free-ship { grid-column: 1 / -1; }
}
/* الطلب */
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { form.checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } form.checkout #order_review_heading { grid-column: 2; grid-row: 1; } form.checkout #order_review { grid-column: 2; grid-row: 2 / span 3; } form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; } }
#customer_details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
#customer_details .col-1, #customer_details .col-2 { width: 100%; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: flex; flex-direction: column; gap: 10px; }
.form-row { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.form-row label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form-row .required { color: var(--sale); text-decoration: none; border: 0; }
.form-row .optional { display: none; }
.input-text, .form-row select, .form-row textarea, .select2-container .select2-selection--single { width: 100%; border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 10px 12px; min-height: 46px; font-size: 15px; }
.form-row textarea { min-height: 80px; resize: vertical; }
.input-text:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent); background: var(--surface); outline: none; }
.woocommerce-invalid .input-text { border-color: var(--sale); }
.nawra-hide { display: none !important; }
.woocommerce-input-wrapper { display: block; }
.woocommerce-billing-fields .woocommerce-input-wrapper strong { font-weight: 600; }
#payment { display: flex; flex-direction: column; gap: 12px; }
#payment ul.payment_methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#payment li.wc_payment_method { border: 2px solid var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 12px; font-weight: 600; }
#payment li.wc_payment_method input { accent-color: var(--accent); }
#payment .payment_box { font-weight: 400; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
#payment .payment_box p { margin: 0; }
#place_order { width: 100%; min-height: 52px; font-size: 16px; }
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { font-size: 12.5px; color: var(--ink-3); }
.woocommerce-form-coupon-toggle .woocommerce-info { background: var(--surface-2); }
.checkout_coupon { display: flex; gap: 8px; flex-wrap: wrap; background: var(--surface-2); border-radius: 12px; padding: 12px; }
.checkout_coupon p:first-child { width: 100%; }
.checkout_coupon .form-row { flex: 1 1 160px; }
/* شكراً */
.woocommerce-order { display: flex; flex-direction: column; gap: 14px; }
.woocommerce-thankyou-order-received { background: var(--ok-soft); border-radius: var(--r); padding: 18px; font: 700 18px/1.4 var(--font-display); text-align: center; }
ul.woocommerce-order-overview { list-style: none; padding: 16px; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 1px solid var(--line); border-radius: var(--r); }
ul.woocommerce-order-overview li { font-size: 12.5px; color: var(--ink-3); display: flex; flex-direction: column; }
ul.woocommerce-order-overview li strong { font-size: 15px; color: var(--ink); }
.woocommerce-customer-details address { font-style: normal; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }

/* ---------- صفحات المعلومات ---------- */
.info { display: flex; flex-direction: column; gap: 12px; padding-block: 0 10px; max-width: 760px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.prose { color: var(--ink-2); font-size: 15px; }
.prose p, .prose ul, .prose ol { margin: 0 0 10px; }
.prose h2, .prose h3 { color: var(--ink); font-family: var(--font-display); margin: 14px 0 8px; }
.prose a { color: var(--accent); }

/* ---------- التحت ---------- */
.foot-trust { margin-top: 30px; padding-block: 18px; border-top: 1px solid var(--line); }
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 820px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-i { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px; border-radius: var(--r); background: var(--surface-2); min-width: 0; }
.trust-i .ti { width: 44px; height: 44px; border-radius: 99px; display: grid; place-items: center; background: var(--surface); color: var(--accent); box-shadow: 0 0 0 1px var(--line); }
.trust-i b { font-size: 14.5px; }
.trust-i span:last-child { font-size: 12.5px; color: var(--ink-3); }
.foot-site { background: var(--surface-2); padding-block: 26px calc(110px + env(safe-area-inset-bottom, 0px)); color: var(--ink-2); font-size: 14px; }
@media (min-width: 900px) { .foot-site { padding-bottom: 26px; } }
.foot-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.foot-about { grid-column: 1 / -1; }
@media (min-width: 720px) { .foot-about { grid-column: auto; } }
@media (min-width: 720px) { .foot-in { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 30px; } }
.foot-about { display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
.foot-about b { font: 700 19px/1.2 var(--font-display); color: var(--ink); }
.foot-col h2 { font: 700 15px/1.3 var(--font); color: var(--ink); margin-bottom: 8px; }
.social { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.social a { width: 42px; height: 42px; border-radius: 99px; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.social a:hover { color: var(--accent); border-color: var(--accent); }
.fmenu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.fmenu a, .fmenu span { text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; min-height: 32px; }
.fmenu a:hover { color: var(--accent); }
.foot-bottom { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 12.5px; color: var(--ink-3); }
.foot-pay { display: inline-flex; align-items: center; gap: 6px; }
.copy { margin: 0; }

/* ---------- صفحات المعلومات ---------- */
.prose .wp-block-details, .prose details { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; margin: 0 0 8px; background: var(--surface); }
.prose details summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.prose details summary::-webkit-details-marker { display: none; }
.prose details summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--accent); }
.prose details[open] summary::after { content: "−"; }
.prose details > p { padding-bottom: 12px; margin: 0; }
.ship-free { display: flex; align-items: center; gap: 8px; background: var(--accent-soft); border-radius: var(--r-sm); padding: 10px 12px; color: var(--ink); }
.ship-free svg { color: var(--accent); flex: 0 0 auto; }
.ship-tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 12px; }
.ship-tbl table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ship-tbl th, .ship-tbl td { text-align: start; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.ship-tbl th { background: var(--surface-2); color: var(--ink-3); font-size: 12.5px; }
.ship-tbl tr:last-child td { border-bottom: 0; }
.ship-tbl tr.other td { font-weight: 600; }
.contact { display: flex; flex-direction: column; gap: 14px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cc { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); min-width: 0; }
.cc .ci { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.cc b { font-size: 15px; }
.cc span:last-child { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.cc-wa { background: var(--wa); border-color: var(--wa); color: #fff; grid-column: 1 / -1; }
.cc-wa .ci { background: rgba(255,255,255,.18); color: #fff; }
.cc-wa span:last-child { color: rgba(255,255,255,.9); }
.contact-f { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 150px; }
.contact-f h2 { font: 700 18px/1.3 var(--font-display); color: var(--ink); margin: 0; }
.qo-fld textarea { width: 100%; border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font-size: 16px; resize: vertical; }
.info .trust { margin-top: 8px; }
/* البلوكات ديال WooCommerce إلا تستعملو */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font); }

/* تفاصيل */
.woocommerce-product-gallery__trigger img, .woocommerce-product-gallery__trigger span { display: none !important; }
.pswp:not(.pswp--open) { display: none; }
.woocommerce-Price-amount { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
@media (max-width: 480px) { .strip { font-size: 11.5px; } }

/* ---------- «اطلب دابا» ---------- */
.nawra-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap; margin: 0 !important; padding: 0 !important; }
.qo { border: 2px solid var(--accent); border-radius: var(--r); background: var(--surface); overflow: hidden; scroll-margin-top: 150px; }
.qo-h { background: var(--accent-soft); padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.qo-h b { font: 700 18px/1.3 var(--font-display); color: var(--accent); }
:root[data-pal="white"] .qo-h b { color: var(--ink); }
.qo-h span { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.qo-f { padding: 14px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.qo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 420px) { .qo-row { grid-template-columns: minmax(0, 1fr); } }
.qo-fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qo-fld span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.qo-fld input { width: 100%; min-width: 0; border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 10px 12px; min-height: 48px; font-size: 16px; }
.qo-fld input:focus { border-color: var(--accent); background: var(--surface); outline: none; }
.qo-ship { display: flex; flex-direction: column; gap: 6px; }
.qo-opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: 14.5px; }
.qo-opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.qo-opt span { flex: 1; }
.qo-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.qo-opt.free b { text-decoration: line-through; color: var(--ink-3); }
.qo-sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.qty-s { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty-s button { width: 44px; height: 46px; border: 0; background: var(--surface-2); font-size: 20px; font-weight: 700; }
.qty-s input { width: 48px; height: 46px; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; appearance: textfield; background: var(--surface); }
.qty-s input::-webkit-outer-spin-button, .qty-s input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qo-tot { display: flex; flex-direction: column; align-items: flex-end; }
.qo-tot small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.qo-tot b { font-size: 21px; direction: ltr; unicode-bidi: isolate; }
.qo-err { background: var(--sale-soft); color: var(--sale); border-radius: 10px; padding: 9px 12px; font-size: 14px; font-weight: 600; margin: 0; }
.qo-go { min-height: 52px; font-size: 17px; }
.qo-go.loading { opacity: .65; pointer-events: none; }
.qo-note { font-size: 12.5px; color: var(--ink-3); text-align: center; margin: 0; }

/* ---------- العطور: كيشبه لـ، تشرا، الأحجام ---------- */
.dupe { font-size: 12px; color: #6b4f93; font-weight: 600; line-height: 1.35; }
.box-dupe { display: flex; align-items: center; gap: 8px; background: var(--t-perf); border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; }
.box-dupe svg { color: #6b4f93; flex: 0 0 auto; }
.box-dupe b { color: #6b4f93; }
.sold { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--sale); }
.price .from { font-size: .72em; font-weight: 600; color: var(--ink-3); }
.sw { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.sw button { min-width: 64px; min-height: 44px; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 700; font-size: 14.5px; }
.sw button.on { border-color: var(--fill-line); background: var(--fill); color: var(--fill-ink); box-shadow: inset 0 0 0 1px var(--fill-line); }
.sw button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.sw-hidden { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px !important; min-width: 0 !important; max-width: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); inset-inline-start: 0; }
table.variations th label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.woocommerce-variation-price .price { font-size: 22px; }
.single_variation_wrap { display: flex; flex-direction: column; gap: 8px; }

/* ---------- الشريط التحتاني فصفحة المنتج ---------- */
.buybar { position: fixed; inset: auto 0 0 0; z-index: 31; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(40, 20, 30, .08); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(110%); transition: transform .22s ease; }
.buybar.on { transform: none; }
.buybar .wrap { display: flex; align-items: center; gap: 8px; padding-block: 8px; }
.bb-p { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bb-p small { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-p .price { font-size: 16px; }
.bb-p .price del { display: none; }
.bb-cart { width: 50px; padding: 0; flex: 0 0 auto; }
.bb-go { min-width: 130px; min-height: 48px; }
@media (min-width: 900px) { .buybar { display: none; } }
@media (max-width: 899px) { .single-product .bnav { display: none; } .single-product .fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- بعد الطلب ---------- */
.ty-actions { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 14px; }
.ty-actions .btn.wa { min-height: 54px; font-size: 16.5px; }
.ty-note { font-size: 13.5px; color: var(--ink-2); text-align: center; }

/* ---------- تتبّع الطلب ---------- */
.track-f { display: flex; flex-direction: column; gap: 12px; }
.track-f p { margin: 0; }
.track-res { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.track-h { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.track-h span { color: var(--ink-3); }
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.track-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; color: var(--ink-3); position: relative; }
.track-steps li::before { content: ""; position: absolute; top: 9px; inset-inline-start: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.track-steps li:last-child::before { display: none; }
.track-steps li i { width: 21px; height: 21px; border-radius: 99px; background: var(--surface); border: 3px solid var(--line); position: relative; z-index: 1; }
.track-steps li.done i, .track-steps li.now i { background: var(--accent); border-color: var(--accent); }
.track-steps li.done::before { background: var(--accent); }
.track-steps li.now { color: var(--ink); font-weight: 700; }
.track-steps li.done { color: var(--ink-2); }
.track-lines { list-style: none; margin: 0; padding: 0; }
.track-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.track-lines li.tot { border: 0; font-weight: 700; font-size: 16px; }

/* ---------- المستشار ---------- */
.adv { display: flex; flex-direction: column; gap: 14px; }
.adv .free { display: flex; gap: 8px; }
.adv .free input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 10px 12px; min-height: 48px; font-size: 15px; }
.adv .hint, .result-h .hint { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kind { border: 2px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 10px 6px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; min-height: 100px; }
.kind img { width: 60px; height: 60px; object-fit: contain; }
.kind.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
:root[data-pal="white"] .kind.on { color: var(--ink); border-color: var(--ink); }
.adv-qs { display: flex; flex-direction: column; gap: 12px; }
.adv .q { display: flex; flex-direction: column; gap: 8px; }
.adv .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.result-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.result-h h2 { font: 700 19px/1.3 var(--font-display); }
.adv-grid li[hidden] { display: none !important; }
.warn { background: var(--gold-soft); color: var(--ink); border-radius: var(--r-sm); padding: 10px 12px; font-size: 13px; margin: 0; }
.adv-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--t-perf); border-radius: var(--r); padding: 18px; }
.adv-card .txt { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.adv-card h2 { font: 700 18px/1.3 var(--font-display); }
.adv-card p { color: var(--ink-2); font-size: 14px; }
.adv-card .imgs { display: flex; gap: 0; }
.adv-card .imgs img { width: 64px; height: 64px; object-fit: contain; margin-inline-start: -14px; }

/* المدينة */
.qo-fld select, .form-row select.nawra-city { width: 100%; min-width: 0; border: 1px solid var(--line); background-color: var(--surface-2); border-radius: 12px; padding: 10px 12px; padding-inline-end: 36px; min-height: 48px; font-size: 16px; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23847a82' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; }
[dir="ltr"] .qo-fld select, [dir="ltr"] .form-row select.nawra-city { background-position: right 12px center; }
.qo-fld select:focus, .form-row select.nawra-city:focus { border-color: var(--accent); outline: none; background-color: var(--surface); }
.qo-other { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.form-row .description { font-size: 12.5px; color: var(--ink-3); }

/* الأقسام / الماركات */
.browse { gap: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 99px; padding: 4px; gap: 4px; max-width: 420px; width: 100%; margin-inline: auto; }
.seg button { border: 0; background: none; border-radius: 99px; min-height: 40px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(40, 20, 30, .12); }
.ring-brand { background: var(--surface) !important; }
.ring-brand.is-logo img { width: 74%; height: 74%; object-fit: contain; }
.ring-brand:not(.is-logo) img { width: 100%; height: 100%; object-fit: cover; }


/* ================================================================ النسخة «سامبل» */
:root { --price-new: #15913a; }

/* الراس: المونيو | اللوگو فالوسط | السلة بالمجموع */
.top .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding-block: 8px; }
.bar-s { display: flex; align-items: center; justify-content: flex-start; }
.bar-e { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.logo { justify-content: center; }
.logo { min-width: 0; }
.logo-word { font: 800 clamp(19px, 5.4vw, 26px)/1 var(--font-display); letter-spacing: -.01em; color: inherit; white-space: nowrap; }

.menu-btn { border: 2px solid currentColor; border-radius: 99px; width: 42px; height: 42px; }
.cart-btn { display: inline-flex; align-items: center; gap: 2px; color: inherit; text-decoration: none; font-weight: 600; }
.cart-btn .iconbtn { width: 36px; }
.cart-total { font-size: 13px; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
@media (max-width: 400px) { .top .bar-e .fav-btn { display: none; } }
@media (max-width: 340px) { .cart-total { display: none; } }
.search:not(body) { background: var(--surface); border: 1.5px solid var(--line); padding: 0 6px 0 6px; gap: 0; min-height: 48px; }
.search:not(body):focus-within { border-color: var(--ink); }
.search:not(body) > svg { display: none; }
.s-cat { position: relative; flex: 0 0 auto; display: flex; align-items: center; border-inline-end: 1px solid var(--line); padding-inline: 10px 4px; }
.s-cat select { border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); max-width: 120px; padding: 8px 2px; -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-inline-end: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 0 center; }
.search:not(body) input[type="search"] { padding-inline: 10px; }
.s-go { border: 0; background: none; width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); flex: 0 0 auto; }

/* الراس والتحت بلون المتجر */
.chrome-brand .top { background: var(--chrome); color: var(--chrome-ink); box-shadow: none; }
.chrome-brand .top .iconbtn, .chrome-brand .top .logo { color: var(--chrome-ink); }
.chrome-brand .top .iconbtn:hover { background: rgba(0, 0, 0, .06); }
.chrome-brand .strip { background: var(--chrome-strip); color: var(--chrome-strip-ink); border-bottom: 0; }
.chrome-brand .search:not(body) { border-color: transparent; }
.chrome-brand .topnav a { color: var(--chrome-ink); }
.chrome-brand .topnav a.on, .chrome-brand .topnav a:hover { background: rgba(0, 0, 0, .08); color: var(--chrome-ink); }
.chrome-brand .top .badge { background: var(--ink); color: #fff; box-shadow: none; }
.chrome-brand .foot-site { background: var(--chrome); color: var(--chrome-ink); }
.chrome-brand .foot-site .fmenu a, .chrome-brand .foot-site .fmenu span, .chrome-brand .foot-col h2, .chrome-brand .foot-about b, .chrome-brand .foot-bottom { color: var(--chrome-ink); }
.chrome-brand .foot-site .social a { background: transparent; border-color: currentColor; color: var(--chrome-ink); }
.chrome-brand .foot-bottom { border-top-color: rgba(0, 0, 0, .15); }
.chrome-brand .bnav { background: var(--chrome); border-top: 0; }
.chrome-brand .bnav a, .chrome-brand .bnav button { color: var(--chrome-ink); opacity: .75; }
.chrome-brand .bnav .on { color: var(--chrome-ink); opacity: 1; }
.chrome-brand .bnav .badge { background: var(--ink); color: #fff; box-shadow: none; }

/* البطاقات: السمية واضحة، الثمن القديم بالحمر والجديد بالخضر، − 1 + و زر السلة */
.card .name { font-size: 15px; font-weight: 600; }
.price del { color: var(--sale); opacity: 1; }
.price ins { color: var(--price-new); }
.price ins .amount, .price ins bdi { color: var(--price-new); }
.summary .price ins { color: var(--price-new); }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.qty-s.sm { flex: 0 0 auto; border-radius: 99px; }
.qty-s.sm button { width: 32px; height: 38px; font-size: 18px; background: var(--surface); }
.qty-s.sm input, .qty-s.sm span { width: 34px; height: 38px; display: grid; place-items: center; font-size: 15px; }
.card .addr { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 99px; display: grid; place-items: center; flex: 0 0 auto; background: var(--fill); color: var(--fill-ink); border: 1.5px solid var(--fill-line); position: relative; }
.card .addr span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.card .addr:hover { background: var(--fill-2); }
.card .addr.loading { opacity: .6; }
.addr.added::after { content: none; }
.card .added_to_cart, .card .addr + .added_to_cart { display: none !important; }
@media (max-width: 400px) { .qty-s.sm button { width: 27px; } .qty-s.sm input, .qty-s.sm span { width: 26px; } .card .addr { width: 40px; height: 40px; min-height: 40px; } }
@media (max-width: 350px) { .card .buy-row .qty-s { display: none; } .card .buy-row { justify-content: flex-end; } }

/* السلة اللي كتخرج من الجنب */
.cscrim { position: fixed; inset: 0; z-index: 57; background: rgba(20, 8, 14, .45); }
.cart-drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 58; width: min(90vw, 410px); background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateX(-100%); transition: transform .25s ease; }
[dir="ltr"] .cart-drawer { transform: translateX(100%); }
.cart-drawer.on { transform: none; }
.cart-drawer.busy .nawra-mini { opacity: .6; pointer-events: none; }
.cd-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cd-h b { display: inline-flex; align-items: center; gap: 8px; font: 800 18px/1 var(--font-display); }
.cd-h .x { width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--surface-2); display: grid; place-items: center; }
.nawra-mini { flex: 1; min-height: 0; display: flex; flex-direction: column; transition: opacity .15s; }
.cd-free { margin: 12px 16px 0; }
.cd-items { list-style: none; margin: 0; padding: 4px 16px; overflow-y: auto; flex: 1; }
.cd-it { display: grid; grid-template-columns: 72px minmax(0, 1fr) 32px; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cd-img img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: block; background: var(--surface-2); }
.cd-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cd-name { font-weight: 600; font-size: 14.5px; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cd-line { font-size: 15px; }
.cd-rm { width: 32px; height: 32px; border-radius: 99px; border: 0; background: none; color: var(--ink-3); display: grid; place-items: center; }
.cd-rm:hover { background: var(--sale-soft); color: var(--sale); }
.cd-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.cd-sub { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; }
.cd-note { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.cd-go { min-height: 52px; font-size: 17px; }
.cd-cart { background: var(--surface-2); border-color: var(--surface-2); }
.cd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--ink-3); padding: 30px; text-align: center; }

/* الرئيسية «سامبل» */
.cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat-tile { position: relative; display: flex; align-items: center; gap: 8px; min-height: 120px; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); background: var(--surface-2); padding: 12px; }
.tile-perfumes { background: var(--t-perf); } .tile-hair { background: var(--t-hair); } .tile-skin { background: var(--t-skin); } .tile-body { background: var(--t-body); } .tile-makeup { background: var(--t-make); } .tile-salon { background: var(--pro-soft); }
.ct-txt { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; max-width: 62%; align-self: flex-start; padding-top: 6px; }
.ct-txt b { font: 800 16px/1.25 var(--font-display); }
.ct-txt span { font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.ct-img { position: absolute; inset-inline-end: -6px; bottom: -6px; width: 45%; height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; pointer-events: none; }
.ct-img img { max-height: 110%; width: auto; object-fit: contain; }
.follow { align-items: center; text-align: center; padding-top: 30px; }
.follow h2 { font: 800 19px/1.3 var(--font-display); }
.follow .social { justify-content: center; }
.follow .social a { width: 50px; height: 50px; }
.home-simple .sec-h h2 { font-weight: 800; }

/* السميات بالفرنسية: كيتكتبو من اليسار (dir=auto) ولكن كيبقاو محاذيين بحال الباقي */
[dir="rtl"] .card .name, [dir="rtl"] .cd-name { text-align: right; } .card .name, .cd-name { unicode-bidi: plaintext; }
[dir="ltr"] .card .name, [dir="ltr"] .cd-name { text-align: left; }

/* ================================================================ الماركات */
.home-chips { margin-top: 4px; }
.chip svg { margin-inline-end: 6px; }
.chip.hot { background: var(--sale-soft); border-color: var(--sale-soft); color: var(--sale); font-weight: 700; }

/* «باقي غير X» */
.low-stock { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--sale); }
.card .low-stock { margin-top: -2px; }

/* كاع الماركات (A–Z) */
.brands-az { display: flex; flex-direction: column; gap: 16px; }
.bz-find { max-width: 520px; }
.bz-letters { padding-block: 4px; }
.bz-letters a { flex: 0 0 auto; min-width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 700; text-decoration: none; color: var(--ink); background: var(--surface); }
.bz-letters a:hover { background: var(--fill); border-color: var(--fill-line); color: var(--fill-ink); }
.bz-g { scroll-margin-top: 180px; }
.bz-l { font: 800 22px/1 var(--font-display); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.bz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
@media (min-width: 640px) { .bz-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bz-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.bz-it { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); text-align: center; min-width: 0; }
.bz-it .ring { width: 76px; height: 76px; }
.bz-n { font-weight: 600; font-size: 13.5px; line-height: 1.3; overflow-wrap: anywhere; }
.bz-c { font-size: 12px; color: var(--ink-3); }
.bz-it:hover .ring { box-shadow: 0 0 0 2px var(--fill-line); }

/* راس صفحة الماركة */
.brand-head { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 12px; border-radius: var(--r); background: var(--accent-soft); }
.brand-head .bh-ring { width: 84px; height: 84px; flex: 0 0 auto; }
.bh-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.bh-n { font: 800 24px/1.2 var(--font-display); margin: 0; overflow-wrap: break-word; }
.bh-t .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.bh-t .num { font-size: 13px; color: var(--ink-3); }
.bh-all { flex: 0 0 auto; align-self: flex-start; }
@media (max-width: 560px) { .brand-head { flex-wrap: wrap; } .brand-head .bh-ring { width: 64px; height: 64px; } .bh-all { flex-basis: 100%; order: 3; font-size: 14px; } }

/* سطر الماركة فالرئيسية */
.br-h { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.br-h .br-ring { width: 44px; height: 44px; font-size: 16px; }
.bz-it .ring, .bh-ring, .br-ring { border-radius: 99px; display: grid; place-items: center; overflow: hidden; border: 2px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line); background: var(--surface-2); flex: 0 0 auto; }
.bz-it .ring img, .bh-ring img, .br-ring img { width: 92%; height: 92%; object-fit: contain; }
.bz-it .ring b, .bh-ring b, .br-ring b { font: 700 24px/1 var(--font-display); color: var(--accent); }
.br-ring b { font-size: 17px; }

/* ================================================================ اللغات */
.strip { padding: 4px 0; }
.strip-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.strip-t { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-sw { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.lang-sw a { color: inherit; text-decoration: none; font-size: 12.5px; font-weight: 600; padding: 3px 8px; border-radius: 99px; opacity: .8; line-height: 1.4; }
.lang-sw a:hover { opacity: 1; background: rgba(0, 0, 0, .06); }
.lang-sw a.on { opacity: 1; background: var(--surface); color: var(--ink); }
.lang-sw a[lang^="fr"] { font-family: "Segoe UI", system-ui, sans-serif; }
@media (max-width: 520px) { .strip-t { font-size: 11.5px; } .lang-sw a { padding: 3px 6px; font-size: 12px; } }
.sw-drawer { display: flex; margin: 4px 16px 10px; padding: 4px; border-radius: 99px; background: var(--surface-2); }
.sw-drawer a { flex: 1; text-align: center; padding: 8px 6px; font-size: 14px; }
.sw-drawer a.on { background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* بالفرنسية: من اليسار */
[dir="ltr"] body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
[dir="ltr"] .s-cat select { background-position: right 0 center; }
[dir="ltr"] .ct-txt span::after { content: ""; }

/* المدينة: البحث بالحروف */
.cbox { position: relative; width: 100%; min-width: 0; }
.cbox .cb-in { width: 100%; min-width: 0; border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 10px 12px; min-height: 48px; font-size: 16px; font-family: inherit; color: var(--ink); }
.cbox .cb-in:focus { border-color: var(--accent); background: var(--surface); outline: none; }
.cbox .cb-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); inset-inline-start: 0; bottom: 0; }
.cb-list { position: absolute; inset-inline: 0; top: calc(100% + 4px); z-index: 60; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); max-height: 300px; overflow-y: auto; }
.cb-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.cb-list li em { font-style: normal; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.cb-list li.on, .cb-list li:hover { background: var(--accent-soft); }
.cb-list .cb-oth span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cb-list .cb-oth small { font-size: 12px; color: var(--ink-3); }
.cb-list .cb-none { cursor: default; color: var(--ink-3); font-size: 14px; }
.cbox.other .cb-in { border-color: var(--line); }
