/* =========================================================================
   Omapuhasti — ported from the demo "Omapuhasti" (assets/css/style.css, "Süvitsi").
   White base, ink (#0b1015) rooms for contrast; palette from the Omapuhasti.ee logo:
   cyan-blue wave, moss-green sliver. Every class carries om-, every token --om- (S-009).
   Breakpoints are single max-width conditions (S-013).
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --om-white: #ffffff;
  --om-line-d: rgba(15,22,29,.14);
  --om-line-ds: rgba(15,22,29,.08);
  --om-text: #0f161d;
  --om-text-soft: #46525d;

  --om-ink: #0b1015;
  --om-ink-2: #11191f;
  --om-on-ink: #f3f5f6;
  --om-on-ink-soft: rgba(243,245,246,.72);
  --om-line: rgba(255,255,255,.16);

  --om-brand: #0098d6;
  --om-brand-deep: #00577e;
  --om-accent: #5da272;
  --om-accent-deep: #45875b;
  --om-accent-btn: #3f7d54;
  --om-accent-btn-hover: #346a46;
  --om-accent-shadow: 0 8px 24px rgba(15,22,29,0.15);
  --om-plate: #f4f6f8;

  --om-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --om-mono: "IBM Plex Mono", ui-monospace, monospace;

  --om-edge: clamp(20px, 5vw, 64px);
  --om-container: 1280px;

  --om-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--om-font); background: var(--om-white); color: var(--om-text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100svh; display: flex; flex-direction: column;
  overflow-x: clip;
}
.om-main { flex: 1; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; }
address { font-style: normal; }
h1, h2, h3, h4 { font-family: var(--om-font); margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
:focus-visible { outline: 2.5px solid var(--om-brand); outline-offset: 2px; }

.om-wrap { max-width: var(--om-container); margin-inline: auto; padding-inline: var(--om-edge); }
.om-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.om-skip {
  position: fixed; left: 12px; top: 12px; transform: translateY(-200%);
  background: var(--om-accent-btn); color: #fff; padding: 10px 16px;
  z-index: 400; font-weight: 700; text-decoration: none; transition: transform .15s ease;
}
.om-skip:focus { transform: none; }

/* ---------- 3. Icons ---------- */
.om-ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.om-ic--lg { width: 28px; height: 28px; }

/* ---------- 4. Buttons ---------- */
.om-btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--om-font); font-weight: 700; font-size: .95rem; line-height: 1.3;
  letter-spacing: .01em; padding: .95em 1.5em; border-radius: 0;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.om-btn .om-ic { width: 18px; height: 18px; }
.om-btn:active { transform: translateY(1px); }
.om-btn--sm { padding: .65em 1.15em; font-size: .86rem; }
/* The demo's #5da272 under white text is 3.0:1; the button ground is one step deeper for 4.5:1 (S-025). */
.om-btn--accent { background: var(--om-accent-btn); color: #fff; border-color: var(--om-accent-btn); }
.om-btn--accent:hover { background: var(--om-accent-btn-hover); border-color: var(--om-accent-btn-hover); box-shadow: var(--om-accent-shadow); }
.om-btn--ghost { background: transparent; color: var(--om-text); border-color: rgba(15,22,29,.4); }
.om-btn--ghost:hover { background: rgba(15,22,29,.08); border-color: var(--om-text); }
.om-btn--line { background: transparent; color: var(--om-text); border-color: var(--om-line-d); }
.om-btn--line:hover { border-color: var(--om-text); }

/* ---------- 5. Spec tag ---------- */
.om-spec {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--om-mono); font-size: .78rem; letter-spacing: .02em;
  padding: .35em .7em; border: 1px solid var(--om-line-d); color: var(--om-text-soft);
}

/* ---------- 6. Rib + grain ---------- */
.om-rib {
  background-image: repeating-linear-gradient(180deg, var(--om-line-d) 0px, var(--om-line-d) 2px, transparent 2px, transparent 11px);
  opacity: .55;
}
.om-grain { position: relative; }
.om-grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--om-noise); opacity: .05; mix-blend-mode: overlay; z-index: 1;
}

