/* ============================================
   Orvia Hotels - Booking Engine
   Prefix: .be-*
   ============================================ */

/* ── Progress Steps ── */
.be-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: var(--fe-space-6) 0;
    max-width: 700px;
    margin: 0 auto;
}

.be-step {
    display: flex;
    align-items: center;
    gap: var(--fe-space-2);
    font-size: var(--fe-text-sm);
    color: var(--fe-text-muted);
    white-space: nowrap;
}

.be-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fe-text-sm);
    font-weight: var(--fe-weight-semibold);
    background: var(--fe-bg-soft);
    border: 2px solid var(--fe-border);
    color: var(--fe-text-muted);
    flex-shrink: 0;
}

.be-step.active .be-step-number {
    background: var(--fe-accent);
    border-color: var(--fe-accent);
    color: white;
}

.be-step.completed .be-step-number {
    background: var(--fe-primary);
    border-color: var(--fe-primary);
    color: white;
}

.be-step.active {
    color: var(--fe-text);
    font-weight: var(--fe-weight-medium);
}

.be-step-connector {
    width: 40px;
    height: 2px;
    background: var(--fe-border);
    margin: 0 var(--fe-space-2);
    flex-shrink: 0;
}

.be-step.completed + .be-step-connector,
.be-step-connector.completed {
    background: var(--fe-primary);
}

/* ── Search Header ── */
.be-search-header {
    background: var(--fe-bg-dark);
    padding: var(--fe-space-8) 0 var(--fe-space-6);
    text-align: center;
}

.be-search-header h1 {
    color: var(--fe-white);
    font-size: var(--fe-text-2xl);
    margin-bottom: var(--fe-space-4);
}

.be-search-bar {
    display: flex;
    align-items: center;
    gap: var(--fe-space-3);
    background: var(--fe-white);
    padding: var(--fe-space-3) var(--fe-space-4);
    border-radius: var(--fe-radius-lg);
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.be-search-bar .be-search-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fe-text-sm);
    color: var(--fe-text);
    padding: 8px 12px;
    flex: 1;
    min-width: 0;
}

.be-search-bar .be-search-item i {
    color: var(--fe-accent);
    font-size: 14px;
    flex-shrink: 0;
}

.be-search-bar .be-search-item .label {
    font-size: var(--fe-text-xs);
    color: var(--fe-text-muted);
    margin-right: 4px;
}

.be-search-separator {
    width: 1px;
    height: 32px;
    background: var(--fe-border-light);
    flex-shrink: 0;
}

/* ── Search Edit Form ── */
.be-search-edit {
    text-align: left;
    flex-wrap: nowrap;
    gap: var(--fe-space-3);
    padding: var(--fe-space-4) var(--fe-space-5);
    max-width: 900px;
}

.be-search-edit .be-search-field {
    flex: 1;
    min-width: 0;
}

.be-search-edit .be-search-field label {
    display: block;
    font-size: var(--fe-text-xs);
    font-weight: var(--fe-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--fe-tracking-wide);
    color: var(--fe-text-muted);
    margin-bottom: var(--fe-space-1);
}

.be-search-edit .be-search-field input,
.be-search-edit .be-search-field select {
    width: 100%;
    padding: 8px 10px;
    font-size: var(--fe-text-sm);
    border: 1.5px solid var(--fe-border);
    border-radius: var(--fe-radius);
    background: var(--fe-bg-soft);
    color: var(--fe-text);
}

.be-search-edit .be-search-field input:focus,
.be-search-edit .be-search-field select:focus {
    outline: none;
    border-color: var(--fe-accent);
}

.be-search-edit .be-search-actions {
    display: flex;
    gap: var(--fe-space-2);
    align-items: flex-end;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .be-search-edit {
        flex-wrap: wrap;
    }

    .be-search-edit .be-search-field {
        min-width: calc(50% - var(--fe-space-3));
    }

    .be-search-edit .be-search-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ── Room Selection Cards ── */
.be-room-list {
    display: flex;
    flex-direction: column;
    gap: var(--fe-space-5);
    padding: var(--fe-space-8) 0;
}

.be-room-card {
    background: var(--fe-white);
    border: 1px solid var(--fe-border-light);
    border-radius: var(--fe-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--fe-transition);
}

.be-room-card:hover {
    box-shadow: var(--fe-shadow-md);
}

.be-room-card-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
}

.be-room-card-image {
    position: relative;
    overflow: hidden;
}

.be-room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
}

