/* SHOP PRODUCT CARDS */

.vcs-shop-main #shopGrid .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8dce1;
  border-radius: 16px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vcs-shop-main #shopGrid .product-card:hover {
  border-color: #cfaabb;
  box-shadow: 0 10px 28px rgba(64, 37, 54, 0.07);
}

/* Consistent product image area */

.vcs-shop-main #shopGrid .product-card__img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 250px;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  background: #faf6f3;
  border-bottom: 1px solid #e8dce1;
  border-radius: 0;
  text-decoration: none;
  aspect-ratio: auto;
}

.vcs-shop-main #shopGrid .product-card__img-wrap img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  transform: none;
}

/* Card content */

.vcs-shop-main #shopGrid .product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  padding: 22px;
  background: #ffffff;
}

.vcs-shop-main #shopGrid .product-card__brand {
  display: block;
  margin: 0 0 10px;
  color: #8a425e;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.5;
  text-transform: uppercase;
}

.vcs-shop-main #shopGrid .product-card__name {
  margin: 0 0 12px;
  padding: 0;
  color: #402536;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.3px;
  overflow-wrap: anywhere;
}

.vcs-shop-main #shopGrid .product-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0 0 22px;
  color: #715d68;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
}

/* Price and button */

.vcs-shop-main #shopGrid .product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #eee4e8;
}

.vcs-shop-main #shopGrid .product-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: #402536;
}

.vcs-shop-main #shopGrid .product-card__price .price-from {
  color: #402536;
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.vcs-shop-main #shopGrid .product-card__footer .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 42px;
  margin: 0;
  padding: 11px 17px;
  color: #ffffff;
  background: #8a425e;
  background-image: none;
  border: 1px solid #8a425e;
  border-radius: 8px;
  box-shadow: none;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.vcs-shop-main #shopGrid .product-card__footer .primary-btn:hover {
  color: #ffffff;
  background: #71334b;
  border-color: #71334b;
}

/* Remove decorative effects from the old button style */

.vcs-shop-main #shopGrid .product-card__footer .primary-btn::before,
.vcs-shop-main #shopGrid .product-card__footer .primary-btn::after {
  content: none;
}

/* Mobile */

@media (max-width: 800px) {
  .vcs-shop-main #shopGrid .product-card__img-wrap {
    height: 220px;
    padding: 20px;
  }

  .vcs-shop-main #shopGrid .product-card__body {
    padding: 18px;
  }

  .vcs-shop-main #shopGrid .product-card__name {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .vcs-shop-main #shopGrid .product-card__img-wrap {
    height: 270px;
    padding: 26px;
  }

  .vcs-shop-main #shopGrid .product-card__body {
    padding: 22px;
  }

  .vcs-shop-main #shopGrid .product-card__name {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vcs-shop-main #shopGrid .product-card,
  .vcs-shop-main #shopGrid .primary-btn {
    transition: none;
  }
}