.shtl-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.55;
}

/* Stepper */
.shtl-stepper {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0 0 32px;
    counter-reset: step;
    gap: 0;
}

.shtl-step {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: #9ca3af;
    font-size: 13px;
}

.shtl-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
    height: 2px;
    background: #e5e7eb;
}

.shtl-step.shtl-on:not(:last-child)::after {
    background: #14b8a6;
}

.shtl-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    margin-bottom: 8px;
    transition: all .15s ease;
}

.shtl-step.shtl-on .shtl-step-num {
    background: #14b8a6;
    color: #fff;
    border-color: #14b8a6;
}

.shtl-step.shtl-now .shtl-step-num {
    background: #1a365d;
    border-color: #1a365d;
    box-shadow: 0 0 0 4px rgb(26 54 93 / 15%);
}

.shtl-step.shtl-on .shtl-step-label,
.shtl-step.shtl-now .shtl-step-label {
    color: #1a365d;
    font-weight: 600;
}

/* Hlavicka */
.shtl-intro {
    margin-bottom: 28px;
    text-align: center;
}

.shtl-intro h1 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
}

.shtl-intro p {
    margin: 0 auto;
    color: #4b5563;
    font-size: 15px;
    max-width: 640px;
}

/* Alerts */
.shtl-alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.shtl-alert ul {
    margin: 0;
    padding-left: 18px;
}

.shtl-alert-err {
    background: #fef2f2;
    border-color: #dc2626;
    color: #7f1d1d;
}

.shtl-alert-warn {
    background: #fffbeb;
    border-color: #d97706;
    color: #78350f;
}

/* Bloky se sidebar */
.shtl-block {
    display: flex;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.shtl-block-side {
    flex: 0 0 96px;
    background: #1a365d;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 8px;
    text-align: center;
}

.shtl-block-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgb(255 255 255 / 15%);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.shtl-block-cap {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.3;
    opacity: .9;
}

.shtl-block-main {
    flex: 1;
    padding: 20px 24px;
}

.shtl-block-main p {
    margin: 0 0 12px;
}

.shtl-block-accent .shtl-block-side {
    background: #14b8a6;
}

.shtl-help {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px !important;
}

/* Form rows */
.shtl-row {
    margin-bottom: 16px;
}

.shtl-row label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    font-size: 14px;
}

.shtl-row label em {
    color: #dc2626;
    font-style: normal;
    font-weight: 700;
}

.shtl-row input[type="text"],
.shtl-row input[type="email"],
.shtl-row input[type="tel"],
.shtl-row input[type="number"],
.shtl-row textarea,
.shtl-page select.shtl-select,
.shtl-row select.shtl-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.4;
    background: #fff;
    box-sizing: border-box;
    font-family: inherit;
    height: auto;
    min-height: 42px;
    display: block;
    color: #1f2937;
}

.shtl-page select.shtl-select,
.shtl-row select.shtl-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

.shtl-row input:focus,
.shtl-row textarea:focus,
.shtl-row select:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgb(26 54 93 / 12%);
}

.shtl-row input[readonly] {
    background: #f9fafb;
    cursor: not-allowed;
    color: #6b7280;
}

