/* Sunacha Silks — the generated subpages (collections, products, story, stores, policies). */

.pg {
  --pg-gold: #d19a35;
  --pg-teal: #0f6e63;
  --pg-ink: #1a1a1a;
  --pg-sand: #f1e6d6;
  font-family: var(--font-body--family, system-ui, sans-serif);
  color: var(--pg-ink);
}

.pg__head {
  background: var(--pg-sand);
  padding: 64px 40px 56px;
  text-align: center;
}
.pg__crumb {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgb(0 0 0 / .55);
  margin-bottom: 14px;
}
.pg__crumb a { color: inherit; text-decoration: none; }
.pg__crumb a:hover { color: var(--pg-gold); }
.pg__title {
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.12;
  margin: 0;
}
.pg__sub {
  max-width: 62ch;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgb(0 0 0 / .72);
}

.pg__body { padding: 56px 40px 80px; max-width: 1360px; margin: 0 auto; }
.pg__prose { max-width: 68ch; margin: 0 auto; font-size: 16px; line-height: 1.75; }
.pg__prose h2 {
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: 26px;
  margin: 40px 0 12px;
}
.pg__prose p { margin: 0 0 16px; }
.pg__prose ul { margin: 0 0 16px; padding-left: 20px; }
.pg__prose li { margin-bottom: 8px; }

/* product grid */
.pg__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}
.pg-card { display: block; text-decoration: none; color: inherit; }
.pg-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: var(--pg-sand);
}
.pg-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.pg-card:hover .pg-card__media img { transform: scale(1.04); }
.pg-card__badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.pg-card__badge {
  background: rgb(209 154 53 / .92);
  color: #fff;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.pg-card__name { margin: 14px 0 4px; font-size: 15px; font-weight: 600; }
.pg-card__price { font-size: 15px; color: rgb(0 0 0 / .7); }

/* product detail */
.pg-product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.pg-product__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pg-product__gallery img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; display: block;
}
.pg-product__gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 4; }
.pg-product__title {
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.pg-product__price { font-size: 22px; margin: 0 0 20px; }
.pg-product__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pg-product__spec { width: 100%; border-collapse: collapse; margin: 24px 0 28px; font-size: 15px; }
.pg-product__spec th, .pg-product__spec td {
  text-align: left; padding: 10px 0; border-bottom: 1px solid rgb(0 0 0 / .1);
}
.pg-product__spec th { font-weight: 600; width: 40%; color: rgb(0 0 0 / .6); }

/* buttons */
.pg-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.pg-btn--wa { background: #22ce5a; color: #fff; }
.pg-btn--wa:hover { background: #1cb54e; color: #fff; }
.pg-btn--ghost { border: 1px solid rgb(0 0 0 / .3); color: var(--pg-ink); }
.pg-btn--ghost:hover { border-color: var(--pg-gold); color: var(--pg-gold); }
.pg-btn__row { display: flex; flex-wrap: wrap; gap: 12px; }

/* empty collection */
.pg-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--pg-sand);
  border-radius: 12px;
}
.pg-empty p { max-width: 52ch; margin: 0 auto 24px; line-height: 1.7; }

/* contact / stores */
.pg-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.pg-tile { background: var(--pg-sand); border-radius: 12px; padding: 30px; }
.pg-tile h3 {
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: 20px; margin: 0 0 10px;
}
.pg-tile p { margin: 0 0 8px; line-height: 1.6; font-size: 15px; }

@media screen and (max-width: 1100px) {
  .pg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-product { grid-template-columns: 1fr; gap: 36px; }
  .pg-cols { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 749px) {
  .pg__head { padding: 40px 20px 34px; }
  .pg__body { padding: 36px 20px 60px; }
  .pg__grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .pg-cols { grid-template-columns: 1fr; }
}

/* Mobile: same reasoning as the carousel cards in brand.css — the badges sit on
   the saree, and the collection title was set from a clamp whose floor is a
   desktop size. */
@media screen and (max-width: 749px) {
  .pg__title { font-size: clamp(22px, 6.4vw, 30px); }
  .pg__sub { font-size: 15px; }
  .pg-card__badge {
    font-size: 8.5px;
    padding: 3px 8px;
    letter-spacing: .06em;
    background: rgb(209 154 53 / .82);
    backdrop-filter: blur(2px);
  }
  .pg-card__badges { gap: 4px; top: 8px; left: 8px; }
  .pg-card__name { font-size: 13px; }
  .pg-card__price { font-size: 13px; }
  .pg-product__title { font-size: clamp(21px, 6vw, 28px); }
}
