/* ========================================
   HIDE POST DATE & AUTHOR
   ======================================== */
.entry-date,
.posted-on,
.date,
.published,
.updated,
.entry-meta .date,
.entry-meta .posted-on,
.post .date,
.single .date,
.ast-published-date,
.tribe-events-cal-links,
.entry-meta .byline,
.entry-meta .author,
.post-author,
.author-box,
.entry-author,
.author-info,
.posted-by,
.byline {
    display: none !important;
}

.author,
.author-name,
.author-link,
.entry-meta .author,
.byline .author,
.posted-by,
.wp-block-post-author,
.wp-block-post-author__name {
    display: none !important;
}

.entry-meta .posted-on,
.entry-meta .byline,
.entry-meta .author {
    display: none !important;
}

.wp-block-post-date {
    display: none !important;
}

.wp-block-post-author {
    display: none !important;
}

.wp-block-post-date + .wp-block-post-author,
.wp-block-post-author + .wp-block-post-date {
    display: none !important;
}

/* ========================================
   PRODUCT GRID – FORCE FLEX LAYOUT
   ======================================== */
.products,
ul.products,
.woocommerce div.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    /* remove any leftover block display */
    display: flex !important;
}

.products li.product,
ul.products li.product,
.woocommerce ul.products li.product {
    flex: 1 1 23% !important;
    min-width: 200px !important;
    max-width: 23% !important;
    background: white !important;
    border: 1px solid #e8e1d7 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    /* ensure visibility */
    opacity: 1 !important;
    visibility: visible !important;
}


/* ========================================
   FORCE VISIBILITY – ONLY FOR PRODUCT GRID
   (No generic display:block to avoid breaking layout)
   ======================================== */
.woocommerce ul.products,
.woocommerce div.products,
.products,
ul.products {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* Hide any loading overlays that might cover the grid */
.yith-wcan-filters-overlay,
.blockUI,
.loading,
.overlay,
.ajax-loading,
.woocommerce-loading {
    display: none !important;
}

/* Ensure product items are visible and flexed */
ul.products li.product,
.woocommerce ul.products li.product {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* ========================================
   YITH CATEGORY FILTER (Customize color and reset filters button)
   ======================================== */

:root{
	--yith-wcan-filters_colors_titles: #434343;
	--yith-wcan-filters_colors_background: #FFFFFF;
	--yith-wcan-filters_colors_accent: #00321f;
	--yith-wcan-filters_colors_accent_r: 0;
	--yith-wcan-filters_colors_accent_g: 50;
	--yith-wcan-filters_colors_accent_b: 31;
	--yith-wcan-color_swatches_border_radius: 100%;
	--yith-wcan-color_swatches_size: 30px;
	--yith-wcan-labels_style_background: #FFFFFF;
	--yith-wcan-labels_style_background_hover: #00321f;
	--yith-wcan-labels_style_background_active: #00321f;
	--yith-wcan-labels_style_text: #434343;
	--yith-wcan-labels_style_text_hover: #FFFFFF;
	--yith-wcan-labels_style_text_active: #FFFFFF;
	--yith-wcan-anchors_style_text: #434343;
	--yith-wcan-anchors_style_text_hover: #00321f;
	--yith-wcan-anchors_style_text_active: #00321f;
}

.btn.btn-primary.yith-wcan-reset-filters.reset-filters.enhanced {
background-color: #d7d7d7 !important;
box-shadow: 0 0 0 1px #D7D7D7 !important;
border-radius: 4px !important;
display: inline-block !important;
margin: 0 5px 10px !important;
padding: 7px !important;
text-align: center !important;
outline: none !important;
border-width: 0px !important;
}

.btn.btn-primary.yith-wcan-reset-filters.reset-filters.enhanced:hover {
background-color: #000000 !important;
box-shadow: 0 0 0 1px #D7D7D7 !important;
border-radius: 4px !important;
display: inline-block !important;
margin: 0 5px 10px !important;
padding: 7px !important;
text-align: center !important;
outline: none !important;
border-width: 0px !important;
}

.btn.btn-primary.yith-wcan-reset-filters.reset-filters.enhanced {
  /* Hide the original text */
  font-size: 0; 
}

.btn.btn-primary.yith-wcan-reset-filters.reset-filters.enhanced::after {
  /* Inject the new text */
  content: "Reset Filters"; 
  /* Restore the original readable text size */
  font-size: .8rem;
	font-weight: bold;
}

/* Hide original text on hover */
.btn.btn-primary.yith-wcan-reset-filters.reset-filters.enhanced:hover {
  font-size: 0;
}

/* Inject new text on hover */
.btn.btn-primary.yith-wcan-reset-filters.reset-filters.enhanced:hover::after {
  content: "Reset Filters";
  font-size: .8rem;
	font-weight: bold;
	color: #ffffff;
	cursor: pointer;
}

/* ========================================
   Page Number Formatting
   ======================================== */

a.page-numbers {
    background: #fff0 !important;
    color: #00321f !important;
    border: 1px solid var(--wp--preset--color--primary);
    padding: 8px 10px
}

.woocommerce span.page-numbers.current:hover,.woocommerce .page-numbers:hover,.woocommerce .wp-block-query-pagination-next:hover, .woocommerce .wp-block-query-pagination-previous:hover,.woocommerce .wp-block-button__link:hover {
    background: #000!important;
    color: #fff!important
}

/* ========================================
   Hide subcategories on homepage by default
   ======================================== */

.hidden-content {
    display: none !important;
}
.toggle-trigger {
    cursor: pointer;
}

/* Link Underline */
a {
 text-decoration: none !important;
}