/*
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Child theme para personalizaciones de WP Travel Engine y otros ajustes.
Author: Victor Galvis
Template: Divi
Version: 1.0.0
*/

/* Importa estilos del tema padre */
@import url("../Divi/style.css");

/* =====================================================
   FUENTE GLOBAL
   ===================================================== */
body {
  font-family: "Poppins", sans-serif;
}

/* =====================================================
   FIX: Eliminar desplazamiento horizontal en móvil
   ===================================================== */
#page-container {
  overflow-x: hidden !important;
}

/* =====================================================
   🟨 BOTONES PERSONALIZADOS - WP Travel Engine (cards)
   ===================================================== */

html body .category-trips-single.wpte_new-layout 
.category-trips-single-inner-wrap 
.wpte-button-group 
.wpte-button.btn-detalle {
  background-color: #F7BD10 !important;
  background: #F7BD10 !important;
}

/* 🔧 Neutraliza el color blanco por defecto del plugin */
.category-trips-single.wpte_new-layout 
.category-trips-single-inner-wrap 
.wpte-button-group 
.wpte-button {
  flex: 1;
  white-space: nowrap;
  color: #000 !important; /* texto negro */
  text-shadow: none !important;
  mix-blend-mode: normal !important;
  transition: all 0.3s ease !important;
}

/* =====================================================
   🔸 BOTÓN "VER DETALLE"
   ===================================================== */

.category-trips-single.wpte_new-layout 
.category-trips-single-inner-wrap 
.wpte-button-group 
.wpte-button.btn-detalle {
  background-color: #F7BD10 !important;
  background: #F7BD10 !important; /* cubre shorthand también */
}

.wpte-button.btn-detalle {
  background-color: #f7bd10 !important; /* amarillo principal */
  color: #000 !important; /* texto negro */
  border: none !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
}

.wpte-button.btn-detalle:hover {
  background-color: #c1ac21 !important; /* amarillo más oscuro */
  color: #fff !important; /* texto blanco al pasar el mouse */
}

/* =====================================================
   🔹 BOTÓN "RESERVAR AHORA"
   ===================================================== */
.wpte-button.btn-reservar {
  background-color: #38934a !important; /* verde */
  color: #fff !important; /* texto blanco */
  border: none !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
}

.wpte-button.btn-reservar:hover {
  background-color: #2e7a3c !important; /* verde más oscuro */
  color: #fff !important;
}

/* =====================================================
   🔘 BOTONES DESHABILITADOS
   ===================================================== */
.wpte-button.wpete-button-disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
}


/* =====================================================
   ✂️ AJUSTE DE TAMAÑO Y ESTILO - BOTONES WP TRAVEL ENGINE
   ===================================================== */

/* 🔸 Contenedor de botones */
.wpte-button-group {
  display: flex;
  justify-content: center; /* centra los botones */
  align-items: center;
  gap: 10px !important; /* espacio entre ellos */
  flex-wrap: wrap;
  margin-top: 10px;
}

/* 🔘 Estilo general de los botones */
.category-trips-single.wpte_new-layout 
.category-trips-single-inner-wrap 
.wpte-button-group 
.wpte-button {
  flex: 0 0 auto !important; /* evita que se expandan */
  padding: 6px 14px !important; /* 👈 menos alto y ancho */
  font-size: 13px !important; /* 👈 fuente más pequeña */
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.1 !important;
  border-radius: 4px !important;
  text-transform: none !important;
  transition: all 0.25s ease !important;
  min-width: 110px; /* tamaño mínimo uniforme */
  text-align: center;
}

/* 🔹 Hover suave y responsivo */
.category-trips-single.wpte_new-layout 
.category-trips-single-inner-wrap 
.wpte-button-group 
.wpte-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* 📱 En móviles, ligeramente más grandes */
@media (max-width: 768px) {
  .category-trips-single.wpte_new-layout 
  .category-trips-single-inner-wrap 
  .wpte-button-group 
  .wpte-button {
    padding: 8px 16px !important;
    font-size: 14px !important;
    min-width: 130px;
  }
}


/* Ocultar duración en las tarjetas de tours */
.category-trips-single .wpte-trip-duration,
.category-trips-single .wpte-trip-meta-duration {
  display: none !important;
}