/* ============================================================
   PLACE LISTING DETAIL PAGE (single-gd_place.php)
   "Super Directory" style — matches the reference design
============================================================ */

.pil-place-detail {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #111827;
	line-height: 1.55;
	background: #f1f5f9;
	padding-bottom: 40px;
}

.pil-container {
	max-width: 1350px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Top bar: breadcrumb + search ---------- */
.pil-pd-topbar {
	background: linear-gradient(180deg, #001f3f 0%, #003366 100%);
	padding: 18px 0 14px;
	color: #fff;
}
.pil-pd-topbar .pil-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.pil-pd-breadcrumb {
	font-size: 13px;
	color: #cbd5e1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.pil-pd-breadcrumb a {
	color: #e2e8f0;
	text-decoration: none;
	transition: color 0.15s;
}
.pil-pd-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.pil-pd-breadcrumb .pil-sep { opacity: 0.6; }
.pil-pd-breadcrumb .pil-current { color: #fff; font-weight: 600; }

.pil-pd-search {
	display: flex;
	align-items: stretch;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0,0,0,0.15);
	min-width: 360px;
}
.pil-pd-search-input {
	flex: 1;
	border: none;
	outline: none;
	padding: 10px 14px;
	font-size: 13.5px;
	color: #0f172a;
	background: transparent;
}
.pil-pd-search-select {
	border: none;
	border-left: 1px solid #e2e8f0;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
	background: #f8fafc;
	outline: none;
	cursor: pointer;
}
.pil-pd-search-btn {
	background: #009FD8;
	color: #fff;
	border: none;
	padding: 0 18px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
}
.pil-pd-search-btn:hover { background: #008ECB; }

/* ---------- Header card ---------- */
.pil-pd-header-card {
	background: #fff;
	border-radius: 14px;
	padding: 24px 28px 0;
	margin-top: -18px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	position: relative;
}

.pil-pd-badges {
	position: absolute;
	top: 16px;
	left: 24px;
	display: flex;
	gap: 8px;
}
.pil-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
}
.pil-badge-verified {
	background: #10b981;
	color: #fff;
}

.pil-pd-header-main {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 22px;
	align-items: flex-start;
	padding-top: 26px;
}

.pil-pd-logo-wrap {
	width: 118px;
	height: 118px;
	border-radius: 28px;
	overflow: hidden;
	background: linear-gradient(135deg, #fde68a, #f59e0b);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 4px solid #fff;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
}
.pil-pd-logo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pil-pd-logo-fallback {
	font-size: 52px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -1px;
}

.pil-pd-title-block {
	min-width: 0;
}
.pil-pd-title-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}
.pil-pd-title {
	font-size: 28px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.25;
	letter-spacing: -0.4px;
}
.pil-pd-checkmark {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.pil-pd-rating-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 13.5px;
}
.pil-pd-stars {
	display: inline-flex;
	gap: 2px;
}
.pil-star { color: #e5e7eb; }
.pil-star.pil-star-on { color: #f59e0b; }
.pil-pd-rating-num { font-weight: 700; color: #0f172a; }
.pil-pd-rating-count { color: #64748b; font-weight: 500; }

.pil-pd-meta-list {
	list-style: none;
	padding: 0;
	margin: 0 0 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13.5px;
	color: #475569;
}
.pil-pd-meta-list li {
	display: inline-flex;
	align-items: flex-start;
	gap: 7px;
}

.pil-pd-status-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.pil-status-tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2px;
}
.pil-status-tag.pil-status-inline { margin-bottom: 4px; }
.pil-status-open { background: #dcfce7; color: #166534; }
.pil-status-featured { background: #ede9fe; color: #6d28d9; }

.pil-pd-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-shrink: 0;
}
.pil-act-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 600;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #334155;
	cursor: pointer;
	transition: all 0.15s;
	white-space: nowrap;
}
.pil-act-btn:hover { border-color: #cbd5e1; background: #f8fafc; color: #0f172a; }
.pil-act-contact {
	background: #009FD8;
	color: #fff;
	border-color: #009FD8;
}
.pil-act-contact:hover {
	background: #008ECB;
	border-color: #008ECB;
	color: #fff;
}

/* ---------- Tabs ---------- */
.pil-pd-tabs {
	display: flex;
	gap: 0;
	margin-top: 22px;
	overflow-x: auto;
	border-bottom: 1px solid #e2e8f0;
}
.pil-tab {
	background: none;
	border: none;
	padding: 16px 22px;
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	white-space: nowrap;
	position: relative;
	transition: color 0.15s;
}
.pil-tab:hover { color: #0f172a; }
.pil-tab.pil-tab-active {
	color: #009FD8;
}
.pil-tab.pil-tab-active::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 22px;
	right: 22px;
	height: 3px;
	background: #009FD8;
	border-radius: 3px 3px 0 0;
}

/* ---------- Two column grid ---------- */
.pil-pd-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	margin-top: 24px;
	align-items: flex-start;
}

/* ---------- Card wrapper ---------- */
.pil-pd-card {
	background: #fff;
	border-radius: 14px;
	padding: 26px 26px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
	border: 1px solid #e5e7eb;
}

.pil-sidebar-card {
	padding: 22px 22px;
}

.pil-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.pil-card-title {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px;
	letter-spacing: -0.2px;
}
.pil-card-head .pil-card-title { margin-bottom: 0; }

.pil-view-all {
	font-size: 13px;
	font-weight: 600;
	color: #009FD8;
	text-decoration: none;
	transition: color 0.15s;
}
.pil-view-all:hover { color: #008ECB; text-decoration: underline; }

/* ---------- About section ---------- */
.pil-pd-about p {
	font-size: 14px;
	color: #475569;
	line-height: 1.7;
	margin: 0 0 10px;
}
.pil-pd-about-full {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}
.pil-pd-about-full.pil-expanded { max-height: 3000px; }
.pil-pd-about-full p,
.pil-pd-about-full h2,
.pil-pd-about-full h3,
.pil-pd-about-full li,
.pil-pd-about-full div {
	font-size: 14px;
	color: #475569;
	line-height: 1.7;
}

.pil-show-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	padding: 0;
	background: none;
	border: none;
	color: #009FD8;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.15s;
}
.pil-show-more:hover { color: #008ECB; }

/* ---------- Stats ---------- */
.pil-pd-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	margin-top: 18px;
}
.pil-stat-item {
	padding: 20px 14px;
	text-align: center;
	border-right: 1px solid #e5e7eb;
	background: #fafafa;
}
.pil-stat-item:last-child { border-right: none; }
.pil-stat-num {
	font-size: 24px;
	font-weight: 800;
	color: #009FD8;
	letter-spacing: -0.5px;
	margin-bottom: 4px;
	line-height: 1.1;
}
.pil-stat-label {
	font-size: 12px;
	color: #64748b;
	font-weight: 500;
}

/* ---------- Products & Services ---------- */
.pil-services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.pil-svc-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 22px 18px;
	text-align: center;
	transition: all 0.2s;
	background: #fff;
}
.pil-svc-card:hover {
	border-color: #c7d2fe;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 159, 216, 0.08);
}
.pil-svc-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 12px;
	border-radius: 16px;
	background: #EAF2FB;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pil-svc-card h3 {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px;
}
.pil-svc-card p {
	font-size: 12px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

/* ---------- Business Information ---------- */
.pil-biz-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}
.pil-info-row {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13.5px;
}
.pil-info-row:nth-last-child(-n+2):nth-child(even),
.pil-info-row:last-child:nth-child(odd) {
	border-bottom: none;
}
.pil-info-label {
	color: #64748b;
	font-weight: 500;
}
.pil-info-val {
	color: #0f172a;
	font-weight: 500;
	word-break: break-word;
}
.pil-info-val a {
	color: #009FD8;
	text-decoration: none;
}
.pil-info-val a:hover { text-decoration: underline; }
.pil-view-map-link {
	font-size: 12.5px;
	font-weight: 600;
}

/* ---------- Amenities ---------- */
.pil-amenities-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.pil-amenity-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}

/* ---------- Photos ---------- */
.pil-photos-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}
.pil-photo-item {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	margin: 0;
	cursor: pointer;
}
.pil-photo-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}
.pil-photo-item:hover img { transform: scale(1.06); }
.pil-photo-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
}
.pil-photo-next {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.9);
	color: #0f172a;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* ---------- Tags ---------- */
