/* Estilos para la Tienda E-commerce */

/* Estilos Generales */
:root {
  --color-primary: #003366;
  --color-secondary: #ff6600;
  --color-accent: #ff9933;
  --color-light: #f5f5f5;
  --color-dark: #333333;
  --color-gray: #cccccc;
  --color-success: #28a745;
  --color-error: #dc3545;
  --border-radius: 4px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Banner Tienda */
.banner-tienda {
  background-color: var(--color-primary);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.banner-tienda h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.banner-tienda p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Categor铆as */
.categorias {
  padding: 60px 0;
}

.categorias h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--color-primary);
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.categoria-item {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--color-dark);
  transition: transform 0.3s ease;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.categoria-item:hover {
  transform: translateY(-5px);
}

.categoria-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.categoria-item h3 {
  padding: 15px;
  margin: 0;
  background-color: var(--color-light);
  font-size: 1.2rem;
}

/* Productos */
.productos-destacados {
  padding: 60px 0;
  background-color: var(--color-light);
}

.productos-destacados h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--color-primary);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.producto-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-5px);
}

.producto-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.producto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.producto-card:hover .producto-img img {
  transform: scale(1.05);
}

.producto-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--color-secondary);
  color: white;
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: bold;
}

.producto-info {
  padding: 20px;
}

.producto-categoria {
  color: var(--color-secondary);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.producto-titulo {
  font-size: 1.2rem;
  margin: 0 0 10px 0;
  color: var(--color-primary);
}

.producto-precio {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.precio-actual {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-primary);
}

.precio-anterior {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

.producto-acciones {
  display: flex;
  justify-content: space-between;
}

.btn-agregar {
  background-color: var(--color-secondary);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  flex-grow: 1;
}

.btn-agregar:hover {
  background-color: var(--color-accent);
}

.btn-detalles {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-left: 10px;
  transition: background-color 0.3s ease;
}

.btn-detalles:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Filtros y Listado de Productos */
.tienda-section {
  padding: 40px 0;
}

.tienda-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

.filtros {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  align-self: start;
}

.filtros h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.filtro-grupo {
  margin-bottom: 25px;
}

.filtro-grupo h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--color-dark);
}

.filtro-grupo ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filtro-grupo li {
  margin-bottom: 8px;
}

.filtro-grupo label {
  margin-left: 5px;
  cursor: pointer;
}

.rango-precio {
  margin-top: 15px;
}

.rango-precio input {
  width: 100%;
}

.precio-valores {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 0.9rem;
  color: #666;
}

.btn-filtrar {
  width: 100%;
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-filtrar:hover {
  background-color: #002244;
}

.productos-contenido {
  flex: 1;
}

.productos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.productos-header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--color-primary);
}

.ordenar {
  display: flex;
  align-items: center;
}

.ordenar label {
  margin-right: 10px;
}

.ordenar select {
  padding: 8px;
  border: 1px solid var(--color-gray);
  border-radius: var(--border-radius);
}

.paginacion {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.paginacion button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.paginacion button:hover:not(:disabled) {
  background-color: #002244;
}

.paginacion button:disabled {
  background-color: var(--color-gray);
  cursor: not-allowed;
}

.paginacion span {
  margin: 0 15px;
}

/* Detalle de Producto */
.producto-detalle {
  padding: 40px 0;
}

.breadcrumb {
  margin-bottom: 30px;
  color: #666;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.producto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.producto-imagenes {
  display: flex;
  flex-direction: column;
}

.imagen-principal {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.imagen-principal img {
  width: 100%;
  height: auto;
  display: block;
}

.imagenes-miniaturas {
  display: flex;
  gap: 10px;
}

.miniatura {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.miniatura.active,
.miniatura:hover {
  border-color: var(--color-secondary);
}

.producto-info h1 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--color-primary);
  font-size: 2rem;
}

.producto-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #666;
  font-size: 0.9rem;
}

.producto-precio {
  margin-bottom: 25px;
}

.precio-actual {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
}

