/* ===========================================================
   HOME: garage teaser (links to Sound + Video pages)
   =========================================================== */
.teaser { padding: 40px 0 50px; background: linear-gradient(180deg, #120d0b, var(--ink)); }
.teaser__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.teaser__card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 22px 24px; border-radius: 14px; background: linear-gradient(135deg, #1f1612, #0f0c0a);
  border: 1px solid rgba(255,255,255,.1); border-left: 5px solid var(--red); transition: .25s;
}
.teaser__card:hover { transform: translateY(-4px); border-left-color: var(--yellow); box-shadow: 0 16px 34px rgba(0,0,0,.5); }
.teaser__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--red); box-shadow: 0 4px 0 var(--red-dark); }
.teaser__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.teaser__txt { display: flex; flex-direction: column; gap: 2px; }
.teaser__txt small { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--yellow); }
.teaser__txt strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; }
.teaser__txt em { font-style: normal; color: var(--muted); font-size: .9rem; }
.teaser__go { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); white-space: nowrap; }
@media (max-width: 800px) { .teaser__inner { grid-template-columns: 1fr; } .teaser__card { grid-template-columns: auto 1fr; } .teaser__go { grid-column: 2; } }

/* ===========================================================
   SHOP: vehicle picker, fit badges, show more
   =========================================================== */
