/* ======================================================================
   ALDECO – SHOP FILTERS (V2)
   - Collapsible panel per filter (header with chevron)
   - Round-corner checkboxes
   - Show first 5 items + Show more/less with chevron
   - Smooth easing animations (header + body + show more)
   - Left-aligned typography and controls
   ====================================================================== */

/* =========================
   Existing / layout helpers
   ========================= */

.main-archive-product__wrapper,
.aldeco-shop-menu__wrapper{
  width: 100%;
}

#discontinued + .select2{
  display: none!important;
}

/* original wrapper */
.aldeco-shop-menu__wrapper{
  list-style: none;
  display: flex;
  flex-direction: row;
  max-width: 100%;
  overflow: auto;
  padding: 4px 10px;
  width: 100%;
}

/* slider fade-in */
.has_eae_slider .s-gallery__wrapper{
  opacity: 0;
  transition: opacity 0.26s ease-in-out;
}
.has_eae_slider.loaded .s-gallery__wrapper{
  opacity: 1;
}

.form-login-register .box-form-login::before{
  content:"";
  display: block;
  position: relative;
  background-image: url('/wp-content/uploads/2023/06/collection_aldeco.jpg');
  height: 100%;
  background-size: cover;
}
.form-login-register .box-form-login::before {
  width: 500px;
  height: 500px;
}

/* Stack filters vertically */
.aldeco-shop-menu__wrapper {
  overflow: visible !important;
  cursor: default !important;
}

.aldeco-shop-menu__wrapper .s-filter-options {
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
}

.form-login-register .box-content{ width: 100%; }

.form-login-register .box-form-login {
  z-index: 9999;
  width: 100%;
  max-width: 800px!important;
  background: #fff;
  margin: auto;
  position: absolute;
  left: calc(50% - 255px);
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  display: flex;
  flex-direction: row;
}

.form-login-register .box-form-login .button-login input[type=submit],
.form-login-register .box-form-login .button-register input[type=submit]{
  width: 100px;
}

.aldeco-shop-menu__wrapper::after,
.aldeco-shop-menu__wrapper::before{
  content:'';
  display: block;
}

.aldeco-product-filters__wrapper button.s-next,
.aldeco-product-filters__wrapper button.s-back{
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  height: 30px;
  width: 30px;
  display: flex;
  padding: 0;
  justify-content: space-around;
  align-items: center;
  transform: rotate(-90deg);
}

.aldeco-product-filters__wrapper button.s-back{
  transform: rotate(90deg);
}

/* hide horizontal scrollbar */
.aldeco-shop-menu__wrapper::-webkit-scrollbar { width: 0px; }
.aldeco-shop-menu__wrapper::-webkit-scrollbar-track { background: transparent; }
.aldeco-shop-menu__wrapper::-webkit-scrollbar-thumb { background: transparent; }
.aldeco-shop-menu__wrapper::-webkit-scrollbar-thumb:hover { background: transparent; }

