/* WOOCOMMERCE HIDE FILTERS BUTTON STYLING */
.woocommerce .nectar-shop-filters .nectar-shop-filter-trigger {
    color: #252F3F !important;
    background: white !important;
    border: 1px solid #D2D6DC !important;
    border-radius: 50px !important;
    padding: 10px 10px !important;
    transition: all 0.3s ease !important;
}

.woocommerce .nectar-shop-filters .nectar-shop-filter-trigger:hover {
    background: #f8f9fa !important;
    border-color: #252F3F !important;
}

/* WOOCOMMERCE DEFAULT SORTING DROPDOWN STYLING */
.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-ordering .select2-container--default .select2-selection--single {
    color: #252F3F !important;
    background: white !important;
    border: 1px solid #D2D6DC !important;
    border-radius: 50px !important;
    padding: 10px 45px 10px 45px !important;
    transition: all 0.3s ease !important;
    min-height: auto !important;
    height: auto !important;
    line-height: 1.4 !important;
    font-size: 14px !important;
    max-width: 140px !important;
    width: auto !important;
}

.woocommerce .woocommerce-ordering .select2-container--default .select2-selection--single {
    border-radius: 50px !important;
    height: auto !important;
    min-height: auto !important;
}

.woocommerce .woocommerce-ordering .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #252F3F !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1.4 !important;
    display: block !important;
    text-align: center !important;
}

.woocommerce .woocommerce-ordering .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 18px !important;
    height: 100% !important;
    width: 20px !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    position: absolute !important;
}

.woocommerce .woocommerce-ordering .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

/* Arrow using ::after pseudo-element */
.woocommerce .woocommerce-ordering .select2-container--default .select2-selection--single .select2-selection__arrow::after {
    content: '' !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 5px solid #252F3F !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin-right: 0 !important;
}

.woocommerce .woocommerce-ordering .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #252F3F !important;
}

.woocommerce .woocommerce-ordering .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::after {
    border-top: none !important;
    border-bottom: 5px solid #252F3F !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    margin-top: -2px !important;
}

.woocommerce .woocommerce-ordering .select2-container--default .select2-selection--single:hover {
    background: #f8f9fa !important;
    border-color: #252F3F !important;
}

/* Hide breadcrumb on shop pages */
.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb {
    display: none !important;
}

