/* cards_tidy.css - Overrides to make the hotel browse cards look tidier and more modern */

/* Make sure the card itself provides a full-height column for its flex children */
.card-container .card-details.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Clean up the location bar */
.card-container p.hotel_location {
    background-color: transparent !important;
    border-bottom: 1px solid #E5E7EB;
    padding: 10px 0 10px 30px;
    margin: 0;
    color: #6B7280;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Flexbox the inner body to push the offer box down */
.card-container .card-details-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

/* The container for the offer box and price */
.card-container .card-desc.card-desc-last {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

/* Ensure the wrapper expands */
.card-container .package_count_and_price {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Push the price block to the absolute bottom */
.card-container .price_container_container {
    margin-top: auto;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* The offer box */
.card-container div.package-details-container {
    border: none;
    border-top: 1px solid #F3F4F6;
    border-radius: 0;
    padding: 15px 0 0 0;
    background: transparent;
    min-height: 0; /* Remove the hardcoded height */
    box-shadow: none;
}

/* Remove the dated horizontal lines from the offer title */
.card-container .identify_package_title::before,
.card-container .identify_package_title::after {
    display: none !important;
}

/* Tidy the "Up to X exclusive extras" message */
.card-container div.package-details-container div.value-adds-message {
    color: #9CA3AF;
    text-transform: uppercase;
    font-size: 0.70rem;
    letter-spacing: 0.5px;
    background: transparent;
    border-bottom: 1px solid #F9FAFB;
    padding: 0 0 8px 0;
    margin: 8px 0;
}

/* Soften the icons by reducing their opacity slightly */
.card-container .value-adds-grid span.value-add-item {
    color: #4B5563;
}
.card-container .h-icon:before {
    opacity: 0.55; 
}

/* Soften the "Exclusive Packages from" text */
.card-container .package_count_and_price > p {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 5px;
}
