/* =============================================
   EMBARQUE TRAVEL 2026 - Base CSS
   Starts clean (mirrors production theme)
   Improvements added incrementally after testing
   Version: 2026.7.23
   ============================================= */

/* --- Design Tokens --- */
:root {
    --et-primary: #1a73e8;
    --et-primary-dark: #1557b0;
    --et-primary-light: #e8f0fe;
    --et-black: #222222;
    --et-gray: #717171;
    --et-light-gray: #dddddd;
    --et-bg: #f7f7f7;
    --et-white: #ffffff;
    --et-radius-sm: 8px;
    --et-radius: 12px;
    --et-radius-lg: 16px;
    --et-radius-xl: 24px;
    --et-shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
    --et-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --et-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --et-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --et-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --et-font-display: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Phase 1: Typography --- */
body.embarque-2026 {
    font-family: var(--et-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.embarque-2026 h1,
body.embarque-2026 h2,
body.embarque-2026 h3,
body.embarque-2026 h4 {
    font-family: var(--et-font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--et-black);
}

/* Don't force black on headers/footers — Elementor controls those */
body.embarque-2026 header h1,
body.embarque-2026 header h2,
body.embarque-2026 header h3,
body.embarque-2026 header h4,
body.embarque-2026 footer h1,
body.embarque-2026 footer h2,
body.embarque-2026 footer h3,
body.embarque-2026 footer h4 {
    color: inherit;
}

body.embarque-2026 h1 { font-size: 2rem; }
body.embarque-2026 h2 { font-size: 1.625rem; }
body.embarque-2026 h3 { font-size: 1.25rem; }

/* --- Phase 2: Cards --- */
body.embarque-2026 .st-item,
body.embarque-2026 .hotel-item,
body.embarque-2026 .tour-item,
body.embarque-2026 .st-post {
    border-radius: var(--et-radius) !important;
    overflow: hidden;
    background: var(--et-white);
    box-shadow: var(--et-shadow-sm);
    transition: all var(--et-transition);
    border: 1px solid var(--et-light-gray);
}

body.embarque-2026 .st-item:hover,
body.embarque-2026 .hotel-item:hover {
    box-shadow: var(--et-shadow-lg);
    transform: translateY(-4px);
}

body.embarque-2026 .st-item img,
body.embarque-2026 .st-item .img-wrapper {
    object-fit: cover;
    width: 100%;
}

body.embarque-2026 .st-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--et-black);
}

/* --- Phase 3: Badges, Rating & Pagination --- */
body.embarque-2026 .featured,
body.embarque-2026 .st-badge,
body.embarque-2026 .st-feature,
body.embarque-2026 .tag-st-featured,
body.embarque-2026 .badge {
    background: var(--et-black);
    color: var(--et-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

body.embarque-2026 .st-sale,
body.embarque-2026 .onsale,
body.embarque-2026 .st-discount {
    background: #ff385c;
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
}

body.embarque-2026 .st-rating,
body.embarque-2026 .rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--et-black);
}

body.embarque-2026 .st-rating::before {
    content: '⭐';
    font-size: 0.85rem;
}

body.embarque-2026 .pagination,
body.embarque-2026 .st-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2rem;
}

body.embarque-2026 .pagination a,
body.embarque-2026 .pagination span,
body.embarque-2026 .st-pagination a,
body.embarque-2026 .st-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--et-light-gray);
    font-weight: 500;
    color: var(--et-black);
    text-decoration: none;
    transition: all var(--et-transition);
}

body.embarque-2026 .pagination a:hover,
body.embarque-2026 .st-pagination a:hover {
    background: var(--et-primary-light);
    border-color: var(--et-primary);
    color: var(--et-primary);
}

body.embarque-2026 .pagination .current,
body.embarque-2026 .st-pagination .current {
    background: var(--et-black);
    color: var(--et-white);
    border-color: var(--et-black);
}

/* --- Phase 4: Amenities, Reviews & Footer --- */

/* Amenities grid */
body.embarque-2026 .amenities,
body.embarque-2026 .st-amenities,
body.embarque-2026 .facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

body.embarque-2026 .amenities li,
body.embarque-2026 .st-amenities li,
body.embarque-2026 .facilities li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--et-bg);
    border-radius: 20px;
    font-size: 0.825rem;
    color: var(--et-black);
    white-space: nowrap;
}

