/* ============================================
   BASE — Botones, layout, sections — Tu Rincón Ferretero
   Extraído de style.css en Fase 2 (Solución 2.0).
   No modificar selectores ni valores: paridad 1:1 con el original.
   ============================================ */

/* ============================================
   BUTTONS
   ============================================ */
.btn, button.btn {
  display: inline-block;
  border: 2px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  padding: 8px 16px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--line);
  transition: transform .1s, box-shadow .1s;
  color: var(--ink);
  text-decoration: none;
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--line);
  text-decoration: none;
}
.btn-primary { background: var(--accent-purple); color: #fff; }
.btn-cyan { background: var(--accent-cyan); color: #fff; }
.btn-pink { background: var(--accent-pink); color: #fff; }
.btn-green { background: #5C7A3F; color: #fff; }
.btn-block { display: block; width: 100%; }
.action-row { display: flex; width: 100%; gap: 12px; margin: 4px 0 12px; }
.action-row > .btn { flex: 1 1 0; min-width: 0; margin-bottom: 0; text-align: center; padding-left: 8px; padding-right: 8px; }

/* ============================================
   LAYOUT
   ============================================ */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Accesibilidad: oculta texto visualmente pero lo deja disponible
   para Google y lectores de pantalla. Técnica recomendada por WCAG. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.main-content {
  flex: 1;
  padding: 24px 0;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { margin-bottom: 32px; }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

