/* NØSEN FraktMotor v0.5.1.5 – checkout radio/typography polish, rounded rates and pickup icon. Scoped to FraktMotor rate labels only. */
.woocommerce ul#shipping_method li input[value^="noesen_fraktmotor:"],
.woocommerce ul#shipping_method li input[id*="noesen_fraktmotor"]{
  margin-top:.24em !important;
  margin-right:10px !important;
  vertical-align:top;
  flex:0 0 auto;
}
.woocommerce ul#shipping_method li input[value^="noesen_fraktmotor:"] + label,
.woocommerce ul#shipping_method li input[id*="noesen_fraktmotor"] + label{
  display:inline-flex;
  align-items:flex-start;
  width:calc(100% - 34px);
  max-width:calc(100% - 34px);
  vertical-align:top;
}
@supports selector(li:has(input)){
  .woocommerce ul#shipping_method li:has(input[value^="noesen_fraktmotor:"]),
  .woocommerce ul#shipping_method li:has(input[id*="noesen_fraktmotor"]){
    display:flex;
    align-items:flex-start;
    gap:10px;
  }
  .woocommerce ul#shipping_method li:has(input[value^="noesen_fraktmotor:"]) input[type="radio"],
  .woocommerce ul#shipping_method li:has(input[id*="noesen_fraktmotor"]) input[type="radio"]{
    margin-right:0 !important;
  }
  .woocommerce ul#shipping_method li:has(input[value^="noesen_fraktmotor:"]) label,
  .woocommerce ul#shipping_method li:has(input[id*="noesen_fraktmotor"]) label{
    width:100%;
    max-width:100%;
  }
}
.woocommerce ul#shipping_method li label .nfm-rate-row,
.woocommerce-checkout-review-order-table .nfm-rate-row,
.woocommerce-cart-form .nfm-rate-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  width:100%;
  max-width:100%;
  font-size:.94em;
  font-weight:500;
  line-height:1.28;
  vertical-align:top;
}
.woocommerce ul#shipping_method li label .nfm-rate-main,
.woocommerce-checkout-review-order-table .nfm-rate-main,
.woocommerce-cart-form .nfm-rate-main{
  flex:1 1 auto;
  min-width:0;
}
.woocommerce ul#shipping_method li label .nfm-rate-title,
.woocommerce-checkout-review-order-table .nfm-rate-title,
.woocommerce-cart-form .nfm-rate-title{
  display:block;
  min-width:0;
  font-weight:500;
  line-height:1.28;
}
.woocommerce ul#shipping_method li label .nfm-rate-side,
.woocommerce-checkout-review-order-table .nfm-rate-side,
.woocommerce-cart-form .nfm-rate-side{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  white-space:nowrap;
  line-height:1.1;
  padding-top:.01em;
}
.woocommerce ul#shipping_method li label .nfm-rate-amount,
.woocommerce-checkout-review-order-table .nfm-rate-amount,
.woocommerce-cart-form .nfm-rate-amount{
  display:inline-block;
  text-align:right;
  white-space:nowrap;
  font-weight:500;
  line-height:1.2;
}
.woocommerce ul#shipping_method li label .nfm-rate-icon,
.woocommerce-checkout-review-order-table .nfm-rate-icon,
.woocommerce-cart-form .nfm-rate-icon{
  flex:0 0 24px;
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  line-height:1;
  vertical-align:middle;
}
.woocommerce ul#shipping_method li label .nfm-rate-icon img,
.woocommerce-checkout-review-order-table .nfm-rate-icon img,
.woocommerce-cart-form .nfm-rate-icon img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border:0;
  box-shadow:none;
}
.woocommerce ul#shipping_method li label .nfm-rate-icon--postnord img,
.woocommerce-checkout-review-order-table .nfm-rate-icon--postnord img,
.woocommerce-cart-form .nfm-rate-icon--postnord img{
  transform:scale(.92);
  transform-origin:center;
  border-radius:999px;
}
.woocommerce ul#shipping_method li label .nfm-rate-icon--bring img,
.woocommerce-checkout-review-order-table .nfm-rate-icon--bring img,
.woocommerce-cart-form .nfm-rate-icon--bring img{
  transform:scale(.88);
  transform-origin:center;
}
@media (max-width: 640px){
  .woocommerce ul#shipping_method li input[value^="noesen_fraktmotor:"],
  .woocommerce ul#shipping_method li input[id*="noesen_fraktmotor"]{
    margin-top:.22em !important;
  }
  .woocommerce ul#shipping_method li label .nfm-rate-row,
  .woocommerce-checkout-review-order-table .nfm-rate-row,
  .woocommerce-cart-form .nfm-rate-row{
    gap:8px;
    font-size:.92em;
  }
  .woocommerce ul#shipping_method li label .nfm-rate-side,
  .woocommerce-checkout-review-order-table .nfm-rate-side,
  .woocommerce-cart-form .nfm-rate-side{
    gap:6px;
  }
  .woocommerce ul#shipping_method li label .nfm-rate-icon,
  .woocommerce-checkout-review-order-table .nfm-rate-icon,
  .woocommerce-cart-form .nfm-rate-icon{
    flex-basis:22px;
    width:22px;
    height:22px;
  }
}

/* v0.5.1.5 – NØSEN pickup icon and rounded checkout-rate display. */
.woocommerce ul#shipping_method li label .nfm-rate-icon--pickup img,
.woocommerce-checkout-review-order-table .nfm-rate-icon--pickup img,
.woocommerce-cart-form .nfm-rate-icon--pickup img{
  transform:scale(.94);
  transform-origin:center;
}
