/* ═══════════════════════════════════════════════
   Horeka Ops Engine — Frontend CSS (mobile-first)
   ═══════════════════════════════════════════════ */

/* ── Reset — box-sizing only; element-level margin/padding reset below ── */
#hoe-app *,
#hoe-app *::before,
#hoe-app *::after { box-sizing: border-box; }

/* Block-level browser defaults that need explicit zeroing */
#hoe-app h1, #hoe-app h2, #hoe-app h3, #hoe-app h4, #hoe-app h5,
#hoe-app p, #hoe-app figure, #hoe-app blockquote,
#hoe-app ul, #hoe-app ol, #hoe-app dl, #hoe-app dd,
#hoe-app fieldset, #hoe-app legend { margin: 0; padding: 0; }
#hoe-app ul, #hoe-app ol { list-style: none; }
#hoe-app img, #hoe-app svg { display: block; max-width: 100%; }
#hoe-app button, #hoe-app input,
#hoe-app select, #hoe-app textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ── App root ────────────────────────────────── */
#hoe-app {
    --hoe-btn:      #2d7a2d;
    --hoe-btn-dark: #225c22;
    --hoe-text:     #111827;
    --hoe-muted:    #6b7280;
    --hoe-border:   #e5e7eb;
    --hoe-bg:       #f9fafb;
    --hoe-white:    #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 15px;
    color: var(--hoe-text);
    line-height: 1.55;
    background: var(--hoe-bg);
    position: relative;
    overflow-x: hidden;
    min-height: 100svh;
}

/* ══════════════════════════════════════════════
   SCREENS — only one visible at a time
   ══════════════════════════════════════════════ */
.hoe-screen              { display: none !important; width: 100%; min-height: 100svh; }
.hoe-screen.hoe-active   { display: block !important; }
.hoe-screen.hoe-slide-in { display: block !important; animation: hoeSlideIn .35s cubic-bezier(.25,.46,.45,.94) both; }

@keyframes hoeSlideIn  { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes hoeSpin     { to   { transform: rotate(360deg); } }
@keyframes hoePopIn    { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes hoeStepIn   { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Form screen needs flex */
#hoe-form-screen.hoe-active,
#hoe-form-screen.hoe-slide-in { display: flex !important; flex-direction: column; }

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.hoe-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--hoe-btn);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .18s, transform .12s, box-shadow .18s;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    text-decoration: none;
    letter-spacing: .2px;
    white-space: nowrap;
}
.hoe-btn-primary:hover   { background: var(--hoe-btn-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.hoe-btn-primary:active  { transform: scale(.98); box-shadow: none; }
.hoe-btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.hoe-btn-primary svg     { flex-shrink: 0; }

.hoe-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--hoe-btn);
    border: 2px solid currentColor;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .18s, color .18s;
    white-space: nowrap;
}
.hoe-btn-outline:hover { background: var(--hoe-btn); color: #fff; border-color: var(--hoe-btn); }

/* ══════════════════════════════════════════════
   WELCOME SCREEN
   ══════════════════════════════════════════════ */
.hoe-welcome-bg {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hoe-bg);
}

.hoe-welcome-overlay {
    min-height: 100svh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 32px 64px;
    background: linear-gradient(160deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.22) 50%, rgba(0,0,0,.52) 100%);
}

/* No image — transparent overlay */
#hoe-welcome[data-solid="1"] .hoe-welcome-overlay    { background: transparent; }
#hoe-welcome[data-solid="1"] .hoe-welcome-title      { color: var(--hoe-text); text-shadow: none; }
#hoe-welcome[data-solid="1"] .hoe-welcome-sub        { color: var(--hoe-muted); text-shadow: none; }
#hoe-welcome[data-solid="1"] .hoe-welcome-note       { color: var(--hoe-muted); text-shadow: none; }
#hoe-welcome[data-solid="1"] .hoe-stat span          { color: var(--hoe-text); text-shadow: none; }
#hoe-welcome[data-solid="1"] .hoe-stat small         { color: var(--hoe-muted); }
#hoe-welcome[data-solid="1"] .hoe-stat-divider       { background: var(--hoe-border); }
#hoe-welcome[data-solid="1"] .hoe-welcome-stats {
    background: rgba(0,0,0,.05);
    border-color: var(--hoe-border);
    backdrop-filter: none;
}

