/* ==========================================================================
   Hotel Booking Manager — Frontend Styles
   ========================================================================== */


/* ==========================================================================
   1. Room Listing Cards  [hotel_rooms]
   ========================================================================== */

.hbm-room-grid {
    display: grid;
    gap: 30px;
}

.hbm-room-card {
    background: #f7f7f7;
    border-radius: 20px;
    overflow: hidden;
}

.hbm-room-image-wrap {
    overflow: hidden;
}

.hbm-room-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: all .3s ease;
}

.hbm-room-image:hover {
    scale: 1.1;
}

.hbm-room-content {
    padding: 20px 18px 22px;
}

.hbm-room-title {
    font-size: 18px;
    margin: 0 0 12px;
    color: #304035;
    font-family: Poppins !important;
    line-height: 1.3;
}

.hbm-room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 14px;
    padding: 0;
}

.hbm-room-feature-badge {
    display: inline-flex;
    align-items: center;
    background: #edf2ee;
    color: #304035;
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 8px;
    line-height: 1;
}

.hbm-room-button-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.hbm-room-price {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 16px;
}

.hbm-room-button-wrapper a {
    text-decoration: none !important;
}

.hbm-from {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.2px;
    color: #888;
}

.hbm-price {
    font-size: 22px;
    font-weight: 700;
    color: #274234;
    line-height: 1.1;
}

.hbm-night {
    font-size: 12px;
    color: #999;
}

.hbm-book-btn {
    display: inline-block;
    flex-shrink: 0;
    margin-top: 16px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #274234;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: background .2s ease, transform .15s ease;
}

.hbm-book-btn:hover {
    color: #fff;
    background: #1a2e24;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .hbm-room-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .hbm-room-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   2. Vehicle / Rental Car Listing Cards  [rental_cars]
   ========================================================================== */

.hbm-vehicle-grid {
    display: grid;
    gap: 24px;
}

.hbm-vehicle-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ece9e1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}

.hbm-vehicle-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
    transform: translateY(-3px);
}

.hbm-vehicle-image-wrap {
    overflow: hidden;
    background: #f5f1e8;
}

.hbm-vehicle-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.hbm-vehicle-card:hover .hbm-vehicle-image {
    transform: scale(1.04);
}

.hbm-vehicle-content {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hbm-vehicle-title {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px;
    line-height: 1.3;
    font-family: Poppins, sans-serif;
}

.hbm-vehicle-excerpt {
    font-size: 13px;
    color: #9a9a9a;
    margin: 0 0 14px;
    line-height: 1.55;
}

.hbm-vehicle-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hbm-vehicle-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f5f1e8;
    color: #555;
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 8px;
    line-height: 1;
}

.hbm-badge-icon {
    width: 14px;
    height: 14px;
    color: #888;
    flex-shrink: 0;
}

.hbm-vehicle-divider {
    border: none;
    border-top: 1px solid #ece9e1;
    margin: 0 0 20px;
}

.hbm-vehicle-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.hbm-vehicle-price {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hbm-vehicle-amount {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.15;
}

.hbm-vehicle-amount .woocommerce-Price-currencySymbol {
    font-size: 14px;
    vertical-align: super;
    font-weight: 600;
}

.hbm-vehicle-per {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.2px;
}

.hbm-rent-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 11px 20px;
    border-radius: 50px;
    background: #c4a96d;
    color: #fff;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.2px;
    transition: background .2s ease, transform .15s ease;
}

.hbm-rent-btn:hover {
    background: #ae9257;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .hbm-vehicle-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .hbm-vehicle-grid {
        grid-template-columns: 1fr !important;
    }

    .hbm-vehicle-image {
        height: 200px;
    }
}


/* ==========================================================================
   3. Single Product Page
   ========================================================================== */

/* "per day" suffix after price */
.hbm-per-day {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    margin-left: 4px;
}

/* "No. of Days" label above quantity input */
.hbm-days-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

/* Feature / meta block ([hbm_product_features] shortcode) */
.hbm-sp-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 4px;
}

.hbm-sp-badges,
.hbm-sp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hbm-sp-badge,
.hbm-sp-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 13px;
    border-radius: 8px;
    line-height: 1;
}

.hbm-sp-badge {
    background: #f5f1e8;
    color: #555;
}

.hbm-sp-badge svg {
    width: 15px;
    height: 15px;
    color: #888;
    flex-shrink: 0;
}

