.shop-archive{
  min-height:80vh;
  display:flex;
  flex-direction:column;
  padding-bottom:80px;
}

.shop-divider{display:none!important;}

.shop-cats{
  margin:26px 0 18px;
}

.shop-cats__list{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(28px,7vw,120px);
  list-style:none;
  padding:0;
  margin:0;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.shop-cats__list::-webkit-scrollbar{display:none;}

.shop-cats__item{flex:0 0 auto;}

.shop-cats__link{
  position:relative;
  display:inline-block;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:24px;
  font-weight:500;
  line-height:1.2;
  letter-spacing:-0.02em;
  color:#0b0b0b;
  text-decoration:none;
  padding:6px 2px 12px;
  opacity:.75;
  transition:opacity .2s ease;
}

.shop-cats__link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:4px;
  height:3px;
  border-radius:999px;
  background:transparent;
  transition:background .2s ease;
}

.shop-cats__item.is-active .shop-cats__link{opacity:1;}
.shop-cats__item.is-active .shop-cats__link::after{background:#0b0b0b;}
.shop-cats__link:hover{opacity:1;}

.shop-filters{
  display:flex;
  width:100%;
  justify-content:flex-start;
  margin:6px 0 34px;
}

.shop-filters__left{
  display:flex;
  align-items:center;
  width:100%;
  justify-content:space-between;
  gap:16px;
  margin:0!important;
}

.shop-search{position:relative;display:flex;flex:0 0 auto;}
.shop-sort{margin-left:auto;flex:0 0 auto;}

.shop-search__input{
  width:260px;
  height:42px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:0 45px 0 15px;
  font-size:14px;
  outline:none;
}

.shop-search__btn{
  position:absolute;
  right:0;
  top:0;
  width:42px;
  height:42px;
  background:transparent;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#838383;
}

.shop-sort .woocommerce-ordering{margin:0;float:none;}
.shop-sort select.orderby{
  appearance:none!important;
  -webkit-appearance:none!important;
  height:42px!important;
  margin:0!important;
  padding:0 35px 0 15px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:10px!important;
  font-size:14px!important;
  color:#838383!important;
  background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23838383' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 15px center!important;
  min-width:190px;
}

.bests__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.bests__card-inner{
  background:#f5f6fa;
  border-radius:24px;
  padding:20px;
  display:flex;
  flex-direction:column;
  height:100%;
}

.bests__img-box{
  background:#fff;
  border-radius:18px;
  height:350px;
  overflow:hidden;
  margin-bottom:20px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.bests__img-box img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  padding:16px;
  transform:none;
 transform:scale(1.12);
}

.bests__content{
  display:flex;
  flex-direction:column;
  flex-grow:1;
}

.bests__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.bests__name{
  font-size:24px!important;
  font-weight:600!important;
  margin:0 0 8px!important;
}
.bests__name a{color:inherit;text-decoration:none;}

.bests__price{
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}

.bests__desc{
  font-size:14px!important;
  color:#838383!important;
  margin-bottom:25px;
  flex-grow:1;
}

.bests__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.bests__btn{
  height:48px;
  border-radius:10px;
  font-weight:600;
  font-size:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:#FED845;
  color:#000!important;
}

.bests__btn--white{
  background:#fff!important;
  border:1px solid #e2e8f0;
}

.shop-pagination{
  margin-top:60px;
  display:flex;
  justify-content:center;
}

.shop-pagination ul{
  display:flex;
  gap:10px;
  list-style:none;
  padding:0;
}

.shop-pagination ul li span,
.shop-pagination ul li a{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:8px;
  color:#000;
  text-decoration:none;
  font-weight:600;
  transition:.2s;
}

.shop-pagination ul li span.current{
  background:#000;
  color:#fff;
  border-color:#000;
}

.shop-pagination ul li a:hover{border-color:#000;}

.shop-no-results{
  text-align:center;
  padding:100px 20px;
  background:#f5f6fa;
  border-radius:24px;
}

@media (min-width:1025px){
  .shop-archive{padding-top:38px;}
  .shop-cats{margin-top:42px;margin-bottom:44px;}
  .shop-filters{margin-top:0;margin-bottom:46px;}
}

@media (max-width:1024px){
  .bests__grid{grid-template-columns:repeat(2,1fr);}
}

@media (max-width:640px){
  .shop-cats{margin:16px 0 14px;}
  .shop-cats__list{
    justify-content:flex-start;
    flex-wrap:wrap;
    column-gap:18px;
    row-gap:10px;
    padding:0 16px;
    overflow-x:visible;
  }
  .shop-cats__item{flex:0 0 auto;}
  .shop-cats__link{
    font-size:16px;
    padding:4px 2px 10px;
    white-space:normal;
  }

  .shop-filters__left{
    flex-direction:column;
    align-items:stretch;
    width:100%;
  }

  .shop-search{width:100%;}
  .shop-search__input{width:100%;}

  .shop-sort{width:100%;margin-left:0;}
  .shop-sort .woocommerce-ordering{width:100%;margin:0;float:none;}
  .shop-sort select.orderby{width:100%!important;min-width:0!important;}

  .bests__grid{grid-template-columns:1fr;}
}


.shop-sort{position:relative;width:auto;}
.shop-sort .woocommerce-ordering{margin:0;float:none;}

.hayvo-dd{
  position:relative;
  width:240px;
  max-width:100%;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.hayvo-dd__btn{
  width:100%;
  height:42px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#fff;
  padding:0 44px 0 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  user-select:none;
}

.hayvo-dd__label{
  font-size:14px;
  font-weight:500;
  color:#111;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.hayvo-dd__chev{
  position:absolute;
  right:14px;
  width:18px;
  height:18px;
  display:block;
  pointer-events:none;
  color:#838383;
}

.hayvo-dd__panel{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 8px);
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:12px;
  box-shadow:0 18px 50px rgba(2,6,23,.12);
  padding:6px;
  display:none;
  z-index:9999;
}

.hayvo-dd.is-open .hayvo-dd__panel{display:block;}

.hayvo-dd__opt{
  width:100%;
  border:0;
  background:transparent;
  border-radius:10px;
  padding:10px 10px;
  text-align:left;
  cursor:pointer;
  font-size:14px;
  font-weight:500;
  color:#0f172a;
}

.hayvo-dd__opt:hover{background:rgba(15,23,42,.04);}
.hayvo-dd__opt.is-active{background:rgba(15,23,42,.06);}

.woocommerce-ordering.is-custom select.orderby,
.shop-sort.is-custom select.orderby{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

@media (max-width:640px){
  .shop-sort{width:100%;}
  .hayvo-dd{width:100%;}
  .hayvo-dd__btn{height:46px;}
  .hayvo-dd__label{font-size:16px;}
  .hayvo-dd__opt{font-size:16px;padding:12px 12px;}
}

.product-popup__sku{
  margin: 4px 0 14px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: .01em;
  color: #9ca3af;
}