:root {
  --brand: #e4002b;
  --brand-dark: #b80023;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f7f7f9;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --container: 1240px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'Noto Sans', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--link {
  padding: 0;
  color: var(--brand);
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
}
.btn--link:hover { text-decoration: underline; }

/* ===== Top Bar (KStrong utility bar) ===== */
.topbar {
  background: #1a1a1a;
  color: #bfbfbf;
  font-size: 12px;
  border-bottom: 1px solid #000;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 18px;
  min-width: 0;
}
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.topbar__left {
  flex: 1 1 48%;
  overflow: hidden;
}
.topbar__right {
  flex: 1 1 42%;
  justify-content: flex-end;
}
.topbar__phone,
.topbar__email {
  color: #bfbfbf;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
  min-width: 0;
  white-space: nowrap;
}
.topbar__phone {
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
}
.topbar__phone span,
.topbar__email span,
.topbar__welcome {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar__phone svg,
.topbar__email svg,
.topbar__sep,
.lang-switch {
  flex: 0 0 auto;
}
.topbar__sep { color: #444; font-size: 11px; }
.topbar__welcome {
  color: #9a9a9a;
  letter-spacing: 0.04em;
  flex: 1 1 auto;
  text-align: right;
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1px solid #333;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.lang-switch__btn {
  background: transparent;
  border: 0;
  color: #9a9a9a;
  padding: 2px 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease;
  font-family: inherit;
}
.lang-switch__btn:hover { color: #fff; }
.lang-switch__btn.is-active {
  color: #fff;
  background: var(--brand, #e4002b);
  font-weight: 600;
}
.lang-switch__sep { color: #444; font-size: 11px; }

/* ===== Header / Nav ===== */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 84px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__logo img { height: 54px; width: auto; }
.header__logo-mark { display: inline-flex; }
.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.header__logo-text strong {
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.header__logo-text em {
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.22em;
  color: var(--brand);
  font-weight: 600;
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.header__tool {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  transition: all 0.2s;
}
.header__tool:hover { color: var(--brand); background: var(--bg-alt); }
.header__tool--cart { }
.header__cart-count {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  margin-left: auto;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

.nav { flex: 1; }
.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.nav__item:hover > .nav__link,
.nav__link:focus {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.nav__caret { opacity: 0.6; }

.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 20;
  padding: 6px 0;
}
.nav__item:hover .nav__submenu,
.nav__item:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__submenu li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #333;
  transition: all 0.15s;
}
.nav__submenu li a:hover {
  background: var(--bg-alt);
  color: var(--brand);
  padding-left: 20px;
}

/* ===== Hero Row (KStrong 25/75 layout) ===== */
.herorow { padding: 20px 0 0; background: #fff; }
.herorow__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Vertical categories sidebar */
.sidecats {
  background: #fff;
  border: 1px solid var(--line);
}
.sidecats__title {
  margin: 0;
  padding: 14px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidecats__list { padding: 0; }
.sidecats__list li { border-bottom: 1px solid var(--line); }
.sidecats__list li:last-child { border-bottom: 0; }
.sidecats__list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 11px 18px;
  font-size: 14px;
  color: var(--ink);
  transition: all 0.18s ease;
  position: relative;
}
.sidecats__list a:hover {
  background: var(--bg-alt);
  color: var(--brand);
  padding-left: 24px;
}
.sidecats__label {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.sidecats__chev {
  margin-left: auto;
  color: #bbb;
  transition: color 0.18s, transform 0.18s;
}
.sidecats__list a:hover .sidecats__chev { color: var(--brand); transform: translateX(3px); }

/* Slider inside right column */
.heroslider { min-width: 0; }
.heroslider__frame {
  position: relative;
  aspect-ratio: 1710 / 926;
  max-height: 520px;
  overflow: hidden;
  background: #0b0b0b;
  color: #fff;
}
.heroslider__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
}
.heroslider__slide.is-active { opacity: 1; pointer-events: auto; }
.heroslider__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 100%);
}
.heroslider__caption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 55%;
  padding: 32px 36px;
  color: #fff;
}
.heroslider__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.95;
}
.heroslider__dash {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--brand);
}
.heroslider__title {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.heroslider__sub {
  font-size: 12px;
  color: #ddd;
  max-width: 420px;
  line-height: 1.6;
}

.heroslider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: all 0.2s;
}
.heroslider__arrow:hover { background: var(--brand); }
.heroslider__arrow--prev { left: 14px; }
.heroslider__arrow--next { right: 14px; }

.heroslider__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.heroslider__dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.heroslider__dot.is-active { background: var(--brand); width: 36px; }

/* ===== Section Heading ===== */
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.section-heading__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: var(--brand);
}
.section-heading__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.section-heading__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--brand);
  margin: 12px auto 0;
}
.section-heading__desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.section-heading--light .section-heading__title { color: #fff; }
.section-heading--light .section-heading__desc { color: #bdbdbd; }

/* ===== Shop by Category grid (bento) ===== */
.catgrid { padding: 40px 0 48px; background: #fff; }
.catgrid__flex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row dense;
  gap: 24px;
}

.cat-tile {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  background: #2a2a2a;
  isolation: isolate;
  grid-column: span 2;
  aspect-ratio: 1067 / 459;
}

/* 6-tile bento rhythm:
   1: wide (cols 1-2)    2: wide (cols 3-4)
   3: wide (cols 1-2)    4: tall (cols 3-4, spans 2 rows)
   5: square (col 1)     6: square (col 2)
*/
.cat-tile:nth-child(6n + 4) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  align-self: stretch;
}
.cat-tile:nth-child(6n + 5),
.cat-tile:nth-child(6n + 6) {
  grid-column: span 1;
  aspect-ratio: 1 / 1;
}
.cat-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.72) 100%
  );
  z-index: 1;
  transition: background 0.3s ease;
}
.cat-tile:hover::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.3) 55%,
    rgba(0, 0, 0, 0.78) 100%
  );
}
.cat-tile__img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cat-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.6,.2,1);
}
.cat-tile:hover .cat-tile__img img { transform: scale(1.08); }

