/* ════════════════════════════════════════════════════════════════
   Bench Tester — Module cards + detail modal + carousel
   ────────────────────────────────────────────────────────────────
   Dark, premium tile look (viago-inspired). Title + single tagline
   visible at a glance, full description + shop CTA inside the modal.
   ════════════════════════════════════════════════════════════════ */

/* Section: dark gradient backdrop */
.modules-showcase--clean {
  background:
    linear-gradient(180deg, #161620 0%, #1d1d28 50%, #15151e 100%);
  position: relative;
  isolation: isolate;
  color: #e6e8ee;
}
.modules-showcase--clean::before {
  /* faint blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.modules-showcase--clean > * { position: relative; z-index: 1; }
.modules-showcase--clean .section-header h2 {
  color: #f3f4f8;
}
.modules-showcase--clean .section-lead {
  color: rgba(232, 232, 240, .68);
}
.modules-showcase--clean p.eyebrow {
  color: rgba(232, 64, 79, .95) !important;
}

/* Grid */
.modules-showcase--clean .module-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
@media (max-width: 1100px) {
  .modules-showcase--clean .module-grid-pro {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }
}
@media (max-width: 720px) {
  .modules-showcase--clean .module-grid-pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 380px) {
  .modules-showcase--clean .module-grid-pro {
    grid-template-columns: 1fr;
  }
}

/* Card — dark navy with red hover accent */
.modules-showcase--clean .module-card-pro {
  appearance: none;
  background:
    linear-gradient(180deg, rgba(40, 40, 56, .9) 0%, rgba(28, 28, 42, .94) 100%);
  border: 1px solid rgba(220, 14, 45, .34);
  border-radius: 12px;
  padding: 22px 22px 20px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #e6e8ee;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 196px;
  box-shadow:
    0 0 0 1px rgba(220, 14, 45, .08) inset,
    0 14px 30px rgba(0, 0, 0, .24);
  transition: transform .28s cubic-bezier(.22, .9, .26, 1),
              box-shadow .28s ease,
              border-color .28s ease,
              background .28s ease;
}
.modules-showcase--clean .module-card-pro:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 14, 45, .78);
  background:
    linear-gradient(180deg, rgba(48, 48, 64, .95) 0%, rgba(34, 32, 48, 1) 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(220, 14, 45, .38),
    0 0 28px rgba(200, 0, 28, .15);
}
.modules-showcase--clean .module-card-pro:focus-visible {
  outline: 2px solid var(--bt-red, #C8001C);
  outline-offset: 3px;
}

/* Tinted top band — gives the dark card a subtle "header" zone */
.modules-showcase--clean .module-card-pro::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(200, 0, 28, .18), transparent 65%),
    radial-gradient(120% 100% at 100% 0%, rgba(200, 0, 28, .08), transparent 65%);
  border-bottom: 1px solid rgba(200, 0, 28, .14);
  pointer-events: none;
  transition: opacity .28s ease;
}
.modules-showcase--clean .module-card-pro:hover::before {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(200, 0, 28, .3), transparent 65%),
    radial-gradient(120% 100% at 100% 0%, rgba(200, 0, 28, .14), transparent 65%);
}

/* ─────────────── CAN-bus terminal visual (top band) ───────────────
   Injected by bt-modules-canvas.js. Replaces the ::before tinted
   band with a live data feed canvas + module badge + uppercase title. */
.modules-showcase--clean .module-card-pro--has-visual {
  --module-visual-height: 110px;
  min-height: 336px;
}
.modules-showcase--clean .module-card-pro--has-visual::before { display: none; }
.module-card-pro--has-visual .module-card-pro__index,
.module-card-pro--has-visual .module-card-pro__name { display: none; }

