.newest-products {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.newest-products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 4px 20px;
  margin-bottom: 0;
}

.newest-products-heading .eyebrow {
  margin: 0 0 8px;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

.newest-products-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.newest-products-heading > span {
  color: color-mix(in srgb, var(--ink) 62%, transparent);
  font-size: .86rem;
}

.newest-products-shell {
  position: relative;
}

.newest-products-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
  cursor: grab;
  border-radius: 0;
  overflow-anchor: none;
}

.newest-products-track:active {
  cursor: grabbing;
}

.newest-products-track::-webkit-scrollbar {
  display: none;
}

.newest-product-card {
  flex: 0 0 clamp(205px, 23vw, 252px);
  min-width: 0;
  scroll-snap-align: start;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  border: 0;
  user-select: none;
}

.newest-product-image {
  position: relative;
  height: 255px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--cream) 84%, #fff);
}

.newest-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
  pointer-events: none;
}

.newest-product-card:hover .newest-product-image img {
  transform: scale(1.035);
}

.newest-product-image > span {
  font-size: 5rem;
  font-weight: 800;
  opacity: .25;
}

.newest-discount {
  position: absolute;
  right: 12px;
  bottom: 10px;
  min-width: 38px;
  padding: 6px 9px;
  border-radius: 30px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: .78rem;
}

.newest-product-copy {
  min-height: 132px;
  padding: 9px 2px 12px;
  display: flex;
  flex-direction: column;
}

.newest-product-copy small {
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .72rem;
  font-weight: 600;
}

.newest-product-copy h3 {
  margin: 5px 0 8px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.012em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.newest-product-price {
  margin-top: auto;
  display: grid;
  justify-items: end;
  gap: 3px;
}

.newest-product-price del {
  color: color-mix(in srgb, var(--ink) 42%, transparent);
  font-size: .78rem;
}

.newest-product-price strong {
  font-size: 1rem;
  font-weight: 800;
}

.newest-product-price strong span {
  font-size: .72rem;
  font-weight: 500;
}

.newest-product-copy em {
  margin-top: 9px;
  color: #a23a3a;
  font-size: .78rem;
  font-style: normal;
}

.newest-arrow {
  position: absolute;
  z-index: 2;
  top: 42%;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--ink) 13%, transparent);
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  color: var(--ink);
  box-shadow: 0 8px 25px rgb(24 33 28 / 13%);
  opacity: 0;
  transform: translateY(-50%) scale(.94);
  transition: opacity .2s ease, transform .2s ease;
}

.newest-products-shell:hover .newest-arrow,
.newest-products-shell:focus-within .newest-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.newest-arrow-right {
  right: 10px;
}

.newest-arrow-left {
  left: 10px;
}

.newest-arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newest-products-empty {
  padding: 58px 20px;
  text-align: center;
  background: rgb(255 255 255 / 62%);
  border-radius: 15px;
}

.newest-products-empty h3 {
  margin-top: 0;
}

.newest-products-empty p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

@media (max-width: 650px) {
  .newest-products {
    margin-inline: -8px;
    padding: 0 8px 12px;
    border-radius: 0;
  }

  .newest-products-heading {
    padding: 3px 5px 15px;
  }

  .newest-products-heading > span,
  .newest-arrow {
    display: none;
  }

  .newest-products-track {
    gap: 10px;
    scroll-padding-inline: 0;
    scrollbar-width: none;
  }

  .newest-products-track::-webkit-scrollbar {
    display: none;
  }

  .newest-product-card {
    flex-basis: min(44vw, 190px);
  }

  .newest-product-image {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .newest-product-copy {
    min-height: 122px;
    padding: 8px 2px 10px;
  }

  .newest-product-copy h3 {
    font-size: .88rem;
    margin: 4px 0 7px;
  }

  .newest-product-price strong {
    font-size: .9rem;
  }
}
