/* Shipping and Delivery (/pages/shipping-and-delivery) — 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. */

.ship {
  background: var(--pdp-ivory, #faf6ef);
  padding-bottom: 6rem;
}

/* --- Hero --- */

.ship__hero {
  text-align: center;
  padding: 5.5rem 1.5rem 3.5rem;
}

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

.ship__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);
}

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

.ship__wrap {
  max-width: 88rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

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

.ship__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));
}

.ship__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;
}

.ship__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 --- */

.ship__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);
}

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

.ship__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;
}

.ship__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 (used for every admin-authored HTML blob) --- */

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

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

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

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

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

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

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

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

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

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

/* --- Tables --- */

.ship__table-label {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03rem;
  color: var(--pdp-gold-dark, #8a6508);
}

.ship__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--pdp-line, #e8dcc8);
  border-radius: var(--pdp-radius-md, 10px);
  margin-bottom: 1.6rem;
  -webkit-overflow-scrolling: touch;
}

.ship__table-wrap:last-child {
  margin-bottom: 0;
}

.ship__table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-size: 1.36rem;
}

.ship__table th,
.ship__table td {
  text-align: left;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--pdp-line, #e8dcc8);
  vertical-align: top;
  color: var(--pdp-ink-soft, rgba(43, 36, 29, 0.66));
}

.ship__table th {
  background: var(--pdp-cream, #f4ece0);
  color: var(--pdp-ink, #2b241d);
  font-weight: 700;
  white-space: nowrap;
}

.ship__table tbody tr:last-child td {
  border-bottom: none;
}

.ship__table tbody tr:nth-child(even) {
  background: rgba(var(--pdp-gold-rgb, 184, 134, 11), 0.035);
}

/* --- Notes callout --- */

.ship__note {
  margin-top: 1.6rem;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--pdp-gold, #b8860b);
  background: var(--pdp-cream, #f4ece0);
  border-radius: 0 var(--pdp-radius-sm, 6px) var(--pdp-radius-sm, 6px) 0;
}

.ship__note .ship__prose {
  font-size: 1.36rem;
}

/* --- Highlighted panel (Need Help?) --- */

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

.ship__highlight .ship__section-head {
  justify-content: center;
}

.ship__highlight .ship__prose {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.ship__highlight .ship__prose ul {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.ship__highlight .ship__prose ul li {
  padding-left: 0;
}

.ship__highlight .ship__prose ul li::before {
  display: none;
}

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

  .ship__section {
    padding: 2.2rem 1.6rem;
  }

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

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