.module-card-pro__visual {
  position: relative;
  display: block;
  margin: -22px -22px 14px;
  height: 110px;
  background: linear-gradient(145deg, #1A1825 0%, #23203A 55%, #1E1B2E 100%);
  border-bottom: 1px solid rgba(220, 14, 45, .22);
  overflow: hidden;
  pointer-events: none;
}
.module-card-pro__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .72;
  transition: opacity .35s ease;
}
.modules-showcase--clean .module-card-pro:hover .module-card-pro__canvas {
  opacity: .92;
}
.module-card-pro__visual-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.module-card-pro__badge-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.module-card-pro__badge {
  font-family: var(--bt-mono, "JetBrains Mono", monospace);
  font-size: 7.5px;
  letter-spacing: 1.6px;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid rgba(220, 14, 45, .55);
  color: #ffb1b9;
  background: rgba(220, 14, 45, .12);
  text-transform: uppercase;
  white-space: nowrap;
}
.module-card-pro__num-badge {
  font-family: var(--bt-mono, "JetBrains Mono", monospace);
  min-width: 34px;
  min-height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(12, 14, 24, .62);
  font-size: 9px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
}
.module-card-pro__visual-title {
  font-family: var(--bt-cond, "Barlow Condensed", "Rajdhani", sans-serif);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: #f3f4f8;
  line-height: 1.05;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.module-card-pro__visual-title em {
  color: #ff3a52;
  font-style: normal;
}

@media (max-width: 720px) {
  .modules-showcase--clean .module-card-pro--has-visual {
    --module-visual-height: 96px;
    min-height: 248px;
  }
  .module-card-pro__visual {
    margin: -18px -18px 12px;
    height: 96px;
  }
  .module-card-pro__visual-content { padding: 10px 12px; }
  .module-card-pro__visual-title { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .module-card-pro__canvas,
  .modules-showcase--clean .module-card-pro:hover .module-card-pro__canvas {
    opacity: .55;
    transition: none;
  }
}

/* Index pill "01"/"02"… */
.module-card-pro__index {
  position: relative;
  font-family: var(--bt-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: #ff3a52;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.module-card-pro__index::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3a52;
  box-shadow: 0 0 0 0 rgba(255, 58, 82, .65);
  animation: btCardDot 2.6s ease-in-out infinite;
}
@keyframes btCardDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 58, 82, .65); }
  50%      { box-shadow: 0 0 0 7px rgba(255, 58, 82, 0); }
}

/* Title — light, clear contrast against dark card */
.module-card-pro__name {
  position: relative;
  z-index: 1;
  font-family: var(--bt-cond, "Barlow Condensed", "Rajdhani", sans-serif);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.4px;
  line-height: 1.18;
  color: #f3f4f8;
  margin: 0 0 8px;
  text-transform: uppercase;
}

/* Single-sentence tagline */
.module-card-pro__tagline {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--bt-sans, "Barlow", sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(232, 232, 240, .65);
  margin-bottom: 16px;
  flex: 1 1 auto;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  min-height: 0;
}

.module-card-pro__static {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  transition: opacity .3s ease, transform .3s ease;
}

.module-card-pro__hover {
  position: absolute;
  top: calc(var(--module-visual-height, 110px) + 1px);
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 18px;
  background: linear-gradient(155deg, rgba(28, 26, 40, .98) 0%, rgba(36, 32, 56, .99) 50%, rgba(42, 38, 64, 1) 100%);
  transform: translateY(102%);
  transition: transform .38s cubic-bezier(.2, .8, .3, 1);
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.module-card-pro__hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(220, 14, 45, .92) 35%, rgba(255, 80, 96, .92) 65%, transparent);
}

.modules-showcase--clean .module-card-pro:hover .module-card-pro__static {
  opacity: 0;
  transform: translateY(-8px);
}

.modules-showcase--clean .module-card-pro:focus-visible .module-card-pro__static {
  opacity: 0;
  transform: translateY(-8px);
}

.modules-showcase--clean .module-card-pro:hover .module-card-pro__hover {
  transform: translateY(0);
}

.modules-showcase--clean .module-card-pro:focus-visible .module-card-pro__hover {
  transform: translateY(0);
}

.module-card-pro__hover-title {
  font-family: var(--bt-cond, "Barlow Condensed", "Rajdhani", sans-serif);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ff5060;
}

.module-card-pro__hover-list {
  list-style: none;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.module-card-pro__hover-list li {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .88);
  font-size: 12.5px;
  line-height: 1.42;
}

.module-card-pro__hover-list li::before {
  content: "→";
  flex-shrink: 0;
  color: #ff5060;
  font-size: 10px;
  margin-top: 1px;
}

.module-card-pro__hover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.module-card-pro__hover-tags span {
  font-family: var(--bt-mono, "JetBrains Mono", monospace);
  font-size: 7.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 7px;
  background: rgba(220, 14, 45, .14);
  border: 1px solid rgba(220, 14, 45, .34);
  color: rgba(255, 202, 207, .96);
}

