:root {
  --bg: #070707;
  --bg-soft: #111111;
  --panel: linear-gradient(180deg, rgba(35, 35, 35, 0.98), rgba(13, 13, 13, 0.98));
  --panel-alt: linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(9, 9, 9, 0.98));
  --line: rgba(255, 204, 0, 0.58);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f5f5f5;
  --muted: #afafaf;
  --yellow: #ffcc00;
  --yellow-deep: #f1b800;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --container-narrow: 920px;
  --container: 1460px;
  --container-wide: 1880px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 204, 0, 0.12), transparent 22%),
    linear-gradient(180deg, #0c0c0c 0%, #060606 100%);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.container-wide {
  width: min(calc(100% - 24px), var(--container-wide));
  margin: 0 auto;
}

.container-narrow,
.narrow {
  max-width: var(--container-narrow);
}

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

.nav-shell {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 240px;
}

.brand img {
  width: 260px;
  max-width: min(22vw, 260px);
  height: auto;
  display: block;
}

.site-nav,
.nav-meta,
.lang-switch {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav {
  margin-left: auto;
}

.site-nav a,
.nav-meta a {
  color: #f0f0f0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-nav a {
  position: relative;
  font-weight: 700;
}

.nav-item-group {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: -20px;
}

.nav-item-group > a {
  padding-right: 22px;
}

.nav-item-group > a::before,
.nav-item-group > a::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
}

.nav-item-group > a::before {
  transform: translateY(-50%) rotate(45deg);
  right: 7px;
}

.nav-item-group > a::after {
  transform: translateY(-50%) rotate(-45deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: -8px;
  min-width: 280px;
  display: grid;
  gap: 0;
  padding: 16px 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(32, 32, 32, 0.98), rgba(10, 10, 10, 0.98)),
    radial-gradient(circle at top, rgba(255, 204, 0, 0.08), transparent 40%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: var(--yellow);
}

.nav-dropdown a {
  color: #f3f3f3;
  padding: 18px 26px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.nav-dropdown a::after {
  display: none !important;
}

.nav-dropdown a.is-active {
  color: var(--yellow);
  background: rgba(255, 204, 0, 0.12);
}

.nav-dropdown a:hover {
  color: var(--yellow);
  background: rgba(255, 204, 0, 0.08);
}

.nav-item-group:hover .nav-dropdown,
.nav-item-group:focus-within .nav-dropdown,
.site-header.nav-open .nav-item-group.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav a.is-active,
.site-nav a:hover,
.nav-meta a:hover {
  color: var(--yellow);
}

.site-nav > a.is-active,
.site-nav > a:hover,
.site-nav > .nav-item-group:hover > a,
.site-nav > .nav-item-group:focus-within > a,
.site-nav > .nav-item-group.is-open > a {
  text-shadow: 0 0 0 currentColor;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: left calc(100% + 18px);
  background-size: 100% 3px;
}

.nav-meta {
  gap: 14px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-meta a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lang-switch {
  gap: 8px;
}

.lang-switch a {
  min-width: 44px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a.is-active {
  color: #070707;
  background: var(--yellow);
  border-color: var(--yellow);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 204, 0, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 204, 0, 0.16), transparent 18%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.05), transparent 26%),
    linear-gradient(135deg, rgba(255, 204, 0, 0.04), transparent 34%);
  pointer-events: none;
}

.hero-grid,
.split-grid,
.values-layout,
.catalog-layout,
.detail-layout,
.detail-specs,
.support-layout,
.contact-grid,
.footer-grid,
.hero-mini-grid,
.product-grid,
.card-grid,
.masonry-grid,
.values-grid,
.cert-grid,
.related-grid {
  display: grid;
}

.hero {
  padding: 112px 0 92px;
}

.page-hero {
  padding: 96px 0 64px;
  text-align: center;
}

.page-hero h1,
.hero h1,
.hero-title,
.section-heading h2,
.cta-banner h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(580px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.hero-carousel {
  padding: clamp(14px, 1.5vw, 24px) 0 36px;
}

.hero-carousel .container-wide {
  width: calc(100% - clamp(16px, 2vw, 36px));
  max-width: none;
}

.hero-carousel-stage {
  position: relative;
  min-height: clamp(480px, calc(100vh - 250px), 720px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 36%, rgba(0, 0, 0, 0.16) 62%, rgba(0, 0, 0, 0.48) 100%),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.18), transparent 14%),
    radial-gradient(circle at 24% 16%, rgba(255, 204, 0, 0.14), transparent 22%),
    var(--slide-image) var(--slide-position, center)/var(--slide-size, cover) no-repeat;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.01);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18) 36%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(135deg, rgba(255, 204, 0, 0.06), transparent 24%);
  pointer-events: none;
}

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

.hero-slide-content {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  padding: clamp(28px, 3vw, 54px);
  padding-bottom: clamp(74px, 7vw, 104px);
  display: grid;
  gap: 18px;
}

.hero-slide-content .eyebrow {
  margin-bottom: 0;
}

.hero-slide-content .hero-text {
  max-width: 680px;
  margin: 0;
}

.hero-slide-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.hero-slide-metrics li {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.44);
  color: #f2f2f2;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-carousel-nav {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.hero-carousel-nav {
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
}

.hero-dot {
  width: 54px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.24);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}

.hero-dot.is-active,
.hero-dot:hover {
  background: var(--yellow);
  transform: translateY(-1px);
  opacity: 1;
}

.hero-title {
  margin: 0;
  max-width: 880px;
  font-size: clamp(4rem, 5.8vw, 7.2rem);
}

