html.checkout-focused,
html.checkout-focused body,
html.checkout-focused #main-content {
  background: #f4f6f8;
}

html.checkout-focused header nav#top .col-auto.mx-auto,
html.checkout-focused header nav#top .ml-auto,
html.checkout-focused header > .container .order-lg-6,
html.checkout-focused header > .container .order-lg-3,
html.checkout-focused header > .container .order-lg-4,
html.checkout-focused header > .container .order-lg-5,
html.checkout-focused header > .container .order-lg-7,
html.checkout-focused header #rightWidget,
html.checkout-focused header .d-lg-none,
html.checkout-focused footer.co-footer-slim > *:not(.modal),
html.checkout-focused footer > .container,
html.checkout-focused footer > center,
html.checkout-focused footer .social-links,
html.checkout-focused footer .footer-bottom,
html.checkout-focused #footer-fixed-buttons,
html.checkout-focused #simple-checkout .breadcrumb {
  display: none !important;
}

html.checkout-focused footer {
  background: transparent !important;
  padding: 0 !important;
  min-height: 0 !important;
}

html.checkout-focused header nav#top {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

html.checkout-focused header #logo {
  margin: 0.75rem 0 !important;
}

html.checkout-focused .header-mobile-brand {
  display: none !important;
}

html.checkout-focused .header-sticky-main > .col-aside.order-lg-1,
html.checkout-focused .header-sticky-main > .col-aside.order-lg-1 > .row {
  display: block !important;
  flex: 1 1 auto;
}

html.checkout-focused .header-sticky-main #logo {
  display: block !important;
}

html.checkout-focused header > .container {
  padding-bottom: 0.25rem;
}

@media (min-width: 992px) {
  html.checkout-focused header nav#top > .container,
  html.checkout-focused header > .container {
    max-width: 1120px;
  }

  html.checkout-focused header nav#top > .container > .row {
    justify-content: space-between;
  }

  html.checkout-focused header nav#top .col-auto.ml-2 {
    margin-left: 0 !important;
  }

  html.checkout-focused header > .container > .row {
    justify-content: center;
  }

  html.checkout-focused .header-sticky-main > .col-aside.order-lg-1,
  html.checkout-focused .header-sticky-main > .col-aside.order-lg-1 > .row {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  html.checkout-focused header #logo {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 991.98px) {
  html.checkout-focused header,
  html.checkout-focused header > .container {
    display: block;
  }

  html.checkout-focused header > .container > .row {
    display: flex;
  }

  html.checkout-focused .header-sticky-top,
  html.checkout-focused .header-sticky-main {
    position: static !important;
    top: auto !important;
    box-shadow: none !important;
  }

  html.checkout-focused .header-sticky-main {
    display: block;
    width: 100%;
    padding: 0;
  }
}

html.checkout-focused #simple-checkout.container {
  max-width: 1120px;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

html.checkout-focused #simple-checkout > .row > #content {
  margin-bottom: 0 !important;
}

.co-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.co-page-title h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
}

.co-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: #5b6472;
  font-size: 0.875rem;
  white-space: nowrap;
}

.co-secure svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

html.checkout-focused .simplecheckout .card,
html.checkout-focused .simplecheckout .co-card {
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  background: #fff;
}

html.checkout-focused .simplecheckout .card-header,
html.checkout-focused .simplecheckout .co-card .card-header {
  background: transparent;
  border-bottom: 1px solid #eef0f4;
  padding: 0.9rem 1.15rem;
}

html.checkout-focused .simplecheckout .card-header .h5,
html.checkout-focused .simplecheckout .co-card .card-header .h5 {
  font-size: 1.05rem;
  font-weight: 650;
}

html.checkout-focused .simplecheckout .card-header .ft-icon-24 {
  color: #6b7280;
}

html.checkout-focused .simplecheckout .form-control,
html.checkout-focused .simplecheckout .custom-select {
  min-height: 46px;
  border-radius: 10px;
  border-color: #d9dee7;
}

html.checkout-focused .simplecheckout .form-control:focus,
html.checkout-focused .simplecheckout .custom-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.15);
}

html.checkout-focused .simplecheckout .control-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3d4553;
  margin-bottom: 0.35rem;
}

