.tm-modal-root[hidden],.tm-modal-root [hidden]{display:none!important}
.tm-modal-root{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px}
.tm-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7)}
body.tm-modal-open{overflow:hidden}
.tm-modal-panel{position:relative;width:min(100%,740px);max-height:min(92vh,930px);overflow-y:auto;background:#fff;color:#080808;border-radius:20px;box-shadow:0 16px 60px #0004;padding:70px 45px 55px;outline:none;font-family:var(--tm-font-body,Roboto),Arial,sans-serif}
.tm-modal-close{position:absolute;top:24px;right:24px;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:#f3f3f3;color:#000;cursor:pointer;padding:0}
.tm-modal-close:hover{background:#e4e4e4}
.tm-modal-heading{font-family:var(--tm-font-display)!important;letter-spacing:-.012em!important;font-weight:400!important;text-transform:uppercase;font-size:clamp(22px,3vw,30px);text-align:center;line-height:1.12;margin:0 0 18px}
.tm-modal-subtitle{font-size:16px;line-height:1.4;color:#808080;text-align:center;max-width:490px;margin:0 auto 26px}
.tm-modal-contact,.tm-modal-success{max-width:490px;margin:0 auto}
.tm-modal-form{display:flex;flex-direction:column;gap:0}
.tm-modal-form label{font-size:14px;color:#777;margin:0 0 6px}
.tm-modal-form input,.tm-modal-form textarea{font:500 15px/1.45 var(--tm-font-body,Roboto),Arial,sans-serif;width:100%;border:1px solid #d4d4d4;border-radius:8px;background:#fff;color:#111;padding:13px 15px;margin:0 0 18px;min-height:46px;box-sizing:border-box}
.tm-modal-form textarea{resize:vertical;min-height:150px}
.tm-modal-form input:focus,.tm-modal-form textarea:focus{outline:2px solid #4600ff;outline-offset:1px}
.tm-modal-submit{display:block;width:min(100%,265px);min-height:50px;border:0;border-radius:999px;background:#000;color:white;font:700 16px var(--tm-font-body,Roboto),Arial,sans-serif;margin:4px auto 0;cursor:pointer;padding:12px 20px}
.tm-modal-submit:disabled{opacity:.6;cursor:wait}
.tm-modal-success{padding:42px 0 24px;text-align:center}
.tm-modal-success .tm-modal-subtitle{margin-bottom:27px}
.tm-modal-product-inner{max-width:560px;margin:0 auto}
.tm-modal-product-intro{font-size:16px;margin:0 0 18px}
.tm-modal-product-list{display:grid;gap:15px}
.tm-modal-product-card{display:flex;align-items:center;gap:17px;border:1px solid #dedede;border-radius:22px;padding:15px;text-decoration:none!important;color:#000!important;min-height:112px;transition:border-color .2s,box-shadow .2s}
.tm-modal-product-card:hover,.tm-modal-product-card:focus-visible{border-color:#666;box-shadow:0 2px 10px #00000010}
.tm-modal-product-card img{width:80px;height:80px;object-fit:cover;border-radius:12px;flex-shrink:0;background:#f2f2f2}
.tm-modal-product-copy{display:grid;gap:6px;flex:1;min-width:0}
.tm-modal-product-copy strong{font:400 clamp(15px,2.2vw,21px)/1.15 var(--tm-font-display),sans-serif;letter-spacing:-.012em;text-transform:none}
.tm-modal-product-copy>span{font-size:14px;line-height:1.35}
.tm-modal-product-arrow{font:300 33px/1 var(--tm-font-body,Roboto),sans-serif;margin-left:auto}
.tm-contact-feedback{color:#b00020;background:#fff0f0;border-radius:8px;padding:10px;font-size:14px}
.tm-modal-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media(max-width:680px){.tm-modal-root{padding:0;place-items:end stretch}.tm-modal-panel{width:100%;max-width:none;max-height:92vh;max-height:92dvh;min-height:0;margin:0;border-radius:20px 20px 0 0;padding:70px 20px max(30px,env(safe-area-inset-bottom));overscroll-behavior:contain;box-sizing:border-box}.tm-modal-close{top:16px;right:16px}.tm-modal-heading{font-size:22px}.tm-modal-subtitle{font-size:14px}.tm-modal-product-card{padding:12px;gap:12px;border-radius:15px}.tm-modal-product-card img{width:65px;height:65px}.tm-modal-product-copy strong{font-size:15px}.tm-modal-product-copy>span{font-size:12px}}

/* Toro & Moro v2.4 - animated dialogs and mobile bottom sheets */
.tm-modal-root:not([hidden]) .tm-modal-backdrop{
  animation:tm-modal-backdrop-in 260ms ease-out both;
}
.tm-modal-root:not([hidden]) .tm-modal-panel{
  animation:tm-modal-panel-in 340ms cubic-bezier(.22,1,.36,1) both;
  overscroll-behavior:contain;
}
@keyframes tm-modal-backdrop-in{
  from{opacity:0}
  to{opacity:1}
}
@keyframes tm-modal-panel-in{
  from{opacity:0;transform:translate3d(0,36px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@media(max-width:680px){
  /* Bottom sheet: full viewport width, anchored to screen bottom. */
  .tm-modal-root:not([hidden]) .tm-modal-panel{
    animation-name:tm-modal-sheet-in;
    animation-duration:400ms;
  }
  @keyframes tm-modal-sheet-in{
    from{transform:translate3d(0,100%,0)}
    to{transform:translate3d(0,0,0)}
  }
}
@media(prefers-reduced-motion:reduce){
  .tm-modal-root:not([hidden]) .tm-modal-panel,
  .tm-modal-root:not([hidden]) .tm-modal-backdrop{
    animation:none!important;
    transition:none!important;
  }
}

/* Keep contact-modal headings in Roboto as specified in the UI system. */
.tm-modal-heading{font-family:Roboto,Arial,sans-serif!important;font-size:20px!important;font-weight:700!important;letter-spacing:0!important;text-transform:uppercase}
@media(max-width:680px){.tm-modal-heading{font-size:20px!important}}
