/* ===== SISTEMA DE RESERVAS ===== */

.price-summary {
    background: linear-gradient(135deg, #f8faf5 0%, #f0f4ea 100%);
    border-radius: 16px;
    padding: 0;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(85, 107, 47, 0.1);
    border: 1px solid rgba(85, 107, 47, 0.1);
    overflow: hidden;
}

.price-summary-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.price-summary-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.price-summary-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.price-summary-header h3 i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stay-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.room-type {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stay-duration {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nights-container {
    padding: 1rem;
    background: var(--white);
}

.night-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(85, 107, 47, 0.1);
    transition: all 0.3s ease;
}

.night-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 107, 47, 0.15);
}

.night-row:last-child {
    margin-bottom: 0;
}

.night-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.night-date-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.night-date {
    font-weight: 600;
}

.special-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.special-tag {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.special-tag.special-event {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.base-price-detail,
.extra-guests-detail {
    font-size: 0.9rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.base-price-detail i,
.extra-guests-detail i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.night-total-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-label {
    font-size: 0.8rem;
    color: #888;
    opacity: 0.7;
}

.price-summary-details {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid rgba(85, 107, 47, 0.1);
}

.summary-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(85, 107, 47, 0.03);
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row.subtotal {
    background: rgba(85, 107, 47, 0.05);
    border: 1px solid rgba(85, 107, 47, 0.1);
}

.summary-row.total {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.summary-row.total::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.summary-row.total .summary-label {
    color: var(--white);
    font-weight: 600;
}

.summary-row.total .summary-label i {
    color: var(--white);
    opacity: 0.9;
}

.summary-row.total .summary-value {
    color: var(--white);
    font-weight: 700;
}

.summary-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.summary-value {
    font-weight: 600;
    color: var(--primary-color);
}

.total-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
}

.extra-guests-summary {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.guests-details {
    font-size: 0.85rem;
    color: #666;
}

.guests-details small {
    opacity: 0.8;
}

.free-tag {
    background: var(--success);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== SISTEMA DE RESERVAS - HÓSPEDES EXTRAS ===== */

#extra-guests-container {
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--secondary-color);
    grid-column: 1 / -1; /* Ocupa toda a largura disponível */
}

#extra-guests-container h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    text-align: center;
}

/* CORREÇÃO: Grid flexível para os campos de hóspedes extras */
#extra-guests-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* CORREÇÃO: Estilo melhorado para cada campo de hóspede */
.guest-details {
    background: var(--white);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(85, 107, 47, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guest-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.guest-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 107, 47, 0.15);
}

.guest-details h4 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-details h4::before {
    content: '👤';
    font-size: 0.9rem;
    opacity: 0.7;
}

.guest-age-select {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.guest-age-select label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.guest-age-select select {
    padding: 0.7rem;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.guest-age-select select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(124, 144, 67, 0.1);
}

.guest-age-select select:hover {
    border-color: var(--accent-color);
}

/* Indicador visual do preço ao lado do select */
.guest-price-indicator {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 0.3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guest-price-indicator.show {
    opacity: 1;
}

/* Responsivo para hóspedes extras */
@media (max-width: 768px) {
    #extra-guests-fields {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .guest-details {
        padding: 1rem;
    }
    
    .guest-details h4 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #extra-guests-container {
        padding: 1rem;
    }
    
    .guest-details {
        padding: 0.8rem;
    }
    
    .guest-details h4 {
        font-size: 0.9rem;
    }
    
    .guest-age-select select {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

/* Layout especial para 2 hóspedes extras */
@media (min-width: 769px) {
    #extra-guests-fields[data-guests="2"] {
        grid-template-columns: 1fr 1fr;
    }
}

/* Layout especial para 3 ou mais hóspedes extras */
@media (min-width: 1024px) {
    #extra-guests-fields[data-guests="3"] {
        grid-template-columns: repeat(3, 1fr);
    }
    
    #extra-guests-fields[data-guests="4"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .night-row {
        flex-direction: column;
        gap: 0.8rem;
    }

    .night-total-price {
        align-items: flex-start;
    }

    #extra-guests-fields {
        grid-template-columns: 1fr;
    }

    .summary-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ===== SISTEMA DE RESERVA DA CASA ===== */

.booking-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.booking-cta-full {
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: var(--border-radius-full);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.booking-cta-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(85, 107, 47, 0.3);
}

.booking-cta-full i {
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.booking-cta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(85, 107, 47, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(85, 107, 47, 0.2);
}

.info-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.info-header i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.info-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* NOVO: Adicionar efeito de hover aos info-cards */
.info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(85, 107, 47, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(85, 107, 47, 0.2);
}

.info-card:hover .info-header {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.info-card:hover .info-header i {
    transform: scale(1.1);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
}

/* MELHORAR: Contraste do conteúdo dos cartões */
.info-content {
    padding: 1.5rem;
    background: var(--white);
}

.room-lines p,
.amenities-list p,
.extra-rooms-list p,
.hospitalidades-list p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.room-lines i,
.amenities-list i,
.extra-rooms-list i,
.hospitalidades-list i {
    margin-right: 0.5rem;
    color: var(--accent-color);
    width: 20px;
    font-size: 1.1rem;
}

/* RESPONSIVO: Ajustes para mobile */
@media (max-width: 768px) {
    .info-header h3 {
        font-size: 1.1rem;
    }
    
    .info-header i {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .room-lines p,
    .amenities-list p,
    .extra-rooms-list p,
    .hospitalidades-list p {
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 1.2rem;
        margin-top: 1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .info-header {
        padding: 1.2rem;
    }
    
    .info-header h3 {
        font-size: 1rem;
    }
    
    .info-header i {
        font-size: 1.6rem;
    }
    
    .info-content {
        padding: 1.2rem;
    }
}

/* ===== SELEÇÃO DE QUARTOS NO MODAL ===== */

.room-selection-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--secondary-color);
}

.rooms-selection h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.base-package {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-md);
    border: 2px solid var(--accent-color);
}

.base-package h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.base-rooms {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.room-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    min-height: 80px; /* Altura mínima para acomodar a imagem */
}

.base-room {
    background: rgba(85, 107, 47, 0.05);
    border: 1px solid rgba(85, 107, 47, 0.2);
}

.additional-room {
    background: var(--white);
    border: 1px solid var(--secondary-color);
    cursor: pointer;
}

.additional-room:hover {
    background: var(--light-bg);
    border-color: var(--accent-color);
}

.additional-room.selected {
    background: rgba(124, 144, 67, 0.1);
    border-color: var(--accent-color);
}

.room-checkbox {
    flex-shrink: 0;
    position: relative;
}

.room-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* CORREÇÃO: Estilos para imagens dos quartos - altura total */
.room-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--secondary-color);
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* CORREÇÃO: Para quartos base, ajustar altura da imagem para ocupar toda a altura do item */
.base-room .room-image {
    height: 100%; /* Ocupa toda a altura disponível */
    min-height: 60px; /* Altura mínima */
    align-self: stretch; /* Estica para ocupar a altura do container pai */
}

.base-room .room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CORREÇÃO: Para quartos adicionais, manter a mesma lógica */
.additional-room .room-image {
    height: 100%; /* Ocupa toda a altura disponível */
    min-height: 60px; /* Altura mínima */
    align-self: stretch; /* Estica para ocupar a altura do container pai */
}

.additional-room .room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CORREÇÃO: Ajustar o room-item para ter altura mínima adequada */
.room-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    min-height: 80px; /* Altura mínima para acomodar a imagem */
}

