/* ============================================================
   ROBOMATIS DESIGN SYSTEM
   Ported 1:1 from https://batterystrapping.com/
   ------------------------------------------------------------
   Tokens extracted from the live site's computed styles:
     Poppins · #1B99D7 blue · #2F2F2F dark · #F69F0A badge
     1140px container · 3px button radius
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --blue:        #1B99D7;
  --blue-dark:   #1780B5;
  --blue-soft:   #F4FAFD;
  --dark:        #2F2F2F;
  --ink:         #212529;
  --ink-2:       #333333;
  --muted:       #64748B;
  --muted-2:     #5B6B7A;
  --orange:      #F69F0A;
  --red:         #FF5252;
  --bg-soft:     #F8FAFC;
  --bg-soft-2:   #F6F8FC;
  --border:      #E5E9F0;
  --border-2:    #DFE5EC;

  --radius-btn:  3px;
  --radius-badge:5px;
  --container:   1320px;   /* Bootstrap 5 ladder — see .container media queries */
}

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  /* `clip` (not `hidden`) — contains the off-screen cart drawer without
     creating a scroll container, so the sticky nav keeps working */
  overflow-x: clip;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c7cfd8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a9b4bf; }

/* ── Layout ───────────────────────────────────────────────── */
/* Bootstrap 5 responsive container, like the reference:
   ≥1400 → 1320 · ≥1200 → 1140 · ≥992 → 960 · ≥768 → 720 · ≥576 → 540 */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 12px;
}
@media (max-width: 1399px) { :root { --container: 1140px; } }
@media (max-width: 1199px) { :root { --container: 960px; } }
@media (max-width: 991px)  { :root { --container: 720px; } }
@media (max-width: 767px)  { :root { --container: 540px; } }
@media (max-width: 575px)  { :root { --container: none; } }

.section { padding: 48px 0; }
.section--tight { padding: 32px 0; }
.section--soft { background: var(--bg-soft); }
.section--divided { border-top: 1px solid var(--border); }

/* Section title — "PRODUCTS" bar from the reference */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
}
.section-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Eyebrow label */
.eyebrow {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 6px;
}
.eyebrow--caps {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  text-align: center;
}
.btn--dark    { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #1c1c1c; }
.btn--blue    { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--block   { width: 100%; }

/* Pill CTA — the big "ACT FAST" / "View More" button */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 15px 42px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease;
}
.btn-pill:hover { background: var(--blue-dark); }
.btn-pill--ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-pill--ghost:hover { background: var(--blue); color: #fff; }

/* ── Header ───────────────────────────────────────────────── */
.above-header {
  background: var(--blue);
  color: #fff;
  font-size: 14px;
}
.above-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  flex-wrap: wrap;
}
.above-header__group { display: flex; align-items: center; flex-wrap: wrap; }
.above-header a { color: #fff; }
.above-header a:hover { text-decoration: underline; }
.above-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-left: 1px solid rgba(255,255,255,.4);
  white-space: nowrap;
}
.above-header__group > .above-item:first-child { border-left: 0; padding-left: 0; }
.above-header__group > .above-item:last-child  { padding-right: 0; }
.above-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.above-flag {
  width: 18px; height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

/* Main header: logo + search + cart.
   Reference splits the 1140px row into Bootstrap cols 3/5/4
   (285px logo | 475px search | 380px cart), row height 88px. */
.main-header { background: #fff; }
.main-header .container {
  display: grid;
  grid-template-columns: 3fr 5fr 4fr;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: inline-flex; }
.brand__logo-img { width: 216px; height: auto; }

.header-search { position: relative; }
.header-search input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 0 22px 0 56px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.header-search input::placeholder { color: #8B98A6; }
.header-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,153,215,.12);
}
.header-search__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  color: var(--blue);
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 17px;
  font-weight: 500;
}
.header-action svg { width: 30px; height: 30px; }
.header-action__count {
  position: absolute;
  top: -8px;
  left: 20px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation row */
.main-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 900;
}
.main-nav .container {
  display: flex;
  align-items: stretch;
  padding: 0 12px;
}
.nav-browse {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: #fff;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}
.nav-browse svg { width: 20px; height: 20px; }

.nav-links {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 14px 22px;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .15s ease;
}
.nav-links > li > a:hover { color: var(--blue); }
.nav-offers {
  display: inline-flex;
  align-items: center;
  padding: 0 26px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: auto;
}
.nav-offers:hover { background: #e84545; }

/* Browse-categories mega menu (live: .mega-panel > .mega-col > .sub-menu).
   The 240px panel lists top categories; each row's flyout shows its
   children as 80px thumbs. Open by default on body.home, like the live
   homepage; click-toggled on other pages. */
.has-mega { position: relative; display: flex; }
.mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
  z-index: 1000;
}
body.home .mega-panel,
.has-mega.is-open .mega-panel,
.has-mega:hover .mega-panel { display: block; }
/* Live hides the desktop menu below lg (d-none d-lg-flex): on small
   screens the panel is click-only, never open by default, and flyouts
   stay within the viewport. */
@media (max-width: 991px) {
  body.home .mega-panel, .has-mega:hover .mega-panel { display: none; }
  .has-mega.is-open .mega-panel { display: block; }
  .sub-menu { position: static; width: 100%; box-shadow: none; }
}
.mega-col { position: relative; border-bottom: 1px solid var(--border); }
.mega-col:last-child { border-bottom: none; }
.mega-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0 16px 0 22px;
}
.mega-heading .menu-link {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  color: var(--ink-2);
  white-space: nowrap;
}
.mega-heading svg { width: 15px; height: 15px; opacity: .5; flex-shrink: 0; }
.mega-col:hover { background: var(--blue-soft); }
.mega-col:hover > .mega-heading .menu-link { color: var(--blue); }
.sub-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 660px;
  max-height: 480px;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  list-style: none;
  margin: 0;
  padding: 14px;
}
.mega-col:hover > .sub-menu { display: grid; }
.sub-menu.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.menu-item-depth-2 { display: flex; align-items: flex-start; gap: 12px; padding: 6px; }
.menu-item-depth-2:hover { background: var(--blue-soft); }
.lvl2-thumb { width: 100px; min-width: 100px; }
.menu-cat-thumb { display: block; flex-shrink: 0; }
.menu-cat-thumb img { max-width: 80px; height: auto; margin: 0; }
.menu-item-content-wrap { align-self: center; min-width: 0; }
.lvl2-title {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 0;
  line-height: 1.3;
}
.lvl2-title:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 14px 12px;
  color: var(--ink-2);
  font-size: 15px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ── Home hero: category sidebar + slider ─────────────────── */
