/* body styles intentionally omitted — handled inline in quote-content.html */

#quote-modal {
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    height: 100%;
}/* Standalone /quote/ page: show the form (class added synchronously by inline script) */
.quote-standalone #quote-modal {
    display: flex;
}#quote-modal .mobileVersion{
    display: none !important;
}#quote-modal .form-card{
    border-radius: 16px;
    /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); */
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}#quote-modal h1, #quote-modal h2, #quote-modal h3, #quote-modal h4, #quote-modal h5, #quote-modal h6{
    font-family: 'Merriweather', serif !important;
}#quote-modal h4{
    font-weight: 700;
    color: #2e2e2e;
    margin-bottom: 25px;
}#quote-modal .option-btn{
    border: 2px solid #4CAF50;
    border-radius: 40px;
    padding: 12px;
    cursor: pointer;
    background-color: white;
    color: #4CAF50;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
    font-size: 14px;
}#quote-modal .option-btn:hover{
    background-color: #4CAF50;
    color: white;
    transform: translateY(-1px);
}#quote-modal .option-btn.selected{
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}#quote-modal .nav-buttons{
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    background-color: white;
    padding: 12px 8px;
    position: sticky;
    left: 0px;
    bottom: 0px;
}#quote-modal .btn-custom{
    border-radius: 40px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    min-width: 120px;
    transition: all 0.3s ease;
}#quote-modal .btn-next{
    background-color: #4CAF50;
    color: white;
    border: none;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3);
}#quote-modal .btn-next:hover{
    background-color: #43a047;
    transform: translateY(-1px);
}#quote-modal .btn-prev{
    background-color: #e9ecef;
    color: #333;
    border: none;
}#quote-modal .btn-prev:hover{
    background-color: #dee2e6;
}#quote-modal select.form-select{
    border-radius: 1000px;
    height: 46px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* ── Custom Select Dropdown (Android-compatible replacement for native <select>) ── */
#quote-modal .custom-select-wrapper {
    position: relative;
    width: 100%;
}#quote-modal select.form-select.custom-select-hidden{
    display: none !important;
}#quote-modal .custom-select-trigger{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    border: 1px solid #ccc;
    border-radius: 1000px;
    padding: 0 16px;
    font-size: 14px;
    cursor: pointer;
    background: white;
    user-select: none;
    -webkit-user-select: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}#quote-modal .custom-select-trigger.open{
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.15rem rgba(76, 175, 80, 0.25);
}#quote-modal .custom-select-trigger .trigger-text{
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #212529;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}#quote-modal .custom-select-trigger .trigger-text.placeholder{
    color: transparent;
}#quote-modal .custom-select-trigger .trigger-arrow{
    flex-shrink: 0;
    margin-left: 8px;
    transition: transform 0.2s ease;
}#quote-modal .custom-select-trigger.open .trigger-arrow{
    transform: rotate(180deg);
}#quote-modal .custom-select-dropdown{
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    max-height: 220px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
}#quote-modal .custom-select-dropdown.open{
    display: block;
}#quote-modal .custom-select-option{
    padding: 11px 16px;
    font-size: 14px;
    cursor: pointer;
    color: #212529;
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent;
}#quote-modal .custom-select-option:hover, #quote-modal .custom-select-option:active{
    background: #f3f8f3;
}#quote-modal .custom-select-option.selected{
    background: #e8f5e8;
    color: #2e7d32;
    font-weight: 500;
}#quote-modal input.form-control{
    font-size: 14px;
    border-radius: 1000px;
}#quote-modal input.form-control:focus, #quote-modal select.form-select:focus{
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.15rem rgba(76, 175, 80, 0.25);
}#quote-modal input.form-control.error{
    border-color: #dc3545;
}#quote-modal input.form-control.error:focus{
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}#quote-modal .error-message{
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}#quote-modal .multiselect-option:hover{
    background-color: #f8f9fa;
}#quote-modal .custom-multiselect .multiselect-display.active{
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 0.15rem rgba(76, 175, 80, 0.25);
}#quote-modal .error-message.show{
    display: block;
}

