/* ==================================================================
   The School Bag Company — main stylesheet
   Square edges throughout. Work Sans (body) + Archivo (headings).
   ================================================================== */

:root {
  --theme-color1: #ffd15b;
  --theme-color2: #0f1114;
  --theme-color3: #005252;
  --theme-color4: #87c03d;
  --theme-color1-rgb: 255, 209, 91;
  --theme-color2-rgb: 15, 17, 20;
  --theme-color3-rgb: 0, 82, 82;
  --theme-color4-rgb: 135, 192, 61;
  --theme-color1-text-color: #222222;
  --theme-color2-text-color: #ffffff;
  --theme-color3-text-color: #ffffff;
  --theme-color4-text-color: #ffffff;
  --hover-theme-color: #ffd15b;
  --theme-color-white: #ffffff;
  --theme-color-white-rgb: 255, 255, 255;
  --theme-color-light-gray: #F6F3EC;
  --theme-color-lighter: #F8F8F8;
  --theme-color-lighter2: #F6F6F6;
  --theme-color-silver: #F5F5F5;
  --review-color: #FFAA18;
  --theme-color-black: #000000;
  --theme-color-black-rgb: 0, 0, 0;
  --theme-color-dark: #051A25;
  --theme-color-dark2: #1B1F12;
  --theme-color-gray: #222222;
  --gradient-1: linear-gradient(181.35deg, rgba(5, 15, 19, 0) 1.15%, rgba(2, 223, 130, 0.1) 98.91%);
  --text-color: #707070;
  --headings-color: #24201f;
  --link-color: var(--theme-color1);
  --link-hover-color: var(--theme-color1);
  --body-font-family: "Work Sans", sans-serif;
  --heading-font-family: "Archivo", "Work Sans", sans-serif;
  --body-bg: #ffffff;
  --bg-color: #F3F6F0;
  --body-font-size: 16px;
  --body-line-height: 1.9;
  --body-font-weight: 400;
  --line-height-heading-h1: 1.2625em;
  --line-height-heading-h2: 1.2em;
  --line-height-heading: 1.4em;
  --line-height-heading-small: 1.5em;
  --h1-font-size: 70px;
  --h2-font-size: 48px;
  --h3-font-size: 30px;
  --h4-font-size: 24px;
  --h5-font-size: 20px;
  --h6-font-size: 16px;

  --border: #e4e4e0;
  --border-dark: rgba(255, 255, 255, .14);
  --shell: 1320px;
  --gut: 24px;
}

/* ---------------------------------------------------------------- reset */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--text-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--theme-color3); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--theme-color2); }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font-family);
  color: var(--headings-color);
  font-weight: 700;
  margin: 0 0 .6em;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(38px, 5.4vw, var(--h1-font-size)); line-height: var(--line-height-heading-h1); }
h2 { font-size: clamp(30px, 3.7vw, var(--h2-font-size)); line-height: var(--line-height-heading-h2); }
h3 { font-size: clamp(23px, 2.4vw, var(--h3-font-size)); line-height: var(--line-height-heading); }
h4 { font-size: var(--h4-font-size); line-height: var(--line-height-heading); }
h5 { font-size: var(--h5-font-size); line-height: var(--line-height-heading-small); }
h6 { font-size: var(--h6-font-size); line-height: var(--line-height-heading-small); }

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
  display: inline-block;
  vertical-align: middle;
  height: auto;
  align-self: center;
  flex: 0 0 auto;
  margin-right: .4em;
  position: relative;
  top: -.08em;
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .3em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--theme-color2); color: #fff; padding: 12px 22px;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--theme-color3); outline-offset: 2px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }

/* Grid children default to min-width:auto, so a 1fr track cannot shrink below
   its content and pushes the page wider than the viewport. Let every grid
   track shrink properly, and never let a long word widen a container. */
.shop-layout > *, .page-layout > *, .basket-layout > *, .checkout-layout > *,
.pd-layout > *, .about-split > *, .tab-cols > *, .duo-grid > *, .footer-grid > *,
.form-grid > *, .product-grid > *, .cat-grid > *, .review-grid > *, .info-grid > *,
.usp-grid > *, .text-2col > *, .tick-grid > *, .about-figures > *, .done-grid > *,
.cookie-inner > *, .cookie-detail > *, .contact-cards > * { min-width: 0; }

body { overflow-wrap: break-word; }
.head-row, .shop-bar { max-width: 100%; }

