/*
Theme Name:  Listeo ChildTheme
Theme URI: http://listeo.pro
Author: Purethemes
Author URI: http://themeforest.net/user/purethemes
Description: Directory WordPress Theme by Purethemes
Version: 1.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: listeo
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template:  listeo
*/

/* ============================================================================
   #5 — Hide coupon field on single listing booking sidebar
   Keep it on the booking confirmation page (which has its own coupon section).
   ============================================================================ */
.single-listing .coupon-widget-wrapper,
.single-listing .coupon-widget-wrapper + input[name="coupon_code"] {
    display: none !important;
}

/* ============================================================================
   #7 — WhatsApp share button: normalize size to match siblings
   ============================================================================ */
.listing-links li a.listing-links-whatsapp {
    padding: 8px 14px;
    font-size: 13px;
    line-height: 1;
    display: inline-block;
    border-radius: 53px;
}

/* ============================================================================
   #8 — Calendar color overrides + Saturday full-width click area
   ============================================================================ */

/* Match home page calendar accent color (green) */
.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker td.in-range {
    background-color: #27ae60 !important;
    color: #fff !important;
}

.daterangepicker td.start-date,
.daterangepicker td.end-date {
    background-color: #219150 !important;
    color: #fff !important;
    border-radius: 4px;
}

.daterangepicker td.in-range:not(.active) {
    background-color: rgba(39, 174, 96, 0.15) !important;
    color: #333 !important;
}

/* Saturday cell: ensure full clickable width (fix half-button issue) */
.daterangepicker td:last-child,
.daterangepicker th:last-child {
    min-width: 40px;
    text-align: center;
}

.daterangepicker .calendar-table td {
    width: 40px;
    height: 32px;
    box-sizing: border-box;
}

/* ============================================================================
   #10 — Green "Per day starts from" badge → clickable button style
   ============================================================================ */
.booking-widget .booking-pricing-tag {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.booking-widget .booking-pricing-tag:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}
