/* Objednávka a platba */
body {
    background: #0d1117;
    background-image: radial-gradient(800px 480px at 85% -10%, rgba(255, 90, 31, 0.2), transparent 60%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 0 20px 32px;
    font-family: 'Inter', system-ui, sans-serif;
    color: #1f2533;
}
.order-header {
    max-width: 760px;
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
}
.order-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
}
.order-brand .tld { color: #ff5a1f; }
.order-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.order-nav a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.order-nav a:hover { color: #fff; }
.order-nav .order-nav-account {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 8px 14px;
}
.btn-outline-accent {
    border: 1.5px solid #ff5a1f;
    color: #e04411;
    font-weight: 700;
    border-radius: 12px;
}
.btn-outline-accent:hover { background: #fff1ea; color: #e04411; border-color: #ff5a1f; }
.order-container {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.order-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 2rem;
    color: #0d1117;
}
.price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff1ea;
    border: 1px solid #ffd2bf;
    border-radius: 16px;
    padding: 16px 20px;
}
.price {
    font-family: 'Archivo', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #0d1117;
}
.price-vat {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #9a6a55;
    text-align: right;
}
.company-box {
    background: #f5f6f8;
    border-radius: 14px;
    padding: 4px 14px 16px;
    margin: 0;
}
.form-control:focus, .form-check-input:focus {
    border-color: #ff5a1f;
    box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15);
}
.form-check-input:checked { background-color: #ff5a1f; border-color: #ff5a1f; }
a { color: #e04411; }
.btn-accent {
    background: #ff5a1f;
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(255, 90, 31, 0.3);
}
.btn-accent:hover, .btn-accent:focus { background: #e04411; color: #fff; }
.payment-box {
    border: 1.5px solid #e3e6ed;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
}
#paymentQr {
    display: inline-block;
    padding: 10px;
    background: #fff;
    border: 1px solid #e3e6ed;
    border-radius: 10px;
}
.bank-details td { padding: 2px 10px 2px 0; }
.hp-field { position: absolute; left: -9999px; }
.paid-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.15);
}
.ready-box {
    border: 1px solid #c8ecd6;
    background: #f1fbf5;
    border-radius: 16px;
    padding: 22px;
}
.order-legal {
    max-width: 760px;
    margin: 18px auto 0;
    color: #8b93a7;
    font-size: 0.85rem;
    text-align: center;
}
.order-legal a { color: #c9cfdb; }
@media (max-width: 576px) {
    body { padding: 0 0 24px; }
    .order-header { padding: 0 16px; }
    .order-container { border-radius: 0; padding: 22px 16px; }
}

/* Výběr výzvy */
.challenge-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.challenge-option { cursor: pointer; margin: 0; }
.challenge-option input { position: absolute; opacity: 0; pointer-events: none; }
.challenge-option-body {
    display: block;
    height: 100%;
    border: 1.5px solid #e3e6ed;
    border-radius: 16px;
    padding: 14px 16px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.challenge-option input:checked + .challenge-option-body { border-color: #ff5a1f; background: #fff1ea; }
.challenge-option input:focus-visible + .challenge-option-body { box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.2); }
.challenge-option-emoji { display: block; font-size: 1.8rem; line-height: 1.2; }
.challenge-option-title { display: block; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.1rem; margin-top: 4px; }
.challenge-option-range { display: block; color: #6b7386; font-size: 0.82rem; }
@media (max-width: 576px) {
    .challenge-picker { grid-template-columns: 1fr; }
    .challenge-option-body { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; align-items: center; }
    .challenge-option-emoji { grid-row: span 2; }
    .challenge-option-title { margin: 0; }
}

.account-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border: 1.5px dashed #d5dae3;
    border-radius: 16px;
    padding: 16px 20px;
}
.package-price { display: block; font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 1.6rem; color: #0d1117; margin: 4px 0 2px; }

/* Ikony výzev */
.icon { width: 1em; height: 1em; vertical-align: -0.14em; stroke-width: 1.75; }
.challenge-option-emoji { color: #ff5a1f; font-size: 1.8rem; line-height: 1; }
.title-icon { color: #ff5a1f; }

/* Výzvy připravené po zaplacení */
.ready-challenge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #c8ecd6;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 8px;
    color: #1f2533;
    text-decoration: none;
}
.ready-challenge:hover { border-color: #22c55e; color: #1f2533; }
.ready-challenge-title { flex: 1; font-weight: 700; }
.ready-challenge .challenge-option-emoji { font-size: 1.6rem; }

/* Výběr víc výzev se slevou */
.picker-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 10px; }
.discount-hint { color: #e04411; font-weight: 700; font-size: 0.88rem; }
.challenge-option-body { position: relative; }
.challenge-option-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #d5dae3;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    color: transparent;
    background: #fff;
}
.challenge-option input:checked + .challenge-option-body .challenge-option-check { background: #ff5a1f; border-color: #ff5a1f; color: #fff; }
.price { text-align: right; line-height: 1.1; }
.price-was { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-bottom: 4px; }
.price-was[hidden] { display: none; }
.price-old {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #8b93a7;
    text-decoration: line-through;
    text-decoration-color: #ff5a1f;
    text-decoration-thickness: 2px;
}
.price-badge {
    font-family: 'Inter', sans-serif;
    background: #ff5a1f;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 99px;
    padding: 3px 9px;
}
.price-save { display: block; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 700; color: #15803d; margin-top: 6px; }
.price-save[hidden] { display: none; }

/* Souhrn ceny: popis vlevo se zalamuje, cena drží vpravo (na mobilu pod sebou) */
.price-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; }
@media (max-width: 576px) {
    .price-box { grid-template-columns: minmax(0, 1fr); }
    .price, .price-was { text-align: left; justify-content: flex-start; }
    .price-vat { text-align: left; }
}

/* Výzva zdarma ve výběru */
.challenge-option-free {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 10px;
	border-radius: 999px;
	background: #e9f9ef;
	color: #15803d;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.challenge-option-free { grid-column: 2; justify-self: start; }
.challenge-option-price { display: inline-block; margin-top: 6px; font-weight: 800; font-size: 0.85rem; color: #1f2533; grid-column: 2; justify-self: start; }
