/* ============================================
   ELEGANT VISIT — Responsive Breakpoints
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --text-6xl: 2.75rem;
        --text-5xl: 2.25rem;
        --text-4xl: 2rem;
        --section-padding: var(--space-3xl) var(--space-lg);
    }

    .grid--4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid--3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .hero__title {
        font-size: var(--text-5xl);
    }

    .wizard__step-label {
        display: none;
    }

    .cta-banner {
        padding: var(--space-2xl);
    }
}

/* ============================================
   Mobile Navigation — 1099px breakpoint
   ============================================ */
@media (max-width: 1099px) {
    .nav__toggle {
        display: flex;
    }

    /* --- Dark backdrop overlay --- */
    .nav__overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--duration-normal) var(--ease-out),
            visibility 0s linear var(--duration-normal);
        cursor: pointer;
    }

    .nav__overlay--visible {
        opacity: 1;
        visibility: visible;
        transition: opacity var(--duration-normal) var(--ease-out),
            visibility 0s linear 0s;
    }

    /* --- Close button --- */
    .nav__close {
        position: absolute;
        top: var(--space-md);
        right: var(--space-md);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-text);
        border-radius: var(--radius-full);
        transition: background var(--duration-fast) var(--ease-out);
        padding: 0;
    }

    .nav__close:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        width: 85%;
        max-width: 320px;
        background: #FFFFFF;
        padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
        transform: translateX(101%);
        visibility: hidden;
        z-index: 9999;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        transition: transform var(--duration-slow) var(--ease-out),
            visibility 0s linear var(--duration-slow);
    }

    /* Only animate when opening/closing via JS, avoid resize ghosts */
    .nav__menu.nav__menu--open,
    .nav__menu.nav__menu--animating {
        transition: transform var(--duration-slow) var(--ease-out),
            visibility 0s linear 0s;
    }

    .nav__menu:not(.nav__menu--open):not(.nav__menu--animating) {
        transition: transform 0s, visibility 0s linear var(--duration-slow);
    }

    .nav__menu--open {
        transform: translateX(0);
        visibility: visible;
        transition: transform var(--duration-slow) var(--ease-out),
            visibility 0s linear 0s;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--space-md);
    }

    .nav__link,
    .header--hero .nav__link,
    .header--hero .nav__list li a {
        font-size: var(--text-lg);
        padding: var(--space-sm) 0;
        width: 100%;
        color: var(--color-primary) !important;
    }

    .nav__link:hover,
    .nav__link--active,
    .header--hero .nav__link:hover,
    .header--hero .nav__link--active {
        color: var(--color-primary-dark);
    }

    .nav__cta {
        width: 100%;
        margin-top: var(--space-md);
    }

    .nav__cta .btn {
        width: 100%;
    }

    /* Prevent mobile menu from showing on desktop if left open */
    :root:has(.nav__menu--open) {
        overflow: hidden;
    }
}

@media (min-width: 1100px) {
    .nav__menu {
        transform: none;
        visibility: visible;
        position: static;
        width: auto;
        max-width: none;
        background: none;
        padding: 0;
        box-shadow: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        overflow-y: visible;
        transition: none;
    }

    .nav__overlay,
    .nav__close {
        display: none;
    }
}

/* ============================================
   Tablet/Small — 768px breakpoint
   ============================================ */