.precio-anterior {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

.descuento {
  background-color: var(--color-secondary);
  color: white;
  padding: 3px 8px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  margin-left: 10px;
}

.producto-descripcion {
  margin-bottom: 30px;
}

.producto-descripcion p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.producto-descripcion ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.producto-descripcion li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.producto-compra {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.cantidad {
  display: flex;
  align-items: center;
}

.cantidad label {
  margin-right: 15px;
}

.cantidad-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.cantidad-control button {
  background-color: var(--color-light);
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
}

.cantidad-control input {
  width: 60px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--color-gray);
  border-right: 1px solid var(--color-gray);
  text-align: center;
  font-size: 1rem;
}

.btn-agregar {
  background-color: var(--color-secondary);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.btn-agregar:hover {
  background-color: var(--color-accent);
}

.producto-metodos-pago {
  margin-top: 20px;
}

.producto-metodos-pago h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.metodos-iconos {
  display: flex;
  gap: 15px;
}

.metodos-iconos img {
  height: 30px;
}

.producto-tabs {
  margin-bottom: 60px;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--color-gray);
  margin-bottom: 20px;
}

.tab-btn {
  padding: 12px 20px;
  background-color: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: bold;
  color: #666;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-secondary);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tab-content h2 {
  margin-top: 0;
  color: var(--color-primary);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--color-gray);
}

.specs-table th {
  background-color: var(--color-light);
  font-weight: bold;
  color: var(--color-primary);
}

.documentos-lista {
  list-style: none;
  padding: 0;
}

.documentos-lista li {
  margin-bottom: 10px;
}

.documentos-lista a {
  display: flex;
  align-items: center;
  color: var(--color-primary);
  text-decoration: none;
}

.documentos-lista a:hover {
  text-decoration: underline;
}

