.smfq-checkout-hidden{display:none!important}.smfq-intro{margin-top:8px}.smfq-depot{display:none;margin:10px 0 12px}.smfq-selected{margin-top:10px}.smfq-open-modal{display:inline-block!important;background:#333!important;border:1px solid #333!important;color:#fff!important;opacity:1!important;font-weight:600!important;padding:9px 16px!important;cursor:pointer!important}.smfq-open-modal:hover,.smfq-open-modal:focus{background:#111!important;border-color:#111!important;color:#fff!important}.smfq-modal[hidden]{display:none!important}.smfq-modal{position:fixed;inset:0;z-index:100000}.smfq-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}.smfq-modal-dialog{position:relative;background:#fff;color:#222;max-width:620px;width:calc(100% - 30px);margin:7vh auto;padding:24px;border-radius:4px;max-height:86vh;overflow:auto;box-shadow:0 10px 40px rgba(0,0,0,.3)}.smfq-modal-dialog label,.smfq-modal-dialog h3,.smfq-modal-dialog p{color:#222!important}.smfq-modal-close{position:absolute;right:12px;top:8px;border:0;background:transparent;color:#222;font-size:30px;line-height:1;cursor:pointer}.smfq-modal-error{margin:10px 0;color:#b00020;font-weight:600}.smfq-modal-open{overflow:hidden}
.smfq-brt-links{margin:18px 0!important}.smfq-brt-translated{display:inline-block!important;background:#333!important;border:1px solid #333!important;color:#fff!important;font-weight:700!important;font-size:15px!important;padding:11px 18px!important;margin-bottom:9px!important;text-decoration:none!important}.smfq-brt-translated:hover,.smfq-brt-translated:focus{background:#111!important;border-color:#111!important;color:#fff!important}.smfq-brt-original{display:inline-block!important;font-size:12px!important;color:#555!important;text-decoration:underline!important}

/* 0.4.9 - Responsive checkout/OPC presentation */
.smfq-box{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin:12px 0 16px!important;
  padding:16px!important;
  background:#fff!important;
  border:1px solid #d7dde3!important;
  border-radius:6px!important;
  box-shadow:0 1px 3px rgba(0,0,0,.06)!important;
  color:#333!important;
  overflow:visible!important;
  clear:both!important;
}
.smfq-box strong{color:#222!important}
.smfq-box .smfq-intro{margin:8px 0 14px!important;line-height:1.55!important;color:#444!important}
.smfq-box .smfq-form{margin:0!important}
.smfq-box .form-group{margin:0 0 10px!important}
.smfq-box .form-group label{display:flex!important;align-items:flex-start!important;gap:7px!important;margin:0!important;line-height:1.4!important;white-space:normal!important;color:#333!important;cursor:pointer!important}
.smfq-box input[type="radio"]{flex:0 0 auto!important;margin-top:3px!important}
.smfq-box button[type="submit"]{display:inline-block!important;max-width:100%!important;white-space:normal!important;margin-top:4px!important}
.smfq-box .smfq-depot{max-width:100%!important}
.smfq-box .smfq-selected{line-height:1.4!important;word-break:break-word!important}

/* One Page Checkout: keep the quote card visually separate from the carrier row. */
#onepagecheckoutps .smfq-box,
#onepagecheckoutps_contenedor .smfq-box,
.onepagecheckoutps .smfq-box,
.opc-container .smfq-box{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  float:none!important;
}

@media (max-width: 767px){
  .smfq-box{
    margin:10px 0 14px!important;
    padding:13px!important;
    border-radius:4px!important;
    font-size:14px!important;
  }
  .smfq-box .smfq-intro{line-height:1.45!important;margin-bottom:12px!important}
  .smfq-box .form-group{margin-bottom:12px!important}
  .smfq-box button[type="submit"],
  .smfq-box .smfq-open-modal{
    width:100%!important;
    display:block!important;
    text-align:center!important;
    padding:11px 12px!important;
  }
  .smfq-modal-dialog{
    width:calc(100% - 20px)!important;
    margin:3vh auto!important;
    padding:20px 15px!important;
    max-height:94vh!important;
  }
  .smfq-brt-translated,
  .smfq-confirm-branch{
    width:100%!important;
    box-sizing:border-box!important;
    text-align:center!important;
    white-space:normal!important;
  }
}

@media (max-width: 420px){
  .smfq-box{padding:11px!important;font-size:13px!important}
  .smfq-modal-dialog{width:calc(100% - 12px)!important;padding:18px 12px!important}
}

/* 0.5.0 - OPC hard override. The template no longer uses Bootstrap alert-info. */
body #onepagecheckoutps .smfq-box,
body #onepagecheckoutps_contenedor .smfq-box,
body .onepagecheckoutps .smfq-box,
body .opc-container .smfq-box,
body .smfq-box {
  display:block!important;
  position:relative!important;
  inset:auto!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin:14px 0 16px!important;
  padding:16px!important;
  background:#fff!important;
  background-color:#fff!important;
  border:1px solid #d7dde3!important;
  border-radius:6px!important;
  box-shadow:0 1px 3px rgba(0,0,0,.06)!important;
  overflow:visible!important;
  clear:both!important;
}
@media (max-width:767px){
 body .smfq-box{margin:10px 0 14px!important;padding:13px!important;width:100%!important;max-width:100%!important}
}


/* 0.5.1 - OPC: remove the blue carrier tail below the quote card.
   The quote card lives inside the OPC carrier container; its bottom margin
   exposes the carrier background. Keep spacing inside the white card instead. */
#onepagecheckoutps .smfq-box,
#onepagecheckoutps_contenedor .smfq-box,
.onepagecheckoutps .smfq-box,
.opc-container .smfq-box {
  margin-bottom:0!important;
}
@media (max-width:767px){
  #onepagecheckoutps .smfq-box,
  #onepagecheckoutps_contenedor .smfq-box,
  .onepagecheckoutps .smfq-box,
  .opc-container .smfq-box { margin-bottom:0!important; }
}

/* 0.5.2 - OPC integrated carrier UI.
   SM Foreign Quote is intentionally rendered as part of the selected OPC
   delivery-option, so match the carrier background instead of nesting a card. */
body .delivery-option .smfq-box,
body .delivery_option .smfq-box,
body #onepagecheckoutps .delivery-option .smfq-box,
body #onepagecheckoutps_contenedor .delivery-option .smfq-box,
body .onepagecheckoutps .delivery-option .smfq-box,
body .opc-container .delivery-option .smfq-box {
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:12px 16px 10px!important;
  background:transparent!important;
  background-color:transparent!important;
  border:0!important;
  border-top:1px solid rgba(0,0,0,.10)!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:inherit!important;
  box-sizing:border-box!important;
}
body .delivery-option .smfq-box .smfq-intro,
body .delivery_option .smfq-box .smfq-intro {
  color:inherit!important;
}
body .delivery-option .smfq-box strong,
body .delivery_option .smfq-box strong,
body .delivery-option .smfq-box .form-group label,
body .delivery_option .smfq-box .form-group label {
  color:inherit!important;
}
@media (max-width:767px){
  body .delivery-option .smfq-box,
  body .delivery_option .smfq-box {
    margin:0!important;
    padding:11px 8px 9px!important;
  }
  body .delivery-option .smfq-box button[type="submit"],
  body .delivery_option .smfq-box button[type="submit"],
  body .delivery-option .smfq-box .smfq-open-modal,
  body .delivery_option .smfq-box .smfq-open-modal {
    width:100%!important;
    max-width:100%!important;
  }
}

/* 0.5.3 - final UI polish for One Page Checkout.
   Keep the quote integrated in the carrier, with comfortable responsive spacing. */
body .delivery-option .smfq-box,
body .delivery_option .smfq-box {
  padding:12px 16px 14px!important;
  border-top:1px solid rgba(0,0,0,.14)!important;
}
body .delivery-option .smfq-box > strong,
body .delivery_option .smfq-box > strong {
  display:block!important;
  margin:0 0 7px!important;
  font-weight:700!important;
}
body .delivery-option .smfq-box .smfq-intro,
body .delivery_option .smfq-box .smfq-intro {
  margin:0 0 14px!important;
  line-height:1.55!important;
}
body .delivery-option .smfq-box .form-group,
body .delivery_option .smfq-box .form-group {
  margin-bottom:9px!important;
}
body .delivery-option .smfq-box button[type="submit"],
body .delivery_option .smfq-box button[type="submit"] {
  margin-top:7px!important;
  margin-bottom:0!important;
}
@media (max-width:767px){
  body .delivery-option .smfq-box,
  body .delivery_option .smfq-box {
    padding:12px 12px 14px!important;
  }
  body .delivery-option .smfq-box .smfq-intro,
  body .delivery_option .smfq-box .smfq-intro {
    line-height:1.48!important;
    margin-bottom:13px!important;
  }
}
@media (max-width:420px){
  body .delivery-option .smfq-box,
  body .delivery_option .smfq-box {
    padding:11px 10px 13px!important;
  }
}

/* 0.6.3 - stronger foreign quotation CTA */
.smfq-cta-head{margin:0 0 12px;padding:0}
.smfq-cta-title{font-size:19px;font-weight:700;line-height:1.25;margin-bottom:7px;color:#123d70}
.smfq-cta-lead{font-size:14px;line-height:1.45;margin-bottom:9px}
.smfq-cta-lock{padding:9px 11px;margin:0 0 10px;background:#fff1f1;border:1px solid #efb9b9;border-radius:4px;color:#b42323;font-weight:700;line-height:1.35}
.smfq-cta-steps{line-height:1.6;margin-bottom:8px}
.smfq-request-main{display:block!important;width:100%!important;max-width:100%!important;padding:11px 14px!important;font-size:15px!important;font-weight:700!important;text-align:center!important;margin-top:10px!important}
.smfq-bottom-hint{margin-top:13px;padding:10px 12px;background:#fff7df;border:1px solid #efd797;border-radius:4px;line-height:1.4;color:#59420b}
.smfq-bottom-hint span{font-size:12px}
body .delivery-option .smfq-box .smfq-cta-title,body .delivery_option .smfq-box .smfq-cta-title{color:#123d70!important}
body .delivery-option .smfq-box .smfq-cta-lock,body .delivery_option .smfq-box .smfq-cta-lock{color:#b42323!important}
@media(max-width:767px){.smfq-cta-title{font-size:17px}.smfq-request-main{font-size:14px!important}}

/* 0.6.4 - responsive CTA cleanup */
body .delivery-option .smfq-box,
body .delivery_option .smfq-box,
body #onepagecheckoutps .delivery-option .smfq-box,
body #onepagecheckoutps_contenedor .delivery-option .smfq-box,
body .onepagecheckoutps .delivery-option .smfq-box,
body .opc-container .delivery-option .smfq-box {
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  overflow-wrap:anywhere;
}
.smfq-cta-head,.smfq-form,.smfq-bottom-hint{width:100%;max-width:100%;box-sizing:border-box}
.smfq-request-main{box-sizing:border-box!important}
@media(max-width:767px){
  body .delivery-option .smfq-box,
  body .delivery_option .smfq-box{padding-left:8px!important;padding-right:8px!important}
  .smfq-cta-lead,.smfq-cta-lock,.smfq-cta-steps,.smfq-bottom-hint{font-size:13px}
}


/* 0.6.5 - Essemme final OPC spacing: keep user's compact padding + responsive sizing */
body .delivery-option .smfq-box,
body .delivery_option .smfq-box,
body #onepagecheckoutps .delivery-option .smfq-box,
body #onepagecheckoutps_contenedor .delivery-option .smfq-box,
body .onepagecheckoutps .delivery-option .smfq-box,
body .opc-container .delivery-option .smfq-box {
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:12px 16px 10px!important;
  box-sizing:border-box!important;
}
@media(max-width:767px){
 body .delivery-option .smfq-box, body .delivery_option .smfq-box {
   width:100%!important;max-width:100%!important;margin:0!important;
   padding:10px 8px 9px!important;box-sizing:border-box!important;
 }
}

/* 0.6.6 - requested 16px lateral padding on foreign quote box */
body .delivery-option .smfq-box, body .delivery_option .smfq-box {padding-left:16px!important;padding-right:16px!important;}
@media(max-width:767px){body .delivery-option .smfq-box,body .delivery_option .smfq-box{padding-left:16px!important;padding-right:16px!important;}}

/* 0.6.18 - guided OPC save step, foreign checkout only */
.smfq-save-guide{margin:0 0 10px;padding:10px 12px;background:#fff3cd;border:1px solid #e0b84f;color:#5b4300;line-height:1.35}
.smfq-save-guide .smfq-go-save{display:block;width:100%;margin-top:8px;font-weight:700}
.smfq-form-locked .smfq-request-main{opacity:.45;cursor:not-allowed}
#btn_save_customer.smfq-save-highlight{outline:4px solid #f0ad4e!important;outline-offset:3px!important}
