/*
Theme Name: Subasta Ganado Optimizado
Theme URI: https://ejemplo.com/
Author: Tu Nombre
Author URI: https://ejemplo.com/
Description: Tema optimizado para subasta de ganado, con soporte para listas de precios en PDF.
Version: 1.1
License: GPLv2 or later
Text Domain: subasta-ganado
*/

/* Estilos base optimizados */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
}
header, footer {
  background: #111827;
  color: white;
  padding: 1rem;
  text-align: center;
}
.container {
  max-width: 1024px;
  margin: auto;
  padding: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: transform .2s;
}
.card:hover {
  transform: translateY(-3px);
}
.button {
  display: inline-block;
  margin-top: .5rem;
  padding: .5rem 1rem;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: .25rem;
  font-size: .9rem;
}
.button:hover {
  background: #1d4ed8;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  background: white;
  width: 90%;
  max-width: 800px;
  height: 90%;
  border-radius: .5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal iframe {
  flex: 1;
  border: none;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 1rem;
  background: #2563eb;
  color: white;
}
.close-btn {
  cursor: pointer;
  font-size: 1.2rem;
}
