:root {
  --navy: #01024c;
  --navy-2: #2958cc;
  --red: #e90812;
  --red-2: #c90610;
  --yellow: #ffd316;
  --text: #0c1833;
  --muted: #647086;
  --line: #e4e9f2;
  --soft: #f6f8fc;
  --green: #16a34a;
  --shadow: 0 18px 44px rgba(7, 27, 63, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 56px, 1460px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 27, 63, .08);
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 42px;
  gap: 34px;
}

.topbar i {
  margin-right: 7px;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.topbar nav a {
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.mainnav-inner {
  display: grid;
  grid-template-columns: 150px auto minmax(280px, 360px) auto;
  align-items: center;
  gap: 26px;
  min-height: 116px;
}

.brand img {
  display: block;
  width: 132px;
  height: auto;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.primary-menu .active-link {
  color: var(--red);
}

.primary-menu i {
  margin-left: 6px;
  font-size: 10px;
}

.search-form {
  display: grid;
  grid-template-columns: 42px 1fr 52px;
  align-items: center;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}

.search-form > i {
  color: #7b8798;
  text-align: center;
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 13px;
}

.search-form button {
  width: 52px;
  height: 50px;
  border: 0;
  color: #fff;
  background: var(--red);
  cursor: pointer;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.help-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.25;
}

.help-link i,
.cart-link {
  color: var(--navy);
  font-size: 23px;
}

.help-link strong {
  display: block;
  color: var(--text);
  font-size: 12px;
}

.cart-link {
  position: relative;
}

.cart-link b {
  position: absolute;
  top: -9px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 10px;
}

.whatsapp-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.25;
}

.whatsapp-button {
  min-height: 58px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  box-shadow: 0 10px 22px rgba(233, 8, 18, .25);
}

.whatsapp-button i {
  font-size: 24px;
}

.whatsapp-button span {
  font-size: 13px;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: 0 18px 34px rgba(7, 94, 84, .28);
  font-weight: 900;
  line-height: 1;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(7, 94, 84, .34);
}

.floating-whatsapp i {
  font-size: 28px;
}

.floating-whatsapp span {
  font-size: 14px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  background:
    radial-gradient(circle at 36% 14%, rgba(255, 255, 255, .96), rgba(245, 248, 253, .74) 34%, rgba(236, 242, 250, .9) 66%),
    linear-gradient(110deg, #fff 0%, #f5f8fd 52%, #fff 100%);
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  background-image: url("../images/hero/mapan-hero.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, rgba(0, 0, 0, .14) 34%, #000 43%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, rgba(0, 0, 0, .14) 34%, #000 43%, #000 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, .9fr) 1.1fr;
  align-items: center;
  gap: 40px;
  padding-top: 76px;
  z-index: 1;
}

.hero-copy {
  padding-bottom: 78px;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 64px);
  line-height: .98;
  letter-spacing: 0;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-copy > p {
  max-width: 540px;
  margin: 0 0 34px;
  color: #526078;
  font-size: 17px;
  line-height: 1.6;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 18px;
  max-width: 670px;
  margin-bottom: 36px;
}

.hero-features span {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  column-gap: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.hero-features i {
  grid-row: span 2;
  color: var(--red);
  font-size: 22px;
}

.hero-features strong {
  display: block;
  color: var(--navy);
  font-size: 11px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  font-size: 14px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  box-shadow: 0 14px 28px rgba(233, 8, 18, .22);
}

.btn-outline {
  color: var(--navy);
  background: #fff;
  border-color: #c8d1e1;
}

.rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #5a667a;
  font-size: 14px;
  line-height: 1.35;
}

.rating-row strong {
  color: var(--navy);
}

.rating-row > span {
  flex: 1 1 360px;
  min-width: 280px;
}

.avatar-stack {
  display: flex;
  flex: 0 0 auto;
}

.avatar-stack i {
  width: 35px;
  height: 35px;
  margin-left: -10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #27324a, #f3b08a);
}

.avatar-stack i:first-child {
  margin-left: 0;
}

.avatar-stack i:nth-child(2) { background: linear-gradient(145deg, #111827, #d4a373); }
.avatar-stack i:nth-child(3) { background: linear-gradient(145deg, #334155, #e9c46a); }
.avatar-stack i:nth-child(4) { background: linear-gradient(145deg, #1d4ed8, #f4a261); }
.avatar-stack i:nth-child(5) { background: linear-gradient(145deg, #0f766e, #f2cc8f); }

.stars {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 3px;
  color: #f3b400;
  white-space: nowrap;
}

.stars small {
  display: inline;
  color: var(--muted);
  margin-left: 6px;
  margin-top: 0;
  white-space: nowrap;
}

.hero-image-spacer {
  position: relative;
  min-height: 475px;
  align-self: end;
  z-index: 1;
}

.service-card {
  position: absolute;
  right: 115px;
  bottom: 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  min-width: 610px;
  padding: 22px 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
  z-index: 2;
}

.service-card span {
  display: grid;
  grid-template-columns: 34px 1fr;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.service-card i {
  grid-row: span 2;
  color: var(--navy-2);
  font-size: 25px;
}

.service-card strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.portal-shortcuts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -68px;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}

.portal-card {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 118px;
  padding: 0 12px;
  text-align: center;
  border-left: 1px solid var(--line);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.portal-card:first-child {
  border-left: 0;
}

.portal-card:hover {
  transform: translateY(-3px);
  background: #f6f9ff;
}

.portal-card:first-child,
.portal-card-calculator {
  border-radius: 10px;
  background: #f2f6ff;
}

.portal-card i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #1f6fe5;
  background: #e7efff;
  border-radius: 13px;
  font-size: 26px;
}

.portal-card-calculator {
  background: #fff9df00;
}

.portal-card-calculator i {
  color: var(--navy);
  /* background: var(--yellow); */
}

.portal-card strong {
  margin-top: 11px;
  color: var(--navy);
  font-size: 16px;
}

.portal-card span {
  color: var(--muted);
  font-size: 14px;
}

.portal-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 27, 63, .06);
}

.portal-section h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.1;
}

.portal-section p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.showroom-preview {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(420px, 1.15fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 34px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 211, 22, .2), transparent 28%),
    linear-gradient(135deg, rgba(29, 101, 216, .08), rgba(255, 255, 255, 0) 52%),
    #fff;
  box-shadow: 0 14px 36px rgba(7, 27, 63, .08);
}

.showroom-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.showroom-copy > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.showroom-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.showroom-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.showroom-model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.showroom-model-list button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.showroom-model-list button.active {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.showroom-active-info {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
}

.showroom-active-info strong {
  color: var(--navy);
  font-size: 16px;
}

.showroom-active-info small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.showroom-color-picker {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
}

.showroom-color-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.showroom-color-heading strong {
  color: var(--navy);
  font-size: 14px;
}

.showroom-color-heading small {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.showroom-color-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 8px;
}

.showroom-color-tools input,
.showroom-color-tools select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #fff;
  outline: 0;
  font-size: 12px;
  font-weight: 800;
}

.showroom-color-tools input {
  padding: 0 12px;
}

.showroom-color-tools select {
  padding: 0 10px;
}

.showroom-color-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 224px;
  overflow: auto;
  padding-right: 3px;
}

.viewer-color-option {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.viewer-color-option.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(233, 8, 18, .1);
}

.viewer-color-option i {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(7, 27, 63, .18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5);
}

.viewer-color-option span {
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-color-option small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showroom-viewer-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #cfe8ff 0%, #eef7ff 44%, #d8ead3 45%, #b8d7ad 68%, #8fa982 100%);
}

.showroom-viewer-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, rgba(7, 27, 63, .08), transparent 22%, transparent 78%, rgba(7, 27, 63, .08));
  pointer-events: none;
}

.showroom-viewer-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(62%, 520px);
  height: 16%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(45, 69, 43, .16);
  filter: blur(8px);
  pointer-events: none;
}

.showroom-viewer-panel model-viewer {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  background: transparent;
}

.cheatsheet-preview,
.calculator-preview {
  align-items: stretch;
}

.cheatsheet-preview .btn {
  width: fit-content;
  margin-top: 16px;
}

.cheatsheet-grid,
.calculator-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
  min-width: min(560px, 50%);
}

.cheatsheet-grid span,
.calculator-mini span {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  column-gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.cheatsheet-grid i,
.calculator-mini i {
  grid-row: span 2;
  color: var(--red);
  font-size: 22px;
}

.calculator-mini i {
  color: #1d65d8;
}

.cheatsheet-grid strong,
.calculator-mini strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.material-calculator {
  margin-top: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(233, 8, 18, .06), rgba(29, 101, 216, .06) 58%, rgba(255, 211, 22, .08)),
    #fff;
  box-shadow: 0 14px 36px rgba(7, 27, 63, .08);
}

.material-calculator-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 24px;
}

.material-calculator-heading span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.material-calculator-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.material-calculator-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.material-calculator-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(360px, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.calculator-form,
.calculator-result {
  border: 1px solid rgba(228, 233, 242, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 24px rgba(7, 27, 63, .05);
}

.calculator-form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.calculator-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calculator-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.calculator-field select,
.calculator-field input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #fff;
  outline: 0;
  font-weight: 800;
}

.calculator-field select {
  padding: 0 12px;
}

.calculator-field input {
  padding: 0 44px 0 12px;
}

.calculator-input-unit {
  position: relative;
}

.calculator-input-unit span {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.calculator-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 20px;
}

.calculator-submit {
  width: max-content;
  min-height: 48px;
  padding-inline: 18px;
}

.calculator-placeholder {
  display: none;
}

.calculator-result.is-placeholder {
  align-content: center;
}

.calculator-result.is-placeholder .calculator-placeholder {
  display: grid;
  justify-items: start;
  gap: 10px;
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 13px;
  color: var(--muted);
  background: #fff;
}

.calculator-result.is-placeholder .calculator-placeholder i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--red);
  background: #fff5f5;
  font-size: 20px;
}

.calculator-result.is-placeholder .calculator-placeholder strong {
  color: var(--navy);
  font-size: 18px;
}

.calculator-result.is-placeholder .calculator-placeholder span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.calculator-result.is-placeholder .calculator-result-main,
.calculator-result.is-placeholder .calculator-result-stats,
.calculator-result.is-placeholder .calculator-recommendations,
.calculator-result.is-placeholder .calculator-wa {
  display: none;
}

.calculator-result-main {
  grid-column: 1 / -1;
  padding: 20px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.calculator-result-main span,
.calculator-result-main small {
  display: block;
  color: #dbe7ff;
  font-size: 13px;
  font-weight: 800;
}

.calculator-result-main strong {
  display: block;
  margin: 8px 0 6px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.calculator-result-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 12px;
}

.calculator-result-stats span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.calculator-result-stats strong {
  display: block;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

.calculator-recommendations {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}

.calculator-recommendations > strong {
  color: var(--navy);
  font-size: 14px;
}

.calculator-recommendations div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calculator-recommendations span,
.calculator-recommendations a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.calculator-wa {
  grid-column: 1 / -1;
  width: max-content;
  min-height: 48px;
}

.catalog {
  padding: 58px 0 56px;
}

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

.section-heading h2,
.why h2,
.stats-band h2,
.cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p {
  display: inline-block;
  margin: 0 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.section-heading > div {
  display: flex;
  align-items: end;
}

.section-heading a {
  color: #1d65d8;
  font-size: 13px;
  font-weight: 800;
}

.tabs {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafd;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tabs button {
  flex: 0 0 auto;
  min-width: 140px;
  max-width: none;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-left: 1px solid var(--line);
  color: #526078;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.tabs button:first-child {
  flex-basis: 140px;
  min-width: 140px;
  border-left: 0;
}

.tabs .active {
  color: #fff;
  background: var(--red);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 27, 63, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-brand {
  min-height: 23px;
  color: #111827;
  font-weight: 900;
  font-size: 15px;
}

.product-brand.red {
  color: var(--red);
}

.product-brand.blue {
  color: #2464c7;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin: 4px 0 12px;
}

.product-card h3 {
  min-height: 0;
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
}

.product-card p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.product-sku {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0;
  padding: 5px 8px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.product-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}

.product-color-chip i {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(7, 27, 63, .16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
}

.product-card strong {
  color: var(--navy);
  font-size: 17px;
}

.product-card small {
  color: var(--muted);
  font-weight: 600;
}

.product-card .product-usage {
  display: -webkit-box;
  min-height: 40px;
  margin-bottom: 10px;
  overflow: hidden;
  color: #4b5563;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.product-card footer span {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.product-card footer .stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  line-height: 1;
}

.stock-fast {
  color: #15803d !important;
  background: #dcfce7;
}

.stock-regular {
  color: #a16207 !important;
  background: #fef9c3;
}

.stock-special {
  color: #6d28d9 !important;
  background: #ede9fe;
}

.product-card footer .buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 88px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(233, 8, 18, .16);
}

.product-card footer .buy-button i {
  font-size: 14px;
}

.catalog-loading,
.catalog-empty {
  grid-column: 1 / -1;
  min-height: 150px;
  justify-content: center;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 30px;
}

.slider-dots i {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #c7cfdd;
}

.slider-dots .active {
  width: 24px;
  background: var(--red);
}

.why {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: linear-gradient(#fff, #fbfcff);
}

.why h2 {
  text-align: center;
  margin-bottom: 36px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.why-grid article {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  column-gap: 13px;
}

.why-grid i {
  grid-row: span 2;
  color: var(--red);
  font-size: 30px;
}

.why-grid strong {
  color: var(--navy);
  font-size: 14px;
}

.why-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.stats-band {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
  padding: 32px 38px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #0d3a86);
}

.stats-band h2 {
  color: #fff;
  margin-bottom: 14px;
}

.stats-band p {
  max-width: 570px;
  margin: 0;
  color: #dce8ff;
  font-size: 14px;
  line-height: 1.7;
}

.stats-band article {
  min-height: 134px;
  padding: 22px 20px;
  border-radius: 10px;
  color: var(--navy);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}

.stats-band article i {
  color: #1e65d8;
  font-size: 25px;
}

.stats-band article strong {
  display: block;
  margin-top: 17px;
  color: var(--red);
  font-size: 28px;
  line-height: 1;
}

.stats-band article span {
  display: block;
  margin-top: 8px;
  color: #526078;
  font-size: 12px;
  font-weight: 700;
}

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto auto 170px;
  align-items: center;
  gap: 20px;
  min-height: 168px;
  margin-top: 34px;
  padding: 32px 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 50%, rgba(13, 58, 134, .08) 1px, transparent 2px) 0 0 / 13px 13px,
    #fff;
  box-shadow: 0 12px 34px rgba(7, 27, 63, .08);
}

.cta h2 {
  max-width: 560px;
  font-size: 32px;
}

.cta p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.advisor {
  align-self: end;
  justify-self: end;
  width: 155px;
  height: 150px;
  border-radius: 76px 76px 0 0;
  background:
    radial-gradient(circle at 50% 19%, #f2c6a5 0 21px, transparent 22px),
    linear-gradient(90deg, transparent 0 38%, #111827 38% 62%, transparent 62%),
    linear-gradient(135deg, var(--red) 0 68%, #b80610 68%);
}

.assurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 30px 0 36px;
}

.assurance span {
  display: grid;
  grid-template-columns: 34px 1fr;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.assurance i {
  grid-row: span 2;
  color: var(--navy-2);
  font-size: 22px;
}

.assurance strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.site-footer {
  margin-top: 34px;
  color: #d8e4ff;
  background:
    linear-gradient(135deg, rgba(233, 8, 18, .16), transparent 34%),
    linear-gradient(135deg, var(--navy), #07194a);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 42px;
  padding: 54px 0 42px;
}

.footer-brand img {
  display: block;
  width: clamp(120px, 12vw, 172px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #c8d7f3;
  font-size: 14px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .14);
}

.footer-social a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-links h2,
.footer-contact h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 15px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a {
  color: #c8d7f3;
  font-size: 13px;
  font-weight: 700;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-contact p {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  margin: 0;
  color: #c8d7f3;
  font-size: 13px;
  line-height: 1.55;
}

.footer-contact i {
  color: var(--yellow);
  font-size: 15px;
  line-height: 1.55;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #aebfe0;
  font-size: 12px;
  font-weight: 700;
}

.public-page {
  background:
    linear-gradient(180deg, #f8fafc 0, #fff 430px);
}

.page-hero {
  padding: 58px 0 44px;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: end;
  gap: 42px;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 68px);
  line-height: .96;
}

.page-hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.page-hero-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.page-hero-card span {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.page-hero-card i {
  grid-row: span 2;
  color: var(--red);
  font-size: 22px;
}

.page-hero-card strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.about-story {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  padding: 56px 0 26px;
}

.story-panel,
.mission-panel,
.contact-card,
.contact-map-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 27, 63, .07);
}

.story-panel,
.mission-panel {
  padding: 32px;
}

.story-panel h2,
.mission-panel h2,
.contact-card h2,
.contact-map-panel h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 28px;
}

.story-panel p,
.mission-panel p,
.contact-card p,
.contact-map-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.mission-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.mission-list span {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.mission-list i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px 0 58px;
}

.value-grid article {
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 27, 63, .06);
}

.value-grid i {
  color: var(--red);
  font-size: 28px;
}

.value-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 16px;
}

.value-grid span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.cheat-layout {
  display: grid;
  gap: 28px;
  padding: 54px 0 24px;
}

.cheat-intro {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(233, 8, 18, .08), transparent 38%),
    #fff;
  box-shadow: 0 12px 34px rgba(7, 27, 63, .07);
}

.cheat-intro span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cheat-intro h2 {
  max-width: 760px;
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.15;
}

.cheat-intro p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

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

.cheat-size-grid article,
.cheat-formula-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 27, 63, .06);
}

.cheat-size-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 330px;
  padding: 24px;
}

.cheat-size-grid i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--red);
  background: rgba(233, 8, 18, .08);
  font-size: 22px;
}

.cheat-size-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.cheat-size-grid dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.cheat-size-grid dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
}

