/* Ticket cart — matches existing dark RA-style shell */
.ff-tickets {
  color: #f2f2f2;
  padding: 10px 0 30px;
}

.ff-tickets__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 764px) {
  .ff-tickets__grid {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
  }
}

.ff-ticket {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #333;
}

.ff-ticket:first-child {
  border-top: 1px solid #333;
}

.ff-ticket__meta {
  min-width: 0;
}

.ff-ticket__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.ff-ticket__desc {
  display: block;
  color: #999;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.ff-ticket__price {
  color: #ff4848;
  font-size: 15px;
  font-weight: 700;
}

.ff-ticket__stock {
  color: #666;
  font-size: 12px;
  margin-left: 8px;
}

.ff-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #333;
  flex-shrink: 0;
}

.ff-qty button {
  width: 36px;
  height: 36px;
  border: 0;
  background: #111;
  color: #f2f2f2;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.ff-qty button:hover {
  background: #1a1a1a;
  color: #ff4848;
}

.ff-qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ff-qty__val {
  min-width: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.ff-cart {
  border: 1px solid #333;
  background: #0a0a0a;
  padding: 20px;
  position: sticky;
  top: 80px;
}

.ff-product-banner {
  margin: -20px -20px 16px;
  overflow: hidden;
  border-bottom: 1px solid #333;
  background: #000;
}

.ff-product-banner__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ff-cart__title {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff4848;
  margin: 0 0 16px;
}

.ff-cart__empty {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.ff-cart__lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ff-cart__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #222;
  font-size: 14px;
}

.ff-cart__line-name {
  color: #f2f2f2;
}

.ff-cart__line-qty {
  color: #999;
  font-size: 12px;
}

.ff-cart__line-price {
  white-space: nowrap;
  font-weight: 700;
}

.ff-cart__remove {
  border: 0;
  background: transparent;
  color: #666;
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  margin-top: 4px;
  text-decoration: underline;
}

.ff-cart__remove:hover {
  color: #ff4848;
}

.ff-cart__totals {
  margin-top: 16px;
}

.ff-cart__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  color: #999;
}

.ff-cart__row--total {
  color: #f2f2f2;
  font-size: 18px;
  font-weight: 700;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.ff-cart__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  height: 44px;
  border: 0;
  background: #ff4848;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.ff-cart__checkout:hover {
  filter: brightness(1.08);
  color: #fff;
}

.ff-cart__note {
  margin: 12px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.ff-ticket-toast {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 99999;
  background: #111;
  border: 1px solid #333;
  color: #f2f2f2;
  padding: 12px 16px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.ff-ticket-toast.is-on {
  opacity: 1;
  transform: translateY(0);
}

.ff-sticky-cart {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99990;
  background: #000;
  border-top: 1px solid #333;
  padding: 12px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ff-sticky-cart.is-on {
  display: flex;
}

.ff-sticky-cart__meta {
  font-size: 13px;
  color: #999;
}

.ff-sticky-cart__meta strong {
  color: #f2f2f2;
  font-size: 16px;
  display: block;
}

.ff-sticky-cart__btn {
  border: 0;
  background: #ff4848;
  color: #fff;
  height: 40px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.ff-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ff-modal.is-on {
  display: flex;
}

.ff-modal__panel {
  width: min(440px, 100%);
  background: #0a0a0a;
  border: 1px solid #333;
  padding: 24px;
}

.ff-modal__panel h3 {
  margin: 0 0 8px;
  color: #ff4848;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ff-modal__panel p {
  margin: 0 0 16px;
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
}

.ff-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.ff-modal__actions button {
  height: 40px;
  padding: 0 16px;
  border: 1px solid #333;
  background: #111;
  color: #f2f2f2;
  cursor: pointer;
  font-weight: 700;
}

.ff-modal__actions button.ff-primary {
  background: #ff4848;
  border-color: #ff4848;
  color: #fff;
}
