/* Match the production checkout CTA, including its desktop red hover.
 * Legacy SVG signatures cover existing deployed bundles and lazy auth modals.
 * AVTORITET artwork, validation fields and certificate selection controls are excluded.
 */
body button:is(
  [data-rectangular-outline], [data-checkout-style],
  .sc-454e34-1,
  :has(> svg > path[d^="M68.8605 1C"]),
  :has(> svg > path[d^="M158.313 1C"]),
  :has(> svg > path[d^="M52.5123 1C"]),
  :has(> svg > path[d^="M113.278 1C"])
):not([data-avtoritet-production-button]) {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100%;
  height: 81px !important;
  min-height: 81px;
  padding: 14px 20px !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #000 !important;
  font-family: 'Futura PT', sans-serif !important;
  font-weight: 300 !important;
  font-size: 22px !important;
  line-height: 28px !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s ease-out;
}
body button:is(
  [data-rectangular-outline], [data-checkout-style],
  .sc-454e34-1,
  :has(> svg > path[d^="M68.8605 1C"]),
  :has(> svg > path[d^="M158.313 1C"]),
  :has(> svg > path[d^="M52.5123 1C"]),
  :has(> svg > path[d^="M113.278 1C"])
):not([data-avtoritet-production-button]) > span {
  font: inherit !important;
  text-transform: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
}
body button:is(
  [data-rectangular-outline], [data-checkout-style],
  .sc-454e34-1,
  :has(> svg > path[d^="M68.8605 1C"]),
  :has(> svg > path[d^="M158.313 1C"]),
  :has(> svg > path[d^="M52.5123 1C"]),
  :has(> svg > path[d^="M113.278 1C"])
):not([data-avtoritet-production-button]) > svg { display: none !important; }
body button:is(
  [data-rectangular-outline], [data-checkout-style],
  .sc-454e34-1,
  :has(> svg > path[d^="M68.8605 1C"]),
  :has(> svg > path[d^="M158.313 1C"]),
  :has(> svg > path[d^="M52.5123 1C"]),
  :has(> svg > path[d^="M113.278 1C"])
):not([data-avtoritet-production-button]):focus-visible { outline: 1px solid #000; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
body button:is(
  [data-rectangular-outline], [data-checkout-style],
  .sc-454e34-1,
  :has(> svg > path[d^="M68.8605 1C"]),
  :has(> svg > path[d^="M158.313 1C"]),
  :has(> svg > path[d^="M52.5123 1C"]),
  :has(> svg > path[d^="M113.278 1C"])
):not([data-avtoritet-production-button]):hover:not(:disabled):not(.disabled) { border-color: #e2241d !important; }
}
@media (max-width: 1024px) {
body button:is(
  [data-rectangular-outline], [data-checkout-style],
  .sc-454e34-1,
  :has(> svg > path[d^="M68.8605 1C"]),
  :has(> svg > path[d^="M158.313 1C"]),
  :has(> svg > path[d^="M52.5123 1C"]),
  :has(> svg > path[d^="M113.278 1C"])
):not([data-avtoritet-production-button]) { height: 60px !important; min-height: 60px; font-size: 16px !important; line-height: 22px !important; }
}
@media (max-width: 752px) {
body button:is(
  [data-rectangular-outline], [data-checkout-style],
  .sc-454e34-1,
  :has(> svg > path[d^="M68.8605 1C"]),
  :has(> svg > path[d^="M158.313 1C"]),
  :has(> svg > path[d^="M52.5123 1C"]),
  :has(> svg > path[d^="M113.278 1C"])
):not([data-avtoritet-production-button]) { height: 46px !important; min-height: 46px; padding: 10px 12px !important; font-size: 14px !important; line-height: 20px !important; }
}
/* Old mobile PillButton/payment artwork: rectangular outline, unchanged sizing. */
body button:has(> .pill-outline), body button.sc-6dwop7-0 {
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #000 !important;
}
body button:has(> .pill-outline) > .pill-outline { display: none !important; }
body button.sc-1ykvonu-5 { border-radius: 0 !important; }
@media (hover: hover) and (pointer: fine) {
  body button:has(> .pill-outline):hover:not(:disabled), body button.sc-6dwop7-0:hover:not(:disabled) { border-color: #e2241d !important; }
}
body button:has(> .pill-outline):disabled {
  border-color: #9f9f9f !important;
  color: #9f9f9f !important;
}
