/* ========================================
   PÁGINA DE CONFIRMACIÓN DE PEDIDO - DISEÑO ELEGANTE
   ======================================== */

/* Contenedor principal de la página de confirmación */
.woocommerce-order-received .woocommerce-order {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Título principal "Pedido recibido" - Diseño Premium */
.woocommerce-order-received .woocommerce-notice--success,
.woocommerce-order-received .woocommerce-message {
  background: linear-gradient(135deg, #83bd01 0%, #6ba300 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 48px 40px !important;
  text-align: center !important;
  box-shadow: 0 20px 40px rgba(131, 189, 1, 0.3), 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 50px !important;
  position: relative !important;
  overflow: hidden !important;
  transform: translateY(0) !important;
  transition: all 0.3s ease !important;
  min-height: 120px !important;
}

/* Efectos de hover para la cabecera */
.woocommerce-order-received .woocommerce-notice--success:hover,
.woocommerce-order-received .woocommerce-message:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(131, 189, 1, 0.4), 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Patrón de fondo decorativo */
.woocommerce-order-received .woocommerce-notice--success::after,
.woocommerce-order-received .woocommerce-message::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.03) 20px
  );
  pointer-events: none;
  z-index: 1;
}

/* Layout de dos columnas usando flexbox */
.woocommerce-order-received .dircom-order-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.woocommerce-order-received .dircom-main-content {
  flex: 2;
  min-width: 0;
}

.woocommerce-order-received .dircom-sidebar-content {
  flex: 1;
  max-width: 400px;
  position: sticky;
  top: 20px;
}

/* Estilos específicos para el sidebar */
.woocommerce-order-received
  .dircom-sidebar-content
  .woocommerce-customer-details {
  margin-bottom: 0;
}

/* Ocultar la facturación por defecto que aparece duplicada */
.woocommerce-order-received .dircom-main-content .woocommerce-customer-details {
  display: none !important;
}

/* Ocultar cualquier facturación que no esté en el sidebar */
.woocommerce-order-received
  .woocommerce-customer-details:not(.dircom-sidebar-content *) {
  display: none !important;
}

/* Ocultar específicamente la sección duplicada de customer details */
.woocommerce-order-received
  .woocommerce-order
  .woocommerce-customer-details:not(
    .dircom-sidebar-content .woocommerce-customer-details
  ) {
  display: none !important;
}

/* Selector más específico para la facturación que aparece en el contenido principal */
.woocommerce-order-received
  .dircom-main-content
  + .woocommerce-customer-details {
  display: none !important;
}

/* Ocultar customer details fuera del layout de dos columnas */
.woocommerce-order-received
  .dircom-order-layout
  ~ .woocommerce-customer-details {
  display: none !important;
}

/* Icono de éxito mejorado */
.woocommerce-order-received .woocommerce-notice--success::before,
.woocommerce-order-received .woocommerce-message::before,
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-notice--success::before,
body.woocommerce-order-received .woocommerce-order .woocommerce-message::before,
body .woocommerce-order-received .woocommerce-notice--success::before,
body .woocommerce-order-received .woocommerce-message::before {
  content: "✓" !important;
  position: absolute !important;
  top: 24px !important;
  right: 32px !important;
  font-size: 48px !important;
  font-weight: bold !important;
  opacity: 0.3 !important;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  ) !important;
  border-radius: 50% !important;
  width: 80px !important;
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
  animation: successPulse 2s ease-in-out infinite !important;
  color: white !important;
  font-family: Arial, sans-serif !important;
}

/* Animación del icono de éxito */
@keyframes successPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
}

/* Texto principal mejorado */
.woocommerce-order-received .woocommerce-notice--success strong,
.woocommerce-order-received .woocommerce-message strong {
  font-size: 32px !important;
  font-weight: 800 !important;
  display: block !important;
  margin-bottom: 12px !important;
  position: relative !important;
  z-index: 3 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  letter-spacing: 0.5px !important;
  color: white !important;
}

/* Mensaje secundario */
.woocommerce-order-received .woocommerce-notice--success,
.woocommerce-order-received .woocommerce-message {
  font-size: 16px !important;
  line-height: 1.6 !important;
  position: relative !important;
  z-index: 3 !important;
  color: white !important;
}

/* Forzar estilos del texto principal */
.woocommerce-order-received .woocommerce-notice--success p,
.woocommerce-order-received .woocommerce-message p {
  color: white !important;
  font-size: 16px !important;
  margin: 0 !important;
}

