/* ==========================================
   Event Tickets Manager for WooCommerce
   Vertical Product Card Override (Imagem em Cima / Coluna Embaixo)
   ========================================== */

/* Keep Section Container Centered & Normal */
.events-section .container {
  display: block !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.events-section .section-title {
  text-align: center !important;
  margin-bottom: 2rem !important;
}

/* Plugin Search Input Styling */
.custom-events-plugin-wrapper input[type="text"],
.custom-events-plugin-wrapper input[type="search"],
.wps-etmw-search input,
.wps-etmw-search-input {
  width: 100% !important;
  max-width: 450px !important;
  margin: 0 auto 2.5rem auto !important;
  display: block !important;
  padding: 0.8rem 1.2rem !important;
  background: rgba(26, 15, 10, 0.8) !important;
  border: 1px solid rgba(212, 165, 116, 0.25) !important;
  border-radius: var(--radius-md, 8px) !important;
  color: var(--color-off-white, #FCF9F4) !important;
  font-family: var(--font-body, sans-serif) !important;
  font-size: 0.95rem !important;
  box-sizing: border-box !important;
}

/* Cards Wrapper Grid */
.custom-events-plugin-wrapper,
.wps-etmw-cards-list,
.wps-etmw-events-list,
.wps-etmw-events-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 360px)) !important;
  justify-content: center !important;
  gap: 2rem !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* ==========================================
   Vertical Product Card (.wps-etmw-card)
   ========================================== */
.wps-etmw-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: linear-gradient(135deg, rgba(42, 24, 16, 0.85) 0%, rgba(26, 15, 10, 0.95) 100%) !important;
  border: 1px solid rgba(212, 165, 116, 0.2) !important;
  border-radius: var(--radius-xl, 16px) !important;
  overflow: hidden !important;
  box-shadow: none !important;
  position: relative !important;
  box-sizing: border-box !important;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.wps-etmw-card:hover {
  border-color: rgba(212, 165, 116, 0.45) !important;
  box-shadow: var(--shadow-glow, 0 0 30px rgba(212, 165, 116, 0.3)) !important;
  transform: translateY(-5px) !important;
}

/* 1. BODY CONTAINER: IMAGE ON TOP */
.wps-etmw-card-body {
  display: flex !important;
  flex-direction: column !important;
  order: 0 !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Product Image (Top) */
.wps-etmw-card-image {
  width: 100% !important;
  height: 220px !important;
  min-height: 220px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  display: block !important;
  position: relative !important;
}

/* 2. HEADER: TAG BADGE ON TOP-LEFT OF IMAGE */
.wps-etmw-card-top {
  order: 1 !important;
  position: static !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wps-etmw-card-badge {
  display: none !important; /* Hide orange date badge */
}

.wps-etmw-card-endcap {
  position: static !important;
  display: block !important;
}

.wps-etmw-card-tag {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  z-index: 15 !important;
  padding: 0.35rem 1rem !important;
  background: var(--color-bronze, #D4A574) !important;
  color: var(--color-dark, #1A0F0A) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  border-radius: 20px !important;
  font-family: var(--font-body, sans-serif) !important;
}

.wps-etmw-card-time {
  order: 2 !important;
  padding: 0.5rem 1.5rem 0 1.5rem !important;
  margin: 0 !important;
  font-family: var(--font-body, sans-serif) !important;
  font-size: 0.875rem !important;
  color: rgba(252, 249, 244, 0.85) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.wps-etmw-card-time::before {
  content: '📅' !important;
  font-size: 0.95rem !important;
}

/* 3. META INFORMATION BELOW IMAGE */
.wps-etmw-card-meta {
  padding: 1.2rem 1.5rem 0.5rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.wps-etmw-card-meta h4 {
  font-family: var(--font-heading, serif) !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: var(--color-off-white, #FCF9F4) !important;
  margin: 0 0 0.3rem 0 !important;
  line-height: 1.3 !important;
}

.wps-etmw-card-venue {
  font-family: var(--font-body, sans-serif) !important;
  font-size: 0.85rem !important;
  color: rgba(252, 249, 244, 0.7) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wps-etmw-card-venue img {
  filter: brightness(0) saturate(100%) invert(73%) sepia(29%) saturate(692%) hue-rotate(349deg) brightness(92%) contrast(87%) !important;
  width: 14px !important;
  height: 14px !important;
}

/* 4. FOOTER (PRICE & BUTTON AT THE BOTTOM) */
.wps-etmw-card-footer {
  order: 4 !important;
  padding: 1rem 1.5rem 1.5rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  border-top: 1px solid rgba(212, 165, 116, 0.12) !important;
  margin-top: 1rem !important;
  gap: 1rem !important;
}

.wps-etmw-card-price-wrap,
.wps-etmw-card-price,
.wps-etmw-card-price *,
.wps-etmw-card-price .amount,
.wps-etmw-card-price .woocommerce-Price-currencySymbol {
  font-family: var(--font-heading, serif) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--color-bronze, #D4A574) !important;
  text-decoration: none !important;
}

.wps-etmw-card-actions button {
  padding: 0.7rem 1.4rem !important;
  background: transparent !important;
  color: var(--color-bronze, #D4A574) !important;
  border: 1px solid var(--color-bronze, #D4A574) !important;
  border-radius: var(--radius-md, 8px) !important;
  font-family: var(--font-body, sans-serif) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.wps-etmw-card-actions button:hover {
  background: var(--color-bronze, #D4A574) !important;
  color: var(--color-dark, #1A0F0A) !important;
  box-shadow: var(--shadow-glow, 0 0 25px rgba(212, 165, 116, 0.3)) !important;
}


div#wps_etmwf_event_date img, div#wps_etmwf_event_time img, div#wps_etmwf_event_venue img {
  filter: brightness(0) saturate(100%) invert(77%) sepia(18%) saturate(850%) hue-rotate(348deg) brightness(88%) contrast(87%) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after, .woocommerce div.product .woocommerce-tabs ul.tabs li::before {
  position: relative !important;
  border: none !important;
}

.woocommerce span.onsale {
  background-color: #D4A574 !important;
  color: #000 !important;
}

.logo-img img {
  border-radius: 100px;
  width: 75px;  
}