/* ============================
   modern-minimal.css
   Versión 1.0 – Sobrescribe tu CSS
   ============================ */

/* 1) Reset ligero y paleta neutra */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #222;
  background: #f9f9f9;
  line-height: 1.6;
}

/* 2) Contenedor centralizado */
#wrapper, #oferton-main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 3) Tipografía escalada */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #111;
  margin-bottom: 1rem;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

/* 4) Textos y párrafos */
p, ul, ol {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #444;
}
a {
  color: #0066cc;
  text-decoration: none;
  transition: opacity .2s ease;
}
a:hover {
  opacity: .7;
}

/* 5) Imágenes fluidas y con borde suave */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* 6) Layout de producto: flexbox */
#oferton-carousel, 
#oferton-main .product-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  #oferton-carousel,
  #oferton-main .product-container {
    flex-direction: row;
    align-items: flex-start;
  }
  #oferton-carousel .slides,
  #oferton-main .product-image {
    flex: 1 1 40%;
  }
  #oferton-carousel .details,
  #oferton-main .product-info {
    flex: 1 1 60%;
  }
}

/* 7) Botones limpios */
button, input[type="submit"], .btn {
  font-family: inherit;
  font-size: 1rem;
  padding: .75rem 1.5rem;
  border: 2px solid #111;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
button:hover, input[type="submit"]:hover, .btn:hover {
  background: #111;
  color: #fff;
}

/* 8) Formularios y campos */
input, select, textarea {
  width: 100%;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
  font-size: 1rem;
  color: #333;
}

/* 9) Tablas simplificadas */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
table th, table td {
  text-align: left;
  padding: .75rem;
  border-bottom: 1px solid #eee;
}
table th {
  background: #f5f5f5;
  font-weight: 600;
}

/* 10) Separadores y espaciado */
hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 2rem 0;
}

/* 11) Pie de página minimalista */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: .875rem;
  color: #aaa;
}

/* 12) Menú y cabecera limpias */
header {
  background: transparent !important;
  padding: 1rem 0;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
nav a {
  font-weight: 500;
}

/* 13) Mobile first tweaks */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  button, .btn { width: 100%; text-align: center; }
  nav ul { flex-direction: column; gap: 1rem; }
}