/* Heart & Humor Gift Shops — matches demo */

.hhs-shop-section {
  --hhs-color-bg: #faf6f3;
  --hhs-color-section: #f3ebe6;
  --hhs-color-main: #9c3d4a;
  --hhs-color-border: #e5ddd6;
  --hhs-radius: 12px;
  background: var(--hhs-section-bg, var(--hhs-color-bg));
  padding: 3.5rem 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--hhs-color-main);
}

.hhs-shop-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hhs-shop-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  background: var(--hhs-color-main);
  color: var(--hhs-color-bg);
}

.hhs-shop-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--hhs-color-main);
}

.hhs-shop-desc {
  margin: 0;
  max-width: 34rem;
  opacity: 0.8;
  line-height: 1.6;
}

.hhs-product-grid {
  display: grid;
  grid-template-columns: repeat(var(--hhs-cols, 3), 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.hhs-product-card {
  background: var(--hhs-color-bg);
  border: 1px solid var(--hhs-color-border);
  border-radius: var(--hhs-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.hhs-shop-section--womens .hhs-product-card:not(.hhs-product-card--view-all) {
  background: var(--hhs-color-section);
}

.hhs-product-card:hover {
  transform: translateY(-2px);
  border-color: var(--hhs-color-main);
}

.hhs-product-card--bundle,
.hhs-product-card--view-all {
  border-color: var(--hhs-color-main);
}

.hhs-product-card--bundle {
  border-style: dashed;
}

.hhs-product-cover {
  height: 150px;
  background: var(--hhs-color-main);
  opacity: 0.75;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hhs-product-cover--has-image {
  opacity: 1;
}

.hhs-product-cover--has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
}

.hhs-product-cover--view-all:not(.hhs-product-cover--has-image) {
  opacity: 0.9;
}

.hhs-product-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hhs-product-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--hhs-color-main);
}

.hhs-product-desc {
  color: var(--hhs-color-main);
  opacity: 0.8;
  font-size: 0.95rem;
  margin: 0 0 1rem;
  flex: 1;
  line-height: 1.5;
}

.hhs-product-price {
  display: block;
  font-weight: 700;
  color: var(--hhs-color-main);
  margin-bottom: 0.75rem;
}

.hhs-product-price .woocommerce-Price-amount {
  color: inherit;
}

.hhs-btn {
  display: inline-block;
  align-self: flex-start;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--hhs-color-border);
  background: var(--hhs-color-bg);
  color: var(--hhs-color-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hhs-btn:hover {
  border-color: var(--hhs-color-main);
  color: var(--hhs-color-main);
}

.hhs-btn--primary {
  background: var(--hhs-color-main);
  border-color: var(--hhs-color-main);
  color: var(--hhs-color-bg);
}

.hhs-btn--primary:hover {
  opacity: 0.92;
  color: var(--hhs-color-bg);
}

.hhs-no-products {
  margin-top: 1.5rem;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .hhs-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hhs-product-grid {
    grid-template-columns: 1fr;
  }

  .hhs-shop-title {
    font-size: 1.85rem;
  }
}
