
/* Sprint 502 — Mobile RFQ no-gap + yellow form */
@media(max-width:820px){
  /* Collapse the desktop artwork/canvas itself; the previous tall min-height
     was creating the large blank area above the mobile form. */
  .tf-homepage .tf-rfq-canonical{
    width:calc(100% - 16px)!important;
    height:auto!important;
    min-height:0!important;
    margin:8px auto 10px!important;
    padding:0!important;
    background:transparent!important;
  }

  .tf-homepage .tf-rfq-canonical__canvas{
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    background:none!important;
    overflow:visible!important;
    border-radius:0!important;
  }

  .tf-homepage .tf-rfq-canonical__copy{
    display:none!important;
  }

  .tf-homepage .tf-rfq-canonical__form-card{
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:12px!important;
    box-sizing:border-box!important;
    background:linear-gradient(145deg,#fff8d8 0%,#ffe8a0 100%)!important;
    border:1px solid rgba(235,171,20,.38)!important;
    border-radius:15px!important;
    box-shadow:0 8px 22px rgba(148,102,0,.12)!important;
  }

  .tf-homepage .tf-rfq-canonical__form-card>h2{
    color:#102b57!important;
    font-size:20px!important;
    line-height:1.08!important;
    margin:0 0 9px!important;
  }

  .tf-homepage .tf-rfq-canonical__form{
    gap:7px!important;
  }

  .tf-homepage .tf-rfq-canonical__form input,
  .tf-homepage .tf-rfq-canonical__form textarea,
  .tf-homepage .tf-rfq-canonical__form select{
    background:#fff!important;
    border-color:rgba(205,157,45,.42)!important;
  }

  .tf-homepage .tf-rfq-canonical__form input,
  .tf-homepage .tf-rfq-canonical__form select{
    height:39px!important;
    min-height:39px!important;
  }

  .tf-homepage .tf-rfq-canonical__form textarea{
    height:66px!important;
    min-height:66px!important;
  }

  .tf-homepage .tf-rfq-canonical__form button[type="submit"]{
    height:39px!important;
    min-height:39px!important;
    background:#fdbb24!important;
    border-color:#e4a20b!important;
    color:#102b57!important;
    font-weight:800!important;
  }
}
@media(max-width:430px){
  .tf-homepage .tf-rfq-canonical{
    width:calc(100% - 12px)!important;
    margin-top:6px!important;
  }
  .tf-homepage .tf-rfq-canonical__form-card{
    padding:10px!important;
    border-radius:13px!important;
  }
  .tf-homepage .tf-rfq-canonical__form-card>h2{
    font-size:18px!important;
    margin-bottom:7px!important;
  }
}
