/* ═══════════════════════════════════════════
   Shipping & Returns — page-specific styles
   Template: page-shipping.php
   ═══════════════════════════════════════════ */

/* ── Hero ── */
.wv-sr-hero {
  border-bottom: 1px solid var(--wv-color-border);
  padding-bottom: 0;
}
.wv-sr-hero__inner {
  max-width: var(--wv-content-max);
  margin: 0 auto;
  padding: 56px 48px 0;
}

/* ── Content area ── */
.wv-sr-content__inner {
  max-width: var(--wv-content-max);
  margin: 0 auto;
  padding: 52px 48px 0;
}

/* ── Support CTA wrapper ── */
.wv-sr-support-cta {
  max-width: var(--wv-content-max);
  margin: 52px auto 80px;
  padding: 0 48px;
}

/* ── Eyebrow ── */
.wv-sr-eyebrow {
  font-family: var(--wv-font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--wv-color-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wv-sr-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--wv-color-primary);
}

/* ── Tab strip ── */
.wv-sr-tab-strip {
  display: flex;
  border-bottom: 1px solid var(--wv-color-border);
  margin-top: 32px;
  margin-bottom: 0;
}
.wv-sr-tab-btn {
  font-family: var(--wv-font-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 28px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  color: #A09A8E; /* TODO: add to CSS variables if used across multiple pages */
  transition: all var(--wv-transition-fast);
}
.wv-sr-tab-btn.active {
  color: var(--wv-color-text-primary);
  border-bottom-color: var(--wv-color-text-primary);
}
.wv-sr-tab-btn:hover:not(.active) {
  color: var(--wv-color-text-secondary);
}
.wv-sr-tab-btn:focus-visible {
  outline: 2px solid var(--wv-color-primary);
  outline-offset: -2px;
}

/* ── Tab panels ── */
.wv-sr-tab-panel {
  display: none;
}
.wv-sr-tab-panel.active {
  display: block;
}

/* ── Fact cards ── */
.wv-sr-fact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.wv-sr-fact-card {
  background: #FDFAF5; /* TODO: add to CSS variables if used across multiple pages */
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  padding: 20px 18px;
}
.wv-sr-fact-num {
  font-family: var(--wv-font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--wv-color-primary);
  line-height: 1;
  margin-bottom: 5px;
}
.wv-sr-fact-label {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  margin-bottom: 3px;
}
.wv-sr-fact-sub {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #A09A8E; /* TODO: add to CSS variables if used across multiple pages */
}

/* ── Banners (green/olive and teal) ── */
.wv-sr-banner {
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.wv-sr-banner--green {
  background: #EEF1E8; /* TODO: add to CSS variables if used across multiple pages */
  border: 1px solid var(--wv-color-primary-3);
}
.wv-sr-banner--teal {
  background: #E4F0F5; /* TODO: add to CSS variables if used across multiple pages */
  border: 1px solid #B0D0DA; /* TODO: add to CSS variables if used across multiple pages */
}
.wv-sr-banner__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--wv-radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wv-sr-banner__title {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}
.wv-sr-banner--green .wv-sr-banner__title {
  color: var(--wv-color-accent);
}
.wv-sr-banner--teal .wv-sr-banner__title {
  color: #3A7A8E; /* TODO: add to CSS variables if used across multiple pages */
}
.wv-sr-banner__sub {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--wv-color-text-secondary);
}

/* ── Content groups and prose ── */
.wv-sr-group {
  margin-bottom: 40px;
}
.wv-sr-group:last-of-type {
  margin-bottom: 0;
}
.wv-sr-group-title {
  font-family: var(--wv-font-primary);
  font-size: 24px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
  margin-bottom: 10px;
}
.wv-sr-prose {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--wv-color-text-secondary);
}
.wv-sr-prose p { margin-bottom: 14px; }
.wv-sr-prose p:last-child { margin-bottom: 0; }
.wv-sr-prose strong {
  font-weight: 600;
  color: var(--wv-color-text-primary);
}

