:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-soft: #151a22;
  --panel: rgba(19, 24, 32, 0.86);
  --panel-solid: #171d26;
  --text: #fbfbf8;
  --statstext: #f77272;
  --muted: #b9c1cd;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #a51f25;
  --accent-2: #f77272;
  --accent-3: #d72e38;
  --accent-4: #2aa7cf;
  --accent-5: #5b78fc;
  --button-text: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f8fb;
  --bg-soft: #eef2f6;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #ffffff;
  --text: #18202b;
  --statstext: #b92f36;
  --muted: #5b6472;
  --line: rgba(24, 32, 43, 0.12);
  --accent: #a51f25;
  --accent-2: #b92f36;
  --accent-3: #d72e38;
  --accent-4: #0d7f9d;
  --accent-5: #3f61d7;
  --button-text: #ffffff;
  --shadow: 0 18px 46px rgba(24, 32, 43, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

[data-theme="light"] body {
  background:
    radial-gradient(circle at 18% 0%, rgba(185, 47, 54, 0.08), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(13, 127, 157, 0.08), transparent 32%),
    var(--bg);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 26px rgba(24, 32, 43, 0.06);
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

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

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.main-nav a,
.theme-toggle {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover,
.theme-toggle:hover {
  border-color: var(--line);
  color: var(--text);
  background: var(--panel);
}

.theme-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  cursor: pointer;
}

.language-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0;
  color: var(--text);
}

.language-trigger {
  display: inline-flex;
  width: 48px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel-solid) 92%, transparent);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--accent-2) 44%, var(--line));
  background: color-mix(in srgb, var(--accent-4) 12%, var(--panel-solid));
  transform: translateY(-1px);
}

.language-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: none;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-solid);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

[data-theme="light"] .language-menu-panel {
  box-shadow: 0 18px 40px rgba(24, 32, 43, 0.14);
}

.language-toggle.is-open .language-menu-panel {
  display: grid;
}

.language-option {
  display: inline-flex;
  width: 48px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.language-option:hover,
.language-option.active {
  border-color: color-mix(in srgb, var(--accent-2) 48%, transparent);
  background: color-mix(in srgb, var(--accent-4) 14%, transparent);
}

.language-option:hover {
  transform: translateY(-1px);
}

.flag-emoji {
  display: inline-flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.28));
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 48px;
  background:
    radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34%),
    radial-gradient(circle at 12% 82%, color-mix(in srgb, var(--accent-4) 12%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--bg-soft) 84%, var(--bg)), var(--bg));
}

[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 76% 18%, rgba(185, 47, 54, 0.1), transparent 34%),
    radial-gradient(circle at 18% 72%, rgba(13, 127, 157, 0.1), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f3f6fa 54%, #eef2f6 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03)),
    linear-gradient(0deg, var(--bg), transparent 52%);
}

[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent),
    linear-gradient(0deg, var(--bg), transparent 58%);
}

.confetti {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-brand-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel-solid) 92%, transparent);
  box-shadow: var(--shadow);
}

[data-theme="light"] .hero-brand-card,
[data-theme="light"] .stat,
[data-theme="light"] .product-card,
[data-theme="light"] .catalog-item,
[data-theme="light"] .related-card,
[data-theme="light"] .contact-form {
  border-color: rgba(24, 32, 43, 0.1);
  box-shadow: 0 14px 34px rgba(24, 32, 43, 0.08);
}

.hero-brand-card > img {
  width: min(230px, 72%);
  margin: 0 auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.22));
}

.hero-card-content {
  display: grid;
  gap: 4px;
  text-align: center;
}

.hero-card-content p,
.hero-card-content span {
  margin: 0;
  color: var(--muted);
}

.hero-card-content strong {
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1.1;
}

.hero-card-button {
  width: 100%;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-card-stats div {
  display: grid;
  gap: 2px;
  padding: 14px 10px;
  background: var(--bg);
  text-align: center;
}

[data-theme="light"] .hero-card-stats div {
  background: #f3f6fa;
}

.hero-card-stats dt {
  color: var(--statstext);
  font-weight: 900;
}

.hero-card-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-band .eyebrow {
  color: var(--accent-2);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1 span {
  display: block;
  line-height: 0.95;
}

h1 span:nth-child(3) {
  margin-top: -0.06em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.hero-copy {
  margin-top: 35px;
  max-width: 640px;
  color: color-mix(in srgb, var(--text) 80%, var(--muted));
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent-5) 42%, var(--accent)));
  color: var(--button-text);
}