body.embarque-2026 .amenities li i,
body.embarque-2026 .st-amenities li i,
body.embarque-2026 .facilities li i {
    font-size: 0.9rem;
    color: var(--et-primary);
}

/* Reviews section */
body.embarque-2026 .review-item,
body.embarque-2026 .st-review,
body.embarque-2026 .comment-item {
    padding: 20px;
    background: var(--et-white);
    border-radius: var(--et-radius);
    border: 1px solid var(--et-light-gray);
    margin-bottom: 16px;
}

body.embarque-2026 .review-item .review-header,
body.embarque-2026 .st-review .review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

body.embarque-2026 .review-item .review-avatar,
body.embarque-2026 .st-review .review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--et-bg);
}

body.embarque-2026 .review-item .review-author,
body.embarque-2026 .st-review .author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--et-black);
}

body.embarque-2026 .review-item .review-date,
body.embarque-2026 .st-review .review-date {
    font-size: 0.8rem;
    color: var(--et-gray);
}

body.embarque-2026 .review-item .review-text,
body.embarque-2026 .st-review .review-content {
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--et-black);
}

body.embarque-2026 .review-stars,
body.embarque-2026 .st-review-stars {
    color: #f59e0b;
    letter-spacing: 2px;
}

/* --- Phase 5: Global Colors, Buttons & Forms --- */

/* -- 5a: Global link & accent colors -- */
/* Link colors applied only in content areas, not image overlays or footer */
body.embarque-2026 .post-content a,
body.embarque-2026 .entry-content a,
body.embarque-2026 .st-content a,
body.embarque-2026 .page-content a,
body.embarque-2026 .content a,
body.embarque-2026 .st-body a {
    color: var(--et-primary);
    transition: color var(--et-transition);
}

body.embarque-2026 .post-content a:hover,
body.embarque-2026 .entry-content a:hover,
body.embarque-2026 .st-content a:hover,
body.embarque-2026 .page-content a:hover,
body.embarque-2026 .content a:hover,
body.embarque-2026 .st-body a:hover {
    color: var(--et-primary-dark);
}

/* Reset link colors in image overlays, banners, destination cards */
body.embarque-2026 .destination-item a,
body.embarque-2026 .st-slider a,
body.embarque-2026 .st-banner a,
body.embarque-2026 .banner a,
body.embarque-2026 .hero a,
body.embarque-2026 .overlay a,
body.embarque-2026 .content-overlay a,
body.embarque-2026 .image a.st-link,
body.embarque-2026 .image .title a,
body.embarque-2026 .image .desc a {
    color: inherit;
}

/* Overlay text on images must be light, not black */
body.embarque-2026 .destination-item h3,
body.embarque-2026 .destination-item h4,
body.embarque-2026 .destination-item .title,
body.embarque-2026 .destination-item .content,
body.embarque-2026 .st-slider h3,
body.embarque-2026 .st-slider h4,
body.embarque-2026 .st-slider .title,
body.embarque-2026 .st-banner h3,
body.embarque-2026 .st-banner .title,
body.embarque-2026 .hero h3,
body.embarque-2026 .hero .title,
body.embarque-2026 .overlay h3,
body.embarque-2026 .overlay .title {
    color: var(--et-white);
}

body.embarque-2026 .st-color,
body.embarque-2026 .text-color {
    color: var(--et-primary) !important;
}

body.embarque-2026 .bg-main {
    background: var(--et-bg);
}

/* -- 5b: Buttons — Primary -- */
body.embarque-2026 .btn,
body.embarque-2026 button[type="submit"],
body.embarque-2026 input[type="submit"],
body.embarque-2026 .st-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.925rem;
    font-weight: 600;
    border: none;
    border-radius: var(--et-radius-sm);
    cursor: pointer;
    transition: all var(--et-transition);
    text-decoration: none;
    line-height: 1.4;
}

body.embarque-2026 .btn-primary,
body.embarque-2026 .btn.btn-primary,
body.embarque-2026 .st-button,
body.embarque-2026 button.btn-primary {
    background: var(--et-primary);
    color: var(--et-white);
}