/* Product count styling when moved to right-side (before Default sorting) */
.woocommerce .nectar-shop-header-bottom .right-side .woocommerce-result-count,
.woocommerce-page .nectar-shop-header-bottom .right-side .woocommerce-result-count,
body.woocommerce .nectar-shop-header-bottom .right-side .woocommerce-result-count,
.woocommerce .nectar-shop-header-bottom .woocommerce-result-count,
.woocommerce-page .nectar-shop-header-bottom .woocommerce-result-count,
body.woocommerce .nectar-shop-header-bottom .woocommerce-result-count {
    position: relative !important;
    float: none !important;
    margin: 0 20px 0 0 !important;
    padding: 0 !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    display: block !important;
    width: auto !important;
    text-align: left !important;
    order: -1 !important;
    font-family: "Graphik", Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 20px !important;
    line-height: 19.2px !important;
    letter-spacing: -0.16px !important;
    vertical-align: middle !important;
    color: #1B2550 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Remove result count from left-side */
.woocommerce .nectar-shop-header-bottom .left-side .woocommerce-result-count,
.woocommerce-page .nectar-shop-header-bottom .left-side .woocommerce-result-count,
body.woocommerce .nectar-shop-header-bottom .left-side .woocommerce-result-count {
    display: none !important;
}

/* Left-side container layout */
.woocommerce .nectar-shop-header-bottom .left-side {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Remove result count from right-side if still there */
.woocommerce .nectar-shop-header-bottom .right-side .woocommerce-result-count {
    display: none !important;
}

/* Clear Filters Button Styling */
.ea-clear-filters-wrapper {
    width: 100% !important;
    margin: 20px 0 !important;
    padding: 0 !important;
}

.ea-clear-filters-btn,
button.ea-clear-filters-btn,
.ea-clear-filters-wrapper .ea-clear-filters-btn {
    width: 100% !important;
    padding: 12px 20px !important;
    background: white !important;
    color: #252F3F !important;
    border: 1px solid #D2D6DC !important;
    border-radius: 100px !important;
    -webkit-border-radius: 100px !important;
    -moz-border-radius: 100px !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 15.8px !important;
    line-height: 20px !important;
    letter-spacing: -0.32px !important;
    text-align: center !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.ea-clear-filters-btn:hover {
    background: #f8f9fa !important;
    border-color: #252F3F !important;
}

/* CATEGORY HEADER SEARCH – EA */

.ea-cat-search-wrap{
    margin-top: -40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 5;
}

.ea-cat-search{
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
}

.ea-cat-search input[type="search"]{
    flex: 1;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 18px;
    color: #1e293b;
    font-style: italic;
}

.ea-cat-search input::placeholder{
    color: rgba(30, 41, 59, 0.6);
}

.ea-cat-search button{
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 0;
    background: rgba(0,0,0,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ea-cat-search button:hover{
    background: rgba(0,0,0,.1);
}

.ea-cat-search .ea-search-icon{
    stroke: #64748b;
}

/* Mobile */
@media (max-width: 768px){
    .ea-cat-search{
        margin: 0 16px;
        padding: 14px;
    }
}

/* HEADER INLINE SEARCH – EA */

/* Hide Salient overlay search trigger/icon */
#header-outer .search,
#header-outer .nectar-search,
#header-outer a[href="#search-outer"],
#header-outer a[href="#searchbox"],
#header-outer .search-button,
#header-outer #search-btn {
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
}

/* Keep the top-right actions aligned */
#header-outer header#top nav.right-side ul.buttons,
header#top nav.right-side ul.buttons {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* Search list item sizing */
#header-outer .ea-inline-search-li {
  display: flex;
  align-items: center;
  margin: 0 !important;
}

/* Inline search UI */
#header-outer .ea-inline-search-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(0,0,0,.25);
  border-radius:6px;
  padding:0px 20px 0px 10px;
  width:470px;
  background:#fff;
}

#header-outer .ea-inline-search-wrap input{
  border:0 !important;
  outline:none !important;
  background:transparent !important;
  width:100%;
  box-shadow:none !important;
  font-size:15px;
  font-style: italic;
}

#header-outer .ea-inline-search-wrap button{
  border:0 !important;
  background:transparent !important;
  cursor:pointer;
  font-size:18px;
  opacity:.7;
}
#header-outer .ea-inline-search-wrap button:hover{ opacity:1; }

/* Responsive */
@media (max-width: 1100px){
  #header-outer .ea-inline-search-wrap { min-width: 320px; max-width: 520px; }
}
@media (max-width: 900px){
  #header-outer .ea-inline-search-wrap { min-width: 240px; max-width: 100%; }
}

/* Desktop only: hide Salient default search trigger/icon (we replace it with inline search) */
@media (min-width: 1001px){
  #header-outer .search,
  #header-outer .nectar-search,
  #header-outer a[href="#search-outer"],
  #header-outer a[href="#searchbox"],
  #header-outer .search-button,
  #header-outer #search-btn {
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
  }
}

/* Mobile: ensure Salient default search is visible/clickable */
@media (max-width: 1000px){
  #header-outer .search,
  #header-outer .nectar-search,
  #header-outer a[href="#search-outer"],
  #header-outer a[href="#searchbox"],
  #header-outer .search-button,
  #header-outer #search-btn {
    opacity: 1 !important;
    pointer-events: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
  }

  /* Also hide our inline search on mobile just in case */
  #header-outer .ea-inline-search-li { display:none !important; }
}

@media (max-width: 1000px) {
 #header-outer a[href="#searchbox"] {  
        padding-top: 35px;
    }
}

#header-outer[data-format=centered-menu-bottom-bar] .span_3 #logo {
float:left;
}