.contact-form .button[type="submit"] {
  position: relative;
  overflow: hidden;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-form .button[type="submit"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  opacity: 0;
  transform: translateX(-110%);
}

.contact-form.is-submitting .button[type="submit"] {
  background: linear-gradient(135deg, #178f63, #26b47a);
  box-shadow: 0 14px 34px rgba(23, 143, 99, 0.28);
  transform: translateY(-1px) scale(1.01);
  cursor: wait;
}

.contact-form.is-submitting .button[type="submit"]::after {
  animation: submitSweep 900ms ease both;
  opacity: 1;
}

@keyframes submitSweep {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(110%);
  }
}

.button.ghost {
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  color: var(--text);
}

.hero-panel {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.logo-panel {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  text-align: left;
}

.logo-panel img {
  width: 88px;
  margin: 0;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.24));
}

.hero-panel span,
.hero-panel p {
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  margin: 4px 0 10px;
  font-size: 1.6rem;
}

.section {
  padding: 76px clamp(18px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  background: var(--bg);
}

.stat {
  min-height: 142px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  border-radius: 8px;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  font-size: 1.7rem;
}

.stat span,
.section-copy,
.product-card p,
.steps p,
.contact-band p,
.site-footer span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: end;
}

.section-copy {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) 90px;
}

.product-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: none;
}

.product-card.featured {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 48%),
    var(--panel-solid);
}

.product-card strong {
  color: var(--accent-2);
}

.tag {
  display: inline-flex;
  width: max-content;
  margin-bottom: 18px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-4) 14%, transparent);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
}

.catalog {
  background:
    linear-gradient(180deg, var(--bg), var(--bg-soft));
}

[data-theme="light"] .catalog {
  background:
    linear-gradient(180deg, #f7f8fb 0%, #eef2f6 100%);
}

.catalog-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--panel-solid);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}

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

.catalog-item {
  min-height: 300px;
  display: grid;
  grid-template-rows: 160px 1fr;
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  position: relative;
  overflow: hidden;
}

.catalog-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--bg-soft);
  padding: 0;
}

[data-theme="light"] .catalog-item img,
[data-theme="light"] .related-card img {
  background: #eef2f6;
}

.catalog-item > div {
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 16px;
}

.catalog-item span {
  color: var(--accent-4);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-item h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.2;
}

.catalog-item strong {
  color: var(--accent-2);
  font-size: 0.92rem;
}

.catalog-link {
  display: inline-flex;
  width: max-content;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.catalog-link:hover {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}

.catalog-item.is-hidden {
  display: none;
}

.product-page {
  min-height: 100vh;
  padding-top: 92px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: 70px clamp(18px, 5vw, 72px);
}

.back-link {
  grid-column: 1 / -1;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  justify-self: start;
  width: max-content;
  border: 1px solid color-mix(in srgb, var(--accent-2) 30%, var(--line));
  border-radius: 8px;
  padding: 0 14px;
  background: color-mix(in srgb, var(--accent-2) 6%, var(--panel-solid));
  color: var(--text);
  font-weight: 800;
}

[data-theme="light"] .filter-button:not(.active),
[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .main-nav a:hover {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 32, 43, 0.06);
}

[data-theme="light"] .back-link {
  background: color-mix(in srgb, var(--accent-2) 8%, #ffffff);
  box-shadow: 0 10px 24px rgba(185, 47, 54, 0.08);
}

[data-theme="light"] .filter-button.active,
[data-theme="light"] .filter-button:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(165, 31, 37, 0.18);
}

.back-link::before {
  content: "←";
  color: var(--accent-2);
  font-size: 1.1rem;
}

.back-link:hover {
  border-color: color-mix(in srgb, var(--accent-2) 56%, var(--line));
  background: color-mix(in srgb, var(--accent-2) 12%, var(--panel-solid));
}

.product-media {
  position: sticky;
  top: 112px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--panel-solid) 86%, #ffffff), var(--panel-solid));
}

[data-theme="light"] .product-media {
  border: 1px solid rgba(24, 32, 43, 0.1);
  background:
    radial-gradient(circle at center, #ffffff 0%, #f4f6f9 72%);
  box-shadow: 0 16px 42px rgba(24, 32, 43, 0.1);
}

.product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.product-media-tall img {
  aspect-ratio: 3 / 4;
  max-height: 72vh;
}

.product-detail {
  max-width: 760px;
}

.product-detail > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-4);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail h2 {
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.14;
}

.product-price {
  width: max-content;
  margin: 0 0 28px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 48%, var(--line));
  border-radius: 8px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--accent-2) 12%, transparent);
  color: var(--accent-2);
  font-size: 1.05rem;
  font-weight: 900;
}

