/*
Theme Name: Meval
Theme URI: https://meval.com.pe
Author: Meval
Description: Tema de Meval Estudio Contable. Conserva el HTML original y permite editar cada página con Elementor.
Version: 1.0.0
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: meval
*/

/* El diseño vive en /html/assets/css/style.css.
   Aquí solo se anula el marco que Elementor agrega alrededor del HTML. */

body.meval-site .elementor,
body.meval-site .elementor-section,
body.meval-site .elementor-container,
body.meval-site .elementor-column,
body.meval-site .elementor-widget-wrap,
body.meval-site .elementor-widget-container,
body.meval-site .elementor-widget-html,
body.meval-site .elementor-element,
body.meval-site .e-con,
body.meval-site .e-con-inner {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --margin-top: 0px;
  --margin-right: 0px;
  --margin-bottom: 0px;
  --margin-left: 0px;
  --gap: 0px;
  --widgets-spacing: 0px;
  --container-max-width: 100%;
  --content-width: 100%;
}

body.meval-site .e-con,
body.meval-site .elementor-widget-wrap,
body.meval-site .elementor-widget-container,
body.meval-site .elementor-widget-html,
body.meval-site [class*="elementor-widget-meval"] {
  overflow: visible;
  --flex-wrap: nowrap;
  min-width: 0;
}

/* El marco de Elementor no debe cambiar el diseño de cada bloque. */
body.meval-site .elementor > .e-con,
body.meval-site [class*="elementor-widget-meval"] {
  display: contents !important;
}

body.meval-site .elementor-widget:not(:last-child) {
  margin-block-end: 0;
}

body.meval-site .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: none;
}

/* La barra de WordPress queda fija arriba. El menú baja para no quedar debajo. */
@media screen {
  body.admin-bar .site-header {
    top: 32px;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.contact-form__form.init .wpcf7-response-output,
.contact-form__form .hidden-fields-container {
  display: none;
}

.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
.contact-form__form .wpcf7-form-control-wrap,
.contact-form__form .wpcf7-acceptance {
  display: block;
}

.contact-form__form .wpcf7-list-item {
  display: inline-flex;
  margin: 0;
}

.contact-form__form .wpcf7-form-control-wrap:has(input[type="hidden"]) {
  display: none;
}

.contact-form__form .wpcf7-not-valid-tip {
  color: #9b2c2c;
  font-size: 0.8rem;
}

.contact-form__form .wpcf7-response-output {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #e8f5ee;
  border: 1px solid #b7e0c7 !important;
  color: #1a7a4c;
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: center;
}

.contact-form__form.invalid .wpcf7-response-output,
.contact-form__form.failed .wpcf7-response-output,
.contact-form__form.aborted .wpcf7-response-output {
  background: #fdecec;
  border-color: #f0c2c2 !important;
  color: #9b2c2c;
}

.contact-form__form input.wpcf7-submit {
  appearance: none;
  cursor: pointer;
}

.contact-form__form input.wpcf7-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.contact-form__form .wpcf7-spinner {
  display: block;
  margin: 0.6rem auto 0;
}

.meval-izipay-mount {
  margin-top: 0.85rem;
}

.meval-izipay-mount[hidden] {
  display: none !important;
}

.meval-izipay-status {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #fdecec;
  border: 1px solid #f0c2c2;
  color: #9b2c2c;
  font-size: 0.86rem;
  line-height: 1.4;
}

.meval-izipay-status[hidden] {
  display: none !important;
}

.meval-izipay-status.is-info {
  background: #eef4ff;
  border-color: #c9d9f5;
  color: #16325c;
}

.legal-form .wpcf7-form-control-wrap {
  display: block;
}

.legal-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.legal-form .wpcf7-list-item {
  display: inline-flex;
  margin: 0;
}

.legal-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}

.legal-form .wpcf7-list-item input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--navy);
}

.pago-methods__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pago-izipay .pago-transfer__note,
#izipayPayBtn[hidden],
#checkoutSubmitBtn[hidden],
.pago-confirm-check[hidden],
#pagoSubmitHint[hidden] {
  display: none !important;
}

.pago-method__card strong {
  line-height: 1.25;
}

.site-footer .widget,
.header-widgets .widget,
.svc-aside-widgets .widget {
  margin: 0;
}

.header-widgets {
  padding: 0 0 1rem;
}

.svc-aside-widgets {
  margin-top: 0.75rem;
}

.meval-izipay-mount .kr-embedded,
.meval-izipay-mount .kr-pan,
.meval-izipay-mount .kr-expiry,
.meval-izipay-mount .kr-security-code {
  max-width: 100%;
}

.legal-form .contact-form__check .wpcf7-form-control-wrap,
.legal-form .contact-form__check .wpcf7-acceptance,
.legal-form .contact-form__check .wpcf7-list-item {
  display: inline-flex;
}
