.wtho-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    color: #132640;
}

.wtho-setup-wrap {
    font-size: 16px;
    line-height: 1.55;
}

.wtho-hero-card {
    background: linear-gradient(135deg, #112947 0%, #1b4e84 100%);
    color: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(15, 39, 68, 0.18);
    margin-bottom: 20px;
}

.wtho-kicker,
.wtho-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wtho-badge-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.wtho-badge.muted {
    background: rgba(255, 255, 255, 0.08);
}

.wtho-card,
.wtho-pricing-card,
.wtho-alert {
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(19, 38, 64, 0.06);
    margin-bottom: 18px;
}

.wtho-card--soft,
.wtho-pricing-card {
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.wtho-delivery-pricing-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border-color: #d6e2f0;
}

.wtho-card h2,
.wtho-pricing-card h3,
.wtho-hero-card h1 {
    margin: 0 0 10px;
}

.wtho-helper,
.wtho-note,
.wtho-hero-card p,
.wtho-pricing-head p {
    margin: 0;
}

.wtho-helper,
.wtho-note,
.wtho-inline-message span,
.wtho-alert {
    color: #55697f;
}

.wtho-form {
    display: grid;
    gap: 0;
}

.wtho-section-heading {
    margin-bottom: 16px;
}

.wtho-grid {
    display: grid;
    gap: 16px;
}

.wtho-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wtho-grid.three-col {
    grid-template-columns: 1.2fr 1fr 1fr;
}

.wtho-grid--align-end {
    align-items: end;
}

.wtho-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    color: #173152;
}

.wtho-grid label > span {
    font-size: 14px;
}

.wtho-grid label.full {
    grid-column: 1 / -1;
}

.wtho-form input[type="text"],
.wtho-form input[type="email"],
.wtho-form input[type="tel"],
.wtho-form input[type="file"],
.wtho-form textarea,
.wtho-form select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cdd8e5;
    border-radius: 14px;
    padding: 13px 14px;
    background: #fff;
    color: #102844;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wtho-form textarea {
    min-height: 110px;
    resize: vertical;
}

.wtho-form input[type="file"] {
    padding: 10px 12px;
    background: #f8fbff;
}

.wtho-form input:focus,
.wtho-form textarea:focus,
.wtho-form select:focus {
    outline: none;
    border-color: #3273dc;
    box-shadow: 0 0 0 4px rgba(50, 115, 220, 0.12);
}


.wtho-delivery-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1.05fr) minmax(320px, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
}

.wtho-delivery-panel,
.wtho-delivery-summary {
    border: 1px solid #dbe5f0;
    border-radius: 20px;
    padding: 20px;
    background: #fff;
}

.wtho-delivery-panel {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.wtho-delivery-panel--stack {
    display: flex;
    flex-direction: column;
}

.wtho-date-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    color: #173152;
}

.wtho-date-field > span {
    font-size: 14px;
}

.wtho-delivery-summary {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.wtho-summary-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.wtho-summary-top h3 {
    margin: 4px 0 0;
    font-size: 24px;
    line-height: 1.2;
}

.wtho-summary-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f6b76;
}

.wtho-speed-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #eef5ff;
    border: 1px solid #c8daf7;
    color: #173152;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
}

.wtho-speed-pill[data-selected-speed="super_rush"] {
    background: #fff3cf;
    border-color: #ebc75c;
}

.wtho-delivery-summary[data-selected-speed="super_rush"] {
    border-color: #ebc75c;
    box-shadow: 0 0 0 3px rgba(235, 199, 92, 0.12);
}

.wtho-delivery-summary-grid {
    gap: 14px;
}

.wtho-summary-stat {
    border: 1px solid #dce6f1;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
}

.wtho-summary-stat span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #627487;
    margin-bottom: 8px;
}

.wtho-summary-stat strong {
    display: block;
    color: #132640;
    font-size: 18px;
    line-height: 1.3;
}

.wtho-summary-stat--full {
    grid-column: 1 / -1;
}

.wtho-pricing-card--embedded {
    margin-bottom: 0;
    border-radius: 20px;
    background: #fff;
    height: 100%;
}

.wtho-inline-message {
    min-height: 54px;
    border: 1px solid #d7e0eb;
    border-radius: 16px;
    padding: 15px 16px;
    background: #f8fbff;
}

.wtho-inline-message strong {
    display: block;
    margin-bottom: 4px;
    color: #173152;
}

.wtho-inline-message[data-selected-speed="super_rush"] {
    background: #fff6d8;
    border-color: #efcd61;
}
.wtho-inline-message--delivery {
    margin-top: 18px;
}

.wtho-inline-message-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.wtho-inline-message--delivery strong {
    margin-bottom: 0;
}

.wtho-inline-message--delivery span[data-wtho-timeline-note] {
    display: block;
}


.wtho-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.wtho-legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.2;
    border: 1px solid #d0d7de;
    background: #fff;
}

.wtho-legend-chip::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.wtho-legend-chip.available::before,
.ui-datepicker td.wtho-date-normal a {
    background: #eef6ee;
}

.wtho-legend-chip.rush::before,
.ui-datepicker td.wtho-date-super-rush a {
    background: #ffe38b;
}

.wtho-legend-chip.blocked::before,
.ui-datepicker td.wtho-date-disabled span,
.ui-datepicker td.wtho-date-too-late span {
    background: #ececec;
}