.hoe-welcome-content {
    text-align: center;
    max-width: 420px;
    width: 100%;
}

.hoe-welcome-logo        { margin-bottom: 28px; }
.hoe-welcome-logo img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: contain;
    background: rgba(255,255,255,.18);
    padding: 10px;
    margin: 0 auto;
}

.hoe-welcome-title {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
    letter-spacing: -.4px;
}

.hoe-welcome-sub {
    font-size: 15px;
    color: rgba(255,255,255,.88);
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,.25);
    line-height: 1.55;
}

/* Stats box — has its own spacing */
.hoe-welcome-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 16px;
    padding: 18px 16px;
    margin-top: 28px;
}
.hoe-stat       { flex: 1; text-align: center; }
.hoe-stat span  { display: block; font-size: 20px; font-weight: 800; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.25); }
.hoe-stat small { font-size: 11px; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .6px; }
.hoe-stat-divider { width: 1px; height: 34px; background: rgba(255,255,255,.3); margin: 0 4px; flex-shrink: 0; }

/* Start button — centred, auto-width */
.hoe-start-wrap {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.hoe-start-btn { font-size: 16px; padding: 17px 40px; }

.hoe-welcome-note {
    margin-top: 18px;
    font-size: 12px;
    color: rgba(255,255,255,.62);
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
}

/* ══════════════════════════════════════════════
   FORM SCREEN
   ══════════════════════════════════════════════ */
#hoe-form-screen {
    display: none;
    background: var(--hoe-bg);
    min-height: 100svh;
}

/* ── Progress Bar ─────────────────────────────── */
.hoe-progress-wrap {
    background: var(--hoe-white);
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--hoe-border);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.hoe-progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}
#hoe-progress-fill {
    height: 100%;
    background: var(--hoe-btn);
    border-radius: 6px;
    transition: width .38s cubic-bezier(.4,0,.2,1);
}
.hoe-progress-labels { display: flex; justify-content: space-between; }
.hoe-plabel {
    font-size: 10px;
    color: #d1d5db;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    transition: color .25s;
}
.hoe-plabel.active { color: var(--hoe-btn); }
.hoe-plabel.done   { color: var(--hoe-btn); opacity: .5; }

/* ── Form Container ───────────────────────────── */
.hoe-form-container {
    flex: 1;
    padding: 32px 24px 32px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.hoe-step { animation: hoeStepIn .28s ease both; }

.hoe-step-header        { margin-bottom: 28px; }
.hoe-step-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--hoe-text);
    margin-bottom: 6px;
    letter-spacing: -.3px;
}
.hoe-step-header p { font-size: 13px; color: var(--hoe-muted); margin: 0; }

/* ── Fields ───────────────────────────────────── */
.hoe-field-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.hoe-field          { width: 100%; }
.hoe-field.hoe-half { width: calc(50% - 8px); }
.hoe-field.hoe-full { width: 100%; }

.hoe-field label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #4b5563;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: .55px;
}
.hoe-field label small { font-weight: 500; color: var(--hoe-muted); text-transform: none; letter-spacing: 0; font-size: 11px; }
.hoe-field label .req  { color: #ef4444; }

#hoe-app .hoe-field input,
#hoe-app .hoe-field select,
#hoe-app .hoe-field textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 15px;
    border: 1.5px solid var(--hoe-border);
    border-radius: 10px;
    font-size: 15px;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    background-color: #ffffff !important;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    -webkit-appearance: none;
    appearance: none;
    opacity: 1 !important;
}
/* Dropdown arrow — kept separate so background-color above doesn't wipe it */
#hoe-app .hoe-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 38px;
    cursor: pointer;
}
#hoe-app .hoe-field select option {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    background: #ffffff !important;
}
.hoe-field textarea { resize: vertical; min-height: 84px; }

