/* =====================================================
  QuettaStore - main stylesheet
   Colour themes live in the two blocks at the top.
   ===================================================== */

:root,
[data-theme="light"] {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-2: #efece3;
  --ink: #121a33;
  --muted: #566080;
  --line: #e2ddd0;
  --primary: #ff8a1f;          /* electric orange */
  --primary-hover: #ff7a00;
  --on-primary: #121a33;       /* dark text on orange = high contrast */
  --navy: #14204a;
  --on-navy: #ffffff;
  --accent: #0b9d8f;           /* teal for "new" / success */
  --accent-soft: #d9f3ef;
  --danger: #c62f3b;
  --danger-soft: #fde8ea;
  --wa: #1fa855;
  --on-wa: #ffffff;
  --shadow: 0 1px 2px rgba(18, 26, 51, .06), 0 8px 24px rgba(18, 26, 51, .08);
  --shadow-lg: 0 20px 60px rgba(18, 26, 51, .25);
  --hero-glow: radial-gradient(60% 60% at 85% 10%, rgba(255, 138, 31, .28), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(11, 157, 143, .16), transparent 70%);
  --hl: #e56a00;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a1022;
  --surface: #131b36;
  --surface-2: #1a2447;
  --ink: #eef1fb;
  --muted: #a1abcd;
  --line: #27335e;
  --primary: #ff9a3d;
  --primary-hover: #ffae61;
  --on-primary: #0a1022;
  --navy: #3d5afe;
  --on-navy: #ffffff;
  --accent: #35d3c2;
  --accent-soft: #0f3a3b;
  --danger: #ff7b86;
  --danger-soft: #3a1c26;
  --wa: #2bd36f;
  --on-wa: #06210f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .7);
  --hero-glow: radial-gradient(60% 60% at 85% 10%, rgba(255, 154, 61, .20), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(61, 90, 254, .25), transparent 70%);
  --hl: #ffb066;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  transition: background .25s, color .25s;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: "Sora", "DM Sans", system-ui, sans-serif; line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 .6em; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; border-radius: 12px;
  padding: 12px 20px; font-weight: 700; text-decoration: none; line-height: 1.1;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  min-height: 46px;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px -6px var(--primary); }
.btn--primary:hover:not(:disabled) { background: var(--primary-hover); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--wa { background: var(--wa); color: var(--on-wa); }
.btn--wa:hover { filter: brightness(1.07); }
.btn--sm { padding: 9px 14px; min-height: 40px; font-size: .92rem; border-radius: 10px; }
.btn--lg { padding: 15px 24px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.link-btn { background: none; border: 0; padding: 4px 6px; color: var(--hl); font-weight: 700; font-size: .85rem; text-decoration: underline; }
.link-btn--danger { color: var(--danger); margin-left: auto; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 1.4rem; line-height: 1;
}
.icon-btn:hover { border-color: var(--primary); }

/* ---------- ticker ---------- */
.ticker { background: var(--navy); color: var(--on-navy); overflow: hidden; font-size: .85rem; font-weight: 500; }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker__track span { padding: 8px 28px; white-space: nowrap; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .25); }
.header__row { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: var(--on-primary); transform: rotate(-6deg); }
.brand__text { font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.1rem; line-height: 1; display: flex; flex-direction: column; gap: 3px; }
.brand__text b { font-weight: 800; }
.brand__text small { font-family: "DM Sans", sans-serif; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.brand--footer .brand__text { flex-direction: row; gap: 5px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.header__actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--navy); color: var(--on-navy); font-weight: 700; }
.cart-btn:hover { filter: brightness(1.12); }
.badge { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: var(--primary); color: var(--on-primary); font-size: .75rem; font-weight: 800; border: 2px solid var(--bg); }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--hero-glow); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .35; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 6vw, 76px); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hl); margin-bottom: 10px; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 800; margin-bottom: 18px; }
.hl { color: var(--hl); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .14em; background: var(--primary); opacity: .45; border-radius: 4px; z-index: -1; }
.lead { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted); max-width: 52ch; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; font-weight: 600; font-size: .92rem; color: var(--muted); }

/* ad carousel */
.ad { position: relative; border-radius: 26px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; isolation: isolate; }
.ad__label { position: absolute; z-index: 5; top: 14px; left: 14px; display: flex; align-items: center; gap: 8px; background: rgba(10, 16, 34, .72); color: #fff; padding: 6px 12px; border-radius: 99px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #35d3c2; box-shadow: 0 0 0 0 rgba(53, 211, 194, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(53, 211, 194, 0); } 100% { box-shadow: 0 0 0 0 rgba(53, 211, 194, 0); } }
.ad__viewport { position: absolute; inset: 0; }
.ad__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.ad__slide.is-active { opacity: 1; pointer-events: auto; }
.ad__slide img { width: 100%; height: 100%; object-fit: cover; }
.ad__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 12, 28, .92) 5%, rgba(8, 12, 28, .25) 55%, transparent); }
.ad__info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 20px 20px 66px; color: #fff; display: grid; gap: 6px; justify-items: start; }
.ad__info h3 { font-size: clamp(1.15rem, 2.6vw, 1.55rem); }
.ad__info p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.ad__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.ad__price b { font-family: "Sora", sans-serif; font-size: 1.35rem; color: var(--primary); }
.ad__price s { color: rgba(255, 255, 255, .6); font-size: .9rem; }
.ad__controls { position: absolute; z-index: 5; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.ad__controls .icon-btn { width: 38px; height: 38px; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(6px); }
.ad__dots { display: flex; gap: 7px; }
.ad__dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); transition: width .25s, background .25s; }
.ad__dots button.is-active { width: 26px; background: var(--primary); }

