/* Suppress Header Banner, Promo Popup & Sticky Clones */
.header-banner,
.wd-header-banner,
.woodmart-header-banner,
.woodmart-promo-popup,
.wd-popup.wd-promo-popup,
.mfp-wrap.wd-promo-popup-wrapper {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/*
 Theme Name:   Woodmart Child
 Description:  Backbar Direct Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Clean & Robust Uniform Product Grid Cards & Image Alignment across Shop and Search Loop */
.products .product-grid-item,
.products .product,
.wd-products-element .wd-product,
.product-grid-item,
.search-results .wd-posts .wd-post,
.search-results article.product,
.wd-posts .wd-post.type-product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.products .product-grid-item .product-wrapper,
.products .product .product-wrapper,
.wd-products-element .wd-product .product-wrapper,
.product-wrapper,
.search-results .wd-post-inner,
.wd-posts .wd-post.type-product .wd-post-inner,
.article-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    flex-grow: 1 !important;
}

/* Disable Woodmart pseudo-element aspect ratio padding tricks that expand tall images */
.product-element-top:before,
.product-image-link:before,
.wd-product-image:before,
.wd-product-thumb:before,
.wd-product-img-link:before,
.product-grid-item:before,
.wd-product-wrapper:before,
.product-wrapper:before,
.post-img-wrapp:before,
.product-element-top:after,
.product-image-link:after,
.wd-product-thumb:after {
    display: none !important;
    padding: 0 !important;
    content: none !important;
}

.product-grid-item .product-element-top,
.product-grid-item .product-image-link,
.wd-product .product-element-top,
.wd-product .product-image-link,
.products .product .product-element-top,
.products .product .product-image-link,
.product-element-top,
.product-image-link,
.search-results .wd-post-thumb,
.search-results .wd-post-img,
.search-results .post-img-wrapp,
.wd-posts .wd-post.type-product .wd-post-thumb,
.wd-posts .wd-post.type-product .wd-post-img,
.wd-posts .wd-post.type-product .post-img-wrapp,
.widget_recently_viewed_products .product-element-top,
.widget_recently_viewed_products .product-image-link,
.wd-recent-products .product-element-top,
.wd-recent-products .product-image-link {
    width: 100% !important;
    height: 240px !important; /* Lock image box height so all descriptions start in the exact same spot */
    min-height: 240px !important;
    max-height: 240px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    padding: 0 !important;
    margin-bottom: 15px !important;
}

/* Shrink or enlarge image to fit inside the image box */
.product-grid-item .product-element-top img,
.product-grid-item .product-image-link img,
.wd-product .product-element-top img,
.wd-product .product-image-link img,
.products .product .product-element-top img,
.products .product .product-image-link img,
.product-element-top img,
.product-image-link img,
.search-results .wd-post-thumb img,
.search-results .wd-post-img img,
.search-results .post-img-wrapp img,
.wd-posts .wd-post.type-product .wd-post-thumb img,
.wd-posts .wd-post.type-product .wd-post-img img,
.wd-posts .wd-post.type-product .post-img-wrapp img,
.widget_recently_viewed_products img,
.wd-recent-products img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Scales image neatly inside the locked 240px box */
    margin: 0 auto !important;
    display: block !important;
}

.search-results .wd-post-content,
.search-results .article-body-container,
.product-information,
.wd-product-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important;
}

/* Place product price so that the price sits on the bottom of the product box */
/* Place product price so that the price sits flush along the bottom of the product box */
.product-grid-item .price,
.product-grid-item .product-price,
.wd-product .price,
.products .product .price,
.search-results .price,
.search-results .wd-post-meta,
.search-results .wd-post-footer,
.wd-price-wrapper,
.wd-suggestion .price,
.autocomplete-suggestion .price,
.wd-dropdown-results .price,
.wd-search-results .price,
p.price,
span.price {
    margin-top: auto !important; /* Automatically pushes price to sit flush along the bottom of the card */
    margin-bottom: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* Fullscreen Search Modal & Suggestions - 3 Products Per Row, Large Images & Snug Compact Cards (No Dead White Space) */
.wd-search-full-screen .wd-suggestions-group,
.wd-search-full-screen-2 .wd-suggestions-group,
.wd-suggestions-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 16px !important;
}

@media (min-width: 1025px) {
    .wd-search-full-screen .wd-suggestion,
    .wd-search-full-screen-2 .wd-suggestion,
    .wd-suggestions-group .wd-suggestion {
        width: calc(33.333% - 11px) !important;
        flex: 0 0 calc(33.333% - 11px) !important;
        max-width: calc(33.333% - 11px) !important;
        height: 335px !important;
        min-height: 335px !important;
        max-height: 335px !important;
        position: relative !important;
        padding: 12px 14px 34px !important;
        box-sizing: border-box !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 6px !important;
        background-color: #ffffff !important;
    }

    .wd-search-full-screen .wd-suggestion-thumb,
    .wd-search-full-screen-2 .wd-suggestion-thumb,
    .wd-suggestions-group .wd-suggestion-thumb {
        width: 100% !important;
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        background-color: #ffffff !important;
        margin-bottom: 8px !important;
        margin-inline-end: 0 !important;
        padding: 4px !important;
        box-sizing: border-box !important;
    }

    .wd-search-full-screen .wd-suggestion-thumb img,
    .wd-search-full-screen-2 .wd-suggestion-thumb img,
    .wd-suggestions-group .wd-suggestion-thumb img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 192px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

@media (max-width: 1024px) and (min-width: 600px) {
    .wd-search-full-screen .wd-suggestion,
    .wd-search-full-screen-2 .wd-suggestion,
    .wd-suggestions-group .wd-suggestion {
        width: calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        height: 315px !important;
        min-height: 315px !important;
        max-height: 315px !important;
        padding: 10px 12px 32px !important;
    }
    .wd-search-full-screen .wd-suggestion-thumb,
    .wd-search-full-screen-2 .wd-suggestion-thumb,
    .wd-suggestions-group .wd-suggestion-thumb {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        margin-bottom: 6px !important;
    }
    .wd-search-full-screen .wd-suggestion-thumb img,
    .wd-search-full-screen-2 .wd-suggestion-thumb img,
    .wd-suggestions-group .wd-suggestion-thumb img {
        max-height: 172px !important;
    }
}

/* Base suggestion card fallbacks */
.wd-suggestion {
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

/* Dropdown live search results styling & larger thumbnails */
.whb-general-header .wd-search-results.wd-dropdown-results,
.whb-header-bottom .wd-search-results.wd-dropdown-results,
.wd-header-search-form .wd-dropdown-results,
.wd-search-results.wd-dropdown-results {
    z-index: 100005 !important;
}

.wd-dropdown-results .wd-suggestion {
    padding: 8px 12px !important;
    align-items: center !important;
}

.wd-dropdown-results .wd-suggestion-thumb {
    width: 75px !important;
    min-width: 75px !important;
    max-width: 75px !important;
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    margin-inline-end: 12px !important;
    padding: 2px !important;
    box-sizing: border-box !important;
}

.wd-dropdown-results .wd-suggestion-thumb img {
    max-height: 70px !important;
    max-width: 70px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

/* Content area flex alignment */
.wd-search-full-screen .wd-suggestion-content,
.wd-search-full-screen-2 .wd-suggestion-content,
.wd-suggestion-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    width: 100% !important;
    position: relative !important;
}

/* Price in search suggestions sits naturally in flow below title - Never overlaps */
.wd-search-full-screen .wd-suggestion .price,
.wd-search-full-screen-2 .wd-suggestion .price,
.wd-suggestion .price,
.autocomplete-suggestion .price,
.wd-dropdown-results .price,
.b2b-search-price {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    display: block !important;
    width: auto !important;
    line-height: 1.35 !important;
    clear: both !important;
}

/* Main Search Results Page: 3 Products Per Row on Desktop & Snug Uniform Product Cards */
@media (min-width: 1025px) {
    .search-results .site-content .products[class*="elements-grid"],
    .search-results .products.elements-grid,
    .search-results ul.products,
    .search-results .wd-products-holder .products {
        grid-template-columns: repeat(3, 1fr) !important;
        display: grid !important;
        gap: 20px !important;
    }

    .search-results .products .product-grid-item,
    .search-results .product-grid-item,
    .search-results .products .product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
        box-sizing: border-box !important;
    }

    .search-results .product-grid-item .product-element-top,
    .search-results .product-grid-item .product-image-link,
    .search-results .product-element-top,
    .search-results .product-image-link,
    .search-results .wd-post-thumb,
    .search-results .wd-post-img,
    .search-results .post-img-wrapp {
        width: 100% !important;
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
        padding: 6px !important;
        margin-bottom: 8px !important;
        box-sizing: border-box !important;
    }

    .search-results .product-grid-item .product-element-top img,
    .search-results .product-grid-item .product-image-link img,
    .search-results .product-element-top img,
    .search-results .product-image-link img,
    .search-results .wd-post-thumb img,
    .search-results .wd-post-img img,
    .search-results .post-img-wrapp img {
        width: 100% !important;
        height: 100% !important;
        max-height: 228px !important;
        object-fit: contain !important;
    }
}

/* Ensure grid titles align uniformly without excessive height */
.product-grid-item .wd-entities-title,
.product-grid-item .product-title,
.search-results .wd-entities-title {
    min-height: 42px !important;
    max-height: 42px !important;
    line-height: 1.3 !important;
    font-size: 13.5px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 4px !important;
}

/* Only on AJAX search page/modal: hide SKU and show 2 lines of product name */
.wd-search-full-screen .wd-suggestion-sku,
.wd-search-full-screen-2 .wd-suggestion-sku,
.wd-suggestions-group .wd-suggestion-sku {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wd-search-full-screen .wd-entities-title,
.wd-search-full-screen-2 .wd-entities-title,
.wd-suggestions-group .wd-entities-title {
    -webkit-line-clamp: 2 !important;
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Widen vertical navigation menu hover dropdown popups */
body .wd-nav-vertical .wd-dropdown,
body .navigation-style-vertical .wd-dropdown,
body .wd-navigation .wd-dropdown-menu,
body .wd-nav-vertical .wd-dropdown-menu,
body .wd-dropdown-menu.wd-dropdown,
body div[class*="wd-dropdown-menu"],
body ul[class*="wd-sub-menu"],
body .wd-dropdown-cats,
body .wd-dropdown-menu-cats {
    min-width: 468px !important;  /* Further widen dropdown popup box to 468px (15% reduction from 550px) */
    padding: 20px !important;      /* Generous padding */
}

body .wd-nav-vertical .wd-dropdown-menu .wd-sub-menu,
body .wd-dropdown-menu .wd-sub-menu,
body .wd-dropdown-menu .wd-sub-menu li a,
body .wd-sub-menu li a {
    font-size: 24px !important;   /* Made 50% larger than 16px */
    font-weight: 500 !important;   /* Same weight as parent category font */
    line-height: 1.4 !important;   /* Comfortable vertical spacing */
    font-family: var(--wd-header-nav-font), var(--wd-main-font), inherit !important; /* Use parent navigation font */
}

/* Style child category navigation arrow indicators for maximum visibility */
body .wd-nav-vertical .wd-dropdown-menu .menu-item-has-children > a:after,
body .wd-dropdown-menu .wd-sub-menu .menu-item-has-children > a:after,
body .wd-sub-menu .menu-item-has-children > a:after,
body .wd-dropdown-menu li.menu-item-has-children > a:after,
body .wd-sub-menu li.menu-item-has-children > a:after {
    font-size: 19px !important;             /* Scale down arrow indicator */
    color: rgb(125, 44, 104) !important;  /* Theme Red color */
    margin-left: 10px !important;           /* Space separation from text */
    content: " \203A" !important;             /* Clean bold right pointing chevron */
    display: inline-block !important;
    vertical-align: middle !important;
    font-family: inherit !important;
    opacity: 1 !important;                  /* Ensure full opacity */
    visibility: visible !important;
}

/* Homepage specific: Reduce child category pop ups by 50% */
body.home .wd-nav-vertical .wd-dropdown,
body.home .navigation-style-vertical .wd-dropdown,
body.home .wd-navigation .wd-dropdown-menu,
body.home .wd-nav-vertical .wd-dropdown-menu,
body.home .wd-dropdown-menu.wd-dropdown,
body.home div[class*="wd-dropdown-menu"],
body.home ul[class*="wd-sub-menu"],
body.home .wd-dropdown-cats,
body.home .wd-dropdown-menu-cats {
    min-width: 468px !important;
    padding: 20px !important;
}

body.home .wd-nav-vertical .wd-dropdown-menu .wd-sub-menu,
body.home .wd-dropdown-menu .wd-sub-menu,
body.home .wd-dropdown-menu .wd-sub-menu li a,
body.home .wd-sub-menu li a {
    line-height: 1.1 !important;
}


/* ==========================================================================
   Sidebar & Mobile Menu Categories Accordion:
   Show only active branch and hide all other subcategory trees.
   ========================================================================== */

/* 1. Desktop Sidebar Product Categories Widget Accordion */
.widget_product_categories .product-categories ul.children,
.wd-product-category-filter .product-categories ul.children {
    display: none !important; /* Collapse all child trees by default */
}

/* Expand only if the category is a parent on the active path (current-cat-parent),
   or if it is an active subcategory (nested current-cat). 
   Root-level active categories (current-cat at root) remain collapsed. */
.widget_product_categories .product-categories li.current-cat-parent > ul.children,
.widget_product_categories .product-categories li.wd-current-active-parent > ul.children,
.widget_product_categories .product-categories ul.children li.current-cat > ul.children,
.widget_product_categories .product-categories ul.children li.wd-active > ul.children,
.wd-product-category-filter .product-categories li.current-cat-parent > ul.children,
.wd-product-category-filter .product-categories li.wd-current-active-parent > ul.children,
.wd-product-category-filter .product-categories ul.children li.current-cat > ul.children,
.wd-product-category-filter .product-categories ul.children li.wd-active > ul.children,
.widget_product_categories .product-categories ul.children.list-shown,
.wd-product-category-filter .product-categories ul.children.list-shown {
    display: block !important;
}

/* Hide sibling categories of the active branch under the current active parent */
.widget_product_categories .product-categories li.current-cat-parent > ul.children > li,
.wd-product-category-filter .product-categories li.current-cat-parent > ul.children > li {
    display: none !important;
}

.widget_product_categories .product-categories li.current-cat-parent > ul.children > li.current-cat,
.widget_product_categories .product-categories li.current-cat-parent > ul.children > li.current-cat-parent,
.widget_product_categories .product-categories li.current-cat-parent > ul.children > li.wd-active,
.widget_product_categories .product-categories li.current-cat-parent > ul.children > li.wd-current-active-parent,
.wd-product-category-filter .product-categories li.current-cat-parent > ul.children > li.current-cat,
.wd-product-category-filter .product-categories li.current-cat-parent > ul.children > li.current-cat-parent,
.wd-product-category-filter .product-categories li.current-cat-parent > ul.children > li.wd-active,
.wd-product-category-filter .product-categories li.current-cat-parent > ul.children > li.wd-current-active-parent {
    display: flex !important; /* Keep active branch items visible */
}

/* 2. Mobile Categories Navigation Menu Accordion */
.wd-nav-mobile .wd-sub-menu,
.wd-nav-mobile .sub-sub-menu {
    display: none !important; /* Collapse all by default */
}

/* Expand only if the category is an ancestor/parent on the active path,
   or if it is an active subcategory (nested current-menu-item).
   Root-level active menu items (current-menu-item at root) remain collapsed. */
.wd-nav-mobile li.current-menu-ancestor > .wd-sub-menu,
.wd-nav-mobile li.current-menu-parent > .wd-sub-menu,
.wd-nav-mobile li.current-menu-ancestor > .sub-sub-menu,
.wd-nav-mobile li.current-menu-parent > .sub-sub-menu,
.wd-nav-mobile .wd-sub-menu li.current-menu-item > .wd-sub-menu,
.wd-nav-mobile .wd-sub-menu li.current-menu-item > .sub-sub-menu,
.wd-nav-mobile .sub-sub-menu li.current-menu-item > .wd-sub-menu,
.wd-nav-mobile .sub-sub-menu li.current-menu-item > .sub-sub-menu,
.wd-nav-mobile li.opener-page > .wd-sub-menu,
.wd-nav-mobile li.opener-page > .sub-sub-menu {
    display: block !important; /* Expand only the active branch and manually opened pages */
}

/* Hide sibling menu items on the active path on mobile */
.wd-nav-mobile li.current-menu-ancestor > .wd-sub-menu > li,
.wd-nav-mobile li.current-menu-parent > .wd-sub-menu > li,
.wd-nav-mobile li.current-menu-ancestor > .sub-sub-menu > li,
.wd-nav-mobile li.current-menu-parent > .sub-sub-menu > li {
    display: none !important;
}

.wd-nav-mobile li.current-menu-ancestor > .wd-sub-menu > li.current-menu-item,
.wd-nav-mobile li.current-menu-ancestor > .wd-sub-menu > li.current-menu-ancestor,
.wd-nav-mobile li.current-menu-ancestor > .wd-sub-menu > li.current-menu-parent,
.wd-nav-mobile li.current-menu-parent > .wd-sub-menu > li.current-menu-item,
.wd-nav-mobile li.current-menu-parent > .wd-sub-menu > li.current-menu-ancestor,
.wd-nav-mobile li.current-menu-parent > .wd-sub-menu > li.current-menu-parent,
.wd-nav-mobile li.current-menu-ancestor > .sub-sub-menu > li.current-menu-item,
.wd-nav-mobile li.current-menu-ancestor > .sub-sub-menu > li.current-menu-ancestor,
.wd-nav-mobile li.current-menu-ancestor > .sub-sub-menu > li.current-menu-parent,
.wd-nav-mobile li.current-menu-parent > .sub-sub-menu > li.current-menu-item,
.wd-nav-mobile li.current-menu-parent > .sub-sub-menu > li.current-menu-ancestor,
.wd-nav-mobile li.current-menu-parent > .sub-sub-menu > li.current-menu-parent {
    display: block !important;
}

/* Reduce footer area height by an additional 25% (further compact spacing) */
.wd-footer.footer-container {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.wd-footer.footer-container #wd-37aa9b05 {
    padding-top: 8px !important;
}
.wd-footer.footer-container #wd-ad70e5cb,
.wd-footer.footer-container #wd-8000e84f {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.wd-footer.footer-container #wd-3ff6c6bd {
    padding-bottom: 8px !important;
}

/* Match the font size in all of the links in the footer with the font size of the menu heading (1.1em) */
.wd-footer.footer-container .wp-block-wd-menu-list a,
.wd-footer.footer-container .sub-sub-menu a {
    font-size: 1.1em !important;
    font-weight: 400 !important;
}

/* Capitalize all words in all categories (parents and children) */
.wd-nav-vertical li a,
.widget_product_categories a,
.wd-product-category-filter a,
.wd-nav-mobile a,
.wd-sub-menu li a {
    text-transform: capitalize !important;
}

/* Single Product Layout: Make Main Image wider */
@media (min-width: 1025px) {
    .wd.wd .wd-78ef945d {
        flex: 0 1 calc(60% - var(--wd-col-gap) * 1 / 2) !important;
    }
    .wd.wd .wd-90fe478e {
        flex: 0 1 calc(40% - var(--wd-col-gap) * 1 / 2) !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .wd.wd .wd-78ef945d {
        flex: 0 1 calc(55% - var(--wd-col-gap) * 1 / 2) !important;
    }
    .wd.wd .wd-90fe478e {
        flex: 0 1 calc(45% - var(--wd-col-gap) * 1 / 2) !important;
    }
}

.wd.wd .wd-af209f2c {
    --wd-width: 500px !important; /* Standard size */
    max-width: 100% !important;
}

/* Replace wishlist button checkmark circle with red filled heart */
body .wd-action-btn.wd-wishlist-icon > a.added .wd-check-icon {
    display: none !important;
}

body .wd-action-btn.wd-wishlist-icon > a.added .wd-action-icon:before {
    content: "" !important;
    display: inline-block !important;
    width: 1em !important;
    height: 1em !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e53935'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    vertical-align: middle !important;
}

/* Make header wishlist icon a filled red heart */
body .wd-header-wishlist .wd-tools-icon:before {
    content: "" !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e53935'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    vertical-align: middle !important;
}

/* ==========================================================================
   Bulk Order Wide Tab Layout Styles
   ========================================================================== */

.wd-bulk-table-wrapper {
    margin-top: 0px !important;
    margin-bottom: 30px;
    padding-top: 0px !important;
    background-color: #ffffff;
}

/* Remove vertical space between product gallery and bulk order table */
.wp-block-wd-column.wd-78ef945d > .wd-single-gallery {
    margin-bottom: 0px !important;
}

.wd-single-gallery,
.wd-single-gallery .woocommerce-product-gallery,
.wd-single-gallery .woocommerce-product-gallery.images,
.wd-single-gallery .wd-carousel-container,
.wd-single-gallery .wd-gallery-images,
.wd-single-gallery .wd-carousel-inner,
.wd-single-gallery .woocommerce-product-gallery__wrapper,
.wd-single-gallery .wd-carousel-wrap,
.wd-single-gallery .wd-carousel-item,
.wd-single-gallery figure {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.wd-bulk-table-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333333;
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 10px;
}

/* Filter Input */
.wd-bulk-table-filter-wrap {
    margin-bottom: 15px;
}

.wd-bulk-table-search-input {
    width: 100%;
    max-width: 320px;
    padding: 8px 16px;
    border: 1px solid #d3d3d3;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fafafa;
}

.wd-bulk-table-search-input:focus {
    border-color: #7D2C68;
    box-shadow: 0 0 5px rgba(125, 44, 104, 0.4);
    background-color: #ffffff;
}

/* Wide Table Layout */
.wd-bulk-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #eaeaea;
    margin-bottom: 20px;
}

.wd-bulk-table th {
    background-color: #f8f8f8;
    border-bottom: 2px solid #eaeaea;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 700;
    color: #444444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wd-bulk-table td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eaeaea;
}

.wd-bulk-table-row:hover {
    background-color: #fcfcfc;
}

/* Out of Stock Row Styling */
.wd-bulk-table-row.out-of-stock {
    background-color: #fafafa;
}

.wd-bulk-table-row.out-of-stock td {
    color: #999999;
}

/* Product Column Cell */
.wd-col-product {
    width: auto;
    text-align: left;
}

.wd-bulk-table th.wd-col-product {
    text-align: left;
}

.wd-bulk-table-product-cell {
    display: flex;
    align-items: center;
}

.wd-bulk-table-img-box {
    position: relative;
    width: 60px;
    height: 60px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    flex-shrink: 0;
}

.wd-bulk-table-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Image Diagonal Slash Overlay for Out of Stock */
.wd-bulk-table-img-slash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, transparent calc(50% - 2.5px), #7D2C68 calc(50% - 1.5px), #7D2C68 calc(50% + 1.5px), transparent calc(50% + 2.5px));
    pointer-events: none;
    opacity: 0.85;
}

.wd-bulk-table-product-info {
    padding-left: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wd-bulk-table-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
}

.wd-bulk-table-product-name.wd-line-through {
    text-decoration: line-through !important;
    color: #999999 !important;
}

.wd-bulk-attr-item {
    display: inline-block;
    margin-right: 12px;
}

.wd-bulk-attr-value {
    font-weight: 600;
}

/* Wishlist heart button styling inside bulk table cell */
.wd-bulk-table-product-info .wd-wishlist-btn {
    margin: 0;
    line-height: 1;
}

.wd-bulk-table-product-info .wd-wishlist-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wd-bulk-table-product-info .wd-wishlist-btn a:hover {
    transform: scale(1.15);
}

/* SKU Column Cell */
.wd-col-sku {
    width: 140px;
    text-align: left;
}

.wd-bulk-table th.wd-col-sku {
    text-align: left;
}

.wd-bulk-table-sku-val {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.wd-bulk-table-row.out-of-stock .wd-bulk-table-sku-val {
    text-decoration: line-through;
    color: #999999;
}

.wd-bulk-table-mfg-val {
    display: block;
    font-size: 11px;
    color: #999999;
    margin-top: 2px;
}

/* Price Column Cell */
.wd-col-price {
    width: 110px;
    text-align: left;
}

.wd-bulk-table th.wd-col-price {
    text-align: left;
}

.wd-bulk-table-price {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}

.wd-bulk-table-price ins {
    text-decoration: none;
    color: #7D2C68;
}

.wd-bulk-table-price del {
    font-size: 13px;
    color: #999999;
    margin-right: 5px;
    font-weight: 400;
}

/* Qty Column Cell */
.wd-col-qty {
    width: 250px;
    text-align: right;
}

.wd-bulk-table th.wd-col-qty {
    text-align: right;
}

.wd-bulk-table-qty-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Red Validation Warning Message */
.wd-bulk-table-qty-cell .wd-bulk-qty-error-msg,
span.wd-bulk-qty-error-msg,
.wd-bulk-qty-error-msg {
    color: #e53935 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    margin-right: 8px !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

.wd-bulk-table-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    background-color: #ffffff;
    overflow: hidden;
    height: 30px;
}

.wd-bulk-qty-btn {
    width: 28px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: #555555;
    transition: background-color 0.2s, color 0.2s;
}

.wd-bulk-qty-btn:hover:not(:disabled) {
    background-color: #f4f4f4;
    color: #000000;
}

.wd-bulk-qty-btn:disabled {
    color: #cccccc;
    cursor: not-allowed;
    background-color: #fafafa;
}

.wd-bulk-qty-btn svg {
    display: block;
    stroke-width: 2;
}

.wd-bulk-qty-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    background-color: #ffffff;
    outline: none;
    -moz-appearance: textfield;
}

.wd-bulk-qty-input::-webkit-outer-spin-button,
.wd-bulk-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Red Quantity Input Highlight when stock exceeded */
.wd-bulk-qty-input.qty-exceeded {
    border: 1.5px solid #e53935 !important;
    color: #e53935 !important;
    background-color: #fef2f2 !important;
    font-weight: 700 !important;
}

.wd-bulk-table-qty-selector.qty-exceeded,
.wd-bulk-table-qty-selector:has(.qty-exceeded) {
    border-color: #e53935 !important;
}

/* Greyed-out Disabled state when out of stock */
.wd-bulk-qty-input:disabled {
    background-color: #e9e9e9 !important;
    color: #999999 !important;
    cursor: not-allowed !important;
    border-left: 1px solid #d3d3d3 !important;
    border-right: 1px solid #d3d3d3 !important;
}

/* Bottom CTA Actions */
.wd-bulk-table-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#wd-bulk-table-add-to-cart-btn {
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#wd-bulk-table-add-to-cart-btn.disabled,
#wd-bulk-table-add-to-cart-btn:disabled {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    color: #777777 !important;
    cursor: not-allowed;
    opacity: 0.8;
}