/* "Zobacz szczegóły →" — always visible */
.modules-showcase--clean .module-card-pro__more {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: var(--bt-cond, "Barlow Condensed", "Rajdhani", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ff3a52;
  opacity: .9;
  transition: opacity .25s ease, gap .25s ease, color .25s ease;
}
.modules-showcase--clean .module-card-pro:hover .module-card-pro__more {
  opacity: 1;
  gap: 10px;
  color: #ff5060;
}
.modules-showcase--clean .module-card-pro__more svg {
  transition: transform .25s ease;
}
.modules-showcase--clean .module-card-pro:hover .module-card-pro__more svg {
  transform: translateX(3px);
}

/* Bottom-right corner glow on hover */
.modules-showcase--clean .module-card-pro::after {
  content: "";
  position: absolute;
  bottom: -40%; right: -40%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(200, 0, 28, .14), transparent 65%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.modules-showcase--clean .module-card-pro:hover::after {
  opacity: 1;
}

/* Orbs tuned for the dark module section */
.modules-showcase--clean.bt-orb-deco::before {
  background: radial-gradient(circle, rgba(200, 0, 28, .25) 0%, transparent 60%);
  opacity: .65;
}
.modules-showcase--clean.bt-orb-deco::after {
  background: radial-gradient(circle, rgba(200, 0, 28, .12) 0%, transparent 60%);
  opacity: .55;
}

@media (max-width: 720px) {
  .modules-showcase--clean .module-card-pro {
    padding: 18px 18px 16px;
    min-height: 168px;
  }
  .module-card-pro__name { font-size: 17px; }
  .module-card-pro__tagline { font-size: 12px; margin-bottom: 12px; }
  .module-card-pro__index { font-size: 10px; margin-bottom: 14px; }
  .modules-showcase--clean .module-card-pro--has-visual {
    min-height: 290px;
  }
  .module-card-pro__num-badge {
    min-width: 30px;
    min-height: 20px;
    font-size: 8px;
  }
  .module-card-pro__hover {
    padding: 14px 16px 14px;
    gap: 8px;
  }
  .module-card-pro__hover-title { font-size: 15px; }
  .module-card-pro__hover-list li { font-size: 11px; line-height: 1.38; }
}

@media (prefers-reduced-motion: reduce) {
  .module-card-pro__index::before { animation: none; }
}

/* ─────────────── Modal overlay ─────────────── */
.bt-mm {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 9, 14, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(20px, 4vh, 56px) clamp(12px, 3vw, 32px);
  /* No transform/filter on this element so its `position: fixed`
     stays anchored to the viewport even when nested in deep
     transformed parents. */
}
.bt-mm.is-open {
  /* Use flex so the wrap can vertically center on tall viewports
     yet still scroll naturally when content exceeds viewport. */
  display: flex;
  align-items: center;
  justify-content: center;
  animation: btMmFade .25s ease;
}
@keyframes btMmFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.bt-mm-open {
  overflow: hidden;
  /* Avoid layout shift from removed scrollbar */
  padding-right: var(--rt-scrollbar, 0);
}

.bt-mm__wrap {
  position: relative;
  background: linear-gradient(155deg, #ffffff 0%, #f8f8fb 60%, #f4f4f8 100%);
  max-width: 1180px;
  width: 100%;
  margin: auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(200, 0, 28, .2);
  animation: btMmRise .4s cubic-bezier(.22, .9, .26, 1);
  /* Allow the wrap to grow tall and the overlay to scroll. */
  max-height: calc(100vh - clamp(40px, 8vh, 112px));
  display: flex;
  flex-direction: column;
}
@keyframes btMmRise {
  from { transform: translateY(28px) scale(0.97); opacity: 0; }
  to   { transform: none;                        opacity: 1; }
}

/* Internal scrolling so the close button stays pinned at top-right */
.bt-mm__grid { overflow-y: auto; }

.bt-mm__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(15, 17, 23, .12);
  background: #fff;
  color: #1d2232;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: all .25s ease;
}
.bt-mm__close:hover {
  background: var(--bt-red, #C8001C);
  border-color: var(--bt-red, #C8001C);
  color: #fff;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 8px 28px rgba(200, 0, 28, .45);
}
.bt-mm__close::before {
  /* Larger invisible hit area for easier tapping on mobile */
  content: "";
  position: absolute;
  inset: -10px;
}

.bt-mm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
@media (max-width: 860px) {
  .bt-mm__grid { grid-template-columns: 1fr; }
}

/* ─────────────── Gallery / carousel ─────────────── */
.bt-mm__gallery {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 196, 196, .46), transparent 28%),
    radial-gradient(circle at 80% 76%, rgba(255, 229, 190, .34), transparent 24%),
    linear-gradient(155deg, #f7f0f4 0%, #f3f0f7 48%, #eceaf3 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.bt-mm__gallery::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(200, 0, 28, .18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.bt-mm__gallery::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  bottom: -100px; right: -80px;
  background: radial-gradient(circle, rgba(255, 147, 67, .18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.bt-mm__stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 56px;
  min-height: 320px;
  overflow: hidden;
}
@media (max-width: 540px) {
  .bt-mm__stage { padding: 28px 18px 44px; min-height: 260px; }
}

.bt-mm__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bt-mm__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.bt-mm__slide::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 100%);
  box-shadow:
    0 22px 48px rgba(64, 24, 36, .12),
    inset 0 0 0 1px rgba(188, 192, 210, .4);
}
.bt-mm__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.bt-mm__slide img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(32, 22, 38, .18));
}

.bt-mm__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: all .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bt-mm__nav:hover {
  background: var(--bt-red, #C8001C);
  border-color: var(--bt-red, #C8001C);
}
.bt-mm__nav--prev { left: 12px; }
.bt-mm__nav--next { right: 12px; }
.bt-mm__nav[disabled] {
  opacity: .25;
  cursor: not-allowed;
}

.bt-mm__counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--bt-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, .5);
  background: rgba(0, 0, 0, .25);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.bt-mm__counter strong { color: var(--bt-red, #C8001C); font-weight: 700; }

/* Thumbnails */
.bt-mm__thumbs {
  display: flex;
  gap: 8px;
  padding: 0 18px 18px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.bt-mm__thumb {
  appearance: none;
  border: 2px solid rgba(90, 98, 120, .12);
  border-radius: 6px;
  padding: 4px;
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.bt-mm__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
}
.bt-mm__thumb:hover {
  border-color: rgba(140, 149, 173, .34);
  background: rgba(255, 255, 255, .92);
}
.bt-mm__thumb.is-active {
  border-color: var(--bt-red, #C8001C);
  background: rgba(200, 0, 28, .12);
}

/* ─────────────── Body / content ─────────────── */
.bt-mm__body {
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bt-mm__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bt-mm__num {
  font-family: var(--bt-mono, "JetBrains Mono", monospace);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bt-red, #C8001C);
  background: rgba(200, 0, 28, .08);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(200, 0, 28, .25);
}
.bt-mm__badge {
  font-family: var(--bt-mono, "JetBrains Mono", monospace);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(15, 17, 23, .55);
  padding: 6px 10px;
  border: 1px solid rgba(15, 17, 23, .12);
  border-radius: 6px;
}

.bt-mm__title {
  font-family: var(--bt-cond, "Barlow Condensed", "Rajdhani", sans-serif);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.6px;
  line-height: 1;
  color: #161616;
  margin: 0;
}

.bt-mm__lead {
  font-size: 15px;
  line-height: 1.7;
  color: #44444a;
  margin: 0;
}

.bt-mm__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.bt-mm__tag {
  font-family: var(--bt-mono, "JetBrains Mono", monospace);
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0f0f5;
  border: 1px solid #e0e0e8;
  color: #44444a;
}

.bt-mm__features {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #ececec;
}
.bt-mm__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}
.bt-mm__feature svg {
  flex-shrink: 0;
  color: var(--bt-red, #C8001C);
  margin-top: 2px;
}
.bt-mm__feature strong {
  display: block;
  color: #161616;
  font-family: var(--bt-cond, "Barlow Condensed", "Rajdhani", sans-serif);
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.bt-mm__feature span {
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.5;
}

.bt-mm__actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.bt-mm__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 6px;
  font-family: var(--bt-cond, "Barlow Condensed", "Rajdhani", sans-serif);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
  border: 1.5px solid transparent;
}
.bt-mm__btn--primary {
  background: var(--bt-red, #C8001C);
  color: #fff;
}
.bt-mm__btn--primary:hover {
  background: #E5001F;
  color: #fff;
  box-shadow: 0 8px 24px rgba(200, 0, 28, .35);
  transform: translateY(-1px);
}
.bt-mm__btn--ghost {
  background: transparent;
  color: #161616;
  border-color: rgba(15, 17, 23, .18);
}
.bt-mm__btn--ghost:hover {
  border-color: var(--bt-red, #C8001C);
  color: var(--bt-red, #C8001C);
}

@media (max-width: 540px) {
  .bt-mm { padding: 18px 12px; }
  .bt-mm__close { width: 38px; height: 38px; top: 10px; right: 10px; }
  .bt-mm__body { gap: 14px; }
  .bt-mm__title { font-size: 28px; }
  .bt-mm__lead { font-size: 14px; }
  .bt-mm__feature span { font-size: 12.5px; }
  .bt-mm__actions { flex-direction: column; }
  .bt-mm__actions .bt-mm__btn { justify-content: center; }
  .bt-mm__nav { width: 36px; height: 36px; }
  .bt-mm__nav--prev { left: 8px; }
  .bt-mm__nav--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .bt-mm.is-open,
  .bt-mm__wrap,
  .bt-mm__slide {
    animation: none !important;
    transition: none !important;
  }
}
