/* =========================================================
   Vides Tehnika — storefront styles
   Design tokens → base → header → homepage sections → chrome
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Semi+Condensed:wght@600;700&display=swap");

:root {
  --green: #83b81a;
  --green-600: #6ba014;
  --green-700: #55820f;
  --green-900: #24400a;
  --green-soft: #eef6df;
  --ink: #1c1d22;
  --ink-2: #3a3d45;
  --muted: #6d7178;
  --muted-2: #9a9ea6;
  --line: #e3e5e8;
  --line-soft: #eeeff1;
  --paper: #f5f6f4;
  --paper-2: #eceee9;
  --white: #ffffff;
  --red: #d63638;
  --red-soft: #fdecec;
  --amber: #e2960f;
  --amber-soft: #fff4dc;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(28, 29, 34, 0.06), 0 2px 8px rgba(28, 29, 34, 0.04);
  --shadow: 0 12px 32px rgba(28, 29, 34, 0.12);
  --shadow-lg: 0 24px 64px rgba(28, 29, 34, 0.18);

  --container: 1400px;
  --header-h: 156px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
::selection { background: var(--green); color: var(--white); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--paper { background: var(--paper); }
.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; }

.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-700);
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--green); border-radius: 2px; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 28px;
}
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.01em; margin-top: 8px; }
.section-head p { color: var(--muted); margin-top: 6px; max-width: 56ch; }
.page-info .section-head p { font-size: 16.5px; color: var(--ink-2); max-width: 64ch; }
.section-link {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-weight: 600; color: var(--ink); padding-bottom: 4px;
  border-bottom: 2px solid var(--line);
  transition: border-color 0.2s, color 0.2s;
}
.section-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.section-link:hover { border-color: var(--green); color: var(--green-700); }
.section-link:hover svg { transform: translateX(3px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 8px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: var(--white); box-shadow: 0 6px 16px rgba(131, 184, 26, 0.28); }
.btn--primary:hover { background: var(--green-600); box-shadow: 0 8px 22px rgba(131, 184, 26, 0.36); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #2c2e36; }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--paper-2); }
.btn--ghost { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.7); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 8px; }

/* Material Symbols (Outlined) rendered as inline SVG — filled paths, colour via currentColor */
.icon { width: 22px; height: 22px; fill: currentColor; stroke: none; flex-shrink: 0; }

/* ---------- Top bar ---------- */
.topbar {
  font-size: 13px; color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.15s; }
.topbar a:hover { color: var(--green-700); }
.topbar .icon { width: 16px; height: 16px; }
.topbar-links { display: flex; gap: 18px; }
.topbar-social { display: flex; gap: 4px; margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.topbar-social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.topbar-social a:hover { background: var(--paper); }
.topbar-social .icon { width: 15px; height: 15px; }
.topbar-promo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-700); }
.topbar-promo i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(131, 184, 26, 0.18); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(28, 29, 34, 0.08); }

.header-main { display: flex; align-items: center; gap: 28px; padding: 14px 0; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 78px; width: auto; }

.header-action.header-burger { display: none; }

.search { position: relative; flex: 1; max-width: 640px; margin-inline: auto; }
.search-form {
  display: flex; align-items: stretch;
  border: 1.5px solid var(--green); border-radius: 8px;
  background: var(--white); overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.search-form:focus-within { box-shadow: 0 0 0 4px rgba(131, 184, 26, 0.16); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 18px; height: 46px; font-size: 15px; background: transparent; }
.search-form input::placeholder { color: var(--muted-2); }
.search-form input::-webkit-search-cancel-button, .search-form input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search-reset { width: 32px; height: 32px; align-self: center; margin-right: 6px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); display: grid; place-items: center; flex-shrink: 0; cursor: pointer; opacity: 0.7; transition: opacity 0.15s; }
.search-reset:hover { opacity: 1; }
.search-reset .icon { width: 18px; height: 18px; }
.search-reset[hidden] { display: none; }
.search-row--cat .search-row-title { font-weight: 600; }
.search-form button[type="submit"] {
  width: 58px; border: 0; background: var(--green); color: var(--white);
  display: grid; place-items: center; transition: background 0.2s;
}
.search-form button[type="submit"]:hover { background: var(--green-600); }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-action {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; border: 0; background: none;
  color: var(--ink); transition: background 0.15s, color 0.15s;
}
.header-action:hover { background: var(--paper); color: var(--green-700); }
.header-action .icon { width: 24px; height: 24px; }
.header-action-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.header-action-text small { font-size: 12px; color: var(--muted); }
.header-action-text strong { font-size: 14px; font-weight: 600; }
.badge-count {
  position: absolute; top: 2px; left: 26px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--green); color: var(--white);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--white);
}
.badge-count[hidden] { display: none; }

/* Category bar */
.catbar { border-top: 1px solid var(--line-soft); }
.catbar-inner { position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: 0; }
.cat-item { position: static; }
.catbar-link {
  display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 7px;
  font-weight: 500; font-size: 14.5px; white-space: nowrap; color: var(--ink);
  border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.catbar-link .icon { width: 16px; height: 16px; opacity: 0.55; transition: transform 0.2s; }
.cat-item:hover > .catbar-link, .cat-item.is-open > .catbar-link { color: var(--green-700); border-bottom-color: var(--green); }
.cat-item:hover > .catbar-link .icon { transform: rotate(180deg); }
.catbar-link--sale { color: var(--red); font-weight: 600; }
.catbar-link--sale .sale-dot { width: 22px; height: 22px; border-radius: 6px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 11px; font-weight: 800; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white); color: var(--ink);
  border-top: 3px solid var(--green);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
  z-index: 50;
}
.cat-item:hover .mega, .cat-item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
/* Fixed panel height for every category: banner fills the left edge, columns scroll inside if needed */
.mega-grid { display: grid; grid-template-columns: 280px 1fr; height: min(540px, calc(100vh - var(--header-h) - 40px)); }
.mega-feature {
  position: relative; padding: 28px; color: var(--white); isolation: isolate; overflow: hidden;
  border-radius: 0 0 0 var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background: linear-gradient(135deg, #2d4a0f, #83b81a) center/cover no-repeat;
}
.mega-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16,18,16,0.7) 0%, rgba(16,18,16,0.2) 60%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.18); }
.mega-feature-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.mega-feature h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.mega-feature small { color: rgba(255,255,255,0.75); font-size: 13px; }
.mega-feature .btn { align-self: flex-start; margin-top: 8px; }
.mega-cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 24px; padding: 26px 28px 30px; align-content: start;
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.mega-cols::-webkit-scrollbar { width: 6px; }
.mega-cols::-webkit-scrollbar-track { background: transparent; }
.mega-cols::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.mega-cols::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }
.mega-group { min-width: 0; padding-bottom: 14px; }
.mega-group-title {
  display: block; font-weight: 600; font-size: 14px; color: var(--ink);
  padding-bottom: 7px; margin-bottom: 6px; border-bottom: 1px solid var(--line-soft);
}
.mega-group-title:hover { color: var(--green-700); }
.mega-link { display: block; padding: 3px 0; font-size: 13.5px; color: var(--ink-2); }
.mega-link:hover { color: var(--green-700); }
.mega-more { display: block; padding: 4px 0; font-size: 13px; color: var(--green-700); font-weight: 600; }

/* Search panel */
.search-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-lg); max-height: min(72vh, 560px); overflow: auto; z-index: 70;
  display: none; animation: search-in 0.18s var(--ease);
}
@keyframes search-in { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 1025px) { .search-panel { width: min(900px, calc(100vw - 40px)); left: 50%; margin-left: calc(-1 * min(450px, 50vw - 20px)); right: auto; } }
.search-panel.show { display: block; }
.search.is-loading .search-form button .icon { display: none; }
.search.is-loading .search-form button::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.search-grid { display: grid; grid-template-columns: 1fr; }
.search-grid.has-side { grid-template-columns: 240px minmax(0, 1fr); }
.search-side { border-right: 1px solid var(--line-soft); background: var(--paper); border-radius: 8px 0 0 0; }
.search-grid:not(.has-side) .search-side { border-right: 0; border-radius: 8px 8px 0 0; }
.search-main { min-width: 0; }
.search-sec { padding: 8px 0 6px; }
.search-sec + .search-sec { border-top: 1px solid var(--line-soft); }
.search-sec-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 16px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.search-sec-title span { font-weight: 600; letter-spacing: 0; color: var(--muted); }
.search-clear { border: 0; background: none; padding: 0; font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--green-700); }
.search-row { display: flex; align-items: center; gap: 12px; padding: 9px 16px; transition: background 0.12s; }
.search-row:hover, .search-row.is-focus { background: var(--paper); }
.search-main .search-row.is-focus { background: var(--paper); box-shadow: inset 3px 0 0 var(--green); }
.search-row img { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; padding: 3px; mix-blend-mode: multiply; flex-shrink: 0; }
.search-row .icon { width: 20px; height: 20px; color: var(--green-700); flex-shrink: 0; }
.search-row--cat { padding: 8px 16px; }
.search-row--cat:hover, .search-row--cat.is-focus { background: var(--white); box-shadow: inset 3px 0 0 var(--green); }
.search-row-body { flex: 1; min-width: 0; }
.search-row-title { display: block; font-weight: 500; font-size: 14px; line-height: 1.3; color: var(--ink); }
.search-row-meta { display: block; font-size: 12px; color: var(--muted); margin-bottom: 1px; }
.search-row-meta .search-hl { background: none; color: var(--green-900); font-weight: 700; }
.search-row-count { font-size: 12px; color: var(--muted-2); font-weight: 500; }
.search-row-stock { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.search-row-stock i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.search-row-stock.is-order i { background: var(--amber); }
.search-row-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; white-space: nowrap; }
.search-row-price s { font-size: 12px; color: var(--muted-2); }
.search-row-price b { font-weight: 700; font-size: 14.5px; }
.search-row-price b.is-sale { color: var(--red); }
.search-hl { background: var(--green-soft); color: var(--green-900); border-radius: 2px; padding: 0 1px; }
.search-empty { display: flex; align-items: center; gap: 14px; padding: 20px 18px; color: var(--muted); font-size: 14px; }
.search-empty .icon { width: 28px; height: 28px; color: var(--muted-2); flex-shrink: 0; }
.search-empty b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.search-more { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--line-soft); font-size: 13.5px; font-weight: 600; color: var(--green-700); position: sticky; bottom: 0; background: var(--white); }
.search-more .icon { width: 16px; height: 16px; }
.search-more:hover, .search-more.is-focus { background: var(--paper); }
.search-idle { padding-bottom: 4px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 8px; }
.search-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 500; color: var(--ink-2); transition: border-color 0.15s, color 0.15s; }
.search-chip .icon { width: 16px; height: 16px; color: var(--muted-2); }
.search-chip:hover { border-color: var(--green); color: var(--green-700); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.hero-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 500px; background: var(--ink); isolation: isolate; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  display: flex; align-items: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 6s linear; }
.hero-slide.is-active .hero-slide-bg { transform: scale(1); }
/* Image scrim: even dim over the whole photo + soft left/bottom anchoring, so the picture stays visible and text is always legible */
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 18, 16, 0.78) 0%, rgba(16, 18, 16, 0.6) 36%, rgba(16, 18, 16, 0.22) 66%, rgba(16, 18, 16, 0) 100%),
    linear-gradient(0deg, rgba(16, 18, 16, 0.35) 0%, rgba(16, 18, 16, 0) 45%),
    rgba(16, 18, 16, 0.12);
}
.hero-slide-content { position: relative; z-index: 2; padding: 56px; max-width: 620px; color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.hero-slide-content > * { opacity: 0; transform: translateY(14px); }
.hero-slide.is-active .hero-slide-content > * { animation: rise 0.7s var(--ease) forwards; }
.hero-slide.is-active .hero-slide-content > :nth-child(1) { animation-delay: 0.1s; }
.hero-slide.is-active .hero-slide-content > :nth-child(2) { animation-delay: 0.2s; }
.hero-slide.is-active .hero-slide-content > :nth-child(3) { animation-delay: 0.3s; }
.hero-slide.is-active .hero-slide-content > :nth-child(4) { animation-delay: 0.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(6px); color: var(--white); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-shadow: none; }
.hero-slide h1, .hero-slide h2 { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 54px); font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; margin: 18px 0 14px; text-wrap: balance; }
.hero-slide p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.86); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hero-nav { position: absolute; left: 56px; right: 56px; bottom: 28px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { position: relative; width: 44px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.3); border: 0; padding: 0; overflow: hidden; }
.hero-dot::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active::after { animation: fill var(--hero-interval, 6500ms) linear forwards; }
.hero-slider.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.1); color: var(--white); display: grid; place-items: center; backdrop-filter: blur(6px); transition: background 0.2s, border-color 0.2s; }
.hero-arrow:hover { background: var(--green); color: var(--white); border-color: var(--green); }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 500px; }
.tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  color: var(--white); background: var(--ink); isolation: isolate;
}
.tile-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.7s var(--ease); z-index: -2; }
.tile:hover .tile-bg { transform: scale(1.05); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16,18,16,0.62) 0%, rgba(16,18,16,0.15) 55%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.18); transition: background 0.3s; }
.tile:hover::before { background: linear-gradient(0deg, rgba(16,18,16,0.66) 0%, rgba(16,18,16,0.2) 55%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.24); }
.tile > * { text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.tile-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.tile h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.1; }
.tile p { font-size: 14px; color: rgba(255,255,255,0.85); max-width: 34ch; }
.tile-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; font-size: 14px; width: fit-content; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.45); text-underline-offset: 5px; transition: text-decoration-color 0.2s; }
.tile:hover .tile-link { text-decoration-color: #fff; }
.tile-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.tile:hover .tile-link svg { transform: translateX(4px); }
.tile--b2b { background: var(--green-900); }
.tile--b2b .tile-bg { background-image: url("../assets/pages/crane.jpg"); background-position: right 25%; }
.tile--b2b::before, .tile--b2b:hover::before { background: linear-gradient(0deg, rgba(20, 32, 8, 0.9) 0%, rgba(20, 32, 8, 0.6) 50%, rgba(20, 32, 8, 0.2) 100%), linear-gradient(90deg, rgba(20, 32, 8, 0.55) 0%, rgba(20, 32, 8, 0) 70%); }
.tile-sale-badge { position: absolute; top: 20px; right: 20px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; padding: 6px 12px; border-radius: 8px; transform: rotate(4deg); }
/* Light product tile: white-background product shot blended onto paper */
.tile--light { background: var(--paper); color: var(--ink); }
.tile--light::before, .tile--light:hover::before { background: linear-gradient(90deg, var(--paper) 38%, rgba(245,246,244,0.2) 60%, transparent 100%); }
.tile--light .tile-bg { left: 32%; background-size: contain; background-position: right center; mix-blend-mode: multiply; }
.tile--light > * { text-shadow: none; }
.tile--light .tile-kicker { color: var(--muted); }
.tile--light .tile-link { text-decoration-color: rgba(28,29,34,0.3); }
.tile--light:hover .tile-link { text-decoration-color: var(--ink); }
.tile--light p { color: var(--muted); }
.tile--light h3 { max-width: 14ch; }

/* ---------- USP strip ---------- */
.usp { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.usp-item { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-right: 1px solid var(--line-soft); }
.usp-item:last-child { border-right: 0; }
.usp-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--green-soft); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; }
.usp-icon .icon { width: 24px; height: 24px; }
.usp-item strong { display: block; font-weight: 600; font-size: 15px; }
.usp-item span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.cat-card:hover { box-shadow: var(--shadow); border-color: var(--green); }
.cat-card-icon { width: 52px; height: 52px; border-radius: 8px; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: background 0.25s, color 0.25s; }
.cat-card-icon .icon { width: 28px; height: 28px; }
.cat-card:hover .cat-card-icon { background: var(--green); color: var(--white); }
.cat-card strong { font-weight: 600; font-size: 16px; line-height: 1.25; }
.cat-card small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.cat-card-arrow { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.cat-card-arrow .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.cat-card:hover .cat-card-arrow { color: var(--green-700); }
.cat-card:hover .cat-card-arrow .icon { transform: translateX(4px); }

/* Variant 2 — photo cards (text left, photo right) */
.cat-pcard {
  display: grid; grid-template-columns: 1fr 96px; gap: 14px; align-items: center; padding: 14px 14px 14px 18px; min-height: 108px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.cat-pcard:hover { box-shadow: var(--shadow); border-color: var(--green); }
.cat-pcard-body { display: flex; flex-direction: column; min-width: 0; }
.cat-pcard-body strong { font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.cat-pcard-body small { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cat-pcard-link { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.cat-pcard-link .icon { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.cat-pcard:hover .cat-pcard-link { color: var(--green-700); }
.cat-pcard:hover .cat-pcard-link .icon { transform: translateX(3px); }
.cat-pcard-media { width: 96px; height: 80px; border-radius: 8px; overflow: hidden; background: var(--paper); }
.cat-pcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.cat-pcard:hover .cat-pcard-media img { transform: scale(1.06); }

/* Variant 3 — photo tiles (name over image) */
.cat-tile {
  position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; padding: 18px; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); color: var(--white); isolation: isolate;
}
.cat-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16,18,16,0.68) 0%, rgba(16,18,16,0.12) 50%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.08); transition: background 0.3s; }
.cat-tile:hover .cat-tile-img { transform: scale(1.05); }
.cat-tile:hover::before { background: linear-gradient(0deg, rgba(16,18,16,0.72) 0%, rgba(16,18,16,0.15) 50%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.14); }
.cat-tile-body { display: flex; flex-direction: column; gap: 3px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.cat-tile-body strong { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.1; }
.cat-tile-body small { font-size: 12.5px; color: rgba(255,255,255,0.8); }

/* Preview-only variant switcher */
.variant-panel { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 16px; padding: 4px; border: 1px dashed var(--muted-2); border-radius: 8px; background: var(--paper); font-size: 12.5px; }
.variant-panel-label { padding: 0 10px 0 8px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.variant-panel button { padding: 7px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font-weight: 500; font-size: 13px; transition: background 0.15s, color 0.15s; }
.variant-panel button:hover { background: var(--white); }
.variant-panel button.is-active { background: var(--ink); color: var(--white); }

/* ---------- Product card ---------- */
.product-card {
  position: relative; display: flex; flex-direction: column; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.25s, border-color 0.25s;
  min-width: 0; height: 100%;
}
.product-card:hover { box-shadow: var(--shadow); border-color: #d2d5d9; }
.pc-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
  --pc-pad: 16px;
}
.pc-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - (var(--pc-pad) * 2));
  height: calc(100% - (var(--pc-pad) * 2));
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}
.product-card:hover .pc-media img { transform: translate(-50%, -50%) scale(1.04); }
.pc-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.badge--sale { background: var(--red); color: #fff; }
.badge--new { background: var(--green); color: var(--white); }
.badge--top { background: var(--ink); color: #fff; }
.pc-wish {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  display: grid; place-items: center; opacity: 0; transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s var(--ease), color 0.2s, border-color 0.2s;
}
.pc-wish .icon { width: 18px; height: 18px; }
.product-card:hover .pc-wish, .pc-wish.is-active { opacity: 1; transform: none; }
.pc-wish:hover, .pc-wish.is-active { color: var(--red); border-color: var(--red); }
.pc-wish .icon-heart-fill { display: none; }
.pc-wish.is-active .icon-heart { display: none; }
.pc-wish.is-active .icon-heart-fill { display: block; color: var(--red); }
.pc-body { display: flex; flex-direction: column; gap: 6px; padding: 4px 16px 16px; flex: 1; }
.pc-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.pc-brand { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-sku { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; flex-shrink: 0; }
.pc-title { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pc-title:hover { color: var(--green-700); }
.pc-stock { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pc-stock.is-order i { background: var(--amber); }
.pc-stock b { color: var(--ink); font-weight: 700; }
.pc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.pc-price { display: flex; flex-direction: column; line-height: 1.1; }
.pc-price strong { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.pc-price strong.is-sale { color: var(--red); }
.pc-price s { font-size: 13px; color: var(--muted-2); }
.pc-price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.pc-add {
  width: 42px; height: 42px; border-radius: 8px; border: 0; background: var(--ink); color: #fff;
  display: grid; place-items: center; transition: background 0.2s, transform 0.2s var(--ease); flex-shrink: 0;
}
.pc-add .icon { width: 20px; height: 20px; }
.pc-add:hover { background: var(--green); }
.pc-add:active { transform: scale(0.94); }
.pc-add.is-added { background: var(--green); }
.pc-add[hidden],
[data-pc-add][hidden],
.badge[hidden],
.pc-sku[hidden],
.pr-sku[hidden],
[data-pc-regular][hidden] { display: none !important; }

.pc-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-height: 28px;
}
.pc-swatch {
  appearance: none;
  -webkit-appearance: none;
  min-width: 28px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.pc-swatch:hover { border-color: #c9ccd1; }
.pc-swatch.is-selected {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
  background: #f3f8f1;
}
.pc-swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
  flex-shrink: 0;
}
.pc-swatch--image .pc-swatch-dot {
  background: center / cover no-repeat var(--swatch-image);
}
.pc-swatch-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 72px;
}
.pc-swatch-more {
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
}
.pc-swatch-more:hover { color: var(--green-700); background: #eef3ec; }
.pc-swatch:focus-visible,
.pc-swatch-more:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.products-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: stretch; }
.products-grid > * { min-width: 0; height: 100%; }

/* Product slider */
.product-slider { position: relative; }
.product-slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; scroll-padding-inline: 0; }
.product-slider-track::-webkit-scrollbar { display: none; }
.product-slider-track > * { scroll-snap-align: start; }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.slider-arrow:hover:not(:disabled) { border-color: var(--ink); }
.slider-arrow:disabled { opacity: 0.35; cursor: default; }
.slider-arrow .icon { width: 18px; height: 18px; }

/* ---------- Deals ---------- */
.deals-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.deals-head-left { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.countdown { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.countdown-units { display: flex; align-items: baseline; gap: 2px; }
.countdown-unit { display: inline-flex; align-items: baseline; gap: 2px; }
.countdown-unit + .countdown-unit::before { content: ":"; margin: 0 4px 0 2px; color: var(--muted-2); font-weight: 600; }
.countdown-unit b { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.countdown-unit span { font-size: 11px; color: var(--muted); }
.deals-head-right { display: flex; align-items: center; gap: 16px; }

/* ---------- Insulation showcase (light, ghost-white) ---------- */
.showcase {
  position: relative; color: var(--ink); background: #f8f9fb; overflow: hidden;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab { padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 500; font-size: 14px; transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.tab:hover { border-color: var(--green); color: var(--green-700); }
.tab.is-active { background: var(--green); color: var(--white); border-color: var(--green); font-weight: 600; box-shadow: 0 6px 16px rgba(131,184,26,0.28); }
.showcase-grid { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 14px; }
.showcase-grid .product-card { border-color: var(--line); }
.showcase-feature {
  position: relative; border-radius: var(--radius); overflow: hidden; padding: 28px; min-height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; isolation: isolate; color: #fff;
}
.showcase-feature-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.showcase-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16,18,16,0.72) 0%, rgba(16,18,16,0.3) 55%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.2); }
.showcase-feature > * { text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.showcase-feature .btn { text-shadow: none; }
.showcase-feature h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.05; }
.showcase-feature p { color: rgba(255,255,255,0.85); font-size: 14px; }
.showcase-feature ul { display: grid; gap: 6px; margin: 6px 0 10px; }
.showcase-feature li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.showcase-feature li .icon { width: 16px; height: 16px; color: var(--green); }
.tab-panel { display: none; }
.tab-panel.is-active { display: contents; }
.tab-panel.is-active .product-card { animation: rise 0.45s var(--ease) both; }

/* ---------- Banners ---------- */
.banner-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; }
.banner-stack { display: grid; gap: 16px; }
.banner { min-height: 400px; padding: 34px; }
.banner h3 { font-size: 34px; max-width: 16ch; }
.banner-sm { min-height: 192px; padding: 26px; }
.banner-sm h3 { font-size: 24px; }

/* ---------- Brands marquee ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--white); }
.brands-inner { display: flex; align-items: center; gap: 40px; }
.brands-label { flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-right: 40px; border-right: 1px solid var(--line); }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; height: 40px; padding: 0 30px; }
.marquee-item img { display: block; height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) opacity(0.6); transition: filter 0.25s; }
.marquee-item:hover img { filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow 0.25s;
}
.service:hover { box-shadow: var(--shadow); }
.service-icon { width: 54px; height: 54px; border-radius: 8px; background: var(--green-soft); color: var(--green-700); display: grid; place-items: center; }
.service-icon .icon { width: 26px; height: 26px; }
.service h3 { font-size: 18px; font-weight: 600; }
.service p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.service a { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--green-700); }
.service a svg { width: 16px; height: 16px; }

/* ---------- B2B band ---------- */
.b2b { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-900); color: #fff; position: relative; }
.b2b::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 26px); pointer-events: none; }
.b2b-body { position: relative; padding: 52px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.b2b-body .kicker { color: var(--green); }
.b2b-body .kicker::before { background: var(--green); }
.b2b-body h2 { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.08; max-width: 18ch; }
.b2b-body p { color: rgba(255,255,255,0.82); max-width: 52ch; }
.b2b-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 6px 0 10px; }
.b2b-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.b2b-list .icon { width: 18px; height: 18px; color: var(--green); }
.b2b-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.b2b-media { position: relative; min-height: 360px; background: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1400&q=80") center/cover; }
.b2b-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-900) 0%, rgba(36,64,10,0.2) 30%, transparent 60%); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.post-featured { display: flex; flex-direction: column; gap: 14px; }
.post-featured-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; }
.post-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-featured:hover .post-featured-media img { transform: scale(1.04); }
.post-tag { position: absolute; top: 16px; left: 16px; padding: 5px 10px; border-radius: 6px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 700; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.post-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
.post-featured h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.15; }
.post-featured:hover h3 { color: var(--green-700); }
.post-featured p { color: var(--muted); }
.post-list { display: flex; flex-direction: column; }
.post-row { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); align-items: center; }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row-media { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.post-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-row:hover .post-row-media img { transform: scale(1.06); }
.post-row h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin-top: 6px; }
.post-row:hover h3 { color: var(--green-700); }
.post-row p { font-size: 13.5px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Blog variant 2 — cards */
.blog-grid[data-variant="cards"] { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow 0.25s, border-color 0.25s; }
.post-card:hover { box-shadow: var(--shadow); border-color: var(--green); }
.post-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.post-card h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.post-card:hover h3 { color: var(--green-700); }
.post-card p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.post-card-link .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.post-card:hover .post-card-link { color: var(--green-700); }
.post-card:hover .post-card-link .icon { transform: translateX(4px); }

/* Blog variant 3 — magazine tiles */
.blog-grid[data-variant="tiles"] { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.post-tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; padding: 22px; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--white); isolation: isolate; }
.post-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.post-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16,18,16,0.82) 0%, rgba(16,18,16,0.3) 50%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.12); }
.post-tile:hover .post-tile-img { transform: scale(1.05); }
.post-tile-body { display: flex; flex-direction: column; gap: 8px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.post-tile-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.post-tile h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.15; }
.post-tile .post-meta { color: rgba(255,255,255,0.75); }
.post-tile .post-meta i { background: rgba(255,255,255,0.5); }

