/* ============================================================
   BOTANICAL HOUSES — SHOP PAGE STYLES
   Used by: /shop/index.html
   ============================================================ */

/* ── Hero overrides (shop page only) ──────────────────────── */
.sh-hero--tall {
  min-height: 42vh;
}

.sh-hero__inner {
  padding: clamp(2.5rem, 5vw, 4rem) 2rem 2rem;
}

/* Candle-glow spots */
.sh-hero__glow {
  position: absolute;
  width: 45%;
  height: 60%;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.sh-hero__glow--left {
  left: 0;
  background: radial-gradient(ellipse at 20% 100%, rgba(196,154,60,0.15) 0%, transparent 65%);
}

.sh-hero__glow--right {
  right: 0;
  background: radial-gradient(ellipse at 80% 100%, rgba(196,154,60,0.15) 0%, transparent 65%);
}

/* Botanical branch ornaments */
.sh-hero__branch {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.07;
}

.sh-hero__branch--left  { left: clamp(0.5rem, 2vw, 2rem); }
.sh-hero__branch--right { right: clamp(0.5rem, 2vw, 2rem); }

/* Sun / compass ornament */
.sh-hero__compass {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
}

/* ── Email section overrides (shop page only) ──────────────── */
.sh-email-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.sh-email-form__btn {
  background: var(--sh-gold-dim);
  border-color: var(--sh-gold-dim);
  color: rgba(240,220,190,0.9);
}

.sh-email-form__btn:hover {
  background: #8a6e34;
  border-color: #8a6e34;
  color: var(--sh-text);
}

/* ── Ornament dividers ─────────────────────────────────────── */
.sh-ornament-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  pointer-events: none;
  user-select: none;
}

/* ── Kit contents section ──────────────────────────────────── */
.shop-kit__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.shop-kit__item {
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(201,168,76,0.1);
  background: rgba(255,255,255,0.015);
  transition: border-color 0.3s ease;
}

.shop-kit__item:hover {
  border-color: rgba(201,168,76,0.22);
}

.shop-kit__mark {
  font-size: 0.58rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--sh-gold);
  opacity: 0.5;
  margin-bottom: 0.75rem;
  display: block;
}

.shop-kit__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sh-text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.shop-kit__desc {
  font-size: 0.82rem;
  color: rgba(240,220,190,0.5);
  line-height: 1.68;
}

/* ── House sections ────────────────────────────────────────── */
.shop-house {
  padding: var(--space-section) 0;
}

.shop-house--bloom {
  background-color: #0d1810;
}

.shop-house--apothicaire {
  background-color: #130a06;
}

.shop-house--seasonal {
  background-color: var(--sh-dark);
  border-top: 1px solid rgba(201,168,76,0.07);
  border-bottom: 1px solid rgba(201,168,76,0.07);
}

.shop-house__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.shop-house__eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: block;
  opacity: 0.52;
}

