

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body, html {
    width: 100%; height: 100%;
    background-color: #050505; color: #fff;
    font-family: 'Inter', sans-serif;
    overflow: hidden; 
    -webkit-font-smoothing: antialiased;
}


.builder-header { position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: 100; }
.builder-close {
    position: absolute; right: calc(4vw + 156px); top: calc(2.5vw + clamp(50px, 7vw, 100px) / 2); transform: translateY(-50%);
    display: flex; align-items: center; gap: 8px; color: #FF9A3D; text-decoration: none; white-space: nowrap;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s;
}

.persistent-ui .header-top { pointer-events: none; }
.persistent-ui .header-top > * { pointer-events: auto; }
.builder-close:hover { color: #fff; }


#builder-main {
    width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative;
}
#step-container {
    width: 100%; max-width: 1000px; padding: 2rem; display: flex; flex-direction: column; align-items: center; text-align: center;
}


.step-number { font-family: 'League Spartan', sans-serif; font-size: 1rem; color: #FF9A3D; letter-spacing: 2px; margin-bottom: 1.5rem; font-weight: 600; }
.step-title { font-family: 'League Spartan', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-bottom: 1rem; color: #fff; letter-spacing: -0.02em; }
.step-desc { font-size: 1.1rem; color: #888; line-height: 1.6; max-width: 600px; margin: 0 auto 2rem auto; }
.accent-italic { color: #FF9A3D; font-style: italic; font-weight: 600; }


.input-wrapper { position: relative; width: 100%; max-width: 450px; margin: 0 auto 2.5rem auto; display: flex; align-items: center; gap: 10px; }
.input-line {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff; font-size: 1.8rem; padding: 10px 0; text-align: center; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.3s; font-weight: 300;
}
.input-line:focus { border-bottom-color: #fff; }
.input-line::placeholder { color: rgba(255, 255, 255, 0.2); }


.btn-next {
    background: #fff; color: #000; border: none; padding: 14px 35px; border-radius: 50px;
    font-family: 'League Spartan', sans-serif; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease;
}
.btn-next:hover { 
    transform: translateY(-3px); 
    background: #FF9A3D; 
    color: #000; 
    box-shadow: 0 4px 14px rgba(255, 154, 61, 0.18); 
}
.press-enter-hint { display: block; font-size: 0.75rem; color: #9a9aa0; margin-top: 1rem; font-weight: 500; }


.choice-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; width: 100%; max-width: 900px; margin-bottom: 2.5rem;
}
.choice-card {
    flex: 1 1 calc(30% - 1rem); min-width: 220px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; padding: 1.5rem; cursor: pointer; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 110px;
    position: relative; overflow: hidden;
}

.choice-card::before {
    content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg); animation: swirlSweep 4s infinite; pointer-events: none;
}
@keyframes swirlSweep {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; } 
}

.choice-card:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.03); }

.choice-card.selected { 
    border-color: #fff; 
    background: rgba(255, 255, 255, 0.08); 
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); 
}

