/* Common button desing */
.header-menu {
    z-index: 99;
}

.header {
    z-index: 999;
}

/* Remove unwanted border line at top of header */
.top-bar,
.header-upper-wrap {
    border-top: none !important;
}

/* Prevent background scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

html.modal-open {
    overflow: hidden !important;
}

.primary-btn {
    border: none;
    background-color: #353535;
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    font-size: 14px !important;
    border-radius: 5px;
    line-height: 1.1em;
    display: inline-block;
    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
    font-weight: 600 !important;
}

    .primary-btn:hover {
        background-color: #d72a2a;
    }

.secondary-btn {
    display: inline-block;
    border: 1px solid #ddd;
    background-color: #eee;
    color: #777;
    padding: 10px 15px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    text-transform: capitalize;
    line-height: 1.1em;
    border-radius: 5px;
    font-weight: 600 !important;
}

.primary-btn:disabled {
    font-size: 14px;
    font-style: italic;
    font-weight: 600 !important;
    color: green !important;
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
}

.primary-btn:disabled {
    cursor: not-allowed;
}

.secondary-btn:hover {
    background-color: #ddd;
}

.table-bordered th {
    background-color: #f4f4f4;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #eee;
}

.text-center {
    text-align: center !important;
}

.master-wrapper-content {
    z-index: 5;
}

/*mfa section */
.mfa-opt-out-toggle {
    margin-bottom: 30px;
}

.toggle-label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #D72A2A;
}

    input:checked + .slider:before {
        transform: translateX(26px);
    }

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.toggle-status {
    font-weight: bold;
    color: #444;
}

.mfa-description {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f39c12;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    background-color: #FFF3D4;
    padding: 10px;
    border: 1px solid #f39c12;
    border-radius: 4px;
}

.warning-icon {
    color: #f39c12;
    font-size: 18px;
}

.save-mfa-preference-button {
    width: 150px;
}

.switch {
    width: 46px;
    height: 22px;
}

.slider:before {
    width: 16px;
    height: 16px;
    left: 3px;
    bottom: 3px;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 22px;
}

/*confirm password*/
form#passwordRecoveryForm {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 15px;
}
form#passwordRecoveryForm .fieldset{
margin: 0 0 20px!important;
}
form#passwordRecoveryForm .fieldset .form-fields{
    border-top: 0!important;
    padding: 0!important;
}
.new-password-button {
        padding: 10px 25px !important;
    background-color: var(--color-black-three) !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 15px !important;
    color: #fff;
    transition: all 0.3s ease-in-out;
    line-height: 1.2em !important;
}

    .new-password-button:hover,
    .new-password-button:focus {
        background-color: #248ece;
    }

.buttons {
    display: flex;
    justify-content: left;
}

.address-list-page .add-button {
    text-align: left !important;
}

.password-recovery-confirm h2 {
    text-align: left;
    font-size: 26px;
    color: #353535;
}

.order-details-page .order-overview {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e6e6e6;
}
/*my account address*/

.primary-address-checkbox {
    cursor: pointer;
    margin-right: 5px;
}

    .primary-address-checkbox:hover {
        position: relative;
    }

        .primary-address-checkbox:hover::after {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: #fff;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            z-index: 100;
            margin-bottom: 5px;
        }

/*stock */

.c-orange {
    color: #f28c38;
}

.c-green {
    color: #28a745;
}

.c-blue {
    color: #007bff;
}

.stock {
    font-size: 14px;
}

.page.product-details-page .overview {
    font-size: 14px;
}

html.html-product-details-page .overview .short-description {
    font-size: 15px;
}

.replace-by {
    margin-bottom: 5px;
    font-weight: 600;
}

.specifications {
    font-size: 14px;
    line-height: 1.5;
}

    .specifications h3 {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: bold;
    }

.specification-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .specification-item:last-child {
        margin-bottom: 20px;
    }

    .specification-item .label {
        font-weight: bold;
        margin-right: 5px;
        flex: 0 0 auto;
    }

    .specification-item .value {
        color: #555;
        flex: 1;
    }

.replace-by a {
    color: inherit;
    text-decoration: none;
}

    .replace-by a:hover {
        color: #D72A2A;
    }

/*compitable model*/