.cat-tile__meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.cat-tile__title {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.cat-tile__sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0.95;
}
.cat-tile__sub span {
  margin-left: 4px;
  font-weight: 500;
  text-transform: lowercase;
  opacity: 0.9;
}

/* Legacy aspect modifiers — kept for manual override via CMS `aspect` field.
   Layout is otherwise driven positionally by .catgrid__flex nth-child rules. */
.cat-tile--wide   { grid-column: span 2; aspect-ratio: 1067 / 459; }
.cat-tile--square { grid-column: span 1; aspect-ratio: 1 / 1; }
.cat-tile--tall {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  align-self: stretch;
}

/* ===== Featured Products (KStrong OwlCarousel style) ===== */
.featured {
  padding: 72px 0 88px;
  background: #fff;
}
.featured__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.featured__title {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 18px;
  color: var(--ink);
}
.featured__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 60px;
  height: 3px;
  background: var(--brand);
}
.featured__title span {
  display: inline-block;
  margin-left: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  vertical-align: middle;
}

.featured__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.featured__tab {
  padding: 0 16px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7a7a;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  background: transparent;
  cursor: pointer;
  margin-bottom: -1px;
}
.featured__tab:hover { color: var(--ink); }
.featured__tab.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.featured__carousel {
  position: relative;
  margin: 28px -10px 0;
  padding: 0 40px;
}
.featured__viewport {
  overflow: hidden;
}
.featured__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(.25,.8,.3,1);
}
.featured__nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4f4f4;
  color: #333;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 4;
  transition: all 0.2s;
}
.featured__nav:hover:not(:disabled) { background: var(--brand); color: #fff; }
.featured__nav:disabled { opacity: 0.35; cursor: not-allowed; }
.featured__nav--prev { left: 0; }
.featured__nav--next { right: 0; }

/* Product Card (KStrong product-block) */
.pcard {
  padding: 0 10px;
  box-sizing: border-box;
  text-align: left;
}
.pcard__transition {
  position: relative;
  background: #fff;
  border: 1px solid #ececec;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pcard:hover .pcard__transition {
  border-color: var(--brand);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}
.pcard__image {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 8%;
}
.pcard__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.45s;
}
.pcard:hover .pcard__image img { transform: scale(1.06); }

.pcard__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.pcard:hover .pcard__caption { opacity: 1; pointer-events: auto; }