#hoe-app .hoe-field input:focus,
#hoe-app .hoe-field select:focus,
#hoe-app .hoe-field textarea:focus { border-color: var(--hoe-btn); box-shadow: 0 0 0 3px rgba(45,122,45,.1); }
#hoe-app .hoe-field input.hoe-error,
#hoe-app .hoe-field select.hoe-error,
#hoe-app .hoe-field textarea.hoe-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
#hoe-app .hoe-field input[readonly] { background: #f3f4f6 !important; color: var(--hoe-muted) !important; cursor: default; }
.hoe-field-error { display: block; font-size: 11.5px; color: #ef4444; margin-top: 5px; font-weight: 600; }

/* Phone prefix wrapper */
.hoe-input-prefix {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--hoe-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--hoe-white);
    transition: border-color .18s, box-shadow .18s;
}
.hoe-input-prefix:focus-within { border-color: var(--hoe-btn); box-shadow: 0 0 0 3px rgba(45,122,45,.1); }
.hoe-input-prefix span {
    padding: 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hoe-muted);
    background: #f9fafb;
    border-right: 1px solid var(--hoe-border);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.hoe-input-prefix input {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
    box-shadow: none !important;
    min-width: 0;
    padding: 13px 15px;
}
.hoe-input-prefix.hoe-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }

/* Icon-left input — flex layout so icon never overlaps text */
.hoe-input-icon {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--hoe-border);
    border-radius: 10px;
    background: var(--hoe-white);
    transition: border-color .18s, box-shadow .18s;
    overflow: hidden;
}
.hoe-input-icon:focus-within { border-color: var(--hoe-btn); box-shadow: 0 0 0 3px rgba(45,122,45,.1); }
.hoe-input-icon > svg {
    flex-shrink: 0;
    margin-left: 14px;
    pointer-events: none;
    color: var(--hoe-muted);
}
.hoe-input-icon input {
    flex: 1;
    min-width: 0;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none;
    padding: 13px 15px 13px 10px !important;
    font-size: 15px;
    color: var(--hoe-text);
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}
.hoe-input-icon input:focus { border: none !important; box-shadow: none !important; }

/* ── Step 2 — Map ─────────────────────────────── */
.hoe-map-search-wrap { margin-bottom: 14px; }

.hoe-map {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    border: 1.5px solid var(--hoe-border);
    overflow: hidden;
    background: #e9ecef;
}
.hoe-map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--hoe-muted);
    font-size: 13px;
}
.hoe-map-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--hoe-border);
    border-top-color: var(--hoe-btn);
    border-radius: 50%;
    animation: hoeSpin .7s linear infinite;
}
.hoe-coord-pair       { display: flex; gap: 8px; }
.hoe-coord-pair input { flex: 1; }

/* ── Step 4 — Products ────────────────────────── */
.hoe-products-header h2 strong { color: var(--hoe-btn); }
.hoe-products-tagline {
    font-size: 13px;
    color: var(--hoe-btn);
    font-weight: 600;
    margin-top: 2px;
}
.hoe-product-search-bar { margin-bottom: 14px; }

.hoe-selected-count {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 14px;
}

.hoe-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-height: 200px;
}
.hoe-product-card {
    background: var(--hoe-white);
    border: 1.5px solid var(--hoe-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s;
}
.hoe-product-card:hover        { border-color: #9ca3af; }
.hoe-product-card.hoe-selected { border-color: var(--hoe-btn); box-shadow: 0 0 0 2px rgba(45,122,45,.15); }

.hoe-product-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
    pointer-events: none;
}
.hoe-product-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.hoe-product-info {
    padding: 9px 10px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hoe-product-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--hoe-text);
    margin-bottom: 3px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hoe-product-price { font-size: 11px; color: var(--hoe-muted); flex: 1; margin-bottom: 8px; }
.hoe-add-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 7px 6px;
    border: 1.5px solid var(--hoe-btn);
    border-radius: 7px;
    background: transparent;
    color: var(--hoe-btn);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s, color .15s;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.hoe-add-btn:hover,
.hoe-product-card.hoe-selected .hoe-add-btn { background: var(--hoe-btn); color: #fff; }

.hoe-product-loading,
.hoe-product-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--hoe-muted);
    font-size: 14px;
}
.hoe-product-loading::after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border: 3px solid var(--hoe-border);
    border-top-color: var(--hoe-btn);
    border-radius: 50%;
    animation: hoeSpin .7s linear infinite;
    margin: 12px auto 0;
}

