/* ========================================
   RESPONSIVE CSS FOUNDATION
   These imports load the new component-based CSS.
   Will be replaced by build pipeline concatenation.
   ======================================== */
@import url('base/_tokens.css?v=13.6');
@import url('base/_reset.css?v=14.6');
@import url('base/_typography.css?v=13.6');
@import url('base/_utilities.css?v=14.5');
@import url('layout/_container.css?v=13.6');
@import url('layout/_header.css?v=13.7');
@import url('layout/_megamenu.css?v=13.6');
@import url('layout/_footer.css?v=13.6');
@import url('pages/_homepage.css?v=14.8');
@import url('pages/_search-results.css?v=15.3');
@import url('pages/_item-detail.css?v=14.6');
@import url('pages/_cart.css?v=15.5');
@import url('pages/_checkout.css?v=14.2');
@import url('pages/_join.css?v=14.7');
@import url('pages/_account.css?v=14.7');
@import url('components/_buttons.css?v=13.6');
@import url('components/_forms.css?v=13.6');
@import url('components/_badges.css?v=13.6');
@import url('components/_approved-items.css?v=13.6');
@import url('components/_oauth-buttons.css?v=14.6');
@import url('pages/_quickorder.css?v=14.5');
@import url('pages/_catrequest.css?v=13.6');
@import url('pages/_admin.css?v=13.6');
@import url('pages/_legacy.css?v=13.6');


/* ========================================
   HEADER STYLES
   ======================================== */

.main-header {
    position: relative;
    background: #fff;
}

/* TOP HEADER */
.main-header .top-header {
    position: relative;
    padding: 7px 10px 6px;
    background-color: #f6f6f6;
    border-bottom: 1px solid rgba(47, 47, 47, 0.09);
}

.main-header .top-header ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header .top-header ul li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-header .top-header ul li.top-header-links {
    position: relative;
    gap: 12px;
}

.main-header .top-header ul li.top-header-links .line {
    width: 1px;
    height: 10px;
    background-color: rgba(47, 47, 47, 0.22);
}

.main-header .top-header ul li.top-header-links a {
    color: #2f2f2f;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-header .top-header ul li.top-header-links a:hover {
    color: #eb2429;
}

