/* ==========================================================================
   Pikselis Commerce — data theme stylesheet
   Ported from the "Pikselis Homepage v6" design.
   Inline styles are rejected in theme templates, so every value the design
   carried inline lives here as a named class.
   ========================================================================== */

:root {
  --navy: #204282;
  --navy-deep: #164A92;
  --teal: #00A79D;
  --teal-dark: #008F87;
  --teal-bright: #00BFB3;
  --teal-deep: #00625C;
  --ink: #101820;
  --ink-soft: #3A3F47;
  --ink-mute: #5B6474;
  --line: #E6E7E8;
  --line-strong: #D2D3D4;
  --panel: #F4F6F8;
  --on-navy: #D9E2F0;
  --on-navy-mute: #A9BCD8;
  --on-navy-soft: #C3D2E8;
  --on-navy-link: #E4EBF6;
  --shell: 1170px;
  /* Label typography (design delta, 2026-09-09): micro-labels moved off
     IBM Plex Mono to plain sans, sentence case — 11px letterspaced uppercase
     mono read as generated styling rather than a designed system. The token
     stays defined (as an alias of --sans) so nothing that still names it
     breaks. */
  --mono: 'Open Sans', system-ui, sans-serif;
  --sans: 'Open Sans', system-ui, sans-serif;
  --display: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal); }
img { max-width: 100%; }
input, textarea, select, button { font-family: var(--sans); }

/* --------------------------------------------------------------- primitives */

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--navy);
  margin: 0;
}
/* --on-navy-mute (#A9BCD8) is under 4.5:1 on the #164A92 band at 13px. */
.eyebrow--on-dark { color: var(--on-navy-soft); }
.eyebrow--mute { color: var(--ink-mute); }

.eyebrow-dot {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--on-navy);
}
.eyebrow-dot::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--teal);
}

.h1, .h2, .h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: pretty;
}
.h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; }
/* The design paints section headings navy (#204282) on light bands; on the
   navy bands they inherit the band's white. h1 only ever sits on a navy band,
   so it keeps inheriting. */
.h2, .h3 { color: var(--navy); }
.section--navy .h2, .section--navy .h3,
.section--navy-deep .h2, .section--navy-deep .h3,
.hero .h2, .hero .h3,
.pagehead .h2, .pagehead .h3 { color: inherit; }
.h2 { font-size: clamp(28px, 3.2vw, 44px); }
.h3 { font-size: clamp(24px, 2.4vw, 32px); }
.h2--tight { max-width: 840px; }

.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  margin: 24px 0 0;
  max-width: 540px;
  text-wrap: pretty;
}
.lead--on-dark { color: var(--on-navy); }
.body { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.body--lg { font-size: 17px; line-height: 1.7; margin-top: 20px; }
.h2--gap { margin-top: 16px; }

/* Contact facts (design: a plain stacked list, 14px, email and phone as navy
   links, address as text). They were reusing .card__brand — a small grey LABEL
   class — which made real contact details read as metadata. */
.contact-facts { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; font-size: 14px; color: var(--ink-soft); }
.contact-facts a { color: var(--navy); }
.contact-facts a:hover { color: var(--teal); }
.body--tight { font-size: 15px; line-height: 1.6; }
.note { font-size: 13px; line-height: 1.6; color: var(--ink-mute); margin: 0; }

/* buttons — pills, per the brand */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 60px;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease-out, border-color .18s ease-out, transform .18s ease-out;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-bright); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--sm { padding: 11px 22px; font-size: 13px; letter-spacing: 0.08em; }
.btn--block { width: 100%; }

.chip {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: none;
  color: #fff;
  border-radius: 60px;
  padding: 5px 12px;
}
.chip--navy { background: var(--navy); }
.chip--teal { background: var(--teal-deep); }

/* --------------------------------------------------------------------- grids */

.grid { display: grid; gap: 20px; }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--split { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }

/* the design's signature: 1px hairline-divided grid */
.hairgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: cell;
}
.hairgrid--fill { display: flex; flex-wrap: wrap; }
.hairgrid--fill > .hairgrid__cell { flex: 1 1 260px; min-width: 0; }
.hairgrid__cell {
  background: #fff;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-increment: cell;
}
/* the design's 01…06 numerals — there is no loop index in the template
   language, so they are generated here */
.hairgrid--numbered .hairgrid__cell::before {
  content: counter(cell, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--ink-mute);
}
.hairgrid__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 4px 0 0;
}

