/*
 * Checkout page — matched to the previous site's WooCommerce checkout.
 *
 * Enqueued only by page-checkout.php, after reference-match.css, so every rule here is
 * page-scoped and overrides the earlier checkout block without editing it. Values (Rubik
 * 16px body, Rajdhani 24px headings, 1290px content, 37px inputs, bordered option groups,
 * grey payment panel) were measured from the old checkout at a 1790px viewport.
 * Only presentation changes; the Forminator form, its fields and payment flow are untouched.
 */

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/rubik-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/rubik-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* theme.css sets h1-h6 and button fonts with !important inside @layer base; for
   !important the earliest-declared layer wins, so these faces sit in `properties`. */
@layer properties {
  .sn-checkout .sn-co-title,
  .sn-checkout .naiptv-checkout-col-heading,
  .sn-checkout .sn-checkout__form .forminator-button-submit {
    font-family: "Rajdhani", sans-serif !important;
    font-weight: 700 !important;
  }
}

/* ---- Page frame -------------------------------------------------------- */

.sn-checkout {
  padding: 120px 0 !important;
  background: #fff;
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #616670;
}

.sn-checkout .sn-checkout__container {
  width: min(1290px, calc(100% - 32px));
  max-width: none;
  margin-inline: auto;
  display: block;
}

.sn-checkout .sn-co-title,
.sn-checkout .naiptv-checkout-col-heading {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: normal;
  text-transform: capitalize;
  color: #1d1d1d !important;
}

.sn-checkout .sn-co-title {
  margin-bottom: 15px !important;
  text-transform: none;
}

/* ---- Order review table ---------------------------------------------- */

.sn-checkout .sn-co-table {
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid rgba(97, 102, 112, 0.2);
  border-collapse: collapse;
  font-size: 16px;
  line-height: 24px;
  color: #616670;
  text-align: left;
}

.sn-checkout .sn-co-table th,
.sn-checkout .sn-co-table td {
  padding: 20px 15px;
  border-top: 1px solid rgba(97, 102, 112, 0.2);
  vertical-align: middle;
  text-align: left;
  font-weight: 400;
}

.sn-checkout .sn-co-table thead th {
  padding: 9px 12px;
  border-top: 1px solid #ededed;
  font-weight: 500;
  color: #000;
}

.sn-checkout .sn-co-table th:first-child,
.sn-checkout .sn-co-table td:first-child {
  width: 69.5%;
}

.sn-checkout .sn-co-table tfoot th {
  padding: 9px 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  font-weight: 500;
  color: #000;
}

.sn-checkout .sn-co-table tfoot td {
  font-weight: 500;
}

.sn-checkout .sn-co-table .sn-co-qty {
  font-weight: 700;
}

/* ---- Form: two columns (Billing / Additional), groups under Billing -- */

.sn-checkout .sn-checkout__form {
  font-family: "Rubik", sans-serif;
}

.sn-checkout .sn-checkout__form .forminator-custom-form > .forminator-row:not(.forminator-row-last) {
  column-gap: 30px !important;
  row-gap: 0 !important;
  margin: 0 !important;
}

.sn-checkout .sn-checkout__form .forminator-custom-form > .forminator-row > .forminator-col {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.sn-checkout .sn-checkout__form #name-1 > .forminator-row > .forminator-col {
  margin: 0 !important;
}

.sn-checkout .sn-checkout__form #select-status,
.sn-checkout .sn-checkout__form #checkbox-device,
.sn-checkout .sn-checkout__form #html-device-note,
.sn-checkout .sn-checkout__form #checkbox-channels,
.sn-checkout .sn-checkout__form #html-adult-disclaimer {
  grid-column: 1 !important;
}