.co-method {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 0.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.co-method:last-child {
  margin-bottom: 0;
}

.co-method .form-check-input {
  position: static !important;
  left: auto !important;
  float: none !important;
  margin-top: 0.3rem;
  margin-left: 0 !important;
  flex-shrink: 0;
}

.co-method .form-check-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex: 1 1 auto;
  width: 100%;
  margin: 0 !important;
  line-height: 1.35;
  cursor: pointer;
}

.co-method__icon {
  display: block;
  width: auto;
  height: 24px;
  max-width: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.co-method__copy {
  display: inline-flex;
  align-items: baseline;
  flex: 1 1 auto;
  min-width: 0;
  gap: 2em;
  white-space: nowrap;
}

.co-method__title {
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 600;
}

.co-method__note {
  flex: 0 0 auto;
  margin: 0;
  color: #6b7280;
  font-size: 0.8125rem;
  font-style: italic;
  font-weight: 400;
}

.co-pay-icons {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  gap: 0.25rem;
}

.co-pay-icons img {
  display: block;
  height: 24px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  border-radius: 3px;
}

.co-pay-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 0.45rem;
  border-radius: 3px;
  border: 1px solid #e6e8ee;
  background: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.co-pay-badge--paypal {
  color: #003087;
  border-color: #c5d4ef;
}

.co-pay-badge--swish {
  color: #5b8c00;
  border-color: #d6e8a3;
}

.co-pay-badge--vipps {
  color: #ff5b24;
  border-color: #ffd2c2;
}

.co-method:has(input:checked) {
  border-color: var(--primary);
  background: rgba(0, 123, 255, 0.04);
  box-shadow: 0 0 0 1px var(--primary);
}

html.checkout-focused .simplecheckout-warning-text {
  display: block !important;
  margin: 0.15rem 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5b6472;
}

#simplecheckout_shipping .card,
#simplecheckout_shipping .card-body,
#simplecheckout_shipping .simplecheckout-block-content {
  overflow: visible;
}

#simplecheckout_shipping .co-method .itella-shipping-container,
#simplecheckout_shipping .co-method > div:not(.form-check-label) {
  flex: 1 1 100%;
  width: 100%;
  margin-top: 0.65rem;
}

#simplecheckout_shipping .itella-shipping-container {
  align-items: stretch;
}

#simplecheckout_shipping .itella-select,
#simplecheckout_shipping .itella-select .dropdown-inner {
  z-index: 30;
}

#simplecheckout_shipping .co-method:has(input[value^="itellashipping.pickup_"]) {
  display: none !important;
}

#simplecheckout_shipping.unactive:after,
#simplecheckout_shipping .simplecheckout_overlay {
  pointer-events: none;
}

html.checkout-focused .simplecheckout-right-column .simplecheckout-cart,
html.checkout-focused .simplecheckout-three-column:last-child .simplecheckout-cart {
  display: block;
}

html.checkout-focused .simplecheckout-right-column .simplecheckout-cart > [class*="col"],
html.checkout-focused .simplecheckout-three-column:last-child .simplecheckout-cart > [class*="col"] {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

html.checkout-focused .simplecheckout-right-column .simplecheckout-cart .v-border,
html.checkout-focused .simplecheckout-three-column:last-child .simplecheckout-cart .v-border {
  display: none !important;
}

html.checkout-focused .simplecheckout-right-column .simplecheckout-cart .h-border,
html.checkout-focused .simplecheckout-three-column:last-child .simplecheckout-cart .h-border {
  display: block !important;
}

html.checkout-focused .simplecheckout-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  text-align: left !important;
  margin-top: 0.35rem;
}

html.checkout-focused .simplecheckout-cart-total .h4 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700 !important;
}

html.checkout-focused .simplecheckout-button-block {
  width: 100%;
  margin: 0 !important;
}

html.checkout-focused .simplecheckout-button-block .row,
html.checkout-focused .simplecheckout-button-block [class*="col"] {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  margin: 0;
}

html.checkout-focused #simplecheckout_button_confirm,
html.checkout-focused #simplecheckout_button_next {
  display: block;
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  padding: 0.75rem 1rem;
}

