/* ─────────────────────────────────────────────────────────────────────────────
   iFix / TechPro Repair Booking v5.3
   Constrained width · Readable fonts in both modes · ifix-dark aware
───────────────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

/* ══ LIGHT MODE ════════════════════════════════════════════════════════════ */
.tp-booking {
    /* backgrounds */
    --tp-bg:          transparent;
    --tp-card:        #ffffff;
    --tp-card-bd:     #cbd5e1;
    --tp-surface:     #f1f5f9;
    --tp-surface2:    #e2e8f0;
    --tp-input:       #ffffff;
    --tp-input-bd:    #94a3b8;
    /* text — darker for readability on light bg */
    --tp-text:        #0f172a;
    --tp-muted:       #334155;   /* was #64748b — much darker now */
    --tp-dim:         #475569;   /* was #94a3b8 — now clearly readable */
    --tp-label:       #1e293b;   /* form labels */
    /* brand */
    --tp-accent:      #0097a7;   /* slightly deeper cyan for light bg contrast */
    --tp-accent-h:    #00838f;
    --tp-accent-lt:   rgba(0,151,167,.08);
    --tp-accent-bd:   rgba(0,151,167,.3);
    /* semantic */
    --tp-green:       #047857;
    --tp-red:         #dc2626;
    --tp-amber:       #b45309;
    /* shadows */
    --tp-sh-sm:       0 1px 3px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
    --tp-sh-md:       0 4px 16px rgba(0,0,0,.1);
    /* misc */
    --tp-progress-bg: #cbd5e1;
    --tp-font:        'DM Sans', inherit;
    --tp-font-d:      'Syne', inherit;
    --tp-r:           12px;
    --tp-r-sm:        8px;
    --tp-tr:          all .2s ease;
    --tp-cols:        3;
    /* max width for the whole widget */
    --tp-max-w:       720px;
}

/* ══ DARK MODE — ifix-dark class (your darkmode.js) ═══════════════════════ */
html.ifix-dark .tp-booking,
.tp-booking.tp-is-dark {
    --tp-card:        #1e2d3d;
    --tp-card-bd:     #2d4a63;
    --tp-surface:     #162030;
    --tp-surface2:    #1e2d3d;
    --tp-input:       #162030;
    --tp-input-bd:    #3d5a73;
    /* text — bright and clear on dark bg */
    --tp-text:        #f0f6fc;   /* near white */
    --tp-muted:       #c9d8e8;   /* light blue-grey, clearly readable */
    --tp-dim:         #94b3cc;   /* medium, still readable */
    --tp-label:       #e2edf7;
    /* brand — slightly brighter for dark bg */
    --tp-accent:      #26c6da;
    --tp-accent-h:    #4dd0e1;
    --tp-accent-lt:   rgba(38,198,218,.12);
    --tp-accent-bd:   rgba(38,198,218,.35);
    --tp-green:       #34d399;
    --tp-red:         #f87171;
    --tp-amber:       #fbbf24;
    --tp-progress-bg: #2d4a63;
    --tp-sh-sm:       0 1px 3px rgba(0,0,0,.5);
    --tp-sh-md:       0 4px 16px rgba(0,0,0,.45);
}

/* Fallback class-based dark triggers */
body.dark .tp-booking,
body.dark-mode .tp-booking,
[data-theme="dark"] .tp-booking,
html.dark .tp-booking {
    --tp-card:#1e2d3d;--tp-card-bd:#2d4a63;--tp-surface:#162030;--tp-surface2:#1e2d3d;
    --tp-input:#162030;--tp-input-bd:#3d5a73;
    --tp-text:#f0f6fc;--tp-muted:#c9d8e8;--tp-dim:#94b3cc;--tp-label:#e2edf7;
    --tp-accent:#26c6da;--tp-accent-h:#4dd0e1;
    --tp-accent-lt:rgba(38,198,218,.12);--tp-accent-bd:rgba(38,198,218,.35);
    --tp-green:#34d399;--tp-red:#f87171;--tp-amber:#fbbf24;
    --tp-progress-bg:#2d4a63;
    --tp-sh-sm:0 1px 3px rgba(0,0,0,.5);--tp-sh-md:0 4px 16px rgba(0,0,0,.45);
}