/* ? Animation Styles */
#quote-modal .form-section {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    padding: 20px;
    /* background: #fff; */
}#quote-modal .form-section.active{
    opacity: 1;
    transform: translateX(-50%);
    pointer-events: all;
    z-index: 2;
}#quote-modal .form-section.slide-out-left{
    transform: translateX(-150%);
    opacity: 0;
}#quote-modal .form-section.slide-out-right{
    transform: translateX(50%);
    opacity: 0;
}#quote-modal .banner-img{
    object-fit: contain;
    margin-bottom: 16px;
}#quote-modal #sustainabilityOptions{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    overflow: visible;
}#quote-modal #screen1{
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}#quote-modal #screen1 .w-100{
    max-width: 100%;
}#quote-modal #screen2, #quote-modal #screen2-2, #quote-modal #screen3{
    max-width: 600px;
    margin: auto;
    width: 100%;
    padding: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
}#quote-modal #screen2-3, #quote-modal #screen3-2, #quote-modal #screen3-4, #quote-modal #screen3-6{
    max-width: 600px;
    width: 100%;
    padding: 40px 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}#quote-modal #screen3-3, #quote-modal #screen3-5{
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
}

/* Screen 2 Specific Styles */
#quote-modal .screen2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}#quote-modal .btn-go-back{
    background: transparent;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    padding: 8px 0;
}#quote-modal .btn-go-back svg{
    flex-shrink: 0;
}#quote-modal .btn-go-back:hover{
    color: #333;
}#quote-modal .quote-close{
    display: none;
}#quote-modal .btn-close-screen{
    background: transparent;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}#quote-modal .btn-close-screen:hover{
    color: #333;
}