html.checkout-focused #agreement_block {
  margin-top: 0.35rem;
}

html.checkout-focused #agreement_checkbox {
  margin: 0.35rem 0 0.85rem !important;
  padding: 0;
}

.co-checkout-dock {
  display: block;
}

.co-age-check {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 2px solid #d7dbe3;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
}

.co-age-check:hover {
  border-color: #b7bec9;
}

.co-age-check:has(.co-age-check__input:checked) {
  border-color: #16a34a;
  background: #f3fdf6;
}

.co-age-check.co-age-check--error {
  border-color: #dc3545;
  background: #fff5f5;
}

.co-age-check__badge {
  order: 1;
  flex: 0 0 56px;
}

.co-age-check__badge img {
  display: block;
  width: 56px;
  height: 56px;
}

.co-age-check__text {
  order: 2;
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #1f2937;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.co-age-check__text a {
  font-weight: 700;
}

.co-age-check .form-check-input.co-age-check__input {
  order: 3;
  position: static !important;
  left: auto !important;
  top: auto !important;
  float: none !important;
  width: 1.4rem !important;
  height: 1.4rem !important;
  min-width: 1.4rem;
  margin: 0 0 0 auto !important;
  flex-shrink: 0;
  accent-color: #16a34a;
  cursor: pointer;
}

html.checkout-focused #agreement_warning {
  margin-bottom: 0.75rem;
}

html.checkout-focused #simplecheckout_button_confirm.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.co-empty {
  max-width: 420px;
  margin: 2.5rem auto 4rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.co-empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef2f6;
  color: #6b7280;
}

.co-empty__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.co-empty p {
  margin-bottom: 0.5rem;
}

.co-empty .co-empty__hint {
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.co-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e6e8ee;
  color: #6b7280;
  font-size: 0.8125rem;
}

.co-footer a {
  color: #4b5563;
}

@media (min-width: 992px) {
  html.checkout-focused .simplecheckout-step {
    align-items: flex-start;
  }

  html.checkout-focused .simplecheckout-right-column,
  html.checkout-focused .simplecheckout-three-column:last-child {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
  }

  html.checkout-focused #simplecheckout_cart {
    position: sticky;
    top: 1rem;
    z-index: 2;
  }

  html.checkout-focused #agreement_block {
    order: 9;
  }

  html.checkout-focused .simplecheckout-button-block {
    order: 10;
  }

  html.checkout-focused #simplecheckout_payment_form {
    order: 11;
  }
}

@media (max-width: 991.98px) {
  .co-page-title {
    flex-direction: column;
    align-items: flex-start;
  }

  html.checkout-focused .simplecheckout-right-column,
  html.checkout-focused .simplecheckout-left-column,
  html.checkout-focused .simplecheckout-three-column,
  html.checkout-focused #simplecheckout_cart,
  html.checkout-focused #agreement_block,
  html.checkout-focused #buttons,
  html.checkout-focused .co-checkout-dock {
    max-width: 100%;
    min-width: 0;
  }

  html.checkout-focused .co-checkout-dock {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin: 0 0 1.25rem;
    padding: 0.15rem 0 0.35rem;
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
  }

  html.checkout-focused #agreement_block,
  html.checkout-focused #buttons {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  html.checkout-focused #agreement_checkbox {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .co-age-check {
    align-items: flex-start;
    padding: 0.65rem 0.75rem;
    gap: 0.55rem;
  }

  .co-age-check__badge {
    flex: 0 0 36px;
  }

  .co-age-check__badge img {
    width: 36px;
    height: 36px;
  }

  .co-age-check__text {
    font-size: 0.8rem;
  }

  html.checkout-focused .simplecheckout-button-block {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html.checkout-focused .simplecheckout-button-block .row {
    margin-left: 0;
    margin-right: 0;
  }

  html.checkout-focused #simplecheckout_button_confirm,
  html.checkout-focused #simplecheckout_button_next {
    position: static !important;
    bottom: auto;
    z-index: auto;
    box-shadow: none;
    width: 100%;
  }

  .co-method__copy {
    white-space: normal;
    flex-wrap: wrap;
    row-gap: 0.15rem;
    column-gap: 2em;
  }
}