/* ---------- 7. Header ---------- */
.om-head {
  position: fixed; inset-inline: 0; top: 0; z-index: 200;
  background: #ffffff; box-shadow: 0 1px 0 var(--om-line-ds);
}
.om-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px var(--om-edge); }
.om-brand { display: inline-flex; align-items: center; transition: opacity .2s ease; }
.om-brand:hover { opacity: .82; }
.om-brand img { height: 46px; width: auto; display: block; }
.om-nav { display: flex; align-items: center; gap: 30px; }
.om-nav__list { display: flex; gap: 6px; font-size: 1.05rem; font-weight: 600; }
/* Demo: links at .65 opacity (3.5:1). Here the resting state is a solid #46525d (7.6:1) and hover dims siblings. */
.om-nav__list a { display: block; text-decoration: none; color: var(--om-text-soft); padding: 8px 12px; transition: color .35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity .35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.om-nav__list a.om-is-active { color: var(--om-text); }
.om-nav__list:hover a { opacity: .55; }
.om-nav__list:hover a:hover { opacity: 1; color: var(--om-text); }

.om-navtoggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1.5px solid rgba(15,22,29,.35);
  background: none; color: var(--om-text); cursor: pointer; position: relative; z-index: 210; padding: 0;
}
.om-navtoggle__close { display: none; }
.om-navtoggle[aria-expanded="true"] .om-navtoggle__open { display: none; }
.om-navtoggle[aria-expanded="true"] .om-navtoggle__close { display: block; }