.hoe-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 18px 0 4px;
    flex-wrap: wrap;
}
.hoe-page-btn {
    height: 36px;
    min-width: 60px;
    padding: 0 12px;
    margin: 0;
    border: 1.5px solid var(--hoe-border);
    border-radius: 8px;
    background: var(--hoe-white);
    color: var(--hoe-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}
.hoe-page-btn:hover  { border-color: var(--hoe-btn); color: var(--hoe-btn); }
.hoe-page-btn.active { background: var(--hoe-btn); border-color: var(--hoe-btn); color: #fff; }
.hoe-page-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ── Step 5 — Plans ───────────────────────────── */
.hoe-plans {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.hoe-plan-card {
    position: relative;
    display: block;
    border: 2px solid var(--hoe-border);
    border-radius: 16px;
    padding: 20px 20px 18px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    background: var(--hoe-white);
    user-select: none;
}
/* Active plan — driven entirely by JS-added class */
.hoe-plan-card.hoe-plan-active {
    border-color: var(--hoe-btn);
    box-shadow: 0 0 0 3px rgba(45,122,45,.14);
}

.hoe-plan-badge {
    display: inline-block;
    background: var(--hoe-btn);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.hoe-plan-icon      { font-size: 26px; margin-bottom: 6px; }
.hoe-plan-card h3   { font-size: 17px; font-weight: 800; margin-bottom: 4px; color: var(--hoe-text); }
.hoe-plan-price     { font-size: 24px; font-weight: 800; color: var(--hoe-btn); margin-bottom: 2px; }
.hoe-plan-price span { font-size: 14px; font-weight: 500; color: var(--hoe-muted); }
.hoe-plan-breakdown { font-size: 12px; color: var(--hoe-muted); margin-bottom: 14px; }
.hoe-plan-features  { list-style: none; }
.hoe-plan-features li { font-size: 13px; color: var(--hoe-text); padding: 2px 0; }

/* Referral */
.hoe-referral-section { margin-bottom: 20px; }
.hoe-referral-input   { display: flex; gap: 8px; }
.hoe-referral-input input {
    flex: 1;
    min-width: 0;
    padding: 13px 14px;
    border: 1.5px solid var(--hoe-border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hoe-text);
    background: var(--hoe-white);
    outline: none;
    transition: border-color .18s;
    -webkit-appearance: none;
}
.hoe-referral-input input:focus { border-color: var(--hoe-btn); box-shadow: 0 0 0 3px rgba(45,122,45,.1); }
#hoe-apply-referral { border-radius: 10px; padding: 13px 20px; font-size: 13px; flex-shrink: 0; }
#hoe-referral-msg   { font-size: 12px; font-weight: 700; margin-top: 7px; min-height: 16px; }

/* Summary */
.hoe-plan-summary {
    background: var(--hoe-white);
    border: 1.5px solid var(--hoe-border);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hoe-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--hoe-text);
}
.hoe-summary-total {
    padding-top: 10px;
    border-top: 1.5px solid var(--hoe-border);
    font-size: 15px;
    font-weight: 700;
}
.hoe-summary-total strong { font-size: 20px; color: var(--hoe-btn); }

/* ── Navigation Bar ───────────────────────────── */
.hoe-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--hoe-white);
    border-top: 1.5px solid var(--hoe-border);
    position: sticky;
    bottom: 0;
    z-index: 200;
    min-height: 84px;
}

/* Circular back button */
.hoe-back-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--hoe-btn);
    background: transparent;
    color: var(--hoe-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .18s, color .18s;
    padding: 0;
    margin: 0;
}
.hoe-back-circle:hover { background: var(--hoe-btn); color: #fff; }

/* Next / Pay — fixed width, centred */
.hoe-nav-btn {
    min-width: 140px;
    max-width: 220px;
    flex: 1;
}

/* ══════════════════════════════════════════════
   SUCCESS SCREEN
   ══════════════════════════════════════════════ */
#hoe-success {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 28px;
    background: var(--hoe-bg);
}
.hoe-success-inner { text-align: center; max-width: 420px; width: 100%; }
.hoe-success-icon  { margin-bottom: 24px; animation: hoePopIn .5s cubic-bezier(.34,1.56,.64,1); }
.hoe-success-inner h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--hoe-text);
    margin-bottom: 14px;
}
.hoe-success-main {
    font-size: 15px;
    color: var(--hoe-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}
.hoe-success-main strong { color: var(--hoe-text); }
.hoe-success-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--hoe-white);
    border: 1.5px solid var(--hoe-border);
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 24px;
}
.hoe-sstep         { text-align: center; flex: 1; }
.hoe-sstep span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hoe-btn);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 7px;
}
.hoe-sstep p       { font-size: 11px; color: var(--hoe-text); font-weight: 600; line-height: 1.3; margin: 0; }
.hoe-sstep-arrow   { font-size: 18px; color: #d1d5db; flex-shrink: 0; }
.hoe-success-note  { font-size: 13px; color: var(--hoe-muted); margin: 0; }
.hoe-success-note a { color: var(--hoe-btn); text-decoration: none; }

/* ── Payment banner ────────────────────────────── */
.hoe-payment-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999999;
    background: var(--hoe-btn);
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.hoe-payment-error { background: #dc2626; }

/* ── GST PDF upload ───────────────────────────── */
.hoe-file-upload {
    position: relative;
    border: 2px dashed var(--hoe-border);
    border-radius: 12px;
    background: #fafafa;
    transition: border-color .18s, background .18s;
    overflow: hidden;
}
.hoe-file-upload:hover,
.hoe-file-upload.hoe-file-ready { border-color: var(--hoe-btn); background: #f0fdf4; }
.hoe-file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
    margin: 0;
    padding: 0;
}
.hoe-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 16px;
    text-align: center;
    color: var(--hoe-muted);
    pointer-events: none;
}
.hoe-file-label svg  { color: var(--hoe-btn); }
.hoe-file-label span { font-size: 14px; font-weight: 600; color: var(--hoe-text); }
.hoe-file-label small { font-size: 12px; margin: 0; }
.hoe-file-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--hoe-btn);
    background: #f0fdf4;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 12px 12px;
    text-align: center;
    display: none;
}