body.embarque-2026 .btn-primary:hover,
body.embarque-2026 .btn.btn-primary:hover,
body.embarque-2026 .st-button:hover {
    background: var(--et-primary-dark);
    color: var(--et-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.35);
}

body.embarque-2026 .btn-primary:active,
body.embarque-2026 .btn.btn-primary:active,
body.embarque-2026 .st-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* -- 5c: Buttons — Secondary / Outline -- */
body.embarque-2026 .btn-outline,
body.embarque-2026 .btn.btn-outline,
body.embarque-2026 .btn-secondary {
    background: transparent;
    color: var(--et-primary);
    border: 1.5px solid var(--et-primary);
}

body.embarque-2026 .btn-outline:hover,
body.embarque-2026 .btn.btn-outline:hover,
body.embarque-2026 .btn-secondary:hover {
    background: var(--et-primary-light);
    color: var(--et-primary-dark);
    border-color: var(--et-primary-dark);
}

/* -- 5d: Buttons — Dark variant -- */
body.embarque-2026 .btn-dark,
body.embarque-2026 .btn-black {
    background: var(--et-black);
    color: var(--et-white);
}

body.embarque-2026 .btn-dark:hover,
body.embarque-2026 .btn-black:hover {
    background: #111;
    color: var(--et-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* -- 5e: Buttons — Sizes -- */
body.embarque-2026 .btn-sm,
body.embarque-2026 .btn-small {
    padding: 6px 16px;
    font-size: 0.8rem;
}

body.embarque-2026 .btn-lg,
body.embarque-2026 .btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: var(--et-radius);
}

body.embarque-2026 .btn-xl {
    padding: 16px 40px;
    font-size: 1.15rem;
    border-radius: var(--et-radius);
}

/* -- 5f: Buttons — Full-width -- */
body.embarque-2026 .btn-block,
body.embarque-2026 .btn-full {
    width: 100%;
}

/* -- 5g: Forms — Inputs & Textareas -- */
body.embarque-2026 input[type="text"],
body.embarque-2026 input[type="email"],
body.embarque-2026 input[type="tel"],
body.embarque-2026 input[type="number"],
body.embarque-2026 input[type="date"],
body.embarque-2026 input[type="search"],
body.embarque-2026 textarea,
body.embarque-2026 select {
    padding: 10px 14px;
    font-size: 0.925rem;
    border: 1px solid var(--et-light-gray);
    border-radius: var(--et-radius-sm);
    background: var(--et-white);
    color: var(--et-black);
    transition: border-color var(--et-transition), box-shadow var(--et-transition);
    outline: none;
    font-family: var(--et-font);
    box-sizing: border-box;
}

/* Reset search form inputs to Traveler defaults — prevent global form styles from leaking in */
body.embarque-2026 .st-banner-search-form input[type="text"],
body.embarque-2026 .st-banner-search-form input[type="search"],
body.embarque-2026 .st-banner-search-form select,
body.embarque-2026 .search-form-v2 input[type="text"],
body.embarque-2026 .search-form-v2 input[type="search"],
body.embarque-2026 .search-form-v2 select,
body.embarque-2026 .search-form input[type="text"],
body.embarque-2026 .search-form input[type="search"] {
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* -- 5h: Forms — Focus -- */
body.embarque-2026 input[type="text"]:focus,
body.embarque-2026 input[type="email"]:focus,
body.embarque-2026 input[type="tel"]:focus,
body.embarque-2026 input[type="number"]:focus,
body.embarque-2026 input[type="date"]:focus,
body.embarque-2026 input[type="search"]:focus,
body.embarque-2026 textarea:focus,
body.embarque-2026 select:focus {
    border-color: var(--et-primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* -- 5i: Textarea & Select -- */
body.embarque-2026 textarea {
    min-height: 120px;
    resize: vertical;
}

body.embarque-2026 select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23717171' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

/* -- 5h: Forms — Labels -- */
body.embarque-2026 label,
body.embarque-2026 .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--et-black);
    margin-bottom: 6px;
}

/* --- Phase 6: Mobile + Polish --- */

/* Section spacing for content blocks — skip Elementor-controlled sections */
/* Elementor handles its own spacing; only add padding on non-Elementor content areas */
body.embarque-2026 .st-content-wrapper section:not(.elementor-section):not(.elementor-section-boxed),
body.embarque-2026 .entry-content > section:not(.elementor-section) {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* -- 6a: Mobile Responsive -- */
@media (max-width: 768px) {
    /* Typography */
    body.embarque-2026 h1 { font-size: 1.5rem; }
    body.embarque-2026 h2 { font-size: 1.3rem; }
    body.embarque-2026 h3 { font-size: 1.1rem; }

    /* Cards — full width, single column */
    body.embarque-2026 .st-item,
    body.embarque-2026 .hotel-item,
    body.embarque-2026 .tour-item {
        margin-bottom: 16px;
    }

    /* Destination cards — smaller text */
    body.embarque-2026 .destination-item .title {
        font-size: 1rem;
    }

    /* Buttons — full width on mobile */
    body.embarque-2026 .btn,
    body.embarque-2026 .st-button,
    body.embarque-2026 button[type="submit"] {
        width: 100%;
        justify-content: center;
    }

    /* Forms */
    body.embarque-2026 input[type="text"],
    body.embarque-2026 input[type="email"],
    body.embarque-2026 input[type="tel"],
    body.embarque-2026 input[type="number"],
    body.embarque-2026 textarea,
    body.embarque-2026 select {
        font-size: 1rem;
        padding: 12px 14px;
    }

    /* Reviews */
    body.embarque-2026 .review-item,
    body.embarque-2026 .st-review,
    body.embarque-2026 .comment-item {
        padding: 16px;
    }

    /* Pagination */
    body.embarque-2026 .pagination a,
    body.embarque-2026 .pagination span,
    body.embarque-2026 .st-pagination a,
    body.embarque-2026 .st-pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.85rem;
    }

    /* Section spacing */
    body.embarque-2026 .st-content-wrapper section,
    body.embarque-2026 .elementor-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    /* Amenities */
    body.embarque-2026 .amenities,
    body.embarque-2026 .st-amenities,
    body.embarque-2026 .facilities {
        gap: 6px;
    }

    body.embarque-2026 .amenities li,
    body.embarque-2026 .st-amenities li,
    body.embarque-2026 .facilities li {
        padding: 5px 10px;
        font-size: 0.78rem;
    }
}

/* Tablet (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    body.embarque-2026 .btn,
    body.embarque-2026 .st-button {
        padding: 10px 20px;
    }
}

/* -- 6b: Final Polish -- */

/* Smooth scrolling */
html.embarque-2026 {
    scroll-behavior: smooth;
}

/* Selection color */
body.embarque-2026 ::selection {
    background: var(--et-primary-light);
    color: var(--et-primary-dark);
}

body.embarque-2026 ::-moz-selection {
    background: var(--et-primary-light);
    color: var(--et-primary-dark);
}

/* Image loading state */
body.embarque-2026 img {
    max-width: 100%;
    height: auto;
}

body.embarque-2026 img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.embarque-2026 img[loading="lazy"].loaded,
body.embarque-2026 img[loading="lazy"][complete] {
    opacity: 1;
}

/* Focus visible (keyboard a11y) */
body.embarque-2026 *:focus-visible {
    outline: 2px solid var(--et-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

body.embarque-2026 input:focus,
body.embarque-2026 textarea:focus,
body.embarque-2026 select:focus,
body.embarque-2026 button:focus {
    outline: none;
}

body.embarque-2026 input:focus-visible,
body.embarque-2026 textarea:focus-visible,
body.embarque-2026 select:focus-visible,
body.embarque-2026 button:focus-visible {
    outline: 2px solid var(--et-primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body.embarque-2026 header,
    body.embarque-2026 footer,
    body.embarque-2026 .st-banner-search-form {
        display: none;
    }

    body.embarque-2026 {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}

/* --- FIX 1: Topbar z-index (prevents logo overlap) --- */
body.embarque-2026 #topbar.style-elementor {
    position: relative;
    z-index: 1001;
}

/* --- FIX 2: Footer copyright spacing --- */
/* Ensure copyright area has breathing room matching production */
body.embarque-2026 .elementor-element-3c6a812b .elementor-heading-title {
    margin-top: 8px;
}

/* =============================================
   FIX 3: Card Thumbnail Quality
   ============================================= */

/* Melhor qualidade de thumbnail nos cards de listagem */
body.embarque-2026 .services-item .featured-image img,
body.embarque-2026 .item-service .featured-image img,
body.embarque-2026 .services-item .thumb img,
body.embarque-2026 .item-service .thumb img {
  image-rendering: auto;
  object-fit: cover;
}

/* =============================================
   FIX 4: Zero Rating / "Not Rated" Badge
   ============================================= */

/* Suavizar badge de "sem avaliação" nos cards */
body.embarque-2026 .services-item .reviews .rate,
body.embarque-2026 .item-service .reviews .rate,
body.embarque-2026 .services-item .service-review .rate,
body.embarque-2026 .item-service .service-review .rate {
  opacity: 0;
}

/* Só mostrar quando tem avaliação real (rating > 0 tem conteúdo numérico) */
body.embarque-2026 .services-item .reviews .rate:not(:empty),
body.embarque-2026 .item-service .reviews .rate:not(:empty),
body.embarque-2026 .services-item .service-review .rate:not(:empty),
body.embarque-2026 .item-service .service-review .rate:not(:empty) {
  opacity: 1;
}

/* Esconder também o texto "(Sem avaliação)" quando rating é 0 */
body.embarque-2026 .services-item .reviews .summary,
body.embarque-2026 .item-service .reviews .summary {
  opacity: 0.6;
  font-size: 0.8rem;
  color: var(--et-gray);
}

/* =============================================
   FIX 5: Card Hover Effect — Booking-Style Lift
   ============================================= */

/* Efeito hover nos cards - estilo Booking.com */
body.embarque-2026 .services-item.grid,
body.embarque-2026 .item-service {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.embarque-2026 .services-item.grid:hover,
body.embarque-2026 .item-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* =============================================
   FIX 6: Friendly Empty-State Messages
   ============================================= */

/* Mensagens de estado vazio mais amigáveis */
body.embarque-2026 .st-alert,
body.embarque-2026 .ajax-filter-loading .nothing {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  color: #6c757d;
  font-size: 16px;
}

/* =============================================
   PIX Payment Screen
   Mercado Pago integration styles
   Version: 2026.7.14
   ============================================= */

body.embarque-2026 .embarque-pix-container {
    max-width: 520px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}

body.embarque-2026 .embarque-pix-container .pix-header {
    margin-bottom: 32px;
}

body.embarque-2026 .embarque-pix-container .pix-header .pix-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

body.embarque-2026 .embarque-pix-container .pix-header h2 {
    color: #1a237e;
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
}

body.embarque-2026 .embarque-pix-container .pix-header p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

body.embarque-2026 .embarque-pix-container .amount {
    font-size: 42px;
    font-weight: 800;
    color: #1a73e8;
    margin-top: 12px;
    letter-spacing: -1px;
}

body.embarque-2026 .embarque-pix-qrcode {
    display: inline-block;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #e8eaf0;
}

body.embarque-2026 .embarque-pix-qrcode img {
    display: block;
    max-width: 240px;
    height: auto;
    border-radius: 4px;
}

body.embarque-2026 .embarque-pix-copy {
    margin: 28px 0;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

body.embarque-2026 .embarque-pix-copy textarea {
    width: 100%;
    height: 56px;
    border: 2px solid #dde1e8;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    text-align: center;
    resize: none;
    background: #fafbfc;
    color: #333;
    transition: border-color 0.2s;
    cursor: pointer;
}

body.embarque-2026 .embarque-pix-copy textarea:focus {
    border-color: #1a73e8;
    outline: none;
}

body.embarque-2026 .embarque-pix-copy button {
    margin-top: 10px;
    padding: 12px 36px;
    background: var(--et-primary, #1a73e8);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}

body.embarque-2026 .embarque-pix-copy button:hover {
    background: #1557b0;
    transform: translateY(-1px);
}

body.embarque-2026 .embarque-pix-copy button:active {
    transform: translateY(0);
}

body.embarque-2026 #embarque-copy-msg {
    display: none;
    color: #4caf50;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

body.embarque-2026 #embarque-copy-msg.show {
    display: block;
    opacity: 1;
}

body.embarque-2026 .embarque-pix-instructions {
    background: #f0f5ff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 28px;
    font-size: 14px;
    color: #1a237e;
    line-height: 1.7;
    text-align: left;
    border: 1px solid #dbe4f5;
}

body.embarque-2026 .embarque-pix-instructions strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

body.embarque-2026 .embarque-pix-instructions ol {
    margin: 8px 0 0;
    padding-left: 22px;
}

body.embarque-2026 .embarque-pix-instructions ol li {
    margin-bottom: 4px;
}

body.embarque-2026 .embarque-pix-expiry {
    display: inline-block;
    margin-top: 24px;
    font-size: 14px;
    color: #e65100;
    background: #fff3e0;
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 500;
    border: 1px solid #ffe0b2;
}

body.embarque-2026 .embarque-pix-expiry.expired {
    color: #c62828;
    background: #ffebee;
    border-color: #ffcdd2;
}

body.embarque-2026 .embarque-pix-status {
    margin-top: 32px;
    padding: 20px;
    background: #fffaeb;
    border-radius: 12px;
    border: 1px solid #ffe082;
}

body.embarque-2026 .embarque-pix-status .checking-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #ffe082;
    border-top-color: #ff9800;
    border-radius: 50%;
    animation: embarque-spin 0.8s linear infinite;
    margin-bottom: 8px;
}

@keyframes embarque-spin {
    to { transform: rotate(360deg); }
}

body.embarque-2026 .embarque-pix-status p {
    margin: 4px 0;
    color: #e65100;
    font-weight: 500;
}

body.embarque-2026 .embarque-pix-status .checking-sub {
    font-size: 13px;
    color: #8d6e63;
    font-weight: 400;
}

body.embarque-2026 .embarque-pix-status .approved-box {
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #a5d6a7;
    line-height: 1.6;
}

/* --- WooCommerce Checkout: PIX option styling --- */
body.embarque-2026 .wc_payment_method.payment_method_embarque_mp_pix label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
}

body.embarque-2026 .wc_payment_method.payment_method_embarque_mp_pix label::before {
    content: '💳';
    font-size: 20px;
}

body.embarque-2026 .wc_payment_method.payment_method_embarque_mp_pix .payment_box {
    background: #f0f5ff;
    border-left: 4px solid #1a73e8;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 14px;
    color: #1a237e;
}

/* -- Banner Search Tabs — Glassmorphism Pill Buttons -- */
/* White text on hero photo = poor contrast.
   Glass pill background improves readability while keeping a modern look. */

/* 1) Search form tabs: Hotel, Passeios, Atividade, Aluguel, Veículos, Transfer */
body.embarque-2026 .st-banner-search-form .multi-search.nav-pills .nav-link {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 6px 18px;
    color: #fff;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.embarque-2026 .st-banner-search-form .multi-search.nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

body.embarque-2026 .st-banner-search-form .multi-search.nav-pills .nav-link.active {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* 2) List service tabs: Passeio, Atividade, Aluguel, Veículos, Hotel
   These sit on a white/light background → dark text + subtle outline style */
body.embarque-2026 .list-tab-wrapper .nav-tabs.nav-fill-st li a {
    background: transparent;
    border: 1px solid #d0d5dd;
    border-radius: 50px;
    padding: 6px 18px;
    color: #555;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

body.embarque-2026 .list-tab-wrapper .nav-tabs.nav-fill-st li a:hover {
    background: rgba(26, 115, 232, 0.07);
    border-color: var(--et-primary);
    color: var(--et-primary);
    transform: translateY(-1px);
}

body.embarque-2026 .list-tab-wrapper .nav-tabs.nav-fill-st li a.active {
    background: var(--et-primary);
    border-color: var(--et-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(26, 115, 232, 0.25);
}

/* =============================================
   FIX: Header Layout — Embarque Travel 2026
   Issues: misaligned icons, menu wrapping, admin bar overlap
   ============================================= */

/* 1) Admin bar spacing — prevent overlap with header */
body.admin-bar header#header.header-style-10 {
    margin-top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar header#header.header-style-10 {
        margin-top: 46px;
    }
}

/* 2) Header right section — align cart, login, search icons in a row */
body.embarque-2026 header#header .header-right > ul.st-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}

body.embarque-2026 header#header .header-right > ul.st-list > li {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* 3) Main navigation — prevent menu items from wrapping */
body.embarque-2026 #st-main-menu ul.main-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
}

body.embarque-2026 #st-main-menu ul.main-menu > li {
    flex-shrink: 0;
    white-space: nowrap;
}

body.embarque-2026 #st-main-menu ul.main-menu > li > a {
    padding: 8px 10px;
    font-size: 0.875rem;
}

/* 4) Header sticky container — proper flexbox containment */
body.embarque-2026 header#header .header.header-sticky-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
}

/* 5) Header left — prevent overflow */
body.embarque-2026 header#header .header-left {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    overflow: hidden;
    flex-shrink: 1;
    min-width: 0;
}

/* 6) Search icon styling in header-right */
body.embarque-2026 header#header .header-right .st-header-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    color: #fff;
    font-size: 0.85rem;
}

/* 7) Cart icon normalization */
body.embarque-2026 header#header .header-right .st-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 8) Mobile menu toggle alignment */
body.embarque-2026 header#header .toggle-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 9) Responsive: fix header layout on tablet/mobile */
@media screen and (max-width: 1024px) {
    body.embarque-2026 #st-main-menu ul.main-menu > li > a {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    
    body.embarque-2026 header#header .header-right > ul.st-list {
        gap: 6px;
    }
}