.om-mnav {
  position: fixed; inset: 0; z-index: 190; background: #ffffff;
  display: flex; flex-direction: column; gap: 28px;
  padding: 100px var(--om-edge) 40px; overflow-y: auto;
}
.om-mnav[hidden] { display: none; }
.om-mnav__list { display: flex; flex-direction: column; gap: 4px; }
.om-mnav__list a {
  display: block; padding: 14px 0; color: var(--om-text); text-decoration: none;
  font-weight: 700; font-size: 1.4rem; border-bottom: 1px solid var(--om-line-ds);
}
.om-mnav .om-btn { justify-content: center; }
.om-mnav__contact { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.om-mnav__contact a { display: flex; align-items: center; gap: .6em; color: var(--om-text-soft); text-decoration: none; }

@media (max-width: 860px) {
  .om-nav { display: none; }
  .om-navtoggle { display: inline-flex; }
  .om-brand img { height: 40px; }
}

/* ---------- 8. Home hero ---------- */
.om-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--om-ink); overflow: hidden; }
.om-hero__media { position: absolute; inset: 0; z-index: 0; }
.om-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: saturate(.85) contrast(1.05); }
.om-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,16,21,.55) 0%, rgba(11,16,21,.35) 32%, rgba(11,16,21,.95) 92%),
    linear-gradient(90deg, rgba(11,16,21,.8) 0%, rgba(11,16,21,.1) 48%);
}
.om-hero__grain { position: absolute; inset: 0; z-index: 1; background-image: var(--om-noise); opacity: .045; mix-blend-mode: overlay; pointer-events: none; }
.om-hero__copy { position: relative; z-index: 2; color: #fff; padding: 40px var(--om-edge) 76px; max-width: 900px; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.om-hero__title { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 13ch; overflow-wrap: break-word; }
.om-hero__title em { font-style: normal; color: #8bd1ee; }
.om-hero__lede { max-width: 48ch; font-size: 1.15rem; color: rgba(255,255,255,.85); }
.om-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.om-hero .om-btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.om-hero .om-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
@media (max-width: 980px) { .om-hero { min-height: auto; padding-top: 108px; } }
@media (max-width: 480px) { .om-hero__title { font-size: 2.3rem; } }

/* ---------- 9. Sections ---------- */
.om-section { padding: 100px var(--om-edge); scroll-margin-top: 90px; color: var(--om-text); }
.om-section--ink { background: var(--om-ink-2); color: var(--om-on-ink); }
.om-head2 { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: var(--om-container); margin: 0 auto 48px; flex-wrap: wrap; }
.om-head2 > * { min-width: 0; }
.om-head2 h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); max-width: 16ch; }
.om-head2 p { max-width: 44ch; color: var(--om-text-soft); }
.om-head2--stack { flex-direction: column; align-items: flex-start; gap: 12px; }
.om-head2--stack h2 { max-width: none; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.om-head2--stack p { max-width: 60ch; font-size: 1.02rem; }
.om-section--ink .om-head2 p { color: var(--om-on-ink-soft); }
.om-lede { font-size: 1.05rem; color: var(--om-text-soft); }
@media (max-width: 640px) { .om-section { padding-block: 72px; } }

/* ---------- 10. Category cards ---------- */
.om-cats__grid { max-width: var(--om-container); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.om-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--om-text);
  background: #ffffff; border: 1px solid var(--om-line-ds);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
a.om-card:hover { transform: translateY(-2px); border-color: var(--om-line-d); box-shadow: 0 12px 32px rgba(15,22,29,.08); }
.om-card__visual {
  aspect-ratio: 4 / 3; background: var(--om-plate); display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden; border-bottom: 1px solid var(--om-line-ds);
}
.om-card__visual img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .5s ease; mix-blend-mode: multiply; }
.om-card__visual img.om-is-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; }
a.om-card:hover .om-card__visual img { transform: scale(1.05); }
.om-card__content { padding: 24px 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.om-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; overflow-wrap: break-word; hyphens: auto; }
.om-card p {
  color: var(--om-text-soft); font-size: .86rem; line-height: 1.5; margin-bottom: 20px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.om-card__link {
  margin-top: auto; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--om-brand-deep); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: color .3s ease;
}
.om-card__link .om-ic { width: 16px; height: 16px; transition: transform .3s ease; }
a.om-card:hover .om-card__link, a.om-card__link:hover { color: var(--om-text); }
a.om-card:hover .om-card__link .om-ic, a.om-card__link:hover .om-ic { transform: translateX(4px); }
.om-cats__banner {
  max-width: var(--om-container); margin: 24px auto 0; background: #ffffff; border: 1px solid var(--om-line-ds);
  padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(15,22,29,.03);
}
.om-cats__banner-text { display: flex; align-items: center; gap: 12px; font-size: .95rem; min-width: 0; }
.om-cats__banner-text .om-ic { color: var(--om-text); }
@media (max-width: 1200px) { .om-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .om-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .om-cats__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 11. Sizing estimator ---------- */
.om-est__grid { max-width: var(--om-container); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 56px; align-items: start; position: relative; z-index: 2; }
.om-est__intro { min-width: 0; }
.om-est__intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); max-width: 14ch; }
.om-est__intro p { margin-top: 16px; max-width: 42ch; color: var(--om-text-soft); }
.om-est__intro .om-est__note { margin-top: 20px; font-size: .82rem; color: #5f6a74; max-width: 40ch; }
.om-est__panel { background: #ffffff; border: 1px solid var(--om-line-ds); padding: 32px; min-width: 0; }
.om-est__field { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 6px; }
.om-est__field label { font-weight: 700; font-size: 1.02rem; }
.om-est__count { font-family: var(--om-mono); font-size: 1.6rem; color: var(--om-accent-deep); min-width: 2.4ch; text-align: right; }
.om-est input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--om-brand) 0%, var(--om-accent) var(--fill, 30%), var(--om-line-d) var(--fill, 30%));
  margin: 18px 0 8px; cursor: pointer;
}
.om-est input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--om-accent); cursor: pointer; box-shadow: var(--om-accent-shadow); }
.om-est input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--om-accent); cursor: pointer; box-shadow: var(--om-accent-shadow); }
.om-est__scale { display: flex; justify-content: space-between; font-family: var(--om-mono); font-size: .74rem; color: #6b757e; margin-bottom: 26px; }
.om-est__result { background: var(--om-ink); padding: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 22px; align-items: center; }
.om-est__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--om-brand-deep); color: #fff; display: flex; align-items: center; justify-content: center; grid-row: span 2; }
.om-est__vol { font-weight: 800; font-size: 1.5rem; color: var(--om-on-ink); align-self: end; }
.om-est__product { color: var(--om-on-ink-soft); font-size: .92rem; grid-column: 2; margin-top: -12px; align-self: start; }
.om-est__result .om-btn { grid-column: 1 / -1; margin-top: 6px; justify-content: center; white-space: normal; }
.om-est__table { margin-top: 28px; border-top: 1px solid var(--om-line-ds); padding-top: 20px; overflow-x: auto; }
.om-est__table table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.om-est__table th { text-align: left; font-family: var(--om-mono); text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; color: #5f6a74; padding: 0 12px 10px 0; font-weight: 600; }
.om-est__table td { padding: 9px 12px 9px 0; border-top: 1px solid var(--om-line-ds); color: var(--om-text-soft); }
.om-est__table tr.om-is-active td { color: var(--om-text); }
.om-est__table tr.om-is-active td:first-child { color: var(--om-accent-btn); font-weight: 700; }
@media (max-width: 900px) { .om-est__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 480px) { .om-est__panel { padding: 22px; } }

/* ---------- 12. Gallery + lightbox ---------- */
.om-gal { max-width: var(--om-container); margin: 0 auto; }
.om-gal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.om-gal__item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; border: none; padding: 0; background: var(--om-ink-2); display: block; width: 100%; font: inherit; color: inherit; }
.om-gal__item:disabled { cursor: default; }
.om-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.om-gal__item:hover img { transform: scale(1.04); }
.om-gal__cap {
  position: absolute; left: 0; bottom: 0; right: 0; background: #ffffff; color: var(--om-text);
  font-family: var(--om-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; text-align: left;
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(100%); transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid var(--om-line-ds);
}
.om-gal__item:hover .om-gal__cap, .om-gal__item:focus-visible .om-gal__cap, .om-gal__cap--ed { transform: translateY(0); }
.om-gal__cap .om-ic { flex: none; width: 14px; height: 14px; opacity: .5; }
.om-gal__item:hover .om-gal__cap .om-ic { opacity: 1; }
@media (max-width: 900px) { .om-gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (hover: none) { .om-gal__cap { transform: none; padding: 10px 12px; font-size: .68rem; } }

.om-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(255,255,255,.96); display: flex; align-items: center; justify-content: center; padding: 40px; }
.om-lightbox[hidden] { display: none; }
.om-lightbox__figure { max-width: min(1100px, 92vw); max-height: 82vh; text-align: center; margin: 0; }
.om-lightbox__figure img { max-height: 74vh; width: auto; margin: 0 auto; border-radius: 2px; }
.om-lightbox__cap { color: #3d4852; font-family: var(--om-mono); font-size: .82rem; margin-top: 16px; }
.om-lightbox__close, .om-lightbox__prev, .om-lightbox__next {
  position: absolute; background: rgba(15,22,29,.06); border: 1.5px solid rgba(15,22,29,.25); padding: 0;
  color: var(--om-text); border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.om-lightbox__close:hover, .om-lightbox__prev:hover, .om-lightbox__next:hover { background: rgba(15,22,29,.12); }
.om-lightbox__close { top: 24px; right: 24px; }
.om-lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.om-lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .om-lightbox { padding: 16px; } .om-lightbox__prev, .om-lightbox__next { width: 40px; height: 40px; top: auto; bottom: 20px; transform: none; } .om-lightbox__close { top: 16px; right: 16px; } }

/* ---------- 13. Trust cards ---------- */
.om-trust { max-width: var(--om-container); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--om-line-ds); border: 1px solid var(--om-line-ds); }
.om-trust__card { background: #ffffff; padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.om-trust__card .om-ic { color: var(--om-brand); }
.om-trust__card h3 { font-size: 1.05rem; }
.om-trust__card p { font-size: .9rem; color: var(--om-text-soft); }
@media (max-width: 560px) { .om-trust { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 14. Subpage hero ---------- */
.om-phero { position: relative; background: var(--om-ink); color: var(--om-on-ink); padding: 150px var(--om-edge) 64px; overflow: hidden; }
.om-phero__inner { position: relative; z-index: 2; max-width: 820px; min-width: 0; }
.om-phero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); overflow-wrap: break-word; }
.om-phero p { margin-top: 16px; max-width: 56ch; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.om-phero__media { position: absolute; inset: 0; z-index: 0; opacity: .38; }
.om-phero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); }
.om-phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,21,.4), var(--om-ink) 96%); }
.om-phero .om-rib { position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background-image: repeating-linear-gradient(180deg, var(--om-line) 0px, var(--om-line) 2px, transparent 2px, transparent 11px); }
@media (max-width: 640px) { .om-phero { padding-top: 120px; } .om-phero h1 { font-size: 2rem; } }