/* ── Google Maps pac-container ─────────────────── */
/* Fixed positioning ensures z-index works regardless of stacking contexts */
.pac-container {
    z-index: 999999 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.16) !important;
    border: 1.5px solid #e5e7eb !important;
    margin-top: 4px !important;
    overflow: hidden !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: #fff !important;
}
.pac-item {
    padding: 11px 16px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    border-top: 1px solid #f3f4f6 !important;
    color: #111827 !important;
}
.pac-item:first-child      { border-top: none !important; }
.pac-item:hover,
.pac-item.pac-item-selected { background: #f0fdf4 !important; }
.pac-item-query            { font-weight: 700; color: #111827 !important; }
.pac-matched               { font-weight: 800; color: var(--hoe-btn, #2d7a2d) !important; }
.pac-logo                  { display: none !important; }

/* ── Responsive ─────────────────────────────────── */
@media (min-width: 480px) {
    .hoe-welcome-title { font-size: 34px; }
    .hoe-plans         { flex-direction: row; }
    .hoe-plan-card     { flex: 1; }
}
@media (min-width: 640px) {
    .hoe-form-container { padding: 40px 48px 32px; }
    .hoe-nav-bar        { padding: 20px 48px; }
    .hoe-progress-wrap  { padding: 20px 48px 16px; }
    .hoe-map            { height: 300px; }
    .hoe-product-grid   { grid-template-columns: repeat(3, 1fr); }
}