@media (max-width: 768px) {
    :root {
        --text-6xl: 2.25rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --section-padding: var(--space-2xl) var(--space-md);
        --header-height: 64px;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr !important;
    }

    .hero {
        min-height: 90vh;
        text-align: center;
    }

    .hero__content {
        margin: 0 auto;
    }

    .hero__subtitle {
        margin: 0 auto var(--space-2xl);
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__badge {
        margin: 0 auto var(--space-xl);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__brand {
        max-width: 100%;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .wizard__connector {
        width: 24px;
    }

    .wizard__step-number {
        width: 32px;
        height: 32px;
        font-size: var(--text-xs);
    }

    .page-hero {
        padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
    }

    .page-hero__title {
        font-size: var(--text-3xl);
    }

    .cta-banner {
        padding: var(--space-2xl) var(--space-lg);
        border-radius: var(--radius-lg);
    }

    .cta-banner__title {
        font-size: var(--text-2xl);
    }

    .zip-checker {
        flex-direction: column;
    }

    .option-card {
        flex-direction: column;
        text-align: center;
    }

    .option-card__radio {
        align-self: center;
    }
}

@media (max-width: 480px) {
    :root {
        --text-6xl: 2rem;
        --text-5xl: 1.75rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.25rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .card {
        padding: var(--space-xl);
    }

    .section__header {
        margin-bottom: var(--space-2xl);
    }

    .btn--lg {
        padding: 0.875rem 1.5rem;
        font-size: var(--text-sm);
    }

    .counter__value {
        font-size: var(--text-3xl);
    }

    .testimonial {
        padding: var(--space-xl);
    }

    .estimate-summary {
        padding: var(--space-xl);
    }
}

@media (min-width: 1440px) {
    :root {
        --text-6xl: 4rem;
    }

    .hero__title {
        font-size: var(--text-6xl);
    }
}

/* ============================================
   ESTIMATE WIZARD — RESPONSIVE HARD OVERRIDES
   Keep compact row cards on tablet/mobile
   ============================================ */
@media (max-width: 1024px) {
    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 12px !important;
    }

    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__content,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__content {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__icon,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__icon {
        margin: 0 !important;
    }

    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__desc,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__desc,
    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__check,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__check {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style],
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style] {
        grid-template-columns: 1fr !important;
    }

    .page-template-page-estimate .ev-estimate-card .wizard__step-label,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step-label {
        display: block !important;
        font-size: 0.72rem !important;
    }
}

/* ============================================
   ESTIMATE WIZARD — ORIGINAL LOOK LOCK
   ============================================ */
.page-template-page-estimate .ev-estimate-card,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card {
    border-radius: 28px !important;
    background: #f4f4f3 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.05) !important;
}

.page-template-page-estimate .ev-estimate-card .ev-estimate-header,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .ev-estimate-header {
    padding: 30px 38px 24px !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light) 55%, #4ca776) !important;
}

.page-template-page-estimate .ev-estimate-card .ev-estimate-header__title,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .ev-estimate-header__title {
    font-size: clamp(2rem, 3vw, 2.85rem) !important;
    line-height: 1.02 !important;
}

.page-template-page-estimate .ev-estimate-card .ev-estimate-body,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .ev-estimate-body {
    padding: 0 38px 34px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__progress,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__progress {
    margin: -18px 0 26px !important;
    padding: 0 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__progress::before,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__progress::before {
    top: 18px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step-number {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.8rem !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step-label,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step-label {
    font-size: 0.66rem !important;
    letter-spacing: 0.08em !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] h2,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] h2 {
    margin: 0 0 10px !important;
    text-align: left !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style],
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    background: #efeeec !important;
    text-align: left !important;
    min-height: 0 !important;
    box-shadow: none !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card:hover,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card:hover {
    transform: none !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card--selected,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card--selected {
    border-color: var(--color-primary) !important;
    background: #f4faf7 !important;
    box-shadow: 0 0 0 1px rgba(27, 67, 50, 0.14) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__icon,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__icon {
    margin: 0 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #ebdfbe !important;
    color: var(--color-primary) !important;
    flex-shrink: 0 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card--selected .option-card__icon,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card--selected .option-card__icon {
    background: var(--color-primary) !important;
    color: #fff !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__content,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__content {
    align-items: flex-start !important;
    text-align: left !important;
    gap: 0 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__title,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__title {
    margin: 0 !important;
    max-width: none !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__desc,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__desc {
    display: none !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__price,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__price {
    margin: 4px 0 0 !important;
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    color: #7a756d !important;
    font-weight: 500 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-section,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-section {
    margin-top: 16px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-section h3,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-section h3 {
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pills,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pills {
    gap: 8px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pill,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pill {
    padding: 7px 14px !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
    background: transparent !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pill--active,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pill--active {
    border-color: var(--color-primary) !important;
    background: rgba(27, 67, 50, 0.06) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pill__label,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pill__label,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pill__badge,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .frequency-pill__badge {
    font-size: 0.8rem !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .wizard__actions,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .wizard__actions {
    margin-top: 16px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    display: block !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .wizard__actions > div:first-child,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .wizard__actions > div:first-child {
    display: none !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .wizard__actions .btn--primary,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .wizard__actions .btn--primary {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 14px !important;
}

/* remove checkbox-like visuals everywhere in wizard UI */
.page-template-page-estimate .ev-estimate-card .day-checkbox__box,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .day-checkbox__box {
    display: none !important;
}

.page-template-page-estimate .ev-estimate-card .day-checkbox,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .day-checkbox {
    border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 999px !important;
    padding: 6px 10px !important;
    background: #fff !important;
    min-height: 0 !important;
}

.page-template-page-estimate .ev-estimate-card .day-checkbox input:checked ~ .day-checkbox__label,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .day-checkbox input:checked ~ .day-checkbox__label {
    color: var(--color-primary) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__check,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__check,
.page-template-page-estimate .ev-estimate-card .option-card__radio,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .option-card__radio {
    display: none !important;
}

@media (max-width: 900px) {
    .page-template-page-estimate .ev-estimate-card .ev-estimate-header,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .ev-estimate-header {
        padding: 22px 22px 18px !important;
    }

    .page-template-page-estimate .ev-estimate-card .ev-estimate-body,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .ev-estimate-body {
        padding: 0 16px 20px !important;
    }

    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style],
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   ESTIMATE WIZARD — LIVE MATCH LOCK (v4)
   Final protection from legacy oversized rules
   ============================================ */
.page-template-page-estimate .ev-estimate-card .wizard__panel h2,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel h2 {
    margin: 0 0 12px !important;
    text-align: left !important;
    font-family: var(--font-display) !important;
    font-size: clamp(2rem, 3.2vw, 2.95rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.015em !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] h2,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] h2 {
    font-family: var(--font-body) !important;
    font-size: 0.88rem !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] > p[style],
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] > p[style],
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] > p[style],
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] > p[style] {
    margin: 0 0 14px !important;
    text-align: left !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__actions,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__actions {
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__actions .btn,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__actions .btn {
    min-height: 50px !important;
    border-radius: 14px !important;
    font-size: 0.98rem !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card {
    min-height: 0 !important;
    padding: 14px !important;
    border-radius: 14px !important;
    border: 1.5px solid rgba(0, 0, 0, 0.11) !important;
    background: #f6f6f5 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card:hover,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card:hover {
    transform: none !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card--selected,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card--selected {
    border-color: var(--color-primary) !important;
    background: #f4faf7 !important;
    box-shadow: 0 0 0 1px rgba(27, 67, 50, 0.14) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    margin: 0 !important;
    background: #ebdfbe !important;
    color: var(--color-primary) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon svg,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon svg {
    width: 18px !important;
    height: 18px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__name,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__name {
    font-size: 0.96rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__price,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__price {
    font-family: var(--font-body) !important;
    font-size: 0.88rem !important;
    color: #746f66 !important;
    margin: 0 !important;
}

@media (max-width: 980px) {
    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .page-template-page-estimate .ev-estimate-card .wizard__panel h2,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel h2 {
        font-size: clamp(1.62rem, 8vw, 2.18rem) !important;
    }

    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   ESTIMATE WIZARD — STATE + ALIGN FIX (v5)
   ============================================ */
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card,
.ev-estimate-card .wizard__panel[data-panel="1"] .option-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 12px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__content,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__content,
.ev-estimate-card .wizard__panel[data-panel="1"] .option-card__content {
    display: block !important;
    flex: 1 !important;
    text-align: left !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__title,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__title,
.ev-estimate-card .wizard__panel[data-panel="1"] .option-card__title,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__price,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .option-card__price,
.ev-estimate-card .wizard__panel[data-panel="1"] .option-card__price {
    text-align: left !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--active .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--active .wizard__step-number,
.ev-estimate-card .wizard__step--active .wizard__step-number {
    background: #ddb65e !important;
    border-color: rgba(196, 154, 60, 0.22) !important;
    color: #1b4332 !important;
    transform: scale(1.14) !important;
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.22) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--active .wizard__step-label,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--active .wizard__step-label,
.ev-estimate-card .wizard__step--active .wizard__step-label {
    color: #1b4332 !important;
    font-weight: 700 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--done .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--done .wizard__step-number,
.ev-estimate-card .wizard__step--done .wizard__step-number {
    background: var(--color-primary-light) !important;
    border-color: rgba(196, 154, 60, 0.22) !important;
    color: #fff !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--done .wizard__step-label,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--done .wizard__step-label,
.ev-estimate-card .wizard__step--done .wizard__step-label {
    color: var(--color-primary-light) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--clickable,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--clickable,
.ev-estimate-card .wizard__step--clickable {
    cursor: pointer !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--clickable:hover .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--clickable:hover .wizard__step-number,
.ev-estimate-card .wizard__step--clickable:hover .wizard__step-number {
    border-color: #1b4332 !important;
    color: #1b4332 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--clickable:focus-visible .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--clickable:focus-visible .wizard__step-number,
.ev-estimate-card .wizard__step--clickable:focus-visible .wizard__step-number {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.25) !important;
}

.page-template-page-estimate .ev-estimate-card .day-checkbox,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .day-checkbox,
.ev-estimate-card .day-checkbox {
    cursor: pointer !important;
}

.page-template-page-estimate .ev-estimate-card .day-checkbox.day-checkbox--selected,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .day-checkbox.day-checkbox--selected,
.ev-estimate-card .day-checkbox.day-checkbox--selected {
    border-color: var(--color-primary) !important;
    background: rgba(27, 67, 50, 0.08) !important;
}

.page-template-page-estimate .ev-estimate-card .day-checkbox.day-checkbox--selected .day-checkbox__label,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .day-checkbox.day-checkbox--selected .day-checkbox__label,
.ev-estimate-card .day-checkbox.day-checkbox--selected .day-checkbox__label {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

/* ============================================
   ESTIMATE WIZARD — FINAL POLISH (v6)
   ============================================ */
.page-template-page-estimate .ev-estimate-card .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step-number,
.ev-estimate-card .wizard__step-number {
    border: 2px solid rgba(196, 154, 60, 0.3) !important;
    background: #f7f4ee !important;
    color: #8f877b !important;
    transform: none !important;
    box-shadow: none !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--active .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--active .wizard__step-number,
.ev-estimate-card .wizard__step--active .wizard__step-number {
    background: #1b533d !important;
    color: #ffffff !important;
    border-color: rgba(196, 154, 60, 0.3) !important;
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.22) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--done .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--done .wizard__step-number,
.ev-estimate-card .wizard__step--done .wizard__step-number {
    background: #caa23f !important;
    color: #ffffff !important;
    border-color: rgba(196, 154, 60, 0.3) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--active .wizard__step-label,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--active .wizard__step-label,
.ev-estimate-card .wizard__step--active .wizard__step-label {
    color: #1b533d !important;
    font-weight: 700 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--done .wizard__step-label,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--done .wizard__step-label,
.ev-estimate-card .wizard__step--done .wizard__step-label {
    color: #b2862c !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--clickable:hover .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--clickable:hover .wizard__step-number,
.ev-estimate-card .wizard__step--clickable:hover .wizard__step-number {
    transform: none !important;
    border-color: rgba(196, 154, 60, 0.3) !important;
    box-shadow: none !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__step--clickable:not(.wizard__step--done):not(.wizard__step--active):hover .wizard__step-number,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__step--clickable:not(.wizard__step--done):not(.wizard__step--active):hover .wizard__step-number,
.ev-estimate-card .wizard__step--clickable:not(.wizard__step--done):not(.wizard__step--active):hover .wizard__step-number {
    background: #f0ece6 !important;
    color: #6f685d !important;
}

.page-template-page-estimate .ev-estimate-card .option-card,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .option-card,
.ev-estimate-card .option-card,
.page-template-page-estimate .ev-estimate-card .addon-card,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .addon-card,
.ev-estimate-card .addon-card,
.page-template-page-estimate .ev-estimate-card .frequency-pill,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .frequency-pill,
.ev-estimate-card .frequency-pill,
.page-template-page-estimate .ev-estimate-card .day-checkbox,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .day-checkbox,
.ev-estimate-card .day-checkbox {
    transform: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease !important;
}

.page-template-page-estimate .ev-estimate-card .option-card:not(.option-card--selected):hover,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .option-card:not(.option-card--selected):hover,
.ev-estimate-card .option-card:not(.option-card--selected):hover {
    background: #f5f4f1 !important;
    border-color: rgba(27, 67, 50, 0.24) !important;
    box-shadow: none !important;
}

.page-template-page-estimate .ev-estimate-card .addon-card:not(.addon-card--selected):hover,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .addon-card:not(.addon-card--selected):hover,
.ev-estimate-card .addon-card:not(.addon-card--selected):hover {
    background: #f5f4f1 !important;
    border-color: rgba(27, 67, 50, 0.24) !important;
    box-shadow: none !important;
}

.page-template-page-estimate .ev-estimate-card .frequency-pill:hover,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .frequency-pill:hover,
.ev-estimate-card .frequency-pill:hover {
    background: rgba(27, 67, 50, 0.05) !important;
    border-color: rgba(27, 67, 50, 0.25) !important;
}

.page-template-page-estimate .ev-estimate-card .day-checkbox:hover,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .day-checkbox:hover,
.ev-estimate-card .day-checkbox:hover {
    background: rgba(27, 67, 50, 0.05) !important;
    border-color: rgba(27, 67, 50, 0.22) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__actions .btn,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__actions .btn,
.ev-estimate-card .wizard__actions .btn {
    min-height: 52px !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__actions .btn--primary,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__actions .btn--primary,
.ev-estimate-card .wizard__actions .btn--primary {
    background: #1b533d !important;
    border: 1px solid #1b533d !important;
    color: #ffffff !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__actions .btn--primary:hover,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__actions .btn--primary:hover,
.ev-estimate-card .wizard__actions .btn--primary:hover {
    background: #15402f !important;
    border-color: #15402f !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__actions .btn--secondary,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__actions .btn--secondary,
.ev-estimate-card .wizard__actions .btn--secondary {
    border: 1.5px solid rgba(27, 67, 50, 0.33) !important;
    color: #1b533d !important;
    background: #f3f0ea !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__actions .btn--secondary:hover,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__actions .btn--secondary:hover,
.ev-estimate-card .wizard__actions .btn--secondary:hover {
    background: #ece7dd !important;
    border-color: rgba(27, 67, 50, 0.45) !important;
}

body.page-template-page-estimate:not(.home) .estimate-layout {
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 18px !important;
}

body.page-template-page-estimate:not(.home) .price-sidebar {
    position: sticky !important;
    top: calc(var(--header-height) + var(--space-xl)) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(196, 154, 60, 0.24) !important;
    background: #ece9e4 !important;
    box-shadow: 0 12px 32px rgba(16, 26, 21, 0.08) !important;
}

body.page-template-page-estimate:not(.home) .price-sidebar__header {
    display: none !important;
}

body.page-template-page-estimate:not(.home) .price-sidebar__body {
    padding: 20px 24px !important;
}

body.page-template-page-estimate:not(.home) .price-sidebar__footer {
    display: none !important;
}

body.page-template-page-estimate:not(.home) .price-sidebar__summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(24, 24, 24, 0.09);
}

body.page-template-page-estimate:not(.home) .price-sidebar__summary-key {
    font-size: 0.98rem;
    color: #969084;
    font-weight: 500;
}

body.page-template-page-estimate:not(.home) .price-sidebar__summary-value {
    font-size: 0.98rem;
    color: #17181a;
    font-weight: 600;
    text-align: right;
}

body.page-template-page-estimate:not(.home) .price-sidebar__summary-row--total {
    border-bottom: 0;
    padding-top: 16px;
}

body.page-template-page-estimate:not(.home) .price-sidebar__summary-row--total .price-sidebar__summary-key {
    font-size: 1.02rem;
    color: #1c1f21;
    font-weight: 700;
}

body.page-template-page-estimate:not(.home) .price-sidebar__summary-row--total .price-sidebar__summary-value {
    font-family: var(--font-display);
    font-size: 2.05rem;
    line-height: 1;
    color: #1b533d;
}

/* force single-column embed on home booking section */
.home .home-rebuilt__book-right .estimate-layout,
.home .home-rebuilt__book-right .estimate-layout--embed {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
}

.home .home-rebuilt__book-right .price-sidebar {
    display: none !important;
}

@media (max-width: 1200px) {
    body.page-template-page-estimate:not(.home) .estimate-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-template-page-estimate:not(.home) .price-sidebar {
        position: relative !important;
        top: auto !important;
        margin-top: 12px !important;
    }
}

/* ============================================
   ESTIMATE WIZARD — STEP 3 COMPACT MATCH
   ============================================ */
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] h2,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] h2,
.ev-estimate-card .wizard__panel[data-panel="3"] h2 {
    margin: 0 0 8px !important;
    text-align: left !important;
    font-family: var(--font-body) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] > p[style],
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] > p[style],
.ev-estimate-card .wizard__panel[data-panel="3"] > p[style] {
    margin: 0 0 10px !important;
    text-align: left !important;
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
    color: #7a756d !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    background: #efeeec !important;
    box-shadow: none !important;
    text-align: left !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card:hover,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card:hover,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card:hover {
    transform: none !important;
    border-color: rgba(27, 67, 50, 0.24) !important;
    background: #f5f4f1 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card--selected,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card--selected,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card--selected {
    border-color: var(--color-primary) !important;
    background: #f4faf7 !important;
    box-shadow: 0 0 0 1px rgba(27, 67, 50, 0.14) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
    background: #ebdfbe !important;
    color: var(--color-primary) !important;
    flex-shrink: 0 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon svg,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon svg,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card--selected .addon-card__icon,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card--selected .addon-card__icon,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card--selected .addon-card__icon {
    background: var(--color-primary) !important;
    color: #fff !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card > div:last-child,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card > div:last-child,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 2px !important;
    min-width: 0 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__name,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__name,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__name {
    margin: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #15171b !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__price,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__price,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__price {
    margin: 2px 0 0 !important;
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #7a756d !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__check,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__check,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-card__check {
    display: none !important;
}

@media (max-width: 760px) {
    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
    .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   ESTIMATE WIZARD — STEP 4 FINAL ALIGN (v2)
   ============================================ */
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__select,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__select,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__input,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__select,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea {
    background: #ffffff !important;
    border-color: rgba(216, 188, 127, 0.55) !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input::placeholder,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea::placeholder,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input::placeholder,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea::placeholder,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__input::placeholder,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea::placeholder {
    color: #8b8478 !important;
}

/* style the visible flatpickr input (altInput) like other fields */
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .flatpickr-input.form__input[readonly],
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .flatpickr-input.form__input[readonly],
.ev-estimate-card .wizard__panel[data-panel="4"] .flatpickr-input.form__input[readonly] {
    background: #ffffff !important;
    border: 1.4px solid rgba(216, 188, 127, 0.55) !important;
    color: #1f1f1f !important;
    cursor: pointer !important;
}

/* calendar cleaner and more aligned with layout */
.flatpickr-calendar.ev-flatpickr {
    border-radius: 12px !important;
    border: 1px solid rgba(216, 188, 127, 0.7) !important;
    padding: 6px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-innerContainer {
    display: block !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-months .flatpickr-month {
    height: 44px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month {
    padding-top: 7px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-calendar.ev-flatpickr .flatpickr-current-month input.cur-year {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: #212325 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekdaycontainer {
    padding-top: 4px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekday {
    font-size: 0.8rem !important;
    letter-spacing: 0 !important;
}

.flatpickr-calendar.ev-flatpickr .dayContainer {
    padding-top: 2px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-day {
    max-width: 38px !important;
    height: 34px !important;
    line-height: 34px !important;
    margin: 2px 0 !important;
    border-radius: 9px !important;
    font-weight: 500 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-day.today {
    background: transparent !important;
    color: #8d6a1f !important;
    border: 1.5px solid rgba(216, 188, 127, 0.95) !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-day.selected,
.flatpickr-calendar.ev-flatpickr .flatpickr-day.startRange,
.flatpickr-calendar.ev-flatpickr .flatpickr-day.endRange {
    background: #1b533d !important;
    border-color: #1b533d !important;
    color: #fff !important;
}

/* align Cloudflare with Back button and shrink visual noise */
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions,
.ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .ev-turnstile-slot,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .ev-turnstile-slot,
.ev-estimate-card .wizard__panel[data-panel="4"] .ev-turnstile-slot {
    margin-top: 8px !important;
    justify-content: flex-start !important;
    opacity: 0.64 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] #cjp-turnstile-container,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] #cjp-turnstile-container,
.ev-estimate-card .wizard__panel[data-panel="4"] #cjp-turnstile-container {
    transform: scale(0.72) !important;
    transform-origin: left top !important;
}

@media (max-width: 760px) {
    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions,
    .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] #cjp-turnstile-container,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] #cjp-turnstile-container,
    .ev-estimate-card .wizard__panel[data-panel="4"] #cjp-turnstile-container {
        transform: scale(0.78) !important;
        transform-origin: left top !important;
    }
}

/* ============================================
   ESTIMATE WIZARD — BUTTON + TURNSTILE TUNE
   ============================================ */
.page-template-page-estimate .ev-estimate-card .wizard__actions .btn,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__actions .btn,
.ev-estimate-card .wizard__actions .btn {
    min-height: 44px !important;
    border-radius: 12px !important;
    font-size: 0.92rem !important;
    padding: 0.62rem 1.05rem !important;
    letter-spacing: 0.01em !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__actions .btn .btn__icon,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__actions .btn .btn__icon,
.ev-estimate-card .wizard__actions .btn .btn__icon {
    width: 15px !important;
    height: 15px !important;
}

.page-template-page-estimate .ev-estimate-card #cjpSubmitBtn,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card #cjpSubmitBtn,
.ev-estimate-card #cjpSubmitBtn {
    min-height: 46px !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    padding: 0.72rem 1.1rem !important;
    letter-spacing: 0.01em !important;
}

.page-template-page-estimate .ev-estimate-card .coupon-btn,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .coupon-btn,
.ev-estimate-card .coupon-btn {
    min-height: 42px !important;
    border-radius: 11px !important;
    font-size: 0.88rem !important;
    padding: 0.54rem 0.95rem !important;
}

.page-template-page-estimate .ev-estimate-card .ev-turnstile-slot,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .ev-turnstile-slot,
.ev-estimate-card .ev-turnstile-slot {
    margin-top: 10px !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    opacity: 0.78 !important;
}

.page-template-page-estimate .ev-estimate-card #cjp-turnstile-container,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card #cjp-turnstile-container,
.ev-estimate-card #cjp-turnstile-container {
    transform: scale(0.86) !important;
    transform-origin: right center !important;
}

@media (max-width: 760px) {
    .page-template-page-estimate .ev-estimate-card .ev-turnstile-slot,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .ev-turnstile-slot,
    .ev-estimate-card .ev-turnstile-slot {
        justify-content: center !important;
    }

    .page-template-page-estimate .ev-estimate-card #cjp-turnstile-container,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card #cjp-turnstile-container,
    .ev-estimate-card #cjp-turnstile-container {
        transform: scale(0.82) !important;
        transform-origin: center center !important;
    }
}

/* ============================================
   ESTIMATE WIZARD — STEP 4 FORM + CALENDAR
   ============================================ */
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .coupon-input-group,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .coupon-input-group,
.ev-estimate-card .wizard__panel[data-panel="4"] .coupon-input-group {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__row,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__row,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__row {
    gap: 12px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__group,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__group,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__group {
    margin-bottom: 10px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__label,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__label,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__label {
    margin-bottom: 5px !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    color: #232323 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__select,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__select,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__input,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__select,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea {
    min-height: 44px !important;
    padding: 0.62rem 0.9rem !important;
    border-radius: 12px !important;
    border: 1.4px solid rgba(196, 154, 60, 0.35) !important;
    background: #f8f7f4 !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    color: #1f1f1f !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea {
    min-height: 100px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input:focus,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__select:focus,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea:focus,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input:focus,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__select:focus,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea:focus,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__input:focus,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__select:focus,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea:focus {
    border-color: #1b533d !important;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12) !important;
    outline: none !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .photo-upload__dropzone,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .photo-upload__dropzone,
.ev-estimate-card .wizard__panel[data-panel="4"] .photo-upload__dropzone {
    min-height: 132px !important;
    padding: 1rem !important;
    border-radius: 14px !important;
    border-width: 1.5px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .photo-upload__text,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .photo-upload__text,
.ev-estimate-card .wizard__panel[data-panel="4"] .photo-upload__text {
    font-size: 0.9rem !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .photo-upload__hint,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .photo-upload__hint,
.ev-estimate-card .wizard__panel[data-panel="4"] .photo-upload__hint {
    font-size: 0.82rem !important;
}

/* Custom calendar style */
.flatpickr-calendar.ev-flatpickr {
    background: #f6f5f2 !important;
    border: 1px solid rgba(196, 154, 60, 0.35) !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 30px rgba(16, 26, 21, 0.15) !important;
    padding: 8px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-months {
    margin-bottom: 4px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1c1f21 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekday {
    font-size: 0.78rem !important;
    color: #6e685d !important;
    font-weight: 600 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-day {
    border-radius: 9px !important;
    color: #252525 !important;
    font-size: 0.9rem !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-day:hover {
    background: rgba(27, 67, 50, 0.1) !important;
    border-color: transparent !important;
    color: #1b533d !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-day.today {
    border: 1.5px solid rgba(196, 154, 60, 0.65) !important;
    color: #8d6a1f !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-day.selected,
.flatpickr-calendar.ev-flatpickr .flatpickr-day.startRange,
.flatpickr-calendar.ev-flatpickr .flatpickr-day.endRange {
    background: #1b533d !important;
    border-color: #1b533d !important;
    color: #fff !important;
}

@media (max-width: 760px) {
    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .coupon-input-group,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .coupon-input-group,
    .ev-estimate-card .wizard__panel[data-panel="4"] .coupon-input-group {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   ESTIMATE WIZARD — STEP 4 FINAL FIX (DESKTOP/MOBILE)
   ============================================ */
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__select,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__input,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__select,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__input,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__select,
.ev-estimate-card .wizard__panel[data-panel="4"] .form__textarea,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .flatpickr-input.form__input[readonly],
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .flatpickr-input.form__input[readonly],
.ev-estimate-card .wizard__panel[data-panel="4"] .flatpickr-input.form__input[readonly] {
    background: #f6f5f2 !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book .ev-turnstile-slot,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book .ev-turnstile-slot,
.ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book .ev-turnstile-slot {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 8px !important;
}

.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book #cjp-turnstile-container,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book #cjp-turnstile-container,
.ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book #cjp-turnstile-container {
    transform: scale(0.82) !important;
    transform-origin: right center !important;
}

.flatpickr-calendar.ev-flatpickr {
    max-width: min(96vw, 320px) !important;
    width: 100% !important;
    z-index: 99999 !important;
}

/* Flatpickr grid stability: always 7 columns (fixes trailing 10/11 row artifacts) */
.flatpickr-calendar.ev-flatpickr {
    width: 320px !important;
    max-width: calc(100vw - 16px) !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekdaycontainer,
.flatpickr-calendar.ev-flatpickr .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekday,
.flatpickr-calendar.ev-flatpickr .flatpickr-day {
    width: calc(100% / 7) !important;
    max-width: calc(100% / 7) !important;
    flex-basis: calc(100% / 7) !important;
}

/* Keep current month visually clean: do not show previous/next month numbers in grid */
.flatpickr-calendar.ev-flatpickr .flatpickr-day.prevMonthDay,
.flatpickr-calendar.ev-flatpickr .flatpickr-day.nextMonthDay,
.flatpickr-calendar.ev-flatpickr .flatpickr-day.prevMonthDay.inRange,
.flatpickr-calendar.ev-flatpickr .flatpickr-day.nextMonthDay.inRange {
    color: transparent !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

@media (max-width: 760px) {
    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book .ev-turnstile-slot,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book .ev-turnstile-slot,
    .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book .ev-turnstile-slot {
        justify-content: center !important;
    }

    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book #cjp-turnstile-container,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book #cjp-turnstile-container,
    .ev-estimate-card .wizard__panel[data-panel="4"] .wizard__actions--book #cjp-turnstile-container {
        transform: scale(0.82) !important;
        transform-origin: center center !important;
    }
}

/* ============================================
   ESTIMATE LAYOUT — SIDEBAR RIGHT DESKTOP
   ============================================ */
body.page-template-page-estimate:not(.home) .estimate-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 18px !important;
    align-items: start !important;
}

body.page-template-page-estimate:not(.home) .price-sidebar {
    position: sticky !important;
    top: calc(var(--header-height) + var(--space-xl)) !important;
    margin-top: 0 !important;
    align-self: start !important;
}

@media (max-width: 900px) {
    body.page-template-page-estimate:not(.home) .estimate-layout {
        grid-template-columns: 1fr !important;
    }

    body.page-template-page-estimate:not(.home) .price-sidebar {
        position: relative !important;
        top: auto !important;
        margin-top: 14px !important;
        width: 100% !important;
        order: 2 !important;
    }
}

/* ============================================
   ESTIMATE PAGE — COMPACT WIDTH / GRID FIX
   ============================================ */
body.page-template-page-estimate:not(.home) .estimate-layout {
    grid-template-columns: minmax(0, 1fr) 330px !important;
    max-width: 1180px !important;
    gap: 20px !important;
    align-items: start !important;
}

body.page-template-page-estimate:not(.home) .estimate-container {
    width: 100% !important;
    min-width: 0 !important;
}

body.page-template-page-estimate:not(.home) .price-sidebar {
    width: 330px !important;
    min-width: 0 !important;
    align-self: start !important;
}

/* If sidebar is hidden on smaller screens, form takes all available width */
@media (max-width: 1180px) {
    body.page-template-page-estimate:not(.home) .price-sidebar {
        display: none !important;
    }

    body.page-template-page-estimate:not(.home) .estimate-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 960px !important;
    }
}

/* Service cards: avoid long single-column rows on desktop/tablet */
body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options,
body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style],
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

/* Extras cards: compact multi-column layout */
body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

/* Property step: keep controls compact and not over-stretched */
body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="2"] > div[style*="grid-template-columns"],
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="2"] > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: 860px !important;
}

/* Native select dropdown readability */
body.page-template-page-estimate .ev-estimate-card .form__select,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .form__select {
    color-scheme: light !important;
}

body.page-template-page-estimate .ev-estimate-card .form__select option,
body.page-template-page-estimate .ev-estimate-card .form__select optgroup,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .form__select option,
.home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .form__select optgroup {
    background: #f6f5f2 !important;
    color: #1d1f21 !important;
}

@media (max-width: 980px) {
    body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options,
    body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style],
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style],
    body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="2"] > div[style*="grid-template-columns"],
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="2"] > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 100% !important;
    }
}

@media (max-width: 640px) {
    body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options,
    body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style],
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="1"] .estimate-options[style],
    body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
        grid-template-columns: 1fr !important;
    }

    body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="2"] > div[style*="grid-template-columns"],
    .home .home-rebuilt__book-right.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="2"] > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   ESTIMATE STEP 3 — HARD OVERRIDE FOR 2 COLUMNS
   ============================================ */
body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded > .addon-card,
.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded > .addon-card,
.ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded > .addon-card {
    grid-column: auto !important;
    width: auto !important;
    min-width: 0 !important;
}

@media (max-width: 640px) {
    body.page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
    .page-template-page-estimate .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded,
    .ev-estimate-card .wizard__panel[data-panel="3"] .addon-grid--expanded {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   FLATPICKR — FINAL ALIGNMENT (ARROWS + RIGHT EDGE)
   ============================================ */
.flatpickr-calendar.ev-flatpickr {
    width: min(320px, calc(100vw - 16px)) !important;
    max-width: min(320px, calc(100vw - 16px)) !important;
    box-sizing: border-box !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-rContainer,
.flatpickr-calendar.ev-flatpickr .flatpickr-days,
.flatpickr-calendar.ev-flatpickr .flatpickr-weekdaycontainer,
.flatpickr-calendar.ev-flatpickr .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekday,
.flatpickr-calendar.ev-flatpickr .flatpickr-day {
    flex: 0 0 calc(100% / 7) !important;
    width: calc(100% / 7) !important;
    max-width: calc(100% / 7) !important;
    box-sizing: border-box !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-day {
    border: 1.5px solid transparent !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month {
    left: 0 !important;
    width: 100% !important;
    padding: 6px 42px 0 !important;
    display: block !important;
    text-align: center !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .flatpickr-monthDropdown-months {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    background: transparent !important;
    color: #1d1f21 !important;
    font-weight: 700 !important;
    padding-right: 14px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .numInputWrapper {
    display: inline-block !important;
    width: 5.8ch !important;
    margin-left: 6px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month input.cur-year {
    color: #1d1f21 !important;
    font-weight: 700 !important;
    width: 100% !important;
    padding-right: 12px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .numInputWrapper span.arrowDown {
    right: 2px !important;
    border-width: 4px !important;
    opacity: 0.7 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-days,
.flatpickr-calendar.ev-flatpickr .flatpickr-weekdays {
    padding: 0 3px 3px !important;
    box-sizing: border-box !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-prev-month,
.flatpickr-calendar.ev-flatpickr .flatpickr-next-month {
    top: 4px !important;
    padding: 8px !important;
    color: #1d1f21 !important;
    opacity: 0.95 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-prev-month svg,
.flatpickr-calendar.ev-flatpickr .flatpickr-next-month svg {
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
}

/* ============================================
   FLATPICKR — HEADER/ARROWS REPAIR
   ============================================ */
.flatpickr-calendar.ev-flatpickr {
    width: min(330px, calc(100vw - 16px)) !important;
    max-width: min(330px, calc(100vw - 16px)) !important;
    overflow: visible !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    padding: 8px 44px 0 !important;
    display: block !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .flatpickr-monthDropdown-months {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    background: transparent !important;
    color: #1d1f21 !important;
    font-weight: 700 !important;
    margin-right: 6px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .numInputWrapper {
    display: inline-block !important;
    width: 4.4em !important;
    vertical-align: baseline !important;
    margin-left: 0 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month input.cur-year {
    color: #1d1f21 !important;
    font-weight: 700 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month input.cur-year::-webkit-outer-spin-button,
.flatpickr-calendar.ev-flatpickr .flatpickr-current-month input.cur-year::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .numInputWrapper span.arrowDown {
    display: none !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-prev-month,
.flatpickr-calendar.ev-flatpickr .flatpickr-next-month {
    top: 6px !important;
    width: 28px !important;
    height: 28px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1d1f21 !important;
    opacity: 1 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-prev-month svg,
.flatpickr-calendar.ev-flatpickr .flatpickr-next-month svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekdays,
.flatpickr-calendar.ev-flatpickr .flatpickr-days {
    padding: 0 4px 4px !important;
    box-sizing: border-box !important;
}

.flatpickr-calendar.ev-flatpickr .dayContainer {
    overflow: visible !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekday,
.flatpickr-calendar.ev-flatpickr .flatpickr-day {
    flex: 0 0 14.2857143% !important;
    width: 14.2857143% !important;
    max-width: 14.2857143% !important;
}

/* ============================================
   FLATPICKR — UX REFINEMENT FINAL
   ============================================ */
.flatpickr-calendar.ev-flatpickr {
    width: min(330px, calc(100vw - 16px)) !important;
    max-width: min(330px, calc(100vw - 16px)) !important;
    overflow: hidden !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    padding: 8px 40px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .flatpickr-monthDropdown-months {
    display: inline-block !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    background: transparent !important;
    border: none !important;
    color: #1d1f21 !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 0.95rem 0 0 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .numInputWrapper {
    display: none !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .ev-flatpickr-year {
    display: inline-block !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    background: transparent !important;
    border: none !important;
    color: #1d1f21 !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 0.95rem 0 0 !important;
    width: auto !important;
    min-width: 4.4ch !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-calendar.ev-flatpickr .flatpickr-current-month .ev-flatpickr-year:focus {
    outline: 2px solid rgba(27, 83, 61, 0.25) !important;
    outline-offset: 2px !important;
    border-radius: 6px !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-prev-month,
.flatpickr-calendar.ev-flatpickr .flatpickr-next-month {
    top: 6px !important;
    width: 28px !important;
    height: 28px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1d1f21 !important;
    opacity: 0.95 !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-prev-month svg,
.flatpickr-calendar.ev-flatpickr .flatpickr-next-month svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekdays,
.flatpickr-calendar.ev-flatpickr .flatpickr-days {
    padding: 0 4px 4px !important;
    box-sizing: border-box !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-rContainer,
.flatpickr-calendar.ev-flatpickr .flatpickr-weekdaycontainer,
.flatpickr-calendar.ev-flatpickr .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.flatpickr-calendar.ev-flatpickr .flatpickr-weekday,
.flatpickr-calendar.ev-flatpickr .flatpickr-day {
    box-sizing: border-box !important;
    flex: 0 0 14.2857143% !important;
    width: 14.2857143% !important;
    max-width: 14.2857143% !important;
}

/* Fix: Safari first-option invisible text on appearance:none selects */
.wizard__panel .form__select,
.wizard__panel .form__select option {
    color: #1A1A1A !important;
    -webkit-text-fill-color: #1A1A1A !important;
}