/* Field rhythm: label 32px + control + 10px padding + 6px margin. */
.sn-checkout .sn-checkout__form #name-1 .forminator-field,
.sn-checkout .sn-checkout__form #select-province,
.sn-checkout .sn-checkout__form #phone-1,
.sn-checkout .sn-checkout__form #email-1,
.sn-checkout .sn-checkout__form #textarea-notes {
  margin: 0 0 6px !important;
  padding: 0 0 10px !important;
}

.sn-checkout .sn-checkout__form #name-1 > .forminator-row {
  justify-content: space-between;
}

.sn-checkout .sn-checkout__form #name-1 > .forminator-row > .forminator-col {
  flex: 0 0 47% !important;
  width: 47% !important;
  padding: 0 !important;
}

.sn-checkout .sn-checkout__form .forminator-label {
  display: block;
  margin: 0 !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  color: #616670 !important;
}

.sn-checkout .sn-checkout__form .forminator-required {
  margin-left: 0;
  font-weight: 700;
  color: #a00 !important;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-required,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-required,
.sn-checkout .sn-checkout__form #select-status .forminator-required {
  color: #ef4824 !important;
}

.sn-checkout .sn-checkout__form .forminator-input,
.sn-checkout .sn-checkout__form .forminator-textarea {
  height: 37px;
  min-height: 0 !important;
  padding: 8px !important;
  border: 1px solid rgba(32, 7, 7, 0.8) !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  line-height: normal !important;
  color: #000 !important;
}

.sn-checkout .sn-checkout__form .forminator-input:focus,
.sn-checkout .sn-checkout__form .forminator-textarea:focus {
  border-color: rgba(32, 7, 7, 0.8) !important;
  box-shadow: none !important;
  outline: 1px solid #3273f0;
}

.sn-checkout .sn-checkout__form #phone-1 .forminator-input {
  width: 282px;
  max-width: 100%;
}

/* International phone (flag + dial code). The picker sets the input's left padding to the
   width of the flag/dial-code button; page-checkout.php pins that value so the generic
   input padding above cannot cover it. */
.sn-checkout .sn-checkout__form #phone-1 .iti {
  display: block;
  width: 282px;
  max-width: 100%;
}

.sn-checkout .sn-checkout__form #phone-1 .iti .forminator-input {
  width: 100% !important;
  padding-top: 8px !important;
  padding-right: 6px !important;
  padding-bottom: 8px !important;
}

.sn-checkout .sn-checkout__form #phone-1 .iti__selected-dial-code {
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #000 !important;
}

.sn-checkout .sn-checkout__form #phone-1 .iti__dropdown-content {
  z-index: 30;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  color: #1d1d1d;
}

/* Thin rule under Canada / US / Mexico, moved to the top of the country list by the script
   at the bottom of page-checkout.php, separating them from the alphabetical list below. */
.sn-checkout .sn-checkout__form #phone-1 .sn-phone-divider {
  height: 0;
  margin: 4px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e5e5e5;
}

/* Additional information: heading then the notes box only (label kept for screen readers). */
.sn-checkout .sn-checkout__form #textarea-notes .forminator-label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sn-checkout .sn-checkout__form #textarea-notes .forminator-textarea {
  height: 140px !important;
  min-height: 140px !important;
  padding: 18px 30px !important;
  resize: vertical;
}

.sn-checkout .sn-checkout__form .forminator-description {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 23.4px !important;
  color: #6b7280 !important;
}

/* Select2 (Province, Starting fresh…) */
.sn-checkout .sn-checkout__form #select-province .select2-selection {
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 0 -4px !important;
  padding: 0 14px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sn-checkout .sn-checkout__form #select-province .select2-selection__rendered {
  padding: 0 28px 0 0 !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 14px !important;
  line-height: 46px !important;
  color: #1d1d1d !important;
}

.sn-checkout .sn-checkout__form #select-province .select2-selection__arrow {
  height: 46px !important;
  right: 12px !important;
}

/* ---- Bordered option groups ------------------------------------------ */

.sn-checkout .sn-checkout__form #select-status {
  margin: 12px 0 20px !important;
  padding: 20px !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.sn-checkout .sn-checkout__form #select-status .forminator-label {
  margin: 0 0 15px !important;
}

