
/* Fullscreen feed (TikTok-ish) */
.gibsf-feed{
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  background: #000;
}

.gibsf-item{
  position: relative;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gibsf-stage{
  position: relative;
  height: 100%;
  width: 100%;
}

.gibsf-video{
  position: absolute;
  inset: 0;
  background: #000;
}

.gibsf-video iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Products button (small) */
.gibsf-products-btn{
  position: absolute;
  right: 12px;
  bottom: 18px;
  z-index: 4;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

/* Right drawer (mobile uses overlay) */
.gibsf-drawer{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(84vw, 380px);
  background: rgba(255,255,255,0.96);
  border-left: 1px solid rgba(0,0,0,0.12);
  transform: translateX(102%);
  transition: transform 180ms ease-out;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.gibsf-item.is-open .gibsf-drawer{ transform: translateX(0); }

.gibsf-drawer-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.gibsf-drawer-title{ font-weight: 600; font-size: 14px; }
.gibsf-close{
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.gibsf-drawer-body{
  padding: 12px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gibsf-card{
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  padding: 10px;
  background: #fff;
}

.gibsf-img{
  width: 74px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
}

.gibsf-meta{ flex: 1; min-width: 0; }
.gibsf-name{ font-size: 13px; line-height: 1.25; margin-bottom: 8px; }
.gibsf-link{
  display: inline-block;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.18);
  text-decoration: none;
  font-size: 13px;
}

/* Desktop: show drawer as a side panel by default when open; still overlays video */
@media (min-width: 980px){
  .gibsf-drawer{ width: 380px; }
}
