.wcs-showcase,
.wcs-showcase * {
  box-sizing: border-box;
}

.wcs-showcase {
  --wcs-columns: 3;
  --wcs-primary: #0b6b3a;
  --wcs-accent: #e6a126;
  --wcs-ink: #202722;
  --wcs-muted: #68716b;
  width: 100%;
  max-width: 1240px;
  margin: 48px auto;
  padding: 0 20px;
  color: var(--wcs-ink);
  font-family: inherit;
  line-height: 1.55;
}

.wcs-section-header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.wcs-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--wcs-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.wcs-section-header h2 {
  margin: 0;
  color: var(--wcs-ink);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.wcs-section-header p {
  max-width: 650px;
  margin: 12px auto 0;
  color: var(--wcs-muted);
  font-size: 16px;
}

.wcs-category-grid {
  display: grid;
  grid-template-columns: repeat(var(--wcs-columns), minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.wcs-category-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf0ed;
  border-radius: 4px;
  box-shadow: 0 15px 40px rgba(19, 44, 29, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wcs-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(19, 44, 29, 0.14);
}

.wcs-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: visible;
  background: #eef3ef;
  text-decoration: none !important;
}

.wcs-card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 30, 17, 0.18));
  content: '';
  pointer-events: none;
}

.wcs-category-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.wcs-category-card:hover .wcs-category-image {
  transform: scale(1.035);
}

.wcs-price-badge {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: -28px;
  display: flex;
  min-width: 92px;
  min-height: 70px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  color: #fff;
  background: var(--wcs-accent);
  border: 5px solid #fff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(119, 78, 10, 0.18);
  line-height: 1.05;
  text-align: center;
}

.wcs-price-badge small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wcs-price-badge strong,
.wcs-price-badge .woocommerce-Price-amount {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.wcs-price-badge .woocommerce-Price-currencySymbol {
  font-size: 0.9em;
}

.wcs-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 42px 27px 29px;
  text-align: center;
}

.wcs-card-tagline {
  margin-bottom: 7px;
  color: var(--wcs-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wcs-card-body h3 {
  margin: 0;
  color: var(--wcs-ink);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.25;
}

.wcs-card-body h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.wcs-card-body h3 a:hover {
  color: var(--wcs-primary) !important;
}

.wcs-card-body p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 15px 0 23px;
  overflow: hidden;
  color: var(--wcs-muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wcs-shop-button {
  display: inline-flex;
  min-height: 42px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  color: var(--wcs-ink) !important;
  background: transparent;
  border: 1px solid #dce3de;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wcs-shop-button span {
  color: var(--wcs-accent);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.wcs-shop-button:hover {
  color: #fff !important;
  background: var(--wcs-primary);
  border-color: var(--wcs-primary);
}

.wcs-shop-button:hover span {
  color: #fff;
  transform: translateX(3px);
}

.wcs-empty-message,
.wcs-dependency-message {
  padding: 14px 18px;
  background: #fff7e8;
  border-left: 4px solid #e6a126;
}

@media (max-width: 1024px) {
  .wcs-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wcs-showcase {
    margin: 34px auto;
    padding: 0 14px;
  }

  .wcs-section-header {
    margin-bottom: 24px;
  }

  .wcs-category-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .wcs-card-body {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wcs-category-card,
  .wcs-category-image,
  .wcs-shop-button,
  .wcs-shop-button span {
    transition: none;
  }
}