/* Screen 1 close button — only visible inside the modal overlay */
#quote-modal #screen1 .btn-close-screen {
    display: none;
}#quote-modal #screen1 .btn-close-screen{
    display: block;
}#quote-modal .progress-bar-container{
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}#quote-modal .progress-bar-fill{
    height: 100%;
    background: #83B785;
    border-radius: 10px;
    transition: width 0.3s ease;
}#quote-modal .screen2-title{
    font-family: 'Merriweather', serif !important;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}#quote-modal .screen2-subtitle{
    font-size: 16px;
    color: #6b6b6b;
    margin-bottom: 16px;
}#quote-modal .form-group{
    margin-bottom: 16px;
}#quote-modal .form-group label{
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}#quote-modal .sustainability-heading{
    font-family: 'Merriweather', serif !important;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 16px 0 10px 0;
}#quote-modal .sustainability-icons{
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    overflow-x: auto;
}#quote-modal .sustainability-card{
    flex: 1;
    min-width: 100px;
    padding: 12px 10px;
    border: 1px solid #002B2F29;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    max-width: 140px;
}#quote-modal .sustainability-card:hover{
    border: none;
    background: #83B785;
    position: relative;
}#quote-modal .sustainability-card:hover::after{
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #83B785;
    border: 2px solid #f3f8f3;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}#quote-modal .sustainability-card:hover svg path{
    fill: #002B2F;
}#quote-modal .sustainability-card:hover svg path[fill="white"]{
    fill: white;
}#quote-modal .sustainability-card:hover span{
    color: #002B2F;
}#quote-modal .sustainability-card.selected{
    border-color: #83B785;
    background: #83B785;
    position: relative;
}#quote-modal .sustainability-card.selected::after{
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #83B785;
    border: 2px solid #f3f8f3;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}#quote-modal .sustainability-card.selected svg path{
    fill: #002B2F;
}#quote-modal .sustainability-card.selected svg path[fill="white"]{
    fill: white;
}#quote-modal .sustainability-card.selected span{
    color: #002B2F;
}#quote-modal .sustainability-card svg{
    width: 32px;
    height: 36px;
    object-fit: contain;
}#quote-modal .sustainability-card svg path{
    transition: fill 0.3s ease;
}#quote-modal .sustainability-card span{
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    color: #466D50;
    transition: color 0.3s ease;
}#quote-modal .btn-continue{
    width: 100%;
    background: #002B2F;
    color: white;
    border: none;
    border-radius: 1000px;
    padding: 10px 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 43, 47, 0.25);
    max-width: 360px;
    margin: 10px auto;
    display: block;
}#quote-modal .btn-continue:hover:not(:disabled){
    background: #003a40;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 43, 47, 0.35);
}#quote-modal .btn-continue:disabled{
    background: #92a6a5;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
}#quote-modal #getFreeSamplesBtn, #quote-modal #submitShippingBtn, #quote-modal #submitNoSampleBtn, #quote-modal #submitSkipBtn{
    max-width: 360px;
    margin: auto;
    display: block;
    margin-bottom: 16px;
}#quote-modal .screen2-skip{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}#quote-modal .screen2-skip a{
    text-decoration: none;
    color: #002B2F;
    font-weight: 600;
    font-size: 14px;
}#quote-modal .screen2-skip a:hover{
    text-decoration: underline;
}#quote-modal .screen2-skip svg{
    width: 40px;
    height: 40px;
}#quote-modal #screen4, #quote-modal #screen5, #quote-modal #screen5-alt, #quote-modal #screen5-skip, #quote-modal #screen6, #quote-modal #screen7{
    max-width: 1000px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    max-height: calc(95vh - 40px);
    scroll-behavior: smooth;
}#quote-modal #screen4::-webkit-scrollbar, #quote-modal #screen5::-webkit-scrollbar{
    width: 8px;
}#quote-modal #screen4::-webkit-scrollbar-track, #quote-modal #screen5::-webkit-scrollbar-track{
    background: #e0e0e0;
    border-radius: 4px;
}#quote-modal #screen4::-webkit-scrollbar-thumb, #quote-modal #screen5::-webkit-scrollbar-thumb{
    background: #83B785;
    border-radius: 4px;
}#quote-modal #screen4::-webkit-scrollbar-thumb:hover, #quote-modal #screen5::-webkit-scrollbar-thumb:hover{
    background: #6a9c6c;
}#quote-modal #screen4 .w-100, #quote-modal #screen5 .w-100{
    flex-shrink: 0;
}

/* Update the base slider style to use a custom property for the fill */
#quote-modal .slider {
    /* ... existing styles ... */
    background: #e0e0e0;
    /* Add a custom property to store the fill percentage */
    --range-fill-percent: 50%;
    /* Default value, will be updated by JS */
    /* This creates a gradient effect that fills the track up to the thumb */
    background: linear-gradient(to right, #002B2F 0%, #002B2F var(--range-fill-percent), #e0e0e0 var(--range-fill-percent), #e0e0e0 100%);
}

/* Hide the default track for browsers that allow custom thumb styling */
#quote-modal .slider::-webkit-slider-runnable-track {
    background: transparent;
    /* Or remove this for simplicity if using the linear-gradient hack above */
}#quote-modal .slider::-moz-range-track{
    background: transparent;
    /* Or remove this for simplicity if using the linear-gradient hack above */
}

/* Ensure the thumb is on top and styled nicely */
#quote-modal .slider::-webkit-slider-thumb {
    /* ... existing styles ... */
    z-index: 2;
    /* Ensure the thumb is visually on top of the gradient */
}

