/* EKKO KIDS · customer site. Mobile first; logical properties so Arabic (RTL) mirrors cleanly. */
:root {
  --ink: #0B0B0C; --ink2: #2A2B2E; --mute: #6B6C70; --line: #E6E4DF; --soft: #F4F3F0; --paper: #fff;
  --bg: #fff; --surface: #fff; --fg: #0B0B0C; --solid: #0B0B0C; --on-solid: #fff; --brand: #0B0B0C; --note: #FFF4C2; --note-fg: #5C4A00;
  --g: #2BD957; --g-d: #138A3B; --g-soft: #E3F9EA; --wa: #1FA855;
  --r: 18px; --r-s: 12px; --wrap: 1240px;
  --f: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fh: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
html[lang="ar"] { --f: "Tajawal", "Noto Sans Arabic", system-ui, Tahoma, Arial, sans-serif; --fh: "Tajawal", "Noto Sans Arabic", system-ui, Tahoma, Arial, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--f); color: var(--fg); background: var(--bg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
h1, h2, h3 { font-family: var(--fh); line-height: 1.1; margin: 0; letter-spacing: -.02em; font-weight: 900; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--g); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
@media (min-width: 760px) { .wrap { padding-inline: 28px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; font-size: 15.5px; text-decoration: none; white-space: nowrap; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-g { background: var(--g); color: var(--fg); }
.btn-g:hover { background: #4BE672; }
.btn-k { background: var(--solid); color: var(--on-solid); }
.btn-k:hover { background: var(--ink2); }
.btn-ol { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ol:hover { border-color: #fff; }
.btn-ol2 { border-color: var(--line); background: var(--surface); }
.btn-ol2:hover { border-color: var(--fg); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1B954C; }
.btn-wide { width: 100%; }
.btn-txt { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 8px 4px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.btn-txt svg { width: 18px; height: 18px; }
.ib { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: none; border: 0; padding: 0; flex: none; }
.ib svg { width: 24px; height: 24px; }
.ib:hover { background: var(--soft); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .pill { letter-spacing: 0; }
.pill-g { background: var(--g); color: var(--fg); }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; font-size: 15px; white-space: nowrap; }
.lnk svg { width: 18px; height: 18px; }
.lnk:hover { text-decoration: underline; }

/* top strips + header */
.pv { background: var(--note); color: var(--note-fg); text-align: center; font-size: 12.5px; font-weight: 700; padding: 5px 12px; }
.ann { background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; text-align: center; padding: 7px 12px; }
.ann span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hd-in { max-width: var(--wrap); margin: 0 auto; padding: 0 8px; height: 64px; display: flex; align-items: center; gap: 6px; }
.hd-logo { display: flex; align-items: center; height: 100%; margin-inline-end: auto; }
.hd-logo .ek-logo { height: 24px; width: auto; }
.hd-nav { display: none; }
.hd-r { display: flex; align-items: center; gap: 4px; }
.lang { position: relative; }
.lang-b { display: flex; align-items: center; gap: 5px; height: 44px; padding: 0 10px; border: 0; background: none; border-radius: 999px; font-weight: 900; font-size: 14px; }
.lang-b svg { width: 20px; height: 20px; }
.lang-b:hover { background: var(--soft); }
.lang-m { position: absolute; inset-inline-end: 0; top: 50px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.14); padding: 6px; min-width: 170px; z-index: 50; }
.lang-m button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 12px; background: none; border: 0; border-radius: 10px; font-weight: 700; text-align: start; }
.lang-m button:hover { background: var(--soft); }
.lang-m svg { width: 18px; height: 18px; color: var(--g-d); }
.cart-b { position: relative; display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--solid); color: var(--on-solid); border: 0; font-weight: 800; font-size: 14.5px; }
.cart-b svg { width: 21px; height: 21px; }
.cart-l { display: none; }
.cart-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--g); color: var(--fg); font-size: 12.5px; display: grid; place-items: center; }
.mm { position: fixed; inset: 0; top: 0; z-index: 60; background: var(--bg); overflow: auto; padding-top: calc(env(safe-area-inset-top) + 64px); animation: fade .18s ease; }
.mm-in { padding: 8px 20px 40px; display: flex; flex-direction: column; }
.mm-in > a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--fh); font-weight: 900; font-size: 22px; }
.mm-in > a svg { width: 22px; height: 22px; }
.mm-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; }
.mm-langs button { min-height: 48px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); font-weight: 800; }
.mm-langs button.on { border-color: var(--fg); background: var(--solid); color: var(--on-solid); }
.mm + * { }
body.lock .hd { z-index: 70; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1000px) {
  .hd-in { height: 74px; padding: 0 28px; gap: 10px; }
  .hd-menu { display: none; }
  .hd-logo { margin-inline-end: 18px; }
  .hd-logo .ek-logo { height: 28px; }
  .hd-nav { display: flex; gap: 2px; margin-inline-end: auto; }
  .hd-nav a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px; white-space: nowrap; }
  .hd-nav a:hover, .hd-nav a[aria-current] { background: var(--soft); }
  .cart-l { display: inline; }
  html { scroll-padding-top: 96px; }
}

