/* Archi shop AJAX filters — BeRocket polish */

/* ---- blocks ---- */
.elementor-element-afilbr .berocket_single_filter_widget,
.shopside .berocket_single_filter_widget {
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.elementor-element-afilbr .bapf_sfilter .bapf_head,
.shopside .bapf_sfilter .bapf_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 0 0 .85rem;
  padding: 0 0 .55rem;
  border-bottom: 1px solid var(--e-global-color-border, #DDDEDC);
  background: none !important;
}

.elementor-element-afilbr .bapf_sfilter .bapf_head h3,
.shopside .bapf_sfilter .bapf_head h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--e-global-color-text, #1B1E18) !important;
  line-height: 1.3 !important;
}

.elementor-element-afilbr .bapf_sfilter .bapf_head:has(h3:empty),
.shopside .bapf_sfilter .bapf_head:has(h3:empty) {
  display: none;
}

.elementor-element-afilbr .bapf_sfilter .bapf_body,
.shopside .bapf_sfilter .bapf_body {
  margin: 0;
  padding: 0;
}

/* ---- checkbox lists ---- */
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) .bapf_body ul,
.shopside .bapf_ckbox:not(.bapf_stylecolor) .bapf_body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) li,
.shopside .bapf_ckbox:not(.bapf_stylecolor) li {
  display: block !important;
  margin: 0 0 .2rem;
  padding: 0;
  text-align: left !important;
}