.pil-tags-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pil-tag-chip {
	padding: 6px 14px;
	background: #EAF2FB;
	border: 1px solid #D6E7F8;
	color: #008ECB;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
}

/* ---------- Reviews ---------- */
.pil-reviews-wrap { display: flex; flex-direction: column; gap: 22px; }
.pil-rating-summary {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 36px;
	padding: 20px 22px;
	background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
	border-radius: 12px;
	border: 1px solid #e5e7eb;
}
.pil-rating-big { text-align: center; align-self: center; }
.pil-rating-num-big {
	font-size: 48px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1;
	letter-spacing: -1.5px;
}
.pil-rating-stars-big {
	display: inline-flex;
	gap: 3px;
	margin: 8px 0 6px;
}
.pil-rating-stars-big .pil-star { width: 22px; height: 22px; }
.pil-rating-based { font-size: 12.5px; color: #64748b; font-weight: 500; }

.pil-rating-bars { display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.pil-rbar-row {
	display: grid;
	grid-template-columns: 40px 1fr 36px;
	gap: 10px;
	align-items: center;
	font-size: 12.5px;
}
.pil-rbar-star { color: #64748b; font-weight: 600; }
.pil-rbar-track {
	height: 8px;
	background: #e5e7eb;
	border-radius: 999px;
	overflow: hidden;
}
.pil-rbar-fill {
	height: 100%;
	background: linear-gradient(90deg, #fbbf24, #f59e0b);
	border-radius: 999px;
}
.pil-rbar-count { color: #64748b; font-weight: 600; text-align: right; }

.pil-review-list { display: flex; flex-direction: column; gap: 0; border: 1px solid #f1f5f9; border-radius: 12px; overflow: hidden; }
.pil-review-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	padding: 18px 20px;
	border-bottom: 1px solid #f1f5f9;
}
.pil-review-item:last-child { border-bottom: none; }
.pil-review-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.pil-review-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 3px;
}
.pil-review-head strong {
	font-size: 14px;
	color: #0f172a;
	font-weight: 700;
}
.pil-review-stars { display: inline-flex; gap: 2px; }
.pil-review-time {
	font-size: 12px;
	color: #94a3b8;
	font-weight: 500;
	margin-bottom: 6px;
}
.pil-review-text {
	font-size: 13.5px;
	color: #475569;
	line-height: 1.65;
	margin: 0;
}

/* ---------- FAQs ---------- */
.pil-faq-list { display: flex; flex-direction: column; gap: 10px; }
.pil-faq-item {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.15s;
}
.pil-faq-item[open] { border-color: #c7d2fe; }
.pil-faq-item summary {
	padding: 14px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
}
.pil-faq-item summary::-webkit-details-marker { display: none; }
.pil-faq-item summary::after {
	content: "+";
	font-size: 20px;
	color: #64748b;
	font-weight: 400;
}
.pil-faq-item[open] summary::after { content: "–"; }
.pil-faq-item p {
	padding: 0 18px 16px;
	margin: 0;
	font-size: 13.5px;
	color: #475569;
	line-height: 1.7;
}

/* ---------- Videos ---------- */
.pil-videos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.pil-video-card {
	text-decoration: none !important;
	color: inherit;
	display: block;
}
.pil-video-thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s;
}
.pil-video-card:hover .pil-video-thumb { transform: scale(1.03); }
.pil-video-play {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(255,255,255,0.95);
	color: #0f172a;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 4px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.pil-video-duration {
	position: absolute;
	right: 10px;
	bottom: 10px;
	background: rgba(15,23,42,0.8);
	color: #fff;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 600;
}
.pil-video-title {
	display: block;
	margin-top: 10px;
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
	text-align: center;
}

/* ---------- Empty note ---------- */
.pil-empty-note {
	font-size: 13.5px;
	color: #64748b;
	padding: 10px 0;
	margin: 0;
}

/* ---------- Map ---------- */
.pil-map-embed {
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}
.pil-map-embed iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}
.pil-map-fallback {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #64748b;
	background: #f8fafc;
}
.pil-map-fallback p { margin: 0; font-size: 14px; }

/* ============================================================
   SIDEBAR
============================================================ */
.pil-pd-sidebar {
	position: sticky;
	top: 20px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ---------- Enquiry form ---------- */
.pil-enquiry-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.pil-field {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #dbe1ea;
	border-radius: 9px;
	font-size: 13.5px;
	color: #0f172a;
	outline: none;
	background: #fff;
	box-sizing: border-box;
	font-family: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.pil-field:focus {
	border-color: #009FD8;
	box-shadow: 0 0 0 3px rgba(0, 159, 216, 0.12);
}
.pil-field-textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.pil-field-select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}

.pil-submit-enquiry {
	width: 100%;
	padding: 13px 18px;
	background: #009FD8;
	color: #fff;
	border: none;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s, transform 0.1s;
	letter-spacing: 0.2px;
}
.pil-submit-enquiry:hover { background: #008ECB; }
.pil-submit-enquiry:active { transform: translateY(1px); }

/* ---------- Contact info list ---------- */
.pil-contact-list {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.pil-contact-list li {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 10px;
	align-items: flex-start;
	font-size: 13.5px;
}
.pil-contact-ico {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
}
.pil-ico-phone { background: #EAF2FB; color: #009FD8; }
.pil-ico-mail { background: #fef3c7; color: #d97706; }
.pil-ico-web { background: #dcfce7; color: #16a34a; }
.pil-ico-loc { background: #dbeafe; color: #2563eb; }
.pil-contact-list a {
	color: #0f172a;
	text-decoration: none;
	font-weight: 500;
	word-break: break-word;
}
.pil-contact-list a:hover { color: #009FD8; text-decoration: underline; }
.pil-contact-list span { color: #475569; }

.pil-social-row {
	display: flex;
	gap: 8px;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}
.pil-social {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 14px;
	transition: transform 0.15s, opacity 0.15s;
}
.pil-social:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }
.pil-social-fb { background: #1877f2; }
.pil-social-tw { background: #1da1f2; }
.pil-social-in { background: #0a66c2; }
.pil-social-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* ---------- Business hours ---------- */
.pil-hours-list {
	list-style: none;
	padding: 0;
	margin: 0 0 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.pil-hours-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13.5px;
	padding-bottom: 8px;
	border-bottom: 1px dashed #f1f5f9;
}
.pil-hours-list li:last-child { border-bottom: none; padding-bottom: 0; }
.pil-hours-list li > span:first-child {
	color: #64748b;
	font-weight: 500;
}
.pil-hours-list li > span:last-child {
	color: #0f172a;
	font-weight: 600;
}
.pil-hours-closed > span:last-child { color: #94a3b8; font-weight: 500; }
.pil-hours-note {
	font-size: 12px;
	color: #166534;
	font-weight: 600;
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid #f1f5f9;
}

/* Working-hours inline rows inside Business Information */
.pil-hours-inline {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	font-size: 13px;
	line-height: 1.8;
}
.pil-hours-inline-day {
	color: #64748b;
	font-weight: 500;
	min-width: 108px;
}
.pil-hours-inline-time {
	color: #0f172a;
	font-weight: 600;
}

/* ---------- Sidebar map ---------- */
.pil-sidebar-map {
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	background: #f8fafc;
}
.pil-sidebar-map iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}
.pil-map-fallback-small {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Similar listings ---------- */
.pil-similar-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid #f1f5f9;
	border-radius: 12px;
	overflow: hidden;
}
.pil-similar-item {
	border-bottom: 1px solid #f1f5f9;
}
.pil-similar-item:last-child { border-bottom: none; }
.pil-similar-link {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 12px;
	padding: 12px 12px;
	text-decoration: none !important;
	color: inherit;
	transition: background 0.15s;
}
.pil-similar-link:hover { background: #f8fafc; }
.pil-similar-thumb {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background-color: #e5e7eb;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.pil-similar-letter {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
}
.pil-similar-meta {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.pil-similar-meta > strong {
	font-size: 13.5px;
	color: #0f172a;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pil-similar-rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #f59e0b;
	font-weight: 700;
}
.pil-similar-rating > span {
	color: #94a3b8;
	font-weight: 500;
}
.pil-similar-loc {
	font-size: 11.5px;
	color: #64748b;
	font-weight: 500;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
	.pil-pd-grid { grid-template-columns: 1fr; }
	.pil-pd-sidebar { position: static; }
	.pil-pd-header-main {
		grid-template-columns: auto 1fr;
	}
	.pil-pd-actions {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
	}
}

@media (max-width: 900px) {
	.pil-services-grid { grid-template-columns: repeat(2, 1fr); }
	.pil-photos-grid { grid-template-columns: repeat(3, 1fr); }
	.pil-pd-stats { grid-template-columns: repeat(2, 1fr); }
	.pil-stat-item:nth-child(1),
	.pil-stat-item:nth-child(2) { border-bottom: 1px solid #e5e7eb; }
	.pil-stat-item:nth-child(odd) { border-right: 1px solid #e5e7eb; }
	.pil-stat-item:nth-child(even) { border-right: none; }
	.pil-stat-item:last-child { border-right: none; }
	.pil-biz-info-grid { grid-template-columns: 1fr; }
	.pil-info-row { border-bottom: 1px solid #f1f5f9; }
	.pil-info-row:last-child { border-bottom: none; }
	.pil-pd-topbar .pil-container { flex-direction: column; align-items: stretch; }
	.pil-pd-search { min-width: 0; }
	.pil-videos-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.pil-pd-header-card { padding: 18px 16px 0; margin-top: -14px; }
	.pil-pd-header-main {
		grid-template-columns: auto 1fr;
		gap: 14px;
		padding-top: 24px;
	}
	.pil-pd-logo-wrap {
		width: 84px;
		height: 84px;
		border-radius: 20px;
	}
	.pil-pd-logo-fallback { font-size: 36px; }
	.pil-pd-title { font-size: 22px; }
	.pil-pd-actions .pil-act-btn { flex: 1; justify-content: center; padding: 9px 12px; }
	.pil-pd-card { padding: 20px 18px; }
	.pil-sidebar-card { padding: 18px; }
	.pil-services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.pil-svc-card { padding: 16px 12px; }
	.pil-svc-icon { width: 52px; height: 52px; border-radius: 12px; }
	.pil-info-row { grid-template-columns: 130px 1fr; padding: 12px 14px; gap: 8px; font-size: 13px; }
	.pil-rating-summary { grid-template-columns: 1fr; gap: 18px; }
	.pil-pd-stats { border-radius: 10px; }
	.pil-stat-item { padding: 14px 10px; }
	.pil-stat-num { font-size: 20px; }
	.pil-photos-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.pil-videos-grid { grid-template-columns: 1fr; }
	.pil-review-item { grid-template-columns: auto 1fr; gap: 12px; padding: 14px; }
	.pil-review-avatar { width: 36px; height: 36px; font-size: 14px; }
	.pil-tab { padding: 13px 16px; font-size: 13px; }
	.pil-tab.pil-tab-active::after { left: 16px; right: 16px; }
}
