html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* The migrated Razor layout does not use the legacy Pace lifecycle reliably. */
#preloader,
.pace {
  display: none !important;
}

.nofos-error-page {
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
}

.nofos-error-card {
  max-width: 760px;
  text-align: center;
}

.nofos-error-eyebrow {
  color: #618b35;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.nofos-error-card h1 {
  color: #1f2b16;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.nofos-error-card p {
  color: #4a4a4a;
  font-size: 1.1rem;
  line-height: 1.7;
}

.nofos-error-bug {
  display: block;
  height: auto;
  margin: 2rem auto;
  max-width: min(400px, 100%);
}

.nofos-error-actions a {
  color: #618b35;
  font-weight: 700;
}

body.bestil-body {
  background: #fbf8ec !important;
  margin-bottom: 0;
}

body.bestil-body .main-wrapper {
  padding-top: 132px;
  padding-bottom: 72px;
}

body.bestil-body .inner-page.margin-default {
  margin-top: 0;
  margin-bottom: 0;
}

body.bestil-body .entry-content {
  background: #ffffff;
  border: 1px solid #dfe8df;
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(23, 37, 27, 0.1);
  padding: clamp(22px, 4vw, 44px);
}

body.bestil-body #order_review_heading {
  color: #101813 !important;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 28px;
}

body.bestil-body .woocommerce form {
  width: 100%;
  min-width: 0;
  padding: 0;
  box-shadow: none;
}

body.bestil-body .woocommerce .col2-set .col-1 {
  float: none;
  width: 100%;
}

body.bestil-body .bestil-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
  gap: 24px;
}

body.bestil-body .bestil-sidebar {
  align-self: start;
  position: sticky;
  top: 108px;
}

body.bestil-body #SubmitButton {
  background: #76bd22;
  border: 0;
  box-shadow: 0 16px 35px rgba(74, 128, 20, 0.26);
  color: #ffffff;
  cursor: pointer;
  display: block;
  font-size: 16px;
  padding: 12px 16px;
  transition: transform 180ms ease, filter 180ms ease;
}

body.bestil-body #SubmitButton:hover {
  filter: contrast(108%);
  transform: translateY(-1px);
}

@media only screen and (max-width: 1024px) {
  body.bestil-body .main-wrapper {
    padding-top: 108px;
  }

  body.bestil-body .bestil-layout {
    grid-template-columns: 1fr;
  }

  body.bestil-body .bestil-sidebar {
    position: static;
  }
}

@media only screen and (max-width: 767px) {
  body.bestil-body .main-wrapper {
    padding-top: 88px;
    padding-bottom: 110px;
  }

  body.bestil-body .entry-content {
    border-radius: 20px;
    padding: 18px;
  }

}