/* Selector más específico para el texto principal */
.woocommerce-order-received .woocommerce-notice--success strong,
.woocommerce-order-received .woocommerce-message strong,
.woocommerce-order-received .woocommerce-notice--success b,
.woocommerce-order-received .woocommerce-message b {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: white !important;
  display: block !important;
  margin-bottom: 12px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  letter-spacing: 0.5px !important;
}

/* Selectores súper específicos para forzar el estilo */
body.woocommerce-order-received .woocommerce-order .woocommerce-notice--success,
body.woocommerce-order-received .woocommerce-order .woocommerce-message,
body .woocommerce-order-received .woocommerce-notice--success,
body .woocommerce-order-received .woocommerce-message {
  background: linear-gradient(135deg, #83bd01 0%, #6ba300 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 48px 40px !important;
  text-align: center !important;
  box-shadow: 0 20px 40px rgba(131, 189, 1, 0.3), 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 50px !important;
  position: relative !important;
  overflow: hidden !important;
  transform: translateY(0) !important;
  transition: all 0.3s ease !important;
}

/* Texto principal con máxima especificidad */
body.woocommerce-order-received
  .woocommerce-order
  .woocommerce-notice--success
  strong,
body.woocommerce-order-received .woocommerce-order .woocommerce-message strong,
body .woocommerce-order-received .woocommerce-notice--success strong,
body .woocommerce-order-received .woocommerce-message strong,
.woocommerce-order-received
  .woocommerce-order
  .woocommerce-notice--success
  strong,
.woocommerce-order-received .woocommerce-order .woocommerce-message strong {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: white !important;
  display: block !important;
  margin-bottom: 12px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  letter-spacing: 0.5px !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

/* FORZAR ESTILOS DE CABECERA - MÁXIMA PRIORIDAD */
html
  body.woocommerce-order-received
  div.woocommerce-order
  div.woocommerce-notice--success,
html
  body.woocommerce-order-received
  div.woocommerce-order
  div.woocommerce-message,
html body div.woocommerce-order-received div.woocommerce-notice--success,
html body div.woocommerce-order-received div.woocommerce-message {
  background: linear-gradient(135deg, #83bd01 0%, #6ba300 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 48px 40px !important;
  text-align: center !important;
  box-shadow: 0 20px 40px rgba(131, 189, 1, 0.3), 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  margin: 0 0 50px 0 !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 120px !important;
  display: block !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

html
  body.woocommerce-order-received
  div.woocommerce-order
  div.woocommerce-notice--success
  strong,
html
  body.woocommerce-order-received
  div.woocommerce-order
  div.woocommerce-message
  strong,
html body div.woocommerce-order-received div.woocommerce-notice--success strong,
html body div.woocommerce-order-received div.woocommerce-message strong {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: white !important;
  display: block !important;
  margin: 0 0 12px 0 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  letter-spacing: 0.5px !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

/* Información del pedido en cards elegantes */
.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
  margin: 0 0 40px 0 !important;
  list-style: none !important;
  padding: 0 !important;
}

/* Eliminar los pseudo-elementos que causan fragmentación */
.woocommerce-order-overview::before,
.woocommerce-order-overview::after {
  display: none !important;
  content: none !important;
}

/* Asegurar que el grid funcione correctamente */
.woocommerce ul.order_details.woocommerce-order-overview::before,
.woocommerce ul.order_details.woocommerce-order-overview::after {
  display: none !important;
  content: none !important;
}

/* Selector más específico para order_details */
.woocommerce ul.order_details::before,
.woocommerce ul.order_details::after {
  display: none !important;
  content: none !important;
}

/* También para cualquier elemento con clase order_details */
.order_details::before,
.order_details::after {
  display: none !important;
  content: none !important;
}

.woocommerce-order-overview li {
  background: white !important;
  border: 1px solid #e7eadd !important;
  border-radius: 12px !important;
  padding: 20px 16px !important;
  text-align: center !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 110px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin: 0 !important;
}

.woocommerce-order-overview li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #83bd01, #6ba300);
}

.woocommerce-order-overview li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.woocommerce-order-overview li strong {
  display: block;
  color: #83bd01;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.woocommerce-order-overview li span,
.woocommerce-order-overview li bdi {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
  word-break: break-word;
}

/* Título de sección elegante */
.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #83bd01;
  position: relative;
}

.woocommerce-order-details h2::after,
.woocommerce-customer-details h2::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #6ba300;
}

/* Tabla de detalles del pedido */
.woocommerce-table {
  width: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
  border: 1px solid #f0f2ef;
}

.woocommerce-table thead {
  background: linear-gradient(135deg, #f8f9f6 0%, #f1f3ee 100%);
}

.woocommerce-table thead th {
  padding: 20px 24px;
  font-weight: 700;
  color: #2c3e50;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.woocommerce-table tbody td {
  padding: 20px 24px;
  border-bottom: 1px solid #f0f2ef;
  color: #555;
  vertical-align: middle;
}

.woocommerce-table tbody tr:last-child td {
  border-bottom: none;
}

.woocommerce-table tbody tr:hover {
  background-color: #fafbf9;
}

/* Totales del pedido */
.woocommerce-table tfoot {
  background: #f8f9f6;
}

.woocommerce-table tfoot th,
.woocommerce-table tfoot td {
  padding: 16px 24px;
  font-weight: 600;
  border: none;
}

.woocommerce-table tfoot .order-total th,
.woocommerce-table tfoot .order-total td {
  background: #83bd01;
  color: white;
  font-size: 18px;
  font-weight: 700;
}

/* Botón "Ver mis inscripciones" elegante */
.woocommerce-order .button,
.woocommerce-order a.button {
  background: linear-gradient(135deg, #83bd01 0%, #6ba300 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(131, 189, 1, 0.3);
  margin: 32px auto;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  text-align: center;
}

.woocommerce-order .button::before,
.woocommerce-order a.button::before {
  content: "📋";
  margin-right: 8px;
  font-size: 18px;
}

.woocommerce-order .button:hover,
.woocommerce-order a.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(131, 189, 1, 0.4);
  color: white;
}

/* Dirección de facturación elegante */
.woocommerce-customer-details {
  background: white;
  border: 1px solid #e7eadd;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.woocommerce-customer-details address {
  background: #f8f9f6;
  border: none;
  border-radius: 12px;
  padding: 24px;
  font-style: normal;
  line-height: 1.6;
  color: #555;
}

.woocommerce-customer-details address p {
  margin: 4px 0;
}

.woocommerce-customer-details address strong {
  color: #2c3e50;
  font-weight: 700;
}

/* Enlaces de contacto */
.woocommerce-customer-details a {
  color: #83bd01;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.woocommerce-customer-details a:hover {
  color: #6ba300;
  text-decoration: underline;
}

/* Responsive design - Tablet */
@media (max-width: 1200px) {
  .woocommerce-order-received .woocommerce-order {
    max-width: 900px;
    padding: 32px 20px;
  }

  .woocommerce-order-received .dircom-order-layout {
    flex-direction: column;
    gap: 40px;
  }

  .woocommerce-order-received .dircom-sidebar-content {
    position: static;
    order: -1; /* Facturación arriba en móvil */
    max-width: none;
  }

  .woocommerce-order-overview {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 768px) {
  .woocommerce-order-received .woocommerce-order {
    padding: 24px 16px;
  }

  .woocommerce-order-received .dircom-order-layout {
    gap: 32px;
  }

  .woocommerce-order-overview {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 32px 0 !important;
  }

  .woocommerce-order-overview li {
    padding: 16px 12px !important;
    min-height: 90px !important;
  }

  .woocommerce-order-overview li strong {
    font-size: 9px !important;
  }

  .woocommerce-order-overview li span,
  .woocommerce-order-overview li bdi {
    font-size: 12px !important;
  }

  .woocommerce-table thead th,
  .woocommerce-table tbody td,
  .woocommerce-table tfoot th,
  .woocommerce-table tfoot td {
    padding: 16px 12px;
    font-size: 14px;
  }

  .woocommerce-customer-details {
    padding: 24px;
  }

  .woocommerce-order-details h2,
  .woocommerce-customer-details h2 {
    font-size: 20px;
  }

  .woocommerce-order-received .woocommerce-notice--success,
  .woocommerce-order-received .woocommerce-message {
    padding: 36px 28px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(131, 189, 1, 0.25),
      0 3px 10px rgba(0, 0, 0, 0.08);
  }

  .woocommerce-order-received .woocommerce-notice--success strong,
  .woocommerce-order-received .woocommerce-message strong {
    font-size: 28px !important;
    letter-spacing: 0.3px !important;
    color: white !important;
    font-weight: 800 !important;
  }

  .woocommerce-order-received .woocommerce-notice--success::before,
  .woocommerce-order-received .woocommerce-message::before {
    width: 60px;
    height: 60px;
    font-size: 36px;
    top: 20px;
    right: 24px;
  }
}

@media (max-width: 480px) {
  .woocommerce-order-received .woocommerce-order {
    padding: 20px 12px;
  }

  .woocommerce-order-received .dircom-order-layout {
    gap: 24px;
  }

  .woocommerce-order-overview {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 24px 0 !important;
  }

  .woocommerce-order-overview li {
    padding: 14px 12px !important;
    min-height: 70px !important;
  }

  .woocommerce-order-overview li strong {
    font-size: 9px !important;
    margin-bottom: 4px !important;
  }

  .woocommerce-order-overview li span,
  .woocommerce-order-overview li bdi {
    font-size: 12px !important;
  }

  .woocommerce-order-received .woocommerce-notice--success,
  .woocommerce-order-received .woocommerce-message {
    padding: 32px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(131, 189, 1, 0.2),
      0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .woocommerce-order-received .woocommerce-notice--success strong,
  .woocommerce-order-received .woocommerce-message strong {
    font-size: 24px !important;
    letter-spacing: 0.2px !important;
    color: white !important;
    font-weight: 800 !important;
  }

  .woocommerce-order-received .woocommerce-notice--success::before,
  .woocommerce-order-received .woocommerce-message::before {
    width: 50px;
    height: 50px;
    font-size: 28px;
    top: 16px;
    right: 16px;
  }

  .woocommerce-order .button,
  .woocommerce-order a.button {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }

  .woocommerce-table {
    font-size: 13px;
  }

  .woocommerce-table thead th,
  .woocommerce-table tbody td,
  .woocommerce-table tfoot th,
  .woocommerce-table tfoot td {
    padding: 12px 8px;
  }

  .woocommerce-customer-details {
    padding: 20px;
  }

  .woocommerce-customer-details address {
    padding: 16px;
  }
}

/*# sourceMappingURL=style.css.map */
p.smatx-view-my-enrollments a.button {
  padding: 10px !important;
}
.woocommerce-order-overview li,
.woocommerce-order-overview [class*="woocommerce-order-overview"] {
  font-size: 15px !important;
}

.woocommerce-order-overview li strong {
  line-height: 2 !important;
  font-size: 13px !important;
}
/* Alineación del símbolo de moneda con la cantidad en precios de WooCommerce */
.woocommerce-Price-amount {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0px !important;
  vertical-align: baseline !important;
}

.woocommerce-Price-currencySymbol {
  line-height: 1 !important;
  vertical-align: baseline !important;
  font-size: 0.9em !important;
  margin-left: 0px !important;
  align-self: baseline !important;
}

/* Asegurar alineación en contextos específicos */
.woocommerce .amount,
.woocommerce-Price-amount bdi {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0px !important;
}
.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
  font-size: 19px !important;
}

/* añadimos un estilo para el botón de agregar al carrito */
.woocommerce div.product form.cart .button {
  vertical-align: middle;
  float: left;
  padding: 10px;
  border-radius: 20px;
}
.woocommerce div.product form.cart .button:hover {
  opacity: 0.8;
}
.woocommerce form .form-row input.input-text {
  background: #f7f8f5 !important;
  border: 1px solid #dfe5d2 !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  width: 100% !important;
}

.single_add_to_cart_button {
  background-color: #83bd01 !important;
  text-transform: uppercase;
  font-size: 14px !important;
  color: #fff !important;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}
.smatx-view-my-enrollments a.button {
  background-color: #83bd01 !important;
  text-transform: uppercase;
  font-size: 14px !important;
  color: #fff !important;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}
.woocommerce #content input.button.alt:hover,
.woocommerce #content input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page #content input.button.alt:hover,
.woocommerce-page #content input.button:hover,
.woocommerce-page #respond input#submit.alt:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button.alt.disabled:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page button.button:disabled:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button.alt:hover,
.woocommerce-page input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.button:disabled:hover,
.woocommerce button.button:hover,
.woocommerce input.button.alt:hover,
.woocommerce input.button:hover {
  border: 2px solid transparent;
  padding: none !important;
}
body #page-container .et_pb_section .et_pb_wc_add_to_cart_0_tb_body .button,
body .pum-container .et_pb_section .et_pb_wc_add_to_cart_0_tb_body .button,
body #page-container .et_pb_section .et_pb_wc_add_to_cart_1_tb_body .button,
body .pum-container .et_pb_section .et_pb_wc_add_to_cart_1_tb_body .button,
body #page-container .et_pb_section .et_pb_wc_add_to_cart_2_tb_body .button,
body .pum-container .et_pb_section .et_pb_wc_add_to_cart_2_tb_body .button {
  font-variant: small-caps !important;
  padding-right: none !important;
  padding-left: none !important;
  padding: 10px !important;
}

/*********** Checkout auth switch ***********/

.dircom-auth {
  margin-bottom: 1rem;
}

.dircom-auth-switch {
  display: flex;

  align-items: center;

  gap: 0.75rem;

  margin-bottom: 1rem;
}

.dircom-auth-switch__label {
  font-weight: 600;
}

.dircom-auth-switch__controls {
  display: inline-grid;

  grid-auto-flow: column;

  gap: 0.5rem;

  background: #f6f9f1;

  border: 1px solid #e1e6d7;

  border-radius: 999px;

  padding: 0.25rem;
}

.dircom-auth-switch__input {
  position: absolute;

  left: -9999px;
}

.dircom-auth-switch__button {
  cursor: pointer;

  border-radius: 999px;

  padding: 0.4rem 0.9rem;

  font-weight: 600;

  color: #333;

  background: transparent;

  border: 1px solid transparent;

  transition: all 0.15s ease;
}

.dircom-auth-switch__input:checked + .dircom-auth-switch__button {
  background: #83bd01;

  color: #fff;

  border-color: #83bd01;

  box-shadow: 0 1px 2px rgba(131, 189, 1, 0.25);
}

.dircom-auth__pane {
  border: 1px solid #e7eadd;

  border-radius: 8px;

  padding: 16px;

  background: #fff;
}

.woocommerce-info {
  border-radius: 12px;
}

/* Billing header */

#dircom-billing {
  margin-top: 67px;
}

.dircom-billing-header,
.dircom-billing-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 8px;

  margin-bottom: 10px;
}

.dircom-billing-title {
  margin: 0;

  font-size: 19px;

  line-height: 1.2;

  font-weight: 700;
}

.dircom-copy-btn.button {
  background-color: #83bd01 !important;

  border-color: #83bd01 !important;

  color: #fff !important;

  border-radius: 999px;

  padding: 0.35rem 0.75rem !important;

  font-weight: 700;

  font-size: 12px !important;

  line-height: 1.2;

  white-space: nowrap;

  display: inline-flex;

  align-items: center;

  width: auto !important;

  min-width: fit-content !important;

  max-width: fit-content !important;

  box-sizing: border-box !important;
}

.dircom-copy-btn.button:hover,
.dircom-copy-btn.button:focus,
.dircom-copy-btn.button:active {
  opacity: 0.8 !important;

  background-color: #83bd01 !important;

  border-color: #83bd01 !important;

  color: #fff !important;

  filter: none !important;

  transform: none !important;

  box-shadow: none !important;

  width: auto !important;

  min-width: fit-content !important;

  max-width: fit-content !important;

  padding: 0.35rem 0.75rem !important;

  box-sizing: border-box !important;
}

.dircom-copy-btn.button::before,
.dircom-copy-btn.button::after {
  display: none !important;

  width: auto !important;

  min-width: fit-content !important;

  max-width: fit-content !important;
}

@media (max-width: 600px) {
  .dircom-billing-header {
    flex-direction: column;

    align-items: stretch;
  }

  .dircom-billing-title {
    margin-bottom: 6px;

    font-size: 17px;
  }
}

/* Ocultar título por defecto dentro del bloque de facturación para evitar duplicados */

#dircom-billing .woocommerce-billing-fields > h3 {
  display: none;
}

/* === Checkout login design === */

#dircom-pane-login {
  display: flex !important;

  flex-direction: column !important;

  gap: 7px;

  border: 1px solid #e7eadd;

  border-radius: 12px;

  padding: 20px;

  background: #fff;
}

#dircom-pane-login .form-row {
  margin-bottom: 16px;

  display: contents;
}

#dircom-pane-login label {
  font-weight: 600;

  font-size: 14px !important;

  line-height: 1.4 !important;

  margin-bottom: 6px;

  display: block;

  color: #333;
}

