/* SPV responsive shop. Activated only after the existing archive is mounted.
   The header, footer, product detail, cart, checkout and account are untouched. */
body.spvrc-catalog.post-type-archive-product .shop-hero {
  padding: 36px 0 28px;
}
body.spvrc-catalog.post-type-archive-product .shop-hero h1 {
  color: #203a2d !important;
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 14px 0 18px;
}
body.spvrc-catalog.post-type-archive-product .shop-hero p {
  color: #596052;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
body.spvrc-catalog.post-type-archive-product .page-description p:empty { display: none; }
body.spvrc-catalog.post-type-archive-product .spvrc-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto 52px;
  clear: both;
}
body.spvrc-catalog.post-type-archive-product .spvrc-layout * { box-sizing: border-box; }
body.spvrc-catalog.post-type-archive-product .spvrc-layout [hidden] { display: none !important; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar {
  min-width: 0;
  padding: 24px 18px;
  border: 0;
  border-radius: 4px;
  background: #203a2d;
  color: #fffdf5;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .shop-filter-section { padding: 0; margin: 0; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wrap { width: 100%; max-width: none; margin: 0; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .shop-filters {
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-widget-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-section {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-range-filter {
  padding-top: 24px;
  border-top: 1px solid #58705b;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filter-header { margin: 0 0 16px; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filter-title {
  color: #fffdf5 !important;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar ul.wpc-filters-ul-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar li.wpc-term-item { margin: 0; padding: 0; width: 100%; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-term-item-content-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 2px 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #fffdf5;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-term-item-content-wrapper label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit !important;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  white-space: normal;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filter-link { color: inherit !important; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: #77925d;
  margin: 0;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-term-count {
  color: inherit;
  opacity: .85;
  font-size: 12px;
  font-weight: 400;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-term-item-content-wrapper:hover { background: #314d39; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-term-selected .wpc-term-item-content-wrapper,
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-term-item-content-wrapper:has(input:checked) {
  background: #dbe5c6;
  color: #203a2d;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .spvrc-all-products {
  display: block;
  min-height: 48px;
  padding: 13px 10px;
  border-radius: 3px;
  background: transparent;
  color: #fffdf5 !important;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .spvrc-all-products.spvrc-all-active {
  background: #dbe5c6;
  color: #203a2d !important;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-inputs,
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar form.wpc-filter-range-form { width: 100%; min-width: 0; margin: 0; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-column {
  width: 100% !important;
  min-width: 0;
  max-width: none;
  position: relative;
  margin: 0;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-column::before { display: none; content: none; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .spvrc-price-label {
  display: block;
  width: auto;
  margin: 0 0 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e2e8d5 !important;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-wrapper input[type="number"] {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: none;
  height: 48px;
  padding: 12px 30px 12px 9px !important;
  border: 1px solid #fcfbf7;
  border-radius: 4px;
  background: #fcfbf7;
  color: #203a2d !important;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-column button.wpc-range-clear {
  top: auto;
  bottom: 4px;
  right: 2px;
  width: 26px;
  height: 40px;
  font-size: 20px;
  color: #52634c;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-slider-wrapper { margin: 20px 10px 12px; padding: 0; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-inputs .ui-slider-horizontal {
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: #64785b;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-range { background: #dbe5c6; border: 0; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-handle {
  top: -8px;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border: 3px solid #dbe5c6;
  border-radius: 50%;
  background: #203a2d;
  box-shadow: none;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-handle::after {
  content: "";
  position: absolute;
  inset: -13px;
  border-radius: 50%;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar :is(a, input, button):focus-visible,
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .ui-slider-handle:focus-visible {
  outline: 2px solid #dbe5c6;
  outline-offset: 4px;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results { min-width: 0; }
body.spvrc-catalog.post-type-archive-product .spvrc-layout .spvrc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  min-height: 42px;
}
body.spvrc-catalog.post-type-archive-product .spvrc-layout .woocommerce-result-count,
body.spvrc-catalog.post-type-archive-product .spvrc-layout .woocommerce-ordering {
  float: none;
  clear: none;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #4e5b4d;
  font-size: 13px;
  line-height: 1.4;
}
body.spvrc-catalog.post-type-archive-product .spvrc-layout .woocommerce-ordering select {
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 18px 10px 0;
  border: 0;
  border-bottom: 1px solid #9aa88b;
  border-radius: 0;
  background: transparent;
  color: #203a2d;
  font-size: 13px;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: none;
  clear: none;
  margin: 0;
  padding: 0;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: auto !important;
  float: none;
  clear: none;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product > a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product a img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  object-fit: cover !important;
  margin: 0 0 14px !important;
  border-radius: 3px;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product .woocommerce-loop-product__title {
  color: #203a2d !important;
  min-height: 2.8em;
  margin: 0 0 7px;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product .price {
  padding: 0;
  margin: 0 0 10px;
  color: #203a2d;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product .price .amount { font-size: inherit; margin: 0; color: inherit; }
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product .woocommerce-price-suffix { font-size: 11px; font-weight: 400; color: #66725e; }
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product .spv-stock {
  display: flex !important;
  align-items: flex-start;
  gap: 6px;
  width: 100% !important;
  max-width: 100% !important;
  margin: auto 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #586e49;
  font-size: 11px;
  line-height: 1.5 !important;
  letter-spacing: 0;
  font-weight: 500;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product .spv-stock::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  background: currentColor;
  border-radius: 50%;
  margin-top: 5px;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product .spv-stock.outofstock { color: #914c40; }
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product > .button {
  width: 100% !important;
  max-width: 100%;
  min-height: 44px;
  margin: auto 0 0 !important;
  padding: 10px 8px !important;
  border: 1px solid #7c8f70 !important;
  border-radius: 3px !important;
  background: transparent !important;
  color: #203a2d !important;
  font-size: 13px;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: normal;
  text-align: center;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product > .button:hover {
  background: #203a2d !important;
  border-color: #203a2d !important;
  color: #fffdf5 !important;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results .wpc-custom-selected-terms,
body.spvrc-catalog.post-type-archive-product .spvrc-results .woocommerce-notices-wrapper,
body.spvrc-catalog.post-type-archive-product .spvrc-results .woocommerce-pagination {
  clear: none;
  width: 100%;
  margin: 0 0 16px;
}
body.spvrc-catalog.post-type-archive-product .spvrc-results .woocommerce-pagination { margin-top: 24px; }
body.spvrc-catalog.post-type-archive-product .spvrc-results .woocommerce-notices-wrapper:empty,
body.spvrc-catalog.post-type-archive-product .spvrc-results .wpc-custom-selected-terms:has(.wpc-empty-chips-container) { display: none; }
body.spvrc-catalog.post-type-archive-product .spvrc-filter-toggle { display: none; }
/* Our accessible inline disclosure replaces only the plugin popup presentation. */
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-open-button-container,
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-widget-close-container { display: none !important; }
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-widget-content {
  display: block !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-scroll-container,
body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-widget-containers-wrapper {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
}
@media (max-width: 1100px) {
  body.spvrc-catalog.post-type-archive-product .spvrc-layout { grid-template-columns: 208px minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 851px) and (max-width: 960px) {
  body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  body.spvrc-catalog.post-type-archive-product .spvrc-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.spvrc-catalog.post-type-archive-product .spvrc-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #203a2d;
    border-radius: 4px;
    background: #203a2d;
    color: #fffdf5;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
  }
  body.spvrc-catalog.post-type-archive-product .spvrc-filter-toggle::after { content: "+"; font-size: 22px; font-weight: 400; }
  body.spvrc-catalog.post-type-archive-product .spvrc-filter-toggle[aria-expanded="true"]::after { content: "−"; }
  body.spvrc-catalog.post-type-archive-product .spvrc-sidebar { padding: 22px 18px; }
  body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-widget-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }
  body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-range-filter { border: 0; padding-top: 0; }
  body.spvrc-catalog.post-type-archive-product .spvrc-layout .woocommerce-ordering select { font-size: 16px; }
  body.spvrc-catalog.post-type-archive-product .shop-hero { padding-top: 26px; }
}
@media (max-width: 560px) {
  body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-filters-widget-wrapper { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.spvrc-catalog.post-type-archive-product .spvrc-sidebar .wpc-range-filter { border-top: 1px solid #58705b; padding-top: 24px; }
  body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products { gap: 14px; }
  body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product .woocommerce-loop-product__title { font-size: 15px; }
  body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products > li.product .price { font-size: 20px; }
  body.spvrc-catalog.post-type-archive-product .spvrc-layout .spvrc-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  body.spvrc-catalog.post-type-archive-product .spvrc-layout .woocommerce-ordering { width: 100%; }
  body.spvrc-catalog.post-type-archive-product .spvrc-layout .woocommerce-ordering select { width: 100%; }
}
@media (max-width: 360px) {
  body.spvrc-catalog.post-type-archive-product .spvrc-results ul.products { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  body.spvrc-catalog.post-type-archive-product .spvrc-layout * { transition: none !important; }
}