/* My Account wrapper - displays inline with other top header items */
.main-header .top-header ul li.top-header-links .my-account-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Welcome text - non-clickable, styled as plain text */
.main-header .top-header ul li.top-header-links .welcome-text {
    color: #2f2f2f;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

.main-header .top-header ul li .order-now {
    color: #2f2f2f;
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.main-header .top-header ul li .colourfull {
    color: #eb2429;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

/* MAIN NAVBAR */
.main-header nav.main-navbar {
    position: relative;
    background: #1d1d1d;
    padding: 15px;
    z-index: 10;
}

.main-header .main-navbar ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

.main-header .main-navbar ul li.logo img {
    width: 90px;
}

.main-header .main-navbar ul li.search-area {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    width: 70%;
}

/* Search Input Field */
.advanced-search-input-field {
    position: relative;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: #fff;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
    width: 100%;
}

.advanced-search-input-field select,
.advanced-search-input-field input {
    border: none;
    outline: none;
    padding: 0px 5px;
}

    .advanced-search-input-field select {
        color: #2f2f2f;
        font-size: 13px;
        font-style: normal;
        font-weight: 500;
        line-height: 22.5px;
        text-transform: uppercase;
        cursor: pointer;
        flex: 1 1 auto;
        max-width: 150px;
    }

.advanced-search-input-field .line {
    width: 1px;
    height: 30px;
    background-color: #d1d1d1;
}

.advanced-search-input-field input {
    color: rgba(47, 47, 47, 0.5);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.5px;
    text-transform: uppercase;
    width: 100%;
}

.advanced-search-input-field input::placeholder {
    text-align: center;
}

/* Search Mode Toggle Switch */
.search-toggle {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0 6px;
    gap: 4px;
    user-select: none;
}

.search-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.search-toggle-slider {
    width: 28px;
    height: 16px;
    background: #ccc;
    border-radius: 8px;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}

.search-toggle-slider::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
}

.search-toggle input:checked + .search-toggle-slider {
    background: #1a73e8;
}

.search-toggle input:checked + .search-toggle-slider::after {
    transform: translateX(12px);
}

.search-toggle-label {
    font-size: 10px;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

/* Spell-Check Suggestion Banner */
.spell-check-banner {
    padding: 12px 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.spell-check-banner strong {
    color: #333;
}

.spell-check-links {
    margin-top: 4px;
}

.spell-check-links a {
    color: #1a73e8;
    font-weight: 600;
    text-decoration: none;
}

.spell-check-links a:hover {
    text-decoration: underline;
}

.search-toggle input:checked ~ .search-toggle-label {
    color: #1a73e8;
}

/* Larger toggle variant for search results page */
.search-toggle--lg {
    gap: 8px;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: var(--radius-md, 6px);
    border: 1px solid #e0e0e0;
    transition: border-color 0.2s, background 0.2s;
}

.search-toggle--lg:hover {
    border-color: #bbb;
    background: #efefef;
}

.search-toggle--lg .search-toggle-slider {
    width: 36px;
    height: 20px;
    border-radius: 10px;
}

.search-toggle--lg .search-toggle-slider::after {
    width: 16px;
    height: 16px;
}

.search-toggle--lg input:checked + .search-toggle-slider::after {
    transform: translateX(16px);
}

.search-toggle--lg .search-toggle-label {
    font-size: 13px;
    letter-spacing: 0;
}

.search-toggle--lg input:checked ~ .search-toggle-label {
    color: #1a73e8;
    font-weight: 700;
}

.advanced-search-input-field button {
    display: flex;
    height: 42px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 12.647px;
    border-radius: 5.059px;
    border: none;
    background: #eb2429;
    cursor: pointer;
}

/* Header Items (Cart, Customer) */
.header-item {
    display: flex;
    flex-direction: row;
    color: #fff;
    align-items: center;
    gap: 8px;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.header-item img {
    width: 28px;
}

.header-item-text-info {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
}

.header-item-text-info small {
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.header-item-text-info span {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

/* Header account name - handle long names */
.header-item-text-info .header-account-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.header-item .count {
    position: absolute;
    background-color: #eb2429;
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    left: 15px;
    top: -5px;
    z-index: 10;
    font-size: 10px;
    font-weight: 600;
}

/* MAIN MENU */
.main-header .main-menu {
    position: relative;
    border-bottom: 1px solid rgba(47, 47, 47, 0.09);
    background: #2f2f2f;
}

.main-header .main-menu .menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    padding: 0px 12px;
}

.main-header .main-menu .menu-wrapper li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
}

/* ===== Single Line Menu Redesign ===== */
/* Updated to match Figma design specifications */
.main-header .main-menu.main-menu-single-line .menu-wrapper {
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 6px 0;
    overflow: visible;
}

.main-header .main-menu.main-menu-single-line .menu-wrapper li {
    font-size: 14px;
    font-weight: 500;
    padding: 0 4px;
    white-space: nowrap;
    line-height: 28.8px;
    gap: 4px;
}

.main-header .main-menu.main-menu-single-line .menu-wrapper li a.megamenu-title-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}

.main-header .main-menu.main-menu-single-line .menu-wrapper li:hover a.megamenu-title-link {
    color: #fff;
}

/* All Categories dropdown button (left side) */
.megamenu-all-categories {
    background: rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.megamenu-all-categories .megamenu-more-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Hamburger icon for All Categories */
.menu-hamburger {
    display: inline-block;
    width: 16px;
    height: 14px;
    position: relative;
}

.menu-hamburger::before,
.menu-hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.menu-hamburger::before {
    top: 0;
    box-shadow: 0 6px 0 #fff;
}

.menu-hamburger::after {
    bottom: 0;
}

/* All Categories dropdown styling */
.megamenu-all-dropdown {
    left: 0 !important;
    transform: none !important;
    width: calc(100vw - 40px) !important;
    max-width: 1200px !important;
    min-width: 600px !important;
}

.megamenu-all-list-container {
    max-height: none;
    overflow-y: visible;
    padding: 20px 30px;
}

.megamenu-all-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px 20px;
}

.megamenu-all-item {
    padding: 0;
}

.megamenu-all-item a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.megamenu-all-item a:hover {
    background: #f5f5f5;
    color: #c00;
}

/* Remove chevron from single-line menu items */
.main-menu-single-line .megamenu-item > img {
    display: none;
}

.megamenu-wrapper .megamenu-wrapper-content .left-content ul li {
    color: #2f2f2f;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    padding: 4px 30px 4px 0;
}

/* Megamenu */
.megamenu-item {
    position: static;
}

.megamenu-item:hover {
    z-index: 1001;
}

/* Position the wrapper relative to .main-menu */
.main-header .main-menu {
    position: relative;
    overflow: visible;
    z-index: 100;
}

.megamenu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    margin-top: 5px;
    width: 1100px;
    background: #fff;
    color: #1d1d1d;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 1000;
    overflow: visible;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    pointer-events: none;
}

/* JavaScript-controlled active state for megamenu */
.megamenu-item.megamenu-active .megamenu-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Responsive adjustments - Tablet (768px - 1199px) */
@media screen and (max-width: 1199px) {
    .megamenu-wrapper {
        width: 700px;
    }

    /* All Categories dropdown - narrower on tablet */
    .megamenu-all-dropdown {
        width: 700px !important;
        max-width: calc(100vw - 40px) !important;
    }

    .megamenu-all-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive adjustments - Mobile (768px and below) */
/* Note: Mobile hamburger menu already handled in existing breakpoints below */
.megamenu-wrapper-content {
    display: grid;
    grid-template-columns: 4fr 2fr;
    align-items: stretch;
}

.megamenu-wrapper-content .left-content {
    padding: 25px;
}

.megamenu-wrapper-content .left-content h3 {
    color: #2f2f2f;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.megamenu-wrapper-content .left-content ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu-wrapper-content .left-content ul li {
    color: #2f2f2f;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    padding: 4px 30px 4px 0;
}


.megamenu-wrapper-content .left-content ul li:hover {
    color: #eb2429;
    letter-spacing: -0.5px;
}

.megamenu-wrapper .megamenu-wrapper-content .left-content ul li {
    color: #2f2f2f;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    padding: 4px 30px 4px 0;
}

/* Tablet: 2 columns for megamenu subcategory list */
@media screen and (max-width: 1199px) {
    .megamenu-wrapper-content .left-content ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

.megamenu-wrapper-content .right-content {
    background: #f3f0ee;
    padding: 31px 23px 22px 23px;
}

.megamenu-wrapper-content .right-content h3 {
    color: #2f2f2f;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
}

.megamenu-wrapper-content .right-content a.view-more {
    color: #eb2429;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: underline;
    text-transform: uppercase;
    display: block;
    margin-top: 16px;
}

.megamenu-wrapper-content .right-content ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.megamenu-wrapper-content .right-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.megamenu-wrapper-content .right-content ul li .img {
    width: 80px;
    height: 68px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.megamenu-wrapper-content .right-content ul li .text {
    color: #1d1d1d;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.megamenu-wrapper-content .right-content ul li .text span {
    color: #2f2f2f;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
}

.megamenu-wrapper-content .right-content ul li .text small {
    color: rgba(47, 47, 47, 0.34);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
}

/* Dynamic Mega-Menu Styles */
.megamenu-title-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 500;
    display: inline;
    white-space: nowrap;
    font-size: 14px;
}

.megamenu-title-link:hover {
    color: #fff;
}

/* New simplified mega menu styles */
/* Header for mega menu dropdown */
.megamenu-header {
    padding: 12px 15px 8px 15px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.megamenu-header-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.megamenu-header .megamenu-view-all {
    color: #eb2429;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
}

.megamenu-header .megamenu-view-all:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Two-column mega menu: Level 2 on left, Level 3 on right */
.megamenu-level2-container {
    display: flex;
    padding: 0;
    min-height: 300px;
    position: relative;
}

.megamenu-level2-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    width: 600px;
    min-width: 600px;
    flex-shrink: 0;
    border-right: 1px solid #eee;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-content: start;
}

.megamenu-level2-item {
    position: static;
}

.megamenu-level2-link {
    display: block;
    padding: 3px 12px;
    color: #333;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.15s ease;
    border-left: 2px solid transparent;
    line-height: 1.3;
}

.megamenu-level2-link:hover {
    background-color: #f5f5f5;
    color: #eb2429;
    border-left-color: #eb2429;
}

/* Level 3 appears in right column */
.megamenu-level3-container {
    position: absolute;
    left: 600px;
    top: 0;
    width: auto;
    min-width: 280px;
    max-width: 350px;
    min-height: 100%;
    background: #fafafa;
    padding: 4px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    z-index: 1001;
}

.megamenu-level2-item:hover .megamenu-level3-container,
.megamenu-level2-link:hover + .megamenu-level3-container,
.megamenu-level3-container:hover {
    opacity: 1;
    visibility: visible;
}

.megamenu-level3-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.megamenu-level3-item {
    padding: 0;
}

.megamenu-level3-link {
    display: block;
    padding: 2px 10px;
    color: #555;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    transition: all 0.15s ease;
    line-height: 1.3;
}

.megamenu-level3-link:hover {
    background-color: #f0f0f0;
    color: #eb2429;
}

/* Old megamenu-resources removed - View All link now in header */

.megamenu-section {
    margin-bottom: 20px;
}

.megamenu-section h3 {
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.megamenu-section-link {
    color: #2f2f2f;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.megamenu-section-link:hover {
    color: #eb2429;
}

.megamenu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.megamenu-section ul li {
    margin: 0;
}

.megamenu-section ul li a {
    color: #2f2f2f;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.megamenu-section ul li a:hover {
    color: #eb2429;
}

/* Item count display in mega-menu */
.ews-item-count {
    color: rgba(47, 47, 47, 0.5);
    font-size: 12px;
    font-weight: 400;
    margin-left: 5px;
}

/* Left content - stacked layout with h3 above ul */
.megamenu-wrapper-content .left-content {
    display: block;
    padding: 25px;
}

.megamenu-wrapper-content .left-content .megamenu-section {
    break-inside: avoid;
}

/* Mobile Navigation */
    .main-header .main-navbar ul li.mobile {
        display: none;
        align-items: center;
        gap: 20px;
    }

        .main-header .main-navbar ul li.mobile button {
            background-color: transparent;
            border: none;
            outline: none;
        }

            .main-header .main-navbar ul li.mobile button img,
            .main-header .main-navbar ul li.mobile label img {
                width: 32px;
                height: 32px;
            }

        .main-header .main-navbar ul li.mobile .humberger-menu {
            position: relative;
        }

            .main-header .main-navbar ul li.mobile .humberger-menu .mobile-navbar {
                position: absolute;
                background-color: #ffffff;
                right: 0px;
                width: 300px;
                border-radius: 5px;
                padding: 25px;
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
                opacity: 0;
                transform: translateY(10px);
                transform-origin: top;
                pointer-events: none;
                transition: all 0.1s ease;
                z-index: 1002;
            }

    .main-header .humberger-menu .menu-toggle:checked ~ .mobile-navbar {
        opacity: 1 !important;
        transform: translateY(0px) !important;
        pointer-events: all !important;
    }

    .main-header .main-navbar ul li.mobile .humberger-menu .mobile-navbar ul {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin: 0px;
        padding: 0px;
        list-style: none;
    }

        .main-header .main-navbar ul li.mobile .humberger-menu .mobile-navbar ul li {
            padding: 0;
        }

            .main-header .main-navbar ul li.mobile .humberger-menu .mobile-navbar ul li a {
                position: relative;
                text-decoration: none;
                text-transform: uppercase;
                color: #1d1d1d;
                transition: all 0.3s ease;
                font-size: 14px;
                white-space: nowrap;
            }

                .main-header .main-navbar ul li.mobile .humberger-menu .mobile-navbar ul li a:hover {
                    color: #eb2429;
                }

            .main-header .main-navbar ul li.mobile .humberger-menu .mobile-navbar ul li.quick-links-header {
                font-weight: 700;
                font-size: 12px;
                color: #999;
                margin-top: 10px;
                text-transform: uppercase;
            }
    /* Mobile Search */
    .main-header .main-navbar ul li.mobile .mobile-search-area {
        position: relative;
    }

        .main-header .main-navbar ul li.mobile .mobile-search-area .advanced-search-input-field {
            position: absolute;
            right: 0;
            width: 60vw;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            opacity: 0;
            transform: translateY(10px);
            transform-origin: top;
            pointer-events: none;
            transition: all 0.1s ease;
            z-index: 1002;
        }

        .main-header .main-navbar ul li.mobile .mobile-search-area .search-toggle:checked ~ .advanced-search-input-field {
            opacity: 1 !important;
            transform: translateY(0px) !important;
            pointer-events: all !important;
        }
    /* ========================================
   AUTOCOMPLETE STYLES
   ======================================== */

    #autocomplete-table,
    #autoCategory-table,
    #autoMfr-table {
        position: absolute;
        background-color: #fff;
        border: 1px solid #ccc;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        max-height: 300px;
        overflow-y: auto;
        z-index: 2000; /* Higher than mega-menu (z-index: 1001) to prevent overlap */
    }

    #autocomplete-table {
        width: 750px;
    }

    #autoCategory-table,
    #autoMfr-table {
        width: 375px;
        max-height: 200px;
    }

        #autocomplete-table table,
        #autoCategory-table table,
        #autoMfr-table table {
            width: 100%;
            border-collapse: collapse;
        }

        #autocomplete-table th,
        #autoCategory-table th,
        #autoMfr-table th {
            padding: 8px;
            border-bottom: 1px solid #ddd;
            font-size: 13px;
            font-weight: bold;
            background: #f8f8f8;
        }

        #autocomplete-table td,
        #autoCategory-table td,
        #autoMfr-table td {
            padding: 8px;
            border-bottom: 1px solid #ddd;
            font-size: 12px;
        }

        #autocomplete-table tr:hover,
        #autoCategory-table tr:hover,
        #autoMfr-table tr:hover {
            background-color: #f1f1f1;
            cursor: pointer;
        }
        /* Scrollbar Styling */
        #autocomplete-table::-webkit-scrollbar,
        #autoCategory-table::-webkit-scrollbar,
        #autoMfr-table::-webkit-scrollbar {
            width: 10px;
        }

        #autocomplete-table::-webkit-scrollbar-track,
        #autoCategory-table::-webkit-scrollbar-track,
        #autoMfr-table::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }

        #autocomplete-table::-webkit-scrollbar-thumb,
        #autoCategory-table::-webkit-scrollbar-thumb,
        #autoMfr-table::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }

            #autocomplete-table::-webkit-scrollbar-thumb:hover,
            #autoCategory-table::-webkit-scrollbar-thumb:hover,
            #autoMfr-table::-webkit-scrollbar-thumb:hover {
                background: #555;
            }

    /* Table Container for Category and Manufacturer tables */
    .table-container {
        position: absolute;
        display: flex;
        flex-direction: row;
        gap: 10px;
        z-index: 2000; /* Match autocomplete tables z-index */
    }

    /* When tables are inside the container, remove absolute positioning so flex works */
    .table-container #autoCategory-table,
    .table-container #autoMfr-table {
        position: relative;
        flex: 0 0 auto;
    }

    /* Clickable row styling */
    .clickable-row {
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .clickable-row:hover {
        background-color: #f5f5f5;
    }

    /* Highlighted row for keyboard navigation */
    .highlighted-row {
        background-color: #e3f2fd !important;
        outline: 2px solid #2196F3;
    }

    /* Add to cart button in autocomplete */
    .add-to-cart-btn {
        background-color: #eb2429;
        color: white;
        border: none;
        padding: 5px 10px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 11px;
        transition: background-color 0.2s ease;
    }

    .add-to-cart-btn:hover {
        background-color: #c41e22;
    }

    .add-to-cart-btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

    /* Success message after adding to cart */
    .add-success {
        color: #28a745;
        font-weight: bold;
        margin-left: 8px;
        font-size: 12px;
    }

    /* Item quantity input in autocomplete */
    .item-qty {
        width: 50px;
        padding: 4px;
        border: 1px solid #ccc;
        border-radius: 4px;
        text-align: center;
    }

    /* Search term highlighting in autocomplete results */
    .search-highlight {
        background-color: #ffeb3b;
        font-weight: bold;
        padding: 1px 2px;
        border-radius: 2px;
    }

    /* ========================================
   FOOTER STYLES
   ======================================== */
    /* CTA Section */
    .ews-cta {
        background: #1D1D1D;
        color: white;
        text-align: center;
        padding: 70px 20px;
        clear: both;
    }

    .ews-cta-subtitle {
        color: #eb2429;
        letter-spacing: 5px;
        font-size: 12px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .ews-cta-title {
        font-size: 48px;
        margin: 10px 0 40px;
        line-height: 1.2;
    }

    .text-primary {
        color: #EB282D;
    }

    .ews-cta-button {
        background-color: #e42427;
        color: white;
        padding: 18px 44px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: bold;
        font-size: 15px;
        transition: background-color 0.3s;
        display: inline-block;
        text-transform: uppercase;
    }

        .ews-cta-button:hover {
            background-color: #c0392b;
        }
    /* Footer */
    .ews-footer {
        background-color: #f9f6f4;
        padding: 40px 0 0;
    }

    .ews-footer-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        align-items: flex-start;
        padding: 0 20px;
    }

    .ews-footer-col {
        flex: 1 1 220px;
        min-width: 200px;
    }

    .ews-footer-logo {
        width: 130px;
        margin-bottom: 10px;
    }

    .ews-social-title {
        font-weight: bold;
        margin: 15px 0 10px;
        color: #2f2f2f;
        text-transform: uppercase;
        font-size: 14px;
    }

    .ews-social-icons {
        display: flex;
        gap: 10px;
    }

        .ews-social-icons a {
            display: inline-block;
            transition: opacity 0.3s;
        }

            .ews-social-icons a:hover {
                opacity: 0.8;
            }

        .ews-social-icons img {
            width: 32px;
            height: 32px;
        }

    .ews-footer-heading {
        margin-bottom: 10px;
        font-size: 18px;
        font-weight: bold;
        color: #2f2f2f;
        text-transform: uppercase;
    }

    .ews-footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .ews-footer-links li {
            margin: 8px 0;
        }

            .ews-footer-links li a {
                text-decoration: none;
                color: #666;
                font-size: 14px;
                transition: color 0.3s;
                text-transform: uppercase;
            }

                .ews-footer-links li a:hover {
                    color: #e42427;
                }
    /* Newsletter Subscription */
    .ews-subscribe-container {
        margin-top: 10px;
    }

    .submit-form-wrapper {
        padding: 4px;
        border-radius: 4px;
        border: 1px solid #CFCECE;
        background: #FFF;
        display: flex;
        align-items: stretch;
        max-width: 300px;
    }

    #txtMailingList2 {
        color: rgba(47, 47, 47, 0.97);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        outline: none;
        padding: 10px;
        border: none;
        background: transparent;
        flex: 1;
    }

    #btnSubmit2 {
        width: 100px;
        border-radius: 4px;
        background: #EB2429;
        color: #ffffff;
        cursor: pointer;
        border: none;
        padding: 10px 20px;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 12px;
    }

        #btnSubmit2:hover {
            background: #c0392b;
        }

    .ews-secure-badge {
        margin-top: 20px;
        max-width: 100%;
    }

    .ews-footer-bottom {
        text-align: center;
        font-size: 13px;
        color: #666;
        margin-top: 30px;
        border-top: 1px solid #ddd;
        padding: 20px 0;
        background: #f3f0ee;
    }
    /* Divider */
    .ews-divider {
        width: 100%;
        background: rgba(47, 47, 47, 0.10);
        height: 1px;
        margin: 14px 0;
    }
    /* ========================================
   FORMS
   ======================================== */

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    select,
    textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        font-family: 'Mazzard', 'Roboto', sans-serif;
    }

    button,
    .homeformbuttons {
        background: #e74c3c;
        color: #fff;
        border: none;
        padding: 12px 24px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        transition: background 0.3s;
    }

        button:hover,
        .homeformbuttons:hover {
            background: #c0392b;
        }
    /* Form Layout */
    .form-navigation {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
    }

    .form-actions {
        display: flex;
        justify-content: flex-end;
        margin-top: 20px;
    }

    .form-row {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        flex: 1;
        margin-bottom: 20px;
    }

    .radio-group {
        display: flex;
        gap: 24px;
        margin-bottom: 16px;
    }

    .radio-option {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

        .radio-option input[type="radio"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        .radio-option label {
            font-size: 16px;
            font-weight: 500;
            color: #333;
            cursor: pointer;
            margin-bottom: 0;
        }
    /* Error Messages */
    .error-message {
        color: #e63946;
        font-size: 14px;
        margin-top: 5px;
        display: block;
    }

    .form-group input.input-validation-error {
        border-color: #e63946;
    }
    /* ========================================
   UTILITY CLASSES
   ======================================== */

    .dt {
        display: block;
    }

    .m {
        display: none;
    }

    .clearfix::after {
        content: "";
        display: table;
        clear: both;
    }

    .text-center {
        text-align: center;
    }

    .text-left {
        text-align: left;
    }

    .text-right {
        text-align: right;
    }
    /* ========================================
   MEDIA QUERIES
   ======================================== */

    @media screen and (max-width: 1224px) {
        .main-header .main-menu .menu-wrapper li.megamenu-item .megamenu-wrapper {
            width: 95vw;
        }
    }

    @media screen and (max-width: 1024px) {
        .main-header .main-navbar ul li.search-area {
            width: 80%;
        }

        .main-header .main-menu .menu-wrapper {
            padding: 0px 12px;
        }
    }

    @media screen and (max-width: 768px) {
        .wrapper {
            padding: 0 15px;
        }

        .main-header .main-menu {
            display: none;
        }

        .main-header nav.main-navbar {
            padding: 10px 16px;
        }

        .main-header .main-navbar ul {
            flex-direction: row;
        }

            .main-header .main-navbar ul li.mobile {
                display: flex;
            }

            .main-header .main-navbar ul li.search-area {
                display: none;
            }

            .main-header .main-navbar ul li.logo img {
                width: 76px !important;
            }

        .search-area {
            margin: 20px 0;
            flex-direction: column;
        }

        .mobile {
            display: block !important;
        }

        .dt {
            display: none !important;
        }

        .m {
            display: block !important;
        }

        .ews-cta-title {
            font-size: 32px;
        }

        .ews-footer-container {
            flex-direction: column;
            align-items: center;
        }

        .ews-footer-col {
            text-align: center;
            width: 100%;
        }

        .ews-divider {
            display: none;
        }

        .ews-social-icons {
            justify-content: center;
        }

        .submit-form-wrapper {
            max-width: 100%;
        }
    }

    @media screen and (max-width: 568px) {
        .main-header .main-navbar ul li.mobile .humberger-menu .mobile-navbar {
            max-width: 80vw !important;
        }

        .main-header .top-header ul {
            justify-content: center;
        }

            .main-header .top-header ul li.top-header-links {
                display: none;
            }

        .main-header .main-navbar ul li.mobile .humberger-menu .mobile-navbar ul li.top-header-links {
            display: flex;
        }

        .main-header .main-navbar ul li.mobile .mobile-search-area .advanced-search-input-field {
            width: 80vw;
            right: -20vw;
        }
    }

    @media (min-width: 769px) {
        .mobile {
            display: none !important;
        }
    }
    /* Scanner Overlay */
    #scanner {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        z-index: 9999;
        border-radius: 8px;
        max-width: 90%;
        max-height: 90%;
        overflow: auto;
    }

        #scanner .close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #999;
        }

            #scanner .close:hover {
                color: #333;
            }

        #scanner video {
            width: 100%;
            max-width: 600px;
        }

        #scanner .button {
            display: inline-block;
            padding: 10px 20px;
            background: #eb2429;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            margin: 10px 5px;
            cursor: pointer;
        }

            #scanner .button:hover {
                background: #c0392b;
            }

        #scanner .caption {
            display: inline-block;
            margin: 0 10px;
            font-size: 16px;
            color: #666;
        }
    /* ========================================
       JOIN.ASPX STYLES - Moved to /assets/css/join.css
       ======================================== */
    /* NOTE: Join page styles are in join.css to avoid duplication */
    /* --- DEFAULT.ASPX STYLES ---
       Now in pages/_homepage.css. Kept commented for reference during migration.

    .about-us-container {
        background: #F8F5F3;
    }

    .about-us-home {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-template-rows: auto;
        grid-gap: 76px;
        align-items: center;
        padding: 75px 0px;
    }

        .about-us-home .about-us-image {
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
            height: 100%;
        }

            .about-us-home .about-us-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        .about-us-home .about-us-text span.top-subtitle {
            display: block;
            color: #EB2429;
            font-feature-settings: 'liga' off, 'clig' off;
            font-family: 'MazzardSemiBold', sans-serif;
            font-size: 14px;
            font-style: normal;
            line-height: 16px;
            letter-spacing: 10px;
            text-transform: uppercase;
            margin-bottom: 6px;
        }

        .about-us-home .about-us-text h2 {
            color: #2F2F2F;
            font-family: 'MazzardBold', sans-serif;
            font-size: 64px;
            font-style: normal;
            margin: 0px;
            letter-spacing: -2px;
            line-height: 78px;
        }

            .about-us-home .about-us-text h2 span {
                color: #EB2429;
            }

        .about-us-home .about-us-text .subtitle {
            color: rgba(47, 47, 47, 0.80);
            font-family: 'MazzardSemiBold', sans-serif;
            font-size: 20px;
            font-style: normal;
            line-height: 27px;
        }

        .about-us-home .about-us-text p {
            color: rgba(47, 47, 47, 0.80);
            font-feature-settings: 'liga' off, 'clig' off;
            font-family: 'Mazzard', sans-serif;
            font-size: 17px;
            font-style: normal;
            line-height: 26px;
            margin: 0 0 21px 0;
        }

        .about-us-home .about-us-text a {
            margin-top: 10px;
            display: inline-block;
            border-radius: 4px;
            border: 1px solid #2F2F2F;
            color: #2F2F2F;
            font-feature-settings: 'liga' off, 'clig' off;
            font-size: 15px;
            font-style: normal;
            font-weight: 600;
            line-height: 24px;
            padding: 16px 44px;
            text-transform: uppercase;
            transition: all 0.3s ease;
        }

            .about-us-home .about-us-text a:hover {
                background: #2F2F2F;
                color: #fff;
                text-decoration: none;
            }

    @media screen and (max-width: 768px) {
        .about-us-home {
            grid-template-columns: 1fr;
            grid-gap: 20px;
        }

            .about-us-home .about-us-text h2 {
                font-size: 36px;
                line-height: 50px;
            }

            .about-us-home .about-us-text p {
                font-size: 16px;
                line-height: 24px;
            }
    }

    .destributors-slider {
        text-align: center;
        padding: 80px 0px;
    }

        .destributors-slider .title {
            margin-bottom: 40px;
        }

            .destributors-slider .title span {
                color: #EB2429;
                font-size: 14px;
                font-style: normal;
                font-weight: 600;
                line-height: 10px;
                letter-spacing: 10px;
                text-transform: uppercase;
            }

            .destributors-slider .title h2 {
                color: #2F2F2F;
                text-align: center;
                font-size: 36px;
                font-style: normal;
                font-weight: 700;
                text-transform: uppercase;
                margin: 15px 0px;
            }

        .destributors-slider .destributors-list ul {
            gap: 20px;
        }

            .destributors-slider .destributors-list ul li {
                display: flex;
                height: 87.43px;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 9.898px;
                flex: 1 0 0;
                border-radius: 3.299px;
                margin: 10px;
                background: #F8F5F3;
            }

        .destributors-slider .navigation-button {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
            gap: 20px;
        }

            .destributors-slider .navigation-button div {
                display: flex;
                width: 42px;
                height: 42px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                flex-shrink: 0;
                border-radius: 4px;
                border: 1px solid #2F2F2F;
                transition: all 0.3s ease;
                cursor: pointer;
            }

                .destributors-slider .navigation-button div:hover {
                    background: #EB2429;
                    color: #fff;
                    text-decoration: none;
                    border: 1px solid #EB2429;
                }

                    .destributors-slider .navigation-button div:hover img {
                        filter: invert(1);
                    }

    .feature-special-container {
        border-bottom: 1px solid rgba(255, 255, 255, 0.11);
        background: #2F2F2F;
        padding: 90px 0px;
    }

        .feature-special-container .title-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

            .feature-special-container .title-wrapper .title h2 {
                color: #FFF;
                font-size: 42px;
                font-style: normal;
                font-weight: 600;
                line-height: 32px;
                letter-spacing: -1px;
                text-transform: uppercase;
                margin: 0px;
            }

        .feature-special-container .right-content .navigation-button {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
            gap: 20px;
        }

            .feature-special-container .right-content .navigation-button div {
                display: flex;
                width: 42px;
                height: 42px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                flex-shrink: 0;
                border-radius: 4px;
                border: 1px solid #ffffff;
                transition: all 0.3s ease;
                cursor: pointer;
            }

                .feature-special-container .right-content .navigation-button div:hover {
                    background: #EB2429;
                    color: #fff;
                    text-decoration: none;
                    border: 1px solid #EB2429;
                }

                .feature-special-container .right-content .navigation-button div img {
                    filter: invert(1);
                }

                .feature-special-container .right-content .navigation-button div:hover img {
                    filter: invert(1);
                }

    .feature-special-list ul {
        position: relative;
    }

        .feature-special-list ul li {
            border-radius: 6px;
            border: 0.5px solid rgba(47, 47, 47, 0.14);
            background: #FFF;
            margin: 10px;
            padding: 8px;
        }

            .feature-special-list ul li .login-button {
                display: flex;
                width: 100%;
                height: 45px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                flex-shrink: 0;
                border-radius: 4px;
                background: #EB2429;
                color: #FFF;
                font-size: 14px;
                font-style: normal;
                font-weight: 600;
                text-transform: uppercase;
                margin-top: 10px;
            }

            .feature-special-list ul li .item-no {
                display: inline-block;
                padding: 4px 8px;
                border-radius: 4px;
                background: #2F2F2F;
                color: #FFF;
                text-align: center;
                font-size: 11px;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                letter-spacing: 0.3px;
                margin-top: 10px;
            }

            .feature-special-list ul li .category {
                color: #2F2F2F;
                font-size: 16px;
                font-style: normal;
                font-weight: 600;
                line-height: 23.4px;
                letter-spacing: 0.4px;
                text-transform: capitalize;
                display: block;
                margin: 10px 0px;
            }

            .feature-special-list ul li .mf {
                color: rgba(47, 47, 47, 0.50);
                font-size: 12px;
                font-style: normal;
                font-weight: 600;
                line-height: normal;
                letter-spacing: 0.3px;
                text-transform: uppercase;
            }

            .feature-special-list ul li .pregressbar-wrapper {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                margin-top: 10px;
                flex-direction: column;
            }

                .feature-special-list ul li .pregressbar-wrapper .progress {
                    width: 100%;
                    height: 4px;
                    background: #E5E5E5;
                    border-radius: 4px;
                }

                .feature-special-list ul li .pregressbar-wrapper .pregressbar {
                    height: 4px;
                    background: #008A00;
                    border-radius: 4px;
                }

                .feature-special-list ul li .pregressbar-wrapper span {
                    color: #008A00;
                    font-size: 12px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: normal;
                    letter-spacing: 0.3px;
                    display: block;
                }

    .feature-special-list .price-tag {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .feature-special-list .price-tag span {
            color: #2F2F2F;
            font-size: 16px;
            font-style: normal;
            font-weight: 600;
            line-height: 23.4px;
            letter-spacing: 0.4px;
            text-transform: capitalize;
            display: block;
            margin: 10px 0px;
        }

    .shop-by-category {
        background: #ffffff;
        padding: 80px 0px;
        padding-top: 40px;
    }

        .shop-by-category .title-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

            .shop-by-category .title-wrapper .title h2 {
                color: #2F2F2F;
                font-size: 42px;
                font-style: normal;
                font-weight: 600;
                line-height: 81px;
                letter-spacing: -1px;
                text-transform: uppercase;
                margin-bottom: 0px;
            }

        .shop-by-category .right-content .navigation-button {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
            gap: 20px;
        }

            .shop-by-category .right-content .navigation-button div {
                display: flex;
                width: 42px;
                height: 42px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                flex-shrink: 0;
                border-radius: 4px;
                border: 1px solid #2F2F2F;
                transition: all 0.3s ease;
                cursor: pointer;
            }

                .shop-by-category .right-content .navigation-button div:hover {
                    background: #EB2429;
                    color: #fff;
                    text-decoration: none;
                    border: 1px solid #EB2429;
                }

                    .shop-by-category .right-content .navigation-button div:hover img {
                        filter: invert(1);
                    }

    .shop-by-categorylist ul li {
        margin: 10px;
        padding: 12px;
        border-radius: 4px;
        background: #DEDFE2;
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 40px;
    }

        .shop-by-categorylist ul li img {
            width: 182px;
            height: 142px;
            object-fit: contain;
        }

        .shop-by-categorylist ul li .display-name {
            color: #2F2F2F;
            text-align: center;
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: 24px;
            text-transform: uppercase;
            margin-top: 20px;
        }

        .shop-by-categorylist ul li span {
            color: #EB2429;
            text-align: center;
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: 24px;
            margin-top: 0.5rem;
            display: block;
        }

    .home-banner {
        position: relative;
        min-height: 70vh;
        background: #F8F5F3;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 60px;
    }

        .home-banner .banner-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto;
            grid-gap: 76px;
            align-items: center;
        }

            .home-banner .banner-content .left-content {
                padding: 0px 20px;
            }

                .home-banner .banner-content .left-content span.top-subtitle {
                    color: #EB2429;
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: 16px;
                    letter-spacing: 10px;
                    text-transform: uppercase;
                    margin-bottom: 15px;
                    display: block;
                }

                .home-banner .banner-content .left-content h1 {
                    color: #2F2F2F;
                    font-size: 50px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 58px;
                    letter-spacing: -2px;
                    text-transform: uppercase;
                    border-left-color: #eb242b1c;
                }

                    .home-banner .banner-content .left-content h1 span {
                        color: #EB2429;
                    }

                .home-banner .banner-content .left-content h6 {
                    color: #2F2F2F;
                    font-size: 50px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 58px;
                    letter-spacing: -2px;
                    text-transform: uppercase;
                    border-left-color: #eb242b1c;
                }

                    .home-banner .banner-content .left-content h6 span {
                        color: #EB2429;
                    }

                .home-banner .banner-content .left-content p {
                    color: rgba(47, 47, 47, 0.80);
                    font-size: 17px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 30px;
                }

                .home-banner .banner-content .left-content .banner-button {
                    margin-top: 50px;
                }

                    .home-banner .banner-content .left-content .banner-button a {
                        margin-right: 20px;
                    }

                        .home-banner .banner-content .left-content .banner-button a.roundred {
                            background: #EB2429;
                            color: #fff;
                            padding: 16px 44px;
                            border-radius: 4px;
                            text-transform: uppercase;
                            font-size: 15px;
                            font-style: normal;
                            font-weight: 600;
                            line-height: 24px;
                            border: 1px solid #EB2429;
                        }

                            .home-banner .banner-content .left-content .banner-button a.roundred.secondary {
                                background: #fff;
                                color: #2F2F2F;
                                border: 1px solid #2F2F2F;
                            }

                            .home-banner .banner-content .left-content .banner-button a.roundred:hover {
                                background: #fff;
                                color: #EB2429;
                                text-decoration: none;
                                border: 1px solid #EB2429;
                            }

                            .home-banner .banner-content .left-content .banner-button a.roundred.secondary:hover {
                                background: #2F2F2F;
                                color: #fff;
                                text-decoration: none;
                                border: 1px solid #2F2F2F;
                            }

            .home-banner .banner-content .right-content {
                padding: 0px 20px;
            }

                .home-banner .banner-content .right-content img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

    @media screen and (max-width: 768px) {
        .home-banner {
            height: auto;
            padding: 20px 0px;
        }

            .home-banner .banner-content {
                grid-template-columns: 1fr;
                grid-gap: 20px;
            }

                .home-banner .banner-content .left-content h1 {
                    font-size: 36px;
                    line-height: 50px;
                }

                .home-banner .banner-content .left-content h6 {
                    font-size: 36px;
                    line-height: 50px;
                }

                .home-banner .banner-content .left-content p {
                    font-size: 16px;
                    line-height: 24px;
                }

                .home-banner .banner-content .left-content .banner-button {
                    margin-top: 30px;
                }

                    .home-banner .banner-content .left-content .banner-button a.roundred {
                        padding: 12px 24px;
                        font-size: 14px;
                    }

                        .home-banner .banner-content .left-content .banner-button a.roundred.secondary {
                            padding: 12px 24px;
                            font-size: 14px;
                        }
    }

    @media screen and (max-width: 480px) {
        .home-banner .banner-content {
            grid-template-columns: 1fr;
            grid-gap: 20px;
        }

            .home-banner .banner-content .left-content h1 {
                font-size: 28px;
                line-height: 40px;
            }

            .home-banner .banner-content .left-content h6 {
                font-size: 28px;
                line-height: 40px;
            }

            .home-banner .banner-content .left-content p {
                font-size: 14px;
                line-height: 22px;
            }
    }


/* ========================================
   INVENTORY PROGRESS BAR STYLES
   ======================================== */

