/* =====================================================================
   TIENDA CATEGORÍA — clon Figma 154-1663 (desktop) / 158-3827 (móvil)
   Depende de styles.css (tokens, nav, footer, blog-card, btn-circle…)
   ===================================================================== */

.shopcat{background:var(--tgy-bg)}

/* ── Título de categoría (overline izq + heading der + lead) ──────── */
.shopcat-hero{padding-top:24px;padding-bottom:64px}
.shopcat-hero__head{display:flex;align-items:flex-start;justify-content:space-between;gap:60px}
.shopcat-hero__overline{font-size:20px;font-weight:500;line-height:1.3;padding-top:34px}
.shopcat-hero__title{
  font-family:var(--tgy-font-display);font-weight:400;font-size:86px;line-height:1.1;
  letter-spacing:-1.72px;text-transform:uppercase;color:#fff;margin:0;
  text-align:right;width:748px}
.shopcat-hero__lead{
  margin:20px 0 0 auto;width:748px;
  font-family:var(--tgy-font-body);font-weight:400;font-size:19px;line-height:30px;
  color:rgba(255,255,255,.94)}

/* ── Grid de productos ───────────────────────────────────────────── */
.shopcat-grid{padding-bottom:48px}
.prod-grid{
  display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;
  column-gap:32px;row-gap:64px}

.prod{display:flex;flex-direction:column}
.prod__media{
  height:377px;border-radius:20px;overflow:hidden;position:relative;
  background:#fff;transition:box-shadow .3s ease}
.prod__media img{width:100%;height:100%;object-fit:cover;display:block}

/* Primera card destacada: panel con blur sobre la imagen (Figma 154:1701) */
.prod--featured .prod__media::after{
  content:"";position:absolute;left:25px;top:26px;width:338px;height:325px;
  border-radius:16px;background:rgba(0,14,18,.32);
  backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}

.prod__body{display:flex;flex-direction:column;flex:1;padding-top:51px}

.prod__title{margin-bottom:auto}
.prod__name{
  font-family:var(--tgy-font-body);font-weight:600;font-size:30px;line-height:1.15;
  letter-spacing:.5px;color:#fff;margin:0 0 8px;transition:color .3s ease;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prod__name a{color:inherit}
.prod__sub{
  font-family:var(--tgy-font-body);font-weight:400;font-size:20px;line-height:24px;
  letter-spacing:.5px;color:rgba(255,255,255,.7);margin:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.prod__sizes{display:flex;gap:12px;align-items:center;margin-top:24px;
  font-family:var(--tgy-font-body);font-weight:600;font-size:24px;line-height:24px;
  letter-spacing:.5px}
.prod__sizes span{opacity:.7;color:#fff;cursor:pointer}
.prod__sizes span.is-active{color:var(--tgy-rojo)}

.prod__buy{display:flex;align-items:center;gap:20px;margin-top:20px}
.prod__price{
  font-family:var(--tgy-font-body);font-weight:600;font-size:40px;line-height:24px;
  letter-spacing:.5px;color:#fff;margin-right:auto}
.prod__bag{width:48px;height:48px;flex-shrink:0;color:#fff;display:inline-flex}
.prod__bag svg{width:48px;height:48px}
.prod__cart{width:56px;height:56px}

/* La fila Straps con tallas necesita menos hueco superior antes del precio */
.prod__sizes + .prod__buy{margin-top:24px}

/* Hover: card resalta en rojo */
.prod:hover .prod__media{box-shadow:0 0 0 3px var(--tgy-rojo)}
.prod:hover .prod__name{color:var(--tgy-rojo)}

/* ── Paginación (reutiliza .shop-arrow / .shop-dots de la home) ────── */
.shopcat-pager{margin-top:32px}
.shopcat-pager__nums{display:none}          /* desktop: dots; móvil: números */
.shopcat-pager__num{
  min-width:32px;height:32px;padding:0 10px;border-radius:100px;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--tgy-font-body);font-weight:600;font-size:16px;
  color:rgba(255,255,255,.7);cursor:pointer}
.shopcat-pager__num.is-active{color:#fff;background:var(--tgy-gradient-cta)}
.shopcat-pager__num--dots{color:rgba(255,255,255,.7);background:none}

/* ── Bloque de contenido SEO inferior ───────────────────────────── */
.shopcat-content{padding:48px 0 90px}
.shopcat-content__lead{
  font-family:var(--tgy-font-body);font-weight:400;font-size:19px;line-height:30px;
  color:rgba(255,255,255,.94);margin:0 0 44px}
.shopcat-passage{margin-bottom:28px}
.shopcat-passage:last-child{margin-bottom:0}
.shopcat-passage__h{
  font-family:var(--tgy-font-body);font-weight:700;font-size:24px;line-height:32px;
  text-transform:capitalize;color:#fff;margin:0 0 12px}
.shopcat-passage__p{
  font-family:var(--tgy-font-body);font-weight:400;font-size:19px;line-height:30px;
  color:rgba(255,255,255,.94);margin:0}

/* =====================================================================
   MÓVIL  ≤991.98px  (referencia frame 158-3827, ancho 393)
   ===================================================================== */
@media (max-width:991.98px){
  .shopcat-hero{padding-top:16px;padding-bottom:24px}
  .shopcat-hero__head{flex-direction:column;gap:18px}
  .shopcat-hero__overline{padding-top:0;font-size:20px}
  .shopcat-hero__title{font-size:42px;text-align:left;width:100%;max-width:280px;letter-spacing:-.5px;line-height:1.05}
  .shopcat-hero__lead{width:100%;margin-top:14px;font-size:17px;line-height:27px}

  /* Figma móvil muestra solo 3 productos + paginación numérica */
  .prod--deskonly{display:none}
  .prod-grid{grid-template-columns:1fr;row-gap:48px}
  .prod__media{height:292px}
  .prod__body{padding-top:36px}
  .prod__buy{margin-top:71px}
  .prod__sizes + .prod__buy{margin-top:39px}

  /* Móvil: la paginación de productos usa números (no dots) */
  .shopcat-pager .shopcat-pager__dots{display:none}
  .shopcat-pager__nums{display:flex;align-items:center;gap:8px}

  .shopcat-content{padding:32px 0 56px}
  .shopcat-passage__h{font-size:24px}
  .shopcat-passage__p,.shopcat-content__lead{font-size:16px;line-height:26px}
}

@media (max-width:480px){
  .shopcat-hero__title{font-size:36px}
}
