/* One reel: portrait video, brand badge, sound toggle, product bar.
 * Accent and badge image are inherited from the parent ReelsRow section. */

.cc_srrpi96w_7WxY2Y8DDP .reel-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 6px;
  background: var(--lassori-dark, #1d1616);
  scroll-snap-align: start;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-media {
  position: absolute;
  inset: 0;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-video, .cc_srrpi96w_7WxY2Y8DDP .reel-card-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-placeholder {
  background: var(--lassori-dark, #1d1616);
}

/* ─── Brand badge (top-left) ──────────────────────────────── */

.cc_srrpi96w_7WxY2Y8DDP .reel-card-badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: var(--lassori-white, #fff);
  background-image: var(--reel-badge-image, none);
  background-size: cover;
  background-position: center;
  pointer-events: none;
  /* The section only sets this to `block` once a logo image exists, so an
   * empty white dot never shows on a card. */
  display: var(--reel-badge-display, none);
}

/* ─── Sound toggle (top-right) ────────────────────────────── */

.cc_srrpi96w_7WxY2Y8DDP .reel-card-sound {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: var(--lassori-white, #fff);
  cursor: pointer;
  transition: background-color 200ms ease;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-sound:hover, .cc_srrpi96w_7WxY2Y8DDP .reel-card-sound:focus-visible {
  background: rgba(0, 0, 0, 0.62);
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-sound:focus-visible {
  outline: 2px solid var(--lassori-white, #fff);
  outline-offset: 2px;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-sound svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* ─── Product bar (bottom) ────────────────────────────────── */

.cc_srrpi96w_7WxY2Y8DDP .reel-card-bar {
  position: absolute;
  right: 0.625rem;
  bottom: 0.625rem;
  left: 0.625rem;
  display: flex;
  align-items: stretch;
  gap: 0.375rem;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-label {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem;
  border-radius: 4px;
  background: var(--reel-accent, var(--color-accent));
  color: var(--lassori-white, #fff);
  text-decoration: none;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-thumb {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 3px;
  object-fit: cover;
  display: block;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-label-text {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc_srrpi96w_7WxY2Y8DDP a.reel-card-label:hover, .cc_srrpi96w_7WxY2Y8DDP a.reel-card-label:focus-visible {
  background: var(--lassori-dark, #1d1616);
}

.cc_srrpi96w_7WxY2Y8DDP a.reel-card-label:focus-visible, .cc_srrpi96w_7WxY2Y8DDP .reel-card-cart:focus-visible {
  outline: 2px solid var(--lassori-white, #fff);
  outline-offset: 2px;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-cart {
  flex: 0 0 auto;
  width: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--reel-accent, var(--color-accent));
  color: var(--lassori-white, #fff);
  cursor: pointer;
  transition: background-color 200ms ease;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-cart:hover:not(:disabled) {
  background: var(--lassori-dark, #1d1616);
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-cart:disabled {
  cursor: default;
  opacity: 0.7;
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-cart[data-state="added"] {
  background: var(--lassori-dark, #1d1616);
}

.cc_srrpi96w_7WxY2Y8DDP .reel-card-cart svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (min-width: 1024px) {
  .cc_srrpi96w_7WxY2Y8DDP .reel-card-badge, .cc_srrpi96w_7WxY2Y8DDP .reel-card-sound {
    width: 2rem;
    height: 2rem;
  }
}
