/* Shipping Policy (/policies/shipping-policy) — premium redesign. Reuses
   the shared gold/charcoal/ivory tokens from shop-premium-tokens.css (same
   palette as the other redesigned policy pages) so this stays visually one
   brand rather than the old plain Shopify-extract layout. */

.shp {
  background: var(--pdp-ivory, #faf6ef);
  padding: 5.5rem 1.5rem 6rem;
}

.shp__hero {
  text-align: center;
  padding-bottom: 3.5rem;
}

.shp__eyebrow {
  display: inline-block;
  font-size: 1.2rem;
  letter-spacing: 0.32rem;
  text-transform: uppercase;
  color: var(--pdp-gold, #b8860b);
  margin-bottom: 1.4rem;
}

.shp__title {
  margin: 0;
  font-family: var(--font-heading-family, serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  color: var(--pdp-ink, #2b241d);
  text-transform: capitalize;
}

.shp__rule {
  display: block;
  width: 6.4rem;
  height: 2px;
  margin: 2rem auto 0;
  background: linear-gradient(90deg, transparent, var(--pdp-gold, #b8860b), transparent);
}

.shp__wrap {
  max-width: 84rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

/* --- Quick nav --- */

.shp__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 2rem clamp(1.6rem, 4vw, 2.6rem);
  background: var(--pdp-card, #fff);
  border: 1px solid var(--pdp-line, #e8dcc8);
  border-radius: var(--pdp-radius-lg, 16px);
  box-shadow: var(--pdp-shadow-sm, 0 2px 10px rgba(43, 36, 29, 0.06));
}

.shp__nav-chip {
  font-size: 1.24rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--pdp-line, #e8dcc8);
  background: var(--pdp-ivory, #faf6ef);
  color: var(--pdp-ink-soft, rgba(43, 36, 29, 0.66));
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.shp__nav-chip:hover {
  border-color: var(--pdp-gold, #b8860b);
  color: var(--pdp-gold-dark, #8a6508);
  background: rgba(var(--pdp-gold-rgb, 184, 134, 11), 0.08);
}

/* --- Sections --- */

.shp__section {
  scroll-margin-top: 2rem;
  background: var(--pdp-card, #fff);
  border: 1px solid var(--pdp-line, #e8dcc8);
  border-radius: var(--pdp-radius-lg, 16px);
  box-shadow: var(--pdp-shadow-sm, 0 2px 10px rgba(43, 36, 29, 0.06));
  padding: 2.8rem clamp(1.6rem, 4vw, 3.4rem);
}

.shp__section-head {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}

.shp__section-badge {
  flex: none;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--pdp-gold-rgb, 184, 134, 11), 0.1);
  border: 1.5px solid var(--pdp-gold, #b8860b);
  color: var(--pdp-gold-dark, #8a6508);
  font-family: var(--font-heading-family, serif);
  font-size: 1.5rem;
}

.shp__heading {
  margin: 0;
  font-family: var(--font-heading-family, serif);
  font-weight: 400;
  font-size: 1.95rem;
  color: var(--pdp-ink, #2b241d);
}

/* --- Generic rich-text prose --- */

.shp__prose {
  color: var(--pdp-ink-soft, rgba(43, 36, 29, 0.66));
  font-size: 1.5rem;
  line-height: 1.7;
}

.shp__prose p {
  margin: 0 0 1.2rem;
}

.shp__prose p:last-child {
  margin-bottom: 0;
}

.shp__prose b,
.shp__prose strong {
  color: var(--pdp-ink, #2b241d);
  font-weight: 700;
}

.shp__prose a {
  color: var(--pdp-gold-dark, #8a6508);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.shp__prose ul {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.shp__prose ul:last-child {
  margin-bottom: 0;
}

.shp__prose ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
}

.shp__prose ul li:last-child {
  margin-bottom: 0;
}

.shp__prose ul li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pdp-gold, #b8860b);
}

/* --- Highlighted panel (closing support section) --- */

.shp__highlight {
  text-align: center;
  background: linear-gradient(180deg, var(--pdp-cream, #f4ece0), var(--pdp-ivory, #faf6ef));
  border-color: var(--pdp-gold, #b8860b);
}

.shp__highlight .shp__section-head {
  justify-content: center;
}

.shp__highlight .shp__prose {
  max-width: 52rem;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
  .shp {
    padding: 3.6rem 1.2rem 4.5rem;
  }

  .shp__section {
    padding: 2.2rem 1.6rem;
  }

  .shp__section-badge {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.3rem;
  }

  .shp__heading {
    font-size: 1.6rem;
  }
}
