.jd-estimator-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.jd-estimator {
    width: 100%;
    max-width: 100%;
    background: #fff;
    padding: 60px 40px;
    box-sizing: border-box;
    text-align: center;
    font-family: "Manrope", sans-serif;
    color: #003353;
}

.jd-step { display: none; }
.jd-step.active { display: block; }

.jd-estimator h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.1;
    font-weight: 800;
    color: #003353;
}

.jd-estimator h2 {
    margin: 0 0 20px;
    font-size: 31px;
    line-height: 1.05;
    font-weight: 800;
    color: #003353;
}

.jd-subtitle {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 800;
    color: #003353;
}

#jdPhotoInput { display: none; }

.upload-photo-btn {
    width: max-content;
    max-width: 275px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 22px;
    border: 1px solid #E4E4E4;
    border-radius: 36px;
    background: #fff;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
    color: #003353;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 40px;
}

#jdUploadBtn {
    width: max-content;
    max-width: 275px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 22px;
    border: 1px solid #E4E4E4;
    border-radius: 36px;
    background: #fff;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
    color: #003353;
}

#jdUploadBtn:hover {
    border-color: #d8d8d8;
}

#jdCalculateBtn {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 20px 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2em;
    letter-spacing: -0.02em;
    color: var(--e-global-color-primary, #003353);
    background-image: linear-gradient(0deg, #FFA04E 0%, #FFC900 100%);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.14901960784313725);
    border-radius: 48px;
}

.upload-photo-btn svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.jd-main-btn,
.jd-choice-btn {
    width: 100%;
    max-width: 344px;
    min-height: 70px;
    border: 0;
    border-radius: 48px;
    background-image: linear-gradient(0deg, #FFA04E 0%, #FFC900 100%);
    color: var(--e-global-color-primary, #003353);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2em;
    letter-spacing: -0.02em;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.14901960784313725);
    transition: opacity .2s ease, transform .2s ease;
}

.jd-main-btn:hover,
.jd-choice-btn:hover,
.jde-service-btn:hover {
    transform: translateY(-1px);
}

.jd-main-btn[disabled],
.jd-choice-btn[disabled],
.upload-photo-btn[disabled] {
    opacity: .6;
    cursor: wait;
}

.jd-choice-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.jd-choice-btn {
    max-width: 150px;
    min-height: 56px;
}

.jd-size-fields {
    display: none;
    margin-top: 18px;
}

.jd-size-fields input {
    width: 100%;
    max-width: 344px;
    height: 54px;
    border: 1px solid #E4E4E4;
    border-radius: 28px;
    padding: 0 20px;
    margin-bottom: 12px;
    box-sizing: border-box;
    font-size: 15px;
    color: #003353;
}

.jd-result-card {
    border: 1px solid #E4E4E4;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 16px;
    text-align: left;
}

.jd-result-card strong {
    font-size: 24px;
}

.jd-error {
    color: #b00020;
    font-weight: 700;
}

.jd-muted-note {
    font-size: 13px;
    line-height: 1.5;
    color: #4d6575;
}

.jd-loader {
    width: 46px;
    height: 46px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 4px solid #E4E4E4;
    border-top-color: #FFA343;
    animation: jde-spin .9s linear infinite;
}

@keyframes jde-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Global result popup + minimized preview */
.jde-floating-result.is-hidden {
    display: none;
}

.jde-popup-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 31, 51, .48);
    z-index: 999998;
}

.jde-popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 560px);
    max-height: 86vh;
    overflow-y: auto;
    background: #fff;
    color: #003353;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 24px 80px rgba(0, 31, 51, .28);
    z-index: 999999;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
}

.jde-floating-result.is-open .jde-popup,
.jde-floating-result.is-open .jde-popup-backdrop {
    display: block;
}

.jde-popup-close,
.jde-popup-minimize {
    position: absolute;
    top: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f7;
    color: #003353;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.jde-popup-close { right: 14px; }
.jde-popup-minimize { right: 54px; font-size: 18px; padding-bottom: 8px; }

.jde-popup-header {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}

.jde-popup-header img {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 22px;
    background: #f1f5f7;
}

.jde-popup-header h3 {
    margin: 4px 0 8px;
    color: #003353;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
}

.jde-popup-header p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #4d6575;
}

