/*
 * Born2Matcha standalone page bundle.
 * Keeps the existing brand palette and font families unchanged.
 * Used by legacy standalone routes that do not load includes/header.php.
 */
@import url("./variables.css");
@import url("./layout.css");
@import url("./typography.css");
@import url("./components/button.css");
@import url("./components/card.css");
@import url("./components/form.css");
@import url("./components/product-card.css");
@import url("./pages/shop.css");

/* Standalone shop route compatibility */
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--space-6) 24px;
}

.shop-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.shop-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-6);
  padding-bottom: var(--space-10);
}

.product-card-inner {
  overflow: hidden;
  background: #fff;
}

.product-image-box {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ivory);
}

.product-image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
}

.product-name {
  margin: 0;
  color: var(--text-primary);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
}

.text-secondary {
  color: var(--text-secondary);
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hover-lift {
    transition: none;
  }
}
