/* Nodra 4.9.1 — mobile-first polish for storefront and standalone product details.
   This stylesheet loads after catalogo-v49.css; tablet & desktop stay unchanged. */
@media(max-width:768px){
  .v49-detail-page .v49-detail-grid{grid-template-columns:minmax(0,1fr)}
  .v49-detail-page .v49-buy-panel{position:static;max-width:none}
  .v49-product-main{min-width:0}
  .v49-buy-panel h1,.v49-lead,.v49-product-description{overflow-wrap:anywhere}
  .v49-detail-page .v49-thumbs{scrollbar-width:thin}
  .v49-detail-page .v49-breadcrumb{height:auto;min-height:0;flex-wrap:wrap;justify-content:flex-start}
  .v49-lightbox{height:min(91dvh,920px);max-height:91dvh}
}
@media(max-width:600px){
  .container{padding-left:15px;padding-right:15px}
  .sticky-brand nav{min-height:67px;height:auto;display:flex;align-items:center;gap:10px;padding:9px 0}
  .sticky-brand nav .logo{font-size:29px;line-height:1;white-space:nowrap}
  .sticky-brand nav .navright{display:flex;align-items:center;justify-content:flex-end;min-width:0;gap:7px;flex-wrap:nowrap}
  .sticky-brand nav .navright a{font-size:11px;white-space:nowrap}
  .sticky-brand nav .share{font-size:11px;padding:9px 10px;white-space:nowrap;min-height:40px}
  /* The full public catalog still has a Cómo funciona section; it isn't
     duplicated in the very narrow mobile header. */
  .sticky-brand nav .navright a[href="#como-funciona"]{display:none}
  .section-head{flex-direction:column;align-items:flex-start;gap:5px}
  .section-head h2{line-height:1.15}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .v49-card{min-width:0}
  .v49-card-photo{aspect-ratio:1/1.05}
  .v49-card-content{padding:13px 12px;gap:9px}
  .v49-card-content h3{font-size:15px;line-height:1.28;overflow-wrap:anywhere}
  .v49-card-description{font-size:11px;line-height:1.5;min-height:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .v49-card-price{padding-top:11px}
  .v49-card-price strong{font-size:clamp(18px,5vw,22px);line-height:1.16}
  .v49-card-price span{font-size:9px;line-height:1.3}
  .v49-card-cta{min-height:47px;padding:9px 5px;font-size:11px;line-height:1.35;text-wrap:balance}
  .v49-card-content h3 a{display:block}
  .v49-featured-image{border-radius:13px}
  .v49-detail-page main{padding-top:17px;padding-bottom:27px}
  .v49-breadcrumb{gap:6px;font-size:10px;margin-bottom:14px}
  .v49-buy-panel{border-radius:14px;padding:18px}
  .v49-buy-panel h1{font-size:clamp(25px,7.2vw,34px);line-height:1.13;letter-spacing:-.6px}
  .v49-lead{font-size:13px}
  .v49-big-price{font-size:38px}
  .v49-quantities{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  .v49-quantity-button{min-height:73px;padding:9px 5px;gap:5px;touch-action:manipulation}
  .v49-quantity-button strong{font-size:17px}
  .v49-quantity-button small{font-size:11px;line-height:1.25}
  .v49-discount-flag{font-size:10px}
  .v49-quantity-help{font-size:11px}
  .v49-total-price strong{font-size:24px}
  .v49-whatsapp{min-height:54px;font-size:15px}
  .v49-thumbnail{flex-basis:76px;width:76px;height:76px}
  .v49-gallery-note{font-size:11px}
  .v49-lower{grid-template-columns:minmax(0,1fr);gap:12px}
  .v49-lower>div{padding:19px}
  .v49-lower h2{font-size:21px}
  .v49-lightbox{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;padding:56px 32px calc(46px + env(safe-area-inset-bottom))}
  .v49-lightbox button{font-size:25px;min-width:42px;min-height:42px;display:grid;place-items:center}
  .v49-lightbox .v49-zoom-prev{left:3px}
  .v49-lightbox .v49-zoom-next{right:3px}
  .v49-lightbox .v49-zoom-close{top:calc(10px + env(safe-area-inset-top));right:12px}
  .v49-lightbox .v49-zoom-counter{bottom:calc(13px + env(safe-area-inset-bottom))}
  .foot{flex-direction:column;gap:6px}
}
@media(max-width:355px){
  .sticky-brand nav .logo{font-size:25px}
  .sticky-brand nav .navright{gap:4px}
  .sticky-brand nav .navright a{font-size:10px}
  .sticky-brand nav .share{padding:8px;font-size:10px}
  /* Tiny phones benefit from one generously sized product photo per row. */
  .grid{grid-template-columns:minmax(0,1fr)}
  .v49-card-photo{aspect-ratio:4/3}
  .v49-card-content h3{font-size:18px}
  .v49-card-price strong{font-size:25px}
  .v49-quantities{gap:6px}
  .v49-quantity-button{padding:8px 2px}
}
@media(prefers-reduced-motion:reduce){
  .v49-card,.v49-card-photo img{transition:none}
}
