/* ===================================================================== tokens */
:root {
  --accent: #d9b26f;
  --accent2: #b8893c;
  --bg: #0a0b10;
  --text: #f4efe6;
  --surface: #14161d;
  --surface2: #1b1e27;
  --line: rgb(255 255 255 / .09);
  --muted: rgb(244 239 230 / .62);
  --radius: 18px;
  --font: Cairo, "Segoe UI", system-ui, -apple-system, Tahoma, Arial, sans-serif;
  --bar-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; min-height: 100vh; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
body.lock { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.container { width: min(1180px, 100%); margin-inline: auto; padding-inline: clamp(14px, 4vw, 28px); }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; } .ic-lg { width: 28px; height: 28px; } .ic-xl { width: 44px; height: 44px; }

.atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60rem 40rem at 85% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
              radial-gradient(50rem 40rem at 0 40%, rgb(74 168 224 / .08), transparent 60%), var(--bg); }

/* ===================================================================== top bar */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0); background: linear-gradient(#0a0b10d9, #0a0b1000); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--bar-h); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo { width: 46px; height: 46px; border-radius: 14px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: var(--surface); flex: none; transition: border-color .18s, box-shadow .18s; }
.logo.pulse { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name b { font-size: 16px; font-weight: 800; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name small { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav { display: none; gap: 4px; padding: 5px; border-radius: 999px; background: rgb(20 22 29 / .72); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-link { padding: 6px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--bg); background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.pill-btn { min-width: 42px; height: 42px; padding-inline: 12px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 13px; background: rgb(20 22 29 / .82); border: 1px solid var(--line); transition: transform .15s, border-color .2s; position: relative; }
.pill-btn:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.pill-btn:active { transform: scale(.94); }
.badge { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--bg); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.mobile-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-block: 8px 12px; }
.mobile-nav a { padding: 11px 14px; border-radius: 14px; background: rgb(20 22 29 / .94); border: 1px solid var(--line); font-size: 14px; }
@media (min-width: 62rem) { .nav { display: flex; } .menu-btn, .mobile-nav { display: none !important; } }

/* ===================================================================== floating social */
.floating-social { position: fixed; inset-inline-end: 9px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.soc { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: 0 6px 16px -6px var(--c); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); will-change: transform; }
.soc svg { width: 22px; height: 22px; }
.soc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--bg); z-index: -1; }
.soc { background: var(--bg); }
.soc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: ring 2.4s ease-out infinite; animation-delay: var(--d, 0s); pointer-events: none; will-change: transform, opacity; }
.soc:hover, .soc:active, .soc:focus-visible { transform: scale(1.2); }
.soc.neon { box-shadow: 2px 0 0 #25f4ee66, -2px 0 0 #fe2c5566, 0 6px 16px -6px #fe2c55; }
.soc.neon::after { border-color: #fe2c55; }
@keyframes ring { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
/* phones: leave a slim lane for the floating icons so they never cover product cards */
@media (max-width: 47.99rem) { .has-social .section .container, .has-social .foot { padding-inline-end: 54px; } .soc { width: 38px; height: 38px; } .floating-social { inset-inline-end: 7px; gap: 9px; } }
@media (min-width: 48rem) { .floating-social { inset-inline-end: 18px; gap: 12px; } .soc { width: 46px; height: 46px; } .soc svg { width: 25px; height: 25px; } }

/* ===================================================================== hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--bar-h) + 28px) 0 54px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: #07080c; }
.hero-bg .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease-in-out; will-change: opacity; backface-visibility: hidden; }
.hero-bg .bg.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, #0a0b1099 0%, #0a0b1033 40%, var(--bg) 100%); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 18px; justify-items: center; text-align: center; }
.hero-text { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 640px; }
.hero-text h1 { font-size: clamp(1.9rem, 6.2vw, 3.4rem); font-weight: 800; line-height: 1.25; background: linear-gradient(135deg, #fff, var(--accent) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typer-line { min-height: 2.2em; font-size: clamp(1.05rem, 3.6vw, 1.6rem); font-weight: 700; color: var(--accent); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-inline-start: 3px; vertical-align: -.18em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { color: var(--muted); font-size: clamp(.95rem, 2.8vw, 1.1rem); line-height: 1.9; }
.visual-stage { width: min(300px, 62vw); aspect-ratio: 1; display: grid; place-items: center; cursor: pointer; touch-action: pan-y; }
.visual-card { width: 100%; height: 100%; will-change: transform; transform-style: preserve-3d; animation: floaty 6s ease-in-out infinite; }
.hero-visual { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 18px 24px rgb(0 0 0 / .5)); }
@keyframes floaty { 50% { translate: 0 -12px; } }
@media (min-width: 62rem) {
  .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; justify-items: stretch; gap: 40px; text-align: start; }
  .hero-text { align-items: flex-start; order: 1; }
  .visual-stage { order: 2; width: min(460px, 100%); justify-self: center; }
}

/* ===================================================================== buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: 15px; transition: transform .15s, box-shadow .25s, opacity .2s; }
.btn:active { transform: scale(.96); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #15110a; box-shadow: 0 10px 26px -12px var(--accent); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px var(--accent); }
.btn-primary:disabled { background: var(--surface2); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.btn-sm { padding: 9px 16px; font-size: 14px; width: 100%; border-radius: 14px; }
.btn-wa { width: 100%; background: linear-gradient(145deg, #3fd877, #128c4a); color: #fff; border-radius: 16px; padding: 14px; }
.btn-wa .ic { width: 22px; height: 22px; }
.link-btn { display: block; margin: 10px auto 0; font-size: 13px; color: var(--muted); text-decoration: underline; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface2); border: 1px solid var(--line); }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 10px; }

/* ===================================================================== sections */
.section { padding: 64px 0; scroll-margin-top: calc(var(--bar-h) - 6px); }
.section.tight { padding: 8px 0 24px; }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(1.4rem, 4.4vw, 2.1rem); font-weight: 800; white-space: nowrap; }
.sec-line { height: 2px; flex: 1; background: linear-gradient(to var(--end, right), var(--accent), transparent); border-radius: 2px; }
[dir="rtl"] .sec-line { --end: left; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.trust-item .ic { color: var(--accent); }
.trust-item span { font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (min-width: 48rem) { .trust { grid-template-columns: repeat(4, 1fr); } }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: all .2s; }
.chip.on { color: #15110a; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 64rem) { .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); } }
.prod-img { position: relative; display: block; aspect-ratio: 1; background: var(--surface2); overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 8px; inset-inline-start: 8px; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.tag.off { background: #e5484d; color: #fff; }
.tag.out { background: rgb(0 0 0 / .72); color: #fff; inset-inline-start: auto; inset-inline-end: 8px; }
.prod-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-body h3 { font-size: 15px; font-weight: 800; line-height: 1.4; }
.desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.2em; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.now { font-size: 16px; color: var(--accent); font-weight: 800; }
.was { font-size: 12.5px; color: var(--muted); }
.stock { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.ok { color: #3ddc97; } .stock.no { color: #ff7b7b; }
.prod-body .btn { margin-top: auto; }

.about { display: grid; gap: 20px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); line-height: 2; color: rgb(244 239 230 / .85); font-size: 1.02rem; }
.about-img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 14px; }
@media (min-width: 48rem) { .about.with-img { grid-template-columns: 1fr 1.3fr; align-items: center; } }
.custom-text { margin-bottom: 20px; line-height: 2; color: rgb(244 239 230 / .85); }

.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 48rem) { .gal { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gal-item { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--surface2); border: 1px solid var(--line); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
@media (hover: hover) { .gal-item:hover img { transform: scale(1.06); } }
.gal-item.video { background: linear-gradient(145deg, #1f2330, #0d0f15); }
.play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.play .ic { width: 56px; height: 56px; padding: 15px; border-radius: 50%; background: rgb(0 0 0 / .55); border: 1px solid rgb(255 255 255 / .35); }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { color: var(--accent); transition: transform .25s; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item p { padding-bottom: 16px; color: var(--muted); line-height: 1.9; }

.footer { border-top: 1px solid var(--line); margin-top: 20px; padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0)); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 14px; }
.foot b { color: var(--accent); font-size: 17px; }

/* ===================================================================== cart */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgb(0 0 0 / .6); opacity: 0; transition: opacity .25s; }
.overlay.open { opacity: 1; }
.cart { position: fixed; z-index: 71; inset: 0 0 0 auto; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--surface); border-inline-start: 1px solid var(--line); transform: translateX(105%); transition: transform .32s cubic-bezier(.3, .8, .3, 1); will-change: transform; padding-top: env(safe-area-inset-top, 0); }
[dir="rtl"] .cart { inset: 0 auto 0 0; transform: translateX(-105%); }
.cart.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 18px; font-weight: 800; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.cart-empty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); text-align: center; padding: 30px; }
.cart-empty .ic { color: var(--accent); opacity: .7; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); }
.line-img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-info b { font-size: 14px; line-height: 1.4; }
.line-info small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.qty button { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); }
.qty span { min-width: 26px; text-align: center; font-weight: 800; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 14px; color: var(--accent); }
.cart-foot { padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0)); border-top: 1px solid var(--line); background: var(--surface); }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 17px; margin-bottom: 12px; }
.cart-total b { color: var(--accent); font-size: 20px; }
#order-form { display: grid; gap: 8px; }
#order-form.off { opacity: .45; pointer-events: none; }
.field { width: 100%; padding: 11px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); outline: none; transition: border-color .2s; }
.field:focus { border-color: var(--accent); }
textarea.field { resize: vertical; min-height: 44px; }

