
.quote-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quote-items li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.quote-items li img {
    max-height: 100px;
    width: auto;
    max-width: 150px;
}

.quote-items li .details {
    flex: auto;
}

.qty-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.qty-update-msg {
    color: green;
    margin-top: 5px;
    display: block;
    width: 100%;
    text-align: center;
}
.quote-qty-input {
    max-width: 58px;
}
@media (min-width: 768px) {
    .quote-items button.update-quote-item{
        font-size: 12px;
        line-height: 25px;
        padding: 0 14px;
    }
}
#quote-submit-form button[type="submit"] {
    line-height: 41px;
    padding: 0 28px;
    margin-top: 28px;
}
.offerte-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: absolute;
    right: 164px;
    top: 7px;
    background-color: #ff9200;
    color: #fff;
    font-weight: bold;
    border-radius: 22px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'neue-haas-grotesk-display', sans-serif;
    height: 34px;
    line-height: 34px;
    padding: 8px 14px;
    text-transform: uppercase;
}
.offerte-link span {
    color: #fff;
}
.modal-popup .modal-inner-wrap {
    max-width: 700px;
}
.modal-header button.action-close, .modal-header button.action-close:hover, .modal-header button.action-close:focus {
        background-color: #fff!important
}
.modal-popup._inner-scroll .modal-inner-wrap{
    margin-top: 15%;
}
.product-added-message {
    font-size: 18px;
    text-align: left;
    font-weight: 400;
    line-height: 27px;
}
.row.popup-content {
    margin-bottom: 28px;
}
.product-bottom .product-bottom-down {
    text-align: center;
}
.image-wrapper {
    min-width: 180px;
    text-align: center;
}
.image-wrapper img {
    display: inline-block;
}
.qty-title {
    text-align: center;
    width: 100%;
    display: block;
    font-weight: bold;
}
.quote-qty-input {
    text-align: center;
}
.quote-items h2 {
    text-align: left;
    margin-bottom: 5px;
}
.quote-items a {
    display: inline-block;
}
.columns .product .actions-secondary .compare {
    display: block;
    padding-bottom: 3px;
}
.columns .product .actions-secondary .compare:before {
    position: relative;
}
#quote-response {
    font-size: 18px;
    margin-top: 20px;
}
.price-offer-category {
    margin-bottom: 18px;
}
.webshot-clean-modal .action-close {
    /* White background */
    background: white !important;

    /* Remove default Magento ✕ icon */
    background-image: none !important;
    
    /* Text-based ✕ instead */
    color: #333 !important;
    font-size: 18px !important;
    font-weight: bold;
    text-align: center;
    line-height: 30px !important;
    
    /* Size & shape */
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    
    /* Positioning */
    top: 15px !important;
    right: 15px !important;
}

/* Hover state */
.webshot-clean-modal .action-close:not(:focus) {
    background: #f5f5f5 !important;
    color: #000 !important;
    border: 0;
}
.modal-custom .action-close:before, .modal-popup .action-close:before, .modal-slide .action-close:before {
    background-color: white !important;
    border: 1px solid #888;
    border-radius: 100%;
    box-shadow: none;
}
.quote-product-name {
    font-weight: 600;
}
.quote-request-popup .actions {
    text-align: center;
}
.quote-request-popup .action.continue {
    margin-right: 4%;
}
.quote-request-popup button.action.continue {
    background: #fff;
    color: #134395;
    border: 1px solid #134395;
}
.quote-request-popup button.action.continue:hover, .quote-request-popup button.action.continue:focus {
    border-color: #ffb046;
}
.quote-request-popup button.action.view-quote

 {
    border: 2px solid #ff9200;
 }
.quote-request-popup .last {
    padding-right: 0;
}
.global-update-wrapper {
    text-align: right;
    margin: 20px 0;
    padding-top: 20px;
}

