/* Al Doctor Market – landing page. Everything is scoped under .adm so the theme can't leak in. */
/* Alexandria (SIL OFL, see fonts/OFL.txt) ships with the plugin: one variable file per script, no trip to Google. */
@font-face {
  font-family: "Alexandria"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/alexandria-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Alexandria"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/alexandria-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.adm {
  --blue: #1b33b5;
  --blue-600: #1529a0;
  --blue-800: #0d1e6e;
  --navy: #0a1650;
  --floor: #2443c6;
  --yellow: #ffe600;
  --yellow-600: #f5d400;
  --orange: #ff6a00;
  --orange-700: #c2410c;
  --red: #e3141b;
  --red-700: #b80d14;
  --wa: #15803d;
  --wa-600: #116b33;
  --ink: #0b1238;
  --muted: #586087;
  --line: #e2e6f3;
  --bg: #f2f4fb;
  --card: #fff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 18, 56, .06), 0 8px 24px rgba(11, 18, 56, .08);
  --font: "Alexandria", "Cairo", "Tahoma", system-ui, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow-x: clip;
}
.adm *, .adm *::before, .adm *::after { box-sizing: border-box; }
.adm :where(h1, h2, h3, p, ul, ol, li, figure, form, label) { margin: 0; padding: 0; }
.adm :where(ul, ol) { list-style: none; }
.adm :where(h1, h2, h3) { font-family: var(--font); color: inherit; letter-spacing: 0; text-transform: none; line-height: 1.25; }
/* Resets use :where() so they beat theme element rules but never our own component classes. */
.adm :where(img) { max-width: 100%; height: auto; display: block; border: 0; border-radius: 0; box-shadow: none; }
.adm :where(a) { color: inherit; text-decoration: none; }
.adm :where(button, input, select) { font: inherit; color: inherit; margin: 0; }
.adm :where(button) { cursor: pointer; background: none; border: 0; padding: 0; box-shadow: none; text-transform: none; letter-spacing: 0; }
.adm :where(svg) { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.adm [hidden] { display: none !important; }
.adm :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 10px; }
/* yellow ring on the dark blocks, blue again inside the white form card */
.adm :where(.adm-top, .adm-hero, .adm-lead, .adm-footer, .adm-bar) :focus-visible { outline-color: var(--yellow); }
.adm :where(.adm-lead .adm-form) :focus-visible { outline-color: var(--blue); }
.adm :where(b, strong) { font-weight: 800; }
body.adm-canvas { margin: 0; background: #f2f4fb; }

.adm-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- buttons ---------- */
.adm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.adm-btn:active { transform: scale(.97); }
.adm-btn--lg { min-height: 54px; padding: 14px 26px; font-size: 17px; }
.adm-btn--block { width: 100%; }
.adm-btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 0 var(--yellow-600) inset, 0 8px 22px rgba(255, 230, 0, .35); }
.adm-btn--yellow:hover { background: #fff04d; }
.adm-btn--wa { background: var(--wa); color: #fff; }
.adm-btn--wa:hover { background: var(--wa-600); }
.adm-btn--blue { background: var(--blue); color: #fff; }
.adm-btn--blue:hover { background: var(--blue-600); }
.adm-btn--ghost { background: #eef1fb; color: var(--blue); box-shadow: inset 0 0 0 1.5px #cfd7f5; }
.adm-btn--ghost:hover { background: #e2e7fa; }

/* ---------- top bar ---------- */
.adm-top { background: var(--navy); color: #fff; font-size: 13px; }
.adm-top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.adm-top__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; line-height: 1.2; }
.adm-top__brand img { width: 30px; height: auto; }
.adm-top__brand small { display: block; font-weight: 400; font-size: 11px; opacity: .7; }
.adm-top__note { display: none; align-items: center; gap: 8px; opacity: .9; }
.adm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255, 230, 0, .6); animation: adm-pulse 1.8s infinite; }
@keyframes adm-pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 230, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 230, 0, 0); } }
.adm-top__call { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 700; direction: ltr; }
.adm-top__call:hover { background: rgba(255, 255, 255, .18); }

