/* ========================================================================== *
   LA 15 RUGBY — Páginas internas
 * ========================================================================== */

/* --------------------------------------------------------------------------
   ENCABEZADO DE PÁGINA
   -------------------------------------------------------------------------- */

.phead { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.phead__inner { padding-block: clamp(2.75rem, 6vw, 5rem); }
.phead__title { font-size: var(--fs-h1); line-height: .96; }
.phead__lead {
  margin-top: 1.35rem;
  max-width: 56ch;
  font-size: var(--fs-lead);
  color: var(--text-soft);
  line-height: 1.62;
}

.phead--dark {
  background: var(--ink);
  color: var(--cream);
  border-bottom-color: rgba(201, 148, 40, .2);
  background-image: radial-gradient(90% 130% at 88% 0%, rgba(201, 148, 40, .16), transparent 58%);
}
.phead--dark .phead__title { color: var(--cream); }
.phead--dark .phead__lead { color: rgba(244, 240, 231, .76); }

/* --------------------------------------------------------------------------
   TIENDA
   -------------------------------------------------------------------------- */

.shop__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  padding: .6rem 1.05rem;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.shop__count {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}
.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.25rem, 2.2vw, 2rem);
}
.shop__empty { text-align: center; padding: 4rem 1rem; display: grid; gap: 1.25rem; justify-items: center; }
.shop__empty p { color: var(--text-soft); margin: 0; }

@media (max-width: 1080px) { .shop__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .shop__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .shop__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   FICHA DE PRODUCTO
   -------------------------------------------------------------------------- */

.pdp { padding-block: clamp(2rem, 4.5vw, 3.75rem); }
.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.pdp__gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-3);
  overflow: hidden;
}
.pdp__stage img { width: 100%; height: 100%; object-fit: cover; }
.pdp__badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--ink); color: var(--cream);
  padding: .4rem .75rem;
  font-family: var(--font-display);
  font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
}
.pdp__thumbs { display: flex; gap: .6rem; margin-top: .7rem; }
.pdp__thumb {
  width: 82px; aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: .62;
  transition: opacity .3s var(--ease), border-color .3s var(--ease);
  background: var(--cream-3);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover { opacity: 1; }
.pdp__thumb.is-on { opacity: 1; border-color: var(--gold); }

.pdp__meta {
  display: flex; align-items: center;
  font-size: var(--fs-micro);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .7rem;
}
.pdp__title { font-size: clamp(1.85rem, 3.4vw, 2.85rem); line-height: .98; margin-bottom: .85rem; }
.pdp__micro { color: var(--text-soft); max-width: 44ch; font-size: .9875rem; }

.pdp__price {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 500; letter-spacing: .01em;
  margin: 1.5rem 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .25rem;
}
.pdp__installments {
  font-family: var(--font-body);
  font-size: .8125rem; letter-spacing: 0;
  color: var(--text-soft);
}

.pdp__field { margin-bottom: 1.5rem; }
.pdp__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.pdp__label {
  display: block;
  font-family: var(--font-display);
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: .7rem;
}
.pdp__guide { font-size: var(--fs-micro); color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }

.sizes { display: flex; flex-wrap: wrap; gap: .45rem; }
.size {
  min-width: 54px; padding: .8rem .5rem;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: .8125rem; letter-spacing: .08em;
  color: var(--text);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.size:hover { border-color: var(--ink); }
.size.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--text-soft);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.qty button:hover { background: var(--cream-3); color: var(--ink); }
.qty span {
  min-width: 46px; text-align: center;
  font-family: var(--font-display); font-size: 1rem;
  border-inline: 1px solid var(--line);
  line-height: 44px;
}

.pdp__msg { font-size: var(--fs-small); color: var(--gold-3); min-height: 1.3em; margin-top: .7rem; }

.pdp__perks { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .85rem; }
.pdp__perks li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: var(--text-soft); }
.pdp__perks .ico { width: 20px; height: 20px; color: var(--gold-3); margin-top: 1px; }

@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
  .pdp__stage { aspect-ratio: 1 / 1; }
}

/* --- Historia del producto ------------------------------------------------- */

.pdp-story { background: var(--cream); }
.pdp-story__head { margin-bottom: 1.75rem; }
.pdp-story__title { font-size: var(--fs-h2); line-height: 1; }
.pdp-story__rule {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-3);
  text-align: center;
  line-height: 1.5;
}
.pdp-story__rule span { flex: 1; height: 1px; background: var(--line); }

.pdp-specs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.pdp-specs__title { font-size: var(--fs-h3); margin-bottom: 1.35rem; }
.pdp-specs__note { font-size: var(--fs-small); color: var(--text-soft); margin-top: .85rem; }

