/* =============================================
   VARIABLES CSS POUR LA PAGE SINGLE TOUR
   ============================================= */
:root {
    --primary: #7CB342;
    --primary-light: #9CCC65;
    --primary-dark: #558B2F;
    --secondary: #FF8F00;
    --accent: #FFD54F;
    --text-dark: #2E3A46;
    --text-light: #6C7B7F;
    --text-white: #FFFFFF;
    --bg-light: #F8FBF4;
    --bg-dark: #1A1A1A;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* =============================================
   SIDEBAR FLOTTANTE PRINCIPALE
   ============================================= */

/* Container principal de la sidebar */
#tourmaster-tour-booking-bar-wrap {
    width: 380px !important;
    max-height: calc(100vh - 40px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--primary-light) transparent !important;
}

/* Outer container de la sidebar */
.tourmaster-tour-booking-bar-outer {
    background: var(--text-white) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-strong) !important;
    border: 1px solid rgba(124, 179, 66, 0.1) !important;
    padding: 8px !important;
    margin: 0 !important;
}

/* =============================================
   BLOC PRIX PRINCIPAL - MASQUER LES OVERLAYS
   ============================================= */

/* Masquer TOUS les overlays du prix */
.tourmaster-header-price-overlay,
.tourmaster-header-price .tourmaster-header-price-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Header avec le prix */
#tourmaster-tour-booking-bar-wrap .tourmaster-header-price {
    background: var(--gradient-primary) !important;
    border-radius: var(--border-radius) !important;
    margin: 0 0 8px 0 !important;
    padding: 12px !important; /* Augmenté pour mettre en valeur */
    position: relative !important;
    overflow: hidden !important;
}

