/* BO Product Shipping Estimator – Frontend */

.bo-pse {
  /*width: 50%;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 12px 15px;
  margin-top: 16px;
  background: #fafafa;*/
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 10px;
  grid-row-gap: 0px;
}

.bo-pse-form {
  display: grid;
  grid-template-rows: 24px 1fr;
  grid-template-columns: 1fr 80px;
  grid-gap: 10px;
}

.bo-pse-icon {
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bo-pse-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bo-pse-form .bo-pse-title {
  grid-column: 1 / span 2;
  margin-bottom: 0;
}

.bo-pse label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.bo-pse input#bo-pse-postcode {
  width: 100%;
  margin-bottom: 0px;
  background: #fff;
  border-radius: 8px;
}

.bo-pse #bo-pse-btn {
  /*margin: 0px;
  border-radius: 8px;
  white-space: nowrap;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.2s ease-in-out;*/
}

.bo-pse #bo-pse-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.bo-pse .bo-msg {
  grid-column: 1 / span 2;
}

.bo-pse .bo-msg .bo-msg-result {
  margin-top: 0.75rem;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bo-pse .bo-msg .bo-msg-result .bo-msg-title {
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline;
}

.bo-pse .bo-msg .bo-msg-result .bo-msg-cost {
  margin: 0 auto;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Barlow Semi Condensed", sans-serif;
  display: block;
}

.bo-pse .bo-msg .bo-msg-note,
.bo-pse .bo-msg .bo-msg-loading {
  font-weight: 400;
  font-style: italic;
  font-size: 0.85rem;
  margin-bottom: 0px;
  /* color: #6b7280; */
}

.bo-pse .bo-msg .bo-msg-error {
  color: #b91c1c;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0px;
}

.bo-pse .bo-promo {
  margin-top: 0.5rem;
  font-weight: 400;
  color: #333;
  padding: 15px;
  background: #f8fdf8;
  border: 2px solid #cde8cd;
  border-radius: 5px;
  display: none;
  grid-column: 1 / span 2;
}

.bo-pse .bo-promo p {
  margin-bottom: 0;
}

.bo-pse .bo-promo.is-on {
  display: block;
}

/* Bruk Flatsome sine knappestiler, men litt tettere padding */
.bo-pse .button {
  line-height: 1;
  padding: 8px 14px;
  font-size: 0.9rem;
}

@media screen and (max-width: 48em) {
	.bo-pse {
		width: 100%;
	}
}