#dircom-pane-login input.input-text {
  background: #f7f8f5;

  border: 1px solid #dfe5d2;

  border-radius: 8px;

  padding: 10px 12px;

  font-size: 14px;

  width: 100%;
}

#dircom-pane-login .woocommerce-form-login__rememberme {
  display: flex;

  align-items: center;

  gap: 8px;

  margin: 8px 0 12px;

  font-size: 14px;
}

#dircom-pane-login .woocommerce-button.button {
  background: #83bd01 !important;

  border-color: #83bd01 !important;

  color: #fff !important;

  border-radius: 999px;

  padding: 0.45rem 0.9rem;

  font-weight: 700;

  font-size: 14px !important;

  line-height: 1.2;

  letter-spacing: 0.3px;
}

#dircom-pane-login .lost_password a {
  color: #83bd01;

  font-weight: 600;
}

#dircom-pane-login .lost_password {
  margin-top: 6px;
}

#politica_privacidad_field,
#acepta_info_field {
  font-size: 14px;

  color: #333;
}

#dircom-pane-register select {
  padding: 0.5em !important;

  line-height: normal !important;

  box-sizing: border-box !important;

  color: var(--wc-form-color-text, #444) !important;

  font-weight: 400 !important;

  font-size: 15px !important;
}

/* Respetar el atributo [hidden] pese a reglas de display con !important */