/* hero */
.hero { background: var(--brand); color: #fff; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(43,217,87,.22), transparent 65%); }
.hero-in { position: relative; display: grid; gap: 30px; padding-block: 34px 40px; }
.hero-t h1 { font-size: clamp(36px, 9.6vw, 70px); margin: 16px 0 14px; }
.hero-t p { color: #C9CACC; font-size: 16.5px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-cta .btn { flex: 1 1 210px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 13.5px; font-weight: 700; color: #E9E9EA; }
.hero-v { position: relative; height: 330px; }
.hv { position: absolute; width: 52%; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: 0 24px 48px rgba(0,0,0,.4); text-decoration: none; }
.hv .pic { aspect-ratio: 5/6; }
.hv span { position: absolute; inset-inline-start: 10px; bottom: 10px; background: #0B0B0C; color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.hv0 { inset-inline-start: 0; top: 18px; transform: rotate(-6deg); z-index: 2; }
.hv1 { inset-inline-end: 0; top: 0; transform: rotate(5deg); z-index: 1; }
.hv2 { inset-inline-start: 26%; top: 120px; width: 46%; transform: rotate(-1deg); z-index: 3; }
.hero-tag { position: absolute; inset-inline-end: 0; bottom: -6px; z-index: 4; background: var(--g); color: var(--fg); font-family: var(--fh); font-weight: 800; font-size: 15px; line-height: 1.15; padding: 10px 14px; border-radius: 14px; transform: rotate(3deg); }
.hero-tag b { font-weight: 900; }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.05fr .95fr; align-items: center; padding-block: 64px 72px; gap: 40px; }
  .hero-v { height: 470px; }
  .hv2 { top: 190px; }
  .hero-tag { font-size: 18px; padding: 14px 18px; }
}

/* sections */
.sec { padding-block: 40px 8px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-h h2 { font-size: clamp(24px, 5.6vw, 36px); }
.sec-h p { color: var(--mute); margin-top: 8px; max-width: 560px; }
@media (min-width: 760px) { .sec { padding-block: 64px 8px; } }

.ages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.age-t { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: 14px; border-radius: var(--r); background: color-mix(in srgb, var(--tc) 32%, var(--tile, #fff)); text-decoration: none; overflow: hidden; }
.age-art { position: absolute; inset: 0 0 auto 0; height: 78%; display: flex; justify-content: center; opacity: .95; transition: transform .25s; }
.age-art svg { width: 100%; height: 100%; }
.age-t:hover .age-art { transform: translateY(-4px) scale(1.03); }
.age-l { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: 12px; padding: 8px 12px; align-self: flex-start; }
.age-l b { font-family: var(--fh); font-size: 18px; font-weight: 900; line-height: 1.1; }
.age-l em { font-style: normal; font-size: 13px; color: var(--mute); font-weight: 700; }
.age-t > svg { position: absolute; inset-inline-end: 12px; bottom: 14px; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--solid); color: var(--on-solid); }
@media (min-width: 760px) { .ages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .age-t { min-height: 280px; padding: 18px; } .age-l b { font-size: 21px; } }

.types { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
.types::-webkit-scrollbar { display: none; }
.type { flex: 0 0 132px; min-width: 0; scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 3px; }
.type-art { display: block; position: relative; width: 100%; padding-top: 100%; border-radius: var(--r); transition: transform .2s; }
.type-art svg { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.type:hover .type-art { transform: translateY(-3px); }
.type b { font-weight: 900; font-size: 15px; margin-top: 6px; line-height: 1.2; }
.type small { color: var(--mute); font-size: 13px; font-weight: 700; }
@media (min-width: 760px) { .types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } .type { flex: auto; } }

.band { background: var(--g-soft); margin-top: 48px; padding: 40px 0 34px; }
.band .sec-h h2 { color: var(--fg); }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 8px; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row .card { scroll-snap-align: start; }
@media (min-width: 700px) { .row { grid-auto-columns: 31%; gap: 16px; margin-inline: 0; padding-inline: 0; } }
@media (min-width: 1080px) { .row { grid-auto-columns: calc(25% - 12px); } }
.card { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.card-pic { position: relative; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.pic { aspect-ratio: 5/6; display: flex; align-items: center; justify-content: center; background: var(--soft); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic .ek-art { width: 100%; height: 100%; }
.card:hover .pic > * { transform: scale(1.03); }
.pic > * { transition: transform .35s; }
.bdgs { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.bdg { background: var(--surface); color: var(--fg); font-size: 11.5px; font-weight: 900; padding: 4px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.bdg-new { background: var(--g); }
.card-b { display: flex; flex-direction: column; padding: 10px 2px 0; gap: 1px; min-width: 0; }
.card-code { font-size: 12px; color: var(--mute); font-weight: 800; letter-spacing: .04em; }
.card-t { font-family: var(--fh); font-weight: 900; font-size: 16.5px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-s { font-size: 13.5px; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-m { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--mute); }
.dots { display: flex; align-items: center; gap: 3px; flex-wrap: nowrap; }
.dots i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.dots i.so { opacity: .35; }
.dots em { font-style: normal; font-size: 11.5px; margin-inline-start: 2px; }

/* how to order */
.how { display: grid; gap: 22px; background: var(--soft); border-radius: 26px; padding: 26px 18px; }
.how-t h2 { font-size: clamp(26px, 6vw, 38px); }
.series { margin-top: 18px; background: var(--surface); border-radius: 18px; padding: 16px; }
.series b { display: block; margin-top: 10px; font-weight: 900; font-size: 17px; }
.series-row { display: flex; flex-wrap: wrap; gap: 5px; }
.sz { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 50px; height: 52px; padding: 0 6px; border-radius: 12px; border: 2px solid var(--fg); font-weight: 900; font-size: 15px; line-height: 1; background: var(--surface); }
.sz small { font-size: 10.5px; font-weight: 700; color: var(--mute); margin-top: 3px; }
.series-row.sm .sz { min-width: 48px; height: 48px; font-size: 14px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; background: var(--surface); border-radius: 18px; padding: 16px 16px 16px 62px; display: flex; flex-direction: column; gap: 3px; }
[dir="rtl"] .steps li { padding: 16px 62px 16px 16px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--g); font-weight: 900; display: grid; place-items: center; }
.steps b { font-weight: 900; font-size: 17px; }
.steps span { color: var(--ink2); font-size: 15px; }
@media (min-width: 900px) { .how { grid-template-columns: .9fr 1.1fr; padding: 40px; gap: 40px; align-items: center; } }

/* about */
.about { background: var(--brand); color: #fff; margin-top: 56px; }
.about-in { display: grid; gap: 26px; padding-block: 46px; }
.about-l .ek-logo { height: 34px; width: auto; }
.about-tag { font-family: var(--fh); font-size: clamp(30px, 7vw, 54px); font-weight: 800; line-height: 1.05; margin-top: 22px; letter-spacing: -.02em; }
.about-tag b { color: var(--g); font-weight: 900; }
.about-r h2 { font-size: 26px; margin-bottom: 12px; }
.about-r p { color: #CFD0D2; font-size: 16.5px; line-height: 1.65; }
@media (min-width: 900px) { .about-in { grid-template-columns: .8fr 1.2fr; padding-block: 72px; gap: 60px; } }

/* visit */
.visit { display: grid; gap: 22px; }
.visit h2 { font-size: clamp(26px, 6vw, 38px); }
.visit > div > p { color: var(--mute); margin-top: 8px; }
.addr { display: flex; gap: 12px; margin: 20px 0; font-size: 16.5px; line-height: 1.5; }
.addr svg { width: 26px; height: 26px; flex: none; color: var(--g-d); }
.addr em { font-style: normal; color: var(--mute); }
.visit-b { display: flex; flex-wrap: wrap; gap: 8px; }
.visit-b .btn { flex: 1 1 140px; }
.visit-card { position: relative; border-radius: 22px; overflow: hidden; display: block; min-height: 220px; text-decoration: none; }
.visit-card > svg { width: 100%; height: 100%; }
.visit-card > span { position: absolute; inset-inline-start: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px; background: var(--surface); padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.visit-card > span svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }

/* footer */
.ft { background: var(--brand); color: #BDBEC1; margin-top: 64px; padding-top: 40px; padding-bottom: calc(env(safe-area-inset-bottom) + 20px); }
.ft-in { display: grid; gap: 28px; }
.ft-brand .ek-logo { height: 26px; width: auto; }
.ft-brand p { margin-top: 14px; font-weight: 800; color: #fff; }
.ft-col { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.ft-col b { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
html[lang="ar"] .ft-col b { letter-spacing: 0; }
.ft-col a { text-decoration: none; }
.ft-col a:hover { color: #fff; text-decoration: underline; }
.ft-b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: 13.5px; }
.ft-b a { color: #fff; }
@media (min-width: 760px) { .ft-in { grid-template-columns: 1.4fr 1fr 1fr; } }

/* catalog */
.cat { padding-top: 22px; }
.cat-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cat-h h1 { font-size: clamp(30px, 7vw, 46px); }
.cnt { color: var(--mute); font-weight: 800; font-size: 14px; white-space: nowrap; }
.srch { position: relative; margin: 16px 0 10px; }
.srch svg { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--mute); }
.srch input { width: 100%; height: 50px; border-radius: 999px; border: 2px solid var(--line); background: var(--soft); padding-inline: 44px 16px; font-size: 16px; }
.srch input:focus { outline: none; border-color: var(--fg); background: var(--surface); }
.flt { position: sticky; top: 64px; z-index: 20; background: var(--bg); margin-inline: -16px; padding: 8px 16px 10px; display: flex; flex-direction: column; gap: 7px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.flt-r { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.flt-r::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; font-weight: 800; font-size: 14px; white-space: nowrap; background: var(--surface); }
.chip:hover { border-color: var(--fg); }
.chip.on { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.chip-g.on { background: var(--g); border-color: var(--g); color: var(--fg); }
.empty { text-align: center; padding: 60px 16px; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--mute); font-weight: 700; }
@media (min-width: 760px) { .flt { margin-inline: -28px; padding-inline: 28px; } }
@media (min-width: 1000px) { .flt { top: 74px; } }

/* product */
.pd { padding-top: 14px; }
.pd-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; min-height: 44px; }
.pd-back svg { width: 20px; height: 20px; }
.pd-in { display: grid; gap: 22px; margin-top: 4px; }
.pd-g { min-width: 0; }
.gal { position: relative; border-radius: 22px; overflow: hidden; background: var(--soft); aspect-ratio: 5/6; touch-action: pan-y; }
.gal-s { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; display: flex; }
.gal-s.on { opacity: 1; }
.gal-s img, .gal-s svg { width: 100%; height: 100%; object-fit: cover; }
.gal-d { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
.gal-d button { width: 26px; height: 26px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.gal-d button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C9C8C4; }
.gal-d button.on::after { background: var(--ink); width: 20px; border-radius: 6px; }
.sw-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sw { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); position: relative; padding: 0; }
.sw.on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 3px var(--bg), 0 0 0 5px var(--fg); }
.sw.so::after { content: ""; position: absolute; inset: 18px -2px; background: var(--surface); transform: rotate(-45deg); border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.pd-code { font-size: 13.5px; color: var(--mute); font-weight: 700; }
.pd-code b { color: var(--fg); letter-spacing: .03em; }
.pd-i h1 { font-size: clamp(30px, 7vw, 44px); margin-top: 6px; }
.pd-sub { font-size: 17px; color: var(--ink2); margin-top: 4px; font-weight: 700; }
.pd-dl { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.pd-dl div { background: var(--soft); border-radius: 12px; padding: 8px 12px; }
.pd-dl dt { font-size: 11.5px; color: var(--mute); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .pd-dl dt { letter-spacing: 0; }
.pd-dl dd { margin: 0; font-weight: 800; font-size: 14.5px; }
.lbl { display: block; font-size: 12.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: var(--mute); margin-bottom: 8px; }
html[lang="ar"] .lbl { letter-spacing: 0; }
.pd-series { margin-top: 20px; padding: 14px; border-radius: 16px; border: 2px dashed var(--line); }
.pd-series b { display: block; margin-top: 10px; font-weight: 900; }
.pd-cols { margin-top: 20px; }
.crow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.crow-sw { width: 36px; height: 36px; border-radius: 50%; background: var(--sw); border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); flex: none; padding: 0; }
.crow-n { flex: 1; min-width: 0; font-weight: 800; display: flex; flex-direction: column; line-height: 1.25; }
.crow-n em { font-style: normal; font-size: 12.5px; color: var(--mute); font-weight: 700; }
.crow.has .crow-n em { color: var(--g-d); }
.crow.so { opacity: .55; }
.crow.so .crow-n em { color: #B3261E; }
.stp { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; background: var(--surface); }
.stp button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.stp button svg { width: 18px; height: 18px; }
.stp button:disabled { opacity: .3; cursor: default; }
.stp button:not(:disabled):hover { background: var(--soft); }
.stp input { width: 40px; height: 44px; border: 0; text-align: center; font-weight: 900; font-size: 16px; -moz-appearance: textfield; background: none; }
.stp input::-webkit-inner-spin-button, .stp input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pd-buy { position: sticky; bottom: 0; z-index: 10; background: var(--bg); margin: 14px -16px 0; padding: 12px 16px calc(env(safe-area-inset-bottom) + 12px); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.pd-tot { font-size: 14.5px; color: var(--mute); font-weight: 700; text-align: center; }
.pd-tot b { color: var(--fg); }
.pd-incart { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 4px; background: var(--g-soft); border: 0; border-radius: 12px; font-weight: 800; color: var(--g-d); }
.pd-incart svg { width: 18px; height: 18px; }
.pd-note { margin-top: 14px; font-size: 14px; color: var(--mute); }
.pd-ask { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 800; color: var(--wa); text-decoration: none; min-height: 44px; }
.pd-ask svg { width: 22px; height: 22px; }
.pd-ask:hover { text-decoration: underline; }
.pd-desc { margin-top: 18px; }
.pd-desc h2 { font-size: 18px; margin-bottom: 6px; }
.pd-desc p { color: var(--ink2); white-space: pre-line; }
@media (min-width: 900px) {
  .pd-in { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
  .pd-g { position: sticky; top: 92px; }
  .pd-buy { position: static; margin: 18px 0 0; padding: 0; border: 0; }
  .pd-tot { text-align: start; }
}

/* drawer (cart) */
.ov { position: fixed; inset: 0; background: rgba(11,11,12,.45); z-index: 80; animation: fade .2s; }
.drawer { position: fixed; z-index: 90; inset: 0; background: var(--bg); display: flex; flex-direction: column; animation: up .26s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) {
  .drawer { inset: 0 0 0 auto; width: 460px; box-shadow: -20px 0 60px rgba(0,0,0,.2); animation: side .26s cubic-bezier(.2,.8,.2,1); }
  [dir="rtl"] .drawer { inset: 0 auto 0 0; box-shadow: 20px 0 60px rgba(0,0,0,.2); }
  @keyframes side { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.dr-h { display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 10px) 10px 10px 18px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .dr-h { padding: calc(env(safe-area-inset-top) + 10px) 18px 10px 10px; }
.dr-h h2 { font-size: 22px; }
.dr-h small { font-size: 14px; color: var(--mute); font-weight: 800; margin-inline-start: 6px; }
.dr-b { flex: 1; overflow: auto; padding: 14px 16px calc(env(safe-area-inset-bottom) + 24px); overscroll-behavior: contain; }
.cart-empty, .sent { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 10px; color: var(--ink2); }
.cart-empty > svg { width: 54px; height: 54px; color: var(--mute); }
.sent > svg { width: 60px; height: 60px; color: var(--wa); }
.sent h3 { font-size: 24px; }
.sent-b { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 300px; }
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cg { display: flex; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cg-pic { width: 76px; flex: none; border-radius: 12px; overflow: hidden; }
.cg-b { flex: 1; min-width: 0; }
.cg-t { display: flex; flex-direction: column; text-decoration: none; line-height: 1.25; margin-bottom: 4px; }
.cg-t span { font-size: 12px; color: var(--mute); font-weight: 800; }
.cg-t b { font-weight: 900; font-size: 16px; }
.cg-t small { font-size: 12.5px; color: var(--mute); }
.cl { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.cl-sw { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cl-n { flex: 1; min-width: 0; font-weight: 800; font-size: 14.5px; display: flex; flex-direction: column; line-height: 1.2; }
.cl-n em { font-style: normal; font-size: 12px; color: var(--mute); font-weight: 700; }
.cl .stp button { width: 38px; height: 38px; }
.cl .stp input { width: 34px; height: 38px; font-size: 15px; }
.cl-x { width: 40px; height: 40px; color: var(--mute); }
.cl-x svg { width: 20px; height: 20px; }
.cart-tot { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 800; font-size: 17px; }
.cart-tot b { font-weight: 900; }
.cart-f { background: var(--soft); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cart-f h3 { font-size: 18px; }
.fl { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 14px; }
.fl small { color: var(--mute); font-weight: 700; }
.fl input, .fl textarea { border: 2px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 16px; background: var(--surface); width: 100%; }
.fl input:focus, .fl textarea:focus { outline: none; border-color: var(--fg); }
.ferr { color: #B3261E; font-weight: 800; font-size: 14px; min-height: 0; }
.ferr:empty { display: none; }
.hint { font-size: 13.5px; color: var(--mute); text-align: center; }
.hint.sm { font-size: 12.5px; }
.cart-f .btn-txt { align-self: center; }

/* legal */
.legal { max-width: 780px; padding-top: 30px; }
.legal h1 { font-size: clamp(30px, 6vw, 42px); margin-bottom: 16px; }
.legal h2 { font-size: 20px; margin: 24px 0 6px; }
.legal p { color: var(--ink2); line-height: 1.7; }
.pv-note { background: var(--soft); padding: 12px 14px; border-radius: 12px; margin-bottom: 18px; font-weight: 700; }
.legal-tr { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 16px; }
.legal-tr summary { font-weight: 800; cursor: pointer; min-height: 44px; display: flex; align-items: center; }

/* cookie note + toast */
.ck { position: fixed; z-index: 75; inset-inline: 10px; bottom: calc(env(safe-area-inset-bottom) + 10px); background: #0B0B0C; color: #fff; border-radius: 16px; padding: 12px 12px 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.3); max-width: 560px; margin-inline: auto; }
.ck p { font-size: 13.5px; flex: 1; }
.ck .btn { background: var(--g); color: var(--fg); min-height: 42px; padding: 0 18px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 90px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #0B0B0C; color: #fff; padding: 12px 18px; border-radius: 999px; display: flex; align-items: center; gap: 8px; font-weight: 800; transition: .25s; max-width: calc(100% - 32px); }
.toast svg { width: 20px; height: 20px; color: var(--g); flex: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* narrow phones: keep the header on one line */
.hd-logo { min-width: 0; flex: 0 1 auto; }
.hd-logo .ek-logo { max-width: 100%; }
@media (max-width: 420px) {
  .hd-in { gap: 2px; padding: 0 6px; }
  .hd-logo .ek-logo { height: 20px; }
  .lang-b { padding: 0 6px; gap: 4px; }
  .cart-b { padding: 0 11px; gap: 5px; }
}
/* iPad/iOS: scroll rows use fixed card widths (a % width made the page grow sideways forever
   inside frames that resize to their content), and nothing may push the page wider than the screen */
html, body { overflow-x: clip; }
#app { overflow-x: clip; max-width: 100%; }
.row { grid-auto-columns: 168px; }
@media (min-width: 700px) { .row { grid-auto-columns: 232px; } }
@media (min-width: 1080px) { .row { grid-auto-columns: 272px; } }
.hero::before { inset: auto -120px -200px auto; }
/* tablets and up: no sideways-scrolling rows at all, everything wraps inside the screen */
@media (min-width: 700px) {
  .row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; gap: 26px 16px; }
  .row .card:nth-child(n+7) { display: none; }
  .flt-r { flex-wrap: wrap; overflow: visible; }
}
@media (min-width: 1080px) { .row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .row .card:nth-child(n+5) { display: none; } }

.ek-art { max-width: 100%; }
.pic { position: relative; width: 100%; }
.pic > img, .pic > .ek-art { width: 100%; height: 100%; }
.hv .pic, .card-pic .pic, .cg-pic .pic { aspect-ratio: auto; padding-top: 120%; }
.hv .pic > *, .card-pic .pic > *, .cg-pic .pic > * { position: absolute; inset: 0; }

/* dark theme (customer can switch; follows the phone setting until they do) */
html[data-theme="dark"] {
  --art-bg: #26272A;
  --bg: #0E0F10; --surface: #17181A; --soft: #1F2023; --line: #2E2F33; --fg: #F2F2F3; --ink2: #D2D3D6; --mute: #A3A4A9;
  --solid: #F2F2F3; --on-solid: #0B0B0C; --brand: #050506; --g-soft: #0F2618; --g-d: #4BE672; --tile: #1A1B1D; --note: #3A3110; --note-fg: #FFE58A;
  color-scheme: dark;
}
html[data-theme="dark"] .hd { border-bottom-color: var(--line); }
html[data-theme="dark"] .pic, html[data-theme="dark"] .gal, html[data-theme="dark"] .card-pic { background: #232427; }
html[data-theme="dark"] .ft { border-top: 1px solid var(--line); }
html[data-theme="dark"] .about { border-block: 1px solid var(--line); }
html[data-theme="dark"] .ck, html[data-theme="dark"] .toast { box-shadow: 0 0 0 1px #333, 0 14px 40px rgba(0,0,0,.5); }
html[data-theme="dark"] .stp, html[data-theme="dark"] .fl input, html[data-theme="dark"] .fl textarea, html[data-theme="dark"] .fl select { background: var(--surface); }
html[data-theme="dark"] .lang-m { box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.hd-logo { color: var(--fg); }
.th-b { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; padding: 0; color: var(--fg); flex: none; }
.th-b svg { width: 21px; height: 21px; }
.th-b:hover { background: var(--soft); }
.mm-theme { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); font-weight: 800; margin-bottom: 12px; }
.mm-theme svg { width: 20px; height: 20px; }
.fl select { border: 2px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 16px; background: var(--surface); width: 100%; color: var(--fg); min-height: 48px; }
.fl select:focus { outline: none; border-color: var(--fg); }
@media (max-width: 420px) { .th-b { width: 40px; } }
html[data-theme="dark"] .dots i, html[data-theme="dark"] .sw, html[data-theme="dark"] .crow-sw, html[data-theme="dark"] .cl-sw { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
html[data-theme="dark"] .sw.on { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 0 0 3px var(--bg), 0 0 0 5px var(--fg); }
