/* HERO */
.hero-section{padding:clamp(4rem,8vw,8rem) 0;background:
  linear-gradient(90deg,rgba(10,10,10,.82) 0%,rgba(10,10,10,.68) 38%,rgba(10,10,10,.5) 60%,rgba(10,10,10,.3) 100%),
  url('/assets/images/banners/tienda-header-sin-precios.jpg') 62% 47%/cover no-repeat}
.hero-layout{display:block}
.hero-copy{min-width:0;max-width:760px}
.section-tag{font-size:.6rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--red);margin-bottom:.75rem}
.section-title-row{display:flex;align-items:center;gap:1rem;flex-wrap:nowrap}
.section-title{font-family:var(--font-d);font-weight:900;font-size:clamp(2.4rem,4.3vw,3.8rem);margin-bottom:1.5rem;color:#fff}
.hero-sub{font-size:clamp(1rem,1.5vw,1.25rem);line-height:1.9;color:rgba(255,255,255,.9);max-width:760px;text-align:left}
.hero-sub-line{display:block}
@media(max-width:768px){
  .hero-section{background:
    linear-gradient(180deg,rgba(10,10,10,.84) 0%,rgba(10,10,10,.7) 45%,rgba(10,10,10,.56) 100%),
    url('/assets/images/banners/tienda-header-sin-precios.jpg') 58% 28%/cover no-repeat}
  .section-title-row{align-items:flex-start;gap:.7rem;flex-wrap:wrap}
  .hero-sub-line{display:block}
  .hero-sub-line-2{margin-top:0}
}

/* FILTERS */
.filters-section{padding:clamp(2rem,4vw,3rem) 0;display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.filter-btn{padding:.6rem 1.2rem;font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;border-radius:100px;border:1.5px solid #ddd;background:transparent;color:var(--gray);transition:all .3s;cursor:pointer}
.filter-btn:hover,.filter-btn.active{border-color:var(--red);color:var(--red);background:rgba(244,30,13,.08)}
.product-count{font-size:.8rem;color:var(--gray);font-weight:500;margin-left:auto}

/* PRODUCTS SECTION */
.products-section{padding:clamp(3rem,6vw,5rem) 0}

/* GRID IGUAL A IRONBRANDSCL.COM */
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,3vw,2.5rem)}

.pc{cursor:pointer;opacity:0;transform:translateY(50px);animation:reveal .8s cubic-bezier(.16,1,.3,1) forwards}
@keyframes reveal{to{opacity:1;transform:translateY(0)}}

.pc-img{position:relative;aspect-ratio:1;border-radius:1rem;overflow:hidden;margin-bottom:1.1rem;box-shadow:0 4px 20px rgba(44,24,16,.08);background:#fff}
.pc-img-in{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transition:transform .6s cubic-bezier(.16,1,.3,1),opacity .4s ease;background-size:contain;background-repeat:no-repeat;background-position:center;opacity:1;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab}
.pc-img-in:active{cursor:grabbing}
.pc-img-in.is-switching{opacity:0}
.pc:hover .pc-img-in{transform:scale(1.05)}
.pc-img-in.pc-img-quad{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px;background:#f0ebe5;align-items:stretch;justify-content:stretch;cursor:default}
.pc-img-in.pc-img-quad .pc-img-quad-cell{background-color:#fff;background-size:68%;background-repeat:no-repeat;background-position:center;width:100%;height:100%}
.pc:hover .pc-img-in.pc-img-quad{transform:scale(1.04)}
.pc-seal{position:absolute;bottom:.7rem;width:72px;height:auto;z-index:3;pointer-events:none;filter:drop-shadow(0 3px 10px rgba(0,0,0,.28))}
.pc-seal-right{right:.7rem}
.pc-seal-left{left:.7rem}
.pc-seal-green{left:.7rem;bottom:4.8rem;top:auto;transform:scale(.72);transform-origin:center bottom}
.pc-seal-right{transform:scale(.72);transform-origin:center bottom}
.pc-badge{position:absolute;top:.6rem;left:.6rem;z-index:2;display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:999px;background:rgba(15,15,15,.72);backdrop-filter:blur(6px);color:#fff;font-size:.46rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;box-shadow:0 2px 8px rgba(15,15,15,.15)}
.pc-badge::before{content:'';width:4px;height:4px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px rgba(244,30,13,.18)}
.pc-dots{position:absolute;left:50%;bottom:.85rem;transform:translateX(-50%);display:flex;align-items:center;gap:.35rem;z-index:2;pointer-events:none;padding:.28rem .45rem;border-radius:999px;background:rgba(255,255,255,.7);backdrop-filter:blur(6px);box-shadow:0 4px 14px rgba(15,15,15,.08)}
.pc-dot{width:6px;height:6px;border-radius:999px;background:rgba(15,15,15,.18);transition:all .25s ease}
.pc-dot.active{width:18px;background:var(--red)}

.pc-add{position:absolute;bottom:.9rem;right:.9rem;width:42px;height:42px;border-radius:50%;background:var(--cream);border:none;display:flex;align-items:center;justify-content:center;z-index:2;opacity:0;transform:translateY(8px);transition:all .4s cubic-bezier(.16,1,.3,1);box-shadow:0 4px 16px rgba(44,24,16,.15);cursor:pointer}
.pc-add svg{width:18px;height:18px;stroke:var(--dark);fill:none;stroke-width:2}
.pc:hover .pc-add{opacity:1;transform:translateY(0)}

.pc-brand{font-size:.58rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--red);margin-bottom:.25rem}
.pc-best-price{display:inline-flex;align-items:center;gap:.3rem;font-size:.52rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--red);background:rgba(244,30,13,.08);border:1px solid rgba(244,30,13,.22);border-radius:999px;padding:.2rem .6rem;margin-bottom:.35rem}
.pc-best-price::before{content:'★';font-size:.55rem}
.pc-name{font-family:var(--font-d);font-weight:700;font-size:1rem;color:var(--dark);margin-bottom:.4rem;line-height:1.3}
.pc-stars{display:flex;align-items:center;gap:.2rem;margin-bottom:.4rem}
.pc-stars svg{width:13px;height:13px;fill:var(--gold)}
.pc-stars span{font-size:.65rem;font-weight:600;color:var(--gray);margin-left:.25rem}
.pc-price{display:flex;align-items:center;gap:.5rem}
.price{font-weight:700;font-size:1rem;color:var(--dark)}

@media(max-width:1024px){
  .product-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}
}

@media(max-width:768px){
  .product-grid{grid-template-columns:1fr;gap:1.5rem}
  .topbar{display:flex;height:30px}
  .topbar-item{font-size:.52rem;padding:0 1.2rem;letter-spacing:.16em}
  .header{top:30px}
  main{margin-top:78px}
  .filters-section{flex-direction:column;align-items:flex-start}
  .product-count{margin-left:0;margin-top:0}
  .pc-seal{width:60px;bottom:.55rem}
  .pc-seal-left{left:.55rem}
  .pc-seal-green{left:.55rem;bottom:3.9rem;top:auto;transform:scale(.72);transform-origin:center bottom}
}

@media(max-width:640px){
  .product-grid{grid-template-columns:1fr}
}

@media(max-width:480px){
  .topbar{display:flex;height:28px}
  .header{top:28px;height:48px}
  main{margin-top:76px}
  .pc-seal{width:54px}
}

@media(hover:none){
  .pc-add{opacity:1;transform:translateY(0)}
}

/* STAGGER ANIMATION */
.pc[data-d="1"]{animation-delay:.1s}
.pc[data-d="2"]{animation-delay:.2s}
.pc[data-d="3"]{animation-delay:.3s}
.pc[data-d="4"]{animation-delay:.4s}
.pc[data-d="5"]{animation-delay:.5s}
.pc[data-d="6"]{animation-delay:.6s}

/* FOOTER */
footer{background:#0a0a0a;color:#fff;padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem}
.footer-col h4{font-weight:700;margin-bottom:1rem;color:var(--red)}
.footer-col ul{list-style:none}
.footer-col a{font-size:.9rem;color:rgba(255,255,255,.6);transition:color .3s;display:block;margin-bottom:.5rem}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:2rem;text-align:center;font-size:.85rem;color:rgba(255,255,255,.4)}

/* MOBILE NAV */
.mob-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:2000;opacity:0;pointer-events:none;transition:opacity .3s}
.mob-overlay.open{opacity:1;pointer-events:auto}
.mob-nav{position:fixed;top:0;left:0;bottom:0;width:280px;max-width:85vw;background:#fff;z-index:2001;transform:translateX(-100%);transition:transform .3s;padding:2rem;display:flex;flex-direction:column}
.mob-nav.open{transform:translateX(0)}
.mob-close{position:absolute;top:1.5rem;right:1.5rem;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer}
.mob-close svg{width:24px;height:24px;stroke:var(--dark);fill:none}
.mob-nav ul{list-style:none;display:flex;flex-direction:column;gap:1rem;margin-top:2rem}
.mob-nav a{font-weight:600;text-transform:uppercase;letter-spacing:.1em;font-size:.85rem;color:var(--dark)}
.mob-nav a:hover{color:var(--red)}