.compatible-models {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

    .compatible-models h3 {
        font-family: Arial, sans-serif;
        font-weight: bold;
        font-size: 16px;
        color: #333;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .compatible-models .category-list {
        font-family: Arial, sans-serif;
        font-size: 14px;
        color: #555;
        line-height: 1.5;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .compatible-models .category-item {
        flex: 1 1 calc(33.33% - 20px);
        box-sizing: border-box;
        padding-left: 15px;
        margin-bottom: 5px;
        position: relative;
    }

        .compatible-models .category-item::before {
            color: #999;
            position: absolute;
            left: 0;
        }

        .compatible-models .category-item a {
            display: block;
            color: #555;
            text-decoration: none;
        }

            .compatible-models .category-item a:hover {
                text-decoration: underline;
            }

/*shipping address*/

.email-input-display {
    display: inline-block;
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.order-review-data .title,
.order-details-area .title,
.shipment-details-area .title {
    padding: 0 0 5px 0;
    margin: 0;
}

.edit-address-button.no-edit-icon {
    background: none !important;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row label {
    font-weight: bold;
}

.form-row .half {
    display: flex;
    flex-wrap: wrap;
}

    .form-row .half:first-child {
        margin-right: 10px;
    }

.form-row .third {
    flex: 1 1 30%;
    display: flex;
}

.form-row input,
.form-row select {
    padding: 6px;
    font-size: 14px;
    width: 100% !important;
}

.button-1.save-address-button {
    background-color: #353535;
    color: #fff;
    padding: 10px 15px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    width: auto;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

    .button-1.save-address-button:hover {
        background-color: #d72a2a !important;
    }

.edit-shipping-address {
    border: 1px solid #ddd;
    background: #fff;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 8px;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
}

    .form-row label {
        font-weight: 600;
        margin-bottom: 6px;
        width: 100%;
    }

    .form-row input,
    .form-row select {
        padding: 8px 10px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 4px;
        width: 100%;
        box-sizing: border-box;
        height: 36px;
    }

    .form-row span[asp-validation-for] {
        font-size: 12px;
        color: red;
        margin-top: 4px;
    }

.half {
    flex: 1 1 calc(50% - 10px);
    display: flex;
}

.third {
    flex: 1 1 calc(33.333% - 13.33px);
    display: flex;
    flex-wrap: wrap;
}


.edit-shipping-address .form-row .third {
    width: 100%;
    flex: 1 1 100%;
    margin-bottom: 10px;
}

.full {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
}

.button-1.save-address-button:hover {
    background-color: #c9302c;
}



div#shippingFormPopup .popup-content, div#billingFormPopup .popup-content {
    width: auto !important;
    max-height: 100% !important;
    max-width: 100% !important;
}



.edit-shipping-button {
    display: inline-block;
    margin: 0 0 0 10px;
    border: none;
    padding: 0 0 0 18px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.order-details-area .title {
    font-size: 18px;
    margin-bottom: 8px;
}

button.button-1.edit-shipping-button.edit-address-button.no-edit-icon {
    color: #dc3545;
    filter: none !important;
}

.edit-shipping-button:hover {
    color: #4ab2f1;
}

.shipping-info .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*manufacturer header link*/
ul.manufacturer-logos {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

    ul.manufacturer-logos li {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    ul.manufacturer-logos img {
        max-width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

.header-menu .sublist li a:before {
    display: none;
}

/* Header Actions Section Styles */
.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

    .header-actions .btn-orange {
        background-color: #ff6b35;
        color: white;
        padding: 8px 16px;
        text-decoration: none;
        border-radius: 4px;
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

        .header-actions .btn-orange:hover {
            background-color: #e55a2b;
            color: white;
            text-decoration: none;
        }

    .header-actions .btn-yellow {
        background-color: #ffc107;
        color: #000;
        padding: 8px 16px;
        text-decoration: none;
        border-radius: 4px;
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

        .header-actions .btn-yellow:hover {
            background-color: #e0a800;
            color: #000;
            text-decoration: none;
        }

    /* Header Links within Header Actions */
    .header-actions .header-links {
        display: inline-block;
        position: relative;
    }

        .header-actions .header-links ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
        }

        .header-actions .header-links li {
            display: inline-block;
            margin: 0;
            padding: 0;
        }

    .header-actions .ico-cart {
        text-decoration: none;
        color: #333;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

        .header-actions .ico-cart:hover {
            color: #4ab2f1;
            text-decoration: none;
        }

/* Header Login/Cart Section Styles */
.header-links .btn-orange {
    background-color: #ff6b35;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .header-links .btn-orange:hover {
        background-color: #e55a2b;
        color: white;
        text-decoration: none;
    }

.header-links .btn-yellow {
    background-color: #ffc107;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .header-links .btn-yellow:hover {
        background-color: #e0a800;
        color: #000;
        text-decoration: none;
    }

.header-links .ico-cart {
    text-decoration: none;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .header-links .ico-cart:hover {
        color: #4ab2f1;
        text-decoration: none;
    }

/* Homepage Products Custom Layout */
.home-page-product-grid .first-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.home-page-product-grid .second-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* Responsive design for homepage products */
@media (max-width: 1200px) {
    .home-page-product-grid .first-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-page-product-grid .second-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .half {
        flex: 1 1 100% !important;
    }

    .form-row .half:first-child {
        margin: 0 0 10px !important;
    }
}

@media (max-width: 768px) {
    .home-page-product-grid .first-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .home-page-product-grid .second-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .empr-model-facets {
        max-height: 350px;
        overflow-y: auto;
        padding-right: 10px;
    }

        .empr-model-facets::-webkit-scrollbar {
            width: 8px;
        }

        .empr-model-facets::-webkit-scrollbar-thumb {
            background-color: rgba(0,0,0,0.3);
            border-radius: 4px;
        }

        .empr-model-facets::-webkit-scrollbar-track {
            background-color: rgba(0,0,0,0.05);
            border-radius: 4px;
        }
}

@media (max-width: 480px) {

    .home-page-product-grid .first-row,
    .home-page-product-grid .second-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Contact Us Page Styles */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

    .contact-page .page-body {
        margin-top: 20px;
    }
    /* .contact-page .page-body {
        display: flex !important;
        align-items: flex-start;
        gap: 32px;
        margin-top: 20px;
    } */

    /* .contact-page .contact-grid {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
        width: 100%;
    }
        .contact-page .contact-grid > .contact-info,
        .contact-page .contact-grid > .contact-form {
            flex: 0 0 50%;
            max-width: 50%;
            box-sizing: border-box;
            min-width: 0;
           
        } */


    .contact-page .contact-grid {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

        .contact-page .contact-grid > .contact-info,
        .contact-page .contact-grid > .contact-form {
            flex: 0 0 calc(50% - 10px);
            max-width: calc(50% - 10px);
            box-sizing: border-box;
            min-width: 0;
        }

    .contact-page .contact-info {
        padding-right: 20px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 24px;
    }

    .contact-page .contact-form {
        padding-left: 20px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 24px 24px 28px 24px;
    }

.contact-details,
.click-collect-location {
    margin-bottom: 30px;
}

.contact-info-item {
    margin-bottom: 15px;
}

.email-list div {
    margin-bottom: 5px;
}

.location-details div {
    margin-bottom: 5px;
}

.view-map-link {
    margin: 15px 0;
}

.view-map {
    color: #007bff;
    text-decoration: none;
}

    .view-map:hover {
        text-decoration: underline;
    }

.collection-notes p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.contact-form .form-group {
    margin-bottom: 10px;
}

    .contact-form .form-group label.required::after {
        content: " *";
        color: red;
    }

.contact-form .result {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

    .contact-form .result.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .contact-form .result.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

.contact-form .field-validation-error {
    color: red;
    font-size: 12px;
}

.contact-form .message-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.help-link {
    margin-top: 5px;
}

.help-link-text {
    color: #e4434b !important;
    text-decoration: none;
    font-size: 11px;
}

    .help-link-text:hover {
        text-decoration: underline;
    }

/* Contact form specific fixes */
.contact-form .section-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-form select.form-control,
.contact-form input.form-control,
.contact-form textarea.form-control {
    background-color: #fff !important;
    color: #2b2b2b !important;
    border: 1px solid #d6d9de !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 11px 14px !important;
    font-size: 15px !important;
    border-radius: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

    .contact-form select.form-control:focus,
    .contact-form input.form-control:focus,
    .contact-form textarea.form-control:focus {
        border-color: #4ab2f1 !important;
        box-shadow: 0 0 0 2px rgba(74, 178, 241, 0.12) !important;
        outline: none !important;
    }

    .contact-form select.form-control option {
        background-color: #fff !important;
        color: #2b2b2b !important;
        padding: 10px 12px !important;
        white-space: normal !important;
    }

/* Improve native select look a bit */
.contact-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #707780 50%), linear-gradient(135deg, #707780 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px !important;
    height: 44px !important;
    line-height: 22px !important;
}

/* form header */
.contact-form h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    padding: 10px 12px;
    background: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 4px;
}

.contact-form .form-group {
    margin-bottom: 10px !important;
}

    .contact-form .form-group label {
        color: #333 !important;
        font-weight: 600 !important;
        margin-bottom: 5px !important;
        display: block !important;
        font-size: 14px !important;
    }

        .contact-form .form-group label.required::after {
            content: " *" !important;
            color: red !important;
        }

.contact-form .btn-primary {
    background-color: #4ab2f1 !important;
    border-color: #4ab2f1 !important;
    color: #fff !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    width: 100% !important;
}

    .contact-form .btn-primary:hover {
        background-color: #248ece !important;
        border-color: #248ece !important;
    }

.contact-form .g-recaptcha {
    margin: 20px 0 !important;
}

.contact-form .field-validation-error {
    color: red !important;
    font-size: 12px !important;
    margin-top: 5px !important;
    display: block !important;
}

/* Non-disabled visual lock for inner fields */
.contact-form .lockable-section {
    position: relative;
}

.contact-form .is-disabled {
    opacity: 0.55 !important;
    pointer-events: none !important;
}

    .contact-form .is-disabled::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.5);
        pointer-events: none;
    }

/* Responsive design for contact page */
@media (max-width: 768px) {
    .contact-page {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info {
        padding-right: 0;
    }

    .contact-form {
        padding-left: 0;
    }

    .contact-page .contact-grid {
        flex-direction: column;
        gap: 20px;
    }
}

/* Returns Request Page Styles */
/* .page.returns-request-page .returns-request-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eee;
} */

.page.returns-request-page .form-section-title {
    position: relative;
}

.page.returns-request-page .hint-trigger {
    right: 0;
    top: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    position: absolute;
}

.page.returns-request-page .invoice-hint-pop {
    display: none;
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;
    padding: 6px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

    .page.returns-request-page .invoice-hint-pop img {
        max-width: 760px;
        height: auto;
        display: block;
    }

.page.returns-request-page .hint-trigger:hover + .invoice-hint-pop {
    display: block;
}

.terms-notice {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

    .terms-notice p {
        margin: 0 0 10px 0;
    }

        .terms-notice p:last-child {
            margin-bottom: 0;
        }

    .terms-notice a {
        color: #656565;
        font-style: italic;
        font-weight: 600;
        transition: all 0.3s ease-in-out;
    }

        .terms-notice a:hover {
            color: #D72A2A;
        }

.page.returns-request-page .form-section-title {
    font-size: 14px;
    font-weight: bold;
    color: #656565;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.page.returns-request-page .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.page.returns-request-page .form-group {
    flex: 1;
    margin-bottom: 0;
    position: relative;
}

    .page.returns-request-page .form-group label {
        display: inline-block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #656565;
        font-size: 14px;
        position: relative;
    }

        .page.returns-request-page .form-group label.required::after {
            content: " *";
            color: #dc3545;
        }

.page.returns-request-page .help-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    margin-left: 5px;
}

.page.returns-request-page .form-control {
    width: 100%;
    padding: 8 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.page.returns-request-page .form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.page.returns-request-page .form-actions {
    margin-top: 10px;
}


.page.returns-request-page .result {
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: 500;
}

    .page.returns-request-page .result.success {
        background: #d4edda;
        color: #1f8937;
        font-weight: 600;
        font-size: 13px;
    }

    .page.returns-request-page .result.error {
        background: #f8d7da;
        border: 1px solid #f5c6cb;
        color: #721c24;
    }

.page.returns-request-page .field-validation-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.page.returns-request-page .message-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .page.returns-request-page .form-row {
        flex-direction: column;
        gap: 0;
    }

    .page.returns-request-page .form-group {
        margin-bottom: 20px;
    }

}
.returns-form-section{
     border-radius: 6px;
    padding: 20px;
    border: 1px solid #e9ecef;
}
.page.cancellation-request-page .form-section-title {
    font-size: 15px;
    font-weight: bold;
    color: #656565;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 10px;
}

.page.cancellation-request-page .form-row {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.page.cancellation-request-page label.required {
    margin-bottom: 10px !important;
    display: inline-block;
    font-size: 14px !important;
}

.page.cancellation-request-page .form-group {
    flex: 1;
    position: relative;
}

    .page.cancellation-request-page .form-group label.required::after {
        content: " *";
        color: #dc3545;
    }

.page.cancellation-request-page .form-actions {
    margin-top: 20px;
}

.page.cancellation-request-page .btn-next,
.page.cancellation-request-page .btn-primary {
    background-color: #353535;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: normal;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.1em;
    border: none !important;
}

    .page.cancellation-request-page .btn-next:hover,
    .page.cancellation-request-page .btn-primary:hover {
        background-color: #D72A2A;
    }

/* Order Details Display Styles */
.page.cancellation-request-page .order-details-display {
    margin-bottom: 20px;
}

.page.cancellation-request-page .order-details-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

    .page.cancellation-request-page .order-details-table td {
        padding: 10px 0;
        border: none;
        vertical-align: middle;
    }

.page.cancellation-request-page .order-detail-cell {
    /* background-color: #f8f9fa; */
    text-align: left;
}

.page.cancellation-request-page .order-detail-label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.page.cancellation-request-page .order-detail-value {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.page.cancellation-request-page .edit-button-cell {
    background-color: #fff;
    padding: 8px 15px;
}

.page.cancellation-request-page .btn-secondary {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .page.cancellation-request-page .btn-secondary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

.page.cancellation-request-page .hint-trigger {
    position: absolute;
    left: calc(100% + 1px);
    top: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
}

.page.cancellation-request-page .order-hint-pop {
    display: none;
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;
    padding: 6px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

    .page.cancellation-request-page .order-hint-pop img {
        max-width: 760px;
        height: auto;
        display: block;
    }

.page.cancellation-request-page .hint-trigger:hover + .order-hint-pop {
    display: block;
}

/* Order Part Details Section */
.page.cancellation-request-page .order-part-details {
    display: none;
    margin-top: 30px;
}

    .page.cancellation-request-page .order-part-details.show {
        display: block;
    }

.page.cancellation-request-page .part-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

    .page.cancellation-request-page .part-details-table th,
    .page.cancellation-request-page .part-details-table td {
        padding: 12px;
        text-align: left;
        border: 1px solid #ddd;
    }

    .page.cancellation-request-page .part-details-table th {
        background-color: #f8f9fa;
        font-weight: bold;
    }

    .page.cancellation-request-page .part-details-table input[type="text"],
    .page.cancellation-request-page .part-details-table input[type="number"] {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .page.cancellation-request-page .part-details-table textarea {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        resize: vertical;
    }

.page.cancellation-request-page .warning-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 600;
    font-style: italic;
}

/* Credit Application - Director Management */
.page.credit-application-page .director-section h5 {
    margin-bottom: 15px !important;
    color: #495057 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.page.credit-application-page .form-group.form-group-info {
    margin-bottom: 20px !important;
    padding: 15px !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
}

.page.credit-application-page #directors-container .director-section h5 {
    margin-bottom: 15px !important;
    color: #495057 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

/* Trade Reference sections */
.page.credit-application-page .trade-reference-section, .page.credit-application-page .director-section {
    margin-bottom: 20px !important;
    padding: 10px !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    background-color: #fff;
}
html.html-account-page.html-order-list-page .address-list-page .info, html.html-account-page.html-order-list-page .order-list-page .info{
    background-color: #fff!important;
    padding: 15px;
}

    .page.credit-application-page .trade-reference-section h5 {
        margin-bottom: 15px !important;
        color: #495057 !important;
        font-weight: 600 !important;
        font-size: 14px !important;
    }

.form-section {
    margin-bottom: 20px;
}

/* CAPTCHA Section */
.page.credit-application-page .captcha-section .captcha-box {
    text-align: left;
}

.page.credit-application-page .captcha-section {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.page.credit-application-page .legal-terms {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff4f5;
    border-radius: 6px;
    border-left: 4px solid #D72A2A;
}

    .page.credit-application-page .legal-terms p {
        margin-bottom: 10px;
        font-size: 13px;
        color: #D72A2A;
        font-style: italic;
        font-weight: 600;
    }

.page.credit-application-page .form-description {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff7f8;
    border-radius: 6px;
    border-left: 4px solid #d72a2a;
}

    .page.credit-application-page .form-description p {
        margin: 0;
        font-size: 13px;
        color: #D72A2A;
        font-style: italic;
        font-weight: 600;
    }

.page.credit-application-page .form-example {
    margin-top: 15px;
    padding: 15px;
    background-color: #fbf3f3;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

    /* .page.credit-application-page .form-example h6 {
        margin-bottom: 10px;
        color: #495057;
        font-weight: 600;
    } */

    .page.credit-application-page .form-example p,
    .page.credit-application-page .form-example h6 {
        font-size: 13px;
        color: #444;
        font-weight: 600;
    }

.page.credit-application-page .input-group-text {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #495057;
}

.page.credit-application-page .input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

    .page.credit-application-page .input-group .input-group-text {
        padding: 8px 10px;
        border: 1px solid #999;
        border-right: none;
        border-radius: 5px 0 0 5px;
        background-color: #f8f9fa;
        color: #495057;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
    }

    .page.credit-application-page .input-group .form-control {
        border-radius: 0 5px 5px 0;
        border-left: none;
        border: 1px solid #999;
        flex: 1;
        padding: 8px 10px;
    }

        .page.credit-application-page .input-group .form-control:focus {
            border-color: #007bff;
            outline: 0;
            box-shadow: none;
            border-left: none;
        }

            .page.credit-application-page .input-group .form-control:focus + .input-group-text {
                border-color: #007bff;
            }

/* Ensure input-group styling is applied */
.page.credit-application-page .form-group .input-group {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
}

    .page.credit-application-page .form-group .input-group .input-group-text {
        background-color: #f8f9fa !important;
        border-color: #999 !important;
        color: #495057 !important;
        font-weight: 500 !important;
    }

    .page.credit-application-page .form-group .input-group .form-control {
        border-color: #999 !important;
        background-color: #fff !important;
    }

.page.credit-application-page .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #6c757d;
    cursor: pointer;
    margin-right: 15px;
    line-height: 1.1em;
}

.page.credit-application-page .form-control:focus {
    border-color: #4ab2f1 !important;
    box-shadow: 0 0 0 2px rgba(74, 178, 241, 0.12) !important;
}

.page.credit-application-page .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.page.credit-application-page .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    padding: 8px 25px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #dc3545;
    cursor: pointer;
}

    .page.credit-application-page .btn-danger:hover {
        background-color: #c82333;
        border-color: #bd2130;
    }

.page.credit-application-page .form-actions {
    margin-top: 15px;
    padding-top: 10px;
    text-align: left;
}

.page.credit-application-page .page-title h1 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    text-align: center;
}

/* .page.credit-application-page .form-section {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    width: 100%;
} */
/* .commercial-entities-form-fields .form-group{
padding: 10px;
border: 1px solid #ccc;
border-radius: 8px;
 } */

.page.credit-application-page .form-section:last-child {
    margin-bottom: 40px;
}

.page.credit-application-page .application-intro {
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

    .page.credit-application-page .application-intro p {
        margin: 0;
        font-size: 15px;
        color: #656565;
    }

        .page.credit-application-page .application-intro p:last-child {
            font-style: italic;
            color: #D72A2A;
        }

.page.credit-application-page .form-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.page.credit-application-page .application-type-selection {
    display: block;
    width: 100%;
}

.page.credit-application-page .type-option {
    margin-bottom: 8px;
    display: flex;
    width: 100%;
    clear: both;
}

    .page.credit-application-page .type-option input[type="radio"] {
        margin-right: 8px;
        vertical-align: top;
        float: left;
    }

    .page.credit-application-page .type-option label {
        display: block;
        font-weight: 600;
        color: #333;
        font-size: 15px;
        cursor: pointer;
        margin: 0;
        overflow: hidden;
    }

.page.credit-application-page .individual-form,
.page.credit-application-page .company-form {
    display: none;
}

    .page.credit-application-page .individual-form.show,
    .page.credit-application-page .company-form.show {
        display: block;
    }

.page.credit-application-page .field-group-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.page.credit-application-page .form-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

    .page.credit-application-page .form-row .form-group {
        flex: 1;
    }

.page.credit-application-page .commercial-entities-form-fields,
.page.credit-application-page .edugov-institutions-form-fields {
    width: 100%;
    max-width: 100%;
}

.page.credit-application-page .form-group {
    width: 100%;
}

.page.credit-application-page .form-row {
    width: 100%;
}

.page.credit-application-page .form-group {
    margin-bottom: 15px;
}

    .page.credit-application-page .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 600;
        color: #666;
        font-size: 14px;
    }

        .page.credit-application-page .form-group label.required::after {
            content: " *";
            color: #dc3545;
        }

.page.credit-application-page .form-control {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out;
}

    .page.credit-application-page .form-control:focus {
        border-color: #007bff;
        outline: 0;
        box-shadow: none;
    }

    .page.credit-application-page .form-control.is-invalid {
        border-color: #dc3545;
    }

.page.credit-application-page .field-validation-error {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
}


.page.credit-application-page .btn-primary,
.page.credit-application-page .submit-card .btn-primary {
    background-color: #353535;
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

    .page.credit-application-page .btn-primary:hover,
    .page.credit-application-page .submit-card .btn-primary:hover {
        background-color: #D72A2A;
    }

.page.credit-application-page .result {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

    .page.credit-application-page .result.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .page.credit-application-page .result.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

.page.credit-application-page .message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.page.credit-application-page .form-section:last-child {
    margin-bottom: 60px;
}

.page.credit-application-page .form-actions {
    padding-top: 15px;
    text-align: center;
}


/* Responsive Design */
@media (max-width: 768px) {
    .page.credit-application-page .application-type-selection {
        flex-direction: column;
    }

    .page.credit-application-page .form-row {
        flex-direction: column;
    }

    .page.credit-application-page {
        padding: 10px;
    }
}

/* Track Order Page Styles - Specific to Track Order Page Only */
.page.track-order-page .track-order-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page.track-order-page .customer-blocks {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.page.track-order-page .new-wrapper,
.page.track-order-page .returning-wrapper {
    flex: 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.page.track-order-page .form-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
    text-transform: uppercase;
}

.page.track-order-page .form-fields {
    margin-bottom: 15px;
    border: none!important;
    padding: 0!important;
}
html.html-login-page .returning-wrapper.fieldset span.forgot-password a{
    margin: 5px 0 10px!important;
}
.page.login-page div#login-fields .buttons{
    justify-content: left!important;
}
    .page.track-order-page .form-fields .inputs {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .page.track-order-page .form-fields label {
        display: block;
        margin-bottom: 5px;
        font-weight: 600;
        color: #333;
        font-size: 14px;
        width: 100%;
        text-align: left;
    }

    .page.track-order-page .form-fields input {
        width: 100%;
        padding: 8px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        margin-bottom: 5px;
    }

.page.track-order-page .field-validation-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    width: 100%;
}

.page.track-order-page .buttons {
    text-align: center;
    margin-top: 20px;
}

.returning-wrapper.fieldset .buttons {
    justify-content: center !important;
}
.page.track-order-page .returning-wrapper.fieldset{
border:none!important;
margin-bottom: 0!important;
}

.page.track-order-page .returning-wrapper.fieldset .title {
    text-align: center !important;
    margin-bottom: 5px!important;
}

.page.track-order-page .title strong {
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    font-size: 15px !important;
}

.page.track-order-page .message-success {
    color: green;
    font-style: italic;
    font-weight: 600;
}

.page.track-order-page .text {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    text-align: center !important;
}



/* Fix the banner color - should be gray, not red */
.page.track-order-page .message-error {
    background-color:#8F9194 !important;
    color: #fff !important;
    border: 1px solid #8f9194 !important;
    padding: 5px;
    border-radius: 4px;
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

    .page.track-order-page .message-error a {
        color: #a94442 !important;
        font-weight: bold;
        font-style: italic;
        transition: all 0.3s ease-in-out;
    }

        .page.track-order-page .message-error a:hover {
            color: #D72A2A !important;
        }

/* Responsive design for Track Order page */
@media (max-width: 768px) {
    .page.track-order-page .customer-blocks {
        flex-direction: column;
        gap: 20px;
    }

    .page.track-order-page .track-order-content {
        padding: 20px;
    }

    .page.track-order-page .new-wrapper,
    .page.track-order-page .returning-wrapper {
        padding: 15px;
    }
}

/* Manufacturer logo on product page */
.manufacturers {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .manufacturers a {
        display: inline-flex;
        align-items: center;
    }

    .manufacturers .separator {
        margin: 0 5px;
    }

    .manufacturers img {
        height: 60px;
        max-width: 300px;
        vertical-align: middle;
    }

/* Product detail tabs */
.product-tabs {
    margin: 10px 0px 10px 0px;
}

    .product-tabs .tab-content {
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 6px;
        margin-top: -1px;
        position: relative;
        z-index: 1;
        background: #fff;
    }

    .product-tabs .tab-panel {
        display: none;
        height: auto !important;
        min-height: 0 !important;
        padding: 0;
        border: 0;
    }

        .product-tabs .tab-panel.active {
            display: block;
        }

/* Product Info Badges (scoped) */
/* .empr-pib .pib-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0
} */

.empr-pib .pib-item .popup-info a {
    cursor: auto;
}

    /* show I-beam for non-popup links on hover */
    .empr-pib .pib-item .popup-info a:hover {
        cursor: text;
    }

    /* keep hand pointer for popup-enabled badges (case-insensitive match for True/true) */
    .empr-pib .pib-item .popup-info a[data-has-popup="true" i] {
        cursor: pointer !important;
    }

        .empr-pib .pib-item .popup-info a[data-has-popup="true" i]:hover {
            cursor: pointer !important;
        }

.empr-pib .mfp-hide {
    display: none
}


.empr-pib-modal .modal-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    background: #fff
}

.empr-pib-modal .modal-dialog {
    max-width: 900px;
    margin-top: 60px
}

.empr-pib-modal .modal-header .modal-title {
    font-weight: 600
}

.empr-pib-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998
}

.empr-pib-simple {
    position: fixed;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    background: #fff;
    padding: 20px;
    max-width: 900px;
    width: 90%;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
}

.empr-pib-simple-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.pib-box a {
    font-style: italic;
    text-decoration: underline;
    transition: all 0.3s ease;
}

    .pib-box a:hover {
        color: #dc3545;
    }

.pib-box {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
}

a.empr-pib-simple-close {
    font-size: 30px;
}

.empr-pib .pib-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #ffd7d9;
    color: #d72a2a;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1;
    transition: all 0.3s ease;
    font-weight: 600;
}

.popup-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.empr-pib .pib-badge:hover, .product-list .item-box .product-item .product-highlights .empr-pib .pib-badge:hover {
    color: #fff;
    background-color: #d72a2a;
    border: 1px solid #d72a2a;
}
/* 
.empr-pib .pib-item {
    margin-right: 8px;
    margin-bottom: 8px
} */

.empr-pib .pib-badge i {
    font-size: 12px;
    margin-right: 6px
}

/* ============================================
   Product Box Styles (scoped to product boxes only)
   ============================================ */

/* Color utilities for product boxes */
.item-box .c-orange,
.product-item .c-orange {
    color: #f28c38;
    font-size: 13px;
    font-weight: 600;
}

.item-box .c-green,
.product-item .c-green {
    font-weight: 600;
    color: #008000;
    font-size: 13px;
}

.item-box .c-blue,
.product-item .c-blue {
    color: #007bff;
}

.item-box .c-gray,
.product-item .c-gray {
    color: #6c757d;
}

.item-box .stock-availability,
.product-item .stock-availability {
    margin-right: 5px;
}

/* Stock container - Hide in grid view */
.product-grid .item-box .stock-container,
.product-grid .product-item .stock-container, .product-grid .item-box a.more-info {
    display: none !important;
}

/* Stock container - Show only in list view */
.product-list .item-box .stock-container,
.product-list .product-item .stock-container {
    margin-bottom: 15px;
    display: inline-block !important;
}

/* Grid view styles */
.product-grid .item-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}

.item-box .product-item .picture,
.product-item .picture {
    position: relative;
}

.item-box .free-shipping-badge,
.product-item .free-shipping-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 130px;
    width: auto;
}

    .item-box .free-shipping-badge img,
    .product-item .free-shipping-badge img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 0;
    }

.product-grid .item-grid .product-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-grid .item-grid .item-box .details {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-grid .item-grid .add-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-grid .item-grid .item-box .buttons {
    margin-top: auto;
}

.item-box .price-login-text,
.product-item .price-login-text {
    color: #d9534f;
    font-weight: 600;
    font-size: 14px;
}

/* Grid view - show grid message, hide list message */
.product-grid .item-box .price-login-text .list-view-text,
.product-grid .price-login-text .list-view-text {
    display: none !important;
}

.product-grid .item-box .price-login-text .grid-view-text,
.product-grid .price-login-text .grid-view-text {
    display: inline-block !important;
}

/* List view - show list message, hide grid message */
.product-list .item-box .price-login-text .grid-view-text,
.product-list .price-login-text .grid-view-text {
    display: none !important;
}

.product-list .item-box .price-login-text .list-view-text,
.product-list .price-login-text .list-view-text {
    display: block !important;
    font-size: 12px;
    color: #656565;
    line-height: 1.3em;
}

a.button-2.product-box-add-to-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Grid view - hide product highlights (badges) */
.product-grid .item-box .product-highlights {
    display: none !important;
}

/* List view - transform layout */
.product-list .item-box {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Clearance page list view support */
.clearance-products .product-list .item-box {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

    .product-list .item-box .product-item,
    .clearance-products .product-list .item-box .product-item {
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        padding: 10px;
        background: #fff;
        margin-bottom: 0;
    }

        .product-list .item-box .product-item .picture,
        .clearance-products .product-list .item-box .product-item .picture {
            position: relative;
            margin: 0;
        }

            .product-list .item-box .product-item .picture .free-shipping-badge {
                max-width: 60px !important;
            }

            .product-list .item-box .product-item .picture img {
                width: 100%;
                height: auto;
                border: none !important;
                border-radius: 0;
                object-fit: contain;
            }

            /* Free shipping badge in list view */
            .product-list .item-box .product-item .picture .free-shipping-badge {
                position: absolute;
                top: 0;
                right: 0;
                z-index: 10;
                max-width: 140px;
                width: auto;
            }

                .product-list .item-box .product-item .picture .free-shipping-badge img {
                    width: 100%;
                    height: auto;
                    display: block;
                    border-radius: 0;
                }

        .product-list .item-box .product-item .details,
        .clearance-products .product-list .item-box .product-item .details {
            padding: 0 !important;
            margin-left: 0;
            display: flex;
            flex-direction: column;
        }

        .product-list .item-box .product-item .sku {
            margin-bottom: 8px;
            font-size: 14px;
            color: #666;
            font-weight: normal;
        }

        .product-list .item-box .product-item .product-title {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            line-height: 1.3;
            padding: 5px 0;
        }

            .product-list .item-box .product-item .product-title a {
                color: #333;
                text-decoration: none;
            }

        .product-list .item-box .product-item .description {
            margin: 0;
            color: #666;
            font-size: 14px;
            line-height: 1.5;
        }

        /* Product badges in list view */
        .product-list .item-box .product-item .product-highlights {
            display: block !important;
        }

            .product-list .item-box .product-item .product-highlights .empr-pib {
                margin-top: 0;
            }

                .product-list .item-box .product-item .product-highlights .empr-pib .pib-wrapper, .empr-pib .pib-wrapper {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 8px;
                }

.product-essential .empr-pib .pib-wrapper, .clearance-products .empr-pib .pib-wrapper {
    margin: 8px 0;
}

.product-list .item-box .product-item .product-highlights .empr-pib .pib-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #d9d9d9;
    color: #7c7c7c;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1;
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .product-list .item-box .product-item .product-highlights .empr-pib .pib-badge i {
        font-size: 12px;
        margin-right: 6px;
    }

.product-list .item-box .product-item .add-info,
.clearance-products .product-list .item-box .product-item .add-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 3px;
}

    .product-list .item-box .product-item .add-info .prices {
        margin: 5px 0 0;
        text-align: left !important;
        align-items: center;
        display: flex;
        padding: 0 !important;
    }

    .page.product-details-page .product-essential .prices{
display: flex;
gap:15px;
align-items: center;
    }
        .product-list .item-box .product-item .add-info .prices .price {
            text-align: left !important;
            display: block;
        }

            .product-list .item-box .product-item .add-info .prices .price.actual-price {
                font-weight: 400;
                margin: 0;
                color: #656565;
                display: block;
                text-align: left !important;
                padding: 0 !important;
                font-size: 26px !important;
            }

/* Price tax label styling */
.item-box .price.actual-price .price-tax-label,
.product-item .price.actual-price .price-tax-label {
    font-size: 14px;
    font-weight: 600;
    color: #656565;
    display: inline;
}

.product-list .item-box .product-item .add-info .prices .price.actual-price .price-tax-label {
    font-size: 13px;
    font-weight: 500;
    color: #656565;
    display: inline;
}

.products-wrapper .product-list {
    margin-bottom: 10px !important;
}

.product-list .item-box .product-item .add-info .prices .price.old-price {
    text-align: left !important;
    margin-right: 10px;
}

.product-list .item-box .product-item .add-info .prices .tax-shipping-info {
    text-align: left !important;
}

.product-list .item-box .product-item .add-info .prices .base-price-pangv {
    text-align: left !important;
}

.product-list .item-box .product-item .add-info .stock-container {
    margin: 0;
}

    .product-list .item-box .product-item .add-info .stock-container .stock-availability {
        font-size: 13px;
        color: #656565;
        font-weight: 600;
    }

    .product-list .item-box .product-item .add-info .stock-container .stock-status, .item-box .c-blue, .product-item .c-blue {
        font-weight: 600;
        color: #008000;
        font-size: 13px;
    }

    .product-list .item-box .product-item .add-info .stock-container .c-gray {
        color: #6c757d;
    }

html.html-product-details-page .product-list .item-box .product-item {
    margin-bottom: 15px !important;
}
/* Warranty container styling - Hide in grid view */
.product-grid .item-box .warranty-container,
.product-grid .product-item .warranty-container, .product-list a.button-2.product-box-add-to-cart-button.product-list-register-btn {
    display: none !important;
}
/* .product-list a.button-2.product-box-add-to-cart-button.product-list-register-btn, .product-list .list-view-price-cart-wrapper .buttons{
    flex: 0!important;
} */

/* Warranty container styling - Show only in list view */
.product-list .item-box .warranty-container,
.product-list .product-item .warranty-container {
    display: block !important;
}

    .product-list .item-box .warranty-container .warranty-text,
    .product-list .product-item .warranty-container .warranty-text {
        font-size: 14px;
        color: #333;
    }

/* List view warranty styling */
/* .product-list .item-box .product-item .add-info .warranty-container {
    margin-bottom: 5px;
} */

.product-list .item-box .product-item .add-info .warranty-container .warranty-text {
    font-size: 13px;
    color: #656565;
    font-weight: 600;
}

.product-list .item-box .product-item .add-info .buttons {
    margin-top: 15px;
    display: flex;
    /* gap: 10px;
    align-items: center; */
}

    .product-list .item-box .product-item .add-info .buttons .view-details-btn, .product-grid .add-to-cart-quantity {
        display: none;
    }

.product-grid .list-view-price-cart-wrapper {
    display: block !important;
}

.product-list .item-box .product-item .add-info .buttons .product-box-add-to-cart-button {
    padding: 10px 30px !important;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}

.product-list .product-box-add-to-cart-button {
    width: auto !important;
}

.product-list .item-box .product-item .add-info .buttons .product-box-add-to-cart-button:hover {
    background: #555;
}

/* Register/Login note in list view */
.product-list .item-box .product-item .add-info .price-login-text.list-view-text {
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}

    .product-list .item-box .product-item .add-info .price-login-text.list-view-text a {
        text-decoration: underline;
        color: #007bff;
    }

@media (max-width: 768px) {
    .product-list .item-box .product-item {
        flex-direction: column;
        align-items: start !important;
    }

        /* .product-list .item-box .product-item .add-info {
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding-left: 0;
        padding-top: 20px;
        margin-top: 20px;
        min-width: 100%;
    } */
        /* .product-list .item-box .product-item .details, .clearance-products .product-list .item-box .product-item .details{
        padding: 0!important;
     }
     .product-list .item-box .product-item .add-info, .clearance-products .product-list .item-box .product-item .add-info{
        margin: 0!important;
     } */
        .product-list .item-box .product-item .add-info, .clearance-products .product-list .item-box .product-item .add-info {
            min-width: 100% !important;
        }
}

/* Category Page specific styles */
.html-category-page .breadcrumb {
    padding: 10px 0;
}

    .html-category-page .breadcrumb ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .html-category-page .breadcrumb li {
        display: flex;
        align-items: center;
        margin: 0;
    }

.html-category-page .breadcrumb-you-are-here {
    background: linear-gradient(to right, #555, #666);
    color: white;
    padding: 6px 12px;
    border-radius: 4px 0 0 4px;
    position: relative;
    margin-right: 10px;
    font-size: 12px;
    font-weight: bold;
}

    .html-category-page .breadcrumb-you-are-here::after {
        content: '';
        position: absolute;
        right: -12px;
        top: 0;
        width: 0;
        height: 0;
        border-left: 12px solid #666;
        border-top: 18px solid transparent;
        border-bottom: 18px solid transparent;
    }

.html-category-page .breadcrumb-link {
    color: #333;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 3px;
    transition: all 0.2s;
}

    .html-category-page .breadcrumb-link:hover {
        background-color: #f0f0f0;
        color: #d63b2b;
    }

.html-category-page .breadcrumb .delimiter {
    margin: 0 8px;
    color: #999;
    font-size: 12px;
}

.html-category-page .breadcrumb .current-item {
    color: #333;
    font-weight: 600;
}

/* EMPR Battery Section Styles */
.html-category-page .empr-battery-section {
    margin: 0;
    padding: 0;
}

.html-category-page .empr-section-title {
    font-size: 17px;
    font-weight: 600;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.html-category-page .empr-intro-text {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
    font-size: 14px;
}

.html-category-page .empr-features-wrapper {
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
}

.html-category-page .empr-features-column {
    line-height: 20px;
    padding-right: 15px;
}

.html-category-page .empr-features-grid {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
}

    .html-category-page .empr-features-grid > [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
        float: left;
    }

.html-category-page .empr-feature-item {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    min-height: 100px;
}

.html-category-page .empr-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .html-category-page .empr-feature-icon img {
        width: auto;
        height: 40px;
        display: block;
    }

.html-category-page .empr-feature-content {
    padding: 5px 5px 0 10px;
    flex: 1;
    min-width: 0;
}

.html-category-page .empr-feature-title {
    font-size: 15px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.html-category-page .empr-feature-text {
    margin-bottom: 0;
    line-height: 1.5;
    color: #555;
    font-size: 14px;
}

.html-category-page .empr-battery-image-column {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    width: 100% !important;
}

.html-category-page .empr-battery-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.html-category-page .empr-warranty-section {
    margin: 20px 0;
    clear: both;
}

    .html-category-page .empr-warranty-section .row {
        align-items: center;
    }

.html-category-page .empr-warranty-title {
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.html-category-page .empr-trust-title {
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

    .html-category-page .empr-warranty-section p,
    .html-category-page .empr-trust-title + p {
        line-height: 1.6;
        color: #555;
        margin-bottom: 15px;
        font-size: 14px;
    }

@media (max-width: 991px) {
    .html-category-page .empr-features-column {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 20px;
    }

    .html-category-page .empr-battery-image-column {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 15px;
    }

    .html-category-page .empr-features-grid > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    .html-category-page .empr-features-grid > .col-md-6 {
        width: 50%;
    }
}

/* FAQ Section Styles */
.html-category-page .faq-title {
    font-size: 19px;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.html-category-page .skin-content[itemtype="https://schema.org/FAQPage"] > div[itemtype="https://schema.org/Question"] {
    margin-bottom: 15px;
}

.html-category-page .faq-question {
    font-size: 15px;
    margin-bottom: 8px;
    padding: 5px 0;
}

.html-category-page .faq-question-clickable {
    cursor: pointer;
    user-select: none;
}

    .html-category-page .faq-question-clickable:hover {
        color: #d63b2b;
    }

.html-category-page .help-a.hide {
    display: none;
}

.html-category-page .faq-answer-text {
    padding: 5px 0 10px;
}

.html-category-page .faq-list {
    padding-left: 30px;
    list-style: circle;
}

.html-category-page .faq-heading-text {
    text-transform: none;
    font-weight: normal;
}

.html-category-page .faq-link {
    text-decoration: underline;
}

/* Login Page specific styles */
.html-login-page .resend-otp-button {
    margin-left: 0;
}
div#otp-verification .form-fields{
    border-top: 0!important;
}
.otp-timer-container.otp-timer-text{
    text-align: left!important;
}
.login-page .returning-wrapper .form-fields{
    padding: 10px 0 0!important;
}
    .html-login-page .resend-otp-button.disabled {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
    }
    .login-page .new-wrapper .button-1{
        margin-bottom: 0!important;
    }

    .login-page .new-wrapper .text, .login-page .returning-wrapper .form-fields {
        min-height: auto!important;
    
    }
 .login-page .new-wrapper .text{
    margin-bottom: 20px;
 }

.html-login-page .field-validation-error.error {
    color: #e4434b;
}

.html-login-page .field-validation-error.success {
    color: #4bb543;
}

.html-login-page .fa-spin {
    animation: spin 1s linear infinite;
    margin-right: 5px;
}

.html-login-page .otp-timer-text {
    color: #e4434b;
    font-weight: bold;
}

/* Product Details Page specific styles */
.html-product-details-page .wholesale-pricing-note {
    color: #dc3545;
    font-weight: 600;
    margin: 6px 0 10px 0;
}

    .html-product-details-page .wholesale-pricing-note a {
        color: #dc3545;
        text-decoration: underline;
    }

.page.product-details-page .product-essential .customer-type-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 !important;
}

.html-product-details-page .customer-type-cta__option {
    border: 1px solid #db4232;
    border-radius: 5px;
    padding: 4px 15px;
    text-align: center;
    background: #fff;
    color: #db4232;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(14, 120, 167, 0.12);
    transition: box-shadow .15s ease, background .15s ease, color .15s ease;
}

    .html-product-details-page .customer-type-cta__option span {
        display: block;
        font-size: 14px;
        margin-bottom: 2px;
    }

    .html-product-details-page .customer-type-cta__option small {
        display: block;
        margin-top: 0;
        font-weight: 400;
        font-size: 12px;
        color: inherit;
        opacity: .85;
    }

    .html-product-details-page .customer-type-cta__option:hover {
        text-decoration: none;
        background: #db4232;
        color: #fff;
        box-shadow: 0 3px 10px rgba(14, 120, 167, 0.2);
    }

        .html-product-details-page .customer-type-cta__option:hover small {
            color: #e8f7ff;
            opacity: 1;
        }

.html-product-details-page .product-free-shipping-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    max-width: 140px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

    .html-product-details-page .product-free-shipping-badge img {
        max-width: 100%;
        height: auto;
        display: block;
    }

.html-product-details-page .product-essential .gallery {
    position: relative;
}

/* Manufacturer Page specific styles */
.html-manufacturer-page .brand-left-banner {
    margin: 10px 0;
}

.html-manufacturer-page #brand-separator-line {
    height: 1px;
    background: #e5e5e5;
    margin: 10px 0 20px;
}

/* Brand Category Search Styles */
.html-manufacturer-page .brand-category-search-wrapper {
    margin: 20px 0;
}

.html-manufacturer-page .brand-category-double-search-inner-wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.html-manufacturer-page .brand-category-search-wrapper .search-wrap {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.html-manufacturer-page .brand-category-search-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.html-manufacturer-page .brand-category-search-wrapper .search-input-btn-wrap {
    display: flex;
    gap: 8px;
}

.html-manufacturer-page .brand-category-search-wrapper .form-control {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.html-manufacturer-page .brand-category-search-wrapper .btn {
    padding: 8px 16px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

    .html-manufacturer-page .brand-category-search-wrapper .btn:hover {
        background-color: #0052a3;
    }

.html-manufacturer-page .brand-category-search-wrapper .validation-message {
    display: none;
    margin-top: 5px;
    padding: 8px 12px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
    font-size: 13px;
}

.html-manufacturer-page .brand-part-model-dropdown,
.html-manufacturer-page .search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 82px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 370px;
    overflow-y: auto;
    margin-top: 0px;
}

.html-manufacturer-page .search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.html-manufacturer-page .search-result-item {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

    .html-manufacturer-page .search-result-item:last-child {
        border-bottom: none;
    }

.html-manufacturer-page .search-result-link {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s, color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

    .html-manufacturer-page .search-result-link:hover,
    .html-manufacturer-page .search-result-item:hover .search-result-link,
    .html-manufacturer-page .search-result-item.active .search-result-link {
        background-color: #0066cc;
        color: #fff;
    }

.html-manufacturer-page .search-result-item:hover {
    background-color: #0066cc;
}

.html-manufacturer-page .no-results-brand {
    padding: 12px;
    color: #666;
    background-color: #fff;
}

.html-manufacturer-page .search-loading,
.html-manufacturer-page .no-results-brand {
    padding: 12px;
    color: #666;
}

/* Clearance Page specific styles */
.clearance-page .clearance-products .product-grid .item-grid {
    display: grid !important;
    grid-template-columns: repeat(4, calc((100% - 90px) / 4));
    gap: 30px;
}

    .clearance-page .clearance-products .product-grid .item-grid .item-box .details {
        padding: 10px !important;
    }

.clearance-page .clearance-products .product-grid .item-box {
    width: 100%;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .clearance-page .clearance-products .product-grid .item-grid {
        grid-template-columns: repeat(3, calc((100% - 30px) / 3));
        gap: 30px 15px;
    }
}

@media (max-width: 680px) {
    .clearance-page .clearance-products .product-grid .item-grid {
        grid-template-columns: repeat(2, calc(50% - 5px));
        gap: 30px 10px;
    }

    .product-list .item-box .product-item .add-info .buttons {
        width: 100%;
    }
}

.clearance-page .roll-products-count-wrapper {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clearance-page .roll-products-count {
    display: inline-flex;
    padding: 12px 10px 12px 41px;
    background-position: 10px center;
    font-size: 14px;
    color: #333;
    align-items: center;
    font-weight: bold;
}

.clearance-page .product-grid .item-grid {
    gap: 15px;
}

    .clearance-page .product-grid .item-grid .item-box .details {
        padding: 0 !important
    }

.clearance-page .no-products-message {
    padding-top: 10px;
}

    .clearance-page .no-products-message .message-content h3 {
        color: #666;
        font-size: 20px;
        font-weight: 600;
        margin: 10px 0 5px;
    }

    .clearance-page .no-products-message .message-content p {
        color: #888;
        font-size: 15px;
        margin: 0;
    }

/* Clearance Filters specific styles */
.clearance-filters p.clerance-note {
    font-style: italic;
    font-weight: 600;
    color: #616161;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.clearance-filters .clearance-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.clearance-filters .filter-section {
    width: 100%;
}

    .clearance-filters .filter-section h3 {
        margin: 0 0 5px 0;
        font-size: 16px;
        font-weight: bold;
        color: #333;
        text-transform: uppercase;
    }

.clearance-filters .filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.clearance-filters .filter-item a {
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-align: left;
    font-size: 13px;
}

    .clearance-filters .filter-item a:hover {
        color: #D72A2A;
    }

.clearance-filters .filter-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
}

.clearance-filters .filter-item.selected a {
    color: #D72A2A;
    font-weight: 600;
}

.clearance-filters .filter-arrow {
    color: #D72A2A;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.2s ease;
}

.clearance-filters .filter-item.selected .filter-arrow {
    color: #D72A2A;
}

.clearance-filters .filter-item a:hover {
    text-decoration: none;
}

.clearance-filters .filter-item:hover .filter-arrow {
    color: #D72A2A;
}

.clearance-filters .filter-item.selected:hover .filter-arrow {
    color: #D72A2A;
}

@media (max-width: 1600px) {
    .clearance-filters .filter-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1400px) {
    .clearance-filters .filter-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .clearance-filters .filter-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clearance-filters .clearance-filters {
        gap: 20px;
        padding: 15px;
    }


    .clearance-filters .filter-section h3 {
        font-size: 16px;
    }

    .clearance-filters .filter-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px !important;
    }

    .clearance-filters .filter-item {
        padding: 5px 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .clearance-filters .clearance-filters {
        padding: 15px;
    }

    .clearance-filters .filter-item {
        padding: 5px 12px;
    }

        .clearance-filters .filter-item a {
            font-size: 13px;
        }

    .clearance-filters .filter-list {
        grid-template-columns: 1fr;
    }
}

/* B2B Manage Permission Page specific styles */

.manage-permissions-container .page-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

.manage-permissions-container .permission-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .manage-permissions-container .permission-table th,
    .manage-permissions-container .permission-table td {
        padding: 12px;
        text-align: left;
        border: 1px solid #ddd;
    }

    .manage-permissions-container .permission-table th {
        background-color: #f4f4f4;
        font-weight: bold;
        text-align: left;
    }

    .manage-permissions-container .permission-table td.text-center {
        text-align: center;
    }

.manage-permissions-container .action-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: end;
    gap: 10px;
}

    .manage-permissions-container .action-buttons input.primary-btn.save-btn {
        border-radius: 5px;
    }

.manage-permissions-container .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.manage-permissions-container .modal-content {
    background-color: #fff;
    padding: 30px;
    margin: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.manage-permissions-container .popup-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

    .manage-permissions-container .popup-buttons .btn {
        margin: 0 10px;
    }

.manage-permissions-container input[type="checkbox"] {
    position: static !important;
    left: auto !important;
    visibility: visible !important;
    display: inline-block !important;
}

.manage-permissions-container .user-info-wrapper {
    margin-bottom: 30px;
}

.manage-permissions-container .existing-staff-title {
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.manage-permissions-container .title-container {
    display: flex;
    gap: 15px;
    flex-direction: column-reverse;
}

.manage-permissions-container .back-to-list {
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

    .manage-permissions-container .back-to-list:hover {
        color: #dc3545;
    }

.manage-permissions-container .user-info {
    margin-bottom: 5px;
}

.manage-permissions-container .disabled-checkbox {
    pointer-events: none;
    opacity: 0.6;
}

.manage-permissions-container .primary-btn.b2b-delete-button {
    margin: 0 !important;
    font-size: 13px !important;
    color: #353535 !important;
    background-color: transparent !important;
    line-height: 1.1em;
    transition: all 0.3s ease-in-out;
}

    .manage-permissions-container .primary-btn.b2b-delete-button:hover {
        color: #dc3545 !important;
    }

body.modal-open .master-wrapper-content {
    z-index: 99999;
}


/* B2B Customer Invitation List specific styles */
div#staffRows .action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.b2b-invite-container .invitation-title {
    margin: 10px 0;
    font-size: 16px;
    color: #444;
    font-weight: 700;
    text-transform: uppercase;
}

div#Confirmation_Popup {
    margin-top: 10px;
}

    div#Confirmation_Popup .custom-modal p {
        font-weight: 600;
        margin-bottom: 25px;
        font-size: 16px;
        color: #333;
        line-height: 1.5;
    }

    div#Confirmation_Popup .custom-modal .custom-modal-buttons {
        display: flex;
        gap: 15px;
        margin-top: 25px;
        justify-content: center;
        align-items: center;
    }

        div#Confirmation_Popup .custom-modal .custom-modal-buttons .primary-btn,
        div#Confirmation_Popup .custom-modal .custom-modal-buttons #Confirm_Accept {
            min-width: 120px;
            padding: 12px 24px;
            font-size: 15px;
            font-weight: 600;
            border-radius: 5px;
            transition: all 0.3s ease;
            background-color: #353535;
            color: #fff;
            border: none;
            cursor: pointer;
        }

            div#Confirmation_Popup .custom-modal .custom-modal-buttons .primary-btn:hover,
            div#Confirmation_Popup .custom-modal .custom-modal-buttons #Confirm_Accept:hover {
                background-color: #d72a2a;
                transform: translateY(-1px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            }

        div#Confirmation_Popup .custom-modal .custom-modal-buttons .secondary-btn,
        div#Confirmation_Popup .custom-modal .custom-modal-buttons #Cancel_Accept {
            min-width: 120px;
            padding: 12px 24px;
            font-size: 15px;
            font-weight: 600;
            border-radius: 5px;
            transition: all 0.3s ease;
            background-color: #fff;
            color: #353535;
            border: 2px solid #ddd;
            cursor: pointer;
        }

            div#Confirmation_Popup .custom-modal .custom-modal-buttons .secondary-btn:hover,
            div#Confirmation_Popup .custom-modal .custom-modal-buttons #Cancel_Accept:hover {
                background-color: #f5f5f5;
                border-color: #bbb;
                transform: translateY(-1px);
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }

.b2b-invite-container .b2b-account-table-wrapper table th,
.b2b-invite-container .b2b-account-table-wrapper table td {
    font-size: 15px;
    color: #353535;
    white-space: nowrap;
    padding: 10px 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .b2b-account-table-wrapper table,
    .b2b-account-table-wrapper thead,
    .b2b-account-table-wrapper tbody,
    .b2b-account-table-wrapper th,
    .b2b-account-table-wrapper td,
    .b2b-account-table-wrapper tr {
        display: block;
        width: 100%;
    }

    .b2b-account-table-wrapper thead {
        display: none;
    }

    .b2b-account-table-wrapper tr {
        margin-bottom: 16px;
        border: 1px solid #ddd;
        padding: 12px;
        border-radius: 6px;
    }

    .table-bordered th,
    .table-bordered td {
        border: none !important;
    }

    .b2b-invite-container .b2b-account-table-wrapper table th, .b2b-invite-container .b2b-account-table-wrapper table td {
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: 8px !important;
        font-weight: 600 !important;
        border: none !important;
    }

    .b2b-account-table-wrapper td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
    }

    .b2b-account-container .b2b-account-table-wrapper table th, .b2b-account-container .b2b-account-table-wrapper table td {
        padding: 0 !important;
        margin-bottom: 8px !important;
    }
}

.b2b-invite-container .confirmation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

    .b2b-invite-container .confirmation-popup .modal-content {
        max-width: 400px;
        width: 100%;
    }

.b2b-invite-container .gap-3 {
    gap: 15px;
}

/* B2B Invitation Confirmation Popup - Specific to this page only */
#Confirmation_Popup.custom-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
}

    #Confirmation_Popup.custom-modal-overlay[style*="flex"] {
        display: flex !important;
    }

#Confirmation_Popup .custom-modal {
    background: #fff;
    padding: 35px 30px;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
    z-index: 10000;
    margin: 0 auto;
}

/* Keep existing styles for backward compatibility */
.b2b-invite-container .custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.b2b-invite-container .custom-modal {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.b2b-invite-container .custom-modal-text {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.b2b-invite-container .custom-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

    .b2b-invite-container .custom-modal-buttons .btn {
        min-width: 100px;
    }

.b2b-invite-container body.modal-open {
    overflow: hidden;
}

.container.b2b-invite-container {
    padding: 0 !important;
}

/* B2B View Account specific styles */
.b2b-account-container .b2b-account-table-wrapper {
    overflow-x: auto;
}

.b2b-account-container .b2b-account-header {
    margin: 15px 0;
}

    .b2b-account-container .b2b-account-header h2 {
        text-transform: uppercase;
        font-size: 16px;
    }

.b2b-account-container .b2b-existing-staff-title {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.b2b-account-container .b2b-invite-input-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

    .b2b-account-container .b2b-invite-input-wrapper input {
        border-radius: 5px;
        padding: 10px;
        width: 100%;
    }

/* .b2b-account-container .b2b-account-table-wrapper table a {
    display: flex;
    align-items: center;
    justify-content: center;
} */

.b2b-account-container .b2b-account-table-wrapper table th,
.b2b-account-container .b2b-account-table-wrapper table td {
    border: 1px solid #eee;
    text-align: center;
    font-size: 14px;
    color: #656565;
    white-space: nowrap;
    padding: 10px;
    font-weight: 600;
}

.b2b-account-container .b2b-account-table-wrapper table th {
    background-color: #f4f4f4;
}

.b2b-account-container .b2b-account-table-wrapper::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #f5f5f5
}

.b2b-account-container .b2b-account-table-wrapper::-webkit-scrollbar {
    height: 5px;
    background-color: #f5f5f5
}

.b2b-account-container .b2b-account-table-wrapper::-webkit-scrollbar-thumb {
    background-color: #9f9f9f
}

.b2b-account-container .b2b-account-title {
    margin: 5px 0;
    font-size: 16px;
    color: #444;
    font-weight: 700;
    text-transform: uppercase;
}

.b2b-account-container .text-center {
    display: block;
    text-align: center;
}

.b2b-account-container .primary-btn.b2b-delete-button {
    font-size: 13px !important;
    padding: 0 !important;
    background-color: #fff !important;
    color: #353535 !important;
    line-height: 1.1em;
    transition: all 0.3s ease-in-out;
}

    .b2b-account-container .primary-btn.b2b-delete-button:hover {
        color: #d72a2a !important;
    }

.block .listbox {
    border: none !important;
}

/* SearchBox Component specific styles */
#small-search-box-form .results-container {
    display: none;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#small-search-box-form .brand-modal-wrapper,
#small-search-box-form .modelnumber-wrapper,
#small-search-box-form .product-wrapper {
    width: calc((100% - 20px)/2);
}

#small-search-box-form .product-items {
    display: flex;
    align-items: center;
}

    #small-search-box-form .product-items a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: inherit;
        width: 100%;
        padding: 5px 10px;
    }

        #small-search-box-form .product-items a:hover {
            background-color: #25c1dd;
            color: #ffffff;
        }

#small-search-box-form .no-results {
    display: none !important;
    position: absolute;
    top: 100%;
    width: calc(100vw - (100vw - 1200px)) !important;
    background-color: #fff;
    border: 1px solid #c5c5c5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    box-sizing: border-box;
}

#small-search-box-form .brand-link,
#small-search-box-form .model-link,
#small-search-box-form .model-number-link {
    text-decoration: none;
    color: #0066cc;
    display: block;
    padding: 5px 0;
}

    #small-search-box-form .brand-link:hover,
    #small-search-box-form .model-link:hover,
    #small-search-box-form .model-number-link:hover {
        background-color: #f0f0f0;
    }

#small-search-box-form .section-title {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #006397;
    padding: 0;
}

#small-search-box-form {
    position: relative;
}

    #small-search-box-form .results-container {
        position: absolute;
        top: 100%;
        width: calc(100vw - (100vw - 1200px)) !important;
        background-color: #fff;
        border: 1px solid #c5c5c5;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 15px;
        max-height: 400px;
        overflow-y: auto;
        box-sizing: border-box;
    }

    #small-search-box-form .product-item-container {
        display: flex;
        align-items: flex-start;
        width: 100%;
        text-align: start;
    }

    #small-search-box-form .product-details {
        flex: 1;
        text-align: start;
    }

    #small-search-box-form .product-name {
        font-weight: bold;
        margin-bottom: 5px;
        text-align: start;
    }

    #small-search-box-form .product-sku {
        color: #666;
        font-size: 0.9em;
        margin-bottom: 5px;
        text-align: start;
    }

    #small-search-box-form .product-description {
        color: #555;
        font-size: 0.9em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: start;
    }

    #small-search-box-form .product-items a:hover .product-sku {
        color: #ffffff;
    }

    #small-search-box-form .product-items a:hover .product-description {
        color: #ffffff;
    }

    #small-search-box-form #no-product-found {
        text-align: left;
        display: flex;
        align-items: center;
        text-decoration: none;
        color: inherit;
        width: 100%;
        padding: 5px 10px;
    }