.choice-label { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem; z-index: 2; position: relative;}
.choice-subtext { font-size: 0.85rem; color: #777; line-height: 1.4; z-index: 2; position: relative;}
.choice-price { font-size: 0.9rem; color: #FF9A3D; font-weight: 500; margin-top: 0.4rem; z-index: 2; position: relative;}


.summary-box { width: 100%; max-width: 650px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); text-align: left; }
.summary-top { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sum-left .est-badge { border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 4px 10px; font-size: 0.7rem; color: #888; font-weight: 600; letter-spacing: 1px;}
.sum-left .sum-price { font-family: 'League Spartan', sans-serif; font-size: 3.5rem; font-weight: 700; margin-top: 15px; color: #fff; line-height: 1;}
.sum-delivery { display: flex; justify-content: space-between; padding: 1rem 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sum-scroll-list { max-height: 250px; overflow-y: auto; padding-right: 15px; }
.sum-scroll-list::-webkit-scrollbar { width: 6px; }
.sum-scroll-list::-webkit-scrollbar-thumb { background: #FF9A3D; border-radius: 10px; }
.sum-item { display: flex; justify-content: space-between; padding: 1rem 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ccc;}
.sum-item strong { color: #fff; }
.sum-disclaimer { font-size: 0.85rem; color: #888; margin-top: 1rem; }


#estimate-pill {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px);
    background: #FF9A3D; border: 1px solid #FF9A3D; padding: 10px 25px; border-radius: 50px; display: flex; align-items: center; gap: 15px; opacity: 0; pointer-events: none; transition: all 0.5s ease;
}
#estimate-pill.active { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.estimate-label { font-size: 0.7rem; color: #000; letter-spacing: 2px; font-weight: 700; }
.estimate-value { font-family: 'League Spartan', sans-serif; font-size: 1.4rem; font-weight: 700; color: #000; }

#progress-nav {
    position: absolute; bottom: 0; right: 0; display: flex; align-items: stretch; background: transparent; border-top-left-radius: 8px; overflow: hidden;
}
.progress-info { padding: 15px 20px; display: flex; flex-direction: column; gap: 8px; background: #FF9A3D; }
#progress-percentage { font-size: 0.7rem; color: #000; letter-spacing: 1px; font-weight: 800; }
.progress-track { width: 120px; height: 3px; background: rgba(0, 0, 0, 0.2); border-radius: 2px; }
.progress-fill { height: 100%; width: 0%; background: #ffffff; transition: width 0.4s ease; }
.progress-arrows { display: flex; flex-direction: column; border-left: 1px solid rgba(0, 0, 0, 0.15); }
.nav-arrow { background: #FF9A3D; border: none; border-bottom: 1px solid rgba(0, 0, 0, 0.15); color: #000; width: 40px; flex: 1; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: color 0.3s, background 0.3s; }
.nav-arrow:hover { background: #ffffff; color: #000; }
.nav-arrow:last-child { border-bottom: none; }


@media (max-width: 768px) {
    
    
    .builder-close { right: calc(4vw + 140px); gap: 6px; letter-spacing: 1.5px; }
    
    
    #step-container { padding: 4.5rem 1.5rem 3rem 1.5rem; width: 100%; max-width: 100%; }

    
    .step-number { font-size: 0.75rem; margin-bottom: 0.5rem; }
    .step-title { font-size: clamp(1.2rem, 5vw, 1.6rem) !important; margin-bottom: 0.5rem !important; line-height: 1.2; }
    .step-desc { font-size: 0.85rem; margin-bottom: 1rem; line-height: 1.3; }

    
    .choice-grid {
        display: flex;
        flex-direction: column; 
        gap: 6px;               
        width: 100%;
        margin-bottom: 1rem;
    }
    
    
    .choice-card {
        min-height: auto;
        padding: 12px 15px;      
        width: 100%;
        display: flex;
        flex-direction: row;     
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        min-width: unset;
        flex: unset;
    }

    .choice-label {
        font-size: 0.85rem;
        line-height: 1.3;
        margin: 0;
        text-align: left;
        flex: 1;                 
    }

    .choice-price {
        font-size: 0.8rem;
        color: #FF9A3D;
        font-weight: 700;
        margin-left: 10px;
    }
    
    .choice-subtext {
        width: 100%;             
        text-align: left;
        font-size: 0.7rem;
        margin-top: 4px;
        color: #888;
    }

    
    .input-wrapper { margin-bottom: 1.5rem; width: 100%; }
    .input-line { font-size: 1.2rem; padding: 8px 0; }

    
    .btn-next { padding: 12px 24px; font-size: 0.8rem; margin-top: 0 !important; }
    #submit-btn { margin-top: 1rem !important; }
    
    
    .press-enter-hint { display: none !important; }

    
    .summary-box { padding: 1rem; max-height: 45vh; overflow-y: auto; }
    .summary-top { flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 10px; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .sum-price { font-size: 2.2rem !important; margin-top: 5px !important; }
    .sum-delivery { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 0.75rem; padding-bottom: 10px; margin-bottom: 10px; }
    .sum-scroll-list { max-height: unset; overflow-y: visible; padding-right: 5px; }
    
    
    .sum-item { padding: 0.6rem 0; font-size: 0.8rem; gap: 4px; flex-direction: row; justify-content: space-between; align-items: center; }
    .sum-item strong { font-size: 0.85rem; color: #FF9A3D; white-space: nowrap; }
    .sum-item span { text-align: left; flex: 1; padding-right: 10px; }
    
    
    
    #progress-nav { transform: scale(0.85); transform-origin: bottom right; }
    
    
    #estimate-pill { transform: scale(0.85) translateX(-50%); transform-origin: center bottom; bottom: 4.5rem; left: 50%; }
    #estimate-pill.active { transform: scale(0.85) translateX(-50%) translateY(0); }
}


.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* Keep the progress badge visible above the cookie bar on phones */
@media (max-width: 768px) {
    body:has(#cookie-consent-banner:not(.hidden)) #progress-nav { bottom: 150px; }
}

@media (max-width: 768px) { .builder-close { font-size: 0.75rem; } }

/* New estimate summary (Oct 2026): one-time and monthly totals, tiers, two buttons */
.summary-top { gap: 2.5rem; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; }
.sum-left .sum-price small { font-size: 0.4em; color: #aaa; margin-left: 4px; }
.sum-note { font-size: 0.8rem; color: #aaa; margin-top: 8px; }
.sum-tier { font-style: normal; font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; color: #FF9A3D; border: 1px solid rgba(255,154,61,0.4); border-radius: 20px; padding: 2px 8px; margin-left: 6px; white-space: nowrap; }
.sum-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.5rem; }
.sum-actions .btn-next { margin-top: 0; }
.btn-ghost { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.35) !important; }
.btn-ghost:hover { border-color: #FF9A3D !important; color: #FF9A3D !important; }
@media (max-width: 768px) {
    .summary-top { gap: 1rem; }
    .step-content:has(.summary-box) { padding-top: 3.5rem; }
    .sum-actions .btn-next { width: 100%; }
}