.pcard__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pcard__btn {
  display: inline-block;
  min-width: 140px;
  padding: 9px 16px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.2s;
}
.pcard__btn:hover { background: #000; }
.pcard__btn--ghost {
  background: #1a1a1a;
}
.pcard__btn--ghost:hover { background: var(--brand); }
.pcard__icons {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.pcard__icons button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  color: #444;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.pcard__icons button:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.pcard__cats {
  display: block;
  margin: 14px 0 4px;
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pcard__cats a { color: #999; transition: color 0.2s; }
.pcard__cats a:hover { color: var(--brand); }

.pcard__title {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #222;
  min-height: 40px;
}
.pcard__title a { transition: color 0.2s; }
.pcard__title a:hover { color: var(--brand); }
.pcard__part {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.pcard__part strong { color: var(--ink); font-weight: 700; }

/* ===== Promo Banner ===== */
.promo {
  background: linear-gradient(135deg, #c0000a 0%, #e4002b 40%, #b50020 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.promo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}
.promo__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
  min-height: 340px;
}
.promo__eyebrow {
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}
.promo__title {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 16px;
}
.promo__title span { color: #fff; }
.promo__desc {
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 0 24px;
  line-height: 1.6;
  font-size: 14px;
}
.promo__cta {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  transition: background 0.2s;
}
.promo__cta:hover { background: #000; }
.promo__image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  padding-top: 24px;
}
.promo__image img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.3));
}

/* ===== Footer ===== */
.footer {
  background: #0f0f0f;
  color: #d0d0d0;
  font-size: 14px;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr);
  gap: 48px;
  padding: 56px 20px 32px;
}
.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.footer__brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.footer__brand-en {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f1f1f;
  color: #d0d0d0;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.footer__social a:hover {
  background: var(--brand);
  color: #fff;
}
.footer__heading {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.footer__heading::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--brand);
  margin-top: 8px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  color: #aaa;
  transition: color 0.2s, padding 0.2s;
}
.footer__links a:hover {
  color: var(--brand);
  padding-left: 4px;
}
.footer__form {
  display: flex;
  margin-top: 12px;
  background: #1f1f1f;
  border-radius: var(--radius);
  overflow: hidden;
}
.footer__form input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
}
.footer__form button {
  background: var(--brand);
  color: #fff;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__form button:hover { background: var(--brand-dark); }

.footer__bottom {
  border-top: 1px solid #1f1f1f;
  font-size: 12px;
  color: #888;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p { margin: 0; }

/* ===== Services ===== */
.services {
  background: linear-gradient(135deg, #101010 0%, #1e0708 60%, #2a0a10 100%);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 0, 43, 0.35), transparent 65%);
  filter: blur(24px);
}
.services__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.svc-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 28px 28px 28px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: all 0.3s;
  backdrop-filter: blur(6px);
}
.svc-card:hover {
  border-color: var(--brand);
  background: rgba(228, 0, 43, 0.08);
  transform: translateY(-3px);
}
.svc-card__icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.svc-card__icon img { max-width: 60%; max-height: 60%; }
.svc-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.svc-card__desc {
  margin: 0 0 10px;
  color: #c9c9c9;
  font-size: 14px;
  line-height: 1.7;
}
.svc-card__extra {
  margin: 0 0 14px;
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
}
.svc-card__no {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 46px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.02em;
}
.svc-card .btn--link { color: var(--brand); }

/* ===== About ===== */
.about { padding: 80px 0; background: #fff; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s;
}
.about__media:hover .about__image { transform: scale(1.06); }
.about__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--brand);
  color: #fff;
  padding: 18px 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.about__badge strong {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
}
.about__badge span { font-size: 13px; line-height: 1.3; }

.about__text .section-heading__eyebrow { color: var(--brand); }
.about__text .section-heading__title {
  text-align: left;
  margin: 6px 0 18px;
}
.about__text .section-heading__title::after { margin-left: 0; margin-right: 0; }

.about__brand {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.about__para {
  margin: 0 0 12px;
  color: #555;
  font-size: 14.5px;
  line-height: 1.8;
}
.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}
.about__tag {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: var(--bg-alt);
}

/* ===== Cases ===== */
.cases { padding: 72px 0; background: var(--bg-alt); }
.cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.case-card__img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}
.case-card:hover .case-card__img { transform: scale(1.06); }
.case-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-card__date {
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.case-card__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink);
}
.case-card:hover .case-card__title { color: var(--brand); }
.case-card__more {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* ===== Partners ===== */
.partners { padding: 44px 0; background: #fff; border-top: 1px solid var(--line); }
.partners__inner { }
.partners__title {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-align: center;
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: center;
}
.partner {
  display: grid;
  place-items: center;
  height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.2s;
  filter: grayscale(0.6);
}
.partner:hover {
  filter: grayscale(0);
  border-color: var(--brand);
  transform: translateY(-2px);
}
.partner img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ===== Footer extras ===== */
.footer__contact {
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #bbb;
  font-size: 13px;
}
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.footer__contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand);
}
.footer__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-width: 0;
}
.footer__bottom-inner a { color: var(--brand); }
.footer__bottom-inner a:hover { text-decoration: underline; }

/* ===== Product Category Page ===== */
.btn--sm { padding: 8px 14px; font-size: 12px; }

.pc-hero {
  background: linear-gradient(135deg, #111 0%, #2a0a10 100%);
  color: #fff;
  padding: 56px 0 32px;
  position: relative;
  overflow: hidden;
}
.pc-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 0, 43, 0.35), transparent 65%);
  filter: blur(30px);
}
.pc-hero__title {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pc-hero__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--brand);
  margin-top: 12px;
}

.breadcrumb {
  position: relative;
  font-size: 13px;
  color: #cfcfcf;
}
.breadcrumb__item a {
  color: #cfcfcf;
  transition: color 0.2s;
}
.breadcrumb__item a:hover { color: #fff; }
.breadcrumb__sep {
  margin: 0 10px;
  color: #777;
}

.pc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 48px 20px 72px;
  align-items: flex-start;
}

.pc-sidebar { position: sticky; top: 104px; }
.pc-widget {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.pc-widget:last-child { border-bottom: 0; }
.pc-widget__title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  color: var(--ink);
}
.pc-widget__title::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--brand);
  margin-top: 8px;
}

.pc-cats { }
.pc-cats__item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
  border-bottom: 1px solid var(--line);
}
.pc-cats__item > a:hover { color: var(--brand); }
.pc-cats__count { color: var(--muted); font-size: 12px; font-weight: 500; }
.pc-cats__sub {
  padding: 6px 0 10px 14px;
  border-left: 2px solid var(--line);
  margin: 6px 0 10px 2px;
}
.pc-cats__sub li a {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: #555;
  transition: color 0.2s, padding 0.2s;
}
.pc-cats__sub li a:hover { color: var(--brand); padding-left: 4px; }
.pc-cats__sub li.is-active > a { color: var(--brand); font-weight: 700; }

.pc-price { }
.pc-price input[type='range'] { width: 100%; accent-color: var(--brand); }
.pc-search {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
}
.pc-search:focus { border-color: var(--brand); }
.pc-price__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
  color: #444;
}

