﻿/* =============================================================================
   07. SHOP SHORTCODE PRODUCT CARDS
   ============================================================================= */

/* Grid columns */
.dark-sc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.dark-sc-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.dark-sc-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.dark-sc-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1199px) {
  .dark-sc-grid--cols-4 { grid-template-columns: repeat(3, 1fr); }
  .dark-sc-grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .dark-sc-grid--cols-2,
  .dark-sc-grid--cols-3,
  .dark-sc-grid--cols-4 { grid-template-columns: 1fr; }
}

/* Product card */
.dark-sc-product-card {
  background: #1C1B1B;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background .7s ease;
}
.dark-sc-product-card:hover { background: #2A2A2A; }

/* Image */
.dark-sc-card__img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #0E0E0E;
  position: relative;
  flex-shrink: 0;
}
.dark-sc-card__img-link { display: block; width: 100%; height: 100%; }
.dark-sc-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.dark-sc-product-card:hover .dark-sc-card__img { transform: scale(1.05); }

/* Body */
.dark-sc-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

.dark-sc-card__cat {
  font-family: 'Manrope', sans-serif; font-size: 9px;
  letter-spacing: .3em; text-transform: uppercase; color: #F2CA50;
  margin-bottom: 8px;
}
.dark-sc-card__cat a { color: inherit; }

/* Title + stars row */
.dark-sc-card__title-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; margin-bottom: 8px;
}

.dark-sc-card__title {
  font-family: 'Noto Serif', serif; font-size: 1.1rem;
  letter-spacing: .03em; color: #E5E2E1;
  transition: color .3s ease; margin: 0; flex: 1;
}
.dark-sc-card__title a { color: inherit; }
.dark-sc-product-card:hover .dark-sc-card__title { color: #F2CA50; }

.dark-sc-card__stars { display: flex; align-items: center; color: #F2CA50; flex-shrink: 0; }

.dark-sc-card__notes {
  font-family: 'Manrope', sans-serif; font-size: .78rem;
  font-style: italic; color: #D0C5AF; margin-bottom: 16px; flex: 1;
}

/* Footer: price + add to cart */
.dark-sc-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}

.dark-sc-card__price {
  font-family: 'Manrope', sans-serif; font-size: 1.05rem;
  font-weight: 600; color: #E5E2E1; letter-spacing: .03em;
}
.dark-sc-card__price ins { text-decoration: none; }
.dark-sc-card__price del { opacity: .5; font-size: .85em; margin-right: 6px; }
.dark-sc-card__price .woocommerce-Price-amount { color: #E5E2E1; }

/* No products */
.dark-no-products {
  padding: 60px 0; text-align: center;
  font-family: 'Noto Serif', serif; font-style: italic; color: #99907C;
}

