/* Refund policy styles only. The Home page header is shared, not restyled here.
   Load the Home page's site-wide header CSS before this stylesheet. */
.refund-page {
  --refund-primary: #2563eb;
  --refund-primary-dark: #1d4ed8;
  --refund-primary-light: #eff6ff;
  --refund-dark: #0f172a;
  --refund-text: #334155;
  --refund-muted: #64748b;
  --refund-border: #e2e8f0;
  --refund-bg: #f8fafc;
  --refund-shadow: 0 8px 30px rgba(15, 23, 42, .06);
  --refund-header-offset: 72px; /* updated by refund-page script on load/resize */
  margin: 0;
  padding: 0;
  background: var(--refund-bg);
  color: var(--refund-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  min-width: 0;
}
.refund-page, .refund-page *, .refund-page *::before, .refund-page *::after {
  box-sizing: border-box;
}
.refund-page a { color: var(--refund-primary); text-decoration: none; }
.refund-page a:focus-visible { outline: 2px solid var(--refund-primary); outline-offset: 3px; }

/* Hero: scoped to refund content; never targets header, nav, logo or Profile. */
.refund-page .refund-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 20px 75px;
  background: radial-gradient(circle at 85% 20%, rgba(59,130,246,.22), transparent 34%),
              linear-gradient(135deg, #07152f 0%, #0f2b63 55%, #174ea6 100%);
  color: #fff;
}
.refund-page .refund-hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -220px;
  top: -250px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  pointer-events: none;
}
.refund-page .refund-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -160px;
  bottom: -180px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
}
.refund-page .refund-container,
.refund-page .refund-document {
  width: min(100%, 1180px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.refund-page .refund-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}
.refund-page .refund-hero-copy { min-width: 0; }
.refund-page .refund-badge {
  display: inline-flex;
  padding: 7px 13px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 30px;
  color: #bfdbfe;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.refund-page .refund-hero h1 {
  max-width: 900px;
  margin: 20px 0 18px;
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -2px;
}
.refund-page .refund-hero-text {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 17px;
  line-height: 1.8;
}
/* The PHP markup uses .refund-hero-meta (not .refund-meta/.meta-card). */
.refund-page .refund-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 36px;
  color: #bfdbfe;
  font-size: 12px;
}
.refund-page .refund-hero-meta span { overflow-wrap: anywhere; }
.refund-page .refund-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 270px;
  isolation: isolate;
}
.refund-page .refund-hero-art .art-ring {
  position: absolute;
  width: 245px;
  aspect-ratio: 1;
  border: 1px solid rgba(191,219,254,.3);
  border-radius: 50%;
}
.refund-page .refund-hero-art .ring-two { width: 195px; border-color: rgba(191,219,254,.16); }
.refund-page .refund-hero-art .art-shield {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 35px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  color: #fff;
  font-size: 72px;
  line-height: 1;
}
.refund-page .refund-hero-art .art-card {
  position: absolute;
  right: 0;
  bottom: 4px;
  display: grid;
  padding: 13px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  color: var(--refund-dark);
  font-size: 12px;
}
.refund-page .refund-hero-art .art-card span { color: var(--refund-muted); font-size: 11px; }

