:root {
  --red: #d7222a;
  --red-dark: #a81720;
  --yellow: #ffcd32;
  --green: #0a8f48;
  --blue: #136fbd;
  --ink: #16171a;
  --muted: #6d7480;
  --line: #e7e9ee;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --shadow: 0 18px 50px rgba(22, 23, 26, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.top-rail {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  min-height: 34px;
  padding: 6px clamp(16px, 4vw, 54px);
  color: #fff;
  background: var(--red);
}

.rail-link,
.contact-inline a,
.footer-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.rail-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.rail-link svg,
.button svg,
.icon-button svg,
.mobile-cart-button svg,
.text-button svg,
.contact-inline svg,
.footer-actions svg,
.floating-whatsapp svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.icon-fallback {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 54px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(215, 34, 42, 0.22));
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 900;
  background:
    linear-gradient(90deg, var(--red) 0 34%, var(--yellow) 34% 54%, var(--green) 54% 74%, var(--blue) 74% 100%);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(215, 34, 42, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions,
.hero-actions,
.order-actions,
.footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button,
.icon-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button {
  padding: 0 16px;
}

.button:hover,
.icon-button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 24px rgba(215, 34, 42, 0.25);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

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

.icon-button {
  width: 42px;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.menu-toggle {
  display: none;
  justify-self: end;
}

.mobile-nav-tools {
  display: none;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.mobile-cart-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero {
  position: relative;
  min-height: min(620px, 76vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero::before {
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  content: "";
  background:
    linear-gradient(90deg, var(--red) 0 24%, var(--yellow) 24% 46%, var(--green) 46% 66%, var(--blue) 66% 84%, #25272c 84% 100%);
  z-index: 4;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.38) 52%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.36), transparent 42%);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroFade 30s infinite;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide:nth-child(4) {
  animation-delay: 18s;
}

.hero-slide:nth-child(5) {
  animation-delay: 24s;
}

.hero.is-manual .hero-slide {
  animation: none;
}

.hero.is-manual .hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  6%,
  20% {
    opacity: 1;
    transform: scale(1);
  }

  28%,
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 58px;
  padding: 0;
  background: rgba(0, 0, 0, 0.22);
  border: 0;
  border-radius: 0;
  transform: translateY(-50%);
}

.slider-arrow img {
  width: 18px;
  height: 30px;
  object-fit: contain;
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: calc(100% - 32px);
  max-width: 760px;
  margin-left: clamp(16px, 7vw, 96px);
  padding: 52px 0 64px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-metrics span {
  min-width: 142px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.5rem;
}

.paint-strip {
  position: absolute;
  right: clamp(16px, 5vw, 70px);
  bottom: 44px;
  display: flex;
  width: 42vw;
  max-width: 360px;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  z-index: 3;
}

.slider-dots {
  position: absolute;
  right: clamp(16px, 5vw, 70px);
  bottom: 78px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.58);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: dotPulse 30s infinite;
}

.slider-dots span:nth-child(2) {
  animation-delay: 6s;
}

.slider-dots span:nth-child(3) {
  animation-delay: 12s;
}

.slider-dots span:nth-child(4) {
  animation-delay: 18s;
}

.slider-dots span:nth-child(5) {
  animation-delay: 24s;
}

.hero.is-manual .slider-dots span {
  animation: none;
}

.hero.is-manual .slider-dots span.is-active {
  background: var(--yellow);
}

@keyframes dotPulse {
  0%,
  28%,
  100% {
    background: rgba(255, 255, 255, 0.42);
  }

  6%,
  20% {
    background: var(--yellow);
  }
}

.swatch {
  flex: 1;
}

.swatch.red {
  background: var(--red);
}

.swatch.yellow {
  background: var(--yellow);
}

.swatch.green {
  background: var(--green);
}

.swatch.blue {
  background: var(--blue);
}

.swatch.charcoal {
  background: #25272c;
}

.latest-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 clamp(16px, 4vw, 54px);
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.latest-strip strong {
  flex: 0 0 auto;
  color: var(--yellow);
}

.news-marquee {
  display: flex;
  gap: 42px;
  min-width: max-content;
  padding-left: 10px;
  color: rgba(255, 255, 255, 0.88);
  animation: ticker 28s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.services-band,
.category-band,
.source-band,
.news-band,
.partners-band {
  padding: 64px clamp(16px, 4vw, 54px);
  background: #fff;
}

.section-heading,
.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto 28px;
}

.section-heading > div,
.catalog-heading > div {
  min-width: 0;
  max-width: 100%;
}

.centered-heading {
  justify-content: center;
  text-align: center;
}

.category-grid,
.source-grid,
.services-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

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

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

.category-card,
.source-card,
.service-card,
.news-card,
.product-card,
.order-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(22, 23, 26, 0.06);
}

.service-card,
.news-card {
  position: relative;
  overflow: hidden;
}

.service-card {
  min-height: 285px;
  padding: 26px 22px 22px;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.service-card img {
  width: 100%;
  height: 96px;
  margin-bottom: 18px;
  object-fit: contain;
}

.service-card p {
  min-height: 54px;
  color: var(--muted);
  line-height: 1.45;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: #fff;
  background: var(--red);
  border-radius: var(--radius);
  font-weight: 850;
}

.category-card {
  position: relative;
  min-height: 148px;
  padding: 18px;
  overflow: hidden;
}

.category-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: var(--accent, var(--red));
}

.category-card button {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.category-card .category-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--accent, var(--red));
  background: color-mix(in srgb, var(--accent, var(--red)) 12%, #fff);
  border-radius: var(--radius);
}

.category-card svg {
  width: 22px;
  height: 22px;
}

.category-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.category-card span {
  color: var(--muted);
}

.catalog-shell {
  padding: 58px clamp(16px, 4vw, 54px);
  background: var(--soft);
}

.catalog-heading {
  align-items: center;
}

.contact-inline {
  display: flex;
  gap: 12px;
  color: var(--red);
  font-weight: 850;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px;
  margin-bottom: 14px;
}

.search-field,
.select-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search-field:focus-within,
.select-field:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(215, 34, 42, 0.1);
}

.search-field svg {
  flex: 0 0 auto;
  width: 20px;
  color: var(--muted);
}

.search-field input,
.select-field select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.select-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.category-tabs {
  display: flex;
  gap: 8px;
  padding: 2px 0 14px;
  overflow-x: auto;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
}

.category-tab.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 750;
}

