/* Produkt-CTA: design selv, eller skriv bynavnet i feltet nedenfor. */

body.single-product .cl-bykort-design-cta {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  margin: 0.85rem 0 1.05rem;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid #2c1d17;
  border-left-width: 4px;
  border-radius: 0;
  background: #f4efe8;
  color: #171412;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  box-shadow: none;
}

body.single-product .cl-bykort-design-cta__title {
  display: block;
  margin: 0;
  color: #171412;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

body.single-product a.cl-bykort-design-cta__go {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0;
  background: #2c1d17;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

body.single-product a.cl-bykort-design-cta__go::after {
  content: "→";
  margin-left: 0.45rem;
  font-weight: 500;
}

body.single-product a.cl-bykort-design-cta__go:hover,
body.single-product a.cl-bykort-design-cta__go:active {
  background: #1a110e;
  color: #fff;
  text-decoration: none;
}

body.single-product a.cl-bykort-design-cta__go:focus {
  outline: 0;
  background: #1a110e;
  color: #fff;
  text-decoration: none;
}

body.single-product a.cl-bykort-design-cta__go:focus-visible {
  outline: 2px solid #2c1d17;
  outline-offset: 3px;
}

body.single-product .pewc-item:has(.cl-bykort-design-cta) .pewc-information-fields {
  display: none;
}

@media (max-width: 767px) {
  body.single-product .cl-bykort-design-cta {
    gap: 0.8rem;
    padding: 1rem 1rem 1rem 1.05rem;
  }

  body.single-product .cl-bykort-design-cta__title {
    font-size: 1.08rem;
  }
}
