/* متجر التاجر — تصميم مجوهرات: عاجي وأسود وذهبي (لون التاجر في --accent)، عربي/إنجليزي، موبايل أولاً */
:root {
    --accent: #B8892B;
    --accent-2: color-mix(in srgb, var(--accent) 78%, #fff);
    --accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);
    --accent-deep: color-mix(in srgb, var(--accent) 70%, #000);
    --ink: #14120F; --ink-2: #221F1A; --ivory: #FAF7F0; --paper: #FFFFFF;
    --line: #ECE5D6; --text: #23201B; --muted: #8B8270;
    --good: #2E7D32; --bad: #B3261E; --info: #1565C0; --warn: #9A6200;
    --r: 16px; --shadow: 0 1px 2px rgba(20, 18, 15, .04), 0 12px 34px -20px rgba(20, 18, 15, .28);
    --head: "El Messiri", "Cairo", serif;
}
html[lang="en"] { --head: "Playfair Display", Georgia, serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; font-size: 15.5px; line-height: 1.7; color: var(--text); background: var(--ivory); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.3; margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.good { color: var(--good); } .bad { color: var(--bad); }
.si { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }
.only-m { display: none !important; }

/* ===== شريط الأسعار ===== */
.rates { background: var(--ink); color: #D8CFBC; font-size: 13.5px; }
.rates-row { display: flex; align-items: center; gap: 16px; min-height: 36px; }
.rates-label { color: var(--accent-2); font-weight: 700; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.rates-list { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.rates-list::-webkit-scrollbar { display: none; }
.rates-list b { color: #fff; font-weight: 600; margin-inline-end: 4px; }
.rates-list small { color: #9C937F; }

/* ===== الهيدر ===== */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 240, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; flex: none; max-width: 300px; }
.logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.mono { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--head); font-size: 22px;
    color: var(--ink); background: radial-gradient(circle at 30% 25%, #fff6d8, var(--accent-2) 45%, var(--accent) 75%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.logo-name { font-family: var(--head); font-size: 22px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .2px; }
.nav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.nav a { padding: 8px 12px; border-radius: 10px; font-weight: 600; color: #4A443A; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--accent-deep); background: var(--accent-soft); }
.hdr-icons { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.hsearch { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; }
[dir="rtl"] .hsearch { padding: 2px 14px 2px 4px; }
.hsearch input { border: 0; outline: 0; background: transparent; width: 190px; padding: 7px 0; font-size: 14px; }
.hsearch button { border: 0; background: var(--ink); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.ibtn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.ibtn:hover { background: var(--accent-soft); color: var(--accent-deep); }
.cart-n { position: absolute; top: 2px; inset-inline-end: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.lang { font-weight: 800; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.demo-bar { background: linear-gradient(90deg, #2A2316, #4A3A1C); color: #F3E3B5; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.demo-bar a { color: #fff; text-decoration: underline; margin-inline-start: 8px; font-weight: 800; }
.closed-bar { background: #FFF1D0; color: #6E4B00; text-align: center; padding: 8px 16px; font-weight: 600; font-size: 14px; }

/* ===== الأزرار والملاحظات ===== */
.sbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--ink);
    background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; transition: transform .15s, filter .15s, background .15s; text-align: center; }
.sbtn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.sbtn.gold { background: linear-gradient(180deg, var(--accent-2), var(--accent)); border-color: var(--accent-deep); color: #1B1405; }
.sbtn.ghost { background: transparent; color: var(--ink); border-color: #CFC6B3; }
.sbtn.ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.sbtn.wa { background: #1FAF54; border-color: #1FAF54; color: #fff; }
.sbtn.small { padding: 6px 14px; font-size: 13.5px; }
.sbtn.big { padding: 14px 26px; font-size: 16.5px; }
.sbtn.block { width: 100%; }
.link-btn { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px 0; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; }
.link-btn:hover { color: var(--bad); }
.link-btn.bad { color: var(--bad); margin-top: 10px; }
.note { padding: 12px 16px; border-radius: 12px; margin: 16px 0; font-weight: 600; }
.note.ok { background: #E8F5E9; color: var(--good); }
.note.err { background: #FDECEA; color: var(--bad); }
.note.warn { background: #FFF4D6; color: var(--warn); }
.note.info { background: var(--accent-soft); color: var(--accent-deep); font-weight: 500; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--accent-soft); color: var(--accent-deep); }
.tag.good { background: #E8F5E9; color: var(--good); } .tag.bad { background: #FDECEA; color: var(--bad); }
.tag.warn { background: #FFF4D6; color: var(--warn); } .tag.info { background: #E3F0FD; color: var(--info); }

/* ===== الواجهة ===== */
.hero { position: relative; overflow: hidden; color: #F4EBD6; background:
    radial-gradient(1000px 420px at 85% -10%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%),
    linear-gradient(160deg, #1C1915, #0F0E0C); }
.hero.has-cover { background: linear-gradient(90deg, rgba(12, 11, 9, .82), rgba(12, 11, 9, .35)), var(--cover) center / cover no-repeat; }
[dir="rtl"] .hero.has-cover { background: linear-gradient(270deg, rgba(12, 11, 9, .82), rgba(12, 11, 9, .35)), var(--cover) center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
    background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 22px 22px; }
.hero-in { position: relative; z-index: 1; padding-block: 84px 70px; max-width: 1240px; }
.eyebrow { letter-spacing: 3px; text-transform: uppercase; color: var(--accent-2); font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); color: #fff; max-width: 760px; }
.hero-tag { font-size: clamp(16px, 2vw, 19px); color: #D9CFBA; max-width: 560px; margin: 14px 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .sbtn.ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.hero-rates { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.hero-rates div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px 16px; min-width: 120px; backdrop-filter: blur(6px); }
.hero-rates small { display: block; color: var(--accent-2); font-weight: 700; }
.hero-rates b { font-size: 22px; color: #fff; display: block; line-height: 1.3; }
.hero-rates span { font-size: 12px; color: #A89F8B; }

.block { padding-block: 46px 6px; }
.block-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.block-head h2 { font-size: clamp(22px, 3vw, 30px); position: relative; padding-bottom: 8px; }
.block-head h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 46px; height: 3px; border-radius: 3px; background: var(--accent); }
.block-head a { color: var(--accent-deep); font-weight: 700; white-space: nowrap; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 12px; text-align: center; transition: .2s; }
.cat:hover { border-color: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); margin-bottom: 8px; }
.cat b { display: block; font-size: 15.5px; }
.cat small { color: var(--muted); }

.hero-art { position: absolute; inset-block: 0; inset-inline-end: max(20px, calc((100% - 1240px) / 2 + 20px)); width: min(46%, 560px); z-index: 1; }
.art { position: absolute; display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .14); transition: transform .4s; background: #1d1a15; }
.art:hover { transform: translateY(-6px) rotate(0deg) !important; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art span { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(12, 11, 9, .82)); color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.art span b { display: block; color: var(--accent-2); font-size: 15px; }
.art0 { width: 54%; aspect-ratio: 1; top: 12%; inset-inline-start: 22%; z-index: 2; transform: rotate(-2deg); }
.art1 { width: 40%; aspect-ratio: 1; top: 44%; inset-inline-start: 0; transform: rotate(4deg); }
.art2 { width: 40%; aspect-ratio: 1; top: 50%; inset-inline-end: 0; transform: rotate(-5deg); }
.hero.has-art .hero-in > * { max-width: 560px; }

/* ===== كروت القطع ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pimg { position: relative; aspect-ratio: 1; background: linear-gradient(160deg, #FBF8F1, #F1EADB); overflow: hidden; display: block; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pimg img { transform: scale(1.06); }
.noimg { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--accent); background: linear-gradient(160deg, #FBF8F1, #EFE6D3); aspect-ratio: 1; }
.noimg b { font-family: var(--head); font-size: 22px; color: var(--accent-deep); }
.kbadge { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(20, 18, 15, .78); color: #F3E3B5; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.kbadge.static { position: static; display: inline-block; background: var(--accent-soft); color: var(--accent-deep); }
.sbadge { position: absolute; inset-inline: 0; bottom: 0; background: rgba(20, 18, 15, .78); color: #fff; text-align: center; font-weight: 700; padding: 6px; font-size: 13.5px; }
.sbadge.big { font-size: 16px; padding: 10px; }
.pcard.sold .pimg img, .pcard.sold .noimg { filter: grayscale(.7); opacity: .75; }
.wish-form { position: absolute; top: 8px; inset-inline-end: 8px; margin: 0; }
.wish { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.wish:hover, .wish.on { color: #C2185B; }
.wish.on svg { fill: currentColor; }
.pbody { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ptitle { font-weight: 700; font-size: 15.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptitle:hover { color: var(--accent-deep); }
.pmeta { color: var(--muted); font-size: 13px; }
.pprice { margin-top: auto; padding-top: 6px; font-size: 18px; font-weight: 800; color: var(--ink); }
.money small { font-size: .7em; color: var(--muted); font-weight: 600; }

/* ===== المميزات ===== */
.trust { background: var(--ink); color: #D9D0BD; margin-top: 56px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-block: 44px; }
.trust-grid > div { display: flex; flex-direction: column; gap: 6px; }
.trust-grid svg { color: var(--accent-2); }
.trust-grid b { color: #fff; font-family: var(--head); font-size: 18px; }
.trust-grid p { margin: 0; font-size: 14px; color: #A9A08C; }

/* ===== الصفحات الداخلية ===== */
.page-top { padding-block: 26px 10px; }
.page-top h1 { font-size: clamp(26px, 4vw, 36px); }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.crumbs a:hover { color: var(--accent-deep); }
.empty-state { text-align: center; padding: 64px 16px; }
.big-ic { font-size: 48px; color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 16px; }
.box.highlight { border-color: var(--accent-2); box-shadow: 0 0 0 4px var(--accent-soft); }
.box h2 { font-size: 19px; margin-bottom: 14px; }
.prose .box p { margin: 0 0 8px; }

/* ===== المتجر والفلاتر ===== */
.shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px; align-items: start; padding-bottom: 20px; }
.filters-box { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.fhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filters-box label { display: block; font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.filters-box input:not([type=radio]):not([type=checkbox]), .filters-box select, .form-grid input, .form-grid select, .form-grid textarea, .copts input, .coupon input {
    display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-2); border-color: var(--accent); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fkarats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.fkarats > span { width: 100%; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.kchip input { display: none; }
.kchip b { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; cursor: pointer; }
.kchip input:checked + b { background: var(--ink); color: #fff; border-color: var(--ink); }
.checkl { display: flex !important; align-items: center; gap: 8px; color: var(--text) !important; }
.checkl input { width: auto !important; margin: 0 !important; }
.reset { display: block; text-align: center; margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.sortf { margin-inline-start: auto; }
.sortf select { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; background: #fff; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 28px 0 8px; flex-wrap: wrap; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 700; }
.pager a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== صفحة القطعة ===== */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 20px; }
.gallery { position: sticky; top: 92px; }
.gmain { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #FBF8F1, #EFE6D3); border: 1px solid var(--line); cursor: zoom-in; }
.gmain img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gmain.zoom img { transform: scale(1.9); cursor: zoom-out; }
.gthumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gthumbs button { flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #fff; }
.gthumbs button.on { border-color: var(--accent); }
.gthumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 16px; }
.pspecs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 18px; }
.pspecs div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.pspecs small { display: block; color: var(--muted); font-size: 12.5px; }
.pspecs b { font-size: 16.5px; }
.pricebox { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 16px; }
.big-price { font-size: 32px; font-weight: 800; font-family: var(--head); line-height: 1.2; }
.big-price.muted { font-size: 20px; }
.pricebox p { margin: 6px 0 0; }
.breakdown { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.breakdown summary { cursor: pointer; font-weight: 700; color: var(--accent-deep); }
.breakdown table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14.5px; }
.breakdown td { padding: 6px 0; border-bottom: 1px solid #F3EEE3; }
.breakdown td:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.breakdown tr.tot td { font-weight: 800; border-bottom: 0; }
.buy-form label { display: block; font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.buy-form input { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.pactions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pactions form { margin: 0; }
.share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 14px; }
.share a, .share button { color: var(--ink); font-weight: 600; border: 0; background: none; padding: 0; cursor: pointer; }
.share a:hover, .share button:hover { color: var(--accent-deep); }
.pdesc { margin-top: 22px; }
.pdesc h2 { font-size: 19px; margin-bottom: 6px; }
.perks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: #5A5347; font-size: 14px; }
.perks li { display: flex; align-items: center; gap: 6px; }
.perks.col { flex-direction: column; margin: 0; }
.perks svg { color: var(--accent-deep); }

/* ===== السلة والدفع ===== */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; padding-bottom: 30px; }
.cline { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin-bottom: 12px; align-items: start; }
.cimg { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; display: block; }
.cimg img, .cimg .noimg { width: 100%; height: 100%; object-fit: cover; }
.cimg .noimg svg { width: 28px; height: 28px; }
.cimg .noimg b { font-size: 15px; }
.cprice { text-align: end; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-weight: 800; }
.cprice form { margin: 0; }
.copts { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.copts input { width: 150px; margin: 0; padding: 6px 10px; font-size: 13.5px; }
.summary { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.summary h2 { font-size: 19px; margin-bottom: 12px; }
.srow { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F3EEE3; font-size: 14.5px; }
.srow.total { font-size: 19px; font-weight: 800; border-bottom: 0; padding-top: 12px; }
.coupon { display: flex; gap: 8px; margin: 14px 0; }
.coupon input { margin: 0; text-transform: uppercase; }
.summary .sbtn.big { margin-top: 10px; }
.sline { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #F3EEE3; font-size: 14px; }
.sline img, .sline .noimg { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.sline .noimg svg { width: 20px; } .sline .noimg b { display: none; }
.sline small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.sline > span { font-weight: 700; white-space: nowrap; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 14px; }
.choices.col { grid-template-columns: 1fr; }
.choice { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: flex; flex-direction: column; gap: 2px; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; height: 100%; transition: .15s; }
.choice > span svg { color: var(--accent-deep); margin-bottom: 4px; }
.choice small { color: var(--muted); font-size: 13px; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); }
.choice.small > span { padding: 10px 14px; }
.branch-list { display: grid; gap: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid.one { grid-template-columns: 1fr; }
.form-grid.narrow { max-width: 720px; }
.form-grid label { display: block; font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.form-grid .span2, .form-grid h3, .form-grid > button { grid-column: 1 / -1; }
.form-grid h3 { font-size: 16px; margin: 8px 0 10px; }
.form-grid > button { justify-self: start; }
.agree { margin: 12px 0 0; font-size: 14px; }
.agree a { color: var(--accent-deep); font-weight: 700; }
.transfer-info { background: var(--ivory); border: 1px dashed var(--accent-2); border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; font-weight: 600; }
.paygw { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== تتبع الطلب ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 6px 0 22px; counter-reset: s; }
.steps li { position: relative; text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; padding-top: 44px; }
.steps li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-weight: 800; z-index: 1; }
.steps li::before { content: ""; position: absolute; top: 16px; inset-inline-start: -50%; width: 100%; height: 2px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps li.done, .steps li.now { color: var(--ink); }
.steps li.done span { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps li.now span { border-color: var(--accent); color: var(--accent-deep); box-shadow: 0 0 0 4px var(--accent-soft); }
.steps li.done::before, .steps li.now::before { background: var(--accent); }
.orders { display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.order-row:hover { border-color: var(--accent-2); }
.tabs-s { display: flex; gap: 6px; margin-top: 14px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs-s a { padding: 10px 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs-s a.on { color: var(--accent-deep); border-color: var(--accent); }

/* ===== الحساب ===== */
.auth-wrap { display: grid; place-items: center; padding-block: 40px 60px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; box-shadow: var(--shadow); }
.auth-mark { text-align: center; color: var(--accent); font-size: 34px; }
.auth-card h1 { text-align: center; font-size: 26px; margin-bottom: 4px; }
.auth-links { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; }
.auth-links a { color: var(--accent-deep); font-weight: 600; }

/* ===== الفوتر ===== */
.ftr { background: #0F0E0C; color: #A9A08C; margin-top: 60px; font-size: 14.5px; }
.trust + .ftr { margin-top: 0; border-top: 1px solid #2A2620; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-block: 44px 26px; }
.ftr-name { font-family: var(--head); font-size: 24px; color: #fff; margin-bottom: 8px; }
.ftr-h { color: var(--accent-2); font-weight: 700; margin-bottom: 10px; }
.ftr p { margin: 0 0 10px; }
.ftr a:hover { color: #fff; }
.ftr p span { color: #847B68; font-size: 13.5px; }
.social { display: flex; gap: 14px; margin-top: 10px; }
.social a { color: var(--accent-2); font-weight: 700; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid #24211C; padding-block: 16px 22px; font-size: 13px; }
.powered { color: #7D7462; }
.powered:hover { color: var(--accent-2) !important; }
.wa-fab { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600;
    display: flex; gap: 14px; align-items: center; transition: transform .3s, opacity .3s; box-shadow: var(--shadow); max-width: calc(100% - 32px); opacity: 0; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { color: var(--accent-2); font-weight: 800; }

/* ===== الموبايل ===== */
@media (max-width: 1100px) {
    .only-wide { display: none; }
    .hsearch input { width: 130px; }
}
@media (max-width: 900px) {
    .hero-art { display: none; }
    .only-m { display: inline-grid !important; }
    .sbtn.only-m { display: inline-flex !important; }
    .hdr-row { gap: 6px; min-height: 62px; }
    .logo-name { font-size: 18px; }
    .logo img, .mono { width: 38px; height: 38px; }
    .nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: var(--shadow); }
    .nav.open { display: flex; }
    .nav .only-wide { display: block; }
    .hsearch { display: none; }
    .ibtn { width: 38px; height: 38px; }
    .shop, .product, .cart-layout { grid-template-columns: 1fr; }
    .filters-box { display: none; position: fixed; inset: 0; z-index: 70; border-radius: 0; overflow-y: auto; top: 0; }
    .filters-box.open { display: block; }
    .gallery, .summary { position: static; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .ftr-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-in { padding-block: 56px 46px; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pbody { padding: 10px 10px 12px; }
    .ptitle { font-size: 14.5px; }
    .pprice { font-size: 16px; }
}
@media (max-width: 560px) {
    .wrap { padding-inline: 14px; }
    .rates-label { display: none; }
    .lang { padding: 5px 8px; }
    .cline { grid-template-columns: 76px minmax(0, 1fr); }
    .cimg { width: 76px; height: 76px; }
    .cprice { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
    .form-grid { grid-template-columns: 1fr; }
    .order-row { grid-template-columns: 1fr auto; }
    .steps li { font-size: 12px; }
    .trust-grid { grid-template-columns: 1fr; }
    .hide-s { display: none !important; }
    .hdr-row { gap: 4px; }
    .logo-name { font-size: 16.5px; }
}
@media print { .hdr, .rates, .ftr, .wa-fab, .trust { display: none; } }