.shop-house--bloom .shop-house__eyebrow { color: #8a9e8e; }
.shop-house--apothicaire .shop-house__eyebrow { color: #b09070; }
.shop-house--seasonal .shop-house__eyebrow { color: var(--sh-gold); }

.shop-house__name {
  font-family: var(--serif-font);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.shop-house--bloom .shop-house__name { color: #d2e2ca; }
.shop-house--apothicaire .shop-house__name { color: #f0e8d8; }
.shop-house--seasonal .shop-house__name { color: var(--sh-text); }

.shop-house__sub {
  font-size: 0.88rem;
  font-style: italic;
  margin-top: 0.3rem;
  line-height: 1.6;
}

.shop-house--bloom .shop-house__sub { color: rgba(138,158,142,0.62); }
.shop-house--apothicaire .shop-house__sub { color: rgba(240,220,190,0.5); }
.shop-house--seasonal .shop-house__sub { color: rgba(240,220,190,0.5); }

.shop-house__rule {
  width: 50px;
  height: 1px;
  margin: 1.25rem auto 0;
}

.shop-house--bloom .shop-house__rule {
  background: linear-gradient(to right, transparent, #b8955a, transparent);
}

.shop-house--apothicaire .shop-house__rule {
  background: linear-gradient(to right, transparent, var(--sh-gold), transparent);
}

.shop-house--seasonal .shop-house__rule {
  background: linear-gradient(to right, transparent, var(--sh-gold), transparent);
}

/* ── Product grid ──────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.shop-seasonal-wrap {
  max-width: 400px;
  margin: 0 auto;
}

/* ── Product card ──────────────────────────────────────────── */
.shop-product {
  display: flex;
  flex-direction: column;
  border: 1px solid;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  overflow: hidden;
}

.shop-product--bloom {
  background: #111d12;
  border-color: rgba(80,120,70,0.18);
}

.shop-product--apothicaire {
  background: #1a0808;
  border-color: rgba(120,40,40,0.22);
}

.shop-product--seasonal {
  background: var(--sh-dark-light);
  border-color: rgba(201,168,76,0.12);
}

.shop-product:hover {
  transform: translateY(-3px);
}

.shop-product--bloom:hover {
  border-color: rgba(184,149,90,0.38);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 20px rgba(184,149,90,0.05);
}

.shop-product--apothicaire:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(201,168,76,0.05);
}

.shop-product--seasonal:hover {
  border-color: rgba(201,168,76,0.28);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Image placeholder */
.shop-product__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-bottom: 1px solid;
}

.shop-product--bloom .shop-product__image {
  background: #0a1409;
  border-color: rgba(80,120,70,0.18);
}

.shop-product--apothicaire .shop-product__image {
  background: #110508;
  border-color: rgba(120,40,40,0.22);
}

.shop-product--seasonal .shop-product__image {
  background: #161616;
  border-color: rgba(201,168,76,0.08);
}

.shop-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-product__image-text {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  color: rgba(240,220,190,0.22);
}

/* Card body */
.shop-product__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shop-product__house {
  font-size: 0.56rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  display: block;
  opacity: 0.58;
}

.shop-product--bloom .shop-product__house { color: #8a9e8e; }
.shop-product--apothicaire .shop-product__house { color: #b09070; }
.shop-product--seasonal .shop-product__house { color: var(--sh-gold); }

.shop-product__name {
  font-family: var(--serif-font);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  color: var(--sh-text);
}

.shop-product__time {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
  opacity: 0.58;
}

.shop-product--bloom .shop-product__time { color: #b8955a; }
.shop-product--apothicaire .shop-product__time { color: var(--sh-gold); }
.shop-product--seasonal .shop-product__time { color: var(--sh-gold); }

.shop-product__desc {
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(240,220,190,0.58);
  line-height: 1.68;
  flex: 1;
  margin-bottom: 1.25rem;
}

/* Footer: price + cart */
.shop-product__footer {
  border-top: 1px solid;
  padding-top: 1.25rem;
  margin-top: auto;
}

.shop-product--bloom .shop-product__footer { border-color: rgba(80,120,70,0.18); }
.shop-product--apothicaire .shop-product__footer { border-color: rgba(120,40,40,0.22); }
.shop-product--seasonal .shop-product__footer { border-color: rgba(201,168,76,0.1); }

.shop-product__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.shop-product__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sh-text);
  line-height: 1;
  flex-shrink: 0;
}

/* Add to Cart button */
.shop-product__cart-btn {
  font-family: var(--body-font);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.48rem 0.85rem;
  background: transparent;
  line-height: 1;
  border: 1px solid;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.shop-product--bloom .shop-product__cart-btn {
  border-color: #b8955a;
  color: #b8955a;
}

.shop-product--bloom .shop-product__cart-btn:hover,
.shop-product--bloom .shop-product__cart-btn.is-open {
  background: #b8955a;
  color: #0d1810;
}

.shop-product--apothicaire .shop-product__cart-btn {
  border-color: var(--sh-gold);
  color: var(--sh-gold);
}

.shop-product--apothicaire .shop-product__cart-btn:hover,
.shop-product--apothicaire .shop-product__cart-btn.is-open {
  background: var(--sh-gold);
  color: #1a0808;
}

.shop-product--seasonal .shop-product__cart-btn {
  border-color: var(--sh-gold);
  color: var(--sh-gold);
}

.shop-product--seasonal .shop-product__cart-btn:hover,
.shop-product--seasonal .shop-product__cart-btn.is-open {
  background: var(--sh-gold);
  color: var(--sh-dark);
}

/* Notify form — hidden until Add to Cart is clicked */
.shop-product__notify {
  display: none;
  margin-top: 0.85rem;
  width: 100%;
}

.shop-product__notify.is-visible {
  display: flex;
  gap: 0.35rem;
}

/* Safety note */
.shop-product__safety {
  margin-top: 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(240,220,190,0.35);
  line-height: 1.55;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .shop-kit__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .shop-kit__grid {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-seasonal-wrap {
    max-width: 100%;
  }
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .shop-product,
  .shop-kit__item,
  .shop-product__cart-btn {
    transition: none;
  }
}

/* ── Batch size note ── */
.shop-batch {
  font-size: 0.72rem;
  font-style: italic;
  color: rgba(160,140,110,0.65);
  padding: 0 clamp(0.75rem, 3vw, 1.5rem) 0.25rem;
  line-height: 1.5;
}

/* ── NVWA product notice ── */
.shop-nvwa {
  font-size: 0.63rem;
  color: rgba(160,140,110,0.5);
  line-height: 1.5;
  padding: 0.5rem clamp(0.75rem, 3vw, 1.5rem) 0.75rem;
}

/* ── 390px fixes ── */
@media (max-width: 390px) {
  .shop-product__price-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .shop-product__cart-btn {
    width: 100%;
  }
}