#update-all-quote-items {
    padding: 3px 24px;
    font-size: 1.1em;
    background: #fff;
    color: #134395;
    border: 1px solid #134395;
}
#update-all-quote-items:hover {
    border: 1px solid #ffb046;
}
#update-all-quote-items:focus {
    border: 1px solid #ffb046;
}
.offerte-buttons button.qty-minus, .offerte-buttons button.qty-plus {
    background: #fff;
    color: #888;
    border: 1px solid #c2c2c2;
    line-height: 26px;
    padding: 0 18px;
}
.offerte-buttons button.qty-minus:hover, .offerte-buttons button.qty-plus:hover, .offerte-buttons button.qty-minus:focus, .offerte-buttons button.qty-plus:focus  {
    background: #fff!important;
    color: #888!important;
    border: 1px solid #c2c2c2;
    line-height: 26px;
    padding: 0 18px;
}
input[type="number"].quote-qty-input {
    background: #efefef;
    border: 0;
    color: #000;
}
/* Bin icon button styles */
.remove-quote-item button.delete-quote-item {
    background: #fff;
    border: 0;
    padding: 5px;
    cursor: pointer;
    vertical-align: middle;
}
.remove-quote-item button.delete-quote-item:hover, .remove-quote-item button.delete-quote-item:focus {
    background: #fff!important;
    border: 0;
    padding: 5px;
    cursor: pointer;
    vertical-align: middle;
}

.bin-icon {
    width: 20px;
    height: 20px;
    fill: #134395;
    transition: fill 0.3s;
}
.bin-icon:hover {
    fill: red;
}

/* Specifically for your bin icon */
.quote-items .delete-quote-item:hover .bin-icon,
.quote-items .delete-quote-item:focus .bin-icon {
    fill: #ff0000 !important; /* Keeps original color */
}
.remove-quote-item {
    min-width: 48px;
    text-align: center;
    padding: 26px 0px;
}
/* Two Column Form Layout */
.two-column-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 auto;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    margin-bottom: 0;
}

.full-width {
    grid-column: 1 / -1;
}

/* Address Number + Postcode inline */
.address-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Base Styles (keep your existing styles) */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-button {
    background: #1979c3;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .global-update-wrapper, .form-actions.full-width {
        text-align: center;
    }
    #quote-submit-form {
        padding: 0 20px;
    }
    header .topheader .row .col-small-12 #search_mini_form {
        width: 235px;
    }
    header .topheader .row .col-small-12 .switcher-language {
        right: 15px;
    }
    .quote-items li {
        display: inline-grid;
        padding: 18px;
    }
    .offerte-buttons, .quote-items li .details, .quote-items h2 {
        text-align: center;
    }
    .qty-wrapper {
        display: inline-block;
    }
    .two-column-form {
        grid-template-columns: 1fr;
    }
    
    .address-row {
        grid-template-columns: 1fr 2fr; /* Adjust ratio for mobile */
    }
}
/* Product Remarks Styling */
.product-remarks {
    margin-top: 8px;
    max-width: 488px;

}

.product-remark-input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.9em;
}

.product-remark-input::placeholder {
    color: #999;
    font-style: italic;
}

.product-meta {
    font-size: 0.9em;
    color: #666;
}

.sku {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
}
.processing-msg {
    color: #0066cc;
    font-weight: bold;
}

.input-error {
    border-color: #ff0000 !important;
    background-color: #fff0f0;
}

.success-msg {
    color: #008000;
}

.error-msg {
    color: #ff0000;
}
/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5em;
    flex-direction: column;
}

.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-overlay {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.loading-overlay.show {
    opacity: 1;
}
.global-update-message {
    font-size: 18px;
    color: green;
    margin-top: 18px;
}
.price-offer-icon {
    max-width: 40px;
    padding: 18px 0;
}
.product-remarks {
    margin-top: 10px;
}

.remarks-toggle {
    color: #006bb4;
    cursor: pointer;
    padding: 5px 0;
    display: inline-block;
    font-size: 13px;
}

.remarks-toggle:hover {
    text-decoration: underline;
}

.remarks-toggle .toggle-icon {
    margin-left: 5px;
    font-weight: bold;
    display: inline-block;
    width: 12px;
}

.remarks-content {
    margin-top: 5px;
}

.product-remark-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.checkbox-row {
    margin: 0;
    padding: 10px 0;
}

.checkbox-row.required label:after {
    content: ' *';
    color: #e02b27;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-right: 10px;
    min-width: 18px;
    height: 18px;
    width: 18px;
}

.checkbox-wrapper label {
    margin-bottom: 0;
    line-height: 1.4;
    font-weight: 400;
}

.checkbox-wrapper label a {
    color: #006bb4;
    text-decoration: underline;
}
.price-offer-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}

