/* Páginas de cada búsqueda (sudaderas de fin de curso, ropa laboral...): texto legible,
   fotos reales y un camino corto al catálogo. Usa los colores y botones de styles.css. */

.lp {
  background: var(--ground);
  color: var(--ink);
}

.lp main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--margin) 64px;
}

.lp-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--margin);
  background: rgb(11 11 11 / 0.92);
  border-bottom: 1px solid var(--surface-3);
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.lp-header-cta {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.lp-header-cta:hover {
  color: var(--accent-hover);
}

.lp-crumbs {
  padding: 20px 0 0;
  color: var(--ink-soft);
  font-size: var(--step-small);
}

.lp-crumbs a {
  color: var(--ink-soft);
}

.lp-hero {
  padding: 40px 0 48px;
}

.lp-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-size: var(--step-head);
  line-height: 1.02;
  text-wrap: balance;
}

.lp-lead {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: var(--step-lead);
  line-height: 1.35;
  text-wrap: pretty;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.lp h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  line-height: 1.1;
}

.lp main > section + section {
  margin-top: 64px;
}

.lp-grid ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-grid a {
  display: block;
  height: 100%;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--fast) ease;
}

.lp-grid a:hover {
  background: var(--surface-2);
}

.lp-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bone);
}

.lp-grid span {
  display: block;
  padding: 10px 12px 14px;
  font-size: var(--step-small);
  line-height: 1.3;
}

.lp-more {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 600;
}

.lp-block p,
.lp-faq p {
  max-width: 68ch;
  margin: 0 0 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.lp-steps ol {
  display: grid;
  gap: var(--gap);
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: paso;
}

.lp-steps li {
  position: relative;
  padding: 20px 20px 20px 64px;
  background: var(--surface);
  color: var(--ink-soft);
  line-height: 1.5;
  counter-increment: paso;
}

.lp-steps li::before {
  content: counter(paso);
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 600;
}

.lp-steps strong {
  color: var(--ink);
}

.lp-faq details {
  border-top: 1px solid var(--surface-3);
}

.lp-faq details:last-child {
  border-bottom: 1px solid var(--surface-3);
}

.lp-faq summary {
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
}

.lp-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-related a {
  display: inline-block;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.lp-related a:hover {
  background: var(--surface-2);
  color: var(--accent);
}

.lp-footer {
  padding: 32px var(--margin) 48px;
  border-top: 1px solid var(--surface-3);
  color: var(--ink-soft);
  font-size: var(--step-small);
  line-height: 1.6;
  text-align: center;
}

.lp-footer a {
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .lp-actions .button {
    width: 100%;
  }
}
