/*
Theme Name: Smoobu Tour Theme
Theme URI: https://andacaverde.com
Author: Antigravity AI
Author URI: https://andacaverde.com
Description: Tema customizado de alto padrão estilo Sanctuary / Luxury Resort com Tailwind CSS e paleta Terracota Vulcânica.
Version: 3.1.2
License: GNU General Public License v2 or later
Text Domain: smoobu-tour-theme
Tags: luxury-resort, boutique-hotel, travel, vacation-rental, booking, responsive, tailwind
*/

/* --- Base Reset Helpers --- */
@layer base {
    html, body {
        margin: 0;
        padding: 0;
        background-color: #0b1329;
        overscroll-behavior-y: none;
        min-height: 100%;
    }
    main > :first-child {
        margin-top: 0 !important;
    }
    main > :last-child {
        margin-bottom: 0 !important;
    }
}

::-webkit-scrollbar {
    display: none;
}

/* Material Symbols Outlined Font Display Fix */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    translate: no;
}

.notranslate,
[translate="no"] {
    translate: no;
}

/* --- Branding Header Logo Size & Crispness (52px desktop) --- */
.custom-logo,
header img.custom-logo,
.custom-logo-link img,
header a img {
    height: 50px !important;
    max-height: 52px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.06));
    transition: transform 0.3s ease;
}

@media (max-width: 640px) {
    .custom-logo,
    header img.custom-logo,
    .custom-logo-link img,
    header a img {
        height: 38px !important;
        max-height: 42px !important;
    }
}

/* --- Google Translate Customization & Hide Default Banners --- */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.VIpgJd-ZVi9od-ORHb-OEVmcb,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body {
    top: 0px !important;
    position: static !important;
}

#google_translate_element,
.goog-te-combo {
    display: none !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}


/* --- High-Contrast CTA Buttons & Card Details Styling --- */
.btn-open-details {
    background-color: #00A896 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(0, 168, 150, 0.35) !important;
}

.btn-open-details:hover {
    background-color: #028090 !important;
    transform: translateY(-1px);
}

/* Card hover tilt effect */
.destination-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.destination-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 168, 150, 0.18) !important;
}

/* --- Airbnb Modal Layout Stability (Gallery & Info 2-Column Split) --- */
.smoobu-details-body {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
    min-width: 0 !important;
    width: 100% !important;
}

@media (min-width: 920px) {
    .smoobu-details-body {
        grid-template-columns: 55% 45% !important;
        gap: 2.2rem !important;
        align-items: start !important;
    }
}

.smoobu-details-gallery-wrap {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

.smoobu-details-main-img {
    position: relative !important;
    height: 380px !important;
    max-height: 52vh !important;
    width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #0b132b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 768px) {
    .smoobu-details-main-img {
        height: 420px !important;
    }
}

.smoobu-details-main-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

.smoobu-details-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.5rem !important;
    padding: 4px 2px 8px 2px !important;
}

.thumb-item {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    height: 58px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* --- Correção Definitiva Intl-Tel-Input no Checkout Mobile --- */
.iti {
    width: 100% !important;
    display: block !important;
}

.iti__country-list {
    z-index: 99999999 !important;
    position: absolute !important;
    width: 100% !important;
    max-width: 300px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.5rem !important;
    -webkit-overflow-scrolling: touch !important;
}

.iti__selected-flag {
    padding: 0 10px !important;
}

#phone,
#guestPhone {
    padding-left: 52px !important;
    width: 100% !important;
}
