/* Individual compositions for Spareza information pages. The visual tokens stay shared. */

/* Payment: a transaction dashboard rather than another editorial hero. */
.payment-page .payment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  align-items: stretch;
  background: #fff;
}
.payment-page .payment-hero-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.payment-hero-panel {
  margin: 18px;
  padding: 24px;
  border-radius: 16px;
  background: #172236;
  color: #fff;
}
.payment-hero-lock {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #4d78c1;
  font-size: 18px;
  font-weight: 700;
}
.payment-hero-panel small,
.payment-hero-panel strong {
  display: block;
}
.payment-hero-panel small {
  color: #9fb1c8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.payment-hero-panel strong {
  margin-top: 7px;
  color: #e6edf7;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 550;
  letter-spacing: -0.1px;
}
.payment-hero-panel ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
}
.payment-hero-panel li {
  position: relative;
  padding-left: 18px;
  color: #c8d3e0;
  font-size: 13px;
  line-height: 1.5;
}
.payment-hero-panel li:before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ea0f3;
  content: "";
}
.payment-page .payment-options {
  display: flex;
  gap: 0;
  overflow: hidden;
  border: 1px solid #d8e2ee;
  border-radius: 16px;
  background: #fff;
}
.payment-page .payment-options article {
  flex: 1;
  border: 0;
  border-radius: 0;
}
.payment-page .payment-options article + article {
  border-left: 1px solid #e0e7f0;
}
.payment-layout .shipping-nav {
  border-radius: 13px;
  background: #f6f8fb;
  box-shadow: none;
}
.payment-layout .shipping-content {
  gap: 24px;
}
.payment-layout .shipping-section {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(31, 49, 78, 0.035);
}

/* Warranty: technical claim dossier. */
.warranty-page .policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.65fr);
  align-items: stretch;
  background: linear-gradient(120deg, #fff 0, #f7f9fc 100%);
}
.warranty-case-card {
  align-self: stretch;
  margin: 18px;
  padding: 24px;
  border: 1px solid #cfd9e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(31, 49, 78, 0.06);
}
.warranty-case-card > span {
  color: #2a66eb;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.warranty-case-card > strong {
  display: block;
  margin: 6px 0 17px;
  color: #253349;
  font-size: 18px;
}
.warranty-case-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}
.warranty-case-card dl > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #e5eaf1;
}
.warranty-case-card dt {
  color: #2a66eb;
  font-size: 11px;
  font-weight: 750;
}
.warranty-case-card dd {
  margin: 0;
  color: #53647a;
  font-size: 13px;
  line-height: 1.4;
}
.warranty-page .shipping-options article {
  border-radius: 8px;
  background: #f9fbfd;
}
.warranty-layout .shipping-content {
  gap: 12px;
}
.warranty-layout .shipping-section {
  border-left: 4px solid #d7e3f6;
  border-radius: 8px 18px 18px 8px;
}
.warranty-layout .shipping-section:nth-child(3) {
  border-left-color: #4d78c1;
}
.warranty-layout .shipping-section:nth-child(4) {
  border-left-color: #d29b40;
}

/* Returns: a decision page where time limits and eligibility are dominant. */
.returns-page .policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(350px, 0.7fr);
  align-items: center;
  background: #fff;
}
.returns-period-card {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 22px;
  margin: 24px 28px 24px 0;
  padding: 25px;
  border: 1px solid #cfdcf2;
  border-radius: 18px;
  background: #f4f7fc;
}
.returns-period-card > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.returns-period-card b {
  color: #2a66eb;
  font-size: 38px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -1px;
}
.returns-period-card span,
.returns-period-card strong,
.returns-period-card small {
  display: block;
}
.returns-period-card strong {
  color: #344258;
  font-size: 13px;
}
.returns-period-card small {
  max-width: 130px;
  margin-top: 3px;
  color: #65758a;
  font-size: 12px;
  line-height: 1.4;
}
.returns-period-card i {
  width: 1px;
  height: 66px;
  background: #ced9e8;
}
.returns-page > .shipping-options {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #d8e2ee;
  border-radius: 16px;
}
.returns-page > .shipping-options article {
  border: 0;
  border-radius: 0;
}
.returns-page > .shipping-options article + article {
  border-left: 1px solid #e0e7f0;
}
.returns-layout .shipping-content {
  gap: 20px;
}
.returns-layout .shipping-section {
  box-shadow: 0 8px 25px rgba(31, 49, 78, 0.035);
}
.returns-layout #eligibility {
  border-top: 4px solid #2a66eb;
}
.returns-layout #damaged {
  border-top: 4px solid #cf5a61;
}