/* Search overlay results text colors */
#search-outer .nectar-ajax-search-results .search-post-item h5,
#search-outer .nectar-ajax-search-results .search-post-item h5 a {
    color: #1a1a1a !important;
}

#search-outer .nectar-ajax-search-results .meta {
    color: #888 !important;
}

#search-outer .nectar-ajax-search-results .meta.meta-price,
#search-outer .nectar-ajax-search-results .meta.meta-price .price,
#search-outer .nectar-ajax-search-results .meta.meta-price .price .amount {
    color: #1a1a1a !important;
}

#search-outer .nectar-ajax-search-results .search-post-item a {
    color: inherit !important;
}

#search-outer .nectar-ajax-search-results ul.products li.product .woocommerce-loop-product__title,
#search-outer .nectar-ajax-search-results ul.products li.product .woocommerce-loop-product__title a {
    color: #1a1a1a !important;
}

#search-outer .nectar-ajax-search-results ul.products li.product .price,
#search-outer .nectar-ajax-search-results ul.products li.product .price .amount {
    color: #1a1a1a !important;
}

/* WOOCOMMERCE WIDGET FILTER COLLAPSE - ALL SCREEN SIZES */

/* CSS-ONLY TOGGLE: Hide when checkbox unchecked - sibling selector (works everywhere) */
.woocommerce #sidebar .widget.woocommerce > input.filter-toggle:not(:checked) ~ h4 ~ ul,
.woocommerce #sidebar .widget.woocommerce > input.filter-toggle:not(:checked) ~ ul,
.woocommerce #sidebar .widget.widget_product_tag_cloud > input.filter-toggle:not(:checked) ~ h4 ~ div,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav > input.filter-toggle:not(:checked) ~ ul.woocommerce-widget-layered-nav-list,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav > input.filter-toggle:not(:checked) ~ h4 ~ ul.woocommerce-widget-layered-nav-list {
    display: none !important;
}

/* Fallback with :has() for modern browsers */
.woocommerce #sidebar .widget.woocommerce:not(:has(input.filter-toggle:checked)) > ul,
.woocommerce #sidebar .widget.widget_product_tag_cloud:not(:has(input.filter-toggle:checked)) > div,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav:not(:has(input.filter-toggle:checked)) > ul.woocommerce-widget-layered-nav-list {
    display: none !important;
}

/* Override inline styles and theme defaults - ALL SCREEN SIZES - HIGHEST PRIORITY */
.woocommerce #sidebar .widget.woocommerce:not(.open-filter) > ul[style],
.woocommerce #sidebar .widget.woocommerce:not(.open-filter) > ul.woocommerce-widget-layered-nav-list[style],
.woocommerce #sidebar .widget.widget_product_tag_cloud:not(.open-filter) > div[style],
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav:not(.open-filter) > .woocommerce-widget-layered-nav-dropdown[style],
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav:not(.open-filter) > ul.woocommerce-widget-layered-nav-list[style],
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav:not(.open-filter) .woocommerce-widget-layered-nav-list[style] {
    display: none !important;
}

/* Force override even with inline display:block */
body.woocommerce #sidebar .widget.woocommerce:not(.open-filter) > ul[style*="display: block"],
body.woocommerce-page #sidebar .widget.woocommerce:not(.open-filter) > ul[style*="display: block"],
body.woocommerce #sidebar .widget.woocommerce:not(.open-filter) > ul.woocommerce-widget-layered-nav-list[style*="display: block"],
body.woocommerce-page #sidebar .widget.woocommerce:not(.open-filter) > ul.woocommerce-widget-layered-nav-list[style*="display: block"] {
    display: none !important;
}

/* CSS-ONLY TOGGLE: Show when checkbox checked - sibling selector (works everywhere) */
.woocommerce #sidebar .widget.woocommerce > input.filter-toggle:checked ~ h4 ~ ul,
.woocommerce #sidebar .widget.woocommerce > input.filter-toggle:checked ~ ul,
.woocommerce #sidebar .widget.widget_product_tag_cloud > input.filter-toggle:checked ~ h4 ~ div,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav > input.filter-toggle:checked ~ ul.woocommerce-widget-layered-nav-list,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav > input.filter-toggle:checked ~ h4 ~ ul.woocommerce-widget-layered-nav-list {
    display: block !important;
}