.be-room-card-content {
    padding: var(--fe-space-5);
    display: flex;
    flex-direction: column;
}

.be-room-card-top {
    flex: 1;
}

.be-room-card-name {
    font-family: var(--fe-font-heading);
    font-size: var(--fe-text-xl);
    font-weight: var(--fe-weight-semibold);
    margin-bottom: var(--fe-space-2);
}

.be-room-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fe-space-3);
    margin-bottom: var(--fe-space-3);
}

.be-room-card-spec {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--fe-text-xs);
    color: var(--fe-text-muted);
}

.be-room-card-spec i {
    color: var(--fe-accent);
    font-size: 12px;
}

.be-room-card-desc {
    font-size: var(--fe-text-sm);
    color: var(--fe-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--fe-space-4);
}

.be-room-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: var(--fe-space-4);
    border-top: 1px solid var(--fe-border-light);
}

.be-room-price {
    display: flex;
    flex-direction: column;
}

.be-room-price .per-night {
    font-size: var(--fe-text-xs);
    color: var(--fe-text-muted);
}

.be-room-price .amount {
    font-size: var(--fe-text-2xl);
    font-weight: var(--fe-weight-bold);
    color: var(--fe-text);
    line-height: 1.2;
}

.be-room-price .total-label {
    font-size: var(--fe-text-xs);
    color: var(--fe-text-muted);
}

.be-room-actions {
    display: flex;
    align-items: center;
    gap: var(--fe-space-3);
}

.be-room-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--fe-border);
    border-radius: var(--fe-radius);
    overflow: hidden;
}

.be-room-qty button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fe-bg-soft);
    color: var(--fe-text);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s;
}

.be-room-qty button:hover {
    background: var(--fe-border-light);
}

.be-room-qty .qty-value {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fe-text-sm);
    font-weight: var(--fe-weight-semibold);
}

/* ── Guest Details Form ── */
.be-form-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--fe-space-8);
    padding: var(--fe-space-8) 0;
    align-items: start;
}

.be-form-card {
    background: var(--fe-white);
    border: 1px solid var(--fe-border-light);
    border-radius: var(--fe-radius-lg);
    padding: var(--fe-space-6);
}

.be-form-card h3 {
    font-family: var(--fe-font-heading);
    font-size: var(--fe-text-lg);
    font-weight: var(--fe-weight-semibold);
    margin-bottom: var(--fe-space-5);
    padding-bottom: var(--fe-space-3);
    border-bottom: 1px solid var(--fe-border-light);
}

.be-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fe-space-4);
}

.be-form-group {
    margin-bottom: var(--fe-space-4);
}

.be-form-group label {
    display: block;
    font-size: var(--fe-text-sm);
    font-weight: var(--fe-weight-medium);
    color: var(--fe-text);
    margin-bottom: var(--fe-space-1);
}

.be-form-group label .required {
    color: #dc2626;
}

.be-form-group input,
.be-form-group select,
.be-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: var(--fe-text-sm);
    border: 1.5px solid var(--fe-border);
    border-radius: var(--fe-radius);
    background: var(--fe-bg-soft);
    transition: border-color var(--fe-transition-fast);
}

.be-form-group input:focus,
.be-form-group select:focus,
.be-form-group textarea:focus {
    outline: none;
    border-color: var(--fe-accent);
}

.be-form-group textarea {
    min-height: 80px;
    resize: vertical;
}

/* ── Booking Summary Sidebar ── */
.be-summary {
    position: sticky;
    top: calc(var(--fe-header-height) + 24px);
}

.be-summary-card {
    background: var(--fe-white);
    border: 1px solid var(--fe-border-light);
    border-radius: var(--fe-radius-lg);
    overflow: hidden;
}

.be-summary-header {
    padding: var(--fe-space-4) var(--fe-space-5);
    background: var(--fe-primary);
    color: var(--fe-white);
}

.be-summary-header h3 {
    font-size: var(--fe-text-base);
    font-weight: var(--fe-weight-semibold);
}

.be-summary-body {
    padding: var(--fe-space-5);
}

.be-summary-property {
    display: flex;
    gap: var(--fe-space-3);
    margin-bottom: var(--fe-space-4);
    padding-bottom: var(--fe-space-4);
    border-bottom: 1px solid var(--fe-border-light);
}

.be-summary-property img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--fe-radius);
}

.be-summary-property .name {
    font-weight: var(--fe-weight-semibold);
    font-size: var(--fe-text-sm);
    margin-bottom: 2px;
}