.text-button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--red);
  background: transparent;
  border: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 18px 14px;
  align-items: start;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 368px;
  padding: 0;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.product-card:hover {
  border-color: color-mix(in srgb, var(--accent, var(--red)) 30%, var(--line));
  box-shadow: 0 16px 36px rgba(22, 23, 26, 0.12);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  aspect-ratio: 247 / 296;
  overflow: hidden;
  background: #f7f7f7;
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #aab0bb;
  background: linear-gradient(135deg, #f7f7f7, #eceff4);
}

.product-placeholder svg {
  width: 38px;
  height: 38px;
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(215, 34, 42, 0.24);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.quick-view {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  min-height: 40px;
  color: #fff;
  background: rgba(22, 23, 26, 0.9);
  border: 0;
  font-weight: 850;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.product-card:hover .quick-view,
.quick-view:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
}

.product-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  min-height: 28px;
  padding: 0 9px;
  color: var(--accent, var(--red));
  background: color-mix(in srgb, var(--accent, var(--red)) 12%, #fff);
  border: 0;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-code {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.product-card h3 {
  min-height: 3.95em;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.32;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.variant-field,
.quantity-field {
  display: grid;
  gap: 7px;
}

.variant-field span,
.quantity-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.variant-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 5px 9px;
  flex-wrap: wrap;
  min-height: 30px;
}

.price-line strong {
  color: var(--red);
  font-size: 1rem;
  line-height: 1.2;
}

.price-line s {
  color: var(--muted);
  font-size: 0.82rem;
}

.quantity-row {
  display: grid;
  grid-template-columns: 38px minmax(44px, 1fr) 38px;
  gap: 6px;
}

.quantity-row button,
.quantity-row input {
  min-height: 38px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quantity-row input {
  min-width: 0;
  font-weight: 850;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
}

.product-actions .button {
  width: 100%;
  min-height: 38px;
}

.order-panel {
  position: sticky;
  top: 122px;
  scroll-margin-top: 110px;
  padding: 18px;
}

.order-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 16px;
}

.order-panel h2 {
  font-size: 1.5rem;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  color: #fff;
  font-weight: 900;
  background: var(--red);
  border-radius: 50%;
}

.mobile-cart-button .cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid #fff;
  font-size: 0.68rem;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-item h3 {
  margin-bottom: 2px;
  font-size: 0.92rem;
}

.cart-item small,
.muted {
  color: var(--muted);
}

.cart-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-tools button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-tools svg {
  width: 16px;
  height: 16px;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-summary span {
  color: var(--muted);
  font-weight: 850;
}

.cart-summary strong {
  font-size: 1.18rem;
}

.source-band {
  background: #fff;
}

.source-card {
  padding: 18px;
}

.source-card strong {
  display: block;
  margin-bottom: 8px;
}

.source-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

.source-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 850;
}

.news-band {
  background: var(--soft);
}

.news-card img {
  width: 100%;
  aspect-ratio: 340 / 209;
  object-fit: cover;
}

.news-card time {
  display: block;
  padding: 16px 18px 0;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.news-card h3 {
  padding: 8px 18px 20px;
  font-size: 1rem;
  line-height: 1.35;
}

.partners-band {
  overflow: hidden;
}

.partner-marquee {
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  min-height: 112px;
  animation: partnerSlide 34s linear infinite;
}

.partner-track img {
  max-width: 142px;
  max-height: 56px;
  object-fit: contain;
  filter: saturate(0.94);
}

@keyframes partnerSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.load-row {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}

.load-row[hidden] {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(16px, 4vw, 54px);
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-actions {
  justify-content: flex-end;
}

.footer-actions a {
  color: #fff;
  font-weight: 850;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  color: #fff;
  background: #12a85f;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(18, 168, 95, 0.32);
  font-weight: 900;
}

.is-hidden {
  display: none !important;
}

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

  .order-panel {
    position: static;
  }

  .category-grid,
  .source-grid,
  .services-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .top-rail {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mobile-nav-tools {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav-links.is-open a {
    padding: 13px 0;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 44px;
    min-width: 0;
    max-width: calc(100vw - 32px);
  }

  .paint-strip {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 30px;
  }

  .slider-arrow {
    display: none;
  }

  .slider-dots {
    right: 18px;
    bottom: 64px;
  }

  .section-heading,
  .catalog-heading,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

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

@media (max-width: 620px) {
  .top-rail {
    gap: 10px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.86rem;
    overflow: hidden;
  }

  .top-rail .rail-link:nth-child(3) {
    display: none;
  }

  .rail-link svg {
    width: 16px;
    height: 16px;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero .eyebrow {
    font-size: 0.7rem;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: calc(100vw - 32px);
    max-width: 360px;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy,
  .hero-metrics {
    display: block;
    width: calc(100vw - 32px);
    max-width: 340px;
    white-space: normal;
  }

  .centered-heading {
    align-items: center;
    text-align: center;
  }

  .hero-actions .button,
  .order-actions .button,
  .nav-actions .button {
    flex: 1 1 160px;
  }

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

  .hero-metrics span {
    min-width: 0;
    padding: 10px;
    font-size: 0.78rem;
  }

  .hero-metrics strong {
    font-size: 1.2rem;
  }

  .category-grid,
  .source-grid,
  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .product-actions,
  .order-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
  }
}
