/* RIFT storefront — dark theme, acid-lime accent from the logo. Uses logical properties so RTL works. */
:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --panel: #161616;
  --line: #262626;
  --line-2: #333;
  --text: #f2f2f0;
  --muted: #9a9a96;
  --accent: #a3e635;
  --accent-ink: #0a0a0a;
  --danger: #ff6b6b;
  --ok: #a3e635;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-display: "Syncopate", "Inter", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
.lang-ar { --font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; --font-display: "IBM Plex Sans Arabic", sans-serif; }

*, *::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: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(20px, 4vw, 40px); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section__lead { max-width: 560px; margin: 10px 0 0; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.lang-ar .eyebrow { letter-spacing: 0; font-size: 14px; }
.h1, .h2, .h3 { margin: 0 0 12px; line-height: 1.15; font-weight: 700; }
.h1 { font-size: clamp(30px, 5vw, 52px); letter-spacing: -.01em; }
.h2 { font-size: clamp(24px, 3.4vw, 36px); }
.h3 { font-size: 18px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #d6d6d2; }
.page-head { padding-block: clamp(32px, 6vw, 64px) 8px; }
.page-head__lead { max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #b9f45a; }
.btn--ghost { border-color: var(--line-2); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 16px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; position: relative; }
.icon-btn:hover { background: var(--bg-2); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; }
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }
[dir="rtl"] .ic-flip, [dir="rtl"] .link-arrow .ic, [dir="rtl"] .coll__cta .ic { transform: scaleX(-1); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--text); color: var(--bg); }
.badge--accent { background: var(--accent); color: var(--accent-ink); }
.badge--muted { background: #2a2a2a; color: var(--muted); }

/* Announcement + header */
.announce { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(10, 10, 10, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand__word { font-family: "Syncopate", sans-serif; font-weight: 400; letter-spacing: .5em; font-size: 15px; margin-inline-end: -.5em; }
.nav { display: none; gap: 28px; margin-inline: auto; font-size: 14px; }
.nav a { color: var(--muted); padding-block: 6px; border-bottom: 1px solid transparent; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--text); border-color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.lang-switch { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang-switch:hover { border-color: var(--text); }
.cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
@media (min-width: 960px) { .nav { display: flex; } .header__burger { display: none; } .header__actions { margin-inline-start: 0; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); animation: fade .2s; }
.drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(340px, 86vw); background: var(--bg-2); padding: 20px; display: flex; flex-direction: column; gap: 24px; animation: slide-in .25s var(--ease); }
[dir="rtl"] .drawer__panel { animation-name: slide-in-rtl; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { font-size: 22px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer__lang { display: flex; align-items: center; gap: 8px; color: var(--muted); margin-top: auto; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(-100%); } }
@keyframes slide-in-rtl { from { transform: translateX(100%); } }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-block: 16px; font-size: 15px; }
.alert--ok { background: rgba(163, 230, 53, .1); border: 1px solid rgba(163, 230, 53, .4); color: var(--ok); }
.alert--error { background: rgba(255, 107, 107, .08); border: 1px solid rgba(255, 107, 107, .4); color: var(--danger); }

/* Hero / sliders / banners */
.hero { position: relative; }
.banner { display: block; overflow: hidden; border-radius: 0; background: var(--bg-2); }
.banner img { width: 100%; aspect-ratio: 1400 / 788; object-fit: cover; }
.section--tight .banner { border-radius: var(--radius); }
.slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.section--tight .slider { gap: 16px; border-radius: var(--radius); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 14px; background: var(--bg); direction: ltr; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: "Syncopate", sans-serif; font-size: 13px; letter-spacing: .3em; white-space: nowrap; }
.marquee__track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); aspect-ratio: 3 / 4; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.card__hover { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card:hover .card__hover { opacity: 1; }
  .card:hover .card__media img { transform: scale(1.03); }
}
.card__badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; }
.card__body { padding-top: 12px; display: grid; gap: 4px; }
.card__title { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.price { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-weight: 500; }
.price s { color: var(--muted); font-size: .9em; }
.price--lg { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.swatches { list-style: none; display: flex; gap: 6px; margin: 4px 0 0; padding: 0; }
.swatches li { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* Benefits */
.benefits { border-block: 1px solid var(--line); background: var(--bg-2); }
.benefits__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.benefit { display: flex; gap: 14px; align-items: center; padding: 22px 8px; }
.benefit .ic { color: var(--accent); flex: none; }
.benefit strong { display: block; font-size: 14px; }
.benefit span { color: var(--muted); font-size: 13px; }
@media (min-width: 900px) { .benefits__grid { grid-template-columns: repeat(4, 1fr); } .benefit { padding: 28px 16px; } }

/* Collections */
.coll-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .coll-grid { grid-template-columns: repeat(3, 1fr); } }
.coll { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--bg-2); }
.coll img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.coll:hover img { transform: scale(1.04); }
.coll::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent 55%); }
.coll__body { position: absolute; inset-inline: 20px; bottom: 20px; z-index: 1; display: grid; gap: 4px; }
.coll__title { font-size: 26px; font-weight: 700; }
.coll__tag { color: #cfcfcb; font-size: 14px; }
.coll__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* Toolbar / chips */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; white-space: nowrap; }
.chip:hover { border-color: var(--text); }
.chip[aria-current] { background: var(--text); color: var(--bg); border-color: var(--text); }
select, input:not([type=radio]):not([type=checkbox]):not([type=file]), textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); outline: none; transition: border-color .2s;
}
textarea { resize: vertical; }
select:focus, input:focus, textarea:focus { border-color: var(--accent); }
.sort select { width: auto; min-height: 40px; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.empty { text-align: center; padding: 64px 0; color: var(--muted); display: grid; justify-items: center; gap: 16px; }

/* Product page */
.crumbs { padding-top: 20px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.pdp { display: grid; gap: 28px; padding-block: 16px 40px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; } .pdp__info { position: sticky; top: 92px; } }
.gallery { display: grid; gap: 10px; }
.gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); background: var(--bg-2); }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 1045 / 1400; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery__thumb { flex: 0 0 64px; padding: 0; border: 1px solid transparent; border-radius: 8px; overflow: hidden; background: none; opacity: .55; transition: opacity .2s, border-color .2s; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; border-color: var(--text); }
.pdp__title { font-size: clamp(26px, 3.5vw, 40px); margin: 0 0 8px; letter-spacing: .04em; }
.opt { border: 0; padding: 0; margin: 0 0 20px; }
.opt legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; padding: 0; width: 100%; }
.opt .opt__legend { display: flex; justify-content: space-between; align-items: center; }
.opt legend strong { color: var(--text); font-weight: 500; }
.opt__colors, .opt__sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch input, .size input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span:first-of-type { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 0 3px var(--bg), 0 0 0 4px transparent; cursor: pointer; transition: box-shadow .2s; }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 0 3px var(--bg), 0 0 0 5px var(--text); }
.swatch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 6px; }
.size span { display: grid; place-items: center; min-width: 56px; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; transition: all .15s; }
.size span:hover { border-color: var(--text); }
.size input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size input:disabled + span { color: #555; border-style: dashed; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - 1px), #444 50%, transparent calc(50% + 1px)); }
.stock-note { min-height: 22px; margin: 10px 0 0; font-size: 13px; color: var(--accent); }
.stock-note.is-low { color: #ffb84d; }
.buy__row { display: flex; gap: 10px; margin-bottom: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 48px; flex: none; }
.qty button { width: 40px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty input { width: 40px !important; min-height: 0 !important; height: 100%; padding: 0 !important; border: 0 !important; background: none !important; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy .btn--ghost { margin-top: 0; }
.accordion { margin-top: 28px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion p { margin: 0 0 18px; color: #cfcfcb; }

.dialog { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); color: var(--text); padding: 24px; max-width: min(720px, 94vw); width: 100%; }
.dialog::backdrop { background: rgba(0,0,0,.7); }
.dialog img { border-radius: var(--radius-sm); background: #fff; width: 100%; }
.dialog__close { position: absolute; top: 10px; inset-inline-end: 10px; }

/* Cart & checkout */
.cart { display: grid; gap: 32px; }
@media (min-width: 900px) { .cart { grid-template-columns: 1fr 360px; align-items: start; } .checkout { grid-template-columns: 1fr 400px; } }
.cart__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img img { border-radius: var(--radius-sm); aspect-ratio: 3 / 4; object-fit: cover; }
.line__info { display: grid; gap: 2px; font-size: 14px; }
.line__name { font-weight: 600; font-size: 15px; letter-spacing: .03em; }
.line__qty { grid-column: 2; display: flex; align-items: center; gap: 16px; }
.line__qty .qty { height: 40px; }
.line__total { grid-column: 3; grid-row: 1; }
.summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-self: start; }
@media (min-width: 900px) { .summary { position: sticky; top: 92px; } }
.totals { margin: 4px 0; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; }
.totals__grand { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 18px; font-weight: 700; }
.totals__grand dt { color: var(--text); }
.freebar p { margin: 0 0 8px; font-size: 14px; }
.freebar__track { display: block; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.freebar__track span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }

.checkout { display: grid; gap: 28px; }
.checkout__form { display: grid; gap: 20px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; min-width: 0; }
fieldset.panel { display: grid; gap: 14px; }
fieldset.panel legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; }
.field { display: grid; gap: 6px; font-size: 14px; }
.field > span { color: var(--muted); }
.field__err { color: var(--danger); font-size: 13px; }
.field__ok { color: var(--ok); font-size: 13px; }
.row2 { display: grid; gap: 14px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.paylist { display: grid; gap: 10px; }
.pay { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.pay:has(input:checked) { border-color: var(--accent); background: rgba(163, 230, 53, .05); }
.pay input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.pay__body { display: grid; gap: 2px; flex: 1; }
.pay__logo { font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 6px; background: #4b1d73; color: #fff; letter-spacing: .02em; }
.pay--disabled { opacity: .5; cursor: default; }
.mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-lines__img { position: relative; }
.mini-lines__img img { border-radius: 8px; aspect-ratio: 3 / 4; object-fit: cover; }
.mini-lines__img b { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--muted); color: var(--bg); font-size: 11px; display: grid; place-items: center; }
.mini-lines__name { display: grid; font-weight: 600; }
.mini-lines__name small { font-weight: 400; }
.coupon { display: flex; gap: 8px; margin-top: 8px; }
.coupon .btn { min-height: 48px; }

/* Order page */
.order { display: grid; gap: 24px; max-width: 980px; }
.order__head { text-align: center; display: grid; justify-items: center; gap: 4px; padding-top: 24px; }
.order__check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 8px; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.order__meta { display: flex; gap: 12px 32px; flex-wrap: wrap; justify-content: center; margin-top: 16px; padding: 16px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.order__meta div { display: grid; gap: 2px; justify-items: center; }
.order__grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .order__grid { grid-template-columns: 1.4fr 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 13px; color: var(--muted); }
.steps li { position: relative; display: grid; justify-items: center; gap: 8px; }
.steps li span { width: 14px; height: 14px; border-radius: 50%; background: var(--line-2); position: relative; z-index: 1; }
.steps li::before { content: ""; position: absolute; top: 6px; inset-inline-start: -50%; width: 100%; height: 2px; background: var(--line-2); }
.steps li:first-child::before { display: none; }
.steps li.is-done { color: var(--text); }
.steps li.is-done span, .steps li.is-done::before { background: var(--accent); }
.steps li.is-current span { box-shadow: 0 0 0 5px rgba(163, 230, 53, .25); }
.instapay { border-color: #4b1d73; display: grid; gap: 12px; }
.copybox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: var(--bg); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); }
.copybox code { font-size: 17px; font-weight: 600; }
.instapay__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.instapay__qr { margin: 0; text-align: center; }
.instapay__qr img { background: #fff; padding: 8px; border-radius: 10px; }
.upload { display: flex; gap: 10px; flex-wrap: wrap; }
.upload__drop { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); cursor: pointer; color: var(--muted); position: relative; overflow: hidden; }
.upload__drop:hover { border-color: var(--accent); color: var(--text); }
.upload__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; background: #2a2a2a; }
.tag--paid { background: rgba(163, 230, 53, .15); color: var(--accent); }
.tag--review { background: rgba(255, 184, 77, .15); color: #ffb84d; }

/* About / contact */
.about-hero { background: #000; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.about-hero img { width: min(520px, 90vw); }
.values { display: grid; gap: 16px; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values__n { font-family: "Syncopate", sans-serif; color: var(--accent); font-size: 13px; }
.policy { padding-inline-start: 20px; display: grid; gap: 10px; color: #cfcfcb; }
.contact-list { display: grid; gap: 10px; margin-top: 24px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.contact-item:hover { border-color: var(--accent); }
.contact-item .ic { color: var(--accent); }
.contact-item span { display: grid; font-weight: 600; }
.contact-item small { color: var(--muted); font-weight: 400; }
.big404 { font-family: "Syncopate", sans-serif; font-size: clamp(64px, 14vw, 140px); margin: 0; color: var(--accent); line-height: 1; }

/* Footer */
.footer { border-top: 1px solid var(--line); margin-top: 48px; background: #070707; }
.footer__grid { display: grid; gap: 32px; padding-block: 48px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; max-width: 360px; }
.footer__brand img { height: 36px; width: auto; margin-bottom: 14px; }
.footer__tag { font-family: "Syncopate", sans-serif; text-transform: uppercase; font-size: 12px; letter-spacing: .3em; margin: 0 0 8px; }
.lang-ar .footer__tag { font-family: var(--font); letter-spacing: 0; font-size: 15px; font-weight: 600; }
.footer h4 { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .12em; }
.lang-ar .footer h4 { letter-spacing: 0; }
.footer__grid > div > a { display: block; padding-block: 5px; font-size: 14px; }
.footer__grid > div > a:hover { color: var(--accent); }
.socials { display: flex; gap: 6px; margin-bottom: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pay-marks { display: inline-flex; gap: 6px; align-items: center; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }

/* WhatsApp float + toast */
.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 70; background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: toast .3s var(--ease); }
.toast a { text-decoration: underline; }
@keyframes toast { from { transform: translate(-50%, 20px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
