/*
Theme Name:     Neve Child - Woodbrey Family Travel
Theme URI:      https://woodbreyfamilytravel.com
Description:    Custom child theme for Woodbrey Family Travel based on Neve theme
Author:         Woodbrey Family Travel
Author URI:     https://woodbreyfamilytravel.com
Template:       neve
Version:        0.14
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve-child
*/

/* Custom styles from the original site */

/* Brown background color */
.bg-brown {
    background-color: #725540 !important;
}

/* Orange bar */
.orange-bar {
    background-color: #f8945e;
    height: 8px;
}

/* Navigation and header styling */
body {
    padding-top: 0;
}

.wrapper {
    padding-top: 260px;
    min-height: 0% !important;
    position: relative;
}

.wrapper.shrink {
    padding-top: 260px;
}

/* Fixed header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    transition: box-shadow 0.3s ease, height 0.3s ease;
}

.header.shrink {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Social icons and ADVP logo container */
.header-top-bar {
    background: white;
    padding: 0px 0;
    position: relative;
    transition: all 0.3s ease;
}

#topnav2.navbar {
    position: relative !important;
    margin-bottom: -50px;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}

#topnav2.navbar .container-fluid {
    justify-content: center;
}

#topnav2.navbar.shrink {
    height: 80px !important;
    min-height: 80px !important;
    margin-bottom: 0;
}

#topnav2.navbar.shrink .container-fluid > div {
    height: 80px !important;
    min-height: 80px !important;
    overflow: hidden;
}

.bg-light {
    --bs-bg-opacity: .1 !important;
}

/* Header container for social icons and logo */
.header-social-bar {
    background: white;
    padding: 20px 0;
    min-height: 80px;
    position: relative;
}

/* Shrinking header styles */
#headerOval {
    transition: all 0.3s ease;
    margin: 0 auto;
}

#headerOval, #headerLogo {
    z-index: 1001;
    position: relative;
}

#headerOval.shrink {
    width: 180px !important;
    height: 70px !important;
    margin: 0 auto;
}

.nav-shrink-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 80px;
    background: white;
    z-index: 900;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

#headerLogo {
    transition: all 0.3s ease;
    width: 700px;
    height: 140px;
    object-fit: contain;
}

#headerOval.shrink #headerLogo {
    width: 75% !important;
    height: 75% !important;
}

.header-title {
    transition: font-size 0.3s ease;
    font-size: 2rem;
}

.header-title.shrink {
    font-size: 1rem !important;
}

.header-tagline {
    transition: font-size 0.3s ease;
    font-size: 1.1rem;
}

.header-tagline.shrink {
    font-size: 0.7rem !important;
}

/* Orange bar and contact section */
.orange-bar {
    height: 8px;
    background: linear-gradient(to bottom, #f8945e 0%, #f8945e 100%);
}

#navphone {
    position: relative;
    z-index: 800;
    margin-top: -3rem !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#navemailphone {
    position: relative;
    z-index: 900;
    background-color: #f8945e;
    margin: 0 !important;
    margin-bottom: 0rem !important;
    padding: 8px 0;
}

#navemailphone a {
    font-size: 18px;
    color: white !important;
    text-decoration: none;
    position: relative;
    z-index: 1200;
}

#navemailphone i {
    font-size: 20px;
    margin-right: 5px;
}

/* Secondary Navigation Menu */
.secondary-navigation{
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    position: relative;
    z-index: 700;
    margin-bottom: 0 !important;
    display: block !important;
    visibility: visible !important;
    transition: none !important;
}

.secondary-menu-full {
    display: block !important;
}

.secondary-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.secondary-menu-list > li {
    margin: 0;
    padding: 0;
    list-style: none !important;
    display: inline-flex;
    align-items: center;
}

.secondary-menu-list > li::before,
.secondary-menu-list > li::after {
    content: none !important;
}

.secondary-menu-list > li:not(:last-child)::after {
    content: '|' !important;
    margin: 0 15px;
    color: #6c757d;
}

.secondary-menu-list > li > a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.secondary-menu-list > li > a:hover {
    color: #f8945e;
}

