/* ============================================================
   IEP QUOTE — Estilos del sistema de cotizacion
   Boton "Agregar a cotizacion" (nativo de WooCommerce, reetiquetado): dorado degradado
   Boton "Consultar por WhatsApp": oscuro
   Burbuja flotante (icono de sobre): dorado degradado
   Desarrollado por Blue Ark Solutions
   ============================================================ */

/* ---- Boton nativo de WooCommerce reetiquetado como "Agregar a cotizacion" ---- */
.woocommerce a.single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce a.add_to_cart_button,
.woocommerce button.add_to_cart_button {
  background: linear-gradient(135deg, var(--iep-gold-start, #D9BC6E), var(--iep-gold-end, #B89550)) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-family: var(--fuente-sans, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 13px 28px;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}
/* Fijo en todos los estados: sin cambio de color en hover, focus o despues de un clic */
.woocommerce a.single_add_to_cart_button:hover,
.woocommerce a.single_add_to_cart_button:focus,
.woocommerce a.single_add_to_cart_button:active,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:focus,
.woocommerce button.single_add_to_cart_button:active,
.woocommerce a.add_to_cart_button:hover,
.woocommerce a.add_to_cart_button:focus,
.woocommerce a.add_to_cart_button:active,
.woocommerce button.add_to_cart_button:hover,
.woocommerce button.add_to_cart_button:focus,
.woocommerce button.add_to_cart_button:active {
  background: linear-gradient(135deg, var(--iep-gold-start, #D9BC6E), var(--iep-gold-end, #B89550)) !important;
  color: #FFFFFF !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ---- Botones genericos del sistema de cotizacion (WhatsApp, primario en pagina de cotizacion) ---- */
.iep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: var(--fuente-sans, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  padding: 13px 28px;
  cursor: pointer;
  margin-top: 10px;
  box-sizing: border-box;
}

/* WhatsApp: oscuro, sin cambio en hover */
.iep-btn--whatsapp {
  background-color: var(--iep-oscuro, #1B212B);
  color: #FFFFFF;
}

/* Boton primario (usado en la pagina de cotizacion: enviar solicitud, etc.) */
.iep-btn--primary {
  background: linear-gradient(135deg, var(--iep-gold-start, #D9BC6E), var(--iep-gold-end, #B89550));
  color: #FFFFFF;
  outline: none;
  box-shadow: none;
}
.iep-btn--primary:hover,
.iep-btn--primary:focus,
.iep-btn--primary:active {
  background: linear-gradient(135deg, var(--iep-gold-start, #D9BC6E), var(--iep-gold-end, #B89550)) !important;
  color: #FFFFFF !important;
  outline: none !important;
  box-shadow: none !important;
}
.iep-btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.iep-btn--lg { padding: 15px 32px; font-size: 13px; }

/* ---- Burbuja flotante ---- */
.iep-quote-bubble {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--iep-gold-start, #D9BC6E), var(--iep-gold-end, #B89550));
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(27, 33, 43, 0.25);
  z-index: 9999;
}
/* Fijo en todos los estados: sin cambio de color en hover, focus, active o visitado */
.iep-quote-bubble:hover,
.iep-quote-bubble:focus,
.iep-quote-bubble:active,
.iep-quote-bubble:visited {
  background: linear-gradient(135deg, var(--iep-gold-start, #D9BC6E), var(--iep-gold-end, #B89550)) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(27, 33, 43, 0.25) !important;
  transform: none !important;
}
.iep-quote-bubble svg,
.iep-quote-bubble:hover svg,
.iep-quote-bubble:focus svg,
.iep-quote-bubble:active svg,
.iep-quote-bubble:visited svg {
  stroke: #FFFFFF !important;
  fill: none !important;
}
.iep-bubble-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--iep-badge-bg, #e53e3e);
  color: var(--iep-badge-text, #FFFFFF);
  font-family: var(--fuente-sans, 'DM Sans', sans-serif);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0 4px;
  box-sizing: border-box;
}

/* ---- Pagina de cotizacion ([iep_quote_page]) ---- */
.iep-quote-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.iep-quote-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--texto-suave, #6B7280);
}
.iep-quote-summary-title,
.iep-quote-form-title {
  font-family: var(--fuente-serif, 'Cormorant Garamond', serif);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--oscuro, #1B212B);
  margin-bottom: 20px;
  font-weight: 600;
}
.iep-quote-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}
.iep-quote-table tr {
  border-bottom: 1px solid var(--borde, #E2E8EA);
}
.iep-quote-item-img img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}
.iep-quote-item-name {
  font-family: var(--fuente-sans, 'DM Sans', sans-serif);
  color: var(--oscuro, #1B212B);
  padding: 12px;
}
.iep-quote-item-qty {
  font-family: var(--fuente-sans, 'DM Sans', sans-serif);
  font-size: 13px;
  color: var(--texto-suave, #6B7280);
  white-space: nowrap;
}
.iep-quote-item-remove a {
  font-size: 12px;
  color: #b91c1c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.iep-quote-form-wrap {
  border-top: 1px solid var(--borde, #E2E8EA);
  padding-top: 32px;
}
.iep-form-field {
  margin-bottom: 18px;
}
.iep-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.iep-form-row .iep-form-field {
  margin-bottom: 0;
}
.iep-form-field label {
  display: block;
  font-family: var(--fuente-sans, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--oscuro, #1B212B);
  margin-bottom: 6px;
}
.iep-form-field span { color: #b91c1c; }
#iep-quote-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  background: #FEF2F2;
  color: #b91c1c;
  font-size: 13px;
}
.iep-quote-success {
  text-align: center;
  padding: 60px 20px;
  font-family: var(--fuente-serif, 'Cormorant Garamond', serif);
  font-size: 22px;
  color: var(--oscuro, #1B212B);
}

@media (max-width: 640px) {
  .iep-quote-bubble { width: 50px; height: 50px; bottom: 16px; left: 16px; }
  .iep-quote-item-img img { width: 48px; height: 48px; }
  .iep-form-row { grid-template-columns: 1fr; gap: 18px; }
}