/* Blog variant 4 — editorial list */
.blog-grid[data-variant="list"] { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.post-line { position: relative; display: grid; grid-template-columns: 96px 1fr 180px 40px; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-line-date { display: flex; flex-direction: column; line-height: 1.1; }
.post-line-date b { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); }
.post-line-date span { font-size: 13px; color: var(--muted); margin-top: 3px; }
.post-line h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin-top: 6px; }
.post-line:hover h3 { color: var(--green-700); }
.post-line p { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 70ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-line-media { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; }
.post-line-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-line:hover .post-line-media img { transform: scale(1.06); }
.post-line-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.post-line-arrow .icon { width: 18px; height: 18px; }
.post-line:hover .post-line-arrow { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.about-card { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow-lg); }
.about-card-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 6px; background: var(--green-soft); color: var(--green-700); display: grid; place-items: center; }
.about-card-icon .icon { width: 20px; height: 20px; }
.about-card strong { display: block; font-weight: 600; font-size: 15px; }
.about-card small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.about h2 { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.08; margin: 10px 0 18px; }
.about p { color: var(--ink-2); line-height: 1.65; }
.about-list { display: grid; gap: 12px; margin-top: 24px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.about-list li strong { color: var(--ink); font-weight: 600; }
.about-list .icon { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-soft); color: var(--green-700); margin-top: 1px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.stat { padding: 0 28px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 42px; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 26ch; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--green); color: var(--white); position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; right: -6%; top: -60%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.12); pointer-events: none; }
.newsletter-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 0; }
.newsletter h2 { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.newsletter p { margin-top: 6px; color: rgba(255,255,255,0.85); max-width: 52ch; }
.newsletter-form { display: flex; gap: 8px; width: min(520px, 100%); }
.newsletter-form input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border: 0; border-radius: 8px; background: #fff; }
.newsletter-form input:focus { outline: 2px solid var(--white); }
.newsletter small { display: block; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.75); }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px 32px; padding: 60px 0 44px; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { margin: 18px 0 20px; max-width: 34ch; line-height: 1.55; font-size: 14px; color: var(--muted); }
.footer-contact { display: grid; gap: 10px; font-size: 14px; color: var(--ink); }
.footer-contact a, .footer-contact div { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.footer-contact a:hover { color: var(--green-700); }
.footer-contact small { color: var(--muted); }
.footer-hours { margin-top: 18px; display: grid; gap: 6px; font-size: 14px; }
.footer-hours div { display: flex; justify-content: space-between; gap: 12px; max-width: 260px; }
.footer-hours strong { color: var(--ink); font-weight: 600; }
.site-footer h3 { font-size: 15px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-links { display: grid; gap: 9px; font-size: 14px; }
.footer-links a { color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--green-700); }
.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.footer-social a:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.footer-social .icon { width: 16px; height: 16px; }
.footer-bar { border-top: 1px solid var(--line); background: var(--paper); }
.footer-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 13px; color: var(--muted); }
.footer-bar-inner a:hover { color: var(--ink); }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pay-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 5px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; }
.pay-logo { height: 14px; width: auto; display: block; }
.pay-logo--mastercard, .pay-logo--seb { height: 18px; }
.pay-logo--citadele, .pay-logo--applepay { height: 16px; }
.pay-logo--gpay { height: 16px; }
.pay-logo--lg { height: 20px; }
.pay-logo--lg.pay-logo--mastercard, .pay-logo--lg.pay-logo--seb { height: 26px; }
.pay-logo--lg.pay-logo--citadele { height: 24px; }

/* ---------- Drawers & overlays ---------- */
.overlay { position: fixed; inset: 0; background: rgba(28,29,34,0.5); opacity: 0; pointer-events: none; transition: opacity 0.25s; z-index: 80; backdrop-filter: blur(2px); }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; width: min(440px, 100%); height: 100dvh;
  background: #fff; z-index: 90; transform: translateX(100%);
  transition: transform 0.3s var(--ease); display: flex; flex-direction: column;
}
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; font-weight: 600; }
.drawer-head h3 span { color: var(--muted); font-weight: 400; }
.drawer-close { width: 40px; height: 40px; border-radius: 8px; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.drawer-close:hover { background: var(--paper-2); }
.drawer-body { flex: 1; overflow: auto; padding: 18px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fff; }

.ship-bar { margin-bottom: 18px; }
.ship-bar p { font-size: 14px; margin-bottom: 8px; }
.ship-bar p strong { color: var(--green-700); }
.ship-bar p.ok { color: var(--green-700); font-weight: 500; }
.ship-bar-track { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.ship-bar-track i { display: block; height: 100%; background: var(--green); border-radius: 6px; transition: width 0.4s var(--ease); }

.mini-lines { display: grid; gap: 14px; }
.mini-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: start; }
.mini-line-img { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; padding: 6px; background: #fff; }
.mini-line-img img { max-height: 100%; object-fit: contain; }
.mini-line-brand { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mini-line-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.35; margin-top: 2px; }
.mini-line-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; height: 34px; }
.qty button { width: 32px; height: 100%; border: 0; background: #fff; font-size: 16px; }
.qty button:hover { background: var(--paper); }
.qty button:disabled,
.qty button:disabled:hover { opacity: 0.35; cursor: not-allowed; background: #fff; }
.qty input { width: 36px; height: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-weight: 600; font-size: 14px; }
.mini-line-price { font-weight: 700; font-size: 15px; }
.mini-line-remove { border: 0; background: none; color: var(--muted-2); font-size: 22px; line-height: 1; padding: 0 2px; }
.mini-line-remove:hover { color: var(--red); }
.mini-empty { text-align: center; padding: 40px 8px 20px; }
.mini-empty .icon { width: 48px; height: 48px; color: var(--muted-2); margin: 0 auto 14px; }
.mini-empty p { font-size: 18px; font-weight: 600; }
.mini-empty span { display: block; margin: 8px 0 18px; color: var(--muted); font-size: 14px; }
.mini-foot-row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.mini-foot-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; font-weight: 700; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.mini-foot-tax { font-size: 13px; color: var(--muted); }
.mini-foot-tax span:last-child { font-weight: 600; color: var(--ink-2); }
.mini-foot-vat { font-size: 12px; color: var(--muted); }
.mini-foot .btn { width: 100%; margin-top: 12px; }
.mini-foot-link { display: block; text-align: center; margin-top: 10px; font-size: 14px; color: var(--green-700); font-weight: 500; }

/* Mobile nav */
.mobile-nav {
  position: fixed; top: 0; left: 0; width: min(380px, 92%); height: 100dvh; background: #fff; z-index: 90;
  transform: translateX(-100%); transition: transform 0.3s var(--ease); display: flex; flex-direction: column; overflow: hidden;
}
.mobile-nav.show { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px; padding: 8px 12px 8px 10px; border-bottom: 1px solid var(--line); }
.mobile-nav-head strong { font-size: 17px; font-weight: 600; padding-left: 8px; }
.mobile-back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 8px 8px 8px 4px; font-size: 14px; color: var(--ink-2); }
.mobile-back[hidden], .mobile-nav-head strong[hidden] { display: none; }
.mobile-steps { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mobile-step { position: absolute; inset: 0; overflow: auto; padding: 8px 10px 28px; background: #fff; transition: transform 0.28s var(--ease); }
.mobile-step.from-right { transform: translateX(100%); }
.mobile-step.from-left { transform: translateX(-30%); }
.mobile-step.in { transform: none; }
.mobile-step.to-left { transform: translateX(-30%); }
.mobile-step.to-right { transform: translateX(100%); }
.mobile-step-heading { padding: 10px 12px 4px; font-size: 20px; font-weight: 700; font-family: var(--font-display); }
.mobile-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 12px; border: 0; background: none; text-align: left; font-size: 15px; color: var(--ink); border-radius: 8px; }
.mobile-link:hover { background: var(--paper); }
.mobile-link .icon { width: 18px; height: 18px; color: var(--muted-2); }
.mobile-link--all { color: var(--green-700); font-weight: 600; }
.mobile-help { margin: 16px 6px 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.mobile-help h4 { padding: 10px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mobile-help a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: 14.5px; color: var(--ink-2); border-radius: 8px; }
.mobile-help a:hover { background: var(--paper); }
.mobile-help a .icon { width: 20px; height: 20px; color: var(--green-700); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; opacity: 0; transition: 0.25s var(--ease); z-index: 100; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); }
.toast .icon { width: 18px; height: 18px; color: var(--green); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: 0.25s var(--ease); z-index: 50; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--green); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view,
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Category / listing page
   ========================================================= */
.cat-head { background: var(--paper); border-bottom: 1px solid var(--line-soft); padding: 18px 0 22px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); padding: 2px 4px; border-radius: 4px; }
.breadcrumb a:hover { color: var(--ink); background: var(--white); }
.breadcrumb a .icon { width: 16px; height: 16px; }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 500; padding: 2px 4px; }
.crumb-sep .icon { width: 14px; height: 14px; color: var(--muted-2); display: block; }
.cat-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.cat-head-text { max-width: 820px; min-width: 0; }
.cat-head h1 { font-size: clamp(28px, 3vw, 40px); }
.cat-desc { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.cat-desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-desc-toggle { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 0; background: none; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--green-700); }
.cat-desc-toggle .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.cat-desc-toggle.is-open .icon { transform: rotate(180deg); }
.cat-desc-toggle[hidden] { display: none; }
.cat-head-meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; flex-shrink: 0; padding-top: 8px; }
.meta-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: 13px; color: var(--muted); white-space: nowrap; }
.meta-pill b { color: var(--ink); font-weight: 700; }
.meta-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.subcats[hidden] { display: none; }
.subcat { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color 0.15s, color 0.15s; }
.subcat small { font-size: 12px; color: var(--muted-2); font-weight: 500; }
.subcat:hover { border-color: var(--green); color: var(--green-700); }