.pc-promo {
  background: linear-gradient(135deg, #111, #2a0a10);
  color: #fff;
  padding: 22px 20px;
  border-radius: var(--radius);
  text-align: left;
}
.pc-promo h4 { margin: 0 0 8px; font-size: 16px; }
.pc-promo p { margin: 0 0 14px; font-size: 13px; color: #ccc; }

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

.pc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pc-toolbar__count { margin: 0; font-size: 14px; color: #444; }
.pc-toolbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pc-sort {
  font-family: inherit;
  font-size: 13px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24'><path fill='%23666' d='M7 10l5 5 5-5z'/></svg>")
    right 10px center / 10px no-repeat;
  appearance: none;
  cursor: pointer;
  min-width: 200px;
}
.pc-sort:focus { outline: 2px solid var(--brand); outline-offset: 2px; }

.pc-view { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pc-view button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #666;
  background: #fff;
  transition: all 0.15s;
}
.pc-view button:not(:last-child) { border-right: 1px solid var(--line); }
.pc-view button:hover { color: var(--brand); }
.pc-view button.is-active { background: var(--brand); color: #fff; }

.pc-filters {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 4px;
  font-size: 13px;
  color: var(--muted);
}
.pc-filters a { color: var(--brand); font-weight: 600; }
.pc-filters a:hover { text-decoration: underline; }

.pc-products--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.pc-products--list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.pc-product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}
.pc-product:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.pc-product--grid {
  display: flex;
  flex-direction: column;
}
.pc-product--grid .pc-product__imgwrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pc-product--grid .pc-product__imgwrap img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.4s;
}
.pc-product--grid:hover .pc-product__imgwrap img { transform: scale(1.06); }
.pc-product__quick {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 12px);
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  opacity: 0;
  transition: all 0.25s;
  pointer-events: none;
  white-space: nowrap;
}
.pc-product:hover .pc-product__quick {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pc-product__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pc-product__cat {
  font-size: 11px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.pc-product__name {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}
.pc-product__name a:hover { color: var(--brand); }
.pc-product__part { margin: 0; color: var(--muted); font-size: 12px; }
.pc-product__desc { margin: 6px 0 0; color: #555; font-size: 14px; line-height: 1.6; }

.pc-product__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.pc-product__icons { display: flex; gap: 6px; }
.pc-product__icons button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.2s;
}
.pc-product__icons button:hover { background: var(--brand); color: #fff; }

.pc-product--list {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
}
.pc-product--list .pc-product__imgwrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
.pc-product--list .pc-product__imgwrap img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.pc-product--list .pc-product__body { padding: 20px 24px; }
.pc-product--list .pc-product__name { font-size: 18px; }

.pc-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 40px 0 0;
  flex-wrap: wrap;
}
.pc-pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.pc-pagination button:hover:not(:disabled):not(.is-active) {
  border-color: var(--brand);
  color: var(--brand);
}
.pc-pagination button.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pc-pagination button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .catgrid__flex {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  /* Under 2 columns, the tall tile can't span a 3-4 position anymore.
     Collapse every tile to a simple 1-column wide tile. */
  .cat-tile,
  .cat-tile:nth-child(6n + 4),
  .cat-tile:nth-child(6n + 5),
  .cat-tile:nth-child(6n + 6),
  .cat-tile--wide,
  .cat-tile--tall,
  .cat-tile--square {
    grid-column: span 1;
    grid-row: auto;
    aspect-ratio: 1067 / 459;
    align-self: auto;
  }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
  .pc-layout { grid-template-columns: 240px 1fr; gap: 28px; }
  .pc-products--grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__media { max-width: 560px; }
}

@media (max-width: 860px) {
  .header__inner { flex-wrap: wrap; }
  .header__burger { display: inline-flex; }
  .nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav--open { max-height: 720px; overflow-y: auto; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link {
    justify-content: space-between;
    padding: 14px 4px;
  }
  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-alt);
    border-top: 0;
    padding: 4px 0 8px;
  }

  .herorow__inner { grid-template-columns: 1fr; gap: 16px; }
  .sidecats { order: 2; }
  .heroslider { order: 1; }
  .heroslider__frame { aspect-ratio: 16 / 9; max-height: none; }
  .heroslider__caption { max-width: 80%; padding: 0 24px; }

  .catgrid__flex { grid-template-columns: 1fr; gap: 16px; }
  .featured__head { flex-direction: column; align-items: flex-start; }
  .featured__carousel { padding: 0 0; margin: 24px -10px 0; }
  .featured__nav { top: 38%; width: 30px; height: 30px; }
  .featured__nav--prev { left: -4px; }
  .featured__nav--next { right: -4px; }

  .promo__inner { grid-template-columns: 1fr; text-align: center; padding: 0 20px 40px; }
  .promo__image { justify-content: center; padding: 32px 0 0; }
  .promo__image img { max-height: 220px; }
  .promo__desc { margin-left: auto; margin-right: auto; }
  .promo__cta { margin: 0 auto; }

  .topbar__left .topbar__email,
  .topbar__left .topbar__sep { display: none; }
  .topbar__welcome { display: none; }
  .header__tools { margin-left: auto; padding-left: 0; border-left: 0; }
  .header__tools .header__tool { width: 36px; height: 36px; }
  .header__burger { margin-left: 0; }

  .services__grid { grid-template-columns: 1fr; }
  .svc-card { grid-template-columns: 72px 1fr; padding: 22px; }
  .svc-card__icon { width: 72px; height: 72px; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }

  .pc-layout { grid-template-columns: 1fr; }
  .pc-sidebar { position: static; }
  .pc-product--list { grid-template-columns: 140px 1fr; }
  .pc-product--list .pc-product__body { padding: 14px 16px; }
  .pc-product--list .pc-product__name { font-size: 16px; }
  .pc-product--list .pc-product__desc { display: none; }
  .pc-toolbar { flex-direction: column; align-items: stretch; }
  .pc-toolbar__right { justify-content: space-between; }
  .pc-sort { flex: 1; min-width: 0; }
}

@media (max-width: 520px) {
  .featured__tab { padding: 0 10px 14px; font-size: 11px; letter-spacing: 0.08em; }
  .pc-products--grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .tabs { gap: 0; }
  .tabs__tab { padding: 10px 12px; font-size: 12px; }
  .cases__grid { grid-template-columns: 1fr; }
  .partners__grid { grid-template-columns: 1fr 1fr; }
  .header__logo-text strong { font-size: 16px; }
  .header__logo-text em { font-size: 10px; letter-spacing: 0.16em; }
}

/* ===================================================================== */
/* =====            Cases Page (dedicated /cases route)             ===== */
/* ===================================================================== */
.cases-page { background: #fff; }

/* Banner */
.cases-banner {
  position: relative;
  background:
    linear-gradient(120deg, rgba(11, 11, 11, 0.88) 0%, rgba(42, 10, 16, 0.82) 100%),
    url('http://www.muyusafety.com/ufile/67901/banner/20233231551564.jpg') center / cover;
  color: #fff;
  padding: 84px 0 36px;
}
.cases-banner__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}
.cases-banner__title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cases-banner__subtitle {
  margin: 0 0 26px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}
.cases-banner .breadcrumb { color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.cases-banner .breadcrumb a { color: rgba(255, 255, 255, 0.82); }
.cases-banner .breadcrumb a:hover { color: #fff; }
.cases-banner .breadcrumb__sep { color: rgba(255, 255, 255, 0.35); margin: 0 6px; }

/* Spotlight */
.cases-spotlight { padding: 56px 0; background: #fff; }
.cases-spotlight__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
}
.cases-spotlight__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: #f2f2f2;
}
.cases-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cases-spotlight__media:hover img { transform: scale(1.04); }
.cases-spotlight__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--brand);
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cases-spotlight__body { padding: 4px 0; }
.cases-spotlight__industry {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(228, 0, 43, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cases-spotlight__title {
  margin: 0 0 24px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}
.cases-spotlight__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 28px;
  margin: 0 0 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cases-spotlight__meta div { display: flex; flex-direction: column; gap: 4px; }
.cases-spotlight__meta dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}
.cases-spotlight__meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.cases-spotlight__desc {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}
.cases-spotlight__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }

/* Highlight strip */
.cases-highlights { background: var(--bg-alt); padding: 56px 0; }
.cases-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hl-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.25s ease;
}
.hl-card:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.hl-card__img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s;
}
.hl-card:hover .hl-card__img { transform: scale(1.06); }
.hl-card__body { padding: 18px 20px 22px; }
.hl-card__industry {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.hl-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.hl-card__scope { margin: 0; font-size: 13px; color: var(--muted); }

/* List */
.cases-list { padding: 72px 0; background: #fff; }
.cases-list__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cases-list__title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  position: relative;
  padding-bottom: 10px;
}
.cases-list__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -17px;
  width: 54px;
  height: 3px;
  background: var(--brand);
}
.cases-list__sub {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.cases-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cases-filter {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: #f4f4f4;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.cases-filter:hover { color: var(--brand); }
.cases-filter.is-active {
  background: var(--brand);
  color: #fff;
}

.cases-list__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.case-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.25s ease;
}
.case-item:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.case-item__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f2f2;
}
.case-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.case-item:hover .case-item__img img { transform: scale(1.06); }
.case-item__date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
}
.case-item__body {
  padding: 18px 20px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-item__industry {
  font-size: 11px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.case-item__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.2s;
}
.case-item:hover .case-item__title { color: var(--brand); }
.case-item__summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-item__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Pagination */
.cases-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.cases-pagination__btn {
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cases-pagination__btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--brand);
  color: var(--brand);
}
.cases-pagination__btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.cases-pagination__btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* CTA */
.cases-cta {
  background: linear-gradient(135deg, #0e0e0e 0%, #1e0708 60%, #2a0a10 100%);
  color: #fff;
  padding: 52px 0;
}
.cases-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cases-cta h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
}
.cases-cta p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.cases-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cases-cta__actions .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.cases-cta__actions .btn--ghost:hover { background: #fff; color: var(--ink); }

@media (max-width: 1080px) {
  .cases-spotlight__inner { grid-template-columns: 1fr; gap: 28px; }
  .cases-highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .cases-list__grid { grid-template-columns: 1fr; }
  .case-item { grid-template-columns: 220px 1fr; }
}

@media (max-width: 720px) {
  .cases-banner { padding: 56px 0 28px; }
  .cases-spotlight__meta { grid-template-columns: 1fr 1fr; }
  .cases-highlights__grid { grid-template-columns: 1fr; }
  .case-item { grid-template-columns: 1fr; }
  .case-item__body { padding: 4px 18px 18px; }
  .cases-list__head { flex-direction: column; align-items: stretch; }
  .cases-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ===== About Page ===== */
.about-page { background: #f6f7fb; }

.about-banner {
  position: relative;
  padding: 110px 0 90px;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.about-banner__eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, .7);
  margin: 0 0 12px;
}
.about-banner__title {
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 1px;
}
.about-banner__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 22px;
}
.about-banner .breadcrumb { color: rgba(255, 255, 255, .8); }
.about-banner .breadcrumb a,
.about-banner .breadcrumb__item span { color: inherit; }

.about-intro { padding: 72px 0; background: #fff; }
.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-intro__media {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-intro__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.about-intro__media:hover .about-intro__img { transform: scale(1.04); }
.about-intro__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--color-primary, #d91e23);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(217, 30, 35, .35);
}
.about-intro__badge strong { font-size: 28px; font-weight: 700; line-height: 1; }
.about-intro__badge span { font-size: 12px; line-height: 1.25; letter-spacing: 1px; }
.about-intro__body .section-heading__eyebrow { color: var(--color-primary, #d91e23); margin-bottom: 10px; }
.about-intro__body .section-heading__title { font-size: 28px; margin: 0 0 18px; }
.about-intro__lead {
  font-size: 15px;
  font-weight: 600;
  color: #1b2a3a;
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary, #d91e23);
}
.about-intro__para {
  color: #546170;
  line-height: 1.9;
  margin: 0 0 12px;
  font-size: 14.5px;
}
.about-intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.about-intro__tag {
  font-size: 12.5px;
  padding: 6px 14px;
  background: #f2f4f8;
  color: #3b485a;
  border-radius: 999px;
  border: 1px solid #e4e8ef;
}

.about-stats {
  padding: 44px 0;
  background: linear-gradient(135deg, #0f1d33 0%, #1a2e4e 100%);
  color: #fff;
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.about-stat { padding: 8px 12px; border-right: 1px solid rgba(255, 255, 255, .1); }
.about-stat:last-child { border-right: 0; }
.about-stat__num {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: #ffb648;
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat__label { font-size: 14px; color: rgba(255, 255, 255, .8); letter-spacing: 1px; }

.about-values { padding: 88px 0; background: #fff; }
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.value-card {
  position: relative;
  padding: 32px 24px 28px;
  border-radius: 12px;
  background: #f6f7fb;
  border: 1px solid #edf0f5;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.value-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--color-primary, #d91e23);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 16px 32px rgba(20, 40, 70, .08);
}
.value-card:hover::before { transform: scaleY(1); }
.value-card__no {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary, #d91e23);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.value-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #14243b;
  margin: 0 0 10px;
}
.value-card__desc { font-size: 13.5px; line-height: 1.85; color: #5a6676; margin: 0; }

.about-gallery { padding: 24px 0 88px; background: #fff; }
.about-gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px;
  gap: 18px;
}
.about-gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}
.about-gallery__item:hover { transform: translateY(-4px); }
.about-gallery__item--wide { grid-row: span 1; }
.about-gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.7));
}

.about-slogan {
  padding: 78px 0;
  background: linear-gradient(120deg, #d91e23 0%, #a3141a 100%);
  color: #fff;
  text-align: center;
}
.about-slogan__en {
  font-size: 13px;
  letter-spacing: 5px;
  opacity: .8;
  margin: 0 0 12px;
}
.about-slogan__zh {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 2px;
}
.about-slogan__sub {
  font-size: 15px;
  opacity: .9;
  margin: 0;
  letter-spacing: 1px;
}

.about-cta { padding: 48px 0 56px; background: #f6f7fb; }
.about-cta__inner {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
  background: #fff;
  padding: 40px 48px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(20, 40, 70, .06);
}
.about-cta__text {
  padding-left: 46px;
  border-left: 1px solid #edf0f5;
}
.about-cta__eyebrow {
  margin: 0 0 10px;
  color: #e6002d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
.about-cta__title { font-size: 28px; line-height: 1.35; font-weight: 700; color: #14243b; margin: 0 0 14px; }
.about-cta__desc { max-width: 580px; color: #5a6676; line-height: 1.9; margin: 0; }
.about-cta__meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-cta__contact-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: #14243b;
  font-size: 19px;
  font-weight: 700;
}
.about-cta__contact-head small {
  color: #c2c9d3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}
.about-cta__list {
  display: grid;
  gap: 0;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}
.about-cta__row {
  margin: 0;
  color: #3b485a;
  font-size: 14.5px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  line-height: 1.65;
  padding: 11px 0;
  border-top: 1px solid #edf0f5;
}
.about-cta__row:first-child {
  border-top: 0;
}
.about-cta__row strong {
  color: #8a95a6;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}
.about-cta__row span { min-width: 0; }
.about-cta__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.about-cta__row--address span { max-width: 460px; }
.about-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Contact Page */
.contact-page {
  background: #fff;
}
.contact-hero {
  background:
    linear-gradient(120deg, rgba(9, 22, 40, .88), rgba(9, 22, 40, .62)),
    url('http://www.muyusafety.com/uFile/67901/banner/20233231551564.jpg') center/cover;
  color: #fff;
  padding: 64px 0 48px;
}
.contact-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: 42px;
  align-items: end;
}
.contact-hero__eyebrow {
  margin: 0 0 12px;
  color: #ff5a68;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-hero__title {
  margin: 0;
  max-width: 720px;
  font-size: 40px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}
.contact-hero__intro {
  max-width: 680px;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, .84);
  font-size: 16px;
  line-height: 1.85;
}
.contact-hero .breadcrumb,
.contact-hero .breadcrumb a,
.contact-hero .breadcrumb__item span {
  color: rgba(255, 255, 255, .82);
}
.contact-hero__brand {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
}
.contact-hero__brand-name {
  color: #ff5a68;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-hero__brand strong {
  font-size: 20px;
  line-height: 1.45;
}
.contact-hero__brand p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
}
.contact-main {
  padding: 56px 0 64px;
  background: #f6f7fb;
}
.contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  gap: 28px;
  align-items: start;
}
.contact-panel {
  background: #fff;
  border: 1px solid #edf0f5;
  padding: 30px;
  box-shadow: 0 10px 28px rgba(20, 40, 70, .05);
}
.contact-panel--primary {
  min-height: 100%;
}
.contact-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: #14243b;
  font-size: 20px;
  font-weight: 800;
}
.contact-panel__head small {
  color: #c2c9d3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.contact-list {
  margin: 0;
  border-top: 1px solid #edf0f5;
}
.contact-list__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f5;
}
.contact-list__row dt {
  color: #8a95a6;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.contact-list__row dd {
  margin: 0;
  color: #243247;
  font-size: 15px;
  line-height: 1.75;
}
.contact-list__row a {
  color: inherit;
}
.contact-list__row a:hover {
  color: var(--brand);
}
.contact-list__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.contact-side {
  display: grid;
  gap: 20px;
}
.contact-panel__company {
  margin: 0 0 10px;
  color: #14243b;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}
.contact-panel__tagline {
  margin: 0;
  color: #5a6676;
  line-height: 1.8;
}
.contact-panel__action {
  margin-top: 22px;
}
.contact-legal {
  padding: 26px 0;
  background: #fff;
}
.contact-legal__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #687386;
  font-size: 13px;
}
.contact-legal__inner span {
  color: #14243b;
  font-weight: 700;
}
.contact-legal__inner p {
  margin: 0;
  flex: 1;
}
.contact-legal__inner a {
  color: var(--brand);
}

/* About Page responsive */
@media (max-width: 960px) {
  .about-intro__inner { grid-template-columns: 1fr; gap: 36px; }
  .about-intro__media { max-width: 560px; }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .about-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 16px; }
  .about-stat:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
  .about-values__grid { grid-template-columns: repeat(2, 1fr); }
  .about-gallery__grid { grid-template-columns: 1fr; grid-template-rows: 220px 220px 220px; }
  .about-cta__inner { grid-template-columns: 1fr; padding: 32px 26px; }
  .about-cta__text {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid #edf0f5;
  }
  .contact-hero__inner,
  .contact-main__grid {
    grid-template-columns: 1fr;
  }
  .contact-hero__brand {
    align-self: stretch;
  }
}
@media (max-width: 640px) {
  .about-banner { padding: 80px 0 64px; }
  .about-banner__title { font-size: 32px; }
  .about-cta { padding: 36px 0 48px; }
  .about-intro { padding: 56px 0; }
  .about-values__grid { grid-template-columns: 1fr; }
  .about-slogan__zh { font-size: 24px; letter-spacing: 1px; }
  .contact-hero { padding: 48px 0 36px; }
  .contact-hero__title { font-size: 30px; }
  .contact-panel { padding: 24px 20px; }
  .contact-list__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .contact-legal__inner {
    display: grid;
    gap: 8px;
  }
}

/* ================================================================
   Product Detail Page  (.pd, .pd-*)
   Industrial-grade, KStrong-inspired: sharp edges, red accents,
   generous whitespace, micro-caps meta labels.
   ================================================================ */

.pd { background: #fff; padding-bottom: 80px; }

.pd__status {
  padding: 120px 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.pd__status--error h1 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink);
}
.pd__status--error p { margin: 0 0 20px; }

.pd__head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.pd__head .breadcrumb { margin: 0; font-size: 12px; letter-spacing: 0.04em; }

.pd__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  padding: 48px 20px 32px;
  align-items: start;
}

.pd-col { min-width: 0; }
.pd-col--info { position: relative; }

/* ---------- Gallery ---------- */
.pd-gallery { position: relative; }
.pd-gallery--empty {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  color: var(--muted);
  border: 1px dashed var(--line);
}

.pd-gallery__main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  transition: border-color 0.2s;
}
.pd-gallery__main:hover { border-color: #bcbcbc; }
.pd-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.35s ease;
}
.pd-gallery__main:hover img { transform: scale(1.04); }
.pd-gallery__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
.pd-gallery__main:hover .pd-gallery__zoom { opacity: 1; }

.pd-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.pd-gallery__thumb {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px;
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s;
  position: relative;
}
.pd-gallery__thumb:hover { border-color: #9a9a9a; }
.pd-gallery__thumb.is-active {
  border-color: var(--brand);
  border-width: 2px;
  padding: 5px;
}
.pd-gallery__thumb.is-active::after {
  content: '';
  position: absolute;
  inset: auto 0 -6px 0;
  margin: 0 auto;
  width: 18px;
  height: 2px;
  background: var(--brand);
}
.pd-gallery__thumb img {
  width: 100%; height: 100%; object-fit: contain;
}

/* Lightbox (very lightweight) */
.pd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: grid;
  place-items: center;
  z-index: 9999;
  cursor: zoom-out;
  animation: pdFade 0.18s ease;
}
@keyframes pdFade { from { opacity: 0; } to { opacity: 1; } }
.pd-lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  user-select: none;
}
.pd-lightbox__close {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s;
}
.pd-lightbox__close:hover { background: var(--brand); }

/* ---------- Info column ---------- */
.pd-cat {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-alt);
  border-left: 2px solid var(--brand);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pd-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.pd-subtitle {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.pd-section { margin-bottom: 28px; }
.pd-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.pd-section__bar {
  display: inline-block;
  width: 4px;
  height: 14px;
  background: var(--brand);
}

.pd-highlights {
  display: grid;
  gap: 10px;
}
.pd-highlight {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.55;
  transition: border-color 0.18s, transform 0.18s;
}
.pd-highlight:hover {
  border-color: var(--brand);
  transform: translateX(2px);
}
.pd-highlight__dot {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  margin-top: 1px;
}
.pd-highlight__text { color: var(--ink); }

/* ---------- Actions ---------- */
.pd-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.pd-actions__primary { padding: 14px 26px; font-size: 13px; }
.pd-actions__ghost {
  padding: 14px 22px;
  font-size: 13px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
  transition: all 0.2s;
}
.pd-actions__ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- Guarantee strip ---------- */
.pd-guarantee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.pd-guarantee__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
}
.pd-guarantee__item svg {
  flex: 0 0 22px;
  color: var(--brand);
  margin-top: 2px;
}
.pd-guarantee__item strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}
.pd-guarantee__item span { font-size: 11.5px; line-height: 1.4; }

