/* Museum-gallery storefront product grid & architectural cards */

.section-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.section-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.products-section {
  position: relative;
  padding: 84px 0;
  background: var(--canvas);
}

.products-section::before,
.reels-section::before,
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  background-repeat: repeat;
  background-size: 320px 320px;
}

.products-section > *,
.reels-section > *,
.testimonials-section > * { position: relative; z-index: 1; }

[data-brand="silverythm"] .products-section::before,
[data-brand="silverythm"] .reels-section::before,
[data-brand="silverythm"] .testimonials-section::before { background-image: url('../../assets/images/texture-silverythm.webp'); }

[data-brand="devaramane"] .products-section::before,
[data-brand="devaramane"] .reels-section::before,
[data-brand="devaramane"] .testimonials-section::before { background-image: url('../../assets/images/texture-devaramane.webp'); }

[data-brand="udugore"] .products-section::before,
[data-brand="udugore"] .reels-section::before,
[data-brand="udugore"] .testimonials-section::before { background-image: url('../../assets/images/texture-udugore.webp'); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--rule-strong);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 4.2;
  padding: 18px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.65s var(--ease);
}

.product-card:hover .product-card__media img { transform: scale(1.045); }

.wish-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  z-index: 4;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wish-btn:hover { transform: scale(1.08); color: var(--ink); border-color: var(--ink); }
.wish-btn.wishlisted { color: #B9382C; border-color: #B9382C; }
.wish-btn.wishlisted svg { fill: currentColor; }

.product-card__quick {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: var(--sh-sm);
  transition: background 0.2s ease;
}

.product-card__quick:hover { background: var(--brand-deep); }

.product-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 6px;
}

.product-card__name {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.28;
  color: var(--ink);
  margin-bottom: 10px;
}

.product-card__foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card__price { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.product-card__cta { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand); }

.products-empty { grid-column: 1 / -1; text-align: center; padding: 56px 16px; color: var(--ink-soft); }

.view-all-box { text-align: center; padding: 44px 0 8px; }
.view-all-sub { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; font-weight: 600; }

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 38px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background 0.25s ease, color 0.25s ease;
}

.view-all-btn:hover { background: var(--ink); color: var(--canvas); }
