/* Extra layout for the LED Name Tags site. MakerSpace Tailwind stays in output.css. */
body.site-body {
  padding-top: 5rem;
}

.page-hero {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-badge-crop {
  overflow: hidden;
  line-height: 0;
}

.hero-badge-crop img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -15px;
}

.prose-led {
  max-width: 48rem;
}
.prose-led h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.prose-led h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.prose-led p,
.prose-led li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.prose-led ul {
  margin: 0 0 1rem 1.25rem;
  list-style: disc;
}
.prose-led ul ul {
  margin-top: 0.35rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 0.75rem;
}
.dark .product-card img {
  background: #1e293b;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.shop-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  padding: 1.5rem;
}
.shop-card img {
  max-height: 4.5rem;
  max-width: 100%;
  object-fit: contain;
}

.led-form input,
.led-form textarea,
.led-form select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #0f172a;
}
.dark .led-form input,
.dark .led-form textarea,
.dark .led-form select {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
.led-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.led-form .field {
  margin-bottom: 1rem;
}

.video-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.programmer-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

@media (min-width: 1000px) {
  .programmer-shell {
    max-width: 1180px;
  }
}
.programmer-shell .site-header,
.programmer-shell .site-footer {
  display: none;
}
.programmer-shell .card:hover {
  transform: none !important;
  --tw-translate-y: 0px;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  box-shadow: var(--shadow);
}

body.site-body nav a.btn-primary {
  color: #fff;
}

.nav-current {
  color: #cd3c65 !important;
}

.config-options h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin: 0 0 0.75rem;
}
.config-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.config-chip,
.config-led {
  appearance: none;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
}
.config-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  background: #f1f5f9;
  color: #0f172a;
}
.dark .config-chip {
  background: #1e293b;
  color: #f1f5f9;
}
.config-chip-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.2);
}
.config-chip[data-frame="schwarz"] .config-chip-dot { background: #1a1a1a; }
.config-chip[data-frame="silber"] .config-chip-dot {
  background: linear-gradient(135deg, #e8e8e8, #9aa0a6);
}
.config-chip[data-frame="unifarben"] .config-chip-dot {
  background: conic-gradient(#ff3b3b, #ff8a3d, #3ddc84, #4da3ff, #ff5a7a, #f4f7fa, #ff3b3b);
}
.config-chip[data-frame="unifarben-mini"] .config-chip-dot {
  background: conic-gradient(#ff3b3b, #ff8a3d, #3ddc84, #4da3ff, #ff5a7a, #f4f7fa, #ff3b3b);
}
.config-note {
  color: #64748b;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.config-led {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.18);
}
.config-led[data-led="rot"] { background: #ff3b3b; }
.config-led[data-led="gruen"] { background: #3ddc84; }
.config-led[data-led="weiss"] { background: #f4f7fa; }
.config-led[data-led="blau"] { background: #4da3ff; }
.config-led[data-led="orange"] { background: #ff8a3d; }
.config-led[data-led="pink"] { background: #ff5a7a; }
.config-chip[aria-pressed="true"],
.config-led[aria-pressed="true"] {
  border-color: #cd3c65;
  box-shadow: 0 0 0 3px rgba(205, 60, 101, 0.25);
}
.config-meta {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.config-sku {
  color: #64748b;
  margin: 0 0 0.35rem;
}