.sn-checkout .sn-checkout__form #select-status .select2-selection {
  height: 46px !important;
  min-height: 46px !important;
  padding: 12px 14px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sn-checkout .sn-checkout__form #select-status .select2-selection:has(.select2-selection__placeholder) {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 2px #f59e0b !important;
}

.sn-checkout .sn-checkout__form #select-status .select2-selection__rendered {
  padding: 0 24px 0 0 !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 15px !important;
  line-height: 19.5px !important;
  color: #1d1d1d !important;
}

.sn-checkout .sn-checkout__form #select-status .select2-selection__placeholder {
  color: #1d1d1d !important;
}

.sn-checkout .sn-checkout__form #select-status .select2-selection__arrow {
  height: 44px !important;
}

.sn-checkout .sn-checkout__form #checkbox-device,
.sn-checkout .sn-checkout__form #checkbox-channels {
  margin: 0 0 18px !important;
  padding: 14px 16px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background: #fff !important;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-field,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-field {
  display: block !important;
}

.sn-checkout .sn-checkout__form .forminator-checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  min-height: 0;
  margin: 6px 10px 6px 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background: #fff !important;
  vertical-align: top;
}

.sn-checkout .sn-checkout__form .forminator-checkbox:hover {
  border-color: #d1d5db !important;
}

.sn-checkout .sn-checkout__form .forminator-checkbox-box,
.sn-checkout .sn-checkout__form .forminator-ui .forminator-checkbox .forminator-checkbox-box {
  flex: 0 0 13px !important;
  width: 13px !important;
  min-width: 13px !important;
  height: 13px !important;
  margin: 0 !important;
  border: 1px solid #767676 !important;
  border-radius: 2.5px !important;
  background: #fff !important;
}

.sn-checkout .sn-checkout__form .forminator-checkbox-box::after {
  left: 3.5px;
  top: 0.5px;
  width: 3.5px;
  height: 7.5px;
  border-width: 0 1.75px 1.75px 0;
}

.sn-checkout .sn-checkout__form .forminator-checkbox:has(input:checked),
.sn-checkout .sn-checkout__form .forminator-checkbox.is-checked {
  border-color: #d1d5db !important;
  background: #fff !important;
}

.sn-checkout .sn-checkout__form .forminator-checkbox:has(input:checked) .forminator-checkbox-box,
.sn-checkout .sn-checkout__form .forminator-checkbox.is-checked .forminator-checkbox-box {
  border-color: #0075ff !important;
  background: #0075ff !important;
}

.sn-checkout .sn-checkout__form .forminator-checkbox-label {
  margin: 0 0 0 5px !important;
  padding: 0 !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 19.2px !important;
  color: #1d1d1d !important;
}

.sn-checkout .sn-checkout__form .naiptv-checkout-note {
  margin: 10px 0 0 !important;
  font-size: 14px !important;
  line-height: 25.2px !important;
  color: #e2401c !important;
}

.sn-checkout .sn-checkout__form .naiptv-checkout-note strong {
  font-weight: 700;
  color: #e2401c;
}

.sn-checkout .sn-checkout__form #html-adult-disclaimer {
  margin: 0 !important;
  padding: 12px 15px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 6px !important;
  background: #f9f9f9 !important;
}

.sn-checkout .sn-checkout__form .naiptv-checkout-disclaimer {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 22.5px !important;
  color: #333 !important;
}

/* ---- Payment panel (compact, centered — no full-width grey band) ------- */

.sn-checkout .sn-checkout__form #radio-payment,
.sn-checkout .sn-checkout__form #paypal-1,
.sn-checkout .sn-checkout__form #html-interac-instructions,
.sn-checkout .sn-checkout__form #html-crypto-instructions {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border: 0;
}

