
/* ============================================================
   BMC SELECT — YACHTS & MARINE SELF-CONTAINED PRODUCTION REPAIR
   ============================================================ */

.yacht-request-form{
  width:100%;
  display:block;
}
.yacht-request-form .form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 24px;
  margin:18px 0;
}
.yacht-request-form label{
  display:flex;
  flex-direction:column;
  gap:7px;
  font-weight:600;
}
.yacht-request-form input,
.yacht-request-form select,
.yacht-request-form textarea{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1px solid #cfc9bf;
  border-radius:8px;
  background:#fff;
  font:inherit;
  box-sizing:border-box;
}
.yacht-request-form textarea{
  min-height:110px;
  resize:vertical;
}

.yacht-options-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
  margin:22px 0 28px!important;
}
.yacht-option-card{
  display:block!important;
  min-width:0!important;
  cursor:pointer!important;
}
.yacht-option-card > input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
.yacht-option-inner{
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  padding:12px!important;
  border:1px solid #ddd7ce!important;
  border-radius:18px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.yacht-option-card:has(input:checked) .yacht-option-inner{
  border-color:#c99a44!important;
  box-shadow:0 12px 30px rgba(48,40,32,.08)!important;
}
.yacht-option-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/10!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:12px!important;
  background:#f4f1ea!important;
  margin:0 0 12px!important;
}
.yacht-option-inner .tag{
  align-self:flex-start!important;
  display:inline-block!important;
  margin:0 0 10px!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#f1ead3!important;
  font-size:.72rem!important;
  line-height:1!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  font-weight:700!important;
}
.yacht-option-inner strong{
  display:block!important;
  margin:0 0 9px!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:1.45rem!important;
  line-height:1.04!important;
  color:#292624!important;
}
.yacht-option-inner > span:not(.tag){
  line-height:1.5!important;
  color:#555!important;
}
.yacht-option-inner .yacht-view-details,
.yacht-option-inner a{
  margin-top:auto!important;
}

/* Yacht detail modal */
.yacht-modal{
  position:fixed!important;
  inset:0!important;
  display:none!important;
  z-index:10000!important;
  background:rgba(27,24,22,.68)!important;
  overflow:auto!important;
}
.yacht-modal.open{
  display:block!important;
}
body.yacht-modal-open{
  overflow:hidden!important;
}
.yacht-modal-panel{
  width:min(1100px,94vw)!important;
  min-height:100vh!important;
  margin-left:auto!important;
  padding:38px 42px 50px!important;
  background:#fff!important;
  box-shadow:-14px 0 44px rgba(0,0,0,.18)!important;
  position:relative!important;
}
.yacht-modal-gallery{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin:24px 0!important;
}
.yacht-modal-gallery figure{
  margin:0!important;
}
.yacht-modal-gallery .yacht-gallery-exterior{
  grid-column:span 2!important;
  grid-row:span 2!important;
}
.yacht-modal-gallery img{
  display:block!important;
  width:100%!important;
  height:185px!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:14px!important;
  background:#f4f1ea!important;
}
.yacht-modal-gallery .yacht-gallery-exterior img{
  height:384px!important;
  object-fit:contain!important;
}
.yacht-modal-gallery figcaption{
  margin-top:7px!important;
  font-size:.82rem!important;
  color:#6b665f!important;
}
.yacht-modal-section{
  padding:22px 0!important;
  border-top:1px solid #e4dfd8!important;
}
.yacht-modal-panel .note{
  margin:20px 0!important;
  padding:18px 20px!important;
  border-left:4px solid #d4a547!important;
  border-radius:10px!important;
  background:#fff7df!important;
  line-height:1.55!important;
}
.yacht-modal-panel .actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin-top:24px!important;
}

@media(max-width:980px){
  .yacht-options-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  .yacht-request-form .form-grid{
    grid-template-columns:1fr!important;
  }
  .yacht-modal-panel{
    width:100%!important;
    padding:28px 20px 40px!important;
  }
  .yacht-modal-gallery{
    grid-template-columns:1fr 1fr!important;
  }
  .yacht-modal-gallery .yacht-gallery-exterior{
    grid-column:1/-1!important;
    grid-row:auto!important;
  }
  .yacht-modal-gallery .yacht-gallery-exterior img{
    height:280px!important;
  }
}
@media(max-width:560px){
  .yacht-options-grid{
    grid-template-columns:1fr!important;
  }
}