.be-summary-property .location {
    font-size: var(--fe-text-xs);
    color: var(--fe-text-muted);
}

.be-summary-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fe-space-3);
    margin-bottom: var(--fe-space-4);
    padding-bottom: var(--fe-space-4);
    border-bottom: 1px solid var(--fe-border-light);
}

.be-summary-date .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fe-text-muted);
}

.be-summary-date .value {
    font-size: var(--fe-text-sm);
    font-weight: var(--fe-weight-semibold);
}

.be-summary-room {
    display: flex;
    justify-content: space-between;
    font-size: var(--fe-text-sm);
    margin-bottom: var(--fe-space-2);
}

.be-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: var(--fe-text-sm);
    color: var(--fe-text-secondary);
    margin-bottom: var(--fe-space-2);
}

.be-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: var(--fe-text-lg);
    font-weight: var(--fe-weight-bold);
    color: var(--fe-text);
    padding-top: var(--fe-space-3);
    margin-top: var(--fe-space-3);
    border-top: 2px solid var(--fe-border);
}

/* ── Confirmation Page ── */
.be-confirmation {
    text-align: center;
    padding: var(--fe-space-12) 0;
    max-width: 700px;
    margin: 0 auto;
}

.be-confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto var(--fe-space-5);
}

.be-confirmation h1 {
    font-size: var(--fe-text-3xl);
    margin-bottom: var(--fe-space-3);
}

.be-confirmation .subtitle {
    font-size: var(--fe-text-lg);
    color: var(--fe-text-muted);
    margin-bottom: var(--fe-space-8);
}

.be-confirmation-ref {
    display: inline-block;
    background: var(--fe-bg-soft);
    border: 2px dashed var(--fe-border);
    border-radius: var(--fe-radius-lg);
    padding: var(--fe-space-4) var(--fe-space-8);
    margin-bottom: var(--fe-space-8);
}

.be-confirmation-ref .label {
    font-size: var(--fe-text-sm);
    color: var(--fe-text-muted);
}

.be-confirmation-ref .ref {
    font-size: var(--fe-text-3xl);
    font-weight: var(--fe-weight-bold);
    letter-spacing: 0.15em;
    color: var(--fe-primary);
    font-family: var(--fe-font-mono, monospace);
}

.be-confirmation-details {
    background: var(--fe-white);
    border: 1px solid var(--fe-border-light);
    border-radius: var(--fe-radius-lg);
    padding: var(--fe-space-6);
    text-align: left;
    margin-bottom: var(--fe-space-8);
}

.be-confirmation-details h3 {
    font-family: var(--fe-font-heading);
    font-size: var(--fe-text-lg);
    margin-bottom: var(--fe-space-4);
    padding-bottom: var(--fe-space-3);
    border-bottom: 1px solid var(--fe-border-light);
}

.be-confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fe-space-4);
}

.be-confirmation-item .label {
    font-size: var(--fe-text-xs);
    color: var(--fe-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.be-confirmation-item .value {
    font-size: var(--fe-text-sm);
    font-weight: var(--fe-weight-medium);
    color: var(--fe-text);
}

.be-confirmation-actions {
    display: flex;
    gap: var(--fe-space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* ── No Availability ── */
.be-no-results {
    text-align: center;
    padding: var(--fe-space-16) var(--fe-space-6);
}

.be-no-results i {
    font-size: 48px;
    color: var(--fe-gray-300);
    margin-bottom: var(--fe-space-4);
}

.be-no-results h3 {
    font-size: var(--fe-text-xl);
    margin-bottom: var(--fe-space-2);
}

.be-no-results p {
    color: var(--fe-text-muted);
    max-width: 400px;
    margin: 0 auto;
}

/* ── Payment Type Selection ── */
.be-payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fe-space-4);
    margin: var(--fe-space-5) 0;
}

.be-payment-option {
    border: 2px solid var(--fe-border);
    border-radius: var(--fe-radius-lg);
    padding: var(--fe-space-5);
    cursor: pointer;
    transition: all var(--fe-transition-fast);
    text-align: center;
}

.be-payment-option:hover {
    border-color: var(--fe-accent);
}

.be-payment-option.selected {
    border-color: var(--fe-accent);
    background: var(--fe-accent-glow);
}

.be-payment-option i {
    font-size: 24px;
    color: var(--fe-accent);
    margin-bottom: var(--fe-space-2);
}

.be-payment-option h4 {
    font-size: var(--fe-text-base);
    margin-bottom: var(--fe-space-1);
}

.be-payment-option p {
    font-size: var(--fe-text-xs);
    color: var(--fe-text-muted);
}

/* ── Cart Bar (Sticky Footer on Search) ── */
.be-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--fe-white);
    border-top: 2px solid var(--fe-accent);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: var(--fe-space-3) 0;
    animation: beSlideUp 0.3s ease;
}

