:root {
  --bg: #0B0B0B;
  --surface: #131313;
  --surface-2: #1A1A1A;
  --line: #262626;
  --text: #EDEDED;
  --muted: #9A9A9A;
  --accent: #B3122E;
  --accent-hi: #D01A3A;
  --ok: #4C9A6A;
  --radius: 4px;
  --wrap: 1180px;
  --gutter: 16px;
  --font-body: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
  --font-display: 'Aref Ruqaa', 'Amiri', serif;
  --font-kufi: 'Reem Kufi', var(--font-body);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--accent); padding: 8px 12px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.latin { font-family: 'IBM Plex Sans Arabic', sans-serif; letter-spacing: .4em; text-transform: uppercase; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.price { color: var(--accent-hi); font-weight: 500; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 11, 11, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; margin-inline: auto; }
.brand-ar { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.05; }
.brand-en { font-size: 9px; letter-spacing: .6em; color: var(--muted); margin-top: 2px; padding-inline-start: .6em; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
  background: none; border: 0; color: var(--text); border-radius: 50%;
}
.icon-btn:hover { color: var(--accent-hi); }
.lang-btn { background: none; border: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 4px 10px; border-radius: 20px; }
.lang-btn:hover { color: var(--text); border-color: var(--muted); }
.cart-count {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
}
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); animation: fade .2s var(--ease); }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(82vw, 320px);
  background: var(--surface); border-inline-end: 1px solid var(--line); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 4px; animation: slide-in .25s var(--ease);
}
.drawer-panel a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.drawer-panel a.active { color: var(--accent-hi); }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .brand { margin-inline: 0; }
  .main-nav { display: flex; gap: 28px; margin-inline: auto; }
  .main-nav a { color: var(--muted); font-size: 15px; transition: color .2s; }
  .main-nav a:hover, .main-nav a.active { color: var(--text); }
  .main-nav a.active { box-shadow: 0 1px 0 var(--accent); }
}

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 500; letter-spacing: .02em; transition: background .2s, border-color .2s, color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-primary:disabled { background: #4a1420; color: #b9a3a7; cursor: not-allowed; }
.btn-ghost { background: transparent; border-color: #3a3a3a; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; }
.btn-wa { background: #1f7a4a; color: #fff; }
.btn-wa:hover { background: #24915a; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.link-btn:hover { color: var(--text); }
.link-btn.danger:hover { color: var(--accent-hi); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field > label, .field-label { font-size: 14px; color: var(--muted); }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.input, .select, .textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; transition: border-color .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--muted); outline: none; }
.input.invalid, .select.invalid { border-color: var(--accent); }
.textarea { min-height: 90px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-size: 5px 5px; background-repeat: no-repeat; background-position: left 18px center, left 13px center; }
[dir="ltr"] .select { background-position: right 13px center, right 18px center; }
.hint { font-size: 13px; color: var(--muted); }
.error { font-size: 13px; color: #ff6b81; min-height: 0; }
.counter { font-size: 12px; color: var(--muted); }
.counter.over { color: #ff6b81; }

/* chips / swatches */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 42px; min-width: 52px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); color: var(--text); transition: border-color .15s, background .15s;
}
.chip:hover { border-color: #555; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { border-color: var(--text); background: var(--surface-2); }
.chip:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.chip .sub { display: block; font-size: 11px; color: var(--muted); line-height: 1.2; }
.chip.place { padding: 8px 14px; text-align: start; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 3px var(--bg); position: relative; padding: 0;
}
.swatch[aria-checked="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--text); }
.swatch.sm { width: 16px; height: 16px; box-shadow: none; display: inline-block; vertical-align: middle; }
.font-chip { font-size: 20px; min-width: 76px; line-height: 1.2; padding: 6px 12px; }

/* ---------- sections ---------- */
.section { padding-block: 64px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 6vw, 40px); margin: 0; line-height: 1.3; }
[lang="en"] .section-title { font-family: var(--font-body); font-weight: 300; letter-spacing: .02em; }
.eyebrow { font-size: 11px; letter-spacing: .4em; color: var(--muted); text-transform: uppercase; }
.page-head { padding-block: 40px 8px; }
.page-head .section-title { font-size: clamp(30px, 7vw, 48px); }
.prose { max-width: 680px; color: #cfcfcf; }
.prose p { margin: 0 0 18px; }
.prose li { margin-bottom: 10px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 55%, rgba(179, 18, 46, .14), transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 8px; padding-block: 36px 48px; align-items: center; }
.hero-copy { text-align: center; }
.hero-mark { font-family: var(--font-display); font-size: clamp(72px, 22vw, 150px); line-height: 1; margin: 0; font-weight: 700; }
.hero-mark .stroke { color: var(--accent); }
.hero-latin { font-size: 12px; letter-spacing: 1.2em; color: var(--muted); margin: 6px 0 22px; padding-inline-start: 1.2em; }
.hero-title { font-family: var(--font-display); font-size: clamp(28px, 7vw, 44px); margin: 0 0 8px; font-weight: 400; }
[lang="en"] .hero-title { font-family: var(--font-body); font-weight: 300; letter-spacing: .04em; }
.hero-sub { color: var(--muted); max-width: 440px; margin: 0 auto 26px; }
.hero-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-art { max-width: 380px; margin: 0 auto; width: 100%; }
/* Thin shemagh-check strip — red on bone, as in the brand's Iraqi motifs. */
.shemagh-band {
  position: relative; height: 10px;
  background:
    linear-gradient(90deg, transparent 0 4px, var(--accent) 4px 6px, transparent 6px 10px) 0 0 / 10px 10px,
    linear-gradient(0deg, transparent 0 4px, var(--accent) 4px 6px, transparent 6px 10px) 0 0 / 10px 10px,
    #E9E3D6;
  opacity: .9;
}
.trust { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.trust div { padding: 16px 8px; text-align: center; font-size: 12px; color: var(--muted); }
.trust div + div { border-inline-start: 1px solid var(--line); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; padding-block: 72px; }
  .hero-copy { text-align: start; }
  .hero-sub { margin-inline: 0; }
  .hero-ctas { justify-content: flex-start; }
  .hero-latin { margin-inline: 0; }
  .trust div { font-size: 14px; padding: 20px; }
}

/* product grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; gap: 10px; }
.card-media {
  position: relative; aspect-ratio: 4 / 5; background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 14px; overflow: hidden; transition: border-color .25s;
}
.card-media img.photo { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card:hover .card-media { border-color: #3a3a3a; }
.card-media .hoodie { width: 92%; transition: transform .5s var(--ease); }
.card:hover .card-media .hoodie { transform: translateY(-4px); }
.card-name { font-size: 15px; margin: 0; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.card-dots { display: flex; gap: 4px; }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; font-size: 11px; padding: 2px 8px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }

/* steps */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--bg); padding: 28px 22px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.step-n { grid-row: span 2; font-family: var(--font-kufi); font-size: 34px; color: var(--accent); line-height: 1; }
.step h3 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 700; }
[lang="en"] .step h3 { font-family: var(--font-body); font-weight: 500; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { grid-template-columns: 1fr; } .step-n { grid-row: auto; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 10px 10px 12px; }
.gallery figure.photo { padding: 0; overflow: hidden; }
.gallery figure.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figure.photo figcaption { padding: 8px 10px 10px; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line); }
.gallery figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }

/* shop */
.shop-layout { display: grid; gap: 24px; padding-bottom: 64px; }
.filters-toggle { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.filters { background: var(--surface); border: 1px solid var(--line); padding: 20px; }
.filters h3 { margin: 0 0 10px; font-size: 13px; color: var(--muted); font-weight: 400; }
.filter-group + .filter-group { margin-top: 22px; }
.range { width: 100%; accent-color: var(--accent); }
@media (max-width: 899px) { .filters:not(.open) { display: none; } }
@media (min-width: 900px) {
  .shop-layout { grid-template-columns: 250px 1fr; align-items: start; }
  .filters { position: sticky; top: 84px; }
  .filters-toggle .btn { display: none; }
}

/* product page */
.product { display: grid; gap: 24px; padding-block: 16px 64px; }
.preview-wrap { position: sticky; top: 64px; z-index: 5; background: var(--bg); padding-bottom: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.preview-stage {
  position: relative; background: radial-gradient(70% 60% at 50% 45%, #1d1d1d, #111 70%); border: 1px solid var(--line);
  aspect-ratio: 1 / 1; height: min(36vh, calc(100vw - 32px)); margin-inline: auto; display: grid; place-items: center; padding: 12px;
}
.preview-stage .hoodie { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
.view-toggle { position: absolute; top: 10px; inset-inline-end: 10px; display: flex; border: 1px solid var(--line); background: var(--bg); }
.view-toggle button { background: none; border: 0; padding: 4px 12px; font-size: 12px; color: var(--muted); min-height: 30px; }
.view-toggle button[aria-pressed="true"] { color: var(--text); background: var(--surface-2); }
.preview-label { position: absolute; top: 12px; inset-inline-start: 12px; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.preview-note { font-size: 12px; color: var(--muted); text-align: center; margin: 8px 0 0; }
.p-title { font-family: var(--font-display); font-size: clamp(28px, 7vw, 40px); margin: 0; line-height: 1.3; font-weight: 700; }
[lang="en"] .p-title { font-family: var(--font-body); font-weight: 400; }
.p-desc { color: var(--muted); margin: 6px 0 4px; }
.p-fabric { font-size: 13px; color: var(--muted); }
.opt { padding-block: 20px; border-top: 1px solid var(--line); }
.opt:first-of-type { border-top: 0; }
.opt-h { font-size: 13px; letter-spacing: .25em; color: var(--muted); margin: 28px 0 0; text-transform: uppercase; }
.upload-box { border: 1px dashed #3a3a3a; padding: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.upload-thumb { width: 56px; height: 56px; object-fit: contain; background: #fff1; }
.price-box { background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; margin-top: 8px; }
.price-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); padding: 3px 0; }
.price-row.total { color: var(--text); font-size: 18px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 44px; height: 46px; background: none; border: 0; font-size: 18px; }
.qty input { width: 48px; text-align: center; background: none; border: 0; height: 46px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.buy-row .btn { flex: 1; }
.sticky-buy {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 30; display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 11, 11, .95); border-top: 1px solid var(--line);
}
.sticky-buy .btn { flex: 1; min-height: 46px; }
.sticky-buy .price { font-size: 17px; }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-top: 40px; }
  .preview-wrap { top: 88px; margin: 0; padding: 0; align-self: start; }
  .preview-stage { height: auto; width: 100%; }
  .sticky-buy { display: none; }
}
body.has-sticky-buy .wa-float { bottom: 84px; }
@media (min-width: 900px) { body.has-sticky-buy .wa-float { bottom: 24px; } }
body.has-sticky-buy .site-footer { padding-bottom: 90px; }

/* size guide table */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.table th { color: var(--muted); font-weight: 400; font-size: 13px; }

/* cart */
.cart-layout { display: grid; gap: 28px; padding-bottom: 64px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.cart-item .thumb { background: var(--surface); border: 1px solid var(--line); padding: 6px; aspect-ratio: 4/5; display: grid; place-items: center; }
.cart-item h3 { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
.spec { font-size: 13px; color: var(--muted); margin: 0; }
.spec b { color: #cfcfcf; font-weight: 400; }
.cart-item-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.cart-actions { display: flex; gap: 14px; }
.qty.sm button { width: 34px; height: 36px; }
.qty.sm input { width: 34px; height: 36px; }
.summary { background: var(--surface); border: 1px solid var(--line); padding: 20px; align-self: start; }
.summary h2 { margin: 0 0 12px; font-size: 18px; font-weight: 500; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 360px; gap: 48px; } .summary { position: sticky; top: 88px; } }

/* checkout */
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); padding: 14px; margin-bottom: 8px; background: var(--surface); }
.pay-opt input { accent-color: var(--accent); margin-top: 6px; }
.pay-opt.disabled { opacity: .5; }
.pay-opt .soon { margin-inline-start: auto; font-size: 11px; border: 1px solid var(--line); padding: 1px 8px; color: var(--muted); align-self: center; }
.mini-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; }
.form-alert { background: rgba(179, 18, 46, .12); border: 1px solid rgba(179, 18, 46, .5); padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
/* Bot trap: off-screen so people never see it, but scripts that fill every field do. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.phone-field { display: flex; direction: ltr; }
.phone-field .prefix { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-inline-end: 0; background: var(--surface-2); color: var(--muted); font-size: 14px; }
.phone-field .input { direction: ltr; text-align: left; }

/* success */
.success { text-align: center; padding-block: 56px 72px; max-width: 520px; margin: 0 auto; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; margin: 0 auto 20px; color: var(--accent-hi); }
.order-code { font-size: 32px; letter-spacing: .12em; margin: 4px 0 16px; direction: ltr; }
.success .btn { width: 100%; margin-top: 10px; }

/* tracking */
.track-form { display: grid; gap: 0 14px; max-width: 560px; }
@media (min-width: 700px) { .track-form { grid-template-columns: 1fr 1fr; } .track-form .btn { grid-column: span 2; } }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; max-width: 560px; }
.timeline li { position: relative; padding-inline-start: 34px; padding-bottom: 26px; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 7px; top: 10px; bottom: -6px; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; inset-inline-start: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid #444; background: var(--bg); }
.timeline li.done { color: var(--text); }
.timeline li.done .dot { background: var(--text); border-color: var(--text); }
.timeline li.current .dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(179, 18, 46, .2); }
.timeline li.current { color: var(--text); font-weight: 500; }
.timeline time { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }

/* private order link */
.ol-box { margin-top: 20px; }
.ol-box h2 { margin: 0 0 4px; font-size: 18px; font-weight: 500; }
.ol-box.ok { border-color: #2f6b45; color: #a9dcb9; }
.ol-proof { width: 100%; max-height: 60vh; object-fit: contain; background: var(--bg); border: 1px solid var(--line); margin: 12px 0; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.contact-links { display: grid; gap: 10px; max-width: 420px; margin-top: 24px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 32px; margin-top: 32px; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand .brand-ar { font-size: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: #6b6b6b; border-top: 1px solid var(--line); padding-top: 18px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } .footer-copy { grid-column: span 2; } }

/* whatsapp float, toast, modal */
.wa-float {
  position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 18px; z-index: 50;
  width: 54px; height: 54px; border-radius: 50%; background: #1f7a4a; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5); transition: transform .2s, background .2s;
}
.wa-float:hover { transform: translateY(-2px); background: #24915a; }
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translate(-50%, 20px); z-index: 70; opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 10px 18px; font-size: 14px; border-radius: var(--radius);
  transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0; width: min(560px, calc(100vw - 32px)); max-height: 86vh; }
.modal::backdrop { background: rgba(0, 0, 0, .7); }
.modal-inner { padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-head h2 { margin: 0; font-size: 18px; font-weight: 500; }

/* motion — fades and short slides only */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { transform: translateX(-100%); } to { transform: none; } }
[dir="rtl"] .drawer-panel { animation-name: slide-in-rtl; }
@keyframes slide-in-rtl { from { transform: translateX(100%); } to { transform: none; } }
.page { animation: fade .35s var(--ease); }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4/5; }