/* Ribbon prix */
.tourmaster-header-price .tourmaster-header-price-ribbon {
    background: var(--secondary) !important;
    color: var(--text-white) !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 3px 10px !important;
    border-radius: 15px !important;
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Wrapper du prix */
.tourmaster-header-price-wrap {
    padding: 12px !important;
    text-align: center !important;
}

/* Prix principal - MISE EN VALEUR */
.tourmaster-tour-price {
    color: var(--text-white) !important;
    font-family: 'Playfair Display', serif !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.tourmaster-tour-price .tourmaster-head {
    font-size: 14px !important;
    font-weight: 400 !important;
    opacity: 0.9 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.tourmaster-tour-price .tourmaster-tail {
    font-size: 32px !important; /* Augmenté pour mise en valeur */
    font-weight: 700 !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4) !important;
    background: linear-gradient(45deg, var(--text-white), var(--accent)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Icône info prix */
.tourmaster-tour-price-info {
    color: var(--text-white) !important;
    font-size: 16px !important;
    opacity: 0.8 !important;
    margin-left: 8px !important;
    cursor: help !important;
    transition: var(--transition) !important;
}

/* =============================================
   ACTIONS DE LA SIDEBAR
   ============================================= */

/* Container des actions */
.tourmaster-tour-booking-bar-inner {
    padding: 8px !important;
    background: var(--bg-light) !important;
    border-radius: var(--border-radius) !important;
    margin: 0 !important;
}

/* Bloc actions du bas */
.tourmaster-booking-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 5px 0 !important;
    border-top: 1px solid rgba(124, 179, 66, 0.1) !important;
    margin-top: 8px !important;
}

/* Bouton wishlist */
.tourmaster-save-wish-list {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    color: var(--text-light) !important;
    font-size: 11px !important;
    font-family: 'Raleway', sans-serif !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    padding: 3px 6px !important;
    border-radius: 15px !important;
}

.tourmaster-save-wish-list:hover {
    color: var(--primary) !important;
    background: rgba(124, 179, 66, 0.1) !important;
}

/* Compteur de vues */
.tourmaster-view-count {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    color: var(--text-light) !important;
    font-size: 11px !important;
    font-family: 'Raleway', sans-serif !important;
    padding: 3px 6px !important;
    background: rgba(124, 179, 66, 0.1) !important;
    border-radius: 15px !important;
}

/* =============================================
   WIDGETS DE LA SIDEBAR
   ============================================= */

/* Container des widgets */
.tourmaster-tour-booking-bar-widget {
    padding: 8px 0 !important;
    border-top: 1px solid rgba(124, 179, 66, 0.1) !important;
    margin-top: 8px !important;
}

/* Widgets individuels */
.tourmaster-tour-booking-bar-widget .traveltour-widget {
    margin: 0 0 8px 0 !important;
    padding: 10px !important; /* Augmenté pour plus d'espace */
    background: var(--text-white) !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid rgba(124, 179, 66, 0.1) !important;
}

.tourmaster-tour-booking-bar-widget .traveltour-widget:last-child {
    margin-bottom: 0 !important;
}

/* =============================================
   WIDGET LISTE "POURQUOI CHOISIR" - AMÉLIORÉ
   ============================================= */

/* Titre du widget - AGRANDI */
.gdlr-core-widget-list-shortcode-title {
    color: var(--text-dark) !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 16px !important; /* Augmenté de 14px à 16px */
    font-weight: 700 !important; /* Augmenté de 600 à 700 */
    margin: 0 0 12px 0 !important; /* Augmenté de 6px à 12px */
    text-align: center !important;
    line-height: 1.2 !important;
}

/* Liste des éléments */
.gdlr-core-widget-list-shortcode .tourimg-settings {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gdlr-core-widget-list-shortcode .tourimg-settings li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 10px 0 !important; /* Augmenté de 6px à 10px */
    padding: 8px !important; /* Augmenté de 5px à 8px */
    background: var(--bg-light) !important;
    border-radius: 8px !important;
    border-left: 3px solid var(--primary) !important;
    transition: var(--transition) !important;
}

.gdlr-core-widget-list-shortcode .tourimg-settings li:hover {
    background: rgba(124, 179, 66, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* Icônes des éléments */
.gdlr-core-widget-list-shortcode .gdlr-core-column-service-media {
    flex-shrink: 0 !important;
    width: 32px !important; /* Augmenté de 30px à 32px */
    height: 32px !important; /* Augmenté de 30px à 32px */
}

.gdlr-core-widget-list-shortcode .gdlr-core-column-service-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Texte des éléments */
.gdlr-core-widget-list-shortcode .tourimg-settings li p {
    color: var(--text-dark) !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 12px !important; /* Augmenté de 11px à 12px */
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* =============================================
   WIDGET BOX "OFFREZ CETTE EXPÉRIENCE" - AMÉLIORÉ
   ============================================= */

/* Container du widget box */
.gdlr-core-widget-box-shortcode {
    background: var(--gradient-primary) !important;
    border-radius: var(--border-radius) !important;
    padding: 12px !important; /* Augmenté de 8px à 12px */
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Titre du widget box */
.gdlr-core-widget-box-shortcode-title {
    color: var(--text-white) !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 16px !important; /* Augmenté de 14px à 16px */
    font-weight: 700 !important; /* Augmenté de 600 à 700 */
    margin: 0 0 10px 0 !important; /* Augmenté de 6px à 10px */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Contenu du widget box */
.gdlr-core-widget-box-shortcode-content {
    color: var(--text-white) !important;
}

.gdlr-core-widget-box-shortcode-content p {
    font-family: 'Raleway', sans-serif !important;
    font-size: 13px !important; /* Augmenté de 11px à 13px */
    line-height: 1.5 !important; /* Augmenté de 1.4 à 1.5 */
    margin: 0 0 8px 0 !important; /* Augmenté de 4px à 8px */
    opacity: 0.95 !important;
}

/* Informations de contact - APPELS À L'ACTION PLUS VISIBLES */
.gdlr-core-widget-box-shortcode-content p i {
    margin-right: 6px !important; /* Augmenté de 4px à 6px */
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 6px !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition) !important;
}

.gdlr-core-widget-box-shortcode-content p i:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1) !important;
}

/* Numéro de téléphone plus visible */
.gdlr-core-widget-box-shortcode-content p span[style*="font-size: 20px"] {
    font-size: 18px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    display: inline-block !important;
    margin-top: 4px !important;
}

/* Email plus visible */
.gdlr-core-widget-box-shortcode-content p span[style*="font-size: 14px"] {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    display: inline-block !important;
    margin-top: 4px !important;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* Tablette */
@media screen and (max-width: 1024px) {
    #tourmaster-tour-booking-bar-wrap {
        width: 350px !important;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    #tourmaster-tour-booking-bar-wrap {
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        max-height: none !important;
        margin: 10px 0 !important;
    }
    
    .tourmaster-tour-booking-bar-outer {
        padding: 10px !important;
    }
    
    .gdlr-core-widget-list-shortcode-title {
        font-size: 14px !important;
    }
    
    .gdlr-core-widget-box-shortcode-title {
        font-size: 14px !important;
    }
}

/* =============================================
   ANIMATIONS ET TRANSITIONS
   ============================================= */

/* Animation d'apparition */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#tourmaster-tour-booking-bar-wrap.tourmaster-start-script {
    animation: slideInFromRight 0.5s ease-out !important;
}

/* Hover effects */
.tourmaster-tour-booking-bar-outer:hover {
    box-shadow: var(--shadow-strong) !important;
    transform: translateY(-2px) !important;
}

/* Scrollbar personnalisée */
#tourmaster-tour-booking-bar-wrap::-webkit-scrollbar {
    width: 4px !important;
}

#tourmaster-tour-booking-bar-wrap::-webkit-scrollbar-track {
    background: rgba(124, 179, 66, 0.1) !important;
    border-radius: 4px !important;
}

#tourmaster-tour-booking-bar-wrap::-webkit-scrollbar-thumb {
    background: var(--primary) !important;
    border-radius: 4px !important;
}

#tourmaster-tour-booking-bar-wrap::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark) !important;
}