/* icons */
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
.ic-xs { width: 13px; height: 13px; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 28px; height: 28px; }
.ic-xl { width: 34px; height: 34px; }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--heading-font-family);
  font-weight: 700; font-size: 13px; letter-spacing: .11em; text-transform: uppercase;
  line-height: 1; padding: 17px 30px; border: 1px solid transparent; cursor: pointer;
  background: var(--theme-color2); color: #fff; transition: background .2s ease, color .2s ease, border-color .2s ease;
  border-radius: 0; text-align: center;
}
.btn:hover { background: var(--theme-color3); color: #fff; }
.btn .ic { width: 17px; height: 17px; }

.btn-accent { background: var(--theme-color1); color: var(--theme-color1-text-color); }
.btn-accent:hover { background: var(--theme-color2); color: #fff; }

.btn-teal { background: var(--theme-color3); color: #fff; }
.btn-teal:hover { background: var(--theme-color1); color: var(--theme-color1-text-color); }

.btn-outline { background: transparent; color: var(--theme-color2); border-color: var(--theme-color2); }
.btn-outline:hover { background: var(--theme-color2); color: #fff; }

.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: var(--theme-color1); color: var(--theme-color1-text-color); border-color: var(--theme-color1); }

.btn-sm { padding: 12px 20px; font-size: 12px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; }

/* section headings */

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--heading-font-family); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--theme-color3);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--theme-color1); }
.eyebrow-light { color: var(--theme-color1); }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 72px 0; }
.section-dark { background: var(--theme-color2); color: rgba(255,255,255,.72); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-gray { background: var(--theme-color-light-gray); }
.section-lighter { background: var(--theme-color-lighter); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-bottom: 0; }

.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.head-row .section-head { margin-bottom: 0; }

/* ================================================================ HEADER */

.site-header { position: relative; z-index: 60; background: #fff; }

.header-top { border-bottom: 1px solid var(--border); }
.header-top-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 96px;
}

.logo { display: inline-flex; align-items: center; gap: 13px; color: var(--theme-color2); }
.logo-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--theme-color2); color: var(--theme-color1); flex: 0 0 auto;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-line1 {
  font-family: var(--heading-font-family); font-weight: 800; font-size: 19px;
  letter-spacing: -.02em; text-transform: uppercase;
}
.logo-line2 {
  font-family: var(--heading-font-family); font-weight: 600; font-size: 12px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--theme-color3);
}
.logo-light { color: #fff; }
.logo-light .logo-mark { background: var(--theme-color1); color: var(--theme-color2); }
.logo-light .logo-line2 { color: var(--theme-color1); }

.header-contact { display: flex; gap: 34px; }
.hc-item { display: flex; align-items: center; gap: 11px; color: var(--text-color); }
.hc-item .ic { color: var(--theme-color3); }
.hc-item span span, .hc-item > span { display: block; }
.hc-item strong {
  display: block; font-family: var(--heading-font-family); font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--headings-color); line-height: 1.6;
}
.hc-item em { font-style: normal; font-size: 14px; line-height: 1.5; }
a.hc-item:hover strong { color: var(--theme-color3); }

.header-tools { display: flex; align-items: center; gap: 4px; }
.tool {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 14px; color: var(--theme-color2); min-width: 68px;
}
.tool:hover { color: var(--theme-color3); }
.tool-label {
  font-family: var(--heading-font-family); font-size: 10px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; line-height: 1;
}
.tool-count {
  position: absolute; top: 2px; right: 6px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--theme-color1); color: var(--theme-color1-text-color);
  font-family: var(--heading-font-family); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.tool-basket .tool-count { background: var(--theme-color3); color: #fff; }

.nav-toggle {
  display: none; background: var(--theme-color2); color: #fff; border: 0;
  width: 46px; height: 46px; place-items: center; cursor: pointer;
}

.header-nav { background: var(--theme-color2); }
.header-nav-inner { display: flex; align-items: center; justify-content: center; gap: 24px; }

.mainnav-list { display: flex; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.mainnav-list > li { position: relative; margin: 0; }
.mainnav-list > li > a {
  display: flex; align-items: center; gap: 6px; padding: 19px 26px; color: rgba(255,255,255,.82);
  font-family: var(--heading-font-family); font-size: 13px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; line-height: 1;
}
.mainnav-list > li > a:hover,
.mainnav-list > li > a.active { color: var(--theme-color1); background: rgba(255,255,255,.05); }

/* ========================================================= USP / PROMISE */

.usp { background: var(--theme-color3); color: #fff; }
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.usp-item {
  display: flex; align-items: center; gap: 18px; padding: 34px 34px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.usp-item:last-child { border-right: 0; }
.usp-item:first-child { padding-left: 0; }
.usp-ic {
  width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto;
  background: rgba(255,255,255,.1); color: var(--theme-color1);
}
.usp-item h3 {
  color: #fff; font-size: 18px; margin: 0 0 3px; letter-spacing: 0;
  text-transform: uppercase; font-size: 15px; letter-spacing: .07em;
}
.usp-item p { margin: 0; font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.6; }

/* ============================================================== PRODUCTS */

.product-grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--border);
  display: flex; flex-direction: column; transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--theme-color2); box-shadow: 0 18px 38px rgba(0,0,0,.08); }

.card-media { position: relative; overflow: hidden;  }
.card-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }

.card-badge {
  position: absolute; top: 0; left: 0; background: var(--theme-color1);
  color: var(--theme-color1-text-color); padding: 7px 13px;
  font-family: var(--heading-font-family); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1;
}
.card-badge.badge-dark { background: var(--theme-color2); color: #fff; }

.card-fav {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px;
  display: grid; place-items: center; background: rgba(255,255,255,.94); border: 1px solid var(--border);
  color: var(--theme-color2); cursor: pointer; transition: all .18s ease;
}
.card-fav:hover, .card-fav.is-active { background: var(--theme-color3); border-color: var(--theme-color3); color: #fff; }
.card-fav.is-active svg { fill: currentColor; }

.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.card-cat {
  font-family: var(--heading-font-family); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--theme-color3); margin-bottom: 8px;
}
.card-title { font-size: 21px; margin: 0 0 8px; line-height: 1.25; }
.card-title a { color: var(--headings-color); }
.card-title a:hover { color: var(--theme-color3); }
.card-desc { font-size: 14px; line-height: 1.65; margin: 0 0 16px; flex: 1 1 auto; }
.card-meta {
  display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-color); margin-bottom: 16px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta .ic { width: 14px; height: 14px; color: var(--theme-color3); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-price { font-family: var(--heading-font-family); font-size: 24px; font-weight: 800; color: var(--headings-color); line-height: 1; }
.card-swatches { display: flex; gap: 5px; margin-bottom: 14px; }
.sw { width: 15px; height: 15px; border: 1px solid var(--border); }
.sw-black { background: #16181c; }
.sw-red { background: #a51c24; }
.sw-blue { background: #1c3a6e; }

/* =========================================================== CATEGORIES */

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card { position: relative; display: block; overflow: hidden; background: #00522aa8; }
.cat-card img { width: 100%; height: 340px; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.06); }

/* readability mask — dark at the base, clearing towards the top */
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top,
    rgba(var(--theme-color2-rgb), .95) 0%,
    rgba(var(--theme-color2-rgb), .90) 16%,
    rgba(var(--theme-color2-rgb), .66) 40%,
    rgba(var(--theme-color2-rgb), .30) 64%,
    rgba(var(--theme-color2-rgb), 0) 88%);
  transition: opacity .35s ease;
}
.cat-card:hover::after { opacity: .88; }

.cat-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px 24px; color: #fff; }
.cat-body h3 { color: #fff; font-size: 22px; margin: 0 0 4px; }
.cat-body span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--theme-color1); }
.cat-body p { margin: 8px 0 0; font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.55; }
.cat-arrow {
  position: absolute; top: 0; right: 0; z-index: 3; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--theme-color1); color: var(--theme-color1-text-color);
  transform: translateY(-100%); transition: transform .25s ease;
}
.cat-card:hover .cat-arrow { transform: none; }

/* =============================================================== ABOUT */

.about-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: 580px; object-fit: cover; }
.about-tag {
  position: absolute; right: -30px; top: 40px; background: var(--theme-color2); color: #fff;
  padding: 26px 28px; max-width: 230px;
}
.about-tag strong {
  display: block; font-family: var(--heading-font-family); font-size: 42px; font-weight: 800;
  color: var(--theme-color1); line-height: 1;
}
.about-tag span { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.5; display: block; margin-top: 6px; }

.tick-list { list-style: none; padding: 0; margin: 0 0 32px; }
.tick-list li {
  display: flex; gap: 13px; align-items: flex-start; padding: 13px 0;
  border-bottom: 1px solid var(--border); margin: 0;
}
.tick-list li:first-child { padding-top: 0; }
.tick-list .ic { color: var(--theme-color4); margin-top: 5px; }
.tick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 46px; }
.tick-grid li:nth-child(2) { padding-top: 0; }

/* text-only company block */
.about-copy { max-width: 1000px; margin: 0 auto; }
.about-copy .lead { text-align: center; margin-bottom: 36px; }
.text-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-bottom: 14px; }
.text-2col p { margin-bottom: 0; }
.about-figures {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); margin: 40px 0 36px;
}
.about-figures div { background: var(--theme-color-light-gray); padding: 26px 22px; text-align: center; }
.about-figures strong {
  display: block; font-family: var(--heading-font-family); font-size: 34px; font-weight: 800;
  color: var(--headings-color); line-height: 1.1;
}
.about-figures span { font-size: 13px; letter-spacing: .04em; }
.tick-list strong { color: var(--headings-color); font-weight: 600; }
.section-dark .tick-list li { border-color: var(--border-dark); }
.section-dark .tick-list strong { color: #fff; }

/* ============================================================= REVIEWS */

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: #fff; border: 1px solid var(--border); padding: 32px 30px;
  display: flex; flex-direction: column;
}
.review-stars { display: flex; gap: 3px; color: var(--review-color); margin-bottom: 16px; }
.review-stars .ic { width: 17px; height: 17px; fill: currentColor; }
.review-stars .ic.off { fill: none; opacity: .35; }
.review-quote { color: var(--headings-color); font-size: 15px; line-height: 1.75; margin-bottom: 22px; flex: 1 1 auto; }
.review-who { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); padding-top: 18px; }
.review-who img { width: 46px; height: 46px; object-fit: cover; flex: 0 0 auto; }
.review-who strong { display: block; font-family: var(--heading-font-family); color: var(--headings-color); font-size: 15px; line-height: 1.4; }
.review-who span { font-size: 13px; color: var(--text-color); }

/* ========================================================= SPLIT BLOCKS */

