/* ═══════════════════════════════════════════════════════════════
   estimator.css — Public Estimator Styles
   
   Upload to: public_html/app/public/css/estimator.css
   Link from: Views/public/estimator/bathroom.php (and kitchen, general)
   
   CONTENTS:
   1. Page Layout & Typography
   2. Navbar Fixes
   3. Progress Bar (wizard dots)
   4. Step Panels (wizard show/hide)
   5. Cards (light default + dark variant)
   6. Step Navigation Buttons
   7. Size Selector Cards
   8. Tier Selector Cards (+ active color per tier)
   9. Variable Item Grid (inside dark card)
   10. Difficulty Slider
   11. Hero Price Display
   12. Cost Breakdown Box
   13. Tier Description Box
   14. Lead Capture Form
   15. Spam Protection (honeypot)
   16. Scope Reveal (post-email)
   17. Disclaimer
   18. Responsive Breakpoints
   ═══════════════════════════════════════════════════════════════ */


/* ─── 1. Page Layout & Typography ─── */

.est-wrap {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 60px;
}

.est-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px 20px 40px;
}

.est-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1f2e;
    text-align: center;
    margin-bottom: 6px;
}

.est-page-subtitle {
    font-size: 14px;
    color: #667;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}


/* ─── 2. Navbar Fixes ─── */

.pub-brand {
    white-space: nowrap;
}

.pub-navbar .container {
    flex-wrap: nowrap;
    gap: 12px;
}


/* ─── 3. Progress Bar ─── */

.est-progress {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
}

.est-progress-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-block;
}

.est-progress-dot--done {
    background: #57c1b6;
}

.est-progress-dot--active {
    background: #57c1b6;
    width: 28px;
    min-width: 28px;
    border-radius: 5px;
}


/* ─── 4. Step Panels ─── */

.est-step {
    display: none;
    animation: estFadeUp 0.2s ease;
}

.est-step--visible {
    display: block;
}

@keyframes estFadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ─── 5. Cards ─── */

.est-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.est-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1f2e;
    margin: 0 0 4px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.est-card-title .est-step-num {
    color: #57c1b6;
}

.est-card-hint {
    font-size: 13px;
    color: #667;
    margin-bottom: 16px;
}

/* Dark variant — used for variable items */
.est-card--dark {
    background: #1a1f2e;
    border: 1px solid #2a3040;
    color: #e2e8f0;
}

.est-card--dark .est-card-title {
    color: #fff;
}

.est-card--dark .est-card-title .est-step-num {
    color: #57c1b6;
}

.est-card--dark .est-card-hint {
    color: #8898aa;
}


/* ─── 6. Step Navigation Buttons ─── */

.est-step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.est-btn-back {
    background: #fff;
    color: #667;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.est-btn-back:hover {
    border-color: #57c1b6;
    color: #57c1b6;
}

.est-btn-next {
    background: #57c1b6;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.est-btn-next:hover {
    background: #3a9e94;
}


/* ─── 7. Size Selector Cards ─── */