.jde-eyebrow {
    color: #FFA343 !important;
    font-size: 12px !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.jde-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.jde-popup .jd-result-card {
    margin: 0;
}

.jde-items-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.jde-items-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #eef2f4;
    font-size: 14px;
}

.jde-service-btn {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 14px 24px;
    border-radius: 48px;
    background-image: linear-gradient(0deg, #FFA04E 0%, #FFC900 100%);
    color: var(--e-global-color-primary, #003353);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2em;
    letter-spacing: -0.02em;
    text-decoration: none;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.14901960784313725);
    box-sizing: border-box;
    transition: transform .2s ease;
}

.jde-mini-card {
    display: none;
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: min(360px, calc(100vw - 44px));
    min-height: 88px;
    align-items: center;
    gap: 14px;
    padding: 12px 16px 12px 12px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: #003353;
    box-shadow: 0 18px 50px rgba(0, 31, 51, .22);
    z-index: 999997;
    cursor: pointer;
    text-align: left;
    font-family: "Manrope", sans-serif;
}

.jde-floating-result.is-minimized .jde-mini-card {
    display: flex;
}

.jde-mini-img {
    width: 64px;
    height: 64px;
    display: block;
    flex: 0 0 64px;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f7;
}

.jde-mini-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.jde-mini-copy {
    min-width: 0;
    display: block;
}

.jde-mini-copy strong,
.jde-mini-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jde-mini-copy strong {
    font-size: 17px;
    font-weight: 800;
    color: #003353;
}

.jde-mini-copy small {
    margin-top: 4px;
    font-size: 13px;
    color: #4d6575;
}

@media screen and (max-width: 640px) {
    .jde-popup {
        width: calc(100vw - 28px);
        padding: 24px 18px;
        border-radius: 22px;
    }

    .jde-popup-header {
        grid-template-columns: 82px 1fr;
        gap: 14px;
    }

    .jde-popup-header img {
        width: 82px;
        height: 82px;
        border-radius: 16px;
    }

    .jde-popup-header h3 {
        font-size: 24px;
    }

    .jde-result-grid {
        grid-template-columns: 1fr;
    }

    .jde-mini-card {
        right: 14px;
        bottom: 14px;
        width: calc(100vw - 28px);
    }
}

/* Stronger scoped styles to prevent Elementor/global button styles overriding the estimator UI */
body .jd-estimator-wrap .jd-estimator,
body .jde-floating-result {
    --jde-primary: var(--e-global-color-primary, #003353);
    --jde-gradient: linear-gradient(0deg, #FFA04E 0%, #FFC900 100%);
}

body .jd-estimator-wrap .jd-estimator h3 {
    font-size: 21px !important;
}

body .jd-estimator-wrap .jd-estimator h2 {
    font-size: 31px !important;
}

body .jd-estimator-wrap .jd-estimator .jd-subtitle {
    font-size: 13px !important;
}

body .jd-estimator-wrap .jd-estimator button,
body .jd-estimator-wrap .jd-estimator .jd-estimator-button,
body .jde-floating-result button,
body .jde-floating-result a.jde-service-btn,
body .jde-floating-result .jde-estimator-button {
    border: none !important;
    box-shadow: none !important;
    text-transform: none !important;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

body .jd-estimator-wrap .jd-estimator #jdUploadBtn.jd-estimator-upload-button,
body .jd-estimator-wrap .jd-estimator .upload-photo-btn.jd-estimator-upload-button {
    width: max-content !important;
    max-width: 275px !important;
    height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    padding: 0 22px !important;
    border: 1px solid #E4E4E4 !important;
    border-radius: 36px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #003353 !important;
    box-shadow: none !important;
    text-transform: none !important;
    margin-bottom: 40px !important;
}

body .jd-estimator-wrap .jd-estimator #jdCalculateBtn.jd-estimator-calculate-button,
body .jd-estimator-wrap .jd-estimator .jd-main-btn,
body .jd-estimator-wrap .jd-estimator .jd-choice-btn,
body .jde-floating-result a.jde-service-btn {
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    line-height: 1.2em !important;
    letter-spacing: -0.02em !important;
    color: var(--jde-primary) !important;
    background-image: var(--jde-gradient) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 48px !important;
}

body .jd-estimator-wrap .jd-estimator .jd-main-btn:hover,
body .jd-estimator-wrap .jd-estimator .jd-choice-btn:hover,
body .jde-floating-result a.jde-service-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

body .jde-floating-result .jde-popup-action {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 999px !important;
    background: #f1f5f7 !important;
    color: #003353 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-transform: none !important;
}

body .jde-floating-result .jde-popup-action .jde-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .jde-floating-result .jde-popup-close,
body .jde-floating-result .jde-popup-minimize {
    display: none !important;
}

body .jde-floating-result .jde-popup {
    padding-top: 58px;
}

body .jde-floating-result .jde-service-info {
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: #F6F9FA;
    border: 1px solid #E9EEF1;
    text-align: left;
}

body .jde-floating-result .jde-service-info-head {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    align-items: start;
}

body .jde-floating-result .jde-service-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #003353;
    flex-shrink: 0;
}

body .jde-floating-result .jde-service-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .jde-floating-result .jde-service-info h4 {
    margin: 0 0 4px;
    color: #003353;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
}

body .jde-floating-result .jde-service-info p {
    margin: 0;
    color: #4d6575;
    font-size: 13px;
    line-height: 1.45;
}

body .jde-floating-result .jde-service-points {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

body .jde-floating-result .jde-service-points li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    align-items: start;
    color: #003353;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

body .jde-floating-result .jde-service-points svg {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    fill: none;
    stroke: #003353;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .jde-floating-result .jde-mini-card {
    border: none !important;
    box-shadow: none !important;
    text-transform: none !important;
}

@media screen and (max-width: 640px) {
    body .jde-floating-result .jde-popup {
        padding-top: 56px;
    }

    body .jde-floating-result .jde-service-info {
        padding: 15px;
        border-radius: 18px;
    }
}


/* Service information box also works when shown inside the shortcode result area */
body .jd-estimator-wrap .jd-estimator .jde-service-info {
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: #F6F9FA;
    border: 1px solid #E9EEF1;
    text-align: left;
}
body .jd-estimator-wrap .jd-estimator .jde-service-info-head {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    align-items: start;
}
body .jd-estimator-wrap .jd-estimator .jde-service-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #003353;
}
body .jd-estimator-wrap .jd-estimator .jde-service-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body .jd-estimator-wrap .jd-estimator .jde-service-info h4 {
    margin: 0 0 4px;
    color: #003353;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
}
body .jd-estimator-wrap .jd-estimator .jde-service-info p {
    margin: 0;
    color: #4d6575;
    font-size: 13px;
    line-height: 1.45;
}
body .jd-estimator-wrap .jd-estimator .jde-service-points {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
body .jd-estimator-wrap .jd-estimator .jde-service-points li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    align-items: start;
    color: #003353;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}
body .jd-estimator-wrap .jd-estimator .jde-service-points svg {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    fill: none;
    stroke: #003353;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body .jd-estimator-wrap .jd-estimator a.jde-service-btn {
    box-shadow: none !important;
    border: none !important;
    text-transform: none !important;
}


/* Final scoped design overrides */
body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card {
    width: 380px !important;
    max-width: 100% !important;
    padding: 60px 40px !important;
    border-radius: 20px !important;
    box-shadow: 0px 4px 34px 0px rgba(0, 0, 0, 0.14901960784313725) !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card .jd-estimator-button,
body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card button.jd-estimator-button,
body .jde-floating-result button,
body .jde-floating-result a.jde-service-btn {
    box-shadow: none !important;
    text-transform: none !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card .jd-estimator-button:not(.jd-estimator-upload-button),
body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card button.jd-estimator-button:not(.jd-estimator-upload-button),
body .jde-floating-result button,
body .jde-floating-result a.jde-service-btn {
    border: none !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card .jd-estimator-upload-button,
body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card #jdUploadBtn.jd-estimator-upload-button {
    width: max-content !important;
    max-width: 275px !important;
    height: 54px !important;
    min-height: 0 !important;
    margin-bottom: 40px !important;
    border: 1px solid #E4E4E4 !important;
    box-shadow: none !important;
    font-size: 16px !important;
    text-transform: none !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card #jdCalculateBtn.jd-estimator-calculate-button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 20px 30px !important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.14901960784313725) !important;
    border: none !important;
    text-transform: none !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card .jd-overwrite-warning {
    display: none;
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 201, 0, 0.14);
    color: #003353;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card .jd-overwrite-warning.is-visible {
    display: block;
}

@media (max-width: 480px) {
    body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card {
        padding: 44px 24px !important;
    }
}


/* v1.8.6 button-specific design corrections */
body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card {
    width: 380px !important;
    max-width: 100% !important;
    padding: 60px 40px !important;
    border-radius: 20px !important;
    box-shadow: 0px 4px 34px 0px rgba(0, 0, 0, 0.14901960784313725) !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card h2 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card .jd-subtitle {
    margin-bottom: 20px !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card #jdUploadBtn.jd-estimator-upload-button {
    width: max-content !important;
    max-width: 275px !important;
    height: 54px !important;
    min-height: 0 !important;
    margin-bottom: 40px !important;
    padding: 0 22px !important;
    border: 1px solid #E4E4E4 !important;
    border-radius: 36px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #003353 !important;
    text-transform: none !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card #jdCalculateBtn.jd-estimator-calculate-button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 20px 30px !important;
    border: none !important;
    border-radius: 48px !important;
    background-image: linear-gradient(0deg, #FFA04E 0%, #FFC900 100%) !important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.14901960784313725) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2em !important;
    letter-spacing: -0.02em !important;
    color: var(--e-global-color-primary, #003353) !important;
    text-transform: none !important;
}

body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card .jd-choice-btn,
body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card #jdContinueBtn,
body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card #jdRestartBtn,
body .jde-floating-result button,
body .jde-floating-result a.jde-service-btn {
    border: none !important;
    box-shadow: none !important;
    text-transform: none !important;
}

@media (max-width: 480px) {
    body .jd-estimator-wrap.jde-estimator-shortcode .jd-estimator.jde-estimator-card {
        padding: 44px 24px !important;
    }
}


/* Keep estimate output out of the shortcode area. Results are shown only in the popup/sticky preview. */
body .jde-estimator-shortcode #jdResult {
    display: none !important;
}


/* Fixed sticky preview image alignment and prevents Elementor/global button/img styles from affecting it */
body .jde-floating-result.is-open .jde-mini-card {
    display: none !important;
}

body .jde-floating-result.is-minimized .jde-mini-card {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    line-height: 1 !important;
    overflow: hidden !important;
}

body .jde-floating-result .jde-mini-card {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    padding: 8px 14px 8px 8px !important;
    vertical-align: middle !important;
}

body .jde-floating-result .jde-mini-card,
body .jde-floating-result .jde-mini-card * {
    box-sizing: border-box !important;
}

body .jde-floating-result .jde-mini-img {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    display: block !important;
    align-self: center !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

body .jde-floating-result .jde-mini-img img {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body .jde-floating-result .jde-mini-copy {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    align-self: center !important;
    line-height: 1.2 !important;
}

body .jd-estimator-wrap .jd-estimator #jdCalculateBtn.jd-estimator-calculate-button {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.14901960784313725) !important;
}


/* Bin collection cross-sell shown below the main booking button */
body .jde-floating-result .jde-bin-collection-info {
    margin: 2px 0 0 !important;
    padding: 13px 14px !important;
    border: 1px solid #e5edf1 !important;
    border-radius: 16px !important;
    background: #f8fbfc !important;
    text-align: left !important;
}

body .jde-floating-result .jde-bin-collection-info strong {
    display: block !important;
    margin: 0 0 3px !important;
    color: #003353 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

body .jde-floating-result .jde-bin-collection-info p {
    margin: 0 0 10px !important;
    color: #4d6575 !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
}

body .jde-floating-result .jde-bin-collection-btn {
    width: 100% !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    border: 1px solid #d8e1e6 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #003353 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    text-transform: none !important;
}

body .jde-floating-result .jde-bin-collection-btn:hover {
    background: #f1f6f8 !important;
    color: #003353 !important;
    text-decoration: none !important;
}

/* Current estimate actions */
body .jde-floating-result .jde-popup-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

body .jde-floating-result .jde-popup-actions .jde-service-btn {
    margin-top: 0 !important;
}

body .jde-floating-result .jde-remove-estimate-btn {
    width: 100% !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    border: 1px solid #d8e1e6 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #003353 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-transform: none !important;
}

body .jde-floating-result .jde-remove-estimate-btn:hover {
    background: #f6f9fa !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Compact bottom sticky estimate + cart button */
body .jde-floating-result.has-cart .jde-mini-card {
    right: 94px !important;
    width: min(330px, calc(100vw - 116px)) !important;
}

body .jde-floating-result .jde-cart-button {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    width: 58px !important;
    height: 58px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background-image: linear-gradient(0deg, #FFA04E 0%, #FFC900 100%) !important;
    color: var(--e-global-color-primary, #003353) !important;
    box-shadow: 0 18px 45px rgba(0, 31, 51, .22) !important;
    z-index: 999997 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

body .jde-floating-result .jde-cart-button.is-visible {
    display: inline-flex !important;
}

body .jde-floating-result .jde-cart-svg {
    width: 25px !important;
    height: 25px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body .jde-floating-result .jde-cart-count {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #003353 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

body .jde-floating-result.is-cart-only .jde-mini-card,
body .jde-floating-result.is-cart-only .jde-popup,
body .jde-floating-result.is-cart-only .jde-popup-backdrop {
    display: none !important;
}

@media screen and (max-width: 640px) {
    body .jde-floating-result .jde-mini-card {
        min-height: 58px !important;
        padding: 8px 12px 8px 8px !important;
        border-radius: 18px !important;
        gap: 10px !important;
        bottom: 12px !important;
        right: 12px !important;
        width: calc(100vw - 24px) !important;
    }

    body .jde-floating-result.has-cart .jde-mini-card {
        left: 12px !important;
        right: auto !important;
        width: calc(100vw - 86px) !important;
    }

    body .jde-floating-result .jde-mini-img {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        flex-basis: 42px !important;
        border-radius: 14px !important;
    }

    body .jde-floating-result .jde-mini-copy strong {
        font-size: 14px !important;
        line-height: 1.15 !important;
    }

    body .jde-floating-result .jde-mini-copy small {
        margin-top: 2px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    body .jde-floating-result .jde-cart-button {
        right: 12px !important;
        bottom: 12px !important;
        width: 58px !important;
        height: 58px !important;
        box-shadow: 0 12px 32px rgba(0, 31, 51, .2) !important;
    }

    body .jde-floating-result .jde-cart-svg {
        width: 23px !important;
        height: 23px !important;
    }
}


/* v1.9.3 desktop sticky card spacing refinement */
@media screen and (min-width: 641px) {
    body .jde-floating-result.is-minimized .jde-mini-card {
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    body .jde-floating-result .jde-mini-card {
        width: auto !important;
        min-width: 252px !important;
        max-width: 292px !important;
        height: 58px !important;
        min-height: 58px !important;
        max-height: 58px !important;
        padding: 8px 14px 8px 12px !important;
        border-radius: 999px !important;
        overflow: hidden !important;
        box-shadow: 0 14px 34px rgba(0, 31, 51, .16) !important;
    }

    body .jde-floating-result.has-cart .jde-mini-card {
        right: 94px !important;
        width: auto !important;
        min-width: 252px !important;
        max-width: 292px !important;
    }

    body .jde-floating-result .jde-mini-img {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        flex: 0 0 40px !important;
        border-radius: 999px !important;
        margin: 0 !important;
    }

    body .jde-floating-result .jde-mini-copy {
        flex: 0 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 220px !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    body .jde-floating-result .jde-mini-copy strong,
    body .jde-floating-result .jde-mini-copy small {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: left !important;
    }

    body .jde-floating-result .jde-mini-copy strong {
        font-size: 15px !important;
        line-height: 1.15 !important;
    }

    body .jde-floating-result .jde-mini-copy small {
        margin-top: 2px !important;
        font-size: 11px !important;
        line-height: 1.15 !important;
    }
}