.product-detail .product-price {
  color: var(--accent-2);
}

.product-detail p,
.product-detail li {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-copy {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.product-copy p,
.product-note {
  margin: 0;
  line-height: 1.72;
}

.delivery-summary {
  display: grid;
  gap: 10px;
  margin: 30px 0 24px;
}

.delivery-summary strong {
  font-size: 1.08rem;
}

.delivery-summary dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.delivery-summary div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.delivery-summary dt,
.delivery-summary dd {
  margin: 0;
  font-size: 0.98rem;
}

.delivery-summary dt {
  color: var(--muted);
}

.delivery-summary dd {
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.product-detail ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding-left: 22px;
}

.product-note {
  margin-bottom: 24px;
  border-left: 2px solid var(--accent-2);
  padding-left: 14px;
}

.product-detail strong {
  color: var(--text);
}

.product-detail .button {
  margin-top: 18px;
}

.related-products {
  background: var(--bg-soft);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.related-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.related-card img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  background: var(--bg-soft);
  padding: 0;
}

.related-card strong {
  display: block;
  padding: 14px;
}

.process {
  background: var(--bg-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.steps article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.steps span {
  display: block;
  margin-bottom: 26px;
  color: var(--accent-4);
  font-weight: 900;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 6vw, 82px);
  padding: 86px clamp(18px, 5vw, 72px);
  background: var(--bg);
}

.contact-band h2 {
  margin-bottom: 18px;
  line-height: 1.14;
}

.contact-band > div > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  overflow: hidden;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--bg);
  color: var(--text);
  outline: none;
}

[data-theme="light"] input,
[data-theme="light"] textarea {
  background: #ffffff;
  border-color: rgba(24, 32, 43, 0.14);
  box-shadow: inset 0 1px 0 rgba(24, 32, 43, 0.03);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

.site-footer {
  display: grid;
  gap: 26px;
  padding: 36px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

[data-theme="light"] .site-footer {
  background: #edf1f6;
}

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

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer .footer-link {
  color: var(--muted);
  text-decoration: none;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.site-footer .footer-link:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--statstext);
  text-underline-offset: 3px;
}

.site-footer .footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  align-items: center;
}

.site-footer .footer-contact-links span {
  display: inline;
}

.footer-subheading {
  margin-top: 12px;
  padding-top: 2px;
}

.opening-hours {
  display: grid;
  gap: 6px;
  margin: 8px 0 10px;
}

.opening-hours div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 12px;
  align-items: baseline;
}

.opening-hours dt,
.opening-hours dd {
  margin: 0;
  color: var(--muted);
}

.opening-hours dd {
  color: var(--text);
  font-weight: 700;
}

.footer-note {
  max-width: 310px;
  border-left: 2px solid var(--statstext);
  padding-left: 10px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.footer-contact-note {
  max-width: 260px;
  margin-top: 14px;
  border-left: 2px solid var(--statstext);
  padding-left: 10px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.site-footer .footer-contact-note span {
  display: inline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.social-links,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.legal-links {
  column-gap: 32px;
}

.social-links a,
.legal-links a {
  color: var(--muted);
  font-weight: 800;
}

.social-links .facebook-icon-link {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.facebook-icon-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-links a:hover,
.legal-links a:hover {
  color: var(--text);
}

.social-links .facebook-icon-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
    position: static;
    transform: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .hero-brand-card {
    max-width: 620px;
  }

  .logo-panel img {
    width: 82px;
    margin: 0;
  }

  .intro-band,
  .product-grid,
  .catalog-grid,
  .steps,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .catalog-top,
  .product-hero,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    justify-content: flex-start;
  }

  .product-media {
    position: static;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .theme-label,
  .brand small {
    display: none;
  }

  .theme-toggle {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .hero {
    padding: 112px 16px 52px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
    line-height: 0.92;
  }

  .logo-panel {
    grid-template-columns: 74px 1fr;
    gap: 12px;
  }

  .logo-panel img {
    width: 74px;
  }

  .hero-brand-card {
    gap: 16px;
    padding: 18px;
  }

  .hero-brand-card > img {
    width: min(150px, 58%);
  }

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

  .hero-card-stats div {
    padding: 10px 6px;
  }

  .hero-card-content strong {
    font-size: 1.55rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section,
  .contact-band {
    padding: 58px 16px;
  }

  .product-grid {
    padding: 0 16px 62px;
  }

  .intro-band,
  .product-grid,
  .catalog-grid,
  .related-grid,
  .steps,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .confetti {
    display: none;
  }

  .product-page {
    padding-top: 76px;
  }

  .product-hero {
    padding: 42px 16px 58px;
  }
}