.hero-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 24px; align-items: start; }
/* Home: the open mega panel overlays the slider's left edge, so the
   slider spans the full container and its copy clears the 240px panel */
.hero-row--home { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) {
  body.home .slide { padding-left: 300px; }
}


/* Slider */
.slider { position: relative; overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform .5s ease;
}
.slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 26px 58px;   /* clears the prev/next arrows */
  min-height: 384px;
  overflow: hidden;     /* keep each slide's art from bleeding into neighbors */
}
.slide__kicker {
  margin: 0;
  font-size: 14px;
  line-height: 30px;
  color: var(--blue);
}
.slide__kicker + .slide__kicker { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin-bottom: 14px; }
.slide__title {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.2;
  margin: 0 0 26px;
}
.slide__art { display: flex; align-items: center; justify-content: center; min-width: 0; }
.slide__art img { max-height: 300px; max-width: 100%; width: auto; object-fit: contain; }

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 2px 10px rgba(23,35,46,.16);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.slider__nav:hover { background: var(--blue); color: #fff; }
.slider__nav svg { width: 20px; height: 20px; }
.slider__nav--prev { left: 8px; }
.slider__nav--next { right: 8px; }

.slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider__dot {
  width: 9px; height: 9px;
  border: none;
  border-radius: 999px;
  background: #C7D2DD;
  padding: 0;
  cursor: pointer;
  transition: background-color .15s ease, width .15s ease;
}
.slider__dot.is-active { background: var(--blue); width: 24px; }

/* ── Info message row (3 trust points) ────────────────────── */
.info-msg-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.info-msg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 26px 0;
}
.info-msg__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 26px;
  border-left: 1px solid var(--border);
  text-align: left;
}
.info-msg__item:first-child { border-left: 0; padding-left: 0; }
.info-msg__icon { color: var(--blue); flex-shrink: 0; }
.info-msg__icon svg { width: 46px; height: 46px; }
.info-msg__kicker {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.info-msg__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.info-msg__note { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ── Corner accent (reference: .corner-top-left) ──────────── */
/* A 40×40 solid blue square offset -8px outside the top-left corner,
   painted at z-index -1: the host's solid background hides all but an
   8px L-shaped overhang. The host must be position:relative WITHOUT
   z-index/transform/overflow (any of those would re-scope or clip it). */
.corner-top-left {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 40px;
  height: 40px;
  background: var(--blue);
  z-index: -1;
}
/* Same accent as a pseudo-element for cards we style directly.
   Non-banner corners on the reference use a -4px offset (4px-thick L);
   banner corners use -8px (8px-thick L). */
.corner-tl { position: relative; }
.corner-tl::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 40px;
  height: 40px;
  background: var(--blue);
  z-index: -1;
}
/* Hosts must have a solid background to hide the square's body */
.cat-main { position: relative; background: #fff; }
.cat-main::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 40px;
  height: 40px;
  background: var(--blue);
  z-index: -1;
}

/* ── Promo banners (reference: #banner-row) ───────────────── */
.banner-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  /* the corner squares hang -8px outside the cards */
  padding-top: 8px;
}
.banner-actiom-item-container {
  position: relative;
  display: flex;
  background: #fff;
  border: 4px solid rgba(16, 16, 16, .05);
  padding: 30px;
  min-height: 268px;
}
.banner-actiom-item-container .text-content { width: 75%; }
.banner-actiom-item-container .blue-f {
  color: var(--blue);
  font-size: 16px;
  margin: 0 0 16px;
}
.banner-actiom-item-container h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 8px;
}
.banner-actiom-item-container .text-content p:not(.blue-f) {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}
.btn-slider-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 179px;
  padding: 10px;
  border-radius: 35px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  transition: filter .15s ease;
}
.btn-slider-action:hover { filter: brightness(.92); }
.btn-slider-action.gray-b { background: #F2F2F2; color: #333; }
/* Product photos overflow the card edges — exact reference offsets */
.banner-img { position: absolute; }
.banner-actiom-item-container.first .banner-img {
  top: -20px;
  right: -70px;
  height: 259px;
  width: auto;
  max-width: none;
}
.banner-actiom-item-container.second .banner-img {
  top: -28px;
  right: -30px;
  height: 284px;
  width: auto;
  max-width: none;
}

/* ── Content section heads ────────────────────────────────── */
.content-head { margin-bottom: 32px; }
.content-head--center { text-align: center; }
.content-head__sub {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--blue);
}
.content-head__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}

/* ── Category tiles (reference: .category-container) ──────── */
/* Compact tiles: bare 100×100 cover image, name below — no card box.
   Live CSS verbatim: 12.5% flex basis → always 8 per row. */
.category-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 10px 10px;
}
.category-item {
  flex: 0 0 calc(12.5% - 10px);
  box-sizing: border-box;
  padding: 7px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-item:hover { box-shadow: 0 0 8px 0 rgba(0, 0, 0, .16); }
.category-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-icon img { width: 100px; height: 100px; object-fit: cover; }
.category-name {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.5;
  text-align: center;
  margin: 10px 0 5px;
  transition: color .15s ease;
}
.category-item a:hover .category-name { color: var(--blue); }

/* ── Map ──────────────────────────────────────────────────── */
.map-container { padding: 48px 0 0; }
.map-canvas {
  position: relative;
  height: 560px;
  margin-top: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 42% 40%, #FBF6EC 0%, #FBF6EC 42%, transparent 43%),
    linear-gradient(180deg, #CFE7F3 0%, #BFDDEE 100%);
}
.map-pin {
  position: absolute;
  width: 74px; height: 74px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(23,35,46,.20);
  padding: 7px;
  transform: translate(-50%, -50%);
  transition: transform .18s ease, box-shadow .18s ease;
}
.map-pin:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 10px 26px rgba(23,35,46,.30);
  z-index: 5;
}
.map-pin img { width: 100%; height: 100%; object-fit: contain; }

/* ── Product tabs ─────────────────────────────────────────── */
.section-head--tabs { align-items: center; gap: 20px; }
.tabs { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tab {
  background: none;
  border: none;
  border-radius: 6px 6px 0 0;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .15s ease;
}
.tab:hover { color: var(--blue); }
.tab.is-active { color: var(--blue); background: #fff; }

/* ── Advantages ───────────────────────────────────────────── */
.advantages {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.35fr);
  gap: 46px;
  align-items: start;
}
.advantages__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 14px;
}
.advantages__lead { font-size: 17px; color: var(--muted-2); margin: 0 0 26px; }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* ── ROI / case studies ───────────────────────────────────── */
.roi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}
/* Solid bg hides the corner square's body; table scrolls inside instead
   (overflow on the host would clip the corner overhang) */