/* ---------- tags ---------- */
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; }
.tag--new { background: var(--accent); color: #04302b; }
[data-theme="light"] .tag--new { color: #fff; }
.tag--hot { background: var(--primary); color: var(--on-primary); }
.card-p__media .tag { position: absolute; top: 10px; left: 10px; }
.tag--inline { position: static !important; vertical-align: middle; }

/* ---------- trust strip ---------- */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; }
.trust__grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.trust__grid span { grid-row: span 2; font-size: 1.7rem; width: 48px; height: 48px; display: grid; place-items: center; background: var(--surface-2); border-radius: 14px; }
.trust__grid b { font-size: .95rem; }
.trust__grid small { color: var(--muted); font-size: .8rem; line-height: 1.3; }

/* ---------- sections ---------- */
.section { padding-block: clamp(44px, 7vw, 88px); }
.section--alt { background: var(--surface-2); }
.section__head { margin-bottom: 26px; }
.section__head h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }

/* categories */
.cats { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: .92rem; scroll-snap-align: start; transition: all .2s; }
.cat span { font-size: 1.1rem; }
.cat em { font-style: normal; font-size: .75rem; background: var(--surface-2); color: var(--muted); border-radius: 99px; padding: 1px 8px; }
.cat:hover { border-color: var(--primary); }
.cat.is-active { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.cat.is-active em { background: rgba(255, 255, 255, .2); color: inherit; }

/* toolbar */
.toolbar { display: flex; gap: 12px; margin-block: 8px 6px; flex-wrap: wrap; }
.search { flex: 1 1 260px; position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: 12px 14px 12px 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); min-height: 48px; }
.select select { padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); min-height: 48px; }
.result-count { color: var(--muted); font-size: .88rem; margin: 10px 0 14px; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.card-p { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-p:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); }
.card-p__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); aspect-ratio: 4 / 3; overflow: hidden; }
.card-p__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-p:hover .card-p__media img { transform: scale(1.06); }
.card-p__more { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; text-align: center; font-size: .8rem; font-weight: 700; color: #fff; background: linear-gradient(to top, rgba(8, 12, 28, .8), transparent); transform: translateY(100%); transition: transform .25s; }
.card-p:hover .card-p__more, .card-p__media:focus-visible .card-p__more { transform: none; }
.card-p__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.card-p__cat { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.card-p__name { font-size: 1.02rem; font-weight: 700; }
.card-p__name button { background: none; border: 0; padding: 0; text-align: left; font: inherit; letter-spacing: inherit; }
.card-p__name button:hover { color: var(--hl); }
.card-p__short { font-size: .88rem; color: var(--muted); margin: 0 0 4px; }
.card-p__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.card-p__price b { font-family: "Sora", sans-serif; font-size: 1.2rem; }
.card-p__price s { color: var(--muted); font-size: .85rem; }
.stock { font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.stock--low { color: var(--hl); }
.stock--out { color: var(--danger); }
.card-p__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.steps article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.steps i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--primary); color: var(--on-primary); font-style: normal; font-weight: 800; font-family: "Sora", sans-serif; margin-bottom: 12px; }
.steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

.info-grid > *, .contact-grid > *, .hero__grid > * { min-width: 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 18px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 26px); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card--shield { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 55%); }
.ticks { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: .94rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #04302b; font-size: .75rem; font-weight: 900; display: grid; place-items: center; }
[data-theme="light"] .ticks li::before { color: #fff; }

.accounts { display: grid; gap: 10px; margin-top: 12px; }
.acct { border: 1px dashed var(--line); border-radius: 14px; padding: 12px 14px; background: var(--bg); }
.acct__h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.acct p { margin: 0; }
.pay-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .92rem; flex-wrap: wrap; }
.pay-row span { color: var(--muted); min-width: 92px; font-size: .82rem; }
.pay-row b { font-family: "Sora", sans-serif; letter-spacing: .02em; word-break: break-all; }

.table-wrap { overflow-x: auto; margin-top: 10px; border-radius: 12px; }
.rates { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 380px; }
.rates th, .rates td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rates thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rates small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.rates td { font-weight: 700; }
.rates .na { color: var(--muted); font-weight: 400; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.contact-info, .forms { display: grid; gap: 18px; }
.contact-links { display: grid; gap: 10px; }
.chip-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.chip-link:hover { border-color: var(--primary); transform: translateX(3px); }
.chip-link > span { font-size: 1.5rem; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); }
.chip-link small { display: block; color: var(--muted); word-break: break-all; }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.8); }

/* forms */
.form { display: grid; gap: 12px; }
.field, .form label, .captcha { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.field small, .form label small { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], input[type="number"], textarea, select {
  width: 100%; padding: 12px 14px; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 400;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent); }
select { appearance: auto; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.captcha { grid-template-columns: 1fr; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; }
.captcha b { font-family: "Sora", sans-serif; font-size: 1.1rem; color: var(--hl); }
.form-msg { margin: 0; font-weight: 700; font-size: .92rem; }
.form-msg:empty { display: none; }
.form-msg--error { color: var(--danger); background: var(--danger-soft); padding: 10px 14px; border-radius: 10px; }
.form-msg--ok { color: var(--accent); background: var(--accent-soft); padding: 10px 14px; border-radius: 10px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 30px; }
.footer__row { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
.footer__nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.footer__nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; }
.footer__nav a:hover { color: var(--hl); }
.footer p { margin: 4px 0 0; }

.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--on-wa); box-shadow: 0 10px 28px -6px rgba(31, 168, 85, .7); transition: transform .2s; }
.fab:hover { transform: scale(1.08); }