/* CORREÇÃO: Para base-room, ajustar padding e altura */
.base-room {
    background: rgba(85, 107, 47, 0.05);
    border: 1px solid rgba(85, 107, 47, 0.2);
    min-height: 90px; /* Altura ligeiramente maior para quartos base */
    padding: 1.2rem 1rem; /* Padding vertical maior */
}

/* CORREÇÃO: Para additional-room, manter consistência */
.additional-room {
    background: var(--white);
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    min-height: 80px;
    padding: 1rem;
}

/* CORREÇÃO: Estilos para o container de quartos adicionais dentro do base-package */
.additional-rooms-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(85, 107, 47, 0.2);
}

.additional-rooms-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0.5rem 0;
    padding: 0.8rem;
    background: rgba(85, 107, 47, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.additional-rooms-note i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* CORREÇÃO: Ajustar o h4 dos quartos adicionais */
.base-package h4:nth-of-type(2) {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(85, 107, 47, 0.2);
}

.base-package h4:nth-of-type(2) i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* CORREÇÃO: Melhorar o visual do preço base */
.base-package-price {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(124, 144, 67, 0.1);
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(124, 144, 67, 0.2);
}

/* NOVO: Estilos para o preço dinâmico */
.dynamic-price-display {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(124, 144, 67, 0.08) 0%, rgba(85, 107, 47, 0.12) 100%);
    border-radius: 12px;
    border: 2px solid rgba(124, 144, 67, 0.2);
    box-shadow: 0 4px 12px rgba(85, 107, 47, 0.1);
}