/* ---------- hero ---------- */
.adm-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(60% 50% at 25% 85%, rgba(80, 115, 255, .55), transparent 70%),
    linear-gradient(180deg, var(--blue-800) 0%, var(--blue) 62%, var(--floor) 62.2%, #3050d6 100%);
  padding: 28px 0 0;
}
.adm-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; text-align: center; padding-bottom: 26px; }
/* phones: products right under the headline, then the pitch and buttons */
.adm-hero__copy { display: contents; }
.adm-hero__logo { order: 1; }
.adm-hero__title { order: 2; }
.adm-hero__art { order: 3; }
.adm-hero__sub { order: 4; }
.adm-hero__cta { order: 5; }
.adm-countdown { order: 6; }
.adm-trust { order: 7; }
.adm-hero__logo { width: 104px; margin: 0 auto 12px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25)); }
.adm-hero__title { font-size: clamp(28px, 7.4vw, 56px); font-weight: 900; line-height: 1.2; }
.adm-hl { display: inline-block; color: var(--navy); background: var(--yellow); padding: 0 .28em .06em; border-radius: .2em; transform: rotate(-2deg); margin-bottom: .12em; }
.adm-hero__sub { margin: 0 auto 18px; max-width: 34em; font-size: clamp(15px, 3.9vw, 19px); color: rgba(255, 255, 255, .88); }
.adm-hero__sub b { color: var(--yellow); }
.adm-hero__cta { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; width: 100%; max-width: 440px; margin: 0 auto; }
.adm-hero__cta .adm-btn--lg { padding-inline: 12px; font-size: 16px; }
.adm-wide { display: none; }
@media (min-width: 420px) { .adm-wide { display: inline; } }
.adm-hero__cta svg { width: 1.3em; height: 1.3em; }

.adm-countdown { margin: 20px auto 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.adm-countdown__label { font-size: 14px; color: rgba(255, 255, 255, .85); }
.adm-countdown__boxes { display: flex; gap: 8px; direction: rtl; }
.adm-countdown__boxes span { display: grid; place-items: center; min-width: 62px; padding: 8px 6px; border-radius: 14px; background: rgba(10, 22, 80, .55); border: 1px solid rgba(255, 255, 255, .14); }
.adm-countdown__boxes b { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--yellow); }
.adm-countdown__boxes small { font-size: 11px; opacity: .8; }

.adm-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.adm-trust li { display: flex; align-items: baseline; gap: 5px; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; white-space: nowrap; }
.adm-trust b { color: var(--yellow); font-size: 15px; }

.adm-hero__art { position: relative; height: 300px; margin: 6px 0 10px; }
.adm-sticker {
  position: absolute; z-index: 5; top: 6px; left: max(4px, calc(50% - 175px));
  width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; color: var(--navy);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, .08), transparent 45%),
    var(--yellow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transform: rotate(-10deg);
  animation: adm-wobble 4s ease-in-out infinite;
}
.adm-sticker small { font-size: 13px; font-weight: 700; }
.adm-sticker b { font-size: 38px; font-weight: 900; line-height: 1; direction: ltr; }
@keyframes adm-wobble { 50% { transform: rotate(-4deg) scale(1.04); } }

.adm-hero__art { z-index: 1; }
.adm-stack { position: absolute; inset: 0; }
.adm-stack__card {
  position: absolute; left: 0; right: 0; margin-inline: auto; top: 20px; width: min(250px, 62%); aspect-ratio: 1; padding: 0;
  border-radius: 22px; overflow: hidden; border: 4px solid rgba(255, 255, 255, .92);
  box-shadow: 0 24px 50px rgba(5, 12, 50, .45);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .7s ease;
  cursor: pointer; background: var(--blue);
}
.adm-stack__card img { width: 100%; height: 100%; object-fit: cover; }
.adm-stack__card[data-pos="0"] { z-index: 4; transform: translateX(0) rotate(0) scale(1); }
.adm-stack__card[data-pos="1"] { z-index: 3; transform: translateX(-36%) rotate(-9deg) scale(.84); opacity: .95; }
.adm-stack__card[data-pos="2"] { z-index: 2; transform: translateX(36%) rotate(9deg) scale(.84); opacity: .95; }
.adm-stack__card[data-pos="3"] { z-index: 1; transform: translateY(14px) scale(.7); opacity: 0; }

