.bg-reserva-box{font-size:14px}
.bg-reserva-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bg-reserva-field{min-width:0}
.bg-reserva-full{grid-column:1/-1}
.bg-reserva-field label{display:block;font-size:12px;font-weight:600;margin-bottom:4px}
.bg-reserva-field input,.bg-reserva-field select,.bg-reserva-field textarea{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #ddd;border-radius:3px;background:#fff}
.bg-reserva-submit{width:100%;padding:11px 14px;border:0;border-radius:3px;cursor:pointer;background:#c59b6d;color:#fff;font-weight:600}
.bg-reserva-submit[disabled]{opacity:.6;cursor:wait}
.bg-reserva-message{margin-top:10px;line-height:1.4}
.bg-reserva-message.is-ok{color:#1f7a3d}
.bg-reserva-message.is-error{color:#b42318}
.bg-reserva-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important}
@media(max-width:600px){.bg-reserva-form{grid-template-columns:1fr}.bg-reserva-full{grid-column:auto}}

/* v1.0.1 — compatibilidade com a sidebar do Listify */
.bg-reserva-box,
.bg-reserva-form,
.bg-reserva-field,
.bg-reserva-field input,
.bg-reserva-field select,
.bg-reserva-field textarea {
    max-width: 100%;
}

.bg-reserva-field select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

/* O Listify / plugins de selects podem envolver o SELECT nestes containers. */
.bg-reserva-box .select2-container,
.bg-reserva-box .chosen-container,
.bg-reserva-box .chosen-container-single,
.bg-reserva-box .select-wrapper,
.bg-reserva-box .select2,
.bg-reserva-box span.select2 {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.bg-reserva-box .select2-selection,
.bg-reserva-box .chosen-single {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Na sidebar do listing, uma coluna é mais legível e evita overflow. */
.bg-reserva-widget-mode .bg-reserva-form {
    grid-template-columns: minmax(0, 1fr) !important;
}

.bg-reserva-widget-mode .bg-reserva-full {
    grid-column: auto !important;
}

.bg-reserva-widget-mode .bg-reserva-field,
.bg-reserva-widget-mode .bg-reserva-field input,
.bg-reserva-widget-mode .bg-reserva-field select,
.bg-reserva-widget-mode .bg-reserva-field textarea,
.bg-reserva-widget-mode .bg-reserva-submit {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* v1.0.2 — acordeão e título por listing */
.bg-reserva-accordion {
    width: 100%;
}

.bg-reserva-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 10px 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #e7e7e7;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.bg-reserva-accordion-title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
}

.bg-reserva-accordion-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    transition: transform .18s ease;
}

.bg-reserva-accordion-toggle[aria-expanded="true"] .bg-reserva-accordion-icon {
    transform: rotate(45deg);
}

.bg-reserva-accordion-panel {
    padding-top: 14px;
}

.bg-reserva-accordion-panel[hidden] {
    display: none !important;
}

/* O conteúdo começa fechado e abre sem ultrapassar a sidebar. */
.bg-reserva-widget-mode .bg-reserva-box,
.bg-reserva-widget-mode .bg-reserva-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