.speclist > div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.speclist > div:last-child { border-bottom: 1px solid var(--line); }
.speclist dt {
  font-family: var(--font-display);
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint);
  padding-top: 3px;
}
.speclist dd { margin: 0; font-size: .9375rem; color: var(--text-soft); }

.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 320px; }
.table th, .table td { padding: .7rem .5rem; text-align: left; border-bottom: 1px solid var(--line); }
.table th {
  font-family: var(--font-display);
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 500;
  border-bottom-color: var(--text-faint);
}
.table td { color: var(--text-soft); }

@media (max-width: 720px) {
  .pdp-specs__grid { grid-template-columns: 1fr; }
  .speclist > div { grid-template-columns: 1fr; gap: .25rem; }
}

/* --------------------------------------------------------------------------
   HISTORIAS
   -------------------------------------------------------------------------- */

.stories__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .stories__grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stories__grid--3 { grid-template-columns: 1fr; } }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.feature__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-3); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.035); }
.feature__kicker {
  display: flex; align-items: center; flex-wrap: wrap;
  font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: .9rem;
}
.feature__title { font-size: var(--fs-h2); line-height: .98; margin-bottom: 1rem; }
.feature__title a { transition: color .3s var(--ease); }
.feature__title a:hover { color: var(--gold-3); }
.feature__lead { font-size: var(--fs-lead); color: var(--text-soft); line-height: 1.6; margin-bottom: 1.75rem; max-width: 42ch; }

@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* --- Artículo --------------------------------------------------------------- */

.article__head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 3vw, 2.5rem); text-align: center; }
.article__kicker {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 1rem;
}
.article__title { font-size: var(--fs-h1); line-height: .96; margin-bottom: 1.15rem; }
.article__lead { font-size: var(--fs-lead); color: var(--text-soft); line-height: 1.6; }

.article__hero {
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--cream-3);
}
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .article__hero { aspect-ratio: 3 / 2; } }

.article__foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid var(--line); }
.article__foot .link-arrow .ico { transition: transform .4s var(--ease); }
.article__foot .link-arrow:hover .ico { transform: translateX(-5px); }

/* --- Prosa editorial --------------------------------------------------------- */

.prose { font-size: 1.0625rem; line-height: 1.78; color: var(--text-soft); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  color: var(--text);
  margin-top: 2.75rem;
  line-height: 1.08;
}
.prose h2 + p { margin-top: 1rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }

.pull {
  margin: 2.5rem 0;
  padding: 1.75rem 0 1.75rem 1.75rem;
  border-left: 2px solid var(--gold);
  position: relative;
}
.pull .ico { width: 30px; height: 30px; color: var(--gold); opacity: .6; margin-bottom: .75rem; }
.pull p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  font-weight: 400;
  line-height: 1.28;
  color: var(--text);
  letter-spacing: .005em;
  margin: 0;
}

/* --- Producto relacionado dentro del artículo --------------------------------- */

.artprod {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 1.5rem;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.artprod__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-3); }
.artprod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.artprod:hover .artprod__media img { transform: scale(1.04); }
.artprod__title { font-size: 1.3rem; margin: .25rem 0 .5rem; }
.artprod__micro { font-size: .875rem; color: var(--text-soft); margin-bottom: .75rem; max-width: 46ch; }
.artprod__price { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1.1rem; }
@media (max-width: 560px) { .artprod { grid-template-columns: 1fr; } .artprod__media { max-width: 180px; } }

/* --------------------------------------------------------------------------
   NOSOTROS
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__text { max-width: 56ch; }
.about__text p { color: var(--text-soft); line-height: 1.75; margin-bottom: 1.2rem; }
.about__text p.is-lead { font-size: var(--fs-lead); color: var(--text); line-height: 1.58; }
.about__claim {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  color: var(--text) !important;
  line-height: 1.1;
  margin-top: 1.85rem !important;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.about__claim em { font-style: normal; color: var(--gold); }

.about__media { position: relative; aspect-ratio: 1 / 1; min-height: 300px; }
.polaroid--about-1 { left: 0; top: 2%; width: 56%; z-index: 2; transform: rotate(-3.5deg); }
.polaroid--about-1 img { aspect-ratio: 3 / 4; }
.polaroid--about-2 { right: 0; bottom: 4%; width: 52%; z-index: 3; transform: rotate(3deg); }
.polaroid--about-2 img { aspect-ratio: 4 / 3; filter: grayscale(1) contrast(1.08); }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
}

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.6vw, 2.25rem); }
.value { border-top: 2px solid var(--ink); padding-top: 1.15rem; }
.value__num {
  display: block;
  font-family: var(--font-display);
  font-size: .8125rem; letter-spacing: .16em;
  color: var(--gold); margin-bottom: .7rem;
}
.value__title { font-size: 1.15rem; margin-bottom: .6rem; line-height: 1.1; }
.value p { font-size: .9rem; color: var(--text-soft); line-height: 1.62; margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* --- Franja de cita ---------------------------------------------------------- */