/* ---------- 15. Product groups ---------- */
.om-prod { padding: 84px var(--om-edge) 124px; border-bottom: 1px solid var(--om-line-ds); scroll-margin-top: 96px; color: var(--om-text); }
.om-prod__grid { max-width: var(--om-container); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.om-prod__figure {
  grid-column: 1 / 10; grid-row: 1; background: #ffffff; display: flex; align-items: center; justify-content: center;
  padding: 40px 36% 40px 40px; min-height: 480px; position: relative; overflow: hidden; border: 1px solid var(--om-line-ds); min-width: 0;
}
.om-prod__figure img { max-height: 380px; width: auto; height: auto; object-fit: contain; }
.om-prod__figure img.om-is-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: left center; }
.om-prod__card {
  grid-column: 7 / 13; grid-row: 1; background: #ffffff; padding: 48px; min-width: 0;
  border: 1px solid var(--om-line-d); position: relative; z-index: 2;
  transform: translateY(40px); box-shadow: 0 20px 50px rgba(15,22,29,.1);
}
.om-prod--right .om-prod__figure { grid-column: 4 / 13; padding: 40px 40px 40px 36%; }
.om-prod--right .om-prod__figure img.om-is-photo { object-position: right center; }
.om-prod--right .om-prod__card { grid-column: 1 / 7; }
.om-prod h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); overflow-wrap: break-word; hyphens: auto; }
.om-prod__card .om-lede { margin-top: 16px; max-width: 52ch; }
.om-prod .om-spec { margin-top: 18px; }
.om-items { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.om-items__row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding-top: 16px; border-top: 1px solid var(--om-line-ds); }
.om-items__row dt { font-weight: 700; overflow-wrap: break-word; }
.om-items__row dd { color: var(--om-text-soft); font-size: .93rem; }
.om-prod__extra { margin-top: 22px; color: var(--om-text-soft); font-size: .92rem; }
.om-prod__cta { margin-top: 26px; white-space: normal; text-align: left; }

