/**
 * Estilos do Módulo de Orçamentação (Woo_FRM_Tours)
 * Design moderno, glassmorphic, responsivo e vibrante.
 */

.wer-quotation-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e293b;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Header */
.wer-qb-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
}

.wer-qb-header .wer-qb-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.wer-qb-header h2 {
    color: #ffffff !important;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.wer-qb-header p {
    color: #94a3b8;
    font-size: 15px;
    max-width: 700px;
    margin: 0 auto;
}

/* Stepper */
.wer-qb-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.wer-qb-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.wer-qb-step.active {
    opacity: 1;
}

.wer-qb-step .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.wer-qb-step.active .step-num {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.wer-qb-step .step-text {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}

/* Layout Main Grid (Vertical Stack) */
.wer-qb-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Card General */
.wer-qb-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.wer-qb-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Step 1 Compact Layout */
.wer-qb-step1-compact {
    padding: 20px 24px;
}

.wer-qb-step1-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.wer-qb-step1-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wer-qb-note-inline {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.wer-qb-grid-step1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.4fr;
    gap: 15px;
    margin-bottom: 12px;
}

@media (max-width: 991px) {
    .wer-qb-grid-step1 {
        grid-template-columns: 1fr 1fr;
    }
    .wer-qb-step1-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 576px) {
    .wer-qb-grid-step1 {
        grid-template-columns: 1fr;
    }
}

.wer-qb-grid-step1 .wer-qb-field {
    margin-bottom: 0;
}

.wer-qb-grid-step1 .wer-qb-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}

.wer-qb-step1-actions {
    margin-top: 15px;
}

.wer-qb-note {
    font-size: 13px;
    color: #64748b;
    background: #f8fafc;
    padding: 10px 14px;
    border-left: 3px solid #3b82f6;
    border-radius: 4px;
    margin-bottom: 20px;
}

.wer-qb-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 25px 0;
}

/* Grids e Fields */
.wer-qb-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 640px) {
    .wer-qb-grid-2 {
        grid-template-columns: 1fr;
    }
}

.wer-qb-field {
    margin-bottom: 15px;
}

.wer-qb-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.wer-qb-input,
.wer-qb-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.wer-qb-input:focus,
.wer-qb-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Age selection grid */
.wer-qb-ages-wrapper {
    margin-top: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.wer-qb-ages-wrapper label {
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 12px;
    display: block;
}

.wer-qb-grid-ages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.wer-qb-age-item {
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.wer-qb-age-item label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
}

/* Botões */
.wer-qb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.wer-qb-btn.primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.wer-qb-btn.primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
}

.wer-qb-btn.success {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.wer-qb-btn.success:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    transform: translateY(-1px);
}

.wer-qb-btn.block {
    width: 100%;
}

.wer-qb-btn.large {
    padding: 14px 24px;
    font-size: 16px;
}

.wer-qb-btn.text-only {
    background: transparent;
    color: #64748b;
    padding: 6px 12px;
}

.wer-qb-btn.text-only:hover {
    color: #2563eb;
}

/* Step 2 Header & Pills */
.wer-qb-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wer-qb-days-filter {
    margin-bottom: 20px;
}

.wer-qb-pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 5px 0;
}

