/* Shared shell fixes for the Pay Later and refunds guides.
   Loaded after guide.css so the 2026 stage wins over the old v2 shell. */

.sb-links { margin-top: 0.25rem; }

.hero-img { display: none; }

.refund-guide .hero,
.hero {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  background: transparent;
  color: var(--ink);
  display: block;
  overflow: visible;
  align-items: stretch;
  padding: 3.5rem clamp(1.5rem, 4vw, 4.5rem) 0;
  max-width: 1180px;
}

.refund-guide .hero-inner,
.hero-inner {
  display: block;
  max-width: 46rem;
  margin: 0;
}

.refund-guide .page-wrap { margin-top: 0; }

.s-title,
.s-headline {
  max-width: none;
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

.s-headline {
  color: var(--ink-muted);
  max-width: 28ch;
}

.s-desc {
  margin: 1rem 0 2.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink2);
  max-width: 62ch;
}

/* Accordions match the onboarding guide: separate raised cards, chevron, no plus tile. */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.faq-item {
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--raised);
  box-shadow: var(--inset);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item:hover { box-shadow: var(--inset-strong); }

.faq-q,
.section:nth-child(even) .faq-q,
.faq-item.open .faq-q,
.faq-q:hover {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1.05rem 1.25rem;
  background: transparent;
  font-family: var(--sans);
  text-align: left;
}

.faq-q-text {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-ico {
  width: auto;
  height: auto;
  margin-left: auto;
  border-radius: 0;
  background: none;
  color: transparent;
  font-size: 0;
  line-height: 1;
  flex-shrink: 0;
}
.faq-ico::before {
  content: 'expand_more';
  display: block;
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  color: var(--ink3);
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  transition: transform 180ms ease;
}
.faq-item.open .faq-ico {
  transform: none;
  background: none;
  color: transparent;
}
.faq-item.open .faq-ico::before { transform: rotate(180deg); }

.faq-a,
.section:nth-child(even) .faq-a {
  padding: 0 1.25rem 1.25rem;
  background: transparent;
}
.faq-ans {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink2);
  max-width: 62ch;
}

.setup-details {
  margin-top: 1rem;
  border: 0;
  border-radius: var(--r);
  background: var(--raised);
  box-shadow: var(--inset);
  overflow: hidden;
}
.setup-details:hover { box-shadow: var(--inset-strong); }
.setup-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}
.setup-details summary::after {
  content: 'expand_more';
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--ink3);
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  transition: transform 180ms ease;
}
.setup-details[open] summary::after {
  content: 'expand_more';
  background: none;
  color: var(--ink3);
  transform: rotate(180deg);
}
.setup-details-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink2);
}
.setup-details-body p,
.setup-details-body li { color: var(--ink2); }

.step-title,
.placement-title,
.overview-item h3,
.overview-sections-title,
.reminder-card h3,
.faq-q {
  font-family: var(--sans);
  font-weight: 600;
}

.step-num {
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 0;
  background: none;
  color: var(--brand);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.75rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums;
}

.reminder-card .step-num {
  display: block;
  margin: 0 0 1.25rem;
  font-size: 4rem;
}

.overview-item,
.reminder-card,
.t-card,
.sms-card {
  background: var(--raised);
  border: 0;
  border-radius: var(--r);
  box-shadow: var(--inset);
}

.refund-guide .reminder-card {
  background: var(--raised);
  border: 0;
  box-shadow: var(--inset);
}

.refund-guide .support-band {
  background: var(--raised);
  color: var(--ink);
  text-align: left;
  box-shadow: var(--inset);
}

.refund-guide .support-band h3,
.refund-guide .support-band a {
  color: var(--ink);
  font-weight: 600;
}

.refund-guide .refund-tabs .email-slide-visual.refund-tab-visual {
  background: var(--platinum);
  border: 0;
  box-shadow: var(--inset);
}

.callout-warn {
  background: var(--warn-s);
  border: 0;
  box-shadow: var(--inset);
  color: var(--ink2);
  border-radius: var(--r-s);
}

.callout-warn strong,
.callout-warn-title { color: var(--ink); }

.site-footer {
  background: transparent;
  position: static;
}

.footer-label,
.footer-contact,
.footer-contact a {
  color: var(--ink2);
}

.footer-divider { background: var(--inset-edge); }

/* The v2 shell still names SF Pro on component type. Suisse is the only text face.
   Weights 700 and 800 have no Suisse cut and resolve to Black, so emphasis stays 600. */
.overview-section-num,
.mf-brand-lg,
.mp-title,
.mp-price,
.carousel-dot,
.email-slide-title,
.t-title,
.br-title,
.email-avatar,
.email-subject,
.email-banner-hl,
.email-how-title,
.mco-hd,
.mco-sum-title,
.pm-visa,
.soc-vis-handle,
.soc-hl {
  font-family: var(--sans);
}

strong,
b,
th,
h4,
.overview-section-num,
.mf-brand-lg,
.mf-col-title,
.mf-pay-lbl,
.mp-title,
.mp-price,
.email-slide-title,
.t-title,
.br-title,
.email-avatar,
.email-subject,
.email-banner-hl,
.email-how-title,
.mco-hd,
.mco-sum-title,
.pm-visa,
.soc-hl,
.callout-warn-title,
.step-circle,
.sms-type,
.faq-copy-lbl,
.overview-section-item strong,
.mp-widget-headline strong,
.sms-tips h4 {
  font-weight: 600;
}

/* Pay Later carousels: same arrow controls and image cursors as the onboarding guide. */
.carousel-arrow {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: var(--raised);
  box-shadow: var(--inset);
  color: var(--ink);
  transform: none;
}
.section:nth-child(even) .carousel-arrow { background: var(--raised); }
.carousel-arrow:hover:not(:disabled) {
  background: var(--raised);
  color: var(--ink);
  border-color: transparent;
  box-shadow: var(--inset-strong);
  transform: none;
}
.carousel-arrow .material-symbols-rounded {
  font-size: 0;
  line-height: 1;
  letter-spacing: normal;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}
.carousel-arrow .material-symbols-rounded::before {
  font-size: 20px;
  letter-spacing: normal;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}
.carousel-arrow[data-dir="-1"] .material-symbols-rounded::before { content: 'arrow_back'; }
.carousel-arrow[data-dir="1"] .material-symbols-rounded::before { content: 'arrow_forward'; }

.carousel-viewport { position: relative; }
.carousel-hits {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.carousel-hit {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.carousel-hit--prev {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' fill='none'%3E%3Cpath d='M44 32H20M20 32l12-12M20 32l12 12' stroke='%230f0c15' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M44 32H20M20 32l12-12M20 32l12 12' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 20 32, w-resize;
}
.carousel-hit--next {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' fill='none'%3E%3Cpath d='M20 32h24M44 32l-12-12M44 32l-12 12' stroke='%230f0c15' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M20 32h24M44 32l-12-12M44 32l-12 12' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 44 32, e-resize;
}
.carousel-hit:disabled {
  cursor: default;
  pointer-events: none;
}
.carousel-hit:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -6px;
}

@media (max-width: 760px) {
  .refund-guide .hero,
  .hero { padding: 5rem 1.25rem 0; }
}