.om-prod--dark { background: var(--om-ink); color: var(--om-on-ink); border-bottom: 0; }
.om-prod--dark .om-prod__figure { background: #ffffff; border-color: rgba(255,255,255,.22); }
.om-prod--dark .om-prod__card { background: var(--om-ink); border-color: var(--om-line); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.om-prod--dark .om-lede, .om-prod--dark .om-items__row dd, .om-prod--dark .om-prod__extra { color: var(--om-on-ink-soft); }
.om-prod--dark .om-items__row { border-top-color: var(--om-line); }
.om-prod--dark .om-spec { border-color: var(--om-line); color: var(--om-on-ink-soft); }
.om-prod--dark .om-btn--line { color: var(--om-on-ink); border-color: var(--om-line); }
.om-prod--dark .om-btn--line:hover { border-color: var(--om-on-ink); }

/* A product group followed by its videos / figures (biopuhastid) runs on into them without a rule. */
.cms-block:has(+ .cms-block--om-video-feature) .om-prod,
.cms-block:has(+ .cms-block--om-figures) .om-prod { border-bottom: 0; padding-bottom: 88px; }

/* Video stage (hooldustugi): product render + a tall manufacturer video. */
.om-stage { display: flex; align-items: center; justify-content: flex-start; gap: 32px; width: 100%; height: 100%; position: relative; z-index: 1; }
.om-stage__product { flex: 1; display: flex; align-items: center; justify-content: center; min-width: 0; }
.om-stage__product img { max-height: 380px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.om-stage__video { flex: none; width: 270px; height: 480px; position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 48px rgba(15,22,29,.16); border: 3px solid #ffffff; background: #000; }
.om-stage__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.om-stage__badge {
  position: absolute; top: 14px; left: 14px; background: rgba(15,22,29,.88); color: #fff;
  font-family: var(--om-mono); font-size: .74rem; font-weight: 500; padding: 5px 12px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 6px; pointer-events: none; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.om-stage__badge .om-ic { width: 13px; height: 13px; color: var(--om-accent); }
@media (max-width: 1200px) {
  .om-stage__video { width: 240px; height: 426px; }
  .om-stage__product img { max-height: 300px; }
}
@media (max-width: 1024px) {
  .om-prod__grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .om-prod__figure, .om-prod--right .om-prod__figure { width: 100%; min-height: 360px; padding: 40px; }
  .om-prod__card, .om-prod--right .om-prod__card { width: 90%; align-self: flex-end; transform: translateY(-40px); box-shadow: 0 12px 30px rgba(15,22,29,.08); padding: 36px; }
  .om-prod--dark .om-prod__card { box-shadow: 0 12px 30px rgba(0,0,0,.4); }
  .om-stage { justify-content: center; gap: 28px; flex-wrap: wrap; }
  .om-stage__video { width: 280px; height: 497px; }
}
@media (max-width: 640px) {
  .om-prod { padding-bottom: 60px; padding-top: 56px; }
  .om-prod__figure, .om-prod--right .om-prod__figure { min-height: 260px; padding: 24px; }
  .om-prod__card, .om-prod--right .om-prod__card { width: 100%; transform: none; box-shadow: none; border: none; border-top: 1px solid var(--om-line-ds); padding: 24px 0 0; background: transparent; }
  .om-prod--dark .om-prod__card { box-shadow: none; border-top-color: var(--om-line); background: transparent; }
  .om-items__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .om-stage { flex-direction: column; }
  .om-stage__product { display: none; }
  .om-stage__video { width: 100%; max-width: 300px; height: 480px; margin: 0 auto; }
}

/* ---------- 16. Manufacturer video, figures, video answers ---------- */
.om-media-sec { padding: 0 var(--om-edge); }
.om-media-sec--last { padding-bottom: 100px; border-bottom: 1px solid var(--om-line-ds); }
.om-vfeat {
  max-width: var(--om-container); margin: 0 auto; display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 44px; align-items: center;
  background: var(--om-plate); padding: 40px;
}
.om-vfeat__player { min-width: 0; }
.om-vfeat__player video { width: 100%; display: block; border-radius: 2px; background: #000; aspect-ratio: 1280 / 674; }
.om-vfeat__copy { min-width: 0; }
.om-vfeat__copy h3 { font-size: 1.35rem; margin: 0 0 12px; }
.om-vfeat__copy p { color: var(--om-text-soft); font-size: .95rem; line-height: 1.6; }
.om-figs { max-width: var(--om-container); margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.om-figs figure { background: var(--om-plate); padding: 28px; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.om-figs img { max-height: 210px; width: auto; height: auto; object-fit: contain; }
.om-figs figcaption { margin-top: 16px; font-size: .85rem; color: var(--om-text-soft); }
.om-vfaq { max-width: var(--om-container); margin: 88px auto 0; }
.om-vfaq h3 { font-size: 1.4rem; text-align: center; margin: 0 0 36px; }
.om-vfaq__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.om-vfaq__card { min-width: 0; }
.om-vfaq__card video { width: 100%; height: auto; display: block; background: #000; }
.om-vfaq__empty { aspect-ratio: 9 / 16; background: var(--om-plate); display: flex; align-items: center; justify-content: center; color: var(--om-text-soft); }
.om-vfaq__card h4 { margin: 16px 0 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
@media (max-width: 860px) {
  .om-vfeat { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 24px; }
  .om-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .om-figs { grid-template-columns: minmax(0, 1fr); }
  .om-vfeat { padding: 20px; }
}

/* ---------- 17. Accessories ---------- */
.om-acc { padding: 84px var(--om-edge) 100px; border-top: 1px solid var(--om-line-ds); scroll-margin-top: 96px; }
.om-acc__grid { max-width: var(--om-container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.om-acc__card {
  background: #ffffff; border: 1px solid var(--om-line-ds); padding: 36px 30px; display: flex; flex-direction: column; min-width: 0;
  box-shadow: 0 4px 20px rgba(15,22,29,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.om-acc__card:hover { transform: translateY(-3px); border-color: var(--om-line-d); box-shadow: 0 12px 32px rgba(15,22,29,.08); }
.om-acc__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.om-acc__head .om-ic { color: var(--om-brand); width: 26px; height: 26px; }
.om-acc__card h3 { font-size: 1.2rem; line-height: 1.25; min-width: 0; overflow-wrap: break-word; }
.om-acc__card .om-spec { margin-bottom: 16px; align-self: flex-start; }
.om-acc__card p { color: var(--om-text-soft); font-size: .92rem; line-height: 1.55; margin-bottom: 20px; }
.om-acc__feats { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--om-line-ds); display: flex; flex-direction: column; gap: 10px; }
.om-acc__feats li { font-size: .85rem; display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.om-acc__feats li .om-ic { color: var(--om-accent-deep); width: 15px; height: 15px; margin-top: 2px; }
.om-acc__feats--ed { white-space: pre-line; font-size: .85rem; }
.om-acc__cta {
  max-width: var(--om-container); margin: 44px auto 0; background: #ffffff; border: 1px solid var(--om-line-d);
  padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  box-shadow: 0 8px 24px rgba(15,22,29,.05);
}
.om-acc__cta > div { min-width: 0; }
.om-acc__cta h3 { font-size: 1.2rem; margin-bottom: 6px; letter-spacing: -0.015em; }
.om-acc__cta p { color: var(--om-text-soft); font-size: .92rem; max-width: 58ch; }
.om-acc__cta .om-btn { white-space: normal; }
@media (max-width: 960px) {
  .om-acc__grid { grid-template-columns: minmax(0, 1fr); }
  .om-acc__cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

/* ---------- 18. About (image + text) ---------- */
.om-about .om-prod__figure { padding: 40px; }
.om-about .om-prod__card .om-lede p + p { margin-top: 16px; }
.om-about__note { margin-top: 16px; font-size: .88rem; color: var(--om-text-soft); }
.om-about__note a { color: inherit; }
.om-prose a { color: var(--om-brand-deep); }
.om-prose ul, .om-prose ol { margin: 12px 0 0; padding-left: 1.3em; list-style: disc; }
.om-prose ol { list-style: decimal; }
.om-prose p + p { margin-top: 16px; }

/* ---------- 19. Price factors + comparison ---------- */
.om-pf { max-width: var(--om-container); margin: 0 auto; }
.om-pf__row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 8px 28px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--om-line-ds); }
.om-pf__row:last-child { border-bottom: 1px solid var(--om-line-ds); }
.om-pf__row dt { display: flex; align-items: center; gap: .7em; font-weight: 700; font-size: 1.02rem; min-width: 0; }
.om-pf__row dt .om-ic { color: var(--om-accent-deep); }
.om-pf__row dd { color: var(--om-text-soft); font-size: .93rem; max-width: 54ch; }
@media (max-width: 700px) { .om-pf__row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

.om-cmp { max-width: var(--om-container); margin: 0 auto; overflow-x: auto; }
.om-cmp table { width: 100%; min-width: 640px; border-collapse: collapse; }
.om-cmp thead th {
  text-align: left; font-family: var(--om-mono); text-transform: uppercase; font-weight: 500;
  font-size: .72rem; letter-spacing: .07em; color: var(--om-on-ink-soft);
  padding: 0 18px 14px 0; border-bottom: 1.5px solid var(--om-on-ink);
}
.om-cmp td, .om-cmp tbody th { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--om-line); font-size: .93rem; color: var(--om-on-ink-soft); vertical-align: top; text-align: left; font-weight: 400; }
.om-cmp tbody th { font-weight: 700; color: var(--om-on-ink); white-space: nowrap; }

/* ---------- 20. Contact ---------- */
.om-contact { max-width: var(--om-container); margin: 0 auto; display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 56px; align-items: start; }
.om-cinfo { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.om-cinfo__item { display: flex; gap: 16px; align-items: flex-start; }
.om-cinfo__item > div { min-width: 0; }
.om-cinfo__item .om-ic { color: var(--om-text-soft); margin-top: 3px; }
.om-cinfo__item h3 { font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; color: var(--om-text-soft); margin-bottom: 4px; }
.om-cinfo__item a, .om-cinfo__item span { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.om-cinfo__item a { text-decoration: none; }
.om-cinfo__item a:hover { color: var(--om-brand-deep); }
.om-cmap { margin-top: 8px; border: 1px solid var(--om-line-d); }
.om-cmap iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(.3); }
.om-cmap__ed { padding: 24px; display: flex; gap: 10px; align-items: center; color: var(--om-text-soft); background: var(--om-plate); }

.om-fcard { background: #06080b; color: var(--om-on-ink); border: 1px solid var(--om-line); padding: 36px; min-width: 0; scroll-margin-top: 96px; }
.om-form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
.om-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.om-field--full { grid-column: 1 / -1; }
.om-field label { font-size: .86rem; font-weight: 700; }
.om-req { color: #7cc293; }
.om-field input, .om-field select, .om-field textarea {
  font: inherit; font-size: 1rem; padding: .8em .9em; border: 1.5px solid rgba(255,255,255,.3); border-radius: 0;
  background: var(--om-ink); color: var(--om-on-ink); width: 100%; min-width: 0;
}
.om-field select { appearance: none; -webkit-appearance: none; padding-right: 2.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f3f5f6' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9em center; }
.om-field input::placeholder, .om-field textarea::placeholder { color: rgba(243,245,246,.5); }
.om-field input:focus, .om-field select:focus, .om-field textarea:focus { outline: none; border-color: var(--om-brand); box-shadow: 0 0 0 2px rgba(0,152,214,.35); }
.om-field textarea { resize: vertical; min-height: 110px; }
.om-field.om-has-error input, .om-field.om-has-error select, .om-field.om-has-error textarea { border-color: #ff8a80; }
.om-field__err { font-size: .82rem; color: #ffaba3; display: none; }
.om-field.om-has-error .om-field__err { display: block; }
.om-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.om-form__shield { margin-top: 18px; color: var(--om-text); }
.om-form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.om-form__actions .om-btn:disabled { opacity: .6; cursor: wait; }
.om-form__note { font-size: .82rem; color: var(--om-on-ink-soft); }
.om-banner { padding: 14px 18px; font-size: .92rem; font-weight: 600; margin-bottom: 22px; display: flex; gap: 10px; align-items: flex-start; }
.om-banner[hidden] { display: none; }
.om-banner--ok { background: #e6f2ea; color: #2f6943; border: 1px solid #bfdcc9; }
.om-banner--err { background: #fbeaea; color: #a02323; border: 1px solid #f0c4c4; }
@media (max-width: 900px) { .om-contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .om-form__grid { grid-template-columns: minmax(0, 1fr); } .om-fcard { padding: 24px; } }

/* ---------- 21. Footer ---------- */
.om-foot { background: #ffffff; color: var(--om-text); position: relative; z-index: 0; overflow: hidden; margin-top: auto; }
.om-foot::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -6%; right: -6%; bottom: 0; height: 58%;
  background: url("img/deco/current-footer.svg") no-repeat center bottom / 100% auto; opacity: .2;
}
.om-foot__lead { position: relative; padding-block: 52px 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 56px; align-items: start; max-width: none; }
.om-foot__lead::after {
  content: ""; position: absolute; left: var(--om-edge); right: var(--om-edge); bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,22,29,.17) 22%, rgba(15,22,29,.17) 78%, transparent);
}
.om-foot__msg { min-width: 0; }
.om-foot__msg h2 { font-size: 1.35rem; letter-spacing: -.01em; }
.om-foot__msg p { margin-top: 10px; color: var(--om-text-soft); font-size: .94rem; max-width: 56ch; }
.om-foot__msg .om-btn { margin-top: 22px; }
.om-foot__direct { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 8px; min-width: 0; }
.om-foot__phone { font-weight: 700; font-size: clamp(1.55rem, 2.4vw, 2.05rem); letter-spacing: -.02em; line-height: 1.05; color: var(--om-text); text-decoration: none; transition: color .15s ease; }
a.om-foot__phone:hover { color: var(--om-brand-deep); }
.om-foot__mail { display: inline-flex; align-items: center; gap: .5em; font-size: .92rem; color: var(--om-text-soft); text-decoration: none; overflow-wrap: anywhere; }
a.om-foot__mail:hover { color: var(--om-text); }
.om-foot__mail .om-ic { width: 16px; height: 16px; }
.om-foot__top { padding-block: 60px 48px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; max-width: none; }
.om-foot__top > * { min-width: 0; }
.om-brand--foot img { height: 56px; }
.om-foot__addr { display: flex; align-items: flex-start; gap: .6em; margin-top: 20px; max-width: 30ch; font-size: .88rem; line-height: 1.5; color: var(--om-text-soft); }
.om-foot__addr .om-ic { width: 16px; height: 16px; margin-top: .2em; }
.om-foot__col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #5a646d; margin-bottom: 16px; font-family: var(--om-mono); font-weight: 500; }
.om-foot__col ul { display: flex; flex-direction: column; gap: 10px; }
.om-foot__col a { text-decoration: none; color: var(--om-text-soft); font-size: .94rem; }
.om-foot__col a:hover { color: var(--om-text); }
.om-foot__bottomrow { border-top: 1px solid var(--om-line-ds); }
.om-foot__bottom { padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: none; }
.om-foot__legal { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: #5a646d; }
.om-credit { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; text-decoration: none; text-align: right; }
.om-credit__name {
  font-weight: 700; font-size: 1.3rem;
  background-image: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.9) 50%, transparent 80%), linear-gradient(90deg, var(--om-brand-deep), var(--om-brand) 55%, var(--om-accent));
  background-size: 200% 100%, 100% 100%; background-position: -140% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.om-credit:hover .om-credit__name { animation: om-glimmer 1.1s ease forwards; }
@keyframes om-glimmer { from { background-position: -140% 0, 0 0; } to { background-position: 240% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .om-credit:hover .om-credit__name { animation: none; } }
.om-credit__sub { font-size: .72rem; letter-spacing: .04em; color: #5a646d; }
@media (max-width: 980px) {
  .om-foot__top { grid-template-columns: 1fr 1fr; }
  .om-foot__lead { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .om-foot__direct { align-items: flex-start; text-align: left; }
}
@media (max-width: 720px) { .om-foot::after { left: -30%; right: -30%; } }
@media (max-width: 620px) {
  .om-foot__lead { padding-block: 42px 36px; }
  .om-foot__msg .om-btn { width: 100%; justify-content: center; }
  .om-foot__top { grid-template-columns: minmax(0, 1fr); }
  .om-foot__bottom { flex-direction: column; align-items: flex-start; }
  .om-credit { align-items: flex-start; text-align: left; }
}

/* ---------- 22. 404 ---------- */
.om-404 { padding: 160px var(--om-edge) 120px; text-align: center; }
.om-404 h1 { font-size: clamp(2.4rem, 6vw, 5rem); margin-top: 18px; overflow-wrap: break-word; }
.om-404 p { margin: 18px auto 0; max-width: 46ch; color: var(--om-text-soft); }
.om-404 .om-btn { margin-top: 30px; }

/* ---------- 23. Placeholder image, language switcher ---------- */
.om-img-ph { background: var(--om-plate); object-fit: cover; }
.om-nav .cms-lang-switcher { margin-left: 4px; }

/* ---------- 24. Edit-mode helpers (only rendered in the editor) ---------- */
.om-ed-add { display: block; margin: 16px auto 0; padding: 10px 18px; border: 1.5px dashed var(--om-line-d); background: #fff; color: var(--om-text); font: inherit; cursor: pointer; }
.om-ed-note { display: block; margin-top: 8px; font-size: .78rem; color: var(--om-text-soft); font-family: var(--om-mono); }