.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) li label,
.shopside .bapf_ckbox:not(.bapf_stylecolor) li label {
  display: flex !important;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: .4rem .45rem;
  border-radius: 6px;
  font-size: .875rem;
  line-height: 1.35;
  color: var(--e-global-color-text, #1B1E18);
  cursor: pointer;
  transition: background .15s ease;
}

.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) li label:hover,
.shopside .bapf_ckbox:not(.bapf_stylecolor) li label:hover {
  background: var(--e-global-color-muted, #F0F0EE);
}

.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"],
.shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex: 0 0 1rem;
  border: 1.5px solid var(--e-global-color-border, #DDDEDC);
  border-radius: 3px;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked,
.shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked {
  border-color: var(--e-global-color-accent, #141711);
  background: var(--e-global-color-primary, #CAE763);
}



.elementor-element-afilbr .bapf_ckbox .bapf_count,
.shopside .bapf_ckbox .bapf_count {
  margin-left: auto;
  font-size: .75rem;
  color: var(--e-global-color-muted_fg, #61645F);
}

/* ---- color swatches: even 4-col grid ---- */
.elementor-element-afilbr .bapf_stylecolor .bapf_body ul,
.shopside .bapf_stylecolor .bapf_body ul {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  margin: 0;
  padding: .1rem 0 0;
  list-style: none;
}

.elementor-element-afilbr .bapf_sfilter.bapf_colorinline li,
.shopside .bapf_sfilter.bapf_colorinline li,
.elementor-element-afilbr .bapf_stylecolor li,
.shopside .bapf_stylecolor li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  text-align: center;
}

.elementor-element-afilbr .bapf_stylecolor li label,
.shopside .bapf_stylecolor li label {
  display: block !important;
  margin: 0;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.elementor-element-afilbr .bapf_stylecolor input[type="checkbox"],
.shopside .bapf_stylecolor input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none;
  width: 0 !important;
  height: 0 !important;
}

.elementor-element-afilbr .bapf_sfilter .bapf_clr_span,
.shopside .bapf_sfilter .bapf_clr_span,
.elementor-element-afilbr .bapf_sfilter .bapf_clr_span.h2em,
.shopside .bapf_sfilter .bapf_clr_span.h2em,
.elementor-element-afilbr .bapf_sfilter .bapf_clr_span.w2em,
.shopside .bapf_sfilter .bapf_clr_span.w2em {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 !important;
  line-height: 0 !important;
  border: 1.5px solid var(--e-global-color-border, #DDDEDC) !important;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  text-shadow: none !important;
  color: transparent !important;
}

.elementor-element-afilbr .bapf_stylecolor li label:hover .bapf_clr_span,
.shopside .bapf_stylecolor li label:hover .bapf_clr_span {
  border-color: var(--e-global-color-accent, #141711) !important;
  transform: translateY(-1px);
}

/* kill BeRocket rotate / purple shadow on check */
.elementor-element-afilbr .bapf_sfilter.brchecked_default input:checked + label .bapf_clr_span,
.shopside .bapf_sfilter.brchecked_default input:checked + label .bapf_clr_span,
.elementor-element-afilbr .bapf_sfilter.brchecked_rotate input:checked + label .bapf_clr_span,
.shopside .bapf_sfilter.brchecked_rotate input:checked + label .bapf_clr_span,
.elementor-element-afilbr .bapf_sfilter.brchecked_shadow input:checked + label .bapf_clr_span,
.shopside .bapf_sfilter.brchecked_shadow input:checked + label .bapf_clr_span {
  transform: none !important;
  -webkit-transform: none !important;
  box-shadow: 0 0 0 2px var(--e-global-color-primary, #CAE763) !important;
  border-color: var(--e-global-color-accent, #141711) !important;
}

/* light swatches need a bit more edge */
.elementor-element-afilbr .bapf_clr_span[style*="#E4E1DA"],
.elementor-element-afilbr .bapf_clr_span[style*="#e4e1da"],
.shopside .bapf_clr_span[style*="#E4E1DA"] {
  border-color: #c9c9c4 !important;
}

/* ---- price slider: Archi green instead of IRS red ---- */
.elementor-element-afilbr .bapf_slidr,
.shopside .bapf_slidr {
  padding-top: .15rem;
}

.elementor-element-afilbr .bapf_slidr .irs--flat,
.shopside .bapf_slidr .irs--flat {
  height: 48px;
}

.elementor-element-afilbr .bapf_slidr .irs--flat .irs-line,
.shopside .bapf_slidr .irs--flat .irs-line {
  top: 28px;
  height: 6px;
  background-color: var(--e-global-color-muted, #F0F0EE) !important;
  border-radius: 999px;
}

.elementor-element-afilbr .bapf_slidr .irs--flat .irs-bar,
.shopside .bapf_slidr .irs--flat .irs-bar {
  top: 28px;
  height: 6px;
  background-color: var(--e-global-color-primary, #CAE763) !important;
  border-radius: 999px;
}

.elementor-element-afilbr .bapf_slidr .irs--flat .irs-handle,
.shopside .bapf_slidr .irs--flat .irs-handle {
  top: 20px;
  width: 18px;
  height: 18px;
  background: #fff !important;
  border: 2px solid var(--e-global-color-accent, #141711) !important;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(20, 23, 17, .12);
  cursor: grab;
}

.elementor-element-afilbr .bapf_slidr .irs--flat .irs-handle > i:first-child,
.shopside .bapf_slidr .irs--flat .irs-handle > i:first-child {
  display: none !important;
}

.elementor-element-afilbr .bapf_slidr .irs--flat .irs-handle.state_hover,
.elementor-element-afilbr .bapf_slidr .irs--flat .irs-handle:hover,
.shopside .bapf_slidr .irs--flat .irs-handle.state_hover,
.shopside .bapf_slidr .irs--flat .irs-handle:hover {
  background: var(--e-global-color-primary, #CAE763) !important;
}

.elementor-element-afilbr .bapf_slidr .irs--flat .irs-from,
.elementor-element-afilbr .bapf_slidr .irs--flat .irs-to,
.elementor-element-afilbr .bapf_slidr .irs--flat .irs-single,
.shopside .bapf_slidr .irs--flat .irs-from,
.shopside .bapf_slidr .irs--flat .irs-to,
.shopside .bapf_slidr .irs--flat .irs-single {
  top: 0;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--e-global-color-hero_fg, #FCFCFC) !important;
  background-color: var(--e-global-color-accent, #141711) !important;
  border-radius: 4px;
}

.elementor-element-afilbr .bapf_slidr .irs--flat .irs-from:before,
.elementor-element-afilbr .bapf_slidr .irs--flat .irs-to:before,
.elementor-element-afilbr .bapf_slidr .irs--flat .irs-single:before,
.shopside .bapf_slidr .irs--flat .irs-from:before,
.shopside .bapf_slidr .irs--flat .irs-to:before,
.shopside .bapf_slidr .irs--flat .irs-single:before {
  border-top-color: var(--e-global-color-accent, #141711) !important;
}

.elementor-element-afilbr .bapf_slidr .irs--flat .irs-min,
.elementor-element-afilbr .bapf_slidr .irs--flat .irs-max,
.shopside .bapf_slidr .irs--flat .irs-min,
.shopside .bapf_slidr .irs--flat .irs-max {
  display: none !important;
}

.elementor-element-afilbr .bapf_slidr_num input,
.shopside .bapf_slidr_num input,
.elementor-element-afilbr .bapf_slidr .bapf_from input,
.elementor-element-afilbr .bapf_slidr .bapf_to input,
.shopside .bapf_slidr .bapf_from input,
.shopside .bapf_slidr .bapf_to input {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--e-global-color-border, #DDDEDC);
  border-radius: 6px;
  background: #fff;
  padding: .5rem .6rem;
  font-size: .8125rem;
  color: var(--e-global-color-text, #1B1E18);
}

/* ---- reset ---- */
.elementor-element-afilbr .bapf_button,
.shopside .bapf_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: .25rem;
  padding: .7rem 1rem;
  border: 1.5px solid var(--e-global-color-accent, #141711);
  border-radius: 8px;
  background: transparent;
  color: var(--e-global-color-accent, #141711);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.elementor-element-afilbr .bapf_button:hover,
.shopside .bapf_button:hover {
  background: var(--e-global-color-accent, #141711);
  color: var(--e-global-color-hero_fg, #FCFCFC);
}

.bapf_products_apply_filters.bapf_ajax_load {
  opacity: .55;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* shopside alias */
.elementor-element-shopside .berocket_single_filter_widget{margin:0 0 1.35rem;}

/* ---- hard overrides (after BeRocket color.css / ion) ---- */
#bapf_2.bapf_stylecolor .bapf_body ul {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.55rem !important;
  align-items: stretch !important;
}
#bapf_2.bapf_colorinline li {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
#bapf_2 .bapf_clr_span,
#bapf_2 .bapf_clr_span.h2em,
#bapf_2 .bapf_clr_span.w2em {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  line-height: 0 !important;
  border: 1.5px solid #DDDEDC !important;
  border-radius: 8px !important;
  text-shadow: none !important;
  box-sizing: border-box !important;
}
#bapf_2.brchecked_default input:checked + label .bapf_clr_span {
  transform: none !important;
  -webkit-transform: none !important;
  box-shadow: 0 0 0 2px #CAE763 !important;
  border-color: #141711 !important;
}
#bapf_5 .irs--flat .irs-line {
  top: 28px !important;
  height: 6px !important;
  background-color: #F0F0EE !important;
  border-radius: 999px !important;
}
#bapf_5 .irs--flat .irs-bar {
  top: 28px !important;
  height: 6px !important;
  background-color: #CAE763 !important;
  border-radius: 999px !important;
}
#bapf_5 .irs--flat .irs-handle {
  top: 20px !important;
  width: 18px !important;
  height: 18px !important;
  background: #fff !important;
  border: 2px solid #141711 !important;
  border-radius: 50% !important;
}
#bapf_5 .irs--flat .irs-handle > i:first-child {
  display: none !important;
}
#bapf_5 .irs--flat .irs-from,
#bapf_5 .irs--flat .irs-to,
#bapf_5 .irs--flat .irs-single {
  background-color: #141711 !important;
  color: #FCFCFC !important;
}
#bapf_5 .irs--flat .irs-from:before,
#bapf_5 .irs--flat .irs-to:before,
#bapf_5 .irs--flat .irs-single:before {
  border-top-color: #141711 !important;
}
#bapf_5 .irs--flat .irs-min,
#bapf_5 .irs--flat .irs-max {
  display: none !important;
}
/* ---- checkbox rows: input + label + count on one line ---- */
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) li,
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) li,
#bapf_1.bapf_ckbox:not(.bapf_stylecolor) li,
#bapf_3.bapf_ckbox:not(.bapf_stylecolor) li,
#bapf_4.bapf_ckbox:not(.bapf_stylecolor) li {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: .55rem !important;
  margin: 0 0 .15rem !important;
  padding: .2rem .35rem !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.35 !important;
  border-radius: 6px;
  text-align: left !important;
  cursor: pointer;
  transition: background .15s ease;
}
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) li:hover,
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) li:hover {
  background: var(--e-global-color-muted, #F0F0EE);
}
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) li label,
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) li label {
  display: inline !important;
  flex: 1 1 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: .875rem !important;
  line-height: 1.35 !important;
  color: var(--e-global-color-text, #1B1E18);
  cursor: pointer;
}
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"],
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem !important;
  height: 1rem !important;
  margin: 0 !important;
  flex: 0 0 1rem !important;
  border: 1.5px solid var(--e-global-color-border, #DDDEDC);
  border-radius: 3px;
  background: #fff;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
}
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked,
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked {
  border-color: var(--e-global-color-accent, #141711);
  background: var(--e-global-color-primary, #CAE763);
}
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"],
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"],
.shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"] {
  width: 1.125rem !important;
  height: 1.125rem !important;
  flex: 0 0 1.125rem !important;
  border-radius: 4px;
  border-width: 1.5px;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked,
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked,
.shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked {
  border-color: var(--e-global-color-accent, #141711);
  background-color: var(--e-global-color-primary, #CAE763);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.2 8.2 6.4 11.4 12.8 4.6' stroke='%23141711' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  box-shadow: inset 0 0 0 1px rgba(20,23,17,.06);
}
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked::after,
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked::after,
.shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked::after,
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked::before,
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked::before,
.shopside .bapf_ckbox:not(.bapf_stylecolor) input[type="checkbox"]:checked::before {
  content: none !important;
  display: none !important;
}
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) .roundpcs,
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) .pcs,
.elementor-element-afilbr .bapf_ckbox:not(.bapf_stylecolor) .bapf_count,
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) .roundpcs,
.elementor-element-shopside .bapf_ckbox:not(.bapf_stylecolor) .pcs {
  display: inline !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
  font-size: .75rem !important;
  line-height: 1 !important;
  color: var(--e-global-color-muted_fg, #61645F);
  white-space: nowrap;
}
/* ---- smaller color swatches ---- */
#bapf_2.bapf_stylecolor .bapf_body ul,
.elementor-element-afilbr .bapf_stylecolor .bapf_body ul {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0.4rem !important;
}
#bapf_2 .bapf_clr_span,
#bapf_2 .bapf_clr_span.h2em,
#bapf_2 .bapf_clr_span.w2em,
.elementor-element-afilbr .bapf_sfilter .bapf_clr_span,
.elementor-element-afilbr .bapf_sfilter .bapf_clr_span.h2em,
.elementor-element-afilbr .bapf_sfilter .bapf_clr_span.w2em {
  width: 100% !important;
  max-width: 36px !important;
  height: 36px !important;
  aspect-ratio: auto !important;
  margin: 0 auto !important;
  border-radius: 6px !important;
}