@font-face {
  font-family: "Evolventa";
  src: url("fonts/Evolventa-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Evolventa";
  src: url("fonts/Evolventa-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Evolventa";
  src: url("fonts/Evolventa-Oblique.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Evolventa";
  src: url("fonts/Evolventa-BoldOblique.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "League Spartan";
  src: url("fonts/league-spartan-latin-ext-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "League Spartan";
  src: url("fonts/league-spartan-latin-ext-800-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "League Spartan";
  src: url("fonts/league-spartan-latin-ext-900-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --blue-primary: #1d6bc7;
  --blue-light: #4a9ae8;
  --blue-deep: #14467d;
  --blue-ink: #0a2548;
  --blue-night: #051428;
  --blue-bg: #eef5fc;
  --bg: #ffffff;
  --bg-alt: #f6f9fd;
  --text: #1c2434;
  --text-soft: #5a6478;
  --text-muted: #8894a8;
  --border: #dfe8f1;
  --border-light: #eef3f8;
  --green: #55745e;
  --amber: #a97824;
  --red: #9a5248;
  --cyan: #2f93aa;
  --steel: #607181;
  --shadow-sm: 0 4px 14px rgba(20, 70, 125, 0.08);
  --shadow-md: 0 14px 38px rgba(20, 70, 125, 0.14);
  --shadow-lg: 0 24px 70px rgba(10, 37, 72, 0.22);
  --container: 1240px;
  --topbar-h: 74px;
  --font-body: "Evolventa", "Segoe UI", Arial, sans-serif;
  --font-heading: "League Spartan", "Evolventa", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #eaf2fa 0, #fff 360px),
    var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

@media (min-width: 721px) {
  body {
    overflow: hidden;
  }
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand span,
.map-node-index,
.map-node-label,
.map-node-count em,
.hero-stats strong,
.section-label {
  font-family: var(--font-heading);
}

button {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--topbar-h);
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-right: max(22px, env(safe-area-inset-right), calc((100vw - var(--container)) / 2));
  padding-bottom: 10px;
  padding-left: max(22px, env(safe-area-inset-left), calc((100vw - var(--container)) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 20, 40, 0.98), rgba(13, 56, 104, 0.95));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(5, 20, 40, 0.18);
}

.topbar::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: auto;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-actions,
.lang-switch,
.detail-actions,
.category-hero-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(29, 107, 199, 0.28);
}

.button.ghost,
.button.ghost-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

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

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

.lang-switch {
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.lang-button {
  min-width: 42px;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.lang-button.active {
  color: var(--blue-ink);
  background: #fff;
}

.app {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
  height: calc(100dvh - var(--topbar-h));
  min-height: 0;
  padding: 20px 0;
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f6c95c;
  outline-offset: 3px;
}

.catalog-hero,
.category-hero,
.product-detail,
.category-card,
.product-card,
.video-card {
  border-radius: 8px;
}

.catalog-hero {
  position: relative;
  height: calc(100dvh - var(--topbar-h) - 40px);
  min-height: 0;
  max-height: none;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(74, 154, 232, 0.24), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(47, 147, 170, 0.2), transparent 38%),
    linear-gradient(115deg, rgba(5, 20, 40, 0.98) 0%, rgba(10, 37, 72, 0.9) 46%, rgba(10, 37, 72, 0.72) 100%),
    url("products/dragon.jpg") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(74, 154, 232, 0.08),
    var(--shadow-lg);
}

.catalog-hero::before,
.catalog-hero::after {
  position: absolute;
  left: 50%;
  top: 50%;
  content: "";
  border: 1px dashed rgba(184, 216, 245, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.catalog-hero::before {
  width: 680px;
  height: 680px;
}

.catalog-hero::after {
  width: 980px;
  height: 980px;
  border-color: rgba(74, 154, 232, 0.18);
}

.radar-grid {
  position: absolute;
  inset: 0;
  opacity: 0.88;
  background-image:
    linear-gradient(rgba(74, 154, 232, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 154, 232, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.showcase-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.motion-orbit,
.radar-pulse,
.radar-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.motion-orbit {
  border: 1px dashed rgba(184, 216, 245, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-a {
  width: 46dvh;
  height: 46dvh;
}

.orbit-b {
  width: 72dvh;
  height: 72dvh;
  border-color: rgba(74, 154, 232, 0.22);
}

.orbit-c {
  width: 104dvh;
  height: 104dvh;
  border-color: rgba(255, 255, 255, 0.14);
}

.radar-pulse {
  width: 120px;
  height: 120px;
  border: 2px solid rgba(74, 154, 232, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.radar-sweep {
  width: 112dvh;
  height: 112dvh;
  border-radius: 50%;
  background: conic-gradient(from -18deg, rgba(74, 154, 232, 0.36), rgba(74, 154, 232, 0.1) 18deg, transparent 52deg);
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: 0.36;
  transform: translate(-50%, -50%);
}

.hero-copy,
.hero-map,
.hero-stats,
.category-hero-copy,
.category-hero-top {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 210px;
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(74, 154, 232, 0.38));
}

.eyebrow {
  color: var(--blue-primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #b8d8f5;
}

.hero-copy h1,
.category-hero h1,
.detail-body h1 {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  align-content: stretch;
  min-height: 0;
  gap: 16px;
}

.map-node {
  position: relative;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) 76px;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px 18px;
  min-height: 0;
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 22%, rgba(74, 154, 232, 0.34), transparent 34%),
    radial-gradient(circle at 84% 70%, rgba(255, 255, 255, 0.11), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(11, 34, 59, 0.72);
  border: 1px solid rgba(204, 226, 246, 0.36);
  border-left: 5px solid var(--blue-light);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 42px rgba(3, 12, 24, 0.24);
  backdrop-filter: blur(8px);
  overflow: hidden;
  animation: tileReveal 640ms cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i) * 80ms);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.map-node::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(74, 154, 232, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 52%);
  opacity: 0.86;
  pointer-events: none;
}

.map-node::after {
  position: absolute;
  inset: -40% auto -40% -36%;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0;
  transform: skewX(-18deg) translateX(-120%);
  pointer-events: none;
}

.map-node:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1)),
    rgba(13, 44, 78, 0.76);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow:
    0 24px 56px rgba(3, 12, 24, 0.3),
    0 0 34px rgba(74, 154, 232, 0.2);
}

.map-node:hover::after {
  opacity: 0.9;
}

.map-node:hover .map-node-media img {
  transform: scale(1.06);
}

.map-node-index,
.map-node-media,
.map-node-label,
.map-node-count,
.map-node-arrow {
  position: relative;
  z-index: 1;
}

.map-node-media {
  grid-column: 1;
  grid-row: 1 / 3;
  display: block;
  width: 142px;
  height: 104px;
  overflow: hidden;
  background: rgba(5, 20, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 7px;
  box-shadow: 0 12px 26px rgba(3, 12, 24, 0.24), 0 0 0 rgba(74, 154, 232, 0);
}

.map-node-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.map-node-index,
.map-node-count,
.map-node-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
}

.map-node-index {
  position: absolute;
  left: 28px;
  top: 28px;
  width: 48px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-primary));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(5, 20, 40, 0.22);
}

.map-node-label {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-width: 0;
}

.map-node-label strong {
  display: block;
  min-width: 0;
  font-size: 28px;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.map-node-count {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 76px;
  height: 66px;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(135deg, #36a0f4, var(--blue-primary));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 20px rgba(6, 24, 44, 0.18),
    0 0 22px rgba(74, 154, 232, 0.22);
}

.map-node-count em {
  font-size: 30px;
  font-style: normal;
  line-height: 1;
}

.map-node-count small {
  max-width: 66px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-node-arrow {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  width: 76px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 52px 52px;
  }
}

@keyframes spinOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes radarPulse {
  0% {
    width: 120px;
    height: 120px;
    opacity: 0.54;
  }

  100% {
    width: min(116dvh, 960px);
    height: min(116dvh, 960px);
    opacity: 0;
  }
}

@keyframes radarRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes tileReveal {
  from {
    clip-path: inset(0 0 100% 0);
    filter: blur(8px);
    opacity: 0;
  }

  to {
    clip-path: inset(0);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes panelGlow {
  0%,
  100% {
    opacity: 0.54;
  }

  50% {
    opacity: 0.88;
  }
}

@keyframes tileScan {
  0%,
  42% {
    opacity: 0;
    transform: skewX(-18deg) translateX(-120%);
  }

  58% {
    opacity: 0.72;
  }

  76%,
  100% {
    opacity: 0;
    transform: skewX(-18deg) translateX(420%);
  }
}

@keyframes mediaPulse {
  0%,
  100% {
    box-shadow: 0 12px 26px rgba(3, 12, 24, 0.24), 0 0 0 rgba(74, 154, 232, 0);
  }

  50% {
    box-shadow: 0 14px 30px rgba(3, 12, 24, 0.3), 0 0 24px rgba(74, 154, 232, 0.2);
  }
}

@keyframes arrowPulse {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.12);
  }

  50% {
    background: rgba(74, 154, 232, 0.22);
  }
}

.map-node.green,
.category-card.green {
  border-left-color: var(--green);
}

.map-node.amber,
.category-card.amber {
  border-left-color: var(--amber);
}

.map-node.red,
.category-card.red {
  border-left-color: var(--red);
}

.map-node.cyan,
.category-card.cyan {
  border-left-color: var(--cyan);
}

.map-node.steel,
.category-card.steel,
.map-node.slate,
.category-card.slate {
  border-left-color: var(--steel);
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 190px));
  gap: 12px;
  align-self: start;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
}

@media (min-width: 1101px) {
  .hero-copy {
    padding-bottom: 108px;
  }

  .hero-stats {
    position: absolute;
    left: 42px;
    bottom: 26px;
    grid-template-columns: repeat(2, 146px);
  }
}

.section-headline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 16px;
}

.section-headline.compact {
  margin-top: 0;
}

.section-headline h2 {
  margin: 4px 0 0;
  color: var(--blue-ink);
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.05;
  text-transform: uppercase;
}

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

.category-slide,
.product-slide {
  height: calc(100dvh - var(--topbar-h) - 40px);
  min-height: 0;
  display: grid;
  gap: 16px;
}

.category-slide {
  position: relative;
  grid-template-rows: 168px minmax(0, 1fr);
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(74, 154, 232, 0.24), transparent 34%),
    radial-gradient(circle at 84% 76%, rgba(47, 147, 170, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(5, 20, 40, 0.98), rgba(10, 37, 72, 0.9)),
    var(--hero-image, none) center / cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.product-slide {
  grid-template-rows: auto minmax(0, 1fr);
}

.category-slide > .radar-grid {
  z-index: 0;
  opacity: 0.72;
}

.category-slide > .showcase-motion {
  z-index: 0;
  opacity: 0.78;
}

.category-slide > .category-hero,
.category-slide > .product-grid {
  position: relative;
  z-index: 1;
}

.slide-grid {
  min-height: 0;
  grid-auto-rows: minmax(0, 1fr);
}

.category-card,
.product-card,
.product-detail,
.video-card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.category-card,
.product-card {
  border-left: 4px solid var(--blue-primary);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.category-card-media,
.product-card-image,
.detail-media {
  background: linear-gradient(135deg, #dce9f5, var(--blue-bg));
}

.category-card-media,
.product-card-image {
  position: relative;
  overflow: hidden;
}

.category-card-media {
  aspect-ratio: 16 / 10;
}

.product-card-image {
  aspect-ratio: 4 / 3;
}

.category-card-media img,
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.category-card:hover .category-card-media img,
.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.category-card-media::after,
.product-card-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(5, 20, 40, 0.78));
}

.category-card-media span,
.product-card-image span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  color: #fff;
  background: rgba(29, 107, 199, 0.88);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-card-body,
.product-card-body {
  padding: 18px;
}

.category-card h2,
.product-card h2 {
  margin: 0 0 12px;
  color: var(--blue-ink);
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.08;
  text-transform: uppercase;
}

.category-products {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 64px;
  margin-bottom: 18px;
}

.category-products span {
  max-width: 100%;
  padding: 6px 8px;
  color: #435366;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.card-action,
.product-card-footer strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-primary);
  font-weight: 900;
}

.category-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 20, 40, 0.9), rgba(10, 37, 72, 0.42)),
    var(--hero-image) center / cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.category-hero.compact {
  min-height: 0;
  height: auto;
  gap: 8px;
  padding: 14px 18px;
  background:
    linear-gradient(90deg, rgba(5, 20, 40, 0.72), rgba(10, 37, 72, 0.36)),
    rgba(255, 255, 255, 0.07);
  border-color: rgba(204, 226, 246, 0.24);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 38px rgba(3, 12, 24, 0.18);
}

.category-hero.compact h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 0.96;
}

.category-hero.compact .eyebrow {
  font-size: 12px;
}

.category-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(74, 154, 232, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 154, 232, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.category-hero-top {
  justify-content: space-between;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.detail-head .breadcrumb {
  color: var(--text-soft);
}

.breadcrumb a {
  color: #b8d8f5;
}

.detail-head .breadcrumb a {
  color: var(--blue-primary);
}

.breadcrumb i {
  color: currentColor;
  font-style: normal;
  opacity: 0.48;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.product-card .subtitle,
.detail-body .subtitle {
  margin: 0 0 10px;
  color: var(--blue-primary);
  font-weight: 900;
}

.product-card p {
  margin: 0;
  color: var(--text-soft);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.slide-grid .product-card-image {
  aspect-ratio: 16 / 8.3;
}

.slide-grid .product-card-body {
  padding: 14px 16px;
}

.slide-grid .product-card h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.slide-grid .product-card .subtitle {
  margin-bottom: 6px;
}

.slide-grid .product-card-footer {
  padding-top: 10px;
}

.category-slide .product-card {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(74, 154, 232, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07)),
    rgba(9, 30, 54, 0.78);
  border-color: rgba(204, 226, 246, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 44px rgba(3, 12, 24, 0.22);
  backdrop-filter: blur(10px);
  animation: tileReveal 640ms cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i) * 90ms);
}

.category-slide .product-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(74, 154, 232, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 52%);
  opacity: 0.75;
  pointer-events: none;
}

.category-slide .product-card::after {
  position: absolute;
  inset: -40% auto -40% -36%;
  width: 32%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0;
  transform: skewX(-18deg) translateX(-120%);
  pointer-events: none;
}

.category-slide .product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 24px 56px rgba(3, 12, 24, 0.3),
    0 0 34px rgba(74, 154, 232, 0.18);
}

.category-slide .product-card-image,
.category-slide .product-card-body,
.category-slide .product-card-footer {
  position: relative;
  z-index: 1;
}

.category-slide .product-card-image {
  aspect-ratio: 16 / 7.4;
  background: rgba(5, 20, 40, 0.72);
}

.category-slide .product-card-image::after {
  background: linear-gradient(180deg, transparent 38%, rgba(5, 20, 40, 0.88));
}

.category-slide .product-card-image span {
  background: linear-gradient(135deg, #36a0f4, var(--blue-primary));
  box-shadow: 0 8px 18px rgba(3, 12, 24, 0.24);
}

.category-slide .product-card-body {
  min-height: 0;
  padding: 18px 20px;
}

.category-slide .product-card h2 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 44px);
}

.category-slide .product-card .subtitle {
  color: #79bfff;
  font-size: 15px;
}

.category-slide .product-card p:not(.subtitle) {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.category-slide .product-card-footer {
  border-top-color: rgba(204, 226, 246, 0.16);
  color: rgba(255, 255, 255, 0.6);
}

.category-slide .product-card-footer strong {
  color: #fff;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-image {
  aspect-ratio: 16 / 5.2;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-body {
  padding: 14px 16px;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card h2 {
  margin-bottom: 6px;
  font-size: clamp(24px, 2.35vw, 34px);
}

.category-slide:not(.single-product-grid) .slide-grid .product-card .subtitle {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card p:not(.subtitle) {
  display: none;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-footer {
  padding-top: 8px;
  font-size: 12px;
}

.product-grid.single-product-grid {
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(0, 1fr);
}

.single-product-grid .product-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  min-height: 0;
}

.single-product-grid .product-card-image {
  height: 100%;
  aspect-ratio: auto;
}

.single-product-grid .product-card-body {
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
}

.single-product-grid .product-card h2 {
  margin-bottom: 12px;
  font-size: clamp(58px, 7vw, 92px);
}

.single-product-grid .product-card .subtitle {
  margin-bottom: 18px;
  font-size: clamp(20px, 2.4vw, 30px);
}

.single-product-grid .product-card p:not(.subtitle) {
  display: block;
  max-width: 680px;
  font-size: clamp(17px, 1.6vw, 22px);
  -webkit-line-clamp: unset;
}

.single-product-grid .product-card-footer {
  margin-top: 28px;
  padding-top: 18px;
  font-size: 14px;
}

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

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

.product-grid.five-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.five-product-grid .product-card {
  grid-column: span 2;
}

.five-product-grid .product-card:nth-child(n + 4) {
  grid-column: span 3;
}

.five-product-grid .product-card:nth-child(n + 4) .product-card-image {
  aspect-ratio: 16 / 3.25;
}

.detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) minmax(0, 1.04fr);
  min-height: 0;
  height: 100%;
  background: #fff;
}

.detail-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5, 20, 40, 0.96), rgba(20, 70, 125, 0.92));
}

.detail-media::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(74, 154, 232, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 154, 232, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
}

.detail-main-image,
.detail-thumbs {
  position: relative;
  z-index: 1;
}

.detail-main-image {
  width: 100%;
  height: auto;
  max-height: min(520px, 62dvh);
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.36));
}

.detail-media.has-gallery .detail-main-image {
  max-height: min(520px, calc(100% - 76px));
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 72px);
  gap: 8px;
}