.hero-subtitle {
  margin: -6px 0 0;
  max-width: 760px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.1rem, 3.2vw, 4rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-slide[data-hero-variant="controller-box"] .hero-slide-content {
  width: min(100%, 760px);
  gap: 14px;
}

.hero-slide[data-hero-variant="controller-box"] .hero-title-compact {
  max-width: var(--hero-title-max, 760px);
  font-size: var(--hero-title-size, clamp(3rem, 4.7vw, 5.4rem));
  line-height: 0.92;
}

.hero-slide[data-hero-variant="controller-box"] .hero-text {
  max-width: var(--hero-copy-max, 620px);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
}

.hero-slide[data-hero-variant="controller-box"] .hero-actions {
  margin-top: 4px;
}

.hero-slide[data-hero-variant="controller-box"] .hero-slide-metrics {
  margin-top: 0;
}

.page-hero h1 {
  font-size: clamp(3.1rem, 6vw, 5rem);
}

.hero-text,
.page-hero p:last-child,
.story-block p,
.value-card p,
.timeline li span,
.product-body p,
.cta-banner p,
.footer-copy,
.support-side p,
.contact-card p,
.shop-card p,
.detail-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 760px;
}

.hero-text {
  max-width: 640px;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding-top: 16px;
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  position: relative;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 82px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow);
}

.hero-actions,
.product-meta,
.cta-banner,
.newsletter-inline,
.field-row,
.purchase-panel,
.footer-bottom,
.price-line {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 16px;
  margin: 32px 0 36px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.button-primary {
  color: #070707;
  background: linear-gradient(180deg, #ffd733, #ffcc00 72%, #ebb000);
  box-shadow: 0 12px 28px rgba(255, 204, 0, 0.24);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.button-block {
  width: 100%;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cart-pill {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 0, 0.16);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-stats li,
.info-card,
.product-card,
.value-card,
.contact-card,
.filter-panel,
.shop-card,
.message-form,
.newsletter-panel,
.mini-panel,
.timeline-panel,
.cert-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 18px 18px 20px;
  border-radius: 18px;
}

.hero-stats strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.2rem;
  color: var(--yellow);
}

.hero-stats span {
  color: var(--muted);
}

.beam-card,
.feature-frame,
.masonry-card,
.product-thumb,
.detail-main-visual,
.detail-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 72% 40%, rgba(255, 255, 255, 0.95), rgba(255, 204, 0, 0.38) 6%, rgba(255, 204, 0, 0.1) 12%, transparent 18%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.02), transparent 28%),
    linear-gradient(180deg, #1e1e1e, #090909);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.beam-card::before,
.feature-frame::before,
.masonry-card::before,
.product-thumb::before,
.detail-main-visual::before,
.detail-thumb::before {
  content: none;
}

.product-thumb.has-media {
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(8, 8, 8, 0.98)),
    radial-gradient(circle at 72% 40%, rgba(255, 255, 255, 0.16), rgba(255, 204, 0, 0.06) 10%, transparent 18%);
}

.product-thumb-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.product-thumb.has-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.04), rgba(6, 6, 6, 0.3)),
    radial-gradient(circle at 74% 34%, rgba(255, 244, 204, 0.1), transparent 18%);
}

.product-thumb.is-empty,
.detail-main-visual.is-empty,
.detail-thumb.is-empty {
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(8, 8, 8, 0.98));
}

.beam-card-large {
  min-height: 560px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.52)),
    url("./assets/images/mt-hero-m4s.jpg");
  background-size: cover;
  background-position: center right;
}

.beam-card-copy {
  position: absolute;
  inset: auto 34px 34px 34px;
  display: grid;
  gap: 10px;
  max-width: 56%;
}