.wtho-timeline-note {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
}

.wtho-timeline-note.is-warning {
    background: #fff6d8;
    border: 1px solid #f0d26a;
}

.wtho-timeline-note.is-ok {
    background: #eef8ef;
    border: 1px solid #bfd9c1;
}

.wtho-pricing-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.wtho-pricing-table-wrap,
.wtho-order-table-wrap {
    overflow-x: auto;
}

.wtho-pricing-table,
.wtho-order-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #d9e2ec;
    border-radius: 16px;
    overflow: hidden;
}

.wtho-pricing-table th,
.wtho-pricing-table td,
.wtho-order-table th,
.wtho-order-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5edf5;
    background: #fff;
    text-align: left;
}

.wtho-pricing-table thead th,
.wtho-order-table thead th {
    font-size: 14px;
    color: #50627c;
    background: #f7fbff;
}

.wtho-pricing-table [data-speed-column].is-selected,
.wtho-pricing-table [data-speed-cell].is-selected {
    background: #eef5ff;
    font-weight: 700;
    color: #173152;
}

.wtho-pricing-table [data-speed-column].is-selected {
    box-shadow: inset 0 -3px 0 rgba(29, 78, 216, 0.14);
}

.wtho-pricing-table[data-selected-speed="super_rush"] [data-speed-column="super_rush"].is-selected,
.wtho-pricing-table[data-selected-speed="super_rush"] [data-speed-cell="super_rush"].is-selected {
    background: #fff6d8;
}

.wtho-pricing-table[data-selected-speed="super_rush"] [data-speed-column="super_rush"].is-selected {
    box-shadow: inset 0 -3px 0 rgba(201, 143, 0, 0.18);
}

.wtho-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.wtho-time-card {
    background: #fff;
    border: 1px solid #d8dee4;
    border-radius: 14px;
    padding: 16px;
}

.wtho-time-card.highlight {
    border-color: #e5c45a;
    box-shadow: 0 0 0 2px rgba(229, 196, 90, 0.14);
}

.wtho-time-card .label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #5f6b76;
}

.wtho-time-card strong {
    display: block;
    font-size: 17px;
    line-height: 1.35;
}

.wtho-placeholder {
    border: 1px dashed #c9d1d9;
    border-radius: 14px;
    padding: 18px;
    color: #5f6b76;
    background: #fafbfc;
}

.wtho-steps,
.wtho-list {
    margin: 0;
    padding-left: 20px;
}

.wtho-steps li,
.wtho-list li {
    margin-bottom: 8px;
}

.wtho-stack,
.wtho-summary-grid,
.wtho-faq {
    display: grid;
    gap: 12px;
}

.wtho-summary-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.wtho-grid.align-start {
    align-items: start;
}

.wtho-summary-grid.four-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wtho-summary-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wtho-image {
    max-width: 100%;
    border-radius: 16px;
    display: block;
}

.wtho-submit-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 6px;
}

.wtho-primary-button,
.wtho-wrap .button.button-primary {
    background: #17487c;
    border-color: #17487c;
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
}

.wtho-alert {
    margin-bottom: 18px;
}

.wtho-alert-success {
    border-color: #b7d5be;
    background: #eef8ef;
    color: #234730;
}

.wtho-alert-error {
    border-color: #efc1bc;
    background: #fff1ef;
    color: #7a2e26;
}

.wtho-alert-warning {
    border-color: #f0d26a;
    background: #fff6d8;
    color: #725500;
}

#ui-datepicker-div,
.ui-datepicker {
    width: 20em;
    padding: 10px;
    background: #fff;
    border: 1px solid #d8dee4;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 999999 !important;
}

.ui-datepicker .ui-datepicker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ui-datepicker .ui-datepicker-title {
    font-weight: 700;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    cursor: pointer;
    user-select: none;
    padding: 6px 8px;
    border-radius: 8px;
    text-decoration: none;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: #f3f4f6;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
    text-indent: 0;
    font-size: 12px;
    line-height: 1.2;
}

.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
}

.ui-datepicker th,
.ui-datepicker td {
    text-align: center;
    padding: 2px;
}

.ui-datepicker th {
    font-size: 12px;
    color: #5f6b76;
    padding-bottom: 8px;
}

.ui-datepicker td a,
.ui-datepicker td span {
    display: block;
    padding: 8px 0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
}

.ui-datepicker td a:hover {
    background: #f3f4f6;
}

.ui-datepicker td.ui-datepicker-current-day a {
    border: 1px solid #1d4ed8;
}

.ui-datepicker td.ui-datepicker-today a {
    font-weight: 700;
}

.ui-datepicker td.ui-state-disabled span,
.ui-datepicker td.wtho-date-disabled span,
.ui-datepicker td.wtho-date-too-late span {
    color: #8a949e;
    text-decoration: line-through;
    cursor: not-allowed;
}

@media (max-width: 860px) {
    .wtho-grid.two-col,
    .wtho-grid.three-col,
    .wtho-summary-grid.four-col,
    .wtho-summary-grid.three-col,
    .wtho-delivery-layout {
        grid-template-columns: 1fr;
    }

    .wtho-summary-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .wtho-card,
    .wtho-pricing-card,
    .wtho-hero-card,
    .wtho-delivery-panel,
    .wtho-delivery-summary {
        padding: 20px;
    }
}

@media (max-width: 900px) {
    .wtho-inline-message-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