#dircom-pane-login[hidden],
#dircom-pane-register[hidden] {
  display: none !important;
}

#dircom-pane-register input.input-text,
#dircom-pane-login input.input-text,
.woocommerce-billing-fields input.input-text {
  background: #f7f8f5 !important;

  border: 1px solid #dfe5d2 !important;

  border-radius: 8px !important;

  padding: 10px 12px !important;

  font-size: 14px !important;

  width: 100% !important;
}

/* Focus visible for accessibility */

.dircom-auth-switch__button:focus,
.dircom-auth-switch__button:focus-visible {
  outline: 2px solid #83bd01;

  outline-offset: 2px;
}

@media (max-width: 480px) {
  .dircom-auth-switch {
    align-items: stretch;
  }

  .dircom-auth-switch__controls {
    width: 100%;
  }

  .dircom-auth-switch__button {
    text-align: center;
  }
}

/*.place-order > submit button in checkout page*/
.woocommerce #content input.button,
.woocommerce #content input.button.alt,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce-page #content input.button,
.woocommerce-page #content input.button.alt,
.woocommerce-page #respond input#submit,
.woocommerce-page #respond input#submit.alt,
.woocommerce-page a.button,
.woocommerce-page a.button.alt,
.woocommerce-page button.button,
.woocommerce-page button.button.alt,
.woocommerce-page button.button.alt.disabled,
.woocommerce-page input.button,
.woocommerce-page input.button.alt,
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button,
.woocommerce input.button.alt,
#place_order {
  background-color: #83bd01 !important;
  padding: 10px !important;
  padding-bottom: 10px !important;
  color: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: Montserrat;
}
.woocommerce #content input.button:hover,
.woocommerce #content input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce-page #content input.button:hover,
.woocommerce-page #content input.button.alt:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce-page #respond input#submit.alt:hover,
.woocommerce-page a.button:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce-page button.button:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page button.button.alt.disabled:hover,
.woocommerce-page input.button:hover,
.woocommerce-page input.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button:disabled:hover,
.woocommerce button.button:disabled[disabled]:hover,
.woocommerce input.button:hover,
.woocommerce input.button.alt:hover,
#place_order:hover {
  opacity: 0.8 !important;
}

#place_order::after,
.woocommerce #content input.button::after,
.woocommerce #content input.button.alt::after,
.woocommerce #respond input#submit::after,
.woocommerce #respond input#submit.alt::after,
.woocommerce-page #content input.button::after,
.woocommerce-page #content input.button.alt::after,
.woocommerce-page #respond input#submit::after,
.woocommerce-page #respond input#submit.alt::after,
.woocommerce-page a.button::after,
.woocommerce-page a.button.alt::after,
.woocommerce-page button.button::after,
.woocommerce-page button.button.alt::after,
.woocommerce-page button.button.alt.disabled::after,
.woocommerce-page input.button::after,
.woocommerce-page input.button.alt::after,
.woocommerce a.button::after,
.woocommerce a.button.alt::after,
.woocommerce button.button::after,
.woocommerce button.button.alt::after,
.woocommerce button.button.alt.disabled::after,
.woocommerce button.button:disabled::after,
.woocommerce button.button:disabled[disabled]::after,
.woocommerce input.button::after,
.woocommerce input.button.alt::after {
  display: none !important;
}