.beam-card-copy span {
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.beam-card-copy strong {
  max-width: 480px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.4rem, 3.2vw, 3.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.mini-panel,
.info-card,
.value-card,
.contact-card,
.shop-card,
.message-form,
.newsletter-panel,
.filter-panel,
.timeline-panel,
.cert-card {
  border-radius: var(--radius-sm);
}

.mini-panel {
  padding: 22px 18px;
  min-height: 132px;
}

.mini-panel h3,
.info-card h3,
.product-card h3,
.value-card h3,
.contact-card h2,
.shop-card h3,
.timeline-panel h2,
.detail-copy h1 {
  margin: 0 0 8px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mini-panel p,
.info-card p,
.shop-card p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 104px 0;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(34, 34, 34, 0.95), rgba(8, 8, 8, 0.98)),
    radial-gradient(circle at top, rgba(255, 204, 0, 0.05), transparent 26%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.section-heading.align-left {
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
}

.card-grid {
  gap: 20px;
}

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

.info-card {
  padding: 26px 20px 24px;
  position: relative;
}

.category-showcase .info-card,
.storefront-card {
  padding: 22px 22px 24px;
}

.category-card {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  min-height: 300px;
  padding: 34px 18px 30px;
}

.info-card::before,
.value-card::before,
.contact-card::before,
.shop-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: var(--yellow);
}

.category-icon {
  width: 96px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 6px auto 26px;
}

.category-icon svg {
  width: 76px;
  height: 76px;
  stroke: var(--yellow);
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.category-icon-outdoor img {
  max-width: 78%;
  max-height: 78%;
}

.category-card h3 {
  margin: 4px 0 12px;
  font-size: clamp(1.75rem, 2vw, 2.25rem);
  line-height: 1.06;
}

.category-card p {
  max-width: 320px;
  margin: 0;
  font-size: 1.05rem;
  color: #bebebe;
  line-height: 1.55;
}

.category-card:hover {
  border-color: rgba(255, 204, 0, 0.3);
  transform: translateY(-4px);
}

.storefront-icon {
  width: 92px;
  height: 84px;
  margin: 8px auto 26px;
}

.storefront-icon svg {
  width: 74px;
  height: 74px;
  stroke-width: 2.25;
}

.storefront-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.storefront-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.storefront-card {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  min-height: 320px;
  padding: 34px 18px 30px;
}

.storefront-card h3 {
  margin: 6px 0 10px;
  font-size: clamp(1.75rem, 2vw, 2.3rem);
  line-height: 1;
}

.storefront-card p {
  font-size: 1.1rem;
  color: #bebebe;
}

.storefront-card:hover {
  border-color: rgba(255, 204, 0, 0.3);
  transform: translateY(-4px);
}

.storefront-card.is-active {
  border-color: rgba(255, 204, 0, 0.42);
  transform: translateY(-4px);
}

.catalog-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.catalog-shortcut {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #e5e5e5;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.catalog-shortcut:hover,
.catalog-shortcut:target {
  color: #0b0b0b;
  background: var(--yellow);
  border-color: var(--yellow);
}

.catalog-shortcut.is-active {
  color: #0b0b0b;
  background: var(--yellow);
  border-color: var(--yellow);
}

.best-sellers-heading {
  margin-bottom: 28px;
}

.best-sellers-heading h2 {
  font-size: clamp(2.3rem, 3vw, 3.2rem);
}

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

.storefront-product {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(42, 42, 42, 0.98), rgba(12, 12, 12, 0.98)),
    radial-gradient(circle at top, rgba(255, 204, 0, 0.05), transparent 28%);
}

.storefront-product .product-thumb {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 14px 14px 0 0;
}

.storefront-product .product-body {
  position: relative;
  padding: 18px 18px 20px;
}

.storefront-product .product-body h3 {
  min-height: 58px;
  font-size: 1.55rem;
}

.storefront-product .product-body p {
  min-height: 56px;
  font-size: 0.92rem;
}

.storefront-product .product-meta {
  align-items: flex-end;
  gap: 12px;
}

.storefront-product .product-meta strong {
  font-size: 1.8rem;
}

.storefront-product .product-meta a {
  min-width: 140px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd733, #ffcc00 72%, #ebb000);
  color: #0b0b0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 28px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-align: center;
}

.sale-badge {
  position: absolute;
  top: -34px;
  left: 16px;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--yellow);
  color: #0b0b0b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-grid {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: center;
}

.story-block {
  max-width: 520px;
}

.bullet-list {
  padding-left: 18px;
  margin: 24px 0 30px;
}

.bullet-list li {
  margin: 10px 0;
  color: #dadada;
}

.showcase-stack {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 20px;
}

.feature-frame {
  min-height: 520px;
}

.feature-frame.tall {
  min-height: 620px;
}

.feature-frame-rider::before,
.card-light-three::before,
.card-light-five::before,
.thumb-cycle::before,
.thumb-moto::before {
  content: none;
}

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

.product-card,
.shop-card {
  overflow: hidden;
}

.product-thumb {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  border: 0;
}

.product-body,
.shop-card {
  padding: 0;
}

.product-body {
  padding: 24px;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.12);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.product-meta {
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.product-meta strong,
.shop-card strong,
.price-line strong {
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
}

.product-meta a {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-section .masonry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.masonry-card {
  min-height: 280px;
}

.card-light-two,
.card-light-five {
  min-height: 420px;
}

.values-layout {
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
}

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

.value-card,
.contact-card {
  padding: 24px;
}

.timeline-panel {
  padding: 28px;
}

.timeline {
  list-style: none;
  margin: 12px 0 0;
  padding: 0 0 0 20px;
  border-left: 2px solid rgba(255, 204, 0, 0.32);
}

.timeline li {
  display: grid;
  gap: 6px;
  position: relative;
  margin-bottom: 24px;
  padding-left: 20px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 204, 0, 0.1);
}

.timeline strong {
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
}

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

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

.cert-card {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.9rem;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-banner {
  justify-content: space-between;
  gap: 28px;
  margin-top: 36px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel-alt);
  box-shadow: var(--shadow);
}

.cta-banner h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.site-footer {
  padding: 52px 0 18px;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.98), rgba(4, 4, 4, 1)),
    radial-gradient(circle at top, rgba(255, 204, 0, 0.05), transparent 18%);
  border-top: 1px solid rgba(255, 204, 0, 0.32);
}

.commerce-hero {
  padding-bottom: 54px;
}

.commerce-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: start;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.82fr);
}

.commerce-main,
.checkout-main {
  display: grid;
  gap: 22px;
}

.compact-heading {
  margin-bottom: 20px;
}

.cart-items,
.checkout-items {
  display: grid;
  gap: 16px;
}

.cart-item,
.checkout-item,
.order-summary,
.checkout-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
}

.cart-item,
.checkout-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  align-items: center;
}

.cart-item .product-thumb,
.checkout-item .product-thumb {
  min-height: 120px;
  border-radius: 16px;
}

.cart-item-copy,
.checkout-item-copy {
  display: grid;
  gap: 10px;
}

.cart-item-copy h3,
.checkout-item-copy h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.9rem;
  text-transform: uppercase;
}

.cart-item-copy p,
.checkout-item-copy p {
  margin: 0;
  color: var(--muted);
}

