/* Locally installed OFL webfonts. No third-party browser requests. */
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('fonts/josefin-sans-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/source-sans-3-latin-wght-normal.woff2') format('woff2');
}
/* DomainPunch Royal Indigo / FastSpring Classic. All overrides are scoped to our shell.
   Provider base CSS and injected checkout behavior remain independent. */
.dp-shell {
  --indigo: #444b85;
  --mid: #383d72;
  --shadow: #292d51;
  --base: #171b35;
  --deep: #1b2039;
  --paper: #f6f6fc;
  --paper-alt: #ededf7;
  --card: #e6e7f3;
  --edge: #b8bfd8;
  --accent: #d0d4ff;
  --ink: #292d51;
  --muted: #454d70;
  --secondary: #626ca7;
  --secondary-hover: #4e588e;
  --field-edge: #777f9e;
  --head: "Josefin Sans", "Trebuchet MS", sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font: 400 16px/1.5 var(--body);
  color: var(--ink);
  background: var(--paper-alt);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body { margin: 0; padding: 0; background: #ededf7; }
.dp-header { background: linear-gradient(110deg, var(--indigo), var(--mid) 42%, var(--shadow) 76%, var(--base)); color: white; border-bottom: 3px solid var(--accent); }
.dp-header-inner, .dp-footer-inner { box-sizing: border-box; width: 100%; margin: 0; padding: 20px 28px; display: flex; align-items: center; gap: 20px; }
.dp-header-inner { justify-content: space-between; }
.dp-brand, .dp-company { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.dp-brand img, .dp-company img { display: block; max-width: 100%; height: auto; border: 0; }
.dp-contact { color: white; background: var(--secondary); border: 2px solid transparent; border-radius: 3px; padding: 8px 18px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.dp-contact:hover { background: var(--secondary-hover); color: white; }
.dp-main { box-sizing: border-box; width: 100%; margin: 0; padding: 32px 24px 24px; flex: 1 0 auto; min-width: 0; }
.dp-checkout { box-sizing: border-box; background: white; border: 1px solid var(--edge); padding: clamp(16px, 3vw, 36px); min-width: 0; overflow-wrap: break-word; }
.dp-shell .dp-checkout h1, .dp-shell .dp-checkout h2, .dp-shell .dp-checkout h3, .dp-shell .dp-checkout h4, .dp-shell .dp-checkout h5, .dp-shell .dp-checkout h6, .dp-shell .dp-checkout .store-product-detail-title, .dp-shell .dp-checkout .core-section-header, .dp-shell .dp-checkout .core-form-field-group-header { font-family: var(--head); font-weight: 600; letter-spacing: -.035em; line-height: 1.14; color: var(--ink); text-align: left; text-transform: none; background: none; border: 0; padding: 0; }
.dp-shell .dp-checkout h1 { font-size: clamp(28px, 2.6vw, 36px); }
.dp-shell .dp-checkout h2, .dp-shell .dp-checkout .core-section-header { font-size: clamp(25px, 2.2vw, 32px); }
.dp-shell .dp-checkout .store-product-detail-title { font-size: clamp(28px, 2.6vw, 36px); }
.dp-shell .dp-checkout h3, .dp-shell .dp-checkout .core-form-field-group-header { font-size: clamp(20px, 1.8vw, 24px); }
.dp-shell .dp-checkout .store-product-detail-pricing { font-family: var(--body); font-weight: 700; letter-spacing: 0; color: var(--indigo); }
/* Checkout rhythm: separate major sections, then group fields under their headings.
   Fluid spacing keeps narrow screens comfortable without changing provider layout. */
.dp-shell .dp-checkout .store-product-detail-title { margin-bottom: 20px; }
.dp-shell .dp-checkout .store-product-detail { margin-bottom: clamp(28px, 4vw, 48px); }
.dp-shell .dp-checkout .store-product-detail-description-short { text-align: left; margin-bottom: 0; }
/* Classic inserts script elements between checkout sections; do not rely on adjacency alone. */
.dp-shell .dp-checkout .core-section + .core-section,
.dp-shell .dp-checkout .store-section-payment { margin-top: clamp(32px, 4.5vw, 56px); }
.dp-shell .dp-checkout .store-section-payment { clear: both; }
.dp-shell .dp-checkout .core-section-header { margin: 0 0 clamp(20px, 2vw, 28px); }
.dp-shell .dp-checkout .core-form-field-group-header { margin: clamp(28px, 3vw, 40px) 0 clamp(16px, 1.7vw, 24px); }
.dp-checkout .core-form-field-body-note { color: var(--muted); font-size: 0.95em; }
.dp-checkout a { color: var(--indigo); text-underline-offset: 2px; }
.dp-checkout a:hover { color: var(--shadow); }
.dp-checkout img { max-width: 100%; }
.dp-checkout ul { list-style-type: none; }
/* Avoid changing provider field layout, visibility, table flow or validation states. */
.dp-checkout input, .dp-checkout select, .dp-checkout textarea, .dp-checkout button { font-family: var(--body); font-size: 1em; }
.dp-checkout input[type="text"], .dp-checkout input[type="email"], .dp-checkout input[type="tel"], .dp-checkout input[type="number"], .dp-checkout input[type="password"], .dp-checkout select, .dp-checkout textarea { box-sizing: border-box; max-width: 100%; border: 1px solid var(--field-edge); border-radius: 3px; color: var(--ink); padding: 7px 9px; }
/* Neutral text fields: override Classic's decorative image/inset shading.
   Leave disabled, read-only and explicitly invalid field surfaces to provider CSS.
   Do not override native select arrows or payment controls. */
.dp-shell .dp-checkout input:is(:not([type]), [type="text"], [type="email"], [type="tel"], [type="number"], [type="password"], [type="search"], [type="url"]):not(:disabled):not([readonly]):not([aria-invalid="true"]),
.dp-shell .dp-checkout textarea:not(:disabled):not([readonly]):not([aria-invalid="true"]) { background: #fff; box-shadow: none; }
.dp-shell .dp-checkout select:not(:disabled):not([aria-invalid="true"]) { background-color: #fff; box-shadow: none; }
.dp-checkout input[type="checkbox"], .dp-checkout input[type="radio"] { accent-color: var(--indigo); }
/* Style native action controls only; provider-specific links/images await real markup. */
.dp-checkout button, .dp-checkout input[type="button"], .dp-checkout input[type="reset"], .dp-checkout input[type="submit"] { box-sizing: border-box; color: white; background: var(--secondary); border: 2px solid transparent; border-radius: 3px; font-weight: 700; padding: 8px 16px; cursor: pointer; }
.dp-checkout button[type="submit"], .dp-checkout input[type="submit"] { background: var(--indigo); }
.dp-checkout button:not(:disabled):hover, .dp-checkout input[type="button"]:not(:disabled):hover, .dp-checkout input[type="reset"]:not(:disabled):hover { background: var(--secondary-hover); }
.dp-checkout button[type="submit"]:not(:disabled):hover, .dp-checkout input[type="submit"]:not(:disabled):hover { background: var(--shadow); }
.dp-checkout button:disabled, .dp-checkout input:disabled { cursor: not-allowed; }
.dp-checkout button:disabled, .dp-checkout input[type="button"]:disabled, .dp-checkout input[type="submit"]:disabled, .dp-checkout input[type="reset"]:disabled { background: #e6e7f3; color: #454d70; border-color: var(--edge); }
.dp-shell a:focus-visible, .dp-shell input:focus-visible, .dp-shell button:focus-visible, .dp-shell select:focus-visible, .dp-shell textarea:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; box-shadow: 0 0 0 2px white; }
.dp-shell .dp-checkout :is(input, textarea, select):focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.dp-header a:focus-visible, .dp-footer a:focus-visible { outline-color: white; box-shadow: none; }
.dp-security { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding: 20px 0 0; color: var(--muted); }
.dp-security img { max-width: 100%; height: auto; }
.dp-provider-security { min-width: 0; max-width: 100%; }
.dp-footer { color: #f4f7ff; background: var(--deep); }
.dp-footer-inner { align-items: flex-start; padding-top: 24px; padding-bottom: 24px; gap: 28px; }
.dp-company { flex-shrink: 0; background: #fff; padding: 6px; box-sizing: border-box; }
.dp-footer-copy { min-width: 0; font-size: 0.95em; }
.dp-footer-copy p { margin: 0 0 4px; }
.dp-footer-copy .dp-copyright { color: var(--accent); margin: 8px 0 0; }
/* Classic contact/address columns are floated and have fixed-width notes.
   Stack these specific groups on narrow screens without touching provider
   control visibility, validation, scripts or field submission order. */
@media (max-width: 760px) {
  .dp-shell .dp-checkout :is(.store-section-customer-contact, .store-section-customer-address) .core-form-field-group-body {
    display: flow-root;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .dp-shell .dp-checkout :is(.store-section-customer-contact, .store-section-customer-address) :is(.core-form-field-area-left, .core-form-field-area-right) {
    display: block;
    float: none;
    clear: both;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding-inline: 0;
  }
  .dp-shell .dp-checkout :is(.store-section-customer-contact, .store-section-customer-address) :is(.core-form-field, .core-form-field-label, .core-form-field-body) {
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }
  .dp-shell .dp-checkout :is(.store-section-customer-contact, .store-section-customer-address) .core-form-field-label label {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .dp-shell .dp-checkout :is(.store-section-customer-contact, .store-section-customer-address) :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .dp-shell .dp-checkout :is(.store-section-customer-contact, .store-section-customer-address) .core-form-field-body-note {
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    margin-top: 4px;
  }
}
@media (max-width: 600px) {
  .dp-header-inner, .dp-footer-inner { padding: 16px; gap: 12px; }
  .dp-brand { max-width: 200px; }
  .dp-contact { padding: 7px 12px; }
  .dp-main { padding: 16px 12px 20px; }
  .dp-footer-inner { flex-direction: column; }
}
@media print {
  .dp-shell, .dp-main, .dp-checkout, .dp-header, .dp-footer { background: white; color: #171b35; }
  .dp-header, .dp-footer { border-color: #777f9e; }
  .dp-brand img { filter: brightness(0); }
  .dp-footer-copy .dp-copyright { color: #171b35; }
  .dp-contact, .dp-checkout button, .dp-checkout input[type="submit"], .dp-checkout input[type="button"] { background: white; color: #171b35; border: 1px solid #777f9e; }
  .dp-shell { min-height: 0; }
}

/* FS-01 r6: Classic order confirmation and navigation, based on the
   supplied generated markup. Do not change JS-enabled/disabled wrappers,
   form actions, tooltip behavior, or the processing element's visibility. */
.dp-shell .dp-checkout .core-window:has(> form#confirm) > .core-messages {
  margin: 0 0 clamp(24px, 3vw, 32px);
}
.dp-shell .dp-checkout .core-window:has(> form#confirm) > .core-messages ul {
  margin: 0;
  padding: 0;
}
.dp-shell .dp-checkout .core-window:has(> form#confirm) .core-message-info {
  box-sizing: border-box;
  background-color: var(--paper);
  border: 1px solid var(--edge);
  color: var(--ink);
  padding: 12px 16px 12px 32px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.dp-shell .dp-checkout .store-section-order-contents .core-section-header {
  margin: 0 0 clamp(24px, 3vw, 36px);
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-items {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--edge);
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-item {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  align-items: start;
  gap: 12px 24px;
  padding: 12px 0;
}
.dp-shell .dp-checkout .store-section-order-contents :is(.store-order-item-title, .store-order-item-pricing) {
  float: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-item-pricing {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-pricing {
  box-sizing: border-box;
  float: none;
  clear: both;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-price {
  box-sizing: border-box;
  width: 100%;
  clear: both;
  padding: 8px 12px;
  margin: 0;
}
/* Keep the provider's display rules for optional price rows (including VAT ID).
   Floated children align the amounts without exposing hidden rows. */
.dp-shell .dp-checkout .store-section-order-contents .store-order-price::after {
  content: "";
  display: table;
  clear: both;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-price-label {
  box-sizing: border-box;
  float: left;
  width: calc(100% - 11rem);
  min-width: 0;
  margin: 0;
  padding: 0 12px 0 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-price-value {
  box-sizing: border-box;
  float: right;
  width: 11rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-price-total {
  margin-top: 12px;
  padding: 16px 12px;
  background-color: var(--paper-alt);
  border: 1px solid var(--edge);
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.3;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-price-total :is(.store-order-price-label, .store-order-price-value, .store-value-money) {
  font-size: inherit;
  font-weight: 700;
  color: inherit;
}
.dp-shell .dp-checkout .store-section-order-contents .store-section-vat-exemption .store-order-price-label {
  padding-top: 8px;
}
.dp-shell .dp-checkout .store-section-order-contents .store-section-vat-exemption .store-action-input-line {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-action-list {
  clear: both;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  text-align: left;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-action-coupon-li {
  float: none;
  margin: 0;
  padding: 0;
  white-space: normal;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-action-coupon {
  white-space: normal;
}
.dp-shell .dp-checkout .store-section-order-contents .store-order-action-coupon .store-action-input {
  box-sizing: border-box;
  width: 11rem;
  max-width: 100%;
  margin: 6px 0 6px 8px;
  vertical-align: middle;
}
.dp-shell .dp-checkout .tos-container {
  clear: both;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 1px solid var(--edge);
}
.dp-shell .dp-checkout .tos-container .core-section-header {
  font-size: clamp(20px, 1.8vw, 24px);
  margin: 0 0 14px;
}
.dp-shell .dp-checkout .tos-container .core-form-field-label {
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.5;
}
.dp-shell .dp-checkout .tos-container .core-form-field-label a {
  font-weight: 600;
}
/* Real Classic action links, not coupon/VAT/help links. Retain their DOM,
   click handlers, and JS/no-JS visibility; remove legacy button sprites. */
.dp-shell .dp-checkout :is(#product, #confirm) .store-page-navigation {
  clear: both;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--edge);
}
.dp-shell .dp-checkout :is(#product, #confirm) .store-page-navigation > .store-action-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.dp-shell .dp-checkout :is(#product, #confirm) .store-page-navigation > .store-action-list > li {
  float: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
.dp-shell .dp-checkout :is(#product, #confirm) .store-page-navigation > .store-action-list > .store-action-prev-li {
  margin-inline-end: auto;
}
.dp-shell .dp-checkout .store-page-navigation :is(.store-action-next, .store-action-complete, .store-action-prev) {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.dp-shell .dp-checkout .store-page-navigation :is(.store-action-next, .store-action-complete, .store-action-prev) > .store-action-command,
.dp-shell .dp-checkout :is(#product, #confirm) .store-page-navigation input[type="submit"] {
  box-sizing: border-box;
  max-width: 100%;
  background: var(--indigo);
  color: #fff;
  border: 2px solid transparent;
  border-radius: 3px;
  box-shadow: none;
  padding: 10px 22px;
  font: 700 1em/1.35 var(--body);
  text-decoration: none;
  text-shadow: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
.dp-shell .dp-checkout .store-page-navigation :is(.store-action-next, .store-action-complete, .store-action-prev) > .store-action-command {
  display: inline-block;
  vertical-align: middle;
}
.dp-shell .dp-checkout .store-page-navigation :is(.store-action-next, .store-action-complete, .store-action-prev) > .store-action-command > .store-action-title {
  display: inline;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-shadow: none;
}
.dp-shell .dp-checkout .store-page-navigation .store-action-prev > .store-action-command { background: var(--secondary); }
.dp-shell .dp-checkout .store-page-navigation :is(.store-action-next, .store-action-complete) > .store-action-command:hover,
.dp-shell .dp-checkout :is(#product, #confirm) .store-page-navigation input[type="submit"]:not(:disabled):hover { background: var(--shadow); color: #fff; }
.dp-shell .dp-checkout .store-page-navigation .store-action-prev > .store-action-command:hover { background: var(--secondary-hover); color: #fff; }
.dp-shell .dp-checkout .store-page-navigation :is(.store-action-next, .store-action-complete, .store-action-prev) > .store-action-command[aria-disabled="true"],
.dp-shell .dp-checkout :is(#product, #confirm) .store-page-navigation input[type="submit"]:disabled { background: var(--card); color: var(--muted); border-color: var(--edge); cursor: not-allowed; }
.dp-shell .dp-checkout .store-page-navigation .store-action-command:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
@media (max-width: 600px) {
  .dp-shell .dp-checkout .store-section-order-contents .store-order-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .dp-shell .dp-checkout .store-section-order-contents .store-order-price { padding-inline: 8px; }
  .dp-shell .dp-checkout .store-section-order-contents .store-order-price-label { width: calc(100% - 8.5rem); text-align: left; padding-right: 6px; }
  .dp-shell .dp-checkout .store-section-order-contents .store-order-price-value { width: 8.5rem; }
  .dp-shell .dp-checkout .store-section-order-contents .store-section-vat-exemption :is(.store-order-price-label, .store-order-price-value) {
    float: none;
    width: 100%;
    text-align: left;
    padding: 0;
  }
  .dp-shell .dp-checkout .store-section-order-contents .store-section-vat-exemption .store-order-price-value { margin-top: 8px; }
  .dp-shell .dp-checkout .store-section-order-contents .store-order-action-coupon .store-action-input { margin-inline-start: 0; }
}
@media print {
  .dp-shell .dp-checkout .store-page-navigation :is(.store-action-next, .store-action-complete, .store-action-prev) > .store-action-command,
  .dp-shell .dp-checkout :is(#product, #confirm) .store-page-navigation input[type="submit"] { background: #fff; color: #171b35; border: 1px solid #777f9e; }
}
