/* Stránka Školní trička — konfigurátor a galerie motivů */
.sk-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sk-hero-tees { display: flex; justify-content: center; align-items: flex-end; margin: 56px auto 0; max-width: 760px; }
.sk-hero-tees > div { flex: 1 1 0; min-width: 0; }
.sk-hero-tees > div:nth-child(1) { transform: rotate(-7deg) translateX(18px); }
.sk-hero-tees > div:nth-child(2) { flex-basis: 1.25; transform: scale(1.15); z-index: 2; margin: 0 -6px; }
.sk-hero-tees > div:nth-child(3) { transform: rotate(7deg) translateX(-18px); }
@media (max-width: 640px) { .sk-hero-tees { margin-top: 36px; } .sk-hero-tees > div:nth-child(1), .sk-hero-tees > div:nth-child(3) { transform: none; } }

.sk-sec { padding: 88px 0; position: relative; }
.sk-sec.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sk-h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.1; text-align: center; margin-bottom: 14px; }
.sk-lead { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 44px; line-height: 1.6; }
.sk-bar { width: 80px; height: 4px; background: var(--accent); border-radius: 4px; margin: 0 auto 22px; }

/* Galerie motivů */
.sk-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.sk-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; }
.sk-chip:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.sk-chip.on { background: var(--accent); border-color: var(--accent); color: #111; }
.sk-chip small { opacity: .65; margin-left: 4px; font-weight: 500; }
.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.sk-tile { aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: #e7e7ea; display: flex; align-items: center; justify-content: center; font-size: 34px; cursor: pointer; transition: transform .15s, border-color .15s, background .15s, color .15s; position: relative; }
.sk-tile:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent-hi); }
.sk-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sk-tile.sel { background: var(--accent); color: #111; border-color: var(--accent); }
.sk-tile.sel:after { content: '\2713'; position: absolute; right: 6px; top: 3px; font-size: 12px; font-weight: 800; }
.sk-more-note { text-align: center; color: var(--muted); margin-top: 26px; font-size: 15px; }
.sk-more-note b { color: #fff; }

/* Použití */
.sk-use { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .sk-use { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sk-use { grid-template-columns: 1fr; } }
.sk-use .card { display: flex; flex-direction: column; }
.sk-use .card .ex { margin-top: auto; padding-top: 14px; font-size: 13.5px; color: var(--accent-hi); font-weight: 600; }

/* Konfigurátor */
.sk-conf { display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .sk-conf { grid-template-columns: 1fr; } }
.sk-prev { position: sticky; top: 100px; border-radius: 24px; background: radial-gradient(120% 80% at 50% 0%, rgba(245,158,11,.12), transparent 60%), var(--panel); border: 1px solid var(--line); padding: 22px; }
@media (max-width: 900px) { .sk-prev { position: static; } }
.sk-prev .tee-box { max-width: 400px; margin: 0 auto; padding: 18px 22px 8px; border-radius: 20px; background: radial-gradient(circle at 50% 30%, #565662, #2b2b32 75%); }
.sk-side { display: flex; gap: 6px; justify-content: center; margin-bottom: 8px; background: rgba(255,255,255,.05); border-radius: 999px; padding: 4px; width: max-content; margin-left: auto; margin-right: auto; }
.sk-side button { border: 0; background: transparent; color: var(--muted); padding: 7px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; }
.sk-side button.on { background: #fff; color: #111; }
.sk-sum { margin-top: 16px; font-size: 13.5px; color: var(--muted); text-align: center; line-height: 1.5; }
.sk-sum b { color: #fff; }

.sk-form { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 34px); }
.sk-step { margin-bottom: 26px; }
.sk-step > h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sk-step > h3 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #111; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sk-opt { display: flex; gap: 10px; flex-wrap: wrap; }
.sk-opt label.big { flex: 1 1 140px; border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px; cursor: pointer; display: flex; gap: 10px; align-items: center; font-weight: 600; transition: .15s; }
.sk-opt label.big i { font-size: 26px; color: var(--accent-hi); }
.sk-opt label.big:has(input:checked) { border-color: var(--accent); background: rgba(245,158,11,.1); }
.sk-opt input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.sk-sw { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-sw label { cursor: pointer; }
.sk-sw span { display: block; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); transition: .15s; }
.sk-sw input:checked + span { outline: 2px solid var(--accent); outline-offset: 3px; transform: scale(1.06); }
.sk-sw input { position: absolute; opacity: 0; pointer-events: none; }
.sk-sw-name { font-size: 13px; color: var(--muted); margin-top: 8px; }
.sk-motif-now { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sk-motif-now .pv { width: 58px; height: 58px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--accent-hi); }
.sk-link { background: none; border: 0; color: var(--accent-hi); font-weight: 600; cursor: pointer; font-size: 14px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.sk-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; max-height: 190px; overflow: auto; margin-top: 12px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; }
.sk-mini button { aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: var(--bg-soft); color: #d4d4d8; font-size: 22px; cursor: pointer; }
.sk-mini button:hover { color: var(--accent-hi); }
.sk-mini button.sel { background: var(--accent); color: #111; }
.sk-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.sk-sizes label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 600; text-align: center; }
.sk-sizes input { text-align: center; padding: 10px 6px !important; }
.sk-sizes-grp { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 14px 0 8px; }
.sk-total { margin-top: 14px; font-weight: 700; }
.sk-total span { color: var(--accent-hi); font-size: 1.2em; }
.sk-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .sk-row2 { grid-template-columns: 1fr; } }
.sk-form .field input, .sk-form .field textarea, .sk-form .field select { width: 100%; }
.sk-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.sk-editor { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 16px 18px; border: 1px dashed rgba(245,158,11,.5); border-radius: 16px; background: rgba(245,158,11,.06); font-size: 14px; line-height: 1.5; }
.sk-editor i { font-size: 28px; color: var(--accent-hi); flex: none; }
.sk-editor a { color: var(--accent-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sk-form input[type=text], .sk-form input[type=email], .sk-form input[type=tel], .sk-form input[type=date], .sk-form input[type=number], .sk-form textarea {
    padding: 12px 14px; border-radius: 11px; background: var(--bg-soft);
    border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 14px;
    outline: none; transition: border-color .2s; resize: vertical; color-scheme: dark;
}
.sk-form input:focus, .sk-form textarea:focus { border-color: var(--accent); }
.sk-form input::placeholder, .sk-form textarea::placeholder { color: #6b6b75; }

/* Vtipné hlášky */
.sk-mode { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.sk-mode button { padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-weight: 700; font-size: 15px; cursor: pointer; transition: .2s; }
.sk-mode button small { opacity: .65; margin-left: 6px; font-weight: 500; }
.sk-mode button.on { background: #fff; color: #111; border-color: #fff; }
.sk-grid--slogans { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.sk-slogan { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: #e7e7ea; cursor: pointer; transition: transform .15s, border-color .15s, background .15s; position: relative; font: inherit; }
.sk-slogan i { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(245,158,11,.14); color: var(--accent-hi); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.sk-slogan span { display: block; min-width: 0; }
.sk-slogan b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 15px; line-height: 1.25; color: #fff; }
.sk-slogan em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.sk-slogan:hover { transform: translateY(-3px); border-color: var(--accent); }
.sk-slogan:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sk-slogan.sel { background: rgba(245,158,11,.12); border-color: var(--accent); }
.sk-slogan.sel i { background: var(--accent); color: #111; }
.sk-form textarea[name=fronttext] { width: 100%; }
.sk-form select { width: 100%; padding: 12px 14px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 14px; outline: none; color-scheme: dark; }
.sk-form select:focus { border-color: var(--accent); }