.sn-checkout .sn-checkout__form #radio-payment {
  margin-top: 28px !important;
  padding-top: 20px !important;
  border-top: 1px solid #eee;
}

.sn-checkout .sn-checkout__form #html-interac-instructions,
.sn-checkout .sn-checkout__form #html-crypto-instructions {
  margin-top: 20px !important;
}

.sn-checkout .sn-checkout__form #radio-payment > .forminator-field > .forminator-label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sn-checkout .sn-checkout__form #radio-payment .forminator-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.sn-checkout .sn-checkout__form .forminator-radio {
  flex: 0 0 auto !important;
  width: auto !important;
  gap: 13px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  line-height: 32px;
}

.sn-checkout .sn-checkout__form .forminator-radio:has(input:checked),
.sn-checkout .sn-checkout__form .forminator-radio.is-checked {
  background: transparent !important;
}

.sn-checkout .sn-checkout__form .forminator-radio-bullet {
  width: 16px !important;
  height: 16px !important;
  border: 1px solid #767676 !important;
}

.sn-checkout .sn-checkout__form .forminator-radio:has(input:checked) .forminator-radio-bullet,
.sn-checkout .sn-checkout__form .forminator-radio.is-checked .forminator-radio-bullet {
  border-color: #0075ff !important;
}

.sn-checkout .sn-checkout__form .forminator-radio-bullet::after {
  inset: 3px;
  background: #0075ff;
}

.sn-checkout .sn-checkout__form .forminator-radio-label {
  font-family: "Rubik", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: rgba(0, 0, 0, 0.87) !important;
}

/* Instructions render like WooCommerce's payment_box, with its pointer. */
.sn-checkout .sn-checkout__form .naiptv-payment-instructions {
  position: relative;
  margin: 14.72px 0 !important;
  padding: 14.72px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: #dcd7e2 !important;
  font-size: 14.72px;
  line-height: 22.08px;
  color: #515151;
}

.sn-checkout .sn-checkout__form .naiptv-payment-instructions::before {
  content: "";
  position: absolute;
  top: -11.04px;
  left: 0;
  margin: -14.72px 0 0 29.44px;
  border: 14px solid transparent;
  border-bottom-color: #dcd7e2;
}

.sn-checkout .sn-checkout__form .naiptv-payment-instructions h4 {
  margin: 0 0 6px !important;
  font-family: "Rubik", sans-serif !important;
  font-size: 14.72px !important;
  font-weight: 600 !important;
  color: #515151 !important;
}

.sn-checkout .sn-checkout__form .naiptv-payment-instructions p {
  margin: 0 0 6px !important;
  font-size: 14.72px !important;
  line-height: 22.08px !important;
  color: #515151 !important;
}

