.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button {
  font: inherit;
  line-height: 1.2;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  border: none;
  background-color: var(--rc-clay-brown);
  color: #fff;
  display: inline-block;
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button:hover {
  color: var(--rc-charcoal-green);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: transparent;
  color: var(--rc-clay-brown);
  border: 2px solid var(--rc-clay-brown);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  color: var(--rc-charcoal-green);
  border-color: var(--rc-charcoal-green);
  background: transparent;
}


.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button:hover{
  color: var(--rc-deep-black-green);
}


p, li {
	margin-bottom: 0rem;
}

.wc-block-product-filters__open-overlay {
  display: none;
}

.sales, .phone
{display: none;}

.wcv-store-header.header-modern .meta .wcv-icon {
	width: 30px;
	height: 30px;
}

/* Banner height varies per vendor, so info sits below it rather than overlapping */
.wcv-store-header.header-modern .upper {
	position: relative;
}

.wcv-store-header.header-modern .info {
	position: relative !important;
	transform: none !important;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	padding: 20px 20px;
	background: #fff;
	margin-top: 0;
}

.wcv-store-header.header-modern .info .avatar {
	flex-shrink: 0;
	margin: 0 !important;
}

.wcv-store-header.header-modern .info .about {
	color: #000;
	text-align: left;
	flex: 1;
}

.wcv-store-header.header-modern .meta .rating .stars {
	display: flex;
	align-items: center;
	gap: 4px;
}

.wcv-store-header.header-modern .meta .rating .stars * {
	vertical-align: middle;
}

.wcv-store-header.header-modern .info .name {
	font-weight: 500;
}

.wcv-store-header.header-modern .info .about .desc {
	font-size: 16px !important;
	text-shadow: none !important;
}

/* WC Vendors Pro assumes a fixed-height background-image; the theme renders
   an actual <img>, so let height flex to each vendor's own aspect ratio */
.wcv-store-header.header-modern .upper,
.wcv-store-header.header-modern .cover {
	position: relative !important;
	overflow: visible !important;
}

.wcv-store-header.header-modern .cover {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	background: none !important;
	background-image: none !important;
}

.wcv-store-header.header-modern .cover img,
.wcv-store-header.header-modern .cover .wcv-banner-img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.wcv-store-header.header-modern .info .avatar {
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
}

.wcv-store-header.header-modern .info .avatar img {
	border-radius: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
}

.wcv-store-header.header-modern .meta .address {
	display: none !important;
}

.rc-store-template {
  background-color: var(--wp--preset--color--base, #fff);
}

.rc-store-page {
  margin: 0 auto;
  padding: clamp(32px, 4vw, 64px) clamp(20px, 5vw, 48px);
  max-width: min(960px, var(--wp--style--global--content-size, 960px));
  gap: clamp(24px, 3vw, 48px);
}

.rc-store-page .page-title {
  margin-bottom: clamp(16px, 2vw, 32px);
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  text-align: left;
}

.rc-store-page .wcv-stars-rating {
  display: grid;
  gap: clamp(24px, 2.5vw, 40px);
}

.rc-store-page .wcv-rating-item {
  padding: clamp(20px, 2.2vw, 32px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: var(--rc-ivory, #fdf9f3);
  box-shadow: 0 12px 24px -20px rgba(0, 0, 0, 0.45);
}

.rc-store-page .wcv-rating-title {
  margin: 0 0 12px;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  color: var(--rc-charcoal-green, #2c3639);
}

.rc-store-page .wcv-rating-meta {
  font-size: 0.95rem;
  color: var(--rc-charcoal-green, #2c3639);
}

.rc-store-page .wcv-rating-comment {
  margin-top: clamp(12px, 1.5vw, 20px);
  line-height: 1.6;
}

.rc-store-page .rc-store-back-link {
  margin: clamp(24px, 3vw, 40px) 0 0;
  font-weight: 600;
}

.rc-store-page .rc-store-back-link a {
  color: var(--rc-clay-brown, #a27b5c);
  text-decoration: none;
}

.rc-store-page .rc-store-back-link a:hover {
  color: var(--rc-charcoal-green, #2c3639);
  text-decoration: underline;
}

.wpc-filters-section {
  margin-bottom: 0.85rem !important;
  padding-bottom: 0.85rem !important;
}

.wpc-filter-title,
.wpc-filters-section h3,
.wpc-filters-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rc-charcoal-green, #2c3639);
  margin-bottom: 0.4rem !important;
  text-transform: none;
  letter-spacing: 0;
}

.wpc-filters-ul-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.wpc-filters-ul-list li {
  margin-bottom: 0.25rem !important;
}

.wpc-filters-ul-list li:last-child {
  margin-bottom: 0 !important;
}

.wpc-filters-ul-list ul.children {
  margin-left: 10px !important;
  padding-left: 0 !important;
  border-left: 2px solid rgba(162, 123, 92, 0.2);
  padding-left: 8px !important;
}

.wpc-filters-ul-list input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 16px;
  height: 16px;
  border: 2px solid var(--rc-clay-brown, #a27b5c);
  border-radius: 3px;
  cursor: pointer;
  vertical-align: middle;
}

.wpc-filters-ul-list input[type="checkbox"]:checked {
  background-color: var(--rc-clay-brown, #a27b5c);
  border-color: var(--rc-clay-brown, #a27b5c);
}

.wpc-filters-ul-list label {
  cursor: pointer;
  color: var(--rc-charcoal-green, #2c3639);
  font-size: 0.95rem;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.wpc-filters-ul-list label:hover {
  color: var(--rc-clay-brown, #a27b5c);
}

.wpc-term-count {
  color: rgba(44, 54, 57, 0.6);
  font-size: 0.85rem;
  margin-left: 0.35rem;
}

.wpc-filter-layout-dropdown select,
.wpc-filters-section select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  background-color: #fff;
  color: var(--rc-charcoal-green, #2c3639);
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.wpc-filter-layout-dropdown select:hover,
.wpc-filters-section select:hover {
  border-color: var(--rc-clay-brown, #a27b5c);
}

.wpc-filter-layout-dropdown select:focus,
.wpc-filters-section select:focus {
  outline: none;
  border-color: var(--rc-clay-brown, #a27b5c);
  box-shadow: 0 0 0 3px rgba(162, 123, 92, 0.1);
}

.wpc-filter-search-wrapper {
  position: relative;
}

.wpc-filter-search-wrapper input[type="text"],
.wpc-filters-section .wpc-search-field {
  width: 100%;
  padding: 0.65rem 0.75rem !important;
  padding-left: 40px !important;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  line-height: 1.4 !important;
  height: auto !important;
}

.wpc-filter-search-wrapper input[type="text"]:focus,
.wpc-filters-section .wpc-search-field:focus {
  outline: none;
  border-color: var(--rc-clay-brown, #a27b5c);
  box-shadow: 0 0 0 3px rgba(162, 123, 92, 0.1);
}

.wpc-search-field-wrapper {
  position: relative !important;
}

/* High specificity needed to override Filter Everything's CSS, which loads after ours */
.wpc-filters-widget-content .wpc-filters-section .wpc-filter-search-form .wpc-search-field-wrapper .wpc-search-icon,
.wpc-filters-section .wpc-filter-search-form .wpc-search-field-wrapper .wpc-search-icon,
.wpc-filter-search-form .wpc-search-field-wrapper .wpc-search-icon,
.wpc-filters-section .wpc-search-field-wrapper .wpc-search-icon,
.wpc-search-field-wrapper .wpc-search-icon,
span.wpc-search-icon {
  position: absolute !important;
  left: 16px !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 16px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  transform: none !important;
}

.wpc-filters-widget-content .wpc-filters-section .wpc-filter-search-form .wpc-search-field-wrapper .wpc-search-icon:before,
.wpc-filters-section .wpc-filter-search-form .wpc-search-field-wrapper .wpc-search-icon:before,
.wpc-filter-search-form .wpc-search-field-wrapper .wpc-search-icon:before,
.wpc-filters-section .wpc-search-field-wrapper .wpc-search-icon:before,
.wpc-search-field-wrapper .wpc-search-icon:before,
span.wpc-search-icon:before {
  margin: 0 !important;
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  vertical-align: baseline !important;
  flex-shrink: 0 !important;
}

.wpc-filters-section a[href*="edit"] {
  color: var(--rc-clay-brown, #a27b5c);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wpc-filters-section a[href*="edit"]:hover {
  color: var(--rc-charcoal-green, #2c3639);
  text-decoration: underline;
}

.wpc-filter-collapsible .wpc-filter-title button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rc-charcoal-green, #2c3639);
  cursor: pointer;
  text-align: left;
}

.wpc-filter-collapsible .wpc-filter-title button:hover {
  color: var(--rc-clay-brown, #a27b5c);
}

.flrt-stars-wpc-filter-content {
  padding-bottom: 0 !important;
}

.flrt-stars-filter {
  margin-bottom: 0 !important;
}

/* Hidden to prevent layout shift as counts load */
.wpc-term-count-value,
.wpc-term-count,
#flrt-wpc-term-count,
.flrt-star-label a .wpc-term-count,
.flrt-stars-wpc-filter-content .wpc-term-count-value {
  display: none !important;
}

.flrt-star-label-hover svg {
  fill: var(--rc-clay-brown, #a27b5c) !important;
  stroke: var(--rc-clay-brown, #a27b5c) !important;
}

.flrt-star-label:not(.flrt-star-label-hover) svg {
  fill: transparent !important;
  stroke: rgba(0, 0, 0, 0.3) !important;
}

.flrt-star-label-checked svg {
  fill: var(--rc-clay-brown, #a27b5c) !important;
  stroke: var(--rc-clay-brown, #a27b5c) !important;
}

@media (max-width: 768px) {
  .wpc-filters-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .wpc-filter-title,
  .wpc-filters-section h3,
  .wpc-filters-section h4 {
    font-size: 0.95rem;
  }

  .wpc-filters-ul-list label {
    font-size: 0.9rem;
  }
}

@media (max-width: 781px) {
  /* Hamburger icon, closed state: 3 horizontal lines */
  .wpc-filters-open-button-container .wpc-icon-html-wrapper {
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 20px !important;
    height: 14px !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 0 !important;
  }

  .wpc-filters-open-button-container .wpc-icon-line-1,
  .wpc-filters-open-button-container .wpc-icon-line-2,
  .wpc-filters-open-button-container .wpc-icon-line-3 {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background-color: currentColor !important;
    border-radius: 1px !important;
    transition: all 0.3s ease !important;
  }

  /* Opened state: hamburger becomes an X */
  .wpc-open-close-filters-button.wpc-opened .wpc-icon-html-wrapper,
  .wpc-filters-open-widget.wpc-opened .wpc-icon-html-wrapper {
    justify-content: center !important;
    height: 16px !important;
  }

  .wpc-open-close-filters-button.wpc-opened .wpc-icon-line-1,
  .wpc-filters-open-widget.wpc-opened .wpc-icon-line-1 {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) rotate(45deg) !important;
  }

  .wpc-open-close-filters-button.wpc-opened .wpc-icon-line-2,
  .wpc-filters-open-widget.wpc-opened .wpc-icon-line-2 {
    opacity: 0 !important;
  }

  .wpc-open-close-filters-button.wpc-opened .wpc-icon-line-3,
  .wpc-filters-open-widget.wpc-opened .wpc-icon-line-3 {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) rotate(-45deg) !important;
  }

  .wpc-filters-close-button .wpc-icon-html-wrapper {
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 20px !important;
    height: 20px !important;
    position: relative !important;
  }

  .wpc-filters-close-button .wpc-icon-line-1 {
    transform: rotate(45deg) !important;
    position: absolute !important;
  }

  .wpc-filters-close-button .wpc-icon-line-2 {
    display: none !important;
  }

  .wpc-filters-close-button .wpc-icon-line-3 {
    transform: rotate(-45deg) !important;
    position: absolute !important;
  }

  .wpc-filters-open-button-container .wpc-button-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .wpc-filters-open-button-container .wpc-filters-button-text {
    display: inline-block !important;
    vertical-align: middle !important;
  }

  .wpc-filters-open-button-container a.wpc-filters-open-widget,
  .wpc-filters-open-button-container a.wpc-open-close-filters-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    border: 2px solid var(--rc-clay-brown, #a27b5c) !important;
    border-radius: 4px !important;
    background-color: transparent !important;
    color: var(--rc-clay-brown, #a27b5c) !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
  }

  .wpc-filters-open-button-container a.wpc-filters-open-widget:hover,
  .wpc-filters-open-button-container a.wpc-open-close-filters-button:hover {
    background-color: var(--rc-clay-brown, #a27b5c) !important;
    color: #fff !important;
  }

  .wpc-filters-close-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    border: 2px solid #fff !important;
    border-radius: 4px !important;
    background-color: transparent !important;
    color: #fff !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
  }

  .wpc-filters-close-button:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
  }
}

/* Hidden in favor of native number input spin arrows */
.wpc-filters-range-column button.wpc-range-clear {
	display: none !important;
}

/* Restore native spin arrows (Filter Everything hides them by default) and
   drop the padding it reserved for the now-hidden clear button */
input[type="number"].wpc-filters-range-min,
input[type="number"].wpc-filters-range-max {
	-moz-appearance: auto !important;
	appearance: auto !important;
}
.wpc-filters-widget-content input.wpc-filter-search-field,
.wpc-filters-widget-content input[type="number"].wpc-filters-range-max,
.wpc-filters-widget-content input[type="number"].wpc-filters-range-min {
	padding-right: 10px !important;
}
input[type="number"].wpc-filters-range-min::-webkit-inner-spin-button,
input[type="number"].wpc-filters-range-min::-webkit-outer-spin-button,
input[type="number"].wpc-filters-range-max::-webkit-inner-spin-button,
input[type="number"].wpc-filters-range-max::-webkit-outer-spin-button {
	-webkit-appearance: auto !important;
	margin: 0 !important;
}

.wpc-filter-search-wrapper button.wpc-search-clear,
.wpc-search-field-wrapper .wpc-search-clear-icon-wrapper {
	height: 40px;
	border-radius: 3px;
}

.wpc-filters-widget-content .wpc-filters-section .wpc-filter-search-form .wpc-search-field-wrapper .wpc-search-icon, .wpc-filters-section .wpc-filter-search-form .wpc-search-field-wrapper .wpc-search-icon, .wpc-filter-search-form .wpc-search-field-wrapper .wpc-search-icon, .wpc-filters-section .wpc-search-field-wrapper .wpc-search-icon, .wpc-search-field-wrapper .wpc-search-icon, span.wpc-search-icon {
	top: -17px !important;
  left: 10px !important;
}

@media (max-width: 781px) {
  .wp-block-column[style*="flex-basis:20%"] h3.wp-block-heading {
    margin-bottom: 0.5rem;
    margin-top: 0;
  }
  .wp-block-column[style*="flex-basis:20%"] .wc-block-catalog-sorting {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .wpc-filters-open-button-container a.wpc-filters-open-widget,
  .wpc-filters-open-button-container a.wpc-open-close-filters-button {
    padding: 8px 14px !important;
  }

  .wcv-store-header.header-modern .info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0;
  }
  .wcv-store-header.header-modern .info .about {
    text-align: center;
  }

  .wc-block-product-template__responsive {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .wc-block-store-notices:has(.woocommerce-notices-wrapper:empty) {
    display: none !important;
  }

  /* Desktop-only top margin (reblcraft-shop-filters.php) not needed once stacked */
  .wp-block-heading:has(+ .wc-block-catalog-sorting) {
    margin-top: 0 !important;
  }

  /* Zero block-gap only within the sidebar column, not sitewide */
  .wp-block-column[style*="flex-basis:20%"] > * {
    margin-block-start: 0 !important;
  }

  /* Filter Everything's own mobile CSS adds this margin */
  .wpc-open-close-filters-button {
    margin-bottom: 0 !important;
  }
}