.quoteband {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  background-image: radial-gradient(80% 120% at 50% 0%, rgba(201, 148, 40, .16), transparent 62%);
}
.quoteband__text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .005em;
  max-width: 26ch;
  margin-inline: auto;
  text-wrap: balance;
}
.quoteband__text em { font-style: normal; color: var(--gold); }
.quoteband__cta { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-top: 2.25rem; }
.follow--dark { margin-top: 1.75rem; }
.follow--dark .social a { border-color: var(--line-dark); color: var(--on-dark-soft); }
.follow--dark .social a:hover { color: var(--gold); border-color: var(--gold); }

/* --------------------------------------------------------------------------
   COMUNIDAD
   -------------------------------------------------------------------------- */

.ugcform {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
}
.ugcform__title { font-size: var(--fs-h2); line-height: 1; margin-bottom: 1rem; }
.ugcform__text p { color: var(--text-soft); line-height: 1.7; max-width: 40ch; }
.ugcform__form { display: grid; gap: 1rem; }
.ugcform__note { font-size: var(--fs-micro); color: var(--text-faint); margin: 0; }
@media (max-width: 840px) { .ugcform { grid-template-columns: 1fr; } }

.gallery--wide { grid-template-columns: repeat(4, 1fr); }
.gallery--wide figure:nth-child(n) { transform: none; }
.gallery__note { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--text-faint); }
.gallery__note strong { color: var(--gold-3); }
@media (max-width: 700px) { .gallery--wide { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   CONTACTO
   -------------------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__subtitle {
  font-size: .8125rem; letter-spacing: var(--tracking-kicker);
  color: var(--gold-3); margin-bottom: 1.15rem;
}
.contact__subtitle + .contact__subtitle,
.contact__list + .contact__subtitle { margin-top: 2.25rem; }
.contact__list { display: grid; gap: .3rem; }
.contact__list a {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  transition: color .25s var(--ease);
}
.contact__list a:hover { color: var(--gold-3); }
.contact__list .ico { width: 22px; height: 22px; color: var(--gold); }
.contact__list span { display: flex; flex-direction: column; font-size: .9375rem; color: var(--text-soft); }
.contact__list strong {
  font-family: var(--font-display); font-weight: 500;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text);
}
.contact__note { font-size: .9375rem; color: var(--text-soft); line-height: 1.8; }

.contact__form { display: grid; gap: 1.1rem; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact__form .btn { justify-self: start; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact__row { grid-template-columns: 1fr; } }

/* --- FAQ --------------------------------------------------------------------- */

.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-3); }
.faq summary .ico { color: var(--gold); flex: none; transition: transform .35s var(--ease); }
.faq[open] summary .ico { transform: rotate(45deg); }
.faq p { padding: 0 0 1.4rem; color: var(--text-soft); max-width: 68ch; font-size: .9375rem; line-height: 1.7; }

/* --- Políticas ---------------------------------------------------------------- */

.policy article + article { margin-top: clamp(2rem, 4vw, 3rem); }
.policy__title { font-size: var(--fs-h3); margin-bottom: 1rem; }
.policy p { color: var(--text-soft); line-height: 1.75; max-width: 68ch; }

/* --------------------------------------------------------------------------
   STOCK EN LA FICHA DE PRODUCTO
   -------------------------------------------------------------------------- */

.pdp__badge--low { background: var(--gold); color: var(--ink); }
.pdp__badge--out { background: var(--ink); color: var(--cream); }

.pdp__stock {
  display: flex; align-items: center; gap: .5rem;
  margin: -.85rem 0 1.5rem;
  font-size: var(--fs-small);
  color: var(--gold-3);
}
.pdp__stock .ico { width: 17px; height: 17px; }

.size--out {
  position: relative;
  color: var(--text-faint);
  border-style: dashed;
  cursor: not-allowed;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 5px,
    rgba(138, 129, 114, .12) 5px, rgba(138, 129, 114, .12) 6px);
}
.size--out:hover { border-color: var(--line); }

.pdp__msg--out { color: var(--text-soft); }

.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.notfound__media { position: absolute; inset: 0; z-index: -2; }
.notfound__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 70%;
  filter: saturate(.7);
}
.notfound__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(8,20,15,.92), rgba(9,9,9,.86));
}
.notfound__inner { padding-block: clamp(3rem, 10vh, 6rem); }
.notfound .skicker { color: var(--gold); }
.notfound__title {
  font-size: var(--fs-h1);
  line-height: .96;
  color: var(--white);
  margin-bottom: 1.15rem;
}
.notfound__lead {
  max-width: 44ch; margin-inline: auto;
  color: rgba(244, 240, 231, .8);
  font-size: var(--fs-lead);
}
.notfound__actions {
  display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.25rem;
}