.wer-qb-pill {
    padding: 8px 14px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wer-qb-pill.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* Quando o dia tem uma excursão selecionada */
.wer-qb-pill.has-selected {
    border-color: #16a34a;
    background-color: #f0fdf4;
    color: #166534;
}

.wer-qb-pill.has-selected.active {
    background: linear-gradient(135deg, #15803d, #166534);
    color: #ffffff;
    border-color: #15803d;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

.wer-pill-badge {
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wer-qb-pill.has-selected.active .wer-pill-badge {
    background: #ffffff;
    color: #166534;
}

/* Tours List View (Lista vertical em vez de grelha ou tabela) */
.wer-qb-tours-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wer-qb-tour-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (max-width: 768px) {
    .wer-qb-tour-card {
        flex-direction: row !important;
        align-items: center !important;
        padding: 10px !important;
        gap: 12px !important;
    }
    .wer-qb-tour-img {
        width: 105px !important;
        height: 95px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
    }
}

.wer-qb-tour-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.wer-qb-tour-img {
    width: 140px;
    height: 95px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.wer-qb-tour-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wer-qb-tour-body {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 15px;
}

@media (max-width: 768px) {
    .wer-qb-tour-body {
        flex-direction: column;
        align-items: flex-start;
    }
}

.wer-qb-tour-info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.wer-qb-tour-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.wer-qb-tour-meta {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.wer-qb-tour-pricing-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 8px;
    margin: 6px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
}

.wer-qb-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #475569;
    gap: 8px;
    flex-wrap: wrap;
}

.wer-qb-pricing-row .label {
    font-weight: 500;
    color: #64748b;
}

.wer-qb-pricing-row .val {
    font-weight: 600;
    color: #0f172a;
}

.wer-qb-pricing-row.dias-row {
    align-items: center;
    padding-bottom: 4px;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 2px;
}

.wer-qb-pricing-row.dias-row .wer-qb-dias-val {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.wer-dia-ativo-pill[data-day-code] {
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wer-dia-ativo-pill[data-day-code]:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(2, 132, 199, 0.25);
}

.wer-dia-ativo-pill[data-day-code]:hover svg {
    stroke: #ffffff !important;
}

.wer-dia-ativo-pill.wer-pill-disabled {
    cursor: not-allowed !important;
    opacity: 0.55 !important;
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
    transform: none !important;
}

.wer-dia-ativo-pill.wer-pill-disabled:hover {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-color: #cbd5e1 !important;
    transform: none !important;
    box-shadow: none !important;
}

.wer-dia-ativo-pill.wer-pill-disabled svg {
    stroke: #94a3b8 !important;
}

.wer-qb-pricing-row.pax-row {
    align-items: flex-start;
}

.wer-qb-pricing-row.pax-row .val {
    text-align: right;
    line-height: 1.45;
}

.wer-qb-pricing-row.group-row .val {
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
}

.wer-qb-add-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .wer-qb-add-action {
        width: 100%;
        flex-direction: column;
    }
}

/* Sidebar & Summary */
.wer-qb-sidebar-panel {
    width: 100%;
}

.wer-qb-summary-card {
    position: relative;
    top: 0;
    width: 100%;
}

.wer-qb-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.wer-qb-btn-clear {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.wer-qb-discount-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.wer-qb-discount-badge {
    color: #15803d;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wer-qb-discount-desc {
    font-size: 12px;
    color: #166534;
    margin-top: 4px;
}

.wer-qb-summary-list {
    max-height: none;
    overflow: visible;
    margin-bottom: 15px;
}

.wer-qb-empty-msg {
    text-align: center;
    padding: 30px 10px;
    color: #94a3b8;
}

.wer-qb-empty-msg span {
    font-size: 36px;
    margin-bottom: 8px;
}

.wer-qb-summary-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.wer-qb-summary-item-img {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
}

.wer-qb-summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wer-qb-summary-item-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 640px) {
    .wer-qb-summary-item {
        flex-direction: column;
    }
    .wer-qb-summary-item-img {
        width: 100%;
        height: 150px;
    }
}

.wer-qb-summary-item h5 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #0f172a;
    padding-right: 25px;
}

.wer-qb-summary-item .item-date {
    font-size: 12px;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 6px;
}

.wer-qb-summary-item .item-breakdown-details {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.wer-qb-summary-item .item-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
}

.wer-qb-summary-item .item-detail-row.extra {
    color: #d97706;
    font-weight: 600;
}

.wer-qb-summary-item .item-detail-row.extra-pagto,
.wer-qb-totals-block .wer-qb-row-total.extra-pagto {
    color: #4f46e5;
    font-weight: 600;
}

.wer-qb-summary-item .item-detail-row.discount {
    color: #16a34a;
    font-weight: 600;
}

.wer-qb-summary-item .item-detail-row.pay-now {
    font-weight: 700;
    color: #0f172a;
    padding-top: 4px;
    border-top: 1px solid #e2e8f0;
}

.wer-qb-summary-item .item-detail-row.remaining {
    color: #64748b;
    font-weight: 600;
}

.wer-qb-summary-item .btn-remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
}

.wer-qb-summary-item .btn-remove-item:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.wer-qb-totals-block {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.wer-qb-row-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: #475569;
}

.wer-qb-row-total.extra-loc {
    color: #d97706;
    font-weight: 600;
}

.wer-qb-row-total.discount {
    color: #16a34a;
    font-weight: 600;
}

.wer-qb-row-total.grand-total-with-extras {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
}

.wer-qb-row-total.final-total {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 2px solid #e2e8f0;
}

.wer-qb-row-total.remaining-total {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 600;
}

/* Payment Mode Toggle in Summary Block (50% / 50%) */
.wer-qb-payment-toggle-wrapper {
    margin: 15px 0 15px 0;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
}

.wer-qb-payment-toggle-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wer-qb-payment-mode-toggle {
    display: flex;
    gap: 8px;
    width: 100%;
}

.wer-qb-toggle-btn {
    flex: 1 1 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 6px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-sizing: border-box;
}

.wer-qb-toggle-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.wer-qb-toggle-btn.active {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.wer-qb-toggle-btn .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
    line-height: 15px;
}

.wer-tour-selected-active {
    border: 2px solid #2563eb !important;
    background-color: #f0f7ff !important;
}

/* ==========================================
   OTIMIZAÇÕES ESPECÍFICAS AMBIENTE MOBILE
   ========================================== */
@media (max-width: 768px) {
    .section_wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .wer-quotation-wrapper {
        padding: 10px 4px !important;
    }
    
    .wer-qb-card {
        padding: 14px 10px !important;
        border-radius: 10px !important;
    }
    
    .wer-qb-header {
        margin-bottom: 12px !important;
        padding: 0 4px !important;
    }
    
    .wer-qb-header h2 {
        font-size: 19px !important;
    }

    .wer-qb-header p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .wer-qb-stepper {
        gap: 4px !important;
        margin-bottom: 15px !important;
    }
    
    .wer-qb-step {
        padding: 6px 4px !important;
        font-size: 11px !important;
    }

    .wer-qb-step .step-num {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
    }

    .wer-qb-tours-grid {
        gap: 10px !important;
    }

    .wer-qb-tour-card {
        flex-direction: row !important;
        align-items: center !important;
        padding: 10px !important;
        gap: 10px !important;
        margin-bottom: 8px !important;
    }

    .wer-qb-tour-img {
        width: 95px !important;
        height: 95px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .wer-qb-tour-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .wer-qb-tour-body {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        flex: 1 !important;
        width: 100% !important;
    }

    .wer-qb-tour-info-col {
        gap: 4px !important;
    }

    .wer-qb-tour-body h4 {
        font-size: 13px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
    }

    .wer-qb-tour-pricing-info {
        margin: 2px 0 0 0 !important;
        padding: 4px 8px !important;
        font-size: 11px !important;
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .wer-qb-add-action {
        width: 100% !important;
        margin-top: 2px !important;
    }

    .wer-qb-btn-add-tour {
        width: 100% !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
        justify-content: center !important;
    }
}

/* Barra Fixa Flutuante no Mobile */
.wer-qb-mobile-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35) !important;
    z-index: 999999 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-sizing: border-box !important;
}

.wer-qb-mobile-bar-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wer-qb-mobile-bar-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.wer-qb-mobile-bar-badge {
    background: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wer-qb-mobile-bar-text {
    display: flex;
    flex-direction: column;
}

.wer-qb-mobile-bar-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wer-qb-mobile-bar-val {
    font-size: 15px;
    font-weight: 800;
    color: #38bdf8;
}

.wer-qb-mobile-bar-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s;
}

.wer-qb-mobile-bar-btn:active {
    transform: scale(0.96);
}

/* Toast Loader / Feedback Flutuante */
.wer-qb-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    pointer-events: none;
}

.wer-qb-toast-content {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: werToastFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wer-qb-toast-content .spin {
    animation: werSpin 0.9s linear infinite;
    color: #38bdf8;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

@keyframes werSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes werToastFadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (min-width: 992px) {
    .wer-qb-mobile-bar {
        display: none !important;
    }
}

/* Faixa de Resumo do Passo 1 (Entre Stepper e Passo 2) */
.wer-qb-step1-summary-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.wer-qb-step1-summary-bar .summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 200px;
    min-width: 0;
}

.wer-qb-step1-summary-bar .summary-icon {
    font-size: 20px;
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #2563eb;
    border-radius: 10px;
}

.wer-qb-step1-summary-bar .summary-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.wer-qb-step1-summary-bar .summary-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 3px;
    line-height: 1.2;
}

.wer-qb-step1-summary-bar .summary-val {
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Idades & Passageiros Pills Wrapper (Visível de 1 vez, sem scroll) */
.wer-qb-step1-summary-bar .summary-ages-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.wer-qb-step1-summary-bar .summary-ages-wrapper::-webkit-scrollbar {
    width: 4px;
}

.wer-qb-step1-summary-bar .summary-ages-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.wer-qb-summary-age-pill {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.wer-qb-summary-age-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.wer-qb-step1-summary-bar .summary-item.item-action {
    flex: 0 0 auto;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .wer-qb-step1-summary-bar {
        padding: 12px 14px;
        gap: 12px;
    }
    .wer-qb-step1-summary-bar .summary-item {
        flex: 1 1 100%;
        border-bottom: 1px dashed #e2e8f0;
        padding-bottom: 8px;
    }
    .wer-qb-step1-summary-bar .summary-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .wer-qb-step1-summary-bar .summary-item.item-action {
        width: 100%;
    }
    .wer-qb-step1-summary-bar .summary-item.item-action button {
        width: 100%;
        justify-content: center;
    }
}

/* Correcção de z-index e Estilos para o Calendário Pop-up (jQuery UI Datepicker) */
#ui-datepicker-div {
    z-index: 999999 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18) !important;
    padding: 12px !important;
    font-family: inherit !important;
}

#ui-datepicker-div .ui-datepicker-header {
    background: #f8fafc !important;
    border: none !important;
    border-radius: 8px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

#ui-datepicker-div .ui-datepicker-title select {
    font-size: 13px !important;
    padding: 2px 4px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
}

#ui-datepicker-div .ui-state-default {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    color: #1e293b !important;
    text-align: center !important;
}

#ui-datepicker-div .ui-state-active,
#ui-datepicker-div .ui-state-highlight {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}