.price-breakdown-summary {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.base-price-line {
    color: var(--primary-color);
    font-weight: 500;
}

.additional-price-line {
    color: var(--accent-color);
    font-weight: 500;
    padding-left: 1rem;
    border-left: 3px solid rgba(124, 144, 67, 0.3);
    margin-left: 0.5rem;
}

.total-price-line {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(85, 107, 47, 0.2);
    font-size: 1.1rem;
    color: var(--primary-color);
}

.price-description {
    flex: 1;
}

.price-value {
    font-weight: 600;
    white-space: nowrap;
}

.total-price-line .price-value {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 700;
}

/* Animação suave para mudanças de preço */
.dynamic-price-display {
    transition: all 0.3s ease;
}

.price-line {
    transition: all 0.2s ease;
}

.additional-price-line {
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsivo para o preço dinâmico */
@media (max-width: 768px) {
    .dynamic-price-display {
        margin-top: 1.5rem;
        padding: 1.2rem;
    }
    
    .price-line {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .additional-price-line {
        padding-left: 0.8rem;
        margin-left: 0.3rem;
    }
    
    .total-price-line {
        font-size: 1rem;
    }
    
    .total-price-line .price-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .dynamic-price-display {
        padding: 1rem;
    }
    
    .price-line {
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .price-value {
        align-self: flex-end;
        font-size: 0.9rem;
    }
    
    .total-price-line .price-value {
        font-size: 1rem;
    }
}

/* ===== DESIGN COMPACTO PARA SELEÇÃO DE QUARTOS ===== */

.base-package.compact {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 245, 0.98) 100%);
    border-radius: 16px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 32px rgba(85, 107, 47, 0.1);
    position: relative;
    overflow: hidden;
}

.base-package.compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Header do pacote compacto */
.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.package-header h4 {
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.base-price-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(85, 107, 47, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Grid dos quartos base - COMPACTO */
.base-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.base-room-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid rgba(85, 107, 47, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.base-room-card::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--success);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.base-room-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(85, 107, 47, 0.15);
    border-color: var(--accent-color);
}

/* Imagens destacadas */
.room-image-featured {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-color);
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.2);
    transition: all 0.3s ease;
}

.room-image-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.base-room-card:hover .room-image-featured {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(85, 107, 47, 0.3);
}

.base-room-card:hover .room-image-featured img {
    transform: scale(1.1);
}

/* Info compacta */
.room-info-compact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
    text-align: center;
}

