/* ===== Vedha Group – static site layout fixes ===== */

/* form spam trap (hidden from people) + result message */
.pym-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pym-msg { display: none; margin: 0 0 18px; padding: 13px 16px; border-radius: 8px; font-size: 15px; line-height: 1.5; }
.pym-msg.is-ok { background: #e8f6ec; color: #17602e; border: 1px solid #9bd3ab; }
.pym-msg.is-err { background: #fdecee; color: #9b1c2c; border: 1px solid #f1a9b3; }
.pym-msg.is-closed { background: #fff6e0; color: #6b4a00; border: 1px solid #ecc96b; }
.pym-closed .gform_body, .pym-closed .gform_footer { opacity: .5; }
.pym-closed input, .pym-closed textarea, .pym-closed button { cursor: not-allowed; }
.gform_wrapper .pym-tip { color: #c62828 !important; font-size: 13px; margin-top: 4px; }
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error textarea { border-color: #ff6b81 !important; }


/* contact form: readable placeholders */
.gform_wrapper input::placeholder, .gform_wrapper textarea::placeholder { color: #6b7a78 !important; opacity: 1 !important; }



/* "What is a + b?" spam check field */
.pym-sum { margin-top: 6px; }
.pym-sum .gfield_label { display: block !important; position: static !important; clip: auto !important; width: auto !important; height: auto !important; font-size: 15px; margin-bottom: 6px; color: #f2f2f2; font-weight: 600; }
.pym-sum input { max-width: 220px; }



/* ===== Vedha Group ===== */
/* one content width everywhere: 1300px max / 90% of the screen; full-width rows (slider, backgrounds) stay edge to edge */
.grve-container { width: 90% !important; max-width: 1300px !important; }
#grve-top-bar .grve-container, #grve-inner-header .grve-container, #grve-footer .grve-container { width: 90% !important; max-width: 1300px !important; }

/* phones: export products keep the TABS (not a long accordion) and show 2 products per row */
@media (max-width: 767px) {
  .vc_tta.vc_tta-tabs .vc_tta-tabs-container { display: block !important; margin-bottom: 18px; }
  .vc_tta.vc_tta-tabs .vc_tta-tabs-list { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .vc_tta.vc_tta-tabs .vc_tta-tabs-list .vc_tta-tab { margin: 0 !important; }
  .vc_tta.vc_tta-tabs .vc_tta-panel .vc_tta-panel-heading { display: none !important; }
  .vc_tta.vc_tta-tabs .vc_tta-panel:not(.vc_active) .vc_tta-panel-body { display: none !important; }
  .vc_tta.vc_tta-tabs .vc_tta-panel.vc_active .vc_tta-panel-body { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
  .vc_tta-panel.vc_active .vc_tta-panel-body { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
  .vc_tta-panel-body > .grve-row, .vc_tta-panel-body > .grve-row > .grve-container, .vc_tta-panel-body .grve-row .grve-column-wrapper { display: contents !important; }
  .vc_tta-panel-body .grve-column-1-5, .vc_tta-panel-body .grve-column-1-4 { width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; }
  .vc_tta-panel-body .grve-column-1-5:empty, .vc_tta-panel-body .ult-spacer { display: none !important; }
  .vc_tta-panel-body .grve-text h4, .vc_tta-panel-body .grve-text h5, .vc_tta-panel-body .grve-text p { font-size: 15px !important; }
  .grve-text p, .wpb_text_column p { text-align: left !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .vc_tta-panel-body .grve-column-1-5 { width: 33.333% !important; }
}
/* phones: header logo readable, centred in the bar with the menu button */
@media (max-width: 1023px) {
  #grve-inner-header .grve-logo img { height: 48px !important; width: auto !important; max-height: none !important; }
  #grve-inner-header .grve-container { display: flex !important; align-items: center; justify-content: space-between; }
}
