/* =====================================================================
   Téli-Nyári – csomagár (4 abroncs + szerelés + tárolás). shop/_tn_csomag, shop/_tn_csomag_kosar
   A felni-váltó JS nélkül működik: rádiógomb + testvér-szelektor. docs/102-teli-nyari.md
   ===================================================================== */

.tnc {
  position: relative; margin-top: 18px; padding: 20px 20px 18px; border-radius: var(--r-l);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFE 100%);
  border: 1px solid var(--vonal); box-shadow: var(--arny);
}
.tnc::before { /* vékony színátmenetes él felül - a prémium kártyák nyelve */
  content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 0 0 2px 2px; background: var(--grad); opacity: .9;
}
.tnc-fej { margin-bottom: 14px }
.tnc-felirat { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kek) }
.tnc h3 { margin: 6px 0 0; font: 700 18px/1.25 var(--disp); letter-spacing: -.02em; color: var(--tinta) }
.tnc-hiba { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-s); background: #FDECEA; color: #A5281F; font-size: 13.5px; font-weight: 600 }

/* felni-váltó */
.tnc-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none }
.tnc-szeg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--hatter); border: 1px solid var(--vonal); margin-bottom: 14px }
.tnc-szeg label, .tnc-nincs {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40px; padding: 0 10px;
  border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--tinta-2); cursor: pointer; user-select: none;
  transition: background .3s var(--lassu), color .3s, box-shadow .3s var(--lassu);
}
.tnc-lnev { display: inline-flex; align-items: center; gap: 7px }
.tnc-ik { flex: 0 0 auto; opacity: .9 }
.tnc-nincs { cursor: not-allowed; color: var(--tinta-3); font-weight: 600; line-height: 1.15 }
.tnc-nincs small { font-size: 10.5px; font-weight: 600 }
#tnc-alloy:checked ~ .tnc-szeg .tnc-l-alloy,
#tnc-steel:checked ~ .tnc-szeg .tnc-l-steel { background: #fff; color: var(--tinta); box-shadow: 0 1px 2px rgba(11, 18, 36, .08), 0 6px 16px -8px rgba(11, 18, 36, .3) }
#tnc-alloy:focus-visible ~ .tnc-szeg .tnc-l-alloy,
#tnc-steel:focus-visible ~ .tnc-szeg .tnc-l-steel { outline: 2px solid var(--jeg); outline-offset: 2px }

/* tételes bontás */
.tnc-bontas { display: none }
#tnc-alloy:checked ~ .tnc-b-alloy,
#tnc-steel:checked ~ .tnc-b-steel { display: block; animation: tnc-be .45s var(--lassu) }
@keyframes tnc-be { from { opacity: 0; transform: translateY(4px) } to { opacity: 1; transform: none } }
.tnc dl { margin: 0 0 14px }
.tnc dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--vonal) }
.tnc dt { font-size: 14px; color: var(--tinta-2); font-weight: 600; min-width: 0 }
.tnc dt small { display: block; font-size: 12px; font-weight: 600; color: var(--tinta-3); margin-top: 2px }
.tnc dd { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--tinta); white-space: nowrap }
.tnc dl > .tnc-ossz { border-bottom: 0; padding-top: 12px }
.tnc-ossz dt { color: var(--tinta); font-weight: 700 }
.tnc-ossz dd { font: 700 22px/1 var(--disp); letter-spacing: -.02em }
.tnc-gomb { height: 50px }
.tnc-meg { margin: 10px 2px 0; font-size: 12px; line-height: 1.5; color: var(--tinta-3) }

.tnc-kosar { margin: 18px 0 6px }
.tnc-kosar h3 { font-size: 16.5px }

@media (prefers-reduced-motion: reduce) {
  .tnc-szeg label { transition: none }
  #tnc-alloy:checked ~ .tnc-b-alloy, #tnc-steel:checked ~ .tnc-b-steel { animation: none }
}