.cheat-size-grid dt,
.cheat-size-grid dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.cheat-size-grid dt {
  color: var(--muted);
  font-weight: 800;
}

.cheat-size-grid dd {
  color: var(--navy);
  font-weight: 900;
  text-align: right;
}

.cheat-size-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.cheat-reference,
.faq-section {
  padding: 28px 0 20px;
}

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

.cheat-formula-grid article {
  padding: 22px;
}

.cheat-formula-grid strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.cheat-formula-grid span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.faq-section {
  padding-bottom: 58px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.faq-category-list {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 10px;
}

.faq-category-list a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 27, 63, .05);
}

.faq-category-list a.active,
.faq-category-list a:hover {
  border-color: rgba(233, 8, 18, .22);
  background: #fff7f7;
}

.faq-category-list i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--red);
  background: rgba(233, 8, 18, .08);
}

.faq-category-list strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.25;
}

.faq-category-list small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.faq-panels {
  display: grid;
  gap: 18px;
}

.faq-panel {
  scroll-margin-top: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 27, 63, .06);
  display: none;
}

.faq-panel.active {
  display: block;
  animation: faqPanelIn .22s ease;
}

@keyframes faqPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-panel-heading {
  margin-bottom: 16px;
}

.faq-panel-heading span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.faq-panel-heading h3 {
  margin: 7px 0 0;
  color: var(--navy);
  font-size: 22px;
}

