/* ==========================================================================
   home-picks.css — the row of products under the home banner (partials/home_picks.php).
   Phones and small tablets only: hidden from 768 px up.
   ========================================================================== */
.hp{
  background:#fff;
  padding:1rem 0 1.1rem;
  border-bottom:1px solid rgba(31,27,46,.07);
  overflow:hidden;                         /* the row scrolls inside itself; the page never scrolls sideways */
}
@media (min-width:768px){ .hp{display:none;} }

.hp__head{
  display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  padding:0 1rem .7rem;
}
.hp__title{margin:0;font-family:'Sora',sans-serif;font-size:1.1rem;font-weight:700;color:var(--ink);}
.hp__all{font-size:.85rem;font-weight:600;color:var(--violet);text-decoration:none;white-space:nowrap;}

.hp__row{
  display:flex;gap:.7rem;
  padding:0 1rem .2rem;
  overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;scroll-padding-left:1rem;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.hp__row::-webkit-scrollbar{display:none;}

.hp__card{
  flex:0 0 41vw;max-width:190px;min-width:132px;
  scroll-snap-align:start;
  display:flex;flex-direction:column;gap:.4rem;
  color:var(--ink);text-decoration:none;
}
.hp__img{
  position:relative;display:block;
  aspect-ratio:5/6;overflow:hidden;border-radius:.8rem;background:var(--mist,#f3f1f8);
}
.hp__img img{display:block;width:100%;height:100%;object-fit:cover;}
.hp__off{
  position:absolute;top:.4rem;left:.4rem;
  padding:.12rem .45rem;border-radius:999px;
  background:var(--coral,#c0392b);color:#fff;font-size:.68rem;font-weight:700;line-height:1.5;
}
.hp__name{
  font-size:.84rem;font-weight:600;line-height:1.3;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.2em;
}
.hp__price{font-size:.86rem;display:flex;align-items:baseline;flex-wrap:wrap;column-gap:.4rem;}
.hp__price b{font-weight:700;}
.hp__price s{font-size:.74rem;color:var(--muted);}
.hp__card:active .hp__img{opacity:.9;}
@media (prefers-reduced-motion:no-preference){
  .hp__row{scroll-behavior:smooth;}
}
