/* ============================================================
   E-shop — CD s podpisem  (prefix: shop-)
   Design 1:1 s Podporovatelé (dark cinematic).
   Tokeny: bg #0e0e0e / card #151515 / accent #ff6b35
           fonty 'DM Serif Display' (nadpisy) + 'Space Grotesk' (text)
   ============================================================ */

.page-wrapper { padding-top: 0 !important; }
.page-wrapper > section { margin: 0 !important; }

.shop-wrap { max-width: 1320px; margin: 0 auto; padding: 0 48px; }

/* ── HERO ── */
.shop-hero { position: relative; min-height: 62vh; display: flex; align-items: center; overflow: hidden; background: #0e0e0e; }
.shop-hero__bg { position: absolute; inset: 0; z-index: 0; }
.shop-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: blur(24px) saturate(.7) brightness(.35); transform: scale(1.12); }
.shop-hero__overlay { position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, rgba(14,14,14,.9) 0, rgba(14,14,14,.5) 45%, rgba(14,14,14,.2) 100%),
                linear-gradient(to top, rgba(14,14,14,.75) 0, rgba(14,14,14,.15) 45%, rgba(14,14,14,.25) 100%); }
.shop-hero__content { position: relative; z-index: 2; max-width: 780px; padding: 120px 0 72px; }
.shop-hero__label { display: inline-block; font: 500 .8rem/1 'Space Grotesk', sans-serif; color: #ff6b35; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 16px; opacity: 0; animation: shopSlide .8s cubic-bezier(.16,1,.3,1) .4s forwards; }
.shop-hero__title { font: 400 clamp(2.2rem,5vw,3.8rem)/1.1 'DM Serif Display', serif; color: #fff; letter-spacing: -.02em; margin: 0 0 18px; opacity: 0; animation: shopSlide 1s cubic-bezier(.16,1,.3,1) .5s forwards; }
.shop-hero__subtitle { font: 400 clamp(1.05rem,1.9vw,1.3rem)/1.6 'Space Grotesk', sans-serif; color: rgba(255,255,255,.68); margin: 0 0 32px; max-width: 640px; opacity: 0; animation: shopSlide .8s cubic-bezier(.16,1,.3,1) .7s forwards; }
.shop-hero__subtitle strong { color: #fff; font-weight: 600; }

.shop-badges { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: shopSlide .8s cubic-bezier(.16,1,.3,1) .9s forwards; }
.shop-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,107,53,.35); color: rgba(255,255,255,.85); font: 500 .82rem/1 'Space Grotesk', sans-serif; letter-spacing: .03em; }
.shop-badge i { color: #ff6b35; font-size: .95rem; }

/* ── MAIN LAYOUT ── */
.shop-main { position: relative; background: #0e0e0e; padding: 80px 0 96px; }
.shop-layout { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: start; }
.shop-empty { font: 400 1.1rem/1.6 'Space Grotesk', sans-serif; color: rgba(255,255,255,.55); text-align: center; padding: 60px 0; }

/* ── PRODUKTOVÉ KARTY ── */
.shop-products { display: flex; flex-direction: column; gap: 28px; }
.shop-card { display: grid; grid-template-columns: 200px 1fr; gap: 28px; background: #151515; border: 1px solid rgba(255,255,255,.06); padding: 24px; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.shop-card.shop-visible { opacity: 1; transform: none; }
.shop-card__cover { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #0e0e0e; }
.shop-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-card__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.2); font-size: 2.4rem; }
.shop-card__stock { position: absolute; top: 10px; left: 10px; padding: 5px 10px; background: #ff6b35; color: #fff; font: 600 .7rem/1 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.shop-card__stock--out { background: rgba(255,255,255,.15); }
.shop-card__info { display: flex; flex-direction: column; }
.shop-card__label { font: 500 .72rem/1.3 'Space Grotesk', sans-serif; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.shop-card__title { font: 400 1.35rem/1.25 'DM Serif Display', serif; color: #fff; margin: 0 0 12px; }
.shop-card__desc { font: 400 .92rem/1.6 'Space Grotesk', sans-serif; color: rgba(255,255,255,.6); margin: 0 0 14px; }
.shop-card__listen { display: inline-flex; align-items: center; gap: 8px; font: 500 .82rem/1 'Space Grotesk', sans-serif; color: rgba(255,255,255,.5); text-decoration: none; margin-bottom: 16px; transition: color .3s; }
.shop-card__listen:hover { color: #1DB954; }
.shop-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.shop-card__price { font: 600 1.4rem/1 'Space Grotesk', sans-serif; color: #ff6b35; }
.shop-card__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: rgba(255,107,53,.12); border: 1px solid #ff6b35; color: #ff6b35; font: 600 .85rem/1 'Space Grotesk', sans-serif; letter-spacing: .02em; cursor: pointer; transition: all .3s; }
.shop-card__btn:hover { background: #ff6b35; color: #fff; transform: translateY(-2px); }

/* ── JAK TO FUNGUJE ── */
.shop-how { background: #111; border: 1px solid rgba(255,255,255,.06); padding: 28px 32px; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.shop-how.shop-visible { opacity: 1; transform: none; }
.shop-how__title { font: 400 1.2rem/1.1 'DM Serif Display', serif; color: #fff; margin: 0 0 20px; }
.shop-how__list { list-style: none; counter-reset: how; margin: 0; padding: 0; display: grid; gap: 14px; }
.shop-how__list li { counter-increment: how; display: flex; align-items: flex-start; gap: 14px; font: 400 .95rem/1.5 'Space Grotesk', sans-serif; color: rgba(255,255,255,.65); }
.shop-how__list li::before { content: counter(how); flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: rgba(255,107,53,.12); border: 1px solid rgba(255,107,53,.4); color: #ff6b35; font: 600 .85rem/1 'Space Grotesk', sans-serif; }

/* ── OBJEDNÁVKOVÝ FORMULÁŘ ── */
.shop-order { position: sticky; top: 100px; background: #151515; border: 1px solid rgba(255,255,255,.06); padding: 40px; opacity: 0; transform: translateY(24px); transition: opacity .7s ease .15s, transform .7s ease .15s; }
.shop-order.shop-visible { opacity: 1; transform: none; }
.shop-order__title { font: 400 1.6rem/1.2 'DM Serif Display', serif; color: #fff; margin: 0 0 28px; }
.shop-alert { background: rgba(220,53,69,.15); border: 1px solid rgba(220,53,69,.3); color: #ff6b6b; padding: 12px 16px; font: 400 .9rem/1.4 'Space Grotesk', sans-serif; margin-bottom: 20px; }

.shop-picks { display: flex; flex-direction: column; gap: 8px; }
.shop-pick { display: block; cursor: pointer; }
.shop-pick input { position: absolute; opacity: 0; pointer-events: none; }
.shop-pick__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: all .25s; }
.shop-pick input:checked + .shop-pick__body { border-color: #ff6b35; background: rgba(255,107,53,.1); }
.shop-pick__name { font: 500 .9rem/1.3 'Space Grotesk', sans-serif; color: rgba(255,255,255,.8); }
.shop-pick__price { font: 600 .9rem/1 'Space Grotesk', sans-serif; color: #ff6b35; white-space: nowrap; }

.shop-form__group { margin-bottom: 16px; }
.shop-form__group label { display: block; font: 500 .75rem/1 'Space Grotesk', sans-serif; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.shop-form__group input, .shop-form__group textarea { width: 100%; padding: 12px 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #fff; font: 400 .95rem/1.4 'Space Grotesk', sans-serif; transition: border-color .3s; outline: 0; border-radius: 0; }
.shop-form__group input:focus, .shop-form__group textarea:focus { border-color: #ff6b35; }
.shop-form__group textarea { resize: vertical; min-height: 56px; }
.shop-form__hint { display: block; font: 400 .78rem/1.4 'Space Grotesk', sans-serif; color: rgba(255,255,255,.35); margin-top: 6px; }
.shop-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-form__group--zip { max-width: 130px; }
.shop-form__group--qty { max-width: 140px; }
.shop-form__divider { height: 1px; background: rgba(255,255,255,.06); margin: 20px 0; }

.shop-summary { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); padding: 16px 18px; margin: 4px 0 20px; }
.shop-summary__row { display: flex; align-items: center; justify-content: space-between; font: 400 .9rem/1.6 'Space Grotesk', sans-serif; color: rgba(255,255,255,.55); }
.shop-summary__row--total { margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); font-weight: 600; font-size: 1.05rem; color: #fff; }
.shop-summary__row--total span:last-child { color: #ff6b35; }

.shop-form__check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.shop-form__check input[type=checkbox] { width: 16px; height: 16px; margin-top: 2px; accent-color: #ff6b35; flex-shrink: 0; }
.shop-form__check label { font: 400 .85rem/1.4 'Space Grotesk', sans-serif; color: rgba(255,255,255,.5); cursor: pointer; }
.shop-form__submit { width: 100%; padding: 16px; background: #ff6b35; border: none; color: #fff; font: 600 1rem/1 'Space Grotesk', sans-serif; letter-spacing: .04em; cursor: pointer; transition: background .3s, transform .3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.shop-form__submit:hover { background: #e55a28; transform: translateY(-2px); }
.shop-form__note { font: 400 .78rem/1.4 'Space Grotesk', sans-serif; color: rgba(255,255,255,.35); text-align: center; margin: 12px 0 0; }

/* ── CTA ── */
.shop-cta-wrapper { background: #0e0e0e; }
.shop-cta { background: #ff6b35; clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); padding: 100px 0 80px; text-align: center; opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.shop-cta.shop-visible { opacity: 1; transform: none; }
.shop-cta__inner { max-width: 560px; margin: 0 auto; }
.shop-cta__title { font: 400 clamp(2rem,4vw,3rem)/1.1 'DM Serif Display', serif; color: #fff; margin: 0 0 16px; }
.shop-cta__text { font: 400 1.05rem/1.6 'Space Grotesk', sans-serif; color: rgba(255,255,255,.85); margin: 0 0 32px; }
.shop-cta__btn { display: inline-flex; align-items: center; gap: 10px; font: 500 .95rem/1 'Space Grotesk', sans-serif; color: #ff6b35; background: #fff; padding: 16px 36px; text-decoration: none; letter-spacing: .03em; transition: background .3s, transform .3s, box-shadow .3s; }
.shop-cta__btn:hover { background: #faf8f3; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.2); }

/* ── PODĚKOVACÍ MODAL ── */
.shop-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.85); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s ease; padding: 20px; }
.shop-modal--open { opacity: 1; pointer-events: auto; }
.shop-modal__box { background: #151515; border: 1px solid rgba(255,255,255,.06); padding: 44px; max-width: 460px; width: 100%; text-align: center; position: relative; max-height: 92vh; overflow-y: auto; }
.shop-modal__close { position: absolute; top: 16px; right: 16px; background: 0 0; border: none; color: rgba(255,255,255,.4); font-size: 1.1rem; cursor: pointer; transition: color .3s; }
.shop-modal__close:hover { color: #ff6b35; }
.shop-modal__icon { font-size: 2.8rem; color: #4caf50; margin-bottom: 16px; }
.shop-modal__box h2 { font: 400 1.9rem/1.15 'DM Serif Display', serif; color: #fff; margin: 0 0 14px; }
.shop-modal__box p { font: 400 .95rem/1.6 'Space Grotesk', sans-serif; color: rgba(255,255,255,.55); margin: 0 0 20px; }
.shop-modal__account { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 20px; margin-bottom: 20px; }
.shop-modal__line { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 400 .9rem/1.6 'Space Grotesk', sans-serif; color: rgba(255,255,255,.5); }
.shop-modal__line + .shop-modal__line { margin-top: 6px; }
.shop-modal__line strong { color: #ff6b35; font-weight: 600; }
.shop-modal__account img { display: block; margin: 16px auto 0; border: 1px solid rgba(255,255,255,.08); padding: 6px; background: #fff; }
.shop-modal__sig { font-style: italic; color: rgba(255,255,255,.4); margin-bottom: 16px !important; }
.shop-modal__sig strong { color: rgba(255,255,255,.7); font-style: normal; }
.shop-modal__btn { width: 100%; padding: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; font: 500 .9rem/1 'Space Grotesk', sans-serif; cursor: pointer; transition: all .3s; }
.shop-modal__btn:hover { background: #ff6b35; border-color: #ff6b35; }

@keyframes shopSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 1fr; gap: 48px; }
    .shop-order { position: static; max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 768px) {
    .shop-wrap { padding: 0 24px; }
    .shop-hero { min-height: 56vh; }
    .shop-hero__content { padding: 100px 0 56px; }
    .shop-main { padding: 48px 0 64px; }
    .shop-card { grid-template-columns: 140px 1fr; gap: 18px; padding: 18px; }
    .shop-order { padding: 28px; }
    .shop-cta { clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%); padding: 80px 0 64px; }
}
@media (max-width: 480px) {
    .shop-wrap { padding: 0 16px; }
    .shop-hero { min-height: 52vh; }
    .shop-card { grid-template-columns: 1fr; gap: 16px; }
    .shop-card__cover { max-width: 220px; }
    .shop-form__row { grid-template-columns: 1fr; }
    .shop-form__group--zip, .shop-form__group--qty { max-width: none; }
    .shop-order { padding: 24px 20px; }
    .shop-cta { clip-path: none; padding: 56px 0 48px; }
    .shop-cta__title { font-size: 1.8rem; }
    .shop-modal__box { padding: 32px 22px; }
}