.cart-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.cart-price {
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--yellow);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.qty-value {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
}

.remove-link {
  color: var(--muted);
  font-size: 0.9rem;
}

.remove-link:hover {
  color: var(--yellow);
}

.cart-empty,
.order-summary,
.checkout-card {
  padding: 26px;
}

.cart-empty h3 {
  margin: 0 0 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

.cart-empty p,
.checkout-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.order-summary {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 118px;
}

.summary-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-list dt,
.summary-list dd {
  margin: 0;
}

.summary-list dd {
  font-weight: 800;
}

.payment-block,
.payment-options {
  display: grid;
  gap: 12px;
}

.payment-label {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-methods span,
.payment-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.88rem;
}

.payment-option {
  justify-content: flex-start;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
}

.payment-option input {
  margin-right: 10px;
}

.payment-option.is-active,
.payment-option:hover {
  border-color: rgba(255, 204, 0, 0.4);
  background: rgba(255, 204, 0, 0.08);
}

.payment-integration-note {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 204, 0, 0.22);
  background: rgba(255, 204, 0, 0.07);
}

.payment-integration-note strong,
.payment-integration-note p {
  margin: 0;
}

.payment-integration-note strong {
  color: var(--yellow);
}

.payment-integration-note p {
  color: #d8d8d8;
  line-height: 1.6;
}

.checkout-form,
.form-grid {
  display: grid;
  gap: 16px;
}

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

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

.form-grid-wide label:first-child,
.form-grid-wide label:nth-child(2) {
  grid-column: span 2;
}

.checkout-form label,
.form-grid label {
  display: grid;
  gap: 8px;
}

.checkout-form span,
.form-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-form input,
.form-grid input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.shop-card-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.shop-card-actions .button {
  margin: 0;
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 24px;
}

.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--yellow);
}

.brand-footer {
  margin-bottom: 16px;
}

.footer-contact {
  margin: 6px 0;
  color: var(--muted);
}

.footer-bottom {
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p,
.footer-bottom a {
  color: #8b8b8b;
  font-size: 0.92rem;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

@media (min-width: 1680px) {
  .hero {
    padding-top: 128px;
    padding-bottom: 110px;
  }

  .hero-carousel {
    padding-top: 82px;
    padding-bottom: 60px;
  }

  .hero-carousel .container-wide {
    width: min(calc(100% - 28px), 2048px);
  }

  .hero-carousel-stage {
    min-height: clamp(620px, calc(100vh - 220px), 860px);
  }
}

html[lang="zh-CN"] .site-nav a,
html[lang="zh-CN"] .nav-meta a,
html[lang="zh-CN"] .lang-switch a,
html[lang="zh-CN"] .button,
html[lang="zh-CN"] .eyebrow {
  letter-spacing: 0.04em;
}

html[lang="zh-CN"] .hero h1,
html[lang="zh-CN"] .hero-title,
html[lang="zh-CN"] .page-hero h1,
html[lang="zh-CN"] .section-heading h2,
html[lang="zh-CN"] .cta-banner h3,
html[lang="zh-CN"] .beam-card-copy strong,
html[lang="zh-CN"] .mini-panel h3,
html[lang="zh-CN"] .info-card h3,
html[lang="zh-CN"] .product-card h3,
html[lang="zh-CN"] .value-card h3,
html[lang="zh-CN"] .contact-card h2,
html[lang="zh-CN"] .shop-card h3,
html[lang="zh-CN"] .timeline-panel h2,
html[lang="zh-CN"] .detail-copy h1,
html[lang="zh-CN"] .filter-panel h2,
html[lang="zh-CN"] .message-form h2,
html[lang="zh-CN"] .support-side h2,
html[lang="zh-CN"] .detail-specs h2,
html[lang="zh-CN"] .footer-grid h4 {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-style: normal;
  letter-spacing: 0;
}

html[lang="zh-CN"] .brand-text strong,
html[lang="zh-CN"] .brand-text span {
  font-style: normal;
}

html[lang="zh-CN"] .hero-title {
  max-width: 700px;
  font-size: clamp(3.8rem, 5.4vw, 6.5rem);
  line-height: 1.06;
}

html[lang="zh-CN"] .hero-subtitle {
  max-width: 760px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-style: normal;
  line-height: 1.08;
  letter-spacing: 0;
}

@media (max-width: 860px) {
  html[lang="zh-CN"] .hero-title {
    font-size: clamp(2.1rem, 9.5vw, 3.1rem);
    line-height: 1.08;
  }

  html[lang="zh-CN"] .hero-subtitle {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.15;
  }
}

html[lang="zh-CN"] .hero-slide-content {
  width: min(100%, 880px);
}

html[lang="zh-CN"] .hero-slide-metrics li {
  letter-spacing: 0.02em;
}

html[lang="zh-CN"] .beam-card-copy strong {
  max-width: 520px;
  line-height: 1.14;
}

.catalog-layout {
  grid-template-columns: 320px 1fr;
  gap: 26px;
  align-items: start;
}

.filter-panel,
.message-form,
.newsletter-panel {
  padding: 24px;
}

.filter-panel h2,
.message-form h2,
.support-side h2,
.detail-specs h2 {
  margin: 0 0 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  text-transform: uppercase;
}

.filter-group {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-group:first-of-type {
  border-top: 0;
}

.filter-group h3 {
  margin: 0 0 12px;
  color: #f0f0f0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.filter-group label {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}

.filter-group input {
  accent-color: var(--yellow);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.info-card.compact {
  padding: 18px 16px;
}

.info-card.compact .category-icon {
  width: 56px;
  height: 40px;
  margin: 0 auto 12px;
}

.info-card.compact .category-icon svg {
  width: 46px;
  height: 32px;
}

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

.shop-card {
  padding-bottom: 22px;
}

.shop-card h3,
.shop-card p,
.shop-card strong {
  padding: 0 18px;
}

.shop-card .button {
  margin: 14px 18px 0;
}

.detail-layout {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
}

.detail-main-visual {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.detail-thumb-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.detail-thumb-button.is-active .detail-thumb {
  border-color: rgba(255, 204, 0, 0.46);
  box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.12);
}

.detail-thumb {
  min-height: 0;
  aspect-ratio: 16 / 6;
}

.detail-copy h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
}

.price-line {
  gap: 14px;
  margin: 18px 0 22px;
  flex-wrap: wrap;
}

.price-old {
  color: #8a8a8a;
  text-decoration: line-through;
  font-size: 1.3rem;
}

.detail-specs {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.spec-table th,
.spec-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.spec-table th {
  width: 36%;
  color: #f5f5f5;
}

.spec-table td {
  color: var(--muted);
}

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

.compact-related {
  display: block;
  color: inherit;
  text-decoration: none;
}

.compact-related h3 {
  min-height: 60px;
}

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

.support-layout {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
}

.message-form input,
.message-form textarea,
.newsletter-inline input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 15px 16px;
  font: inherit;
}

.message-form textarea,
.message-form input,
.newsletter-inline input {
  margin-bottom: 16px;
}

.field-row {
  gap: 14px;
}

.support-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.newsletter-panel {
  margin-top: 8px;
}

.newsletter-inline {
  gap: 12px;
}

.newsletter-inline .button {
  min-width: 160px;
}

.thumb-moto,
.feature-frame-rider,
.card-light-two {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),
    linear-gradient(120deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.38)),
    url("./assets/images/mt-m5-pair.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-bar,
.feature-frame-headlight,
.card-light-four {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 38% 58%, rgba(255, 255, 255, 0.14), rgba(255, 204, 0, 0.08) 7%, transparent 14%),
    url("./assets/images/mt-t13000-bar.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-cycle,
.card-light-three {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.68)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.35)),
    url("./assets/images/mt-drl-bars.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-helmet,
.card-light-one {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 52% 36%, rgba(255, 255, 255, 0.1), rgba(255, 204, 0, 0.08) 7%, transparent 14%),
    url("./assets/images/mt-fog-round.png");
  background-size: cover;
  background-position: center;
}

.thumb-lantern,
.card-light-six,
.card-light-five {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 56%, rgba(255, 244, 204, 0.14), rgba(255, 204, 0, 0.12) 8%, transparent 16%),
    url("./assets/images/mt-latch-bars.jpg");
  background-size: cover;
  background-position: center;
}

.thumb-headlight {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), rgba(255, 204, 0, 0.08) 8%, transparent 18%),
    url("./assets/images/mt-headlight-assembly.png");
  background-size: cover;
  background-position: center;
}