/* prefers-color-scheme fallback when no class present */
@media (prefers-color-scheme: dark) {
    .tp-booking:not([data-force-light]):not(.tp-is-light) {
        --tp-card:#1e2d3d;--tp-card-bd:#2d4a63;--tp-surface:#162030;--tp-surface2:#1e2d3d;
        --tp-input:#162030;--tp-input-bd:#3d5a73;
        --tp-text:#f0f6fc;--tp-muted:#c9d8e8;--tp-dim:#94b3cc;--tp-label:#e2edf7;
        --tp-accent:#26c6da;--tp-accent-h:#4dd0e1;
        --tp-accent-lt:rgba(38,198,218,.12);--tp-accent-bd:rgba(38,198,218,.35);
        --tp-green:#34d399;--tp-red:#f87171;--tp-amber:#fbbf24;
        --tp-progress-bg:#2d4a63;
        --tp-sh-sm:0 1px 3px rgba(0,0,0,.5);--tp-sh-md:0 4px 16px rgba(0,0,0,.45);
    }
}

/* ══ RESET ══════════════════════════════════════════════════════════════════ */
.tp-booking *, .tp-booking *::before, .tp-booking *::after {
    box-sizing: border-box; margin: 0; padding: 0;
}
.tp-booking {
    font-family: var(--tp-font);
    color: var(--tp-text);
    background: var(--tp-bg);
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}
.tp-hidden { display: none !important; }

/* ══ CONSTRAINED WIDTH WRAPPER ══════════════════════════════════════════════
   Everything sits inside a max-width container, centered.
   The progress bar spans full width for a clean top bar feel.
═══════════════════════════════════════════════════════════════════════════ */
.tp-progress-bar-wrap {
    padding: 14px 0 16px;
    /* full width — spans edge to edge */
}
.tp-progress-inner {
    max-width: var(--tp-max-w);
    margin: 0 auto;
    padding: 0 20px;
}
.tp-progress-track {
    height: 3px;
    background: var(--tp-progress-bg);
    border-radius: 99px;
    margin-bottom: 14px;
    overflow: hidden;
}
.tp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tp-accent), #7c3aed);
    border-radius: 99px;
    width: calc(100% / 6);
    transition: width .5s cubic-bezier(.4,0,.2,1);
}
.tp-steps-row {
    display: flex;
    justify-content: space-between;
}
.tp-step-dot {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; opacity: .3; transition: var(--tp-tr); flex: 1;
}
.tp-step-dot.is-active { opacity: 1; }
.tp-step-dot.is-done   { opacity: .65; }
.tp-dot-num {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--tp-surface2); border: 1.5px solid var(--tp-card-bd);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; font-family: var(--tp-font-d);
    color: var(--tp-muted); transition: var(--tp-tr);
}
.tp-step-dot.is-active .tp-dot-num {
    background: var(--tp-accent); border-color: var(--tp-accent);
    color: #fff; box-shadow: 0 0 0 3px var(--tp-accent-lt);
}
.tp-step-dot.is-done .tp-dot-num {
    background: var(--tp-green); border-color: var(--tp-green); color: #fff;
}
.tp-dot-label {
    font-size: 10px; font-weight: 600; color: var(--tp-dim);
    font-family: var(--tp-font-d); text-align: center; line-height: 1.2;
}
.tp-step-dot.is-active .tp-dot-label { color: var(--tp-accent); }
@media (max-width: 480px) {
    .tp-dot-label { display: none; }
    .tp-dot-num   { width: 20px; height: 20px; font-size: 10px; }
}

/* ══ PANEL — constrained width ══════════════════════════════════════════════ */
.tp-panel {
    max-width: var(--tp-max-w);
    margin: 0 auto;
    padding: 28px 20px 44px;
    animation: tp-in .25s ease;
}
@keyframes tp-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@media (max-width: 600px) { .tp-panel { padding: 18px 14px 32px; } }