/* For Firefox, the default track shows up; we need a special trick */
#quote-modal .slider::-moz-range-progress {
    background-color: #4CAF50;
    height: 8px;
    /* Match the slider height */
    border-radius: 6px;
}#quote-modal .slider-labels{
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}#quote-modal .slider::-webkit-slider-thumb{
    appearance: none;
    width: 23px;
    height: 23px;
    margin-top: -9px;
    cursor: pointer;
    background-image: url('https://cdn11.bigcommerce.com/s-gg9ywsg1bi/images/stencil/original/image-manager/frame-13567.png');
    background-size: 23px 23px;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    box-shadow: none;
    z-index: 2;
}#quote-modal .slider::-moz-range-thumb{
    width: 23px;
    height: 23px;
    cursor: pointer;
    background-image: url('https://cdn11.bigcommerce.com/s-gg9ywsg1bi/images/stencil/original/image-manager/frame-13567.png');
    background-size: 23px 23px;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    box-shadow: none;
}#quote-modal .modal-header{
    background-color: #4CAF50 !important;
}#quote-modal .form-range{
    height: 0.3rem !important;
}

/* Circular checkbox styling */
#quote-modal .recommendation-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: none;
    margin: 5px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}#quote-modal .recommendation-checkbox:hover, #quote-modal .recommendation-card:hover .recommendation-checkbox{
    border-color: #002B2F;
    background: #002B2F;
}#quote-modal .recommendation-checkbox:hover::after, #quote-modal .recommendation-card:hover .recommendation-checkbox::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 11px;
    background-image: url('data:image/svg+xml;utf8,<svg width="15" height="11" viewBox="0 0 15 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 6.22173L4.34708 9.58209C4.49943 9.73504 4.74786 9.7324 4.89692 9.57624L13.0833 1" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}#quote-modal .recommendation-checkbox:checked{
    background: #002B2F;
    border-color: #002B2F;
}#quote-modal .recommendation-checkbox:checked::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 11px;
    background-image: url('data:image/svg+xml;utf8,<svg width="15" height="11" viewBox="0 0 15 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 6.22173L4.34708 9.58209C4.49943 9.73504 4.74786 9.7324 4.89692 9.57624L13.0833 1" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Checkbox wrapper and tooltip */
#quote-modal .checkbox-wrapper {
    position: relative;
    display: inline-block;
}#quote-modal .checkbox-tooltip{
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #002B2F;
    color: #F3F8F3;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 10;
}#quote-modal .checkbox-tooltip::after{
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #002B2F;
}#quote-modal .checkbox-wrapper:hover .checkbox-tooltip, #quote-modal .recommendation-checkbox:hover + .checkbox-tooltip, #quote-modal .recommendation-card:hover .checkbox-tooltip{
    opacity: 1;
    visibility: visible;
}

/* Adjust tooltip position for rightmost cards to prevent overflow */
#quote-modal .recommendation-card:nth-child(3n) .checkbox-tooltip {
    left: auto;
    right: 0;
    transform: none;
}#quote-modal .recommendation-card:nth-child(3n) .checkbox-tooltip::after{
    left: auto;
    right: 12px;
    transform: none;
}

/* Recommendation card hover effect */
#quote-modal .recommendation-card:hover {
    border: 2px solid #83B785 !important;
}

/* Style the ribbon */
#quote-modal .ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -8px;
    right: -10px;
}#quote-modal .ribbon__content{
    left: -25px;
    top: 30px;
    font-weight: 700;
    transform: rotate(45deg);
    position: absolute;
    display: block;
    width: 225px;
    padding: 10px 0;
    background-color: #4CAF50;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
    border: 2px dotted gold;
    outline: 5px solid #4CAF50;
}

/* Pseudo-elements for ribbon corners */
#quote-modal .ribbon::before, #quote-modal .ribbon::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-style: solid;
    border-width: 5px;
}#quote-modal .ribbon::before{
    top: 0;
    left: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-color: #f19066;
}#quote-modal .ribbon::after{
    bottom: 0;
    right: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-color: #f19066;
}