/* ---------- Body: unified detail panel ---------- */
.pd-body {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.pd-panel { padding: 38px 0 8px; }
.pd-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Prose (rendered HTML from detail field) ---------- */
.pd-prose {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
  color: #333;
  overflow-x: auto;
}
.pd-prose h1, .pd-prose h2, .pd-prose h3, .pd-prose h4, .pd-prose h5, .pd-prose h6 {
  color: var(--ink);
  font-weight: 700;
  margin: 28px 0 14px;
  line-height: 1.3;
}
.pd-prose h1 { font-size: 22px; }
.pd-prose h2 { font-size: 20px; }
.pd-prose h3 { font-size: 18px; }
.pd-prose h4 { font-size: 16px; }
.pd-prose h5, .pd-prose h6 { font-size: 15px; }
.pd-prose p { margin: 0 0 18px; }
.pd-prose ul, .pd-prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}
.pd-prose li { margin-bottom: 8px; }
.pd-prose figure {
  margin: 20px auto;
}
.pd-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border: 1px solid var(--line);
  background: #fff;
}
.pd-prose figcaption {
  margin-top: -8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.pd-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.pd-prose th, .pd-prose td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}
.pd-prose th { background: var(--bg-alt); font-weight: 700; }
.pd-prose b, .pd-prose strong { font-weight: 700; color: var(--ink); }
.pd-prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pd-prose blockquote {
  margin: 18px 0;
  padding: 8px 18px;
  border-left: 4px solid var(--brand);
  background: #fff7f8;
  color: #4b4b4b;
}
.pd-prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