/* ══ PANEL HEADER ═══════════════════════════════════════════════════════════ */
.tp-panel-header { margin-bottom: 20px; }
.tp-heading {
    font-family: var(--tp-font-d);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -.7px;
    color: var(--tp-text);
    line-height: 1.15;
    margin-bottom: 5px;
}
.tp-subheading {
    color: var(--tp-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}
.tp-crumb {
    font-weight: 700;
    color: var(--tp-accent);
    font-size: 13px;
    margin-top: 3px;
}
.tp-back {
    background: none; border: none;
    color: var(--tp-muted); font-size: 12px; font-family: var(--tp-font);
    cursor: pointer; padding: 0; margin-bottom: 10px;
    display: inline-flex; align-items: center; gap: 3px;
    transition: color .15s; font-weight: 600;
}
.tp-back:hover { color: var(--tp-accent); }

/* ══ CARD GRID ══════════════════════════════════════════════════════════════ */
.tp-card-grid {
    display: grid;
    grid-template-columns: repeat(var(--tp-cols, 3), minmax(0, 1fr));
    gap: 10px;
}
@media (max-width: 580px) { .tp-card-grid { grid-template-columns: repeat(2,1fr); gap: 8px; } }
@media (max-width: 340px) { .tp-card-grid { grid-template-columns: 1fr; } }

.tp-loading-txt { color: var(--tp-dim); font-size: 13px; padding: 6px 0; }

/* ══ ITEM CARD ══════════════════════════════════════════════════════════════ */
.tp-item-card {
    background: var(--tp-card);
    border: 1.5px solid var(--tp-card-bd);
    border-radius: var(--tp-r);
    cursor: pointer;
    transition: var(--tp-tr);
    box-shadow: var(--tp-sh-sm);
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    display: flex;
    flex-direction: column;
    position: relative;
}
.tp-item-card:hover, .tp-item-card:focus-visible {
    border-color: var(--tp-accent);
    transform: translateY(-2px);
    box-shadow: var(--tp-sh-md);
}
.tp-item-card:active { transform: translateY(0); }
.tp-item-card.is-selected {
    border-color: var(--tp-accent);
    background: var(--tp-accent-lt);
}
.tp-item-card.is-selected::after {
    content: '✓';
    position: absolute; top: 6px; right: 8px;
    color: var(--tp-accent); font-size: 12px; font-weight: 800;
}

/* Card image */
.tp-ci { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--tp-surface2); flex-shrink: 0; }
.tp-ci img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.tp-item-card:hover .tp-ci img { transform: scale(1.05); }

/* Card icon fallback */
.tp-ci-icon {
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; padding: 14px 0 6px; transition: transform .2s;
}
.tp-item-card:hover .tp-ci-icon { transform: scale(1.1); }
.tp-brand-card .tp-ci-icon, .tp-model-card .tp-ci-icon { font-size: 20px; padding: 10px 0 4px; }
.tp-brand-card .tp-ci, .tp-model-card .tp-ci { aspect-ratio: 3/2; }