/* Fallback with :has() for modern browsers */
.woocommerce #sidebar .widget.woocommerce:has(input.filter-toggle:checked) > ul,
.woocommerce #sidebar .widget.widget_product_tag_cloud:has(input.filter-toggle:checked) > div,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav:has(input.filter-toggle:checked) > ul.woocommerce-widget-layered-nav-list {
    display: block !important;
}

/* Also support open-filter class for backwards compatibility */
.woocommerce #sidebar .widget.woocommerce.open-filter > ul,
.woocommerce #sidebar .widget.widget_product_tag_cloud.open-filter > div,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav.open-filter > ul.woocommerce-widget-layered-nav-list {
    display: block !important;
}

/* Override desktop restriction that forces widgets to always display - HIGHER SPECIFICITY */
@media only screen and (min-width: 1000px) {
    /* Force closed on desktop - override custom.php rule */
    body.woocommerce #sidebar .widget.woocommerce:not(.open-filter) > ul,
    body.woocommerce-page #sidebar .widget.woocommerce:not(.open-filter) > ul,
    body.woocommerce #sidebar .widget.widget_product_tag_cloud:not(.open-filter) > div,
    body.woocommerce-page #sidebar .widget.widget_product_tag_cloud:not(.open-filter) > div,
    body.woocommerce #sidebar .widget.woocommerce-widget-layered-nav:not(.open-filter) > .woocommerce-widget-layered-nav-dropdown,
    body.woocommerce-page #sidebar .widget.woocommerce-widget-layered-nav:not(.open-filter) > .woocommerce-widget-layered-nav-dropdown,
    body.woocommerce #sidebar .widget.woocommerce-widget-layered-nav:not(.open-filter) > ul.woocommerce-widget-layered-nav-list,
    body.woocommerce-page #sidebar .widget.woocommerce-widget-layered-nav:not(.open-filter) > ul.woocommerce-widget-layered-nav-list,
    body.woocommerce #sidebar .widget.woocommerce-widget-layered-nav:not(.open-filter) .woocommerce-widget-layered-nav-list,
    body.woocommerce-page #sidebar .widget.woocommerce-widget-layered-nav:not(.open-filter) .woocommerce-widget-layered-nav-list {
        display: none !important;
    }
    
    /* Override theme's forced display:block on desktop - even with inline styles */
    body.woocommerce #sidebar .widget.woocommerce:not(.open-filter) > ul[style],
    body.woocommerce-page #sidebar .widget.woocommerce:not(.open-filter) > ul[style],
    body.woocommerce #sidebar .widget.widget_product_tag_cloud:not(.open-filter) > div[style],
    body.woocommerce-page #sidebar .widget.widget_product_tag_cloud:not(.open-filter) > div[style] {
        display: none !important;
    }
    
    /* Show when open */
    body.woocommerce #sidebar .widget.woocommerce.open-filter > ul,
    body.woocommerce-page #sidebar .widget.woocommerce.open-filter > ul,
    body.woocommerce #sidebar .widget.widget_product_tag_cloud.open-filter > div,
    body.woocommerce-page #sidebar .widget.widget_product_tag_cloud.open-filter > div,
    body.woocommerce #sidebar .widget.woocommerce-widget-layered-nav.open-filter > .woocommerce-widget-layered-nav-dropdown,
    body.woocommerce-page #sidebar .widget.woocommerce-widget-layered-nav.open-filter > .woocommerce-widget-layered-nav-dropdown,
    body.woocommerce #sidebar .widget.woocommerce-widget-layered-nav.open-filter > ul.woocommerce-widget-layered-nav-list,
    body.woocommerce-page #sidebar .widget.woocommerce-widget-layered-nav.open-filter > ul.woocommerce-widget-layered-nav-list,
    body.woocommerce #sidebar .widget.woocommerce-widget-layered-nav.open-filter .woocommerce-widget-layered-nav-list,
    body.woocommerce-page #sidebar .widget.woocommerce-widget-layered-nav.open-filter .woocommerce-widget-layered-nav-list {
        display: block !important;
    }
}

