.shop-hero { padding-top: 2.5rem; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.product-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-card img, .product-ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
}
.product-ph.large { font-size: 4rem; min-height: 280px; }
.product-meta { padding: .75rem 0; }
.product-meta h3 {
  font-family: var(--font-heading);
  margin: .35rem 0;
  font-size: 1.15rem;
}
.product-meta p { margin: 0 0 .5rem; color: var(--muted); font-size: .9rem; }
.pill.dark {
  border-color: rgba(0,0,0,.25);
  color: var(--ink);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 960px;
}
.product-detail-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}
.product-detail h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: .5rem 0;
}
.product-detail .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}
.add-form {
  display: flex;
  gap: .75rem;
  align-items: end;
  margin-top: 1rem;
}
.add-form input { width: 4.5rem; padding: .65rem; border-radius: 8px; border: 1px solid rgba(0,0,0,.15); }

.cart-table { width: 100%; border-collapse: collapse; max-width: 900px; }
.cart-table th, .cart-table td {
  text-align: left;
  padding: .75rem .4rem;
  border-bottom: 1px solid rgba(0,0,0,.1);
  vertical-align: middle;
}
.cart-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.cart-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  max-width: 900px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
}
.checkout-summary {
  background: rgba(0,0,0,.03);
  padding: 1.25rem;
  border-radius: 8px;
  height: fit-content;
}
.checkout-summary ul { padding-left: 1.1rem; }
.pay-methods {
  border: 1px solid rgba(0,0,0,.12);
  padding: .85rem 1rem;
  margin: 1rem 0;
}
.pay-methods legend {
  font-family: var(--font-heading);
  padding: 0 .35rem;
}
.pay-option {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin: .55rem 0;
  cursor: pointer;
}
.pay-option strong { display: block; }
.pay-option small { color: var(--muted); }
@media (max-width: 720px) {
  .product-detail-grid, .checkout-grid { grid-template-columns: 1fr; }
}
