.product-card-section {
  position: relative;
  padding: 0 24px;
  background: transparent;
}

.product-card-section__nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

.product-card-section__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d2cdc8;
  background: transparent;
  color: #241812;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
  transition: all 0.2s ease;
}

.product-card-section__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.product-card-section__arrow:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: #c8c2bc;
  color: #1d120d;
}

.product-card-section__arrow:focus {
  outline: none;
  box-shadow: none;
}

.product-card-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.product-card-section--four-columns .product-card-section__layout {
  display: block;
}

.product-card-section__slider {
  overflow: hidden;
  width: 100%;
}

.product-card-section__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.product-card-section__track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #edecec;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card-section--four-columns .product-card {
  flex-basis: calc((100% - 54px) / 4);
}

.product-card__image-wrap {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.product-card__image {
  width: 100%;
  height: 100% !important;
  max-height: none;
  object-fit: cover;
  display: block;
}

.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1d;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-card__meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}

.product-card__meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1d;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.product-card__content {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  margin: 0 0 6px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #5a5149;
}

.product-card__name {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  color: #1a0f0b;
}

.product-card__name a {
  color: #1a0f0b !important;
  text-decoration: none !important;
}

.product-card__subtitle {
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.45;
  color: #524a44;
}

.product-card__reviews {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 9px;
}

.product-card__stars {
  color: #f97316;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -1px;
}

.product-card__reviews-text {
  font-size: 12px;
  color: #524a44;
}

.product-card__bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.product-card__price {
  min-width: 0;
}

.product-card__old-price {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.2;
  color: #7d756f;
  text-decoration: line-through;
}

.product-card__current-price {
  font-size: 15px;
  line-height: 1.2;
  color: #1d1d1d;
}

.product-card__current-price .woocommerce-Price-amount {
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
  color: #1d1d1d;
}

.product-card__current-price ins {
  text-decoration: none;
}

.product-card__paypo {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid #7448b6;
  background: #5017a6;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.product-card__paypo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.product-card__paypo .woocommerce-Price-amount {
  font-weight: 400;
  color: #fff;
}

.product-card__paypo strong {
  color: #fff;
}

.product-card__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: #2b1e17;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-card__button:hover,
.product-card__button:focus {
  color: #fff !important;
  text-decoration: none !important;
}

.product-card__button-text {
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  color: #fff !important;
}

.product-card__button-arrow {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.product-card-shop {
  border: 1px dashed #d7cfc7;
  border-radius: 20px;
  min-height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #1d1d1d;
  background: transparent;
}

.product-card-shop span {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.product-card-shop small {
  font-size: 12px;
  color: #5a5149;
}

@media (max-width: 980px) {
  .product-card-section__layout {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .product-card-section--four-columns .product-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .product-card-shop {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .product-card-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-card-section__nav {
    justify-content: flex-start;
    gap: 8px;
  }

  .product-card-section__arrow {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .product-card {
    flex-basis: 280px;
  }

  .product-card-section--four-columns .product-card {
    flex-basis: 280px;
  }

  .product-card__image-wrap {
    height: 300px;
  }

  .product-card__current-price .woocommerce-Price-amount {
    font-size: 23px;
  }

  .product-card__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card__button {
    align-self: flex-end;
  }
}