/* Add to your <style> */
#quote-modal .card:hover {
    border: 2px solid black;
    cursor: pointer;
    transition: ease-in 0.3s;
}#quote-modal .card.selected{
    border: 2px solid black !important;
    transition: ease-in 0.3s;
}#quote-modal .selectable-card{
    cursor: pointer;
    transition: all 0.2s ease;
}#quote-modal .selectable-card.selected{
    border: 3px solid black !important;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}


/* Image Card Styles for Screen 1 */
#quote-modal .packaging-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 28px;
}#quote-modal .packaging-card{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    background: #f9f9f9;
    height: 200px;
    /* Reset homepage .packaging-card styles that would otherwise leak in */
    padding: 0;
    display: block;
    flex-direction: unset;
    box-shadow: none;
    opacity: 1;
    transform: none;
}#quote-modal .packaging-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 5px solid #83B785;
}#quote-modal .packaging-card.selected{
    border: 5px solid #83B785;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}#quote-modal .packaging-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}#quote-modal .packaging-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}#quote-modal .packaging-card .card-label{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    text-align: left;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.3;
    z-index: 2;
    background: transparent;
}#quote-modal .packaging-card .best-seller-badge{
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(30, 45, 35, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}#quote-modal .packaging-card .best-seller-badge::before{
    content: url("https://cdn11.bigcommerce.com/s-rd0ndag3a6/images/stencil/original/image-manager/medal-star.png");
    width: 16px;
    height: 16px;
    display: inline-block;
}#quote-modal .packaging-card .card-description{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
    pointer-events: none;
}#quote-modal .packaging-card:hover .card-description{
    opacity: 1;
}#quote-modal .start-quote-label{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #83B78533;
    border-radius: 1000px;
    font-size: 14px;
    font-weight: 500;
    color: #002B2F;
    margin-bottom: 14px;
}#quote-modal .start-quote-label svg{
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}#quote-modal .screen1-heading{
    font-family: 'Merriweather', serif !important;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-align: left;
}#quote-modal .screen1-subtitle{
            font-size: 16px;
            color: #6b6b6b;
            margin-bottom: 0;
            font-weight: 400;
            text-align: left;
        }#quote-modal .action-buttons{
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 32px;
            width: 100%;
        }#quote-modal .btn-help{
            background-color: transparent;
            color: #002B2F;
            border: 1.5px solid #002B2F;
            border-radius: 1000px;
            padding: 12px 24px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            width: 100%;
            max-width: 278px;
        }#quote-modal .btn-help:hover{
            color: #333;
            border-color: #83B785;
            background-color: #f5f5f5;
        }#quote-modal .btn-start{
            background-color: #002B2F;
            color: white;
            border: none;
            border-radius: 1000px;
            padding: 12px 32px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 6px rgba(0, 43, 47, 0.25);
            width: 100%;
            max-width: 278px;
        }#quote-modal .btn-start:hover:not(:disabled){
            background-color: #003a40;
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(0, 43, 47, 0.35);
        }#quote-modal .btn-start:disabled{
            background-color: #92a6a5;
            color: #fff;
            cursor: not-allowed;
            box-shadow: none;
        }#quote-modal .screen1Skip{
            text-align: center;
            margin-top: 30px;
        }#quote-modal .screen1Skip a{
            text-decoration: none;
            color: #002B2F;
            font-weight: 600;
            font-size: 14px;
        }#quote-modal .screen1Skip a:hover{
            text-decoration: underline;
        }#quote-modal #confirmationEmail{
            color: #466D50;
        }
@media (max-width: 768px){
            #quote-modal .packaging-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 14px;
            }
            #quote-modal .btn-close-screen{
                font-size: 32px !important;
            }

            #quote-modal .packaging-card {
                height: 240px;
                max-width: 100%;
            }

            #quote-modal .screen1-heading {
                font-size: 22px;
            }

            #quote-modal .start-quote-label {
                font-size: 11px;
            }

            #quote-modal #screen1 {
                padding: 25px;
                max-width: 95%;
            }

            #quote-modal #screen2, #quote-modal #screen3, #quote-modal #screen4, #quote-modal #screen5 {
                max-width: 95%;
            }
        }