.roi__table-wrap { background: #fff; }
.roi__table-wrap .roi__table { min-width: 0; }
.roi__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.roi__table th,
.roi__table td {
  padding: 13px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.roi__table thead th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--ink);
}
.roi__table tbody td:first-child { color: var(--muted-2); }
.roi__table tbody tr:last-child td,
.roi__table tbody tr:nth-last-child(2) td { font-weight: 700; color: var(--blue); }
.roi__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 20px;
}
.roi__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.roi__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--muted-2); }
.roi__list svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 5px; }
.roi__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.roi__actions .btn { padding: 12px 22px; font-size: 15px; }

/* ── Watch section — text box + YouTube embed, both with corners ── */
.watch-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.watch {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border: 4px solid rgba(16, 16, 16, .05);
  padding: 40px;
}
.watch__title { font-size: 30px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.watch__lead { font-size: 16px; color: var(--muted-2); margin: 0 0 22px; }
.watch__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.watch__actions .btn { padding: 12px 22px; font-size: 15px; }
.watch-video {
  background: #fff;
  border: 4px solid rgba(16, 16, 16, .05);
  padding: 16px;
}
.watch-video iframe { display: block; width: 100%; height: 315px; border: 0; }

/* ── Spare parts ──────────────────────────────────────────── */
.spare-parts {
  background: #F2F2F2;
  color: var(--ink);
  text-align: center;
  padding: 48px 0;
}
.spare-parts__title { font-size: 36px; font-weight: 700; margin: 0 0 10px; }
.spare-parts__lead { font-size: 17px; margin: 0 0 6px; }
.spare-parts__note { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.spare-parts__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-slider-action.dark-b { background: var(--dark); color: #fff; }

/* ── Brands (live CSS verbatim) ───────────────────────────── */
.brands { padding: 50px 0; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  margin-bottom: 30px;
}
.brand-content {
  display: flex;
  place-content: center;
  border-right: 2px solid #F2F2F2;
  padding: 10px;
}
.brand-content:last-child { border-right: none; }
.brand-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter .15s ease;
}
.brand-content:hover img { filter: grayscale(0%); }
.brand-content.hide-brand { display: none; }
.brands__more { text-align: center; }
.show-more-brands { width: 25%; }

/* Social icons in the top bar */
.above-social svg { width: 17px; height: 17px; }

/* ── Hero (idea-page variant) ─────────────────────────────── */
.hero { padding: 52px 0 46px; border-bottom: 1px solid var(--border); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr auto;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: 44px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.12;
  margin: 4px 0 16px;
}
.hero__lead {
  font-size: 16px;
  color: var(--muted-2);
  max-width: 460px;
  margin: 0 0 28px;
}

/* Check list */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--ink-2);
}
.check-list__mark {
  width: 26px; height: 26px;
  border-radius: 999px;
  border: 2px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-list__mark svg { width: 14px; height: 14px; }

.hero__medallion {
  width: 230px; height: 230px;
  border-radius: 999px;
  background: var(--blue-soft);
  border: 2px solid rgba(27,153,215,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.hero__medallion svg { width: 128px; height: 128px; }

/* ── USP bar ──────────────────────────────────────────────── */
.usp-bar { border-bottom: 1px solid var(--border); background: #fff; }
.usp-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 30px;
  padding-bottom: 30px;
}
.usp {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 24px;
  border-left: 1px solid var(--border);
}
.usp:first-child { border-left: 0; padding-left: 0; }
.usp__icon { color: var(--blue); flex-shrink: 0; }
.usp__icon svg { width: 44px; height: 44px; }
.usp__kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: block;
}
.usp__title {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  line-height: 1.2;
}
.usp__note { font-size: 13px; color: var(--muted); }

/* ── Category pills (overview grid) ───────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.cat-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(27,153,215,.10);
}
.cat-pill svg { width: 16px; height: 16px; opacity: .55; flex-shrink: 0; }

/* ── Per-category section: aside + product row ────────────── */
.cat-section { border-top: 1px solid var(--border); padding: 44px 0; }
.cat-section__grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* Bracket card — the "01." numbered card treatment.
   Corner accent = the reference's offset square (see .corner-tl). */
.bracket-card {
  position: relative;
  background: #fff;
  border: 4px solid rgba(16, 16, 16, .05);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bracket-card::before {
  content: '';
  position: absolute;
  top: -4px; left: -4px;
  width: 40px; height: 40px;
  background: var(--blue);
  z-index: -1;
}
.bracket-card__index {
  font-size: 34px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 14px;
}
.bracket-card__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.bracket-card__text {
  font-size: 15px;
  color: var(--muted-2);
  margin: 0 0 20px;
}
.bracket-card__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-2);
  margin: 0 0 10px;
}
.bracket-card ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.bracket-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.45;
}
.bracket-card ul li svg {
  width: 15px; height: 15px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
}
.bracket-card__cta { margin-top: auto; }

/* ── Product grid & card ──────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-right: none;
  background: #fff;
}
.product-grid__empty {
  grid-column: 1 / -1;
  padding: 56px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  border-right: 1px solid var(--border);
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 14px 12px 16px;
  border-right: 1px solid var(--border);
  background: #fff;
  transition: box-shadow .2s ease;
}
.product-card:hover { box-shadow: 0 6px 22px rgba(23,35,46,.10); }

.product-card__thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-card__thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.product-card:hover .product-card__thumb img { transform: scale(1.05); }

.onsale {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 13.7px;
  font-weight: 700;
  line-height: 1.5;
  padding: 5px;
  border-radius: var(--radius-badge);
  z-index: 2;
}
.product-card__wish {
  position: absolute;
  top: 6px; right: 6px;
  width: 32px; height: 32px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 5px rgba(0,0,0,.14);
  color: #9AA6B2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
  z-index: 2;
}
.product-card__wish svg { width: 17px; height: 17px; }
.product-card__wish:hover { transform: scale(1.1); }
.product-card__wish.is-active { color: var(--red); }
.product-card__wish.is-active svg { fill: currentColor; }

.product-card__sku {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 4px;
}
.product-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-2);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feature chips */
/* Mobile-first: every badge always visible as a tiny bordered chip.
   They wrap naturally; no hover/tooltip dependency. */
