/*
  frineta.lt — modern design (the second option for the owner, 2026-10-23).
  Brand colours from the logo: steel navy #2f5080 and signal orange #f39200, on a deep navy for the
  hero and footer. Inter, self-hosted. Mobile first; the header folds into a drawer below 1200 px.
*/
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-950: #07121e;
  --navy-900: #0b1a2c;
  --navy-800: #11263f;
  --navy-700: #1a3656;
  --brand: #2f5080;
  --brand-600: #24426b;
  --brand-50: #edf2f9;
  --accent: #f39200;
  --accent-600: #e08600;
  --accent-50: #fff4e3;
  --ink: #0d1b2a;
  --text: #354352;
  --muted: #677789;
  --line: #e3e8ef;
  --line-strong: #cfd8e3;
  --bg: #f4f6f9;
  --surface: #fff;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(13 27 42 / 6%);
  --shadow: 0 1px 2px rgb(13 27 42 / 5%), 0 12px 32px -14px rgb(13 27 42 / 22%);
  --shadow-lg: 0 30px 60px -24px rgb(7 18 30 / 45%);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Behind product photos: white at the centre fading to a cool blue, so the photos' white
     backgrounds disappear (mix-blend-mode: multiply) and the product looks cut out */
  --photo-tint: radial-gradient(90% 90% at 50% 42%, #fff 0%, #f3f7fc 55%, #e5edf7 100%);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font: 400 16px/1.6 var(--font);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.icon { flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .65em 1.15em;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: .8em 1.5em; font-size: 16px; }
.btn-sm { min-height: 36px; padding: .45em .9em; font-size: 14px; }
/* Orange carries dark text: white on #f39200 is below 3:1 contrast */
.btn-accent { background: var(--accent); color: var(--navy-950); box-shadow: 0 6px 18px -8px rgb(243 146 0 / 70%); }
.btn-accent:hover { background: #ffa21f; }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / 28%); background: rgb(255 255 255 / 6%); }
.btn-ghost:hover { background: rgb(255 255 255 / 14%); border-color: rgb(255 255 255 / 45%); }
.btn-outline { color: var(--ink); border-color: var(--line-strong); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-soft { color: var(--brand-600); background: var(--brand-50); }
.btn-soft:hover { background: var(--brand); color: #fff; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.icon-btn:hover { background: var(--bg); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(13 27 42 / 35%); }
.header-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 50px; mix-blend-mode: multiply; }
.main-nav { display: none; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border: 0; border-radius: 10px; background: none;
  color: var(--ink); font-weight: 550; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--bg); }
.nav-link[aria-current] { color: var(--brand); }
.catalog-toggle .icon:last-child { transition: transform .2s; }
.catalog-toggle[aria-expanded="true"] .icon:last-child { transform: rotate(180deg); }
.header-search {
  display: none; align-items: center; gap: 8px; flex: 1; max-width: 300px; margin-left: auto;
  height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  color: var(--muted); transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.header-search:focus-within { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(47 80 128 / 12%); }
.header-search input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.header-search { min-width: 0; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg); }
.lang-switch a { padding: 5px 10px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; letter-spacing: .04em; }
.lang-switch a[aria-current] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.header-row > .lang-switch { display: none; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bg); color: var(--ink); cursor: pointer; }

/* catalogue mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgb(13 27 42 / 35%);
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; padding-block: 28px 32px; }
.mega-col.wide { grid-column: span 2; grid-row: span 2; }
.mega-col.wide ul { columns: 2; column-gap: 32px; }
.mega-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.mega-title span { color: var(--muted); font-size: 13px; font-weight: 500; }
.mega-title:hover { color: var(--brand); }
.mega ul a { display: block; padding: 5px 0; color: var(--text); font-size: 14.5px; text-decoration: none; break-inside: avoid; }
.mega ul a:hover { color: var(--brand); }

/* phone drawer */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgb(7 18 30 / 50%); }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%);
  display: flex; flex-direction: column; background: #fff; overflow-y: auto;
  animation: drawer-in .22s ease-out;
}
@keyframes drawer-in { from { transform: translateX(30px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px 20px; }
.drawer-title { font-weight: 700; color: var(--ink); }
.drawer-search { display: flex; align-items: center; gap: 8px; margin: 4px 20px 12px; padding: 0 14px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--muted); }
.drawer-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.drawer-nav { padding: 4px 8px; flex: 1; }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav summary, .drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 0 12px; color: var(--ink); font-weight: 600; text-decoration: none; cursor: pointer; list-style: none;
}
.drawer-link { border-bottom: 1px solid var(--line); }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary .icon { transform: rotate(180deg); }
.drawer-nav ul { padding: 0 12px 12px; }
.drawer-nav ul a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.drawer-nav ul a:hover { background: var(--bg); }
.drawer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 24px; border-top: 1px solid var(--line); }