/* Widget container styling - grey rounded boxes */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) {
    background: #F4F5F7;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter):hover {
    background: #F4F5F7;
}

/* Filter title styling - Typography - HIGHEST PRIORITY - Force Graphik */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4,
body.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4,
body.woocommerce-page #sidebar .widget.woocommerce:not(.widget_price_filter) h4,
#sidebar .widget.woocommerce:not(.widget_price_filter) h4,
.widget.woocommerce:not(.widget_price_filter) h4 {
    margin: 0 !important;
    padding: 14px 16px !important;
    font-family: "Graphik", Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 19.2px !important;
    letter-spacing: 0% !important;
    text-align: center !important;
    vertical-align: middle !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    user-select: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Add invisible checkbox before h4 for CSS-only toggle */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:before {
    content: '';
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* CSS-only toggle: Use checkbox input */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) {
    position: relative;
}

/* Checkbox toggle - positioned above h4 for clickability */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) input[type="checkbox"].filter-toggle {
    position: absolute !important;
    opacity: 0 !important;
    width: 100% !important;
    height: 50px !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Chevron icon container */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #1a1a1a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

/* Rotate chevron when filter is open (pointing down) */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter).open-filter h4:after {
    transform: rotate(180deg);
}

/* Remove old plus/minus icons */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:before {
    display: none;
}

/* Filter content container - padding and styling */
.woocommerce #sidebar .widget.woocommerce:not(.no-widget-title) > ul,
.woocommerce #sidebar .widget.widget_product_tag_cloud > div,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav > .woocommerce-widget-layered-nav-dropdown {
    padding: 12px 16px 16px 16px;
    margin: 0;
    background: transparent;
}

/* Filter list items styling */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) ul li:last-child {
    border-bottom: none;
}

/* Sub items typography - HIGH PRIORITY */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) ul li a,
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) ul li,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav ul li a,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav ul li,
.woocommerce #sidebar .widget.woocommerce.widget_product_categories ul li a,
.woocommerce #sidebar .widget.woocommerce.widget_product_categories ul li,
body.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) ul li a,
body.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) ul li {
    font-family: Inter, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 15.8px !important;
    line-height: 19.2px !important;
    letter-spacing: -0.16px !important;
    vertical-align: middle !important;
    color: inherit !important;
}

/* Hover effect on filter titles */
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:hover {
    color: #000;
}

/* Tag cloud widget styling */
.woocommerce #sidebar .widget.widget_product_tag_cloud {
    background: #F4F5F7;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
}

.woocommerce #sidebar .widget.widget_product_tag_cloud h4,
body.woocommerce #sidebar .widget.widget_product_tag_cloud h4,
#sidebar .widget.widget_product_tag_cloud h4 {
    margin: 0 !important;
    padding: 14px 16px !important;
    font-family: "Graphik", Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 19.2px !important;
    letter-spacing: 0% !important;
    text-align: center !important;
    vertical-align: middle !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    user-select: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 1 !important;
}

.woocommerce #sidebar .widget.widget_product_tag_cloud h4:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #1a1a1a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.woocommerce #sidebar .widget.widget_product_tag_cloud.open-filter h4:after {
    transform: rotate(180deg);
}

.woocommerce #sidebar .widget.widget_product_tag_cloud > div {
    padding: 12px 16px 16px 16px;
}

/* Layered nav widget styling */
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav {
    background: #F4F5F7;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
}

.woocommerce #sidebar .widget.woocommerce-widget-layered-nav h4,
body.woocommerce #sidebar .widget.woocommerce-widget-layered-nav h4,
#sidebar .widget.woocommerce-widget-layered-nav h4 {
    margin: 0 !important;
    padding: 14px 16px !important;
    font-family: "Graphik", Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 19.2px !important;
    letter-spacing: 0% !important;
    text-align: center !important;
    vertical-align: middle !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    user-select: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 1 !important;
}