/* Card body */
.tp-cb { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.tp-ct { font-family: var(--tp-font-d); font-size: 13px; font-weight: 700; color: var(--tp-text); line-height: 1.25; }
.tp-cs { font-size: 11px; color: var(--tp-dim); line-height: 1.25; margin-top: 1px; font-weight: 500; }

/* Price badges */
.tp-cp-exact { display:inline-block; font-family:var(--tp-font-d); font-size:15px; font-weight:800; color:var(--tp-accent); margin-top:4px; line-height:1; }
.tp-cp-from  { display:inline-block; font-family:var(--tp-font-d); font-size:12px; font-weight:700; color:var(--tp-muted); margin-top:4px; line-height:1; }
.tp-cp-base  { display:inline-block; font-family:var(--tp-font-d); font-size:14px; font-weight:700; color:var(--tp-accent); margin-top:4px; line-height:1; }
.tp-cp-quote { display:inline-block; font-size:11px; font-weight:700; color:var(--tp-amber); background:rgba(180,83,9,.1); border-radius:99px; padding:2px 7px; margin-top:4px; border:1px solid rgba(180,83,9,.2); }

/* Device cards — bigger icon */
.tp-device-card .tp-ci-icon { font-size:32px; padding:16px 0 8px; }
.tp-device-card .tp-cb { text-align: center; }
.tp-brand-card .tp-cb { text-align: center; padding: 8px 8px 10px; }

/* ══ CUSTOM MODEL / ISSUE ═══════════════════════════════════════════════════ */
.tp-other-model, .tp-custom-issue-box {
    background: var(--tp-surface);
    border: 1px solid var(--tp-card-bd);
    border-radius: var(--tp-r-sm);
    padding: 14px 16px;
    margin-top: 14px;
}
.tp-custom-issue-box { display: flex; flex-direction: column; }

/* ══ ESTIMATE CARD ══════════════════════════════════════════════════════════ */
.tp-estimate-card {
    background: var(--tp-card);
    border: 1px solid var(--tp-card-bd);
    border-radius: var(--tp-r);
    overflow: hidden;
    box-shadow: var(--tp-sh-md);
    margin-bottom: 18px;
}
.tp-estimate-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--tp-accent), #7c3aed);
}
.tp-estimate-device-row {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px; border-bottom: 1px solid var(--tp-card-bd);
}
.tp-estimate-icon { font-size: 38px; flex-shrink: 0; }
.tp-estimate-device-name {
    font-family: var(--tp-font-d); font-size: 15px; font-weight: 700;
    color: var(--tp-text); margin-bottom: 2px;
}
.tp-estimate-issue-name { font-size: 13px; color: var(--tp-muted); font-weight: 500; }

.tp-price-breakdown { padding: 0 20px; }
.tp-price-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--tp-card-bd);
    font-size: 14px; color: var(--tp-muted); font-weight: 500;
}
.tp-price-row:last-of-type { border-bottom: none; }
.tp-price-total {
    font-size: 15px; font-weight: 700; color: var(--tp-text);
    font-family: var(--tp-font-d);
    border-top: 2px solid var(--tp-card-bd) !important;
    padding-top: 12px !important;
}
.tp-price-total span:last-child { font-size: 24px; color: var(--tp-accent); }

.tp-custom-quote-note {
    margin: 0 20px 12px;
    padding: 10px 12px;
    background: rgba(180,83,9,.08);
    border: 1px solid rgba(180,83,9,.2);
    border-radius: 6px;
    font-size: 12px; color: var(--tp-amber);
    display: flex; gap: 7px; font-weight: 500;
}
.tp-guarantee-pills {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 12px 20px 18px;
}
.tp-pill {
    background: var(--tp-surface2);
    border: 1px solid var(--tp-card-bd);
    border-radius: 99px;
    padding: 3px 9px;
    font-size: 11px; color: var(--tp-muted); font-weight: 600;
}

/* ══ SUMMARY RIBBON ═════════════════════════════════════════════════════════ */
.tp-summary-ribbon {
    background: var(--tp-accent-lt);
    border: 1px solid var(--tp-accent-bd);
    border-radius: var(--tp-r-sm);
    padding: 12px 16px;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 18px; flex-wrap: wrap;
}
.tp-ribbon-item { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 80px; }
.tp-ribbon-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .6px; color: var(--tp-accent); font-family: var(--tp-font-d);
}
.tp-ribbon-val { font-size: 13px; font-weight: 700; color: var(--tp-text); }
.tp-ribbon-price { font-family: var(--tp-font-d); font-size: 16px; font-weight: 800; color: var(--tp-accent); }
.tp-ribbon-divider { width: 1px; background: var(--tp-accent-bd); align-self: stretch; flex: 0; }

/* ══ CONTACT FORM ═══════════════════════════════════════════════════════════ */
.tp-contact-form { margin-bottom: 16px; }
.tp-form-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 12px;
}
.tp-form-field { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 520px) { .tp-form-row { grid-template-columns: 1fr; } }

.tp-req { color: var(--tp-red); }
.tp-opt { color: var(--tp-dim); font-size: 10px; text-transform: none; font-weight: 400; }