@media (min-width: 720px) {
  .header-search { display: flex; }
}
@media (min-width: 1200px) {
  .main-nav, .header-row > .lang-switch { display: flex; }
  .menu-btn { display: none; }
}

/* ---------- dark bands: hero, Frineta range, page headers ---------- */
/* Navy with the fibre-light artwork behind and a faint dot grid, fading out towards the left */
.dark-band, .page-head.dark-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 48%, var(--navy-950) 100%);
  color: #c9d6e6;
}
.dark-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgb(140 200 255 / 22%) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.fiber-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.dark-band h1, .dark-band h2 { color: #fff; }
.dark-band .section-head p, .dark-band .page-lead { color: #b8c7d9; }
.fiber { stroke-dasharray: 220 1400; animation: pulse 7s linear infinite; }
.fiber.f2 { animation-duration: 9s; animation-delay: -3s; }
.fiber.f3 { animation-duration: 11s; animation-delay: -6s; }
.fiber.f4 { animation-duration: 8s; animation-delay: -2s; }
.fiber.f5 { animation-duration: 12s; animation-delay: -8s; }
@keyframes pulse { from { stroke-dashoffset: 1620; } to { stroke-dashoffset: 0; } }
.hero-grid { display: grid; gap: 40px; padding-block: clamp(48px, 9vw, 104px) clamp(48px, 8vw, 96px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 12px 6px 10px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 999px;
  background: rgb(255 255 255 / 5%); color: #ffc46b; font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 4.2vw, 4rem); font-weight: 750; letter-spacing: -0.03em; max-width: 14ch; }
.hero-lead { margin-top: 20px; max-width: 56ch; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: #b8c7d9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 10%); }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { color: #fff; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; min-height: 31px; display: flex; align-items: center; }
.hero-stats strong .icon { color: var(--accent); }
.hero-stats span { color: #8fa3ba; font-size: 14px; }
/* four product photos in a staggered 2×2, the right column set lower */
.hero-visual { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: center; }
.float-card {
  padding: 10px 10px 12px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgb(255 255 255 / 6%); animation: float 9s ease-in-out infinite;
}
.float-media { display: block; border-radius: 12px; background: var(--photo-tint); }
.float-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.float-card figcaption {
  margin-top: 8px; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fc2, .fc4 { translate: 0 44px; }
.fc2 { animation-delay: -3s; }
.fc3 { animation-delay: -5s; }
.fc4 { animation-delay: -7s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.fiber-base path { stroke: #5aa9ff; stroke-opacity: .13; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, auto); justify-content: start; gap: 32px; } }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hero-visual { display: grid; padding-bottom: 44px; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: 40px; }
.section--tint { background: var(--bg); }
.section--top { padding-top: 28px; padding-bottom: 64px; }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
/* a short orange-to-blue light streak above section titles */
.section-head h2::before {
  content: ""; display: block; width: 44px; height: 4px; margin-bottom: 16px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #5aa9ff);
}
.section-head--row h2::before { margin-bottom: 14px; }
.kicker + h2::before { display: none; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; max-width: none; }
.section-head--row > div { max-width: 760px; }
.kicker { color: var(--accent-600) !important; font-size: 13px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px !important; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { gap: 10px; }

/* catalogue cards on the home page: a large product photo on a tinted field, four tints in turn */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.cat-grid > li { display: flex; }
.cat-card {
  position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: inherit; text-decoration: none;
  overflow: hidden; transition: border-color .15s, box-shadow .2s, transform .2s;
}
.cat-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card-media {
  grid-column: 1 / -1; display: block; aspect-ratio: 16 / 10; padding: 18px 26px;
  background: radial-gradient(90% 85% at 50% 45%, #fff 0%, var(--tint) 100%);
}
.cat-card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.cat-card:hover .cat-card-media img { transform: scale(1.05); }
.cat-card-body { padding: 16px 0 18px 20px; }
.cat-name { display: block; color: var(--ink); font-size: 17px; font-weight: 680; line-height: 1.3; letter-spacing: -0.01em; }
.cat-count { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.cat-arrow {
  align-self: center; display: grid; place-items: center; width: 38px; height: 38px; margin-right: 16px;
  border-radius: 50%; background: var(--bg); color: var(--ink); transition: background-color .15s, color .15s, transform .15s;
}
.cat-card:hover .cat-arrow { background: var(--accent); color: var(--navy-950); transform: translateX(3px); }
@media (max-width: 599px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card { grid-template-columns: minmax(0, 1fr); border-radius: var(--radius); }
  .cat-card-media { aspect-ratio: 1; padding: 12px; }
  .cat-card-body { padding: 10px 12px 12px; }
  .cat-name { font-size: 14.5px; }
  .cat-count { font-size: 12.5px; }
  .cat-arrow { display: none; }
}
.tint-0 { --tint: #dce8f7; }
.tint-1 { --tint: #fde7c7; }
.tint-2 { --tint: #d9eef0; }
.tint-3 { --tint: #e6e3f4; }

/* subcategory tiles */
.sub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.sub-grid--compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 28px; }
.sub-tile {
  display: grid; grid-template-rows: auto 1fr; height: 100%; padding: 12px 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none;
  transition: border-color .15s, box-shadow .2s, transform .2s;
  position: relative;
}
.sub-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.sub-media { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: 10px; background: var(--photo-tint); overflow: hidden; }
.sub-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.sub-name { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; padding-right: 34px; }
.sub-count {
  position: absolute; right: 12px; bottom: 12px;
  min-width: 26px; padding: 2px 7px; border-radius: 999px; background: var(--bg);
  color: var(--muted); font-size: 12px; font-weight: 600; text-align: center;
}
/* the same tiles as glass on the dark Frineta band */
.brand-band .sub-tile { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 12%); backdrop-filter: blur(4px); }
.brand-band .sub-tile:hover { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 28%); box-shadow: 0 18px 40px -20px rgb(0 0 0 / 60%); }
.brand-band .sub-media { background: var(--photo-tint); }
.brand-band .sub-name { color: #fff; }
.brand-band .sub-count { background: rgb(255 255 255 / 12%); color: #c9d6e6; }
.brand-band .kicker { color: #ffc46b !important; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.product-grid > li { display: flex; }
.card {
  flex: 1; display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  transition: border-color .15s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { display: block; aspect-ratio: 1; padding: 18px; background: var(--photo-tint); border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { flex: 1; padding: 14px 16px 6px; }
.card-brand { margin-bottom: 4px; color: var(--accent-600); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card-title { font-size: 15.5px; font-weight: 650; line-height: 1.35; letter-spacing: -0.01em; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--brand); }
.card-text {
  margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px 16px; }
.card-price { color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.card-price--none { color: var(--muted); font-size: 13px; font-weight: 500; white-space: normal; }
@media (min-width: 900px) { .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* phones: two compact cards per row */
@media (max-width: 599px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-media { padding: 10px; }
  .card-body { padding: 10px 12px 4px; }
  .card-title { font-size: 14px; }
  .card-text { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; padding: 6px 12px 12px; }
  .card-price { font-size: 16px; }
  .card-foot .btn { width: 100%; }
  .product-grid.as-list .card-foot { align-items: stretch; }
}

/* list view of a category */
.product-grid.as-list { grid-template-columns: 1fr; gap: 10px; }
.as-list .card { flex-direction: row; align-items: stretch; }
.as-list .card-media { width: 128px; flex: none; aspect-ratio: auto; padding: 12px; border-bottom: 0; border-right: 1px solid var(--line); }
.as-list .card-body { padding: 14px 16px; }
.as-list .card-foot { flex-direction: column; align-items: flex-end; justify-content: center; padding: 14px 16px; }

/* brands */
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 8px; }
.brands-title { color: var(--muted); font-size: 14px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.brand-list { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-list a {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.brand-list a:hover { border-color: var(--brand); background: var(--brand-50); }
.brand-list strong { font-size: 17px; font-weight: 750; letter-spacing: -0.01em; }
.brand-list span { color: var(--muted); font-size: 13px; }

/* contact band */
.cta { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #b8c7d9; }
/* radio waves rising behind the buttons */
.wave-art { position: absolute; z-index: -1; right: max(2%, calc(50% - 680px)); bottom: -120px; width: 420px; height: 420px; opacity: .55; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.cta p { margin-top: 8px; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- inner pages ---------- */
.page-head { padding-block: 28px 32px; background: var(--bg); border-bottom: 1px solid var(--line); }
.page-head.dark-band { padding-block: 32px 44px; border-bottom: 0; }
.page-head h1 { margin-top: 14px; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.75rem); }
.page-meta { margin-top: 6px; color: var(--muted); }
.dark-band .page-meta { color: #8fa3ba; }
.page-lead { margin-top: 14px; max-width: 70ch; color: var(--text); font-size: 17px; }
.page-lead p { margin: 0; }
.page-head-grid { display: grid; gap: 24px; align-items: center; }
.page-head-media { display: none; }
@media (min-width: 900px) {
  .page-head-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  /* the category's own product photo on a white card, tilted slightly */
  .page-head-media {
    display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 16px;
    border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); transform: rotate(-2deg);
  }
  .page-head-media img { width: 100%; height: 100%; object-fit: contain; }
}
.dark-band .breadcrumb ol, .dark-band .breadcrumb a { color: #8fa3ba; }
.dark-band .breadcrumb a:hover { color: #fff; }
.dark-band .breadcrumb li + li::before { color: rgb(255 255 255 / 22%); }
.dark-band .breadcrumb [aria-current] { color: #fff; }
.dark-band .search-big { border-color: transparent; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }

.catalog-layout { display: grid; gap: 24px; padding-block: 28px 64px; }
.sidebar-box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sidebar-box > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none;
}
.sidebar-box > summary::-webkit-details-marker { display: none; }
.sidebar-box[open] > summary .icon { transform: rotate(180deg); }
.sidebar-box > .tree { padding: 0 8px 10px; }
.tree .tree { display: none; padding-left: 12px; margin-left: 10px; border-left: 1px solid var(--line); }
.tree li.open > .tree { display: block; }
.tree-row { display: flex; align-items: center; }
.tree-row a {
  flex: 1; display: flex; justify-content: space-between; gap: 8px; min-width: 0;
  padding: 7px 10px; border-radius: 8px; color: var(--text); font-size: 14.5px; line-height: 1.35; text-decoration: none;
}
.tree-row a:hover { background: var(--bg); color: var(--ink); }
.tree-row a[aria-current] { background: var(--brand-50); color: var(--brand-600); font-weight: 650; }
.tree-count { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tree-toggle { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.tree-toggle:hover { background: var(--bg); }
.tree-toggle svg { transition: transform .2s; }
li.open > .tree-row .tree-toggle svg { transform: rotate(180deg); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.toolbar-count { color: var(--muted); font-size: 14.5px; }
.toolbar-tools { display: flex; align-items: center; gap: 10px; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select {
  appearance: none; height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 14.5px; cursor: pointer;
}
.select .icon { position: absolute; right: 12px; pointer-events: none; color: var(--muted); }
.view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.view-toggle button { display: grid; place-items: center; width: 34px; height: 32px; border: 0; border-radius: 7px; background: none; color: var(--muted); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--bg); color: var(--ink); }
.empty { padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); text-align: center; }

@media (min-width: 960px) {
  .catalog-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
  .sidebar { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
  .sidebar-box > summary { pointer-events: none; }
  .sidebar-box > summary .icon { display: none; }
}

/* product page */
/* the product's top block sits on a soft blue wash that fades into the page */
.product-band { padding-block: 24px 40px; background: linear-gradient(180deg, #eef3fa 0%, #f6f9fd 60%, #fff 100%); }
.product-page { padding-top: 8px; padding-bottom: 72px; }
.product-hero { display: grid; gap: 32px; margin-top: 20px; }
.gallery-main {
  display: grid; place-items: center; aspect-ratio: 1; padding: clamp(18px, 4vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--photo-tint);
  box-shadow: var(--shadow);
}
.gallery-main a { display: block; width: 100%; height: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  width: 76px; height: 76px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(47 80 128 / 14%); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
  background: var(--bg); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none;
}
a.tag:hover { background: var(--brand-50); color: var(--brand-600); }
.tag--brand { background: var(--accent-50); color: #9a5a00; }
.product-info h1 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem); }
.product-summary { margin-top: 14px; color: var(--text); font-size: 16.5px; }
.product-summary p { margin: 0 0 .6em; }
.buy-card { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.buy-price { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.buy-price span { font-size: 32px; font-weight: 750; letter-spacing: -0.02em; }
.buy-price small { color: var(--muted); font-size: 14px; }
.buy-price--none { font-size: 17px; font-weight: 600; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.buy-actions .btn { flex: 1 1 200px; }
.buy-hint { margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.facts { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--ink); font-weight: 600; text-align: right; }
.facts a { text-decoration: none; }
@media (min-width: 900px) {
  .product-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .gallery { position: sticky; top: 96px; }
}

.section-tabs {
  position: sticky; top: 72px; z-index: 10; display: flex; gap: 6px; overflow-x: auto;
  margin: 48px 0 0; padding: 10px 0; background: rgb(255 255 255 / 94%); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.section-tabs a {
  flex: none; padding: 8px 14px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.section-tabs a:hover, .section-tabs a.active { background: var(--ink); color: #fff; }
.product-section { padding-top: 48px; }
.product-section > h2, .product-section .section-head h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); margin-bottom: 20px; }
.product-section .section-head { margin-bottom: 0; }
.product-section .section-head h2 { margin-bottom: 20px; }

/* spec tables from the old shop: two columns, label and value */
.rte { overflow-wrap: anywhere; }
.rte p, .rte ul, .rte ol { margin-bottom: .8em; }
.rte ul { list-style: disc; padding-left: 1.3em; }
.rte ol { list-style: decimal; padding-left: 1.3em; }
.rte h2, .rte h3, .rte h4 { margin: 1.2em 0 .5em; font-size: 1.15em; }
.rte img { margin: 1em auto; border-radius: 10px; }
.rte table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 1em; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.rte td, .rte th { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rte tr:last-child td { border-bottom: 0; }
.rte tr:nth-child(even) td { background: #fafbfd; }
.spec td:first-child { width: 40%; color: var(--muted); }
.spec td:first-child strong { color: var(--text); font-weight: 600; }
.spec td:last-child { color: var(--ink); font-weight: 500; }
@media (min-width: 900px) { .spec { max-width: 860px; } }

.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.file {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none;
  transition: border-color .15s, box-shadow .2s;
}
.file:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.file-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fdecea; color: #c2410c; flex: none; }
.file-name { flex: 1; font-weight: 600; line-height: 1.35; }
.file-name small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; font-size: 13px; }
.file-dl { color: var(--muted); }

/* contacts */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding-block: 32px 72px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--text); text-decoration: none;
}
a.contact-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.contact-card a { color: var(--ink); text-decoration: none; }
.contact-card a:hover strong { color: var(--brand); }
.contact-card strong { color: var(--ink); font-size: 17px; }
.contact-card small { color: var(--muted); }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; background: var(--brand-50); color: var(--brand); }
.contact-card--accent .contact-icon { background: var(--accent-50); color: var(--accent-600); }
.contact-label { color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.contact-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--brand); font-weight: 600; font-size: 14.5px; }
.contact-card--wide { grid-column: 1 / -1; }

/* search, text pages */
.search-big {
  display: flex; align-items: center; gap: 10px; max-width: 720px; margin-top: 20px; padding: 6px 6px 6px 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--muted);
}
.search-big:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(47 80 128 / 12%); }
.search-big input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 17px; color: var(--ink); background: transparent; }
.prose { max-width: 760px; padding-block: 40px 72px; font-size: 17px; }
.prose img { max-width: 100%; }
main > .title-bar, main > p { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
main > .title-bar { padding-top: 64px; font-size: 2rem; color: var(--ink); }
main > p:last-child { padding-bottom: 80px; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: #8fa3ba; font-size: 15px; }
/* a thin line of light along the top of the footer */
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #5aa9ff 30%, var(--accent) 70%, transparent);
  opacity: .7;
}
.footer-grid { display: grid; gap: 36px; padding-block: 56px 40px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-name { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.footer-codes { margin-top: 14px; font-size: 13.5px; line-height: 1.7; }
.footer-head { color: #fff; font-weight: 650; margin-bottom: 14px; }
.footer-links li + li { margin-top: 6px; }
.site-footer a { color: #c9d6e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li + li { margin-top: 10px; }
.footer-contact .icon { margin-top: 3px; color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid rgb(255 255 255 / 8%); font-size: 13.5px; }
.lang-switch--dark { background: rgb(255 255 255 / 6%); }
.lang-switch--dark a { color: #8fa3ba; }
.lang-switch--dark a[aria-current] { background: rgb(255 255 255 / 12%); color: #fff; box-shadow: none; }

@media print {
  .site-header, .drawer, .site-footer, .cta, .section-tabs, .buy-actions, .buy-form, .gallery-thumbs, .toast { display: none !important; }
  .product-hero { grid-template-columns: 1fr 1fr; }
}

/* ---------- shop: header cart, buy form, cart, checkout (the same flow as yellowenergy.lt) ---------- */
.cart-link {
  position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
  border-radius: 12px; background: var(--bg); color: var(--ink); transition: background-color .15s, color .15s;
}
.cart-link:hover { background: var(--brand-50); color: var(--brand); }
.cart-count {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: var(--navy-950);
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.cart-count[hidden], .btn[hidden], .toast[hidden], .checkout[hidden], .order-done[hidden] { display: none; }
@media (min-width: 720px) { .cart-link { margin-left: 0; } }
/* Phones without the cart: the menu button itself goes to the right */
.menu-btn { margin-left: auto; }
.cart-link + .menu-btn { margin-left: 0; }
@media (min-width: 720px) { .menu-btn { margin-left: 0; } }

.card-foot { flex-wrap: wrap; }
.qty-input {
  width: 72px; height: 40px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink); font-weight: 600; text-align: center;
}
.qty-input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(47 80 128 / 12%); }
.qty-input--lg { flex: none; width: 84px; height: 52px; border-radius: 14px; font-size: 16px; }
.buy-form { display: flex; gap: 10px; margin-top: 16px; }
.buy-form .btn { flex: 1; min-width: 0; }
.buy-form + .buy-actions { margin-top: 10px; }
.stock { margin-top: 8px; color: #9a5a00; font-size: 14px; font-weight: 600; }

.shop-page { padding-block: 32px 72px; }
.cart-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.cart-table th { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13.5px; font-weight: 600; text-align: left; }
.cart-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: 0; }
.cart-item { display: flex; align-items: center; gap: 14px; }
.cart-photo { flex: none; width: 72px; height: 72px; padding: 6px; border-radius: 12px; background: var(--photo-tint); }
.cart-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item a { color: var(--ink); font-weight: 600; line-height: 1.35; text-decoration: none; }
.cart-item a:hover { color: var(--brand); }
.cart-table .unit { white-space: nowrap; }
.cart-sum strong { color: var(--ink); white-space: nowrap; }
.cart-remove { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.cart-remove:hover { background: var(--bg); color: var(--ink); }
.cart-bottom { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 24px; }
.cart-totals { flex: 0 1 400px; }
.cart-note { margin: 12px 0 16px; color: var(--muted); font-size: 14px; }
.totals { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; font-size: 15px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; padding-left: 24px; color: var(--ink); font-weight: 600; text-align: right; }
.totals .grand { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 700; }
.btn-wide { width: 100%; white-space: normal; text-align: center; }

.checkout { display: grid; gap: 24px; }
.form fieldset { margin-bottom: 18px; padding: 18px 20px 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.form legend { padding: 0 8px; margin-left: -8px; color: var(--ink); font-weight: 700; }
.form label { display: block; margin-bottom: 14px; color: var(--ink); font-size: 14.5px; font-weight: 550; }
.form label small { color: var(--muted); font-weight: 400; font-size: 13px; }
.form input:not([type="radio"], [type="checkbox"]), .form textarea {
  display: block; width: 100%; min-height: 46px; margin-top: 6px; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink);
  font: 400 16px/1.4 var(--font);
}
.form input:not([type="radio"], [type="checkbox"]):focus, .form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(47 80 128 / 12%); }
.form .invalid { border-color: #c2410c !important; }
.form input[type="checkbox"].invalid { outline: 2px solid #c2410c; outline-offset: 2px; }
.form-text { margin-bottom: 14px; color: var(--text); font-size: 15px; }
.row-2 { display: grid; gap: 0 12px; }
.segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.form .segmented label, .form .choice {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 13px;
  border: 1px solid var(--line-strong); border-radius: 12px; font-size: 15px; font-weight: 550; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.form .choice { margin-bottom: 10px; }
.form .segmented label:has(input:checked), .form .choice:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.segmented input, .choice input { flex: none; accent-color: var(--brand); }
.choice-price { color: var(--muted); font-weight: 400; }
.form .choice:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.delivery-blocked { margin-bottom: 12px; color: #9a5a00; font-size: 14px; font-weight: 600; }
.form .check { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 14px; font-size: 14.5px; font-weight: 400; color: var(--text); cursor: pointer; }
.check input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand); }
.form .hp { position: absolute; left: -9999px; }
.cf-turnstile.asking { margin-bottom: 12px; }
.checkout-summary { padding: 20px 22px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.checkout-summary h2 { margin-bottom: 12px; font-size: 20px; }
.summary-lines { margin-bottom: 14px; font-size: 14.5px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary-lines strong { color: var(--ink); white-space: nowrap; }
.form .checkout-summary .check { margin-top: 16px; }
.form-status { min-height: 1.2em; margin-top: 10px; color: #c2410c; font-size: 14px; font-weight: 600; }
.form-small { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.order-done { max-width: 760px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.order-done h2 { margin-bottom: 10px; font-size: 24px; }
.order-done:focus { outline: 0; }
.pay { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 18px 0 22px; font-size: 15px; }
.pay dt { color: var(--muted); }
.pay dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 20px;
  border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 15px; white-space: nowrap;
  box-shadow: 0 16px 36px -12px rgb(7 18 30 / 60%);
}
.toast a { color: #ffc46b; font-weight: 600; text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (min-width: 600px) { .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
  .checkout-summary { position: sticky; top: 92px; }
}
@media (max-width: 719px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody { display: block; }
  .cart-table tr { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 12px; padding: 14px; border-bottom: 1px solid var(--line); }
  .cart-table tr:last-child { border-bottom: 0; }
  .cart-table td { padding: 0; border: 0; }
  .cart-table .cart-product { grid-column: 1 / -1; }
  .cart-table .unit { display: none; }
  .cart-table .cart-sum { text-align: right; }
  .cart-totals { flex: 1 1 100%; }
}