#wd-bulk-table-add-to-cart-btn:not(.disabled):not(:disabled) {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

#wd-bulk-table-add-to-cart-btn:not(.disabled):not(:disabled):hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
}

/* Ajax Message Notice Box */
.wd-bulk-table-ajax-message {
    margin-top: 12px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    width: 100%;
    max-width: 400px;
    text-align: right;
}

.wd-bulk-table-ajax-message.success {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    text-align: left;
}

.wd-bulk-table-ajax-message.error {
    background-color: #f8eef7;
    border: 1px solid #ffcdd2;
    color: #c62828;
    text-align: left;
}

/* Force single product main gallery images and thumbnails to fit into uniform square boxes */
.woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1 !important;
    position: relative !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.woocommerce-product-gallery__image a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.wd-carousel-container.wd-gallery-thumb .wd-carousel-item {
    aspect-ratio: 1 / 1 !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: 1px solid #eaeaea !important;
}

.wd-carousel-container.wd-gallery-thumb .wd-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Bulk order variations: 2-column side-by-side flex table layout */
.wd-bulk-tables-flex {
    display: flex !important;
    gap: 20px !important;
    width: 100% !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
}

.wd-bulk-tables-flex .wd-bulk-table-column {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Force consistent widths and heights across all variations tables */
.wd-bulk-table {
    table-layout: fixed !important;
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}
.wd-col-product {
    width: 38% !important;
    box-sizing: border-box !important;
}
.wd-col-sku {
    width: 16% !important;
    box-sizing: border-box !important;
}
.wd-col-price {
    width: 22% !important;
    box-sizing: border-box !important;
}
.wd-col-qty {
    width: 24% !important;
    box-sizing: border-box !important;
}
.wd-bulk-table th {
    padding: 8px 10px !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    box-sizing: border-box !important;
    height: 40px !important;
    vertical-align: middle !important;
}
.wd-bulk-table td {
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}
.wd-bulk-table-row {
    height: 72px !important;
    box-sizing: border-box !important;
}
.wd-bulk-table-product-cell {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}
.wd-bulk-table-img-box {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    flex-shrink: 0 !important;
    border-radius: 4px !important;
    border: 1px solid #eaeaea !important;
    overflow: hidden !important;
    background: #ffffff !important;
    position: relative !important;
}
.wd-bulk-table-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.wd-bulk-table-product-info {
    padding-left: 10px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    overflow: hidden !important;
}
.wd-bulk-table-product-name {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #222222 !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
}
.wd-bulk-table-sku-val {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

@media (max-width: 991px) {
    .wd-bulk-tables-flex {
        flex-direction: column !important;
        gap: 20px !important;
    }
}

/* Accessible mobile touch targets and card layout for variations (max-width: 768px) */
@media (max-width: 768px) {
    .wd-bulk-table thead {
        display: none !important;
    }
    .wd-bulk-table, 
    .wd-bulk-table tbody, 
    .wd-bulk-table-row {
        display: block !important;
        width: 100% !important;
    }
    .wd-bulk-table-row {
        padding: 15px !important;
        border: 1px solid #eaeaea !important;
        border-radius: 8px !important;
        margin-bottom: 15px !important;
        background-color: #ffffff !important;
        height: auto !important; /* Reset fixed row height */
    }
    .wd-bulk-table td {
        display: block !important;
        width: 100% !important;
        height: auto !important; /* Reset fixed cell height */
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
        margin-bottom: 10px !important;
    }
    .wd-bulk-table td.wd-col-product {
        margin-bottom: 12px !important;
    }
    .wd-bulk-table-product-cell {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
    }
    .wd-bulk-table td.wd-col-sku,
    .wd-bulk-table td.wd-col-price {
        display: inline-block !important;
        width: auto !important;
        margin-right: 25px !important;
        vertical-align: middle !important;
    }
    .wd-bulk-table td.wd-col-sku::before {
        content: "Item #: " !important;
        font-weight: 600 !important;
        color: #777777 !important;
        font-size: 13px !important;
    }
    .wd-bulk-table td.wd-col-price::before {
        content: "Price: " !important;
        font-weight: 600 !important;
        color: #777777 !important;
        font-size: 13px !important;
    }
    .wd-bulk-table-sku-val,
    .wd-bulk-table-price {
        display: inline-block !important;
        font-size: 14px !important;
    }
    .wd-bulk-table td.wd-col-qty {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 0 !important;
        padding-top: 10px !important;
        border-top: 1px dashed #eaeaea !important;
    }
    .wd-bulk-table td.wd-col-qty::before {
        content: "Quantity:" !important;
        font-weight: 700 !important;
        color: #333333 !important;
        font-size: 14px !important;
    }
    .wd-bulk-table-qty-cell {
        justify-content: flex-end !important;
        width: auto !important;
    }
    .wd-bulk-table-qty-selector {
        height: 40px !important;
    }
    .wd-bulk-qty-btn {
        width: 38px !important;
        height: 40px !important;
    }
    .wd-bulk-qty-input {
        width: 45px !important;
        height: 40px !important;
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
    }
}

/* Past order re-order page styling */
.woocommerce-table--order-details td.woocommerce-table__product-qty,
.woocommerce-table--order-details td.product-total,
.woocommerce-table--order-details td.product-reorder-total {
    vertical-align: middle !important;
}

/* Right-align all footer values on desktop so they line up under the Total Paid column */
.woocommerce-table--order-details tfoot td {
    text-align: right !important;
    vertical-align: middle !important;
}

@media (min-width: 769px) {
    .woocommerce-table--order-details th.woocommerce-table__product-name,
    .woocommerce-table--order-details td.product-name {
        width: 40% !important;
    }
    .woocommerce-table--order-details th.woocommerce-table__product-table,
    .woocommerce-table--order-details td.product-total {
        width: 20% !important;
        text-align: right !important;
    }
    .woocommerce-table--order-details th.woocommerce-table__product-qty,
    .woocommerce-table--order-details td.woocommerce-table__product-qty {
        width: 20% !important;
        text-align: right !important;
    }
    .woocommerce-table--order-details th.woocommerce-table__product-reorder-total,
    .woocommerce-table--order-details td.product-reorder-total {
        width: 20% !important;
        text-align: right !important;
    }
}

.wd-reorder-qty-input.qty-exceeded {
    border: 1.5px solid #e53935 !important;
    color: #e53935 !important;
    background-color: #fef2f2 !important;
    font-weight: 700 !important;
}

#wd-reorder-add-to-cart-btn {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#wd-reorder-add-to-cart-btn:not(.disabled):not(:disabled):hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
}

@media (max-width: 768px) {
    .woocommerce-table--order-details thead {
        display: none !important;
    }
    
    .woocommerce-table--order-details tbody tr.order_item {
        display: block !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid #eaeaea !important;
    }
    
    /* Product info td behaves as a full-width block */
    .woocommerce-table--order-details tbody tr.order_item td.product-name {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        font-weight: 600 !important;
        padding-bottom: 10px !important;
        border: none !important;
    }
    
    /* Value cells behave as flex containers: label on left, value on right */
    .woocommerce-table--order-details tbody tr.order_item td.product-total,
    .woocommerce-table--order-details tbody tr.order_item td.product-reorder-total,
    .woocommerce-table--order-details tbody tr.order_item td.woocommerce-table__product-qty {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        text-align: right !important;
        padding: 8px 0 !important;
        border: none !important;
        background: none !important;
    }
    
    .woocommerce-table--order-details tbody tr.order_item td.product-total::before {
        content: "Total Paid: " !important;
        font-weight: 600 !important;
        color: #777777 !important;
        text-align: left !important;
        margin-right: 10px !important;
    }
    
    .woocommerce-table--order-details tbody tr.order_item td.woocommerce-table__product-qty::before {
        content: "Reorder Qty: " !important;
        font-weight: 600 !important;
        color: #777777 !important;
        text-align: left !important;
        margin-right: 10px !important;
    }
    
    .woocommerce-table--order-details tbody tr.order_item td.product-reorder-total::before {
        content: "Reorder Total: " !important;
        font-weight: 600 !important;
        color: #777777 !important;
        text-align: left !important;
        margin-right: 10px !important;
    }
    
    /* Footer rows behave as flex rows: label on left, value on right */
    .woocommerce-table--order-details tfoot tr {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #eaeaea !important;
        width: 100% !important;
    }
    .woocommerce-table--order-details tfoot th {
        text-align: left !important;
        padding: 0 !important;
        border: none !important;
        font-weight: 600 !important;
        width: auto !important;
    }
    .woocommerce-table--order-details tfoot td {
        text-align: right !important;
        padding: 0 !important;
        border: none !important;
        width: auto !important;
    }
    .woocommerce-table--order-details tfoot td[colspan="2"] {
        display: none !important; /* Hide spacer column on mobile */
    }
    
    /* Accessible mobile touch targets for reorder selector */
    .wd-reorder-table-qty-selector {
        height: 40px !important;
    }
    .wd-reorder-qty-btn {
        width: 38px !important;
        height: 40px !important;
    }
    .wd-reorder-qty-input {
        width: 45px !important;
        height: 40px !important;
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
    }
    
    /* Full-width reorder button on mobile */
    .wd-reorder-actions {
        text-align: center !important;
        margin-top: 25px !important;
    }
    #wd-reorder-add-to-cart-btn {
        width: 100% !important;
    }
}

