/* WD Property Booking Suite — Frontend Styles */

:root {
	--wd-pb-primary: #002928;
	--wd-pb-accent: #00c3e5;
	--wd-pb-text: #1e1e1e;
	--wd-pb-btn-text: #ffffff;
	--wd-pb-font-heading: 'Plus Jakarta Sans', sans-serif;
	--wd-pb-font-body: 'Manrope', sans-serif;
}

/* Theme wrapper resets — some themes (e.g. Astra) add container padding
 * that fights the hero-to-edge layout on the single Listing template. */
.wd_booking-template-default .wd-pb-listing-single { padding: 0; }
.wd_booking-template-default .ast-container { padding: 0; margin: 0; }
.wd_room_type-template-default .wd-pb-listing-single { padding: 0; }
.wd_room_type-template-default .ast-container { padding: 0; margin: 0; }

.wd-pb-listing-single,
.wd-pb-archive-wrap,
.wd-pb-listings-block,
.wd-pb-filter-bar {
	font-family: var(--wd-pb-font-body);
}
.wd-pb-listing-single h1,
.wd-pb-listing-single h2,
.wd-pb-listing-single h3,
.wd-pb-listing-single h4,
.wd-pb-archive-wrap h1,
.wd-pb-archive-wrap h2,
.wd-pb-archive-wrap h3,
.wd-pb-card-title,
.wd-pb-room-card-header h3 {
	font-family: var(--wd-pb-font-heading);
}

.wd-pb-btn {
	display: inline-block;
	border: none;
	border-radius: 100px;
	padding: 12px 24px;
	font-family: var(--wd-pb-font-heading);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: opacity .15s ease, transform .15s ease;
}
.wd-pb-btn:hover { opacity: .9; }
.wd-pb-btn:hover:not(:disabled) { transform: translateY(-1px); }
.wd-pb-btn:disabled { opacity: .5; cursor: not-allowed; }
.wd-pb-btn-primary { background: var(--wd-pb-primary); color: var(--wd-pb-btn-text); }

/* Filter bar */
.wd-pb-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 18px;
	box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.wd-pb-filter-bar .wd-pb-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; }