.size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.size-card {
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.size-card:hover {
    border-color: #57c1b6;
}

.size-card--active {
    border-color: #57c1b6;
    background: rgba(87,193,182,0.06);
}

.size-card-dim {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1f2e;
}

.size-card-label {
    font-size: 11px;
    color: #8898aa;
    margin-top: 2px;
}

.size-card-sqft {
    font-size: 12px;
    color: #57c1b6;
    font-weight: 600;
    margin-top: 4px;
}

.size-name {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 4px;
}

.size-card:hover .size-name { color: #57c1b6; }

.size-dims {
    font-size: 14px;
    color: #57c1b6;
    font-weight: 600;
    margin-bottom: 4px;
}

.size-sqft {
    font-size: 12px;
    color: #8898aa;
    margin-bottom: 6px;
}

.size-desc {
    font-size: 12px;
    color: #8898aa;
    line-height: 1.4;
}

.size-card.custom-card {
    border-style: dashed;
}

.size-card.custom-card .size-name {
    color: #f5a623;
}

.step-label {
    font-size: 12px;
    color: var(--text-light, #8898aa);
}

.tier-price--muted {
    color: var(--text-light, #8898aa);
}


/* ─── 8. Tier Selector Cards ─── */

.tier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.tier-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tier-card--active {
    border-width: 3px;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.tier-card-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.tier-card-name {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 6px;
}

.tier-card-desc {
    font-size: 11px;
    color: #8898aa;
    line-height: 1.5;
    margin-bottom: 10px;
    min-height: 48px;
}

.tier-card-price {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    color: #57c1b6;
}

/* Active tier color variants */
.tier-card--standard.tier-card--active { border-color: #22c55e; }
.tier-card--standard.tier-card--active .tier-card-price { color: #22c55e; }

.tier-card--mid.tier-card--active { border-color: #3b82f6; }
.tier-card--mid.tier-card--active .tier-card-price { color: #3b82f6; }

.tier-card--high.tier-card--active { border-color: #eab308; }
.tier-card--high.tier-card--active .tier-card-price { color: #eab308; }

.tier-card--luxury.tier-card--active { border-color: #1a1f2e; }
.tier-card--luxury.tier-card--active .tier-card-price { color: #1a1f2e; }


/* ─── 9. Variable Item Grid (inside dark card) ─── */

.var-row {
    display: grid;
    grid-template-columns: 1fr 95px 95px 55px;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.var-row:last-child {
    border-bottom: none;
}

.var-item-name {
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 600;
}

.var-item-hint {
    font-size: 10px;
    color: #8898aa;
    display: block;
    font-weight: 400;
}

.var-input {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 5px;
    padding: 7px 8px;
    font-size: 14px;
    color: #fff;
    text-align: right;
    width: 100%;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
}

.var-input:focus {
    border-color: #57c1b6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(87,193,182,0.2);
}

.var-item-avg {
    font-size: 13px;
    font-weight: 700;
    color: #57c1b6;
    text-align: right;
    font-family: 'Oswald', sans-serif;
}

.var-col-header {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8898aa;
}

.var-sum-row {
    display: grid;
    grid-template-columns: 1fr 95px 95px 55px;
    gap: 10px;
    padding: 10px 0 0;
    border-top: 2px solid rgba(87,193,182,0.4);
    margin-top: 4px;
}

.var-sum-label {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.var-sum-value {
    font-size: 14px;
    font-weight: 700;
    color: #57c1b6;
    text-align: right;
    font-family: 'Oswald', sans-serif;
}


/* ─── 10. Difficulty Slider ─── */

.diff-pct {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #57c1b6;
    text-align: center;
    margin: 10px 0;
}

.diff-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #eab308 50%, #ef4444 100%);
    outline: none;
    cursor: pointer;
}

.diff-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #57c1b6;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.diff-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: #8898aa;
}

.diff-reason {
    font-size: 12px;
    color: #555;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.5;
}

.diff-reason::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #eab308;
}

.diff-none {
    font-size: 12px;
    color: #999;
    font-style: italic;
}


/* ─── 11. Hero Price Display ─── */

.est-hero {
    text-align: center;
    padding: 20px 0;
}

.est-hero-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8898aa;
}

.est-hero-price {
    font-family: 'Oswald', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #1a1f2e;
    margin: 4px 0;
}

.est-hero-sub {
    font-size: 13px;
    color: #8898aa;
}

.est-hero-diff {
    font-size: 12px;
    color: #eab308;
    margin-top: 4px;
}


/* ─── 12. Cost Breakdown Box ─── */

.est-breakdown {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.est-breakdown-line {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8898aa;
    padding: 3px 0;
}

.est-breakdown-value {
    color: #1a1f2e;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
}

.est-breakdown-line--diff {
    color: #eab308;
}

.est-breakdown-line--diff .est-breakdown-value {
    color: #eab308;
}


/* ─── 13. Tier Description Box ─── */

.tier-desc-box {
    background: #f0faf9;
    border: 1px solid #d0ece8;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

.tier-desc-label {
    font-weight: 700;
    color: #57c1b6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}


/* ─── 14. Lead Capture Form ─── */

.lead-form {
    max-width: 400px;
    margin: 0 auto;
}

.lead-form-input {
    width: 100%;
    background: #f8f9fa;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1a1f2e;
    margin-bottom: 10px;
}

.lead-form-input:focus {
    border-color: #57c1b6;
    outline: none;
}

.lead-form-input::placeholder {
    color: #aab;
}

.est-btn-submit {
    background: #57c1b6;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.est-btn-submit:hover {
    background: #3a9e94;
}

.est-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.lead-form-note {
    font-size: 11px;
    color: #aab;
    margin-top: 8px;
}


/* ─── 15. Spam Protection ─── */

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}


/* ─── 16. Scope Reveal (post-email) ─── */

.scope-reveal {
    display: none;
    animation: estFadeUp 0.3s ease;
}

.scope-reveal--visible {
    display: block;
}

.scope-cat {
    font-weight: 700;
    color: #57c1b6;
    margin-top: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scope-item {
    font-size: 13px;
    color: #333;
    padding: 2px 0 2px 12px;
}

.scope-item::before {
    content: "– ";
    color: #57c1b6;
    font-weight: 600;
}

.scope-confirm {
    text-align: center;
    margin-bottom: 16px;
}

.scope-confirm-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.scope-confirm-text {
    font-size: 14px;
    color: #22c55e;
    font-weight: 600;
}


/* ─── 17. Disclaimer ─── */

.est-disclaimer {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 20px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.est-disclaimer a {
    color: #57c1b6;
}


/* ─── 18. Responsive Breakpoints ─── */

@media (max-width: 768px) {
    .est-page-title { font-size: 24px; }
    .size-grid { grid-template-columns: 1fr 1fr; }
    .tier-grid { grid-template-columns: 1fr 1fr; }
    .var-row { grid-template-columns: 1fr 80px 80px 50px; gap: 6px; }
    .var-sum-row { grid-template-columns: 1fr 80px 80px 50px; gap: 6px; }
    .est-hero-price { font-size: 34px; }
}

@media (max-width: 480px) {
    .tier-grid { grid-template-columns: 1fr; }
    .var-row { grid-template-columns: 1fr; gap: 4px; }
    .var-sum-row { grid-template-columns: 1fr; gap: 4px; }
    .var-col-header { display: none; }
    .var-input { text-align: left; }
}


/* ═══════════════════════════════════════════════════════════════
   STEP-SPECIFIC STYLES (rooms, scope, tiers, customize, summary)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Step 1: Room Selection ─── */

.room-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px; max-width: 900px; margin: 0 auto;
}

.room-card {
    background: #fff; border: 2px solid var(--border);
    border-radius: 12px; padding: 28px 16px; text-align: center;
    cursor: pointer; transition: all 0.15s; text-decoration: none; display: block;
}
.room-card:hover {
    border-color: var(--teal); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(87,193,182,0.1);
}
.room-card .room-icon { font-size: 36px; margin-bottom: 10px; }
.room-card .room-name {
    font-family: 'Oswald', sans-serif; font-size: 16px;
    font-weight: 600; color: var(--text-dark); margin-bottom: 4px;
}
.room-card:hover .room-name { color: var(--teal); }
.room-card .room-desc { font-size: 12px; color: var(--text-light); line-height: 1.4; }
.gate-badge {
    display: inline-block; font-size: 10px; padding: 2px 8px;
    border-radius: 10px; background: rgba(245,166,35,0.1);
    color: #c47d10; margin-top: 6px;
}


/* ─── Step 2: Size/Scope Selection ─── */

.size-grid-pub {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px; max-width: 900px; margin: 0 auto;
}

.size-card-pub {
    background: #fff; border: 2px solid var(--border);
    border-radius: 12px; padding: 24px 20px; text-align: center;
    cursor: pointer; transition: all 0.15s; text-decoration: none; display: block;
}
.size-card-pub:hover {
    border-color: var(--teal); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(87,193,182,0.1);
}
.size-card-pub .size-name {
    font-family: 'Oswald', sans-serif; font-size: 18px;
    font-weight: 600; color: var(--text-dark); margin-bottom: 4px;
}
.size-card-pub:hover .size-name { color: var(--teal); }
.size-card-pub .size-dims { font-size: 13px; color: var(--teal); font-weight: 600; margin-bottom: 6px; }
.size-card-pub .size-sqft { font-size: 12px; color: var(--text-light); }
.size-card-pub .size-desc { font-size: 12px; color: var(--text-light); margin-top: 8px; line-height: 1.4; }
.size-card-pub.custom-card { border-style: dashed; }
.size-card-pub.custom-card .size-name { color: var(--accent); }


/* ─── Step 3: Tier Comparison ─── */

.tier-grid-pub {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; max-width: 960px; margin: 0 auto;
}

.tier-card-pub {
    background: #fff; border: 2px solid var(--border);
    border-radius: 12px; padding: 28px 20px; text-align: center;
    transition: all 0.15s; cursor: pointer; text-decoration: none;
    display: block; position: relative; color: var(--text-dark);
}
.tier-card-pub:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(87,193,182,0.12);
    border-color: var(--teal);
}
.tier-card-pub .tier-color-bar {
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px; border-radius: 12px 12px 0 0;
}
.tier-card-pub .tier-name {
    font-family: 'Oswald', sans-serif; font-size: 20px;
    font-weight: 600; color: var(--text-dark); margin: 8px 0 12px;
}
.tier-card-pub:hover .tier-name { color: var(--teal); }
.tier-card-pub .tier-desc {
    font-size: 12px; color: var(--text-light); line-height: 1.5; min-height: 54px;
}
.tier-card-pub .tier-price-label {
    font-size: 10px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-light); margin-top: 16px;
}
.tier-card-pub .tier-price {
    font-family: 'Oswald', sans-serif; font-size: 24px;
    font-weight: 700; color: var(--teal); margin: 4px 0;
}
.tier-card-pub .tier-price-note { font-size: 11px; color: var(--text-light); font-style: italic; }
.tier-card-pub .tier-cta {
    display: inline-block; margin-top: 16px; padding: 8px 24px;
    border-radius: 6px; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    background: var(--teal); color: #fff; transition: background 0.15s;
}
.tier-card-pub:hover .tier-cta { background: var(--teal-dark); }

.tier-breakdown {
    display: none; margin-top: 12px; text-align: left; font-size: 11px;
    border-top: 1px solid var(--border); padding-top: 10px;
}
.tier-card-pub:hover .tier-breakdown { display: block; }
.tier-breakdown .bd-row {
    display: flex; justify-content: space-between; padding: 2px 0; color: var(--text-light);
}
.tier-breakdown .bd-row .bd-val { color: var(--text-dark); font-weight: 600; }

.tier-card-pub.recommended { border-color: var(--teal); box-shadow: 0 4px 16px rgba(87,193,182,0.1); overflow: visible; }
.recommended-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--teal); color: #fff; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 4px 14px; border-radius: 10px; white-space: nowrap; z-index: 1;
}


/* ─── Step 4: Customize ─── */

.customize-layout { max-width: 800px; margin: 0 auto; padding-bottom: 90px; }

.cat-section {
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; margin-bottom: 12px; overflow: visible;
}
.cat-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; cursor: pointer; user-select: none; transition: background 0.1s;
}
.cat-header:hover { background: #fafbfc; }
.cat-title {
    font-family: 'Oswald', sans-serif; font-size: 14px;
    font-weight: 600; color: var(--text-dark);
}
.cat-count { font-size: 11px; color: var(--text-light); font-weight: 400; margin-left: 6px; }
.cat-header-right { display: flex; align-items: center; gap: 8px; }
.cat-subtotal {
    font-family: 'Oswald', sans-serif; font-size: 13px;
    font-weight: 600; color: var(--teal);
}
.cat-arrow { font-size: 11px; color: var(--text-light); transition: transform 0.2s; margin-left: 10px; }
.cat-section.open .cat-arrow { transform: rotate(180deg); }
.cat-body { display: none; padding: 0 18px 14px; border-top: 1px solid var(--border); }
.cat-section.open .cat-body { display: block; }

.line-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 11px 0; border-bottom: 1px solid #f0f2f5;
}
.line-item:last-child { border-bottom: none; }
.line-item input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--teal);
    cursor: pointer; flex-shrink: 0; margin-top: 2px;
}
.line-info { flex: 1; min-width: 0; }
.line-label { font-size: 13px; font-weight: 500; color: var(--text-dark); }
.line-desc { font-size: 11px; color: var(--text-light); line-height: 1.4; margin-top: 2px; }
.line-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.qty-wrap { display: flex; align-items: center; gap: 4px; }
.qty-input {
    width: 60px; border: 1.5px solid var(--border); border-radius: 5px;
    padding: 4px 6px; font-size: 13px; text-align: center;
    font-family: 'Source Sans 3', sans-serif;
}
.qty-input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 2px rgba(87,193,182,0.12); }
.qty-unit { font-size: 11px; color: var(--text-light); white-space: nowrap; }

.line-price {
    font-family: 'Oswald', sans-serif; font-size: 13px;
    font-weight: 600; color: var(--teal); white-space: nowrap;
    text-align: right; min-width: 90px;
}
.line-price.zero { color: var(--text-light); }

.price-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--dark); color: #fff;
    padding: 12px 24px; z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.price-bar-inner {
    max-width: 800px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.pb-label {
    font-size: 10px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: #8898aa;
}
.pb-total {
    font-family: 'Oswald', sans-serif; font-size: 20px;
    font-weight: 700; color: var(--teal);
}
.pb-items { font-size: 11px; color: #667; }
.btn-next-pub {
    background: var(--teal); color: #fff; padding: 10px 28px;
    border-radius: 6px; font-family: 'Oswald', sans-serif;
    font-size: 14px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; text-decoration: none; border: none;
    cursor: pointer; transition: background 0.15s;
}
.btn-next-pub:hover { background: var(--teal-dark); color: #fff; }

.select-hint { text-align: center; padding: 12px; font-size: 13px; color: var(--text-light); }


/* ─── Step 5: Summary ─── */

.summary-layout { max-width: 700px; margin: 0 auto; }

.result-card {
    background: #fff; border: 2px solid var(--teal);
    border-radius: 12px; padding: 28px; text-align: center; margin-bottom: 20px;
}
.result-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-light);
}
.result-total {
    font-family: 'Oswald', sans-serif; font-size: 34px;
    font-weight: 700; color: var(--teal); margin: 4px 0;
}
.result-meta { font-size: 13px; color: var(--text-light); margin-top: 6px; }
.result-tier-badge {
    display: inline-block; padding: 4px 14px; border-radius: 14px;
    font-size: 11px; font-weight: 600; margin-top: 6px;
}

.breakdown-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; margin-bottom: 16px; overflow: hidden;
}
.bd-cat-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 18px; background: #fafbfc;
    border-bottom: 1px solid var(--border); cursor: pointer;
}
.bd-cat-name {
    font-family: 'Oswald', sans-serif; font-size: 14px;
    font-weight: 600; color: var(--text-dark);
}
.bd-cat-total {
    font-family: 'Oswald', sans-serif; font-size: 14px;
    font-weight: 600; color: var(--teal);
}
.bd-items { padding: 0 18px; }
.bd-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid #f0f2f5; font-size: 13px;
}
.bd-item:last-child { border-bottom: none; }
.bd-item-label { color: var(--text-dark); }
.bd-item-qty { color: var(--text-light); font-size: 11px; margin-left: 6px; }
.bd-item-price {
    font-weight: 600; color: var(--teal);
    font-family: 'Oswald', sans-serif; font-size: 13px; white-space: nowrap;
}

.lead-card {
    background: #fff; border: 2px solid var(--teal);
    border-radius: 12px; padding: 28px; margin-bottom: 20px;
}
.lead-card h3 {
    font-size: 18px; font-weight: 600; color: var(--text-dark);
    margin-bottom: 4px; font-family: 'Oswald', sans-serif;
}
.lead-card .lead-sub { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.lead-card .form-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--text-mid);
}
.lead-card .form-control,
.lead-card .form-select {
    border: 1.5px solid var(--border); border-radius: 6px;
    padding: 9px 12px; font-size: 13px;
}
.lead-card .form-control:focus {
    border-color: var(--teal); box-shadow: 0 0 0 3px rgba(87,193,182,0.12);
}
.btn-submit {
    background: var(--teal); color: #fff; padding: 12px 32px;
    border-radius: 6px; font-family: 'Oswald', sans-serif;
    font-size: 15px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; border: none; cursor: pointer;
    width: 100%; transition: background 0.15s;
}
.btn-submit:hover { background: var(--teal-dark); }
.privacy-note { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 10px; }

.success-msg {
    text-align: center; padding: 24px;
    background: rgba(87,193,182,0.06); border-radius: 10px;
    border: 1px solid rgba(87,193,182,0.15); margin-bottom: 20px;
}
.success-msg h3 { color: var(--teal); font-size: 20px; margin-bottom: 6px; }
.success-msg p { color: var(--text-mid); font-size: 14px; margin: 0; }


/* ─── Step-Specific Responsive ─── */

@media (max-width: 992px) { .tier-grid-pub { grid-template-columns: 1fr 1fr; } }

@media (max-width: 768px) {
    .room-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .room-card { padding: 20px 12px; }
    .size-grid-pub { grid-template-columns: 1fr 1fr; gap: 10px; }
    .line-item { flex-wrap: wrap; }
    .line-right { width: 100%; padding-left: 28px; margin-top: 6px; }
    .price-bar { padding: 10px 14px; }
    .pb-total { font-size: 17px; }
    .pb-items { display: none; }
}

@media (max-width: 576px) {
    .tier-grid-pub { grid-template-columns: 1fr; max-width: 360px; }
    .result-total { font-size: 26px; }
}

css/* Mobile labels for variable items — hidden on desktop, visible when stacked */
.var-mobile-label {
    display: none;
    font-size: 11px;
    font-weight: 600;
    color: #8898aa;
    margin-right: 6px;
}

@media (max-width: 480px) {
    .var-mobile-label { display: inline; }
}