.tp-next-steps-box {
    background: var(--tp-surface);
    border: 1px solid var(--tp-card-bd);
    border-radius: var(--tp-r-sm);
    padding: 14px 16px; margin-bottom: 16px;
}
.tp-next-steps-title {
    font-family: var(--tp-font-d); font-size: 13px; font-weight: 700;
    color: var(--tp-text); margin-bottom: 10px;
}
.tp-next-steps-grid { display: flex; flex-direction: column; gap: 8px; }
.tp-next-step {
    display: flex; gap: 8px; align-items: flex-start;
    font-size: 13px; color: var(--tp-muted); line-height: 1.4; font-weight: 500;
}
.tp-next-step strong { color: var(--tp-text); font-weight: 700; }
.tp-next-num {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--tp-accent); color: #fff;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 1px; font-family: var(--tp-font-d);
}
.tp-error-box {
    background: rgba(220,38,38,.08);
    border: 1px solid rgba(220,38,38,.3);
    border-radius: 6px; padding: 10px 12px;
    font-size: 13px; color: var(--tp-red);
    margin-bottom: 10px; line-height: 1.5; font-weight: 500;
}
.tp-privacy { text-align: center; font-size: 11px; color: var(--tp-dim); margin-top: 8px; font-weight: 500; }

/* Coupon row */
.tp-coupon-row { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.tp-coupon-row .tp-input { flex: 1; min-width: 140px; }

/* ══ INPUTS & LABELS ════════════════════════════════════════════════════════ */
.tp-label {
    display: block;
    font-size: 11px; font-weight: 700;
    color: var(--tp-label);
    letter-spacing: .6px; text-transform: uppercase;
    font-family: var(--tp-font-d);
}
.tp-input, .tp-textarea, .tp-select {
    width: 100%;
    background: var(--tp-input);
    border: 1.5px solid var(--tp-input-bd);
    color: var(--tp-text);
    font-family: var(--tp-font);
    font-size: 14px; font-weight: 500;
    border-radius: 6px;
    padding: 9px 12px;
    transition: border-color .15s, box-shadow .15s;
    outline: none; appearance: none;
}
.tp-input:focus, .tp-textarea:focus, .tp-select:focus {
    border-color: var(--tp-accent);
    box-shadow: 0 0 0 3px var(--tp-accent-lt);
}
.tp-input::placeholder, .tp-textarea::placeholder {
    color: var(--tp-dim); font-weight: 400;
}
.tp-textarea { resize: vertical; line-height: 1.5; }

/* ══ BUTTONS ════════════════════════════════════════════════════════════════ */
.tp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 7px; padding: 10px 20px; border-radius: var(--tp-r-sm);
    font-size: 14px; font-weight: 700; font-family: var(--tp-font-d);
    cursor: pointer; border: none; transition: var(--tp-tr);
    text-decoration: none; white-space: nowrap; letter-spacing: -.1px;
    -webkit-tap-highlight-color: transparent;
}
.tp-btn-primary {
    background: var(--tp-accent); color: #fff;
    box-shadow: 0 3px 12px rgba(0,151,167,.4);
}
.tp-btn-primary:hover {
    background: var(--tp-accent-h);
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(0,151,167,.5);
}
.tp-btn-primary:active { transform: none; }
.tp-btn-secondary {
    background: var(--tp-surface2);
    border: 1.5px solid var(--tp-card-bd);
    color: var(--tp-muted); font-weight: 700;
}
.tp-btn-secondary:hover {
    border-color: var(--tp-accent);
    color: var(--tp-accent);
    background: var(--tp-accent-lt);
}
.tp-btn-ghost { background: transparent; color: var(--tp-dim); border: none; font-size: 13px; padding: 8px 12px; }
.tp-btn-ghost:hover { color: var(--tp-muted); }
.tp-btn-full  { width: 100%; }
.tp-btn-lg    { padding: 13px 24px; font-size: 15px; }
.tp-btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ══ SPINNER ════════════════════════════════════════════════════════════════ */
.tp-spinner-wrap {
    position: absolute; inset: 0;
    background: rgba(255,255,255,.8);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 10px;
    z-index: 99; border-radius: var(--tp-r);
    backdrop-filter: blur(3px);
}
html.ifix-dark .tp-spinner-wrap,
.tp-is-dark .tp-spinner-wrap { background: rgba(22,32,48,.8); }
.tp-spinner {
    width: 28px; height: 28px;
    border: 3px solid var(--tp-card-bd);
    border-top-color: var(--tp-accent);
    border-radius: 50%;
    animation: tp-spin .7s linear infinite;
}
@keyframes tp-spin { to { transform: rotate(360deg); } }
.tp-spinner-wrap span { font-size: 13px; color: var(--tp-muted); font-family: var(--tp-font-d); font-weight: 600; }