.woocommerce #sidebar .widget.woocommerce-widget-layered-nav h4:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #1a1a1a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.woocommerce #sidebar .widget.woocommerce-widget-layered-nav.open-filter h4:after {
    transform: rotate(180deg);
}

.woocommerce #sidebar .widget.woocommerce-widget-layered-nav > .woocommerce-widget-layered-nav-dropdown,
.woocommerce #sidebar .widget.woocommerce-widget-layered-nav > ul {
    padding: 12px 16px 16px 16px;
}

/* Product categories widget */
.woocommerce #sidebar .widget.woocommerce.widget_product_categories {
    background: #F4F5F7;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
}

.woocommerce #sidebar .widget.woocommerce.widget_product_categories h4,
body.woocommerce #sidebar .widget.woocommerce.widget_product_categories h4,
#sidebar .widget.woocommerce.widget_product_categories h4 {
    margin: 0 !important;
    padding: 14px 16px !important;
    font-family: "Graphik", Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 19.2px !important;
    letter-spacing: 0% !important;
    text-align: center !important;
    vertical-align: middle !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    user-select: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 1 !important;
}

.woocommerce #sidebar .widget.woocommerce.widget_product_categories h4:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #1a1a1a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.woocommerce #sidebar .widget.woocommerce.widget_product_categories.open-filter h4:after {
    transform: rotate(180deg);
}

.woocommerce #sidebar .widget.woocommerce.widget_product_categories > ul {
    padding: 12px 16px 16px 16px;
}

/* WOOCOMMERCE PRODUCT CARD STYLING - Title at bottom left */
body.woocommerce ul.products li.product .product-wrap,
body.woocommerce-page ul.products li.product .product-wrap,
.woocommerce ul.products li.product .product-wrap,
.woocommerce-page ul.products li.product .product-wrap {
    position: relative !important;
    overflow: visible !important;
}

body.woocommerce ul.products li.product .product-wrap::after,
body.woocommerce-page ul.products li.product .product-wrap::after,
.woocommerce ul.products li.product .product-wrap::after,
.woocommerce-page ul.products li.product .product-wrap::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 100px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.15) 60%, transparent 100%) !important;
    border-radius: 10px !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

body.woocommerce ul.products li.product .product-meta,
body.woocommerce-page ul.products li.product .product-meta,
.woocommerce ul.products li.product .product-meta,
.woocommerce-page ul.products li.product .product-meta {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: 10 !important;
}

body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
body.woocommerce ul.products li.product .product-meta .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .product-meta .woocommerce-loop-product__title,
.woocommerce ul.products li.product .product-meta .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .product-meta .woocommerce-loop-product__title {
    position: static !important;
    margin: 0 !important;
    padding: 16px 20px !important;
    font-family: Graphik !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 19.6px !important;
    line-height: 21.78px !important;
    letter-spacing: -0.2px !important;
    vertical-align: middle !important;
    color: #ffffff !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

body.woocommerce ul.products li.product .woocommerce-loop-product__title a,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title a,
.woocommerce ul.products li.product .woocommerce-loop-product__title a,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title a,
body.woocommerce ul.products li.product .product-meta .woocommerce-loop-product__title a,
body.woocommerce-page ul.products li.product .product-meta .woocommerce-loop-product__title a,
.woocommerce ul.products li.product .product-meta .woocommerce-loop-product__title a,
.woocommerce-page ul.products li.product .product-meta .woocommerce-loop-product__title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

body.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title a:hover,
.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title a:hover,
body.woocommerce ul.products li.product .product-meta .woocommerce-loop-product__title a:hover,
body.woocommerce-page ul.products li.product .product-meta .woocommerce-loop-product__title a:hover,
.woocommerce ul.products li.product .product-meta .woocommerce-loop-product__title a:hover,
.woocommerce-page ul.products li.product .product-meta .woocommerce-loop-product__title a:hover {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

.products li.product.minimal .product-image-wrap .product-add-to-cart {
  z-index:99999 !important;
  }