.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 440px; padding: 44px 44px; overflow: hidden; background: var(--theme-color2);
}
.duo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: transform .6s ease; }
.duo:hover img { transform: scale(1.05); }
.duo-content { position: relative; color: #fff; max-width: 440px; }
.duo-content h3 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.duo-content p { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
.duo-kicker {
  display: inline-block; background: var(--theme-color1); color: var(--theme-color1-text-color);
  font-family: var(--heading-font-family); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; margin-bottom: 16px;
}

/* ============================================================== BANNER */

.cta-band { background: var(--theme-color1); color: var(--theme-color1-text-color); padding: 62px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; color: var(--theme-color1-text-color); }
.cta-band p { margin: 0; font-size: 16px; max-width: 640px; color: rgba(34,34,34,.8); }

/* ============================================================ PAGE HEAD */

.page-head { background: var(--theme-color2); color: #fff; padding: 74px 0 78px; }
.page-head h1 { color: #fff; margin-bottom: 14px; font-size: clamp(34px, 4.4vw, 56px); }
.page-head p { color: rgba(255,255,255,.72); max-width: 720px; font-size: 17px; margin: 0; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 9px; align-items: center; list-style: none;
  padding: 0; margin: 0 0 18px; font-size: 13px;
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.55); }
.crumbs a { color: var(--theme-color1); }
.crumbs a:hover { color: #fff; }
.crumbs .ic { width: 12px; height: 12px; opacity: .5; }

/* ============================================================== ARTICLE */

.article { max-width: 100%; }
.article h2 { margin-top: 8px; }
.article h3 { margin-top: 40px; font-size: 24px; }
.article h4 { margin-top: 30px; font-size: 19px; }
.article p, .article li { font-size: 16px; line-height: 1.85; }
.article ul, .article ol { padding-left: 20px; margin-bottom: 1.4em; }
.article > *:first-child { margin-top: 0; }
.article strong { color: var(--headings-color); font-weight: 600; }
.article a { color: var(--theme-color3); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--theme-color2); }

.lead { font-size: 19px; line-height: 1.75; color: var(--headings-color); margin-bottom: 30px; }

.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }

.aside-box { border: 1px solid var(--border); padding: 28px 26px; margin-bottom: 24px; background: #fff; }
.aside-box h4 {
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { margin: 0; border-bottom: 1px solid var(--border); }
.aside-links li:last-child { border-bottom: 0; }
.aside-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0; color: var(--headings-color); font-size: 15px; font-weight: 500;
}
.aside-links a:hover, .aside-links a.active { color: var(--theme-color3); }
.aside-links .ic { width: 13px; height: 13px; opacity: .5; }
.aside-box.dark { background: var(--theme-color2); border-color: var(--theme-color2); color: rgba(255,255,255,.72); }
.aside-box.dark h4 { color: #fff; border-color: var(--border-dark); }
.aside-box.dark p { font-size: 14px; line-height: 1.7; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 34px 0 10px; }
.info-card { border: 1px solid var(--border); padding: 30px 26px; background: #fff; }
.info-card .ic { color: var(--theme-color3); margin-bottom: 16px; }
.info-card h4 { font-size: 18px; margin-bottom: 10px; }
.info-card p { font-size: 14px; line-height: 1.7; margin: 0; }

.numbered { counter-reset: step; list-style: none; padding: 0; margin: 30px 0; }
.numbered > li {
  counter-increment: step; position: relative; padding: 0 0 26px 62px; margin: 0;
  border-left: 1px solid var(--border); margin-left: 19px;
}
.numbered > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.numbered > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: -19px; top: 0;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--theme-color2); color: var(--theme-color1);
  font-family: var(--heading-font-family); font-size: 13px; font-weight: 700;
}
.numbered h4 { margin: 6px 0 8px; font-size: 19px; }
.numbered p { margin: 0; font-size: 15px; line-height: 1.75; }

.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0 30px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 14px 18px; border: 1px solid var(--border); font-size: 15px; vertical-align: top;
}
.spec-table th { background: var(--theme-color-light-gray); color: var(--headings-color); font-weight: 600; width: 34%; }
.spec-table thead th { width: auto; font-family: var(--heading-font-family); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }

.callout {
  border-left: 4px solid var(--theme-color1); background: var(--theme-color-light-gray);
  padding: 24px 28px; margin: 30px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout h4 { margin-top: 0; }

.faq-item { border: 1px solid var(--border); margin-bottom: 12px; background: #fff; }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; font-family: var(--heading-font-family); font-weight: 600;
  font-size: 17px; color: var(--headings-color); line-height: 1.4;
}
.faq-q .ic { color: var(--theme-color3); transition: transform .25s ease; flex: 0 0 auto; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 22px; font-size: 15px; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }
.faq-a p:last-child { margin-bottom: 0; }

/* ================================================================= SHOP */

.shop-layout { display: grid; grid-template-columns: 268px 1fr; gap: 46px; align-items: start; }
.filter-block { border: 1px solid var(--border); padding: 24px 22px; margin-bottom: 20px; }
.filter-block h4 {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin: 0; }
.filter-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0; color: var(--headings-color); font-size: 15px;
}
.filter-list a span { font-size: 12px; color: var(--text-color); }
.filter-list a:hover, .filter-list a.active { color: var(--theme-color3); font-weight: 600; }

.shop-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--border);
}
.shop-count { font-size: 14px; margin: 0; }
.shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-sort label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
select, .fld {
  border: 1px solid var(--border); background: #fff; padding: 12px 14px; font-size: 15px;
  border-radius: 0; width: 100%; color: var(--headings-color);
}
select:focus, .fld:focus { outline: none; border-color: var(--theme-color3); }
.shop-sort select { width: auto; padding: 10px 14px; }

