/* MSDS Bharat responsive quote forms — compact default, WhatsApp on demand. */
.msds-contact-preference,.msds-whatsapp-row,.msds-country-select-wrap{min-width:0;max-width:100%;box-sizing:border-box}
.msds-contact-preference{display:grid;gap:5px;margin:0;align-content:start}
.msds-contact-preference label,.msds-whatsapp-row label,.msds-country-select-wrap label{display:block;font-weight:650;font-size:13px;line-height:1.3;margin:0 0 5px}
.msds-contact-preference-select,.msds-country-select,.msds-whatsapp-row input[type=tel]{display:block;width:100% !important;max-width:100% !important;min-width:0 !important;min-height:40px;box-sizing:border-box;padding:8px 10px;border:1px solid #b9c8d1;border-radius:8px;background:#fff;color:#172b3c;font:inherit;font-size:14px}
.msds-country-select-wrap{display:grid;gap:0;margin:0 0 8px}
.msds-whatsapp-row[hidden]{display:none !important}
.msds-whatsapp-row{width:100%;grid-column:1/-1}
.mb-field-grid>.msds-contact-preference,.mb-field-grid>.msds-whatsapp-row,.form-grid>.msds-contact-preference,.form-grid>.msds-whatsapp-row{grid-column:1/-1}
.mb-home-form .fg>.msds-contact-preference{grid-column:auto;margin:0}
.mb-home-form .fg>.msds-whatsapp-row{grid-column:1/-1}
.mb-home-form .fg{gap:11px 12px}
.mb-home-form .fg>div label{margin-bottom:4px}
.mb-home-form .msds-contact-preference label{font-size:13px}
.mb-home-form .fg input,.mb-home-form .fg select{min-height:40px}
.mb-home-form .msds-more-details{grid-column:1/-1;margin:0;background:#fffdf9;border:1px solid #eee3d2;border-radius:8px;padding:9px 12px}
.mb-home-form .msds-more-details>summary{font-size:13px;font-weight:650;color:#8b4b11;cursor:pointer}
.mb-home-form .msds-more-details .msds-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.mb-home-form .msds-more-details .msds-extra-grid>*{min-width:0}
.mb-home-form .msds-more-details textarea{min-height:60px;resize:vertical;width:100%}
.mb-home-form .btn-email-form{display:none}
.mb-standard-form .msds-contact-preference{margin:1px 0 6px}
.mb-standard-form .msds-whatsapp-row{margin:0 0 7px}
.batch-sidebar .msds-contact-preference,.sticky-card .msds-contact-preference{margin:4px 0 6px}
.batch-sidebar .mb-form-note,.sticky-card .mb-form-note{font-size:11px;line-height:1.4;margin:6px 0 0}
.batch-sidebar .mb-card-bottom-note{display:none}
.batch-sidebar .mb-card-body h2{margin-bottom:8px}
.batch-sidebar .mb-field-grid,.sticky-card .mb-field-grid{gap:8px}
.batch-sidebar .mb-form-field,.sticky-card .mb-form-field{min-width:0}
.batch-sidebar .mb-form-field input,.batch-sidebar .mb-form-field select,.sticky-card .mb-form-field input,.sticky-card .mb-form-field select{max-width:100%;min-width:0;box-sizing:border-box}
.msds-context-accordion{margin:28px auto;max-width:1200px;border:1px solid #e5d9c7;border-radius:14px;background:#fffdf9;overflow:hidden}
.msds-context-accordion>summary{padding:14px 20px;cursor:pointer;font-size:16px;font-weight:700;color:#1e3346}
.msds-context-accordion>.msds-context-body{padding:0 20px 14px}
.msds-context-accordion .sds-product-detail{margin:0;max-width:none;padding:0;border:0;background:transparent;box-shadow:none}
.msds-review-link{margin:26px auto;padding:16px 18px;border:1px solid #e5d9c7;border-radius:12px;background:#fffdf9;max-width:1200px;line-height:1.5}
.msds-review-link a{font-weight:700;color:#a85016}
@media(max-width:680px){.mb-home-form .fg{display:grid;grid-template-columns:1fr;gap:10px}.mb-home-form .fg>.wide,.mb-home-form .fg>.msds-contact-preference,.mb-home-form .fg>.msds-whatsapp-row{grid-column:1/-1}.mb-home-form .msds-more-details .msds-extra-grid{grid-template-columns:1fr}.msds-context-accordion>summary{padding:13px 15px;font-size:14px}}
/* Sidebar forms: comfortable full-width fields rather than cramped half-width inputs. */
.batch-sidebar .mb-field-grid{display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:8px !important}
.batch-sidebar .mb-field-grid>.mb-form-field{grid-column:1/-1 !important;width:100% !important}
.batch-sidebar .mb-card-email{display:none !important}
.batch-sidebar .mb-card-body{overflow:visible}
.batch-sidebar .mb-card-benefits{margin-bottom:9px}
.batch-sidebar .mb-form-field input,.batch-sidebar .mb-form-field select{width:100% !important;min-height:38px !important;box-sizing:border-box !important}
.batch-sidebar .mb-form-note{margin-top:8px !important}
.mb-home-form .fn{font-size:12px !important;line-height:1.35 !important;margin-top:9px !important}
.msds-home-review .sds-credibility{margin:0 !important;padding:6px 0 0 !important;border:0 !important;box-shadow:none !important;background:transparent !important}
.msds-home-review .sds-credibility-grid{margin-top:12px}
/* Keep the mobile submit button and form unobstructed by the floating chat bubble. */
@media(max-width:680px){body:has(.batch-sidebar) #mb-whatsapp{display:none !important}}

/* 24 Nov second-pass fix: optional WhatsApp is truly collapsed in all legacy form layouts. */
html.mb-consistent form.mb-standard-form.mb-standard-form .msds-whatsapp-row[hidden],
html.mb-consistent form.mb-standard-form.mb-standard-form .mb-form-field.msds-whatsapp-row[hidden],
form .msds-whatsapp-row[hidden], .msds-whatsapp-row[hidden]{display:none !important}
.msds-whatsapp-toggle{grid-column:1/-1;display:flex;align-items:center;gap:7px;margin:2px 0 3px;min-width:0}
.msds-whatsapp-toggle input[type=checkbox]{display:inline-block !important;flex:0 0 16px !important;width:16px !important;min-width:16px !important;max-width:16px !important;height:16px !important;min-height:16px !important;accent-color:#b65b15;padding:0 !important;margin:0 !important}
.msds-whatsapp-toggle label{font:500 12px/1.4 Inter,Arial,sans-serif !important;margin:0 !important;color:inherit !important;cursor:pointer}
.msds-whatsapp-row{grid-column:1/-1 !important;min-width:0}
.msds-whatsapp-row>label{font-size:12px !important;margin:0 0 5px !important}
.msds-phone-grid{display:grid;grid-template-columns:minmax(95px,39%) minmax(0,1fr);gap:8px;align-items:center;min-width:0;width:100%}
.msds-phone-grid>.msds-country-select,.msds-phone-grid>input[type=tel]{min-width:0 !important;width:100% !important;max-width:100% !important;box-sizing:border-box !important}
html.mb-consistent form.mb-standard-form.mb-standard-form .msds-phone-grid>input[type=tel],
html.mb-consistent form.mb-standard-form.mb-standard-form .msds-phone-grid>select{height:36px !important;min-height:36px !important;font-size:12px !important}
/* Remove double scrollbars from the quote card. Normal page scroll only. */
html.mb-consistent body aside.mb-form-card.mb-form-card,
html.mb-consistent body .batch-sidebar.mb-form-card,
html.mb-consistent body .left-rail .sticky-card{max-height:none !important;overflow:visible !important}
/* Compact, balanced homepage quote card */
body.mb-home .fs{padding:20px 23px !important;border-radius:16px}
body.mb-home .fs h3{font-size:23px !important;margin:0 0 13px !important;line-height:1.2}
body.mb-home .mb-home-form .fg{gap:9px 12px !important}
body.mb-home .mb-home-form .fg>div>label{margin:0 0 4px !important;font-size:12px !important}
body.mb-home .mb-home-form .fg input:not([type=checkbox]),body.mb-home .mb-home-form .fg select{min-height:40px !important;padding:9px 11px !important;font-size:14px !important}
body.mb-home .mb-home-form .fg .msds-whatsapp-toggle label{font-size:12px !important;margin:0 !important}
body.mb-home .mb-home-form .btn[type=submit]{margin-top:12px !important;padding:11px !important;min-height:42px !important}
body.mb-home .mb-home-form .fn{margin:8px 0 0 !important;font-size:11px !important}
/* Sidebar: keep essential name/email/product fields visible, other details optional. */
html.mb-consistent .batch-sidebar .mb-field-grid{display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:9px 9px !important}
html.mb-consistent .batch-sidebar .mb-field-grid>.mb-form-field{min-width:0 !important;width:auto !important;grid-column:auto !important}
html.mb-consistent .batch-sidebar .mb-field-grid>.mb-form-field:has([name="product"]),
html.mb-consistent .batch-sidebar .mb-field-grid>.mb-full,
html.mb-consistent .batch-sidebar .mb-field-grid>.msds-whatsapp-toggle,
html.mb-consistent .batch-sidebar .mb-field-grid>.msds-whatsapp-row{grid-column:1/-1 !important}
html.mb-consistent .batch-sidebar .mb-card-body{padding:11px 13px 13px !important}
html.mb-consistent .batch-sidebar .mb-card-body>h2{margin:0 0 9px !important}
html.mb-consistent .batch-sidebar .mb-card-benefits{margin-bottom:8px !important}
html.mb-consistent .batch-sidebar .mb-form-field>label{font-size:11px !important}
html.mb-consistent .batch-sidebar .msds-whatsapp-toggle{margin:1px 0 0}
html.mb-consistent .batch-sidebar .mb-optional-details{margin:5px 0 0 !important}
html.mb-consistent .batch-sidebar .mb-optional-details>.mb-form-field:first-child{margin:7px 0 !important}
html.mb-consistent .batch-sidebar .mb-form-note{font-size:10px !important;margin:6px 0 0 !important}
html.mb-consistent .batch-sidebar .mb-form-submit{margin:8px 0 0 !important}
@media(max-width:640px){
  body.mb-home .fs{padding:17px !important}
  html.mb-consistent .batch-sidebar .mb-field-grid{grid-template-columns:minmax(0,1fr) !important}
  html.mb-consistent .batch-sidebar .mb-field-grid>.mb-form-field{grid-column:1/-1 !important}
  html.mb-consistent .batch-sidebar .mb-form-field>label{font-size:12px !important}
  html.mb-consistent .batch-sidebar .msds-phone-grid{grid-template-columns:minmax(100px,42%) minmax(0,1fr)}
}


/* Mandatory international mobile + Email-first CTA (Nov 24). */
.msds-required-mobile,.msds-reply-preference{grid-column:1/-1!important;min-width:0;width:100%;box-sizing:border-box}
.msds-required-mobile,.msds-required-mobile[hidden]{display:block!important;visibility:visible!important}
.msds-required-mobile>label{display:block!important;margin:0 0 5px!important;line-height:1.3!important;font-weight:700!important;font-size:12px!important}
.msds-required-mobile .msds-phone-grid{display:grid!important;grid-template-columns:minmax(100px,39%) minmax(0,1fr)!important;gap:8px!important;align-items:center!important;min-width:0;width:100%}
.msds-required-mobile .msds-phone-grid>.msds-country-select,.msds-required-mobile .msds-phone-grid>input[type=tel]{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;height:40px!important;min-height:40px!important;padding:7px 9px!important;font-size:13px!important;border:1px solid #bfcbd4!important;border-radius:8px!important}
.msds-required-mobile .msds-phone-grid>.msds-country-select{background:#fff!important;color:#192d40!important;text-overflow:ellipsis}
.msds-reply-preference{display:flex!important;align-items:center!important;gap:7px!important;margin:6px 0 2px!important}
.msds-reply-preference input[type=checkbox]{display:block!important;min-width:16px!important;width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;accent-color:#b96a14!important;margin:0!important;padding:0!important}
.msds-reply-preference label{display:inline!important;font-size:12px!important;font-weight:500!important;line-height:1.3!important;margin:0!important;cursor:pointer!important}
.msds-whatsapp-toggle{display:none!important}
/* Email remains the primary call to action on service, product and blog quote cards. */
html.mb-consistent .batch-sidebar a.mb-card-email, .batch-sidebar a.mb-card-email{display:flex!important;justify-content:center!important;align-items:center!important;background:#ffc431!important;color:#172029!important;border:1px solid #ffc431!important;border-radius:9px!important;width:100%!important;min-height:40px!important;text-decoration:none!important;font-size:14px!important;font-weight:800!important;margin:7px 0 11px!important}
html.mb-consistent .batch-sidebar a.mb-card-email:hover, .batch-sidebar a.mb-card-email:hover{background:#ffb814!important;border-color:#ffb814!important}
.batch-hero-actions a.batch-btn:first-child{font-weight:800!important}
/* Keep sidebar form compact and remove internal scrolling. */
html.mb-consistent .batch-sidebar.mb-form-card,html.mb-consistent .batch-sidebar.mb-form-card .mb-card-body{max-height:none!important;overflow:visible!important}
html.mb-consistent .batch-sidebar .mb-field-grid>.msds-required-mobile,
html.mb-consistent .batch-sidebar .mb-field-grid>.msds-reply-preference{grid-column:1/-1!important}
html.mb-consistent .batch-sidebar .mb-field-grid{row-gap:8px!important}
html.mb-consistent .batch-sidebar .mb-card-body>h2{font-size:20px!important;margin:7px 0 10px!important}
body.mb-home .mb-home-form .fg>.msds-required-mobile,body.mb-home .mb-home-form .fg>.msds-reply-preference{grid-column:1/-1!important}
body.mb-home .msds-required-mobile>label{font-size:12px!important}
@media(max-width:440px){.msds-required-mobile .msds-phone-grid{grid-template-columns:minmax(105px,42%) minmax(0,1fr)!important;gap:7px!important}.msds-required-mobile .msds-phone-grid>.msds-country-select,.msds-required-mobile .msds-phone-grid>input[type=tel]{font-size:12px!important;padding:7px!important}}

/* Final CTA hierarchy: bright Email Us, understated quote-form submit. */
html.mb-consistent .batch-sidebar .mb-form-submit,.batch-sidebar button.mb-form-submit{background:#fff8e8!important;color:#182230!important;border:1px solid #d3aa55!important;min-height:36px!important;padding:8px 12px!important;font-size:12px!important;font-weight:700!important;border-radius:8px!important}
html.mb-consistent .batch-sidebar .mb-form-submit:hover,.batch-sidebar button.mb-form-submit:hover{background:#ffefd0!important}
.batch-sidebar details.mb-optional-details .msds-reply-preference{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:8px!important;align-items:center!important;margin:8px 0 0!important;width:100%!important}
.batch-sidebar details.mb-optional-details .msds-reply-preference input[type=checkbox]{flex:0 0 16px!important;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;appearance:auto!important}
.batch-sidebar details.mb-optional-details .msds-reply-preference label{flex:1 1 auto!important;width:auto!important;white-space:normal!important;font-size:12px!important;font-weight:500!important;margin:0!important}

/* Override older high-specificity golden submit styling; email CTA stays dominant. */
html.mb-consistent .batch-sidebar form.mb-standard-form.mb-standard-form button.mb-form-submit{background:#fff8e8!important;color:#182230!important;border:1px solid #d3aa55!important;font-weight:700!important}