.sn-checkout .sn-checkout__form .forminator-row-last {
  margin: 0 !important;
  padding: 0 20px !important;
  background: #f7f8fa;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

.sn-checkout .sn-checkout__form .forminator-paypal-row .forminator-col,
.sn-checkout .sn-checkout__form .forminator-row-last .forminator-col {
  padding: 0 !important;
}

.sn-checkout .sn-checkout__form .forminator-row-last {
  margin-top: 0 !important;
  padding: 20px !important;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* Real PayPal buttons (rendered by the PayPal SDK, untouched functionally): left-aligned,
   capped to a compact width, with breathing room under the payment cards above. The
   row's own column defaults to one half of the two-column form grid (like any other
   field row), so it needs the same full-span override as #radio-payment before its
   width is meaningful. */
/* Selector matches the specificity of the generic .forminator-row reset (line ~132)
   so this margin actually wins instead of being silently overridden by it. */
.sn-checkout .sn-checkout__form .forminator-custom-form > .forminator-row.forminator-paypal-row {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  background: transparent;
  border: 0;
}

.sn-checkout .sn-checkout__form .forminator-paypal-row .forminator-col {
  grid-column: 1 / -1 !important;
}

.sn-checkout .sn-checkout__form .forminator-paypal-row .forminator-button-paypal {
  max-width: 520px;
  margin: 0 !important;
}

.sn-checkout .sn-checkout__form .forminator-button-submit {
  width: auto !important;
  height: 60px;
  margin: 10px 0 16px !important;
  padding: 0 32px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: #3273f0 !important;
  box-shadow: none !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 60px !important;
  letter-spacing: 1.28px !important;
  text-transform: uppercase;
  color: #fff !important;
}

.sn-checkout .sn-checkout__form .forminator-button-submit:hover {
  background: #1f5fdb !important;
}

/* ---- Tablet / mobile ---------------------------------------------------- */

@media (max-width: 991px) {
  .sn-checkout {
    padding: 70px 0 !important;
  }
}

@media (max-width: 780px) {
  /* Forminator adds 20px under every column on small screens; keep the reference rhythm. */
  .sn-checkout .sn-checkout__form #html-billing-heading,
  .sn-checkout .sn-checkout__form #html-additional-heading,
  .sn-checkout .sn-checkout__form #name-1 {
    margin-bottom: 0 !important;
  }

  .sn-checkout .sn-checkout__form #html-additional-heading {
    margin-top: 18px !important;
  }

  .sn-checkout .sn-checkout__form #radio-payment {
    margin-top: 20px !important;
  }
}

@media (max-width: 600px) {
  .sn-checkout {
    padding: 50px 0 !important;
  }

  .sn-checkout .sn-co-table th,
  .sn-checkout .sn-co-table td {
    padding: 14px 10px;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .sn-checkout .sn-co-table th:first-child,
  .sn-checkout .sn-co-table td:first-child {
    width: 62%;
  }

  .sn-checkout .sn-checkout__form #name-1 > .forminator-row > .forminator-col {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .sn-checkout .sn-checkout__form #select-status {
    padding: 16px !important;
  }

  .sn-checkout .sn-checkout__form #checkbox-device,
  .sn-checkout .sn-checkout__form #checkbox-channels,
  .sn-checkout .sn-checkout__form #html-adult-disclaimer {
    padding: 12px 14px !important;
  }
}

/* =========================================================================
 * Option cards: Device, Channel Packages, Payment Method (reference design)
 * Presentation only. The real Forminator inputs stay in place (visually
 * hidden but focusable); each <label> wraps its input, so the whole card is
 * clickable and submits exactly the same field names and values as before.
 * Selected styling follows the real :checked state (plus theme.js's
 * .is-checked fallback class).
 * ========================================================================= */

.sn-checkout .sn-checkout__form #checkbox-device,
.sn-checkout .sn-checkout__form #checkbox-channels {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.sn-checkout .sn-checkout__form #checkbox-device > .forminator-field,
.sn-checkout .sn-checkout__form #checkbox-channels > .forminator-field {
  display: grid !important;
  gap: 10px;
}

.sn-checkout .sn-checkout__form #checkbox-device > .forminator-field {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sn-checkout .sn-checkout__form #checkbox-channels > .forminator-field {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sn-checkout .sn-checkout__form #checkbox-device > .forminator-field > :not(label),
.sn-checkout .sn-checkout__form #checkbox-channels > .forminator-field > :not(label) {
  grid-column: 1 / -1;
}

.sn-checkout .sn-checkout__form #checkbox-device > .forminator-field > .forminator-label,
.sn-checkout .sn-checkout__form #checkbox-channels > .forminator-field > .forminator-label {
  margin: 0 0 2px !important;
}

/* ---- Shared card ---- */

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  border: 1px solid #e0e5ec !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  align-self: stretch !important;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox {
  min-height: 52px;
  padding: 9px 12px !important;
}

