/*
Theme Name: Modave Child
Description: Child theme for Modave.
Author: Manuel Castillo
Template: modave
Version: 1.0.1
Text Domain: modave-child
*/

.pls-copyright-wrap > div > p {
    margin-top: 12px;
}
@media (max-width: 767px) {
    .pls-sale-notification-popup {
        display: none;
    }
}
label {
    color: #A0A0A0;
}
.wpcf7-form label input, .wpcf7-form label textarea, .wpcf7-form label select
 {
    margin-top: 0px;
}
#billing_country_field {
    display: none !important;
}
#shipping_country_field {
    display: none !important;
}
.woocommerce .col2-set, .woocommerce-page .col2-set {
    margin-bottom: 20px;
}
.woocommerce .widget_shopping_cart .buttons a, .woocommerce.widget_shopping_cart .buttons a {
    text-transform: uppercase;
}
#add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .place-order .button {
    text-transform: uppercase;
}
.woocommerce-cart-wrapper .actions .coupon .button {
    text-transform: uppercase;
}
.button, .btn, button, input[type="button"], input[type="submit"]
 {
    text-transform: uppercase !important;
}
.pls-testimonial-product .pls-product-image {
    max-height: 60px;
}
.wpcf7-list-item {
    margin: 0 0 0 0;
}





/* ===== FORMULARIO NEWSLETTER POPUP - CONTACT FORM 7 ===== */

.newsletter-popup-cf7 {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.newsletter-popup-cf7 p {
  margin: 0;
}

.newsletter-popup-cf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* INPUT + BOTÓN */
.newsletter-inline {
  position: relative;
  width: 100%;
  margin-top: 20px;
  padding-bottom: 34px; /* reserva espacio para el error */
}

.newsletter-inline .newsletter-input {
  display: block;
  width: 100%;
}

.newsletter-inline input[type="email"] {
  width: 100%;
  height: 64px;
  padding: 0 78px 0 22px;
  border-radius: 40px;
  border: 2px solid #dedede;
  background: #f5f5f5;
  font-size: 18px;
  font-weight: 400;
  color: #6f6f6f;
  box-sizing: border-box;
  outline: none;
  box-shadow: none;
  transition: all 0.25s ease;
}

.newsletter-inline input[type="email"]::placeholder {
  color: #9a9a9a;
}

.newsletter-inline input[type="email"]:focus {
  background: #fff;
  border-color: #cfcfcf;
}

.newsletter-arrow {
  position: absolute;
  top: 32px; /* mitad de 64px */
  right: 8px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #000;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  z-index: 3;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.newsletter-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  opacity: 0.95;
}

/* ERROR DEL CAMPO */
.newsletter-inline .wpcf7-not-valid-tip {
  position: absolute;
  left: 0;
  top: 74px;
  width: 100%;
  font-size: 13px;
  line-height: 1.3;
  color: #dc3232;
  margin: 0;
}

/* borde rojo si hay error */
.newsletter-inline .wpcf7-not-valid {
  border-color: #dc3232 !important;
}

/* CONSENTIMIENTO */
.newsletter-consent {
  margin-top: 8px;
  width: 100%;
}

.newsletter-consent .wpcf7-list-item {
  margin: 0 !important;
  display: block;
}

.newsletter-consent .wpcf7-list-item-label {
  display: inline;
}

.newsletter-consent label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.45;
  cursor: pointer;
}

.newsletter-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  flex: 0 0 22px;
  margin: 0 !important;
  border: 2px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  top: 2px;
}

.newsletter-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.newsletter-consent .wpcf7-list-item-label {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #5f5f5f;
  margin: 0 !important;
  padding: 0 !important;
}

/* MENSAJE GENERAL */
.newsletter-popup-cf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.newsletter-popup-cf7 .wpcf7-spinner {
  position: absolute;
  margin: 0;
  right: -30px;
  top: 32px;
  transform: translateY(-50%);
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .newsletter-popup-cf7 {
    padding: 0 18px;
  }

  .newsletter-inline {
    margin-top: 16px;
    padding-bottom: 32px;
  }

  .newsletter-inline input[type="email"] {
    height: 58px;
    padding: 0 68px 0 18px;
    font-size: 16px;
    border-radius: 30px;
  }

  .newsletter-arrow {
    width: 44px;
    height: 44px;
    right: 7px;
    top: 29px; /* mitad de 58px */
  }

  .newsletter-inline .wpcf7-not-valid-tip {
    top: 66px;
    font-size: 12px;
  }

  .newsletter-consent {
    margin-top: 10px;
  }

  .newsletter-consent label {
    gap: 10px;
  }

  .newsletter-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex: 0 0 20px;
  }

  .newsletter-consent input[type="checkbox"]:checked::after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
  }

  .newsletter-consent .wpcf7-list-item-label {
    font-size: 13px;
    line-height: 1.45;
  }

  .newsletter-popup-cf7 .wpcf7-spinner {
    top: 29px;
  }
}




/* =========================
   NEWSLETTER FOOTER CF7
========================= */

.newsletter-footer-form {
  width: 100%;
  max-width: 420px;
}

.newsletter-footer-form p {
  margin: 0 0 12px;
}

/* INPUT EMAIL */
.newsletter-footer-form input[type="email"] {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1.5px solid #d9d9d9;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.2;
  color: #555;
  background: #fff;
  box-sizing: border-box;
}

.newsletter-footer-form input[type="email"]::placeholder {
  color: #9a9a9a;
}

/* BLOQUE CONSENTIMIENTO */
.newsletter-footer-form .wpcf7-acceptance {
  display: block;
  margin: 10px 0 14px;
}

.newsletter-footer-form .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.newsletter-footer-form .wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

/* CHECKBOX */
.newsletter-footer-form .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  border: 1.5px solid #c8c8c8;
  border-radius: 5px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}

.newsletter-footer-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* TEXTO CONSENTIMIENTO */
.newsletter-footer-form .wpcf7-acceptance .wpcf7-list-item-label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #555;
  margin: 0;
  padding: 0;
}

/* BOTÓN */
.newsletter-footer-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 42px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.newsletter-footer-form .wpcf7-submit:hover {
  opacity: 0.9;
}

/* MENSAJES DE VALIDACIÓN */
.newsletter-footer-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
}

.newsletter-footer-form .wpcf7-response-output {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.4;
}

/* SI EL BOTÓN SE DESCUADRA POR ERRORES */
.newsletter-footer-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .newsletter-footer-form {
    max-width: 100%;
  }

  .newsletter-footer-form input[type="email"] {
    height: 44px;
    font-size: 14px;
    padding: 0 14px;
  }

  .newsletter-footer-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 12px;
    line-height: 1.45;
  }

  .newsletter-footer-form .wpcf7-submit {
    min-width: 150px;
    height: 40px;
    font-size: 13px;
    padding: 0 18px;
  }

}

	/* Boton chat Movil */
	@media (max-width: 768px) { .listeo-floating-chat-button { bottom: 30px; right: 26px } }