.product-badges {
  width: 100%;
  min-width: 0;
  margin-bottom: 10px;
}
.product-badges__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 2px 8px;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  background: #F8FAFC;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--dark);
  white-space: nowrap;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;          /* long prices drop to a second line as a unit */
  gap: 4px 8px;
  margin: auto 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);       /* reference: both prices blue, same size */
}
/* keep "2.399,00 €" from splitting across the currency symbol */
.product-card__price del,
.product-card__price ins,
.product-card__price span { white-space: nowrap; }
.product-card__price del {
  color: var(--blue);
  font-weight: 700;
  font-size: 18px;
}

/* Quantity stepper */
.bs-number {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  overflow: hidden;
  margin-bottom: 8px;
  align-self: center;
}
.bs-number button {
  border: none;
  background: #F6F8FC;
  color: rgba(0, 0, 0, .8);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  padding: 11px 18px 7px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.bs-number button:hover { background: #ECF1F7; }
.bs-number input {
  width: 44px;
  border: none;
  text-align: center;
  font-family: inherit;
  font-size: 16px;
  color: #666;
  padding: 6px 8px;
  outline: none;
  -moz-appearance: textfield;
}
.bs-number input::-webkit-inner-spin-button,
.bs-number input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.product-card__actions { display: grid; gap: 6px; }

/* ── FAQ accordion ────────────────────────────────────────── */
.accordion { display: grid; gap: 10px; max-width: 860px; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  overflow: hidden;
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .15s ease;
}
.accordion-btn:hover { background: var(--blue-soft); }
.accordion-btn svg {
  width: 18px; height: 18px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.accordion-item.open .accordion-btn svg { transform: rotate(180deg); }
.accordion-item.open .accordion-btn { color: var(--blue); }
.accordion-body {
  display: none;
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--muted-2);
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body p { margin: 0; }
.accordion-body a { color: var(--blue); font-weight: 500; }
.accordion-body a:hover { text-decoration: underline; }

/* ── Related ideas (blue band) ────────────────────────────── */
.ideas-band { background: var(--blue); color: #fff; padding: 44px 0; }
.ideas-band__grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.ideas-band__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.ideas-band__kicker {
  font-size: 14px;
  font-weight: 500;
  opacity: .9;
  margin: 0 0 6px;
}
/* min-width:0 at every nesting level: the nowrap description below sets a
   min-content floor that would otherwise push these tracks past the grid */
.ideas-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.idea-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  background: #fff;
  border-radius: var(--radius-btn);
  padding: 14px 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.idea-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.idea-card__icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-btn);
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.idea-card__icon svg { width: 21px; height: 21px; }
/* min-width:0 lets the text column shrink below its content width,
   which is what makes the ellipsis below actually engage */
.idea-card__body { min-width: 0; flex: 1; }
.idea-card__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 2px;
}
.idea-card__desc {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.idea-card__arrow { margin-left: auto; color: var(--blue); flex-shrink: 0; }
.idea-card__arrow svg { width: 16px; height: 16px; }

/* ── Related category chips ───────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.chip svg { width: 14px; height: 14px; opacity: .5; flex-shrink: 0; }
.chip__count { font-size: 13px; color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--blue); color: #fff; padding-top: 56px; }
.footer a { color: #fff; }
.footer a:hover { text-decoration: underline; }

.footer-newsletter {
  background: #fff;
  border-radius: 10px;
  padding: 34px 44px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 52px;
}
.footer-newsletter__title {
  font-size: 21.6px;
  font-weight: 700;
  color: #0D2B3E;
  margin: 0;
}
.footer-form { display: flex; gap: 10px; }
.footer-form input {
  flex: 1;
  height: 52px;
  border: 1px solid #D5DDE2;
  border-radius: 8px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.footer-form input:focus { border-color: var(--blue); }
.footer-form button {
  border: none;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 0 28px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.footer-form button:hover { background: var(--blue-dark); }

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 46px;
  padding-bottom: 44px;
}
.footer-heading {
  font-size: 13.6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 20px;
}
.footer-cols p { margin: 0 0 14px; font-size: 14.7px; line-height: 1.7; }
.footer-cols strong { font-weight: 700; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
}
.footer-list li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; }

.footer-payments {
  border-top: 1px solid rgba(255,255,255,.3);
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-pay-logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  padding: 7px 13px;
}
.pay-logo img { height: 22px; width: auto; display: block; }
.footer-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-cert { height: 85px; width: auto; }

.footer-bottom { background: rgba(0,0,0,.18); }
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
  flex-wrap: wrap;
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ── Mini cart drawer ─────────────────────────────────────── */
/* A fixed, inset:0 layer clips the off-screen drawer. A position:fixed
   drawer would otherwise escape any body-level clipping and widen the
   page by its own width whenever it sits parked off-screen. */
.drawer-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1000;
  pointer-events: none;
}
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23,35,46,.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.drawer {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: 100%;
  max-width: 400px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s ease;
  box-shadow: -8px 0 30px rgba(23,35,46,.18);
}
.drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--blue);
  color: #fff;
}
.drawer__head h3 { font-size: 18px; font-weight: 700; margin: 0; }
.drawer__close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
}
.drawer__close svg { width: 22px; height: 22px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.drawer__foot { border-top: 1px solid var(--border); padding: 18px 20px; display: grid; gap: 12px; }
.drawer__total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.drawer__empty { text-align: center; color: var(--muted); font-size: 15px; padding: 40px 0; }

.mini-item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mini-item img {
  width: 62px; height: 62px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
}
.mini-item__name { font-size: 13.5px; font-weight: 500; color: var(--ink-2); line-height: 1.3; }
.mini-item__meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.mini-item__remove {
  background: none;
  border: none;
  color: #A9B4BF;
  cursor: pointer;
  padding: 4px;
  display: flex;
}
.mini-item__remove:hover { color: var(--red); }
.mini-item__remove svg { width: 17px; height: 17px; }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-btn);
  box-shadow: 0 12px 32px rgba(23,35,46,.20);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink);
  animation: toast-in .3s ease-out;
  max-width: 340px;
}
.toast svg { width: 21px; height: 21px; color: var(--blue); flex-shrink: 0; }
@keyframes toast-in {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ── Utilities ────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.is-hidden { display: none !important; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-row { grid-template-columns: 250px minmax(0, 1fr); }
  .slide__title { font-size: 32px; }
  /* keep overflowing banner photos inside the viewport */
  .banner-actiom-item-container.first .banner-img { right: -12px; height: 230px; }
  .banner-actiom-item-container.second .banner-img { right: 0; height: 250px; }
}

@media (max-width: 991px) {
  .hero { padding: 38px 0; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__medallion { display: none; }
  .hero__title { font-size: 34px; }

  .usp-bar .container { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .usp { border-left: 0; padding: 0; }

  .cat-section__grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }

  .ideas-band__grid { grid-template-columns: 1fr; gap: 22px; }
  .ideas-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* home sections */
  .hero-row { grid-template-columns: 1fr; gap: 20px; }
  .slide { grid-template-columns: 1fr; text-align: center; min-height: 0; padding: 22px; }
  .slide__art { order: -1; }
  .slide__art img { max-height: 200px; }
  .slide__title { font-size: 28px; }
  .info-msg { grid-template-columns: 1fr; gap: 20px; }
  .info-msg__item { border-left: 0; padding: 0; }
  .banner-row { grid-template-columns: 1fr; gap: 30px; }
  .banner-actiom-item-container.first .banner-img { top: auto; bottom: -10px; right: -8px; height: 190px; }
  .banner-actiom-item-container.second .banner-img { top: auto; bottom: -8px; right: -4px; height: 210px; }
  .content-head__title { font-size: 28px; }
  .advantages { grid-template-columns: 1fr; gap: 28px; }
  .advantages__title { font-size: 30px; }
  .roi { grid-template-columns: 1fr; gap: 28px; }
  .watch-row { grid-template-columns: 1fr; }
  .watch { padding: 28px; text-align: center; }
  .watch-video iframe { height: 260px; }
  .watch__actions, .roi__actions { justify-content: center; }
  .map-canvas { height: 400px; }
  .map-pin { width: 56px; height: 56px; }

  .footer-newsletter { grid-template-columns: 1fr; padding: 26px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }

  .header-search { display: none; }
  /* search col hidden → drop the 3-col grid */
  .main-header .container { display: flex; justify-content: space-between; }
  .nav-links, .nav-offers { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(23,35,46,.12);
    z-index: 940;
  }
  .nav-links.is-open > li > a { padding: 14px 20px; border-bottom: 1px solid var(--border); width: 100%; }
  .main-nav .container { position: relative; }
  .nav-browse { padding: 0 16px; font-size: 14px; }
  .browse-panel { left: 0; right: 0; width: auto; }
}

@media (max-width: 767px) {
  .above-header { font-size: 13px; }
  /* stack the two link groups; a fixed min-height would clip the wrapped rows */
  .above-header .container {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .above-header__group { width: 100%; justify-content: center; row-gap: 2px; }
  .above-item { padding: 0 9px; }
  .above-header__group > .above-item { border-left-color: rgba(255,255,255,.28); }
  .above-header__group > .above-item:first-child { border-left: 0; padding-left: 9px; }

  .main-header .container { gap: 14px; min-height: 0; padding-top: 14px; padding-bottom: 14px; }
  .brand__logo-img { width: 170px; }
  .header-action span:not(.header-action__count) { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 28px; }

  .section { padding: 34px 0; }
  .cat-section { padding: 32px 0; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ideas-cards { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .advantages__grid { grid-template-columns: 1fr; }
  .spare-parts__title { font-size: 26px; }
  .map-canvas { height: 320px; }
  .map-pin { width: 44px; height: 44px; padding: 4px; }

  .section-head { gap: 6px; flex-direction: column; align-items: flex-start; }
  .footer-form { flex-direction: column; }
  .footer-form button { padding: 15px 34px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

/* ── Listing (shop + category) ────────────────────────────── */
.listing {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 34px 0 54px;
}
.filter-widget { margin-bottom: 32px; }
.filter-widget > h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink);
  margin: 0 0 16px;
}

/* Price slider — dual thumb + min/max inputs */
.price-slider__track {
  position: relative;
  height: 4px;
  background: #E1E7EE;
  border-radius: 2px;
  margin: 12px 2px 18px;
}
.price-slider__bar { position: absolute; top: 0; bottom: 0; background: var(--dark); }
.price-slider__track input[type=range] {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  pointer-events: none;
}
.price-slider__track input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--dark);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  cursor: pointer;
}
.price-slider__track input[type=range]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--dark);
  cursor: pointer;
}
.price-slider__inputs { display: flex; justify-content: space-between; gap: 10px; }
.price-slider__inputs input {
  width: 50%;
  min-width: 0;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-btn);
  padding: 7px 6px;
  font-family: inherit;
  font-size: 13px;
  text-align: center;
  color: var(--ink);
  outline: none;
}
.price-slider__inputs input:focus { border-color: var(--blue); }

