/* Tickets Grid */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.ticket-card-modern {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ticket-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.ticket-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.ticket-card-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin: 0;
  font-family: "Racone", system-ui, sans-serif;
  font-style: italic;
  flex: 1;
}

.ticket-card-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  white-space: nowrap;
  text-align: right;
}

.ticket-card-currency {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-left: 0.2rem;
}

.ticket-card-desc {
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.5;
  margin: 0 0 1.25rem 0;
  font-size: 0.95rem;
}

.ticket-card-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ticket-card-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.ticket-card-qty select {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  min-width: 80px;
}

.btn-ticket-add {
  background: linear-gradient(135deg, #f7b731, #f7f0c9);
  border: none;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(247, 183, 49, 0.3);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  width: 100%;
}

.btn-ticket-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(247, 183, 49, 0.4);
}

.btn-ticket-add:active {
  transform: translateY(0);
}

/* Merch Grid */
.merch-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.merch-card-modern {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.merch-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.merch-card-image {
  width: 100%;
  aspect-ratio: 1;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.merch-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-card-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.5;
}

.merch-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.merch-card-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.merch-card-desc {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.merch-card-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.25rem 0;
}

.merch-card-price span {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-left: 0.2rem;
}

.merch-card-size {
  margin-top: 0.5rem;
}

.merch-card-size label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.merch-card-size select {
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  flex: 1;
}

.merch-card-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.merch-card-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.merch-card-qty select {
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  flex: 1;
}

.btn-merch-add {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(120, 46, 50, 0.25);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  width: 100%;
  font-size: 0.9rem;
}

.btn-merch-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(120, 46, 50, 0.35);
}

.btn-merch-add:active {
  transform: translateY(0);
}

/* Tickets und Merch Container - zwei separate Kacheln */
.tickets-merch-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Kacheln für Tickets und Merch */
.tickets-tile-card,
.merch-tile-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.tile-card-header-with-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(120, 46, 50, 0.2);
}

.tile-logo-inline {
  width: 50px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.tile-card-title-inline {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin: 0;
  font-family: "Racone", system-ui, sans-serif;
  font-style: italic;
  flex: 0 0 auto;
}

.tile-card-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin: 0 0 1.25rem 0;
  font-family: "Racone", system-ui, sans-serif;
  font-style: italic;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(120, 46, 50, 0.2);
}

/* Tickets Liste - kompakt mit Icon oben */
.tickets-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ticket-item-card-compact {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ticket-item-card-compact:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(4px);
}

.ticket-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ticket-item-name-compact {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.ticket-item-desc-compact {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  line-height: 1.4;
}

.ticket-item-price-compact {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.25rem 0;
}

.ticket-item-controls-compact {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.ticket-qty-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.ticket-qty-compact select {
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  min-width: 70px;
}

.btn-ticket-add-compact {
  background: linear-gradient(135deg, #f7b731, #f7f0c9);
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(247, 183, 49, 0.3);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-ticket-add-compact:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247, 183, 49, 0.4);
}

/* Merch Liste - kompakt mit Bild oben */
.merch-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.merch-item-card-compact {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}

.merch-item-card-compact:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(4px);
}

.merch-item-image-compact {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-item-image-compact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-item-image-compact span {
  font-size: 2.5rem;
  opacity: 0.4;
}

.merch-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.merch-item-name-compact {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.merch-item-desc-compact {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  line-height: 1.4;
}

.merch-item-price-compact {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.25rem 0;
}

.merch-item-size-compact {
  margin-top: 0.25rem;
}

.merch-item-size-compact label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-dark);
}

.merch-item-size-compact select {
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  flex: 1;
}

.merch-item-controls-compact {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.merch-qty-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-dark);
}

.merch-qty-compact select {
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  min-width: 70px;
}

.btn-merch-add-compact {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(120, 46, 50, 0.25);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-merch-add-compact:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(120, 46, 50, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .tickets-merch-container {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .tickets-page-section {
    padding: 0 1rem !important;
  }
  
  .tickets-grid {
    grid-template-columns: 1fr;
  }
  
  .merch-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .ticket-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .ticket-card-price {
    text-align: left;
  }
  
  .tickets-tile-card,
  .merch-tile-card {
    padding: 1rem;
  }
  
  .tile-card-title-inline,
  .tile-card-title {
    font-size: 1.2rem;
  }
  
  .tile-logo {
    width: 50px;
  }
}