.detail-thumb {
  width: 72px;
  height: 54px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(6, 24, 44, 0.18);
}

.detail-thumb.is-active {
  border-color: #fff;
  box-shadow:
    0 5px 14px rgba(6, 24, 44, 0.18),
    0 0 0 2px rgba(74, 154, 232, 0.88);
}

.detail-thumb img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  display: block;
}

.detail-body {
  min-width: 0;
  min-height: 0;
  padding: 34px 42px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.detail-body h1 {
  color: var(--blue-night);
  font-size: clamp(38px, 4.5vw, 58px);
}

.detail-body .subtitle {
  font-size: 18px;
}

.summary {
  display: block;
  margin: 10px 0 14px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.detail-scroll {
  min-height: 0;
  overflow: auto;
  padding-right: 8px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text-soft);
  background: var(--blue-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.meta-item strong {
  color: var(--blue-night);
}

.meta-dot {
  width: 8px;
  height: 8px;
  background: var(--blue-primary);
  border-radius: 50%;
}

.section-label {
  margin: 0 0 12px;
  color: var(--blue-night);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list {
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(160px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
}

.spec-list dt {
  color: var(--text-soft);
  font-weight: 800;
}

.spec-list dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.related-section,
.video-section {
  margin-top: 34px;
}

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

.video-label {
  margin-top: 20px;
}

.video-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--blue-night);
  object-fit: cover;
}

.video-card div {
  padding: 12px 14px 14px;
  color: var(--blue-night);
  font-weight: 900;
}

.video-grid.compact .video-card div {
  padding: 8px 10px 10px;
  font-size: 12px;
}

.footer {
  display: none;
  justify-content: center;
  padding: 24px 20px 36px;
  color: var(--text-soft);
  font-size: 13px;
  text-align: center;
}

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

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

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

  .detail-media {
    min-height: 430px;
  }
}

@media (min-width: 900px) and (max-width: 1194px) and (orientation: landscape) {
  :root {
    --topbar-h: 70px;
  }

  .topbar {
    gap: 14px;
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }

  .brand img {
    height: 42px;
  }

  .app {
    width: calc(100% - 32px);
    height: calc(100dvh - var(--topbar-h));
    padding: 16px 0;
  }

  .catalog-hero,
  .category-slide,
  .product-slide {
    height: calc(100dvh - var(--topbar-h) - 32px);
  }

  .catalog-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 22px;
  }

  .catalog-hero::before {
    width: 540px;
    height: 540px;
  }

  .catalog-hero::after {
    width: 820px;
    height: 820px;
  }

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

  .hero-logo {
    width: 136px;
    margin-bottom: 12px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-copy p {
    max-width: 390px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.42;
  }

  .hero-map {
    align-content: center;
    gap: 14px;
  }

  .map-node {
    grid-template-columns: 118px minmax(0, 1fr) 64px;
    min-height: 0;
    gap: 8px 14px;
    padding: 14px;
  }

  .map-node-media {
    width: 118px;
    height: 88px;
  }

  .map-node-index {
    top: 24px;
    left: 24px;
    width: 44px;
    height: 34px;
    font-size: 14px;
  }

  .map-node-label strong {
    font-size: 24px;
  }

  .map-node-count {
    width: 64px;
    height: 56px;
  }

  .map-node-count em {
    font-size: 26px;
  }

  .map-node-count small {
    max-width: 56px;
    font-size: 9px;
  }

  .map-node-arrow {
    width: 64px;
    height: 40px;
  }

  .hero-stats {
    position: absolute;
    left: 24px;
    bottom: 24px;
    grid-template-columns: repeat(2, 120px);
  }

  .hero-stats div {
    padding: 12px;
  }

  .hero-stats strong {
    font-size: 32px;
  }

  .category-slide,
  .product-slide {
    gap: 12px;
  }

  .category-slide {
    grid-template-rows: 166px minmax(0, 1fr);
  }

  .category-hero.compact {
    height: 166px;
    padding: 18px 22px;
  }

  .category-hero.compact h1 {
    font-size: 46px;
  }

  .breadcrumb {
    gap: 6px;
    font-size: 12px;
  }

  .button {
    min-height: 44px;
    padding: 0 13px;
  }

  .slide-grid {
    gap: 12px;
  }

  .slide-grid .product-card-image {
    aspect-ratio: 16 / 5.8;
  }

  .slide-grid .product-card-body {
    padding: 10px 12px;
  }

  .slide-grid .product-card h2 {
    margin-bottom: 4px;
    font-size: 21px;
  }

  .slide-grid .product-card .subtitle {
    margin-bottom: 3px;
    font-size: 13px;
  }

  .slide-grid .product-card p {
    font-size: 13px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
  }

  .slide-grid .product-card-footer {
    padding-top: 8px;
    font-size: 12px;
  }

  .detail-head,
  .detail-actions {
    gap: 10px;
  }

  .product-detail {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  }

  .detail-media {
    min-height: 0;
    padding: 22px;
  }

  .detail-main-image {
    max-height: 50dvh;
  }

  .detail-body {
    padding: 22px 28px;
  }

  .detail-body h1 {
    font-size: 42px;
  }

  .detail-body .subtitle {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .summary {
    margin: 6px 0 10px;
    font-size: 14px;
  }

  .meta-row {
    margin-bottom: 10px;
  }

  .section-label {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .spec-list div {
    grid-template-columns: minmax(140px, 0.82fr) minmax(0, 1.18fr);
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
  }

  .video-label {
    margin-top: 12px;
  }

  .video-grid.compact {
    gap: 8px;
  }

  .video-grid.compact .video-card div {
    padding: 6px 8px 8px;
    font-size: 11px;
  }
}

@media (min-width: 721px) and (max-width: 900px) and (orientation: portrait) {
  :root {
    --topbar-h: 76px;
  }

  .topbar {
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }

  .brand img {
    height: 44px;
  }

  .brand span {
    max-width: 300px;
  }

  .app {
    width: calc(100% - 32px);
    height: calc(100dvh - var(--topbar-h));
    padding: 16px 0;
  }

  .catalog-hero,
  .category-slide,
  .product-slide {
    height: calc(100dvh - var(--topbar-h) - 32px);
  }

  .catalog-hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    gap: 0;
    padding: 28px;
  }

  .hero-logo {
    width: 170px;
    margin-bottom: 16px;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .hero-copy p {
    margin-top: 14px;
    font-size: 16px;
  }

  .hero-map {
    align-content: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .map-node {
    grid-template-columns: 92px minmax(0, 1fr) 58px;
    min-height: 0;
    gap: 8px 12px;
    padding: 14px;
  }

  .map-node-media {
    width: 92px;
    height: 72px;
  }

  .map-node-index {
    top: 24px;
    left: 24px;
    width: 40px;
    height: 32px;
    font-size: 13px;
  }

  .map-node-label strong {
    font-size: 18px;
  }

  .map-node-count {
    width: 58px;
    height: 50px;
  }

  .map-node-count em {
    font-size: 24px;
  }

  .map-node-count small {
    max-width: 46px;
    font-size: 8px;
  }

  .map-node-arrow {
    width: 58px;
    height: 36px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 150px));
  }

  .category-slide {
    grid-template-rows: 178px minmax(0, 1fr);
    gap: 14px;
  }

  .category-hero.compact {
    height: 178px;
  }

  .category-hero.compact h1 {
    font-size: 46px;
  }

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

  .slide-grid {
    gap: 14px;
  }

  .slide-grid .product-card-image {
    aspect-ratio: 16 / 7;
  }

  .slide-grid .product-card-body {
    padding: 14px 16px;
  }

  .slide-grid .product-card h2 {
    font-size: 23px;
  }

  .slide-grid .product-card .subtitle {
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .slide-grid .product-card p:not(.subtitle) {
    display: none;
  }

  .slide-grid .product-card-footer {
    padding-top: 12px;
  }

  .detail-head {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

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

  .product-detail {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(240px, 0.34fr) minmax(0, 0.66fr);
    height: 100%;
  }

  .detail-media {
    min-height: 0;
    padding: 20px;
  }

  .detail-main-image {
    max-height: 28dvh;
  }

  .detail-body {
    min-height: 0;
    padding: 24px 28px;
  }

  .detail-body h1 {
    font-size: 40px;
  }

  .detail-scroll {
    overflow: auto;
  }
}

@media (max-width: 720px) {
  html,
  body {
    height: auto;
  }

  .topbar {
    position: static;
    height: auto;
    flex-wrap: wrap;
    gap: 10px 0;
    padding: 12px 14px;
  }

  .brand span {
    display: none;
  }

  .topbar-actions {
    flex: 0 0 calc(100vw - 28px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: calc(100vw - 28px);
    min-width: 0;
  }

  .topbar-actions .lang-switch {
    width: 100%;
  }

  .lang-switch {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lang-button {
    min-width: 0;
  }

  .app {
    width: min(var(--container), calc(100% - 28px));
    height: auto;
    min-height: auto;
    padding-top: 20px;
  }

  .catalog-hero {
    height: auto;
    min-height: auto;
    padding: 22px;
  }

  .category-slide,
  .product-slide {
    height: auto;
    min-height: auto;
  }

  .hero-logo {
    width: 150px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-map,
  .hero-stats,
  .category-grid,
  .product-grid,
  .related-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .map-node {
    grid-template-columns: 82px minmax(0, 1fr) 52px;
    min-height: 104px;
    gap: 6px 10px;
    padding: 12px;
  }

  .map-node-media {
    width: 82px;
    height: 64px;
  }

  .map-node-index {
    top: 20px;
    left: 20px;
    width: 38px;
    height: 30px;
    font-size: 12px;
  }

  .map-node-label strong {
    font-size: 17px;
  }

  .map-node-count {
    width: 52px;
    height: 44px;
  }

  .map-node-count em {
    font-size: 21px;
  }

  .map-node-count small {
    max-width: 44px;
    font-size: 8px;
  }

  .map-node-arrow {
    width: 52px;
    height: 32px;
  }

  .category-hero {
    min-height: 300px;
  }

  .category-hero.compact {
    height: auto;
    min-height: 300px;
  }

  .category-hero-top,
  .detail-head,
  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .detail-body {
    padding: 24px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    height: auto;
  }

  .detail-scroll {
    overflow: visible;
    padding-right: 0;
  }

  .detail-media {
    min-height: 320px;
    padding: 20px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section-headline h2,
  .category-card h2,
  .product-card h2 {
    font-size: 26px;
  }
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  flex-shrink: 1;
  z-index: 0;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-image::after {
  background:
    linear-gradient(180deg, rgba(5, 20, 40, 0.04) 0%, rgba(5, 20, 40, 0.18) 42%, rgba(5, 20, 40, 0.9) 82%),
    linear-gradient(90deg, rgba(5, 20, 40, 0.32), transparent 58%);
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-image span {
  top: 14px;
  bottom: auto;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 16px 18px 14px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 38%, rgba(8, 28, 50, 0.66) 69%, rgba(8, 28, 50, 0.92) 100%);
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-body::before {
  min-height: 0;
  content: "";
}

.category-slide:not(.single-product-grid) .slide-grid .product-card h2 {
  color: #fff;
  display: -webkit-box;
  margin-bottom: 4px;
  overflow: hidden;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.02;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card .subtitle {
  color: #79bfff;
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  line-height: 1.22;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.category-slide:not(.single-product-grid) .slide-grid .product-card p:not(.subtitle) {
  display: none;
  color: rgba(255, 255, 255, 0.78);
}

.category-slide:not(.single-product-grid) .slide-grid .product-card-footer {
  align-self: end;
  margin-top: 0;
  padding-top: 8px;
  font-size: 12px;
}

.category-slide .single-product-grid .product-card-image {
  height: 100%;
  aspect-ratio: auto;
}

.category-slide .single-product-grid .product-card h2 {
  font-size: clamp(58px, 7vw, 92px);
}

.category-slide .single-product-grid .product-card .subtitle {
  font-size: clamp(20px, 2.4vw, 30px);
}

.category-slide .single-product-grid .product-card p:not(.subtitle) {
  display: block;
  font-size: clamp(17px, 1.6vw, 22px);
  -webkit-line-clamp: unset;
}

.category-slide .five-product-grid .product-card:nth-child(n + 4) .product-card-image {
  height: 100%;
  aspect-ratio: auto;
}

@media (min-width: 900px) and (max-width: 1194px) and (orientation: landscape) {
  .category-slide {
    grid-template-rows: 146px minmax(0, 1fr);
    padding: 16px;
  }

  .category-slide .category-hero.compact {
    height: auto;
    gap: 6px;
    padding: 14px 18px;
  }

  .category-slide .category-hero.compact h1 {
    font-size: 42px;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card h2 {
    font-size: 22px;
  }

  .category-slide .single-product-grid .product-card {
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  }

  .category-slide .single-product-grid .product-card h2 {
    font-size: 58px;
  }

  .category-slide .single-product-grid .product-card .subtitle {
    font-size: 22px;
  }
}

@media (min-width: 721px) and (max-width: 900px) and (orientation: portrait) {
  .category-slide {
    grid-template-rows: 150px minmax(0, 1fr);
    padding: 16px;
  }

  .category-slide .category-hero.compact {
    height: auto;
    gap: 6px;
    padding: 14px 18px;
  }

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

  .category-slide:not(.single-product-grid) .slide-grid .product-card-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card h2 {
    font-size: 22px;
  }

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

  .five-product-grid .product-card {
    grid-column: auto;
  }

  .five-product-grid .product-card:last-child {
    grid-column: 1 / -1;
  }

  .category-slide .single-product-grid .product-card {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(340px, 0.54fr) minmax(0, 0.46fr);
  }

  .category-slide .single-product-grid .product-card h2 {
    font-size: 52px;
  }

  .category-slide .single-product-grid .product-card .subtitle {
    font-size: 22px;
  }
}

@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .topbar {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding: 12px 14px 14px;
    overflow: hidden;
  }

  .brand {
    width: 100%;
    max-width: 100%;
  }

  .brand img {
    height: 44px;
  }

  .topbar-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .lang-switch {
    width: 100%;
    max-width: 100%;
    padding: 3px;
    overflow: hidden;
  }

  .lang-button {
    min-height: 38px;
    padding: 0;
    font-size: 12px;
  }

  .app {
    width: 100%;
    margin: 0;
    padding: 14px;
  }

  .catalog-hero,
  .category-slide {
    width: 100%;
    padding: 12px;
    overflow: hidden;
  }

  .catalog-hero {
    border-radius: 8px;
  }

  .hero-map {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .map-node {
    width: 100%;
    min-height: 112px;
    grid-template-columns: 78px minmax(0, 1fr) 42px;
    gap: 8px 10px;
    padding: 12px;
  }

  .map-node-media {
    width: 78px;
    height: 68px;
  }

  .map-node-index {
    left: 20px;
    top: 20px;
    width: 36px;
    height: 28px;
    font-size: 11px;
  }

  .map-node-label strong {
    font-size: 18px;
    line-height: 1.08;
  }

  .map-node-count {
    width: 42px;
    height: 38px;
  }

  .map-node-count em {
    font-size: 19px;
  }

  .map-node-count small {
    max-width: 34px;
    font-size: 7px;
  }

  .map-node-arrow {
    width: 42px;
    height: 32px;
  }

  .category-slide {
    display: grid;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .category-slide .category-hero.compact {
    min-height: 0;
    padding: 14px;
  }

  .category-slide .category-hero.compact h1 {
    font-size: clamp(31px, 11vw, 42px);
    line-height: 0.95;
    overflow-wrap: anywhere;
  }

  .category-hero-top {
    gap: 10px;
  }

  .category-hero-top .button {
    min-height: 46px;
  }

  .product-grid,
  .product-grid.duo-product-grid,
  .product-grid.quad-product-grid,
  .product-grid.five-product-grid,
  .slide-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 12px;
    width: 100%;
  }

  .five-product-grid .product-card,
  .five-product-grid .product-card:nth-child(n + 4),
  .five-product-grid .product-card:last-child {
    grid-column: auto;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card {
    min-height: 235px;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card-image {
    height: 100%;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card-image span {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    font-size: 10px;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card-body {
    padding: 14px 14px 12px;
    grid-template-rows: minmax(112px, 1fr) auto auto auto;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card h2 {
    font-size: 26px;
    line-height: 0.98;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card .subtitle {
    font-size: 13px;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card-footer {
    padding-top: 9px;
  }

  .category-slide .single-product-grid .product-card {
    grid-template-columns: 1fr;
    min-height: 420px;
  }

  .product-slide {
    width: 100%;
    overflow: visible;
  }

  .detail-head {
    margin-bottom: 10px;
  }

  .detail-actions {
    gap: 8px;
  }

  .product-detail {
    width: 100%;
    overflow: hidden;
  }

  .detail-media {
    min-height: 0;
    padding: 18px;
  }

  .detail-main-image {
    max-height: none;
  }

  .detail-body {
    padding: 22px 20px 24px;
  }

  .detail-body h1 {
    font-size: 40px;
  }

  .summary {
    font-size: 15px;
  }

  .spec-list div {
    padding: 11px 0;
  }
}

@media (max-width: 430px) {
  .app {
    padding: 10px;
  }

  .map-node {
    grid-template-columns: 70px minmax(0, 1fr) 38px;
    min-height: 104px;
    gap: 8px;
    padding: 10px;
  }

  .map-node-media {
    width: 70px;
    height: 62px;
  }

  .map-node-label strong {
    font-size: 17px;
  }

  .map-node-count,
  .map-node-arrow {
    width: 38px;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card {
    min-height: 222px;
  }

  .category-slide:not(.single-product-grid) .slide-grid .product-card h2 {
    font-size: 24px;
  }

  .category-slide .category-hero.compact h1 {
    font-size: clamp(29px, 10.2vw, 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