.empty-state { border: 1px solid var(--border); padding: 60px 40px; text-align: center; }
.empty-state .ic { width: 46px; height: 46px; color: var(--theme-color3); margin: 0 auto 18px; }

/* ============================================================== PRODUCT */

.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.pd-media { position: relative; border: 1px solid var(--border); }
.pd-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.pd-media .card-badge { top: 0; left: 0; }

.pd-info h1 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; }
.pd-cat {
  font-family: var(--heading-font-family); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--theme-color3); margin-bottom: 12px; display: block;
}
.pd-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 14px; }
.pd-rating .review-stars { margin: 0; }
.pd-price {
  font-family: var(--heading-font-family); font-size: 40px; font-weight: 800;
  color: var(--headings-color); line-height: 1; margin-bottom: 6px;
}
.pd-vat { font-size: 13px; margin-bottom: 22px; }
.pd-short { font-size: 17px; line-height: 1.75; color: var(--headings-color); margin-bottom: 22px; }
.pd-quick { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.pd-quick li { display: flex; align-items: center; gap: 9px; font-size: 14px; margin: 0; }
.pd-quick .ic { width: 15px; height: 15px; color: var(--theme-color3); }

.pd-form { border-top: 1px solid var(--border); padding-top: 26px; }
.fld-group { margin-bottom: 22px; }
.fld-label {
  display: block; font-family: var(--heading-font-family); font-size: 12px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--headings-color); margin-bottom: 10px;
}
.fld-label span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-color); font-family: var(--body-font-family); font-size: 13px; }

.colour-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.colour-opt { position: relative; }
.colour-opt input { position: absolute; opacity: 0; pointer-events: none; }
.colour-opt span {
  display: flex; align-items: center; gap: 9px; padding: 10px 16px; border: 1px solid var(--border);
  cursor: pointer; font-size: 14px; transition: all .18s ease;
}
.colour-opt i { width: 16px; height: 16px; display: block; border: 1px solid rgba(0,0,0,.15); }
.colour-opt input:checked + span { border-color: var(--theme-color2); background: var(--theme-color2); color: #fff; }
.colour-opt input:focus-visible + span { outline: 2px solid var(--theme-color3); outline-offset: 2px; }

.qty-row { display: flex; gap: 14px; align-items: stretch; margin-bottom: 18px; }
.qty {
  display: flex; align-items: center; border: 1px solid var(--border); flex: 0 0 auto;
}
.qty button {
  width: 46px; height: 100%; min-height: 52px; background: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--headings-color);
}
.qty button:hover { background: var(--theme-color-light-gray); }
.qty input {
  width: 52px; text-align: center; border: 0; border-left: 1px solid var(--border);
  border-right: 1px solid var(--border); padding: 14px 0; font-weight: 600; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row .btn { flex: 1 1 auto; }

.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.link-btn {
  display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; cursor: pointer;
  font-size: 14px; color: var(--headings-color); padding: 6px 0; font-weight: 500;
}
.link-btn:hover { color: var(--theme-color3); }
.link-btn.is-active { color: var(--theme-color3); }
.link-btn.is-active svg { fill: currentColor; }

.pd-assure { display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 22px; }
.pd-assure div { display: flex; align-items: center; gap: 11px; font-size: 14px; }
.pd-assure .ic { color: var(--theme-color4); }

.pd-tabs { margin-top: 84px; }
.tab-nav { display: flex; gap: 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tab-btn {
  background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  padding: 16px 26px; font-family: var(--heading-font-family); font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-color);
}
.tab-btn:hover { color: var(--headings-color); }
.tab-btn.active { color: var(--headings-color); border-bottom-color: var(--theme-color1); }
.tab-panel { display: none; padding: 36px 0 0; }
.tab-panel.active { display: block; }
.tab-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; }

/* =============================================================== BASKET */