.vehicle {
  display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto auto; gap: 10px; align-items: center;
  padding: 14px; margin-bottom: 14px; border-radius: 12px;
  background: linear-gradient(135deg, #2a1411, #140d0b); border: 1px solid rgba(215,38,45,.45);
}
.vehicle.is-set { border-color: var(--yellow); box-shadow: 0 0 0 1px rgba(246,185,23,.3); }
.vehicle__label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); white-space: nowrap; }
.vehicle__label svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.vehicle select:disabled { opacity: .5; }
.vehicle .btn { padding: 11px 18px; }
.vnote {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; margin-bottom: 26px; border-radius: 10px; background: var(--coal); border-left: 5px solid var(--yellow);
}
.vnote strong { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.3rem; }
.vnote span { color: var(--muted); font-size: .9rem; }
.vnote__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vnote__actions .btn { padding: 10px 16px; font-size: .9rem; }
.card { position: relative; }
.fit {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem;
  padding: 3px 8px; border-radius: 3px;
}
.fit--direct { background: #2e9d57; color: #fff; }
.fit--engine { background: var(--yellow); color: var(--ink); }
.fit--universal { background: rgba(0,0,0,.75); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.card .badge + .badge { left: 10px; right: auto; top: 34px; }
.shop__more { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
@media (max-width: 1000px) { .vehicle { grid-template-columns: 1fr 1fr; } .vehicle__label { grid-column: 1 / -1; } }

/* ===========================================================
   SUBPAGES (sound.html, videos.html)
   =========================================================== */
.subpage .footer { margin-top: 0; }
.subpage .panel { scroll-snap-align: none; }
.nav__links a.is-current { color: #fff; }
.nav__links a.is-current::after { right: 0; }

/* ===========================================================
   VIDEO GARAGE — old tube TV
   =========================================================== */
.videos {
  background:
    radial-gradient(ellipse at 30% 10%, rgba(246,185,23,.08), transparent 55%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 2px, transparent 2px 86px),
    linear-gradient(180deg, #1a100b, var(--wood) 55%, #120c09);
}
.tvset { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 34px; align-items: center; margin-bottom: 34px; }
.tv { position: relative; max-width: 760px; width: 100%; margin: 40px auto 0; }
.tv__antenna { position: absolute; left: 50%; top: -60px; width: 200px; height: 70px; translate: -50% 0; }
.tv__antenna::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 44px; height: 16px; translate: -50% 0; border-radius: 22px 22px 4px 4px; background: linear-gradient(#3b3b3b, #151515); }
.tv__antenna i { position: absolute; bottom: 10px; left: 50%; width: 3px; height: 82px; background: linear-gradient(#ddd, #777); transform-origin: bottom center; border-radius: 2px; }
.tv__antenna i:first-child { transform: rotate(-32deg); }
.tv__antenna i:last-child { transform: rotate(28deg); }
.tv__antenna i::before { content: ""; position: absolute; top: -6px; left: -3px; width: 9px; height: 9px; border-radius: 50%; background: #ccc; }
.tv__cabinet {
  position: relative; display: grid; grid-template-columns: 1fr 120px; gap: 18px; padding: 22px;
  border-radius: 26px;
  background:
    repeating-linear-gradient(95deg, rgba(0,0,0,.12) 0 3px, transparent 3px 9px),
    linear-gradient(160deg, #8a5a33 0%, #6b4124 40%, #4a2a16 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.18), inset 0 -8px 18px rgba(0,0,0,.45), 0 30px 60px rgba(0,0,0,.6);
  border: 3px solid #2d1a0e;
}
.tv__bezel { padding: 16px; border-radius: 30px; background: linear-gradient(145deg, #2b2b2b, #0d0d0d); box-shadow: inset 0 0 0 3px #3d3d3d, inset 0 6px 16px rgba(0,0,0,.8); }
.tv__screen {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px / 34px;
  background: #050505; box-shadow: inset 0 0 60px rgba(0,0,0,.95), 0 0 0 2px #000;
}
.tv__frame, .tv__frame iframe, .tv__cover { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv__cover { display: block; padding: 0; background: #000; cursor: pointer; }
.tv__cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05) sepia(.15); }
.tv__playbtn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: rgba(215,38,45,.92); box-shadow: 0 0 0 8px rgba(215,38,45,.25), 0 10px 30px rgba(0,0,0,.6); transition: transform .2s; }
.tv__cover:hover .tv__playbtn { transform: scale(1.08); }
.tv__playbtn svg { width: 40px; height: 40px; fill: #fff; margin-left: 5px; }
.tv__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.tv__glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.14), transparent 45%); box-shadow: inset 0 0 40px rgba(0,0,0,.7); }
.tv__static {
  position: absolute; inset: -50%; pointer-events: none; opacity: 0; transition: opacity .15s;
  background-image: repeating-radial-gradient(circle at 17% 32%, #fff 0 1px, transparent 1px 3px), repeating-radial-gradient(circle at 63% 78%, #999 0 1px, transparent 1px 2px);
  background-size: 7px 9px, 11px 5px; animation: static .12s steps(3) infinite;
}
.tv__screen.is-static .tv__static { opacity: .9; }
@keyframes static { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }
.tv__osd { position: absolute; top: 14px; right: 20px; font-family: "Courier New", monospace; font-weight: 700; font-size: 1.1rem; color: #7dff8a; text-shadow: 0 0 6px rgba(125,255,138,.8); pointer-events: none; }
.tv__panel { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 10px 0; border-radius: 14px; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.4)); box-shadow: inset 0 2px 6px rgba(0,0,0,.6); }
.tv__knob {
  position: relative; width: 70px; height: 70px; border-radius: 50%; display: block;
  background: radial-gradient(circle at 35% 30%, #efe6d6, #b9ab93 45%, #6d624f 100%);
  box-shadow: 0 5px 0 #2b2116, 0 8px 14px rgba(0,0,0,.6), inset 0 -3px 6px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.3,1.6,.5,1);
}
.tv__knob span { position: absolute; left: 50%; top: 6px; width: 6px; height: 22px; margin-left: -3px; border-radius: 3px; background: #2b2116; }
.tv__knob:hover { transform: rotate(30deg); }
.tv__knob:active { transform: rotate(60deg) scale(.96); }
.tv__knob--small { width: 46px; height: 46px; transform: rotate(-40deg); }
.tv__knob--small span { height: 14px; top: 4px; }
.tv__grille { width: 80%; flex: 1; min-height: 70px; border-radius: 8px; background: repeating-linear-gradient(0deg, #1a120c 0 3px, #5a3a22 3px 6px); box-shadow: inset 0 2px 5px rgba(0,0,0,.7); }
.tv__plate { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; padding: 3px 10px; border-radius: 4px; color: #3a2a18; background: linear-gradient(#f3e3b8, #b89b5a); box-shadow: 0 2px 0 #3a2a18; }
.tv__legs { display: flex; justify-content: space-between; padding: 0 70px; }
.tv__legs i { width: 16px; height: 40px; background: linear-gradient(90deg, #3a2414, #6b4124, #3a2414); border-radius: 0 0 6px 6px; }
.tv__legs i:first-child { transform: skewX(10deg); }
.tv__legs i:last-child { transform: skewX(-10deg); }

.tvinfo { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px; background: rgba(13,11,10,.85); border: 1px solid var(--line); }
.tvinfo__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; }
.tvinfo__line { color: var(--yellow); font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.tvinfo__btns { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.tvinfo__btns .btn { padding: 11px 16px; font-size: .95rem; }
.tvinfo__nav { display: flex; gap: 8px; margin-top: 4px; }
.tvinfo__ch { flex: 1; padding: 9px; border-radius: 6px; border: 1px solid var(--line); font-family: var(--cond); font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.tvinfo__ch:hover { color: #fff; border-color: var(--yellow); }
.sbrands--left { justify-content: flex-start; margin: 10px 0 0; }

.sound__filters--videos { grid-template-columns: 1fr; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.vcard { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 10px; border-radius: 10px; background: var(--coal); border: 1px solid var(--line); transition: .2s; }
.vcard:hover { transform: translateY(-3px); border-color: rgba(246,185,23,.6); }
.vcard.is-on { border-color: var(--red); box-shadow: 0 0 0 2px rgba(215,38,45,.4); }
.vcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard__ch { position: absolute; left: 8px; bottom: 8px; font-family: "Courier New", monospace; font-weight: 700; font-size: .8rem; color: #7dff8a; background: rgba(0,0,0,.7); padding: 2px 6px; border-radius: 3px; }
.vcard__title { font-weight: 600; font-size: .9rem; line-height: 1.3; }
.vcard .clip__tag { align-self: flex-start; }

@media (max-width: 1000px) { .tvset { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .tv__cabinet { grid-template-columns: 1fr; padding: 14px; border-radius: 18px; }
  .tv__panel { flex-direction: row; justify-content: space-around; padding: 10px; }
  .tv__grille { min-height: 40px; width: auto; flex: 1; }
  .tv__knob { width: 52px; height: 52px; }
  .tv__legs { padding: 0 40px; }
}
@media (prefers-reduced-motion: reduce) { .tv__static { animation: none; } }

/* elements toggled with the hidden attribute must stay hidden even when a .btn display rule applies */
[hidden] { display: none !important; }