.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox {
  min-height: 66px;
  padding: 12px 16px !important;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:hover,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:hover,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio:hover {
  border-color: #c7d2e1 !important;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input:checked),
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox.is-checked,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input:checked),
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox.is-checked,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio:has(input:checked),
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio.is-checked {
  border-color: #2563eb !important;
  background: #f5f9ff !important;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input:focus-visible),
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input:focus-visible),
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio:has(input:focus-visible) {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* ---- Checkbox / radio indicators ---- */

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox-box,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox-box,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio-bullet {
  position: relative !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border: 1.5px solid #a3adbb !important;
  border-radius: 4px !important;
  background: #fff !important;
}

.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox-box,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio-bullet {
  border-radius: 50% !important;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox-box::before,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox-box::before,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio-bullet::before {
  display: none !important;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox-box::after,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox-box::after {
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  left: 5.5px !important;
  top: 2px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid #fff !important;
  border-width: 0 2px 2px 0 !important;
  background: none !important;
  transform: rotate(45deg);
  opacity: 0;
}

.sn-checkout .sn-checkout__form #radio-payment .forminator-radio-bullet::after {
  content: "" !important;
  position: absolute !important;
  inset: 4px !important;
  border-radius: 50%;
  background: #fff !important;
  opacity: 0;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input:checked) .forminator-checkbox-box,
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox.is-checked .forminator-checkbox-box,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input:checked) .forminator-checkbox-box,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox.is-checked .forminator-checkbox-box,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio:has(input:checked) .forminator-radio-bullet,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio.is-checked .forminator-radio-bullet {
  border-color: #2563eb !important;
  background: #2563eb !important;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input:checked) .forminator-checkbox-box::after,
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox.is-checked .forminator-checkbox-box::after,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input:checked) .forminator-checkbox-box::after,
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox.is-checked .forminator-checkbox-box::after,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio:has(input:checked) .forminator-radio-bullet::after,
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio.is-checked .forminator-radio-bullet::after {
  opacity: 1;
}

/* ---- Device cards: [checkbox] [icon] [name] ---- */

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: #1f2937 !important;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox-label::before {
  content: "";
  flex: 0 0 28px;
  width: 28px;
  height: 24px;
  background: center / contain no-repeat;
}

.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="fire-tv"]) .forminator-checkbox-label::before { background-image: url("../images/devices/amazon.webp"); }
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="android-tv-box"]) .forminator-checkbox-label::before,
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="android-phone"]) .forminator-checkbox-label::before { background-image: url("../images/devices/android.webp"); }
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="formuler-dreamlink"]) .forminator-checkbox-label::before { flex-basis: 38px; width: 38px; background-image: url("../images/devices/formuler.webp"); }
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="smart-tv"]) .forminator-checkbox-label::before { background-image: url("../images/devices/smart-tv.webp"); }
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="roku"]) .forminator-checkbox-label::before { flex-basis: 42px; width: 42px; background-image: url("../images/devices/roku.webp"); }
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="apple-ios"]) .forminator-checkbox-label::before { background-image: url("../images/devices/apple.webp"); }
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="windows-mac"]) .forminator-checkbox-label::before { background-image: url("../images/devices/windows.webp"); }
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="buzztv"]) .forminator-checkbox-label::before { background-image: url("../images/devices/buzztv.webp"); }
.sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="other"]) .forminator-checkbox-label::before { background-image: url("../images/devices/other.webp"); }

.sn-checkout .sn-checkout__form #checkbox-device .naiptv-checkout-note {
  margin: 10px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* ---- Channel cards: [indicator] [icon] title / description ---- */

.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox-label {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #111827 !important;
}

.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox-label::before {
  content: "";
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  background: center / 26px 26px no-repeat;
}

.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox-label::after {
  grid-column: 2;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: #6b7280;
}

.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input[value="all"]) .forminator-checkbox-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m17 2-5 5-5-5'/%3E%3Crect width='20' height='15' x='2' y='7' rx='2'/%3E%3C/svg%3E");
}

.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input[value="english-french"]) .forminator-checkbox-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
}