/* ===================================================================== lightbox + toast */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(4 5 8 / .96); display: flex; align-items: center; justify-content: center; flex-direction: column; opacity: 0; transition: opacity .22s; padding: 56px 12px 24px; }
.lightbox.open { opacity: 1; }
.lb-stage { width: min(1000px, 100%); max-height: 100%; display: grid; place-items: center; }
.lb-stage img, .lb-stage video { max-height: calc(100vh - 140px); width: auto; border-radius: 12px; object-fit: contain; }
.lb-stage iframe { width: min(960px, 100%); aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.lb-cap { margin-top: 10px; color: var(--muted); font-size: 14px; text-align: center; }
.lb-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0)); inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .12); }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .12); }
.lb-nav.prev { inset-inline-start: 12px; } .lb-nav.next { inset-inline-end: 12px; }
[dir="rtl"] .lb-nav .ic { transform: scaleX(-1); }
#toasts { position: fixed; z-index: 400; inset-inline: 0; top: calc(14px + env(safe-area-inset-top, 0)); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { padding: 10px 20px; border-radius: 999px; background: #1d2029; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 10px 30px -10px #000; font-size: 14px; font-weight: 700; opacity: 0; transform: translateY(-14px); transition: all .3s; }
.toast.in { opacity: 1; transform: none; }
.toast.error { border-color: #e5484d; color: #ffb3b3; }

/* ===================================================================== performance */
@media (max-width: 47.99rem), (pointer: coarse) {
  .nav, .pill-btn { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-visual { filter: none; }
  /* sections below the first screen are only laid out / painted when they get close to the screen */
  main > .section { content-visibility: auto; contain-intrinsic-size: auto 800px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