.documentos-lista img {
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

/* Carrito de Compras */
.carrito-section {
  padding: 40px 0;
}

.carrito-section h1 {
  margin-bottom: 30px;
  color: var(--color-primary);
}

.carrito-contenido {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.carrito-vacio {
  text-align: center;
  padding: 40px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.carrito-vacio p {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #666;
}

.btn-seguir-comprando {
  display: inline-block;
  background-color: var(--color-secondary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-seguir-comprando:hover {
  background-color: var(--color-accent);
}

.carrito-items {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.carrito-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  padding: 15px;
  background-color: var(--color-primary);
  color: white;
  font-weight: bold;
}

.carrito-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  padding: 15px;
  border-bottom: 1px solid var(--color-gray);
  align-items: center;
}

.col-producto {
  display: flex;
  align-items: center;
}

.col-producto img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: var(--border-radius);
}

.producto-info h3 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.producto-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.btn-eliminar {
  background-color: var(--color-error);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-eliminar:hover {
  background-color: #c82333;
}

.carrito-resumen {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.carrito-resumen h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.resumen-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-gray);
}

.resumen-item.total {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--color-primary);
  border-bottom: none;
}

.codigo-descuento {
  display: flex;
  margin-bottom: 20px;
}

.codigo-descuento input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid var(--color-gray);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.codigo-descuento button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

.btn-checkout {
  width: 100%;
  background-color: var(--color-secondary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--border-radius);
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.btn-checkout:hover {
  background-color: var(--color-accent);
}

.metodos-pago h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #666;
}

/* Checkout */
.checkout-section {
  padding: 40px 0;
}

.checkout-section h1 {
  margin-bottom: 30px;
  color: var(--color-primary);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.checkout-form {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
}

.checkout-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--color-gray);
  z-index: 1;
}

.step.active:not(:last-child)::after {
  background-color: var(--color-secondary);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-gray);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.step.active .step-number {
  background-color: var(--color-secondary);
}

.step-text {
  font-size: 0.9rem;
  color: #666;
}

.step.active .step-text {
  color: var(--color-primary);
  font-weight: bold;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.step-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-gray);
  border-radius: var(--border-radius);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-volver,
.btn-continuar {
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-volver {
  background-color: var(--color-light);
  color: var(--color-dark);
  border: 1px solid var(--color-gray);
}

.btn-continuar {
  background-color: var(--color-secondary);
  color: white;
  border: none;
}

.btn-continuar:hover {
  background-color: var(--color-accent);
}

.metodos-envio {
  margin-top: 10px;
}

.metodo-envio {
  margin-bottom: 15px;
}

.metodo-envio input {
  display: none;
}

.metodo-envio label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--color-gray);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.metodo-envio input:checked + label {
  border-color: var(--color-secondary);
  background-color: rgba(255, 102, 0, 0.05);
}

.metodo-info {
  display: flex;
  flex-direction: column;
}

.metodo-titulo {
  font-weight: bold;
}

.metodo-descripcion {
  font-size: 0.9rem;
  color: #666;
}

.metodos-pago-tabs {
  margin-bottom: 30px;
}

.metodos-pago-tabs .tabs-header {
  justify-content: flex-start;
}

.metodos-pago-tabs .tab-btn {
  display: flex;
  align-items: center;
}

.metodos-pago-tabs .tab-btn img {
  height: 24px;
  margin-right: 10px;
}

.transbank-logos,
.webpay-logos {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.transbank-logos img,
.webpay-logos img {
  height: 40px;
}

.confirmacion-pedido {
  text-align: center;
  padding: 30px 0;
}

.confirmacion-icon {
  margin-bottom: 20px;
}

.confirmacion-icon img {
  width: 80px;
  height: 80px;
}

.confirmacion-pedido h2 {
  color: var(--color-success);
  margin-bottom: 10px;
}

.confirmacion-detalles {
  margin: 30px 0;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.confirmacion-acciones {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn-volver-inicio,
.btn-descargar {
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-volver-inicio {
  background-color: var(--color-primary);
  color: white;
}

.btn-descargar {
  background-color: var(--color-light);
  color: var(--color-dark);
  border: 1px solid var(--color-gray);
}

.checkout-resumen {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  align-self: start;
}

.checkout-resumen h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.resumen-productos {
  margin-bottom: 20px;
}

.resumen-producto {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-gray);
}

.resumen-producto img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: var(--border-radius);
}

.resumen-producto-info h3 {
  margin: 0 0 5px 0;
  font-size: 1rem;
}

.resumen-producto-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.resumen-producto-info .precio {
  font-weight: bold;
  color: var(--color-primary);
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .tienda-grid {
    grid-template-columns: 1fr;
  }

  .producto-grid {
    grid-template-columns: 1fr;
  }

  .carrito-contenido {
    grid-template-columns: 1fr;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .carrito-header,
  .carrito-item {
    grid-template-columns: 2fr 1fr 1fr 1fr 0.5fr;
  }
}

@media (max-width: 768px) {

  /* === GRIDS GENERALES === */
  .categorias-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* === CARRITO MOBILE === */
  .carrito-header {
    display: none;
  }

  .carrito-item {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .col-precio {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
  }

  .col-acciones {
    display: flex;
    justify-content: center;
  }

  .btn-eliminar {
    width: 100%;
    max-width: 200px;
  }

  /* === RESUMEN DEL PEDIDO (馃敟 FIX DESCUENTO) === */
  .resumen-totales {
    display: block;
  }

  .resumen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* 馃憞 FORZAR DESCUENTO VISIBLE EN MOBILE */
  .resumen-item.descuento {
    display: flex !important;
    background: #ff6a00;
    color: #fff;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 10px 0;
    font-weight: 600;
  }

  .resumen-item.descuento span {
    color: #fff;
  }

  .resumen-item.descuento span:last-child {
    font-weight: 700;
  }

  /* === CHECKOUT STEPS === */
  .checkout-steps {
    flex-wrap: wrap;
  }

  .step {
    flex-basis: 50%;
    margin-bottom: 20px;
  }
}


@media (max-width: 576px) {
  .categorias-grid,
  .productos-grid {
    grid-template-columns: 1fr;
  }

  .carrito-header,
  .carrito-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .col-producto {
    flex-direction: column;
  }

  .col-producto img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
/* Ajuste espec铆fico para la imagen de la pinza medidora */
.producto-img img[src*="Pinzamedidoraderesistenciadetierra.jpg"] {
  object-fit: contain;
}
/* Ajuste espec铆fico para la imagen de Probadorderesistividaddelsuelo.jpg */
.producto-img img[src*="Probadorderesistividaddelsuelo.jpg"] {
  object-fit: contain;
}
/* === Bot贸n personalizado para Mercado Pago === */
.btn-mercadopago {
  display: inline-block;
  background-color: var(--color-primary); /* azul corporativo */
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 14px 30px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  margin-top: 15px;
}

.btn-mercadopago:hover {
  background-color: #002244; /* azul m谩s oscuro */
  transform: translateY(-2px);
}

/* Mensaje debajo del bot贸n */
.nota-pago {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* Card informativo de pago */
.nota-pago-card {
  max-width: 100%;
  width: 100%;
  background-color: #FF746C;
  border: 1px solid #d6e4ff;
  border-left: 4px solid #0a3d62; /* azul institucional */
  border-radius: 6px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 20px;
  color: #ffffff;
  line-height: 1.5;
  transition: all 0.25s ease;
}

/* Hover suave */
.nota-pago-card:hover {
  background-color: #FFC067;
  box-shadow: 0 6px 14px rgba(10, 61, 98, 0.15);
  transform: translateY(-2px);
}

/* Ajuste del texto */
.nota-pago-card p {
  margin: 0;
}

/* Que coincida con el ancho del bot贸n */
.metodo-pago .nota-pago-card,
.pago-container .nota-pago-card {
  max-width: 420px; /* AJUSTA si tu bot贸n tiene otro ancho */
}
/* =====================================
   TAB TRANSFERENCIA BANCARIA
===================================== */

#transferencia {
  padding-top: 10px;
}

#transferencia h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0b2e59; /* Azul corporativo */
  margin-bottom: 15px;
}

/* =====================================
   BLOQUES DE INFORMACIÓN
===================================== */
.transferencia-info {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 5px solid #ff7a00;
  padding: 16px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

.transferencia-info p {
  margin-bottom: 10px;
  font-weight: 600;
  color: #0b2e59;
}

.transferencia-info ul,
.transferencia-info ol {
  padding-left: 18px;
  margin: 0;
}

.transferencia-info li {
  margin-bottom: 6px;
  line-height: 1.4;
  color: #333;
}

.transferencia-info strong {
  color: #0b2e59;
}

/* =====================================
   FORMULARIO TRANSFERENCIA
===================================== */

#transferencia-form {
  margin-top: 20px;
}

#transferencia-form .form-group {
  margin-bottom: 16px;
}

#transferencia-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0b2e59;
}

#transferencia-form input[type="text"],
#transferencia-form input[type="email"],
#transferencia-form input[type="tel"],
#transferencia-form textarea,
#transferencia-form input[type="file"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#transferencia-form textarea {
  resize: vertical;
  min-height: 90px;
}

#transferencia-form input:focus,
#transferencia-form textarea:focus {
  outline: none;
  border-color: #ff7a00;
  box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.15);
}

