/*
 Theme Name:     JM DiviChild
 Template:       Divi
 Version:        1.0.0
*/
 
 
/*------------------------------------------------------- */
/*place button modules next to each other in the same column*/


.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
	text-align: center !important;
}

/* ✅ Verfügbarkeitstext (Tickets verfügbar) */
.woocommerce .stock.in-stock {
    color: #000000; /* Schwarz */
    font-size: 1.2em; /* etwas größer */
    font-weight: 600; /* leicht fett */
}

/* ❌ Ausverkauft-Text */
.woocommerce .stock.out-of-stock {
    color: #cc0000; /* Rot */
    font-size: 1.2em; /* gleiche Größe */
    font-weight: 600;
}
.woocommerce .stock {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}




/* ==========================================
   ENTKORKTE KUNST - ADD TO CART MODUL
   Für WordPress/Divi
   ========================================== */


/* ==========================================
   BOOKING CARD (Hauptcontainer)
   ========================================== */
.booking-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
}

.booking-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 16px;
}

/* ==========================================
   PREIS
   ========================================== */
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 8px;
}

.product-price-suffix {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  margin-left: 8px;
}

/* ==========================================
   SELECT DROPDOWNS (Stadt & Termin)
   ========================================== */
.select-group {
  margin-bottom: 16px;
}

.select-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.select-field {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--foreground);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(114, 47, 55, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23A1A1AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.select-field:hover {
  border-color: rgba(114, 47, 55, 0.4);
}

.select-field:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}

.select-field:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.select-field option {
  background: #1a1a1a;
  color: var(--foreground);
  padding: 12px;
}

/* ==========================================
   QUANTITY SELECTOR (Mengen-Auswahl)
   ========================================== */
.quantity-row {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.quantity-selector {
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(114, 47, 55, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.quantity-btn {
  width: 48px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.2s ease;
}

.quantity-btn:hover {
  background: rgba(114, 47, 55, 0.1);
}

.quantity-btn:active {
  background: rgba(114, 47, 55, 0.2);
}

.quantity-btn svg {
  width: 20px;
  height: 20px;
}

.quantity-value {
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

/* ==========================================
   ADD TO CART BUTTON
   ========================================== */
.single_add_to_cart_button {
  flex: 1;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  background: var(--wine);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}


.single_add_to_cart_button:hover {
  background: var(--wine-light);
  box-shadow: 0 0 30px var(--wine-glow);
  transform: translateY(-2px);
}

.single_add_to_cart_button:active {
  transform: translateY(0);
}

.single_add_to_cart_button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.single_add_to_cart_button svg {
  width: 20px;
  height: 20px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 640px) {
  .quantity-row {
    flex-direction: column;
  }
  
  .quantity-selector {
    justify-content: center;
  }
  
  .single_add_to_cart_button {
    width: 100%;
  }
  
  .product-price {
    font-size: 2rem;
  }
}
@media (max-width: 479px) {
    .et_pb_gutters1 .et_pb_column, .et_pb_gutters1.et_pb_row .et_pb_column {
        margin-bottom: 20px !important;
    }
}