.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input[value="all"]) .forminator-checkbox-label::after { content: "Full access to all channels"; }
.sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input[value="english-french"]) .forminator-checkbox-label::after { content: "Selected English & French channels"; }
html:lang(fr) .sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input[value="all"]) .forminator-checkbox-label::after { content: "Accès complet à toutes les chaînes"; }
html:lang(fr) .sn-checkout .sn-checkout__form #checkbox-channels .forminator-checkbox:has(input[value="english-french"]) .forminator-checkbox-label::after { content: "Chaînes anglaises et françaises sélectionnées"; }

/* ---- Adult-content notice ---- */

.sn-checkout .sn-checkout__form #html-adult-disclaimer {
  margin: 12px 0 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #e3e9f2 !important;
  border-radius: 6px !important;
  background: #f5f8fc !important;
}

.sn-checkout .sn-checkout__form #html-adult-disclaimer .naiptv-checkout-disclaimer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #374151 !important;
}

.sn-checkout .sn-checkout__form #html-adult-disclaimer .naiptv-checkout-disclaimer::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

/* ---- Payment cards: [radio] [logo] (the label text stays for screen readers) ---- */

.sn-checkout .sn-checkout__form #radio-payment .forminator-field {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px !important;
  max-width: 800px;
  margin: 0 !important;
}

.sn-checkout .sn-checkout__form #radio-payment .forminator-field > :not(label) {
  grid-column: 1 / -1;
}

.sn-checkout .sn-checkout__form #radio-payment .forminator-radio {
  min-height: 60px;
  padding: 10px 14px !important;
  line-height: normal;
}

.sn-checkout .sn-checkout__form #radio-payment .forminator-radio-label {
  flex: 1 1 auto;
  max-width: 140px;
  min-width: 0;
  height: 30px;
  margin: 0 !important;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 110%;
  background: center / contain no-repeat;
}

.sn-checkout .sn-checkout__form #radio-payment .forminator-radio:has(input[value="paypal"]) .forminator-radio-label { height: 28px; background-image: url("../images/payments/paypal.webp"); }
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio:has(input[value="interac"]) .forminator-radio-label { height: 32px; background-image: url("../images/payments/interac-etransfer.webp"); }
.sn-checkout .sn-checkout__form #radio-payment .forminator-radio:has(input[value="crypto"]) .forminator-radio-label { height: 24px; background-image: url("../images/payments/nowpayments.webp"); }

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .sn-checkout .sn-checkout__form #radio-payment .forminator-field {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }

  .sn-checkout .sn-checkout__form #radio-payment .forminator-radio-label {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .sn-checkout .sn-checkout__form #checkbox-device,
  .sn-checkout .sn-checkout__form #checkbox-channels {
    padding: 0 !important;
  }

  .sn-checkout .sn-checkout__form #checkbox-device > .forminator-field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox {
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  .sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox-label {
    gap: 8px;
    font-size: 13px !important;
  }

  .sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox-label::before {
    flex-basis: 22px;
    width: 22px;
    height: 20px;
  }

  .sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="roku"]) .forminator-checkbox-label::before,
  .sn-checkout .sn-checkout__form #checkbox-device .forminator-checkbox:has(input[value="formuler-dreamlink"]) .forminator-checkbox-label::before {
    flex-basis: 32px;
    width: 32px;
  }

  .sn-checkout .sn-checkout__form #checkbox-channels > .forminator-field {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 359px) {
  .sn-checkout .sn-checkout__form #checkbox-device > .forminator-field {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Payment section heading (rendered by page-checkout.php) ---- */

.sn-checkout .sn-checkout__form .sn-co-pay-heading {
  margin: 0 0 16px;
}

.sn-checkout .sn-checkout__form .sn-co-pay-heading .naiptv-checkout-col-heading {
  margin: 0 0 4px !important;
  text-transform: none;
}

.sn-checkout .sn-checkout__form .sn-co-pay-heading p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #616670;
}
