/**
 * Property Listing Page CSS
 * Archive page styles for VRP Properties
 */

/* ============ CONTAINER & LAYOUT ============ */
.vrp-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Search bar styles moved to header-filter.css */

/* ============ MAIN LAYOUT ============ */
.vrp-archive-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* ============ PROPERTY LIST ============ */
.vrp-properties-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.vrp-property-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eceff3;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
    display: grid;
    grid-template-columns: 225px 1fr auto;
    gap: 10px;
    padding: 10px;
    align-items: stretch;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* .vrp-property-card:hover {
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.1);
    transform: translateY(-1px);
} */

.vrp-property-card-image-wrap {
    position: relative;
    height: 100%;
/*     display: flex; */
    align-items: center;
    justify-content: center;
}

.vrp-property-card-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    background: #e0e0e0;
}

.vrp-property-card-favorite {
    position: absolute;
    top: 25px;
    right: 15px;
    width: 43px;
    height: 43px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	display: none !important;
}

.vrp-property-card-favorite:hover {
    background: #ff47ab;
	border: 1px solid #ff47ab;
    color: #ffffff;
}

.vrp-property-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    padding-top: 2px;
    padding-left: 10px;
    min-height: 100%;
}

.vrp-property-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.vrp-property-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
}

.vrp-property-card-rating-stars {
    color: #f59e0b;
    font-size: 10px;
    letter-spacing: 1px;
}

.vrp-property-card-rating-number {
    color: #111827;
    font-weight: 700;
}

.vrp-property-card-rating-label {
    color: #6b7280;
    font-weight: 500;
}

.vrp-property-card-title {
    font-size: 25px;
    font-weight: 500;
    color: #00aeef;
    margin: 0;
    line-height: 1.28;
    max-width: 700px;
}

.vrp-property-card-title a {
    color: inherit;
    text-decoration: none;
}

.vrp-property-card-title a:hover {
    color: #26bef5;
}

.vrp-property-card-type {
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(180deg, #ff66b3 0%, #ef4f9f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 0;
}

.vrp-property-card-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}

.vrp-property-card-location,
.vrp-property-card-reviews {
    margin: 0;
    font-size: 11px;
    color: #26bef5;
    line-height: 1.4;
}

.vrp-property-card-description {
    font-size: 11px;
    color: #222324;
    line-height: 1.5;
    margin: 1px 0;
    max-width: 512px;
}

.vrp-property-card-specs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #222324;
    margin-top: 0;
}

.vrp-property-card-specs span::after {
    content: "\00b7";
    margin-left: 3px;
    color: #222324;
}

.vrp-property-card-specs span:last-child::after {
    content: "";
}