/* ---------- ticker ---------- */
.adm-ticker { background: var(--yellow); color: var(--navy); overflow: hidden; white-space: nowrap; border-block: 3px solid var(--navy); }
.adm-ticker__track { display: inline-flex; min-height: 44px; animation: adm-marquee 38s linear infinite; }
.adm-ticker__track span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; font-weight: 800; font-size: 15px; }
.adm-ticker__track span::after { content: "✦"; color: var(--orange); margin-inline-start: 18px; }
.adm-ticker__track b { color: var(--red-700); }
@keyframes adm-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- sticky category nav ---------- */
.adm-nav { position: sticky; top: 0; z-index: 40; background: rgba(242, 244, 251, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
body.admin-bar .adm-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .adm-nav { top: 0; } }
.adm-nav__in { display: flex; align-items: center; min-height: 61px; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.adm-nav__in::-webkit-scrollbar { display: none; }
.adm-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; scroll-snap-align: start;
  padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.adm-chip small { font-weight: 500; font-size: 12px; color: var(--muted); }
.adm-chip:hover { border-color: var(--blue); }
.adm-chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.adm-chip.is-active small { color: var(--yellow); }
.adm-chip--hot { background: var(--yellow); border-color: var(--yellow-600); color: var(--navy); }

/* ---------- section heads ---------- */
.adm-head { margin-bottom: 16px; }
.adm-head h2 { font-size: clamp(22px, 5.5vw, 34px); font-weight: 900; color: var(--navy); }
.adm-head p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.adm-head--center { text-align: center; }

/* ---------- top deals rail ---------- */
.adm-deals { padding: 28px 0 8px; }
.adm-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px 16px 18px; scroll-padding-inline: 16px;
}
.adm-rail::-webkit-scrollbar { display: none; }
.adm-rail > * { scroll-snap-align: start; }

/* ---------- offers ---------- */
.adm-offers { padding: 18px 0 24px; }
.adm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.adm-toolbar__title { font-size: clamp(22px, 5.5vw, 34px); font-weight: 900; color: var(--navy); }
.adm-seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.adm-seg button { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); }
.adm-seg button[aria-checked="true"] { background: var(--navy); color: #fff; }

.adm-sec { padding-top: 26px; scroll-margin-top: 64px; }
.adm-sechead { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 2 / 1; background: var(--blue); }
.adm-sechead img { width: 100%; height: 100%; object-fit: cover; }
.adm-sechead--custom {
  display: flex; align-items: center; color: #fff;
  background: linear-gradient(180deg, var(--blue-800) 0%, var(--blue) 66%, var(--floor) 66.2%, #3050d6 100%);
  container-type: inline-size;
}
.adm-sechead__txt { position: relative; z-index: 2; width: 50%; padding-inline: 0 5cqw; margin-inline-start: auto; text-align: center; order: 2; }
.adm-sechead__txt strong { display: block; font-size: 7.4cqw; font-weight: 900; line-height: 1.15; }
.adm-sechead__txt strong span { color: var(--yellow); }
.adm-sechead__txt p { font-size: 2.6cqw; opacity: .85; margin-top: .6cqw; }
.adm-from { display: inline-flex; align-items: center; gap: 1.6cqw; margin-top: 1.6cqw; direction: rtl; }
.adm-from span { font-size: 3cqw; line-height: 1.1; text-align: center; font-weight: 600; }
.adm-from b { font-size: 12cqw; line-height: 1; font-weight: 900; color: var(--yellow); letter-spacing: -.02em; }
.adm-from i { font-style: normal; font-size: 3cqw; font-weight: 800; color: var(--yellow); writing-mode: vertical-rl; }
.adm-sechead__fan { position: relative; width: 50%; height: 100%; order: 1; }
.adm-sechead__fan img { position: absolute; width: 46%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 3cqw; border: .6cqw solid rgba(255, 255, 255, .9); box-shadow: 0 2cqw 4cqw rgba(5, 12, 50, .4); top: 50%; left: 50%; }
.adm-sechead__fan img:nth-child(1) { transform: translate(-95%, -50%) rotate(-10deg); }
.adm-sechead__fan img:nth-child(2) { transform: translate(-5%, -50%) rotate(10deg); }
.adm-sechead__fan img:nth-child(3) { transform: translate(-50%, -54%) scale(1.12); z-index: 2; }

.adm-sectitle { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 2px 12px; }
.adm-sectitle h2 { font-size: clamp(20px, 5vw, 28px); font-weight: 900; color: var(--navy); }
.adm-sectitle p { color: var(--muted); font-size: 13px; white-space: nowrap; }
.adm-sectitle p b { color: var(--orange-700); }

.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* ---------- card ---------- */
.adm-card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.adm-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 18, 56, .06), 0 16px 36px rgba(11, 18, 56, .14); }
.adm-card.is-added { box-shadow: 0 0 0 3px var(--yellow), var(--shadow); }
.adm-card__media { position: relative; display: block; width: 100%; aspect-ratio: 1; background: var(--blue); overflow: hidden; }
.adm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.adm-card:hover .adm-card__media img { transform: scale(1.04); }
.adm-card__off { position: absolute; z-index: 1; top: 8px; right: 8px; pointer-events: none; padding: 3px 9px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: 13px; direction: ltr; }
.adm-card__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 12px; flex: 1; }
.adm-card__code { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .03em; direction: ltr; text-align: right; }
.adm-card__title { font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.adm-parts { display: flex; flex-wrap: wrap; gap: 4px; }
.adm-parts li { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #eef1fb; color: var(--blue-600); font-weight: 600; }
.adm-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; }
.adm-price b { font-size: 21px; font-weight: 900; color: var(--blue); line-height: 1.1; }
.adm-price b small { font-size: 12px; font-weight: 700; margin-inline-start: 3px; }
.adm-price s { font-size: 13px; color: var(--red); text-decoration-thickness: 2px; }
.adm-save { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--navy); background: var(--yellow); padding: 2px 9px; border-radius: 6px; }
.adm-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 4px; }
.adm-card__actions .adm-btn { min-height: 42px; padding: 8px 10px; font-size: 14px; }
.adm-add { width: 42px; padding: 0 !important; font-size: 24px !important; font-weight: 800; }
.adm-add .adm-add__txt { display: none; }
.adm-add[aria-pressed="true"] { background: var(--yellow); color: var(--navy); }

