/* woodmart default blog elements hide on villa pages */
.single-villa .article-inner > .entry-header,
.single-villa .post-meta-single,
.single-villa .entry-meta,
.single-villa .entry-title,
.single-villa .entry-thumbnail,
.single-villa .post-date,
.single-villa .meta-author,
.single-villa .comments-area {
    display: none !important;
}

/* woodmart extra top spacing fix */
.single-villa .site-content {
    padding-top: 10px !important;
    margin-top: 0 !important;
}

/* 1. global and search bar component */
.vbp-search-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 20px auto 40px;
    max-width: 1200px;
}
.vbp-search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}
.vbp-input-col {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
}
.vbp-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.vbp-input-col select,
.vbp-input-col input {
    height: 48px;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: all 0.25s ease;
}
.vbp-input-col select:focus,
.vbp-input-col input:focus {
    border-color: #0f172a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}
.vbp-action-col {
    flex: 0 0 180px;
}
.vbp-btn-search {
    height: 48px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}
.vbp-btn-search:hover {
    background: #334155;
}

/* 2. listings grid cards */
.vbp-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.vbp-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}
.vbp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.vbp-card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.vbp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.vbp-card:hover .vbp-card-media img {
    transform: scale(1.06);
}
.vbp-badge-location {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.vbp-card-body {
    padding: 20px;
}
.vbp-card-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
}
.vbp-card-title a {
    color: #0f172a;
    text-decoration: none;
}
.vbp-card-title a:hover {
    color: #2563eb;
}
.vbp-card-meta {
    display: flex;
    gap: 15px;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 12px;
}
.vbp-amenities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.vbp-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}
.vbp-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}
.vbp-price-box .vbp-currency {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}
.vbp-price-box .vbp-period {
    font-size: 12px;
    color: #64748b;
}
.vbp-btn-view {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.vbp-btn-view:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
.vbp-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f8fafc;
    border-radius: 8px;
    color: #64748b;
}
.vbp-loader-spin {
    margin: 30px auto;
    width: 35px;
    height: 35px;
    border: 3px solid #e2e8f0;
    border-top-color: #0f172a;
    border-radius: 50%;
    animation: vbpSpin 0.7s linear infinite;
}
@keyframes vbpSpin { to { transform: rotate(360deg); } }

/* 3. single villa luxury layout */
.vbp-luxury-wrapper {
    max-width: 1240px;
    margin: 30px auto 70px;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1e293b;
}
.vbp-head-section {
    margin-bottom: 24px;
}
.vbp-loc-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.vbp-villa-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 4px 0 6px 0;
}
.vbp-sub-loc {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* mosaic gallery */
.vbp-mosaic-gallery {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 12px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}
.vbp-mosaic-main {
    position: relative;
    cursor: pointer;
    height: 100%;
}
.vbp-mosaic-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.vbp-mosaic-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 100%;
}
.vbp-mosaic-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.vbp-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.vbp-mosaic-main:hover img,
.vbp-mosaic-item:hover img {
    transform: scale(1.04);
}
.vbp-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    backdrop-filter: blur(2px);
}

/* content grid */
.vbp-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: flex-start;
}

/* specs strip */
.vbp-specs-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 24px;
    margin-bottom: 36px;
}
.vbp-spec-box {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vbp-spec-box strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
}
.vbp-spec-box span {
    font-size: 12px;
    color: #64748b;
}

/* section card */
.vbp-section-card {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 32px;
    margin-bottom: 32px;
}
.vbp-heading-2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
}
.vbp-narrative {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

/* amenities grid */
.vbp-amenities-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.vbp-amenity-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    padding: 12px 16px;
    border-radius: 10px;
}
.vbp-sparkle {
    color: #f59e0b;
    font-size: 14px;
}
.vbp-am-title {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

/* timings and rules */
.vbp-timings-strip {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.vbp-time-pill {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}
.vbp-t-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.vbp-t-hour {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}
.vbp-rules-quote {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #92400e;
}
.vbp-full-addr {
    font-size: 14px;
    color: #475569;
    margin-bottom: 14px;
    line-height: 1.6;
}
.vbp-map-cta {
    display: inline-block;
    padding: 9px 18px;
    border: 1.5px solid #0f172a;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}
.vbp-map-cta:hover {
    background: #0f172a;
    color: #ffffff;
}

/* sticky booking card */
.vbp-right-column {
    position: relative;
}
.vbp-sticky-card {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.vbp-card-top-rate {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.vbp-big-price {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}
.vbp-per-night {
    font-size: 14px;
    color: #64748b;
}
.vbp-tag-weekend {
    font-size: 12px;
    background: #fef3c7;
    color: #b45309;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}
.vbp-field-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}
.vbp-field-box label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 6px;
}
.vbp-field-box input {
    height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}
.vbp-field-box input:focus {
    border-color: #0f172a;
}
.vbp-dates-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.vbp-deposit-notice {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
}
.vbp-primary-book-btn {
    width: 100%;
    height: 50px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}
.vbp-primary-book-btn:hover {
    background: #334155;
}
.vbp-alert-box {
    display: none;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
}
.vbp-separator {
    text-align: center;
    position: relative;
    margin: 20px 0;
}
.vbp-separator span {
    background: #ffffff;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    position: relative;
    z-index: 2;
}
.vbp-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}
.vbp-direct-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.vbp-btn-action-tel,
.vbp-btn-action-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}
.vbp-btn-action-tel {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.vbp-btn-action-tel:hover {
    background: #dbeafe;
}
.vbp-btn-action-wa {
    background: #25d366;
    color: #ffffff;
}
.vbp-btn-action-wa:hover {
    background: #20ba5a;
    color: #ffffff;
}

/* lightbox */
.vbp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.vbp-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
}
.vbp-close-modal {
    position: absolute;
    top: 24px;
    right: 30px;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
}

@media (max-width: 960px) {
    .vbp-mosaic-gallery { height: 320px; grid-template-columns: 1fr; }
    .vbp-mosaic-subgrid { display: none; }
    .vbp-content-grid { grid-template-columns: 1fr; }
    .vbp-sticky-card { position: static; }
}