/* Language switcher + cart badge */

.tv-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--tv-bg-2);
  border: 1px solid var(--tv-line-soft);
}

.tv-header__inner .tv-lang {
  margin-left: auto;
  margin-right: 8px;
  flex-shrink: 0;
}

.tv-lang__btn {
  border: none;
  background: transparent;
  color: var(--tv-muted);
  font-family: var(--tv-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--tv-ease);
}

.tv-lang__btn:hover { color: var(--tv-text); }

.tv-lang__btn.is-active {
  background: var(--tv-btn-bg, linear-gradient(135deg, var(--tv-gold), var(--tv-gold-deep)));
  color: var(--tv-btn-text, #1a1200);
  box-shadow: var(--tv-shadow-sm);
}

.tv-nav__cart { position: relative; }

.tv-cart-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  background: var(--tv-btn-bg, linear-gradient(135deg, var(--tv-gold), var(--tv-gold-deep)));
  color: var(--tv-btn-text, #1a1200);
  line-height: 1;
}

.tv-cart-badge[hidden] { display: none; }

.tv-cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.tv-cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: var(--tv-surface-solid);
  border: 1px solid var(--tv-line-soft);
  box-shadow: var(--tv-shadow-sm);
}

@media (max-width: 560px) {
  .tv-cart-item { grid-template-columns: 80px 1fr; }
  .tv-cart-item__actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
  }
  .tv-cart-item__actions .tv-btn { flex: 1; }
}

.tv-cart-item__thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

.tv-cart-item__title {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 700;
}

.tv-cart-item__price {
  margin: 0 0 4px;
  font-family: var(--tv-display);
  font-weight: 800;
  color: var(--tv-accent, var(--tv-gold));
}

.tv-cart-item__meta {
  margin: 0;
  font-size: 0.76rem;
  color: var(--tv-muted);
}

.tv-cart-item__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