@media (max-width: 600px){
            #quote-modal .desktopVersion{
                display: none !important;
            }
            #quote-modal .mobileVersion{
                display: block !important;
            }
            #quote-modal #screen1 {
                max-height: 95vh;
                display: flex;
                flex-direction: column;
                overflow: hidden;
            }
            #quote-modal #sustainabilityOptions{
                justify-content: center;
            }
            #quote-modal #screen1 .w-100 {
                display: flex;
                flex-direction: column;
                height: 100%;
                overflow: hidden;
            }

            #quote-modal #lookingForOptions {
                overflow-y: auto;
                flex: 1;
                min-height: 0;
                -webkit-overflow-scrolling: touch;
            }

            #quote-modal #lookingForOptions::-webkit-scrollbar {
                width: 6px;
            }

            #quote-modal #lookingForOptions::-webkit-scrollbar-track {
                background: #e0e0e0;
                border-radius: 3px;
            }

            #quote-modal #lookingForOptions::-webkit-scrollbar-thumb {
                background: #83B785;
                border-radius: 3px;
            }

            #quote-modal .start-quote-label,
            #quote-modal .screen1-heading,
            #quote-modal .screen1-subtitle,
            #quote-modal .action-buttons,
            #quote-modal .screen1Skip {
                flex-shrink: 0;
            }
        }
