@media (max-width: 999px) {
  body.saved-or-bag-view .topbar {
    display: none;
  }
}

body.detail-open .trust-marquee {
  display: none;
}

.shop-home {
  position: relative;
}

.shop-home .home-search {
  display: none;
}

.shop-home .home-search.is-open {
  display: flex;
  position: absolute;
  z-index: 18;
  top: 12px;
  left: 20px;
  right: 20px;
  width: auto;
  max-width: 520px;
  margin-left: auto;
  animation: home-search-reveal 240ms ease-out;
}

@keyframes home-search-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-home .home-search.is-open {
    animation: none;
  }
}

@media (min-width: 700px) {
  .shop-home .home-search.is-open {
    top: 18px;
    left: auto;
    right: 48px;
    width: min(520px, calc(100% - 96px));
  }
}

@media (min-width: 1000px) {
  .shop-home .home-search.is-open {
    right: 70px;
    width: min(560px, calc(100% - 140px));
  }
}

.home-search button {
  appearance: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: 0;
  transform: none;
}

.home-search button:focus-visible {
  outline: 1px solid #fff;
  outline-offset: -3px;
}

@media (max-width: 699px) {
  .shop-home {
    padding-top: 16px;
  }
}
.product-card .product-name {
  display: -webkit-box;
  width: calc(100% - 18px);
  max-width: none;
  min-height: 2.1em;
  overflow: hidden;
  line-height: 1.05;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.shop-home .product-card .current-price {
  font-size: 10px;
  line-height: 1.3;
}

@media (min-width: 1000px) {
  .shop-home .product-card .current-price {
    font-size: 12px;
  }
}