.room-info-compact strong {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.room-info-compact .room-capacity {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.room-info-compact .room-price-tag {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    background: rgba(124, 144, 67, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    margin-top: 0.3rem;
}

/* Separador visual */
.separator-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 1.5rem 0;
    position: relative;
}

.separator-line::after {
    content: '•';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    color: var(--accent-color);
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Seção adicional */
.additional-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.additional-section h4 i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Grid dos quartos adicionais - COMPACTO */
.additional-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.additional-room-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    min-height: 180px;
}

.additional-room-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(85, 107, 47, 0.15);
    border-color: var(--accent-color);
    background: rgba(124, 144, 67, 0.05);
}

.additional-room-card.selected {
    background: rgba(124, 144, 67, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(124, 144, 67, 0.2);
}

.additional-room-card.selected::before {
    content: '✓';
    position: absolute;
    top: 8px;
    left: 8px; /* Mesma posição da checkbox */
    background: var(--accent-color);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3; /* Acima da checkbox */
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(124, 144, 67, 0.3);
}

/* CORREÇÃO: Esconder checkbox quando quarto adicional está selecionado */
.additional-room-card .room-checkbox {
    position: absolute;
    top: 8px;
    left: 8px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.additional-room-card .room-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
    transition: opacity 0.3s ease;
}

/* NOVO: Esconder checkbox quando selecionado */
.additional-room-card.selected .room-checkbox {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* NOVO: Animação suave quando aparece o ✓ */
.additional-room-card.selected::before {
    animation: checkmarkAppear 0.3s ease-out;
}

@keyframes checkmarkAppear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* CORREÇÃO: Hover effect melhorado para cartões selecionados */
.additional-room-card.selected:hover::before {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(85, 107, 47, 0.4);
}

/* NOVO: Estado de transição para melhor UX */
.additional-room-card {
    position: relative;
    transition: all 0.3s ease;
}

.additional-room-card:not(.selected):hover .room-checkbox {
    transform: scale(1.1);
}

/* CORREÇÃO: Garantir que o cartão permanece clicável mesmo sem checkbox visível */
.additional-room-card.selected {
    cursor: pointer;
}

/* Responsivo para quartos adicionais - VERSÃO SIMPLES */
.additional-room-card.disabled-room {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(80%) blur(1px);
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    position: relative;
    transition: all 0.3s ease;
}

.additional-room-card.disabled-room:hover {
    transform: none;
    box-shadow: none;
    filter: grayscale(80%) blur(1px);
}

.disabled-image {
    position: relative;
    overflow: hidden;
}

.disabled-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(108, 117, 125, 0.9);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    border: 2px solid white;
}

.disabled-info {
    opacity: 0.7;
}

.disabled-info strong {
    color: #6c757d;
}

.disabled-info .room-capacity {
    color: #6c757d;
}

.disabled-price {
    color: #6c757d !important;
    font-style: italic;
    font-size: 0.9rem;
}

/* Animação sutil para destacar que está desabilitado */
.additional-room-card.disabled-room {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { 
        opacity: 0.5; 
    }
    50% { 
        opacity: 0.3; 
    }
}

/* MELHORIAS VISUAIS: Price Summary Compact */
.price-summary-compact {
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    border: 2px solid #e8f5e1;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(85, 107, 47, 0.1);
    transition: all 0.3s ease;
}

.price-summary-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.price-summary-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(85, 107, 47, 0.15);
}

/* Price Breakdown Compact */
.price-breakdown-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #e0e7d3;
}

.price-row:last-child {
    border-bottom: none;
}