.thumb-side {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), rgba(255, 204, 0, 0.08) 8%, transparent 18%),
    url("./assets/images/mt-fog-round.png");
  background-size: cover;
  background-position: center;
}

.thumb-beam {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), rgba(255, 204, 0, 0.08) 8%, transparent 18%),
    url("./assets/images/mt-m2s-beam.jpg");
  background-size: cover;
  background-position: center;
}

@media (max-width: 1180px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .container-wide {
    width: min(calc(100% - 28px), var(--container-wide));
  }

  .hero-grid,
  .split-grid,
  .values-layout,
  .catalog-layout,
  .commerce-layout,
  .checkout-layout,
  .detail-layout,
  .detail-specs,
  .support-layout,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-carousel-stage {
    min-height: clamp(520px, calc(100vh - 220px), 680px);
  }

  .hero-title {
    max-width: none;
    font-size: clamp(3.8rem, 9vw, 5.8rem);
  }

  .hero-copy,
  .hero-text,
  .story-block {
    max-width: none;
  }

  .beam-card-large {
    min-height: 480px;
  }

  .beam-card-copy {
    max-width: 62%;
  }

  .hero-slide-content {
    width: min(100%, 720px);
  }

  .hero-carousel-nav {
    gap: 10px;
  }

  .card-grid-five,
  .category-strip,
  .cert-grid,
  .storefront-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .nav-meta {
    display: none;
  }

  .site-nav {
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .container,
  .container-wide {
    width: min(calc(100% - 32px), 100%);
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .brand {
    min-width: 0;
    max-width: 210px;
  }

  .brand img {
    max-width: 100%;
    width: 210px;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .nav-item-group {
    width: 100%;
    display: block;
  }

  .nav-item-group > a {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding-right: 20px;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 8px;
    padding: 10px 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown a {
    color: #d8d8d8;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .nav-item-group:hover .nav-dropdown,
  .nav-item-group:focus-within .nav-dropdown,
  .site-header.nav-open .nav-item-group.is-open .nav-dropdown {
    display: grid;
  }

  .site-nav > a.is-active,
  .site-nav > a:hover,
  .site-nav > .nav-item-group:hover > a,
  .site-nav > .nav-item-group:focus-within > a,
  .site-nav > .nav-item-group.is-open > a {
    background-image: none;
  }

  .hero,
  .section,
  .page-hero {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .cart-item,
  .checkout-item {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .form-grid-wide {
    grid-template-columns: 1fr;
  }

  .form-grid-wide label:first-child,
  .form-grid-wide label:nth-child(2) {
    grid-column: auto;
  }

  .order-summary {
    position: static;
  }

  .hero-carousel {
    padding-top: 60px;
    padding-bottom: 44px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-carousel-stage {
    min-height: 560px;
  }

  .hero-slide {
    align-items: start;
  }

  .hero-slide[data-hero-variant="controller-box"] {
    --slide-position: center bottom !important;
    --slide-size: 88% auto !important;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10vw, 3.35rem);
    line-height: 0.98;
  }

  .hero-subtitle {
    margin-top: -2px;
    font-size: clamp(1.65rem, 7.4vw, 2.5rem);
    line-height: 1.08;
  }

  .page-hero h1,
  .section-heading h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-text,
  .page-hero p:last-child,
  .story-block p,
  .value-card p,
  .timeline li span,
  .product-body p,
  .cta-banner p,
  .footer-copy,
  .support-side p,
  .contact-card p,
  .shop-card p,
  .detail-copy p,
  .mini-panel p {
    font-size: 0.96rem;
    line-height: 1.66;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .hero-stats,
  .hero-mini-grid,
  .values-grid,
  .gallery-section .masonry-grid,
  .card-grid-five,
  .product-grid,
  .catalog-grid,
  .contact-grid,
  .related-grid,
  .cert-grid,
  .category-strip,
  .storefront-strip,
  .storefront-products {
    grid-template-columns: 1fr;
  }

  .storefront-card {
    min-height: 0;
    padding: 26px 18px 24px;
  }

  .storefront-icon {
    width: 76px;
    height: 64px;
    margin-bottom: 16px;
  }

  .storefront-icon svg {
    width: 58px;
    height: 58px;
  }

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

  .catalog-shortcut {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }

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

  .hero-stats li:last-child {
    grid-column: 1 / -1;
  }

  .showcase-stack {
    grid-template-columns: 1fr;
  }

  .beam-card-large,
  .feature-frame,
  .detail-main-visual {
    min-height: 0;
  }

  .beam-card-large {
    background-position: center;
  }

  .beam-card-copy {
    inset: auto 20px 20px 20px;
    max-width: none;
  }

  .beam-card-copy span {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .beam-card-copy strong {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .hero-slide-content {
    width: 100%;
    gap: 12px;
    padding: 24px 20px 76px;
  }

  .hero-slide-metrics {
    gap: 10px;
  }

  .hero-slide-metrics li {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .hero-carousel-nav {
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    gap: 10px;
  }

  .hero-dot {
    width: 38px;
    height: 5px;
  }

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

  .hero-actions,
  .cta-banner,
  .footer-bottom,
  .newsletter-inline,
  .field-row {
    flex-direction: column;
    align-items: stretch;
  }

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

  .mini-panel,
  .hero-stats li,
  .info-card,
  .value-card,
  .contact-card,
  .shop-card,
  .message-form,
  .newsletter-panel,
  .filter-panel,
  .timeline-panel,
  .cert-card {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }

  .category-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }

  .category-icon svg {
    width: 38px;
    height: 38px;
    stroke-width: 2;
  }

  .storefront-card {
    min-height: auto;
  }

  .storefront-product .product-thumb {
    min-height: 0;
  }

  .storefront-product .product-body h3,
  .storefront-product .product-body p {
    min-height: auto;
  }

  .storefront-product .product-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .storefront-product .product-meta a {
    width: 100%;
  }
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(255, 204, 0, 0.08), transparent 20%),
    linear-gradient(180deg, #0c0c0c 0%, #070707 100%);
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  padding: 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.98), rgba(7, 7, 7, 0.98));
  display: flex;
  flex-direction: column;
}

.admin-brand {
  display: block;
  margin-bottom: 28px;
}

.admin-brand img {
  width: 220px;
}

.admin-nav {
  display: grid;
  gap: 10px;
}

.admin-nav a {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8d8d8;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.02);
}

.admin-nav a.is-active,
.admin-nav a:hover {
  border-color: rgba(255, 204, 0, 0.42);
  color: #111;
  background: linear-gradient(180deg, #ffd84c, #ffcc00);
}

.admin-sidebar-bottom {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 8px;
}

.admin-sidebar-bottom a,
.admin-sidebar-bottom button {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8d8d8;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: block;
}

.admin-sidebar-bottom a:hover,
.admin-sidebar-bottom button:hover {
  border-color: rgba(255, 204, 0, 0.28);
  background: rgba(255, 204, 0, 0.06);
}

.admin-sidebar-bottom .admin-logout {
  border-color: rgba(255, 120, 120, 0.18);
  color: #ffb2a8;
}

.admin-sidebar-bottom .admin-logout:hover {
  border-color: rgba(255, 120, 120, 0.36);
  background: rgba(255, 84, 84, 0.08);
}

.admin-main {
  padding: 34px clamp(22px, 3vw, 42px) 52px;
  display: grid;
  gap: 24px;
}

.admin-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.admin-topbar h1 {
  margin: 8px 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  line-height: 1;
  text-transform: none;
}

.admin-editor-title {
  margin: 8px 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── Back button in editor topbar ── */
.admin-topbar-back {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Full-width editor layout ── */
.admin-editor-fullwidth {
  display: grid;
  gap: 14px;
}

.admin-editor-fullwidth .admin-editor-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.admin-editor-fullwidth .admin-editor-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.admin-metric-grid,
.admin-grid {
  display: grid;
  gap: 20px;
}

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

.admin-grid-2 {
  grid-template-columns: 1fr 380px;
}

.admin-grid-2.admin-grid-scroll {
  align-items: start;
}

.admin-grid-scroll > .admin-panel {
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  position: sticky;
  top: 34px;
}

.admin-panel,
.admin-metric-card,
.admin-auth-card,
.admin-login-panel {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.admin-metric-card {
  padding: 24px;
  display: grid;
  gap: 8px;
}

.admin-metric-card span,
.admin-panel small {
  color: var(--muted);
}

.admin-metric-card strong {
  color: var(--yellow);
  font-size: 2.4rem;
  font-weight: 800;
}

.admin-panel {
  padding: 16px;
  min-width: 0;
  overflow: hidden;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 1.15rem;
  text-transform: none;
}

.admin-panel-head a {
  color: var(--yellow);
  font-weight: 700;
}

.admin-checklist,
.admin-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-checklist li,
.admin-list div,
.admin-timeline div {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.admin-list-card,
.admin-row-button {
  width: 100%;
  padding: 16px 18px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.admin-list-card {
  display: grid;
  gap: 6px;
}

.admin-list-card:hover,
.admin-row-button:hover {
  border-color: rgba(255, 204, 0, 0.28);
  transform: translateY(-2px);
}

.admin-list-card.is-selected,
.admin-row-button.is-selected {
  border-color: rgba(255, 204, 0, 0.46);
  background: rgba(255, 204, 0, 0.08);
}

.admin-timeline {
  display: grid;
  gap: 12px;
}

.admin-timeline strong,
.admin-list strong {
  display: block;
  margin-bottom: 6px;
}

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

.admin-status-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-status-grid strong {
  display: block;
  color: var(--yellow);
  font-size: 2rem;
}

.admin-table {
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
}

.admin-table-row {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  font-size: 0.88rem;
  word-break: break-word;
  min-width: 0;
}

.admin-table-row > div {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-row-button {
  display: grid;
  gap: 14px;
  align-items: center;
}

.admin-table-head {
  color: #111;
  background: linear-gradient(180deg, #ffd84c, #ffcc00);
  border-color: transparent;
  font-weight: 800;
}

.admin-table-products {
  grid-template-columns: 2.5fr 1fr 0.8fr 0.6fr;
}

.admin-table-orders {
  grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr 0.8fr 0.8fr;
}

.admin-table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.admin-table-row small {
  display: block;
  margin-top: 4px;
}

.admin-filter-bar,
.admin-form-grid {
  display: grid;
  gap: 10px;
}

.admin-filter-bar {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 20px;
}

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

.admin-filter-bar label,
.admin-form-grid label,
.admin-auth-card label {
  display: grid;
  gap: 8px;
}

.admin-filter-bar span,
.admin-form-grid span,
.admin-auth-card span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-filter-bar input,
.admin-filter-bar select,
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.admin-auth-card input {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.admin-form-grid textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
}

.admin-form-grid .full-span {
  grid-column: 1 / -1;
}

.admin-quick-link-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 208, 0, 0.24);
  background: rgba(255, 208, 0, 0.06);
}

.admin-quick-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-quick-link-panel small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.admin-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d7d7d7;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-badge.is-live {
  background: rgba(255, 204, 0, 0.16);
  color: var(--yellow);
}

.admin-hero-preview {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
}

.admin-hero-preview img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-hero-preview-body {
  display: grid;
  gap: 10px;
}

.admin-hero-preview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-hero-preview-body h3,
.admin-hero-preview-body p {
  margin: 0;
}

.admin-hero-preview-body h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.admin-hero-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-hero-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.admin-hero-card:hover {
  border-color: var(--accent);
}

.admin-hero-card.is-selected {
  border-color: var(--accent);
  background: rgba(255, 204, 0, 0.06);
}

.admin-hero-card-thumb {
  width: 80px;
  height: 56px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
}

.admin-hero-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.admin-hero-card-body strong {
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-hero-card-body small {
  font-size: 0.8rem;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-hero-card-body .admin-badge {
  align-self: flex-start;
  margin-top: 4px;
}

.admin-editor {
  display: grid;
  gap: 16px;
}

.admin-editor-section {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.admin-section-head h3,
.admin-detail-view-head strong {
  margin: 0;
  font-size: 1.1rem;
}

.admin-section-head small,
.admin-detail-view-head small {
  color: var(--muted);
  line-height: 1.5;
}

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

.admin-detail-view-grid {
  display: grid;
  gap: 14px;
}

.admin-detail-view-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

/* ── Spec table ── */
.admin-spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.82rem;
}

.admin-spec-table thead th {
  padding: 6px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.admin-spec-table thead th:first-child {
  width: 28px;
  text-align: center;
}

.admin-spec-table tbody tr {
  transition: background 0.15s;
}

.admin-spec-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.admin-spec-table tbody tr.is-empty {
  opacity: 0.4;
}

.admin-spec-table tbody tr.is-empty:focus-within {
  opacity: 1;
}

.admin-spec-table td {
  padding: 3px 3px;
}

.admin-spec-table td:first-child {
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  width: 28px;
}

.admin-spec-table input {
  width: 100%;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  box-sizing: border-box;
}

.admin-spec-table input:focus {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.08);
}

.admin-spec-toggle-empty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: pointer;
}

.admin-spec-toggle-empty:hover {
  color: var(--yellow);
}

.admin-detail-view-grid {
  grid-template-columns: repeat(2, 1fr);
}

.admin-detail-view-head,
.admin-detail-view-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-detail-view-preview {
  min-height: 118px;
}

.admin-detail-view-frame {
  min-height: 118px;
  border-radius: 16px;
}

.admin-editor > label {
  display: grid;
  gap: 8px;
}

.admin-editor > label span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-editor > label select,
.admin-editor > label input {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.admin-editor-meta,
.admin-editor-actions,
.admin-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-bottom-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px 0 8px;
}

.admin-inline-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #d6d6d6;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-product-cell {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.admin-product-cell strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-cell small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.admin-product-mini-thumb {
  width: 56px;
  height: 56px;
  min-height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

/* ── Storefront preview card (real card look) ── */
.admin-storefront-preview {
  display: grid;
  gap: 8px;
}

.admin-product-preview-card {
  pointer-events: none;
  max-width: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-product-preview-card .storefront-product {
  max-width: 100%;
  border: none;
}

.admin-product-preview-card .product-thumb {
  aspect-ratio: 16 / 10;
}

.admin-product-preview-card .product-body h3 {
  min-height: auto;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  word-break: break-word;
}

.admin-product-preview-card .product-body p {
  min-height: auto;
  font-size: 0.82rem;
  line-height: 1.45;
  word-break: break-word;
}

.admin-product-preview-card .product-meta strong {
  font-size: 1.4rem;
}

.admin-product-preview-card .product-meta a {
  min-width: 110px;
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.admin-flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-flag {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.admin-flag.is-live {
  background: rgba(120, 220, 140, 0.15);
  color: #8ce3a2;
}

.admin-flag.is-off {
  background: rgba(255, 120, 120, 0.12);
  color: #ffb2a8;
}

.admin-flag.is-featured {
  background: rgba(255, 204, 0, 0.12);
  color: var(--yellow);
}

.admin-flag.is-hero {
  background: rgba(100, 180, 255, 0.12);
  color: #8cc4ff;
}

.admin-preview-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Toggle row (compact switches) ── */
.admin-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.admin-toggle-label span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}

.admin-toggle-label select {
  min-height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.82rem;
}

.admin-preset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.admin-image-controls {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.admin-image-upload-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-image-settings {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.admin-image-settings label span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 700;
}

.admin-image-settings select,
.admin-image-settings input {
  width: 100%;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  box-sizing: border-box;
}

.admin-upload-status {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.admin-upload-status[data-state="loading"] {
  color: #ffd84c;
}

.admin-upload-status[data-state="success"] {
  color: #8ce3a2;
}

.admin-upload-status[data-state="error"] {
  color: #ff9d8f;
}

.admin-field-tip {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.button-danger {
  border-color: rgba(255, 120, 120, 0.22);
  background: rgba(255, 84, 84, 0.1);
  color: #ffb2a8;
}

.button-danger:hover {
  border-color: rgba(255, 120, 120, 0.4);
  background: rgba(255, 84, 84, 0.16);
}

.admin-chip-button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.admin-chip-button:hover {
  border-color: rgba(255, 204, 0, 0.34);
  background: rgba(255, 204, 0, 0.08);
  transform: translateY(-1px);
}

.admin-empty-state {
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.admin-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.admin-login-body {
  display: grid;
  place-items: center;
  padding: 28px;
}

.admin-login-shell {
  width: min(100%, 1180px);
}

.admin-login-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
}

.admin-login-brand img {
  width: 260px;
  margin-bottom: 14px;
}

.admin-login-brand p {
  color: var(--muted);
}

.admin-login-copy h1 {
  margin: 12px 0;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 0.94;
}

.admin-auth-card {
  padding: 24px;
  display: grid;
  gap: 14px;
  align-self: center;
}

.admin-auth-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 1440px) {
  .admin-layout {
    grid-template-columns: 200px 1fr;
  }

  .admin-sidebar {
    padding: 20px 12px;
  }

  .admin-brand img {
    width: 160px;
  }

  .admin-nav a {
    padding: 10px 12px;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .admin-grid-2 {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 1180px) {
  .admin-layout,
  .admin-login-panel {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    min-height: 0;
    max-height: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 16px 20px;
  }

  .admin-brand {
    margin-bottom: 0;
  }

  .admin-brand img {
    width: 140px;
  }

  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .admin-nav a {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .admin-sidebar-bottom {
    display: flex;
    gap: 8px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .admin-sidebar-bottom a,
  .admin-sidebar-bottom button {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .admin-grid-2 {
    grid-template-columns: 1fr;
  }

  .admin-grid-scroll > .admin-panel {
    max-height: none;
    position: static;
  }

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

  .admin-status-grid,
  .admin-hero-preview,
  .admin-product-preview-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .admin-editor-fullwidth .admin-editor-row {
    grid-template-columns: 1fr;
  }

  .admin-topbar-back {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .admin-detail-view-grid {
    grid-template-columns: 1fr;
  }

  .admin-spec-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-image-settings {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .admin-login-body {
    place-items: start center;
    padding: 16px;
  }

  .admin-login-panel {
    gap: 22px;
    padding: 22px;
    border-radius: 18px;
  }

  .admin-login-brand img {
    width: min(100%, 220px);
  }

  .admin-login-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .admin-main {
    padding: 16px 12px 36px;
  }

  .admin-topbar,
  .admin-auth-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-metric-grid,
  .admin-filter-bar,
  .admin-form-grid,
  .admin-form-grid-4 {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    padding: 16px;
    border-radius: 16px;
  }
}