.wd-pb-filter-bar label { font-size: 12px; font-weight: 600; color: var(--wd-pb-text); text-transform: uppercase; letter-spacing: .03em; }
.wd-pb-filter-bar select,
.wd-pb-filter-bar input[type="text"] {
	padding: 10px 12px;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
	font-size: 14px;
}
.wd-pb-field-submit { flex: 0 0 auto; display: flex; gap: 8px; }
.wd-pb-filter-bar .wd-pb-field-search { flex: 2 1 220px; }
.wd-pb-btn-clear { background: #f2f2f2; color: var(--wd-pb-text); }

.wd-pb-price-inputs { display: flex; align-items: center; gap: 6px; }
.wd-pb-price-inputs input { width: 80px; padding: 10px 8px; border: 1px solid #d5d5d5; border-radius: 6px; font-size: 14px; }
.wd-pb-price-inputs span { color: #999; }

/* Archive grid */
.wd-pb-archive-header { margin-bottom: 28px; }
.wd-pb-archive-header h1 { margin-bottom: 16px; }
.wd-pb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.wd-pb-card { display: block; text-decoration: none; color: inherit; border: 1px solid #ececec; border-radius: 10px; overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.wd-pb-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.wd-pb-card-thumb { position: relative; aspect-ratio: 4/3; background: #f2f2f2; overflow: hidden; }
.wd-pb-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wd-pb-card-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#eee,#ddd); }
.wd-pb-card-badge, .wd-pb-type-badge { position: absolute; top: 10px; left: 10px; background: var(--wd-pb-primary); color: var(--wd-pb-btn-text); font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.wd-pb-type-badge { position: static; display: inline-block; margin-bottom: 8px; }
.wd-pb-card-body { padding: 14px 16px; }
.wd-pb-card-title { margin: 0 0 6px; font-size: 17px; }
.wd-pb-card-excerpt { margin: 0 0 10px; font-size: 13px; color: #666; }
.wd-pb-card-price { font-weight: 700; color: var(--wd-pb-accent); }
.wd-pb-card-price span { font-weight: 400; color: #888; }
.wd-pb-no-results { padding: 40px 0; text-align: center; color: #666; grid-column: 1 / -1; }

/* [wd_booking_listings] self-contained block */
.wd-pb-listings-block { margin-bottom: 20px; }
.wd-pb-listings-block .wd-pb-filter-bar { margin-bottom: 24px; }
.wd-pb-listings-block.wd-pb-loading .wd-pb-listings-grid { opacity: .4; pointer-events: none; transition: opacity .15s ease; }
.wd-pb-grid-cols-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.wd-pb-grid-cols-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.wd-pb-grid-cols-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.wd-pb-listings-pagination { margin-top: 24px; }
.wd-pb-pager { display: flex; align-items: center; justify-content: center; gap: 16px; }
.wd-pb-pager-status { font-size: 13px; color: #666; }
.wd-pb-pager-btn { background: #f2f2f2; color: var(--wd-pb-text); padding: 8px 16px; font-size: 13px; }

/* ===================================================================
 * Single Listing page
 * =================================================================== */

/* Hero gallery */
.wd-pb-hero-gallery { margin-bottom: 4px; }
.wd-pb-hero-main-wrap { position: relative; border-radius: 12px; overflow: hidden; }
.wd-pb-hero-main-img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.wd-pb-hero-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 40px; height: 40px; border: none; border-radius: 50%;
	background: rgba(255,255,255,.9); font-size: 22px; line-height: 1;
	cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.wd-pb-hero-prev { left: 16px; }
.wd-pb-hero-next { right: 16px; }
.wd-pb-hero-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.wd-pb-hero-thumb { width: 90px; height: 66px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .6; border: 2px solid transparent; }
.wd-pb-hero-thumb:hover { opacity: .85; }
.wd-pb-hero-thumb.active { opacity: 1; border-color: var(--wd-pb-accent); }

/* Tabs */
.wd-pb-tabs { display: flex; gap: 28px; border-bottom: 1px solid #eee; margin: 24px 0 32px; overflow-x: auto; }
.wd-pb-tab-link { padding: 12px 2px; font-size: 14px; font-weight: 600; color: #888; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.wd-pb-tab-link:hover { color: var(--wd-pb-text); }
.wd-pb-tab-link.active { color: var(--wd-pb-primary); border-bottom-color: var(--wd-pb-accent); }

/* Property info + communal facilities */
.wd-pb-listing-body { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; margin-bottom: 48px; scroll-margin-top: 90px; }
@media (max-width: 782px) { .wd-pb-listing-body { grid-template-columns: 1fr; } }
.wd-pb-single-title { margin: 6px 0 16px; font-size: 30px; }

.wd-pb-facilities-box { border: 1px solid #ececec; border-radius: 12px; padding: 20px; background: #fafafa; }
.wd-pb-facilities-box h3 { margin: 0 0 14px; font-size: 15px; }
.wd-pb-facilities-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; }
.wd-pb-facilities-grid li::before { content: "\2022  "; color: var(--wd-pb-primary); font-weight: 700; }

/* Room Types section */
.wd-pb-room-types-section { margin-bottom: 48px; scroll-margin-top: 90px; }
.wd-pb-room-types-section > h2 { margin-bottom: 20px; }

.wd-pb-room-card { display: grid; grid-template-columns: 340px 1fr; gap: 0; border: 1px solid #ececec; border-radius: 12px; overflow: hidden; margin-bottom: 28px; }
@media (max-width: 782px) { .wd-pb-room-card { grid-template-columns: 1fr; } }

.wd-pb-room-card-gallery { position: relative; background: #f2f2f2; min-height: 240px; }
.wd-pb-room-card-img, .wd-pb-room-card-img-placeholder { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; }
.wd-pb-room-card-img-placeholder { background: linear-gradient(135deg,#eee,#ddd); }
.wd-pb-room-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 32px; height: 32px; border: none; border-radius: 50%;
	background: rgba(255,255,255,.9); font-size: 18px; line-height: 1; cursor: pointer;
	opacity: 0; transition: opacity .15s ease;
}
.wd-pb-room-card-gallery:hover .wd-pb-room-nav { opacity: 1; }
.wd-pb-room-prev { left: 10px; }
.wd-pb-room-next { right: 10px; }
.wd-pb-room-dots { position: absolute; bottom: 10px; left: 10px; display: flex; gap: 5px; }
.wd-pb-room-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; }
.wd-pb-room-dot.active { background: #fff; }

.wd-pb-room-card-body { padding: 22px 24px; }
.wd-pb-room-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wd-pb-room-card-header h3 { margin: 0; font-size: 19px; }
.wd-pb-3d-tour-badge {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--wd-pb-font-heading); font-size: 12px; font-weight: 700;
	color: var(--wd-pb-primary); background: none; border: none; padding: 0; cursor: pointer;
}
.wd-pb-3d-tour-badge:hover { color: var(--wd-pb-accent); }
.wd-pb-room-desc { font-size: 14px; color: #555; margin: 10px 0; }
.wd-pb-room-desc p { margin: 0 0 8px; }
.wd-pb-room-stay-rules { font-size: 12px; color: #888; margin: 0 0 10px; }
.wd-pb-room-amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.wd-pb-amenity-pill { font-size: 12px; background: #f2f2f2; padding: 5px 10px; border-radius: 100px; }

.wd-pb-room-booking { border-top: 1px solid #eee; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; }
.wd-pb-room-price-row { flex: 0 0 auto; }
.wd-pb-room-price-amount { font-size: 20px; font-weight: 700; color: var(--wd-pb-accent); }
.wd-pb-room-price-unit { font-size: 12px; color: #888; }
.wd-pb-room-dates { display: flex; gap: 8px; flex: 1 1 220px; }
.wd-pb-room-dates input { flex: 1; padding: 9px 10px; border: 1px solid #d5d5d5; border-radius: 6px; font-size: 13px; min-width: 0; }
.wd-pb-room-msg { flex-basis: 100%; font-size: 12px; min-height: 16px; }
.wd-pb-room-msg.wd-pb-msg-error { color: var(--wd-pb-accent); }
.wd-pb-room-msg.wd-pb-msg-ok { color: #2a8a4a; }
.wd-pb-room-summary { flex-basis: 100%; font-size: 13px; display: flex; gap: 16px; color: #555; }
.wd-pb-room-summary-total { font-weight: 700; color: var(--wd-pb-text); }
.wd-pb-btn-dark { background: var(--wd-pb-primary); color: #fff; flex: 0 0 auto; }

/* Location */
.wd-pb-location-section { margin-bottom: 48px; scroll-margin-top: 90px; }
.wd-pb-address { font-weight: 600; margin-bottom: 14px; }
.wd-pb-map-embed { border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.wd-pb-map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.wd-pb-area-info { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 600px) { .wd-pb-area-info { grid-template-columns: 1fr; } }
.wd-pb-area-info h4 { margin: 0 0 10px; font-size: 14px; }
.wd-pb-area-info ul { margin: 0; padding: 0; list-style: none; font-size: 13px; color: #555; }
.wd-pb-area-info li { padding: 5px 0; border-bottom: 1px dashed #eee; }

/* Reviews */
.wd-pb-reviews-section { margin-bottom: 48px; scroll-margin-top: 90px; }
.wd-pb-reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.wd-pb-review { border: 1px solid #ececec; border-radius: 10px; padding: 16px; }
.wd-pb-review-stars { color: #f5b400; margin-bottom: 6px; }
.wd-pb-review-name { display: block; margin-bottom: 6px; font-size: 14px; }
.wd-pb-review-text { margin: 0; font-size: 13px; color: #555; }

.ui-datepicker { z-index: 9999 !important; font-size: 13px; }

/* Room specs row (bed type, occupancy, floor area, etc.) */
.wd-pb-room-specs { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 14px; }
.wd-pb-spec { font-size: 12.5px; color: #555; white-space: nowrap; }

/* Categorized amenities: preview row (room card) + full grouped view (single room page) */
.wd-pb-amenities-preview-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.wd-pb-amenities-seeall {
	border: none; background: none; padding: 0; font-size: 12px; font-weight: 700;
	color: var(--wd-pb-primary); text-decoration: underline; cursor: pointer;
}
.wd-pb-amenities-full { margin-top: 10px; }
.wd-pb-amenities-full.wd-pb-amenities-expanded { display: block; }
.wd-pb-amenity-group { margin-bottom: 20px; }
.wd-pb-amenity-group h4 { margin: 0 0 10px; font-size: 14px; font-family: var(--wd-pb-font-heading); }
.wd-pb-amenity-group-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; font-size: 13px; color: #444; }
.wd-pb-room-amenities-section .wd-pb-amenities-block { display: block; }
.wd-pb-room-amenities-section .wd-pb-amenity-group:last-child { margin-bottom: 0; }

/* Location contact line */
.wd-pb-contact-line { font-size: 13px; color: #555; margin: -6px 0 14px; }
.wd-pb-contact-line a { color: var(--wd-pb-primary); }

/* Room card "view details" link */
.wd-pb-room-view-details { margin: 0 0 10px; font-size: 13px; }
.wd-pb-room-view-details a { color: var(--wd-pb-primary); font-weight: 600; text-decoration: none; }
.wd-pb-room-view-details a:hover { color: var(--wd-pb-accent); }
.wd-pb-room-card-header h3 a { color: inherit; text-decoration: none; }
.wd-pb-room-card-header h3 a:hover { color: var(--wd-pb-accent); }

/* Single Room Type page */
.wd-pb-room-breadcrumb { margin: 0 0 14px; font-size: 13px; }
.wd-pb-room-breadcrumb a { color: var(--wd-pb-primary); text-decoration: none; font-weight: 600; }
.wd-pb-room-breadcrumb a:hover { color: var(--wd-pb-accent); }
.wd-pb-room-part-of { font-size: 13px; color: #777; margin: -6px 0 20px; }
.wd-pb-room-part-of a { color: var(--wd-pb-primary); font-weight: 600; text-decoration: none; }
.wd-pb-room-single .wd-pb-room-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.wd-pb-room-single .wd-pb-room-card-header h1 { margin: 0; }
.wd-pb-room-booking-sticky { position: sticky; top: 20px; border: 1px solid #ececec; border-radius: 12px; padding: 22px; box-shadow: 0 4px 18px rgba(0,0,0,.06); flex-direction: column; align-items: stretch; }
.wd-pb-room-booking-sticky .wd-pb-room-price-row { margin-bottom: 14px; }
.wd-pb-room-booking-sticky .wd-pb-room-dates { flex-direction: column; }
.wd-pb-room-booking-sticky .wd-pb-room-summary { flex-direction: column; gap: 4px; }
.wd-pb-room-booking-sticky .wd-pb-room-book-btn { width: 100%; }

/* "Take 3D tour" video popup */
body.wd-pb-modal-locked { overflow: hidden; }
.wd-pb-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; }
.wd-pb-modal.wd-pb-modal-open { display: flex; }
.wd-pb-modal-backdrop { position: absolute; inset: 0; background: rgba(0,15,15,.82); }
.wd-pb-modal-dialog { position: relative; z-index: 1; width: min(900px, 92vw); background: #000; border-radius: 12px; overflow: hidden; padding: 0; }
.wd-pb-modal-title { position: absolute; top: 14px; left: 18px; z-index: 2; margin: 0; color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.wd-pb-modal-close {
	position: absolute; top: 10px; right: 12px; z-index: 2;
	width: 34px; height: 34px; border: none; border-radius: 50%;
	background: rgba(255,255,255,.15); color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.wd-pb-modal-close:hover { background: rgba(255,255,255,.3); }
.wd-pb-modal-video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.wd-pb-modal-video-wrap iframe,
.wd-pb-modal-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* "Take 3D tour" carousel (only shown when a room has 2+ videos) */
.wd-pb-tour-arrow {
	position: absolute; top: calc(50% - 22px); transform: translateY(-50%); z-index: 2;
	width: 44px; height: 44px; border: none; border-radius: 50%;
	background: rgba(255,255,255,.18); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
}
.wd-pb-tour-arrow:hover { background: var(--wd-pb-accent); }
.wd-pb-tour-prev { left: 12px; }
.wd-pb-tour-next { right: 12px; }
.wd-pb-tour-nav { display: flex; align-items: center; justify-content: center; gap: 14px; height: 44px; padding: 0 16px; background: #000; color: #fff; }
.wd-pb-tour-count { font-size: 13px; font-weight: 600; min-width: 44px; text-align: center; }
.wd-pb-tour-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.wd-pb-tour-dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.wd-pb-tour-dot.active { background: var(--wd-pb-accent); }
@media (max-width: 600px) {
	.wd-pb-tour-arrow { width: 36px; height: 36px; font-size: 24px; }
	.wd-pb-tour-prev { left: 6px; }
	.wd-pb-tour-next { right: 6px; }
}

/* Amenities popup (room card "See all") */
.wd-pb-amenities-modal-dialog { position: relative; z-index: 1; width: min(640px, 92vw); max-height: 85vh; overflow-y: auto; background: #fff; border-radius: 12px; padding: 28px 28px 24px; }
.wd-pb-amenities-modal-title { margin: 0 40px 18px 0; font-size: 20px; font-family: var(--wd-pb-font-heading); }
.wd-pb-amenities-modal-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: none; border-radius: 50%; background: #f2f2f2; font-size: 22px; line-height: 1; cursor: pointer; }
.wd-pb-amenities-modal-close:hover { background: #e2e2e2; }
.wd-pb-amenities-modal-body .wd-pb-amenity-group:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
 * [wd_room_cards] — Room Type cards
 * ------------------------------------------------------------- */
.wd-pb-rc-grid {
	display: grid;
	grid-template-columns: repeat(var(--wd-pb-room-cols, 2), minmax(0, 1fr));
	gap: 48px 32px;
	font-family: var(--wd-pb-font-body);
}
.wd-pb-rc-grid-cols-1 { --wd-pb-room-cols: 1; }
.wd-pb-rc-grid-cols-2 { --wd-pb-room-cols: 2; }
.wd-pb-rc-grid-cols-3 { --wd-pb-room-cols: 3; }
.wd-pb-rc-grid-cols-4 { --wd-pb-room-cols: 4; }
@media (max-width: 1024px) {
	.wd-pb-rc-grid-cols-3,
	.wd-pb-rc-grid-cols-4 { --wd-pb-room-cols: 2; }
}
@media (max-width: 767px) {
	.wd-pb-rc-grid { --wd-pb-room-cols: 1 !important; gap: 48px; }
}

.wd-pb-rc { display: flex; flex-direction: column; min-width: 0; }
.wd-pb-rc-image { display: block; margin-bottom: 24px; overflow: hidden; }
.wd-pb-rc-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	height: auto;
	object-fit: cover;
	transition: transform .4s ease;
}
.wd-pb-rc-image:hover img { transform: scale(1.03); }

.wd-pb-rc-body { display: flex; flex-direction: column; flex: 1; }
.wd-pb-rc .wd-pb-rc-title {
	margin: 0 0 8px;
	font-family: var(--wd-pb-font-heading);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--wd-pb-text);
}
.wd-pb-rc-title a { color: inherit; text-decoration: none; }
.wd-pb-rc-title a:hover { color: var(--wd-pb-accent); }
.wd-pb-rc-price { margin: 0 0 8px; font-size: 14px; color: #6b6b6b; }
.wd-pb-rc-price strong { color: var(--wd-pb-text); }
.wd-pb-rc-desc { margin: 0; font-size: 15px; line-height: 1.65; color: #5c5c5c; }

.wd-pb-rc-features {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}
.wd-pb-rc-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #5c5c5c;
}
.wd-pb-rc-icon { display: inline-flex; flex: 0 0 auto; color: #6b6b6b; }

.wd-pb-rc-actions { margin-top: auto; padding-top: 32px; }
.wd-pb-rc .wd-pb-rc-btn {
	display: inline-block;
	padding: 11px 20px;
	border: 1px solid var(--wd-pb-accent);
	border-radius: 6px;
	background: transparent;
	color: var(--wd-pb-accent);
	font-family: var(--wd-pb-font-heading);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease;
}
.wd-pb-rc .wd-pb-rc-btn:hover,
.wd-pb-rc .wd-pb-rc-btn:focus-visible {
	background: var(--wd-pb-accent);
	color: var(--wd-pb-btn-text);
}

/* Load More */
.wd-pb-rc-grid .wd-pb-rc[hidden] { display: none !important; }
.wd-pb-rc-loadmore-wrap { text-align: center; margin-top: 48px; }
.wd-pb-rc-wrap .wd-pb-rc-loadmore {
	display: inline-block;
	padding: 13px 32px;
	border: 1px solid var(--wd-pb-accent);
	border-radius: 6px;
	background: var(--wd-pb-accent);
	color: var(--wd-pb-btn-text);
	font-family: var(--wd-pb-font-heading);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease;
}
.wd-pb-rc-wrap .wd-pb-rc-loadmore:hover,
.wd-pb-rc-wrap .wd-pb-rc-loadmore:focus-visible {
	background: transparent;
	color: var(--wd-pb-accent);
}

/* ---------------------------------------------------------------
 * Date picker — full styling (the front end loads no jQuery UI theme).
 * Scoped to #ui-datepicker-div so it wins over theme styles.
 * ------------------------------------------------------------- */
#ui-datepicker-div.ui-datepicker {
	width: 300px;
	padding: 14px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
	font-family: var(--wd-pb-font-body);
	font-size: 14px;
	color: var(--wd-pb-text);
}
#ui-datepicker-div .ui-datepicker-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	margin-bottom: 8px;
	background: none;
	border: 0;
}
#ui-datepicker-div .ui-datepicker-title {
	font-family: var(--wd-pb-font-heading);
	font-weight: 700;
	font-size: 15px;
	line-height: 36px;
}
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
	position: absolute;
	top: 0;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	background: none;
	border: 0;
}
#ui-datepicker-div .ui-datepicker-prev { left: 0; }
#ui-datepicker-div .ui-datepicker-next { right: 0; }
#ui-datepicker-div .ui-datepicker-prev:hover,
#ui-datepicker-div .ui-datepicker-next:hover { background: #f2f4f5; }
#ui-datepicker-div .ui-datepicker-prev span,
#ui-datepicker-div .ui-datepicker-next span { display: none; }
#ui-datepicker-div .ui-datepicker-prev::before,
#ui-datepicker-div .ui-datepicker-next::before {
	display: block;
	font-size: 22px;
	line-height: 34px;
	text-align: center;
	color: var(--wd-pb-text);
}
#ui-datepicker-div .ui-datepicker-prev::before { content: "\2039"; }
#ui-datepicker-div .ui-datepicker-next::before { content: "\203A"; }
#ui-datepicker-div .ui-datepicker-prev.ui-state-disabled { opacity: .3; cursor: default; }

#ui-datepicker-div table.ui-datepicker-calendar {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 2px;
	table-layout: fixed;
}
#ui-datepicker-div .ui-datepicker-calendar th {
	padding: 4px 0 6px;
	border: 0;
	background: none;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #8a8a8a;
	text-align: center;
}
#ui-datepicker-div .ui-datepicker-calendar td {
	padding: 0;
	border: 0;
	background: none;
	text-align: center;
	opacity: 1;               /* jQuery UI fades disabled days to .35 — we style them ourselves */
}
#ui-datepicker-div .ui-datepicker-calendar td a,
#ui-datepicker-div .ui-datepicker-calendar td span {
	display: block;
	padding: 8px 0;
	border: 1px solid transparent;
	border-radius: 8px;
	background: none;
	color: var(--wd-pb-text);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}
/* Available */
#ui-datepicker-div .ui-datepicker-calendar td a:hover {
	background: #e6f9fc;
	border-color: var(--wd-pb-accent);
}
/* Today */
#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-today a { border-color: var(--wd-pb-accent); font-weight: 700; }
/* Selected */
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-active {
	background: var(--wd-pb-accent);
	border-color: var(--wd-pb-accent);
	color: var(--wd-pb-btn-text);
	font-weight: 700;
}
/* Past / out of range */
#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-unselectable span { color: #c9c9c9; cursor: default; }
#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-other-month { visibility: hidden; }

/* Booked — highlighted and not selectable */
#ui-datepicker-div .ui-datepicker-calendar td.wd-pb-day-booked span,
#ui-datepicker-div .ui-datepicker-calendar td.wd-pb-day-booked a {
	background: #fde2e2;
	border-color: #f7b9b9;
	color: #d63638;
	font-weight: 600;
	text-decoration: line-through;
	cursor: not-allowed;
}

/* Legend under the booking date fields */
.wd-pb-booked-legend {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0 0;
	font-size: 12.5px;
	color: #6b6b6b;
}
.wd-pb-booked-legend-swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: #fde2e2;
	border: 1px solid #f7b9b9;
}