/* 10) Removed — backdrop-filter caused rendering issues on homepage header.
   Parent theme already handles .stt-menu-transparent header.header transparency. */

/* 10b) Traveler native header — also transparent (used on inner pages) */
/* 10b) Traveler native header — transparent glass (used on inner pages) */
/* Hide the dark topbar on inner pages — only the glass header should appear */
body.embarque-2026:not(.home) #topbar {
    display: none !important;
}

body.embarque-2026:not(.home) header#header,
body.embarque-2026:not(.home) .header--8 {
    background: rgba(35, 35, 35, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* ============================================
   GUEST CHECKOUT � LOGIN/REGISTER PAGE
   ============================================ */
.embarque-checkout .checkout-guest-welcome {
  background: var(--et-white);
  border: 1px solid var(--et-light-gray);
  border-radius: var(--et-radius);
  box-shadow: var(--et-shadow-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.embarque-checkout .guest-welcome-header {
  background: linear-gradient(135deg, var(--et-primary), #0d47a1);
  padding: 32px 32px 24px;
  text-align: center;
}
.embarque-checkout .guest-welcome-header h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
}
.embarque-checkout .guest-welcome-header .guest-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin: 0;
}
.embarque-checkout .guest-tab-nav {
  display: flex;
  border-bottom: 2px solid var(--et-light-gray);
  padding: 0 24px;
  background: var(--et-bg);
}
.embarque-checkout .guest-tab-btn {
  flex: 1;
  padding: 16px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--et-gray);
  cursor: pointer;
  transition: var(--et-transition);
  outline: none;
}
.embarque-checkout .guest-tab-btn:hover { color: var(--et-primary); background: rgba(0,0,0,0.02); }
.embarque-checkout .guest-tab-btn.active { color: var(--et-primary); border-bottom-color: var(--et-primary); }
.embarque-checkout .guest-tab-panel { display: none; padding: 24px; }
.embarque-checkout .guest-tab-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.embarque-checkout .guest-form-card { max-width: 480px; margin: 0 auto; }
.embarque-checkout .guest-form-card h4 { font-size: 18px; font-weight: 600; color: var(--et-black); margin: 0 0 4px 0; }
.embarque-checkout .guest-form-card .form-help { font-size: 13px; color: var(--et-gray); margin: 0 0 20px 0; }
.embarque-checkout .guest-form-card .form-group { margin-bottom: 16px; }
.embarque-checkout .guest-form-card label { display: block; font-size: 13px; font-weight: 500; color: var(--et-black); margin-bottom: 6px; }
.embarque-checkout .guest-form-card label .require { color: #EF4444; }
.embarque-checkout .guest-form-card .form-control { width: 100%; border: 1px solid var(--et-light-gray); border-radius: var(--et-radius-sm); padding: 10px 14px; font-size: 14px; transition: var(--et-transition); box-sizing: border-box; height: auto; }
.embarque-checkout .guest-form-card .form-control:focus { border-color: var(--et-primary); box-shadow: 0 0 0 3px rgba(26,115,232,0.1); outline: none; }
.embarque-checkout .guest-form-card .form-actions { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.embarque-checkout .guest-form-card .checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.embarque-checkout .guest-form-card .checkbox-label input[type="checkbox"] { width: 16px; height: 16px; }
.embarque-checkout .guest-form-card .forgot-password { color: var(--et-primary); text-decoration: none; }
.embarque-checkout .btn-guest-submit { width: 100%; padding: 14px 24px; background: linear-gradient(135deg, var(--et-primary), #0d47a1); color: #fff; border: none; border-radius: var(--et-radius); font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--et-transition); box-shadow: 0 4px 14px rgba(26,115,232,0.25); margin-top: 8px; display: inline-block; text-align: center; text-decoration: none; }
.embarque-checkout .btn-guest-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,115,232,0.35); color: #fff; text-decoration: none; }
.embarque-checkout .btn-guest-submit.loading { opacity: 0.7; cursor: wait; }
.embarque-checkout .highlight-card { text-align: center; padding: 8px 0; }
.embarque-checkout .guest-benefits { margin-bottom: 24px; }
.embarque-checkout .benefits-list { list-style: none; padding: 0; margin: 0 auto; max-width: 300px; text-align: left; }
.embarque-checkout .benefits-list li { padding: 6px 0; font-size: 14px; color: var(--et-black); }
.embarque-checkout .message-wrapper { margin-top: 12px; }

/* --- Floating Cart Reminder ---
   Removido: agora usa o sistema de toast (et-toast-warning) no topo.
   O JS chama createToast() em vez de criar barra full-width.
   Veja: FLOATING TOAST NOTIFICATIONS abaixo.
--- */

@media (max-width: 768px) {
  .embarque-checkout .guest-welcome-header { padding: 24px 16px; }
  .embarque-checkout .guest-welcome-header h2 { font-size: 22px; }
  .embarque-checkout .guest-tab-nav { padding: 0 8px; }
  .embarque-checkout .guest-tab-btn { padding: 12px 8px; font-size: 13px; }
  .embarque-checkout .guest-tab-panel { padding: 16px; }
}

/* ============================================
   FLOATING TOAST NOTIFICATIONS
   Convert Bootstrap alerts into pop-up balloons
   ============================================ */
.et-toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  max-width: 90vw;
}

.et-toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 16px 48px 16px 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  animation: etToastIn 0.3s ease-out;
  word-break: break-word;
}

.et-toast.et-toast-success {
  border-left: 4px solid #10b981;
  color: #065f46;
}

.et-toast.et-toast-danger,
.et-toast.et-toast-error {
  border-left: 4px solid #ef4444;
  color: #991b1b;
}

.et-toast.et-toast-info {
  border-left: 4px solid #3b82f6;
  color: #1e40af;
}

.et-toast.et-toast-warning {
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
  color: #92400e;
}
.et-toast.et-toast-warning a {
  color: #d97706 !important;
}
.et-toast.et-toast-warning a:hover {
  color: #b45309 !important;
  text-decoration: underline !important;
}

.et-toast .et-toast-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.et-toast .et-toast-close:hover {
  background: #f3f4f6;
  color: #333;
}

@keyframes etToastIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes etToastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}

.et-toast.et-toast-hiding {
  animation: etToastOut 0.3s ease-in forwards;
}

/* Footer cookie link */
.et-cookie-footer-link {
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  color: #6b7280;
}

.et-cookie-footer-link a {
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
}

.et-cookie-footer-link a:hover {
  color: #374151;
}

/* ===== HALFMAP FIX: force map container height ===== */
/* The parent theme hides the map when .maparea is missing.
   maparea IS present in the HTML, so just ensure minimum height. */
.search-result-page.layout5 .page-half-map .map-full-height {
    min-height: 400px;
}

@media (max-width: 991px) {
    .search-result-page.layout5 .page-half-map .map-full-height {
        min-height: 350px;
        height: calc(100vh - 200px);
    }
}

/* =============================================
   FIX 7: Esconder admin bar "?" help icon no frontend
   ============================================= */
body:not(.wp-admin) #wp-admin-bar-help {
    display: none !important;
}

/* =============================================
   FIX 8: Esconder "menu-toggle" empty div
   ============================================= */
.menu-toggle {
    display: none !important;
}