.price-offer-button .plus-icon {
    font-size: 24px; /* Adjust size as needed */
    font-weight: 400;
    margin-right: 8px;
}

.price-offer-button .icon-image {
    display: inline-block;
    width: 41px; /* Adjust based on your image dimensions */
    height: 25px; /* Adjust based on your image dimensions */
    background-image: url('../images/orange_button.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
button.action.primary.price-offer-button {
    line-height: 12px;
    padding: 5px 20px 6px 20px;
}
.product-image-wrapper {
    position: relative;
    display: block;
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-wrapper:hover .product-image-overlay {
    opacity: 1;
}

.overlay-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    padding: 10px;
}
.offerte-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin: 0;
}

.quote-icon-link {
    display: inline-block;
    width: 38px;
    height: 32px; 
    background: 
        transparent 
        url('../images/quote_icon_white_small.png') 
        no-repeat 
        center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
    vertical-align: middle; 
    position: absolute;
    right: 188px;
    top: 7px;
    overflow: visible;
}

.quote-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff5501;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}
.qty-minus {
    cursor: pointer;
    transition: background-color 0.3s;
}
.qty-minus:hover {
    background-color: #f5f5f5;
}
.qty-minus[data-qty="1"] {
    color: #ff0000;
    font-weight: bold;
}
/* Grid layout for the form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-cell {
    display: flex;
    flex-direction: column;
}

.form-cell.full-width {
    grid-column: 1 / -1; /* Span both columns */
}

/* Address field layout */
.address-combo {
    display: flex;
    flex-direction: column;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 0;
}

.address-field {
    display: flex;
    flex-direction: column;
}

/* Form styling */
.form-cell label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.form-cell input,
.form-cell textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-cell input:focus,
.form-cell textarea:focus {
    outline: none;
    border-color: #1979c3;
    box-shadow: 0 0 0 2px rgba(25, 121, 195, 0.1);
}

.form-cell textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox styling */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 3px;
    width: auto;
}

.checkbox-wrapper label {
    font-weight: normal;
    margin-bottom: 0;
    line-height: 1.4;
}

.checkbox-wrapper a {
    color: #1979c3;
    text-decoration: underline;
}

.checkbox-wrapper a:hover {
    color: #006bb4;
}

/* Submit button */
.submit-button {
    background-color: #1979c3;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #006bb4;
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Validation styling */
input:invalid,
textarea:invalid {
    border-color: #ff0000;
}

input:valid,
textarea:valid {
    border-color: #00aa00;
}

/* Required field indicator */
.form-cell label:has(+ input[required])::after,
.form-cell label:has(+ textarea[required])::after {
    content: " *";
    color: #ff0000;
}

/* Responsive design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 15px;
    }
    
    .address-grid {
        grid-template-columns: 1fr; /* Stack address fields on mobile */
        margin-top: 0;
    }
    
    .address-field:first-child {
        margin-bottom: 10px;
    }
}

/* Focus styling for better accessibility */
.form-cell input:focus-visible,
.form-cell textarea:focus-visible,
.checkbox-wrapper input[type="checkbox"]:focus-visible,
.submit-button:focus-visible {
    outline: 2px solid #1979c3;
    outline-offset: 2px;
}
.input-error {
    border-color: #ff0000 !important;
    background-color: #ffeeee !important;
}

input:invalid, textarea:invalid {
    border-color: #ffcccc;
}

.qty-minus {
            cursor: pointer;
            transition: all 0.3s ease;
        }
.qty-minus.remove-mode {
            color: #ff0000;
            font-weight: bold;
            background-color: #ffeeee;
        }
.qty-minus:hover {
            background-color: #f5f5f5;
        }
.qty-minus.remove-mode:hover {
            background-color: #ffdddd;
        }
input[type="tel"] {
    background: #f7f6fa;
}
form.grid-form label {
    width: auto;
}