:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --ink: #17201b;
  --muted: #68736d;
  --line: #dce4de;
  --green: #19a85b;
  --green-dark: #06783c;
  --blue: #176cc2;
  --yellow: #f3c433;
  --shadow: 0 18px 45px rgba(15, 30, 22, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--bg); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(18px, 4vw, 56px); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand img { width: 154px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; color: var(--muted); }
.site-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav .is-active { color: var(--ink); border-color: var(--green); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }
.hero { min-height: 680px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: stretch; background: #102018; color: #fff; }
.hero__media { min-height: 460px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 84px); }
.eyebrow { margin: 0 0 14px; color: var(--green); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 78px); line-height: .98; margin-bottom: 24px; letter-spacing: 0; }
h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; margin-bottom: 18px; letter-spacing: 0; }
h3 { font-size: 20px; line-height: 1.2; margin-bottom: 10px; }
p { color: inherit; line-height: 1.65; }
.hero p { max-width: 650px; font-size: 18px; color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; cursor: pointer; font-size: 15px; }
.button--primary { background: var(--green); color: #fff; }
.button--primary:hover { background: var(--green-dark); }
.button--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.section { padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 56px); }
.split { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(280px, 1.1fr); gap: clamp(28px, 5vw, 72px); background: var(--surface); }
.prose { color: var(--muted); font-size: 17px; }
.muted { background: #edf3ef; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head a { color: var(--green-dark); font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.product-card:hover { border-color: rgba(25, 168, 91, .45); box-shadow: 0 16px 36px rgba(15, 30, 22, .1); transform: translateY(-2px); }
.product-card__overlay { position: absolute; inset: 0; z-index: 1; }
.product-card__image { aspect-ratio: 4 / 3; background: #eef1ee; display: grid; place-items: center; padding: 20px; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.product-card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card__meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.product-card__meta span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; background: #f8faf8; }
.badge { background: #e3f5ea; color: var(--green-dark); padding: 5px 8px; border-radius: 999px; font-weight: 700; }
.product-card h3 { min-height: 0; font-size: 24px; margin-bottom: 0; }
.product-card p { color: var(--muted); margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__footer { position: relative; z-index: 2; margin-top: auto; display: grid; gap: 12px; padding-top: 8px; }
.product-card__footer .button { width: 100%; min-height: 42px; padding: 10px 12px; font-size: 14px; }
.price { font-weight: 800; color: var(--ink); white-space: nowrap; }
.stats { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 70px); align-items: center; background: var(--surface); }
.stats img { border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.partners { background: #151f1a; color: #fff; }
.partners h2 { max-width: 800px; }
.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.partner-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; padding: 14px; background: #fff; border-radius: 6px; }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 5vw, 72px); background: #fff; }
.contact-page { align-items: start; }
.contact-details { display: grid; gap: 14px; }
.contact-details h2 { margin-bottom: 8px; }
.contact-card { display: grid; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf8; }
.contact-card strong { color: var(--ink); }
.contact-card p { margin-bottom: 0; color: var(--muted); }
.contact-card a { display: block; width: fit-content; color: var(--green-dark); font-weight: 800; }
.page-content { max-width: 980px; }
.page-content > *:last-child { margin-bottom: 0; }
.contact-form, .modal__dialog { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; font: inherit; color: var(--ink); background: #fff; }
textarea { resize: vertical; }
.page-hero { padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 56px); background: #14231b; color: #fff; }
.page-hero.compact { max-width: none; }
.page-hero p { max-width: 780px; color: rgba(255,255,255,.78); }
.about-hero { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(24px, 5vw, 70px); align-items: center; background: #fff; color: var(--green); }
.about-hero .eyebrow, .about-hero h1, .about-hero p { color: var(--green); }
.about-hero img { border-radius: 8px; background: #fff; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: #fff; }
.values article, .service-grid article { border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: var(--surface); }
.values h2 { font-size: 22px; }
.values p, .service-grid p { color: var(--muted); margin-bottom: 0; }
.services { background: #edf3ef; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.catalog-shell { display: grid; grid-template-columns: 220px 1fr; gap: 26px; padding: 36px clamp(18px, 4vw, 56px) 84px; }
.filters { position: sticky; top: 86px; align-self: start; display: grid; gap: 14px; }
.filter-group { display: grid; gap: 9px; }
.filter-group > span, .filter-field span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.filter { text-align: left; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 12px 14px; cursor: pointer; font-weight: 700; color: var(--muted); }
.filter.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.filter-field { display: grid; gap: 7px; }
.filter-field select { min-height: 44px; cursor: pointer; background: #fff; }
.check-filter { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer; }
.check-filter input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--green); }
.check-filter span { font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.filter-range input { padding: 0; accent-color: var(--green); }
.filter-range output { color: var(--ink); font-size: 14px; font-weight: 800; }
.filter-reset { min-height: 42px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.filter-reset:hover { color: var(--ink); border-color: var(--green); }
.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-detail { display: grid; grid-template-columns: minmax(320px, .92fr) minmax(320px, 1.08fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(42px, 6vw, 86px) clamp(18px, 4vw, 56px); background: #fff; }
.product-gallery { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: stretch; }
.product-gallery__thumbs { display: grid; align-content: start; gap: 10px; }
.product-gallery__thumbs button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 6px; background: #f8faf8; padding: 6px; cursor: pointer; }
.product-gallery__thumbs button.is-active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(25, 168, 91, .18); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-detail__media { border: 1px solid var(--line); border-radius: 8px; background: #f4f7f5; padding: clamp(22px, 4vw, 48px); min-height: 420px; display: grid; place-items: center; }
.product-detail__media img { width: 100%; max-height: 520px; object-fit: contain; }
.product-detail__summary h1 { color: var(--ink); font-size: clamp(34px, 4.6vw, 62px); }
.product-detail__summary p { color: var(--muted); font-size: 17px; }
.product-buybox { align-self: stretch; justify-content: center; }
.product-buybox__signals { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.product-buybox__signals button { border: 0; padding: 0; background: transparent; color: var(--green-dark); font: inherit; font-weight: 800; cursor: pointer; }
.product-sku { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.product-detail__price { margin-bottom: 20px; color: var(--ink) !important; font-size: 28px !important; font-weight: 900; line-height: 1.1; }
.stock-status { display: inline-flex; margin-bottom: 14px; border: 1px solid #d8ca8a; border-radius: 999px; padding: 7px 10px; color: #7a6510; background: #fff8d8; font-size: 13px; font-weight: 800; }
.product-detail__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.product-detail__specs div { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #f8faf8; }
.product-detail__specs dt { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.product-detail__specs dd { margin: 5px 0 0; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.product-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product-secondary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.product-secondary-actions button, .config-favorite { min-height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; background: #fff; color: var(--muted); font-weight: 800; cursor: pointer; }
.product-secondary-actions button:hover, .config-favorite:hover { color: var(--ink); border-color: var(--green); }
.product-detail__choice { display: grid; gap: 10px; margin: 0 0 22px; }
.product-detail__choice > span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.product-detail__choice div { display: flex; flex-wrap: wrap; gap: 8px; }
.product-detail__choice button { min-height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; }
.product-detail__choice button.is-active { border-color: var(--green); background: #e3f5ea; color: var(--green-dark); }
.product-config { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(320px, 1.25fr); gap: clamp(24px, 5vw, 72px); background: #edf3ef; }
.product-config__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-config__grid article { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; }
.product-config__grid h3 { font-size: 18px; }
.product-config__grid p { color: var(--muted); margin-bottom: 0; }
.product-info { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(320px, 1.25fr); gap: clamp(24px, 5vw, 72px); background: #fff; }
.product-info__list { display: grid; gap: 12px; }
.product-info details { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 18px; }
.product-info summary { cursor: pointer; padding: 18px 0; font-weight: 800; }
.product-info details > div { color: var(--muted); padding-bottom: 18px; }
.product-info details p, .product-info details li { color: var(--muted); }
.product-tabs { background: #edf3ef; }
.product-tabs__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.product-tabs__nav button { min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; background: #fff; color: var(--muted); font-weight: 800; cursor: pointer; }
.product-tabs__nav button.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.product-tabs__panels { border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: #fff; }
.product-tabs__panels p { color: var(--muted); margin-bottom: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 13px 12px; text-align: left; vertical-align: top; }
.spec-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.spec-table td:first-child { width: 48%; font-weight: 700; color: var(--ink); }
.spec-table td:last-child { color: var(--muted); }
.spec-table tr:last-child td { border-bottom: 0; }
.product-benefits { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(320px, 1.25fr); gap: clamp(24px, 5vw, 72px); background: #fff; }
.product-benefits__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-benefits__grid article { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; }
.product-benefits__grid h3 { font-size: 18px; }
.product-benefits__grid p { color: var(--muted); margin-bottom: 0; }
.product-config-list { background: #edf3ef; }
.config-table { overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.config-table__head, .config-table__row { display: grid; grid-template-columns: 1fr 1.1fr 1fr .9fr .9fr .9fr; gap: 10px; align-items: center; min-width: 920px; padding: 12px 14px; }
.config-table__head { background: #f8faf8; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.config-table__row { border-top: 1px solid var(--line); color: var(--ink); }
.config-table__row > span { min-width: 0; overflow-wrap: anywhere; }
.config-table .button { min-height: 38px; padding: 8px 12px; font-size: 14px; }
.related-products { background: #fff; }
.related-products__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.related-products__grid a { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #f8faf8; display: grid; gap: 10px; align-content: start; }
.related-products__grid img { aspect-ratio: 1; width: 100%; object-fit: contain; }
.related-products__grid span { font-size: 13px; font-weight: 800; line-height: 1.3; }
.modal, .success-modal { position: fixed; inset: 0; z-index: 50; display: none; }
.modal.is-open, .success-modal.is-open { display: block; }
.modal__backdrop, .success-modal__backdrop { position: absolute; inset: 0; background: rgba(6, 17, 12, .62); }
.modal__dialog, .success-modal__dialog { position: relative; z-index: 1; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; margin: 16px auto; padding: 26px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.modal__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-size: 24px; cursor: pointer; }
.modal__product { color: var(--muted); margin-top: -8px; }
.form-status { color: var(--green-dark); min-height: 20px; margin: 0; }
.success-modal__dialog { display: grid; gap: 14px; text-align: left; }
.success-modal__dialog h2 { margin-bottom: 0; }
.success-modal__dialog p:not(.eyebrow) { color: var(--muted); margin-bottom: 4px; }
.footer { display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 24px; padding: 34px clamp(18px, 4vw, 56px); background: #0f1914; color: #fff; }
.footer img { width: 132px; max-height: 58px; object-fit: contain; margin-bottom: 10px; }
.footer p, .footer a { color: rgba(255,255,255,.72); }
.footer a { display: block; margin-top: 6px; }
@media (max-width: 980px) {
  .hero, .split, .stats, .contact, .about-hero, .catalog-shell, .product-detail, .product-config, .product-info, .product-benefits { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__media { min-height: 320px; order: 2; }
  .hero__content { order: 1; }
  .product-grid, .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid, .values, .service-grid, .product-benefits__grid, .related-products__grid { grid-template-columns: repeat(2, 1fr); }
  .filters { position: static; display: flex; flex-wrap: wrap; }
  .filter-group, .filter-field, .filter-reset { min-width: min(260px, 100%); }
}

/* WordPress catalog refinements */
.catalog-shell {
  align-items: start;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: 1240px;
  margin: 0 auto;
  padding-top: clamp(42px, 5vw, 72px);
}

.catalog-filters {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  align-self: start;
}

.catalog-filters .filter-block {
  display: grid;
  gap: 10px;
}

.catalog-filters h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.catalog-filters h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.check-filter {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.check-filter input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.filter-reset {
  width: fit-content;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-weight: 700;
  cursor: pointer;
}

.catalog-filters select {
  min-height: 40px;
  width: 100%;
}

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

.filter-apply {
  min-height: 40px;
  padding: 8px 14px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
}

.active-filters span,
.active-filters em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8faf8;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.product-grid--catalog {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.product-card {
  min-height: 100%;
  border-radius: 8px;
}

.product-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.product-card__media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #edf2ef;
  padding: 18px;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__body {
  position: relative;
  z-index: 3;
  gap: 14px;
  padding: 22px;
  pointer-events: none;
}

.product-card__meta {
  gap: 8px;
}

.product-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.product-card__bottom {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.product-card__bottom .button {
  width: fit-content;
}

.product-card button,
.product-card .button {
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: static;
  }
}
@media (max-width: 720px) {
  .site-nav { position: absolute; top: 70px; left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .nav-toggle { display: block; }
  h1 { font-size: 40px; }
  .section-head { align-items: start; flex-direction: column; }
  .product-grid, .product-grid--catalog, .partner-grid, .values, .service-grid, .footer, .product-benefits__grid, .related-products__grid { grid-template-columns: 1fr; }
  .product-card__specs, .product-card__actions, .product-detail__specs, .product-config__grid { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery__thumbs { grid-template-columns: repeat(4, 62px); order: 2; }
  .section, .page-hero { padding-left: 16px; padding-right: 16px; }
  .catalog-shell { padding-left: 16px; padding-right: 16px; }
}

/* WordPress product detail refinements */
.product-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) clamp(18px, 4vw, 56px);
}

.product-detail--wp {
  grid-template-columns: minmax(360px, .95fr) minmax(360px, 1.05fr);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  gap: clamp(34px, 5vw, 72px);
  padding: clamp(42px, 6vw, 82px) clamp(18px, 4vw, 56px);
}

.product-detail--wp .product-gallery {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.product-gallery__thumbs {
  display: grid;
  gap: 10px;
}

.product-gallery__thumbs button {
  width: 78px;
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.product-gallery__thumbs button.is-active {
  border-color: var(--green);
}

.product-gallery__thumbs img,
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery__main {
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7f5;
}

.product-summary {
  display: grid;
  gap: 18px;
}

.product-summary h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .95;
}

.product-summary__line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.status-pill,
.product-summary__line span,
.product-summary__line a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8faf8;
}

.product-code {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

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

.station-fact {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
}

.station-fact span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.station-fact strong {
  overflow-wrap: anywhere;
}

.product-price {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.product-options {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.product-options h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-list button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.option-list button.is-active {
  border-color: var(--green);
  background: #e3f5ea;
  color: var(--green-dark);
}

.product-actions,
.product-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tabs .tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-tabs .tab-buttons button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.product-tabs .tab-buttons button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.product-tabs .tab-panel,
.business-benefits,
.configurations {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-tabs .tab-panel {
  padding: clamp(18px, 3vw, 30px);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.business-benefits h2,
.configurations h2,
.related-products h2 {
  margin-top: 0;
}

.business-benefits {
  display: block;
}

.business-benefits .product-benefits__grid {
  margin-top: 22px;
}

.business-benefits .product-benefits__grid article {
  display: grid;
  gap: 10px;
  min-height: 150px;
  border-color: rgba(25, 168, 91, .28);
  background: linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
}

.business-benefits .product-benefits__grid span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.business-benefits .product-benefits__grid h3 {
  margin: 0;
  line-height: 1.25;
}

.product-secondary-actions button.is-active,
.config-favorite.is-active {
  border-color: var(--green);
  color: var(--green-dark);
  background: #e3f5ea;
}

.config-table {
  overflow-x: auto;
}

.config-table__head,
.config-table__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr .9fr .8fr .8fr;
  gap: 12px;
  align-items: center;
  min-width: 900px;
  padding: 14px 16px;
}

.config-table__head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: #f8faf8;
}

.config-table__row {
  border-top: 1px solid var(--line);
}

.product-reviews {
  background: #fff;
}

.product-reviews .comment-reply-title,
.product-reviews .comments-title {
  margin-top: 0;
}

.comments-area {
  display: grid;
  gap: 20px;
}

.comment-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.comment-respond {
  display: grid;
  gap: 12px;
}

.comment-form {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
}

.comment-form .submit {
  width: fit-content;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 980px) {
  .product-detail--wp {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .product-detail--wp .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(4, 64px);
    order: 2;
  }

  .product-gallery__thumbs button {
    width: 64px;
  }

  .product-gallery__main {
    min-height: 320px;
  }

  .station-facts {
    grid-template-columns: 1fr;
  }
}