.inventory-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 8px 0;
    padding: 0 10px;
}

.inventory-progress .progress-bar-container {
    width: 100%;
    max-width: 120px;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.inventory-progress .progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.inventory-progress .progress-bar.high-stock {
    background-color: #4CAF50;
}

.inventory-progress .progress-bar.medium-stock {
    background-color: #FF9800;
}

.inventory-progress .progress-bar.low-stock {
    background-color: #F44336;
}

.inventory-progress .stock-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inventory-progress .stock-text.high-stock {
    color: #4CAF50;
}

.inventory-progress .stock-text.medium-stock {
    color: #FF9800;
}

.inventory-progress .stock-text.low-stock {
    color: #F44336;
}

.inventory-progress .stock-text.out-of-stock {
    color: #9E9E9E;
}

/* Specials slider item progress bar positioning */
.sslider li .inventory-progress {
    position: absolute;
    bottom: 90px;
    left: 0;
    right: 0;
}


/* Account Wrapper */
.account-wrapper {
    position: relative;
}

.account-wrapper .account-header {
    padding: 52px 0;
    gap: 39px;
    background: #f8f5f3;
    width: 100%;
}

.account-wrapper .account-header h2 {
    color: var(--Black-900, #121212);
    text-align: center;
    font-family: 'MazzardSemiBold', 'Mazzard', sans-serif;
    font-size: 54px;
    font-style: normal;
    font-weight: 600;
    line-height: 58px;
    letter-spacing: -1px;
}

@media screen and (max-width: 768px) {
    .account-wrapper .account-header h2 {
        font-size: 40px;
    }
}

.account-wrapper .account-header .account-nav {
    position: relative;
    margin-top: 20px;
    background-color: #fff;
    padding: 5px;
    border-radius: 6px;
    border: 1px solid rgba(203, 203, 203, 0.35);
    background: var(--White, #fff);
    width: 100%;
}

.account-wrapper .account-header .account-nav ul {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.account-wrapper .account-header .account-nav ul li a {
    text-decoration: none;
    color: #2f2f2f;
}

.account-wrapper .account-header .account-nav ul li {
    color: #2f2f2f;
    text-align: center;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    flex: 1;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.account-wrapper .account-header .account-nav ul li:hover {
    background-color: #f8f5f3;
    color: #eb2429;
}

.account-wrapper .account-header .account-nav ul li:hover a {
    color: #eb2429;
}

.account-wrapper .account-header .account-nav ul li.active {
    background-color: #eb2429;
    color: #fff;
}

.account-wrapper .account-header .account-nav ul li.active a {
    color: #fff !important;
}

.account-wrapper .account-header .account-nav ul li.active:hover {
    background-color: #eb2429;
    color: #fff;
}

.account-wrapper .account-header .account-nav ul li.active:hover a {
    color: #fff !important;
}

/* Account content main tabs */
.account-wrapper .account-content-main-tabs {
    position: relative;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Account Info Section */
.account-wrapper .account-content-main-tabs .account-info {
    position: relative;
    border-radius: 6px;
    border: 1px solid rgba(226, 226, 226, 0.49);
    background: #f8f5f3;
    padding: 40px;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.account-wrapper .account-content-main-tabs .account-info h2 {
    color: var(--Greyscale-900, #111827);
    font-family: 'MazzardSemiBold', 'Mazzard', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-title span {
    color: #eb2429;
    font-size: 16px;
    font-style: normal;
    cursor: pointer;
    text-decoration: underline;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group.full-width {
    grid-column: 1 / span 2;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group label {
    position: relative;
    color: var(--Text-Blue, #3e3e59);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group input,
.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group select,
.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group .form-control-static {
    position: relative;
    color: #2f2f2f;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    outline: none;
    border-radius: 4px;
    border: 1px solid var(--Black-300, #cbcbcb);
    background: var(--White, #fff);
    min-height: 52px;
    padding: 12px 16px;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group .form-control-static {
    background: #ededed;
    display: flex;
    align-items: center;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group input:disabled,
.account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group select:disabled {
    background: #ededed !important;
    cursor: not-allowed !important;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-action {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    position: relative;
    margin-top: 20px;
    flex-direction: row-reverse;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-action button,
.account-wrapper .account-content-main-tabs .account-info .account-info-action .btn {
    position: relative;
    color: #fff;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: #eb2429;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-action button:hover,
.account-wrapper .account-content-main-tabs .account-info .account-info-action .btn:hover {
    background-color: #c91f23;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-action button:last-child,
.account-wrapper .account-content-main-tabs .account-info .account-info-action .btn-secondary {
    background-color: #fff;
    color: #eb2429 !important;
    border: 1px solid #eb2429;
}

.account-wrapper .account-content-main-tabs .account-info .account-info-action button:last-child:hover,
.account-wrapper .account-content-main-tabs .account-info .account-info-action .btn-secondary:hover {
    background-color: #fef2f2;
}

/* Account Quick Links Section */
.account-wrapper .account-quick-links {
    margin-top: 40px;
}

.account-wrapper .account-quick-links h3 {
    font-family: 'MazzardSemiBold', 'Mazzard', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
}

.account-wrapper .account-quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.account-wrapper .account-quick-links-grid .quick-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #cbcbcb;
    border-radius: 6px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #2f2f2f;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.account-wrapper .account-quick-links-grid .quick-link-btn:hover {
    background-color: #eb2429;
    border-color: #eb2429;
    color: #fff;
}

/* Account Orders & Quotes / Reports Layout */
.account-wrapper .account-content-layout {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 30px;
}

.account-wrapper .account-sidebar {
    background: #f8f5f3;
    border-radius: 6px;
    padding: 20px;
}

.account-wrapper .account-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-wrapper .account-sidebar ul li {
    margin-bottom: 8px;
}

.account-wrapper .account-sidebar ul li a {
    display: block;
    padding: 12px 16px;
    color: #2f2f2f;
    text-decoration: none;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.account-wrapper .account-sidebar ul li a:hover {
    background: #fff;
    color: #eb2429;
}

.account-wrapper .account-sidebar ul li.active a {
    background: #eb2429;
    color: #fff;
}

.account-wrapper .account-main-content {
    background: #fff;
    border: 1px solid rgba(226, 226, 226, 0.49);
    border-radius: 6px;
    padding: 30px;
}

/* Account Tables */
.account-wrapper .account-table {
    width: 100%;
    border-collapse: collapse;
}

.account-wrapper .account-table th,
.account-wrapper .account-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e2e2;
}

.account-wrapper .account-table th {
    background: #f8f5f3;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-weight: 500;
    color: #111827;
    font-size: 14px;
    /* text-transform removed to match Figma design (sentence case) */
    letter-spacing: 0.5px;
}

.account-wrapper .account-table td {
    color: #2f2f2f;
    font-size: 15px;
}

.account-wrapper .account-table tbody tr:hover {
    background: #fafafa;
}

/* Account Filter Area */
.account-wrapper .account-filter-area {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.account-wrapper .account-filter-area input,
.account-wrapper .account-filter-area select {
    padding: 10px 16px;
    border: 1px solid #cbcbcb;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}

.account-wrapper .account-filter-area .btn-filter {
    padding: 10px 20px;
    background: #eb2429;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    transition: background-color 0.2s ease;
}

.account-wrapper .account-filter-area .btn-filter:hover {
    background: #c91f23;
}

/* Account Pagination */
.account-wrapper .account-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.account-wrapper .account-pagination a,
.account-wrapper .account-pagination span {
    padding: 8px 14px;
    border: 1px solid #cbcbcb;
    border-radius: 4px;
    color: #2f2f2f;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.account-wrapper .account-pagination a:hover {
    background: #f8f5f3;
}

.account-wrapper .account-pagination .active {
    background: #eb2429;
    border-color: #eb2429;
    color: #fff;
}

/* Account Page Responsive */
@media screen and (max-width: 992px) {
    .account-wrapper .account-content-layout {
        grid-template-columns: 1fr;
    }

    .account-wrapper .account-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .account-wrapper .account-sidebar ul li {
        margin-bottom: 0;
    }

    .account-wrapper .account-quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 568px) {
    .account-wrapper .account-header {
        padding: 30px 0;
    }

    .account-wrapper .account-header .account-nav ul {
        gap: 0;
    }

    .account-wrapper .account-header .account-nav ul li {
        font-size: 14px;
        padding: 10px 20px;
        display: block;
        flex: none;
    }

    .account-wrapper .account-content-main-tabs {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .account-wrapper .account-content-main-tabs .account-info {
        padding: 20px;
    }

    .account-wrapper .account-content-main-tabs .account-info h2 {
        font-size: 24px;
        line-height: 40px;
    }

    .account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper {
        grid-template-columns: 1fr;
    }

    .account-wrapper .account-content-main-tabs .account-info .account-info-form-wrapper .form-group.full-width {
        grid-column: 1 / span 1;
    }

    .account-wrapper .account-quick-links-grid {
        grid-template-columns: 1fr;
    }

    .account-wrapper .account-main-content {
        padding: 20px;
    }

    .account-wrapper .account-table {
        font-size: 14px;
    }

    .account-wrapper .account-table th,
    .account-wrapper .account-table td {
        padding: 10px 12px;
    }
}

/* ========================================
   ORDERS & QUOTES PAGE STYLES
   Sidebar navigation with tab content
   ======================================== */

/* Orders & Quotes Layout */
.account-orders {
    position: relative;
}

.account-orders .account-orders-wrapper {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    position: relative;
    align-items: flex-start;
}

/* Left Sidebar Menu */
.account-orders .left-account-orders-menus {
    border-radius: 6px;
    border: 1px solid rgba(226, 226, 226, 0.49);
    background: #f8f5f3;
    padding: 13px 0;
}

.account-orders .left-account-orders-menus ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-orders .left-account-orders-menus ul li {
    color: #2f2f2f;
    font-family: 'Mazzard', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px;
    letter-spacing: -0.5px;
    display: flex;
    height: 51px;
    padding: 0 23px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.account-orders .left-account-orders-menus ul li a {
    color: #2f2f2f;
    text-decoration: none;
}

.account-orders .left-account-orders-menus ul li:hover {
    background-color: rgba(253, 216, 217, 0.19);
}

.account-orders .left-account-orders-menus ul li.active {
    border-left: 4px solid #eb2429;
    background-color: rgba(235, 36, 43, 0.03);
}

.account-orders .left-account-orders-menus ul li.active a {
    color: #eb2429;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-weight: 500;
}

/* Right Content Area */
.account-orders .right-account-orders-tabs-content {
    border-radius: 6px;
    border: 1px solid rgba(226, 226, 226, 0.49);
    background: #f8f5f3;
    padding: 24px;
    min-height: 400px;
}

/* Tab Content Sections */
.account-orders .tab-content {
    display: none;
}

.account-orders .tab-content.active {
    display: block;
}

.account-orders .tab-content .title {
    color: var(--Greyscale-900, #111827);
    font-family: 'MazzardBold', 'Mazzard', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Filter Area */
.account-orders .filter-area {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.account-orders .filter-area .main-search-area {
    position: relative;
    border-radius: 10px;
    border: 1px solid #e9eaec;
    background: var(--White, #fff);
    height: 50px;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    flex: 1;
    min-width: 150px;
}

.account-orders .filter-area .main-search-area i {
    color: rgba(17, 24, 39, 0.6);
}

.account-orders .filter-area .main-search-area input,
.account-orders .filter-area .main-search-area select {
    position: relative;
    color: #2f2f2f;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    outline: none;
    border: none;
    background-color: transparent;
    padding: 0 16px;
    width: 100%;
}

.account-orders .filter-area .main-search-area input::placeholder {
    color: rgba(17, 24, 39, 0.6);
}

.account-orders .filter-area .main-search-area span {
    white-space: nowrap;
    color: #2f2f2f;
    font-size: 14px;
}

/* Table Responsive Container */
.account-orders .table-responsive {
    position: relative;
    overflow-x: auto;
    max-height: 450px;
}

.account-orders .table-responsive::-webkit-scrollbar {
    width: 4px;
    height: 8px;
}

.account-orders .table-responsive::-webkit-scrollbar-thumb {
    background: #e7e7e7;
    border-radius: 10px;
}

.account-orders .table-responsive::-webkit-scrollbar-thumb:hover {
    background: rgb(199, 199, 199);
}

.account-orders .table-responsive table {
    width: 100%;
    border-radius: 6px;
    background: #f8f5f3;
    border-collapse: collapse;
}

.account-orders .table-responsive table thead {
    position: sticky;
    top: 0;
    border-radius: 6px 0 0 6px;
    background: #f0e8e3;
    z-index: 1;
}

.account-orders .table-responsive table thead th {
    color: #2f2f2f;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.2px;
    padding: 16px;
    text-align: left;
}

.account-orders .table-responsive table thead th:first-child {
    border-radius: 6px 0 0 6px;
}

.account-orders .table-responsive table thead th:last-child {
    border-radius: 0 6px 6px 0;
}

.account-orders .table-responsive table tbody tr {
    position: relative;
    background: #f8f5f3;
    border-bottom: 1px solid #e7ded9;
    transition: background-color 0.2s ease;
}

.account-orders .table-responsive table tbody tr:hover {
    background: rgba(253, 216, 217, 0.19);
}

.account-orders .table-responsive table tbody tr td {
    color: #111827;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    padding: 16px;
}

.account-orders .table-responsive table tbody tr td a {
    color: #2f2f2f;
    text-decoration: none;
}

.account-orders .table-responsive table tbody tr td a:hover {
    text-decoration: underline;
    color: #eb2429;
}

/* Status Badges */
.account-orders .status {
    color: #2f2f2f;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    padding: 2px 6px;
    border-radius: 8px;
    background: #ffffff;
    display: inline-block;
    text-transform: uppercase;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.account-orders .status.pending {
    background: #fff6d8;
    color: #f0a500;
}

.account-orders .status.received {
    background: #d8f8f0;
    color: #00a300;
}

/* Table Actions & Pagination */
.account-orders .table-action {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.account-orders .table-action ul.pagination {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-orders .table-action ul.pagination li {
    cursor: pointer;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #2f2f2f;
    font-size: 12px;
    transition: all 0.3s ease;
}

.account-orders .table-action ul.pagination li:hover,
.account-orders .table-action ul.pagination li.active {
    background: #eb2429;
    color: #fff;
}

.account-orders .table-action .entries {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2f2f2f;
}

.account-orders .table-action .entries p {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin: 0;
}

.account-orders .table-action .entries select {
    position: relative;
    color: #2f2f2f;
    font-size: 14px;
    outline: none;
    border-radius: 4px;
    border: 1px solid var(--Black-300, #cbcbcb);
    background: var(--White, #fff);
    padding: 5px;
}

/* Embedded Control Styling */
.account-orders .tab-content .embedded-control {
    background: transparent;
}

.account-orders .tab-content .embedded-control h1 {
    display: none; /* Hide duplicate titles from embedded controls */
}

.account-orders .tab-content .embedded-control .wrapper {
    padding: 0;
}

/* Override legacy table styles in embedded controls */
.account-orders .tab-content .table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f5f3;
}

.account-orders .tab-content .table th {
    background: #f0e8e3 !important;
    color: #2f2f2f;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 12px 16px;
    text-align: left;
}

.account-orders .tab-content .table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e7ded9;
}

.account-orders .tab-content .table tr:hover {
    background: rgba(253, 216, 217, 0.19);
}

/* Override buttons in embedded controls */
.account-orders .tab-content .btn,
.account-orders .tab-content .buttons,
.account-orders .tab-content .redbutton {
    padding: 10px 20px;
    background: #eb2429;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.account-orders .tab-content .btn:hover,
.account-orders .tab-content .buttons:hover,
.account-orders .tab-content .redbutton:hover {
    background: #c91f23;
}

/* Orders & Quotes Responsive */
@media screen and (max-width: 1168px) {
    .account-wrapper .account-content-main-tabs {
        margin-top: 10px;
    }

    .account-orders .account-orders-wrapper {
        grid-template-columns: 1fr;
    }

    .account-orders .left-account-orders-menus {
        width: 100%;
        padding: 0;
        border-radius: 0;
        border: none;
        background: transparent;
    }

    .account-orders .left-account-orders-menus ul {
        display: flex;
        flex-direction: row;
        gap: 0;
        justify-content: flex-start;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .account-orders .left-account-orders-menus ul li {
        padding: 10px 20px;
        gap: 10px;
        flex: none;
        width: auto;
        height: auto;
        white-space: nowrap;
    }

    .account-orders .left-account-orders-menus ul li.active {
        border-left: none;
        border-bottom: 3px solid #eb2429;
    }

    .account-orders .right-account-orders-tabs-content {
        border-radius: 0;
        border: none;
        padding: 20px 0;
        background: transparent;
    }

    .account-orders .table-responsive {
        max-height: fit-content;
    }
}

@media screen and (max-width: 768px) {
    .account-orders .tab-content .title {
        font-size: 25px;
        margin-bottom: 16px;
    }

    .account-orders .filter-area {
        gap: 8px;
    }

    .account-orders .filter-area .main-search-area {
        height: 45px;
        font-size: 14px;
        min-width: 100%;
    }

    .account-orders .table-responsive table thead th,
    .account-orders .table-responsive table tbody tr td {
        padding: 10px;
        white-space: nowrap;
    }
}

/* ========================================
   EMBEDDED CONTROL STYLES (MSDS, Ship To, etc.)
   Matching Figma design: node-id=533-2832
   ======================================== */

/* MSDS Filter Controls - Figma CTA section */
.account-orders .msds-controls {
    margin-bottom: 24px;
}

.account-orders .msds-controls .filter-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.account-orders .msds-controls .form-control {
    padding: 16px 20px;
    border: 1px solid #e9eaec;
    border-radius: 6px;
    font-family: 'Mazzard', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 24, 39, 0.6);
    min-width: 172px;
    background: #fff;
}

.account-orders .msds-controls .form-control:focus {
    outline: none;
    border-color: #eb2429;
}

.account-orders .msds-grid-wrapper {
    background: transparent;
}

/* Account Table - Figma Table styles */
.account-orders .account-table,
.account-orders .msds-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f5f3;
    border: none !important;
}

/* Remove all vertical grid lines */
.account-orders .account-table,
.account-orders .account-table tr,
.account-orders .account-table th,
.account-orders .account-table td,
.account-orders .msds-table,
.account-orders .msds-table tr,
.account-orders .msds-table th,
.account-orders .msds-table td {
    border-left: none !important;
    border-right: none !important;
}

/* Table Header - Figma: #f0e8e3 bg, 12px MazzardMedium, #2f2f2f text (NOT red) */
.account-orders .account-table th,
.account-orders .msds-table th,
.account-orders .msds-header,
.account-orders .msds-header th,
.account-orders table.msds-table thead tr th {
    background: #f0e8e3 !important;
    background-color: #f0e8e3 !important;
    color: #2f2f2f !important;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.6;
    letter-spacing: 0.2px;
    padding: 16px;
    text-align: left;
    height: 56px;
    vertical-align: middle;
    border-top: none !important;
    border-bottom: none !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override any link/anchor colors in headers (sorting links) */
.account-orders .account-table th a,
.account-orders .msds-table th a,
.account-orders .msds-header a,
.account-orders table.msds-table thead tr th a {
    color: #2f2f2f !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

.account-orders .account-table th a:hover,
.account-orders .msds-table th a:hover {
    color: #111827 !important;
    text-decoration: none !important;
}

.account-orders .account-table th:first-child,
.account-orders .msds-table th:first-child {
    border-radius: 6px 0 0 0;
}

.account-orders .account-table th:last-child,
.account-orders .msds-table th:last-child {
    border-radius: 0 6px 0 0;
}

/* Table Cells - Figma: 64px height, 16px padding, 14px MazzardMedium */
.account-orders .account-table td,
.account-orders .msds-table td,
.account-orders .msds-row td {
    padding: 16px;
    height: 64px;
    vertical-align: middle;
    border-top: none !important;
    border-bottom: 1px solid #f1f2f4 !important;
    color: #111827;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    background: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.account-orders .account-table tbody tr:hover,
.account-orders .msds-table tbody tr:hover {
    background: rgba(253, 216, 217, 0.1);
}

/* Item Cell with Image and Number - Figma: 42px image, 12px gap */
.account-orders .item-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-orders .item-image-link {
    display: block;
    flex-shrink: 0;
}

.account-orders .item-thumb {
    width: 42px;
    height: 42px;
    object-fit: contain;
    mix-blend-mode: darken;
    transition: opacity 0.2s ease;
}

.account-orders .item-image-link:hover .item-thumb {
    opacity: 0.8;
}

.account-orders .item-number {
    color: #111827;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
}

.account-orders .item-number:hover {
    color: #eb2429;
}

/* PDF Link - Figma: 24px icon */
.account-orders .pdf-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-orders .pdf-link img {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.account-orders .pdf-link:hover img {
    transform: scale(1.1);
}

/* Grid Footer - Pagination area */
.account-orders .grid-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.account-orders .show-all-link {
    color: #687588;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
}

.account-orders .show-all-link:hover {
    color: #eb2429;
    text-decoration: underline;
}

.account-orders .view-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #687588;
}

.account-orders .view-toggle label {
    margin: 0;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
}

.account-orders .form-control-sm {
    padding: 10px;
    border: 1px solid #f1f2f4;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    background: #fff;
    color: #111827;
}

/* Override EnhancedGridView pager - Figma Pagination */
.account-orders .grid-pager {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
}

.account-orders .grid-pager a,
.account-orders .grid-pager span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.account-orders .grid-pager a {
    background: transparent;
    border: none;
    color: #111827;
}

.account-orders .grid-pager a:hover {
    background: #f8f8f8;
}

/* Current page indicator - Figma: #f8f8f8 bg */
.account-orders .grid-pager span {
    background: #f8f8f8;
    color: #111827;
    border: none;
}

/* Ensure grid-pager displays in embedded controls */
.account-orders .embedded-control .grid-pager,
.account-orders .embedded-control td.grid-pager {
    display: flex !important;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    margin-top: 16px;
    border-top: 1px solid #e9eaec;
}

.account-orders .embedded-control tr:has(> .grid-pager) {
    background: transparent !important;
}

/* Hide legacy elements in embedded controls */
.account-orders .embedded-control .inline {
    display: none; /* Hide old inline table header */
}

.account-orders .embedded-control > div > table.inline + div {
    /* Target the grid wrapper after the hidden inline table */
}

/* ========================================
   OPEN ORDERS CONTROL STYLES
   ======================================== */

/* Open Orders Filter Controls */
.account-orders .openorders-controls {
    margin-bottom: 24px;
}

.account-orders .openorders-controls .filter-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.account-orders .openorders-controls .search-panel {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.account-orders .openorders-controls .search-input {
    min-width: 140px;
    max-width: 180px;
}

.account-orders .openorders-controls .form-control {
    padding: 12px 16px;
    border: 1px solid #e9eaec;
    border-radius: 6px;
    font-size: 14px;
    color: #2f2f2f;
    outline: none;
    background: #fff;
    height: 46px;
}

.account-orders .openorders-controls .form-control:focus {
    border-color: #eb2429;
}

.account-orders .openorders-controls select.form-control {
    min-width: 180px;
}

/* Open Orders Table */
.account-orders .openorders-table {
    width: 100%;
}

.account-orders .openorders-header th {
    background: #f0e8e3 !important;
    color: #2f2f2f !important;
}

/* Order Number Cell */
.account-orders .order-numbers {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-orders .order-number-link {
    color: #111827;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.account-orders .order-number-link:hover {
    color: #eb2429;
}

.account-orders .web-order-ref {
    color: #687588;
    font-family: 'Mazzard', sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

/* Order Status Badge */
.account-orders .order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 12px;
    font-weight: 500;
    background: #e8f5e9;
    color: #2e7d32;
}

.account-orders .order-total {
    font-family: 'MazzardSemiBold', 'Mazzard', sans-serif;
    font-weight: 600;
    color: #111827;
}

/* Nested Deliveries Table */
.account-orders .deliveries-panel {
    padding: 8px 0;
}

.account-orders .deliveries-table {
    width: 100%;
    background: transparent;
}

.account-orders .deliveries-table td {
    padding: 6px 8px;
    font-size: 12px;
    color: #687588;
    border: none !important;
    vertical-align: middle;
    height: auto;
}

.account-orders .delivery-row,
.account-orders .delivery-row-alt {
    background: transparent;
}

.account-orders .delivery-link {
    color: #687588;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 12px;
    text-decoration: none;
}

.account-orders .delivery-link:hover {
    color: #eb2429;
    text-decoration: underline;
}

/* ========================================
   FAVORITES LISTS CONTROL STYLES
   ======================================== */

/* Favorites Controls */
.account-orders .favorites-controls {
    margin-bottom: 24px;
}

.account-orders .favorites-controls .add-list-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.account-orders .favorites-controls .add-list-row label {
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.account-orders .favorites-controls .form-control {
    padding: 12px 16px;
    border: 1px solid #e9eaec;
    border-radius: 6px;
    font-family: 'Mazzard', sans-serif;
    font-size: 14px;
    color: #111827;
    min-width: 200px;
    background: #fff;
}

.account-orders .favorites-controls .form-control:focus {
    outline: none;
    border-color: #eb2429;
}

/* Favorites Table */
.account-orders .favorites-table {
    width: 100%;
}

.account-orders .favorites-header th {
    background: #f0e8e3 !important;
    color: #2f2f2f !important;
}

.account-orders .list-name-link {
    color: #111827;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.account-orders .list-name-link:hover {
    color: #eb2429;
}

.account-orders .item-count {
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    color: #687588;
}

/* ========================================
   QUOTES CONTROL STYLES
   ======================================== */

/* Quotes Table */
.account-orders .quotes-table {
    width: 100%;
}

.account-orders .quotes-header th {
    background: #f0e8e3 !important;
    color: #2f2f2f !important;
}

.account-orders .quote-number-link {
    color: #111827;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.account-orders .quote-number-link:hover {
    color: #eb2429;
}

/* Quote Expiration Status */
.account-orders .status-ok {
    color: #2e7d32;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
}

.account-orders .status-warning {
    color: #f57c00;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
}

.account-orders .status-expired {
    color: #d32f2f;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* ========================================
   SHARED ACTION BUTTONS
   ======================================== */

.account-orders .action-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

/* Primary Button (Create List, Search, etc.) */
.account-orders .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #eb2429;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.account-orders .btn-primary:hover {
    background: #c91f23;
}

/* Search Button */
.account-orders .btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #eb2429;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.account-orders .btn-search:hover {
    background: #c91f23;
}

/* Reset Button */
.account-orders .btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #f8f5f3;
    color: #687588;
    border: 1px solid #e9eaec;
    border-radius: 6px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-orders .btn-reset:hover {
    background: #fff;
    border-color: #687588;
    color: #111827;
}

/* Add to Cart Button */
.account-orders .btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #eb2429;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.account-orders .btn-cart:hover {
    background: #c91f23;
}

/* Convert to Order Button */
.account-orders .btn-convert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #2e7d32;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.account-orders .btn-convert:hover {
    background: #1b5e20;
}

.account-orders .btn-convert .action-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* Remove Button */
.account-orders .btn-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: transparent;
    color: #d32f2f;
    border: 1px solid #d32f2f;
    border-radius: 4px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-orders .btn-remove:hover {
    background: #d32f2f;
    color: #fff;
}

/* Remove Quote Button (ImageButton) */
.account-orders .btn-remove-quote {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.account-orders .btn-remove-quote:hover {
    opacity: 1;
}

.account-orders .btn-remove-quote img {
    width: 18px;
    height: 18px;
}

/* Empty Data Message */
.account-orders .empty-data {
    padding: 48px 24px;
    text-align: center;
    color: #687588;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 16px;
    background: #f8f5f3;
    border-radius: 8px;
}

/* ========================================
   SHIP TO CONTROL STYLES
   Override legacy DataList table styling
   ======================================== */

/* Ship To card grid */
.account-orders #ship-to .embedded-control > table {
    width: 100%;
    border: none !important;
}

.account-orders #ship-to .embedded-control table[id*="DataList"] {
    border-collapse: separate !important;
    border-spacing: 16px !important;
    border: none !important;
    width: 100%;
}

.account-orders #ship-to .embedded-control table[id*="DataList"] td {
    background: #fff !important;
    border: 1px solid #e9eaec !important;
    border-radius: 8px !important;
    padding: 20px !important;
    font-size: 14px !important;
    color: #2f2f2f !important;
    vertical-align: top !important;
    transition: all 0.2s ease;
}

.account-orders #ship-to .embedded-control table[id*="DataList"] td:hover {
    border-color: #eb2429 !important;
    box-shadow: 0 2px 8px rgba(235, 36, 41, 0.1);
}

.account-orders #ship-to .embedded-control table[id*="DataList"] a {
    color: #eb2429;
    text-decoration: none;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-weight: 500;
}

.account-orders #ship-to .embedded-control table[id*="DataList"] a:hover {
    text-decoration: underline;
}

/* Ship To action buttons */
.account-orders #ship-to .embedded-control > table > tbody > tr > td > table {
    margin-top: 24px;
    border: none !important;
}

.account-orders #ship-to .embedded-control .buttons {
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #eb2429;
    background: #fff;
    color: #eb2429;
}

.account-orders #ship-to .embedded-control .buttons:hover {
    background: #eb2429;
    color: #fff;
}

/* Ship To Add Form */
.account-orders #ship-to .embedded-control div[id*="divAdd"] table {
    border-collapse: collapse !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.account-orders #ship-to .embedded-control div[id*="divAdd"] td {
    border-color: #e9eaec !important;
    padding: 12px 16px !important;
}

.account-orders #ship-to .embedded-control div[id*="divAdd"] .heading {
    background: #f0e8e3 !important;
    color: #2f2f2f !important;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.account-orders #ship-to .embedded-control div[id*="divAdd"] input,
.account-orders #ship-to .embedded-control div[id*="divAdd"] select {
    padding: 10px 14px;
    border: 1px solid #e9eaec;
    border-radius: 6px;
    font-size: 14px;
    color: #2f2f2f;
    width: 100%;
    box-sizing: border-box;
}

.account-orders #ship-to .embedded-control div[id*="divAdd"] input:focus,
.account-orders #ship-to .embedded-control div[id*="divAdd"] select:focus {
    outline: none;
    border-color: #eb2429;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS FOR NEW CONTROLS
   ======================================== */

@media (max-width: 768px) {
    .account-orders .openorders-controls .filter-row,
    .account-orders .openorders-controls .search-panel,
    .account-orders .favorites-controls .add-list-row {
        flex-direction: column;
        align-items: stretch;
    }

    .account-orders .openorders-controls .search-input,
    .account-orders .favorites-controls .form-control {
        min-width: 100%;
        max-width: 100%;
    }

    .account-orders .action-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .account-orders .deliveries-panel {
        overflow-x: auto;
    }

    .account-orders .deliveries-table {
        min-width: 300px;
    }
}

/* ========================================
   REPORTS PAGE STYLES
   ======================================== */

/* Reports Page Layout - Mirror Orders & Quotes */
.account-reports {
    position: relative;
}

.account-reports .account-reports-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    position: relative;
    align-items: flex-start;
}

/* Left Sidebar Menu */
.account-reports .left-account-reports-menus {
    border-radius: 6px;
    border: 1px solid rgba(226, 226, 226, 0.49);
    background: #f8f5f3;
    padding: 13px 0px;
    position: sticky;
    top: 20px;
}

.account-reports .left-account-reports-menus ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-reports .left-account-reports-menus ul li {
    color: #2f2f2f;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 34px;
    letter-spacing: -0.5px;
    display: flex;
    height: 51px;
    padding: 0px 23px;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-reports .left-account-reports-menus ul li a {
    color: #2f2f2f;
    text-decoration: none;
}

.account-reports .left-account-reports-menus ul li:hover {
    background-color: rgba(253, 216, 217, 0.2);
}

.account-reports .left-account-reports-menus ul li.active {
    border-left: 4px solid #eb2429;
    background-color: rgba(235, 36, 43, 0.03);
}

.account-reports .left-account-reports-menus ul li.active a {
    color: #eb2429;
    font-weight: 600;
}

/* Right Content Area */
.account-reports .right-account-reports-tabs-content {
    border-radius: 6px;
    border: 1px solid rgba(226, 226, 226, 0.49);
    background: #f8f5f3;
    padding: 24px;
    min-height: 400px;
}

.account-reports .right-account-reports-tabs-content .tab-content {
    display: none;
}

.account-reports .right-account-reports-tabs-content .tab-content.active {
    display: block;
}

.account-reports .right-account-reports-tabs-content .title {
    color: #111827;
    font-family: 'MazzardBold', 'Mazzard', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 24px;
}

/* Hide legacy inline tables in embedded controls */
.account-reports .embedded-control .inline {
    display: none;
}

/* Style embedded control tables */
.account-reports .embedded-control .table,
.account-reports .embedded-control table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f5f3;
}

.account-reports .embedded-control table thead tr,
.account-reports .embedded-control table thead th {
    background: #f0e8e3 !important;
    color: #2f2f2f !important;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 12px 16px;
    text-align: left;
    border: none !important;
}

.account-reports .embedded-control table tbody tr {
    border-bottom: 1px solid #f1f2f4;
}

.account-reports .embedded-control table tbody tr:hover {
    background: rgba(253, 216, 217, 0.1);
}

.account-reports .embedded-control table tbody td {
    padding: 12px 16px;
    color: #111827;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: none !important;
}

.account-reports .embedded-control table tbody td a {
    color: #111827;
    text-decoration: none;
}

.account-reports .embedded-control table tbody td a:hover {
    color: #eb2429;
}

/* Past Invoices Control Styles */
.account-reports .pastinvoices-controls {
    margin-bottom: 24px;
}

.account-reports .pastinvoices-controls .filter-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.account-reports .pastinvoices-controls .search-panel {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.account-reports .pastinvoices-controls .search-input {
    min-width: 100px;
    max-width: 140px;
}

.account-reports .pastinvoices-table {
    width: 100%;
}

.account-reports .invoice-number-link,
.account-reports .doc-number-link {
    color: #111827;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.account-reports .invoice-number-link:hover,
.account-reports .doc-number-link:hover {
    color: #eb2429;
}

.account-reports .invoice-total {
    font-family: 'MazzardSemiBold', 'Mazzard', sans-serif;
    font-weight: 600;
    color: #111827;
}

/* Override legacy control styles */
.account-reports .embedded-control h1 {
    font-family: 'MazzardBold', 'Mazzard', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.account-reports .embedded-control .btn,
.account-reports .embedded-control .buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #eb2429;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.account-reports .embedded-control .btn:hover,
.account-reports .embedded-control .buttons:hover {
    background: #c91f23;
}

/* Form controls in reports */
.account-reports .form-control {
    padding: 12px 16px;
    border: 1px solid #e9eaec;
    border-radius: 6px;
    font-family: 'Mazzard', sans-serif;
    font-size: 14px;
    color: #111827;
    background: #fff;
}

.account-reports .form-control:focus {
    outline: none;
    border-color: #eb2429;
}

.account-reports .btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #eb2429;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.account-reports .btn-search:hover {
    background: #c91f23;
}

.account-reports .btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #f8f5f3;
    color: #687588;
    border: 1px solid #e9eaec;
    border-radius: 6px;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-reports .btn-reset:hover {
    background: #fff;
    border-color: #687588;
    color: #111827;
}

/* Grid pager in reports */
.account-reports .grid-pager,
.account-reports .embedded-control .labels {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}

.account-reports .grid-pager a,
.account-reports .grid-pager span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Mazzard', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #111827;
    background: transparent;
}

.account-reports .grid-pager a:hover {
    background: #f0e8e3;
}

.account-reports .grid-pager span {
    background: #f0e8e3;
}

/* Ensure grid-pager displays in embedded controls */
.account-reports .embedded-control .grid-pager,
.account-reports .embedded-control td.grid-pager {
    display: flex !important;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    margin-top: 16px;
    border-top: 1px solid #e9eaec;
}

.account-reports .embedded-control tr:has(> .grid-pager) {
    background: transparent !important;
}

/* Empty data message */
.account-reports .empty-data {
    padding: 48px 24px;
    text-align: center;
    color: #687588;
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-size: 16px;
    background: transparent;
    border-radius: 8px;
}

/* Responsive for Reports */
@media (max-width: 1168px) {
    .account-reports .account-reports-wrapper {
        grid-template-columns: 1fr;
    }

    .account-reports .left-account-reports-menus {
        width: 100%;
        padding: 0;
        position: relative;
        top: auto;
    }

    .account-reports .left-account-reports-menus ul {
        display: flex;
        flex-direction: row;
        gap: 0;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 10px;
    }

    .account-reports .left-account-reports-menus ul li {
        padding: 12px 20px;
        flex: none;
        white-space: nowrap;
        height: auto;
    }

    .account-reports .left-account-reports-menus ul li.active {
        border-left: none;
        border-bottom: 3px solid #eb2429;
    }
}

@media (max-width: 768px) {
    .account-reports .right-account-reports-tabs-content .title {
        font-size: 24px;
    }

    .account-reports .pastinvoices-controls .filter-row,
    .account-reports .pastinvoices-controls .search-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .account-reports .pastinvoices-controls .search-input,
    .account-reports .form-control {
        min-width: 100%;
        max-width: 100%;
    }
}

/* Mobile table responsiveness for Reports */
@media (max-width: 768px) {
    .account-reports .embedded-control {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .account-reports .embedded-control table {
        min-width: 600px;
    }

    .account-reports .embedded-control table tbody td,
    .account-reports .embedded-control table thead th {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* Pager adjustments */
    .account-reports .grid-pager {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .account-reports .left-account-reports-menus ul li {
        padding: 10px 14px;
        font-size: 14px;
    }

    .account-reports .right-account-reports-tabs-content {
        padding: 16px;
    }

    .account-reports .right-account-reports-tabs-content .title {
        font-size: 20px;
    }
}

/* ============================================
   DOCUMENT CARD (PDF links in Additional Details tab)
   ============================================ */
.ews-doc-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid rgba(47, 47, 47, 0.12);
    border-radius: 8px;
    margin-bottom: 20px;
}

.ews-doc-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #fff;
    border: 1px solid rgba(47, 47, 47, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ews-doc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ews-doc-title {
    font-family: 'MazzardSemiBold', 'Mazzard', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #2f2f2f;
    letter-spacing: 0.3px;
}

.ews-doc-filename {
    font-family: 'Mazzard', sans-serif;
    font-size: 12px;
    color: rgba(47, 47, 47, 0.5);
}

.ews-doc-button {
    flex-shrink: 0;
    display: inline-block;
    padding: 10px 24px;
    background: #eb2429;
    color: #fff;
    font-family: 'Mazzard', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.3px;
    transition: background-color 0.2s ease;
}

.ews-doc-button:hover {
    background: #d41f24;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 576px) {
    .ews-doc-card {
        flex-direction: column;
        text-align: center;
    }

    .ews-doc-button {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   PDF VIEWER MODAL
   ============================================ */
.ews-pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ews-pdf-modal-content {
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ews-pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #2f2f2f;
    color: #fff;
    font-family: 'MazzardSemiBold', 'Mazzard', sans-serif;
    font-size: 14px;
}

.ews-pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ews-pdf-download-btn {
    color: #fff;
    font-family: 'Mazzard', sans-serif;
    font-size: 12px;
    text-decoration: underline;
    opacity: 0.8;
}

.ews-pdf-download-btn:hover {
    opacity: 1;
    color: #fff;
}

.ews-pdf-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: 0.8;
}

.ews-pdf-close-btn:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .ews-pdf-modal-content {
        width: 98%;
        height: 90vh;
    }
}

/* ============================================
   LEGAL PAGES (Privacy Policy, Terms & Conditions)
   ============================================ */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.legal-page__header {
    padding: 40px 0 20px;
    border-bottom: 2px solid #eb2429;
    margin-bottom: 30px;
}

.legal-page__header h1 {
    font-family: 'MazzardBold', 'Mazzard', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #2f2f2f;
    margin: 0;
}

.legal-page__effective {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

.legal-page__content h2 {
    font-family: 'MazzardSemiBold', 'Mazzard', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #2f2f2f;
    margin: 40px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.legal-page__content h3 {
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #2f2f2f;
    margin: 25px 0 10px;
}

.legal-page__content h4 {
    font-family: 'MazzardMedium', 'Mazzard', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #444;
    margin: 20px 0 8px;
}

.legal-page__content p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin: 0 0 12px;
}

.legal-page__content ul {
    margin: 0 0 15px;
    padding-left: 25px;
}

.legal-page__content ul li {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 4px;
}

.legal-page__content a {
    color: #eb2429;
    text-decoration: none;
}

.legal-page__content a:hover {
    text-decoration: underline;
}

.legal-page__caps {
    font-size: 13px !important;
    text-transform: uppercase;
}

.legal-page__table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0 20px;
    font-size: 14px;
}

.legal-page__table th {
    background: #f5f5f5;
    font-family: 'MazzardSemiBold', 'Mazzard', sans-serif;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #ddd;
    color: #2f2f2f;
}

.legal-page__table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    vertical-align: top;
    line-height: 1.5;
    color: #333;
}

.legal-page__table tr:nth-child(even) td {
    background: #fafafa;
}

@media (max-width: 600px) {
    .legal-page__header h1 {
        font-size: 26px;
    }

    .legal-page__content h2 {
        font-size: 19px;
    }

    .legal-page__table {
        font-size: 13px;
    }

    .legal-page__table th,
    .legal-page__table td {
        padding: 8px;
    }
}

/* ========================================
   CART TOAST & IN-CART INDICATOR
   ======================================== */
#cartToastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.ews-cart-toast {
    background: #2a7d2e;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.ews-cart-toast.visible {
    opacity: 1;
    transform: translateX(0);
}

.ews-in-cart-label {
    color: #2a7d2e;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    text-align: right;
}
