/* JLM Beställningsvara & Offert v1.2 */
.jlm-quote-box{
  margin:18px 0 8px;
  padding:0;
  border:0;
  background:transparent;
}
.jlm-quote-panel{
  padding:0;
  border:0;
  background:transparent;
}
.jlm-quote-intro{
  margin:0 0 15px!important;
  max-width:720px;
  font-size:14.5px;
  line-height:1.5;
  color:#242424;
  font-style:italic;
}
.jlm-quote-intro strong{font-weight:700}
.jlm-quote-intro a{font-weight:700;color:#202124;text-decoration:none;white-space:nowrap}
.jlm-quote-intro a:hover{text-decoration:underline;color:#bd392d}
.jlm-quote-facts{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  margin:0 0 15px;
  font-size:14px;
  line-height:1.35;
  color:#333;
}
.jlm-quote-fact{display:flex;align-items:center;gap:8px}
.jlm-status-dot{width:10px;height:10px;border-radius:50%;background:#d8b432;display:inline-block;flex:0 0 auto}
.jlm-truck-icon{width:17px;height:11px;display:inline-block;position:relative;border:1.6px solid #333;border-radius:1px;box-sizing:border-box;margin-right:1px}
.jlm-truck-icon:before,.jlm-truck-icon:after{content:"";position:absolute;border-radius:50%;background:#fff;border:1.5px solid #333;width:4px;height:4px;bottom:-5px;box-sizing:border-box}
.jlm-truck-icon:before{left:2px}.jlm-truck-icon:after{right:-5px}
.jlm-quote-button{
  display:block!important;
  width:100%;
  box-sizing:border-box;
  min-height:42px;
  padding:12px 20px!important;
  text-align:center;
  text-transform:none;
  letter-spacing:0;
  font-weight:700!important;
  font-size:14px!important;
  line-height:1.2!important;
  color:#fff!important;
  background:#55575b!important;
  border:0!important;
  border-radius:2px!important;
  box-shadow:none!important;
  transition:background .18s ease,transform .18s ease;
}
.jlm-quote-button:hover{background:#bd392d!important;color:#fff!important;transform:translateY(-1px)}

/* Modal */
html.jlm-modal-open,body.jlm-modal-open{overflow:hidden}
.jlm-quote-modal{display:none;position:fixed;inset:0;z-index:999999;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.jlm-quote-modal.is-open{display:flex}
.jlm-quote-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.60);backdrop-filter:blur(2px)}
.jlm-quote-dialog{
  position:relative;
  z-index:1;
  width:min(760px,100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  background:#fff;
  border-radius:5px;
  box-shadow:0 20px 70px rgba(0,0,0,.28);
}
.jlm-quote-dialog-top{padding:26px 30px 20px;border-bottom:1px solid #e9e9e9}
.jlm-quote-eyebrow{display:block;margin-bottom:6px;font-size:11px;line-height:1;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#bd392d}
.jlm-quote-dialog h2{margin:0 42px 7px 0!important;font-size:26px;line-height:1.2;color:#202124}
.jlm-quote-dialog-top p{margin:0!important;color:#666;line-height:1.5;font-size:14px}
.jlm-quote-close{position:absolute;right:18px;top:16px;width:38px;height:38px;border:0!important;background:transparent!important;color:#555!important;font-size:30px!important;font-weight:300!important;line-height:34px!important;padding:0!important;cursor:pointer;box-shadow:none!important}
.jlm-quote-close:hover{color:#bd392d!important;background:#f5f5f5!important;border-radius:50%!important}
.jlm-quote-productbar{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin-top:14px;padding:10px 12px;background:#f5f5f5;border-radius:3px;font-size:13px;color:#444}
.jlm-quote-productbar strong{color:#222}
.jlm-quote-form-wrap{padding:24px 30px 30px;background:#fff}
.jlm-quote-form{margin:0}
.jlm-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.jlm-quote-form p{margin:0 0 15px}
.jlm-quote-form label{display:block;margin-bottom:6px;font-size:13px;font-weight:700;color:#2d2d2d}
.jlm-quote-form label span{color:#bd392d}
.jlm-quote-form input,.jlm-quote-form textarea{
  width:100%;box-sizing:border-box;background:#fff;border:1px solid #cfcfcf;padding:11px 12px;border-radius:3px;font-size:14px;color:#222;outline:none;transition:border-color .15s ease,box-shadow .15s ease
}
.jlm-quote-form input:focus,.jlm-quote-form textarea:focus{border-color:#777;box-shadow:0 0 0 2px rgba(0,0,0,.05)}
.jlm-quote-form input[readonly]{background:#f4f4f4;color:#555}
.jlm-quote-form textarea{min-height:105px;resize:vertical}
.jlm-privacy{font-size:11.5px!important;line-height:1.45;color:#777!important;margin-top:-2px!important}
.jlm-submit{display:block!important;width:100%;padding:13px 18px!important;text-transform:uppercase;letter-spacing:.035em;font-weight:700!important;font-size:13px!important;color:#fff!important;background:#bd392d!important;border:0!important;border-radius:2px!important;box-shadow:none!important}
.jlm-submit:hover{background:#9f2f25!important;color:#fff!important}
.jlm-form-message{margin:0 0 18px;padding:12px 14px;border-radius:3px;font-size:14px}
.jlm-form-message.success{background:#edf7ef;border:1px solid #a9d0af;color:#245b2d}
.jlm-form-message.error{background:#fff1ef;border:1px solid #e0aaa5;color:#7b2720}
.jlm-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}

@media(max-width:700px){
  .jlm-quote-intro{font-size:14px}
  .jlm-quote-facts{margin-bottom:14px}
  .jlm-quote-modal{padding:10px;align-items:flex-end}
  .jlm-quote-dialog{width:100%;max-height:92vh;border-radius:7px 7px 0 0}
  .jlm-quote-dialog-top{padding:22px 20px 17px}
  .jlm-quote-dialog h2{font-size:22px}
  .jlm-quote-form-wrap{padding:20px}
  .jlm-grid{grid-template-columns:1fr;gap:0}
}