/* Terms: a restrained legal document, not a marketing page. */
.terms-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
  padding: 32px 4px 27px;
  border-bottom: 2px solid #27364b;
}
.terms-masthead h1 {
  max-width: 850px;
  margin: 0;
  color: #172033;
  font-size: 39px;
  line-height: 1.12;
  letter-spacing: -1px;
}
.terms-masthead p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #596b83;
  font-size: 15px;
  line-height: 1.65;
}
.terms-masthead aside {
  padding: 0 0 3px 23px;
  border-left: 1px solid #d3dce8;
}
.terms-masthead aside small,
.terms-masthead aside strong,
.terms-masthead aside span {
  display: block;
}
.terms-masthead aside small {
  color: #7d8999;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.terms-masthead aside strong {
  margin-top: 6px;
  color: #28374b;
  font-size: 15px;
}
.terms-masthead aside span {
  margin-top: 4px;
  color: #66758a;
  font-size: 13px;
}
.terms-layout {
  grid-template-columns: 230px minmax(0, 900px);
  justify-content: center;
  gap: 42px;
}
.terms-index {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.terms-index > a {
  border-bottom: 1px solid #e1e7ef;
}
.terms-document {
  gap: 0;
  border-top: 1px solid #dce4ee;
}
.terms-document .shipping-section {
  position: relative;
  padding: 31px 20px 32px 58px;
  border: 0;
  border-bottom: 1px solid #dce4ee;
  border-radius: 0;
  background: transparent;
}
.terms-document .shipping-section h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: 23px;
}
.terms-clause {
  position: absolute;
  top: 34px;
  left: 9px;
  color: #9aa6b5;
  font-size: 12px;
  font-weight: 700;
}
.terms-document .policy-two-column article {
  background: #fff;
}
.terms-document .shipping-hero-actions {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .payment-page .payment-hero,
  .warranty-page .policy-hero,
  .returns-page .policy-hero {
    grid-template-columns: 1fr;
  }
  .payment-hero-panel,
  .warranty-case-card {
    margin-top: 0;
  }
  .returns-period-card {
    margin: 0 24px 24px;
  }
  .terms-layout {
    grid-template-columns: 1fr;
  }
  .terms-index {
    display: none;
  }
}
@media (max-width: 700px) {
  .payment-hero-panel,
  .warranty-case-card {
    margin: 0 14px 14px;
    padding: 20px;
  }
  .payment-page .payment-options,
  .returns-page > .shipping-options {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .payment-page .payment-options article + article,
  .returns-page > .shipping-options article + article {
    border-top: 1px solid #e0e7f0;
    border-left: 0;
  }
  .returns-period-card {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 14px 16px;
    padding: 19px;
  }
  .returns-period-card i {
    width: 100%;
    height: 1px;
  }
  .terms-masthead {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 2px;
  }
  .terms-masthead h1 {
    font-size: 30px;
  }
  .terms-masthead aside {
    padding: 16px;
    border: 1px solid #d8e2ee;
    border-radius: 12px;
    background: #fff;
  }
  .terms-document .shipping-section {
    padding: 25px 15px 26px 42px;
  }
  .terms-clause {
    top: 28px;
    left: 6px;
  }
}

/* Complete Terms document. */
.terms-masthead aside small,
.terms-masthead aside strong,
.terms-masthead aside span,
.terms-masthead aside em {
  display: block;
}
.terms-masthead aside small {
  font-size: 12px;
}
.terms-masthead aside em {
  margin-top: 9px;
  color: #8491a3;
  font-size: 12px;
  font-style: normal;
}
.terms-layout {
  grid-template-columns: 230px minmax(0, 960px);
}
.terms-index {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.terms-index > a {
  min-height: 38px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.terms-document .shipping-section {
  padding: 34px 20px 37px 58px;
}
.terms-document .shipping-section h2 {
  font-size: 24px;
}
.terms-document .shipping-section > p {
  max-width: 900px;
}
.terms-clause {
  top: 37px;
}
.terms-priority-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 28px;
  padding: 17px 19px;
  border: 1px solid #bed1ec;
  border-radius: 14px;
  background: #f1f6fd;
}
.terms-priority-note > span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a66eb;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.terms-priority-note p {
  margin: 1px 0 0;
  color: #52647a;
  font-size: 14px;
  line-height: 1.65;
}
.terms-priority-note strong {
  color: #2d3e55;
  font-weight: 650;
}
.terms-company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #dce4ee;
  border-radius: 14px;
  background: #dce4ee;
}
.terms-company-grid > div {
  min-height: 86px;
  padding: 15px;
  background: #fff;
}
.terms-company-grid small,
.terms-company-grid strong,
.terms-company-grid a {
  display: block;
}
.terms-company-grid small {
  margin-bottom: 6px;
  color: #7c8999;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}
.terms-company-grid strong,
.terms-company-grid a {
  color: #344258;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.terms-company-grid a {
  color: #2a66eb;
}
.terms-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.terms-definitions p {
  margin: 0;
  padding: 15px 17px;
  border-left: 3px solid #4d78c1;
  background: #f4f7fc;
}
.terms-definitions strong,
.terms-definitions span {
  display: block;
}
.terms-definitions strong {
  color: #304056;
  font-size: 14px;
}
.terms-definitions span {
  margin-top: 4px;
  color: #607087;
  font-size: 14px;
  line-height: 1.55;
}
.terms-rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 21px;
}
.terms-rule-list article {
  padding: 18px;
  border: 1px solid #dce4ee;
  border-radius: 13px;
  background: #fff;
}
.terms-rule-list b {
  display: block;
  margin-bottom: 6px;
  color: #304056;
  font-size: 14px;
  font-weight: 650;
}
.terms-rule-list p {
  margin: 0;
  color: #607087;
  font-size: 14px;
  line-height: 1.65;
}
.terms-rule-list + p,
.terms-remedy-grid + p,
.terms-numbered + p,
.terms-deadline-flow + p,
.terms-document .policy-two-column + p {
  margin-top: 22px !important;
}
.terms-numbered {
  display: grid;
  margin-top: 20px;
  border-top: 1px solid #dce4ee;
}
.terms-numbered > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #dce4ee;
}
.terms-numbered b {
  padding-top: 2px;
  color: #2a66eb;
  font-size: 13px;
}
.terms-numbered p {
  margin: 0;
  color: #596b82;
  font-size: 14px;
  line-height: 1.68;
}
.terms-related-link {
  margin-top: 18px !important;
  color: #69788b !important;
  font-size: 14px !important;
}
.terms-related-link a {
  color: #2a66eb;
  font-weight: 650;
  text-decoration: none;
}
.terms-related-link a:hover {
  text-decoration: underline;
}
.terms-deadline-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: center;
  margin-top: 22px;
}
.terms-deadline-flow > div {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid #dce4ee;
  border-radius: 13px;
  background: #fff;
}
.terms-deadline-flow > i {
  color: #8ea0b7;
  text-align: center;
  font-style: normal;
}
.terms-deadline-flow > div > b {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eaf1fd;
  color: #2a66eb;
  font-size: 12px;
}
.terms-deadline-flow span,
.terms-deadline-flow strong,
.terms-deadline-flow small {
  display: block;
}
.terms-deadline-flow strong {
  color: #344258;
  font-size: 14px;
}
.terms-deadline-flow small {
  margin-top: 4px;
  color: #66758a;
  font-size: 13px;
  line-height: 1.5;
}
.terms-withdrawal-form {
  margin-top: 18px;
  padding: 19px;
  border: 1px dashed #a9bdd9;
  border-radius: 13px;
  background: #f8fafc;
}
.terms-withdrawal-form > span {
  display: block;
  margin-bottom: 10px;
  color: #2a66eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.terms-withdrawal-form p {
  margin: 6px 0;
  color: #415269;
  font-size: 14px;
  line-height: 1.65;
}
.terms-withdrawal-form small {
  display: block;
  margin-top: 10px;
  color: #69798d;
  font-size: 13px;
  line-height: 1.55;
}
.terms-remedy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.terms-remedy-grid article {
  padding: 18px;
  border-top: 3px solid #4d78c1;
  border-radius: 6px 6px 13px 13px;
  background: #f7f9fc;
}
.terms-remedy-grid b {
  color: #2a66eb;
  font-size: 12px;
}
.terms-remedy-grid h3 {
  margin: 8px 0 6px;
  color: #304056;
  font-size: 15px;
}
.terms-remedy-grid p {
  margin: 0;
  color: #617188;
  font-size: 14px;
  line-height: 1.6;
}
.terms-contact-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #172236;
}
.terms-contact-final span,
.terms-contact-final strong {
  display: block;
}
.terms-contact-final span {
  color: #9eafc3;
  font-size: 13px;
}
.terms-contact-final strong {
  margin-top: 3px;
  color: #fff;
  font-size: 16px;
}
.terms-contact-final a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 43px;
  padding: 0 16px;
  border-radius: 9px;
  background: #4d78c1;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.terms-authority-link {
  margin-top: 15px !important;
  color: #69788b !important;
  font-size: 13px !important;
}
.terms-authority-link a {
  color: #2a66eb;
}
.terms-page {
  padding-bottom: 96px;
}
.terms-page .terms-document .shipping-section:last-child {
  padding-bottom: 48px;
  border-bottom: 0;
}
main:has(> .terms-page) + .site-footer {
  border-top: 1px solid #d6e0ec;
  padding-top: 34px;
}
.terms-page .shipping-breadcrumb {
  font-size: 14px;
}
.terms-masthead {
  grid-template-columns: minmax(0, 1fr) 320px;
}
.terms-masthead > div,
.terms-masthead aside {
  min-width: 0;
}
.terms-masthead h1 {
  font-size: 36px;
  line-height: 1.15;
}
.terms-masthead .shipping-kicker {
  font-size: 12px;
}
.terms-masthead p {
  font-size: 16px;
  line-height: 1.62;
}
.terms-masthead aside small {
  font-size: 12px;
}
.terms-masthead aside strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.terms-masthead aside span,
.terms-masthead aside em {
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.terms-index > a {
  font-size: 14px;
}
.terms-priority-note p,
.terms-rule-list p,
.terms-numbered p,
.terms-definitions span,
.terms-company-grid strong,
.terms-company-grid a,
.terms-deadline-flow small,
.terms-withdrawal-form p,
.terms-withdrawal-form small,
.terms-remedy-grid p,
.terms-authority-link {
  font-size: 14px !important;
}

@media (max-width: 900px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }
  .terms-index {
    display: none;
  }
  .terms-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .terms-remedy-grid,
  .terms-deadline-flow {
    grid-template-columns: 1fr;
  }
  .terms-deadline-flow > i {
    display: none;
  }
}
@media (max-width: 700px) {
  .terms-priority-note {
    padding: 14px;
  }
  .terms-page {
    padding-bottom: 68px;
  }
  .terms-masthead h1 {
    font-size: 30px;
  }
  .terms-masthead p {
    font-size: 15px;
  }
  .terms-document .shipping-section {
    padding: 26px 8px 29px 38px;
  }
  .terms-clause {
    top: 29px;
    left: 3px;
  }
  .terms-company-grid,
  .terms-definitions,
  .terms-rule-list {
    grid-template-columns: 1fr;
  }
  .terms-company-grid > div {
    min-height: 0;
  }
  .terms-numbered > div {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .terms-contact-final {
    align-items: stretch;
    flex-direction: column;
  }
  .terms-contact-final a {
    justify-content: center;
    white-space: normal;
  }
}

/* Variant components use the same readable body sizes. */
.payment-hero-panel small,
.warranty-case-card > span {
  font-size: 12px;
}
.payment-hero-panel li,
.warranty-case-card dd {
  font-size: 14px;
}
.warranty-case-card dt {
  font-size: 12px;
}
.returns-period-card strong,
.returns-period-card small {
  font-size: 14px;
}
.terms-page .terms-index > a {
  font-size: 14px;
}

/* Returns has no reduced helper text and uses calmer emphasis. */
.returns-page .shipping-kicker,
.returns-page .shipping-section-kicker,
.returns-page .shipping-options small,
.returns-page .shipping-nav-help small {
  font-size: 14px;
  letter-spacing: 0.035em;
}
.returns-page .shipping-hero h1 {
  font-weight: 700;
}
.returns-page .shipping-hero-actions a {
  font-weight: 550;
}
.returns-page .shipping-options h2,
.returns-page .shipping-nav > strong,
.returns-page .shipping-nav > a,
.returns-page .policy-two-column h3,
.returns-page .policy-checklist strong,
.returns-page .policy-contact-card strong {
  font-weight: 600;
}
.returns-page .returns-period-card strong {
  font-weight: 600;
}
