.cpl-container {
    max-width: 900px;
    margin: 20px auto;
}

.cpl-card {
    display: flex;
    background: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.cpl-image {
    width: 35%;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cpl-badge {
    background: #40c4ff;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 10px;
    position: absolute;
    top: 15px;
    left: 15px;
}

.cpl-details {
    width: 65%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cpl-header h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    color: #444;
}

.cpl-meta {
    font-size: 14px;
    color: #777;
}

.cpl-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cpl-more {
    font-size: 14px;
    color: #333;
    text-decoration: underline;
}

.cpl-price-box {
    text-align: right;
}

.cpl-from {
    font-size: 12px;
    color: #999;
    display: block;
}

.cpl-price {
    font-size: 22px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.cpl-btn {
    border: 1px solid #40c4ff;
    color: #40c4ff;
    padding: 6px 20px;
    text-decoration: none;
    border-radius: 3px;
    display: inline-block;
}

.cpl-btn:hover {
    background: #40c4ff;
    color: #fff;
}

.cpl-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    overflow-y: auto;
}

.cpl-modal-content {
    background: #fff;
    width: 90%;
    max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    top:10%;
    position: relative;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 30px;
    cursor: pointer;
}
.modal-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.gallery-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.cpl-description-toggle-label {
    display: block;
    color: #0073aa;
    cursor: pointer;
    font-weight: bold;
    margin-top: 5px;
    font-size: 0.9em;
}


.cpl-description-toggle-label .less-text { display: none; }
.cpl-description-toggle-label .more-text { display: inline; }
.cpl-description-toggle-input:checked + .cpl-description-container {
    max-height: 1000px; 
    overflow-y: visible;
}
.cpl-description-toggle-input:checked ~ .cpl-description-toggle-label .more-text { display: none; }
.cpl-description-toggle-input:checked ~ .cpl-description-toggle-label .less-text { display: inline; }
.cpl-description-toggle-input { display: none; }



.modal-overview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: bold;
    color: #555;
    margin-bottom: 20px;
}

 .modal-overview span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-amenities {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 5px;

}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.modal-flex-container {
    display: flex;
    gap: 25px;
    max-height: 70vh;
    align-items: flex-start;
    text-align: left;
}

.modal-product-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    line-height: 1.2;
}
.modal-product-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}
.modal-product-title a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.modal-left-slider {
    width: 50%;
    overflow: hidden;
    flex: 1;          
    min-width: 300px;
    position: sticky;
    top: 20px;
}

.modal-gallery-slider {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 5px;
}
.modal-gallery-slider img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 15px;
}

.cpl-description-container {
    max-height: 3.6em; 
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.modal-gallery-slider::-webkit-scrollbar, 
.modal-amenities::-webkit-scrollbar,
.cpl-description-container::-webkit-scrollbar {
    width: 5px;
}
.modal-gallery-slider::-webkit-scrollbar-thumb, 
.modal-amenities::-webkit-scrollbar-thumb,
.cpl-description-container::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 10px;
}

.modal-right-details {
    flex: 1;
    padding-right: 10px;
}

.modal-right-details h4 {
    margin: 20px 0 10px 0;
    font-size: 18px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.modal-right-content {
    width: 50%;
    overflow-y: auto;
    padding-right: 10px;
    text-align: left;
}


.slider-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.modal-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
}


.slick-prev, .slick-next {
    z-index: 100;
    width: 30px;
    height: 30px;
}
.slick-prev { left: 10px; }
.slick-next { right: 10px; }

@media (max-width: 768px) {
    .modal-flex-container { flex-direction: column; }
    .modal-left-slider { max-width: 100%; position: relative; top: 0; }
    .modal-gallery-slider { max-height: 50vh; }
}

/* Slider Container relative hona chahiye taaki arrows sahi jagah baithein */
.modal-left-slider {
    position: relative;
    padding: 0 10px;
}

/* Custom Arrows Styling */
.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.custom-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slick-prev.custom-arrow {
    left: 20px;
}

.slick-next.custom-arrow {
    right: 20px;
}
.slider-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}



.calendar-input-wrapper { position: relative; border: 1px solid #ccc; border-radius: 4px; padding: 8px; background: #fff; cursor: pointer; }
#booking_dates { border: none; width: 90%; cursor: pointer; outline: none; font-size: 14px; }
.calendar-icon { float: right; color: #888; }
.cpl-guest-picker { position: relative; }
.cpl-guest-display { padding: 10px; border-radius: 4px; cursor: pointer; background: #fff; }
.cpl-guest-dropdown { position: absolute; background: #fff; border: 1px solid #ddd; padding: 15px; width: 100%; z-index: 10; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.guest-row { display: flex; justify-content: space-between; margin-bottom: 10px; align-items: center; }
.cnt-ctrl { display: flex; align-items: center; gap: 5px; }
.cnt-ctrl input { width: 30px; text-align: center; border: none; }
.cpl-filter-btn { background: #3498db; color: #fff; border: none; padding: 10px 20px; cursor: pointer; border-radius: 4px; width: 100%; margin-top: 10px; }

.wc-block-components-quantity-selector {
    display: none !important;
}

.cpl-suggestions {
    margin-bottom: 20px;
    margin-top: 20px !important;
    padding: 20px;
    padding-top: 15px !important;
    border: 2px solid #eeeeee !important;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

.suggestion-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 15px !important;
}
.suggestion-table {
    width: 100%;
    border-collapse: collapse;
    border: none !important;
}

.suggestion-table th, 
.suggestion-table td {
    border: none !important;
    padding: 10px 0;
    vertical-align: middle;
}

.suggestion-header th {
    color: #777;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid #f1f1f1 !important; 
}

.col-date {
    width: 50%;
    font-size: 14px;
    color: #444;
}

.col-price {
    width: 25%;
    text-align: leftt;
    font-size: 14px;
    padding-right: 20px !important;
}

.col-action {
    width: 25%;
    text-align: right;
}

.search-suggested-date {
    background-color: transparent !important;
    color: #00a3da !important;
    border: 1px solid #00a3da !important;
    border-radius: 4px !important;
    padding: 6px 15px !important;
    font-size: 13px !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.search-suggested-date:hover {
    background-color: #00a3da !important;
    color: #ffffff !important;
}


.cpl-card {
    cursor: pointer;
}
.cpl-btn {
    cursor: default;
}

button.cpl-filter-btn{
    padding: 23px 0px !important;
}
.cpl-price-box a.cpl-btn{
    background: #3498db;
}