.basket-layout { display: grid; grid-template-columns: 1fr 380px; gap: 46px; align-items: start; }
.basket-table { width: 100%; border-collapse: collapse; }
.basket-table thead th {
  text-align: left; padding: 0 0 14px; border-bottom: 1px solid var(--border);
  font-family: var(--heading-font-family); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--headings-color);
}
.basket-table td { padding: 24px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.bt-item { display: flex; gap: 20px; }
.bt-item img { width: 108px; height: 108px; object-fit: cover; flex: 0 0 auto; border: 1px solid var(--border); }
.bt-name { font-family: var(--heading-font-family); font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.bt-name a { color: var(--headings-color); }
.bt-name a:hover { color: var(--theme-color3); }
.bt-attr { font-size: 13px; line-height: 1.6; margin: 0; }
.bt-attr b { color: var(--headings-color); font-weight: 600; }
.bt-remove {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  font-size: 13px; color: var(--text-color); padding: 8px 0 0; text-decoration: underline; text-underline-offset: 3px;
}
.bt-remove:hover { color: #a51c24; }
.bt-price, .bt-total { font-family: var(--heading-font-family); font-weight: 700; color: var(--headings-color); white-space: nowrap; }
.basket-table .qty { display: inline-flex; }
.basket-table .qty button { min-height: 42px; width: 38px; }
.basket-table .qty input { width: 44px; padding: 10px 0; }

.summary { border: 1px solid var(--border); padding: 30px 28px; position: sticky; top: 24px; }
.summary h3 { font-size: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; }
.sum-row span:last-child { font-weight: 600; color: var(--headings-color); }
.sum-total {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 18px;
  border-top: 1px solid var(--border); font-family: var(--heading-font-family);
  font-size: 22px; font-weight: 800; color: var(--headings-color);
}
.ship-note {
  background: var(--theme-color-light-gray); padding: 14px 16px; font-size: 13px;
  line-height: 1.6; margin: 18px 0; display: flex; gap: 10px; align-items: flex-start;
}
.ship-note .ic { color: var(--theme-color3); flex: 0 0 auto; margin-top: 2px; }
.progress { height: 5px; background: var(--border); margin-top: 10px; }
.progress i { display: block; height: 100%; background: var(--theme-color4); }

/* ============================================================= CHECKOUT */

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 46px; align-items: start; }
.form-card { border: 1px solid var(--border); padding: 34px 32px; margin-bottom: 24px; }
.form-card h3 {
  font-size: 19px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.form-card h3 .step-n {
  width: 30px; height: 30px; background: var(--theme-color2); color: var(--theme-color1);
  display: grid; place-items: center; font-size: 13px; flex: 0 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label.lbl {
  display: block; font-size: 13px; font-weight: 600; color: var(--headings-color);
  margin-bottom: 7px; letter-spacing: .02em;
}
label.lbl .req { color: #a51c24; }
textarea.fld { min-height: 110px; resize: vertical; line-height: 1.6; }
.fld.err { border-color: #a51c24; background: #fdf5f5; }
.err-msg { display: none; color: #a51c24; font-size: 13px; margin-top: 6px; }
.fld.err ~ .err-msg { display: block; }

.radio-cards { display: grid; gap: 12px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card span.rc {
  display: flex; align-items: center; gap: 14px; border: 1px solid var(--border);
  padding: 16px 18px; cursor: pointer; transition: all .18s ease;
}
.radio-card input:checked + .rc { border-color: var(--theme-color2); background: var(--theme-color-light-gray); }
.radio-card .rc-dot {
  width: 18px; height: 18px; border: 1px solid var(--border); flex: 0 0 auto; display: grid; place-items: center;
}
.radio-card input:checked + .rc .rc-dot { border-color: var(--theme-color2); background: var(--theme-color2); }
.radio-card input:checked + .rc .rc-dot::after { content: ""; width: 6px; height: 6px; background: var(--theme-color1); }
.rc-text { flex: 1 1 auto; }
.rc-text strong { display: block; font-family: var(--heading-font-family); font-size: 15px; color: var(--headings-color); line-height: 1.4; }
.rc-text em { font-style: normal; font-size: 13px; }
.rc-price { font-family: var(--heading-font-family); font-weight: 700; color: var(--headings-color); }

.check-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.check-row input[type=checkbox] {
  width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--theme-color3); flex: 0 0 auto;
}
.check-row label { font-size: 14px; line-height: 1.65; }

.mini-line { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mini-line img { width: 58px; height: 58px; object-fit: cover; flex: 0 0 auto; }
.mini-line .ml-b { flex: 1 1 auto; }
.mini-line strong { display: block; font-size: 14px; color: var(--headings-color); font-family: var(--heading-font-family); line-height: 1.4; }
.mini-line span { font-size: 12px; }
.mini-line b { font-family: var(--heading-font-family); color: var(--headings-color); white-space: nowrap; }

/* spinner + result */
.spinner {
  width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none;
}
.is-loading .spinner { display: block; }
.is-loading .btn-text { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.overlay {
  position: fixed; inset: 0; background: rgba(15,17,20,.72); display: none;
  align-items: center; justify-content: center; z-index: 200; padding: 24px;
}
.overlay.show { display: flex; }
.overlay-box { background: #fff; max-width: 560px; width: 100%; padding: 48px 44px; text-align: center; }
.overlay-spinner {
  width: 54px; height: 54px; border: 3px solid var(--border); border-top-color: var(--theme-color3);
  border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 24px;
}
.overlay-box h3 { margin-bottom: 10px; }
.overlay-box p { margin: 0; }

.order-done { border: 1px solid var(--border); padding: 52px 46px; text-align: center; max-width: 760px; margin: 0 auto; }
.order-done .done-ic {
  width: 72px; height: 72px; background: var(--theme-color4); color: #fff;
  display: grid; place-items: center; margin: 0 auto 26px;
}
.order-done .done-ic .ic { width: 36px; height: 36px; stroke-width: 2.2; }
.order-ref {
  display: inline-block; background: var(--theme-color-light-gray); border: 1px dashed var(--theme-color3);
  padding: 16px 28px; margin: 22px 0 26px;
}
.order-ref span { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.order-ref strong { font-family: var(--heading-font-family); font-size: 26px; color: var(--theme-color3); letter-spacing: .04em; }
.done-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); margin: 30px 0; text-align: left; }
.done-grid div { background: #fff; padding: 18px 20px; }
.done-grid span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.done-grid strong { color: var(--headings-color); font-size: 15px; }

/* form status messages */
.form-msg { padding: 16px 20px; margin-bottom: 22px; font-size: 15px; display: none; align-items: center; gap: 12px; }
.form-msg.show { display: flex; }
.form-msg.ok { background: rgba(var(--theme-color4-rgb), .12); border-left: 4px solid var(--theme-color4); color: #3f6415; }
.form-msg.bad { background: #fdf1f1; border-left: 4px solid #a51c24; color: #8e1a21; }

/* ============================================================== CONTACT */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.contact-cards { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.contact-cards > div { background: #fff; padding: 26px 26px; display: flex; gap: 16px; }
.contact-cards .ic { color: var(--theme-color3); flex: 0 0 auto; margin-top: 3px; }
.contact-cards h4 { font-size: 15px; margin-bottom: 6px; letter-spacing: .06em; text-transform: uppercase; }
.contact-cards p { margin: 0; font-size: 15px; line-height: 1.7; }

/* ============================================================== FOOTER */

.site-footer { background: var(--theme-color3); color: rgba(255,255,255,.66); margin-top: 0; }
.footer-strip { border-bottom: 1px solid var(--border-dark); }
.footer-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.fs-item {
  display: flex; align-items: center; gap: 13px; padding: 26px 24px;
  border-right: 1px solid var(--border-dark); font-size: 14px; color: rgba(255,255,255,.8);
}
.fs-item:first-child { padding-left: 0; }
.fs-item:last-child { border-right: 0; }
.fs-item .ic { color: var(--theme-color1); }

.footer-main { padding: 70px 0 56px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 46px; }
.footer-about { font-size: 14.5px; line-height: 1.8; margin: 22px 0 24px; max-width: 420px; }
.footer-brand .logo { margin-bottom: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.7; margin-bottom: 13px; }
.footer-contact .ic { color: var(--theme-color1); flex: 0 0 auto; margin-top: 4px; }
.footer-contact a { color: rgba(255,255,255,.66); }
.footer-contact a:hover { color: var(--theme-color1); }

.footer-h {
  color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border-dark);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.66); font-size: 14.5px; }
.footer-links a:hover { color: var(--theme-color1); padding-left: 4px; }

.footer-legal { border-top: 1px solid var(--border-dark); padding: 26px 0; }
.footer-legal-inner { display: flex; justify-content: space-between; gap: 34px; align-items: flex-start; flex-wrap: wrap; }
.fl-company p { font-size: 13px; line-height: 1.75; margin: 0 0 6px; color: rgba(255,255,255,.5); max-width: 860px; }
.fl-company strong { color: rgba(255,255,255,.8); }
.fl-copy { margin-top: 10px !important; }
.fl-pay { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border-dark);
  padding: 8px 12px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.62);
}
.pay-chip .ic { color: var(--theme-color1); }

.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; z-index: 90;
  background: var(--theme-color2); color: var(--theme-color1); border: 0; cursor: pointer;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
}
.to-top svg { transform: rotate(-90deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--theme-color1); color: var(--theme-color2); }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px);
  background: var(--theme-color2); color: #fff; padding: 15px 26px; z-index: 300;
  font-size: 15px; opacity: 0; visibility: hidden; transition: all .25s ease;
  border-left: 4px solid var(--theme-color4); max-width: 90vw;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ============================================================ UTILITIES */

.mb-0 { margin-bottom: 0 !important; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--border); margin: 46px 0; }

/* =========================================================== RESPONSIVE */

@media (max-width: 1200px) {
  .about-tag { right: 0; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .header-contact { display: none; }
  .mainnav-list > li > a { padding: 17px 14px; font-size: 12px; }
  .shop-layout { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; gap: 40px; }
  .basket-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 900px) {
  :root { --gut: 18px; }
  .section { padding: 64px 0; }
  .usp-grid { grid-template-columns: 1fr; }
  .text-2col, .tick-grid { grid-template-columns: 1fr; gap: 0; }
  .tick-grid li:nth-child(2) { padding-top: 13px; }
  .about-figures { grid-template-columns: 1fr 1fr; }
  .usp-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding-left: 0; }
  .usp-item:last-child { border-bottom: 0; }
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .about-media img { height: 380px; }
  .about-tag { position: static; max-width: none; margin-top: -1px; }
  .grid-3, .grid-4, .review-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .duo-grid { grid-template-columns: 1fr; }
  .pd-layout { grid-template-columns: 1fr; gap: 36px; }
  .tab-cols { grid-template-columns: 1fr; gap: 30px; }
  .footer-strip-inner { grid-template-columns: 1fr 1fr; }
  .fs-item { padding-left: 0; }
  .fs-item:nth-child(2) { border-right: 0; }
  .fs-item:nth-child(1), .fs-item:nth-child(2) { border-bottom: 1px solid var(--border-dark); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .done-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: grid; }
  .header-nav-inner { flex-direction: column; align-items: stretch; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .mainnav-list { flex-direction: column; }
  .mainnav-list { justify-content: flex-start; }
  .mainnav-list > li > a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 14px; }
  .mainnav-list > li:last-child > a { border-bottom: 0; }
  .header-nav-inner { justify-content: stretch; }
}

@media (max-width: 700px) {
  .header-top-inner { min-height: 74px; }
  .tool-label { display: none; }
  .tool { min-width: 0; padding: 8px 9px; }
  .tool-count { top: -2px; right: 0; }
  .logo-line1 { font-size: 16px; }
  .logo-line2 { font-size: 10px; letter-spacing: .26em; }
  .logo-mark { width: 40px; height: 40px; }
  .grid-3, .grid-4, .review-grid, .info-grid, .cat-grid, .form-grid, .pd-quick { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .page-head { padding: 46px 0 50px; }
  .footer-strip-inner, .footer-grid { grid-template-columns: 1fr; }
  .fs-item { border-right: 0; border-bottom: 1px solid var(--border-dark); }
  .fs-item:last-child { border-bottom: 0; }
  .basket-table thead { display: none; }
  .basket-table td { display: block; border: 0; padding: 8px 0; }
  .basket-table tr { display: block; border-bottom: 1px solid var(--border); padding: 20px 0; }
  .bt-item img { width: 84px; height: 84px; }
  .form-card, .summary, .aside-box { padding: 24px 20px; }
  .order-done { padding: 34px 22px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .tab-btn { padding: 14px 16px; font-size: 13px; }
  .duo { padding: 32px 26px; min-height: 360px; }
}

/* ====================================================== COOKIE CONSENT */

.cookie-pop {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  background: var(--theme-color2); color: rgba(255,255,255,.72);
  border-top: 3px solid var(--theme-color1);
  transform: translateY(100%); transition: transform .35s ease;
  max-height: 92vh; overflow-y: auto;
}
.cookie-pop.show { transform: none; }
.cookie-pop[hidden] { display: none; }

.cookie-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 20px 40px;
  align-items: center; padding-top: 26px; padding-bottom: 26px;
}

.cookie-main { display: flex; gap: 18px; align-items: flex-start; }
.cookie-ic {
  width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--theme-color1);
}
.cookie-text h3 {
  color: #fff; font-size: 18px; margin: 0 0 6px;
  text-transform: uppercase; letter-spacing: .07em;
}
.cookie-text p { margin: 0; font-size: 14px; line-height: 1.7; max-width: 780px; }
.cookie-text a { color: var(--theme-color1); text-decoration: underline; text-underline-offset: 3px; }
.cookie-text a:hover { color: #fff; }

.cookie-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .btn { white-space: nowrap; }
.cookie-link {
  background: none; border: 0; cursor: pointer; padding: 8px 4px;
  font-family: var(--heading-font-family); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7);
  text-decoration: underline; text-underline-offset: 4px;
}
.cookie-link:hover { color: var(--theme-color1); }

.cookie-detail {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); margin-top: 4px;
}
.cookie-detail[hidden] { display: none; }
.cookie-cat { background: var(--theme-color2); padding: 18px 20px; }

.cookie-switch { display: flex; gap: 13px; align-items: flex-start; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cs-box {
  width: 22px; height: 22px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center; color: transparent; margin-top: 2px;
}
.cookie-switch input:checked + .cs-box {
  background: var(--theme-color4); border-color: var(--theme-color4); color: #fff;
}
.cookie-switch input:disabled + .cs-box { background: rgba(255,255,255,.28); border-color: transparent; color: #fff; }
.cookie-switch input:disabled ~ .cs-label { cursor: default; }
.cookie-switch input:focus-visible + .cs-box { outline: 2px solid var(--theme-color1); outline-offset: 2px; }
.cs-label strong {
  display: block; font-family: var(--heading-font-family); color: #fff; font-size: 14px;
  line-height: 1.4; margin-bottom: 3px;
}
.cs-label em { font-style: normal; font-size: 12.5px; line-height: 1.6; display: block; }

.cookie-reopen {
  background: none; border: 0; cursor: pointer; padding: 0 0 0 6px;
  font: inherit; font-size: 13px; color: rgba(255,255,255,.5);
  text-decoration: underline; text-underline-offset: 3px;
}
.cookie-reopen:hover { color: var(--theme-color1); }

/* keep the back-to-top button clear of the banner */
body.cookie-open .to-top { opacity: 0; visibility: hidden; }

@media (max-width: 1080px) {
  .cookie-inner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-start; }
  .cookie-detail { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .cookie-inner { padding-top: 20px; padding-bottom: 20px; gap: 16px; }
  .cookie-ic { display: none; }
  .cookie-text h3 { font-size: 16px; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-pop { transition: none; }
}

@media print {
  .site-header, .site-footer, .to-top, .toast, .cookie-pop { display: none; }
}
.shapes-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none; /* чтобы фигуры не мешали кликам по контенту */
  overflow: hidden;
}

/* Everything after the shapes sits above them. A positioned element paints
   over normal in-flow content, so the content needs its own z-index to win. */
.shapes-wrap ~ * {
  position: relative;
  z-index: 1;
}

.shape {
  position: absolute;
}


.shape-1 {
  top: -10%;
  right: -5%;
  animation: rotateSlow 20s linear infinite;
  scale: 0.6;
}


.shape-2 {
   scale: 0.7;
  top: -12%;
  right: -8%;
  animation: floatUpDown 6s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shape { animation: none; }
}

.section .container {
  position: relative;
  z-index: 1;
}