/* ==========================================================================
   Muse Couture — storefront styles
   Palette taken from the brand artwork: deep plum ground, soft lilac line-work.
   ========================================================================== */
:root {
  --plum: #7A2E57;
  --plum-deep: #5C2141;
  --plum-glow: #A0678A;
  --lilac: #ECD6E6;
  --lilac-soft: #F3E8F0;
  --blush: #FAF6F8;
  --ink: #2B1A24;
  --muted: #86707F;
  --line: #EADCE5;
  --ok: #2E6B45;
  --err: #A33A2B;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -18px rgba(92, 33, 65, .45);
  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --track: .28em;
  --wrap: 1200px;
}
[dir="rtl"] {
  --font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Amiri", "Tajawal", serif;
  --track: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--blush); color: var(--ink);
  font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--plum); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .78rem; }
.section { padding-block: 56px; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.01em;
}
[dir="rtl"] .display { font-weight: 400; line-height: 1.3; }
.kicker, .h-small, .panel-title, legend small, .footer-col h4, .summary dt {
  letter-spacing: var(--track);
}
.kicker { text-transform: uppercase; font-size: .78rem; margin: 0 0 16px; opacity: .85; }
.h-page { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 6px; }
[dir="rtl"] .h-page, [dir="rtl"] .h-section, [dir="rtl"] .h-product { font-weight: 400; }
.h-section { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 24px; }
.h-product { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 0 0 10px; }
.h-small { font-size: .8rem; text-transform: uppercase; font-weight: 500; color: var(--plum); margin: 0 0 14px; }
.h-sub { font-size: 1rem; font-weight: 500; margin: 26px 0 10px; }
.lead { font-size: 1.1rem; font-weight: 300; max-width: 34ch; margin: 0 0 30px; opacity: .92; }
[dir="rtl"] .lead { font-weight: 400; }
.lead-sm { font-size: 1.1rem; margin: 0 0 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: .86rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s; text-align: center;
}
[dir="rtl"] .btn { letter-spacing: 0; font-size: .98rem; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--plum-deep); }
.btn-light { background: var(--lilac); color: var(--plum-deep); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: var(--plum); color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .74rem; }
.btn-block { width: 100%; }
.link-arrow { color: var(--plum); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
[dir="rtl"] .link-arrow { letter-spacing: 0; font-size: .95rem; }
.link-arrow.center { display: table; margin: 16px auto 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; }
.link-btn:hover { color: var(--err); }

/* ---------- Header ---------- */
.announce { background: var(--plum-deep); color: var(--lilac); text-align: center; font-size: .78rem; letter-spacing: .12em; padding: 8px 16px; }
[dir="rtl"] .announce { letter-spacing: 0; font-size: .88rem; }
.site-header { background: rgba(250, 246, 248, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 84px; gap: 16px; }
.brand img { width: 170px; height: auto; }
.nav-main { display: flex; gap: 28px; }
.nav-main a { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
[dir="rtl"] .nav-main a { letter-spacing: 0; font-size: .98rem; }
.nav-main a:hover, .nav-main a.active { color: var(--plum); border-color: var(--plum); }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.lang-switch { font-size: .9rem; color: var(--plum); border: 1px solid var(--line); border-radius: 99px; padding: 5px 14px; }
.lang-switch:hover { border-color: var(--plum); }
.lang-switch:lang(en), [dir="ltr"] .lang-switch { font-family: "Tajawal", sans-serif; }
[dir="rtl"] .lang-switch { font-family: "Jost", sans-serif; }
.bag-link { position: relative; color: var(--plum); display: inline-flex; padding: 6px; }
.bag-count { position: absolute; top: -2px; inset-inline-end: -4px; min-width: 19px; height: 19px; border-radius: 99px; background: var(--plum); color: #fff; font-size: .68rem; display: grid; place-items: center; padding: 0 5px; font-family: "Jost", sans-serif; }
.bag-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 1px; background: var(--plum); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Hero (echoes the logo artwork: plum ground + soft radial glow) ---------- */
.hero { position: relative; background: var(--plum); color: var(--lilac); overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(circle at 72% 55%, rgba(236, 214, 230, .38) 0, rgba(160, 103, 138, .22) 18%, rgba(122, 46, 87, 0) 46%); pointer-events: none; }
[dir="rtl"] .hero-glow { background: radial-gradient(circle at 28% 55%, rgba(236, 214, 230, .38) 0, rgba(160, 103, 138, .22) 18%, rgba(122, 46, 87, 0) 46%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: min(78vh, 680px); gap: 40px; padding-block: 70px 120px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(360px, 80%); filter: drop-shadow(0 0 40px rgba(236, 214, 230, .25)); animation: rise 1.2s ease both; }
.hero-copy { animation: rise 1s .1s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-ar { position: absolute; bottom: 52px; inset-inline: 0; text-align: center; margin: 0; font-family: "Amiri", serif; font-size: 1.25rem; opacity: .7; }

/* ---------- USPs ---------- */
.usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -34px; position: relative; box-shadow: var(--shadow); padding: 0; }
.usp { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 22px; color: var(--plum); }
.usp svg { flex: none; margin-top: 2px; }
.usp strong { display: block; color: var(--ink); font-weight: 500; }
.usp span { color: var(--muted); font-size: .9rem; }

/* ---------- Product grid ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.card { display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--lilac-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--plum); color: #fff; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; }
[dir="rtl"] .badge { letter-spacing: 0; font-size: .8rem; }
.badge-muted { background: rgba(43, 26, 36, .72); }
.card-body { padding: 14px 2px 0; }
.card-title { font-size: 1rem; font-weight: 400; margin: 0 0 4px; }
.card-title a:hover { color: var(--plum); }
.price { color: var(--plum); font-weight: 500; }
.price s { color: var(--muted); font-weight: 400; margin-inline-end: 6px; }
.price-lg { font-size: 1.35rem; margin-bottom: 26px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

.cat-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.page-head .cat-row { justify-content: flex-start; margin-top: 18px; }
.cat-pill { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 20px; font-size: .88rem; transition: all .2s; }
.cat-pill:hover, .cat-pill.active { background: var(--plum); color: #fff; border-color: var(--plum); }

.page-head { padding: 44px 0 0; }

/* ---------- Story ---------- */
.story { background: var(--lilac-soft); padding: 70px 0; margin-top: 20px; }
.story-inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 860px; }
.story-mark { width: 110px; opacity: .9; }
.story p { font-size: 1.1rem; font-weight: 300; margin: 0; }
[dir="rtl"] .story p { font-weight: 400; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-block: 44px 20px; align-items: start; }
.gallery { position: sticky; top: 110px; }
.gallery-main { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--lilac-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { flex: none; width: 72px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: none; opacity: .65; }
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--plum); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 8px; }
.sizes { border: 0; padding: 0; margin: 0 0 22px; }
.sizes legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.sizes legend small { color: var(--muted); font-weight: 400; margin-inline-start: 8px; font-size: .78rem; text-transform: uppercase; }
.size-options { display: flex; flex-wrap: wrap; gap: 10px; }
.size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-opt span { display: grid; place-items: center; min-width: 58px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; transition: all .15s; font-family: "Jost", sans-serif; }
.size-opt span:hover { border-color: var(--plum); }
.size-opt input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.size-opt input:focus-visible + span { outline: 2px solid var(--plum); outline-offset: 2px; }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.add-row { display: flex; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: #fff; height: 48px; flex: none; }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--plum); }
.qty input { width: 38px; text-align: center; border: 0; background: none; -moz-appearance: textfield; appearance: textfield; font-family: "Jost", sans-serif; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 38px; }
.qty-sm button { width: 32px; }
.stock-low { color: var(--err); font-size: .88rem; margin: 10px 0 0; }
.prose { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 300; }
[dir="rtl"] .prose { font-weight: 400; }
.spec { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 20px; }
.spec span { color: var(--muted); margin-inline-end: 10px; font-size: .88rem; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line:first-of-type { border-top: 1px solid var(--line); }
.cart-thumb img { border-radius: var(--radius-sm); aspect-ratio: 3 / 4; object-fit: cover; background: var(--lilac-soft); }
.cart-line-info { display: flex; flex-direction: column; gap: 4px; }
.cart-line-name { font-weight: 500; }
.cart-line-actions { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.cart-line-total { font-weight: 500; color: var(--plum); white-space: nowrap; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.summary dl, .summary-dl { margin: 0 0 20px; }
.summary dl > div, .summary-dl > div { display: flex; justify-content: space-between; padding: 6px 0; }
.summary dt, .summary-dl dt { color: var(--muted); font-size: .9rem; }
.summary dt { letter-spacing: normal; }
.summary dd, .summary-dl dd { margin: 0; }
.summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px !important; font-size: 1.15rem; }
.summary-total dt, .summary-total dd { color: var(--plum) !important; font-weight: 500; }
.hint-free { background: var(--lilac-soft); color: var(--plum); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .88rem; margin: 0 0 16px; }
.empty-state { text-align: center; padding: 50px 0; }
.empty-state img { margin: 0 auto 18px; width: 80px; opacity: .8; }
.empty-state p { color: var(--muted); margin: 0 0 24px; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0; min-width: 0; }
.panel + .panel { margin-top: 20px; }
.checkout .panel + .panel { margin-top: 0; }
.panel-title { display: flex; align-items: center; gap: 12px; font-size: .82rem; text-transform: uppercase; color: var(--plum); font-weight: 500; padding: 0; margin-bottom: 18px; float: left; width: 100%; }
[dir="rtl"] .panel-title { float: right; font-size: 1rem; }
.panel-title + * { clear: both; }
.step { width: 28px; height: 28px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-size: .82rem; letter-spacing: 0; font-family: "Jost", sans-serif; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 500; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select, .map-search input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--blush);
  padding: 12px 14px; min-height: 48px; transition: border-color .15s, background .15s; font-size: 16px;
}
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field textarea:focus, .map-search input:focus { outline: none; border-color: var(--plum); background: #fff; }
.field.has-error input, .field-error + input { border-color: var(--err); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.field-row .field { margin-bottom: 16px; }
.hint { color: var(--muted); font-size: .8rem; }
.field-error { color: var(--err); font-size: .85rem; margin: 0; }
.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--blush); overflow: hidden; }
.input-prefix:focus-within { border-color: var(--plum); background: #fff; }
.input-prefix span { display: grid; place-items: center; padding: 0 12px; color: var(--plum); border-right: 1px solid var(--line); font-family: "Jost", sans-serif; }
.input-prefix input { border: 0 !important; background: transparent !important; border-radius: 0; }
.blue-plate { display: flex; align-items: center; gap: 12px; margin: -4px 0 18px; }
.plate { flex: none; background: #1F4E9C; color: #fff; border: 2px solid #fff; outline: 1px solid #1F4E9C; border-radius: 4px; font-family: "Jost", sans-serif; font-size: .6rem; line-height: 1.15; text-align: center; padding: 3px 7px; font-weight: 500; }

.map-tools { display: flex; gap: 10px; margin: 14px 0 12px; flex-wrap: wrap; }
.map-search { position: relative; flex: 1 1 260px; display: flex; gap: 8px; }
.map-search input { min-height: 40px; padding: 8px 12px; }
.map-results { position: absolute; top: calc(100% + 4px); inset-inline: 0; z-index: 1000; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); max-height: 260px; overflow-y: auto; }
.map-results li button { width: 100%; text-align: start; background: none; border: 0; padding: 9px 10px; border-radius: 6px; cursor: pointer; font-size: .88rem; }
.map-results li button:hover { background: var(--lilac-soft); }
.map { height: 380px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; z-index: 1; background: var(--lilac-soft); }
.pin-status { font-size: .88rem; margin: 10px 0 0; min-height: 1.4em; color: var(--muted); }
.pin-status.ok { color: var(--ok); }
.pin-status.need { color: var(--err); }
.muse-pin { background: none; border: 0; }
.muse-pin svg { filter: drop-shadow(0 4px 6px rgba(43, 26, 36, .35)); }
.leaflet-container { font-family: var(--font); }

.summary-sticky { position: sticky; top: 108px; }
.mini-lines { list-style: none; margin: 0 0 18px; padding: 0; }
.mini-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.panel .mini-lines li { grid-template-columns: 1fr auto; }
.mini-thumb { position: relative; }
.mini-thumb img { width: 54px; border-radius: 6px; aspect-ratio: 3 / 4; object-fit: cover; }
.mini-thumb b { position: absolute; top: -7px; inset-inline-end: -7px; background: var(--plum); color: #fff; border-radius: 99px; font-size: .7rem; min-width: 20px; height: 20px; display: grid; place-items: center; font-weight: 500; }
.mini-name { display: flex; flex-direction: column; }
.mini-name small { color: var(--muted); }
.cards { display: flex; justify-content: center; gap: 6px; margin: 4px 0 10px; }
.cards span { border: 1px solid var(--line); border-radius: 4px; font-size: .64rem; letter-spacing: .08em; padding: 3px 7px; color: var(--muted); font-family: "Jost", sans-serif; }
.btn[data-pay-btn].loading { pointer-events: none; opacity: .7; }

/* ---------- Order / test pay ---------- */
.order-hero { padding: 40px 28px; }
.check-circle { width: 70px; height: 70px; border-radius: 50%; background: var(--lilac-soft); color: var(--plum); display: grid; place-items: center; margin: 0 auto 18px; }
.order-meta { margin-top: 20px; font-size: .9rem; color: var(--muted); }
.status { font-weight: 500; }
.status-paid, .status-delivered, .status-processing, .status-out_for_delivery { color: var(--ok); }
.status-payment_failed, .status-cancelled { color: var(--err); }
.panel .center .btn { margin: 6px 4px; }
.test-badge { display: inline-block; background: #FFF3D6; color: #8A5A00; padding: 4px 12px; border-radius: 99px; font-size: .72rem; letter-spacing: .14em; margin-bottom: 14px; }
.big-amount { font-size: 2rem; color: var(--plum); margin: 16px 0 2px; font-weight: 300; }
.stack { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

/* ---------- Flash / toast ---------- */
.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 12px; font-size: .92rem; }
.flash-ok { background: #E6F2EA; color: var(--ok); }
.flash-error { background: #FBEAE7; color: var(--err); }
.flash a { text-decoration: underline; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); opacity: 0; background: var(--plum); color: #fff; padding: 12px 22px; border-radius: 99px; box-shadow: var(--shadow); transition: all .3s; z-index: 200; pointer-events: none; font-size: .92rem; display: flex; gap: 12px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--lilac); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--plum); color: var(--lilac); margin-top: 70px; overflow: hidden; }
.footer-glow { position: absolute; inset: 0; background: radial-gradient(circle at 18% 40%, rgba(236, 214, 230, .22), rgba(122, 46, 87, 0) 38%); pointer-events: none; }
[dir="rtl"] .footer-glow { background: radial-gradient(circle at 82% 40%, rgba(236, 214, 230, .22), rgba(122, 46, 87, 0) 38%); }
.footer-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.footer-brand img { width: 230px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.footer-col h4 { font-size: .74rem; text-transform: uppercase; font-weight: 500; margin: 0 0 8px; opacity: .7; }
.footer-col a:hover { color: #fff; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(236, 214, 230, .18); padding-block: 18px; font-size: .8rem; opacity: .75; }
.ar-tag { font-family: "Amiri", serif; font-size: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .checkout { grid-template-columns: 1fr; }
  .summary-sticky { position: static; }
}
@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto 1fr auto; min-height: 70px; }
  .brand { justify-self: center; }
  .brand img { width: 130px; }
  .nav-toggle { display: block; }
  .nav-main { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0; background: var(--blush); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; }
  .nav-main.open { display: flex; }
  .nav-main a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header-tools { gap: 10px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-block: 50px 80px; min-height: 0; gap: 10px; }
  .hero-art { order: -1; }
  .hero-art img { width: 170px; }
  .hero-glow, [dir="rtl"] .hero-glow { background: radial-gradient(circle at 50% 22%, rgba(236, 214, 230, .35), rgba(122, 46, 87, 0) 42%); }
  .lead { margin-inline: auto; }
  .usps { grid-template-columns: 1fr; margin-top: -30px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .product { grid-template-columns: 1fr; gap: 26px; padding-top: 20px; }
  .gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .story-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .story-mark { margin: 0 auto; width: 80px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .section { padding-block: 40px; }
  .field-row, .field-row.three { grid-template-columns: 1fr; gap: 0; }
  .field-row.three { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .panel { padding: 20px 16px; }
  .map { height: 320px; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line-total { grid-column: 2; }
  .add-row { flex-direction: column; }
  .qty { align-self: flex-start; }
  .lang-switch { padding: 4px 10px; font-size: .82rem; }
  .card-title { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