@keyframes beSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.be-cart-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fe-space-4);
}

.be-cart-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fe-space-2);
    flex: 1;
}

.be-cart-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--fe-bg-soft);
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius);
    padding: 5px 12px;
    font-size: var(--fe-text-xs);
    font-weight: var(--fe-weight-medium);
}

.be-cart-chip .chip-qty {
    background: var(--fe-accent);
    color: white;
    border-radius: 3px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: var(--fe-weight-bold);
}

.be-cart-chip .chip-remove {
    cursor: pointer;
    color: var(--fe-text-muted);
    font-size: 10px;
    padding: 2px;
}

.be-cart-chip .chip-remove:hover {
    color: #dc2626;
}

.be-cart-totals {
    display: flex;
    align-items: center;
    gap: var(--fe-space-4);
    flex-shrink: 0;
}

.be-cart-count {
    font-size: var(--fe-text-sm);
    color: var(--fe-text-muted);
    white-space: nowrap;
}

.be-cart-total {
    font-size: var(--fe-text-xl);
    font-weight: var(--fe-weight-bold);
    color: var(--fe-text);
    white-space: nowrap;
}

/* ── Review Page: Editable Room List ── */
.be-review-room-item {
    display: flex;
    align-items: center;
    gap: var(--fe-space-4);
    padding: var(--fe-space-3) 0;
    border-bottom: 1px solid var(--fe-border-light);
}

.be-review-room-item:last-child {
    border-bottom: none;
}

.be-review-room-info {
    flex: 1;
    min-width: 0;
}

.be-review-room-name {
    font-weight: var(--fe-weight-semibold);
    font-size: var(--fe-text-sm);
}

.be-review-room-rate {
    font-size: var(--fe-text-xs);
    color: var(--fe-text-muted);
    margin-top: 2px;
}

.be-review-room-controls {
    display: flex;
    align-items: center;
    gap: var(--fe-space-2);
    flex-shrink: 0;
}

.be-review-room-controls .be-room-qty {
    transform: scale(0.9);
}

.be-review-room-controls .be-remove-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius);
    background: none;
    color: var(--fe-text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    transition: all 0.15s;
}

.be-review-room-controls .be-remove-item:hover {
    color: #dc2626;
    border-color: #dc2626;
    background: #fef2f2;
}

.be-review-room-price {
    min-width: 90px;
    text-align: right;
    font-weight: var(--fe-weight-semibold);
    font-size: var(--fe-text-sm);
    flex-shrink: 0;
}

/* ── Occupancy Selector ── */
.be-occupancy-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--fe-space-3);
    flex-wrap: wrap;
}

.be-occ-label {
    font-size: var(--fe-text-xs);
    color: var(--fe-text-muted);
    font-weight: var(--fe-weight-medium);
    margin-right: 2px;
}

.be-occ-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: var(--fe-text-xs);
    font-weight: var(--fe-weight-medium);
    border: 1.5px solid var(--fe-border);
    border-radius: var(--fe-radius);
    background: var(--fe-white);
    color: var(--fe-text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}

.be-occ-btn:hover {
    border-color: var(--fe-accent);
    color: var(--fe-text);
}

.be-occ-btn.active {
    border-color: var(--fe-accent);
    background: var(--fe-accent-glow, rgba(200, 149, 108, 0.08));
    color: var(--fe-accent);
    font-weight: var(--fe-weight-semibold);
}

.be-occ-price {
    font-weight: var(--fe-weight-semibold);
    color: inherit;
}

/* ── Room total display in search cards ── */
.be-room-total {
    font-size: var(--fe-text-sm);
    font-weight: var(--fe-weight-semibold);
    color: var(--fe-accent);
    min-height: 20px;
}

/* ── Search Pill (Destination Search) ── */
.be-search-pill-section {
    background: var(--fe-bg-soft);
    border-bottom: 1px solid var(--fe-border-light);
    padding: var(--fe-space-6) 0;
}

