/* --------------------------------------------------------------
   ChillCommerce Rental Booking – Core Frontend Styles
   v1.5.6
-------------------------------------------------------------- */

.wcrb-rental-fields {
    margin: 1.2em 0;
    padding: 1.25em;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fafafa;
}

.wcrb-rental-fields h4 {
    margin-top: 0;
    font-size: 1.1em;
}

#wcrb_dates_range {
    max-width: 360px;
}

.wcrb-list {
    list-style: disc;
    margin-left: 1.25em;
    line-height: 1.5;
}

.wcrb-list li {
    margin: 3px 0;
}

.wcrb-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.wcrb-spec-table thead th {
    background: #f5f5f5;
    padding: 10px 12px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

.wcrb-spec-table tbody th,
.wcrb-spec-table tbody td {
    padding: 10px 12px;
    text-align: left;
}

.wcrb-spec-table tbody tr.even {
    background: #ffffff;
}

.wcrb-spec-table tbody tr.odd {
    background: #fafafa;
}

.wcrb-spec-table tbody tr:hover {
    background: #f0f0f0;
}

.wcrb-spec-table tbody th {
    width: 30%;
    white-space: nowrap;
    font-weight: 600;
}

.wcrb-spec-table-admin {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.wcrb-spec-table-admin th,
.wcrb-spec-table-admin td {
    padding: 8px 10px;
    line-height: 1.4;
}

.wcrb-spec-table-admin thead th {
    background: #f5f5f5;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

/* Admin spec editor UI (global settings page) */
.wcrb-spec {
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
}

.wcrb-spec-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wcrb-spec-slug {
    font-size: 0.85em;
    color: #666;
}

.wcrb-options .wcrb-option {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Single Product Image slider */

#slider {
    margin: 0 !important;
}

.flex-viewport {
    margin-bottom: 0 !important;
    max-height: 500px !important;
}

.flexslider {
    margin-bottom: 0;
}
/* Add to Cart Replacement */

.wcrb-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    z-index: 9999;
}

.wcrb-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(375px, 95vw);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    display: none;
    z-index: 10000;
}

.wcrb-modal__header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.wcrb-modal__body {
    padding: 16px 20px;
}

.wcrb-modal__footer {
    padding: 12px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.wcrb-hidden {
    display: none !important;
}

#wcrb_dates_range_modal {
        width: 100%;
    text-align: center;
}