/* ---------- Case detail (reuses .pd / .pd-prose) ---------- */
.case-detail--custom {
  background: #fff;
}
.case-detail__custom {
  min-height: 42vh;
}
.case-detail__hero {
  background: #fff;
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--line);
}
.case-detail__hero-inner { max-width: 900px; margin: 0 auto; }
.case-detail__industry {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(228, 0, 43, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.case-detail__title {
  margin: 0 0 20px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}
.case-detail__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 28px;
  margin: 0 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-detail__meta div { display: flex; flex-direction: column; gap: 4px; }
.case-detail__meta dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}
.case-detail__meta dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}
.case-detail__cover {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.case-detail__cover img {
  display: block;
  width: 100%;
  height: auto;
}
.case-detail__summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #4b4b4b;
}
@media (max-width: 720px) {
  .case-detail__meta { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Specs table ---------- */
.pd-specs { max-width: 900px; margin: 0 auto; }
.pd-specs__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--line);
}
.pd-specs__table tr:nth-child(even) { background: var(--bg-alt); }
.pd-specs__table th {
  width: 180px;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
  text-align: left;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pd-specs__table td {
  padding: 14px 20px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.pd-specs__highlights {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.pd-specs__highlights h4 {
  font-size: 15px;
  margin: 0 0 14px;
}

/* ---------- Related products ---------- */
.pd-related { margin-top: 72px; }
.pd-related__head {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}
.pd-related__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}
.pd-related__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.pd-related__rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--brand);
  margin: 14px auto 0;
}
.pd-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pd-rel-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pd-rel-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.pd-rel-card__imgwrap {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  overflow: hidden;
}
.pd-rel-card__imgwrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.35s ease;
}
.pd-rel-card:hover .pd-rel-card__imgwrap img { transform: scale(1.05); }
.pd-rel-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 20px;
  border-top: 1px solid var(--line);
}
.pd-rel-card__cat {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.pd-rel-card__name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  min-height: 2.7em;
  transition: color 0.18s;
}
.pd-rel-card:hover .pd-rel-card__name { color: var(--brand); }
.pd-rel-card__part {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pd__hero { grid-template-columns: 1fr; gap: 32px; padding: 30px 20px 20px; }
  .pd-guarantee { grid-template-columns: 1fr; }
  .pd-related__grid { grid-template-columns: repeat(2, 1fr); }
  .pd-specs__table th { width: 120px; padding: 10px 14px; }
  .pd-specs__table td { padding: 10px 14px; }
}
@media (max-width: 520px) {
  .pd-title { font-size: 22px; }
  .pd-actions { flex-direction: column; }
  .pd-actions .btn { width: 100%; justify-content: center; }
  .pd-related__grid { grid-template-columns: 1fr; }
  .pd-gallery__thumb { flex: 0 0 64px; width: 64px; height: 64px; }
}