.hbm-sp-feature-badge {
    background: #edf2ee;
    color: #304035;
}

.singleProductNotice .woocommerce-notices-wrapper .woocommerce-message {
    flex-direction: row;
}

/* ==========================================================================
   4. Extra Product Options (Theme High plugin) — Single Product
   ========================================================================== */

.thwepo-extra-options {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
}

.thwepo-extra-options tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.thwepo-extra-options tr:last-child {
    margin-bottom: 0;
}

.thwepo-extra-options td.label {
    display: block;
    padding: 0 0 6px;
    border: none;
}

.thwepo-extra-options td.value {
    display: block;
    padding: 0;
    border: none;
}

.thwepo-extra-options .label-tag {
    font-size: 13.5px;
    font-weight: 600;
    color: #1a1a1a;
    display: inline-block;
}

.thwepo-extra-options .required {
    color: #e74c3c;
    font-style: normal;
    margin-left: 2px;
}

.thwepo-extra-options .thwepof-input-field {
    width: 100% !important;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    outline: none;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}

.thwepo-extra-options .thwepof-input-field:focus {
    border-color: #274234;
    box-shadow: 0 0 0 3px rgba(39, 66, 52, .08);
}

.thwepo-extra-options .thwepof-input-field::placeholder {
    color: #bbb;
    font-size: 13px;
}

/* Cart Page */
.wpr-cart-wrapper a.remove:before {
    content: "x" !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 18px !important;
    color: #e74c3c;
}

.cart_totals {
    overflow: hidden !important;
}

/* ==========================================================================
   5. Contact Form  (.contactForm)
   ========================================================================== */

/* ── Grid layout ── */
.contactForm .wpforms-field-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

/* Honeypot/hidden spam fields — remove from grid flow */
.contactForm [data-field-id="7"],
.contactForm [data-field-id="4"] {
    display: none !important;
}

/* Message textarea — full width */
.contactForm .wpforms-field-textarea {
    grid-column: 1 / -1;
}

/* ── Field spacing ── */
.contactForm .wpforms-field {
    margin-bottom: 20px !important;
}

/* ── Labels ── */
.contactForm .wpforms-field-label {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 7px !important;
    display: block;
    letter-spacing: 0.1px;
}

.contactForm .wpforms-required-label {
    color: #e74c3c;
}

/* ── Force full width on WPForms size classes ── */
.contactForm .wpforms-field-medium,
.contactForm .wpforms-field-large,
.contactForm .wpforms-field-small {
    width: 100% !important;
    max-width: 100% !important;
}

/* ── Inputs & textarea ── */
.contactForm .wpforms-field input[type="text"],
.contactForm .wpforms-field input[type="email"],
.contactForm .wpforms-field textarea {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    color: #1a1a1a !important;
    background: #f8f8f6 !important;
    border: 1.5px solid #e2e2e2 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
    box-sizing: border-box !important;
}

.contactForm .wpforms-field textarea {
    height: 140px !important;
    padding: 14px 16px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

.contactForm .wpforms-field input:focus,
.contactForm .wpforms-field textarea:focus {
    border-color: #274234 !important;
    box-shadow: 0 0 0 3px rgba(39, 66, 52, .08) !important;
    background: #fff !important;
    outline: none !important;
}

.contactForm .wpforms-field input::placeholder,
.contactForm .wpforms-field textarea::placeholder {
    color: #bbb;
    font-size: 13px;
}

/* ── Submit button ── */
.contactForm .wpforms-submit-container {
    margin-top: 6px;
}

.contactForm .wpforms-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 50px !important;
    padding: 0 36px !important;
    background: #274234 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: background .2s ease, transform .15s ease !important;
}

.contactForm .wpforms-submit:hover {
    background: #1a2e24 !important;
    transform: translateY(-1px) !important;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .contactForm .wpforms-field-container {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   6. Checkout — Order Summary Variation List
   ========================================================================== */

dl.variation {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 3px 10px !important;
    align-items: baseline;
    margin: 8px 0 0 !important;
    padding: 8px 0 0 !important;
    border-top: 1px solid #eee;
}

dl.variation dt {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #444 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
}

dl.variation dd {
    display: block !important;
    font-size: 13px !important;
    color: #666 !important;
    margin: 0 !important;
    padding: 0 !important;
}

dl.variation dd p {
    display: inline !important;
    margin: 0 !important;
}