.products-wrap {
  padding: 32px 0 40px;
}

/* Full-width product gallery. */
.product-section.product-section--latest {
  width: 100%;
  margin-inline: 0;
  padding: 32px 0 24px;
  border: 0;
  border-radius: 0;
  background: #25211f;
}

.product-section--latest .section-head {
  align-items: center;
  margin-bottom: 20px;
  padding-inline: clamp(18px, 3.5vw, 72px);
}

.product-section--latest .section-head__titles {
  flex-direction: column;
  align-items: flex-start;
}

.product-section--latest .section-head h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(23px, 2.2vw, 32px);
}

.latest-products__nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.latest-products__nav :is(.slider__arrow, .latest-products__pause) {
  position: static;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #62544b;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  line-height: 1;
  box-shadow: none;
  transform: none;
  transition: background 0.2s, border-color 0.2s;
}

.latest-products__nav :is(.slider__arrow, .latest-products__pause):hover:not(:disabled) {
  border-color: var(--red);
  background: var(--red);
}

.latest-products__pause svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.latest-products__pause .latest-products__play-icon,
.latest-products__pause[aria-pressed="true"] .latest-products__pause-icon {
  display: none;
}

.latest-products__pause[aria-pressed="true"] .latest-products__play-icon {
  display: block;
}

.latest-products__pause:disabled {
  opacity: 0.4;
  cursor: default;
}

.product-section--latest .slider__viewport {
  padding-block: 4px 12px;
}

.product-section--latest.is-gallery-ready .slider__viewport {
  overflow-x: hidden;
  scroll-snap-type: none;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.product-section--latest.is-gallery-dragging .slider__viewport {
  cursor: grabbing;
  user-select: none;
}

.product-section--latest .slider__track {
  align-items: stretch;
  gap: 12px;
}

.product-section--latest.is-gallery-moving .slider__track,
.product-section--latest.is-gallery-dragging .slider__track {
  will-change: transform;
}

.product-section--latest .slider__track > .latest-product {
  flex-basis: calc((100% - 60px) / 6);
  height: auto;
}

.product-card.latest-product {
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #393330;
  box-shadow: none;
  transition: box-shadow 0.25s;
}

.latest-product::after {
  content: none;
}

.latest-product:hover {
  box-shadow: 0 0 0 2px #d6b697;
}

.latest-product__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  border-radius: inherit;
  color: var(--white);
}

.latest-product__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #393330;
}

.latest-product__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.35s;
}

.latest-product__image--secondary {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .latest-product.is-secondary-ready:hover .latest-product__image--primary {
    opacity: 0;
  }

  .latest-product.is-secondary-ready:hover .latest-product__image--secondary {
    opacity: 1;
  }
}

.latest-product:hover .latest-product__media img {
  transform: scale(1.06);
}

.latest-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 14px 14px;
  background: #302a26;
}

.latest-product__title {
  display: -webkit-box;
  margin: 0 0 7px;
  overflow: hidden;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-product:hover .latest-product__title {
  color: #f1d2b4;
}

.latest-product__footer {
  min-height: 24px;
  margin-top: auto;
}

.latest-product__price-unavailable {
  color: #e5d9cf;
  font-size: 11px;
}

.latest-product__price {
  color: #f1d2b4;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.latest-product__price :is(.korean-price, .chinese-price, .woocommerce-Price-amount, bdi) {
  color: inherit;
  font: inherit;
}

.latest-product__price small {
  margin-inline-start: 4px;
  color: #e5d9cf;
  font-size: 11px;
  font-weight: 400;
}

.latest-product__price :is(.korean-price__before, .korean-price__after, .chinese-price__before, .chinese-price__after):empty {
  display: none;
}

.latest-product__link:focus-visible {
  outline: 3px solid #d6b697;
  outline-offset: -4px;
}

.product-section--latest :is(.latest-products__pause, .slider__arrow):focus-visible {
  outline: 3px solid #d6b697;
  outline-offset: 3px;
}

@media (min-width: 1600px) {
  .product-section--latest .slider__track > .latest-product {
    flex-basis: calc((100% - 72px) / 7);
  }
}

@media (max-width: 1199px) {
  .product-section--latest .slider__track > .latest-product {
    flex-basis: calc((100% - 36px) / 4);
  }
}

@media (max-width: 900px) {
  .product-section--latest .slider__track > .latest-product {
    flex-basis: calc((100% - 24px) / 3);
  }
}

@media (max-width: 767px) {
  .products-wrap {
    padding-top: 20px;
  }

  .product-section.product-section--latest {
    margin-bottom: 36px;
    padding: 24px 0 12px;
  }

  .product-section--latest .section-head {
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
  }

  .latest-products__nav :is(.slider__arrow, .latest-products__pause) {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .product-section--latest .slider__track > .latest-product {
    flex-basis: 46%;
  }

  .latest-product__body {
    padding: 10px 10px 12px;
  }

  .latest-product__title,
  .latest-product__price {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card.latest-product,
  .latest-product__media img {
    transition: none;
  }

  .latest-product:hover .latest-product__media img {
    transform: none;
  }
}