.catalog-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 36px; padding: 28px 0 64px; align-items: start; }
.catalog-layout .products-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* Sidebar filters */
.filters { display: flex; flex-direction: column; min-width: 0; max-width: 100%; overflow-x: hidden; }
.filters-head { display: none; }
.filters-body { padding-right: 4px; min-width: 0; max-width: 100%; }
.filters-foot { display: none; }
.fgroup { border-bottom: 1px solid var(--line); padding: 6px 0 16px; }
.fgroup:first-child { padding-top: 0; }
.fgroup-head { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 0; border: 0; background: none; text-align: left; font-size: 15px; font-weight: 700; color: var(--ink); }
.fgroup-head span { flex: 1; }
.fgroup-head .icon { width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s var(--ease); }
.fgroup-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.fgroup.is-collapsed .fgroup-head .icon { transform: rotate(-90deg); }
.fgroup.is-collapsed .fgroup-body { display: none; }
.fgroup.is-collapsed { padding-bottom: 6px; }
.fcats { display: flex; flex-direction: column; gap: 2px; }
.fcat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: 14px; color: var(--ink-2); }
.fcat small { font-size: 12px; color: var(--muted-2); }
.fcat:hover { background: var(--paper); color: var(--ink); }
.fcat.is-active { background: var(--green-soft); color: var(--green-900); font-weight: 600; }
.fcat--up { color: var(--muted); font-weight: 500; justify-content: flex-start; gap: 4px; padding-left: 4px; }
.fcat--up .icon { width: 16px; height: 16px; }
.flist { display: flex; flex-direction: column; gap: 2px; }
.flist .fcheck.is-overflow { display: none; }
.flist.is-expanded .fcheck.is-overflow { display: flex; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; font-size: 14px; color: var(--ink-2); cursor: pointer; user-select: none; }
.fcheck:hover { background: var(--paper); }
.fcheck input { position: absolute; opacity: 0; width: 0; height: 0; }
.fcheck-box { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #c9ccd1; background: var(--white); display: grid; place-items: center; flex-shrink: 0; transition: background 0.15s, border-color 0.15s; }
.fcheck-box .icon { width: 14px; height: 14px; color: var(--white); opacity: 0; }
.fcheck input:checked + .fcheck-box { background: var(--green); border-color: var(--green); }
.fcheck input:checked + .fcheck-box .icon { opacity: 1; }
.fcheck input:focus-visible + .fcheck-box { outline: 2px solid var(--green); outline-offset: 2px; }
.fcheck-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcheck-count { font-size: 12px; color: var(--muted-2); }
.fcheck.is-disabled { opacity: 0.45; pointer-events: none; }
.fcheck[hidden] { display: none; }
.fmore { display: inline-flex; align-items: center; gap: 4px; margin: 8px 0 0 8px; border: 0; background: none; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--green-700); }
.fmore .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.fmore.is-open .icon { transform: rotate(180deg); }
.fsearch { position: relative; margin: 0 0 8px; }
.fsearch .icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); }
.fsearch input { width: 100%; height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: 14px; outline: none; }
.fsearch input:focus { border-color: var(--green); }
.fgroup, .fgroup-body { min-width: 0; max-width: 100%; }
.frange { position: relative; height: 28px; margin: 6px 0 10px; --lo: 0%; --hi: 100%; min-width: 0; max-width: 100%; }
.frange-track { position: absolute; left: 10px; right: 10px; top: 50%; height: 4px; transform: translateY(-50%); border-radius: 4px; background: var(--paper-2); }
.frange-track i { position: absolute; top: 0; bottom: 0; left: var(--lo); right: calc(100% - var(--hi)); background: var(--green); border-radius: 4px; }
.frange input[type="range"] { position: absolute; top: 0; bottom: 0; left: 10px; width: calc(100% - 20px); min-width: 0; max-width: calc(100% - 20px); margin: 0; padding: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.frange input[type="range"]::-webkit-slider-runnable-track { background: transparent; height: 28px; }
.frange input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--white); border: 2px solid var(--green); box-shadow: var(--shadow-sm); cursor: grab; }
.frange input[type="range"]::-moz-range-track { background: transparent; }
.frange input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--green); box-shadow: var(--shadow-sm); cursor: grab; }
.fprice-inputs { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.fprice-inputs label { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: 13px; color: var(--muted); overflow: hidden; }
.fprice-inputs label:focus-within { border-color: var(--green); }
.fprice-inputs input { flex: 1 1 auto; width: 100%; min-width: 0; max-width: 100%; border: 0; outline: none; font-size: 14px; font-weight: 600; color: var(--ink); text-align: right; -moz-appearance: textfield; appearance: textfield; }
.fprice-inputs input::-webkit-inner-spin-button, .fprice-inputs input::-webkit-outer-spin-button { -webkit-appearance: none; }
.fprice-inputs span, .fprice-inputs b { flex-shrink: 0; font-weight: 500; }
.fprice-dash { flex-shrink: 0; color: var(--muted-2); }

/* Toolbar */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 10px; }
.toolbar-count { font-size: 14px; color: var(--muted); }
.toolbar-count b { color: var(--ink); font-weight: 600; }
.toolbar-filter-btn { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-weight: 600; font-size: 14px; }
.toolbar-filter-btn .icon { width: 20px; height: 20px; }
.toolbar-filter-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--green); color: var(--white); font-size: 11.5px; font-weight: 700; }
.toolbar-filter-badge[hidden], .filters-head-count[hidden] { display: none; }
.toolbar-select { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: 14px; color: var(--muted); }
.toolbar-select:hover { border-color: #c9ccd1; }
.toolbar-select select { appearance: none; -webkit-appearance: none; -moz-appearance: none; border: 0; background: transparent; font-weight: 600; color: var(--ink); font-size: 14px; padding: 0; outline: none; cursor: pointer; }
.toolbar-select select::-ms-expand { display: none; }
.toolbar-select > .icon { position: absolute; right: 10px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.toolbar-select.is-custom { padding: 0; }
.toolbar-select.is-custom select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.vt-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 40px;
  padding: 0 34px 0 12px;
  border: 0;
  background: none;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}
.vt-select-btn strong { font-weight: 600; color: var(--ink); font-size: 14px; white-space: nowrap; }
.vt-select-btn .icon,
.toolbar-select.is-custom .vt-select-btn .icon {
  position: absolute;
  right: 10px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.2s var(--ease);
}
.toolbar-select.is-open { border-color: var(--green); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.18); }
.toolbar-select.is-open .vt-select-btn .icon { transform: rotate(180deg); }
.vt-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 40;
  min-width: max(100%, 220px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.toolbar-select--per .vt-select-list { min-width: 100%; right: 0; left: auto; }
.vt-select-list[hidden] { display: none; }
.vt-select-list li {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.vt-select-list li:hover { background: var(--paper); color: var(--ink); }
.vt-select-list li.is-selected { background: var(--green-soft); color: var(--green-900); }
.vt-select-list li.vt-select-group { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; cursor: default; padding-top: 10px; }
.vt-select-list li.vt-select-group:hover { background: none; color: var(--muted); }
.vt-select-search { display: block; width: 100%; margin: 0 0 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 13.5px; font-weight: 500; }
.vt-select-search:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.14); }

.vt-select--field { position: relative; display: block; width: 100%; border: 1px solid #cfd3d8; border-radius: 8px; background: var(--white); }
.vt-select--field.is-custom > select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.vt-select--field .vt-select-btn {
  min-height: 46px;
  height: auto;
  padding: 10px 40px 10px 14px;
  font-size: 15px;
  color: var(--ink);
}
.vt-select--field .vt-select-btn strong { font-weight: 500; font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.vt-select--field .vt-select-btn .icon { right: 12px; }
.vt-select--field.is-open { border-color: var(--green); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.18); z-index: 30; }
.vt-select--field.is-open .vt-select-btn .icon { transform: rotate(180deg); }
.vt-select--field .vt-select-list { min-width: 100%; max-height: 280px; overflow: auto; z-index: 80; }
.vt-select + .select2-container,
.vt-select .select2-container,
.woocommerce-input-wrapper:has(> .vt-select) > .select2-container { display: none !important; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; height: 40px; }
.view-toggle button { width: 40px; border: 0; background: var(--white); color: var(--muted); display: grid; place-items: center; transition: background 0.15s, color 0.15s; }
.view-toggle button + button { border-left: 1px solid var(--line); }
.view-toggle button .icon { width: 20px; height: 20px; }
.view-toggle button:hover { color: var(--ink); }
.view-toggle button.is-active { background: var(--ink); color: var(--white); }

/* Active filter chips */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 18px; }
.active-filters[hidden] { display: none; }
.active-label { font-size: 13px; color: var(--muted); margin-right: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--ink); transition: border-color 0.15s, background 0.15s; }
.chip .icon { display: block; width: 16px; height: 16px; color: var(--muted); }
.chip-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.chip-x .icon { width: 16px; height: 16px; }
.chip:hover { border-color: var(--ink); }
.chip:hover .icon { color: var(--red); }
.chip--clear { border-color: transparent; background: none; color: var(--green-700); padding: 0 8px; font-weight: 600; }
.chip--clear .icon { color: var(--green-700); }
.chip--clear:hover { border-color: transparent; text-decoration: underline; }

/* Results */
.results { min-width: 0; }
.results-body { min-height: 300px; }
.results-empty { text-align: center; padding: 72px 20px; border: 1px dashed var(--line); border-radius: 8px; }
.results-empty .icon { width: 44px; height: 44px; color: var(--muted-2); margin: 0 auto 14px; }
.results-empty h3 { font-size: 20px; }
.results-empty p { color: var(--muted); margin: 8px auto 18px; max-width: 46ch; }

/* List view */
.products-list { display: flex; flex-direction: column; gap: 12px; }
.product-row { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr) 220px; gap: 24px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.25s, border-color 0.25s; }
.product-row:hover { box-shadow: var(--shadow); border-color: #d2d5d9; }
.pr-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--white); --pc-pad: 8px; }
.pr-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - (var(--pc-pad) * 2));
  height: calc(100% - (var(--pc-pad) * 2));
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
}
.pr-media .pc-badges { top: 0; left: 0; }
.pr-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 4px 0; }
.pr-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pr-sku { font-size: 12px; color: var(--muted-2); }
.pr-title { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.pr-title:hover { color: var(--green-700); }
.pr-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; margin: 4px 0 2px; max-width: 520px; }
.pr-specs li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 4px 0; border-bottom: 1px dotted var(--line); }
.pr-specs li span { color: var(--muted); }
.pr-specs li b { font-weight: 600; color: var(--ink-2); text-align: right; }
.product-row .pc-swatches { margin: 2px 0 4px; }
.product-row .pc-swatch-name { max-width: 110px; }
.pr-body .pc-stock { margin-top: auto; }
.pr-buy { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 14px; padding: 4px 0; border-left: 1px solid var(--line-soft); padding-left: 24px; }
.pr-buy .pc-price { align-items: flex-end; text-align: right; }
.pr-buy .pc-price strong { font-size: 22px; }
.pr-actions { display: flex; align-items: center; gap: 8px; }
.pr-actions .pc-wish { position: static; opacity: 1; transform: none; width: 38px; height: 38px; border-radius: 8px; }
.pr-actions .btn .icon { width: 18px; height: 18px; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.pagination[hidden] { display: none; }
.pg-nums { display: flex; align-items: center; gap: 4px; }
.pg-num, .pg-arrow { height: 40px; min-width: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent; background: none; font-weight: 600; font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 4px; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.pg-num:hover, .pg-arrow:hover:not(:disabled) { background: var(--paper); color: var(--ink); }
.pg-num.is-active { background: var(--ink); color: var(--white); }
.pg-gap { color: var(--muted-2); padding: 0 4px; }
.pg-arrow { border-color: var(--line); padding: 0 14px 0 10px; }
.pg-arrow:last-child { padding: 0 10px 0 14px; }
.pg-arrow .icon { width: 18px; height: 18px; }
.pg-arrow:disabled { opacity: 0.4; cursor: default; }

/* SEO / trust block */
.cat-seo { margin-top: 48px; padding: 32px; background: var(--paper); border-radius: 8px; }
.cat-seo[hidden] { display: none; }
.cat-seo h2 { font-family: var(--font-display); font-size: 24px; margin-bottom: 20px; }
.cat-seo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-seo-grid .icon { width: 28px; height: 28px; color: var(--green-700); margin-bottom: 10px; }
.cat-seo-grid h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cat-seo-grid p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* =========================================================
   Single product page
   ========================================================= */
.breadcrumb--page { padding: 18px 0 0; margin-bottom: 0; }
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; padding: 22px 0 48px; align-items: start; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.gallery.is-single,
.gallery:not(:has(.gallery-rail)),
.gallery:has(.gallery-rail[hidden]) { grid-template-columns: minmax(0, 1fr); }
/* contain: size keeps the thumbnail count from growing the row, so the rail matches the main image height. */
.gallery-rail { order: -1; position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 0; contain: size; }
.gallery-rail[hidden] { display: none; }
.gallery-thumbs { position: relative; flex: 1 1 auto; min-height: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 2px; margin: -2px; scroll-padding: 2px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-nav { flex: 0 0 auto; display: none; place-items: center; width: 100%; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color 0.15s, color 0.15s, opacity 0.15s; }
.gallery-nav .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.gallery-nav--prev .icon { transform: rotate(180deg); }
.gallery-nav:hover:not(:disabled) { border-color: var(--ink); }
.gallery-nav:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.gallery-nav:disabled { opacity: 0.35; cursor: default; }
.gallery-rail.has-overflow .gallery-nav { display: grid; }
.gallery-thumb { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 96px; height: 96px; padding: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: grid; place-items: center; scroll-snap-align: start; transition: border-color 0.15s, box-shadow 0.15s; }
.gallery-thumb img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; background: #fff; }
.gallery-thumb:hover { border-color: #c9ccd1; }
.gallery-thumb.is-active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.gallery-main { position: relative; width: 100%; aspect-ratio: 1 / 1; height: auto; min-height: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: zoom-in; overflow: hidden; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center; padding: 32px; box-sizing: border-box; background: #fff; }
.gallery-main .pc-badges { top: 16px; left: 16px; }
.gallery-main .pc-wish { opacity: 1; transform: none; top: 14px; right: 14px; width: 40px; height: 40px; }
.gallery-zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(255,255,255,0.9); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); opacity: 0; transition: opacity 0.2s; }
.gallery-zoom .icon { width: 16px; height: 16px; }
.gallery-main:hover .gallery-zoom { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(28,29,34,0.92); display: grid; place-items: center; padding: 40px; cursor: zoom-out; animation: fade 0.2s var(--ease); }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 8px; padding: 20px; }
.lightbox .drawer-close { position: absolute; top: 20px; right: 20px; }
@keyframes fade { from { opacity: 0; } }

/* Summary */
.summary { min-width: 0; }
.summary-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.summary-brand { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); }
.summary-brand:hover { text-decoration: underline; }
.summary-sku { font-size: 13px; color: var(--muted); }
.summary-sku b { font-weight: 600; color: var(--ink-2); }
.summary h1 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }
.summary-spec { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.summary-flags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.summary > .var-swatches { margin-top: 16px; }
.flag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.flag .icon { width: 16px; height: 16px; color: var(--green); }

.price-box { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 18px 20px; background: var(--paper); border-radius: 8px; }
.price-main { display: flex; flex-direction: column; line-height: 1.1; }
.price-main s { font-size: 15px; color: var(--muted-2); }
.price-main strong { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; font-family: var(--font-display); }
.price-main strong.is-sale { color: var(--red); }
.price-main small { font-size: 13px; color: var(--muted); margin-top: 2px; }
.price-m2 { display: block; margin-top: 8px; font-style: normal; font-size: 16px; font-weight: 700; color: var(--ink-2); letter-spacing: -0.01em; }
.price-m2 .woocommerce-Price-amount { font-weight: 700; }
.price-side { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.price-side div { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.price-side b { color: var(--ink); font-weight: 600; }
.price-side .is-sale b { color: var(--red); }

.key-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin-top: 18px; }
.key-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--line); font-size: 14px; }
.key-specs li span { color: var(--muted); }
.key-specs li b { font-weight: 600; text-align: right; }
.key-specs:empty { display: none; }