.faq-panel-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  box-shadow: none;
}

.faq-empty {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--navy);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 18px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  padding: 54px 0 58px;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-card,
.contact-map-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list a,
.contact-list span {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.contact-list i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  margin-top: 20px;
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 6, 121, .78), rgba(233, 8, 18, .66)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .18) 0 2px, transparent 2px 18px);
  text-align: center;
}

.map-placeholder i {
  display: block;
  margin-bottom: 14px;
  font-size: 40px;
}

.map-placeholder strong {
  display: block;
  font-size: 22px;
}

.catalog-page {
  background:
    linear-gradient(180deg, #f8fafc 0, #fff 360px);
  min-height: 100vh;
}

.catalog-hero {
  padding: 42px 0 28px;
  border-bottom: 1px solid var(--line);
}

.catalog-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.catalog-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.catalog-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
}

.catalog-hero p {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.catalog-shop {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 30px 0 58px;
}

.catalog-sidebar {
  position: sticky;
  top: 176px;
  display: grid;
  gap: 16px;
}

.catalog-filter-card,
.catalog-results-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 27, 63, .05);
}

.catalog-filter-card {
  padding: 16px;
}

.catalog-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.catalog-filter-title strong,
.catalog-filter-card label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.catalog-filter-title button {
  border: 0;
  color: var(--red);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.catalog-category-list {
  display: grid;
  gap: 8px;
}

.catalog-category-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #526078;
  background: #f8fafc;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.catalog-category-list button:hover,
.catalog-category-list button.active {
  border-color: rgba(233, 8, 18, .22);
  color: var(--red);
  background: #fff5f5;
}

.catalog-filter-card select,
.catalog-sort-control select {
  width: 100%;
  height: 44px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #fff;
  outline: 0;
  font-weight: 800;
}

.catalog-results-panel {
  padding: 18px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 170px;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}

.catalog-search-panel {
  display: grid;
  grid-template-columns: 44px 1fr 92px;
  align-items: center;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.catalog-search-panel i {
  color: #7b8798;
  text-align: center;
}

.catalog-search-panel input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 14px;
}

.catalog-search-panel button {
  height: 52px;
  border: 0;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.catalog-sort-control label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-result-meta [data-active-filters] {
  color: var(--navy);
  text-align: right;
}

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

.catalog-page-card {
  min-height: 430px;
}

.catalog-page-card img {
  height: 230px;
}

@media (max-width: 1280px) {
  .mainnav-inner {
    grid-template-columns: 130px auto minmax(220px, 300px);
  }

  .nav-actions {
    display: none;
  }

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

  .service-card {
    right: 28px;
  }

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

  .tabs {
    display: flex;
    overflow-x: auto;
  }

  .tabs button {
    min-width: 160px;
    padding-inline: 20px;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, 760px);
  }

  .topbar-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0;
  }

  .topbar-location,
  .topbar nav {
    display: none;
  }

  .mainnav-inner {
    grid-template-columns: 116px 1fr 44px;
    min-height: 84px;
    gap: 14px;
  }

  .brand img {
    width: 110px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    order: 4;
  }

  .primary-menu {
    display: none;
    grid-column: 1 / -1;
    order: 5;
    padding: 12px 0 18px;
    border-top: 1px solid var(--line);
  }

  .primary-menu.open {
    display: grid;
    gap: 12px;
  }

  .search-form {
    height: 44px;
    grid-template-columns: 36px 1fr 46px;
  }

  .search-form button {
    width: 46px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .hero-image-layer {
    inset: auto 0 0;
    width: 100%;
    height: 430px;
    background-position: center bottom;
    background-size: auto 100%;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: .95;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-image-spacer {
    min-height: 390px;
  }

  .service-card {
    position: static;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .portal-shortcuts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -28px;
    padding: 16px;
  }

  .portal-card {
    border: 1px solid var(--line);
    margin: -1px 0 0 -1px;
  }

  .portal-section,
  .cheatsheet-preview,
  .calculator-preview {
    display: grid;
    grid-template-columns: 1fr;
  }

  .showroom-preview {
    grid-template-columns: 1fr;
  }

  .material-calculator-grid {
    grid-template-columns: 1fr;
  }

  .cheatsheet-grid,
  .calculator-mini {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .section-heading,
  .section-heading > div {
    display: block;
  }

  .section-heading p {
    margin: 8px 0 0;
  }

  .product-grid,
  .why-grid,
  .assurance {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band > div {
    grid-column: 1 / -1;
  }

  .page-hero-inner,
  .about-story,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .cheat-size-grid,
  .cheat-formula-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .advisor {
    display: none;
  }

  .catalog-hero-inner,
  .catalog-shop,
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-hero-inner {
    display: grid;
  }

  .catalog-sidebar {
    position: static;
  }

  .catalog-category-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .catalog-category-list button {
    flex: 0 0 210px;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 420px);
  }

  .mainnav-inner {
    grid-template-columns: 96px 1fr 42px;
  }

  .brand img {
    width: 94px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
  }

  .floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .search-form {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-features,
  .hero-buttons,
  .product-grid,
  .why-grid,
  .stats-band,
  .assurance {
    grid-template-columns: 1fr;
  }

  .rating-row {
    align-items: flex-start;
    gap: 10px;
  }

  .rating-row > span {
    flex-basis: 100%;
    min-width: 0;
  }

  .stars {
    width: auto;
  }

  .btn {
    width: 100%;
  }

  .hero-image-layer {
    height: 330px;
    background-size: auto 100%;
  }

  .hero-image-spacer {
    min-height: 315px;
  }

  .portal-shortcuts {
    grid-template-columns: 1fr;
  }

  .portal-card {
    min-height: 96px;
  }

  .page-hero {
    padding: 42px 0 32px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .story-panel,
  .mission-panel,
  .contact-card,
  .contact-map-panel,
  .cheat-intro {
    padding: 22px;
  }

  .value-grid,
  .cheat-size-grid,
  .cheat-formula-grid {
    grid-template-columns: 1fr;
  }

  .cheat-size-grid article {
    min-height: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-category-list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-list summary {
    align-items: flex-start;
    padding: 16px 18px;
  }

  .faq-list p {
    padding: 0 18px 18px;
  }

  .contact-actions {
    display: grid;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0 32px;
  }

  .site-footer-bottom {
    display: grid;
    justify-items: start;
  }

  .cta {
    padding: 28px 20px;
  }

  .cta h2 {
    font-size: 27px;
  }

  .material-calculator {
    padding: 22px 16px;
  }

  .material-calculator-heading h2 {
    font-size: 26px;
  }

  .calculator-field-grid,
  .calculator-result-stats {
    grid-template-columns: 1fr;
  }

  .calculator-form,
  .calculator-result {
    padding: 14px;
  }

  .calculator-result-main strong {
    font-size: 28px;
  }

  .calculator-wa {
    width: 100%;
  }

  .calculator-submit {
    width: 100%;
  }

  .showroom-preview {
    padding: 22px 16px;
  }

  .showroom-copy h2 {
    font-size: 26px;
  }

  .faq-category-list {
    grid-template-columns: 1fr;
  }

  .faq-panel {
    padding: 16px;
  }

  .showroom-viewer-panel,
  .showroom-viewer-panel model-viewer {
    min-height: 320px;
  }

  .showroom-color-tools,
  .showroom-color-list {
    grid-template-columns: 1fr;
  }

  .catalog-hero {
    padding-top: 30px;
  }

  .catalog-hero h1 {
    font-size: 34px;
  }

  .catalog-shop {
    padding-top: 20px;
  }

  .catalog-results-panel,
  .catalog-filter-card {
    padding: 14px;
    border-radius: 12px;
  }

  .catalog-search-panel {
    grid-template-columns: 40px 1fr 72px;
  }

  .catalog-result-meta {
    display: grid;
    gap: 4px;
  }

  .catalog-result-meta [data-active-filters] {
    text-align: left;
  }

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