/* =========================
   CHECKOUT / WOOPAYMENTS
   ========================= */

iframe[name^="__privateStripeFrame"] {
  min-height: 60px !important;
  border-radius: 8px !important;
  padding: 12px !important;
  box-shadow: 0 0 0 1px #ccc;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input.input-text {
  font-size: 16px;
  padding: 12px 16px;
  height: auto;
  border-radius: 6px;
}

.woocommerce-checkout button.button {
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 10px;
}

@media only screen and (max-width: 768px) {
  iframe[name^="__privateStripeFrame"] {
    min-height: 70px !important;
  }

  .woocommerce-checkout input {
    font-size: 18px;
  }
}


/* =========================
   MINI CART TITLE
   ========================= */

.elementor-menu-cart__main:before {
  content: "Min handlekurv";
  display: block;
  font-family: "Cormorant", serif;
  font-size: 28px;
  margin-top: 60px;
  margin-bottom: 25px;
  letter-spacing: 0 !important;
}


/* =========================
   HIDE RELATED POSTS / PRODUCTS
   ========================= */

.related,
.related.products,
.related-posts,
.ast-related-posts,
.ast-related-posts-wrap,
.single-post-related,
.ast-related-post,
section.related {
  display: none !important;
}


/* =========================
   PRODUCT CARD ICON
   ========================= */

/* Ikke skjul knappene her, bare style ikonet */
.ast-on-card-button {
  background: rgba(190, 166, 145, 0.92) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
  transition: all 0.25s ease !important;
}

.ast-on-card-button:hover {
  background: #a88f7c !important;
  transform: translateY(-1px) scale(1.03);
}

.ast-on-card-button svg,
.ast-on-card-button i {
  font-size: 15px !important;
  color: #fff !important;
}


/* =========================
   HEADER / LOGO
   TEST FIX
   ========================= */

.elementor-location-header,
.elementor-location-header .elementor-element,
.elementor-location-header .elementor-widget-image,
.elementor-location-header .elementor-widget-theme-site-logo,
.elementor-location-header img {
  position: relative;
  z-index: 50;
}

.elementor-location-header + * {
  position: relative;
  z-index: 1;
}

input,
textarea {
  font-family: inherit !important;
  color: #6b5f56 !important;
}

input::placeholder {
  font-family: inherit !important;
  color: #a8a29e !important;
}

/* FIX font i input-felter (Brevo / generelt) */
input,
textarea {
  font-family: "Cormorant Garamond", serif !important;
  color: #6b5f56 !important;
  font-size: 16px !important;
}

/* Placeholder tekst */
input::placeholder,
textarea::placeholder {
  font-family: "Cormorant Garamond", serif !important;
  color: #b0a8a0 !important;
  opacity: 1;
}

/* Fjern stygg browser styling */
input {
  appearance: none;
  -webkit-appearance: none;
}

/* Fjern all stygg default styling */
.bt-newsletter-popup input {
  font-family: inherit !important;
  font-size: 18px !important;
  color: #6b5f56 !important;
  background: #f3efe9 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
}

/* Placeholder */
.bt-newsletter-popup input::placeholder {
  color: #b8b1ab !important;
  font-style: italic;
}

/* Labels */
.bt-newsletter-popup label {
  font-family: inherit !important;
  font-size: 14px !important;
  color: #6b5f56 !important;
}

/* Knapp – clean & luksus */
.bt-newsletter-popup input[type="submit"] {
  font-family: inherit !important;
  font-size: 18px !important;
  color: #6b5f56 !important;
  background: #eae3db !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  box-shadow: none !important;
  transition: 0.2s ease;
}

/* Hover */
.bt-newsletter-popup input[type="submit"]:hover {
  background: #e0d7ce !important;
}

input:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #d6cdc4 !important; /* velg din beige tone */
}

#sib-container input {
  border: 1px solid #eae5df !important;
}

#sib-container input:focus {
  border: 1px solid #cbbfb3 !important;
  box-shadow: none !important;
}
/* Skjul stjernerangering på produkter inntil reelle anmeldelser finnes */
.woocommerce ul.products li.product .star-rating,
.woocommerce-product-rating,
.woocommerce-loop-product__title + .star-rating,
.elementor-widget-woocommerce-products .star-rating {
    display: none !important;
}