.stock-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; font-size: 14px; }
.stock-line .pc-stock { font-size: 14px; color: var(--ink-2); }
.stock-line .pc-stock b { color: var(--ink); }
.stock-eta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.stock-eta .icon { width: 18px; height: 18px; }

.buy { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.buy:has(.variations_form) { display: block; }
.buy .variations_form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}
.buy .variations_form > table.variations {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
.var-swatches { display: grid; gap: 14px; }
.var-row { display: grid; gap: 8px; }
.var-label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.var-options { display: flex; flex-wrap: wrap; gap: 8px; }
.var-swatch {
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.var-swatch:hover { border-color: #c9ccd1; }
.var-swatch.is-selected {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
  background: #f3f8f1;
}
.var-swatch.is-disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.var-swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
  flex-shrink: 0;
}
.var-swatch--image .var-swatch-dot {
  background: center / cover no-repeat var(--swatch-image);
}
.var-swatch-name { font-weight: 600; }
.var-swatches .reset_variations {
  justify-self: start;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  visibility: hidden;
}
.var-swatches .reset_variations.visible,
.var-swatches .reset_variations.show { visibility: visible; }
.single_variation_wrap { width: 100%; }
.woocommerce-variation-description,
.woocommerce-variation-price,
.woocommerce-variation-availability { display: none; }
.buy .variations_button,
.buy .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.single_add_to_cart_button.disabled { opacity: 0.55; cursor: not-allowed; }
.qty--lg { height: 50px; border-radius: 8px; }
.qty--lg button { width: 44px; font-size: 20px; }
.qty--lg input { width: 56px; font-size: 16px; -moz-appearance: textfield; }
.qty--lg input::-webkit-inner-spin-button, .qty--lg input::-webkit-outer-spin-button { -webkit-appearance: none; }
.btn--lg { min-height: 50px; padding: 0 28px; font-size: 16px; }
.buy-total { font-size: 14px; color: var(--muted); }
.buy-total b { color: var(--ink); font-weight: 700; }

.summary-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.link-btn .icon { width: 18px; height: 18px; color: var(--muted); }
.link-btn:hover { color: var(--green-700); }
.link-btn .icon-heart-fill { display: none; }
.link-btn.is-active .icon-heart { display: none; }
.link-btn.is-active .icon-heart-fill { display: block; color: var(--red); }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust .icon { width: 24px; height: 24px; color: var(--green-700); flex-shrink: 0; margin-top: 1px; }
.trust b { display: block; font-size: 14px; font-weight: 600; }
.trust span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* EU energy label */
.energy { height: 22px; width: auto; display: inline-block; vertical-align: middle; }
.energy--sm { height: 18px; }
.pc-price-row { display: inline-flex; align-items: center; gap: 8px; }
.pc-energy { display: inline-flex; line-height: 0; }
.energy-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.energy-row[hidden] { display: none; }
.details { scroll-margin-top: calc(var(--header-h) + 16px); }
.energy-row > span { color: var(--ink-2); font-weight: 500; }
.energy-row .energy { height: 40px; }
.energy-row .energy-doc { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--green-700); }
.energy-row .energy-doc .icon { width: 18px; height: 18px; }
.energy-row .energy-doc:hover { text-decoration: underline; }
.energy-row .energy-note { flex-basis: 100%; font-size: 12px; color: var(--muted); }

/* Sticky buy bar (mobile) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(28,29,34,0.08); transform: translateY(100%); transition: transform 0.25s var(--ease); }
.buybar.show { transform: none; }
.buybar-price { display: flex; flex-direction: column; line-height: 1.1; }
.buybar-price strong { font-size: 20px; font-weight: 700; }
.buybar-price strong.is-sale { color: var(--red); }
.buybar-price small { font-size: 12px; color: var(--muted); }

/* Details tabs */
.details { padding-bottom: 24px; }
.details-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.details-tabs::-webkit-scrollbar { display: none; }
.details-tab { position: relative; padding: 14px 18px; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color 0.15s; }
.details-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; transition: background 0.15s; }
.details-tab:hover { color: var(--ink); }
.details-tab.is-active { color: var(--ink); }
.details-tab.is-active::after { background: var(--green); }
.details-panels { padding-top: 26px; }
.details-panel { display: none; }
.details-panel.is-active { display: block; animation: rise 0.35s var(--ease) both; }
.prose { max-width: 820px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.prose p + p, .prose ul { margin-top: 12px; }
.prose h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.prose ul { display: grid; gap: 6px; }
.prose li { position: relative; padding-left: 24px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.spec-table { width: 100%; max-width: 820px; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec-table th { width: 32%; font-weight: 500; color: var(--muted); background: var(--paper); }
.spec-table td { font-weight: 500; }
.spec-table td a { color: var(--green-700); }
.spec-table tr:first-child th { border-radius: 8px 0 0 0; }
.spec-table tr:last-child th { border-radius: 0 0 0 8px; }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; transition: border-color 0.15s, box-shadow 0.15s; }
.doc:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.doc .icon { width: 28px; height: 28px; color: var(--red); flex-shrink: 0; }
.doc .icon:last-child { width: 20px; height: 20px; color: var(--muted); margin-left: auto; }
.doc div { min-width: 0; }
.doc b { display: block; font-size: 14px; font-weight: 600; }
.doc span { font-size: 12.5px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .product { gap: 32px; }
  .docs { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 244px minmax(0, 1fr); gap: 28px; }
  .catalog-layout .products-grid { grid-template-columns: repeat(3, 1fr); }
  .product-row { grid-template-columns: 130px minmax(0, 1fr) 200px; gap: 18px; }
  .cat-seo-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .product-slider-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
  .showcase-feature { grid-column: 1 / -1; min-height: 260px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .catbar-link { font-size: 14px; padding: 0 7px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 118px; }
  .topbar-links { display: none; }
  .header-main { flex-wrap: wrap; gap: 12px 16px; padding: 12px 0; }
  .header-action.header-burger { display: grid; }
  .header-actions { margin-left: auto; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header-action-text { display: none; }
  .catbar { display: none; }
  .logo img { height: 54px; }

  .hero { grid-template-columns: 1fr; }
  .hero-slider { min-height: 460px; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; min-height: 0; }
  .tile { min-height: 200px; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .usp-item:nth-child(2) { border-right: 0; }
  .usp-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }

  .banner-grid { grid-template-columns: 1fr; }
  .banner { min-height: 300px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid[data-variant="cards"], .blog-grid[data-variant="tiles"] { grid-template-columns: repeat(2, 1fr); }
  .post-line { grid-template-columns: 72px 1fr 140px; }
  .post-line-arrow { display: none; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-media img { aspect-ratio: 16 / 10; }
  .b2b { grid-template-columns: 1fr; }
  .b2b-media { min-height: 240px; order: -1; }
  .b2b-media::before { background: linear-gradient(0deg, var(--green-900), transparent 60%); }
  .b2b-body { padding: 36px 28px 40px; }
  .newsletter-inner { flex-direction: column; align-items: stretch; }
  .newsletter-form { width: 100%; }

  /* Catalog: filters become an off-canvas panel */
  .catalog-layout { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .catalog-layout .products-grid { grid-template-columns: repeat(3, 1fr); }
  .filters { position: fixed; top: 0; left: 0; width: min(400px, 92%); height: 100dvh; max-height: none; z-index: 90; background: var(--white); transform: translateX(-100%); transition: transform 0.3s var(--ease); box-shadow: var(--shadow-lg); overflow-x: hidden; }
  .filters.show { transform: none; }
  .filters-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .filters-head-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; margin-left: 6px; border-radius: 11px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 700; vertical-align: 2px; }
  .filters-body { flex: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior-x: none; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 4px 20px 20px; }
  .filters-foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
  .toolbar-filter-btn { display: inline-flex; }
  .search-grid.has-side { grid-template-columns: 1fr; }
  .search-side { border-right: 0; border-bottom: 1px solid var(--line-soft); border-radius: 8px 8px 0 0; }
  .search-panel { max-height: min(70vh, 600px); }
  .cat-head-row { flex-direction: column; gap: 12px; }
  .cat-head-meta { justify-content: flex-start; padding-top: 0; }

  /* Product */
  .product { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .gallery-rail { order: 1; flex-direction: row; align-items: center; contain: none; width: 100%; min-width: 0; max-width: 560px; margin-inline: auto; }
  .gallery-thumbs {
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }
  .gallery-thumb { flex-shrink: 0; width: 88px; height: 88px; }
  .gallery-nav { width: 32px; height: 88px; }
  .gallery-nav--prev .icon { transform: rotate(90deg); }
  .gallery-nav--next .icon { transform: rotate(-90deg); }
  .gallery-main { width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin-inline: auto; touch-action: pan-y pinch-zoom; }
  .buybar { display: flex; }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
  .topbar-inner { justify-content: center; }
  .topbar-left { gap: 18px; font-size: 12.5px; white-space: nowrap; }
  .topbar-social { display: none; }
  .topbar-promo { display: none; }

  .hero-slider { min-height: 440px; border-radius: 8px; }
  .hero-slide-content { padding: 28px 22px 84px; }
  .hero-slide h1, .hero-slide h2 { font-size: 32px; }
  .hero-slide p { font-size: 15px; }
  .hero-nav { left: 22px; right: 22px; bottom: 22px; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-slide::before { background: linear-gradient(0deg, rgba(16,18,16,0.75) 0%, rgba(16,18,16,0.25) 60%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.22); }

  .cat-grid { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-card, .cat-pcard, .cat-tile { flex: 0 0 62%; scroll-snap-align: start; }
  .cat-pcard { grid-template-columns: 1fr 80px; }
  .cat-pcard-media { width: 80px; height: 68px; }
  .variant-panel { display: flex; flex-wrap: wrap; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-slider-track { grid-auto-columns: 72%; gap: 10px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pc-body { padding: 4px 12px 12px; }
  .pc-media { --pc-pad: 12px; }
  .pc-title { font-size: 14px; }
  .pc-price strong { font-size: 17px; }
  .pc-wish { opacity: 1; transform: none; }

  .banner { padding: 24px; }
  .banner h3 { font-size: 26px; }
  .banner-sm { min-height: 170px; }
  .services { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 28px; }
  .stat { padding: 0 18px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat b { font-size: 32px; }
  .about-card { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
  .post-row { grid-template-columns: 100px 1fr; gap: 14px; }
  .blog-grid[data-variant="cards"] { grid-template-columns: 1fr; }
  .blog-grid[data-variant="tiles"] { gap: 10px; }
  .post-tile { aspect-ratio: 4 / 5; padding: 14px; }
  .post-tile h3 { font-size: 16px; }
  .post-line { grid-template-columns: 1fr 96px; gap: 14px; }
  .post-line-date { display: none; }
  .post-line h3 { font-size: 16px; }
  .post-line-media { aspect-ratio: 1; }
  .post-featured h3 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 44px 0 36px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bar-inner { flex-direction: column; text-align: center; }
  .tile::before { background: linear-gradient(0deg, rgba(16,18,16,0.7) 0%, rgba(16,18,16,0.2) 65%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.2); }
  .showcase-feature::before { background: linear-gradient(0deg, rgba(16,18,16,0.75) 0%, rgba(16,18,16,0.25) 65%, rgba(16,18,16,0) 100%), rgba(16,18,16,0.2); }
  .tile--light::before, .tile--light:hover::before { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 45%, rgba(245,246,244,0.15) 70%, transparent 100%); }
  .tile--light .tile-bg { left: 0; top: 40%; background-position: right bottom; }
  .tile--light { min-height: 320px; justify-content: flex-start; padding-bottom: 150px; }
  .tile--light .tile-sale-badge { top: auto; bottom: 20px; }
  .marquee-item { padding: 0 20px; }
  .marquee-item img { height: 26px; max-width: 120px; }
  .brands-label { display: none; }
  .deals-head-right .slider-arrows { display: none; }
  .countdown { margin-bottom: 0; }

  /* Catalog */
  .cat-head { padding: 14px 0 18px; }
  .cat-head h1 { font-size: 26px; }
  .breadcrumb { margin-bottom: 10px; }
  .meta-pill { height: 28px; padding: 0 10px; font-size: 12.5px; }
  .subcats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; margin-top: 14px; }
  .subcats::-webkit-scrollbar { display: none; }
  .subcat { flex-shrink: 0; height: 34px; font-size: 13.5px; }
  .catalog-layout .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .toolbar { flex-wrap: wrap; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; }
  .toolbar-left { flex: 1 1 100%; justify-content: space-between; }
  .toolbar-right { flex: 1 1 100%; }
  .toolbar-select { flex: 1; padding-right: 30px; }
  .toolbar-select.is-custom { padding-right: 0; }
  .toolbar-select span,
  .toolbar-select .vt-select-btn span { display: none; }
  .toolbar-select select,
  .toolbar-select .vt-select-btn { width: 100%; }
  .toolbar-select--per { flex: 0 0 auto; }
  .toolbar-select .vt-select-list { min-width: 100%; }
  .toolbar-count { font-size: 13px; }
  .active-filters { margin-top: 0; }
  .product-row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .pr-media .badge { font-size: 11px; padding: 2px 6px; }
  .pr-media .badge:not(:first-child) { display: none; }
  .pr-specs { grid-template-columns: 1fr; display: none; }
  .pr-title { font-size: 15px; }
  .pr-buy { grid-column: 1 / -1; flex-direction: row; align-items: center; border-left: 0; padding-left: 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
  .pr-buy .pc-price { align-items: flex-start; text-align: left; }
  .pr-buy .pc-price strong { font-size: 19px; }
  .pagination { flex-wrap: wrap; justify-content: center; }
  .pg-nums { order: -1; flex: 1 1 100%; justify-content: center; margin-bottom: 8px; }
  .pg-arrow span { display: none; }
  .pg-arrow, .pg-arrow:last-child { padding: 0 12px; }
  .cat-seo { padding: 22px 18px; margin-top: 36px; }
  .cat-seo-grid { grid-template-columns: 1fr; gap: 18px; }

  /* Product */
  .breadcrumb--page { padding-top: 12px; }
  .breadcrumb--page span[aria-current], .breadcrumb--page .crumb-sep:last-of-type { display: none; }
  .gallery-main { padding: 0; }
  .gallery-main img { padding: 20px; }
  .summary h1 { font-size: 22px; }
  .price-box { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .price-main strong { font-size: 30px; }
  .price-side { text-align: left; }
  .key-specs { grid-template-columns: 1fr; gap: 0; }
  .buy { gap: 10px; }
  .buy .btn--lg { flex: 1; padding: 0 16px; }
  .buy-total { flex-basis: 100%; }
  .trust { grid-template-columns: 1fr; gap: 12px; }
  .details-tab { padding: 12px 14px; font-size: 14px; }
  .spec-table th { width: 40%; }
  .docs { grid-template-columns: 1fr; }
  body.page-product { padding-bottom: 72px; }
}

@media (max-width: 480px) {
  .hero-actions .btn { flex: 1; }
  .usp { grid-template-columns: 1fr; }
  .usp-item { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .usp-item:last-child { border-bottom: 0; }
  .b2b-list { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}

/* =========================================================
   Cart · Checkout · Order received (WooCommerce-compatible markup)
   ========================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wc-page { padding-bottom: 56px; }
.wc-page .is-free { color: var(--green-700); font-weight: 600; }
.woocommerce-Price-amount { white-space: nowrap; }

/* Steps */
.checkout-steps { display: flex; align-items: center; gap: 8px; padding: 22px 0 8px; margin: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); counter-reset: none; }
.checkout-steps li { display: flex; align-items: center; gap: 10px; }
.checkout-steps li a { display: flex; align-items: center; gap: 10px; }
.checkout-steps li + li::before { content: ""; width: 40px; height: 2px; background: var(--line); margin-right: 6px; border-radius: 2px; }
.checkout-steps span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 13px; background: var(--white); }
.checkout-steps span .icon { width: 16px; height: 16px; }
.checkout-steps .is-current { color: var(--ink); }
.checkout-steps .is-current span { border-color: var(--green); background: var(--green); color: var(--white); }
.checkout-steps .is-done { color: var(--green-700); }
.checkout-steps .is-done span { border-color: var(--green); color: var(--green-700); }
.checkout-steps .is-done + li::before { background: var(--green); }

/* Notices (WC classes) */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-notices-wrapper { scroll-margin-top: calc(var(--header-h) + 16px); }
.woocommerce-notices-wrapper:not(:empty) { margin-top: 18px; }
.woocommerce-message, .woocommerce-error, .woocommerce-info { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; padding: 14px 16px; border-radius: 8px; border: 1px solid; font-size: 14.5px; font-weight: 500; }
.container > .woocommerce-message:first-child,
.container > .woocommerce-error:first-child,
.container > .woocommerce-info:first-child { margin-top: 18px; }
.woocommerce-message { background: var(--green-soft); border-color: #cfe5a5; color: var(--green-900); }
.woocommerce-message .icon, .woocommerce-info .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-700); }
.woocommerce-info { background: var(--paper); border-color: var(--line); color: var(--ink-2); }
.woocommerce-info a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
.woocommerce-error { background: var(--red-soft); border-color: #f3c5c6; color: #8f1d1f; flex-direction: column; gap: 6px; list-style: none; }
.woocommerce-error .icon { width: 20px; height: 20px; color: var(--red); }
.woocommerce-error li { display: flex; gap: 8px; }
.woocommerce-error li::before { content: "•"; color: var(--red); }
.woocommerce-error a { color: inherit; text-decoration: underline; }

/* ---------- Cart page ---------- */
.cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 0 22px; flex-wrap: wrap; }
.cart-head h1 { font-size: clamp(28px, 3vw, 36px); }
.cart-head h1 span { font-size: 16px; font-weight: 500; color: var(--muted); font-family: var(--font-body); margin-left: 10px; }
.cart-continue { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--green-700); }
.cart-continue .icon { width: 18px; height: 18px; }
.cart-continue:hover { text-decoration: underline; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }

.shop_table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.shop_table th { text-align: left; font-weight: 600; font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding: 0 12px 12px; border-bottom: 1px solid var(--line); }
.shop_table td { padding: 18px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.shop_table .product-remove { width: 44px; padding-right: 0; text-align: right; }
.shop_table.cart { table-layout: fixed; }
.shop_table .product-thumbnail { width: 104px; }
.shop_table.cart th.product-price { width: 120px; }
.shop_table.cart th.product-quantity { width: 150px; }
.shop_table.cart th.product-subtotal { width: 110px; }
.shop_table .product-thumbnail a { display: block; width: 88px; height: 88px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); }
.shop_table .product-thumbnail img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.shop_table .product-name > a { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ink); }
.shop_table .product-name > a:hover { color: var(--green-700); }
.cart-meta { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 4px; }
.cart-meta b { color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.shop_table .variation { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.shop_table .variation dt { font-weight: 500; }
.shop_table .variation dd { margin: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.shop_table .variation dd i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.shop_table .variation dd.is-order i { background: var(--amber); }
.shop_table .variation dt + dd { margin-right: 6px; }
.shop_table .product-price, .shop_table .product-subtotal { white-space: nowrap; }
.shop_table .product-price del { display: block; color: var(--muted-2); font-size: 13px; }
.shop_table .product-price ins { text-decoration: none; font-weight: 600; }
.shop_table .product-price ins.is-sale { color: var(--red); }
.shop_table .product-price small { display: block; font-size: 12px; color: var(--muted); }
.shop_table .product-subtotal { font-weight: 700; font-size: 16px; text-align: right; }
.shop_table th.product-subtotal { text-align: right; }
.shop_table .product-quantity .quantity { height: 40px; }
.shop_table .product-quantity .quantity button { width: 36px; }
.shop_table .product-quantity .quantity input { width: 48px; -moz-appearance: textfield; }
.shop_table .product-quantity .quantity input::-webkit-inner-spin-button, .shop_table .product-quantity .quantity input::-webkit-outer-spin-button { -webkit-appearance: none; }
.shop_table a.remove { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--muted); transition: background 0.15s, color 0.15s; }
.shop_table a.remove .icon { width: 18px; height: 18px; }
.shop_table a.remove:hover { background: var(--red-soft); color: var(--red); }
.cart-remove-mobile { display: none; }
.shop_table td.actions { padding: 18px 0 0; border: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shop_table td.actions .coupon { display: flex; gap: 8px; }
.shop_table td.actions .coupon .input-text { width: 240px; }
.shop_table td.actions button[name="update_cart"] { display: none; /* live-updated; WC needs it only without JS */ }

/* Inputs (WC .input-text) */
.wc-page .input-text, .wc-page select.select, .wc-page select.country_select, .wc-page textarea.input-text {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #cfd3d8; border-radius: 8px; background: var(--white); font-size: 15px; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; -webkit-appearance: none; appearance: none;
}
.wc-page select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 -960 960 960' fill='%236d7178'><path d='M480-357.85 253.85-584 296-626.15l184 184 184-184L706.15-584 480-357.85Z'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.wc-page .input-text:focus, .wc-page select:focus, .wc-page textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.18); }
.wc-page .input-text::placeholder { color: var(--muted-2); }
.wc-page textarea.input-text { min-height: 90px; resize: vertical; line-height: 1.45; }

/* Cart totals */
.cart_totals { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: var(--white); }
.cart_totals h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.cart_totals .shop_table th, .cart_totals .shop_table td { padding: 10px 0; border-bottom: 1px solid var(--line-soft); text-transform: none; letter-spacing: 0; font-size: 14.5px; }
.cart_totals .shop_table th { font-weight: 500; color: var(--ink-2); width: 46%; vertical-align: top; }
.cart_totals .shop_table td { text-align: right; font-weight: 600; }
.cart_totals .cart-discount td { color: var(--green-700); }
.cart_totals .cart-discount .coupon-code { display: inline-block; padding: 1px 6px; border-radius: 4px; background: var(--green-soft); color: var(--green-900); font-weight: 700; font-size: 12.5px; }
.woocommerce-remove-coupon { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.woocommerce-remove-coupon:hover { color: var(--red); }
.cart_totals .tax-rate th,
.cart_totals .tax-rate td,
.woocommerce-checkout-review-order-table .tax-rate th,
.woocommerce-checkout-review-order-table .tax-rate td { color: var(--muted); font-weight: 500; }
.cart_totals .tax-rate td,
.woocommerce-checkout-review-order-table .tax-rate td { font-weight: 600; color: var(--ink-2); }
.cart_totals .order-total th, .cart_totals .order-total td { border-bottom: 0; padding-top: 14px; font-size: 16px; }
.cart_totals .order-total td strong { font-size: 24px; font-family: var(--font-display); font-weight: 700; display: block; line-height: 1.1; }
.includes_tax { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.cart_totals .shipping td { text-align: left; }
.ship-heading { display: block; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.woocommerce-shipping-methods { display: grid; gap: 6px; text-align: left; font-weight: 500; }
.woocommerce-shipping-methods li { position: relative; }
.woocommerce-shipping-methods input { position: absolute; opacity: 0; width: 0; height: 0; }
.cart_totals .woocommerce-shipping-methods label { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 13.5px; transition: border-color 0.15s, background 0.15s; }
.cart_totals .woocommerce-shipping-methods label::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #c9ccd1; flex-shrink: 0; margin-top: 1px; transition: 0.15s; }
.cart_totals .woocommerce-shipping-methods .ship-name { flex: 1; text-align: left; }
.cart_totals .woocommerce-shipping-methods input:checked + label { border-color: var(--green); background: var(--green-soft); }
.cart_totals .woocommerce-shipping-methods input:checked + label::before { border: 5px solid var(--green); }
.cart_totals .woocommerce-shipping-methods input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.woocommerce-shipping-destination { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.wc-proceed-to-checkout { margin-top: 18px; display: grid; gap: 10px; text-align: center; }
.wc-proceed-to-checkout .btn { width: 100%; }
.cart-trust { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.cart-trust li { display: flex; align-items: center; gap: 10px; }
.cart-trust .icon { width: 18px; height: 18px; color: var(--green-700); flex-shrink: 0; }
.cart-pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cart-pay-logos span { display: inline-flex; align-items: center; height: 30px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }

/* Empty cart */
.cart-empty-wrap { max-width: 720px; margin: 24px auto 40px; text-align: center; }
.cart-empty { flex-direction: column; align-items: center; background: var(--paper); border-color: var(--paper); padding: 40px 24px 32px; }
.cart-empty .icon { width: 52px; height: 52px; color: var(--green); }
.cart-empty h1 { font-size: 30px; margin-top: 8px; color: var(--ink); }
.cart-empty p { margin: 6px 0 0; max-width: 460px; color: var(--muted); font-weight: 400; }
.return-to-shop { display: flex; justify-content: center; gap: 10px; margin: 20px 0 32px; flex-wrap: wrap; }
.cart-empty-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cart-empty-cats a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 600; text-align: left; transition: border-color 0.15s; }
.cart-empty-cats a:hover { border-color: var(--green); }
.cart-empty-cats .icon { width: 22px; height: 22px; color: var(--green-700); }

/* ---------- Checkout ---------- */
.checkout-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 14px 0 30px; }
.checkout-head h1 { font-size: clamp(28px, 3vw, 36px); }
.page-checkout .checkout-page { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; }
.page-order-received .checkout-page { display: block; }
.checkout-page > .woocommerce-notices-wrapper,
.checkout-page > form.checkout,
.checkout-page > .checkout-empty,
.checkout-page > form.woocommerce-form-login,
.checkout-page > .woocommerce-form-login,
.checkout-page > .woocommerce-info { grid-column: 1 / -1; }
.checkout-page > .checkout-head { grid-column: 1; margin-bottom: 12px; }
.checkout-page > .woocommerce-form-login-toggle { grid-column: 2; align-self: center; margin: 14px 0 12px; }
.woocommerce-form-login-toggle .woocommerce-info { margin: 0; padding: 10px 14px; font-size: 13.5px; }
.checkout-page > form.woocommerce-form-login,
.checkout-page > .woocommerce-form-login { max-width: 480px; margin: 0 0 24px; }
.form-row .description { font-size: 12.5px; color: var(--muted); }
.co-block .vt-customer-type { margin: 0; }
.co-block .vt-customer-type > label,
#customer_type .form-row > label { display: none; }
#customer_type .woocommerce-input-wrapper.seg { display: grid; }
#payment { margin-top: 8px; }
.checkout-empty { flex-direction: column; align-items: center; text-align: center; padding: 40px 20px; background: var(--paper); border-color: var(--paper); }
.checkout-empty .icon { width: 44px; height: 44px; color: var(--green); }
.checkout-empty p { margin: 0 0 8px; }
.checkout-empty[hidden] { display: none; }
.checkout-page form[hidden], .checkout-head[hidden] { display: none; }

#customer_details.col2-set { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; align-items: start; }
.co-block-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 40px 0 18px; padding: 0; }
.co-block-title > span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--font-body); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.co-block-title--sm { font-size: 18px; margin: 26px 0 12px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.co-block { border: 0; padding: 0; margin: 0; }
.co-block .co-block-title { margin-top: 0; }

/* Segmented customer type */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg-item { position: relative; cursor: pointer; }
.seg-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg-body { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.seg-body .icon { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--muted); }
.seg-body b { font-size: 15.5px; }
.seg-body small { font-size: 13px; color: var(--muted); }
.seg-item input:checked + .seg-body { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.14); }
.seg-item input:checked + .seg-body .icon { color: var(--green-700); }
.seg-item input:focus-visible + .seg-body { outline: 2px solid var(--green); outline-offset: 2px; }

/* Form rows (WC .form-row grid) */
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.woocommerce-billing-fields__field-wrapper > .form-row { display: flex; }
.form-row { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.form-row.hidden { display: none !important; }
.form-row-wide, .form-row.notes { grid-column: 1 / -1; }
.woocommerce-billing-fields > .co-company { margin-bottom: 16px; }
.co-company { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 16px; border: 1px dashed #bfe08a; border-radius: 8px; background: #f7fbef; }
.co-company[hidden] { display: none !important; }
.co-company .form-row-wide { grid-column: 1 / -1; }
.form-row label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form-row .required { color: var(--red); text-decoration: none; border: 0; }
.form-row .optional { font-weight: 400; color: var(--muted-2); }
.woocommerce-input-wrapper { display: block; }
.co-help { font-size: 12.5px; color: var(--muted); }
.co-hint { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--green-900); }
.co-hint .icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--green-700); }
.form-row.woocommerce-invalid .input-text, .form-row.woocommerce-invalid select { border-color: var(--red); box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.12); }
.form-row.woocommerce-invalid label { color: var(--red); }
.woocommerce-account-fields { margin-top: 18px; }
.woocommerce-account-fields .fcheck, #ship-to-different-address .fcheck, .woocommerce-terms-and-conditions-wrapper .fcheck { padding: 0; font-size: 14px; align-items: flex-start; }
.woocommerce-account-fields .fcheck:hover, #ship-to-different-address .fcheck:hover, .woocommerce-terms-and-conditions-wrapper .fcheck:hover { background: none; }
.woocommerce-account-fields .fcheck-box, #ship-to-different-address .fcheck-box, .woocommerce-terms-and-conditions-wrapper .fcheck-box { margin-top: 1px; }
.fcheck-label { white-space: normal; }
#ship-to-different-address { font-size: 14px; font-weight: 500; margin: 22px 0 0; }
.shipping_address { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.shipping_address[hidden], [data-ship-different][hidden], [data-pickup-info][hidden], [data-terminal-field][hidden] { display: none; }
[data-terminal-field] { margin-top: 14px; }

/* Shipping method cards */
.co-ship { display: grid; gap: 10px; }
.co-ship li { position: relative; }
.co-ship input { position: absolute; opacity: 0; width: 0; height: 0; }
.co-ship label { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--white); transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.co-ship label::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c9ccd1; flex-shrink: 0; transition: 0.15s; background: var(--white); }
.co-ship label > .icon { width: 26px; height: 26px; color: var(--muted); flex-shrink: 0; }
.co-ship-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.co-ship-body b { font-size: 15px; }
.co-ship-body small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.co-ship-price { text-align: right; font-weight: 700; font-size: 15px; display: grid; gap: 2px; white-space: nowrap; }
.co-ship-price small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.co-ship input:checked + label { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.14); }
.co-ship input:checked + label::before { border: 6px solid var(--green); }
.co-ship input:checked + label > .icon { color: var(--green-700); }
.co-ship input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.co-pickup { display: flex; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 8px; background: var(--paper); font-size: 13.5px; }
.co-pickup .icon { width: 24px; height: 24px; color: var(--green-700); flex-shrink: 0; }
.co-pickup div { display: grid; gap: 2px; color: var(--muted); }
.co-pickup b { color: var(--ink); font-size: 14.5px; }

/* Order review sidebar */
.co-side { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: var(--white); }
#order_review_heading { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table, .woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tfoot { display: block; }
.woocommerce-checkout-review-order-table tfoot tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: 11px 0; border: 0; text-transform: none; letter-spacing: 0; font-size: 14px; }
.woocommerce-checkout-review-order-table tr { border-bottom: 1px solid var(--line-soft); }
.woocommerce-checkout-review-order-table tbody td.product-name { display: flex; align-items: center; gap: 14px; padding-right: 12px; }
.woocommerce-checkout-review-order-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.woocommerce-checkout-review-order-table tbody td.product-total { text-align: right; font-weight: 700; }
.co-thumb { position: relative; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 8px; flex-shrink: 0; background: var(--white); }
.co-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.co-thumb i { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; }
.co-line { display: grid; gap: 1px; min-width: 0; }
.co-line small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.co-line a { font-weight: 600; line-height: 1.3; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-line .product-quantity { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.woocommerce-checkout-review-order-table tfoot th { font-weight: 500; color: var(--ink-2); text-align: left; }
.woocommerce-checkout-review-order-table tfoot th small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.woocommerce-checkout-review-order-table tfoot td { text-align: right; font-weight: 600; }
.woocommerce-checkout-review-order-table tfoot tr:first-child th, .woocommerce-checkout-review-order-table tfoot tr:first-child td { padding-top: 14px; }
.woocommerce-checkout-review-order-table .cart-discount td { color: var(--green-700); }
.woocommerce-checkout-review-order-table .order-total { border-bottom: 0; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { padding-top: 14px; font-size: 16px; font-weight: 600; }
.woocommerce-checkout-review-order-table .order-total td strong { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1.1; }
.woocommerce-checkout-review-order-table tfoot td, .woocommerce-checkout-review-order-table tfoot td .includes_tax { white-space: nowrap; }
.woocommerce-checkout-review-order-table tfoot th { padding-right: 16px; }
.co-coupon { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.co-coupon .checkout_coupon { flex-basis: 100%; order: 3; }
.showcoupon { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; font-size: 13.5px; font-weight: 600; color: var(--green-700); }
.showcoupon .icon { width: 18px; height: 18px; }
.checkout_coupon { display: flex; gap: 8px; margin-top: 4px; }
.checkout_coupon[hidden] { display: none; }
.checkout_coupon .input-text { flex: 1; min-height: 40px; }
.co-edit-cart { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.co-edit-cart .icon { width: 16px; height: 16px; }
.co-edit-cart:hover { color: var(--ink); }

/* Payment methods */
.wc_payment_methods { display: grid; gap: 8px; }
.wc_payment_method { position: relative; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; }
.wc_payment_method.is-selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.14); }
.wc_payment_method input.input-radio { position: absolute; opacity: 0; width: 0; height: 0; }
.wc_payment_method > label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 13px 14px; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.wc_payment_method > label::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c9ccd1; flex-shrink: 0; transition: 0.15s; }
.wc_payment_method input:checked + label::before { border: 6px solid var(--green); }
.wc_payment_method input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 8px; }
.wc_payment_method > label > .icon { width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.wc_payment_method.is-selected > label > .icon { color: var(--green-700); }
.co-pay-title { flex: 1; white-space: nowrap; }
.co-pay-badge { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: var(--green-soft); color: var(--green-900); text-transform: uppercase; letter-spacing: 0.04em; }
.co-pay-logos { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.co-pay-logos:last-child { margin-left: 66px; margin-right: auto; margin-top: -4px; }
.co-pay-logos .pay-logo { height: 13px; }
.co-pay-logos .pay-logo--mastercard { height: 17px; }
.co-pay-logos .pay-logo--applepay { height: 14px; }
.payment_box { padding: 0 14px 16px 46px; font-size: 13.5px; color: var(--ink-2); }
.payment_box[hidden] { display: none; }
.payment_box p { margin: 0; line-height: 1.5; }
.co-banks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.co-bank { position: relative; cursor: pointer; }
.co-bank input { position: absolute; opacity: 0; width: 0; height: 0; }
.co-bank-logo { display: grid; place-items: center; height: 46px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; }
.co-bank-logo .pay-logo { width: 100%; height: 22px; object-fit: contain; }
.co-bank.is-selected .co-bank-logo, .co-bank input:checked + .co-bank-logo { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.co-bank input:focus-visible + .co-bank-logo { outline: 2px solid var(--green); outline-offset: 2px; }

.place-order { margin-top: 18px; gap: 12px; }
.woocommerce-terms-and-conditions-wrapper .form-row { gap: 0; }
.woocommerce-terms-and-conditions-wrapper .fcheck-label a { color: var(--green-700); text-decoration: underline; }
.woocommerce-terms-and-conditions-wrapper .woocommerce-invalid .fcheck-box { border-color: var(--red); box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.12); }
#place_order { width: 100%; justify-content: space-between; padding: 0 22px; }
#place_order b { font-family: var(--font-display); font-size: 18px; }
#place_order:disabled { opacity: 0.7; cursor: progress; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 0; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.co-secure .icon { width: 18px; height: 18px; color: var(--green-700); }

/* ---------- Order received ---------- */
.thankyou-head { text-align: center; max-width: 640px; margin: 10px auto 26px; }
.thankyou-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 10px 24px rgba(131, 184, 26, 0.35); }
.thankyou-mark .icon { width: 34px; height: 34px; }
.woocommerce-thankyou-order-received { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin: 0 0 8px; }
.thankyou-next { margin: 0; color: var(--ink-2); font-size: 15px; }
.woocommerce-order-overview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 0 0 28px; }
.woocommerce-order-overview li { background: var(--paper); padding: 14px 16px; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 700; }
.thankyou-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; }
.woocommerce-order-details__title, .woocommerce-column__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.woocommerce-table--order-details thead { display: none; }
.woocommerce-table--order-details, .woocommerce-table--order-details tbody, .woocommerce-table--order-details tfoot { display: block; }
.woocommerce-table--order-details tfoot tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.woocommerce-table--order-details td, .woocommerce-table--order-details th { padding: 12px 0; border: 0; text-transform: none; letter-spacing: 0; font-size: 14.5px; }
.woocommerce-table--order-details tr { border-bottom: 1px solid var(--line-soft); }
.woocommerce-table--order-details tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.woocommerce-table--order-details tbody td.product-name { display: flex; align-items: center; gap: 12px; }
.woocommerce-table--order-details tbody td.product-total { text-align: right; font-weight: 700; }
.woocommerce-table--order-details tfoot th { font-weight: 500; color: var(--ink-2); text-align: left; }
.woocommerce-table--order-details tfoot th small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.woocommerce-table--order-details tfoot td { text-align: right; font-weight: 600; }
.woocommerce-table--order-details .order-total { border-bottom: 0; }
.woocommerce-table--order-details .order-total th, .woocommerce-table--order-details .order-total td { font-size: 16px; }
.woocommerce-table--order-details .order-total td strong { font-family: var(--font-display); font-size: 24px; }
.woocommerce-customer-details .addresses { display: grid; gap: 14px; }
.woocommerce-customer-details .woocommerce-column { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.woocommerce-customer-details address { font-style: normal; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.woocommerce-customer-details address b { color: var(--ink); }
.woocommerce-customer-details address p { margin: 6px 0 0; display: flex; align-items: center; gap: 6px; }
.woocommerce-customer-details address p .icon { width: 16px; height: 16px; color: var(--muted); }
.thankyou-actions { display: grid; gap: 10px; margin-top: 16px; }
.thankyou-actions .btn { width: 100%; }
.thankyou-help { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.thankyou-help .icon { width: 16px; height: 16px; }
.thankyou-help a { font-weight: 600; color: var(--ink); }
.thankyou-mark.is-hold { background: var(--ink); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.thankyou-sample { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; background: var(--paper); border: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); }
.thankyou-sample .icon { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.thankyou-sample .btn { margin-left: auto; }
/* Order status timeline */
.order-timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0 0 30px; padding: 0; counter-reset: none; }
.order-timeline li { position: relative; padding: 0 12px 0 0; text-align: left; }
.order-timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: var(--line); }
.order-timeline li:first-child::before { left: 16px; }
.order-timeline li:last-child::before { right: 12px; }
.order-timeline li.is-done::before { background: var(--green); }
.order-timeline .ot-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.order-timeline .ot-dot .icon { width: 18px; height: 18px; }
.order-timeline li.is-done .ot-dot { background: var(--green); border-color: var(--green); color: var(--white); }
.order-timeline li.is-current .ot-dot { border-color: var(--ink); color: var(--ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06); }
.order-timeline b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.order-timeline li:not(.is-done):not(.is-current) b { color: var(--muted); font-weight: 600; }
.order-timeline small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); line-height: 1.4; }
/* BACS bank details (WC gateway thank-you output) */
.woocommerce-bacs-bank-details { margin: 0 0 30px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.woocommerce-bacs-bank-details .bacs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.woocommerce-bacs-bank-details .bacs-head .btn { flex-shrink: 0; }
.woocommerce-bacs-bank-details .bacs-head .btn .icon { width: 16px; height: 16px; }
.wc-bacs-bank-details-heading { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.woocommerce-bacs-bank-details .bacs-head p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.55; max-width: 70ch; }
.wc-bacs-bank-details-account-name { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.wc-bacs-bank-details { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.wc-bacs-bank-details li { background: var(--paper); padding: 12px 14px; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.wc-bacs-bank-details li strong { display: block; margin-top: 4px; font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 700; word-break: break-all; }
.wc-bacs-bank-details li.reference strong, .wc-bacs-bank-details li.amount strong { color: var(--green-700); }
/* Guest → account prompt */
.thankyou-register { margin-top: 14px; background: var(--paper); }
.thankyou-register p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0 0 12px; }
.thankyou-register .btn .icon { width: 16px; height: 16px; }
.woocommerce-table--order-details .order-note td { text-align: left; font-weight: 400; color: var(--ink-2); max-width: 46ch; }
.woocommerce-table--order-details .order-note { border-top: 1px solid var(--line-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  #customer_details.col2-set { grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; }
  .thankyou-grid { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 1024px) {
  .cart-layout, #customer_details.col2-set, .thankyou-grid { grid-template-columns: 1fr; }
  .cart_totals, .co-side { position: static; }
  .woocommerce-order-overview { grid-template-columns: repeat(2, 1fr); }
  .wc-bacs-bank-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-timeline { grid-template-columns: 1fr; gap: 14px; }
  .order-timeline li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 14px; align-items: center; padding: 0; }
  .order-timeline li::before { left: 15px; right: auto; top: 32px; width: 2px; height: calc(100% + 14px); }
  .order-timeline li:last-child::before { display: none; }
  .order-timeline .ot-dot { margin: 0; grid-row: 1 / 3; }
  .order-timeline b { grid-column: 2; }
  .order-timeline small { grid-column: 2; margin-top: 0; }
  .woocommerce-bacs-bank-details .bacs-head { flex-direction: column; }
  .woocommerce-order-overview li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .checkout-steps { gap: 0; }
  .checkout-steps li:not(.is-current), .checkout-steps li:not(.is-current) a { font-size: 0; gap: 0; }
  .checkout-steps li + li::before { width: 22px; margin: 0 6px; }
  .checkout-steps span { font-size: 13px; }
  /* Cart table → stacked cards (WooCommerce shop_table_responsive pattern) */
  .shop_table.cart thead { display: none; }
  .shop_table.cart tr.cart_item { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "thumb name" "thumb price" "thumb qty"; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .shop_table.cart tr.cart_item td { padding: 0; border: 0; }
  .shop_table.cart td.product-remove { display: none; }
  .shop_table.cart td.product-thumbnail { grid-area: thumb; }
  .shop_table.cart td.product-thumbnail a { width: 84px; height: 84px; }
  .shop_table.cart td.product-name { grid-area: name; }
  .shop_table.cart td.product-price { grid-area: price; display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
  .shop_table.cart td.product-price del { display: inline; }
  .shop_table.cart td.product-quantity { grid-area: qty; display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
  .shop_table.cart td.product-subtotal { display: none; }
  .shop_table.cart td.product-quantity::after { content: attr(data-subtotal); font-weight: 700; font-size: 16px; }
  .cart-remove-mobile { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--muted); }
  .cart-remove-mobile .icon { width: 14px; height: 14px; }
  .shop_table td.actions .coupon { width: 100%; }
  .shop_table td.actions .coupon .input-text { flex: 1; width: auto; min-width: 0; }
  .cart_totals { padding: 18px; }
  .cart-empty-cats { grid-template-columns: 1fr 1fr; }
  .page-checkout .checkout-page { grid-template-columns: 1fr; }
  .checkout-page > .woocommerce-form-login-toggle { grid-column: 1; margin-top: 0; }
  .seg { grid-template-columns: 1fr; }
  .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .co-company { grid-template-columns: 1fr; }
  .co-side { padding: 18px; }
  .co-banks { grid-template-columns: repeat(2, 1fr); }
  .co-ship label { flex-wrap: wrap; }
  .co-ship-price { text-align: left; grid-column: 2 / -1; padding-left: 34px; }
  .co-pay-logos { display: none; }
  .payment_box { padding-left: 14px; }
  .co-pay-title { white-space: normal; }
  .woocommerce-order-overview, .wc-bacs-bank-details { grid-template-columns: 1fr; }
  .thankyou-sample { flex-wrap: wrap; }
  .thankyou-sample .btn { margin-left: 0; }
  .woocommerce-order-overview li:last-child { grid-column: auto; }
}
@media print {
  .ite-header, .ite-footer, .checkout-steps, .thankyou-actions, .to-top, .drawer, .overlay { display: none !important; }
  .thankyou-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   My Account (WooCommerce myaccount/* markup)
   ========================================================= */
.account-page { padding-top: 10px; }
.acc-auth-head { margin: 8px 0 26px; max-width: 640px; }
.acc-auth-head h1 { font-size: clamp(28px, 3vw, 36px); }
.acc-auth-head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
#customer_login.col2-set { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 32px; align-items: start; }
#customer_login > div { border: 1px solid var(--line); border-radius: 8px; padding: 28px; background: var(--white); }
#customer_login .col-1 { background: var(--paper); border-color: var(--paper); }
#customer_login h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 18px; }
#customer_login .form-row + .form-row { margin-top: 14px; }
.login-row { flex-direction: row !important; align-items: center; justify-content: space-between; gap: 12px; }
.login-row .fcheck { padding: 0; font-size: 14px; }
.login-row .fcheck:hover { background: none; }
.lost_password { font-size: 13.5px; font-weight: 600; color: var(--green-700); }
.lost_password:hover { text-decoration: underline; }
.woocommerce-form-login__submit, .woocommerce-form-register__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  float: none;
  margin-top: 18px;
}
.acc-demo { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.acc-demo .icon { width: 16px; height: 16px; }
.acc-demo .link { border: 0; background: none; padding: 0; font-size: inherit; font-weight: 600; color: var(--green-700); text-decoration: underline dotted; }
.seg--sm { margin-bottom: 18px; }
.seg--sm .seg-body { padding: 12px 14px; }
.seg--sm .seg-body .icon { width: 24px; height: 24px; }
.seg--sm .seg-body b { font-size: 14.5px; }
.seg--sm .seg-body small { font-size: 12.5px; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.acc-company { grid-column: 1 / -1; }
.acc-company[hidden] { display: none; }
.woocommerce-privacy-policy-text { margin-top: 16px; font-size: 13px; color: var(--muted); }
.woocommerce-privacy-policy-text p { margin: 0; }
.woocommerce-privacy-policy-text a { color: var(--green-700); text-decoration: underline; }
.woocommerce-form-register .woocommerce-form-row { margin-top: 12px; }
.woocommerce-form-register .fcheck { padding: 0; font-size: 14px; }
.woocommerce-form-register .fcheck:hover { background: none; }
.acc-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.acc-perks li { display: flex; gap: 12px; align-items: flex-start; }
.acc-perks .icon { width: 26px; height: 26px; color: var(--green-700); flex-shrink: 0; }
.acc-perks b { display: block; font-size: 14.5px; }
.acc-perks span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.acc-perks--inline { margin-top: 28px; grid-template-columns: repeat(3, 1fr); }
.acc-narrow { max-width: 520px; }
.acc-narrow > p { color: var(--muted); margin: 0 0 16px; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0 !important; }
.acc-actions.form-row { flex-direction: row; }

/* Layout: navigation + content */
.acc-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 6px; }
.woocommerce-MyAccount-navigation { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); }
.acc-user { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.acc-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: 0.02em; flex-shrink: 0; }
.acc-user b { display: block; font-size: 15px; line-height: 1.2; }
.acc-user small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; }
.woocommerce-MyAccount-navigation ul { padding: 8px; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation-link a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background 0.15s, color 0.15s; }
.woocommerce-MyAccount-navigation-link a .icon { width: 20px; height: 20px; color: var(--muted); }
.woocommerce-MyAccount-navigation-link a span { flex: 1; }
.woocommerce-MyAccount-navigation-link a:hover { background: var(--paper); color: var(--ink); }
.woocommerce-MyAccount-navigation-link.is-active a { background: var(--green-soft); color: var(--green-900); font-weight: 600; }
.woocommerce-MyAccount-navigation-link.is-active a .icon { color: var(--green-700); }
.acc-count { font-style: normal; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--paper-2); color: var(--ink-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.woocommerce-MyAccount-content h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.acc-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; }
.acc-section-head + .acc-muted { margin-top: -8px; }
.acc-section-head h3 { margin: 0; }
.acc-muted { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.acc-muted mark { background: none; color: var(--ink); font-weight: 600; }
.acc-back { display: inline-flex; align-items: center; gap: 2px; margin-bottom: 14px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.acc-back .icon { width: 18px; height: 18px; }
.acc-back:hover { color: var(--ink); }
.acc-hello { font-size: 18px; margin: 0 0 20px; }
.acc-hello span { font-size: 14px; color: var(--muted); }
.acc-hello a { color: var(--green-700); text-decoration: underline; }

/* Dashboard tiles */
.acc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.acc-tile { position: relative; display: grid; gap: 2px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; }
.acc-tile:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.acc-tile .icon { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; color: var(--muted-2); }
.acc-tile b { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.1; }
.acc-tile span { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.acc-tile small { font-size: 12px; color: var(--green-700); font-weight: 600; }
.acc-tile--b2b { background: var(--green-soft); border-color: #cfe5a5; }
.acc-tile--b2b .icon { color: var(--green-700); }
.acc-help { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: 8px; background: var(--paper); font-size: 14px; }
.acc-help .icon { width: 26px; height: 26px; color: var(--green-700); flex-shrink: 0; }
.acc-help b { display: block; margin-bottom: 2px; }
.acc-help span { color: var(--muted); line-height: 1.5; }
.acc-help a { color: var(--ink); font-weight: 600; }

/* Orders table */
.woocommerce-orders-table th { padding: 0 12px 12px; }
.woocommerce-orders-table th:first-child, .woocommerce-orders-table td:first-child { padding-left: 0; }
.woocommerce-orders-table th:last-child, .woocommerce-orders-table td:last-child { padding-right: 0; text-align: right; }
.woocommerce-orders-table td { padding: 16px 12px; vertical-align: middle; }
.woocommerce-orders-table__cell-order-number > a { font-weight: 700; font-size: 15px; color: var(--ink); }
.woocommerce-orders-table__cell-order-number > a:hover { color: var(--green-700); }
.acc-order-thumbs { display: flex; gap: 4px; margin-top: 6px; }
.acc-order-thumbs img { width: 34px; height: 34px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding: 2px; }
.acc-order-thumbs i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: var(--paper); font-size: 11.5px; font-weight: 700; font-style: normal; color: var(--muted); }
.woocommerce-orders-table__cell-order-total { font-weight: 700; white-space: nowrap; }
.woocommerce-orders-table__cell-order-total small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.woocommerce-orders-table__cell-order-actions { white-space: nowrap; }
.woocommerce-orders-table__cell-order-actions .btn { vertical-align: middle; }
.woocommerce-orders-table__cell-order-actions .btn + .btn { margin-left: 6px; }
.woocommerce-info a.btn, .woocommerce-message a.btn { text-decoration: none; }
.woocommerce-info a.btn--primary, .woocommerce-message a.btn--primary { color: var(--white); }
.order-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 700; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.order-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.order-status--processing { background: #e6f0fb; color: #1d5fa8; }
.order-status--on-hold { background: var(--amber-soft); color: #8a5a06; }
.order-status--shipped { background: #ede8fb; color: #5b3fb3; }
.order-status--completed { background: var(--green-soft); color: var(--green-900); }
.order-status--cancelled, .order-status--refunded { background: var(--red-soft); color: #8f1d1f; }
.woocommerce-MyAccount-content .woocommerce-info { align-items: center; flex-wrap: wrap; }
.woocommerce-MyAccount-content .woocommerce-info span { flex: 1; }

/* View order */
.acc-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; counter-reset: step; }
.acc-track li { position: relative; padding-top: 34px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.acc-track li::before { content: ""; position: absolute; top: 11px; left: 50%; width: 100%; height: 2px; background: var(--line); }
.acc-track li:last-child::before { display: none; }
.acc-track li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); display: grid; place-items: center; z-index: 1; }
.acc-track li span .icon { width: 14px; height: 14px; color: var(--white); }
.acc-track li.is-on { color: var(--green-900); }
.acc-track li.is-on span { background: var(--green); border-color: var(--green); }
.acc-track li.is-on::before { background: var(--green); }
.acc-track li.is-on + li:not(.is-on) { color: var(--ink); }
.acc-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.acc-addresses .woocommerce-column { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.acc-addresses .woocommerce-column__title { font-size: 16px; margin-bottom: 6px; }
.acc-addresses address { font-style: normal; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th { text-align: left; }

/* Wishlist */
.acc-wish-grid { grid-template-columns: repeat(3, 1fr); }

/* Addresses */
.woocommerce-Addresses.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.woocommerce-Address { border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; }
.woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.woocommerce-Address-title h3 { font-size: 17px; margin: 0; }
.woocommerce-Address-title .edit { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--green-700); }
.woocommerce-Address-title .edit .icon { width: 16px; height: 16px; }
.woocommerce-Address-title .edit:hover { text-decoration: underline; }
.woocommerce-Address address { font-style: normal; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.woocommerce-Address address b { color: var(--ink); }
.woocommerce-Address address p { margin: 6px 0 0; display: flex; align-items: center; gap: 6px; }
.woocommerce-Address address p .icon { width: 16px; height: 16px; color: var(--muted); }
.woocommerce-Address-empty { margin: 0; color: var(--muted); font-size: 14px; }
.acc-company-line { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); line-height: 1.5; }
.acc-company-line b { color: var(--ink); font-size: 15px; }
.woocommerce-EditAddressForm h3, .woocommerce-EditAccountForm h3 { margin: 0 0 20px; }
.woocommerce-EditAddressForm, .woocommerce-EditAccountForm, .acc-b2b-form { max-width: 760px; }
.woocommerce-EditAddressForm .clear,
.woocommerce-EditAccountForm .clear { display: none; }
.woocommerce-address-fields__field-wrapper.acc-grid,
.woocommerce-EditAddressForm .acc-grid,
.woocommerce-EditAccountForm .acc-grid,
.acc-b2b-form .acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.woocommerce-address-fields__field-wrapper.acc-grid > .form-row,
.woocommerce-EditAddressForm .acc-grid > .form-row,
.woocommerce-EditAccountForm .acc-grid > .form-row,
.acc-b2b-form .acc-grid > .form-row {
  display: flex;
  flex-direction: column;
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
  gap: 8px;
}
.woocommerce-address-fields__field-wrapper.acc-grid > .form-row-wide,
.woocommerce-EditAddressForm .acc-grid > .form-row-wide,
.woocommerce-EditAccountForm .acc-grid > .form-row-wide,
.acc-b2b-form .acc-grid > .form-row-wide { grid-column: 1 / -1; }
.woocommerce-EditAddressForm .form-row label,
.woocommerce-EditAccountForm .form-row label {
  display: block;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0;
  word-spacing: normal;
}
.woocommerce-EditAddressForm .form-row .description,
.woocommerce-EditAccountForm .form-row .description { margin-top: 4px; }
.woocommerce-EditAddressForm .acc-actions,
.woocommerce-EditAccountForm .acc-actions { margin-top: 28px !important; }
.woocommerce-EditAddressForm .acc-actions .btn--primary,
.woocommerce-EditAccountForm .acc-actions .btn--primary,
.woocommerce-account .woocommerce-EditAddressForm button.button,
.woocommerce-account .woocommerce-EditAccountForm button.button,
.woocommerce-account form.edit-address button[name="save_address"],
.woocommerce-account form.edit-account button[name="save_account_details"] {
  background: var(--green);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(131, 184, 26, 0.28);
}
.woocommerce-EditAddressForm .acc-actions .btn--primary:hover,
.woocommerce-EditAccountForm .acc-actions .btn--primary:hover,
.woocommerce-account .woocommerce-EditAddressForm button.button:hover,
.woocommerce-account .woocommerce-EditAccountForm button.button:hover,
.woocommerce-account form.edit-address button[name="save_address"]:hover,
.woocommerce-account form.edit-account button[name="save_account_details"]:hover {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(131, 184, 26, 0.36);
}
.acc-fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px 20px; margin: 22px 0 0; }
.acc-fieldset legend { padding: 0 8px; font-weight: 700; font-size: 15px; }
.acc-fieldset .acc-grid { margin-top: 6px; }
.acc-danger { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 760px; margin-top: 34px; padding: 16px 18px; border: 1px dashed #f3c5c6; border-radius: 8px; background: var(--red-soft); font-size: 13.5px; }
.acc-danger b { display: block; color: #8f1d1f; margin-bottom: 2px; }
.acc-danger span { color: #8f1d1f; opacity: 0.85; }
.acc-danger .btn { color: #8f1d1f; border-color: #f3c5c6; background: var(--white); }

/* Payment methods */
.acc-paylist { display: grid; gap: 10px; margin: 18px 0 20px; }
.acc-payitem { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
.acc-payitem > .icon { width: 24px; height: 24px; color: var(--green-700); flex-shrink: 0; }
.acc-payitem > div { flex: 1; }
.acc-payitem b { display: block; font-size: 15px; }
.acc-payitem span { font-size: 13px; color: var(--muted); }
.acc-payitem .co-pay-logos { margin-left: 0; }

/* B2B */
.acc-b2b { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.acc-b2b-card { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; color: var(--muted); }
.acc-b2b-card small { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.acc-b2b-card b { font-family: var(--font-display); font-size: 24px; color: var(--ink); line-height: 1.15; }
.acc-b2b-card b em { font-style: normal; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); }
.acc-b2b-card .ship-bar-track { margin: 8px 0 4px; }
.acc-b2b-card a { color: var(--ink); font-weight: 600; }

@media (max-width: 1200px) {
  #customer_login.col2-set { grid-template-columns: 400px minmax(0, 1fr); gap: 24px; }
  .acc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .acc-tiles { grid-template-columns: repeat(2, 1fr); }
  .acc-wish-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  #customer_login.col2-set { grid-template-columns: 1fr; }
  .acc-perks { grid-template-columns: repeat(2, 1fr); }
  .acc-layout { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 4px; padding: 8px; scrollbar-width: none; }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-MyAccount-navigation-link a { white-space: nowrap; padding: 9px 12px; }
  .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
  .acc-user small { max-width: none; }
}
@media (max-width: 768px) {
  .login-row { flex-direction: column !important; align-items: flex-start; }
  .woocommerce-form-login__submit { width: 100%; margin-top: 14px; }
  #customer_login > div { padding: 20px; }
  .acc-grid,
  .woocommerce-address-fields__field-wrapper.acc-grid,
  .woocommerce-EditAddressForm .acc-grid,
  .woocommerce-EditAccountForm .acc-grid,
  .acc-perks, .acc-perks--inline, .acc-addresses, .woocommerce-Addresses.col2-set, .acc-b2b { grid-template-columns: 1fr; }
  .acc-tiles { gap: 10px; }
  .acc-tile b { font-size: 22px; }
  .acc-wish-grid { grid-template-columns: repeat(2, 1fr); }
  /* Orders table → cards */
  .woocommerce-orders-table thead { display: none; }
  .woocommerce-orders-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .woocommerce-orders-table td { padding: 0 !important; border: 0; text-align: left !important; }
  .woocommerce-orders-table__cell-order-number { grid-row: 1 / 3; }
  .woocommerce-orders-table__cell-order-date { font-size: 13px; color: var(--muted); text-align: right !important; }
  .woocommerce-orders-table__cell-order-status { text-align: right !important; }
  .woocommerce-orders-table__cell-order-total { grid-column: 1; }
  .woocommerce-orders-table__cell-order-total small { display: inline; margin-left: 6px; }
  .woocommerce-orders-table__cell-order-actions { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; white-space: normal; }
  .woocommerce-orders-table__cell-order-actions .btn + .btn { margin-left: 0; }
  .acc-track li { font-size: 11.5px; }
  .acc-danger { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Info / text pages (Pakalpojumi, Par mums, BUJ, Noteikumi, Privātums, Kontakti)
   ========================================================= */
.page-info main { padding-bottom: 0; }

/* Hero */
.info-hero { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.info-hero .breadcrumb--page { padding-top: 18px; }
.info-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 26px 0 40px; }
.info-hero-inner.is-single { grid-template-columns: minmax(0, 1fr); }
.info-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.01em; margin-top: 10px; }
.info-hero .lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; margin-top: 14px; }
.info-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.info-hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.info-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.info-hero-media figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 600; color: var(--ink); }
.info-hero-media figcaption .icon { width: 16px; height: 16px; color: var(--green-700); }
.info-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.info-meta span { display: inline-flex; align-items: center; gap: 6px; }
.info-meta .icon { width: 16px; height: 16px; color: var(--green-700); }


/* Generic two-column layout: sticky side + body */
.info-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding: 40px 0 64px; align-items: start; }
.info-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 22px; }
.info-side h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--muted); line-height: 1.35; transition: color 0.15s, border-color 0.15s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--green); }
.info-help { padding: 18px; border-radius: var(--radius); background: var(--green-soft); border: 1px solid #cfe5a5; display: grid; gap: 8px; }
.info-help b { font-size: 15px; }
.info-help p { font-size: 15px; color: var(--ink-2); }
.info-help a.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--green-900); }
.info-help a.link .icon { width: 16px; height: 16px; color: var(--green-700); }

/* Prose (legal texts, long copy) */
.prose { max-width: 78ch; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); margin-top: 40px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 28px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2 + p, .prose h3 + p { margin-top: 10px; }
.prose ul, .prose ol { display: grid; gap: 8px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose ol li { padding-left: 4px; }
.prose ol li::before { display: none; }
.prose li::marker { color: var(--green-700); }
.prose a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--green-900); }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 17.5px; color: var(--ink); }
.prose-updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; padding: 10px 14px; border-radius: 6px; background: var(--paper); font-size: 14px; color: var(--muted); }
.prose-updated .icon { width: 16px; height: 16px; }
.legal-num { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; align-items: baseline; }
.legal-num > i { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 26px; color: var(--green); line-height: 1; }
.legal-num > i::after { content: "."; }
/* 404 page */
.page-404 main { padding-bottom: 0; }
.nf { padding: 36px 0 0; }
.nf-hero { max-width: 760px; margin: 0 auto; text-align: center; padding: 20px 0 48px; }
.nf-code { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: clamp(88px, 12vw, 148px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 18px; }
.nf-code .icon { width: 0.72em; height: 0.72em; color: var(--green); }
.nf-hero .kicker { display: inline-flex; justify-content: center; }
.nf-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.01em; margin-top: 10px; }
.nf-hero .lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 14px auto 0; max-width: 58ch; }
.nf-search { position: relative; display: flex; gap: 8px; max-width: 620px; margin: 28px auto 0; }
.nf-search > .icon { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.nf-search input { flex: 1; min-width: 0; height: 52px; padding: 0 16px 0 48px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 15.5px; }
.nf-search input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.18); }
.nf-search .btn { height: 52px; }
.nf-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.nf-chips a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-weight: 500; color: var(--ink-2); }
.nf-chips a:hover { border-color: var(--green); color: var(--green-700); }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.nf-actions .btn .icon { width: 18px; height: 18px; }
.nf-cats { padding: 48px 0 8px; border-top: 1px solid var(--line); }
.nf-cats .section-head { display: block; margin-bottom: 22px; }
.nf-cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.nf-cat { display: grid; grid-template-columns: 56px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }
.nf-cat:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.nf-cat img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: var(--paper); }
.nf-cat b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.nf-cat small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.nf-cat > svg { width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s var(--ease); }
.nf-cat:hover > svg { transform: translateX(3px); color: var(--green-700); }
.nf-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 40px 0 0; }
.nf-help .feature .link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--green-700); }
.nf-help .feature .link .icon { width: 16px; height: 16px; }
.nf-help .feature p a { color: var(--ink); font-weight: 600; }
.nf-products { padding: 56px 0 64px; }
.nf-products .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

/* Delivery page */
.ship-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ship-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.ship-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.ship-card .sc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ship-card .sc-top .icon { width: 28px; height: 28px; color: var(--green-700); }
.ship-card .sc-price { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ship-card .sc-price.is-free { color: var(--green-700); }
.ship-card b { font-size: 17px; font-weight: 700; }
.ship-card p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.ship-card .sc-meta { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.ship-card .sc-meta span { display: flex; gap: 8px; align-items: flex-start; }
.ship-card .sc-meta .icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--green-700); }
.pay-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pay-grid .feature { grid-template-rows: auto auto 1fr auto; align-content: start; }
.pay-grid .feature p a { color: var(--green-700); font-weight: 600; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; align-self: end; padding-top: 6px; }
.pay-logos span { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.pay-logos .pay-logo { height: 12px; }
.brand-note { display: flex; gap: 8px; align-items: flex-start; }
.brand-note .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--green-700); }
.split.split--even { align-items: start; gap: 48px; }
.steps.steps--vertical { grid-template-columns: 1fr; gap: 12px; }
.steps.steps--vertical .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; align-items: start; padding: 20px 22px; }
.steps.steps--vertical .step::before { font-size: 32px; margin-bottom: 0; grid-row: 1 / 3; }
.steps.steps--vertical .step p a { color: var(--green-700); font-weight: 600; }
.return-rules { padding: 26px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.return-rules h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.return-rules h3 + .checks + h3 { margin-top: 24px; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.checks .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-700); margin-top: 2px; }
.checks--muted li { color: var(--ink-2); }
.checks--muted .icon { color: var(--muted-2, var(--muted)); }
.feature-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature p a { color: var(--green-700); font-weight: 600; }
.info-layout#noteikumi { padding-top: 56px; }
.legal-table-wrap { margin: 18px 0 26px; border: 1px solid var(--line); border-radius: 8px; overflow: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--paper); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { min-width: 180px; }
.legal-table td:last-child { min-width: 160px; color: var(--muted-2, var(--muted)); }

/* Section building blocks for marketing pages */
.info-section { padding: 64px 0; }
.info-section--paper { background: var(--paper); }
.info-section--tight { padding: 40px 0; }
.info-section .section-head { display: block; margin-bottom: 30px; }
.info-section .section-head .kicker { display: inline-flex; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split.is-flip .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .stamp { position: absolute; left: 18px; bottom: 18px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 6px; background: var(--white); box-shadow: var(--shadow-sm); }
.split-media .stamp b { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--ink); }
.split-media .stamp span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.split-body h2 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.01em; margin-top: 8px; }
.split-body .sub { font-size: 17px; font-weight: 600; color: var(--ink-2); margin-top: 10px; }
.split-body p { color: var(--ink-2); line-height: 1.65; font-size: 16.5px; margin-top: 12px; }
.split-body .checks { display: grid; gap: 10px; margin-top: 20px; }
.split-body .checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.split-body .checks .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-700); margin-top: 1px; }
.split-body .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.service-anchor { scroll-margin-top: calc(var(--header-h) + 20px); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { display: grid; align-content: start; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; }
.feature:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.feature .icon { width: 30px; height: 30px; color: var(--green-700); }
.feature b { font-size: 16.5px; font-weight: 700; }
.feature p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.feature .link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--green-700); }
.feature .link .icon { width: 16px; height: 16px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 22px 22px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; color: var(--ink); }
.stat b small { font-size: 22px; color: var(--green-700); margin-left: 2px; }
.stat span { display: block; margin-top: 8px; font-size: 15.5px; color: var(--muted); font-weight: 500; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 24px 22px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--green); line-height: 1; display: block; margin-bottom: 14px; }
.step b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }

.brand-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.brand-wall a, .brand-wall div { display: grid; place-items: center; height: 84px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color 0.15s; }
.brand-wall a:hover { border-color: var(--ink); }
.brand-wall img { max-height: 34px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.2s, opacity 0.2s; }
.brand-wall a:hover img { filter: none; opacity: 1; }
.brand-wall .brand-text { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-2); text-transform: uppercase; }
.brand-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--white); padding: 44px 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(131, 184, 26, 0.35), rgba(131, 184, 26, 0)); }
.cta-band > * { position: relative; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; }
.cta-band p { color: rgba(255, 255, 255, 0.75); font-size: 16.5px; margin-top: 8px; max-width: 60ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .kicker { color: var(--green); }
.cta-band .kicker::before { background: var(--green); }

/* FAQ */
.faq-search { position: relative; max-width: 560px; margin-top: 22px; }
.faq-search .icon { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.faq-search input { width: 100%; height: 52px; padding: 0 44px 0 46px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 15.5px; }
.faq-search input::-webkit-search-cancel-button,
.faq-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.faq-search input::-ms-clear { display: none; width: 0; height: 0; }
.faq-search input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.18); }
.faq-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
.faq-search button:hover { background: var(--paper); color: var(--ink); }
.faq-search button .icon { position: static; transform: none; width: 18px; height: 18px; color: inherit; }
.faq-search button[hidden] { display: none; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.faq-group-head .icon { width: 26px; height: 26px; color: var(--green-700); }
.faq-group-head h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; scroll-margin-top: calc(var(--header-h) + 28px); }
.text-btn { all: unset; cursor: pointer; color: var(--green-700); font-weight: 600; }
.text-btn:hover { text-decoration: underline; }
.faq-group-head small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: auto; }
.faq-list { display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color 0.15s; }
.faq-item:hover { border-color: #c9ccd1; }
.faq-item[open] { border-color: var(--green); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-toggle { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background 0.15s, transform 0.2s var(--ease); }
.faq-item summary .faq-toggle .icon { width: 18px; height: 18px; }
.faq-item[open] summary .faq-toggle { background: var(--green); color: var(--white); transform: rotate(45deg); }
.faq-item summary mark, .faq-body mark { background: #f3f7a8; color: inherit; border-radius: 2px; padding: 0 1px; }
.faq-body { padding: 0 18px 18px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 78ch; }
.faq-body p + p { margin-top: 8px; }
.faq-body a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
.faq-body ul { list-style: none; padding-left: 0; display: grid; gap: 6px; margin-top: 8px; }
.faq-body li { position: relative; padding-left: 24px; }
.faq-body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.faq-item[hidden], .faq-group[hidden] { display: none; }
.faq-empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.faq-empty[hidden] { display: none; }
.faq-empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* Contacts */
.quick-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: -34px; position: relative; z-index: 1; }
.quick-card { display: grid; grid-template-rows: auto 1fr auto; align-content: start; gap: 10px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); transition: border-color 0.15s, box-shadow 0.15s; }
.quick-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.quick-card .qc-icon { display: inline-flex; color: var(--green-700); }
.quick-card .qc-icon .icon { width: 28px; height: 28px; }
.quick-card b { font-size: 16.5px; font-weight: 700; }
.quick-card p { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; margin-top: 4px; }
.quick-card .link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--green-700); }
.quick-card .link .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.quick-card:hover .link .icon { transform: translateX(3px); }