/* Secondary menu dropdown (shown when header shrinks) */
.secondary-menu-dropdown {
    display: none;
}

.secondary-menu-dropdown > button {
    background-color: white;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
}

.secondary-menu-dropdown > button:hover {
    background-color: #f8f9fa;
    border-color: #f8945e;
    color: #f8945e;
}

.secondary-menu-dropdown .dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
}

.secondary-menu-dropdown .dropdown-menu li {
    list-style: none;
}

.secondary-menu-dropdown .dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.secondary-menu-dropdown .dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #f8945e;
}

/* Shrink state styling when scrolled */
.secondary-navigation.shrink {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    background-color: white !important;
    padding: 0.5rem 0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    border-bottom: 1px solid #dee2e6 !important;
    margin-bottom: 0 !important;
}

.secondary-navigation.shrink .secondary-menu-full {
    display: none !important;
}

.secondary-navigation.shrink .secondary-menu-dropdown {
    display: flex !important;
    justify-content: flex-end !important;
    padding-right: 20px !important;
}

.social-icons-container {
    position: absolute;
    left: 20px;
    top: 5px;
    z-index: 2000;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header.shrink .social-icons-container {
    opacity: 0;
    visibility: hidden;
}

.advp-logo-container {
    position: absolute;
    right: 20px;
    top: 5px;
    z-index: 2000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header.shrink .advp-logo-container {
    opacity: 0;
    visibility: hidden;
}

.header.shrink .header-top-bar {
    display: none;
}

.header-links {
    flex: 1;
    align-self: flex-end;
    z-index: 1100;
    padding-bottom: 12px;
}

.header.shrink .header-links {
    align-self: center;
    padding-bottom: 0;
}

/* Content area padding */
.neve-main .container-fluid {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* WordPress menu styling for header navigation */
.header-links ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
}

.header-links li {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.header-links li::before,
.header-links li::after {
    content: none !important;
}

.header-links a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.header-links .nav-link {
    text-transform: uppercase;
}

/* Mobile navigation menu styling */
.mobile-nav-bg ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-bg li {
    margin: 0;
    padding: 0;
}

.mobile-nav-bg .nav-item {
    display: block;
}

.mobile-nav-bg .nav-link {
    text-transform: uppercase;
    font-weight: 500;
}

/* Hero Section Styles */
.hero-section {
    overflow: hidden;
    margin-bottom: 0 !important;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    line-height: 1.2;
}

.hero-subtitle {
    line-height: 1.4;
}

/* Responsive Hero Styles */
@media (max-width: 767.98px) {
    .hero-section {
        height: 400px !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        padding: 0.5rem 1rem !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 300px !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    .hero-content {
        padding: 1rem !important;
    }
}

/* Agent Card Styles */
.agent-card {
    border-radius: 8px;
    overflow: hidden;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
}

.agent-card .card-img-top {
    transition: transform 0.3s ease;
}

.agent-card:hover .card-img-top {
    transform: scale(1.05);
}

.agent-bio p {
    margin-bottom: 1rem;
}

.modal-body .agent-bio {
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer styles */
.footer-logo-wrapper {
    z-index: 2;
    width: 240px;
    height: 170px;
    pointer-events: none;
}

.footer-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.socialFoot {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

a.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.phoneFoot {
    font-size: 1.25rem;
    line-height: 1;
    padding: 6px 8px;
}

.copy {
    font-size: 0.9rem;
}

.afoot {
    color: white;
}

.footer-legal-links { margin-bottom: 0.25rem; }
.footer-legal-links .list-inline-item + .list-inline-item::before {
    content: " | ";
    color: rgba(255,255,255,.5);
    margin-right: 0.35rem;
}

/* Mobile responsive adjustments */
@media (max-width: 575.98px) {
    .footer-logo-wrapper {
        width: 140px !important;
        height: 100px !important;
        transform: translate(-50%,15%) !important;
        top: 0 !important;
        left: 50% !important;
    }
    
    .container-fluid.position-relative {
        padding-top: 103px !important;
    }
    
    .socialFoot {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
    }
    
    a.social-link {
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0.25rem !important;
    }
    
    .phoneFoot {
        font-size: 1.25rem !important;
        line-height: 1 !important;
        padding: 6px 8px !important;
    }
    
    .footer-top {
        margin-top: 12px !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        position: absolute;
        top: 10px;
        right: 15px;
        z-index: 1200;
    }
    
    .mobile-nav-bg {
        background-color: rgba(255, 255, 255, 0.98);
        padding: 15px 0;
        margin-top: 10px;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 20px;
        text-align: center;
    }
}

@media (min-width: 992px) {
    nav.navbar .d-lg-none {
        display: none !important;
    }
    
    section#top {
        margin: 175px 0 0 0;
    }
}

/* ============================================================
   WFT Subnav — three-mode navigation
   Menu 1: desktop full subnav bar (hover dropdowns)
   Menu 2: desktop compact ≡ Menu button (scroll > 80px)
   Menu 3: mobile full-width orange accordion
   ============================================================ */

/* Compact header state */
.wft-header-compact { padding: 6px 0; box-shadow: 0 2px 10px rgba(0,0,0,.13); }
.wft-header-compact .site-branding img,
.wft-header-compact .custom-logo { max-height: 48px; }

/* ── Menu 1: desktop subnav bar ──────────────────────────── */
.wft-subnav-bar { background: #fff; border-bottom: 1px solid #e8e8e8; }

/* ── Menu 1: desktop subnav list ─────────────────────────── */
.wft-subnav {
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    margin: 0 !important;
    padding: 0 !important;
}

.wft-subnav > li {
    position: relative;
    list-style: none;
    display: flex !important;
    align-items: center;
}

.wft-subnav > li::before { content: none !important; display: none !important; }

.wft-subnav > li::after {
    content: '|';
    color: #ccc;
    font-size: 13px;
    line-height: 1;
    pointer-events: none;
    padding: 0 2px;
}

.wft-subnav > li:last-child::after { content: none !important; }

/* Suppress any theme-injected sub-menu arrows inside the subnav */
.wft-subnav .menu-item-has-children > a::after,
.wft-subnav .menu-item-has-children > a::before { content: none !important; display: none !important; }
.wft-subnav .sub-arrow,
.wft-subnav .toggle-arrow,
.wft-subnav .nav-arrow,
.wft-subnav .icon-bar { display: none !important; }

.wft-subnav > li > a {
    display: block;
    padding: 11px 16px;
    color: #444;
    font-size: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.wft-subnav > li:hover > a,
.wft-subnav > li.open > a {
    border-color: #e09458;
    color: #e09458;
}

/* ── Menu 1: hover dropdown panel ────────────────────────── */
.wft-subnav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    z-index: 9999;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.13);
    padding: 6px 0;
}

.wft-subnav > li.open .wft-subnav-dropdown,
.wft-subnav > li:hover .wft-subnav-dropdown { display: block; }

.wft-subnav-dropdown ul { list-style: none; margin: 0; padding: 0; }
.wft-subnav-dropdown ul li { list-style: none; }

.wft-subnav-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.wft-subnav-dropdown li:first-child a { color: #e09458; background: #fff9f3; }
.wft-subnav-dropdown a:hover { background: #fff8f0; color: #e09458; }

/* ── Menu 2: compact ≡ Menu button ───────────────────────── */
.wft-menu-btn-wrap {
    display: none; /* shown by JS on scroll > 80px */
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    background: #f2f2f2;
    border-bottom: 1px solid #ddd;
    padding: 5px 16px;
    text-align: right;
}

.wft-menu-btn {
    background: #fff;
    color: #555;
    border: 1px solid #bbb;
    border-radius: 3px;
    padding: 5px 14px;
    font-size: 0.9rem;
    cursor: pointer;
}

/* ── Menu 2: dropdown panel ─────────────────────────────── */
.wft-menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 230px;
    z-index: 9999;
    background: #fffaf5;
    border: 1px solid rgba(224,148,88,.25);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    padding: 6px 0;
    overflow: visible; /* must stay visible so left-flyout isn't clipped */
}

/* On phones: constrain height and allow scrolling */
@media (max-width: 767px) {
    .wft-menu-dropdown {
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: visible;
    }
}

.wft-menu-btn-wrap.open .wft-menu-dropdown { display: block; }

.wft-menu-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all .12s;
    white-space: nowrap;
}

.wft-menu-row:hover { border-left-color: #e09458; background: #fff8f0; color: #e09458; }

.wft-menu-arrow { color: #ccc; font-size: 13px; transition: color .12s; }
.wft-menu-row:hover .wft-menu-arrow { color: #e09458; }

/* ── Menu 2: flyout panel ────────────────────────────────── */
.wft-menu-flyout {
    display: none;
    position: absolute;
    right: 100%;
    top: 0;
    margin-right: 4px;
    min-width: 240px;
    z-index: 10000;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
    padding: 6px 0;
}

.wft-menu-row.flyout-open .wft-menu-flyout { display: block; }

/* On phones only: flyout expands inline below the row */
@media (max-width: 767px) {
    .wft-menu-flyout {
        position: static;
        right: auto;
        top: auto;
        margin: 0;
        min-width: 0;
        width: 100%;
        border: none;
        border-top: 1px solid #f0e8df;
        border-radius: 0;
        box-shadow: none;
        background: #fff9f3;
        padding: 4px 0;
    }
    /* Arrow points down (closed) / up (open) on touch */
    .wft-menu-arrow { display: inline-block; transform: rotate(-90deg); transition: transform .2s; }
    .wft-menu-row.flyout-open .wft-menu-arrow { transform: rotate(90deg); }
}

.wft-menu-flyout-header {
    padding: 8px 20px 7px;
    border-bottom: 1px solid #f0e8df;
    font-size: 11px;
    color: #e09458;
    letter-spacing: .07em;
    text-transform: uppercase;
}
a.wft-menu-flyout-header {
    display: block;
    text-decoration: none;
}
a.wft-menu-flyout-header:hover {
    background: #fff9f3;
    text-decoration: underline;
}

.wft-menu-flyout ul { list-style: none; margin: 0; padding: 0; }
.wft-menu-flyout ul li { list-style: none; }

.wft-menu-flyout a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.wft-menu-flyout li:first-child a { color: #e09458; background: #fff9f3; }
.wft-menu-flyout a:hover { background: #fff8f0; color: #e09458; }

/* ── Menu 3: hamburger button ────────────────────────────── */
.wft-hamburger {
    display: none; /* shown via media query on mobile */
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    background: none;
    cursor: pointer;
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 1100;
}

.wft-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #555;
    border-radius: 2px;
}

/* ── Menu 3: mobile menu container ──────────────────────── */
.wft-mobile-menu {
    display: none;
    border-top: 1px solid #ebebeb;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1200;
}

.wft-mobile-menu.open { display: block; }

/* ── Menu 3: accordion rows ──────────────────────────────── */
.wft-mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: #e09458;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.18);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    user-select: none;
}

.wft-mobile-row-label { color: #fff; font-weight: 700; font-size: 16px; }

.wft-mobile-chevron {
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    transition: transform .2s;
}

.wft-mobile-row.open .wft-mobile-chevron { transform: rotate(180deg); }

/* ── Menu 3: sub-items ───────────────────────────────────── */
.wft-mobile-subitems { display: none; background: #fff; }
.wft-mobile-row.open + .wft-mobile-subitems { display: block; }

.wft-mobile-subitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid #f0e8df;
}

.wft-mobile-subitem:first-child { color: #e09458; background: #fff9f3; }

.wft-mobile-subitem-arrow { color: #e09458; font-size: 14px; opacity: 0.5; }
.wft-mobile-subitem:first-child .wft-mobile-subitem-arrow { opacity: 1; }

/* ── Mobile menu: contact bar (phone + email) ── */
.wft-mobile-contact-bar {
    display: flex;
    justify-content: space-around;
    background: #c87c42;
    padding: 10px 16px;
    border-bottom: 2px solid rgba(255,255,255,.2);
}
.wft-mobile-contact-link {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .03em;
}
.wft-mobile-contact-link:hover,
.wft-mobile-contact-link:active { color: #fff9f3; text-decoration: underline; }

/* ── Mobile menu: top-nav links (Reviews, About Us, Get a Quote) ── */
.wft-mobile-topnav-link {
    display: block;
    padding: 14px 20px;
    background: #fff;
    color: #e09458;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid #f0e8df;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.wft-mobile-topnav-link:hover,
.wft-mobile-topnav-link:active { background: #fff9f3; color: #e09458; text-decoration: none; }
.wft-mobile-topnav-divider { height: 3px; background: #e09458; opacity: .4; }

/* ── Responsive show/hide ────────────────────────────────── */
@media (max-width: 991px) {
    .wft-subnav-bar { display: none !important; }
    .wft-menu-btn-wrap { display: none !important; }
    .wft-hamburger { display: flex !important; }
    /* Replace Bootstrap navbar toggler with WFT mobile menu */
    .navbar-toggler { display: none !important; }
    #topnavbar1 { display: none !important; }
    /* Hide desktop navbar on mobile — oval+hamburger are in the flex row above */
    #topnav2.navbar { display: none !important; }
    /* Wrapper top padding = oval (110px) + 8px top + 8px bottom + 8px buffer */
    .wrapper { padding-top: 134px; }
}

/* Extra-small phones: shrink the mobile oval further */
@media (max-width: 575px) {
    #headerOvalMobile {
        width: 240px !important;
        height: 90px !important;
    }
    #headerLogoMobile {
        width: 190px !important;
        height: 72px !important;
    }
    /* At ≤575px: oval shrinks to 90px + 8px top + 8px bottom + 8px buffer */
    .wrapper { padding-top: 114px; }
}
/* Anchor scroll offset — keeps content below the fixed header when navigating via anchor links.
   Targets both heading elements and section wrapper divs to cover whichever the nav links reference. */
h2.wp-block-heading,
h2.wp-block-themeisle-blocks-advanced-heading,
.wp-block-themeisle-blocks-advanced-columns[id] {
    scroll-margin-top: 260px;
}

@media (max-width: 991px) {
    h2.wp-block-heading,
    h2.wp-block-themeisle-blocks-advanced-heading,
    .wp-block-themeisle-blocks-advanced-columns[id] {
        scroll-margin-top: 134px;
    }
}

@media (max-width: 575px) {
    h2.wp-block-heading,
    h2.wp-block-themeisle-blocks-advanced-heading,
    .wp-block-themeisle-blocks-advanced-columns[id] {
        scroll-margin-top: 114px;
    }
}

/* ── Daterangepicker ──────────────────────────────────────────────────────── */
.daterangepicker {
    z-index: 999999 !important;
}

/* Prevent each calendar panel from overflowing the viewport on desktop */
.daterangepicker .drp-calendar {
    max-width: 400px;
}

/* Reset theme's td/th padding override inside the calendar */
.daterangepicker td,
.daterangepicker th {
    padding: 0 !important;
}

/* On narrow screens: stack both months vertically instead of side-by-side */
@media (max-width: 767px) {
    .daterangepicker .drp-calendar {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    .daterangepicker .drp-calendar.right {
        display: block !important;
        border-top: 1px solid #ebebeb;
        padding-top: 0 !important;
    }
    .daterangepicker.show-ranges .ranges {
        display: none !important;
    }
}

/* ── Form placeholder text (light hint color, darker when typed) ─────────── */
section .form-control::placeholder,
#quoteForm .form-control::placeholder {
    color: #adb5bd;
    opacity: 1;
}

/* ── Bootstrap 5 form controls (Neve resets border-radius to 0) ─────────── */
section .form-control,
section .form-select,
section .input-group .form-control,
section .input-group .form-select,
#quoteForm .form-control,
#quoteForm .form-select {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    background-color: #fff;
    color: #212529;
}

section .form-control:focus,
section .form-select:focus,
#quoteForm .form-control:focus,
#quoteForm .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: 0;
}

section .input-group-text,
#quoteForm .input-group-text {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem 0 0 0.375rem;
    background-color: #e9ecef;
    padding: 0.375rem 0.75rem;
}