/* progress */
.aldeco-progress-container { width: 100%; height: 9px; background: transparent; }
.aldeco-progress-container .aldeco-progress-bar { height: 1px; background: #000000; width: 0%; }

/* dropdown menu */
.aldeco-shop-menu__menu{
  width: 100%;
  display: block;
  min-width: 225px;
  position: absolute;
  top: 100%;
  z-index: 999;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .0s linear,transform .0s linear !important;
  transition: opacity .0s linear,transform .0s linear !important;
  padding: 30px 40px;
}
.aldeco-shop-menu__menu.active{
  opacity: 1;
  visibility: visible;
  display: flex;
  flex-direction: column;
  background-color: rgb(255 255 255 / 92%) !important;
  width: 100%;
}

/* labels */
.s-filter-label{
  font-family: "Open Sans", open sans;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  background-color: transparent;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}
.s-filter-label svg{ margin-left: 10px; }

/* legacy list */
.s-filter-options{
  list-style: none;
  font-family: "Open Sans", open sans;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-color,#666);
  max-height: 180px;
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  display: none;
}
.s-filter-options li{ width: 33%; }

.aldeco-product-filters__wrapper{
  text-align: center;
  gap: 30px;
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 12px;
}

.select2-search__field,
.select2-selection__rendered,
.select2-results__option{
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 12px;
}

/* select2 base */
.select2.select2-container .select2-selection{
  border: 1px solid #ccc;
  border-radius: 3px;
  height: 34px;
  margin-bottom: 15px;
  outline: none !important;
  transition: all .15s ease-in-out;
  border: none;
}
.select2.select2-container .select2-selection .select2-selection__rendered{
  color: #000;
  line-height: 32px;
  padding-right: 33px;
  text-transform: uppercase;
  font-weight: 500;
}
.select2.select2-container .select2-selection .select2-selection__arrow{
  background: transparent;
  height: 32px;
  width: 33px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.874' height='5.727' viewBox='0 0 12.874 5.727'%3E%3Cpath id='Path_17750' data-name='Path 17750' d='M1168.922,251.85l-3.108,2.5-3.107,2.5-3.108-2.5-3.107-2.5' transform='translate(-1156.269 -251.574)' fill='none' stroke='%231a1718' stroke-miterlimit='10' stroke-width='0.709'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
.select2.select2-container.select2-container--open select2-selection .select2-selection__arrow{
  transform: rotate(180deg);
}
.select2.select2-container .select2-selection .select2-selection__arrow *{ display: none; }
.select2.select2-container.select2-container--open .select2-selection.select2-selection--single{ background: #fff; }
.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow{
  border-radius: 0 3px 0 0;
}
.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple{
  border: 1px solid #34495e;
}
.select2.select2-container .select2-selection--multiple{ height: auto; min-height: 34px; }
.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field{
  margin-top: 0;
  height: 32px;
}
.select2.select2-container .select2-selection--multiple .select2-selection__rendered{
  display: block;
  padding: 0 4px;
  line-height: 29px;
}
.select2.select2-container .select2-selection--multiple .select2-selection__choice{
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 3px;
  margin: 4px 4px 0 0;
  padding: 0 6px 0 22px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  position: relative;
}
.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove{
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  margin: 0;
  text-align: center;
  color: #e74c3c;
  font-weight: bold;
  font-size: 16px;
}
.select2-container .select2-dropdown{ background: transparent; border: none; margin-top: -5px; }
.select2-container .select2-dropdown .select2-search{ padding: 0; }
.select2-container .select2-dropdown .select2-search input{
  outline: none !important;
  padding: 4px 6px !important;
  border: none!important;
  border-bottom: 1px solid #000000!important;
}
.select2-container .select2-dropdown .select2-results{ padding: 0; }
.select2-container .select2-dropdown .select2-results ul{
  background: #ffffffed;
  border: none;
}
.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected]{
  background: #d7d7d7;
  color: #000;
}
.select2-container{ max-width: 200px; }

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar{ width: 2px; }
.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track{ background: #f1f1f1; }
.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb{ background: #000; }
.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover{ background: #282828; }

/* =========================
   2-column layout shop
   ========================= */

.woocommerce-shop .main-archive-product__wrapper{
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.woocommerce-shop .aldeco-product-filters__wrapper{
  flex: 0 0 20%;
  max-width: 20%;
  margin-top: 0 !important;
}

.woocommerce-shop .products.products-list{
  flex: 1 1 80%;
  max-width: 80%;
}

.woocommerce-shop .main-archive-product__content,
.woocommerce-shop .bwp-woocommerce-content,
.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering{
  width: 100%;
}

/* sticky */
@media (min-width: 992px){
  .woocommerce-shop .aldeco-product-filters__wrapper{
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow: auto;
    padding-right: 8px;
  }
}

/* mobile */
@media (max-width: 991px){
  .woocommerce-shop .main-archive-product__wrapper{
    flex-direction: column;
  }
  .woocommerce-shop .aldeco-product-filters__wrapper,
  .woocommerce-shop .products.products-list{
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .woocommerce-shop .s-filter-list{
    max-height: 200px;
  }
}

/* hide reset in v2 */
.aldeco-shop-v2 .aldeco-product-filters-buttons__reset-button,
.aldeco-shop-v2 .bwp-top-bar .reset-filters,
.aldeco-shop-v2 a.reset-filters{
  display: none !important;
}

/* v2 wrapper vars */
.aldeco-shop-v2 .main-archive-product__wrapper{
  display: flex;
  gap: 24px;
  align-items: flex-start;
  --filtersW: 20%;
  --gapW: 24px;
}

.aldeco-shop-v2 .aldeco-product-filters__wrapper{
  flex: 0 0 var(--filtersW);
  max-width: var(--filtersW);
}

.aldeco-shop-v2 .products.products-list{
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100% !important;
}

/* load more bar */
.aldeco-shop-v2 .aldeco-load-more{
  position: fixed;
  bottom: 0;
  z-index: 9999;
  left: calc(var(--filtersW) + var(--gapW));
  width: calc(100% - (var(--filtersW) + var(--gapW)));
  padding: 10px 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  text-align: center;
}

.aldeco-shop-v2 .products.products-list{
  padding-bottom: 70px;
}

@media (max-width: 991px){
  .aldeco-shop-v2 .main-archive-product__wrapper{
    flex-direction: column;
    --filtersW: 100%;
    --gapW: 0px;
  }
  .aldeco-shop-v2 .aldeco-product-filters__wrapper{
    max-width: 100%;
    width: 100%;
  }
  .aldeco-shop-v2 .aldeco-load-more{
    left: 0;
    width: 100%;
  }
}

/* washing conditions smaller */
.aldeco-shop-v2 .aldeco-washing-conditions__hover{ padding: 12px; }
.aldeco-shop-v2 .aldeco-washing-conditions__hover h3{ font-size: 12px; margin-bottom: 4px; }
.aldeco-shop-v2 .aldeco-washing-conditions__hover h3 small{ font-size: 11px; }
.aldeco-shop-v2 .aldeco-washing-conditions__hover .icons-wrapper{ gap: 6px; }
.aldeco-shop-v2 .aldeco-washing-conditions__hover img{
  width: 15px !important;
  height: 15px !important;
}

/* hide some filter blocks in v2 */
.aldeco-shop-v2 [data-attr="pa_indoor-fabrics"],
.aldeco-shop-v2 [data-attr="pa_special-treatments-fabrics"],
.aldeco-shop-v2 [data-attr="pa_interior-fabrics"],
.aldeco-shop-v2 [data-attr="pa_contract-fabrics"],
.aldeco-shop-v2 [data-attr="pa_sustainable-fabrics"],
.aldeco-shop-v2 [data-attr="product_cat"],
.aldeco-shop-v2 [data-attr="pa_line"]{
  display: none !important;
}


/* ======================================================================
   NEW FILTER UI (Collapsible + Show more + smooth easing)
   ====================================================================== */

/* Feel free to tweak these */
:root{
  --aldeco-ease: cubic-bezier(.22,1,.36,1);
  --aldeco-fast: 160ms;
  --aldeco-med: 240ms;
  --aldeco-slow: 360ms;
}

/* container per filter */
.s-filter-block{
  border-bottom: 1px solid #e6e6e6;
  padding: 12px 0;
}

/* clickable header button */
.s-filter-header{
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;

  /* header animation */
  transition: opacity var(--aldeco-fast) var(--aldeco-ease),
              transform var(--aldeco-fast) var(--aldeco-ease);
}

.s-filter-header:hover{
  opacity: .85;
}

.s-filter-header:active{
  transform: translateY(1px);
}

/* title left aligned */
.s-filter-title{
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  line-height: 1.15;
  margin: 0;
}

/* chevron (arrow) */
.s-filter-chevron{
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
  flex: 0 0 18px;
}

.s-filter-chevron::before{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform var(--aldeco-med) var(--aldeco-ease);
}

/* open state rotates chevron */
.s-filter-block.is-open .s-filter-chevron::before{
  transform: rotate(-135deg);
}

/* body wrapper */
.s-filter-body{
  padding-top: 10px;
  overflow: hidden;

  /* smooth open/close using max-height + opacity */
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height var(--aldeco-slow) var(--aldeco-ease),
              opacity var(--aldeco-med) var(--aldeco-ease),
              transform var(--aldeco-med) var(--aldeco-ease);
}

/* open */
.s-filter-block.is-open .s-filter-body{
  max-height: 520px; /* enough for most lists; "show more" can expand inside */
  opacity: 1;
  transform: translateY(0);
}

/* list */
.s-filter-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start; /* left aligned */
}

/* checkbox row */
.s-filter-check{
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;

  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  margin: 0 !important;
}

/* =========================
   Rounded corner checkbox
   ========================= */

.s-filter-checkbox{
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #111;
  border-radius: 4px;
  display: inline-grid;
  place-content: center;
  margin: 0;
  cursor: pointer;
  transition: background var(--aldeco-fast) var(--aldeco-ease),
              border-color var(--aldeco-fast) var(--aldeco-ease),
              transform var(--aldeco-fast) var(--aldeco-ease);
}

.s-filter-checkbox:hover{
  transform: scale(1.03);
}

.s-filter-checkbox:checked{
  background: #111;
  border-color: #111;
}

.s-filter-checkbox:checked::after{
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -1px;
}

/* =========================
   Show more / less button
   ========================= */

.s-filter-more{
  margin-top: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;

  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;

  display: inline-flex;
  align-items: center;
  justify-content: flex-start; /* left aligned */
  gap: 6px;
  color: #111;

  transition: opacity var(--aldeco-fast) var(--aldeco-ease),
              transform var(--aldeco-fast) var(--aldeco-ease);
}

.s-filter-more:hover{
  opacity: .75;
}

.s-filter-more:active{
  transform: translateY(1px);
}

/* chevron for show more */
.s-filter-more-chevron{
  width: 12px;
  height: 12px;
  position: relative;
}

.s-filter-more-chevron::before{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform var(--aldeco-med) var(--aldeco-ease);
}

.s-filter-more[data-state="expanded"] .s-filter-more-chevron::before{
  transform: rotate(-135deg);
}

/* =========================
   Clear link (optional)
   ========================= */

.s-filter-clear{
  margin-top: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  opacity: .7;
  cursor: pointer;

  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-align: left;

  transition: opacity var(--aldeco-fast) var(--aldeco-ease);
}

.s-filter-clear:hover{ opacity: 1; }

/* =========================
   Optional: nicer scrollbar in lists
   ========================= */

.s-filter-body .s-filter-list{
  padding-right: 2px;
}

.s-filter-body::-webkit-scrollbar { width: 2px; }
.s-filter-body::-webkit-scrollbar-track { background: transparent; }
.s-filter-body::-webkit-scrollbar-thumb { background: #000; }
.s-filter-body::-webkit-scrollbar-thumb:hover { background: #282828; }


/* =========================
   V2 FILTER UI (accordion)
   ========================= */

.aldeco-shop-v2 .aldeco-product-filters__wrapper{
  text-align: left !important;
}

/* bloco */
.aldeco-shop-v2 .s-filter-block{
  border-bottom: 1px solid #e9e9e9;
  padding: 14px 0;
}

/* header clicável (título à esquerda + seta à direita) */
.aldeco-shop-v2 .s-filter-header{
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;

  transition: opacity .18s ease, transform .18s ease;
}

.aldeco-shop-v2 .s-filter-header:hover{ opacity: .85; }
.aldeco-shop-v2 .s-filter-header:active{ transform: translateY(1px); }

.aldeco-shop-v2 .s-filter-title{
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  text-align: left;
}

/* seta (chevron) */
.aldeco-shop-v2 .s-filter-chevron{
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 18px;
}

.aldeco-shop-v2 .s-filter-chevron::before{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform .22s ease;
}

/* corpo colapsável */
.aldeco-shop-v2 .s-filter-body{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .35s ease, opacity .2s ease, transform .2s ease;
  padding-top: 0;
}

/* aberto */
.aldeco-shop-v2 .s-filter-block.is-open .s-filter-body{
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 12px;
}

/* rodar seta quando aberto */
.aldeco-shop-v2 .s-filter-block.is-open .s-filter-chevron::before{
  transform: rotate(-135deg);
}

/* lista */
.aldeco-shop-v2 .s-filter-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* item */
.aldeco-shop-v2 .s-filter-check{
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  margin: 0 !important;
}

/* esconder além dos 5 */
.aldeco-shop-v2 .s-filter-check.is-hidden{
  display: none;
}

/* checkbox arredondada */
.aldeco-shop-v2 .s-filter-checkbox{
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #111;
  border-radius: 4px;
  display: inline-grid;
  place-content: center;
  margin: 0;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.aldeco-shop-v2 .s-filter-checkbox:hover{ transform: scale(1.03); }

.aldeco-shop-v2 .s-filter-checkbox:checked{
  background: #111;
}

.aldeco-shop-v2 .s-filter-checkbox:checked::after{
  content:"";
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -1px;
}

/* show more */
.aldeco-shop-v2 .s-filter-more{
  margin-top: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  transition: opacity .18s ease, transform .18s ease;
}
.aldeco-shop-v2 .s-filter-more:hover{ opacity: .75; }
.aldeco-shop-v2 .s-filter-more:active{ transform: translateY(1px); }

.aldeco-shop-v2 .s-filter-more-chevron{
  width: 12px;
  height: 12px;
  position: relative;
}
.aldeco-shop-v2 .s-filter-more-chevron::before{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width: 6px;
  height: 6px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform .22s ease;
}
.aldeco-shop-v2 .s-filter-more[data-state="expanded"] .s-filter-more-chevron::before{
  transform: rotate(-135deg);
}

/* clear */
.aldeco-shop-v2 .s-filter-clear{
  margin-top: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: .7;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  text-align: left;
}
.aldeco-shop-v2 .s-filter-clear:hover{ opacity: 1; }

.s-filter-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
}

.s-filter-clear{
  margin-top:0;
  text-decoration:none;
  opacity:.7;
}
.s-filter-clear:hover{ opacity:1; }

/* esconder extras por classe */
.s-filter-check.is-hidden{ display:none; }



















/* container */
.s-filter-block { border-bottom: 1px solid #e6e6e6; padding: 12px 0; }

/* header clicável */
.s-filter-header{
  width:100%;
  background:transparent;
  border:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
}

.s-filter-title{
  font-weight:700;
  font-size:16px;
  text-align:left;
}

/* chevron do header */
.s-filter-chevron{
  width:18px;height:18px;position:relative;flex:0 0 18px;
}
.s-filter-chevron::before{
  content:"";
  position:absolute; inset:0; margin:auto;
  width:8px; height:8px;
  border-right:2px solid #111;
  border-bottom:2px solid #111;
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.s-filter-block.is-open .s-filter-chevron::before{ transform: rotate(-135deg); }

/* body com animação suave */
.s-filter-body{
  overflow:hidden;
  max-height: 1200px; /* aberto */
  transition: max-height .35s ease;
  padding-top: 10px;
}
.s-filter-block:not(.is-open) .s-filter-body{
  max-height: 0;      /* fechado */
  padding-top: 0;
}

/* lista */
.s-filter-list{ display:flex; flex-direction:column; gap:10px; }

/* check arredondada */
.s-filter-checkbox{
  appearance:none;
  -webkit-appearance:none;
  width:18px; height:18px;
  border:1.5px solid #111;
  border-radius:6px;
  display:inline-grid;
  place-content:center;
  margin:0;
  cursor:pointer;
}
.s-filter-checkbox:checked{ background:#111; }
.s-filter-checkbox:checked::after{
  content:"";
  width:8px; height:5px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform: rotate(-45deg);
  margin-top:-1px;
}

.s-filter-check{
  display:flex; align-items:center; gap:10px;
  cursor:pointer;
  font-size:14px;
}

/* esconder extras */
.s-filter-check.is-hidden{ display:none; }

/* footer: show more à esquerda, clear à direita */
.s-filter-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top: 10px;
  gap: 12px;
}

/* show more button */
.s-filter-more{
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#111;
}

/* chevron show more */
.s-filter-more-chevron{
  width:12px;height:12px;position:relative;
}
.s-filter-more-chevron::before{
  content:"";
  position:absolute; inset:0; margin:auto;
  width:6px;height:6px;
  border-right:2px solid #111;
  border-bottom:2px solid #111;
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.s-filter-more[data-state="expanded"] .s-filter-more-chevron::before{
  transform: rotate(-135deg);
}

.s-filter-clear{
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  font-size:13px;
  opacity:.7;
  text-decoration: underline;
}
.s-filter-clear:hover{ opacity:1; }