/* Reorder product image & metadata layouts */
.wd-reorder-product-meta-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wd-reorder-product-img-box {
    width: 50px;
    height: 50px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #ffffff;
}

.wd-reorder-product-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.wd-reorder-product-info {
    flex-grow: 1;
    min-width: 0;
}

/* Footer payment icons style restoration */
.footer-payment-icons img {
    height: 40px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
}

/* Remove vertical border line separating the two footer columns */
#wd-8000e84f,
.wd-footer.footer-container #wd-8000e84f {
    border-left-width: 0px !important;
    border-left-style: none !important;
    border-width: 0px !important;
}

/* ==========================================================================
   Saber Professional Pulsing Coupon Top-Bar Banner
   ========================================================================== */
.backbar-top-promo-banner {
    background-color: #1a1a1a !important;
    text-align: center !important;
    padding: 10px 15px !important;
    border-bottom: 2px solid #7D2C68 !important; /* Theme Red border line */
    z-index: 99999 !important;
    position: relative !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}
.backbar-top-promo-banner a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
}
.backbar-top-promo-banner a:hover {
    color: #7D2C68 !important;
}
@keyframes backbar-pulse {
    0% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.015); }
    100% { opacity: 0.75; transform: scale(1); }
}
.backbar-top-promo-text-pulse {
    display: inline-block !important;
    animation: backbar-pulse 3s infinite ease-in-out !important;
}

/* ==========================================================================
   Cart & Checkout Totals - Highlight for THANKS! Coupon
   ========================================================================== */
tr.cart-discount.coupon-thanks {
    background-color: rgba(204, 0, 0, 0.08) !important; /* Soft theme-red background tint */
    border: 1.5px dashed #7D2C68 !important; /* Dashed theme-red border */
}
tr.cart-discount.coupon-thanks th {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    padding-left: 15px !important;
}
tr.cart-discount.coupon-thanks td {
    font-weight: 700 !important;
    color: #2e7d32 !important; /* Elegant green for discount savings */
    font-size: 1.1em !important;
    padding-right: 15px !important;
}
/* Move coupon remove button to the left of the coupon discount amount to prevent overlap */
tr.cart-discount td,
.shop_table tr.cart-discount td {
    position: relative !important;
    padding-left: 60px !important; /* Make room on the left for the remove button */
}
tr.cart-discount td a.woocommerce-remove-coupon,
.shop_table tr.cart-discount td a.woocommerce-remove-coupon {
    position: absolute !important;
    left: 15px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #c62828 !important;
    text-decoration: none !important;
}

tr.cart-subtotal-after-coupon th {
    font-weight: 700 !important;
    color: #1a1a1a !important;
}
tr.cart-subtotal-after-coupon td {
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 1.05em !important;
}

/* ==========================================================================
   Saber Professional Original Coupon Page Layout
   ========================================================================== */
.backbar-coupon-page-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: inherit;
    color: #333333;
    text-align: center;
}

/* Elegant header with thin divider */
.backbar-coupon-header {
    margin-bottom: 30px;
}
.backbar-coupon-header-title {
    font-family: "Satoshi", "Plus Jakarta Sans", "Inter", sans-serif !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
}
.backbar-coupon-header-divider {
    width: 60px;
    height: 3px;
    background-color: #7D2C68; /* Theme Red */
    margin: 0 auto 15px auto;
}
.backbar-coupon-header-subtitle {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #666666 !important;
    letter-spacing: 0.5px !important;
}

/* Image box */
.backbar-coupon-image-box {
    margin-bottom: 30px;
}
.backbar-coupon-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Instructions */
.backbar-coupon-instructions {
    margin-bottom: 30px;
}
.backbar-coupon-highlight-text {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 8px !important;
}
.backbar-coupon-subtext {
    font-size: 15px !important;
    color: #666666 !important;
}

/* Coupon code badge */
.backbar-coupon-code-wrap {
    margin-bottom: 45px;
}
.backbar-coupon-code-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #7D2C68; /* Theme Red */
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    background-color: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    position: relative;
    user-select: none;
}
.backbar-coupon-code-box:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(125, 44, 104, 0.35);
    background-color: rgba(204, 0, 0, 0.03);
}
.backbar-coupon-code-label {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #666666 !important;
    margin-right: 8px !important;
}
.backbar-coupon-code-val {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    letter-spacing: 0.5px !important;
}
.backbar-coupon-copy-tooltip {
    font-size: 11px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    color: #7D2C68 !important;
    margin-left: 12px !important;
    border-left: 1px solid #eaeaea !important;
    padding-left: 12px !important;
}

/* Tiers cards grid */
.backbar-coupon-tiers-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.backbar-coupon-tier-card {
    flex: 1 1 200px;
    max-width: 240px;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 25px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.backbar-coupon-tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: #7D2C68; /* Highlight border on hover */
}
.backbar-coupon-tier-amount {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background-color: #7D2C68 !important; /* Theme Red base */
    padding: 8px 15px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin-bottom: 15px !important;
}
.backbar-coupon-tier-card:nth-child(2) .backbar-coupon-tier-amount {
    background-color: #B30000 !important; /* Slightly darker shift */
}
.backbar-coupon-tier-card:nth-child(3) .backbar-coupon-tier-amount {
    background-color: #990000 !important; /* Slightly darker shift */
}
.backbar-coupon-tier-card:nth-child(4) .backbar-coupon-tier-amount {
    background-color: #800000 !important; /* Slightly darker shift */
}
.backbar-coupon-tier-rule {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #555555 !important;
}

/* Bonus banner */
.backbar-coupon-bonus-banner {
    background-color: rgba(204, 0, 0, 0.08);
    border: 1.5px dashed #7D2C68;
    border-radius: 6px;
    padding: 15px;
    max-width: 980px;
    margin: 0 auto 50px auto;
}
.backbar-coupon-bonus-text {
    font-size: 16px !important;
    color: #1a1a1a !important;
    margin: 0 !important;
}

/* Marketing columns */
.backbar-coupon-marketing-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
    border-top: 1px solid #f0f0f0;
    padding-top: 40px;
}
.backbar-marketing-col {
    flex: 1;
}
.backbar-marketing-col h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 12px !important;
}
.backbar-marketing-col p {
    font-size: 14px !important;
    color: #666666 !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    .backbar-coupon-marketing-row {
        flex-direction: column;
        gap: 25px;
    }
    .backbar-coupon-tier-card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   Wishlist Redesign Table Styling
   ========================================================================== */
.wd-wishlist-table {
    table-layout: auto !important;
    width: 100% !important;
    border-collapse: collapse !important;
}

.wd-wishlist-table th {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #1a1a1a !important;
    background-color: #f8f8f8 !important;
    border-bottom: 2px solid #eaeaea !important;
    padding: 12px 15px !important;
    font-size: 13px !important;
}

.wd-wishlist-table td {
    padding: 15px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #eaeaea !important;
}

/* Image */
.wd-wishlist-table .product-thumbnail img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
}

/* Qty selector */
.wd-wishlist-qty-selector {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #d3d3d3 !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    height: 30px !important;
}

.wd-wishlist-qty-btn {
    width: 28px !important;
    height: 30px !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    color: #555555 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s, color 0.2s !important;
}

.wd-wishlist-qty-btn:hover {
    background-color: #f4f4f4 !important;
    color: #000000 !important;
}

.wd-wishlist-qty-input {
    width: 40px !important;
    height: 30px !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid #d3d3d3 !important;
    border-right: 1px solid #d3d3d3 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: #ffffff !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
}

.wd-wishlist-qty-input::-webkit-outer-spin-button,
.wd-wishlist-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.wd-wishlist-qty-input.qty-exceeded {
    border: 1.5px solid #e53935 !important;
    color: #e53935 !important;
    background-color: #fef2f2 !important;
    font-weight: 700 !important;
}

/* Row total */
.wd-wishlist-item-total-val {
    font-family: "Satoshi", "Plus Jakarta Sans", sans-serif !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    .wd-wishlist-table thead {
        display: none !important;
    }

    .wd-wishlist-table,
    .wd-wishlist-table tbody,
    .wd-wishlist-table tr.wd-wishlist-item {
        display: block !important;
        width: 100% !important;
    }

    .wd-wishlist-table tr.wd-wishlist-item {
        padding: 15px !important;
        border: 1px solid #eaeaea !important;
        border-radius: 8px !important;
        margin-bottom: 15px !important;
        background-color: #ffffff !important;
        position: relative !important;
    }

    .wd-wishlist-table tr.wd-wishlist-item td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        border: none !important;
        padding: 8px 0 !important;
        text-align: right !important;
        background: none !important;
    }

    /* Thumbnail and Remove are special */
    .wd-wishlist-table tr.wd-wishlist-item td.product-remove {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        width: auto !important;
        padding: 0 !important;
        z-index: 10 !important;
    }

    .wd-wishlist-table tr.wd-wishlist-item td.product-thumbnail {
        justify-content: center !important;
        border-bottom: 1px solid #eaeaea !important;
        padding-bottom: 15px !important;
        margin-bottom: 10px !important;
    }

    .wd-wishlist-table tr.wd-wishlist-item td.product-thumbnail img {
        width: 80px !important;
        height: 80px !important;
    }

    /* Add labels on mobile */
    .wd-wishlist-table tr.wd-wishlist-item td.product-name {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        border-bottom: 1px dashed #eaeaea !important;
        padding-bottom: 12px !important;
        margin-bottom: 8px !important;
    }
    
    .wd-wishlist-table tr.wd-wishlist-item td.product-name a {
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    .wd-wishlist-table tr.wd-wishlist-item td.product-price::before {
        content: "Price: " !important;
        font-weight: 600 !important;
        color: #777777 !important;
        font-size: 13px !important;
    }

    .wd-wishlist-table tr.wd-wishlist-item td.product-quantity::before {
        content: "Quantity: " !important;
        font-weight: 600 !important;
        color: #777777 !important;
        font-size: 13px !important;
    }

    .wd-wishlist-table tr.wd-wishlist-item td.product-subtotal::before {
        content: "Total: " !important;
        font-weight: 600 !important;
        color: #777777 !important;
        font-size: 13px !important;
    }

    /* Action button at bottom */
    .wd-wishlist-actions {
        text-align: center !important;
        margin-top: 30px !important;
    }

    #wd-wishlist-add-to-cart-btn {
        width: 100% !important;
    }
    
    /* Touch sizes for selector */
    .wd-wishlist-qty-selector {
        height: 40px !important;
    }
    
    .wd-wishlist-qty-btn {
        width: 38px !important;
        height: 40px !important;
    }
    
    .wd-wishlist-qty-input {
        width: 45px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
}

/* Compact layout for Recently Viewed Carousel (half height cards) */
.wd-364702fe .product-grid-item,
.wd-364702fe .wd-product,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .product-grid-item,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .wd-product {
    padding: 8px !important;
}

.wd-364702fe .product-element-top,
.wd-364702fe .wd-product-img-link,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .product-element-top,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .wd-product-img-link {
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
    display: flex !important;
    align-items: flex-end !important; /* Anchor photo to bottom edge */
    justify-content: center !important;
    overflow: hidden !important;
    margin-bottom: 0px !important; /* Collapsed gap */
}

