#shophome{
  padding: 25dvh 0 20dvh 0;
  text-align:center;
}

.shophome-strip{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.shophome-track{
  display: flex;
  gap: 40px;
  will-change: transform;
  align-items: stretch;
}

.shophome-card{
  width: 260px;
  flex: 0 0 auto;
  text-align: left;
}

.shophome-img{
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #e52b2b;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.shophome-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shophome-meta{
  display:flex;
  justify-content: space-between;
  margin-top: 10px;
  align-items: center;
}

.shophome-name{
  font-weight: 700;
  text-transform: uppercase;
}

.shophome-cat{
  font-size: 12px;
  opacity: .7;
}

.shophome-actions{
  margin-top: 14px;
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content: center;
}

.shophome-add{
  border: 0;
  padding: 16px 31px;
  border-radius: 999px;
  background: black;
  color: white;
  cursor: pointer;
  font-family: karrik;
}

.shophome-add:hover{
  background: white;
  color: black;
}

.shophome-add[disabled]{
  opacity: .35;
  cursor: not-allowed;
}

.shophome-btn{
  display: inline-block;
  margin-top: 50px;
  color: black;
  padding: 16px 26px;
  text-decoration: none;
  letter-spacing: .5px;
  font-family: karrik;
}

.shophome-btn:hover{
  letter-spacing: 1px;
}

.shophome-strip { touch-action: pan-y; }  /* autorise swipe horizontal sans bloquer le scroll vertical */
.shophome-track { cursor: grab; user-select: none; }
.shophome-track.dragging { cursor: grabbing; }

















@keyframes cardPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes badgePop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.shophome-card.pop {
  animation: cardPop 300ms ease;
}

#cartBadge.pop {
  animation: badgePop 300ms ease;
}
