.modernista-new-arrivals-page {
  padding-bottom: 80px;
}

.modernista-new-arrivals-page .new-arrivals-page-hero {
  min-height: clamp(180px, 22vw, 260px);
  padding: 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.modernista-new-arrivals-page .new-arrivals-page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.modernista-new-arrivals-page .new-arrivals-page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.modernista-new-arrivals-page .new-arrivals-page-hero p {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
  color: #222;
  font-weight: 300;
}

.modernista-new-arrivals-page .grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1280px;
  gap: 36px;
  padding: 30px 20px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.modernista-new-arrivals-page .new-arrivals-main-grid {
  padding-top: 60px;
}

.modernista-new-arrivals-page .product-card {
  --modernista-card-title-padding-inline: 24px;
  --modernista-card-price-padding-inline: 24px;
  --modernista-card-actions-top: 15px;
}

.modernista-new-arrivals-page .product-card .modernista-card__title {
  font-size: 1.4rem;
  line-height: 1.35;
  font-weight: 300;
}

.modernista-new-arrivals-page .product-card .modernista-card__old-price {
  font-size: 1.05rem;
  font-weight: 700;
}

.modernista-new-arrivals-page .product-card .modernista-card__new-price {
  font-size: 1.15rem;
  font-weight: 700;
}

.modernista-new-arrivals-page .product-card .modernista-card__discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.modernista-new-arrivals-page .product-card .modernista-card__price-text {
  font-size: 1.15rem;
  font-weight: 700;
}

.modernista-new-arrivals-page .product-card .free-shipping,
.modernista-new-arrivals-page .product-card .modernista-card__status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.modernista-new-arrivals-page .product-card .new-in-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(212, 47, 116);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.modernista-new-arrivals-page .category-pagination {
  margin: 24px 0 50px;
  display: flex;
  justify-content: center;
}

.modernista-new-arrivals-page .category-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}

.modernista-new-arrivals-page .category-pagination .page-numbers li {
  margin: 0;
}

.modernista-new-arrivals-page .category-pagination .page-numbers li a,
.modernista-new-arrivals-page .category-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #111;
  color: #111;
  background: #fff;
  text-decoration: none;
  line-height: 1;
}

.modernista-new-arrivals-page .category-pagination .page-numbers li .current {
  background: #111;
  color: #fff;
  border-color: #111;
}

.modernista-new-arrivals-page .category-pagination .page-numbers li a:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.modernista-new-arrivals-page .no-products-message {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 20px 0;
  text-align: center;
}

.modernista-new-arrivals-page .no-products-message h3 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.modernista-new-arrivals-page .no-products-message p {
  margin: 0 0 24px;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #222;
}

.modernista-new-arrivals-page .recently-sold-intro {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 20px 0;
  text-align: center;
}

.modernista-new-arrivals-page .recently-sold-intro h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: #000;
}

.modernista-new-arrivals-page .recently-sold-intro hr {
  width: 100%;
  max-width: 100px;
  margin: 14px auto 18px;
  border: 0;
  border-top: 1px solid #000;
  padding: 0;
}

.modernista-new-arrivals-page .recently-sold-intro p {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
  color: #222;
  font-weight: 300;
}

.modernista-new-arrivals-page .recently-sold-grid {
  padding-top: 24px;
}

.modernista-new-arrivals-page .recently-sold-grid .product-card.sold-card {
  background: transparent;
  padding: 28px 24px;
  margin: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.modernista-new-arrivals-page .recently-sold-grid .product-card.sold-card .modernista-card__thumb {
  margin: -28px -24px 22px;
  position: relative;
  overflow: hidden;
  width: calc(100% + 48px);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.modernista-new-arrivals-page .product-card.sold-card .modernista-card__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  display: block;
  filter: saturate(.85);
}

.modernista-new-arrivals-page .recently-sold-grid .product-card.sold-card .modernista-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 8px 0;
  color: #222;
  padding: 0;
}

.modernista-new-arrivals-page .recently-sold-grid .product-card.sold-card .status-sold {
  background-color: rgb(212, 47, 116);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  margin-top: 8px;
  display: inline-block;
  text-align: center;
  text-transform: capitalize;
}

.modernista-new-arrivals-page .collection-feed-block {
  padding: 100px 20px 80px;
}

.modernista-new-arrivals-page .inside-the-collection-block .hero-below {
  padding: 100px 0 30px !important;
}

.modernista-new-arrivals-page .collection-feed-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.modernista-new-arrivals-page .collection-feed-header {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.modernista-new-arrivals-page .collection-feed-header h2 {
  margin: 0 0 14px;
  padding-top: 50px;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: #000;
}

.modernista-new-arrivals-page .collection-feed-header p {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
  color: #222;
  font-weight: 300;
}

.modernista-new-arrivals-page .collection-feed-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 36px;
  width: 100%;
}

.modernista-new-arrivals-page .collection-feed-card {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.modernista-new-arrivals-page .collection-feed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modernista-new-arrivals-page .collection-feed-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
}

.modernista-new-arrivals-page .collection-feed-label {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  font-family: "Jost", sans-serif;
  letter-spacing: .02em;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.modernista-new-arrivals-page .collection-feed-cta {
  margin-top: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.modernista-new-arrivals-page .collection-feed-cta .btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .45em;
  max-width: 290px;
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 25px;
  font-family: sans-serif;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  padding: 10px 18px;
  text-decoration: none;
}

@media screen and (max-width: 1023px) {
  .modernista-new-arrivals-page .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .modernista-new-arrivals-page .collection-feed-grid {
    gap: 24px;
  }
}

@media screen and (max-width: 575px) {
  .modernista-new-arrivals-page .new-arrivals-page-hero {
    padding: 10px 0 0;
  }

  .modernista-new-arrivals-page .collection-feed-block {
    padding: 100px 0 80px;
  }

  .modernista-new-arrivals-page .new-arrivals-page-hero p {
    font-size: 1.15rem;
  }

  .modernista-new-arrivals-page .grid-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
  }

  .modernista-new-arrivals-page .grid-container.new-arrivals-main-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .modernista-new-arrivals-page .new-arrivals-main-grid {
    padding-top: 60px;
  }

  .modernista-new-arrivals-page .product-card {
    padding: 0 0 20px;
  }

  .modernista-new-arrivals-page .new-arrivals-main-grid .product-card {
    padding: 28px 24px;
  }

  .modernista-new-arrivals-page .new-arrivals-main-grid .product-card .modernista-card__thumb {
    margin: -28px -24px 22px;
    width: calc(100% + 48px);
    border-radius: 10px;
    aspect-ratio: 1/1;
  }

  .modernista-new-arrivals-page .recently-sold-grid .product-card.sold-card {
    border-color: #fff;
  }

  .modernista-new-arrivals-page .product-card .modernista-card__thumb {
    aspect-ratio: 1/1;
  }

  .modernista-new-arrivals-page .collection-feed-grid {
    gap: 18px;
  }

  .modernista-new-arrivals-page .collection-feed-label {
    font-size: 0.9rem;
  }

  .modernista-new-arrivals-page .collection-feed-header p {
    font-size: 1.15rem;
  }
}