.wd-364702fe .product-element-top img,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .product-element-top img {
    max-height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wd-364702fe .product-element-bottom,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .product-element-bottom {
    padding-top: 0px !important; /* Collapsed gap */
}

.wd-364702fe .wd-product-header,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .wd-product-header {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.wd-364702fe .wd-entities-title,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .wd-entities-title {
    font-size: 13px !important;
    line-height: 1.25 !important;
    min-height: 32px !important;
    max-height: 32px !important;
    -webkit-line-clamp: 2 !important;
    margin-top: 0px !important;
    margin-bottom: 2px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.wd-364702fe .wd-product-cats,
.wd-364702fe .wd-product-brands-links,
.wd-364702fe .wd-product-detail.wd-product-sku,
.wd-364702fe .wd-product-footer,
.wd-364702fe .wd-add-to-cart-icon,
.wd-364702fe .quick-shop-wrapper,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .wd-product-cats,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .wd-product-brands-links,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .wd-product-detail.wd-product-sku,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .wd-product-footer,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .wd-add-to-cart-icon,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .quick-shop-wrapper {
    display: none !important;
}

.wd-364702fe .price,
.wd-364702fe-e491-4f40-bdea-5df9ddebffe1 .price {
    font-size: 13px !important;
}

/* ==========================================================================
   Checkout Review Order Table - Clean Desktop Table & Mobile Card Layout
   ========================================================================== */

/* 1. Base Table Architecture (Desktop) */
@media (min-width: 769px) {
    body table.woocommerce-checkout-review-order-table {
        table-layout: fixed !important;
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        overflow: visible !important;
        margin-bottom: 25px !important;
    }
    body .woocommerce-checkout-review-order-table thead tr:first-child th:first-child {
        border-top-left-radius: 7px !important;
    }
    body .woocommerce-checkout-review-order-table thead tr:first-child th:last-child {
        border-top-right-radius: 7px !important;
    }
    body .woocommerce-checkout-review-order-table tfoot tr:last-child th:first-child,
    body .woocommerce-checkout-review-order-table tfoot tr:last-child td:first-child {
        border-bottom-left-radius: 7px !important;
    }
    body .woocommerce-checkout-review-order-table tfoot tr:last-child td:last-child {
        border-bottom-right-radius: 7px !important;
    }

    body .woocommerce-checkout-review-order-table thead tr {
        background-color: var(--bd-plum, #7D2C68) !important;
        height: 44px !important;
    }

    body .woocommerce-checkout-review-order-table thead th {
        display: table-cell !important;
        vertical-align: middle !important;
        padding: 10px 6px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
        color: #ffffff !important;
        border: none !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    body .woocommerce-checkout-review-order-table th.product-remove {
        width: 5% !important;
        text-align: center !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    body .woocommerce-checkout-review-order-table th.product-name {
        width: 40% !important;
        text-align: left !important;
        padding-left: 10px !important;
    }

    body .woocommerce-checkout-review-order-table th.product-price {
        width: 16% !important;
        text-align: center !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    body .woocommerce-checkout-review-order-table th.product-quantity {
        width: 19% !important;
        text-align: center !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    body .woocommerce-checkout-review-order-table th.product-subtotal {
        width: 20% !important;
        text-align: right !important;
        padding-right: 12px !important;
        padding-left: 2px !important;
    }

    body .woocommerce-checkout-review-order-table tbody tr.cart_item td {
        display: table-cell !important;
        vertical-align: middle !important;
        padding: 12px 6px !important;
        border-top: 1px solid #f1f5f9 !important;
        border-bottom: none !important;
        box-sizing: border-box !important;
    }

    body .woocommerce-checkout-review-order-table td.product-remove {
        width: 5% !important;
        text-align: center !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    body .woocommerce-checkout-review-order-table td.product-thumbnail-title {
        width: 40% !important;
        text-align: left !important;
        padding-left: 10px !important;
    }

    body .woocommerce-checkout-review-order-table td.product-price {
        width: 16% !important;
        text-align: center !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
        white-space: nowrap !important;
    }

    body .woocommerce-checkout-review-order-table td.product-quantity {
        width: 19% !important;
        text-align: center !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    body .woocommerce-checkout-review-order-table td.product-subtotal {
        width: 20% !important;
        text-align: right !important;
        padding-right: 12px !important;
        padding-left: 2px !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        color: var(--bd-plum, #7D2C68) !important;
        white-space: nowrap !important;
    }
}

/* 2. Remove Button Styling */
body .woocommerce-checkout-review-order-table .product-remove .remove,
body .woocommerce-checkout-review-order-table .product-remove .wd-checkout-remove-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    margin: 0 auto !important;
}

body .woocommerce-checkout-review-order-table .product-remove .remove:hover,
body .woocommerce-checkout-review-order-table .product-remove .wd-checkout-remove-btn:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

/* 3. Product Thumbnail & Info Wrap */
body .woocommerce-checkout-review-order-table .wd-checkout-prod-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body .woocommerce-checkout-review-order-table .wd-checkout-prod-img {
    flex-shrink: 0 !important;
    width: 44px !important;
}

body .woocommerce-checkout-review-order-table .wd-checkout-prod-img img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

body .woocommerce-checkout-review-order-table .product-name a,
body .woocommerce-checkout-review-order-table .cart-product-label-link {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

body .woocommerce-checkout-review-order-table .product-name a:hover,
body .woocommerce-checkout-review-order-table .cart-product-label-link:hover {
    color: var(--bd-plum, #7D2C68) !important;
}

body .woocommerce-checkout-review-order-table .wd-product-sku {
    font-size: 11.5px !important;
    color: #64748b !important;
    margin-top: 2px !important;
}

/* 4. Compact Checkout Quantity Controls: Space-Saving & Fits Column Perfectly */
body .woocommerce-checkout-review-order-table .product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
    max-width: 72px !important;
}

body .woocommerce-checkout-review-order-table .product-quantity .quantity button.btn,
body .woocommerce-checkout-review-order-table .product-quantity .quantity .minus,
body .woocommerce-checkout-review-order-table .product-quantity .quantity .plus {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s ease !important;
    user-select: none !important;
    box-shadow: none !important;
}

body .woocommerce-checkout-review-order-table .product-quantity .quantity button.btn:hover,
body .woocommerce-checkout-review-order-table .product-quantity .quantity .minus:hover,
body .woocommerce-checkout-review-order-table .product-quantity .quantity .plus:hover {
    background: var(--bd-plum, #7D2C68) !important;
    color: #ffffff !important;
}

body .woocommerce-checkout-review-order-table .product-quantity .quantity input.qty {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 1px !important;
    margin: 0 !important;
    border: none !important;
    border-left: 1.5px solid #cbd5e1 !important;
    border-right: 1.5px solid #cbd5e1 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

body .woocommerce-checkout-review-order-table .product-quantity .quantity input.qty::-webkit-inner-spin-button,
body .woocommerce-checkout-review-order-table .product-quantity .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* 5. Checkout Table Footer (Totals) */
body .woocommerce-checkout-review-order-table tfoot th,
body .woocommerce-checkout-review-order-table tfoot td {
    padding: 11px 14px !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 14px !important;
}

body .woocommerce-checkout-review-order-table tfoot th {
    text-align: right !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

body .woocommerce-checkout-review-order-table tfoot td {
    text-align: right !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

body .woocommerce-checkout-review-order-table tfoot tr.order-total th {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

body .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--bd-plum, #7D2C68) !important;
}

/* 6. Checkout Table Mobile Responsive Layout */
@media (max-width: 768px) {
    body table.woocommerce-checkout-review-order-table {
        display: block !important;
        width: 100% !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        padding: 12px !important;
    }

    body .woocommerce-checkout-review-order-table thead {
        display: none !important;
    }

    body .woocommerce-checkout-review-order-table tbody {
        display: block !important;
        width: 100% !important;
    }

    body .woocommerce-checkout-review-order-table tr.cart_item {
        display: grid !important;
        grid-template-areas: 
            "remove title subtotal"
            "price price qty";
        grid-template-columns: 24px 1fr auto;
        grid-template-rows: auto auto;
        row-gap: 10px;
        column-gap: 10px;
        padding: 12px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        align-items: center !important;
        width: 100% !important;
    }

    body .woocommerce-checkout-review-order-table tr.cart_item td {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        text-align: left !important;
        border: none !important;
    }

    body .woocommerce-checkout-review-order-table tr.cart_item td.product-remove {
        grid-area: remove;
    }

    body .woocommerce-checkout-review-order-table tr.cart_item td.product-thumbnail-title {
        grid-area: title;
    }

    body .woocommerce-checkout-review-order-table tr.cart_item td.product-price {
        grid-area: price;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: #64748b !important;
        display: flex !important;
        align-items: center !important;
    }

    body .woocommerce-checkout-review-order-table tr.cart_item td.product-price::before {
        content: "Price: ";
        font-weight: 500;
        color: #94a3b8;
        margin-right: 5px;
    }

    body .woocommerce-checkout-review-order-table tr.cart_item td.product-quantity {
        grid-area: qty;
        display: flex !important;
        justify-content: flex-end !important;
    }

    body .woocommerce-checkout-review-order-table tr.cart_item td.product-subtotal {
        grid-area: subtotal;
        text-align: right !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        color: var(--bd-plum, #7D2C68) !important;
    }

    body .woocommerce-checkout-review-order-table tfoot {
        display: block !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    body .woocommerce-checkout-review-order-table tfoot tr {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    body .woocommerce-checkout-review-order-table tfoot th,
    body .woocommerce-checkout-review-order-table tfoot td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
    }
}

/* Styling for 'New Customer' (Register), 'Returning Customer' (Password Reset), and 'Registered Customer' (Login) buttons */
/* Make all of them premium Target-style red buttons */
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.lost_password,
.woocommerce-LostPassword,
.wd-switch-to-register {
    background-color: #7D2C68 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    border: 1px solid #7D2C68 !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: inline-block !important;
    transition: all 0.2s ease-in-out !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(125, 44, 104, 0.15) !important;
    text-decoration: none !important;
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.lost_password:hover,
.woocommerce-LostPassword:hover,
.wd-switch-to-register:hover {
    background-color: #990000 !important;
    border-color: #990000 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(204, 0, 0, 0.25) !important;
    transform: translateY(-1px) !important;
}

/* On desktop, space out the login form button and lost password button/link */
@media (min-width: 769px) {
    /* Style the login button container and lost password link to sit side-by-side */
    .woocommerce-form-login .form-row-btn {
        display: inline-block !important;
        margin-right: 20px !important; /* Space out the 2 buttons */
        margin-bottom: 0 !important;
        vertical-align: middle !important;
    }
    
    .woocommerce-form-login .login-form-footer {
        display: inline-flex !important;
        align-items: center !important;
        gap: 20px !important;
        vertical-align: middle !important;
        margin-top: 0 !important;
    }
    
    /* Ensure the checkbox/remember me fits nicely next to it */
    .woocommerce-form-login__rememberme {
        margin: 0 !important;
    }
}

/* On mobile, stack them vertically */
@media (max-width: 768px) {
    .woocommerce-form-login__submit,
    .woocommerce-form-register__submit,
    .lost_password,
    .woocommerce-LostPassword,
    .wd-switch-to-register {
        display: block !important;
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    .woocommerce-form-login .form-row-btn {
        margin-bottom: 12px !important;
    }
    
    .woocommerce-form-login .login-form-footer {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
        margin-top: 0 !important;
    }
    
    .woocommerce-form-login .lost_password {
        margin-bottom: 6px !important;
    }
}

/* Gutenberg buttons block container - mobile stacking and desktop spacing */
@media (max-width: 768px) {
    .wp-block-buttons,
    .wp-block-buttons.is-nowrap.is-horizontal {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 12px !important; /* Space out when stacked */
    }
    
    .wp-block-buttons .wp-block-button,
    .wp-block-buttons.is-nowrap.is-horizontal .wp-block-button {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .wp-block-buttons .wp-block-button__link,
    .wp-block-buttons.is-nowrap.is-horizontal .wp-block-button__link {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        white-space: normal !important;
    }
}

@media (min-width: 769px) {
    .wp-block-buttons,
    .wp-block-buttons.is-nowrap.is-horizontal {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 20px !important; /* Space out the 3 buttons */
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
}

/* Force the 3 promo banner items (under the main slider) to stack vertically on mobile */
@media (max-width: 768px) {
    .wd-eec8c3b1,
    .wd-eec8c3b1 * {
        /* Prevent slick/owl carousel JS from hiding or absolute positioning the slides */
        float: none !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .wd-eec8c3b1 .wd-carousel-inner,
    .wd-eec8c3b1 .wd-carousel,
    .wd-eec8c3b1 .wd-carousel-wrap {
        display: flex !important;
        flex-direction: column !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        gap: 20px !important;
    }
    
    .wd-eec8c3b1 .wd-carousel-item {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 0 auto !important;
        transform: none !important;
        margin: 0 !important;
    }
    
    .wd-eec8c3b1 .wp-block-wd-cover {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
    }
    
    /* Ensure the prev/next navigation arrows are hidden when stacked */
    .wd-eec8c3b1 .wd-nav-arrows {
        display: none !important;
    }
}

/* Saber Instant Thanks Coupon Page Layout and Styling */
.backbar-coupon-page-container {
    font-family: 'Quicksand', 'Plus Jakarta Sans', sans-serif !important;
    color: #222222;
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.backbar-coupon-header {
    margin-bottom: 35px;
}

.backbar-coupon-header-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 48px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000;
    margin: 0 0 10px 0 !important;
    display: inline-block;
    /* Beautiful 3D pop shadow styling */
    text-shadow: 3px 3px 0px #7D2C68, 5px 5px 0px rgba(125, 44, 104, 0.35), 7px 7px 15px rgba(0, 0, 0, 0.15) !important;
}

.backbar-coupon-header-divider {
    height: 4px;
    width: 80px;
    background: #7D2C68;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.backbar-coupon-instructions {
    margin: 30px auto;
    max-width: 650px;
}

.backbar-coupon-highlight-text {
    font-family: 'Outfit', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #111111;
    margin-bottom: 12px !important;
    letter-spacing: -0.5px;
}

.backbar-coupon-subtext {
    font-size: 16px !important;
    color: #555555;
    line-height: 1.6;
}

.backbar-coupon-code-wrap {
    margin: 40px auto;
}

.backbar-coupon-code-box {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #7D2C68;
    padding: 12px 35px;
    border-radius: 50px;
    cursor: pointer;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(125, 44, 104, 0.15);
    user-select: none;
}

.backbar-coupon-code-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(125, 44, 104, 0.35);
    background-color: #fdf5fc; /* Light red tint background */
}

.backbar-coupon-code-label {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #555555 !important;
    margin-right: 10px !important;
}

.backbar-coupon-code-val {
    font-family: 'Outfit', sans-serif !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #000000 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase;
}

.backbar-coupon-copy-tooltip {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    color: #7D2C68 !important;
    margin-left: 15px !important;
    border-left: 2px solid #e0e0e0 !important;
    padding-left: 15px !important;
    letter-spacing: 0.5px;
}

.backbar-coupon-tiers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin: 45px auto;
    max-width: 800px;
}

.backbar-coupon-tier-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    padding: 24px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}

.backbar-coupon-tier-card:hover {
    transform: translateY(-3px);
    border-color: #7D2C68;
    box-shadow: 0 10px 25px rgba(125, 44, 104, 0.12);
}

.backbar-coupon-tier-amount {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    color: #7D2C68;
    margin-bottom: 5px;
}

.backbar-coupon-tier-rule {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #555555;
}

.backbar-coupon-marketing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 55px;
    padding-top: 45px;
    border-top: 1px solid #e5e5e5;
    text-align: left;
}

.backbar-marketing-col h3 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    color: #111111;
    margin-bottom: 12px !important;
}

.backbar-marketing-col p {
    font-size: 15px !important;
    color: #555555;
    line-height: 1.6;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .backbar-coupon-marketing-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .backbar-coupon-header-title {
        font-size: 36px !important;
    }
}

/* Product titles on Checkout and Wishlist pages - Black, light grey on hover (same as Cart) */
body .woocommerce-checkout-review-order-table td.product-thumbnail-title a,
body .woocommerce-checkout-review-order-table td.product-name a,
body .woocommerce-checkout td.product-name a,
body .woocommerce-checkout td.product-thumbnail-title a,
body .woocommerce-checkout .cart-product-label-link,
body .wd-wishlist-table td.product-name a,
body .wishlist-table td.product-name a,
body .yith-wcwl-table td.product-name a,
body .wd-wishlist-content .wd-entities-title a,
body .wd-wishlist-content .product-title a {
    color: #000000 !important;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out !important;
    font-weight: 600 !important;
}

body .woocommerce-checkout-review-order-table td.product-thumbnail-title a:hover,
body .woocommerce-checkout-review-order-table td.product-name a:hover,
body .woocommerce-checkout td.product-name a:hover,
body .woocommerce-checkout td.product-thumbnail-title a:hover,
body .woocommerce-checkout .cart-product-label-link:hover,
body .wd-wishlist-table td.product-name a:hover,
body .wishlist-table td.product-name a:hover,
body .yith-wcwl-table td.product-name a:hover,
body .wd-wishlist-content .wd-entities-title a:hover,
body .wd-wishlist-content .product-title a:hover {
    color: #999999 !important; /* light grey on hover */
    text-decoration: none !important;
}

/* Woodmart Free Shipping Progress Bar - Gold when incomplete, Green when 100% complete */

/* Stripe Animation to slide stripes to the right */
@keyframes wd-stripe-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 0;
    }
}

/* 1. INITIAL STATE (Goal not yet reached - Gold) */
body .wd-free-progress-bar,
body .wd-free-progress-bar *,
body .wd-shipping-progress-bar,
body .wd-shipping-progress-bar *,
body .widget_shopping_cart .wd-free-progress-bar,
body .widget_shopping_cart .wd-free-progress-bar *,
body .cart-widget-side .wd-free-progress-bar,
body .cart-widget-side .wd-free-progress-bar *,
body .wd-progress-bar,
body .wd-progress-bar * {
    color: #C59B27 !important;
    --wd-primary-color: #C59B27 !important;
    --wd-progress-color: #C59B27 !important;
}

/* Re-disable backgrounds on container elements */
body .wd-free-progress-bar,
body .wd-shipping-progress-bar,
body .wd-progress-bar,
body .progress-area,
body .progress-msg,
body .progress-msg * {
    background-color: transparent !important;
    background-image: none !important;
}

/* Force the progress bar itself to have the gold background with moving white stripes */
body .wd-free-progress-bar .progress-bar,
body .wd-shipping-progress-bar .progress-bar,
body .wd-progress-bar .progress-bar,
body .progress-area .progress-bar {
    background-color: #C59B27 !important;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent) !important;
    background-size: 15px 15px !important;
    animation: wd-stripe-move 1s linear infinite !important;
}

/* 2. SUCCESS STATE (Goal reached / 100% width - Green) */
body .wd-free-progress-bar:has(.progress-bar[style*="100%"]),
body .wd-free-progress-bar:has(.progress-bar[style*="100%"]) *,
body .wd-shipping-progress-bar:has(.progress-bar[style*="100%"]),
body .wd-shipping-progress-bar:has(.progress-bar[style*="100%"]) *,
body .wd-free-progress-bar.wd-free-shipping-success,
body .wd-free-progress-bar.wd-free-shipping-success *,
body .wd-shipping-progress-bar.wd-free-shipping-success,
body .wd-shipping-progress-bar.wd-free-shipping-success * {
    color: #2e7d32 !important;
    --wd-primary-color: #2e7d32 !important;
    --wd-progress-color: #2e7d32 !important;
}

body .wd-free-progress-bar:has(.progress-bar[style*="100%"]) .progress-bar,
body .wd-shipping-progress-bar:has(.progress-bar[style*="100%"]) .progress-bar,
body .wd-free-progress-bar.wd-free-shipping-success .progress-bar,
body .wd-shipping-progress-bar.wd-free-shipping-success .progress-bar {
    background-color: #2e7d32 !important;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent) !important;
    background-size: 15px 15px !important;
    animation: none !important;
}

/* Fix categories vertical navigation menu layout (high-specificity overrides) */
html body #menu-category-menu.wd-nav-vertical,
html body .wd-nav-vertical {
    flex-direction: column !important;
    display: flex !important;
}
html body #menu-category-menu.wd-nav-vertical > li,
html body .wd-nav-vertical > li {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    float: none !important;
}

/* Hide desktop category menu on mobile/tablet */
@media (max-width: 1024px) {
    .wp-block-wd-column.wd-e4b3f881,
    .wd-menu.widget_nav_mega_menu.wd-2960313f,
    #menu-category-menu.wd-nav-vertical {
        display: none !important;
    }
}




/* ============================================================
   BACKBAR DIRECT — BRAND DESIGN SYSTEM
   Primary: Deep Plum (#7D2C68) | Accent: Gold (#A3AFCB)
   Font: Playfair Display (headings) + Outfit (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bd-plum:        #7D2C68;
    --bd-plum-mid:    #6B2D61;
    --bd-plum-light:  #f8eef7;
    --bd-slate-blue:        #A3AFCB;
    --bd-slate-blue-light:  #E8C86A;
    --bd-slate-blue-dark:   #A8872A;
    --bd-white:       #ffffff;
    --bd-off-white:   #fdfaf9;
    --bd-charcoal:    #1a1a1a;
    --bd-mid-grey:    #555555;
    --bd-light-grey:  #f4f4f4;
}

/* Headings — Playfair Display for luxury feel */
h1, h2, h3, h4,
.wd-entities-title,
.product-title,
.entry-title,
.woocommerce-loop-product__title,
.wd-product-title,
.wd-post-title {
    font-family: 'Playfair Display', Georgia, serif !important;
}

/* Body text — Outfit */
body,
p, a, span, li, td, th, label, input, select, textarea, button {
    font-family: 'Outfit', sans-serif;
}

/* ---- HEADER BRANDING ---- */
/* Site title text logo */
.site-header .site-branding .site-title,
.whb-header .site-branding .site-title,
.woodmart-logo a,
.custom-logo-link {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
    color: var(--bd-plum) !important;
    letter-spacing: 0.5px !important;
}

/* ---- PRIMARY BUTTONS ---- */
.wd-btn-primary,
.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.add_to_cart_button,
.single_add_to_cart_button,
.wd-add-btn {
    background-color: var(--bd-plum) !important;
    border-color: var(--bd-plum) !important;
    color: var(--bd-white) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
}
.wd-btn-primary:hover,
.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.add_to_cart_button:hover,
.single_add_to_cart_button:hover {
    background-color: var(--bd-slate-blue) !important;
    border-color: var(--bd-slate-blue) !important;
    color: var(--bd-charcoal) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(163, 175, 203, 0.35) !important;
}

/* ---- SALE/BADGE TAGS ---- */
.wd-label-sale,
.onsale,
.woocommerce span.onsale {
    background-color: var(--bd-slate-blue) !important;
    color: var(--bd-charcoal) !important;
}

/* ---- LINKS ---- */
a:hover,
.wd-nav .menu-item > a:hover,
.wd-nav .menu-item.current-menu-item > a {
    color: var(--bd-plum) !important;
}

/* ---- FOCUS / ACTIVE STATES ---- */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--bd-plum) !important;
    box-shadow: 0 0 5px rgba(125, 44, 104, 0.4) !important;
    outline: none;
}

/* ---- PRODUCT CARD HOVER BORDER ---- */
.product-grid-item:hover,
.wd-product:hover {
    border-color: var(--bd-plum) !important;
    box-shadow: 0 8px 30px rgba(125, 44, 104, 0.12) !important;
}

/* ---- PRICE COLORS ---- */
.price ins .amount,
.woocommerce-Price-amount.amount {
    color: var(--bd-plum);
}
.price del {
    color: #999999;
}

/* ---- BREADCRUMBS ---- */
.wd-breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
    color: var(--bd-plum) !important;
}

/* ---- PAGINATION ---- */
.wd-pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: var(--bd-plum) !important;
    color: var(--bd-white) !important;
    border-color: var(--bd-plum) !important;
}
.wd-pagination .page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    color: var(--bd-plum) !important;
    border-color: var(--bd-plum) !important;
}

/* ---- STAR RATINGS ---- */
.star-rating span::before,
.woocommerce .star-rating span::before {
    color: var(--bd-slate-blue) !important;
}

/* ---- CART COUNT BADGE ---- */
.wd-cart-count,
.wd-header-cart .wd-cart-count {
    background-color: var(--bd-slate-blue) !important;
    color: var(--bd-charcoal) !important;
}

/* ---- WISHLIST ICON ---- */
.wd-wishlist-link .wd-tools-icon:hover,
.yith-wcwl-add-to-wishlist a:hover {
    color: var(--bd-plum) !important;
}

/* ---- CATEGORY SIDEBAR ACTIVE ---- */
.widget_product_categories .current-cat > a,
.widget_product_categories .current-cat > a:hover {
    color: var(--bd-plum) !important;
    font-weight: 700 !important;
}

/* ---- CHECKOUT & CART HIGHLIGHTS ---- */
.woocommerce-cart table.shop_table thead,
.woocommerce-checkout-review-order-table thead {
    background-color: var(--bd-plum) !important;
    color: var(--bd-white) !important;
}
.woocommerce-cart table.shop_table thead th,
.woocommerce-checkout-review-order-table thead th {
    color: var(--bd-white) !important;
}

/* ---- GOLD ACCENT UNDERLINES for section headings ---- */
.wd-section-title::after,
.woodmart-title-section::after {
    background-color: var(--bd-slate-blue) !important;
}

/* ---- COUPON BOX (Backbar branded) ---- */
.backbar-coupon-code-box {
    border-color: var(--bd-plum) !important;
    box-shadow: 0 6px 20px rgba(125, 44, 104, 0.15) !important;
}
.backbar-coupon-code-box:hover {
    box-shadow: 0 12px 25px rgba(125, 44, 104, 0.35) !important;
    background-color: var(--bd-plum-light) !important;
}
.backbar-coupon-copy-tooltip {
    color: var(--bd-plum) !important;
}
.backbar-coupon-tier-card:hover {
    border-color: var(--bd-plum) !important;
    box-shadow: 0 10px 25px rgba(125, 44, 104, 0.12) !important;
}
.backbar-coupon-tier-amount {
    color: var(--bd-plum) !important;
}

/* ---- NOTICES & ALERTS ---- */
.woocommerce-message,
.wd-notice.wd-notice-success {
    border-top-color: var(--bd-plum) !important;
}

/* ---- ACCESSIBLE LIGHTER PLUM TEXT HIGHLIGHTS & SELECTIONS ---- */
/* Custom Selection Background (vibrant mid-light plum) */
::selection {
    background-color: #B54F92 !important;
    color: #ffffff !important;
}
::-moz-selection {
    background-color: #B54F92 !important;
    color: #ffffff !important;
}

/* Woodmart Highlight Text (bright legible plum) */
.wd-highlight,
mark,
.highlight {
    color: #C2599D !important;
}

/* High contrast highlights on dark/image backgrounds (light pastel plum) */
.color-scheme-light .wd-highlight,
.wd-hover-parent:hover .wd-highlight,
.wd-cover .wd-highlight,
.promo-banner .wd-highlight {
    color: #D686B9 !important;
}

/* ---- ACCESSIBLE PLUM HOVER STYLES ---- */
/* Default Hover Color (vibrant mid-light plum for light backgrounds) */
a:hover,
a:focus,
.wd-nav-main > li > a:hover,
.wd-sub-menu li a:hover,
.wd-menu-item:hover > a,
.product-title a:hover,
.wd-nav-vertical > li > a:hover,
.whb-row a:hover,
.whb-row .wd-action-btn:hover > a,
.wd-widget a:hover,
.widget a:hover {
    color: #C2599D !important;
}

/* Lighter Hover Color for dark/black backgrounds (light pastel plum) */
.color-scheme-light a:hover,
.color-scheme-light a:focus,
.color-scheme-light .wd-nav-main > li > a:hover,
.color-scheme-light .wd-sub-menu li a:hover,
.color-scheme-light .wd-menu-item:hover > a,
.color-scheme-light .wd-nav-vertical > li > a:hover,
.color-scheme-light .whb-row a:hover,
.color-scheme-light .whb-row .wd-action-btn:hover > a,
.color-scheme-light .wd-widget a:hover,
.whb-color-light a:hover,
.whb-color-light .wd-action-btn:hover > a,
.whb-color-light .wd-nav-main > li > a:hover,
.whb-color-light .wd-nav-vertical > li > a:hover,
.whb-color-light .wd-sub-menu li a:hover {
    color: #D686B9 !important;
}

/* ============================================================
   END BACKBAR DIRECT BRAND SYSTEM
   ============================================================ */

/* Force category list background images to act as small, neat product thumbnails */
.wp-block-wd-menu-list {
    background-size: 80px auto !important;
    background-position: left center !important;
}

/* Center the FREE SHIPPING announcement text in the header top bar (desktop only) */
@media (min-width: 1025px) {
    .whb-top-bar .whb-column,
    .whb-top-bar .whb-flex-row {
        justify-content: center !important;
    }
    .whb-top-bar .wd-header-text {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        text-align: center !important;
        width: auto !important;
    }
    .whb-top-bar .wd-header-text strong {
        display: inline-block !important;
        width: auto !important;
        white-space: nowrap !important;
    }
}

/* ============================================================
   Mobile Top Bar Layout: B2B Button + Search Field (Static)
   ============================================================ */
@media (max-width: 1024px) {
    .whb-top-bar {
        display: block !important;
        position: relative !important;
        height: auto !important;
        min-height: 52px !important;
        background-color: #ffffff !important;
        padding: 6px 12px !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    .whb-top-bar .container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .whb-top-bar .whb-flex-row,
    .whb-top-bar .whb-top-bar-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 38px !important;
    }
    .whb-top-bar .whb-column_mobile1,
    .whb-top-bar .whb-col-mobile {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        flex: 1 1 100% !important;
        box-sizing: border-box !important;
    }
    .whb-top-bar .whb-column_mobile1 .wd-header-text,
    .whb-top-bar .b2b-mobile-topbar-btn-wrap,
    .whb-top-bar .whb-column_mobile1 .b2b-mobile-topbar-btn-wrap {
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .whb-top-bar .whb-column_mobile1 .thirtyoff-b2b-toggle,
    .whb-top-bar .whb-column_mobile1 button.thirtyoff-b2b-toggle {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        line-height: 34px !important;
        padding: 0 14px !important;
        border-radius: 19px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    /* B2B Toggle: Inactive State */
    .whb-top-bar .whb-column_mobile1 .thirtyoff-b2b-toggle.b2b-inactive,
    .whb-top-bar .whb-column_mobile1 button.thirtyoff-b2b-toggle.b2b-inactive {
        background: #7D2C68 !important;
        color: #ffffff !important;
        border: 2px solid #7D2C68 !important;
        box-shadow: 0 2px 6px rgba(125, 44, 104, 0.28) !important;
    }
    .whb-top-bar .whb-column_mobile1 .thirtyoff-b2b-toggle.b2b-inactive * {
        color: #ffffff !important;
    }

    /* B2B Toggle: Active State */
    .whb-top-bar .whb-column_mobile1 .thirtyoff-b2b-toggle.b2b-active,
    .whb-top-bar .whb-column_mobile1 button.thirtyoff-b2b-toggle.b2b-active {
        background: #ffffff !important;
        color: #7D2C68 !important;
        border: 2px solid #7D2C68 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    }
    .whb-top-bar .whb-column_mobile1 .thirtyoff-b2b-toggle.b2b-active * {
        color: #7D2C68 !important;
        font-weight: 800 !important;
    }
    .whb-top-bar .whb-column_mobile1 [class*="wd-header-search-form"],
    .whb-top-bar .whb-column_mobile1 .wd-search-form,
    .whb-top-bar .whb-column_mobile1 .wd-search-form.wd-dropdown,
    .whb-top-bar .whb-column_mobile1 .wd-search-dropdown,
    .whb-column_mobile1 .wd-search-form,
    .whb-column_mobile1 .wd-search-form.wd-dropdown,
    .whb-column_mobile1 .wd-search-dropdown,
    .whb-top-bar .whb-column_mobile1 form.searchform,
    .whb-top-bar .whb-column_mobile1 .whb-mobile_topbar_search {
        --wd-search-form-width: 100% !important;
        order: 2 !important;
        flex: 1 1 0% !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        align-items: center !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .whb-top-bar .whb-column_mobile1 form.searchform {
        height: 38px !important;
        min-height: 38px !important;
        background: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 19px !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        position: relative !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .whb-top-bar .whb-column_mobile1 form.searchform input.s,
    .whb-top-bar .whb-column_mobile1 form.searchform input[type="text"],
    .whb-top-bar .whb-column_mobile1 [class*="wd-header-search-form"] input[type="text"],
    .whb-top-bar .whb-column_mobile1 input[type="search"],
    [class*="wd-header-search-form"] input[type="text"] {
        height: 36px !important;
        min-height: 36px !important;
        line-height: 36px !important;
        padding: 0 40px 0 14px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 0% !important;
        flex-shrink: 1 !important;
        box-sizing: border-box !important;
        border-radius: 19px !important;
        outline: none !important;
        color: #1a1a1a !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .whb-top-bar .whb-column_mobile1 form.searchform input::placeholder {
        color: #64748b !important;
        opacity: 1 !important;
        font-size: 12px !important;
    }
    .whb-top-bar .whb-column_mobile1 form.searchform button.searchsubmit,
    .whb-top-bar .whb-column_mobile1 form.searchform button[type="submit"] {
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 38px !important;
        width: 38px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        color: #64748b !important;
        outline: none !important;
        overflow: hidden !important;
    }
    /* Strictly remove and hide text 'Search' on right side of field */
    .whb-top-bar .whb-column_mobile1 form.searchform button.searchsubmit span,
    .whb-top-bar .whb-column_mobile1 form.searchform button[type="submit"] span,
    .whb-top-bar form.searchform button.searchsubmit span,
    .whb-column_mobile1 form.searchform button.searchsubmit span {
        display: none !important;
        visibility: hidden !important;
        font-size: 0 !important;
        line-height: 0 !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    /* Clean magnifying glass icon */
    .whb-top-bar .whb-column_mobile1 form.searchform button.searchsubmit::before,
    .whb-top-bar .whb-column_mobile1 form.searchform button[type="submit"]::before,
    .whb-column_mobile1 form.searchform button.searchsubmit::before {
        content: "\f134" !important;
        font-family: "woodmart-font" !important;
        font-size: 16px !important;
        color: #64748b !important;
        display: inline-block !important;
        line-height: 1 !important;
        transition: color 0.2s ease !important;
    }
    .whb-top-bar .whb-column_mobile1 form.searchform button.searchsubmit:hover::before,
    .whb-top-bar .whb-column_mobile1 form.searchform button[type="submit"]:hover::before {
        color: #7D2C68 !important;
    }
    .whb-top-bar .b2b-sticky-search-dropdown,
    .whb-top-bar .wd-search-results-wrapper,
    .whb-top-bar .wd-dropdown-results {
        position: absolute !important;
        top: calc(100% + 4px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        z-index: 99999 !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    }
}

/* ============================================================
   Sticky / Static Header Implementation (Desktop & Mobile)
   ============================================================ */
html, body {
    overflow-x: clip !important;
}

.website-wrapper {
    overflow: visible !important;
}

/* Desktop: Pure GPU Fixed Header with transform translateY(-41px) and max-height collapse */
@media (min-width: 1025px) {
    /* Hide Woodmart's competing clone header so general header is the ONLY sticky element */
    html body .whb-clone,
    html body .whb-sticked.whb-clone {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
    }

    /* Base Header Container: Fixed at top: 0 with 0.4s GPU transform transition */
    html body header.whb-header,
    html body .whb-header,
    html body .whb-main-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        background-color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
        transform: translateY(0) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
        will-change: transform;
    }

    body.whb-scrolled-down header.whb-header,
    body.scrolled-header-sticky header.whb-header,
    body.whb-scrolled-down .whb-header,
    body.scrolled-header-sticky .whb-header,
    body.whb-scrolled-down .whb-main-header,
    body.scrolled-header-sticky .whb-main-header {
        transform: translateY(0) !important;
    }

    body.admin-bar header.whb-header,
    body.admin-bar .whb-header,
    body.admin-bar .whb-main-header {
        top: 32px !important;
    }

    /* Push page content down so fixed header doesn't overlap content */
    html body .website-wrapper {
        padding-top: 201px !important;
    }

    /* 1. Uppermost Header ("FREE SHIPPING..."): 41px height, fades out on scroll down */
    html body .whb-top-bar {
        position: relative !important;
        top: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 41px !important;
        background-color: #ffffff !important;
        border-bottom: 1px solid rgba(129, 129, 120, 0.2) !important;
        z-index: 10 !important;
        transition: opacity 0.35s ease, visibility 0.35s ease !important;
    }

    body.whb-scrolled-down .whb-top-bar,
    body.scrolled-header-sticky .whb-top-bar {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* 2. Middle Header (General Header with SEARCH BAR): Always 100px height, centered search */
    html body .whb-general-header {
        position: relative !important;
        top: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 100px !important;
        background-color: #ffffff !important;
        z-index: 9 !important;
        transition: padding 0.35s ease, height 0.35s ease !important;
    }

    /* 3. Bottom Plum Header Bar: Always visible, compacts to 38px on scroll down with B2B toggle button fully interactive */
    html body .whb-header-bottom {
        position: relative !important;
        top: auto !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
        pointer-events: auto !important;
        background-color: #7D2C68 !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        overflow: visible !important;
        transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), min-height 0.35s ease, max-height 0.35s ease !important;
    }

    body.whb-scrolled-down .whb-header-bottom,
    body.scrolled-header-sticky .whb-header-bottom {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }

    body.whb-scrolled-down .whb-header-bottom .whb-flex-row,
    body.scrolled-header-sticky .whb-header-bottom .whb-flex-row {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }

    html body .menu-item-b2b-toggle,
    html body .menu-item-b2b-toggle a,
    html body .thirtyoff-b2b-toggle,
    html body a.b2b-nav-btn {
        position: relative !important;
        z-index: 999999 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    body.whb-scrolled-down .menu-item-b2b-toggle,
    body.scrolled-header-sticky .menu-item-b2b-toggle {
        height: 38px !important;
    }

    body.whb-scrolled-down .menu-item-b2b-toggle > a.b2b-nav-btn,
    body.scrolled-header-sticky .menu-item-b2b-toggle > a.b2b-nav-btn {
        height: 30px !important;
        font-size: 12px !important;
    }


    html body .whb-general-header form.searchform {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 44px !important;
        background: #ffffff !important;
        border: 2.5px solid #7D2C68 !important;
        border-radius: 22px !important;
        width: 100% !important;
        max-width: 480px !important;
        position: relative !important;
        box-shadow: 0 3px 10px rgba(125, 44, 104, 0.2) !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        align-items: center !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
    }

    html body .whb-general-header form.searchform input.s,
    html body .whb-general-header form.searchform input[type="text"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        height: 40px !important;
        line-height: 40px !important;
        padding: 0 48px 0 16px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border: none !important;
        background: #ffffff !important;
        width: 100% !important;
        color: #0f172a !important;
        outline: none !important;
        box-sizing: border-box !important;
        cursor: text !important;
        position: relative !important;
        z-index: 99999 !important;
    }

    html body .whb-general-header form.searchform input::placeholder {
        color: #475569 !important;
        opacity: 1 !important;
        font-weight: 500 !important;
    }

    /* Search Submit Button: Purple background circle with white icon */
    html body .whb-general-header form.searchform button.searchsubmit {
        position: absolute !important;
        right: 3px !important;
        top: 3px !important;
        height: 38px !important;
        width: 38px !important;
        background: #7D2C68 !important;
        border: none !important;
        border-radius: 19px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        cursor: pointer !important;
        z-index: 100000 !important;
        pointer-events: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .whb-general-header form.searchform button.searchsubmit span {
        display: none !important;
    }

    html body .whb-general-header form.searchform button.searchsubmit::before,
    html body .whb-general-header form.searchform button.searchsubmit::after {
        content: "" !important;
        display: block !important;
        width: 18px !important;
        height: 18px !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
    }

    /* Cleanly align Cart button next to Compare button in header (Full & Static views) */
    .whb-general-header .whb-col-right,
    .whb-header .whb-col-right,
    .whb-main-header .whb-col-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 15px !important;
    }

    .whb-general-header .whb-col-right > div,
    .whb-general-header .whb-col-right > a,
    .whb-general-header .wd-tools-element,
    .whb-general-header .wd-header-compare,
    .whb-general-header .wd-header-cart,
    .whb-general-header .wd-header-my-account,
    .whb-general-header .wd-header-wishlist {
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
    }

    /* Smooth Woodmart Sticky Clone Slide Down */
    .whb-clone.whb-sticked {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
        transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
    }
}

:root, html, body {
    --wd-top-bar-sticky-h: 52px !important;
    --wd-top-bar-sm-h: 52px !important;
    --wd-top-bar-h: 52px !important;
}

/* Mobile: Whole mobile header stays sticky at top */
@media (max-width: 1024px) {
    html body header.whb-header,
    html body .whb-header {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background-color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
        transform: none !important;
    }
    body.admin-bar header.whb-header,
    body.admin-bar .whb-header {
        top: 32px !important;
    }
    @media (max-width: 782px) {
        body.admin-bar header.whb-header,
        body.admin-bar .whb-header {
            top: 46px !important;
        }
    }

    html body .whb-top-bar,
    html body .whb-header .whb-top-bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
        height: auto !important;
        min-height: 48px !important;
        overflow: visible !important;
        background-color: #f1f5f9 !important;
        padding: 6px 10px !important;
    }
}

/* ============================================================
   Off-Canvas Drawers, Mobile Navigation & Overlay Layering
   ============================================================ */
.wd-side-hidden,
.mobile-nav,
.wd-side-hidden-nav,
.cart-widget-side,
.login-form-side,
.wd-sidebar.wd-side-hidden,
.wd-popup,
.mfp-wrap {
    z-index: 100000 !important;
}

.wd-close-side,
.woodmart-close-side,
.mfp-bg {
    z-index: 99999 !important;
}

/* ============================================================
   B2B Card Badge & Price Display Refinements
   ============================================================ */
.backbar-b2b-card-pill,
.product-label.backbar-b2b-badge {
    background: #7D2C68 !important;
    color: #ffffff !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 4px 9px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(125, 44, 104, 0.35) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}

/* Remove the percent pill below/next to the B2B price */
.b2b-inline-save-pill {
    display: none !important;
}

/* ============================================================
   Regular Price Black Font Color Enforcement
   ============================================================ */
.b2b-reg-block,
.b2b-reg-block *,
.b2b-price-label-reg,
.b2b-del-price,
.b2b-del-price *,
.regular-price-wrapper,
.regular-price-label,
.regular-price-val,
.regular-price-val *,
.price del,
.price del *,
.product-grid-item del,
.product-grid-item del * {
    color: #000000 !important;
    opacity: 1 !important;
}

/* ============================================================
   Search Modals, Popups & Dropdown Results Stacking Over Header
   ============================================================ */
[class*="wd-search-full-screen"],
.wd-search-full-screen,
.wd-search-full-screen-2,
.whb-header .wd-dropdown-results,
.whb-header .wd-search-results,
.whb-header .autocomplete-suggestions,
.whb-header .b2b-sticky-search-dropdown,
.whb-top-bar .wd-dropdown-results,
.whb-general-header .wd-dropdown-results,
.whb-header-bottom .wd-dropdown-results,
.wd-search-results,
.wd-dropdown-results,
.autocomplete-suggestions {
    z-index: 100005 !important;
}


        /* Show Full Product Name in Search Results Dropdowns & Modals */
        .wd-dropdown-results .wd-entities-title,
        .wd-dropdown-results .product-title,
        .wd-dropdown-results .wd-suggestion-content .wd-entities-title,
        .wd-dropdown-results .wd-suggestion-content .wd-entities-title a,
        .wd-search-results .wd-entities-title,
        .wd-search-results .wd-entities-title a,
        .wd-search-full-screen .wd-entities-title,
        .wd-search-full-screen .wd-entities-title a,
        .wd-search-full-screen-2 .wd-entities-title,
        .wd-search-full-screen-2 .wd-entities-title a,
        .wd-suggestions-group .wd-entities-title,
        .wd-suggestions-group .wd-entities-title a,
        .autocomplete-suggestions .suggestion-title,
        .autocomplete-suggestions .wd-entities-title,
        .autocomplete-suggestion .suggestion-title,
        .autocomplete-suggestion .product-title,
        .b2b-sticky-search-dropdown .b2b-search-title,
        .wd-suggestion .wd-entities-title,
        .wd-suggestion .wd-entities-title a {
            display: block !important;
            -webkit-line-clamp: unset !important;
            line-clamp: unset !important;
            -webkit-box-orient: unset !important;
            max-height: none !important;
            min-height: 0 !important;
            height: auto !important;
            overflow: visible !important;
            text-overflow: unset !important;
            white-space: normal !important;
            word-break: break-word !important;
            line-height: 1.35 !important;
            margin-bottom: 6px !important;
        }

        .wd-dropdown-results .wd-suggestion,
        .wd-search-results .wd-suggestion,
        .autocomplete-suggestion,
        .b2b-search-item {
            height: auto !important;
            min-height: 75px !important;
            max-height: none !important;
            padding: 10px 12px !important;
            align-items: flex-start !important;
        }

        .wd-dropdown-results .wd-suggestion-content,
        .wd-search-results .wd-suggestion-content,
        .wd-suggestion-content,
        .b2b-search-info {
            height: auto !important;
            min-height: 0 !important;
            position: relative !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
        }

        .wd-dropdown-results .wd-suggestion .price,
        .wd-dropdown-results .autocomplete-suggestion .price,
        .wd-suggestions-group .price,
        .wd-suggestion-content .price,
        .autocomplete-suggestion .price,
        .autocomplete-suggestion .suggestion-price {
            position: static !important;
            margin-top: 4px !important;
            display: block !important;
            line-height: 1.2 !important;
        }



        /* Generous & Spacious Live Search Results Dropdown (No thin squished boxes) */
        .b2b-sticky-search-dropdown,
        .whb-top-bar .b2b-sticky-search-dropdown,
        .whb-top-bar .wd-search-results-wrapper,
        .whb-top-bar .wd-dropdown-results,
        .whb-header .wd-dropdown-results,
        .whb-header .autocomplete-suggestions,
        .wd-dropdown-results {
            position: absolute !important;
            top: calc(100% + 6px) !important;
            right: 0 !important;
            left: auto !important;
            width: 480px !important;
            min-width: 420px !important;
            max-width: calc(100vw - 24px) !important;
            background: #ffffff !important;
            border-radius: 12px !important;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18) !important;
            border: 1px solid #E2E8F0 !important;
            max-height: 480px !important;
            overflow-y: auto !important;
            z-index: 100005 !important;
            text-align: left !important;
        }

        .whb-column_mobile1 .b2b-sticky-search-dropdown,
        .whb-top-bar .whb-column_mobile1 .b2b-sticky-search-dropdown,
        .whb-column13 .b2b-sticky-search-dropdown {
            right: 0 !important;
            left: auto !important;
        }

        .b2b-search-item,
        .wd-dropdown-results .wd-suggestion,
        .autocomplete-suggestion {
            display: flex !important;
            align-items: center !important;
            padding: 12px 16px !important;
            border-bottom: 1px solid #F1F5F9 !important;
            text-decoration: none !important;
            transition: background 0.15s ease !important;
            color: #333333 !important;
            min-height: 72px !important;
            box-sizing: border-box !important;
            gap: 14px !important;
            width: 100% !important;
        }

        .b2b-search-item:hover,
        .wd-dropdown-results .wd-suggestion:hover,
        .autocomplete-suggestion:hover {
            background: #F8FAFC !important;
        }

        .b2b-search-thumb,
        .wd-dropdown-results .wd-suggestion-thumb {
            width: 54px !important;
            min-width: 54px !important;
            max-width: 54px !important;
            height: 54px !important;
            min-height: 54px !important;
            max-height: 54px !important;
            flex-shrink: 0 !important;
            margin: 0 !important;
            border-radius: 8px !important;
            overflow: hidden !important;
            background: #ffffff !important;
            border: 1px solid #F1F5F9 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 3px !important;
            box-sizing: border-box !important;
        }

        .b2b-search-thumb img,
        .wd-dropdown-results .wd-suggestion-thumb img {
            width: 100% !important;
            height: 100% !important;
            max-height: 48px !important;
            max-width: 48px !important;
            object-fit: contain !important;
            margin: 0 auto !important;
        }

        .b2b-search-info,
        .wd-dropdown-results .wd-suggestion-content {
            flex: 1 1 auto !important;
            min-width: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            gap: 3px !important;
        }

        .b2b-search-title,
        .wd-dropdown-results .wd-entities-title,
        .autocomplete-suggestions .suggestion-title {
            font-size: 13.5px !important;
            font-weight: 600 !important;
            color: #1E293B !important;
            line-height: 1.35 !important;
            white-space: normal !important;
            word-break: break-word !important;
            overflow: visible !important;
            text-overflow: unset !important;
            margin: 0 !important;
        }

        .b2b-search-price,
        .wd-dropdown-results .price,
        .autocomplete-suggestion .price {
            font-size: 13px !important;
            color: #4A607A !important;
            font-weight: 700 !important;
            margin: 4px 0 0 0 !important;
            line-height: 1.35 !important;
            position: static !important;
            top: auto !important;
            bottom: auto !important;
            left: auto !important;
            right: auto !important;
            display: block !important;
            width: auto !important;
            clear: both !important;
        }

        .autocomplete-suggestion .b2b-price-wrapper,
        .wd-dropdown-results .b2b-price-wrapper,
        .b2b-search-price .b2b-price-wrapper {
            display: flex !important;
            flex-direction: column !important;
            gap: 2px !important;
            position: static !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .autocomplete-suggestion .b2b-reg-block,
        .wd-dropdown-results .b2b-reg-block,
        .autocomplete-suggestion .b2b-rate-block,
        .wd-dropdown-results .b2b-rate-block {
            display: inline-block !important;
            position: static !important;
            font-size: 12.5px !important;
            line-height: 1.3 !important;
        }



        /* Main Search Results Page: Dynamic Grid Columns (2, 3, 4, 5, 6) */
        @media (min-width: 1025px) {
            .search-results .site-content .products[class*="elements-grid"],
            .search-results .products.elements-grid,
            .search-results ul.products,
            .search-results .wd-products-holder .products {
                grid-template-columns: repeat(var(--wd-col-lg, 3), minmax(0, 1fr)) !important;
                display: grid !important;
                gap: 24px !important;
                width: 100% !important;
            }

            .search-results .products .product-grid-item,
            .search-results .product-grid-item,
            .search-results .products .product {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                flex: 1 1 100% !important;
                box-sizing: border-box !important;
            }

            .search-results .product-grid-item .product-element-top,
            .search-results .product-grid-item .product-image-link,
            .search-results .product-element-top,
            .search-results .product-image-link,
            .search-results .wd-post-thumb,
            .search-results .wd-post-img,
            .search-results .post-img-wrapp {
                width: 100% !important;
                height: 250px !important;
                min-height: 250px !important;
                max-height: 250px !important;
                padding: 8px !important;
                margin-bottom: 12px !important;
                box-sizing: border-box !important;
                background: #ffffff !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .search-results .product-grid-item .product-element-top img,
            .search-results .product-grid-item .product-image-link img,
            .search-results .product-element-top img,
            .search-results .product-image-link img,
            .search-results .wd-post-thumb img,
            .search-results .wd-post-img img,
            .search-results .post-img-wrapp img {
                width: 100% !important;
                height: 100% !important;
                max-height: 234px !important;
                max-width: 100% !important;
                object-fit: contain !important;
                margin: 0 auto !important;
            }
        }

        .search-results .wd-entities-title,
        .search-results .product-grid-item .wd-entities-title,
        .search-results .product-grid-item .product-title {
            font-size: 14px !important;
            line-height: 1.35 !important;
            min-height: 40px !important;
            max-height: none !important;
            height: auto !important;
            display: block !important;
            overflow: visible !important;
            text-overflow: unset !important;
            white-space: normal !important;
            word-break: break-word !important;
            margin-bottom: 6px !important;
        }



/* Fullscreen Search Modal & Suggestions - 5 Products Per Row, Same Card Size with Widen Container */
.wd-search-full-screen .wd-search-wrapper,
.wd-search-full-screen-2 .wd-search-wrapper,
.wd-search-full-screen .container,
.wd-search-full-screen-2 .container,
.wd-search-full-screen .wd-search-area,
.wd-search-full-screen-2 .wd-search-area,
.wd-search-full-screen .wd-dropdown-results,
.wd-search-full-screen-2 .wd-dropdown-results,
.wd-search-full-screen .wd-search-results,
.wd-search-full-screen-2 .wd-search-results {
    max-width: 1400px !important;
    width: 95vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wd-search-full-screen .wd-suggestions-group,
.wd-search-full-screen-2 .wd-suggestions-group,
.wd-suggestions-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
}

@media (min-width: 1200px) {
    .wd-search-full-screen .wd-suggestion,
    .wd-search-full-screen-2 .wd-suggestion,
    .wd-suggestions-group .wd-suggestion {
        width: calc(20% - 13px) !important;
        flex: 0 0 calc(20% - 13px) !important;
        max-width: calc(20% - 13px) !important;
        height: 335px !important;
        min-height: 335px !important;
        max-height: 335px !important;
        position: relative !important;
        padding: 12px 14px 34px !important;
        box-sizing: border-box !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 6px !important;
        background-color: #ffffff !important;
    }

    .wd-search-full-screen .wd-suggestion-thumb,
    .wd-search-full-screen-2 .wd-suggestion-thumb,
    .wd-suggestions-group .wd-suggestion-thumb {
        width: 100% !important;
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        background-color: #ffffff !important;
        margin-bottom: 8px !important;
        margin-inline-end: 0 !important;
        padding: 4px !important;
        box-sizing: border-box !important;
    }

    .wd-search-full-screen .wd-suggestion-thumb img,
    .wd-search-full-screen-2 .wd-suggestion-thumb img,
    .wd-suggestions-group .wd-suggestion-thumb img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 192px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

@media (max-width: 1199px) and (min-width: 900px) {
    .wd-search-full-screen .wd-suggestion,
    .wd-search-full-screen-2 .wd-suggestion,
    .wd-suggestions-group .wd-suggestion {
        width: calc(25% - 12px) !important;
        flex: 0 0 calc(25% - 12px) !important;
        max-width: calc(25% - 12px) !important;
        height: 325px !important;
        min-height: 325px !important;
        max-height: 325px !important;
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    .wd-search-full-screen .wd-suggestion,
    .wd-search-full-screen-2 .wd-suggestion,
    .wd-suggestions-group .wd-suggestion {
        width: calc(33.333% - 11px) !important;
        flex: 0 0 calc(33.333% - 11px) !important;
        max-width: calc(33.333% - 11px) !important;
        height: 315px !important;
    }
}



        /* ==========================================================================
           Widen Entire Main Live Search Dropdown to 1250px to Fit 5 Full-Sized Cards
           ========================================================================== */
        .wd-search-form .wd-dropdown-results,
        .whb-general-header .wd-dropdown-results,
        .whb-header-bottom .wd-dropdown-results,
        .wd-search-results.wd-dropdown-results,
        .whb-header .wd-dropdown-results,
        .whb-header .autocomplete-suggestions,
        .wd-search-full-screen .wd-dropdown-results,
        .wd-search-full-screen-2 .wd-dropdown-results,
        .wd-search-full-screen .wd-search-results,
        .wd-search-full-screen-2 .wd-search-results,
        .wd-search-full-screen .wd-search-wrapper,
        .wd-search-full-screen-2 .wd-search-wrapper {
            position: absolute !important;
            top: calc(100% + 8px) !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            right: auto !important;
            width: 1250px !important;
            min-width: 1100px !important;
            max-width: calc(100vw - 40px) !important;
            padding: 20px !important;
            border-radius: 12px !important;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22) !important;
            border: 1px solid #E2E8F0 !important;
            background: #ffffff !important;
            max-height: 540px !important;
            overflow-y: auto !important;
            z-index: 100005 !important;
            box-sizing: border-box !important;
        }

        .wd-dropdown-results .wd-suggestions-group,
        .wd-search-full-screen .wd-suggestions-group,
        .wd-search-full-screen-2 .wd-suggestions-group,
        .wd-suggestions-group {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: stretch !important;
            justify-content: flex-start !important;
            gap: 16px !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }

        @media (min-width: 1200px) {
            .wd-dropdown-results .wd-suggestion,
            .wd-search-full-screen .wd-suggestion,
            .wd-search-full-screen-2 .wd-suggestion,
            .wd-suggestions-group .wd-suggestion {
                width: calc(20% - 13px) !important;
                flex: 0 0 calc(20% - 13px) !important;
                max-width: calc(20% - 13px) !important;
                min-width: 215px !important;
                height: 340px !important;
                min-height: 340px !important;
                max-height: 340px !important;
                position: relative !important;
                padding: 12px 14px 34px !important;
                box-sizing: border-box !important;
                border: 1px solid rgba(0, 0, 0, 0.08) !important;
                border-radius: 8px !important;
                background-color: #ffffff !important;
                display: flex !important;
                flex-direction: column !important;
                transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
            }

            .wd-dropdown-results .wd-suggestion:hover,
            .wd-suggestions-group .wd-suggestion:hover {
                box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1) !important;
                border-color: #CBD5E1 !important;
            }

            .wd-dropdown-results .wd-suggestion-thumb,
            .wd-search-full-screen .wd-suggestion-thumb,
            .wd-search-full-screen-2 .wd-suggestion-thumb,
            .wd-suggestions-group .wd-suggestion-thumb {
                width: 100% !important;
                height: 190px !important;
                min-height: 190px !important;
                max-height: 190px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                overflow: hidden !important;
                background-color: #ffffff !important;
                margin-bottom: 8px !important;
                margin-inline-end: 0 !important;
                padding: 4px !important;
                box-sizing: border-box !important;
            }

            .wd-dropdown-results .wd-suggestion-thumb img,
            .wd-search-full-screen .wd-suggestion-thumb img,
            .wd-search-full-screen-2 .wd-suggestion-thumb img,
            .wd-suggestions-group .wd-suggestion-thumb img {
                width: 100% !important;
                height: 100% !important;
                max-width: 100% !important;
                max-height: 180px !important;
                object-fit: contain !important;
                margin: 0 auto !important;
                display: block !important;
            }
        }

        @media (max-width: 1199px) and (min-width: 900px) {
            .wd-search-form .wd-dropdown-results,
            .whb-general-header .wd-dropdown-results,
            .whb-header-bottom .wd-dropdown-results,
            .wd-search-results.wd-dropdown-results {
                width: 900px !important;
                min-width: 850px !important;
            }
            .wd-dropdown-results .wd-suggestion,
            .wd-suggestions-group .wd-suggestion {
                width: calc(25% - 12px) !important;
                flex: 0 0 calc(25% - 12px) !important;
                max-width: calc(25% - 12px) !important;
                min-width: 200px !important;
                height: 330px !important;
            }
        }

        @media (max-width: 899px) and (min-width: 600px) {
            .wd-search-form .wd-dropdown-results,
            .whb-general-header .wd-dropdown-results,
            .whb-header-bottom .wd-dropdown-results,
            .wd-search-results.wd-dropdown-results {
                width: calc(100vw - 30px) !important;
                min-width: 0 !important;
            }
            .wd-dropdown-results .wd-suggestion,
            .wd-suggestions-group .wd-suggestion {
                width: calc(33.333% - 11px) !important;
                flex: 0 0 calc(33.333% - 11px) !important;
                max-width: calc(33.333% - 11px) !important;
                height: 315px !important;
            }
        }



        /* ==========================================================================
           Spacious 1250px Dropdown with 5 Large, Non-Overlapping Product Cards
           ========================================================================== */
        .wd-search-form .wd-dropdown-results,
        .whb-general-header .wd-dropdown-results,
        .whb-header-bottom .wd-dropdown-results,
        .wd-search-results.wd-dropdown-results,
        .whb-header .wd-dropdown-results,
        .whb-header .autocomplete-suggestions,
        .wd-search-full-screen .wd-dropdown-results,
        .wd-search-full-screen-2 .wd-dropdown-results,
        .wd-search-full-screen .wd-search-results,
        .wd-search-full-screen-2 .wd-search-results,
        .wd-search-full-screen .wd-search-wrapper,
        .wd-search-full-screen-2 .wd-search-wrapper {
            position: absolute !important;
            top: calc(100% + 8px) !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            right: auto !important;
            width: 1250px !important;
            min-width: 1100px !important;
            max-width: calc(100vw - 40px) !important;
            padding: 20px !important;
            border-radius: 14px !important;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22) !important;
            border: 1px solid #E2E8F0 !important;
            background: #ffffff !important;
            max-height: 600px !important;
            overflow-y: auto !important;
            z-index: 100005 !important;
            box-sizing: border-box !important;
        }

        .wd-dropdown-results .wd-suggestions-group,
        .wd-search-full-screen .wd-suggestions-group,
        .wd-search-full-screen-2 .wd-suggestions-group,
        .wd-suggestions-group {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: stretch !important;
            justify-content: flex-start !important;
            gap: 16px !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }

        @media (min-width: 1200px) {
            .wd-dropdown-results .wd-suggestion,
            .wd-search-full-screen .wd-suggestion,
            .wd-search-full-screen-2 .wd-suggestion,
            .wd-suggestions-group .wd-suggestion {
                width: calc(20% - 13px) !important;
                flex: 0 0 calc(20% - 13px) !important;
                max-width: calc(20% - 13px) !important;
                min-width: 215px !important;
                height: 380px !important;
                min-height: 380px !important;
                max-height: 380px !important;
                position: relative !important;
                padding: 12px 14px 16px !important;
                box-sizing: border-box !important;
                border: 1px solid #E2E8F0 !important;
                border-radius: 10px !important;
                background-color: #ffffff !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: flex-start !important;
                align-items: stretch !important;
                transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
            }

            .wd-dropdown-results .wd-suggestion:hover,
            .wd-suggestions-group .wd-suggestion:hover {
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
                border-color: #CBD5E1 !important;
            }

            /* Large, Generous Image Box */
            .wd-dropdown-results .wd-suggestion-thumb,
            .wd-search-full-screen .wd-suggestion-thumb,
            .wd-search-full-screen-2 .wd-suggestion-thumb,
            .wd-suggestions-group .wd-suggestion-thumb {
                width: 100% !important;
                min-width: 100% !important;
                max-width: 100% !important;
                height: 210px !important;
                min-height: 210px !important;
                max-height: 210px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                overflow: hidden !important;
                background-color: #ffffff !important;
                margin: 0 0 10px 0 !important;
                padding: 6px !important;
                box-sizing: border-box !important;
                flex-shrink: 0 !important;
            }

            .wd-dropdown-results .wd-suggestion-thumb img,
            .wd-search-full-screen .wd-suggestion-thumb img,
            .wd-search-full-screen-2 .wd-suggestion-thumb img,
            .wd-suggestions-group .wd-suggestion-thumb img {
                width: 100% !important;
                height: 100% !important;
                max-width: 100% !important;
                max-height: 200px !important;
                object-fit: contain !important;
                margin: 0 auto !important;
                display: block !important;
            }

            /* Text Content & Clean Multi-Line Title (No overlap) */
            .wd-dropdown-results .wd-suggestion-content,
            .wd-search-full-screen .wd-suggestion-content,
            .wd-search-full-screen-2 .wd-suggestion-content,
            .wd-suggestions-group .wd-suggestion-content {
                display: flex !important;
                flex-direction: column !important;
                flex: 1 1 auto !important;
                width: 100% !important;
                min-width: 0 !important;
                justify-content: space-between !important;
                position: static !important;
                padding: 0 !important;
                margin: 0 !important;
            }

            .wd-dropdown-results .wd-entities-title,
            .wd-search-full-screen .wd-entities-title,
            .wd-search-full-screen-2 .wd-entities-title,
            .wd-suggestions-group .wd-entities-title {
                font-size: 13.5px !important;
                line-height: 1.35 !important;
                font-weight: 600 !important;
                color: #1E293B !important;
                display: -webkit-box !important;
                -webkit-line-clamp: 3 !important;
                -webkit-box-orient: vertical !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                margin: 0 0 8px 0 !important;
                padding: 0 !important;
                height: auto !important;
                max-height: 55px !important;
            }

            /* Static Bottom Price - Never Overlaps */
            .wd-dropdown-results .wd-suggestion .price,
            .wd-search-full-screen .wd-suggestion .price,
            .wd-search-full-screen-2 .wd-suggestion .price,
            .wd-suggestions-group .price,
            .wd-dropdown-results .price {
                position: static !important;
                margin-top: auto !important;
                bottom: auto !important;
                left: auto !important;
                right: auto !important;
                padding: 0 !important;
                display: flex !important;
                flex-direction: column !important;
                gap: 2px !important;
                line-height: 1.25 !important;
                width: 100% !important;
            }
        }

        @media (max-width: 1199px) and (min-width: 900px) {
            .wd-search-form .wd-dropdown-results,
            .whb-general-header .wd-dropdown-results,
            .whb-header-bottom .wd-dropdown-results,
            .wd-search-results.wd-dropdown-results {
                width: 900px !important;
                min-width: 850px !important;
            }
            .wd-dropdown-results .wd-suggestion,
            .wd-suggestions-group .wd-suggestion {
                width: calc(25% - 12px) !important;
                flex: 0 0 calc(25% - 12px) !important;
                max-width: calc(25% - 12px) !important;
                min-width: 200px !important;
                height: 360px !important;
            }
            .wd-dropdown-results .wd-suggestion-thumb {
                height: 190px !important;
            }
            .wd-dropdown-results .wd-suggestion-thumb img {
                max-height: 180px !important;
            }
        }
/* ==========================================================================
   ABOUT US PAGE ENHANCED STYLING - BY PROS FOR PROS WHOLESALE (WOO BACKBAR)
   ========================================================================== */
.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.about-hero-subhead {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 860px;
    margin: 0 auto 30px auto;
}
.about-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 35px 0;
}
.about-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
    border-color: #e2e8f0;
}
.about-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.about-card-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}
.about-card-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* Comparison Table */
.about-comp-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    margin: 40px 0;
    overflow-x: auto;
}
.about-comp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    min-width: 600px;
}
.about-comp-table th {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
}
.about-comp-table th.col-feature {
    width: 26%;
    color: #1e293b;
}
.about-comp-table th.col-them {
    width: 37%;
    color: #64748b;
    background: #f8fafc;
    border-top-left-radius: 8px;
}
.about-comp-table th.col-us {
    width: 37%;
    color: #0f172a;
    background: #e0f2fe;
    border-top-right-radius: 8px;
    position: relative;
}
.about-comp-table th.col-us .pro-tag {
    position: absolute;
    top: -12px;
    right: 15px;
    background: #0284c7;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
}
.about-comp-table td {
    padding: 18px 20px;
    font-size: 14.5px;
    line-height: 1.55;
    border-bottom: 1px solid #f1f5f9;
}
.about-comp-table tr:last-child td {
    border-bottom: none;
}
.about-comp-table td.col-feature {
    font-weight: 600;
    color: #0f172a;
}
.about-comp-table td.col-them {
    color: #64748b;
    background: #f8fafc;
}
.about-comp-table td.col-us {
    color: #0369a1;
    font-weight: 600;
    background: #f0f9ff;
}
.about-cross {
    color: #ef4444;
    font-weight: bold;
    margin-right: 6px;
}
.about-check {
    color: #0284c7;
    font-weight: bold;
    margin-right: 6px;
}

/* Stats Counter Row */
.about-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    background: #0f172a;
    color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
}
.about-stat-item {
    flex: 1 1 200px;
    text-align: center;
    padding: 10px;
}
.about-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1.1;
    margin-bottom: 8px;
}
.about-stat-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* CTA Box */
.about-cta-card {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 55px 30px;
    text-align: center;
    margin: 50px 0 20px 0;
    box-shadow: 0 10px 35px rgba(2, 132, 199, 0.25);
}
.about-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.about-btn-white {
    background: #ffffff !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
    padding: 14px 30px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12) !important;
}
.about-btn-white:hover {
    background: #f8fafc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
    color: #0284c7 !important;
}
.about-btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.25s ease !important;
}
.about-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   Static Sticky Header & Search Cleanups (Desktop & Mobile)
   ========================================================================== */

/* Remove search field from secondary/purple static navigation bar */
.whb-header-bottom .wd-search-form,
.whb-header-bottom .searchform,
.wd-header-cats ~ .wd-search-form,
.whb-navigation .wd-search-form,
.wd-product-header .wd-search-form,
.wd-bulk-table-filter-wrap {
    display: none !important;
}

/* Fixed Static Header with Main Search Bar (Desktop & Mobile) */
header.whb-header,
.whb-main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

body.admin-bar header.whb-header,
body.admin-bar .whb-main-header {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar header.whb-header,
    body.admin-bar .whb-main-header {
        top: 46px !important;
    }
}

body {
    padding-top: 135px !important;
}

@media (max-width: 1024px) {
    body {
        padding-top: 70px !important;
    }
}

/* Reset inner intermediate wrappers to prevent double popups */
.wd-search-dropdown .wd-search-results-wrapper,
.wd-dropdown-results .wd-scroll-content,
.wd-search-results .wd-scroll-content,
.wd-dropdown-results .autocomplete-suggestions,
.wd-search-results .autocomplete-suggestions,
.autocomplete-suggestions,
.wd-scroll-content {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    z-index: auto !important;
}

/* Hide 3rd-party AWS popup */
.aws-search-result,
.aws-container .aws-search-result,
div.aws-search-result,
.aws_result_scroll {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
}

/* Remove Category Option on Search Bar Globally */
.wd-search-cat,
.search-by-category,
.searchform select[name="product_cat"],
.wd-dropdown-search-cat,
.wd-search-cat-btn,
.dropdown_product_cat {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

/* Unhide Woodmart native live search dropdown */
.wd-search-results-wrapper,
.wd-dropdown-results,
.autocomplete-suggestions,
.wd-search-results {
    pointer-events: auto !important;
    z-index: 99999 !important;
}

form.searchform.wd-with-cat,
.wd-search-form.wd-with-cat .searchform,
.wd-search-form .searchform {
    padding-right: 0 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Guarantee all search fields are clickable, focusable, and typed text is visible */
form.searchform input[type="text"],
form.searchform input.s,
.wd-search-form input[type="text"],
.wd-header-search-form input[type="text"],
input[name="s"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 2 !important;
    color: #222222 !important;
    background-color: #ffffff !important;
    cursor: text !important;
    -webkit-user-select: text !important;
    user-select: text !important;
    height: 42px !important;
    line-height: 42px !important;
    padding-left: 16px !important;
    padding-right: 50px !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   GLOBAL HEADER TOOLS ALIGNMENT (FORCE CART NEXT TO COMPARE)
   ========================================================================== */

/* 1. Ensure main header flex row allows full width and no wrapping on desktop */
@media (min-width: 769px) {
    html body header.whb-header .whb-general-header .whb-flex-row,
    html body .whb-main-header .whb-general-header .whb-flex-row,
    html body .whb-general-header .whb-flex-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        overflow: visible !important;
    }

    /* 2. Prevent search bar column from consuming right tools space */
    html body .whb-general-header .whb-col-center {
        flex: 0 1 480px !important;
        max-width: 480px !important;
        overflow: visible !important;
    }

    /* 3. Reset right header column flex container */
    html body header.whb-header .whb-col-right,
    html body .whb-main-header .whb-col-right,
    html body .whb-general-header .whb-col-right,
    html body .whb-header-bottom .whb-col-right,
    html body .whb-clone .whb-col-right,
    html body .whb-column.whb-col-right {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 12px !important;
        margin-left: auto !important;
        overflow: visible !important;
    }

    /* 4. Reset margins and positioning on ALL tool items inside right header column */
    html body header.whb-header .whb-col-right > *,
    html body .whb-general-header .whb-col-right > *,
    html body .whb-col-right .wd-tools-element,
    html body .whb-col-right .wd-header-compare,
    html body .whb-col-right .wd-header-cart,
    html body .whb-col-right .wd-header-my-account,
    html body .whb-col-right .wd-header-wishlist,
    html body .whb-col-right .woodmart-shopping-cart,
    html body .whb-col-right .woodmart-compare-info-widget {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        float: none !important;
        display: inline-flex !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* 5. Explicitly pull Cart button immediately next to Compare button when static / sticky */
html body.whb-scrolled-down .whb-col-right .wd-header-cart,
html body.scrolled-header-sticky .whb-col-right .wd-header-cart,
html body .whb-scrolled-down .wd-header-cart,
html body .scrolled-header-sticky .wd-header-cart,
html body .whb-sticked .wd-header-cart,
html body .whb-clone .wd-header-cart {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 6. Remove duplicate far-right cart button on static/scrolled header */
@media (min-width: 769px) {
    html body .whb-general-header .whb-column_mobile4,
    html body .whb-general-header .whb-col-mobile.whb-mobile-right,
    html body .whb-general-header .whb-trk5sfmvib0ch1s1qbtc,
    html body .whb-column_mobile4,
    html body .whb-trk5sfmvib0ch1s1qbtc,
    html body .whb-general-header .whb-col-mobile,
    html body .whb-hidden-lg {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}

/* Sibling combinators: hide any mobile columns placed after desktop column10 */
html body .whb-column10 ~ .whb-column_mobile4,
html body .whb-column10 ~ .whb-column_mobile3,
html body .whb-column10 ~ .whb-column_mobile2,
html body .whb-column10 ~ .whb-col-mobile,
html body .whb-col-right ~ .whb-column_mobile4,
html body .whb-col-right ~ .whb-column_mobile3,
html body .whb-col-right ~ .whb-column_mobile2,
html body .whb-col-right ~ .whb-col-mobile,
html body .whb-col-right .wd-header-cart ~ .wd-header-cart,
html body.whb-scrolled-down .whb-col-right .wd-header-cart ~ .wd-header-cart,
html body.scrolled-header-sticky .whb-col-right .wd-header-cart ~ .wd-header-cart,
html body .whb-sticked .whb-col-right .wd-header-cart ~ .wd-header-cart,
html body .whb-clone .whb-col-right .wd-header-cart ~ .wd-header-cart,
html body .whb-header-bottom .wd-header-cart,
html body .whb-column13 .wd-header-cart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* 7. Remove duplicate far-right store logo on static/scrolled header */
@media (min-width: 769px) {
    html body .whb-general-header .whb-column_mobile3,
    html body .whb-general-header .whb-col-mobile.whb-mobile-center,
    html body .whb-general-header .whb-lt7vdqgaccmapftzurvt,
    html body .whb-column_mobile3,
    html body .whb-lt7vdqgaccmapftzurvt,
    html body .whb-general-header .whb-column_mobile2 {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}

html body .whb-col-right .site-logo,
html body .whb-col-right .wd-logo,
html body .whb-col-right a[rel="home"],
html body.whb-scrolled-down .whb-col-right .site-logo,
html body.whb-scrolled-down .whb-col-right .wd-logo,
html body.scrolled-header-sticky .whb-col-right .site-logo,
html body.scrolled-header-sticky .whb-col-right .wd-logo,
html body .whb-sticked .whb-col-right .site-logo,
html body .whb-clone .whb-col-right .site-logo,
html body .whb-header-bottom .site-logo,
html body .whb-header-bottom .wd-logo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* 8. On mobile (< 769px), keep desktop tools hidden so mobile header displays cleanly */
@media (max-width: 768px) {
    html body .whb-general-header .whb-column10,
    html body .whb-general-header .whb-column8,
    html body .whb-general-header .whb-column9,
    html body .whb-general-header .whb-col-right {
        display: none !important;
    }
}

/* ==========================================================================
   Homepage Bottom Product Lists: Crisp High-Resolution Thumbnails
   ========================================================================== */
.wd-product.wd-hover-small .wd-product-thumb {
    flex: 0 0 75px !important;
    width: 75px !important;
    max-width: 75px !important;
}

.wd-product.wd-hover-small .wd-product-thumb .wd-product-img-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 75px !important;
    height: 85px !important;
}

.wd-product.wd-hover-small .wd-product-thumb img {
    width: 75px !important;
    height: 85px !important;
    object-fit: contain !important;
    image-rendering: -webkit-optimize-contrast !important;
}

/* ==========================================================================
   Homepage Bottom Brands Gallery: Graphic Text Tiles & All Brands
   ========================================================================== */
.wd-brands.brands-widget .wd-carousel-inner {
    padding: 10px 0 !important;
}

.wd-brands.brands-widget .wd-carousel-item {
    padding: 6px 8px !important;
    box-sizing: border-box !important;
}

.wd-brands.brands-widget .wd-brand-item {
    min-height: 76px !important;
    height: 76px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.22s ease-in-out !important;
    text-align: center !important;
}

.wd-brands.brands-widget .wd-brand-item:hover {
    border-color: #7D2C68 !important;
    box-shadow: 0 6px 18px rgba(125, 44, 104, 0.15) !important;
    transform: translateY(-2px) !important;
    background: #faf8fa !important;
}

/* Graphic Text Typography for Brand Names */
.wd-brands.brands-widget .wd-brand-item a:not(.wd-fill) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center !important;
    text-decoration: none !important;
    font-family: var(--wd-title-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.9px !important;
    text-transform: uppercase !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    hyphens: auto !important;
    transition: color 0.2s ease !important;
    padding: 2px 4px !important;
}

.wd-brands.brands-widget .wd-brand-item:hover a:not(.wd-fill) {
    color: #7D2C68 !important;
}

/* Image-based Brands (Logos) */
.wd-brands.brands-widget .wd-brand-item img {
    max-height: 48px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.22s ease !important;
}

.wd-brands.brands-widget .wd-brand-item:hover img {
    transform: scale(1.05) !important;
}

/* ==========================================================================
   Footer: Backbar Direct Branding, Contact & Layout
   ========================================================================== */
#wd-004a3ea4 .wd-block-image img {
    max-width: 240px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

#wd-54af1763 {
    max-width: 520px !important;
    line-height: 1.65 !important;
    color: #64748b !important;
    font-size: 14px !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
}

#wd-bbd922a4 .wd-list-content,
#wd-bbd922a4 .wd-list-content a {
    color: #334155 !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

#wd-bbd922a4 .wd-list-content a:hover {
    color: #7D2C68 !important;
}

/* ==========================================================================
   Footer: Useful Links Styling (Unconditionally 100% Visible on all devices)
   ========================================================================== */
#wd-d44776fd {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#wd-d44776fd h5.title,
#wd-d44776fd h5.wp-block-wd-title,
#wd-d44776fd #wd-b82e9780 {
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    color: #0f172a !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    text-transform: uppercase !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#wd-d44776fd .wp-block-wd-menu-list,
#wd-d44776fd .sub-sub-menu,
#wd-d44776fd ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    box-shadow: none !important;
    background: transparent !important;
}

#wd-d44776fd .sub-sub-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 28px !important;
}

@media (max-width: 600px) {
    #wd-d44776fd .sub-sub-menu {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

#wd-d44776fd .sub-sub-menu li,
#wd-d44776fd .wp-block-wd-menu-list-item,
#wd-d44776fd li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    list-style: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#wd-d44776fd .sub-sub-menu li a,
#wd-d44776fd .wp-block-wd-menu-list-item a,
#wd-d44776fd a {
    display: inline-block !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

#wd-d44776fd .sub-sub-menu li a:hover,
#wd-d44776fd .wp-block-wd-menu-list-item a:hover,
#wd-d44776fd a:hover {
    color: #7D2C68 !important;
    transform: translateX(2px) !important;
}

/* ============================================================
   Slide-out Mini Cart: Allow 3 Lines for Product Description / Title
   ============================================================ */
.cart-widget-side .cart-info .wd-entities-title,
.cart-widget-side .cart-info .wd-entities-title a,
.cart-widget-side .cart-info .wd-entities-title p,
.cart-widget-side .woocommerce-mini-cart-item .wd-entities-title,
.cart-widget-side .cart-info .product-description,
.cart-widget-side .cart-info .product-name,
.woocommerce-mini-cart .cart-info .wd-entities-title,
.woocommerce-mini-cart .cart-info .wd-entities-title a,
.woocommerce-mini-cart .cart-info .wd-entities-title p,
.woocommerce-mini-cart .cart-info .product-description,
.shopping-cart-widget-body .cart-info .wd-entities-title,
.widget_shopping_cart .cart-info .wd-entities-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.35 !important;
    max-height: calc(1.35em * 3) !important;
    min-height: 0 !important;
    word-break: break-word !important;
    white-space: normal !important;
}




/* ==========================================================================
   SABER ALL-CATEGORIES MEGA MODAL DROPDOWN
   ========================================================================== */

/* Make the header row container the positioning context for the full-width modal */
.whb-header-bottom .container {
    position: relative !important;
}

.whb-header-bottom .wd-header-cats.saber-cats-nav-wrapper {
    position: static !important; /* Allows modal to position relative to .container */
}

/* ==========================================================================
   Saber Categories Mega Modal - Compact 8-Card Grid (Zero Scrolling)
   ========================================================================== */
.whb-header-bottom .container {
    position: relative !important;
}
.whb-header-bottom .wd-header-cats.saber-cats-nav-wrapper {
    position: static !important;
}

.wd-dropdown-cats.saber-categories-modal,
.whb-header-bottom .wd-dropdown-cats.saber-categories-modal,
[class*="color-scheme-light"] .wd-dropdown-cats.saber-categories-modal,
.color-scheme-light .wd-dropdown-cats.saber-categories-modal {
    --wd-text-color: #334155 !important;
    --wd-title-color: #0f172a !important;
    --wd-link-color: #334155 !important;
    --wd-link-color-hover: #7D2C68 !important;
    --color-gray-800: #1e293b !important;
    --color-gray-900: #0f172a !important;
    position: absolute !important;
    top: 100% !important;
    left: 15px !important;
    right: 15px !important;
    width: calc(100% - 30px) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    z-index: 100000 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s ease-out !important;
    color: #334155 !important;
}

.wd-header-cats.saber-cats-nav-wrapper:hover .wd-dropdown-cats.saber-categories-modal:before,
.wd-dropdown-cats.saber-categories-modal:before {
    content: '' !important;
    position: absolute !important;
    top: -20px !important;
    left: 0 !important;
    right: 0 !important;
    height: 25px !important;
    background: transparent !important;
    z-index: 100001 !important;
}

.wd-header-cats.saber-cats-nav-wrapper:hover .wd-dropdown-cats.saber-categories-modal,
.wd-header-cats.saber-cats-nav-wrapper.wd-opened .wd-dropdown-cats.saber-categories-modal,
.wd-dropdown-cats.saber-categories-modal:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.saber-modal-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.saber-modal-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}

.saber-modal-col {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top-width: 4px !important;
    border-top-style: solid !important;
    border-radius: 8px !important;
    padding: 14px 16px 16px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.saber-modal-col:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
}

.saber-cat-head {
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
}
.saber-cat-head-link {
    display: block !important;
    text-decoration: none !important;
}
.saber-cat-title {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    line-height: 1.25 !important;
    display: block !important;
}

.saber-cat-sublist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.saber-subcat-row {
    margin: 0 !important;
    padding: 4px 0 !important;
    list-style: none !important;
}
.saber-subcat-link {
    display: block !important;
    padding: 2px 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}
.saber-subcat-label {
    color: #334155 !important;
    transition: color 0.15s ease !important;
}
.saber-subcat-link:hover,
.saber-subcat-link:hover .saber-subcat-label {
    color: #7D2C68 !important;
    transform: translateX(2px) !important;
    font-weight: 600 !important;
}

@media (max-width: 1024px) {
    .saber-modal-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
    }
    .saber-modal-col {
        padding: 10px 12px !important;
    }
}

        /* Shipping Insurance Tooltip Popup in Checkout */
        body table.woocommerce-checkout-review-order-table,
        body .woocommerce-checkout-review-order-table,
        body .woocommerce-checkout-review-order-table tbody,
        body .woocommerce-checkout-review-order-table tfoot,
        body .woocommerce-checkout-review-order-table tr.shipping-insurance,
        body .woocommerce-checkout-review-order-table tr.shipping-insurance td,
        body .woocommerce-checkout-review-order-table tr.shipping-insurance th,
        .shipping-insurance,
        .shipping-insurance td,
        .shipping-insurance-option {
            overflow: visible !important;
        }

        body .woocommerce-help-tip {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 18px !important;
            height: 18px !important;
            margin-left: 6px !important;
            border-radius: 50% !important;
            background-color: #e2e8f0 !important;
            color: #475569 !important;
            font-size: 12px !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            position: relative !important;
            vertical-align: middle !important;
            transition: background-color 0.2s ease, color 0.2s ease !important;
        }

        body .woocommerce-help-tip:hover,
        body .woocommerce-help-tip:focus {
            background-color: var(--bd-plum, #7D2C68) !important;
            color: #ffffff !important;
        }

        body .woocommerce-help-tip::before {
            content: '?' !important;
            line-height: 1 !important;
        }

        body .shipping-insurance .woocommerce-help-tip:hover::after,
        body .shipping-insurance .woocommerce-help-tip:focus::after,
        body .woocommerce-help-tip:hover::after,
        body .woocommerce-help-tip:focus::after {
            content: attr(data-tip) !important;
            position: absolute !important;
            bottom: calc(100% + 10px) !important;
            top: auto !important;
            right: -10px !important;
            left: auto !important;
            transform: none !important;
            background-color: #1e293b !important;
            color: #ffffff !important;
            padding: 10px 14px !important;
            border-radius: 6px !important;
            white-space: normal !important;
            min-width: 220px !important;
            max-width: min(320px, 85vw) !important;
            width: max-content !important;
            font-size: 12.5px !important;
            line-height: 1.45 !important;
            font-weight: 500 !important;
            text-align: left !important;
            letter-spacing: normal !important;
            text-transform: none !important;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35), 0 8px 10px -6px rgba(0, 0, 0, 0.2) !important;
            z-index: 999999 !important;
            pointer-events: none !important;
        }


/* ==========================================================================
   SLIDE-OUT MINI CART: HIGH-VISIBILITY QUANTITY STYLING
   ========================================================================== */
.cart-widget-side .cart-info span.quantity,
.shopping-cart-widget-body .cart-info span.quantity,
.woocommerce-mini-cart .cart-info span.quantity,
.widget_shopping_cart .cart-info span.quantity {
    display: block !important;
    color: #0f172a !important; /* Bold, high-contrast dark slate */
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top: 5px !important;
    line-height: 1.4 !important;
}

.cart-widget-side .cart-info span.quantity .amount,
.shopping-cart-widget-body .cart-info span.quantity .amount,
.woocommerce-mini-cart .cart-info span.quantity .amount,
.widget_shopping_cart .cart-info span.quantity .amount {
    color: var(--wd-primary-color, #7D2C68) !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
}

.cart-widget-side .cart-info div.quantity input.qty,
.shopping-cart-widget-body .cart-info div.quantity input.qty,
.woocommerce-mini-cart .cart-info div.quantity input.qty {
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}


/* ==========================================================================
   B2B ACTIVE SIGN: SLOW NOTICEABLE PULSE ANIMATION
   ========================================================================== */
@keyframes b2bSignSlowPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7), 0 2px 8px rgba(0, 0, 0, 0.18);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 7px rgba(0, 230, 118, 0), 0 4px 14px rgba(0, 230, 118, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0), 0 2px 8px rgba(0, 0, 0, 0.18);
    }
}

.menu-item-b2b-toggle > a.b2b-nav-active,
.thirtyoff-b2b-toggle.b2b-active,
.b2b-nav-active,
.b2b-screen-toggle-btn.b2b-active,
.b2b-minicart-btn.b2b-active {
    animation: b2bSignSlowPulse 2.4s infinite ease-in-out !important;
    transform-origin: center center !important;
}

.menu-item-b2b-toggle > a.b2b-nav-active:hover,
.thirtyoff-b2b-toggle.b2b-active:hover,
.b2b-nav-active:hover {
    animation-play-state: paused !important;
    transform: scale(1.05) translateY(-1px) !important;
}