/* ---------- modals ---------- */
dialog.modal { padding: 0; border: 0; border-radius: 24px; background: var(--bg); color: var(--ink); width: min(560px, 96vw); max-height: 94dvh; box-shadow: var(--shadow-lg); overflow: hidden; margin: auto; }
dialog.modal[open] { animation: pop .25s ease; display: block; }
dialog.modal::backdrop { background: rgba(6, 10, 24, .62); backdrop-filter: blur(3px); animation: fade .25s; }
dialog.modal--wide { width: min(1100px, 96vw); }
dialog.modal--wide > div { max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.modal__close { position: absolute; z-index: 10; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.modal__close:hover { border-color: var(--primary); }
.modal__close--inline { position: static; }

/* product modal */
.pm { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(18px, 3vw, 34px); padding: clamp(16px, 3vw, 30px); }
.gallery { min-width: 0; position: sticky; top: 0; align-self: start; }
.gallery__main { border-radius: 18px; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; display: grid; }.gallery__main--video { aspect-ratio: 9 / 16; width: min(100%, 40vh); margin-inline: auto; background: #000; }
.gallery__main--video video { object-fit: contain; }.gallery__main--video { aspect-ratio: 9 / 16; width: min(100%, 40vh); margin-inline: auto; background: #000; }
.gallery__main--video video { object-fit: contain; }
.gallery__main img, .gallery__main video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 30%, transparent); }
.thumb__vid { display: grid; place-items: center; align-content: center; background: var(--navy); color: var(--on-navy); font-size: 1.3rem; }
.thumb__vid small { font-size: .7rem; font-weight: 700; }
.video-ph { display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; padding: 20px; background: linear-gradient(135deg, var(--navy), #0a1022); color: #fff; }
.video-ph span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 1.5rem; padding-left: 4px; }
.video-ph p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .88rem; max-width: 32ch; }
.pm__info { min-width: 0; padding-top: 6px; }
.pm__title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin: 4px 44px 10px 0; }
.pm__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pm__price b { font-family: "Sora", sans-serif; font-size: 1.8rem; color: var(--hl); }
.pm__price s { color: var(--muted); }
.pm__price em { font-style: normal; font-size: .78rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 99px; }
.pm__desc { color: var(--muted); }
.pm__specs { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: .88rem; }
.pm__specs li::before { content: "•"; color: var(--primary); font-weight: 900; margin-right: 8px; }

.order-panel { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--primary) 45%, var(--line)); }
.order-panel h3 { font-size: 1.05rem; }
.order-panel > div { display: grid; gap: 12px; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button:not(.link-btn) { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.qty button:not(.link-btn):hover { border-color: var(--primary); }
.qty output { min-width: 44px; text-align: center; font-weight: 800; font-size: 1.1rem; }
.qty .muted { margin-left: 10px; font-weight: 400; }
.qty--sm button:not(.link-btn) { width: 32px; height: 32px; font-size: 1.05rem; border-radius: 9px; }
.qty--sm output { min-width: 34px; font-size: 1rem; }
.eta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); font-size: .9rem; }
.eta b { color: var(--accent); font-family: "Sora", sans-serif; font-size: 1.05rem; }
.eta--sm { margin-top: 12px; }
.pm__total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); }
.pm__total b { font-family: "Sora", sans-serif; font-size: 1.4rem; color: var(--ink); }
.pm__btns { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.pay-box { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: .9rem; }
.pay-box p { margin: 0 0 4px; }
.pay-box__t { font-weight: 700; }

/* cart drawer */
dialog.drawer { margin: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh; max-height: 100dvh; border-radius: 24px 0 0 24px; display: none; flex-direction: column; }
dialog.drawer[open] { display: flex; animation: slide .3s ease; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.3rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; }
.drawer__foot:empty { display: none; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.line__info { display: grid; gap: 4px; min-width: 0; }
.line__info b { font-size: .95rem; line-height: 1.25; }
.line__total { font-family: "Sora", sans-serif; font-size: .95rem; white-space: nowrap; }
.empty-cart { text-align: center; padding: 60px 10px; display: grid; gap: 10px; justify-items: center; color: var(--muted); }
.empty-cart span { font-size: 3.4rem; }
.sum { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.sum--total { font-size: 1.15rem; font-weight: 800; padding-top: 8px; border-top: 1px dashed var(--line); }
.sum--total b { font-family: "Sora", sans-serif; color: var(--hl); }

/* checkout */
.co { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(16px, 3vw, 32px); padding: clamp(16px, 3vw, 30px); align-items: start; }
.co h2 { font-size: 1.6rem; margin-bottom: 16px; }
.co__form fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 0 0 14px; display: grid; gap: 12px; background: var(--surface); min-width: 0; }
.co__form legend { font-family: "Sora", sans-serif; font-weight: 700; font-size: .95rem; padding: 0 8px; }
.co__form legend small { font-weight: 400; color: var(--muted); font-family: "DM Sans", sans-serif; }
.co__form fieldset > div { display: grid; gap: 12px; }
.co__sum { position: sticky; top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 8px; }
.co__sum h3 { margin-bottom: 4px; }
.sum-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; font-size: .9rem; }
.sum-list li { display: flex; justify-content: space-between; gap: 10px; }
.sum-list em { color: var(--muted); font-style: normal; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pay-opt { display: flex !important; grid-auto-flow: column; align-items: center; gap: 8px !important; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--bg); font-size: .88rem; transition: border-color .2s, background .2s; }
.pay-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-opt.is-active { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 14%, var(--surface)); }
.pay-opt:focus-within { outline: 3px solid var(--primary); outline-offset: 2px; }
.notice { margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--primary) 50%, var(--line)); font-size: .88rem; }
.notice--strong { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); text-align: left; display: grid; gap: 8px; }
.notice--strong p { margin: 0; font-weight: 400; }
.check { display: grid !important; grid-template-columns: auto 1fr; gap: 10px !important; align-items: start; font-weight: 400 !important; font-size: .9rem !important; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--primary); }