/* ── Shipping table ── */
.wv-sr-table-wrap {
  background: #FDFAF5; /* TODO: add to CSS variables if used across multiple pages */
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
}
.wv-sr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.wv-sr-table th {
  text-align: left;
  padding: 11px 18px;
  background: var(--wv-color-surface);
  font-family: var(--wv-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--wv-color-text-secondary);
  border-bottom: 1px solid var(--wv-color-border);
}
.wv-sr-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--wv-color-border);
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wv-color-text-secondary);
  vertical-align: top;
}
.wv-sr-table tr:last-child td { border-bottom: none; }
.wv-sr-table td:first-child {
  font-weight: 600;
  color: var(--wv-color-text-primary);
  white-space: nowrap;
}

/* ── Divider ── */
.wv-sr-divider {
  border: none;
  border-top: 1px solid var(--wv-color-border);
  margin: 44px 0;
}

/* ── Policy notes (bullet list with coral dots) ── */
.wv-sr-policy-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.wv-sr-policy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--wv-color-text-secondary);
}
.wv-sr-policy-note__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wv-color-primary);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── Eco note ── */
.wv-sr-eco {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #EEF1E8; /* TODO: add to CSS variables if used across multiple pages */
  border: 1px solid var(--wv-color-primary-3);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.wv-sr-eco svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--wv-color-accent);
}
.wv-sr-eco__body {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--wv-color-text-secondary);
}
.wv-sr-eco__body strong {
  font-weight: 600;
  color: var(--wv-color-accent);
}

/* ── Steps (returns process) ── */
.wv-sr-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}
.wv-sr-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--wv-color-border);
  align-items: start;
}
.wv-sr-step:last-child { border-bottom: none; }
.wv-sr-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wv-color-surface);
  border: 1px solid var(--wv-color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 600;
  color: var(--wv-color-text-secondary);
  flex-shrink: 0;
}
.wv-sr-step__title {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  margin-bottom: 5px;
}
.wv-sr-step__body {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--wv-color-text-secondary);
}

/* ── Address box ── */
.wv-sr-address {
  background: var(--wv-color-surface);
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.wv-sr-address__label {
  font-family: var(--wv-font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #BDB5AC; /* TODO: add to CSS variables if used across multiple pages */
  margin-bottom: 10px;
}
.wv-sr-address__lines {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--wv-color-text-secondary);
}
.wv-sr-address__lines strong {
  font-weight: 600;
  color: var(--wv-color-text-primary);
  display: block;
}

/* ── Notice boxes ── */
.wv-sr-notice {
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.wv-sr-notice--info {
  background: #E4F0F5; /* TODO: add to CSS variables if used across multiple pages */
  border: 1px solid #B0D0DA; /* TODO: add to CSS variables if used across multiple pages */
}
.wv-sr-notice--warn {
  background: #FDF6E8; /* TODO: add to CSS variables if used across multiple pages */
  border: 1px solid #E8D4A0; /* TODO: add to CSS variables if used across multiple pages */
}
.wv-sr-notice__title {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.wv-sr-notice--info .wv-sr-notice__title { color: #3A7A8E; /* TODO: add to CSS variables if used across multiple pages */ }
.wv-sr-notice--warn .wv-sr-notice__title { color: #8B6914; /* TODO: add to CSS variables if used across multiple pages */ }
.wv-sr-notice__body {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--wv-color-text-secondary);
}

/* ── Support CTA block ── */
.wv-sr-support-cta__inner {
  background: #1E1E1C; /* TODO: add to CSS variables if used across multiple pages */
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.wv-sr-support-title {
  font-family: var(--wv-font-serif);
  font-size: 22px;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 5px;
}
.wv-sr-support-body {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.wv-sr-support-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wv-sr-btn-cta {
  background: var(--wv-color-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--wv-transition-base);
}
.wv-sr-btn-cta:hover {
  background: var(--wv-color-primary-hover);
}
.wv-sr-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--wv-transition-base);
}
.wv-sr-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .wv-sr-hero__inner,
  .wv-sr-content__inner,
  .wv-sr-support-cta {
    padding-left: 20px;
    padding-right: 20px;
  }
  .wv-sr-tab-btn {
    padding: 14px 18px;
    font-size: 14px;
    white-space: nowrap;
  }
  .wv-sr-tab-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wv-sr-fact-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .wv-sr-support-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .wv-sr-table {
    font-size: 12px;
  }
  .wv-sr-table th,
  .wv-sr-table td {
    padding: 10px 12px;
  }
}