/* Parts Component specific styles */
.part-numbers-container {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin:20px 0 0 0;
    line-height: 1.6;
}

    .part-numbers-container p {
        margin: 8px 0;
    }

    .part-numbers-container strong {
        display: block;
        margin-bottom: 5px;
        font-weight: 700;
    }

.part-numbers-list {
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

/* Add spacing between part numbers */
.part-numbers-list {
    letter-spacing: 0.3px;
}

/* EMPRSearchView Component specific styles */
.product-search-box .form-group {
    margin-bottom: 15px;
}

.product-search-box label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
}

.product-search-box .select2-container--default .select2-selection--single {
    height: 38px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}

    .product-search-box .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 36px;
        top: 1px;
    }

    .product-search-box .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #6c757d;
    }

.product-search-box .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.product-search-box .select2-dropdown {
    border-color: #ced4da;
    border-radius: 4px;
}

/* Filtered Products Partial specific styles */
.roll-products-count-wrapper {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.roll-products-count {
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 5px;
    background-position: 10px center;
    font-size: 14px;
    color: #333;
    align-items: center;
    font-weight: 500;
    border: 1px solid #eee;
}

/* Product Breadcrumb Redirect Page specific styles */
.html-category-page .breadcrumb {
    margin-bottom: 20px;
    padding: 12px;
    font-size: 14px;
    color: #777;
}

    .html-category-page .breadcrumb a {
        color: #777;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .html-category-page .breadcrumb a:hover {
            color: #4ab2f1;
        }

.html-category-page .breadcrumb-current {
    color: #777;
    font-weight: normal;
    cursor: default;
}

    .html-category-page .breadcrumb-current:hover {
        color: #777;
    }

.html-category-page .breadcrumb-separator {
    margin: 0 5px;
    color: #999;
}

.html-category-page .model-columns {
    column-count: 4;
    column-gap: 20px;
    list-style-type: none;
    padding-left: 0;
}

    .html-category-page .model-columns li {
        font-family: monospace;
        margin-bottom: 8px;
    }

.html-category-page .page-title-wrapper {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.html-category-page .page-title {
    font-weight: normal;
    font-size: 2em;
    color: #444;
    display: flex;
}

/* Serial Number Search Page specific styles */
.serial-number-search-page {
    margin: 0 0 50px;
}

.serial-number-message {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-top: 15px !important;
}

/* Product Results & Model Number Results Page specific styles */
.html-search-page .page-title-wrapper {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.html-search-page .page-title {
    font-weight: normal;
    font-size: 2em;
    color: #444;
    display: flex;
}

.html-search-page .model-columns {
    column-count: 5;
    column-gap: 20px;
    list-style-type: none;
    padding-left: 0;
}

    .html-search-page .model-columns li {
        margin-bottom: 5px;
        font-family: monospace;
    }

.html-search-page .keywords-header {
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
    padding-bottom: 5px;
    width: 100%;
}

.html-search-page .keywords-name {
    font-size: 1.5em;
    color: #444;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0;
}

.html-search-page .keywords-columns {
    column-count: 1 !important;
    column-gap: 0 !important;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

    .html-search-page .keywords-columns li {
        margin-bottom: 8px;
        font-family: monospace;
        display: block;
    }

        .html-search-page .keywords-columns li.selected a {
            font-weight: bold;
            color: #4ab2f1;
            text-decoration: none;
        }

.html-search-page .view-all-product {
    background-color: #4ab2f1;
    text-align: center;
    font-size: 15px;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    height: 40px;
    border: 0;
    vertical-align: middle;
    padding: 0 20px;
    transition: 0.3s all;
    margin-left: auto;
    margin-top: -3px;
}

    .html-search-page .view-all-product:hover {
        background-color: #248ece;
    }

.html-search-page .breadcrumb {
    margin-bottom: 20px;
    padding: 12px;
    font-size: 14px;
    color: #777;
}

    .html-search-page .breadcrumb a {
        color: #777;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .html-search-page .breadcrumb a:hover {
            color: #4ab2f1;
        }

.html-search-page .breadcrumb-current {
    color: #777;
    font-weight: normal;
    cursor: default;
}

    .html-search-page .breadcrumb-current:hover {
        color: #777;
    }

.html-search-page .breadcrumb-separator {
    margin: 0 5px;
    color: #999;
}

.html-search-page .no-result {
    margin: 50px;
}

/* EMPR Dropdown Filter Component specific styles */
.product-search-box .title {
    font-size: 20px;
    color: #444;
    margin-bottom: 15px;
}

/* Customer Upgrade Component specific styles */
.upgrade-status-message {
    max-width: 100%;
    margin: 20px auto;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
}

    .upgrade-status-message .message {
        color: #0c5460;
        font-size: 16px;
        line-height: 1.5;
    }

/* .upgrade-account-widget {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto 20px;
} */

.upgrade-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    /* text-align: center; */
    margin-bottom: 20px;
}

.upgrade-card-header h3 {
    color: #555;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.upgrade-card-header p {
    color: #666;
    margin: 0 0 10px 0;
    font-size: 14px;
}
.page.account-page.customer-info-page{

}
.upgrade-options {
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px 0;
}

.upgrade-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
}

    .upgrade-options-header h3 {
        margin: 0;
        font-size: 18px;
        color: #333;
        text-transform: uppercase;
    }

.close-upgrade {
    background: none;
    border: 1px solid #ddd;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

    .close-upgrade:hover {
        background-color: #f0f0f0;
        color: #333;
    }

    .close-upgrade span {
        display: block;
        font-size: 24px;
        line-height: 1;
        margin-top: -2px;
    }

.upgrade-option-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .upgrade-option-card:hover {
        background-color: #f9f9f9;
    }

/* .upgrade-option-header {
    background: #353535;
    padding: 10px;
    border-radius: 5px;
} */

    .upgrade-option-header h4 {
        margin: 0;
        color: #555;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.3em;
    }

html.html-account-page.html-customer-upgrade-page div#section-additional {
    margin-top: 15px;
}

html.html-account-page.html-customer-upgrade-page .flex-center-gap {
    margin-bottom: 15px;
}
    .upgrade-option-benefits p {
        margin: 0 0 10px 0;
        color: #333;
        font-size: 13px;
        display: flex;
        align-items: center;
        line-height: 1.3;
        position: relative;
        min-height: 20px;
    }


.upgrade-option-actions {
    text-align: left;
}



/* Category Sidebar Component specific styles */
.category-sidebar-brand-card {
    display: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f4f4f4;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.category-sidebar-heading {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.category-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.brand-side-item + .brand-side-item {
    margin-top: 5px;
}

.product-list .product-item.product-item-wrap .picture a img {
    margin: 0 !important;
}

.brand-side-link {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .brand-side-link:hover {
        color: #d63b2b;
    }

    .brand-side-link.selected {
        color: #d63b2b;
        font-weight: 600;
    }

/* Category Products Filter Component specific styles */
.empr-brand-facets .brand-list,
.empr-type-facets .type-list,
.empr-series-facets .series-list,
.empr-model-facets .model-list,
.empr-modelnumber-facets .modelnumber-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 10px
}

.empr-brand-facets .brand-item,
.empr-type-facets .type-item,
.empr-series-facets .series-item,
.empr-model-facets .model-item,
.empr-modelnumber-facets .modelnumber-item {
    position: relative;
    padding-left: 0;
    line-height: 1.4;
    margin-bottom: 0;
    word-break: break-word;
    display: flex;
}

/* Brand, Type, and Series - Image boxes with proper sizing */
.empr-brand-facets .brand-image,
.empr-type-facets .type-image,
.empr-series-facets .series-image {
    width: 100%;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    /* background: #f5f5f5; */
    border-radius: 4px;
    padding: 0;
    box-sizing: border-box;
}

.empr-brand-facets .brand-name,
.empr-type-facets .type-name,
.empr-series-facets .series-name {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    font-family: 'Titillium Web', sans-serif !important;
}

.empr-brand-facets .brand-link,
.empr-type-facets .type-link,
.empr-series-facets .series-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    transition: all 0.3s ease;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
}

    .empr-brand-facets .brand-link:hover,
    .empr-type-facets .type-link:hover,
    .empr-series-facets .series-link:hover {
        border-color: #d63b2b;
    }

/* Model, Model Number - Text only boxes */
.empr-model-facets .model-link,
.empr-modelnumber-facets .modelnumber-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

    .empr-model-facets .model-link:hover,
    .empr-modelnumber-facets .modelnumber-link:hover {
        border-color: #d63b2b;
        box-shadow: 0 2px 8px rgba(214, 59, 43, 0.1);
        color: #333;
        text-decoration: none;
    }

    .empr-brand-facets .brand-link.selected,
    .empr-type-facets .type-link.selected,
    .empr-series-facets .series-link.selected,
    .empr-model-facets .model-link.selected,
    .empr-modelnumber-facets .modelnumber-link.selected {
        border: 1px solid #d63b2b;
        background-color: #fff;
    }

        .empr-brand-facets .brand-link.selected .brand-name,
        .empr-type-facets .type-link.selected .type-name,
        .empr-series-facets .series-link.selected .series-name,
        .empr-series-facets .series-link.selected,
        .empr-model-facets .model-link.selected,
        .empr-modelnumber-facets .modelnumber-link.selected {
            color: #d63b2b;
            font-weight: bold;
        }

            .empr-brand-facets .brand-link.selected:hover,
            .empr-type-facets .type-link.selected:hover,
            .empr-series-facets .series-link.selected:hover,
            .empr-model-facets .model-link.selected:hover,
            .empr-modelnumber-facets .modelnumber-link.selected:hover {
                border-color: #ed3024;
                color: #ed3024;
            }

                .empr-brand-facets .brand-link.selected:hover .brand-name,
                .empr-type-facets .type-link.selected:hover .type-name,
                .empr-series-facets .series-link.selected:hover .series-name,
                .empr-series-facets .series-link.selected:hover,
                .empr-model-facets .model-link.selected:hover,
                .empr-modelnumber-facets .modelnumber-link.selected:hover {
                    color: #ed3024;
                }
/* Show More/Show Less button for model numbers - distinctive theme-appropriate styling */
.empr-modelnumber-facets .modelnumber-show-more-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border: 2px solid #d63b2b;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    color: #d63b2b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

    /* Hover effect - fill with theme red color */
    .empr-modelnumber-facets .modelnumber-show-more-link:hover {
        border-color: #d63b2b;
        background: #d63b2b;
        color: #fff;
        box-shadow: 0 2px 8px rgba(214, 59, 43, 0.2);
        text-decoration: none;
    }

.empr-modelnumber-facets .modelnumber-item-hidden {
    display: none;
}

/* Show More/Show Less button for model facets - same styling as modelnumber */
.empr-model-facets .model-show-more-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border: 2px solid #d63b2b;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    color: #d63b2b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

    /* Hover effect - fill with theme red color */
    .empr-model-facets .model-show-more-link:hover {
        border-color: #d63b2b;
        background: #d63b2b;
        color: #fff;
        box-shadow: 0 2px 8px rgba(214, 59, 43, 0.2);
        text-decoration: none;
    }

.empr-model-facets .model-item-hidden {
    display: none;
}

.empr-brand-facets .brand-item:hover span.brand-name,
.empr-brand-facets .brand-item:hover span.type-name,
.empr-brand-facets .brand-item:hover .series-name {
    color: #ed3024;
}

@media (max-width: 768px) {

    .empr-brand-facets .brand-link.selected,
    .empr-type-facets .type-link.selected,
    .empr-series-facets .series-link.selected,
    .empr-model-facets .model-link.selected,
    .empr-modelnumber-facets .modelnumber-link.selected {
        padding: 4px 8px;
        font-size: 0.9em;
    }
}

.empr-facets-container {
    border: 1px solid #e6e6e6;
    padding: 12px;
    margin: 0 0 20px 0;
    background: #f9f9f9;
    border-radius: 6px;
}

.category-selector-container {
    margin-bottom: 10px;
}

input#myInputfilter {
    border-radius: 5px;
    margin: 0;
    padding: 10px!important;
    background-color: #fff!important;
}

.category-title {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
    line-height: 1.4em !important;
}

.steps-container {
    display: none;
    align-items: center;
    justify-content: left;
    gap: 4px !important;
    margin: 15px 0;
}


.category-selector-container {
    width: 100%;
}

.steps-container {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

    .steps-container::-webkit-scrollbar {
        display: none;
    }

.step-item {
    position: relative;
    color: #000000ff;
    padding: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.step-number {
    font-size: 22px;
    font-weight: bold;
    margin-right: 15px;
    line-height: 1;
}

.step-content {
    flex: 1;
}

.step-label {
    font-size: 12px;
    display: block;
    opacity: .85;
    font-style: italic;
}

.step-value {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.search-input {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    font-size: 14px;
    background-color: #f9f9f9;
}

.basic-search .inputs {
    margin: 0 !important;
}

.page.search-page div#product-results .product-selectors {
    margin-top: 30px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
}
/* ----------------------------
       STEPS CONTAINER
    ----------------------------- */
.steps-container {
    display: flex;
    align-items: stretch;
}

/* ----------------------------
       STEP ITEM
    ----------------------------- */
.step-item {
    position: relative;
    background: #6b6c6e;
    color: #fff;
    padding: 8px 5px 8px 30px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    white-space: normal;
}

    .step-item.step-item-first {
        padding-left: 10px !important;
    }

/* ----------------------------
       STEP NUMBER CIRCLE
    ----------------------------- */
.step-number {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

/* ----------------------------
       STEP TEXT
    ----------------------------- */
.step-content .step-label {
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
}

.step-content .step-value {
    font-size: 14px;
    opacity: 0.9;
    line-height: 14px;
}

/*===================*/
.step-item {
    position: relative;
    min-width: 248px;
    padding: 5px 20px 5px 30px;
    background: #6b6c6e;
    color: #fff;
    display: flex;
    align-items: center;
}

    .step-item:nth-child(n+2)::before {
        content: "";
        position: absolute;
        left: -1px;
        top: 0;
        width: 20px;
        height: 100%;
        background: #f9f9f9;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        z-index: 2;
    }

    .step-item::after {
        content: "";
        position: absolute;
        right: -19px;
        top: 0;
        width: 20px;
        height: 100%;
        background: #6b6c6e;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        z-index: 3;
    }

    /* ----------------------------
       COMPLETED STEP STYLE
    ----------------------------- */
    .step-item.completed {
        background: #6b6c6e;
        color: #fff;
    }

        .step-item.completed::after {
            background: #6b6c6e !important;
        }

    /* ----------------------------
       CURRENT STEP STYLE - Dark when it has a value (completed), light when empty
    ----------------------------- */
    .step-item.current.completed {
        background: #6b6c6e;
        color: #fff;
    }

        .step-item.current.completed::after {
            background: #6b6c6e !important;
        }

    .step-item.current:not(.completed) {
        background: #c6c6c6;
    }

        .step-item.current:not(.completed)::after {
            background: #c6c6c6 !important;
        }

@media (max-width: 1199px) {

    .empr-brand-facets .brand-list,
    .empr-type-facets .type-list,
    .empr-series-facets .series-list,
    .empr-model-facets .model-list,
    .empr-modelnumber-facets .modelnumber-list {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 992px) {

    .empr-brand-facets .brand-list,
    .empr-type-facets .type-list,
    .empr-series-facets .series-list,
    .empr-model-facets .model-list,
    .empr-modelnumber-facets .modelnumber-list {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 575px) {
.password-recovery-confirm h2{
    font-size: 24px!important;
}
    .empr-brand-facets .brand-list,
    .empr-type-facets .type-list,
    .empr-series-facets .series-list,
    .empr-model-facets .model-list,
    .empr-modelnumber-facets .modelnumber-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .close-upgrade {
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
    }

    .upgrade-options-header {
        padding: 30px 0 10px;
        margin: 0 !important;
    }

    .upgrade-options {
        padding: 0 !important;
    }

    #small-search-box-form .brand-modal-wrapper, #small-search-box-form .modelnumber-wrapper, #small-search-box-form .product-wrapper {
        width: 100% !important;
    }

    .button-1.save-address-button {
        width: 100% !important;
    }
}

/* Clearance Page Filters */
.clearance-filters {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

    .clearance-filters .filter-section {
        margin-bottom: 20px;
    }

        .clearance-filters .filter-section:last-child {
            margin-bottom: 0;
        }

    .clearance-filters h3 {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .clearance-filters .filter-list {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .clearance-filters .filter-item {
        font-size: 14px;
    }

    .clearance-filters .filter-link {
        color: #333;
        text-decoration: none;
        display: flex;
        align-items: center;
    }

        .clearance-filters .filter-link:hover {
            color: #d72a2a;
        }

        .clearance-filters .filter-link .filter-arrow {
            color: #d72a2a;
            font-size: 10px;
        }

    .clearance-filters .filter-item.selected .filter-link {
        color: #d72a2a;
        font-weight: bold;
    }

/* Clearance Note */
.clerance-note {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 700;
}

/* Product Detail Flip Styles */
.html-product-details-page .product-name.header-flip, .product-essential .product_warranty {
    margin-bottom: 5px;
}

.html-product-details-page .sku-number-display {
    margin-bottom: 5px;
    font-size: 14px;
    color: #656565;
    font-weight: 600;
}

    .html-product-details-page .sku-number-display .sku-value, .product-essential .product_warranty {
        color: #656565;
        font-weight: 600;
    }

.product-essential .old-product-price {
    margin-bottom: 0 !important;
    font-size: 20px;
    color: #999;
    font-weight: 600;;
}

.product-essential .overview .availability .stock {
    margin-bottom: 5px;
}
/*ALSO PURCHASE PRODUCTS*/
.also-purchased-products-grid.product-grid {
    background-color: #fcfcfc;
    padding: 15px 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 50px!important;
}



/* Compatible Models See More Styles */
.compatible-models-list-container {
    max-height: 300px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease-in-out;
}

    .compatible-models-list-container.expanded {
        max-height: none !important;
    }

.see-more-container {
    display: none;
    text-align: center;
    margin-top: 1rem;
}

.see-more-btn {
    text-decoration: none;
    color: #6b6c6e;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    font-weight: 600;
}

.compatible-models-loading {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.compatible-models-content {
    display: none;
}


/* Category Page Search Styles - Structured Box Design */
.category-search-wrapper {
    margin: 0 0 10px !important;
    padding: 10px !important;
    background-color: #838383 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
}

    .category-search-wrapper .search-container {
        display: flex !important;
        gap: 20px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    .category-search-wrapper .search-wrap {
        flex: 1 !important;
        /* min-width: 280px !important; */
        position: relative !important;
        display: block !important;
    }

        .category-search-wrapper .search-wrap label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #ffffff;
            font-size: 14px;
            line-height: 1.3;
        }

    .category-search-wrapper .search-input-group {
        display: flex;
        gap: 10px;
        align-items: stretch;
        width: 100%;
    }

    .category-search-wrapper .category-part-model-input,
    .category-search-wrapper .category-serial-input {
        flex: 1;
        padding: 8px 15px;
        border: 1px solid #d0d0d0;
        border-radius: 6px;
        font-size: 14px;
        outline: none;
        transition: all 0.3s ease;
        background-color: #ffffff;
        color: #333;
        min-width: 0;
    }

        .category-search-wrapper .category-part-model-input:focus,
        .category-search-wrapper .category-serial-input:focus {
            border-color: #0066cc;
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
            background-color: #ffffff;
        }

        .category-search-wrapper .category-part-model-input::placeholder,
        .category-search-wrapper .category-serial-input::placeholder {
            color: #999;
        }

    .category-search-wrapper .search-btn {
        padding: 8px 20px;
        background-color: #5b5b5b;
        color: #fff;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 15px;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

        .category-search-wrapper .search-btn:hover {
            background-color: #0052a3;
        }

        .category-search-wrapper .search-btn i {
            font-size: 16px;
            height: 15px;
            width: 15px;
        }

    .category-search-wrapper .search-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 2px solid #ccc;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        max-height: 400px;
        overflow-y: auto;
        margin-top: 5px;
    }

/* Ensure proper spacing from other elements */
.page.category-page .page-body > .category-search-wrapper {
    margin-top: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .category-search-wrapper {
        padding: 20px 15px;
        margin: 20px 0;
    }

        .category-search-wrapper .search-container {
            flex-direction: column;
            gap: 20px;
        }

        .category-search-wrapper .search-wrap {
            min-width: 100%;
            width: 100%;
        }

        .category-search-wrapper .search-input-group {
            width: 100%;
        }
}

/*===============NEW========================*/
.options-container .option-item .form-check-input {
    display: none;
}

.options-container .option-item .form-check-label {
    position: relative;
    display: inline-block;
    padding-left: 40px;
    cursor: pointer;
    user-select: none;
    line-height: 18px;
    vertical-align: middle;
}

    .options-container .option-item .form-check-label::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 35px;
        height: 18px;
        border-radius: 20px;
        border: 1px solid #dfdfdf;
        background-color: #fff;
        box-shadow: inset 0 0 0 0 #dfdfdf;
        transition: all 0.3s ease;
    }

    .options-container .option-item .form-check-label::after {
        content: "";
        position: absolute;
        left: 0;
        top: 1px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background-color: #fff;
        box-shadow: 0 1px 4px rgba(0,0,0,0.4);
        transition: all 0.3s ease;
    }

.options-container .option-item .form-check-input:checked + .form-check-label::before {
    background-color: #0069d9;
    border-color: #0069d9;
    box-shadow: inset 0 0 0 8px rgba(0,105,217,0.2) !important;
}

.options-container .option-item .form-check-input:checked + .form-check-label::after {
    transform: translateX(17px);
}