.price-label {
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-label i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.price-amount {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Total Price Row */
.total-price-row {
    background: linear-gradient(135deg, rgba(85, 107, 47, 0.05), rgba(124, 144, 67, 0.05));
    margin: 1rem -1.5rem -1.5rem -1.5rem;
    padding: 1.5rem;
    border-top: 2px solid #e8f5e1;
    position: relative;
}

.total-price-row .price-label {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.total-price-row .price-amount {
    font-size: 1.4rem;
    color: var(--primary-color);
}

/* Date Pricing Info */
.date-pricing-info {
    background: linear-gradient(135deg, #fafbf8 0%, #f5f7f0 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(85, 107, 47, 0.08);
    border: 1px solid rgba(85, 107, 47, 0.1);
    margin: 1.5rem 0;
}

.pricing-info-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-info-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.pricing-info-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-info-header i {
    font-size: 1rem;
    opacity: 0.9;
}

/* Seções principais - Design tipo Cards */
.base-package-section,
.additional-rooms-section,
.pricing-breakdown-section {
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid rgba(85, 107, 47, 0.08);
    background: var(--white);
}

.base-package-section:last-child,
.additional-rooms-section:last-child,
.pricing-breakdown-section:last-child {
    border-bottom: none;
}

/* Labels das seções - Mais compactos */
.section-label {
    background: linear-gradient(90deg, rgba(85, 107, 47, 0.08) 0%, rgba(124, 144, 67, 0.05) 100%);
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    margin-bottom: 0.4rem;
    border-left: 4px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.section-label::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 144, 67, 0.1));
}

.section-label strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.section-label i {
    color: var(--accent-color);
    width: 18px;
    font-size: 1rem;
}

/* Linhas de preço - Design tipo Tabela Limpa */
.price-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(85, 107, 47, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.price-info-row:hover {
    background: rgba(248, 250, 245, 0.9);
    border-color: rgba(85, 107, 47, 0.12);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(85, 107, 47, 0.1);
}

.price-info-row:last-child {
    margin-bottom: 0;
}

.price-info-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    flex: 1;
}

.price-info-label i {
    color: var(--accent-color);
    width: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-info-detail {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-align: right;
    white-space: nowrap;
}

/* Breakdown detalhado dos quartos - Design mais limpo */
.room-price-breakdown {
    width: 100%;
    background: rgba(85, 107, 47, 0.02);
    border-radius: 8px;
    padding: 0.4rem;
    border: 1px solid rgba(85, 107, 47, 0.05);
}

.room-price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(85, 107, 47, 0.06);
}

.room-price-line:last-of-type {
    border-bottom: none;
}

.room-total-line {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 2px solid var(--accent-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-total-line strong {
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Total Price Display - Mais destaque */
.total-price-display {
    text-align: center;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(85, 107, 47, 0.08) 0%, rgba(124, 144, 67, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(85, 107, 47, 0.1);
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.total-details {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 500;
}

.average-price {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    margin-top: 0.3rem;
}

/* Animações suaves */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Melhorias para mobile */
@media (max-width: 768px) {
    .date-pricing-info {
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .pricing-info-header {
        padding: 0.8rem 1rem;
    }
    
    .pricing-info-header h4 {
        font-size: 1rem;
    }
    
    .base-package-section,
    .additional-rooms-section,
    .pricing-breakdown-section {
        padding: 1rem;
    }
    
    .section-label {
        padding: 0.6rem 1rem;
        margin-bottom: 1rem;
    }
    
    .section-label strong {
        font-size: 0.9rem;
    }
    
    .price-info-row {
        padding: 0.7rem 1rem;
        margin-bottom: 0.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .price-info-label {
        font-size: 0.9rem;
    }
    
    .price-info-detail {
        font-size: 0.95rem;
        text-align: left;
        width: 100%;
    }
    
    .room-price-breakdown {
        padding: 0.6rem;
    }
    
    .room-price-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        padding: 0.4rem 0;
    }
    
    .total-amount {
        font-size: 1.5rem;
    }
    
    .total-details {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pricing-info-header {
        padding: 0.7rem 0.8rem;
    }
    
    .pricing-info-header h4 {
        font-size: 0.95rem;
    }
    
    .base-package-section,
    .additional-rooms-section,
    .pricing-breakdown-section {
        padding: 0.8rem;
    }
    
    .section-label {
        padding: 0.5rem 0.8rem;
    }
    
    .section-label strong {
        font-size: 0.85rem;
    }
    
    .price-info-row {
        padding: 0.6rem 0.8rem;
    }
    
    .total-amount {
        font-size: 1.3rem;
    }
}

/* Efeitos visuais adicionais */
.price-info-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-info-row:hover::before {
    opacity: 1;
}

/* Hover states melhorados */
.base-package-section:hover,
.additional-rooms-section:hover,
.pricing-breakdown-section:hover {
    background: rgba(248, 250, 245, 0.5);
    transition: background 0.3s ease;
}

/* CORREÇÃO: Aplicar EXATAMENTE o mesmo estilo dos cards do Pacote Base aos Quartos Adicionais */

/* Nome do quarto - IGUAL ao base-room-card */
.additional-room-card .room-info-compact strong,
.additional-room-card strong {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* TODOS os outros elementos de texto - IGUAIS ao room-capacity do base-room-card */
.additional-room-card .room-info-compact .room-capacity,
.additional-room-card .room-capacity,
.additional-room-card .room-bed-type,
.additional-room-card .room-info-compact .room-bed-type,
.additional-room-card .room-info-compact span:not(.room-price-tag),
.additional-room-card .room-info-compact p,
.additional-room-card .room-info-compact div:not(.room-price-tag) {
    color: var(--text-color) !important;
    font-size: 0.8rem !important;
    opacity: 0.8 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

/* NOVA REGRA: room-price-tag com mesmo estilo que os cards do Pacote Base */
.additional-room-card .room-info-compact .room-price-tag,
.additional-room-card .room-price-tag {
    background: var(--accent-color) !important;
    color: var(--white) !important;
    padding: 0.2rem 0.8rem !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    align-self: flex-start !important;
    margin-top: 0.3rem !important;
    opacity: 1 !important;
}

/* NOVA REGRA: room-description com mesmo estilo que room-capacity do base-room-card */
.additional-room-card .room-info-compact .room-description,
.additional-room-card .room-description {
    color: var(--text-color) !important;
    font-size: 0.8rem !important;
    opacity: 0.8 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

/* ===== QUARTOS INDISPONÍVEIS ===== */

.unavailable-room {
    opacity: 0.6 !important;
    filter: grayscale(50%) !important;
    pointer-events: none !important;
}

.unavailable-room .room-image-featured {
    position: relative;
    overflow: hidden;
}

.unavailable-overlay,
.disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(244, 67, 54, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    gap: 0.5rem;
    z-index: 2;
}

.unavailable-overlay i,
.disabled-overlay i {
    font-size: 1.2rem;
}

.unavailable-notice {
    color: #f44336 !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    background: rgba(244, 67, 54, 0.1) !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 10px !important;
    border: 1px solid rgba(244, 67, 54, 0.3) !important;
}

.disabled-room {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    filter: grayscale(100%) !important;
}

.disabled-room:hover {
    transform: none !important;
    box-shadow: none !important;
}

.disabled-room .room-checkbox input {
    cursor: not-allowed !important;
}

.price-adjustment-notice {
    background: rgba(124, 144, 67, 0.1);
    border: 1px solid rgba(124, 144, 67, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-adjustment-notice i {
    color: var(--accent-color);
    font-size: 1rem;
}

.base-package-discount {
    border-top: 1px solid var(--secondary-color);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.discount-row .price-amount.discount {
    color: #4caf50 !important;
    font-weight: 600 !important;
}

.discount-row .price-label i {
    color: #4caf50 !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .price-adjustment-notice {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .unavailable-overlay,
    .disabled-overlay {
        font-size: 0.8rem;
    }
    
    .unavailable-notice {
        font-size: 0.75rem !important;
        padding: 0.1rem 0.4rem !important;
    }
}

/* ===== BADGE PROMOCIONAL INLINE (VISUAL) ===== */

.promo-badge-inline {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.8rem;
    vertical-align: middle;
    animation: pulse-badge 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .promo-badge-inline {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}