/* Archivo */
#transferencia-form input[type="file"] {
  background: #fff;
  cursor: pointer;
}

/* =====================================
   BOTÓN ENVIAR
===================================== */

#btn-enviar-transferencia {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  background: #ff7a00;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

#btn-enviar-transferencia:hover {
  background: #e66d00;
  transform: translateY(-1px);
}

#btn-enviar-transferencia:active {
  transform: translateY(0);
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 768px) {
  #transferencia h3 {
    font-size: 18px;
  }

  .transferencia-info {
    font-size: 13.5px;
    padding: 14px;
  }

  #btn-enviar-transferencia {
    font-size: 14px;
    padding: 13px;
  }
}

@media (max-width: 480px) {
  .transferencia-info ul,
  .transferencia-info ol {
    padding-left: 16px;
  }

  #transferencia-form input,
  #transferencia-form textarea {
    font-size: 13.5px;
  }
}
.btn-transferencia-directo {
  display: block;
  margin-top: 15px;
  background: #0b2e59;
  color: #fff;
  padding: 6px;
  text-align: center;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-transferencia-directo:hover {
  background: #08213f;
}
/* ==========================================
   MENSAJE TRANSFERENCIA – SOLO BLOQUE INFO
========================================== */

.mensaje-transferencia {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f3f7fc;
  border-left: 4px solid #ff6a00; /* Naranja SELECEJ */
  padding: 12px 14px;
  border-radius: 6px;
  margin: 15px 0 12px 0;
}

.mensaje-icono {
  font-size: 18px;
  color: #0c2d57; /* Azul corporativo */
  margin-top: 2px;
}

.mensaje-texto strong {
  display: block;
  color: #0c2d57;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.mensaje-texto p {
  font-size: 13px;
  color: #444;
  margin: 0;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .mensaje-transferencia {
    flex-direction: column;
  }
}