.shtl-row small {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.shtl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Honeypot */
.shtl-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Produkty - UL grid, ne tabulka */
.shtl-toggle-vse {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 4px;
    margin-bottom: 16px;
    cursor: pointer;
    font-weight: 600;
    color: #0f766e;
}

.shtl-prods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shtl-prod {
    display: grid;
    grid-template-columns: auto 64px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.shtl-prod:last-child {
    border-bottom: none;
}

.shtl-prod-pick {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.shtl-prod-img,
.shtl-prod-img-empty {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
}

.shtl-prod-img-empty {
    background: #f9fafb;
}

.shtl-prod-title {
    font-weight: 600;
    color: #111827;
    font-size: 15px;
}

.shtl-prod-attr,
.shtl-prod-code {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.shtl-prod-flag {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.shtl-prod-done {
    opacity: .55;
}

.shtl-prod-done .shtl-prod-img {
    filter: grayscale(80%);
}

.shtl-prod-qty {
    text-align: right;
    font-size: 13px;
}

.shtl-qty-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 4px;
}

.shtl-qty-cap {
    color: #6b7280;
}

.shtl-qty-val {
    font-weight: 700;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 28px;
    text-align: center;
}

.shtl-qty-input {
    width: 64px !important;
    text-align: center;
    padding: 4px !important;
}

/* Vlastni checkbox - schovat nativni input a stylovat .shtl-checkbox-box */
.shtl-souhlas input[type="checkbox"],
.shtl-prod-pick input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shtl-checkbox-box {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    display: inline-block;
    position: relative;
    transition: all .15s ease;
    flex-shrink: 0;
    vertical-align: middle;
}

.shtl-checkbox-lg {
    width: 26px;
    height: 26px;
    margin-top: 1px;
}

/* Zaskrtnuto: pozadi */
.shtl-souhlas input:checked ~ .shtl-checkbox-box,
.shtl-souhlas input:checked + .shtl-checkbox-box,
.shtl-prod-pick input:checked + .shtl-checkbox-box {
    background: #1a365d;
    border-color: #1a365d;
}

/* Zaskrtnuto: fajfka */
.shtl-souhlas input:checked ~ .shtl-checkbox-box::after,
.shtl-souhlas input:checked + .shtl-checkbox-box::after,
.shtl-prod-pick input:checked + .shtl-checkbox-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.shtl-souhlas input:checked ~ .shtl-checkbox-lg::after,
.shtl-souhlas input:checked + .shtl-checkbox-lg::after {
    left: 8px;
    top: 3px;
    width: 7px;
    height: 13px;
}

/* Focus pro accessibility */
.shtl-souhlas input:focus ~ .shtl-checkbox-box,
.shtl-souhlas input:focus + .shtl-checkbox-box,
.shtl-prod-pick input:focus + .shtl-checkbox-box {
    box-shadow: 0 0 0 3px rgb(26 54 93 / 15%);
}

/* Souhlas */
.shtl-prohlas {
    background: #fff;
    border: 2px solid #1a365d;
    border-radius: 6px;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.shtl-souhlas {
    display: flex;
    gap: 14px;
    cursor: pointer;
    margin: 0;
    align-items: flex-start;
}

.shtl-souhlas-text {
    flex: 1;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.55;
}

.shtl-souhlas-text strong {
    display: block;
    margin-bottom: 4px;
    color: #1a365d;
    font-size: 15px;
}

/* Akce */
.shtl-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.shtl-actions-end {
    justify-content: flex-end;
}

.shtl-actions-center {
    justify-content: center;
}

.shtl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all .15s ease;
    font-family: inherit;
}

.shtl-btn-primary {
    background: #1a365d;
    color: #fff;
    border-color: #1a365d;
}

.shtl-btn-primary:disabled {
    background: #cbd5e1;
    border-color: #cbd5e1;
    cursor: not-allowed;
}

.shtl-btn-primary:hover:not(:disabled) {
    background: #0f2340;
    border-color: #0f2340;
    color: #fff;
}

.shtl-btn-ghost,
.shtl-btn-secondary {
    background: transparent;
    color: #1a365d;
    border-color: #d1d5db;
}

.shtl-btn-ghost:hover,
.shtl-btn-secondary:hover {
    background: #f3f4f6;
    color: #0f2340;
}

.shtl-btn-sm {
    padding: 8px 14px;
    font-size: 14px;
}

/* Info sekce na úvodu */
.shtl-info {
    background: #f9fafb;
    border-radius: 6px;
    padding: 20px 24px;
    margin-top: 24px;
}

.shtl-info h2 {
    margin: 0 0 12px;
    font-size: 17px;
    color: #1a365d;
}

.shtl-info-body {
    color: #4b5563;
}

.shtl-info-body ul,
ul.shtl-list {
    list-style: disc outside;
    padding-left: 22px;
    margin: 8px 0;
}

.shtl-info-body ol,
ol.shtl-list {
    list-style: decimal outside;
    padding-left: 22px;
    margin: 8px 0;
}

.shtl-info-body li,
.shtl-list li {
    display: list-item;
    margin-bottom: 6px;
}

/* Historie zadosti v uctu */
.shtl-historie {
    margin-top: 24px;
}

.shtl-historie h2 {
    margin: 0 0 14px;
    font-size: 17px;
    color: #1a365d;
}

.shtl-historie-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shtl-historie-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.shtl-historie-main {
    flex: 1;
    min-width: 0;
}

.shtl-historie-line1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.shtl-historie-line1 strong {
    color: #0f172a;
    font-size: 15px;
}

.shtl-historie-line2 {
    color: #6b7280;
    font-size: 13px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.shtl-historie-line2 code {
    background: #f3f4f6;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 12px;
    color: #1f2937;
}

.shtl-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.shtl-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.shtl-badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.shtl-badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.shtl-badge-success {
    background: #d1fae5;
    color: #065f46;
}

.shtl-badge-secondary {
    background: #e5e7eb;
    color: #374151;
}

@media (max-width: 600px) {
    .shtl-historie-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Hotovo (krok 3) */
.shtl-done {
    text-align: center;
    padding: 24px 0 8px;
}

.shtl-done-mark {
    color: #14b8a6;
    margin-bottom: 12px;
}

.shtl-done h1 {
    font-size: 28px;
    margin: 0 0 6px;
    color: #0f172a;
}

.shtl-done-sub {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 28px;
}

.shtl-summary {
    margin: 0;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 8px 16px;
}

.shtl-summary dt {
    color: #6b7280;
    font-size: 14px;
}

.shtl-summary dd {
    margin: 0;
    color: #111827;
}

.shtl-summary-h2 {
    font-size: 15px;
    color: #1a365d;
    margin: 20px 0 10px;
}

.shtl-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shtl-summary-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.shtl-pill {
    display: inline-block;
    padding: 2px 10px;
    background: #1a365d;
    color: #fff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.shtl-kroky ol {
    padding-left: 22px;
}

.shtl-kroky li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 720px) {
    .shtl-block {
        flex-direction: column;
    }

    .shtl-block-side {
        flex: 0 0 auto;
        flex-direction: row;
        padding: 12px 16px;
        gap: 12px;
        justify-content: flex-start;
    }

    .shtl-block-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .shtl-block-cap {
        font-size: 12px;
        letter-spacing: 0;
    }

    .shtl-block-main {
        padding: 16px;
    }

    .shtl-grid {
        grid-template-columns: 1fr;
    }

    .shtl-prod {
        grid-template-columns: auto 48px 1fr;
        grid-template-areas: "pick img info" ". qty qty";
        gap: 10px;
    }

    .shtl-prod-pick {
        grid-area: pick;
    }

    .shtl-prod-img,
    .shtl-prod-img-empty {
        width: 48px;
        height: 48px;
        grid-area: img;
    }

    .shtl-prod-info {
        grid-area: info;
    }

    .shtl-prod-qty {
        grid-area: qty;
        text-align: left;
        padding-left: 58px;
    }

    .shtl-summary {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .shtl-summary dt {
        margin-top: 8px;
    }

    .shtl-stepper {
        font-size: 11px;
    }

    .shtl-step-num {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .shtl-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .shtl-actions .shtl-btn {
        justify-content: center;
    }

    .shtl-intro h1 {
        font-size: 22px;
    }
}

/* Detail jiz podane zadosti */
.shtl-section-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.shtl-section-card h2 {
    margin: 0 0 14px;
    font-size: 17px;
    color: #1a365d;
}

.shtl-detail-kv {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 10px 16px;
    margin: 0;
}

.shtl-detail-kv dt {
    color: #6b7280;
    font-weight: 600;
    font-size: 14px;
}

.shtl-detail-kv dd {
    margin: 0;
    color: #1f2937;
    overflow-wrap: anywhere;
}

.shtl-detail-kv code {
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 13px;
}

.shtl-detail-polozky {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shtl-detail-polozky li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.shtl-summary-list li:last-child {
    border-bottom: none;
}

.shtl-detail-polozky li:last-child {
    border-bottom: none;
}

.shtl-detail-polozka-nazev {
    flex: 1;
    font-weight: 500;
}

.shtl-detail-polozka-ref {
    color: #6b7280;
    font-size: 12px;
}

.shtl-detail-polozka-qty {
    color: #1a365d;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .shtl-detail-kv {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }

    .shtl-detail-kv dt {
        margin-top: 8px;
    }
}

/* Prazdny stav - prihlaseny zakaznik bez vhodnych objednavek */
.shtl-prazdno {
    text-align: center;
    padding: 24px 20px;
    color: #4b5563;
}

.shtl-prazdno svg {
    color: #94a3b8;
    margin-bottom: 12px;
}

.shtl-prazdno h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1a365d;
}

.shtl-prazdno p {
    margin: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