.team-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 22px; }
.team-filter button { padding: 8px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.team-filter button:hover { border-color: var(--ink); }
.team-filter button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.person { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; }
.person:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.person[hidden] { display: none; }
.person-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--green-900); background: var(--green-soft); border: 1px solid #cfe5a5; }
.person-top b { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.person-role { display: inline-flex; margin-top: 4px; padding: 2px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--paper); color: var(--muted); }
.person-role.is-web { background: var(--green-soft); color: var(--green-900); }
.person p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.person-links { display: grid; align-self: end; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.person-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); min-width: 0; }
.person-links a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-links a .icon { width: 16px; height: 16px; color: var(--green-700); flex-shrink: 0; }
.person-links a:hover { color: var(--green-700); }

.store-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.store-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 16 / 10; position: relative; }
.store-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.store-map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 15px; color: var(--muted); }
.store-map-foot .btn .icon { width: 16px; height: 16px; }
.store-info { display: grid; gap: 14px; }
.store-block { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.store-block h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.store-block h3 .icon { width: 20px; height: 20px; color: var(--green-700); }
.hours { display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; padding: 6px 0; border-bottom: 1px dashed var(--line-soft); }
.hours div:last-child { border-bottom: 0; }
.hours span { color: var(--muted); }
.hours strong { font-weight: 600; }
.hours .is-today { color: var(--green-700); }
.hours .is-today span { color: var(--green-700); font-weight: 600; }
.open-badge { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--green-soft); color: var(--green-900); }
.open-badge.is-closed { background: var(--paper); color: var(--muted); }
.open-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.open-badge.is-closed::before { background: var(--muted-2); }
.contact-lines { display: grid; gap: 10px; }
.contact-lines > div { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 16px; line-height: 1.45; }
.contact-lines .icon { display: block; width: 20px; height: 20px; color: var(--green-700); margin-top: 1.5px; }
.contact-form-intro .contact-lines p,
.contact-lines p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.contact-lines small { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.contact-lines a { font-weight: 600; }
.contact-lines a:hover { color: var(--green-700); }
.rekv { display: grid; gap: 0; font-size: 15px; }
.rekv div { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line-soft); }
.rekv div:last-child { border-bottom: 0; }
.rekv dt { color: var(--muted); }
.rekv dd { margin: 0; font-weight: 600; word-break: break-all; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-btn .icon { width: 14px; height: 14px; }
.copy-btn.is-done { border-color: var(--green); color: var(--green-700); }

.contact-form-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-form-intro h2 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.01em; margin-top: 8px; }
.contact-form-intro p { color: var(--ink-2); line-height: 1.65; font-size: 16.5px; margin-top: 12px; }
.contact-form-intro .contact-lines { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-form { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-section.wc-page { padding-bottom: 64px; }
.contact-form .form-row-wide { grid-column: 1 / -1; }
.contact-form .form-row .hint { font-size: 12.5px; color: var(--red); display: none; }
.contact-form .form-row.woocommerce-invalid .hint { display: block; }
.contact-form .consent { display: grid; gap: 4px; margin-top: 16px; }
.contact-form .consent .fcheck { padding-left: 0; padding-right: 0; align-items: flex-start; }
.contact-form .consent .fcheck:hover { background: transparent; }
.contact-form .consent .fcheck-box { margin-top: 2px; }
.contact-form .consent .fcheck-label { white-space: normal; font-size: 14.5px; line-height: 1.45; }
.contact-form .consent a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
.contact-form .form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.contact-form .form-foot small { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.contact-form .form-foot small .icon { width: 15px; height: 15px; }
.form-success { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 20px; }
.form-success .icon { width: 48px; height: 48px; padding: 10px; border-radius: 50%; background: var(--green-soft); color: var(--green-700); }
.form-success b { font-size: 20px; font-family: var(--font-display); }
.form-success p { color: var(--muted); max-width: 44ch; }
.form-success[hidden], .contact-form[hidden] { display: none; }

.dept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
a.feature { color: inherit; }
a.feature:hover b { color: var(--green-700); }
.rekv-all { margin-top: 12px; }
.rekv-all .icon { width: 16px; height: 16px; }
.info-meta a { color: inherit; font-weight: 600; }
.info-meta a:hover { color: var(--green-700); }
.info-meta .open-badge { margin-left: 4px; }
.store-block h3 .open-badge { margin-left: auto; }

/* Responsive */
@media (max-width: 1200px) {
  .quick-cards, .team-grid, .stats, .steps, .ship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nf-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nf-products .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps.steps--vertical { grid-template-columns: 1fr; }
  .brand-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 1024px) {
  .info-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .info-hero-media { aspect-ratio: 16 / 8; }
  .split, .contact-form-wrap, .store-grid { grid-template-columns: 1fr; gap: 28px; }
  .split.is-flip .split-media { order: 0; }
  .split-media { aspect-ratio: 16 / 9; }
  .feature-grid, .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .info-side { position: static; }
  .info-side .toc { display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .info-side .toc a { padding: 6px 12px; margin: 0; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
  .info-side .toc a.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
  .info-side .info-help { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 32px 28px; }
}
@media (max-width: 768px) {
  .info-hero-inner { padding: 18px 0 30px; }
  .info-hero .lead { font-size: 15.5px; }
  .info-section { padding: 44px 0; }
  .quick-cards { grid-template-columns: 1fr; margin-top: 20px; }
  .team-grid, .stats, .steps, .feature-grid, .dept-grid, .feature-grid.is-4, .feature-grid.is-3, .ship-grid, .pay-grid { grid-template-columns: 1fr; }
  .return-rules { padding: 20px; }
  .nf-cat-grid, .nf-help { grid-template-columns: 1fr; }
  .nf-products .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-search { flex-direction: column; }
  .nf-search .btn { width: 100%; }
  .brand-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form { padding: 20px; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
  .rekv div { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .rekv dt { grid-column: 1 / -1; font-size: 12.5px; }
  .rekv dd { word-break: break-word; }
  .rekv .copy-btn { justify-self: end; }
  .legal-num { grid-template-columns: 1fr; }
  .legal-num > i { display: none; }
  .split-body h2 { font-size: 26px; }
  .stat b { font-size: 34px; }
}

/* =====================================================================
   Blog — listing (blog.html)
   ===================================================================== */
.info-hero--compact .info-hero-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 34px; }
.blog-search { margin-top: 22px; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0 0; }
.blog-filter button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.blog-filter button small { font-size: 12px; font-weight: 600; color: var(--muted); padding: 1px 7px; border-radius: 4px; background: var(--paper); }
.blog-filter button:hover { border-color: var(--ink); color: var(--ink); }
.blog-filter button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.blog-filter button.is-active small { background: rgba(255, 255, 255, 0.16); color: var(--white); }

.blog-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--ink); transition: box-shadow 0.25s, border-color 0.25s; }
.blog-featured:hover { box-shadow: var(--shadow); border-color: var(--green); }
.blog-featured-media { position: relative; min-height: 360px; overflow: hidden; }
.blog-featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.blog-featured:hover .blog-featured-media img { transform: scale(1.04); }
.blog-featured-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 40px 44px; }
.blog-featured-body h2 { font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.blog-featured:hover h2 { color: var(--green-700); }
.blog-featured-body p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.blog-featured-body .btn { margin-top: auto; }
.blog-featured-body .btn .icon { width: 16px; height: 16px; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 36px 0 72px; align-items: start; }
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 22px; min-height: 42px; }
.blog-count { font-size: 14.5px; color: var(--muted); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.blog-count b { color: var(--ink); }
.blog-count .chip { height: 28px; font-size: 13px; }
.blog-sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.blog-sort select { height: 38px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%2352575d'%3E%3Cpath d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E") no-repeat right 8px center / 18px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); appearance: none; cursor: pointer; }
.blog-sort select:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(131, 184, 26, 0.18); }

.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.posts-grid .post-card h3 { font-size: 17.5px; }
.posts-grid .post-card p { font-size: 14.5px; line-height: 1.55; }
.posts-grid .post-card mark { background: #eaf4d3; color: inherit; border-radius: 2px; padding: 0 1px; }
.blog-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 56px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.blog-empty .icon { width: 36px; height: 36px; color: var(--muted-2); }
.blog-empty h3 { font-size: 18px; color: var(--ink); }
.blog-empty .btn { margin-top: 8px; }

.blog-side { display: grid; gap: 26px; }
.side-box h4, .post-side-block h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side-cats { display: grid; }
.side-cats a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.side-cats li:first-child a { border-top: 0; padding-top: 0; }
.side-cats a span { display: grid; gap: 2px; }
.side-cats a b { font-size: 15px; font-weight: 600; }
.side-cats a small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.side-cats a em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); padding: 2px 8px; border-radius: 4px; background: var(--paper); }
.side-cats a:hover b, .side-cats a.is-active b { color: var(--green-700); }
.side-cats a.is-active em { background: var(--green); color: var(--white); }
.side-posts { display: grid; counter-reset: sp; }
.side-posts li { counter-increment: sp; }
.side-posts a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.side-posts li:first-child a { border-top: 0; padding-top: 0; }
.side-posts img { width: 64px; height: 52px; object-fit: cover; border-radius: 6px; }
.side-posts a span { display: grid; gap: 3px; }
.side-posts b { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-posts small { font-size: 12.5px; color: var(--muted); }
.side-posts a:hover b { color: var(--green-700); }
.side-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.side-tags button, .post-tags a { padding: 6px 11px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.side-tags button:hover, .post-tags a:hover { border-color: var(--green); color: var(--green-700); }
.side-tags button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.side-cta { display: grid; justify-items: start; gap: 10px; padding: 22px; border-radius: var(--radius); background: var(--green-soft); border: 1px solid #cfe5a5; }
.side-cta > .icon { width: 28px; height: 28px; color: var(--green-700); }
.side-cta h4 { font-size: 17px; font-weight: 700; color: var(--ink); }
.side-cta p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.side-cta .btn { margin-top: 4px; }
.side-cta-phone { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--green-900); }
.side-cta-phone .icon { width: 16px; height: 16px; }

/* =====================================================================
   Blog — single article (post.html)
   ===================================================================== */
.post-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.post-head-inner { max-width: 860px; padding: 26px 0 40px; display: grid; gap: 14px; justify-items: start; }
.post-cat { display: inline-flex; padding: 5px 10px; border-radius: 6px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 700; }
.post-cat:hover { background: var(--green-700); }
.post-head h1 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.post-head .lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.post-byline { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.post-author { display: flex; align-items: center; gap: 12px; }
.post-author > div { display: grid; gap: 1px; }
.post-author b { font-size: 15px; }
.post-author span:not(.post-author-avatar) { font-size: 13.5px; color: var(--muted); }
.post-author-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 800; letter-spacing: 0.04em; flex: none; }
.post-author-avatar--lg { width: 60px; height: 60px; font-size: 18px; }
.post-share { display: flex; align-items: center; gap: 8px; }
.post-share-label { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.post-share-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.post-share-btn svg { width: 17px; height: 17px; fill: currentColor; }
.post-share-btn .icon { width: 18px; height: 18px; }
.post-share-btn:hover { border-color: var(--ink); color: var(--ink); }
.post-cover { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--paper); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; padding: 40px 0 56px; align-items: start; }
.post-side { display: grid; gap: 26px; }
.post-side-block h4 { margin-bottom: 10px; }
.post-body { max-width: 780px; }
.post-prose { max-width: none; }
.post-prose > *:first-child { margin-top: 0; }
.post-prose p { margin-top: 14px; }
.post-prose p:first-child { font-size: 18px; color: var(--ink); }
.post-prose ul, .post-prose ol { margin-top: 14px; }
.post-prose img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.post-prose figure { margin: 26px 0; }
.post-prose figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); text-align: center; }
.post-prose blockquote { margin: 26px 0; padding: 20px 24px; border-left: 3px solid var(--green); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: 17px; color: var(--ink); }
.post-prose blockquote p { margin: 0; }
.post-prose blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--muted); }
.post-prose hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.post-prose a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(107, 152, 20, 0.35); text-underline-offset: 3px; }
.post-prose a:hover { text-decoration-color: currentColor; }
.post-prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.post-prose td, .post-prose th { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-prose th { background: var(--paper); }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-tags > span { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.post-share--foot { margin-top: 22px; }
.post-author-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.post-author-box b { font-size: 16px; }
.post-author-box p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 6px; }
.post-author-box a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--green-700); }
.post-author-box a .icon { width: 16px; height: 16px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.post-nav-item { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }
.post-nav-item:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.post-nav-item small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.post-nav-item small .icon { width: 16px; height: 16px; }
.post-nav-item b { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.post-nav-item--next { text-align: right; justify-items: end; }
.post-nav-item:hover b { color: var(--green-700); }
.side-product { display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.post-side-products .side-product:nth-of-type(1) { border-top: 0; padding-top: 0; }
.side-product img { width: 60px; height: 60px; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); background: var(--white); padding: 4px; }
.side-product span { display: grid; gap: 3px; }
.side-product b { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-product small { font-size: 13px; font-weight: 600; color: var(--green-900); }
.side-product:hover b { color: var(--green-700); }
.side-product-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.side-product-more .icon { width: 16px; height: 16px; }
.side-product-more:hover { color: var(--green-700); }
.posts-grid--3 { margin-top: 0; }

@media (max-width: 1200px) {
  .blog-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; gap: 36px; }
  .blog-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
  .blog-side .side-cta { grid-column: 1 / -1; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 0; aspect-ratio: 16 / 8; }
  .blog-featured-body { padding: 26px 24px 28px; }
  .post-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .post-side { order: -1; }
  .post-side .toc { display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .post-side .toc a { padding: 6px 12px; margin: 0; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
  .post-side .toc a.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
  .post-side-products, .post-side .side-cta { display: none; }
  .post-body { max-width: none; }
  .posts-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .blog-filter { gap: 6px; padding-top: 16px; }
  .blog-filter button { padding: 8px 11px; font-size: 13px; }
  .posts-grid, .posts-grid--3 { grid-template-columns: 1fr; }
  .blog-side { grid-template-columns: 1fr; }
  .blog-toolbar { flex-direction: column; align-items: flex-start; }
  .blog-sort { width: 100%; justify-content: space-between; }
  .blog-layout { padding: 28px 0 48px; }
  .post-head-inner { padding: 18px 0 28px; }
  .post-head .lead { font-size: 16px; }
  .post-cover { aspect-ratio: 16 / 9; margin-top: 18px; }
  .post-prose p:first-child { font-size: 17px; }
  .post-prose blockquote { padding: 16px 18px; font-size: 16px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item--next { text-align: left; justify-items: start; }
  .post-author-box { grid-template-columns: 1fr; }
}
