/* Scoped to the existing product enquiry form. */
[data-purchase-legacy-form] {display:none!important;}
#ymg-enquiry-form.ymg-purchase-adapted {box-sizing:border-box;min-width:0;margin:0;padding:26px;background:#f6f8f5;color:#102b32;border:1px solid #c6d4d0;}
#ymg-enquiry-form.ymg-purchase-adapted .ymg-enquiry-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
#ymg-enquiry-form.ymg-purchase-adapted .ymg-enquiry-wide {grid-column:1/-1;}
#ymg-enquiry-form.ymg-purchase-adapted .ymg-enquiry-field {min-width:0;}
#ymg-enquiry-form.ymg-purchase-adapted .ymg-enquiry-field>label {display:block;margin:0 0 8px;font-size:14px;font-weight:600;}
#ymg-enquiry-form.ymg-purchase-adapted .ymg-enquiry-field :is(input,textarea) {box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:12px;border:1px solid #c6d4d0;border-radius:5px;background:#fff;color:#102b32;font:inherit;}
#ymg-enquiry-form.ymg-purchase-adapted .ymg-enquiry-submit {width:100%;min-height:48px;margin-top:20px;padding:12px;border:0;border-radius:5px;background:#2d6b5e;color:#fff;font:700 16px/1.5 Aptos,"Segoe UI Variable Text",sans-serif;cursor:pointer;}
#ymg-enquiry-form.ymg-purchase-adapted :is(.ymg-enquiry-status,.ymg-enquiry-privacy,#ymg-requirements-help) {font-size:12px;line-height:1.6;color:#53656b;}
#ymg-enquiry-form.ymg-purchase-adapted .ymg-enquiry-honeypot {position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
@media(max-width:600px){#ymg-enquiry-form.ymg-purchase-adapted {padding:18px;}#ymg-enquiry-form.ymg-purchase-adapted .ymg-enquiry-fields {grid-template-columns:minmax(0,1fr);}}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase {
  box-sizing:border-box; grid-column:1 / -1; min-inline-size:0; width:100%; max-width:100%;
  margin:12px 0 20px; padding:18px 0 0; border:0; border-top:1px solid #cfdbd4; color:#102b32;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase legend {
  float:none; width:auto; max-width:100%; margin:0 0 14px; padding:0 8px 0 0;
  font:700 15px/1.5 Aptos,"Segoe UI Variable Text",sans-serif; color:#102b32;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-fields {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; min-width:0;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase label {
  box-sizing:border-box; display:block; min-width:0; max-width:100%; margin:0;
  font:600 14px/1.5 Aptos,"Segoe UI Variable Text",sans-serif; color:#102b32; overflow-wrap:anywhere;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase :is(select,input[type="text"],textarea),
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-notes input {
  display:block; box-sizing:border-box; width:100%; min-width:0; max-width:100%; min-height:46px;
  margin:8px 0 0; padding:10px 12px; border:1px solid #c6d4d0; border-radius:5px;
  background:#fff; color:#102b32; font:400 16px/1.5 Aptos,"Segoe UI Variable Text",sans-serif;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase [hidden] { display:none !important; }
#ymg-enquiry-form[data-ymg-purchase] [data-purchase-help] {
  margin:12px 0; color:#53656b; font:400 13px/1.65 Aptos,"Segoe UI Variable Text",sans-serif; overflow-wrap:anywhere;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-summary {
  margin:12px 0; padding:14px 16px; border-radius:5px; background:#e7ede8; color:#102b32;
  font:650 14px/1.65 Aptos,"Segoe UI Variable Text",sans-serif; overflow-wrap:anywhere;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-source > span {
  display:block; margin-top:4px; color:#53656b;
  font:400 13px/1.5 Aptos,"Segoe UI Variable Text",sans-serif;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase :is(a,[data-purchase-request-docs]) {
  box-sizing:border-box; display:inline-flex; align-items:center; max-width:100%; min-height:44px;
  padding:7px 0; border:0; border-radius:0; background:transparent; color:#24584d;
  font:600 14px/1.6 Aptos,"Segoe UI Variable Text",sans-serif; text-align:left; text-decoration:underline;
  text-underline-offset:3px; cursor:pointer; overflow-wrap:anywhere;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-questions {
  border-block:1px solid #cfdbd4; margin:16px 0 0; padding:5px 0; min-width:0;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-questions > summary {
  display:flex; align-items:center; gap:8px; min-height:44px; list-style:none; cursor:pointer;
  color:#102b32; font:600 14px/1.5 Aptos,"Segoe UI Variable Text",sans-serif;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-questions > summary::-webkit-details-marker { display:none; }
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-questions > summary::after { content:"+"; margin-left:auto; font-size:20px; color:#2d6b5e; }
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-questions[open] > summary::after { content:"−"; }
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-questions label {
  display:flex; align-items:center; gap:10px; min-height:44px; padding:6px 0; font-weight:400; cursor:pointer;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase input[type="checkbox"] {
  flex:0 0 18px; width:18px; height:18px; min-height:0; margin:0; accent-color:#2d6b5e;
}
#ymg-enquiry-form[data-ymg-purchase] .ymg-purchase :is(a,button,summary,select,input,textarea):focus-visible {
  outline:3px solid #407cbb; outline-offset:3px;
}
@media(max-width:600px) {
  #ymg-enquiry-form[data-ymg-purchase] .ymg-purchase-fields { grid-template-columns:minmax(0,1fr); gap:14px; }
  #ymg-enquiry-form[data-ymg-purchase] .ymg-purchase { margin-block:8px 16px; }
}