/* Policy body */
.refund-page .refund-main { padding: 65px 20px 90px; }
.refund-page .refund-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.refund-page .refund-sidebar {
  position: sticky;
  top: calc(var(--refund-header-offset) + 20px);
  align-self: start;
  min-width: 0;
}
.refund-page .refund-sidebar .sidebar-card {
  padding: 17px;
  background: #fff;
  border: 1px solid var(--refund-border);
  border-radius: 16px;
  box-shadow: var(--refund-shadow);
  max-height: calc(100vh - var(--refund-header-offset) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.refund-page .refund-sidebar .sidebar-card::-webkit-scrollbar { width: 6px; }
.refund-page .refund-sidebar .sidebar-card::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.refund-page .sidebar-title {
  padding: 8px 10px 14px;
  color: var(--refund-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.refund-page .refund-sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.refund-page .refund-sidebar nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 7px;
  color: var(--refund-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  transition: background .2s ease, color .2s ease;
}
.refund-page .refund-sidebar nav a span {
  flex: 0 0 21px;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 800;
}
.refund-page .refund-sidebar nav a:hover { background: var(--refund-primary-light); color: var(--refund-primary); }
.refund-page .refund-sidebar nav a.active {
  color: var(--refund-primary);
  font-weight: 700;
  background: var(--refund-primary-light);
}
.refund-page .refund-sidebar nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--refund-primary);
  border-radius: 0 4px 4px 0;
}
.refund-page .refund-content { min-width: 0; }
.refund-page .refund-section {
  position: relative;
  margin-bottom: 28px;
  padding: 38px;
  background: #fff;
  border: 1px solid var(--refund-border);
  border-radius: 18px;
  box-shadow: var(--refund-shadow);
  scroll-margin-top: calc(var(--refund-header-offset) + 20px);
}
.refund-page .section-number {
  position: absolute;
  top: 27px;
  right: 28px;
  color: #dbeafe;
  font-size: 43px;
  line-height: 1;
  font-weight: 900;
}
.refund-page .section-content { position: relative; z-index: 1; }
.refund-page .section-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--refund-primary);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.refund-page .refund-section h2 {
  margin: 0 0 18px;
  max-width: 90%;
  color: var(--refund-dark);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.5px;
}
.refund-page .refund-section p { margin: 0 0 15px; font-size: 14px; line-height: 1.8; }
.refund-page .refund-section ul { margin: 10px 0 18px; padding-left: 21px; }
.refund-page .refund-section li { margin-bottom: 7px; padding-left: 3px; font-size: 13px; line-height: 1.7; }
.refund-page .refund-subheading {
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--refund-border);
  color: var(--refund-dark);
  font-size: 17px;
}
.refund-page .highlight-label { margin: 18px 0 10px; color: var(--refund-dark); font-size: 14px; font-weight: 800; }
.refund-page .refund-contact {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 8px 0 28px;
  padding: 28px;
  background: linear-gradient(135deg, #eff6ff, #fff);
  border: 1px solid #bfdbfe;
  border-radius: 18px;
}
.refund-page .contact-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--refund-primary);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.refund-page .refund-contact h2 { margin: 0 0 10px; color: var(--refund-dark); font-size: 24px; }
.refund-page .refund-contact p { margin: 0 0 14px; color: var(--refund-muted); font-size: 13px; }
.refund-page .contact-button {
  display: inline-flex;
  padding: 8px 13px;
  background: #fff;
  border: 1px solid var(--refund-border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.refund-page .refund-final { padding: 32px; background: var(--refund-dark); border-radius: 16px; color: #cbd5e1; text-align: center; }
.refund-page .final-icon {
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 13px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: #93c5fd;
  font-size: 19px;
  font-weight: 900;
}
.refund-page .refund-final p { max-width: 700px; margin: 0 auto 10px; font-size: 12px; }
.refund-page .refund-final strong { color: #fff; font-size: 13px; }

@media (max-width: 1050px) {
  .refund-page .refund-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .refund-page .refund-sidebar { position: static; }
  .refund-page .refund-sidebar .sidebar-card { max-height: none; overflow: visible; }
  .refund-page .refund-sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .refund-page .refund-hero { padding: 60px 18px 65px; }
  .refund-page .refund-hero-inner { grid-template-columns: minmax(0,1fr); }
  .refund-page .refund-hero-art { display: none; }
  .refund-page .refund-hero h1 { font-size: 37px; letter-spacing: -1px; }
  .refund-page .refund-hero-text { font-size: 14px; }
  .refund-page .refund-main { padding: 40px 15px 65px; }
  .refund-page .refund-section { padding: 27px 20px; border-radius: 14px; }
  .refund-page .section-number { top: 20px; right: 18px; font-size: 32px; }
  .refund-page .refund-section h2 { font-size: 24px; }
  .refund-page .refund-sidebar nav { grid-template-columns: minmax(0, 1fr); }
  .refund-page .refund-contact { padding: 23px; }
}
@media (max-width: 480px) {
  .refund-page .refund-hero h1 { font-size: 31px; }
  .refund-page .refund-hero-meta { display: grid; gap: 4px; }
  .refund-page .refund-section { padding: 23px 17px; }
  .refund-page .section-number { display: none; }
  .refund-page .refund-section p { font-size: 13px; }
  .refund-page .refund-contact { gap: 12px; padding: 18px; }
  .refund-page .refund-contact h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .refund-page .refund-sidebar nav a { transition: none; }
}

.refund-page .refund-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 8px 15px !important;

    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(191, 219, 254, 0.25) !important;
    border-radius: 999px !important;

    color: #bfdbfe !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;
}


