/* =====================================================================
   Ampereco Robotics — storefront
   Brand: navy #0C2C4F + sky #2EBBFA (from the logo)
   ===================================================================== */
:root {
  --navy: #0c2c4f;
  --navy-2: #08203b;
  --navy-3: #16406b;
  --sky: #2ebbfa;
  --sky-2: #129ddf;
  --sky-soft: #e8f7fe;
  --sky-line: #bfe7fb;
  --ink: #0d1b2c;
  --text: #243447;
  --muted: #627389;
  --line: #e3eaf2;
  --bg: #ffffff;
  --bg-2: #f4f8fc;
  --success: #15a05a;
  --danger: #e5484d;
  --warn: #f59e0b;
  --wa: #22c35e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(12, 44, 79, .06), 0 2px 8px rgba(12, 44, 79, .05);
  --shadow: 0 10px 30px rgba(12, 44, 79, .10);
  --shadow-lg: 0 24px 60px rgba(12, 44, 79, .18);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Exo 2', 'Inter', system-ui, sans-serif;
  --header-h: 128px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
.lang-ar { --font-body: 'Cairo', 'Inter', system-ui, sans-serif; --font-head: 'Cairo', 'Exo 2', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; 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; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.container { width: min(1280px, 100% - 32px); margin-inline: auto; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
form .hp { width: 1px !important; max-width: 1px; padding: 0 !important; border: 0 !important; margin: 0; inset-inline-start: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -48px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.flip { transform: scaleX(-1); }
[dir="rtl"] .flip { transform: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(12, 44, 79, .25); }
.btn--primary:hover { background: var(--navy-3); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: var(--bg-2); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sky); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(34, 195, 94, .28); }
.btn--wa:hover { background: #1aab50; }
.btn--lg { padding: .9em 1.6em; font-size: 1rem; }
.btn--sm { padding: .5em .95em; font-size: .85rem; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--sky-2); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .4em; }
.link-more { display: inline-flex; align-items: center; gap: .35em; color: var(--sky-2); font-weight: 700; white-space: nowrap; }
.link-more:hover { color: var(--navy); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--sky-soft); }
.icon-btn .ico { width: 22px; height: 22px; }
.icon-btn--wa { color: var(--wa); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s, transform .35s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.topbar { background: var(--navy); color: #d8ecfb; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.topbar__msg { display: inline-flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar__msg .ico { color: var(--sky); }
.topbar__links { display: flex; gap: 18px; flex: none; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: #fff; }
.header__main { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.header__menu { display: none; }
.brand { flex: none; }
.brand img { width: 210px; height: auto; }
.search { position: relative; flex: 1; display: flex; max-width: 640px; margin-inline: auto; }
.search input { width: 100%; height: 48px; border: 2px solid var(--line); border-radius: 999px; padding-inline: 20px 56px; background: var(--bg-2); transition: border-color .2s, background .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(46, 187, 250, .15); }
.search button { position: absolute; inset-inline-end: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search button:hover { background: var(--sky-2); }
.search__suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.suggest__item:last-child { border-bottom: 0; }
.suggest__item:hover, .suggest__item.is-active { background: var(--sky-soft); }
.suggest__item img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.suggest__name { flex: 1; font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.suggest__price { font-weight: 700; color: var(--navy); white-space: nowrap; font-size: .9rem; }
.suggest__all { display: block; padding: 10px 14px; text-align: center; font-weight: 700; color: var(--sky-2); background: var(--bg-2); }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.lang-btn:hover { background: var(--sky-soft); }
.lang-ar .lang-btn span { font-family: 'Inter', sans-serif; }
.lang-en .lang-btn span { font-family: 'Cairo', 'Segoe UI', sans-serif; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; }
.cart-btn:hover { background: var(--navy-3); }
.cart-btn .ico { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -7px; inset-inline-end: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: .75rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.cart-count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.catnav { border-top: 1px solid var(--line); }
.catnav__inner { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.mega { position: relative; flex: none; }
.mega__toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--sky); color: var(--navy); font-weight: 800; cursor: pointer; }
.mega__toggle[aria-expanded="true"] { background: var(--navy); color: #fff; }
.mega__panel { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; width: min(900px, 92vw); display: grid; grid-template-columns: 280px 1fr; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 70; animation: drop .25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mega__roots { list-style: none; margin: 0; padding: 8px; background: var(--bg-2); max-height: 70vh; overflow: auto; }
.mega__root a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.mega__root.is-active a, .mega__root a:hover { background: #fff; color: var(--sky-2); box-shadow: var(--shadow-sm); }
.mega__subs { padding: 18px 22px; max-height: 70vh; overflow: auto; }
.mega__group { display: none; }
.mega__group.is-active { display: block; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.mega__title { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.mega__group ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.mega__group li a { display: block; padding: 6px 0; color: var(--text); font-size: .93rem; break-inside: avoid; }
.mega__group li a:hover { color: var(--sky-2); }
.catnav__quick { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.catnav__quick::-webkit-scrollbar { display: none; }
.catnav__quick a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.catnav__quick a:hover { background: var(--sky-soft); color: var(--navy); }
.catnav__quick a.is-hot { color: var(--danger); }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 32, 59, .5); animation: fade .25s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column; animation: slideIn .3s var(--ease); }
[dir="rtl"] .drawer__panel { animation-name: slideInRtl; }
@keyframes slideIn { from { transform: translateX(-100%); } }
@keyframes slideInRtl { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__head img { width: 170px; }
.drawer__nav { flex: 1; overflow: auto; padding: 10px 16px; }
.drawer__nav > a { display: block; padding: 11px 4px; font-weight: 700; border-bottom: 1px solid var(--line); }
.drawer__nav > a.is-hot { color: var(--danger); }
.drawer__label { margin: 18px 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.drawer__cat { border-bottom: 1px solid var(--line); }
.drawer__cat summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 11px 4px; font-weight: 600; cursor: pointer; }
.drawer__cat summary::-webkit-details-marker { display: none; }
.drawer__cat[open] summary .ico { transform: rotate(180deg); }
.drawer__cat a { display: block; padding: 7px 14px; font-size: .93rem; color: var(--muted); }
.drawer__cat a.drawer__all { color: var(--sky-2); font-weight: 700; }
.drawer__foot { display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--line); }

/* ---------- hero (scroll-driven robot) ---------- */
.hero { position: relative; height: 380vh; background: linear-gradient(180deg, #f3faff 0%, #ffffff 60%); }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; color: var(--sky-line); pointer-events: none; }
.hero__circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__circuit .trace { stroke-dasharray: 900; stroke-dashoffset: 900; animation: trace 3.5s var(--ease) forwards; }
.hero__circuit .trace--thin { stroke-width: 2; animation-delay: .6s; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.hero__glow { position: absolute; width: 60vmax; height: 60vmax; inset-inline-end: -12vmax; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(46, 187, 250, .28), rgba(46, 187, 250, 0) 65%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; width: min(1280px, 100% - 32px); padding-top: var(--header-h); }
.hero__copy { position: relative; min-height: 420px; }
.hero__step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; opacity: 0; transform: translateY(36px); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.hero__step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__step.is-past { transform: translateY(-36px); }
.bubble { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 18px 18px 18px 4px; background: #fff; border: 2px solid var(--sky-line); color: var(--navy); font-weight: 800; font-family: var(--font-head); font-size: 1.15rem; box-shadow: var(--shadow); margin-bottom: 18px; }
[dir="rtl"] .bubble { border-radius: 18px 18px 4px 18px; }
.bubble [data-typed-target]::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-inline-start: 3px; background: var(--sky); vertical-align: -.15em; animation: caret 1s steps(1) infinite; }
.bubble.is-done [data-typed-target]::after { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.hero__title { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; color: var(--navy); }
.hero__title::after { content: ''; display: block; width: 90px; height: 6px; border-radius: 6px; margin-top: 18px; background: linear-gradient(90deg, var(--sky), var(--navy)); }
.hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 540px; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stat { margin-top: 22px; color: var(--muted); font-size: .92rem; }
.hero__stat strong { color: var(--navy); font-family: var(--font-head); font-size: 1.15rem; }
.hero__num { font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .25em; color: var(--sky-2); margin-bottom: 4px; }
.hero__word { font-size: clamp(3.4rem, 9vw, 7.5rem); font-weight: 800; color: var(--navy); line-height: .95; margin-bottom: 18px; letter-spacing: -.02em; }
.hero__word--accent { color: var(--sky); }
.hero__tagline { margin-top: 18px; font-weight: 800; color: var(--navy); font-family: var(--font-head); }
.hero__stage { position: relative; height: min(72vh, 640px); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { position: absolute; inset: 0; margin: auto; width: min(76%, 420px); height: auto; animation: float 4s ease-in-out infinite; }
.has-webgl .hero__fallback { display: none; }
@keyframes float { 50% { transform: translateY(-14px); } }
.hero__ground { position: absolute; left: 50%; bottom: 6%; width: 46%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(12, 44, 79, .22), transparent 70%); }
.hero__dots { position: absolute; inset-inline-end: 24px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero__dots li { width: 10px; height: 10px; border-radius: 50%; background: var(--sky-line); transition: transform .3s, background .3s; }
.hero__dots li.is-active { background: var(--navy); transform: scale(1.4); }
.hero__hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); transition: opacity .3s; }
.hero__mouse { width: 22px; height: 34px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.hero__mouse::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--sky); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(10px); opacity: 0; } }
.hero.is-moving .hero__hint { opacity: 0; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--flush { padding: 24px 0 48px; }
.section--tint { background: var(--bg-2); }
.section--dark { background: radial-gradient(circle at 85% 0%, rgba(46, 187, 250, .25), transparent 45%), var(--navy); color: #d3e7f7; }
.section--dark .section-title { color: #fff; }
.section--dark .section-sub { color: #9fc1dd; }
.section--dark .link-more { color: var(--sky); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 0; position: relative; }
.section-sub { color: var(--muted); margin: 6px 0 0; }
.eyebrow { font-family: var(--font-head); font-weight: 800; letter-spacing: .2em; color: var(--sky-2); font-size: .85rem; }

.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 12px; font-weight: 700; color: var(--navy); }
.trust__item .ico { width: 30px; height: 30px; color: var(--sky-2); padding: 6px; background: var(--sky-soft); border-radius: 10px; box-sizing: content-box; }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 12px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-line); }
.cat-card__img { width: 104px; height: 104px; border-radius: 50%; background: var(--sky-soft); display: grid; place-items: center; overflow: hidden; transition: transform .4s var(--ease); }
.cat-card:hover .cat-card__img { transform: scale(1.06) rotate(-3deg); }
.cat-card__img img { width: 78%; height: 78%; object-fit: contain; }
.cat-card__name { font-weight: 800; color: var(--ink); line-height: 1.25; font-size: .95rem; }
.cat-card__count { font-size: .78rem; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { position: relative; padding: 30px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; scroll-margin-top: calc(var(--header-h) + 20px); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar::after { content: ''; position: absolute; width: 180px; height: 180px; inset-inline-end: -60px; top: -60px; border-radius: 50%; border: 18px solid var(--sky-soft); }
.pillar__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sky-soft); color: var(--navy); margin-bottom: 18px; position: relative; z-index: 1; }
.pillar__icon .ico { width: 32px; height: 32px; }
.pillar h3 { font-size: 1.35rem; position: relative; z-index: 1; }
.pillar p { color: var(--muted); position: relative; z-index: 1; }
.pillar--accent { background: var(--navy); border-color: var(--navy); color: #cfe4f5; }
.pillar--accent h3 { color: #fff; }
.pillar--accent p { color: #a9c7df; }
.pillar--accent .pillar__icon { background: var(--sky); }
.pillar--accent::after { border-color: rgba(46, 187, 250, .18); }
.pillar--accent .link-more { color: var(--sky); }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; position: relative; z-index: 1; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ico { color: var(--success); margin-top: 3px; }

/* ---------- product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pgrid--listing { grid-template-columns: repeat(4, 1fr); }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sky-line); }
.pcard__media { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; padding: 4px 9px; border-radius: 999px; font-size: .75rem; font-weight: 800; color: #fff; z-index: 1; }
.badge--sale { background: var(--danger); }
.badge--muted { background: rgba(12, 44, 79, .78); top: auto; bottom: 10px; }
.badge--pre { background: var(--sky); color: var(--navy); top: auto; bottom: 10px; }
.badge--lg { font-size: .95rem; padding: 6px 12px; }
.pdp__price .badge { position: static; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.pcard__brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sky-2); font-weight: 800; }
.pcard__name { font-family: var(--font-body); font-size: .92rem; font-weight: 600; line-height: 1.35; margin: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; text-align: start; }
.pcard__name a:hover { color: var(--sky-2); }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price__now { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--navy); }
.price__now small { font-size: .7em; font-weight: 700; color: var(--muted); }
.price__na { font-size: .85rem; font-weight: 700; color: var(--muted); }
.price__old { font-size: .82rem; color: var(--muted); }
.pcard__add { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--sky-soft); color: var(--navy); cursor: pointer; transition: background .2s, color .2s, transform .2s; flex: none; }
.pcard__add:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }
.pcard__add.is-added { background: var(--success); color: #fff; }
.pcard__add:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.pcard__stock { font-size: .76rem; color: var(--warn); font-weight: 700; }
.section--dark .pcard { border-color: transparent; }

.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__btn { position: absolute; top: 40%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; }
.rail__btn--prev { inset-inline-start: -20px; }
.rail__btn--next { inset-inline-end: -20px; }

.banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.banner { position: relative; min-height: 220px; border-radius: 22px; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: flex-end; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.banner:hover img { transform: scale(1.05); }
.banner__copy { position: relative; display: grid; gap: 6px; padding: 24px; width: 100%; background: linear-gradient(0deg, rgba(8, 32, 59, .85), transparent); }
.banner__copy strong { font-family: var(--font-head); font-size: 1.5rem; }
.banner__copy .btn { justify-self: start; }

.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.partner { display: grid; place-items: center; height: 96px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 800; color: var(--navy); text-align: center; }
.partner img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: none; opacity: 1; }

.cta-band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 34px 40px; border-radius: 28px; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 60%, #1b6fa8 100%); color: #cfe4f5; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset-inline-end: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(46, 187, 250, .15); }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-band__robot { width: 120px; filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(46, 187, 250, .6)); animation: float 4s ease-in-out infinite; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- listing ---------- */
.crumbs { padding: 18px 0 6px; font-size: .86rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-inline-start: 6px; color: var(--line); }
.crumbs a:hover { color: var(--sky-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; margin: 6px 0 4px; }
.listing__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 14px; scrollbar-width: thin; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.chip small { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--sky); background: var(--sky-soft); }
.listing__layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding-bottom: 64px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 14px); display: grid; gap: 18px; }
.filters__head { display: none; }
.filters__form, .filters__cats { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filters fieldset { border: 0; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.filters legend, .filters__label { font-weight: 800; color: var(--ink); margin-bottom: 8px; font-size: .92rem; padding: 0; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input, .filters select { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.filters__actions { display: grid; gap: 8px; }
.filters__cats ul { list-style: none; margin: 0; padding: 0; }
.filters__cats > ul { max-height: 460px; overflow: auto; }
.filters__cats a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: .9rem; }
.filters__cats a small { color: var(--muted); }
.filters__cats a:hover { background: var(--bg-2); }
.filters__cats a.is-current { background: var(--sky-soft); color: var(--navy); font-weight: 700; }
.filters__cats li ul { padding-inline-start: 12px; border-inline-start: 2px solid var(--sky-soft); margin: 4px 0 6px 6px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.toolbar__filters { display: none; }
.toolbar__sort select { height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.pager ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; }
.pager a:hover { border-color: var(--sky); color: var(--sky-2); }
.pager .is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager__gap { display: grid; place-items: center; color: var(--muted); }
.pager__btn { display: inline-flex !important; gap: 6px; }
.empty { text-align: center; padding: 60px 16px; display: grid; justify-items: center; gap: 6px; }
.empty img { opacity: .9; margin-bottom: 10px; }
.empty--page { min-height: 60vh; align-content: center; }

/* ---------- product page ---------- */
.pdp { padding-bottom: 60px; }
.pdp__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; margin-top: 10px; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: 22px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 28px; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery__thumbs button { flex: none; width: 76px; height: 76px; padding: 6px; border-radius: 12px; border: 2px solid var(--line); background: #fff; cursor: pointer; }
.gallery__thumbs button.is-active { border-color: var(--sky); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__brand { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sky-soft); color: var(--sky-2); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.pdp__title { font-family: var(--font-body); font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; margin: 12px 0 8px; text-align: start; }
.pdp__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.pdp__meta a { color: var(--sky-2); font-weight: 600; }
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding: 16px 0; border-block: 1px solid var(--line); }
.pdp__price .price__now { font-size: 2.1rem; }
.pdp__price .price__old { font-size: 1.05rem; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin: 16px 0 12px; }
.stock__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.stock--in { color: var(--success); }
.stock--out { color: var(--warn); }
.stock--pre { color: var(--sky-2); }
.pdp__short { color: var(--muted); text-align: start; }
.buybox { display: flex; gap: 12px; margin: 18px 0 12px; }
.buybox__add { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.qty button { width: 44px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--navy); display: grid; place-items: center; }
.qty button:hover { background: var(--bg-2); }
.qty input { width: 50px; height: 48px; border: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 34px; height: 36px; }
.qty--sm input { width: 38px; height: 36px; }
.pdp__perks { list-style: none; padding: 16px; margin: 18px 0; display: grid; gap: 10px; background: var(--bg-2); border-radius: var(--radius); }
.pdp__perks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.pdp__perks .ico { color: var(--sky-2); }
.pdp__desc { margin-top: 48px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; }
.prose { max-width: 860px; text-align: start; }
.prose p, .prose li { color: var(--text); }
.prose table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.sticky-buy { display: none; }

/* ---------- cart ---------- */
.cartpage { padding-bottom: 64px; }
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; margin-top: 10px; }
.cart-lines ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-line img { width: 84px; height: 84px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.cart-line__name { font-weight: 700; color: var(--ink); line-height: 1.35; display: block; margin-bottom: 4px; text-align: start; }
.cart-line__unit { font-size: .85rem; color: var(--muted); }
.cart-line__side { display: grid; justify-items: end; gap: 8px; }
.cart-line__total { font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.cart-line__remove { background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; font-size: .82rem; }
.cart-line__remove:hover { color: var(--danger); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-sm); }
.checkout { position: sticky; top: calc(var(--header-h) + 14px); display: grid; gap: 16px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); text-transform: uppercase; }
.coupon__msg { margin: 8px 0 0; font-size: .86rem; font-weight: 600; }
.coupon__msg.is-ok { color: var(--success); }
.coupon__msg.is-err { color: var(--danger); }
.summary__rows { margin: 16px 0 6px; display: grid; gap: 8px; }
.summary__rows > div { display: flex; justify-content: space-between; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { margin: 0; font-weight: 700; }
.summary__total { padding-top: 10px; border-top: 1px dashed var(--line); font-size: 1.2rem; }
.summary__total dt { color: var(--ink); font-weight: 800; }
.summary__total dd { color: var(--navy); font-family: var(--font-head); font-weight: 800; }
.checkout__form { display: grid; gap: 12px; }
.checkout__form h2 { font-size: 1.2rem; margin-bottom: 4px; }
.checkout__form label, .contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.checkout__form input, .checkout__form textarea, .contact-form input, .contact-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); font-weight: 500; }
.checkout__form input:focus, .checkout__form textarea:focus, .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 3px rgba(46, 187, 250, .15); }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.seg label { display: flex !important; align-items: center; gap: 8px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--sky); background: var(--sky-soft); }
.seg input { accent-color: var(--navy); }
.form-error { color: var(--danger); font-weight: 600; margin: 0; }
.success { text-align: center; display: grid; justify-items: center; gap: 10px; max-width: 560px; margin: 30px auto; padding: 40px 28px; }
.success strong { font-size: 1.3rem; color: var(--navy); }

/* ---------- about / contact / links ---------- */
.about-hero { padding: 20px 0 40px; }
.about-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.about-hero .lead { font-size: 1.15rem; color: var(--muted); }
.about-hero__img { border-radius: 26px; box-shadow: var(--shadow-lg); }
.contactpage { padding-bottom: 64px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 18px 0 28px; }
.contact-card { display: grid; justify-items: start; gap: 6px; padding: 22px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .ico { width: 34px; height: 34px; color: var(--sky-2); }
.contact-card strong { color: var(--ink); font-size: 1.05rem; }
.contact-card span { color: var(--muted); word-break: break-word; }
.contact-card--wa { background: #eafbf1; border-color: #c7f0d8; }
.contact-card--wa .ico { color: var(--wa); }
.contact-form { max-width: 640px; display: grid; gap: 14px; }

.page-links { background: radial-gradient(circle at 50% -20%, rgba(46, 187, 250, .35), transparent 55%), linear-gradient(180deg, #f2faff, #fff); min-height: 100vh; }
.links { width: min(520px, 100% - 32px); margin: 0 auto; padding: 48px 0 40px; display: grid; justify-items: center; gap: 14px; }
.links__logo { width: 230px; }
.links__slogan { font-family: var(--font-head); font-weight: 800; color: var(--navy); letter-spacing: .08em; margin: 0; }
.links__slogan span, .footer__slogan span { color: var(--sky); }
.links__list { list-style: none; padding: 0; margin: 10px 0 0; width: 100%; display: grid; gap: 12px; }
.links__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-inline-start: 6px solid var(--c); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.links__item:hover { transform: translateY(-3px) scale(1.01); box-shadow: var(--shadow); }
.links__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); flex: none; }
.links__icon .ico { width: 22px; height: 22px; }
.links__text { flex: 1; display: grid; }
.links__text strong { color: var(--ink); }
.links__text small { color: var(--muted); }
.links__home { margin-top: 12px; color: var(--muted); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--navy-2); color: #a8c3da; padding-top: 60px; overflow: hidden; }
.footer__circuit { position: absolute; inset: 0; background-image: radial-gradient(rgba(46, 187, 250, .14) 1.5px, transparent 1.5px); background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer__brand img { width: 220px; margin-bottom: 16px; }
.footer__brand p { font-size: .93rem; }
.footer__slogan { font-family: var(--font-head); font-weight: 800; color: #fff; letter-spacing: .1em; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.site-footer a:hover { color: var(--sky); }
.footer__contact li, .footer__contact a { display: flex; align-items: center; gap: 10px; }
.footer__contact .ico { color: var(--sky); }
.footer__social { display: flex; gap: 10px; margin-top: 10px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; }
.footer__social a:hover { background: var(--sky); color: var(--navy); }
.footer__bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* ---------- floating, toast ---------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(34, 195, 94, .45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s infinite; }
@keyframes ping { 70%, 100% { transform: scale(1.6); opacity: 0; } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 95; padding: 12px 20px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: toastIn .35s var(--ease); max-width: calc(100% - 32px); }
.toast a { color: var(--sky); font-weight: 800; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .pgrid, .pgrid--listing { grid-template-columns: repeat(3, 1fr); }
  .rail__track { grid-auto-columns: calc((100% - 36px) / 3); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 118px; }
  .header__menu { display: inline-grid; }
  .catnav { display: none; }
  .brand img { width: 170px; }
  .header__main { flex-wrap: wrap; gap: 10px; padding: 10px 0; min-height: 0; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; }
  .search button { width: 34px; height: 34px; }
  .header__actions { margin-inline-start: auto; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 12px; }
  .hero { height: 330vh; }
  .hero__grid { grid-template-columns: 1fr; grid-template-rows: 44% 56%; height: 100%; padding-top: calc(var(--header-h) + 4px); gap: 0; }
  .hero__stage { height: 100%; order: -1; }
  .hero__copy { min-height: 0; height: 100%; }
  .hero__step { justify-content: flex-start; text-align: start; padding-top: 6px; }
  .hero__title { font-size: clamp(1.9rem, 7.4vw, 2.6rem); margin-bottom: 10px; }
  .hero__title::after { margin-top: 10px; height: 5px; }
  .hero__lead { margin-bottom: 16px; font-size: 1rem; }
  .hero__word { font-size: clamp(3rem, 15vw, 4.6rem); margin-bottom: 10px; }
  .bubble { font-size: 1rem; padding: 8px 14px; margin-bottom: 10px; }
  .hero__stat, .hero__dots { display: none; }
  .hero__hint { bottom: 12px; }
  .listing__layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 95; top: 0; display: none; background: #fff; overflow: auto; padding: 16px; align-content: start; }
  .filters.is-open { display: grid; animation: fade .2s; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; }
  .toolbar__filters { display: inline-flex; }
  .pdp__grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
  .sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(12, 44, 79, .08); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky-buy.is-visible { transform: none; }
  .sticky-buy__price { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); }
  .page-product .wa-float { bottom: 84px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout { position: static; }
  .pillars { grid-template-columns: 1fr; }
  .about-hero__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 30px 22px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item { justify-content: flex-start; padding: 14px 6px; font-size: .9rem; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 24px); }
  .hide-sm { display: none !important; }
  .topbar__inner { justify-content: center; }
  .topbar__msg { display: none; }
  .header__main { gap: 8px; }
  .brand img { width: 132px; }
  .icon-btn, .lang-btn, .cart-btn { height: 40px; }
  .icon-btn { width: 40px; }
  .lang-btn { padding: 0 9px; font-size: .85rem; gap: 4px; }
  .header__actions { gap: 6px; }
  .hero__grid { grid-template-rows: 36% 64%; }
  .hero__title { font-size: clamp(1.55rem, 7vw, 2.1rem); }
  .hero__title::after { display: none; }
  .hero__lead { font-size: .94rem; margin-bottom: 12px; }
  .hero__cta .btn--lg { padding: .7em 1.1em; font-size: .92rem; }
  .hero__word { font-size: clamp(2.7rem, 14vw, 4rem); }
  .bubble { font-size: .92rem; padding: 7px 12px; margin-bottom: 8px; }
  .hero__hint { display: none; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-card { padding: 14px 6px; }
  .cat-card__img { width: 72px; height: 72px; }
  .cat-card__name { font-size: .82rem; }
  .pgrid, .pgrid--listing { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rail__track { grid-auto-columns: 70%; gap: 10px; }
  .rail__btn { display: none; }
  .pcard__body { padding: 10px; }
  .pcard__name { font-size: .85rem; }
  .price__now { font-size: 1rem; }
  .pcard__add { width: 36px; height: 36px; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line img { width: 64px; height: 64px; }
  .cart-line__side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .pdp__desc { padding: 20px; }
  .buybox { flex-direction: column; }
  .qty { align-self: flex-start; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- side cart drawer ---------------- */
.has-cart-drawer, .has-cart-drawer body { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 120; }
.cart-drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 32, 59, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s var(--ease); }
.cart-drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .32s var(--ease); outline: none; }
[dir="rtl"] .cart-drawer__panel { transform: translateX(-100%); }
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); }
.cart-drawer__head h2 .ico { width: 22px; height: 22px; color: var(--sky-2); }
.cart-drawer__count { color: var(--muted); font-size: .95rem; font-weight: 700; }
.cart-drawer__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.cart-drawer__close:hover { background: var(--bg-2); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 14px 20px; overscroll-behavior: contain; }
.cart-drawer__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cart-drawer-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-drawer-line:last-child { border-bottom: 0; }
.cart-drawer-line__img img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cart-drawer-line__info { min-width: 0; display: grid; gap: 4px; }
.cart-drawer-line__name { font-weight: 700; color: var(--ink); line-height: 1.35; font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: start; }
.cart-drawer-line__name:hover { color: var(--sky-2); }
.cart-drawer-line__unit { font-size: .82rem; color: var(--muted); }
.cart-drawer-line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.cart-drawer-line__total { font-family: var(--font-head); font-weight: 800; color: var(--navy); white-space: nowrap; }
.cart-drawer-line__remove { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.cart-drawer-line__remove:hover { background: #fdecec; color: var(--danger); }
.cart-drawer__foot { display: grid; gap: 10px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg-2); }
.cart-drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.cart-drawer__total strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); }
.cart-drawer__note { margin: -4px 0 2px; font-size: .8rem; color: var(--muted); }
.cart-drawer__empty { display: grid; justify-items: center; gap: 8px; padding: 48px 12px; text-align: center; color: var(--muted); }
.cart-drawer__empty .ico { width: 54px; height: 54px; color: var(--sky-line); }
.cart-drawer__empty strong { color: var(--ink); font-size: 1.05rem; }
.cart-drawer__empty p { margin: 0 0 8px; }
.cart-drawer__loading { height: 3px; margin: 30px auto; width: 60%; border-radius: 3px; background: linear-gradient(90deg, var(--sky-soft), var(--sky), var(--sky-soft)); background-size: 200% 100%; animation: drawerLoad 1s linear infinite; }
@keyframes drawerLoad { to { background-position: -200% 0; } }

/* ---------------- staff: account button, sign-in, product tools ---------------- */
.acct { position: relative; }
.acct__btn { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 44px; padding: 0 10px; gap: 6px; }
.acct__name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: .85rem; }
.acct.is-staff .acct__btn { border-color: var(--sky); background: var(--sky-soft); color: var(--navy); }
.acct__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 210px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); display: grid; }
.acct__menu a, .acct__menu button { display: block; padding: 9px 12px; border: 0; border-radius: 9px; background: none; font: inherit; font-weight: 600; color: var(--text); text-align: start; cursor: pointer; }
.acct__menu a:hover, .acct__menu button:hover { background: var(--sky-soft); color: var(--navy); }
.acct__menu button { color: var(--danger); }
.acct__head { display: grid; padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.acct__head small { color: var(--muted); text-transform: capitalize; }

.login-modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; }
.login-modal[hidden] { display: none; }
.login-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 32, 59, .5); backdrop-filter: blur(3px); }
.login-modal__box { position: relative; width: min(380px, 100%); display: grid; gap: 14px; padding: 28px 24px 24px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); animation: modalIn .3s var(--ease); }
.login-modal__box > img { width: 180px; height: auto; margin: 0 auto 2px; }
.login-modal__box h2 { margin: 0; text-align: center; font-family: var(--font-head); color: var(--navy); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.login-modal__box label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.login-modal__box input[name] { height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; }
.login-modal__box input[name]:focus { outline: none; border-color: var(--sky); }
.login-modal__close { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--bg-2); color: var(--navy); cursor: pointer; }

.staff-tools { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 5; display: flex; gap: 5px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(12, 44, 79, .18); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.pcard:hover .staff-tools, .pcard:focus-within .staff-tools, .gallery .staff-tools { opacity: 1; transform: none; }
@media (hover: none) { .staff-tools { opacity: 1; transform: none; } }
.staff-tools button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: var(--navy); color: #fff; cursor: pointer; }
.staff-tools button:hover { background: var(--sky-2); }
.staff-tools button.is-danger { background: #fdecec; color: var(--danger); }
.staff-tools button.is-danger:hover { background: var(--danger); color: #fff; }
.staff-tools .ico { width: 16px; height: 16px; }
.pcard.is-removed { opacity: 0; transform: scale(.95); transition: opacity .3s, transform .3s; }

.staff-gallery__box { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; }
.staff-gallery__box h2 .ico { width: 22px; height: 22px; color: var(--sky-2); }
.staff-gallery__name { margin: -8px 0 0; text-align: center; color: var(--muted); font-size: .88rem; }
.staff-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.staff-gallery__grid figure { position: relative; margin: 0; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.staff-gallery__grid figure.is-main { border-color: var(--sky); }
.staff-gallery__grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.staff-gallery__badge { position: absolute; top: 6px; inset-inline-start: 6px; padding: 2px 8px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: .7rem; font-weight: 800; }
.staff-gallery__grid figcaption { display: flex; justify-content: center; gap: 4px; padding: 6px; border-top: 1px solid var(--line); background: var(--bg-2); }
.staff-gallery__grid figcaption button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-weight: 800; cursor: pointer; }
.staff-gallery__grid figcaption button:disabled { opacity: .3; cursor: default; }
.staff-gallery__grid figcaption button.is-danger { color: var(--danger); }
.staff-gallery__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }
.staff-gallery__add { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.staff-gallery__add label { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; }
.staff-gallery__foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

.staff-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 14px 16px; border: 2px dashed var(--sky); border-radius: var(--radius); background: var(--sky-soft); }
.staff-panel > div:first-child { display: grid; gap: 2px; }
.staff-panel strong { color: var(--navy); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.staff-panel span { font-size: .9rem; color: var(--text); }
.staff-panel__row { display: flex; gap: 8px; }
.staff-panel select { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.tag-pre { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: var(--sky-soft); color: var(--sky-2); font-size: .72rem; font-weight: 800; vertical-align: middle; }

/* ---------------- floating side cart (like Micro Electron) ---------------- */
.float-cart { position: fixed; top: 50%; inset-inline-end: 16px; z-index: 85; display: flex; align-items: center; gap: 10px; width: 58px; height: 58px; padding: 7px; border: 1px solid var(--sky-line); border-radius: 999px; background: #fff; color: var(--navy); box-shadow: 0 12px 30px rgba(12, 44, 79, .18); cursor: pointer; overflow: visible; transform: translateY(-50%); transition: width .25s var(--ease), box-shadow .2s, border-color .2s; animation: floatIn .35s var(--ease); }
.float-cart[hidden] { display: none; }
.float-cart:hover, .float-cart:focus-visible { width: 170px; border-color: var(--sky); box-shadow: 0 14px 34px rgba(12, 44, 79, .24); outline: none; }
.float-cart__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; }
.float-cart__icon .ico { width: 20px; height: 20px; }
.float-cart__meta { display: grid; line-height: 1.2; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; text-align: start; transition: max-width .25s var(--ease), opacity .2s; }
.float-cart:hover .float-cart__meta, .float-cart:focus-visible .float-cart__meta { max-width: 110px; opacity: 1; }
.float-cart__meta b { font-size: .78rem; color: var(--muted); }
.float-cart__meta span { font-family: var(--font-head); font-weight: 800; font-size: .92rem; color: var(--navy); }
.float-cart__count { position: absolute; top: -6px; inset-inline-start: -4px; min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; border: 2px solid #fff; background: var(--sky); color: var(--navy); font-size: .75rem; font-weight: 800; }
.float-cart__count[hidden] { display: none; }
@keyframes floatIn { from { opacity: 0; transform: translate(20px, -50%); } }
[dir="rtl"] .float-cart { animation-name: floatInRtl; }
@keyframes floatInRtl { from { opacity: 0; transform: translate(-20px, -50%); } }
/* phones: stack it above the WhatsApp button so it never covers product buttons */
@media (max-width: 640px) {
  .float-cart { top: auto; bottom: 80px; inset-inline-end: 16px; width: 52px; height: 52px; padding: 5px; transform: none; animation: none; }
  .float-cart:hover, .float-cart:focus-visible { width: 52px; }
  .float-cart:hover .float-cart__meta, .float-cart:focus-visible .float-cart__meta { max-width: 0; opacity: 0; }
  .page-product .float-cart { bottom: 148px; }
}
@media (max-width: 640px) { .acct:not(.is-signed) { display: none; } }

/* ---------------- customer accounts + loyalty points ---------------- */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-2); }
.auth-tabs[hidden] { display: none; }
.auth-tabs button { padding: 9px; border: 0; border-radius: 9px; background: none; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.auth-tabs button.is-on { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(12, 44, 79, .12); }
.auth-form { display: grid; gap: 12px; }
.auth-form[hidden] { display: none; }
.auth-form h2 { margin: 0; text-align: center; font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; }
.auth-perk { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); font-size: .85rem; font-weight: 600; line-height: 1.5; }
.auth-perk .ico { flex: none; width: 18px; height: 18px; color: var(--sky-2); margin-top: 2px; }
.auth-switch { justify-self: center; border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; text-decoration: underline; }
.auth-switch:hover { color: var(--navy); }
.acct__points { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 8px; margin: 2px 4px 6px; padding: 10px 12px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); }
.acct__points .ico { grid-row: span 2; width: 22px; height: 22px; color: var(--sky-2); }
.acct__points small { color: var(--muted); }

.points-box { display: grid; gap: 8px; margin: 12px 0 4px; padding: 12px; border: 1px dashed var(--sky); border-radius: 12px; background: var(--sky-soft); }
.points-box__head { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.points-box__head .ico { width: 18px; height: 18px; color: var(--sky-2); }
.points-box select { height: 40px; padding: 0 10px; border: 1px solid var(--sky-line); border-radius: 10px; background: #fff; font: inherit; }
.earn-hint { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff7e0; color: #8a5a00; font-size: .88rem; font-weight: 600; }
.earn-hint a { color: var(--sky-2); text-decoration: underline; }

.accountpage .empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.account-grid { display: grid; grid-template-columns: 340px 1fr; grid-template-areas: 'points form' 'history form' 'history orders'; gap: 20px; align-items: start; margin-bottom: 40px; }
.account-grid > .points-card { grid-area: points; } .account-grid > .account-form { grid-area: form; } .account-grid > .acc-orders { grid-area: orders; } .account-grid > .acc-history { grid-area: history; }
.account-grid .card { padding: 22px; }
.account-grid h2 { margin: 0 0 14px; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.points-card { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 70%, #1b6fa8 100%); color: #cfe4f5; border: 0; }
.points-card__head { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.points-card__head .ico { width: 22px; height: 22px; color: var(--sky); }
.points-card__value { display: block; margin: 10px 0 0; font-family: var(--font-head); font-size: 3rem; line-height: 1; color: #fff; }
.points-card__worth { margin: 6px 0 16px; font-size: 1rem; }
.points-card__worth b { color: var(--sky); font-size: 1.2rem; }
.points-card__bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.points-card__bar span { display: block; height: 100%; border-radius: inherit; background: var(--sky); transition: width .6s var(--ease); }
.points-card__next { margin: 8px 0 14px; font-size: .9rem; color: #fff; }
.points-card .muted { color: #9fbbd4; }
.account-form { display: grid; gap: 12px; }
.account-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.account-form input, .account-form textarea { padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; font: inherit; }
.account-form input:disabled { background: var(--bg-2); color: var(--muted); }
.account-form__pw summary { cursor: pointer; font-weight: 700; color: var(--sky-2); margin-bottom: 8px; }
.account-form__pw label { margin-bottom: 10px; }
.account-form .btn { justify-self: start; }
.acc-list { list-style: none; margin: 0; padding: 0; display: grid; }
.acc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.acc-list li:last-child { border-bottom: 0; }
.acc-list li > span:first-child { display: grid; gap: 2px; min-width: 0; }
.acc-list small { color: var(--muted); }
.acc-list strong { font-family: var(--font-head); color: var(--navy); white-space: nowrap; }
.acc-list .is-plus { color: var(--success); } .acc-list .is-minus { color: var(--danger); }
.acc-status { padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--bg-2); color: var(--muted); white-space: nowrap; }
.acc-status--delivered { background: #e3f6ec; color: var(--success); }
.acc-status--cancelled { background: #fdecec; color: var(--danger); }
.acc-status--new, .acc-status--confirmed, .acc-status--ready { background: var(--sky-soft); color: var(--sky-2); }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; grid-template-areas: 'points' 'form' 'orders' 'history'; } }

/* ---------------- hero: one screen, steps slide sideways (no long scroll before the shop) ---------------- */
.hero { height: auto; }
.hero__sticky { position: relative; touch-action: pan-y; user-select: none; }
.hero__step { transform: translateX(48px); }
.hero__step.is-past { transform: translateX(-48px); }
[dir="rtl"] .hero__step { transform: translateX(-48px); }
[dir="rtl"] .hero__step.is-past { transform: translateX(48px); }
.hero__step.is-active, [dir="rtl"] .hero__step.is-active { transform: none; }
.hero__nav { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 14px; }
.hero__arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--sky-line); border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--navy); cursor: pointer; box-shadow: 0 6px 16px rgba(12, 44, 79, .1); transition: background .2s, transform .2s; }
.hero__arrow:hover { background: var(--navy); color: #fff; transform: scale(1.06); }
.hero__arrow .ico { width: 18px; height: 18px; }
.hero__arrow-prev { transform: scaleX(-1); }
[dir="rtl"] .hero__arrow-prev { transform: none; }
.hero__dots { position: static; transform: none; display: flex; gap: 10px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--sky-line); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.hero__dots button.is-active { width: 30px; background: var(--navy); }
.hero__hint { flex-direction: row; gap: 8px; margin: 0; }
.hero__swipe { display: inline-grid; animation: swipeHint 1.6s ease-in-out infinite; color: var(--sky-2); }
.hero__swipe .ico { width: 18px; height: 18px; }
@keyframes swipeHint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
[dir="rtl"] .hero__swipe { animation-name: swipeHintRtl; }
@keyframes swipeHintRtl { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-8px); } }
@media (max-width: 960px) {
  .hero { height: auto; }
  .hero .hero__dots { display: flex; }
  .hero__nav { bottom: 14px; gap: 10px; }
  .hero__arrow { width: 36px; height: 36px; }
}
@media (min-width: 961px) { .hero__sticky { height: calc(100svh - var(--header-h, 156px)); min-height: 600px; } }

/* ---------------- favorites + copy link ---------------- */
.pcard__acts { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 4; display: grid; gap: 6px; }
.pcard__acts--pdp { top: 16px; inset-inline-end: 16px; }
.pcard[data-staff] .pcard__acts { top: 56px; }
.gallery[data-staff] .pcard__acts--pdp { top: 62px; }
.pact { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); cursor: pointer; box-shadow: 0 4px 12px rgba(12, 44, 79, .12); transition: background .2s, color .2s, transform .2s, opacity .2s; }
.pact:hover { transform: scale(1.08); border-color: var(--sky); }
.pact .ico { width: 17px; height: 17px; }
.pcard__acts--pdp .pact { width: 42px; height: 42px; }
.pcard__acts--pdp .pact .ico { width: 20px; height: 20px; }
.pact[data-fav].is-on { color: #e5484d; border-color: #f6c4c5; background: #fff5f5; }
.pact[data-fav].is-on { --heart-fill: currentColor; }
.favpage .page-title { --heart-fill: currentColor; }
.pact.is-pop { animation: favPop .4s var(--ease); }
@keyframes favPop { 40% { transform: scale(1.3); } }
.pact[data-copy-link].is-done { background: var(--success); border-color: var(--success); color: #fff; }
/* on cards the link button shows on hover (the heart stays visible when saved) */
@media (hover: hover) {
  .pcard .pact { opacity: 0; }
  .pcard:hover .pact, .pcard:focus-within .pact, .pcard .pact[data-fav].is-on { opacity: 1; }
}
.fav-btn { position: relative; }
.fav-count { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; border: 2px solid #fff; background: #e5484d; color: #fff; font-size: .7rem; font-weight: 800; }
.fav-count[hidden] { display: none; }
.fav-count--inline { position: static; display: inline-grid; border: 0; margin-inline-start: 6px; vertical-align: middle; }
.favpage .page-title { display: flex; align-items: center; gap: 10px; }
.favpage .page-title .ico { width: 32px; height: 32px; color: #e5484d; }
.favpage .pgrid { margin-bottom: 40px; }

/* ---------------- product tabs (Details / Features / Product Include / Product Code) ---------------- */
.pdp-tabs { margin-top: 36px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.pdp-tabs__bar { display: flex; gap: 4px; padding: 0 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pdp-tabs__bar::-webkit-scrollbar { display: none; }
.pdp-tabs__bar button { position: relative; flex: none; padding: 16px 16px 14px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.pdp-tabs__bar button:hover { color: var(--navy); }
.pdp-tabs__bar button.is-on { color: var(--navy); }
.pdp-tabs__bar button.is-on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--sky); }
.pdp-tabs__panel { padding: 22px 26px 26px; }
.pdp-tabs__panel h3 { margin: 0 0 12px; font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }
.pdp-tabs__panel > h3:not(:first-child), .prose h3 { margin-top: 18px; }
.spec-table { width: 100%; max-width: 720px; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; background: var(--bg-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table .link-btn { margin-inline-start: 8px; }
.feature-list { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; line-height: 1.6; }
.feature-list li::marker { color: var(--sky-2); }
.feature-list strong { color: var(--ink); }
.package-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.package-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.package-list .ico { width: 18px; height: 18px; color: var(--success); flex: none; }
@media (max-width: 640px) { .pdp-tabs__panel { padding: 18px 16px 20px; } .pdp-tabs__bar { padding: 0 6px; } .pdp-tabs__bar button { padding: 14px 10px 12px; } }

/* ---------------- Ampy chat assistant ---------------- */
.chat-fab { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 86; display: flex; align-items: center; gap: 8px; height: 58px; padding: 6px 18px 6px 6px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 14px 34px rgba(12, 44, 79, .35); transition: transform .25s var(--ease); }
[dir="rtl"] .chat-fab { padding: 6px 6px 6px 18px; }
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab img { width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 3px; }
.chat-open .chat-fab { display: none; }
.chat { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 125; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100svh - 120px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px rgba(8, 32, 59, .3); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom left; transition: opacity .25s var(--ease), transform .25s var(--ease); }
[dir="rtl"] .chat { transform-origin: bottom right; }
.chat.is-open { opacity: 1; transform: none; }
.chat[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: linear-gradient(120deg, var(--navy), var(--navy-3)); color: #fff; }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 3px; }
.chat__head div { flex: 1; display: grid; line-height: 1.25; }
.chat__head small { color: #b8d4ea; font-size: .78rem; display: flex; align-items: center; gap: 5px; }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }
.chat__icon { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.chat__icon:hover { background: rgba(255, 255, 255, .22); }
.chat__icon .ico { width: 18px; height: 18px; }
.chat__body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); overscroll-behavior: contain; }
.chat-msg { max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: .92rem; line-height: 1.55; word-wrap: break-word; }
.chat-msg p { margin: 0 0 6px; } .chat-msg p:last-child { margin: 0; }
.chat-msg ul, .chat-msg ol { margin: 4px 0; padding-inline-start: 18px; }
.chat-msg a { color: var(--sky-2); font-weight: 700; text-decoration: underline; }
.chat-msg--assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-end-start-radius: 4px; color: var(--text); }
.chat-msg--user { align-self: flex-end; background: var(--navy); color: #fff; border-end-end-radius: 4px; }
.chat-msg--user a { color: #fff; }
.chat-msg.error { border-color: #f6c4c5; background: #fff5f5; color: var(--danger); }
.chat-typing { display: flex; gap: 4px; padding: 12px 14px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatDot 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; } .chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-cards { display: grid; gap: 6px; align-self: stretch; }
.chat-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.chat-card img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.chat-card div { min-width: 0; display: grid; }
.chat-card__name { font-size: .84rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-card__price { font-size: .8rem; color: var(--muted); }
.chat-card button { padding: 6px 10px; border: 0; border-radius: 999px; background: var(--sky-soft); color: var(--navy); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.chat-card button:hover { background: var(--sky); }
.chat-order { display: grid; gap: 6px; }
.chat-order strong { color: var(--success); }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; background: var(--bg-2); }
.chat__chips[hidden] { display: none; }
.chat__chips button { padding: 6px 11px; border: 1px solid var(--sky-line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.chat__chips button:hover { border-color: var(--sky); background: var(--sky-soft); }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat__form textarea { flex: 1; resize: none; max-height: 120px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: .92rem; background: var(--bg-2); }
.chat__form textarea:focus { outline: none; border-color: var(--sky); background: #fff; }
.chat__form button { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; }
.chat__form button .ico { width: 18px; height: 18px; }
.chat__foot { margin: 0; padding: 0 12px 10px; font-size: .72rem; color: var(--muted); background: #fff; }
.chat__foot a { color: var(--wa); font-weight: 700; }
@media (max-width: 640px) {
  .chat-fab { bottom: 16px; inset-inline-start: 16px; height: 52px; }
  .chat-fab img { width: 40px; height: 40px; }
  .chat-fab__label { display: none; }
  .chat-fab, [dir="rtl"] .chat-fab { padding: 6px; }
  .page-product .chat-fab { bottom: 84px; }
  .chat { inset: auto 8px 8px 8px; width: auto; height: calc(100svh - 16px); border-radius: 18px; }
  .chat-open, .chat-open body { overflow: hidden; }
}
.chat-msg a.btn { color: #fff; text-decoration: none; justify-self: start; }

/* Ampy intro: flies into the chat button, the button lands, a speech bubble says hello */
.ampy-flyer { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 18px 40px rgba(12, 44, 79, .35); will-change: transform; }
.chat-fab.is-landing { animation: ampyLand .8s cubic-bezier(.34, 1.56, .64, 1); }
.chat-fab.is-landing::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 3px solid var(--sky); animation: ampyRing 1.2s ease-out 2; pointer-events: none; }
@keyframes ampyLand { 0% { transform: translateY(-10px) scale(.92); } 40% { transform: translateY(3px) scale(1.08, .92); } 70% { transform: translateY(-2px) scale(.98, 1.02); } 100% { transform: none; } }
@keyframes ampyRing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.6); } }
.chat-hint { position: fixed; z-index: 87; max-width: min(260px, calc(100vw - 32px)); padding: 11px 14px; border: 0; border-radius: 16px; background: #fff; color: var(--navy); font: inherit; font-size: .9rem; font-weight: 700; line-height: 1.45; text-align: start; cursor: pointer; box-shadow: 0 16px 40px rgba(12, 44, 79, .22); opacity: 0; transform: translateY(8px) scale(.94); transform-origin: bottom left; transition: opacity .3s var(--ease), transform .3s var(--ease); }
[dir="rtl"] .chat-hint { transform-origin: bottom right; }
.chat-hint.is-on { opacity: 1; transform: none; }
.chat-hint::after { content: ''; position: absolute; bottom: -7px; inset-inline-start: 22px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 0 0 3px 0; }
.chat-open .chat-hint { display: none; }

/* pre-order request page */
.prepage__lead { max-width: 760px; color: var(--muted); margin: 0 0 8px; }
.prepage__lists { display: grid; gap: 18px; min-width: 0; }
.prepage__block { padding: 20px; }
.prepage__block h2 { font-size: 1.15rem; margin: 0 0 10px; }
.pre-lines { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.pre-line { display: grid; grid-template-columns: 56px 1fr 74px 36px; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.pre-line img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fff; }
.pre-line__name { font-weight: 600; font-size: .92rem; color: var(--navy); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pre-line input { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 10px; font: inherit; text-align: center; }
.pre-custom { border: 1px dashed var(--line); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.pre-custom__grid { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.pre-custom__grid label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.pre-custom__grid input { padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; min-width: 0; }
.pre-custom__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.pre-custom__file { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--navy); max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__add--pre { background: #fff3d6; color: #a86500; }
.pcard__add--pre:hover { transform: none; background: #a86500; color: #fff; }
@media (max-width: 640px) {
  .pre-custom__grid { grid-template-columns: 1fr; }
  .pre-line { grid-template-columns: 48px 1fr 64px 32px; gap: 8px; }
  .pre-line img { width: 48px; height: 48px; }
}

/* staff only: supplier link next to the product code */
.staff-source { margin-inline-start: 10px; }
.staff-source a { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #fff3d6; color: #a86500; font-size: .82rem; font-weight: 700; text-decoration: none; }
.staff-source a:hover { background: #a86500; color: #fff; }
.staff-source .ico { width: 14px; height: 14px; }

/* staff only: AI description panel on the product page */
.staff-ai { position: fixed; z-index: 140; bottom: 22px; inset-inline-end: 22px; width: min(340px, calc(100vw - 32px)); padding: 14px 16px; border-radius: 16px; background: #0c2c4f; color: #fff; box-shadow: 0 20px 50px rgba(8, 32, 59, .35); font-size: .88rem; }
.staff-ai[hidden] { display: none; }
.staff-ai strong { display: block; padding-inline-end: 22px; }
.staff-ai p { margin: 6px 0 0; color: #b8d4ea; line-height: 1.5; }
.staff-ai__x { position: absolute; top: 8px; inset-inline-end: 10px; border: 0; background: none; color: #fff; font-size: 1.3rem; cursor: pointer; }
.staff-ai__acts { display: flex; gap: 6px; margin-top: 10px; }
.staff-ai__acts button { flex: 1; padding: 7px 8px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.staff-ai__acts button:hover { background: #2ebbfa; color: #0c2c4f; }

/* cart: free delivery progress */
.free-ship { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); font-size: .88rem; font-weight: 600; }
.free-ship.is-done { background: #e3f8ec; color: #11733f; }
.free-ship__bar { display: block; height: 6px; margin-top: 8px; border-radius: 99px; background: rgba(12, 44, 79, .12); overflow: hidden; }
.free-ship__bar i { display: block; height: 100%; border-radius: inherit; background: var(--sky); transition: width .3s; }

/* small category icons in the menus */
.cat-ic { width: 28px; height: 28px; object-fit: contain; flex: none; border-radius: 8px; background: #fff; }
.mega__root a > span, .drawer__cat summary > span { flex: 1; margin-inline-start: 10px; }
.catnav__quick .cat-ic { width: 22px; height: 22px; border-radius: 6px; }
.filters__cats a { align-items: center; }
.filters__cats a > span { flex: 1; }
.filters__cats .cat-ic { width: 24px; height: 24px; border-radius: 6px; }

/* ================ phones: bottom bar, less floating over content, shorter pages ================ */
.bnav { display: none; }
@media (max-width: 960px) {
  /* 16px stops iPhones zooming the page when a field is tapped */
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; }
}
@media (max-width: 640px) {
  :root { --header-h: 100px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .page-product { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .topbar { display: none; }

  .bnav { position: fixed; inset-inline: 0; bottom: 0; z-index: 44; display: grid; grid-template-columns: 1fr 1fr 64px 1fr 1fr; align-items: center; height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(12, 44, 79, .07); }
  .bnav a, .bnav button { position: relative; display: grid; justify-items: center; gap: 2px; height: 100%; align-content: center; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .68rem; font-weight: 600; cursor: pointer; }
  .bnav .ico { width: 21px; height: 21px; }
  .bnav .is-on { color: var(--sky-2); }
  .bnav__count { position: absolute; top: 5px; inset-inline-start: calc(50% + 4px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--sky-2); color: #fff; font-size: .62rem; line-height: 16px; text-align: center; }
  .page-product .bnav { display: none; }  /* the product page has its own price + add to cart bar */

  /* Ampy docks in the middle of the bar instead of floating over the page */
  .chat-fab, [dir="rtl"] .chat-fab { bottom: calc(10px + env(safe-area-inset-bottom)); inset-inline-start: calc(50% - 26px); width: 52px; height: 52px; }
  .page-product .chat-fab, [dir="rtl"] .page-product .chat-fab { bottom: calc(80px + env(safe-area-inset-bottom)); inset-inline-start: 12px; width: 46px; height: 46px; padding: 4px; }
  .page-product .chat-fab img { width: 38px; height: 38px; }
  .chat-hint { left: 16px !important; right: 16px !important; max-width: none; text-align: center; }
  .chat-hint::after { inset-inline-start: calc(50% - 7px); }
  .page-product .chat-hint::after { inset-inline-start: 22px; }
  .wa-float { width: 46px; height: 46px; bottom: calc(70px + env(safe-area-inset-bottom)); inset-inline-end: 12px; }
  .page-product .wa-float, .float-cart, .page-product .float-cart { display: none; }  /* product page: "Order on WhatsApp" button; cart: bottom bar */
  .toast { bottom: calc(72px + env(safe-area-inset-bottom)); }

  /* home: the first screen shows the whole hero with no gap above or below */
  .hero__sticky { height: calc(100svh - 170px); min-height: 500px; max-height: 640px; }
  .hero__grid { padding-top: 6px; grid-template-rows: 38% 62%; }
  .hero__nav { bottom: 8px; }
  .section { padding: 30px 0; }
  .section-head { margin-bottom: 14px; gap: 2px; }
  .cat-grid { grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 31%; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-card { scroll-snap-align: start; }
  .pillars { gap: 12px; }
  .pillar { padding: 18px; border-radius: 16px; }
  .pillar h3 { font-size: 1.1rem; }
  .pillar::after { display: none; }

  /* product cards: only the heart on the photo */
  .pcard__acts .pact[data-copy-link] { display: none; }
  .pact { width: 34px; height: 34px; }

  /* footer: the categories are already in the menu */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__grid > div:nth-child(3) { display: none; }
  .footer__grid > div:nth-child(2) { grid-column: 1 / -1; }
  .footer__grid > div:nth-child(2) ul { columns: 2; }
  .footer__grid a { display: inline-block; padding: 3px 0; }
}
@media (max-width: 640px) {
  /* product page: Ampy sits on the empty side, never on top of the price */
  .page-product .chat-fab, [dir="rtl"] .page-product .chat-fab { inset-inline-start: auto; inset-inline-end: 12px; }
  .page-product .chat-hint::after { inset-inline-start: auto; inset-inline-end: 22px; }
  /* forms: nothing floats over "Place order" / "Send" */
  .page-cart .wa-float, .page-preorder .wa-float, .page-contact .wa-float { display: none; }
  .hero__sticky { height: calc(100svh - 225px); min-height: 480px; }
}