/* success */
.success { padding: clamp(24px, 5vw, 44px); display: grid; gap: 14px; justify-items: center; text-align: center; }
.success__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 2.2rem; font-weight: 800; animation: pop .4s ease; }
.success h2 { font-size: 1.9rem; }
.order-id { font-family: "Sora", sans-serif; font-size: 1.4rem; font-weight: 800; letter-spacing: .06em; padding: 8px 18px; border-radius: 12px; border: 2px dashed var(--primary); background: var(--surface); }
.success .notice--strong { width: min(520px, 100%); }
.success__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: min(520px, 100%); margin: 0; }
.success__grid div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; text-align: left; }
.success__grid dt { font-size: .75rem; color: var(--muted); }
.success__grid dd { margin: 0; font-weight: 800; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 1000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy); color: var(--on-navy); padding: 12px 20px; border-radius: 99px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-lg); transition: all .3s; max-width: 92vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid .card--shield { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .ad { aspect-ratio: 4 / 3; }
  .contact-grid { grid-template-columns: 1fr; }
  .pm { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .co { grid-template-columns: 1fr; }
  .co__sum { position: static; order: -1; }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; display: none; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; font-size: 1rem; }
}
@media (max-width: 640px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .card--shield { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 13px; }
  .pm__specs { grid-template-columns: 1fr; }
  dialog.modal, dialog.modal--wide { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  dialog.modal--wide > div { max-height: 100dvh; height: 100dvh; }
  dialog.drawer { border-radius: 0; }
  .trust__grid { gap: 12px; }
  .trust__grid span { width: 40px; height: 40px; font-size: 1.4rem; }
  .trust__grid small { display: none; }
  .card-p__actions { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .success__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .brand__text small { display: none; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
}
@media print { .ticker, .header, .fab, .toast { display: none; } }
/* ===== Product photos and video: all 9:16, whole picture visible ===== */
:root { --img-ratio: 9 / 16; --media-w: min(100%, 42vh); }

/* shop cards */
.card-p__media { aspect-ratio: var(--img-ratio); background: #fff; }
.card-p__media img { object-fit: contain !important; }

/* pop-up: big photo and video share the same tall box */
.gallery__main { aspect-ratio: var(--img-ratio); width: var(--media-w); margin-inline: auto; background: #fff; }
.gallery__main--video { background: #000; }
.gallery__main img { object-fit: contain !important; }
.gallery__main video { object-fit: contain; }

/* small pictures under the big one (3 photos + video) */
.gallery__thumbs { width: var(--media-w); margin-inline: auto; gap: 6px; }
.thumb { position: relative; aspect-ratio: var(--img-ratio); background: #fff; }
.thumb img { object-fit: contain !important; }
.thumb video { width: 100%; height: 100%; object-fit: cover; background: #000; pointer-events: none; }
.thumb__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; color: #fff; font-size: 1.3rem; background: rgba(0, 0, 0, .25); }
.thumb__play small { font-size: .65rem; font-weight: 700; }

/* cart pictures */
.line img { object-fit: contain !important; background: #fff; }

/* the "Just arrived" slider stays as it was */
.ad__slide img { object-fit: cover !important; background: var(--navy); }
/* ===== Shop cards: smaller, clean box like the reference ===== */
:root { --card-ratio: 1 / 1; }         /* picture shape: 1 / 1 = square, 4 / 5 = slightly tall */

.grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }

.card-p { border-radius: 14px; background: var(--surface); box-shadow: none; }
.card-p:hover { transform: translateY(-3px); }

.card-p__media { aspect-ratio: var(--card-ratio); padding: 10px; background: #fff; }
.card-p__media img { object-fit: contain !important; }

.card-p__body { padding: 12px 14px 14px; gap: 6px; }

/* show only: name, price, button (like the reference) */
.card-p__cat,
.card-p__short { display: none; }
.stock:not(.stock--low):not(.stock--out) { display: none; }
.card-p__actions .btn--ghost { display: none; }
.card-p__actions { grid-template-columns: 1fr; }

.card-p__name { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.card-p__name button { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.card-p__price { gap: 8px; }
.card-p__price s { order: -1; font-size: .85rem; }
.card-p__price b { font-size: 1.08rem; color: var(--hl); }

.card-p__actions .btn { width: 100%; min-height: 42px; border-radius: 8px; }

/* phones: two products per row */
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-p__media { padding: 6px; }
  .card-p__body { padding: 10px; }
  .card-p__name { font-size: .85rem; }
  .card-p__price b { font-size: .98rem; }
  .card-p__actions .btn { min-height: 38px; font-size: .85rem; padding: 8px; }
}
/* tighter card height */
.card-p__body { padding: 10px 12px 12px; gap: 4px; }
.card-p__name { margin: 0; }
.card-p__price { margin-top: 2px; }
.card-p__actions { margin-top: auto; padding-top: 6px; }
.card-p__actions .btn { min-height: 40px; }
/* slider: picture only, button on the right, lighter shade so the product is clear */
.ad__info { justify-items: end; padding: 16px 18px 62px; }
.ad__slide::after { background: linear-gradient(to top, rgba(8, 12, 28, .55) 0%, transparent 40%); }
/* See details: small glass button, top-right corner */
.ad__info { top: 0; padding: 0; pointer-events: none; }
.ad__info .btn {
  position: absolute; top: 14px; right: 14px; pointer-events: auto;
  background: rgba(10, 16, 34, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 99px; padding: 8px 16px; min-height: 36px; font-size: .85rem; box-shadow: none;
}
.ad__info .btn::after { content: "›"; margin-left: 6px; font-size: 1.1em; }
.ad__info .btn:hover { background: var(--primary); color: var(--on-primary); }
.ad__slide { cursor: pointer; }
/* ===== Cards: all 1:1 | Pop-up photos: all 9:16 (picture fills the box) ===== */

/* shop cards: every first picture is a square, same size */
.card-p__media { aspect-ratio: 1 / 1; padding: 0; background: var(--surface-2); }
.card-p__media img { object-fit: cover !important; object-position: center; }

/* pop-up: big picture + the 3 small pictures, all tall 9:16 */
.gallery__main:not(.gallery__main--video) { aspect-ratio: 9 / 16; background: var(--surface-2); }
.gallery__main:not(.gallery__main--video) img { object-fit: cover !important; }
.thumb { aspect-ratio: 9 / 16; }
.thumb img { object-fit: cover !important; }
/* ===== Slider: any picture fits (sharp picture on a soft blurred copy of itself) ===== */
.ad__slide { cursor: default; }
.ad__slide[data-open] { cursor: pointer; }
.ad__slide img.ad__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover !important; filter: blur(22px) brightness(.8); transform: scale(1.2); }
.ad__slide img.ad__fg { position: relative; width: 100%; height: 100%; object-fit: contain !important; background: transparent; }
/* ===== Slider: one fixed shape, every picture fills it completely ===== */
:root { --slide-ratio: 4 / 3; }          /* change this one number to change the shape */

.ad { aspect-ratio: var(--slide-ratio) !important; }
.ad__slide img.ad__bg { display: none; }
.ad__slide img.ad__fg { object-fit: cover !important; object-position: center; position: absolute; inset: 0; width: 100%; height: 100%; }
/* ===== Hide categories, search and sort for now (delete this block to bring them back) ===== */
.cats,
.toolbar,
.result-count { display: none !important; }
.rates tbody th small { display: none; }
#mailForm { display: none; }
/* smaller hero heading + buttons */
.hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.15; margin-bottom: 12px; }
.hero .lead { font-size: 1rem; margin-bottom: 18px; }
.hero__cta .btn { padding: .6rem 1.1rem; font-size: .92rem; }
.hl::after { display: none; }   /* removes the thick line under the word */
/* logo: second line in normal small letters */
.brand__text small {
  text-transform: none;
  letter-spacing: .02em;
  font-size: .8rem;
  font-weight: 600;
}
/* 4 key points as small neat boxes */
.pm__specs { grid-template-columns: 1fr 1fr !important; gap: 8px; margin: 14px 0 18px; }
.pm__specs li {
  background: var(--surface-2);
  border: 1px solid rgba(128, 128, 128, .25);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: .85rem;
  font-weight: 700;
}
.pm__specs li::before { display: none; }
/* delivery section: wide table + safe box */
.info-grid { grid-template-columns: 2fr 1fr; gap: 20px; }
.rates { min-width: 480px; }
.rates thead th {
  background: var(--surface-2);
  padding: 12px 10px;
  text-align: center;
  white-space: nowrap;
}
.rates thead th:first-child { text-align: left; border-radius: 12px 0 0 12px; }
.rates thead th:last-child  { border-radius: 0 12px 12px 0; }
.rates tbody th { font-size: .95rem; padding: 14px 10px; }
.rates td { text-align: center; padding: 14px 8px; white-space: nowrap; }
.rates td small {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 16%, transparent);
}
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .card--shield { grid-column: auto; }
}
/* delivery table: wider + shorter so it fits without sliding */
@media (min-width: 901px) {
  .info-grid { grid-template-columns: 3.4fr 1fr; }
}
.info-grid .card { padding: 16px 20px; }
.info-grid .card h3 { margin-bottom: 4px; }
.table-wrap { margin-top: 6px; }

.rates { min-width: 0; font-size: .84rem; }
.rates thead th { padding: 9px 6px; font-size: .68rem; }
.rates tbody th { padding: 8px 6px; font-size: .86rem; white-space: nowrap; }
.rates td { padding: 8px 6px; }
.rates td small { margin: 0 0 0 6px; padding: 2px 8px; font-size: .72rem; }

/* the small note under the table */
.info-grid .card > .muted.small { font-size: .8rem; margin-top: 8px; }
/* delivery: full width table, clear separate columns */
.info-grid { grid-template-columns: 1fr !important; }
.info-grid .card { padding: 20px 24px; }

.rates { table-layout: fixed; width: 100%; min-width: 640px; font-size: .95rem; }
.rates thead th:first-child,
.rates tbody th { width: 22%; }
.rates thead th { font-size: .75rem; padding: 12px 10px; }
.rates tbody th { padding: 12px 14px; font-size: 1rem; }
.rates td { padding: 12px 14px; }

/* divider line between every column */
.rates thead th,
.rates td { border-left: 1px solid var(--line); }
.rates thead th:first-child,
.rates tbody th { border-left: 0; }

.rates td small { margin-left: 8px; padding: 3px 10px; font-size: .78rem; }

/* Safe orders: three points in one row under the table */
.info-grid .card--shield .ticks { grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }

@media (max-width: 760px) {
  .info-grid .card--shield .ticks { grid-template-columns: 1fr; }
  .rates td { white-space: normal; }
  .rates td small { display: block; margin: 4px auto 0; width: fit-content; }
}
/* checkout: headings inside the boxes + aligned inputs */
.co__form fieldset { padding: 18px; }
.co__form legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 2px;
  font-size: 1.05rem;
}
.co__form legend + * { clear: both; }

.co__form .field { display: block; }
.co__form .field small { display: inline; margin-left: 4px; }
.co__form .field input,
.co__form .field textarea { display: block; margin-top: 6px; }
.co__form .field > input:first-child { margin-top: 0; }
.co__form .row2 { align-items: start; }
/* hero a little shorter so the blue strip shows on the first screen */
.hero__grid { padding-block: clamp(18px, 2.6vw, 34px); }
.hero .lead { margin-bottom: 16px; }
.ticker { position: relative; z-index: 1; }
/* product pop-up: everything on one screen, no scrolling (laptop/desktop) */
@media (min-width: 901px) {
  dialog.modal--wide { --gh: min(520px, calc(100dvh - 170px)); }
  dialog.modal--wide .pm { padding: 14px 22px; gap: 22px; align-items: center; }

  /* photo/video keep 9:16, only scaled to the screen height */
  dialog.modal--wide .gallery { display: grid; justify-items: center; }
  dialog.modal--wide .gallery__main {
    height: var(--gh);
    width: calc(var(--gh) * 9 / 16);
    aspect-ratio: 9 / 16;
  }
  dialog.modal--wide .gallery__thumbs { width: calc(var(--gh) * 9 / 16); gap: 6px; margin-top: 8px; }
  dialog.modal--wide .gallery__thumbs .thumb { max-height: 58px; }

  /* smaller name and price */
  dialog.modal--wide .pm__title { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.2; margin: 0 40px 6px 0; }
  dialog.modal--wide .pm__price { margin-bottom: 8px; gap: 8px; }
  dialog.modal--wide .pm__price b { font-size: 1.35rem; }
  dialog.modal--wide .pm__price s { font-size: .85rem; }
  dialog.modal--wide .pm__desc { font-size: .88rem; line-height: 1.45; margin: 0 0 10px; }

  /* the 4 points: compact */
  dialog.modal--wide .pm__specs { grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 12px; }
  dialog.modal--wide .pm__specs li { padding: 6px 10px; font-size: .8rem; border-radius: 8px; }

  /* quantity + buttons: compact */
  dialog.modal--wide .order-panel { padding: 12px 14px; gap: 10px; }
  dialog.modal--wide .order-panel > div { gap: 8px; }
  dialog.modal--wide .qty button { width: 38px; height: 38px; }
  dialog.modal--wide .pm__btns .btn { padding: .6rem 1rem; }
}
/* ---------- customer reviews ---------- */
#reviews .section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rv-summary { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; flex-wrap: wrap; }
.rv-summary b { font-family: "Sora", sans-serif; font-size: 2rem; color: var(--hl); }
.rv-summary small { color: var(--muted); }
.rv-stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 10px; align-content: start; }
.rv-card p { margin: 0; line-height: 1.5; }
.rv-card footer { display: grid; gap: 4px; font-size: .88rem; }
.rv-card footer small { color: var(--muted); }
.rv-badge { display: inline-block; width: fit-content; font-size: .72rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 99px; }
.rv-empty { color: var(--muted); margin: 0; padding: 18px; border: 1px dashed var(--line); border-radius: 16px; }
.rv-body { padding: 22px; max-height: 94dvh; overflow-y: auto; }
.rv-body h3 { margin: 0 40px 6px 0; }
.rv-rate-label { font-weight: 700; font-size: .9rem; margin-bottom: -6px; }
.rv-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-pick input { position: absolute; opacity: 0; pointer-events: none; }
.form .rv-pick label { display: inline-block; font-size: 2.2rem; line-height: 1; color: var(--line); cursor: pointer; font-weight: 400; }
.form .rv-pick label:hover,
.form .rv-pick label:hover ~ label,
.rv-pick input:checked ~ label { color: #f5b301; }
.rv-pick input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 6px; }
/* first screen: header + slider + blue strip all visible, no scrolling */
@media (min-width: 901px) {
  .hero { display: flex; align-items: center; min-height: calc(100dvh - 125px); }
  .hero__grid { width: 100%; padding-block: 18px; }
  .ad { width: min(100%, calc((100dvh - 215px) * 4 / 3)); margin-left: auto; }
}
.ticker { position: relative; z-index: 1; }
/* contact: shop on the left, WhatsApp / Call / Email boxes on the right (same height) */
.contact-grid { align-items: stretch; }
.forms .contact-links { height: 100%; grid-auto-rows: 1fr; gap: 10px; }
.forms .chip-link { padding: 0 18px; }

@media (max-width: 900px) {
  .forms .contact-links { height: auto; grid-auto-rows: auto; }
  .forms .chip-link { padding: 14px 16px; }
}
/* ---------- about page ---------- */
.ab-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 10px; }
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(20px, 4vw, 44px); align-items: center; margin-top: 22px; }
.about__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__text { max-width: 760px; }
.about__text p { margin: 0 0 12px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.ab-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.ab-cards .card p { margin: 0; }
.ab-visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; align-items: stretch; }
.ab-visit > * { min-width: 0; }
.ab-visit .map { aspect-ratio: auto; border-radius: 20px; overflow: hidden; min-height: 240px; border: 1px solid var(--line); }
.ab-visit .map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
/* ---------- delivery checker ---------- */
.dcalc { display: grid; gap: 14px; }
.dcalc select { max-width: 340px; }
.dcalc__res { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; }
.dc-opt { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; }
.dc-opt b { font-family: "Sora", sans-serif; font-size: 1rem; }
.dc-opt span { color: var(--muted); font-size: .92rem; }
.dc-opt em { font-style: normal; font-weight: 800; font-size: 1.15rem; color: var(--hl); }
.dcalc > .muted.small { margin: 0; }
/* smaller headings everywhere */
.hero h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; margin-bottom: 10px; }
.hero .lead { font-size: clamp(.92rem, 1.4vw, 1.02rem); margin-bottom: 16px; }

.section__head h2,
.section h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.25; }
.section__head { margin-bottom: 18px; }
.eyebrow { font-size: .72rem; margin-bottom: 6px; }

.card h3 { font-size: 1.02rem; }
.steps h3 { font-size: .98rem; }
.co h2 { font-size: 1.3rem; margin-bottom: 12px; }
.ab-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.rv-summary b { font-size: 1.6rem; }
/* products start right under the strip, with less empty space */
#shop { padding-top: 24px; }
#shop .section__head { margin-bottom: 14px; }
.pay-lock { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1.5px dashed var(--line); background: var(--surface-2); }
.pay-lock__i { font-size: 1.6rem; line-height: 1; }
.pay-lock b { display: block; font-size: .95rem; }
.pay-lock p { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }
.pay-open { width: min(520px, 100%); text-align: left; display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: color-mix(in srgb, #22a55a 10%, var(--surface)); border: 1.5px solid color-mix(in srgb, #22a55a 55%, var(--line)); }
.pay-open__h { margin: 0; font-weight: 700; }
.pay-open__amt { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pay-open__amt span { font-size: .85rem; color: var(--muted); }
.pay-open__amt b { font-size: 1.6rem; }
.pay-open__amt small { color: var(--muted); }
.pay-open .btn { justify-self: stretch; text-align: center; }
.pay-lock p b { display: inline; color: inherit; }
/* fix: clicking Cash on Delivery scrolled the pop-up and blanked the page */
.pay-opt { position: relative; }
.pay-lock p b { display: inline; color: inherit; }
/* ---- order-success screen: two columns on computers, no scrolling needed ---- */
.success:has(.pay-open) .notice--strong { display: none; }
@media (min-width: 820px) {
  .success:has(.pay-open) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-auto-flow: row;
    align-content: center;
    justify-items: stretch;
    text-align: left;
    column-gap: 28px;
    row-gap: 8px;
    padding: 20px 28px;
  }
  .success:has(.pay-open) > * { grid-column: 1; }
  .success:has(.pay-open) > .pay-open { grid-column: 2; grid-row: 1 / span 8; align-self: center; width: 100%; }
  .success:has(.pay-open) .success__icon { width: 52px; height: 52px; font-size: 1.6rem; justify-self: start; }
  .success:has(.pay-open) h2 { font-size: 1.55rem; margin: 0; }
  .success:has(.pay-open) p { margin: 0; }
  .success:has(.pay-open) .order-id { justify-self: start; font-size: 1.15rem; padding: 8px 16px; }
  .success:has(.pay-open) .success__grid { grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .success:has(.pay-open) .success__grid > div { padding: 8px 10px; }
  .success:has(.pay-open) .success__grid dd { font-size: .92rem; }
  .success:has(.pay-open) > .btn--ghost { justify-self: start; }
  .success:has(.pay-open) .pay-open { gap: 6px; padding: 14px 16px; }
  .success:has(.pay-open) .pay-open .btn { padding-block: 11px; }
}
/* hero: one small About link, less clutter */
.hero__cta { margin-bottom: 10px; }
.hero__cta .btn { padding: 8px 16px; font-size: .88rem; }
@media (max-width: 640px) { .hero__cta .btn { flex: 0 0 auto; } }
.hero__copy .lead { margin-bottom: 0; }
/* ---- admin: backup box ---- */
.bk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; padding: 12px 14px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.bk__txt { display: grid; gap: 2px; font-size: .9rem; }
.bk__txt span { color: var(--muted); font-size: .84rem; }
.bk__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bk--warn { border-color: #e8821a; background: color-mix(in srgb, #e8821a 10%, var(--surface)); }
.bk__msg { flex-basis: 100%; margin: 0; font-size: .85rem; color: var(--muted); }
.bk__msg:empty { display: none; }
.bk__msg--bad { color: #d64545; }
/* ---- text pages: Privacy and Returns ---- */
.doc { max-width: 760px; }
.doc h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.doc p, .doc li { line-height: 1.65; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.doc .lead { margin-bottom: 6px; }
.footer .small, .footer p.small, .footer #footTag { font-size: .85rem !important; }
@media (max-width: 640px) { .footer { padding-bottom: 84px; } }
/* ---- city / courier dropdown: always opens under the box ---- */
.dd { position: relative; width: 100%; font-weight: 400; }
.dd-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px; height: 1px; overflow: hidden; }
.dd__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
.dd__btn:focus-visible, .dd.is-open .dd__btn { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent); }
.dd__btn i { font-style: normal; color: var(--muted); transition: transform .2s; }
.dd.is-open .dd__btn i { transform: rotate(180deg); }
.dd__list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; margin: 0; padding: 6px; list-style: none; max-height: 240px; overflow-y: auto; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); }
.dd__list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; }
.dd__list li:hover, .dd__list li:focus { outline: none; background: color-mix(in srgb, var(--primary) 18%, var(--surface)); }
.dd__list li[aria-selected="true"] { background: var(--primary); color: var(--on-primary); font-weight: 700; }
.dcalc .dd { max-width: 340px; }

/* ---- other small changes ---- */
.hrs-off { color: #ffc83d; font-weight: 700; }
[data-theme="light"] .hrs-off { color: #b36b00; }
.co__form .pay-methods { display: none; }
.pay-open__amt small { color: #ffc83d; font-size: 1.2rem; font-weight: 800; }
[data-theme="light"] .pay-open__amt small { color: #b36b00; }
/* ---- glowing payment box ---- */
@property --pa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pay-open { position: relative; border-color: transparent; box-shadow: 0 10px 28px -10px rgba(34, 165, 90, .55), 0 0 26px -8px rgba(34, 165, 90, .45); animation: paypulse 3.2s ease-in-out infinite; }
.pay-open::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--pa), #22a55a, #35d3c2, #ffc83d, #ff8a1f, #22a55a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: payspin 7s linear infinite; }
.pay-open__h { text-shadow: 0 0 14px rgba(34, 165, 90, .35); }
.pay-open__amt b { background: linear-gradient(90deg, #22a55a, #35d3c2); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .pay-open { box-shadow: 0 14px 40px -10px rgba(34, 211, 120, .55), 0 0 44px -6px rgba(53, 211, 194, .45); }
[data-theme="dark"] .pay-open__amt b { background: linear-gradient(90deg, #4be08c, #6af0e0); -webkit-background-clip: text; background-clip: text; }
@keyframes payspin { to { --pa: 360deg; } }
@keyframes paypulse { 50% { box-shadow: 0 14px 34px -8px rgba(34, 165, 90, .75), 0 0 36px -4px rgba(34, 165, 90, .6); } }
@media (prefers-reduced-motion: reduce) { .pay-open, .pay-open::before { animation: none; } }
/* ---- front page slider: glow ring + soft shadow ---- */
@property --sa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ad { box-shadow: 0 24px 60px -18px rgba(255, 138, 31, .55), 0 0 0 1px rgba(255, 138, 31, .25), 0 0 50px -12px rgba(61, 90, 254, .35); transition: transform .35s ease, box-shadow .35s ease; }
.ad:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -16px rgba(255, 138, 31, .7), 0 0 0 1px rgba(255, 138, 31, .4), 0 0 60px -10px rgba(61, 90, 254, .5); }
.ad::after { content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; padding: 3px; pointer-events: none;
  background: conic-gradient(from var(--sa), #ff8a1f, #ffc83d, #35d3c2, #3d5afe, #ff8a1f);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: adspin 8s linear infinite; }
.ad__dots button.is-active { background: linear-gradient(90deg, #ff8a1f, #ffc83d); box-shadow: 0 0 10px rgba(255, 138, 31, .8); }
[data-theme="light"] .ad { box-shadow: 0 24px 54px -20px rgba(229, 106, 0, .5), 0 0 0 1px rgba(255, 138, 31, .3), 0 10px 30px -12px rgba(20, 32, 74, .35); }
@keyframes adspin { to { --sa: 360deg; } }
@media (prefers-reduced-motion: reduce) { .ad::after { animation: none; } .ad, .ad:hover { transition: none; transform: none; } }

/* ---- small touches that work on every device ---- */
.fx-progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 90; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--primary), #ffab40); pointer-events: none; }
.fx-pre { opacity: 0; transform: translateY(18px); }
.fx-pre.fx-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.fx-top { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; cursor: pointer; }
.fx-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fx-top:hover { border-color: var(--primary); }
@keyframes fxBump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
.fx-bump { animation: fxBump .45s ease; }
.btn { -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .rv-card, .ab-cards > .card { transition: transform .25s, box-shadow .25s; }
  .rv-card:hover, .ab-cards > .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: reduce) {
  .fx-pre, .fx-pre.fx-in { opacity: 1; transform: none; transition: none; }
  .fx-bump { animation: none; }
  .fx-top { transition: none; }
}
@media (max-width: 640px) { .footer { padding-bottom: 76px; } }
/* ---- small touches (back-to-top button is switched off) ---- */
.fx-top { display: none !important; }
.fx-progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 90; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--primary), #ffab40); pointer-events: none; }
.fx-pre { opacity: 0; transform: translateY(18px); }
.fx-pre.fx-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes fxBump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
.fx-bump { animation: fxBump .45s ease; }
.btn { -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .rv-card, .ab-cards > .card { transition: transform .25s, box-shadow .25s; }
  .rv-card:hover, .ab-cards > .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: reduce) {
  .fx-pre, .fx-pre.fx-in { opacity: 1; transform: none; transition: none; }
  .fx-bump { animation: none; }
}