.shop-archive,
.shop-archive * {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

.shop-archive {
  width: 100%;
  max-width: 1320px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
  overflow: hidden;
}

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

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

.woocommerce-result-count {
  display: none !important;
}

.woocommerce-breadcrumb {
  display: none !important;
}

.term-description {
  display: none !important;
}

.hayvo-dd {
  display: none !important;
}

.woocommerce .woocommerce-ordering {
  margin: 0 !important;
  float: none !important;
}

.woocommerce-ordering.is-custom select.orderby,
.shop-sort.is-custom select.orderby {
  position: static !important;
  width: auto !important;
  height: 46px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

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

.shop-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.shop-bar__dd {
  position: relative;
}

.shop-bar__select,
.shop-bar__dd select.orderby {
  appearance: none !important;
  -webkit-appearance: none !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 40px 0 20px !important;
  background: #fff !important;
  border: 1px solid rgba(13, 38, 64, .12) !important;
  border-radius: 999px !important;
  font-family: 'Noto Sans', system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0d2640 !important;
  cursor: pointer;
  outline: none !important;
  min-width: 150px;
  max-width: 100%;
  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='%230d2640' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  transition: border-color 180ms ease !important;
}

.shop-bar__select:focus,
.shop-bar__dd select.orderby:focus {
  border-color: #6aa3d4 !important;
}

.shop-bar__search {
  position: relative;
  display: flex;
  width: 100%;
}

.shop-bar__input {
  width: 220px;
  height: 46px;
  border: 1px solid rgba(13, 38, 64, .12);
  border-radius: 999px;
  padding: 0 44px 0 20px;
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 14px;
  color: #0d2640;
  outline: none;
  transition: border-color 180ms ease;
}

.shop-bar__input:focus {
  border-color: #6aa3d4;
}

.shop-bar__input::placeholder {
  color: rgba(13, 38, 64, .35);
}

.shop-bar__sbtn {
  position: absolute;
  right: 0;
  top: 0;
  width: 46px;
  height: 46px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(13, 38, 64, .35);
}

.bests__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bests__card {
  min-width: 0;
  max-width: 100%;
}

.bests__card-inner {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: #f5f7fa;
  border: none;
  border-radius: 22px;
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.bests__img-box {
  width: 100%;
  max-width: 100%;
  background: transparent;
  border-radius: 16px;
  height: 380px;
  overflow: hidden;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bests__img-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}

.bests__img-box:hover img {
  transform: scale(1.05);
}

.bests__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0 4px;
}

.bests__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.bests__name {
  min-width: 0;
  font-family: 'Noto Sans', system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0d2640 !important;
  margin: 0 !important;
}

.bests__name a {
  color: #0d2640 !important;
  text-decoration: none;
}

.bests__name a:hover {
  color: #3a7cc5 !important;
}

.bests__price {
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  color: #0d2640;
}

.bests__desc {
  font-family: 'Noto Sans', system-ui, sans-serif !important;
  font-size: 14px !important;
  color: rgba(13, 38, 64, .45) !important;
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.55;
}

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

.bests__btn {
  height: 44px;
  border-radius: 14px;
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #b8d4f0 !important;
  color: #0d2640 !important;
  border: none !important;
  transition: background 180ms ease, transform 180ms ease;
}

.bests__btn:hover {
  background: #8ab9e0 !important;
  transform: translateY(-1px);
}

.bests__btn--white,
.bests__btn--view {
  background: #ffffff !important;
  border: 1px solid rgba(13, 38, 64, .12) !important;
}

.bests__btn--white:hover,
.bests__btn--view:hover {
  background: #eef5fb !important;
}

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

.shop-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 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 rgba(13, 38, 64, .12);
  border-radius: 12px;
  color: #0d2640;
  text-decoration: none;
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-weight: 600;
  transition: .2s;
}

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

.shop-pagination ul li a:hover {
  border-color: #6aa3d4;
  background: #eef5fb;
}

.shop-no-results {
  text-align: center;
  padding: 100px 20px;
  background: #eef5fb;
  border-radius: 22px;
  font-family: 'Noto Sans', system-ui, sans-serif;
  color: #0d2640;
}

.shop-no-results h2 {
  font-family: 'Abril Fatface', serif;
  font-weight: 400;
  color: #0d2640;
}

a.added_to_cart.wc-forward {
  display: none !important;
}

@media (min-width: 1025px) {
  .shop-archive {
    padding-top: 38px;
  }
}

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

@media (max-width: 640px) {
  .shop-archive.wrap,
  .shop-archive {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: 56px;
    overflow: hidden;
  }

  .shop-bar {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 22px 0 26px;
  }

  .shop-bar__left {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .shop-bar__right,
  .shop-bar__dd,
  .woocommerce .woocommerce-ordering,
  .shop-bar__search {
    width: 100%;
    min-width: 0;
  }

  .shop-bar__select,
  .shop-bar__dd select.orderby {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 34px 0 16px !important;
    font-size: 13px !important;
    background-position: right 14px center !important;
  }

  .shop-bar__input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px;
    padding-left: 16px;
    padding-right: 42px;
    font-size: 13px;
  }

  .shop-bar__sbtn {
    width: 42px;
    height: 42px;
  }

  .bests__grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .bests__card,
  .bests__card-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .bests__card-inner {
    border-radius: 20px;
    padding: 14px;
  }

  .bests__img-box {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / .68;
    max-height: 260px;
    border-radius: 14px;
    margin-bottom: 16px;
    background: #fff;
  }

  .bests__img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
  }

  .bests__content {
    padding: 0 4px 2px;
  }

  .bests__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
  }

  .bests__name {
    font-size: 20px !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere;
  }

  .bests__price {
    font-size: 13px;
    padding-top: 3px;
  }

  .bests__desc {
    font-size: 13px !important;
    line-height: 1.45;
    margin-bottom: 16px;
  }

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

  .bests__btn {
    height: 42px;
    min-width: 0;
    border-radius: 12px;
    font-size: 13px;
    text-align: center;
    padding: 0 8px;
  }

  .shop-pagination {
    margin-top: 42px;
  }

  .shop-pagination ul li span,
  .shop-pagination ul li a {
    width: 40px;
    height: 40px;
  }

  .shop-no-results {
    padding: 56px 18px;
    border-radius: 20px;
  }
}

@media (max-width: 380px) {
  .shop-archive.wrap,
  .shop-archive {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .shop-bar__left {
    gap: 8px;
  }

  .shop-bar__select,
  .shop-bar__dd select.orderby {
    font-size: 12px !important;
    padding-left: 14px !important;
    padding-right: 30px !important;
  }

  .bests__name {
    font-size: 18px !important;
  }

  .bests__price {
    font-size: 12px;
  }

  .bests__btn {
    font-size: 12px;
  }
}