/* rail cards are a bit tighter */
.adm-rail .adm-card__parts { display: none; }

/* ---------- steps ---------- */
.adm-steps { padding: 40px 0; }
.adm-steps__list { display: grid; gap: 12px; counter-reset: s; }
.adm-steps__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.adm-steps__list i { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--yellow); font-style: normal; font-weight: 900; font-size: 20px; }
.adm-steps__list h3 { font-size: 18px; font-weight: 800; color: var(--navy); }
.adm-steps__list p { color: var(--muted); font-size: 14px; }

/* ---------- lead ---------- */
.adm-lead { background: linear-gradient(160deg, var(--blue-800), var(--blue)); color: #fff; padding: 44px 0; }
.adm-lead__grid { display: grid; gap: 22px; align-items: center; }
.adm-lead__copy { text-align: center; }
.adm-lead__copy img { width: 92px; margin: 0 auto 12px; }
.adm-lead__copy h2 { font-size: clamp(26px, 6vw, 40px); font-weight: 900; }
.adm-lead__copy p { opacity: .88; margin-top: 8px; max-width: 30em; margin-inline: auto; }
.adm-card-box { background: #fff; color: var(--ink); border-radius: 22px; padding: 20px; box-shadow: 0 20px 50px rgba(5, 12, 50, .35); }

.adm-form { display: grid; gap: 12px; }
.adm-field { display: grid; gap: 6px; }
.adm-field > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.adm-field input, .adm-field select {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #f8f9fd; font-size: 16px; color: var(--ink); box-shadow: none; outline: none; text-align: right;
}
.adm-field input[dir="ltr"] { text-align: left; }
.adm-field input:focus, .adm-field select:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(27, 51, 181, .12); }
.adm-field.is-invalid input { border-color: var(--red); background: #fff5f5; }
.adm-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.adm-form__msg { font-size: 14px; font-weight: 600; min-height: 1.2em; text-align: center; }
.adm-form__msg.is-error { color: var(--red); }
.adm-form button[disabled] { opacity: .7; pointer-events: none; }

/* ---------- branches ---------- */
.adm-branches { padding: 40px 0; }
.adm-branches__grid { display: grid; gap: 12px; }
.adm-branch { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.adm-branch h3 { font-size: 17px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.adm-branch h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--blue); }
.adm-branch p { color: var(--muted); font-size: 14px; }
.adm-branch__links { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.adm-branch__links .adm-btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }

/* ---------- footer ---------- */
.adm-footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 32px 0 110px; text-align: center; }
.adm-footer__in { display: grid; gap: 16px; justify-items: center; }
.adm-footer__brand { display: flex; align-items: center; gap: 18px; }
.adm-footer__brand img { height: 56px; width: auto; }
.adm-footer__social { display: flex; gap: 10px; }
.adm-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.adm-footer__social a:hover { background: var(--yellow); color: var(--navy); }
.adm-footer__legal { font-size: 12px; opacity: .7; }

/* ---------- bottom bar ---------- */
.adm-bar {
  position: fixed; z-index: 60; left: 50%; bottom: 10px; transform: translate(-50%, 140%);
  display: grid; grid-template-columns: auto auto 1fr; gap: 6px; width: calc(100% - 20px); max-width: 560px;
  padding: 6px; border-radius: 22px; background: rgba(10, 22, 80, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(5, 12, 50, .4); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px) * .5);
}
.adm-bar.is-on { transform: translate(-50%, 0); }
.adm-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 14px; border-radius: 16px; color: #fff; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .1); }
.adm-bar__btn--wa { background: var(--wa); }
.adm-bar__btn--cart { background: rgba(255, 255, 255, .1); }
.adm-bar__btn--cart em { font-style: normal; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.adm-bar.has-items .adm-bar__btn--cart { background: var(--yellow); color: var(--navy); }
.adm-bar:not(.has-items) .adm-bar__btn--cart em { display: none; }
.adm-bar.has-items .adm-bar__btn--cart em { background: var(--navy); color: var(--yellow); }
.adm-bar__btn--cart.is-bump { animation: adm-bump .45s ease; }
@keyframes adm-bump { 40% { transform: scale(1.08); } }

/* ---------- overlay / sheet / modal ---------- */
.adm-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(5, 10, 40, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.adm-sheet {
  position: fixed; z-index: 90; inset: auto 0 0 0; max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 50px rgba(5, 12, 50, .3); animation: adm-up .3s cubic-bezier(.2, .8, .2, 1);
}
@keyframes adm-up { from { transform: translateY(40px); opacity: 0; } }
.adm-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; border-bottom: 1px solid var(--line); }
.adm-sheet__head h2 { font-size: 20px; font-weight: 900; color: var(--navy); }
.adm-sheet__body { overflow-y: auto; padding: 14px 18px calc(22px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; overscroll-behavior: contain; }
.adm-x { width: 40px; height: 40px; border-radius: 50%; background: #eef1fb; font-size: 24px; line-height: 1; color: var(--navy); display: grid; place-items: center; }
.adm-cart__empty { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 18px 0; color: var(--muted); }
.adm-cart__list { display: grid; gap: 10px; }
.adm-cart__item { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: #f6f7fc; }
.adm-cart__item img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; }
.adm-cart__item h4 { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.4; }
.adm-cart__item p { margin: 2px 0 0; font-size: 13px; color: var(--blue); font-weight: 800; }
.adm-cart__item p s { color: var(--red); font-weight: 500; margin-inline-start: 6px; font-size: 12px; }
.adm-cart__rm { width: 34px; height: 34px; border-radius: 50%; color: var(--muted); font-size: 20px; }
.adm-cart__rm:hover { background: #fff; color: var(--red); }
.adm-cart__sum { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--navy); color: #fff; }
.adm-cart__sum div { display: flex; justify-content: space-between; font-size: 14px; }
.adm-cart__sum div b { font-size: 18px; }
.adm-cart__sum .is-save b { color: var(--yellow); }
.adm-done { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 18px 0; }
.adm-done__ic { width: 68px; height: 68px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 34px; }
.adm-done h3 { font-size: 22px; font-weight: 900; color: var(--navy); }
.adm-done p { color: var(--muted); }

.adm-modal { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 12px; pointer-events: none; }
.adm-modal__inner {
  pointer-events: auto; width: 100%; max-width: 920px; max-height: calc(100dvh - 24px); overflow-y: auto;
  background: #fff; border-radius: 24px; display: grid; animation: adm-up .3s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 30px 80px rgba(5, 12, 50, .45);
}
.adm-modal__img { aspect-ratio: 1; background: var(--blue); }
.adm-modal__img img { width: 100%; height: 100%; object-fit: cover; }
.adm-modal__info { padding: 18px 18px 22px; display: grid; gap: 10px; align-content: start; }
.adm-modal__info h3 { font-size: 22px; font-weight: 900; color: var(--navy); }
.adm-modal__info .adm-price b { font-size: 32px; }
.adm-modal__info .adm-price s { font-size: 16px; }
.adm-modal__info .adm-parts li { font-size: 13px; padding: 4px 10px; }
.adm-modal__actions { display: grid; gap: 8px; margin-top: 6px; }
.adm-modal__note { font-size: 12px; color: var(--muted); }
.adm-modal__x { position: fixed; top: 16px; left: 16px; z-index: 92; pointer-events: auto; background: #fff; box-shadow: var(--shadow); }
.adm-modal__nav { position: fixed; top: 50%; z-index: 92; pointer-events: auto; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 30px; line-height: 1; display: none; place-items: center; box-shadow: var(--shadow); }
.adm-modal__nav--prev { right: 16px; }
.adm-modal__nav--next { left: 16px; }

.adm-toast { position: fixed; z-index: 100; left: 50%; bottom: 90px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: opacity .25s, transform .25s; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.adm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

html.adm-lock, html.adm-lock body { overflow: hidden; }

/* ---------- reveal on scroll ---------- */
.adm-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.adm-reveal.is-in { opacity: 1; transform: none; }

/* ---------- ≥ 640px ---------- */
@media (min-width: 640px) {
  .adm-top__note { display: flex; }
  .adm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .adm-rail { grid-auto-columns: 30%; }
  .adm-steps__list { grid-template-columns: repeat(3, 1fr); }
  .adm-steps__list li { grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: 8px; }
  .adm-steps__list i { grid-row: auto; }
  .adm-branches__grid { grid-template-columns: repeat(2, 1fr); }
  .adm-card__body { padding: 12px 14px 14px; }
  .adm-add { width: auto; padding: 8px 12px !important; font-size: 14px !important; gap: 4px; }
  .adm-add .adm-add__txt { display: inline; }
  .adm-add .adm-add__ic { font-size: 18px; }
}

/* ---------- ≥ 960px ---------- */
@media (min-width: 960px) {
  .adm-hero { padding-top: 40px; }
  .adm-hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 560px; text-align: right; padding-bottom: 0; }
  .adm-hero__copy { display: block; position: relative; z-index: 2; padding-bottom: 56px; }
  .adm-hero__cta { display: flex; width: auto; max-width: none; }
  .adm-hero__cta .adm-btn--lg { padding-inline: 26px; font-size: 17px; }
  .adm-trust li { padding: 8px 14px; font-size: 13px; }
  .adm-trust b { font-size: 17px; }
  .adm-hero__logo { width: 150px; margin: 0 0 16px; }
  .adm-hero__title { font-size: clamp(34px, 4.1vw, 52px); }
  .adm-hero__sub { margin-inline: 0; font-size: 17px; }
  .adm-hero__cta { justify-content: flex-start; }
  .adm-countdown { align-items: flex-start; margin-inline: 0; }
  .adm-trust { justify-content: flex-start; }
  .adm-hero__art { height: 560px; margin: 0; }
  .adm-stack__card { width: min(380px, 66%); top: 70px; }
  .adm-sticker { width: 150px; height: 150px; top: 24px; left: 4%; }
  .adm-sticker b { font-size: 50px; }
  .adm-sticker small { font-size: 15px; }
  .adm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .adm-nav__in { gap: 6px; justify-content: safe center; }
  .adm-chip { padding: 8px 12px; font-size: 13.5px; }
  .adm-chip small { display: none; }
  .adm-rail { grid-auto-columns: calc((min(100vw, 1200px) - 32px - 54px) / 4.3); padding-inline: max(16px, calc((100vw - 1200px) / 2 + 16px)); scroll-padding-inline: max(16px, calc((100vw - 1200px) / 2 + 16px)); }
  .adm-card__title { font-size: 15px; }
  .adm-price b { font-size: 24px; }
  .adm-sec { padding-top: 40px; }
  .adm-sechead { aspect-ratio: 2.6 / 1; }
  .adm-sechead--custom { aspect-ratio: 2.6 / 1; }
  .adm-lead__grid { grid-template-columns: 1fr 440px; gap: 48px; }
  .adm-lead__copy { text-align: right; }
  .adm-lead__copy img { margin: 0 0 14px; }
  .adm-lead__copy p { margin-inline: 0; }
  .adm-branches__grid { grid-template-columns: repeat(4, 1fr); }
  .adm-footer { padding-bottom: 100px; }
  .adm-sheet { inset: 0 auto 0 0; width: 440px; max-height: none; height: 100%; border-radius: 0 24px 24px 0; animation-name: adm-side; }
  @keyframes adm-side { from { transform: translateX(-40px); opacity: 0; } }
  .adm-modal__inner { grid-template-columns: 1.1fr 1fr; }
  .adm-modal__info { padding: 28px; align-content: center; }
  .adm-modal__nav { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .adm *, .adm *::before, .adm *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .adm-reveal { opacity: 1; transform: none; }
}