.be-search-pill {
    display: flex;
    align-items: center;
    background: var(--fe-white);
    border: 1.5px solid var(--fe-border);
    border-radius: var(--fe-radius-full);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    transition: box-shadow var(--fe-transition-fast);
}

.be-search-pill:focus-within {
    border-color: var(--fe-accent);
    box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.1);
}

.be-pill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.be-pill-item i {
    color: var(--fe-accent);
    font-size: 14px;
    flex-shrink: 0;
}

.be-pill-item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.be-pill-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fe-text-muted);
    line-height: 1;
}

.be-pill-value {
    font-size: var(--fe-text-sm);
    font-weight: var(--fe-weight-medium);
    color: var(--fe-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.be-pill-divider {
    width: 1px;
    height: 32px;
    background: var(--fe-border-light);
    flex-shrink: 0;
}

.be-pill-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 4px 6px 4px 0;
    background: var(--fe-accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--fe-transition-fast);
}

.be-pill-search-btn:hover {
    background: var(--fe-accent-dark);
}

/* Pill edit form (hidden by default, shown on click) */
.be-pill-edit-form {
    display: none;
    max-width: 900px;
    margin: var(--fe-space-4) auto 0;
}

.be-pill-edit-form.active {
    display: flex;
    align-items: flex-end;
    gap: var(--fe-space-3);
    background: var(--fe-white);
    border: 1.5px solid var(--fe-border);
    border-radius: var(--fe-radius-lg);
    padding: var(--fe-space-4) var(--fe-space-5);
}

.be-pill-edit-form .be-search-field {
    flex: 1;
    min-width: 0;
}

.be-pill-edit-form .be-search-field label {
    display: block;
    font-size: 10px;
    font-weight: var(--fe-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fe-text-muted);
    margin-bottom: var(--fe-space-1);
}

.be-pill-edit-form .be-search-field input,
.be-pill-edit-form .be-search-field select {
    width: 100%;
    padding: 8px 10px;
    font-size: var(--fe-text-sm);
    border: 1.5px solid var(--fe-border);
    border-radius: var(--fe-radius);
    background: var(--fe-bg-soft);
    color: var(--fe-text);
}

.be-pill-edit-form .be-search-field input:focus,
.be-pill-edit-form .be-search-field select:focus {
    outline: none;
    border-color: var(--fe-accent);
}

.be-pill-edit-form .be-search-actions {
    display: flex;
    gap: var(--fe-space-2);
    flex-shrink: 0;
}

/* ── Destination Search Layout (2-column with sidebar) ── */
.be-search-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--fe-space-6);
    padding: var(--fe-space-6) 0 var(--fe-space-10);
    align-items: start;
}

.be-search-layout.no-sidebar {
    grid-template-columns: 1fr;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .be-room-card-inner {
        grid-template-columns: 1fr;
    }

    .be-room-card-image img {
        min-height: 200px;
        max-height: 200px;
    }

    .be-form-layout {
        grid-template-columns: 1fr;
    }

    .be-summary {
        position: static;
    }

    .be-progress {
        flex-wrap: wrap;
        gap: var(--fe-space-2);
    }

    .be-step-connector {
        width: 20px;
    }

    .be-search-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .be-search-pill {
        flex-wrap: wrap;
        border-radius: var(--fe-radius-lg);
    }

    .be-pill-item {
        min-width: calc(50% - 1px);
        padding: 10px 16px;
    }

    .be-pill-divider {
        display: none;
    }

    .be-pill-search-btn {
        width: 100%;
        border-radius: 0 0 var(--fe-radius-lg) var(--fe-radius-lg);
        height: 44px;
        margin: 0;
    }

    .be-pill-edit-form.active {
        flex-wrap: wrap;
    }

    .be-pill-edit-form .be-search-field {
        min-width: calc(50% - var(--fe-space-3));
    }

    .be-pill-edit-form .be-search-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .be-search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .be-search-separator {
        display: none;
    }

    .be-form-row {
        grid-template-columns: 1fr;
    }

    .be-payment-options {
        grid-template-columns: 1fr;
    }

    .be-confirmation-grid {
        grid-template-columns: 1fr;
    }

    .be-cart-bar-inner {
        flex-direction: column;
        gap: var(--fe-space-2);
    }

    .be-cart-totals {
        width: 100%;
        justify-content: space-between;
    }

    .be-review-room-item {
        flex-wrap: wrap;
    }

    .be-review-room-price {
        width: 100%;
        text-align: left;
        padding-top: var(--fe-space-1);
    }
}