/* ------------------------------------------------------------------ sections */

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--navy-deep { background: var(--navy-deep); color: #fff; }
.section--panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: end; margin-top: 16px; }
.section__aside { max-width: 420px; justify-self: end; font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.section__body { margin-top: 52px; }

/* ---------------------------------------------------------------------- hero */

.hero { background: var(--navy); color: #fff; padding: 88px 0 0; }
.hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: end;
}
.hero__copy { min-width: 0; padding-bottom: 96px; }
.hero__title { margin: 26px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__media { min-width: 0; align-self: end; }
.hero__media img {
  width: 100%;
  display: block;
  border-radius: 16px 16px 0 0;
  background: #fff;
}

/* ------------------------------------------------------------ choice section */

.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }
.choice__card {
  background: #fff;
  color: var(--ink);
  /* The design only ever showed this card on the navy band, where white alone
     reads as a card. On a white section (contacts, trial) it needs an edge. */
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section--navy .choice__card,
.section--navy-deep .choice__card { border-color: transparent; }
.choice__top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.choice__label { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.005em; color: var(--navy); }
.choice__title { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: var(--navy); }
.choice__list { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); margin: 0; }
.choice__item { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.choice__item::before { content: "·"; color: var(--teal); font-weight: 700; }
.choice__caveat { font-size: 14px; line-height: 1.6; color: var(--ink-soft); background: var(--panel); border-radius: 10px; padding: 14px 16px; }
.choice__cta { margin-top: auto; }

/* --------------------------------------------------------------- facts strip */

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 56px; border-top: 1px solid rgba(255,255,255,.28); }
.facts__cell { padding: 26px 26px 0; border-right: 1px solid rgba(255,255,255,.18); }
.facts__cell:first-child { padding-left: 0; }
.facts__cell:last-child { border-right: 0; padding-right: 0; }
.facts__label { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.005em; color: var(--on-navy-mute); }
.facts__value { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: #fff; margin-top: 12px; }
.facts__value--mono { font-family: var(--sans); display: block; }
.facts__sub { color: var(--on-navy-mute); }

/* ------------------------------------------------------------------ products */

.rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }

.card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__brand { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.005em; color: var(--ink-mute); }
.card__name { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--navy); margin: 0; }
.card__price { display: flex; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
.card__price-was { font-size: 13px; font-weight: 400; color: var(--ink-mute); text-decoration: line-through; }
.card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.005em;
  background: var(--navy);
  color: #fff;
  border-radius: 60px;
  padding: 5px 10px;
}
.card__badge--soldout { background: var(--ink-mute); }
.card__wish { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.card__wish.is-liked { background: var(--teal); border-color: var(--teal); color: #fff; }
.card__quick { align-self: flex-start; background: #fff; color: var(--navy); border: 1px solid var(--line-strong); border-radius: 60px; padding: 9px 18px; font-family: var(--sans); font-size: 12px; cursor: pointer; }
.card__quick:hover { border-color: var(--navy); }

/* -------------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 24px; padding: 16px 24px; max-width: var(--shell); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark { display: grid; grid-template-columns: repeat(3, 6px); grid-template-rows: repeat(3, 6px); gap: 2px; }
.brand__px { background: var(--navy); }
.brand__px--accent { background: var(--teal); }
.brand__word { font-weight: 800; font-size: 14px; letter-spacing: 0.16em; color: var(--navy); white-space: nowrap; }
.site-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; min-width: 0; }
.site-nav__link { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.site-nav__link:hover { color: var(--teal); }
.site-header__tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; }
.icon-btn:hover { border-color: var(--navy); }

.search { position: relative; flex: 0 1 260px; min-width: 0; }
.search input { width: 100%; border: 1px solid var(--line-strong); border-radius: 60px; padding: 10px 16px; font-size: 14px; color: var(--ink); background: #fff; }
.search input:focus { outline: none; border-color: var(--navy); }
.search__results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 34px rgba(16,24,32,.14); overflow: hidden; z-index: 20; }
.search__row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-size: 14px; color: var(--ink); }
.search__row:hover { background: var(--panel); }
.search__row img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; }

/* --------------------------------------------------------------- cart drawer */

.drawer { display: flex; flex-direction: column; height: 100%; background: #fff; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin: 0; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.drawer__total { display: flex; align-items: baseline; justify-content: space-between; font-size: 16px; font-weight: 700; color: var(--navy); }
.drawer__empty { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 24px 0; }

.line { display: grid; grid-template-columns: 68px 1fr; gap: 14px; align-items: start; }
.line__media { aspect-ratio: 1 / 1; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.line__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.line__name { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--navy); margin: 0; }
.line__variant { font-family: var(--sans); font-size: 11px; color: var(--ink-mute); }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 60px; overflow: hidden; }
.stepper__btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 0; color: var(--navy); font-size: 15px; cursor: pointer; }
.stepper__btn:hover { background: var(--panel); }
.stepper__qty { min-width: 30px; text-align: center; font-family: var(--sans); font-size: 13px; color: var(--ink); }
.line__remove { background: none; border: 0; padding: 0; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.005em; color: var(--ink-mute); cursor: pointer; }
.line__remove:hover { color: var(--navy); }

.progress { font-family: var(--sans); font-size: 12px; color: var(--ink-mute); }
.discount { display: flex; gap: 8px; }
.discount input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 14px; font-size: 14px; }
.discount button { border: 0; background: var(--navy); color: #fff; border-radius: 8px; padding: 0 18px; font-size: 13px; font-weight: 700; cursor: pointer; }

/* -------------------------------------------------------------- quick-add */

.quick-add-modal { background: #fff; border-radius: 16px; padding: 28px; max-width: 420px; }
.quick-add-modal__title { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 6px; }
.quick-add-modal__media { aspect-ratio: 1 / 1; background: var(--panel); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.quick-add-modal__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* -------------------------------------------------------------------- footer */

.site-footer { background: var(--navy-deep); color: #fff; padding: 72px 0 28px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 44px; }
.site-footer__title { font-family: var(--sans); font-size: 13px; font-weight: 700; margin: 0 0 14px; letter-spacing: 0.005em; color: var(--on-navy-mute); }
.site-footer__links { display: flex; flex-direction: column; gap: 11px; }
.site-footer__links a { font-size: 14px; color: var(--on-navy-link); }
.site-footer__links a:hover { color: #fff; }
.site-footer__text { font-size: 14px; line-height: 1.65; color: var(--on-navy-soft); margin: 18px 0 0; max-width: 240px; }
.site-footer .brand__px { background: #fff; }
.site-footer .brand__px--accent { background: var(--on-navy-mute); }
.site-footer .brand__word { color: #fff; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--on-navy-soft); margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.24); }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.45); background: transparent; border-radius: 6px; padding: 11px 14px; font-size: 14px; color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.newsletter button { border: 0; background: var(--teal); color: #fff; border-radius: 6px; padding: 0 18px; font-size: 15px; font-weight: 700; cursor: pointer; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .site-nav { display: none; }
  .section { padding: 72px 0; }
  .hero { padding-top: 64px; }
  .hero__copy { padding-bottom: 64px; }
  .facts__cell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 20px 0; }
  .facts__cell:last-child { border-bottom: 0; }
  .section__aside { justify-self: start; }
}

/* ---- contact-form (ENGINE-OWNED MARKUP) ----------------------------------
   <contact-form> renders its own DOM: .contact-form > .contact-row >
   .auth-field, plus a .contact-channels fieldset. The theme cannot change
   that markup, so it styles the engine's classes. Keep these rules together
   and note the coupling: if the component's DOM changes, this breaks. The
   real fix is a templatable contact form. */
.contact-form { display: grid; gap: 18px; }
.contact-form .contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .auth-field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--ink-soft, #4a5568); }
.contact-form .auth-field input,
.contact-form .auth-field textarea,
.contact-form textarea {
   width: 100%;
   font: inherit;
   font-size: 15px;
   padding: 12px 14px;
   border: 1px solid var(--line, #d9dfe7);
   border-radius: 10px;
   background: #fff;
   color: inherit;
}
.contact-form .auth-field input:focus,
.contact-form textarea:focus { outline: 2px solid var(--accent, #2f8f79); outline-offset: 1px; border-color: transparent; }
.contact-form textarea { min-height: 132px; resize: vertical; }
/* the browser's default fieldset chrome is the "raw form" look — remove it */
.contact-form .contact-channels { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-form .contact-channels legend { padding: 0; font-size: 13px; color: var(--ink-soft, #4a5568); }
.contact-form .contact-channel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-right: 18px; }
.contact-form .contact-channel input { accent-color: var(--accent, #2f8f79); }
.contact-form button { justify-self: start; }
@media (max-width: 640px) { .contact-form .contact-row { grid-template-columns: 1fr; } }

/* ---- footer columns ------------------------------------------------------
   auto-fit gives every column equal width, so the brand column (which carries
   a paragraph) and the link columns fought for space and wrapped unevenly.
   The design is asymmetric: a wide brand column, two link columns, and a
   wider subscribe column. */
/* The brand column carries a paragraph and needs to be wider; the rest are
   link lists whose COUNT is merchant-controlled (footer columns are settings),
   so the remaining tracks auto-fit instead of being a fixed number — a 4th
   link column must not wrap onto its own row. */
/* Flex, not grid: the column COUNT is merchant-controlled (footer columns are
   settings), and a grid template has to commit to a number — a 5th column then
   wraps onto its own row. `1.5fr repeat(auto-fit, …)` does not help: the mixed
   template collapses to equal tracks. Flex lets every column share the row and
   still gives the brand block more room. */
.site-footer__cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 44px; }
.site-footer__cols > * { flex: 1 1 150px; min-width: 0; }
.site-footer__cols > :first-child { flex: 1.6 1 230px; }
@media (max-width: 700px) { .site-footer__cols > * { flex-basis: 45%; } }

/* ---- logoStrip -----------------------------------------------------------
   Customer logos band. Logos are blocks so a merchant adds or removes them
   without a theme change; a block with no image falls back to its name. */
.logos { background: #fff; padding: 54px 0; }
.logos__inner { display: grid; grid-template-columns: minmax(220px, 1fr) 2.4fr; gap: 48px; align-items: center; }
.logos__text { font-size: 15px; line-height: 1.6; color: var(--ink-soft, #4a5568); margin-top: 10px; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 38px; }
.logos__item { display: inline-flex; align-items: center; }
.logos__item img { max-height: 34px; width: auto; opacity: .55; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.logos__item:hover img { opacity: 1; filter: grayscale(0); }
.logos__name { font-weight: 600; color: var(--ink-soft, #4a5568); letter-spacing: .02em; }
@media (max-width: 900px) {
   .logos__inner { grid-template-columns: 1fr; gap: 24px; }
   .logos__row { justify-content: flex-start; gap: 28px; }
}

/* ---- header tools (ENGINE-OWNED MARKUP) ---------------------------------
   <search-suggest> renders its own trigger and panel (.nav-suggest,
   .nav-suggest-panel/-field/-results) and hardcodes a Material Symbols
   ligature for the magnifier — that glyph is NOT a prop, so the icon font is
   a hard dependency of this component (see config/theme.json fonts).
   cart-indicator / account-link take icon markup as children, which is why
   those use inline SVG instead. */
.material-symbols-rounded { font-family: "Material Symbols Rounded"; font-weight: 400; font-style: normal; font-size: 21px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; }
.site-header__tools .ic,
.site-header__tools .icon-btn {
   display: inline-flex; align-items: center; justify-content: center;
   width: 38px; height: 38px; padding: 0;
   background: none; border: 0; border-radius: 999px;
   color: var(--navy, #23408e); cursor: pointer;
   position: relative;
   transition: background .15s ease;
}
.site-header__tools .ic:hover,
.site-header__tools .icon-btn:hover { background: rgba(35, 64, 142, .07); }
.site-header__tools .badge {
   position: absolute; top: 2px; right: 0;
   min-width: 17px; height: 17px; padding: 0 5px;
   border-radius: 999px; background: var(--teal, #2f8f79); color: #fff;
   font-size: 11px; line-height: 17px; text-align: center; font-weight: 600;
}
.nav-suggest { position: relative; display: inline-flex; }

/* ---- page head -----------------------------------------------------------
   Interior pages (prices, trial, solutions) need a header band: the home hero
   carries an image and is too tall to reuse. Same navy as the hero so the
   sticky white header sits on a consistent edge. */
.pagehead { background: var(--navy); color: #fff; padding: 72px 0 64px; }
.pagehead__title { margin: 22px 0 0; max-width: 900px; }
.pagehead .lead { max-width: 700px; }
.pagehead .facts { margin-top: 44px; }

/* ---- pricing -------------------------------------------------------------
   Plan COUNT is merchant-controlled (plans are blocks), so this is flex with a
   basis rather than a fixed grid template: 2, 3 or 4 plans all share a row and
   nothing wraps onto a line of its own. */
.plans { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; align-items: stretch; }
.plans > * { flex: 1 1 240px; min-width: 0; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
}
.plan--featured { border-color: var(--navy); box-shadow: 0 18px 44px rgba(32, 66, 130, .12); }
/* The chip is out of flow: only one plan carries it, and in flow it pushed
   that card's name and price a row lower than its neighbours'. */
.plan__chip { position: absolute; top: -12px; left: 28px; }
.plan__name { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.005em; color: var(--navy); margin: 0; }
.plan__price { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin: 0; }
.plan__period { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-mute); }
.plan__note { margin-top: -4px; }
.plan__list { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.plan__item { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.plan__item::before { content: "·"; color: var(--teal); font-weight: 700; }
.plan__cta { margin-top: auto; padding-top: 20px; }
.plans__foot { margin-top: 32px; max-width: 700px; }

/* ---- trial steps ---------------------------------------------------------
   Numerals are a CSS counter: the template language has no loop index. */
.steps { list-style: none; counter-reset: step; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.steps__item { counter-increment: step; padding-left: 44px; position: relative; }
.steps__item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--ink-mute);
}
.steps__title { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }

/* ---- dynamic-form --------------------------------------------------------
   <dynamic-form> has the cart-drawer shape: the component owns the fetch,
   validation, submit state, honeypot and captcha; every element below is
   TEMPLATE markup, so these are the theme's own class names.

   Two exceptions, and they are engine-owned DOM the theme only styles:
     .df-option  — a row inside a radio / multi-checkbox group (the options
                   come from the form definition, so the control renders them)
     the captcha widget's own iframe wrapper.
   If the engine's control markup changes, those two rules break. */
.pform { display: flex; flex-direction: column; gap: 18px; }
.pform__grid { display: flex; flex-wrap: wrap; gap: 14px; }
.pform__cell { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; min-width: 0; }
.pform__cell--half { flex: 1 1 calc(50% - 7px); }
.pform__cell--third { flex: 1 1 calc(33.333% - 10px); }
.pform__cell--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.pform__label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.pform__req { color: var(--teal-dark); }
.pform__control {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.pform__control:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.pform__control.has-error { border-color: #c0392b; }
textarea.pform__control { min-height: 128px; resize: vertical; }
select.pform__control { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--ink-mute) 50%), linear-gradient(-45deg, transparent 49%, var(--ink-mute) 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.pform__check { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); flex: 0 0 auto; }
.pform__check-label { flex: 1 1 200px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.pform__help { font-size: 12px; line-height: 1.5; color: var(--ink-mute); margin: 0; }
.pform__error { font-size: 12px; line-height: 1.5; color: #c0392b; margin: 0; }
.pform__submit { align-self: flex-start; }
.pform__captcha { display: block; }
/* engine-owned: one option row inside a radio / multi-checkbox control */
.pform__control .df-option { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); padding: 4px 0; }
.pform__control .df-option input { accent-color: var(--teal); }
.pform__note { font-size: 14px; line-height: 1.6; border-radius: 10px; padding: 12px 14px; margin: 0; }
.pform__note--ok { background: rgba(0, 167, 157, .1); color: var(--teal-deep); }
.pform__note--error { background: rgba(192, 57, 43, .08); color: #8f2116; }
/* a radio/checkbox GROUP is a wrapper, not an input — drop the input chrome */
div.pform__control { border: 0; padding: 0; background: none; }

@media (max-width: 640px) {
  .pform__cell--half,
  .pform__cell--third { flex-basis: 100%; }
  .pagehead { padding: 56px 0 48px; }
}

/* ---- map band ------------------------------------------------------------
   The design reference embeds a standalone `kontaktai-map.html` page; that is
   not a lane a theme has (and the file was not in the bundle). This uses the
   platform's <shop-map>, which frames OpenStreetMap and click-throughs to
   Google Maps — no key, no CDN script, nothing to host.

   ENGINE-OWNED MARKUP: shop-map renders an <a class="{className}"> wrapping a
   full-size <iframe>, so the canvas rules below size markup the theme does not
   own and break if that component's DOM changes. */
.map-band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-band__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; align-items: stretch; }
.map-band__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 56px 24px 56px 0; }
.map-band__title { margin: 0; }
.map-band__copy .body { max-width: 380px; }
.map-band__canvas { display: block; position: relative; min-height: 340px; background: #E9EDF2; border-left: 1px solid var(--line); overflow: hidden; }
@media (max-width: 900px) {
  .map-band__inner { grid-template-columns: 1fr; }
  .map-band__copy { padding: 48px 0 32px; }
  .map-band__inner { padding: 0 24px; }
  .map-band__canvas { min-height: 300px; border-left: 0; border-top: 1px solid var(--line); }
}