/* Category tree — direct links, like the live wc-block widget
   (no checkboxes, no counts) */
.cat-filter, .wc-cat-list { list-style: none; margin: 0; padding: 0; }
.wc-cat-list { padding-left: 16px; }
.cat-filter li { margin: 0 0 10px; }
.cat-filter a {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.35;
  display: inline-block;
}
.cat-filter a:hover { color: var(--blue); }
.wc-cat-item.is-current > a { color: var(--blue); font-weight: 500; }

/* Subcategory tiles */
.subcat-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}
.subcat-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 12px;
  min-height: 82px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.subcat-tile img { width: 80px; height: 62px; object-fit: contain; flex-shrink: 0; }
.subcat-tile span { flex: 1; text-align: center; font-size: 15px; color: var(--muted-2); line-height: 1.3; }
.subcat-tile:hover { border-color: var(--blue); box-shadow: 0 6px 16px rgba(27,153,215,.10); }
.subcat-tile:hover span { color: var(--blue); }

/* Result bar */
.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.result-bar p { margin: 0; font-size: 14.5px; color: var(--muted-2); }
.result-bar select {
  border: 1px solid var(--border-2);
  border-radius: var(--radius-btn);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 15px;
  color: var(--ink-2);
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .dots { border: none; }

/* ── Product detail ───────────────────────────────────────── */
.pd-breadcrumb {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.7;
  padding: 24px 0 6px;
}
.pd-breadcrumb a:hover { color: var(--blue); }
.pd-breadcrumb .sep { margin: 0 4px; color: var(--muted); }

.pd-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px 300px;
  gap: 22px;
  align-items: start;
  padding: 14px 0 10px;
}
.pd-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 3px 14px rgba(23,35,46,.05);
}
.pd-title { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 0 0 18px; }

