/* ── Kniha Objednávka – form styles ─────────────────────── */

.ko-form-wrap {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-family: inherit;
}

.ko-form__title {
    margin-bottom: 0.25rem;
}

.ko-form__price {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ── Fields ────────────────────────────────────────────── */

.ko-fieldset {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.ko-fieldset legend {
    font-weight: 600;
    padding: 0 0.35rem;
}

.ko-field {
    margin-bottom: 1rem;
}

.ko-field label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.ko-field input[type="text"],
.ko-field input[type="email"],
.ko-field input[type="tel"],
.ko-field input[type="number"],
.ko-field select,
.ko-field textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.ko-field input:focus,
.ko-field select:focus,
.ko-field textarea:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.ko-field--half {
    display: inline-block;
    width: calc(50% - 0.5rem);
    vertical-align: top;
}

.ko-field--half:nth-child(odd) {
    margin-right: 0.5rem;
}

.ko-field--checkbox label {
    font-weight: 400;
    cursor: pointer;
}

.ko-field--checkbox input[type="checkbox"] {
    margin-right: 0.35rem;
}

.ko-req {
    color: #d63638;
}

.ko-field-note {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

/* ── Honeypot (invisible to humans) ───────────────────── */

.ko-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

/* ── Total ─────────────────────────────────────────────── */

.ko-total {
    font-size: 1.15rem;
    margin: 1.25rem 0;
    padding: 0.75rem 1rem;
    background: #f0f6fc;
    border-radius: 4px;
}

/* ── Errors ────────────────────────────────────────────── */

.ko-errors {
    background: #fcf0f1;
    border-left: 4px solid #d63638;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.ko-errors ul {
    margin: 0;
    padding-left: 1.2rem;
}

/* ── Button ────────────────────────────────────────────── */

.ko-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #2271b1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.ko-btn:hover,
.ko-btn:focus {
    background: #135e96;
}

.ko-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ko-btn--secondary {
    background: #50575e;
}

.ko-btn--secondary:hover {
    background: #3c434a;
}

/* ── Confirmation ──────────────────────────────────────── */

.ko-confirmation {
    padding: 1.5rem;
    background: #edfaef;
    border-left: 4px solid #00a32a;
    border-radius: 4px;
}

/* ── Utility ───────────────────────────────────────────── */

.ko-hidden {
    display: none !important;
}