/* ══ DONE PANEL ═════════════════════════════════════════════════════════════ */
.tp-done-wrap { max-width: 460px; margin: 0 auto; text-align: center; padding: 12px 0 32px; }
.tp-done-check { width: 60px; height: 60px; margin: 0 auto 14px; }
.tp-checkmark  { width: 60px; height: 60px; display: block; }
.tp-check-circle {
    stroke: var(--tp-accent); stroke-width: 2; fill: none;
    stroke-dasharray: 166; stroke-dashoffset: 166;
    animation: tp-stroke .6s cubic-bezier(.65,0,.45,1) .2s forwards;
}
.tp-check-path {
    stroke: var(--tp-accent); stroke-width: 2.5; fill: none;
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 48; stroke-dashoffset: 48;
    animation: tp-stroke .4s cubic-bezier(.65,0,.45,1) .8s forwards;
}
@keyframes tp-stroke { to { stroke-dashoffset: 0; } }

.tp-done-ref {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--tp-surface); border: 1px solid var(--tp-card-bd);
    border-radius: 6px; padding: 7px 12px;
    font-size: 13px; color: var(--tp-muted); margin-bottom: 14px; font-weight: 600;
}
.tp-done-ref strong { color: var(--tp-accent); }
.tp-copy-btn { background: none; border: none; cursor: pointer; font-size: 13px; padding: 0; }

.tp-done-summary {
    background: var(--tp-card); border: 1px solid var(--tp-card-bd);
    border-radius: var(--tp-r-sm); padding: 12px 16px; margin-bottom: 16px; text-align: left;
}
.tp-done-row {
    display: flex; justify-content: space-between;
    padding: 6px 0; border-bottom: 1px solid var(--tp-card-bd);
    font-size: 13px; gap: 10px;
}
.tp-done-row:last-child { border: none; }
.tp-done-row span:first-child { color: var(--tp-muted); min-width: 60px; font-weight: 600; }
.tp-done-row span:last-child  { color: var(--tp-text); font-weight: 600; text-align: right; }
.tp-done-row.is-total span:last-child {
    color: var(--tp-accent); font-size: 15px; font-weight: 800; font-family: var(--tp-font-d);
}
.tp-square-cta { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-bottom: 4px; }

/* ══ WARRANTY SECTION ═══════════════════════════════════════════════════════ */
.tp-warranty-wrap {
    max-width: var(--tp-max-w);
    margin: 0 auto;
    padding: 0 20px 32px;
}
.tp-warranty-wrap { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--tp-card-bd); }
.tp-warranty-inner {
    background: var(--tp-surface); border: 1px solid var(--tp-card-bd);
    border-radius: var(--tp-r); padding: 18px 20px;
}
.tp-warranty-title { font-family: var(--tp-font-d); font-size: 15px; font-weight: 700; color: var(--tp-text); margin-bottom: 5px; }
.tp-warranty-sub   { font-size: 13px; color: var(--tp-muted); margin-bottom: 12px; line-height: 1.4; font-weight: 500; }
.tp-warranty-form  { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-warranty-form .tp-input { flex: 1; min-width: 160px; }
.tp-warranty-result {
    margin-top: 10px; padding: 9px 12px; border-radius: 6px;
    font-size: 13px; font-weight: 600;
    border: 1px solid var(--tp-card-bd); background: var(--tp-card); color: var(--tp-text);
}

/* ══ FOCUS ══════════════════════════════════════════════════════════════════ */
.tp-booking :focus-visible { outline: 2px solid var(--tp-accent); outline-offset: 2px; }
