:root {
  --surface: #f8fbf8;
  --paper: #ffffff;
  --ink: #16201c;
  --muted: #5b6760;
  --line: #dce6df;
  --teal: #0e8176;
  --green: #276b4f;
  --mint: #dff4ea;
  --amber: #d9822b;
  --coral: #c34f3e;
  --shadow: 0 18px 46px rgba(30, 57, 48, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.top-strip {
  background: #263b31;
  color: #fff;
  font-size: 13px;
}

.top-strip__inner,
.masthead,
.footer-bottom,
.install-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-strip__inner {
  min-height: 38px;
}

.support-link {
  font-weight: 700;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-list a {
  color: inherit;
  opacity: .86;
}

.language-list a:hover,
.language-list a:focus {
  opacity: 1;
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.masthead {
  min-height: 76px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand__tagline {
  color: var(--muted);
  font-size: 13px;
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--green);
}

.header-cart,
.button,
.footer-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
}

.header-cart,
.button-primary,
.footer-checkout {
  background: var(--green);
  color: #fff;
}

.cart-count {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 13px;
}

.button-secondary {
  background: #fff;
  color: var(--green);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: clamp(540px, 72vh, 760px);
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.hero__content {
  padding-block: 78px 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .95;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 600px;
  margin: 22px 0 0;
  color: #3f4c45;
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero__actions,
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero__proof span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(220, 230, 223, .82);
  color: #33423a;
  font-weight: 750;
  font-size: 14px;
}

.category-band,
.deal-panel,
.install-strip,
.page-shell,
.archive-shell,
.shop-shell {
  padding-block: 54px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-tile,
.product-card,
.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(30, 57, 48, .06);
}

.category-tile {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 164px;
  padding: 16px;
}

.category-tile img {
  width: 142px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #eef2ef;
}

.category-tile h2,
.section-heading h2,
.install-strip h2 {
  margin: 0;
  letter-spacing: 0;
}

.category-tile h2 {
  font-size: 22px;
}

.category-tile p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2,
.install-strip h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.search-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.search-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.chip.is-active {
  background: var(--mint);
  color: var(--green);
  border-color: #b8e2cd;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
}

.product-card[hidden] {
  display: none;
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #edf3ef;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.025);
}

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 850;
  font-size: 13px;
}

.badge-install {
  left: auto;
  right: 10px;
  background: var(--amber);
}

.product-card__body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-card h3 {
  min-height: 54px;
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.price {
  color: var(--ink);
  font-weight: 850;
}

.price del {
  color: var(--muted);
  font-weight: 650;
}

.price ins {
  color: var(--green);
  text-decoration: none;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.spec-list span {
  color: #314039;
  font-weight: 800;
}

.text-link {
  color: var(--teal);
  font-weight: 850;
}

.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.product-card__button,
.card-actions .button {
  min-height: 40px;
  padding-inline: 13px;
  font-size: 14px;
}

.coverage-section {
  padding-block: 60px;
  background: #eef7f0;
}

.coverage-grid {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.coverage-grid p {
  color: var(--muted);
  max-width: 620px;
  margin: 16px 0 0;
}

.country-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-cloud li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #cde0d2;
  border-radius: 999px;
  background: #fff;
  color: #314039;
  font-weight: 750;
  font-size: 13px;
}

.install-strip {
  background: #263b31;
  color: #fff;
}

.install-strip .eyebrow {
  color: #bcebd3;
}

.install-strip__inner {
  align-items: center;
}

.site-footer {
  background: #1a241f;
  color: #f4f9f5;
  padding-block: 48px 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
}

.site-footer p {
  margin: 0;
  color: rgba(244, 249, 245, .76);
}

.site-footer address {
  margin-top: 10px;
  color: rgba(244, 249, 245, .76);
  font-style: normal;
}

.site-footer h3 + a,
.site-footer h3 + a + a {
  display: block;
  margin-top: 6px;
}

.site-footer .language-list {
  display: grid;
  gap: 6px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(244, 249, 245, .74);
}

.footer-menu {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.floating-support {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-grid;
  gap: 2px;
  min-width: 148px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #247456;
  color: #fff;
  box-shadow: 0 16px 38px rgba(23, 42, 34, .24);
  font-weight: 850;
  text-align: center;
}

.floating-support:hover,
.floating-support:focus {
  background: #1d5f47;
  color: #fff;
}

.floating-support small {
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 750;
}

.page-shell,
.archive-shell,
.shop-shell {
  min-height: 56vh;
}

.entry-header h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.entry-content {
  max-width: 780px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  padding-bottom: 14px;
}

.woocommerce span.onsale,
.eu-ac-badge {
  min-height: 30px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 850;
}

.eu-ac-install-box,
.woocommerce-info {
  border-radius: var(--radius);
  border-top-color: var(--green);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 116px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu,
  .top-strip__inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-cart {
    display: none;
  }

  .category-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .masthead {
    min-height: 68px;
  }

  .brand__tagline {
    display: none;
  }

  .hero {
    min-height: min(560px, calc(100svh - 104px));
    align-items: flex-end;
    background-position: 58% center;
  }

  .hero__content {
    padding-block: 52px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .category-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-tile {
    grid-template-columns: 112px 1fr;
    min-height: 132px;
  }

  .category-tile img {
    width: 112px;
  }

  .install-strip__inner,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-support {
    right: 12px;
    bottom: 12px;
    min-width: 132px;
    padding: 10px 12px;
  }
}