.vrp-property-card-spec {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vrp-property-card-amenities {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.vrp-property-card-amenity-tag,
.vrp-property-card-amenity {
    background: #f3f4f6;
    color: #222324;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    transition: background 0.1s ease, box-shadow 0.1s ease, transform 0.1s ease;
    cursor: pointer;
}


.vrp-property-card-amenity-tag:first-child {
    background: linear-gradient(180deg, #ff66b3 0%, #ef4f9f 100%);
    color: #fff;
}


.vrp-property-card-booking {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    text-align: right;
    gap: 10px;
    min-width: 145px;
}

.vrp-property-card-available,
.vrp-property-card-availability {
    color: #222324;
    font-size: 11px;
    background: transparent;
    padding: 0;
    text-transform: none;
}

.vrp-property-card-price {
    text-align: right;
}

.vrp-property-card-price-label {
    font-size: 11px;
    color: #222324;
    text-transform: none;
}

.vrp-property-card-price-amount {
    font-size: 20px;
    font-weight: 500;
    color: #111827;
    line-height: 1.1;
    margin: 0;
}

.vrp-property-card-price-unit,
.vrp-property-card-price-subtext {
    font-size: 11px;
    color: #222324;
    margin: 0;
}

.vrp-property-card-button {
    background: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
    text-transform: none;
    text-decoration: none;
}

.vrp-property-card-button:hover {
/*     filter: brightness(0.96);
    transform: translateY(-1px); */
    color: white;
}

/* ============ PROPERTY GRID ============ */
.vrp-properties-grid {
    grid-template-columns: repeat(var(--vrp-grid-columns, 3), minmax(0, 1fr));
    gap: 24px;
}

.vrp-shortcode-grid-wrapper .vrp-property-card {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding: 0;
    gap: 0;
    min-height: 100%;
    border-radius: 14px;
    border: 1px solid #d9d9d9;
    box-shadow: none;
    background: #f7f7f7;
}

.vrp-shortcode-grid-wrapper .vrp-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-image-wrap {
    height: 265px;
}

.vrp-shortcode-grid-wrapper .vrp-property-card-image {
    width: 100%;
    height: 100%;
    border-radius: 14px 14px 0 0;
    object-fit: cover;
}

.vrp-shortcode-grid-wrapper .vrp-grid-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d0d0d;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.vrp-shortcode-grid-wrapper .vrp-grid-badge-icon {
    font-size: 14px;
    line-height: 1;
}

.vrp-shortcode-grid-wrapper .vrp-grid-badge-text {
    font-size: 14px;
    letter-spacing: 0.2px;
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-content {
    padding: 18px 20px 20px;
    gap: 10px;
    background: #f7f7f7;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    min-height: 0;
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-rating {
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-rating .vrp-property-card-rating-stars {
    color: #ff5a1f;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1;
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-reviews {
    color: #707070;
    font-size: 14px;
    font-weight: 500;
}

.vrp-shortcode-grid-wrapper {
    max-width: 100%;
    padding: 0;
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-title {
    margin: 0;
    display: block;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.15;
    color: #121212;
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-title a {
    color: inherit;
    text-decoration: none;
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-price-line {
    margin: 0;
    font-size: 14px;
    color: #6c6c6c;
    line-height: 1.2;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-price {
    color: #5c5c5c;
    font-weight: 500;
}

.vrp-shortcode-grid-wrapper .vrp-property-grid-nights {
    color: #5c5c5c;
}

/* ============ SIDEBAR FILTERS ============ */
.vrp-sidebar-filters {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vrp-mobile-filter-toggle-wrap,
.vrp-mobile-filter-overlay,
.vrp-mobile-sidebar-header {
    display: none;
}

.vrp-mobile-filter-toggle {
    border: 1px solid #d9e0e8;
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vrp-mobile-filter-icon {
    width: 16px;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
}

.vrp-mobile-filter-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #1f2937;
    border-radius: 2px;
}

.vrp-mobile-sidebar-close,
.vrp-mobile-sidebar-apply {
    border: 1px solid #ec008c;
    background: #ffffff;
    color: #ec008c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
}

.vrp-filter-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vrp-filter-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.vrp-filter-title-icon {
    font-size: 12px;
    transition: transform 0.3s;
}

.vrp-filter-title.collapsed .vrp-filter-title-icon {
    transform: rotate(-180deg);
}

.vrp-filter-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s;
}

.vrp-filter-content.collapsed {
    max-height: 0;
    overflow: hidden;
    display: none;
}

.vrp-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.vrp-filter-item:last-child {
    border-bottom: none;
}

.vrp-filter-item input[type="checkbox"],
.vrp-filter-item input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FF1493;
}

.vrp-filter-item label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    margin: 0;
}

.vrp-filter-item-label-text {
    flex: 1;
}

.vrp-filter-item-count {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #666;
    min-width: 30px;
    text-align: center;
}

/* Range Slider */
.vrp-filter-range {
    margin-top: 15px;
}

.vrp-filter-range-slider {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.vrp-filter-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #FF1493;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vrp-filter-range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #FF1493;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vrp-filter-range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

/* ============ NO RESULTS ============ */
.vrp-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.vrp-no-results-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.vrp-no-results-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.vrp-no-results-text {
    color: #666;
    margin-bottom: 20px;
}

.vrp-no-results-button {
    background: #FF1493;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.vrp-no-results-button:hover {
    background: #FF0080;
}

/* ============ PAGINATION ============ */
.vrp-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
}

.vrp-pagination-item {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.vrp-pagination-item:hover {
    background: #00AEEF;
    border-color: #00AEEF;
	color: white;
}

.vrp-pagination-item.active {
    background: #00AEEF;
    color: white;
    border-color: #00AEEF;
}

/* Flatpickr and date picker styles moved to header-filter.css */

.vrp-property-card-location i {
	padding-right: 5px;
	color: #ec008c;
}
.vrp-property-card-specs i {
	padding-right: 5px;
	color: #00AEEF;
}
.vrp-property-card-specs span::after {
	display: none;
}


/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .vrp-archive-layout {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }

    .vrp-properties-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vrp-shortcode-grid-wrapper .vrp-property-grid-image-wrap {
        height: 235px;
    }

    .vrp-shortcode-grid-wrapper .vrp-property-grid-title {
        font-size: 17px;
    }

    .vrp-shortcode-grid-wrapper .vrp-property-grid-price-line {
        font-size: 14px;
    }

    .vrp-shortcode-grid-wrapper .vrp-grid-badge {
        font-size: 13px;
    }

    .vrp-shortcode-grid-wrapper .vrp-grid-badge-text {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .vrp-archive-container {
        padding: 15px 10px;
    }

    .vrp-archive-layout {
        grid-template-columns: 1fr;
    }

    .vrp-properties-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vrp-shortcode-grid-wrapper .vrp-property-grid-image-wrap {
        height: 220px;
    }

    .vrp-shortcode-grid-wrapper .vrp-property-grid-title {
        font-size: 16px;
    }

    .vrp-shortcode-grid-wrapper .vrp-property-grid-price-line {
        font-size: 13px;
    }

    .vrp-property-card {
        grid-template-columns: 1fr;
    }

    .vrp-property-card-image-wrap,
    .vrp-property-card-image {
        width: 100%;
    }

    .vrp-property-card-image {
        height: 220px;
    }

    .vrp-property-card-booking {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        min-height: auto;
    }

    .vrp-property-card-price {
        text-align: left;
    }

    .vrp-mobile-filter-toggle-wrap {
        display: block;
        order: -1;
        margin-bottom: 10px;
		margin-top: 10px;
    }

    .vrp-mobile-filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(17, 24, 39, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
    }

    .vrp-mobile-filter-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    .vrp-mobile-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 6px;
        position: sticky;
        top: 0;
        background: #fff;
        padding: 4px 0 8px;
        z-index: 1;
    }

    .vrp-mobile-sidebar-title {
        font-size: 16px;
        font-weight: 700;
        color: #111827;
    }

    .vrp-sidebar-filters {
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 360px);
        height: 100dvh;
        overflow-y: auto;
        background: #ffffff;
        padding: 16px;
        gap: 16px;
        margin-bottom: 0;
        z-index: 999;
        box-shadow: -10px 0 24px rgba(0, 0, 0, 0.18);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .vrp-sidebar-filters.is-open {
        transform: translateX(0);
    }

    body.vrp-filter-drawer-open {
        overflow: hidden;
    }

    .vrp-filter-section {
        padding: 15px;
    }
	
	/* Mobile accordion: Close all filters by default */
   /* Sab hide */
    .vrp-filter-content {
        display: none !important;
    }

    /* Sirf open wala show */
    .vrp-filter-content:not(.collapsed) {
        display: flex !important;
    }
	
	.vrp-mobile-filter-toggle {
/* 		width: 25%;
		margin-left: auto;
        margin-right: 20px; */
	}
}

@media (max-width: 480px) {
    .vrp-archive-container {
        padding: 10px;
    }

    .vrp-property-card {
        padding: 15px;
        gap: 15px;
    }

    .vrp-property-card-title {
        font-size: 25px;
    }

    .vrp-property-card-booking {
        flex-wrap: wrap;
    }

    .vrp-property-card-price-amount {
        font-size: 30px;
    }

    .vrp-property-card-button {
        width: 50%;
        text-align: center;
    }

    .vrp-archive-header h1 {
        font-size: 20px;
    }
}