@media (max-width: 575px){
            #quote-modal .form-card {
                padding: 20px 15px;
            }

            #quote-modal #screen1 {
                padding: 20px;
                max-width: 100%;
            }

            #quote-modal #screen2, #quote-modal #screen3, #quote-modal #screen4, #quote-modal #screen5, #quote-modal #screen6 {
                max-width: 100%;
                padding: 20px 15px;
            }

            #quote-modal #screen4, #quote-modal #screen5, #quote-modal #screen6 {
                max-height: 95vh;
                padding: 15px;
            }

            /* Screen 6 responsive layout */
            #quote-modal #screen6 h2 {
                font-size: 24px !important;
            }

            #quote-modal #screen6 .w-100 > div[style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
                gap: 24px !important;
            }

            #quote-modal #screen6 div[style*="grid-template-columns: repeat(4"] {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 16px !important;
            }

            #quote-modal #screen6 div[style*="grid-template-columns: repeat(4"] p:first-child {
                font-size: 24px !important;
            }

            #quote-modal .form-section {
                padding: 15px;
            }

            /* All screens scroll naturally, buttons stick at bottom */
            #quote-modal #screen2, #quote-modal #screen2-2, #quote-modal #screen3, #quote-modal #screen3-3, #quote-modal #screen3-5 {
                max-height: 95vh !important;
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch;
            }

            /* Screen4 specific sticky layout */
            #quote-modal #screen4 {
                height: 95vh !important;
                max-height: 95vh !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
                overflow-x: hidden !important;
            }

            #quote-modal #screen4 .w-100 {
                display: flex !important;
                flex-direction: column !important;
                flex: 1 !important;
                min-height: 0 !important;
                overflow: hidden !important;
                overflow-x: hidden !important;
                width: 100% !important;
                max-width: 100% !important;
            }

            #quote-modal #screen4 .screen4-header-section {
                flex-shrink: 0;
                width: 100%;
                max-width: 100%;
                overflow-x: hidden;
            }

            #quote-modal .slider-labels span {
                white-space: nowrap;
                font-size: 11px !important;
            }

            #quote-modal #screen4 .screen4-header-section h2 {
                /* font-size: 20px !important; */
                margin: 10px 0 4px 0 !important;
            }

            #quote-modal #screen4 .screen4-header-section .mobileVersion {
                margin-bottom: 10px !important;
            }

            #quote-modal #screen4 .screen4-sticky-footer .mobileVersion {
                margin-bottom: 12px !important;
            }

            #quote-modal #screen4 #screen4Cards {
                flex: 1 !important;
                min-height: 36vh !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                -webkit-overflow-scrolling: touch;
                padding-right: 5px;
                margin-bottom: 15px !important;
                width: 100% !important;
            }

            #quote-modal #screen4 #screen4Cards::-webkit-scrollbar {
                width: 6px;
            }

            #quote-modal #screen4 #screen4Cards::-webkit-scrollbar-track {
                background: #e0e0e0;
                border-radius: 3px;
            }

            #quote-modal #screen4 #screen4Cards::-webkit-scrollbar-thumb {
                background: #83B785;
                border-radius: 3px;
            }

            #quote-modal #screen4 .screen4-sticky-footer {
                flex-shrink: 0;
                padding-top: 0px;
                width: 100%;
                max-width: 100%;
                overflow-x: hidden;
            }

            /* Screen5 specific sticky layout */
            #quote-modal #screen5 {
                height: 95vh !important;
                max-height: 95vh !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
                overflow-x: hidden !important;
            }

            #quote-modal #screen5 .w-100 {
                display: flex !important;
                flex-direction: column !important;
                flex: 1 !important;
                min-height: 0 !important;
                overflow: hidden !important;
                overflow-x: hidden !important;
                width: 100% !important;
                max-width: 100% !important;
            }

            #quote-modal #screen5 .screen5-header-section {
                flex-shrink: 0;
                width: 100%;
                max-width: 100%;
                overflow-x: hidden;
            }

            #quote-modal #screen5 .screen5-fields-container {
                flex: 1 !important;
                min-height: 0 !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                -webkit-overflow-scrolling: touch;
                padding-right: 5px;
                width: 100% !important;
            }

            #quote-modal #screen5 .screen5-fields-container::-webkit-scrollbar {
                width: 6px;
            }

            #quote-modal #screen5 .screen5-fields-container::-webkit-scrollbar-track {
                background: #e0e0e0;
                border-radius: 3px;
            }

            #quote-modal #screen5 .screen5-fields-container::-webkit-scrollbar-thumb {
                background: #83B785;
                border-radius: 3px;
            }

            #quote-modal #screen5 .screen5-sticky-footer {
                flex-shrink: 0;
                padding-top: 15px;
                width: 100%;
                max-width: 100%;
                overflow-x: hidden;
            }


            #quote-modal .banner-img {
                height: 150px;
            }

            #quote-modal .option-btn {
                min-width: 200px;
                font-size: 14px;
                width: 100%;
            }

            #quote-modal #screen4Cards {
                display: flex !important;
                flex-direction: column;
                gap: 10px !important;
            }

            #quote-modal .packaging-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            #quote-modal .packaging-card {
                height: 200px;
                max-width: 100%;
            }

            #quote-modal .action-buttons {
                flex-direction: column;
                gap: 10px;
            }

            #quote-modal .btn-help {
                order: 2;
            }

            #quote-modal .btn-start {
                order: 1;
                width: 100%;
            }

            #quote-modal .screen1-heading {
                font-size: 20px;
            }

            #quote-modal .start-quote-label {
                font-size: 10px;
                padding: 4px 8px;
                max-width: 160px;
                text-align: center;
            }

            #quote-modal .btn-close-screen {
                font-size: 36px;
                width: 44px;
                height: 44px;
            }

            /* Screen 6 - Environmental impact stats: single column on mobile */
            #quote-modal .eco-impact-stats-grid {
                grid-template-columns: 1fr !important;
                gap: 32px !important;
            }

            #quote-modal .eco-impact-stats-grid > div p:first-child {
                font-size: 28px !important;
            }

            #quote-modal .eco-impact-stats-grid > div p:last-child {
                font-size: 14px !important;
            }
        }