.pd-gallery { position: relative; }
.pd-gallery > .onsale { top: -10px; right: -10px; left: auto; z-index: 3; }
.pd-gallery__main {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  transition: background-color .15s ease, color .15s ease;
}
.pd-gallery__nav:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.pd-gallery__nav--prev { left: 0; }
.pd-gallery__nav--next { right: 0; }
.pd-gallery__thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pd-gallery__thumbs button {
  width: 72px; height: 72px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
}
.pd-gallery__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.pd-gallery__thumbs button.is-active { border-color: var(--blue); }

.pd-block { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 18px; }
.pd-block__title { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.pd-qty-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pd-qty-table td { padding: 9px 10px; border: 1px solid var(--border); }
.pd-qty-table td:last-child { color: var(--muted); font-size: 13.5px; }
.pd-qty-table strong { color: var(--blue); }

/* Buy card */
.pd-buy { text-align: center; }
.pd-ship { font-size: 14px; color: var(--muted-2); margin: 0 0 12px; }
.pd-sku { font-size: 13.5px; color: var(--blue); margin: 0 0 14px; }
.pd-price { font-size: 28px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.pd-price del { font-size: 17px; color: var(--muted); margin-right: 8px; text-decoration-color: var(--blue); }
.pd-price ins { text-decoration: none; }
.pd-vat { font-size: 13px; font-weight: 700; color: var(--muted-2); margin: 0 0 8px; }
.pd-stock { font-size: 14.5px; font-weight: 700; color: #23A455; margin: 0 0 16px; }
.pd-buy .bs-number { width: fit-content; margin: 0 auto 12px; }
.pd-buy__actions { display: grid; gap: 8px; }
.pd-secure { font-size: 13px; color: var(--muted-2); margin: 14px 0 0; }

.pd-service {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  text-align: left;
  font-size: 13.5px;
  color: var(--muted-2);
}
.pd-service p { margin: 0 0 10px; }
.pd-service__head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 10px;
}
.pd-service__head input { margin-top: 4px; accent-color: var(--blue); }
.pd-service__note { font-size: 12.5px; color: var(--muted); }

/* Trust card */
.pd-trust__row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 20px;
}
.pd-trust__row svg { width: 44px; height: 44px; color: var(--blue); flex-shrink: 0; }
.pd-freeship {
  background: var(--bg-soft);
  border-radius: 8px;
  text-align: center;
  padding: 24px 18px;
}
.pd-freeship__big { font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.pd-freeship p { margin: 0 0 12px; font-size: 13.5px; color: var(--muted-2); }
.pd-freeship svg { width: 40px; height: 40px; color: var(--blue); margin: 0 auto; }

/* Tabs + summary */
.pd-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 14px 0;
}
.pd-tabs {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 0 -1px;
  padding: 0;
  flex-wrap: wrap;
}
.pd-tabs button {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-2);
  cursor: pointer;
}
.pd-tabs button.is-active { background: #fff; color: var(--blue); position: relative; z-index: 1; }
.pd-panel {
  border: 1px solid var(--border);
  border-radius: 0 8px 8px 8px;
  background: #fff;
  padding: 26px;
  font-size: 15px;
  color: var(--muted-2);
  line-height: 1.7;
}
.pd-panel p { margin: 0 0 14px; }
.pd-attrs { width: 100%; border-collapse: collapse; }
.pd-attrs th, .pd-attrs td { padding: 11px 14px; border: 1px solid var(--border); text-align: left; }
.pd-attrs th { width: 220px; background: var(--bg-soft); color: var(--ink); }
.pd-spec-list { margin: 0; padding-left: 20px; }
.pd-spec-list li { margin-bottom: 8px; }

.pd-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.pd-summary h3 { font-size: 18px; font-weight: 700; margin: 0 0 14px; }
.pd-summary ul { list-style: disc; margin: 0; padding-left: 20px; font-size: 14.5px; color: var(--muted-2); }
.pd-summary li { margin-bottom: 9px; line-height: 1.5; }

.pd-related { padding: 26px 0 54px; }
.pd-related h2 { font-size: 24px; font-weight: 700; margin: 0 0 22px; }

/* ── #variants-selection ──────────────────────────────────────
   The reference's .custom-variations-table, rebuilt on this design
   system: commerce rectangles (3px) for the actions, the same hairline
   the buy card uses, blue for price. Scrolls inside its own container
   so the page body never scrolls sideways at 375px. */
.pd-variants {
  position: relative;
  margin: 26px 0 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  scroll-margin-top: 100px;   /* clears the sticky header on anchor jump */
}
.pd-variants__title { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.pd-variants__scroll { overflow-x: auto; }
.pd-variants__table {
  width: 100%;
  min-width: 720px;           /* below this the row collapses; scroll instead */
  border-collapse: collapse;
  font-size: 14.5px;
}
.pd-variants__table th,
.pd-variants__table td {
  border: 1px solid var(--border);
  padding: 11px 12px;
  text-align: center;
  vertical-align: middle;
}
.pd-variants__table thead th {
  background: var(--bg-soft);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.pd-variants__sku { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13.5px; }
.pd-variants__attr { font-weight: 700; white-space: nowrap; }
.pd-variants__price {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pd-variants__tiers { padding: 6px; }
.pd-variants__qty .bs-number { margin: 0 auto; width: fit-content; }
.pd-variants__qty input[disabled] {
  width: 56px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  text-align: center;
  color: var(--muted);
  background: var(--bg-soft);
}
.pd-variants__cell-actions { min-width: 190px; }
.pd-variants__actions { display: grid; gap: 6px; justify-items: stretch; }
.pd-variants__actions .btn { width: 100%; white-space: nowrap; }
.pd-variants__actions .btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}
.pd-variants__oos {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}
.pd-variants__note { margin: 14px 0 0; font-size: 13px; color: var(--muted-2); }

/* Nested tier mini-table (reference: .bs-tier-mini) */
.pd-tier { border-collapse: collapse; margin: 0 auto; font-size: 12.5px; }
.pd-tier th,
.pd-tier td { border: 1px solid var(--border); padding: 4px 9px; white-space: nowrap; }
.pd-tier th { background: var(--bg-soft); font-weight: 700; color: var(--muted-2); }
.pd-tier td { color: var(--blue); font-weight: 700; }
.pd-tier__none { font-size: 13px; color: var(--muted); }

.pd-price__sep { color: var(--muted); font-weight: 400; }

/* Listing + product responsive */
@media (max-width: 1199px) {
  .pd-top { grid-template-columns: minmax(0, 1fr) 280px; }
  .pd-trust { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  .listing { grid-template-columns: 1fr; gap: 26px; }
  .listing__sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
  .subcat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-top { grid-template-columns: 1fr; }
  .pd-body { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .listing__sidebar { grid-template-columns: 1fr; }
  .subcat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Get offer to PDF modal (port of the bs-Get-Offer plugin) ── */
#bs-offer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, .85);
  z-index: 1300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-2);
}
.bs-offer-spinner {
  width: 44px; height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: bs-spin .8s linear infinite;
}
@keyframes bs-spin { to { transform: rotate(360deg); } }

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(23, 35, 46, .55);
  z-index: 1200;
  overflow-y: auto;
  padding: 24px 12px;
}
.modal.show { display: block; }
body.offer-modal-open { overflow: hidden; }
.modal-dialog { max-width: 1140px; margin: 0 auto; min-height: calc(100% - 48px); display: flex; align-items: center; }
.modal-content {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(23, 35, 46, .3);
}
.modal-body { padding: 28px; }
.close-modal-absolute {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  z-index: 2;
}
.close-modal-absolute:hover { color: var(--ink); }

.offer-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.mini-offer-list {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}
.mini-offer-list h3 { font-size: 20px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.offer-count-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 2px 10px;
}
.offer-head { margin-bottom: 14px; }
.offer-head__sub { margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.offer-step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}
.offer-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
}
.offer-privacy { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); text-align: center; }
#bs-send-offer:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.offer-items { list-style: none; margin: 0 0 16px; padding: 0; max-height: 340px; overflow-y: auto; }
.bs-offer-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 8px;
}
.bs-offer-item img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--border); border-radius: 4px; flex-shrink: 0; }
.offer-item__body { min-width: 0; flex: 1; padding-right: 18px; }
.offer-item__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 4px;
}
.offer-item__qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 3px; overflow: hidden; margin-right: 8px; }
.offer-item__qty button { border: none; background: #F6F8FC; font-size: 14px; font-weight: 600; padding: 3px 9px; cursor: pointer; }
.offer-item__qty input { width: 38px; border: none; text-align: center; font-family: inherit; font-size: 13px; padding: 3px 0; outline: none; -moz-appearance: textfield; }
.offer-item__qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.offer-item__unit { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.offer-item__total {
  align-self: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  padding-right: 16px;
}
.bs-offer-remove-mini {
  position: absolute;
  top: 8px; right: 0;
  font-size: 16px;
  color: #A9B4BF;
  line-height: 1;
}
.bs-offer-remove-mini:hover { color: var(--red); }
.offer-empty { padding: 18px 0; color: var(--muted); font-size: 14px; text-align: center; line-height: 2; }
.offer-empty__link { color: var(--blue); font-weight: 600; }
.offer-empty__link:hover { text-decoration: underline; }

.offer-costs { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
.offer-costs td { padding: 7px 0; border-bottom: 1px solid var(--border); }
.offer-costs td:last-child { text-align: right; }
.offer-costs__total td { font-weight: 700; font-size: 16px; }
.offer-vat-note { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
#bs-send-offer {
  width: 100%;
  border: none;
  border-radius: 35px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
}
#bs-send-offer:hover { filter: brightness(.92); }

.offer-section-label { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
#getOfferModal .form-row { margin: 0 0 12px; }
#getOfferModal .form-row label { display: block; font-size: 13px; margin-bottom: 4px; color: var(--ink-2); }
#getOfferModal .form-row .required { color: var(--red); }
#getOfferModal input[type=text],
#getOfferModal input[type=email],
#getOfferModal input[type=tel],
#getOfferModal input[type=number],
#getOfferModal select,
#getOfferModal textarea {
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  background: #fff;
}
#getOfferModal input:focus,
#getOfferModal select:focus,
#getOfferModal textarea:focus { border-color: var(--blue); }
.offer-radios { display: inline-flex; gap: 6px; margin-top: 4px; }
.offer-radios input { position: absolute; opacity: 0; pointer-events: none; }
.offer-radios label {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 5px 20px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.offer-radios input:checked + label {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.offer-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.offer-check { margin: 4px 0 12px; }
.offer-check label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.offer-check input { accent-color: var(--blue); }

#getOfferModal .woocommerce-error {
  background: #FDF3F3;
  border-left: 3px solid var(--red);
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 12px;
}
#getOfferModal .woocommerce-info {
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  padding: 8px 12px;
  font-size: 12.5px;
  margin: -6px 0 12px;
}

@media (max-width: 991px) {
  .offer-row { grid-template-columns: 1fr; }
  .modal-body { padding: 20px; }
}

/* ── Cart & checkout pages ────────────────────────────────── */
.page-title { font-size: 32px; font-weight: 700; margin: 0; padding: 28px 0 22px; }

.cart-empty { padding: 10px 0 60px; }
.cart-empty__msg { font-size: 17px; color: var(--muted-2); margin: 0 0 22px; }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
  padding-bottom: 54px;
}

.cart-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cart-table th, .cart-table td { padding: 12px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.cart-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); border-bottom: 2px solid var(--border); }
.cart-table .num { text-align: right; }
.cart-col-remove { width: 34px; padding-left: 0; }
.cart-remove { font-size: 20px; color: #A9B4BF; line-height: 1; }
.cart-remove:hover { color: var(--red); }
.cart-col-thumb { width: 76px; }
.cart-col-thumb img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--border); border-radius: 4px; }
.cart-col-name a { font-weight: 500; color: var(--ink); }
.cart-col-name a:hover { color: var(--blue); }
.cart-sku { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cart-line-discount { display: block; font-size: 12px; color: #23A455; margin-top: 2px; }
.cart-table .bs-number { margin: 0; }
.cart-table .bs-number button { padding: 7px 13px 5px; font-size: 16px; }
.cart-table .bs-number input { width: 40px; font-size: 14px; }

.cart-actions { padding: 18px 0; }
.coupon { display: flex; gap: 10px; max-width: 380px; }
.coupon input {
  flex: 1;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.coupon input:focus { border-color: var(--blue); }
.cart-actions .woocommerce-error {
  background: #FDF3F3;
  border-left: 3px solid var(--red);
  padding: 10px 14px;
  font-size: 13px;
  margin: 12px 0 0;
  max-width: 380px;
}

.cart-totals, .checkout-review {
  background: #fff;
  border: 4px solid rgba(16, 16, 16, .05);
  padding: 22px;
}
.cart-totals h2, .checkout-review h2 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.cart-totals table, .review-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cart-totals td, .review-table th, .review-table td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; }
.cart-totals .num, .review-table .num { text-align: right; }
.cart-totals__total td { font-weight: 700; font-size: 17px; }
.cart-totals__note { font-size: 12.5px; color: var(--muted); margin: 12px 0 14px; }
.checkout-button { padding: 13px; font-size: 15px; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 34px;
  align-items: start;
  padding-bottom: 54px;
}
.checkout-fields h2 { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.checkout-fields .form-row { margin: 0 0 12px; }
.checkout-fields .form-row label { display: block; font-size: 13px; margin-bottom: 4px; color: var(--ink-2); }
.checkout-fields .form-row .required { color: var(--red); }
.checkout-fields input[type=text],
.checkout-fields input[type=email],
.checkout-fields input[type=tel],
.checkout-fields select,
.checkout-fields textarea {
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  background: #fff;
}
.checkout-fields input:focus,
.checkout-fields select:focus,
.checkout-fields textarea:focus { border-color: var(--blue); }
.checkout-fields .woocommerce-error {
  background: #FDF3F3;
  border-left: 3px solid var(--red);
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0 0 12px;
}
.review-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); }

.payment-methods { margin: 16px 0 4px; display: grid; gap: 10px; }
.payment-method {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.payment-method input { margin-top: 3px; accent-color: var(--blue); }

.order-received { padding: 10px 0 60px; }
.order-received__msg { font-size: 19px; color: #23A455; font-weight: 500; margin: 0 0 20px; }
.order-overview { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 0 34px; }
.order-overview li {
  font-size: 13px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 8px 0;
}
.order-overview strong { display: block; font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.order-received__note { font-size: 13px; color: var(--muted); margin: 0 0 22px; }

@media (max-width: 991px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 30px 76px 1fr; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .cart-table td { display: block; border: none; padding: 2px 0; }
  .cart-table td.num { text-align: left; }
  .cart-table .cart-col-name { grid-column: 3; }
  .cart-table td:nth-child(4), .cart-table td:nth-child(5), .cart-table td:nth-child(6) { grid-column: 3; }
}

/* ── Taxonomy description (live: .bs-taxonomy-description-container) ── */
.bs-taxonomy-description-container {
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.bs-taxonomy-description-container h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px;
}
.bs-taxonomy-description-container p { margin: 0 0 14px; }
.bs-taxonomy-description-container ul { margin: 0 0 14px; padding-left: 22px; }
.bs-taxonomy-description-container li { margin-bottom: 6px; }
.bs-taxonomy-description-container a { color: var(--blue); }
.bs-taxonomy-description-container a:hover { text-decoration: underline; }

/* ── Product videos ("Watch it in action") ────────────────── */
.pd-videos { padding: 26px 0; }
.pd-videos h2 { font-size: 24px; font-weight: 700; margin: 0 0 20px; }
.pd-videos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.pd-video {
  background: #fff;
  border: 4px solid rgba(16, 16, 16, .05);
  padding: 12px;
}
.pd-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* ── Product relation groups (Spare parts / Compatible with) ── */
.pd-group { padding: 26px 0; }
.pd-group__head {
  padding-bottom: 12px;
  margin-bottom: 22px;
}
.pd-group__head h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.pd-group__head p { margin: 0; font-size: 14px; color: var(--muted); }
.pd-group__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}
.relation-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px 18px;
  min-height: 112px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.relation-card:hover { border-color: var(--blue); box-shadow: 0 6px 16px rgba(27, 153, 215, .10); }
.relation-card__img { flex-shrink: 0; }
.relation-card__img img { width: 80px; height: 80px; object-fit: contain; }
.relation-card__body { flex: 1; min-width: 0; }
.relation-card__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-2);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.relation-card__name:hover { color: var(--blue); }
.relation-card__sku { font-size: 12px; color: var(--muted); }
.relation-card__buy {
  text-align: right;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  padding-left: 18px;
  margin-left: 4px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.relation-card__price {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
  white-space: nowrap;
}
.relation-card__buy .btn { padding: 7px 20px; font-size: 13px; }

/* ── Sticky buy bar ───────────────────────────────────────── */
.sticky-buy {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(23, 35, 46, .14);
  transform: translateY(100%);
  transition: transform .25s ease;
  z-index: 900;
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy .container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.sticky-buy img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.sticky-buy__name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buy__price { font-size: 17px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.sticky-buy .bs-number { margin: 0; }
.sticky-buy .bs-number button { padding: 8px 14px 6px; }
.sticky-buy .btn { white-space: nowrap; padding: 10px 18px; }

@media (max-width: 991px) {
  .pd-videos__grid, .pd-group__grid { grid-template-columns: 1fr; }
  .sticky-buy__name { display: none; }
}

/* ── Relation groups: side-by-side zone ───────────────────── */
/* Both groups exist → two columns; one group → full width.
   Cards stack inside each column. */
.pd-groups-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  align-items: start;
}
.pd-groups-row--single { grid-template-columns: 1fr; }
.pd-groups-row .pd-group__grid { grid-template-columns: 1fr; gap: 14px; }
/* Full-width single group keeps two cards per row */
.pd-groups-row--single .pd-group__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }

/* ── Quick links in the buy card ──────────────────────────── */
.pd-quicklinks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
}
.pd-quicklink {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color .15s ease, color .15s ease;
}
.pd-quicklink:hover { background: var(--blue); color: #fff; }
.pd-quicklink span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.pd-quicklink:hover span { background: #fff; color: var(--blue); }

@media (max-width: 991px) {
  .pd-groups-row,
  .pd-groups-row--single .pd-group__grid { grid-template-columns: 1fr; }
}


/* Play badge on the thumbnail for products with videos */
.card-video-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(23, 35, 46, .72);
  color: #fff;
  font-size: 11px;
  padding-left: 2px;
}
