/* Página de cada estabelecimento (page-lugar.php). Usa as variáveis e seções de home.css. */

.cl-icon {
	flex: 0 0 auto;
	vertical-align: -3px;
}

/* Caminho */
.cl-place-crumbs {
	background: #fff;
	border-bottom: 1px solid #e3ecf5;
	font-size: 14px;
	padding: 12px 16px;
}

.cl-place-crumbs .cl-home-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.cl-place-crumbs a {
	color: var(--cl-blue);
	text-decoration: none;
}

.cl-place-crumbs a:hover {
	text-decoration: underline;
}

.cl-place-crumbs .cl-icon {
	color: #b4c2d0;
	height: 14px;
	width: 14px;
}

.cl-place-crumbs span {
	color: var(--cl-muted);
}

/* Cabeçalho */
.cl-place-hero {
	background:
		radial-gradient(circle at 92% 10%, rgba(244, 180, 0, .12), transparent 38%),
		radial-gradient(circle at 5% 95%, rgba(46, 158, 91, .10), transparent 42%),
		linear-gradient(180deg, #eef5fc, #f8fbfe);
	border-bottom: 1px solid #e3ecf5;
	padding: 40px 16px 36px;
}

.cl-place-cat {
	align-items: center;
	background: #fff;
	border: 1px solid #d6e4f2;
	border-radius: 999px;
	color: var(--cl-blue);
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 6px;
	padding: 5px 14px 5px 8px;
	text-decoration: none;
}

.cl-place-cat img {
	height: 20px;
	object-fit: contain;
	width: 20px;
}

.cl-place-cat:hover {
	border-color: var(--cl-blue);
	text-decoration: none;
}

.cl-place-hero h1 {
	color: var(--cl-ink);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
	margin: 14px 0 12px;
}

.cl-place-facts {
	color: var(--cl-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.cl-place-facts li {
	align-items: center;
	display: flex;
	gap: 6px;
}

.cl-place-facts .cl-icon {
	color: var(--cl-red);
}

/* Botões */
.cl-place-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cl-btn {
	align-items: center;
	background: #fff;
	border: 1px solid #d6e4f2;
	border-radius: 999px;
	color: var(--cl-ink);
	display: inline-flex;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	padding: 11px 20px;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.cl-btn:hover {
	border-color: var(--cl-blue);
	color: var(--cl-blue);
	text-decoration: none;
	transform: translateY(-1px);
}

.cl-btn-primary {
	background: var(--cl-blue);
	border-color: var(--cl-blue);
	color: #fff;
}

.cl-btn-primary:hover {
	background: var(--cl-blue-dark);
	border-color: var(--cl-blue-dark);
	color: #fff;
}

.cl-btn-whatsapp {
	background: #25d366;
	border-color: #25d366;
	color: #fff;
}

.cl-btn-whatsapp:hover {
	background: #1eb457;
	border-color: #1eb457;
	color: #fff;
}

.cl-btn-block {
	display: flex;
	margin-top: 14px;
	width: 100%;
}

/* Corpo */
.cl-place-body {
	padding-top: 36px;
}

.cl-place-layout {
	align-items: start;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) 360px;
}

.cl-place-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(20, 40, 60, .08);
	margin-bottom: 24px;
	padding: 26px;
}

.cl-place-card h2 {
	color: var(--cl-ink);
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 14px;
}

.cl-place-card h3 {
	color: var(--cl-ink);
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
}

.cl-place-text {
	color: var(--cl-muted);
	font-size: 16px;
	line-height: 1.7;
}

.cl-place-gallery {
	overflow: hidden;
	padding: 0;
}

.cl-gallery-main {
	background: var(--cl-soft);
	display: block;
}

.cl-gallery-main img {
	display: block;
	height: 440px;
	object-fit: contain;
	width: 100%;
}

.cl-gallery-thumbs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 12px;
}

.cl-gallery-thumbs button {
	background: none;
	border: 2px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	flex: 0 0 auto;
	opacity: .65;
	overflow: hidden;
	padding: 0;
	transition: opacity .15s ease, border-color .15s ease;
}

.cl-gallery-thumbs button:hover,
.cl-gallery-thumbs button.is-active {
	border-color: var(--cl-blue);
	opacity: 1;
}

.cl-gallery-thumbs img {
	display: block;
	height: 64px;
	object-fit: cover;
	width: 84px;
}

.cl-place-offers {
	border-left: 5px solid var(--cl-yellow);
}

/* Contato */
.cl-place-contact ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cl-place-contact li {
	align-items: flex-start;
	border-bottom: 1px solid #eef2f6;
	display: flex;
	gap: 12px;
	padding: 12px 0;
	word-break: break-word;
}

.cl-place-contact li:last-child {
	border-bottom: 0;
}

.cl-place-contact li .cl-icon {
	background: rgba(30, 115, 190, .1);
	border-radius: 10px;
	box-sizing: content-box;
	color: var(--cl-blue);
	padding: 8px;
}

.cl-place-contact li span,
.cl-place-contact li a {
	color: var(--cl-ink);
	padding-top: 7px;
}

.cl-place-contact li a:hover {
	color: var(--cl-blue);
}

.cl-place-contact small {
	color: var(--cl-muted);
	display: block;
}

.cl-place-social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.cl-place-social a {
	align-items: center;
	background: var(--cl-soft);
	border-radius: 50%;
	color: var(--cl-ink);
	display: inline-flex;
	height: 42px;
	justify-content: center;
	transition: background .15s ease, color .15s ease;
	width: 42px;
}

.cl-place-social a:hover { color: #fff; }
.cl-place-social .cl-social-website:hover { background: var(--cl-blue); }
.cl-place-social .cl-social-facebook:hover { background: #1877f2; }
.cl-place-social .cl-social-instagram:hover { background: #d6249f; }
.cl-place-social .cl-social-twitter:hover { background: #111; }

.cl-place-map {
	padding: 12px;
}

.cl-place-map .geodir_map_container,
.cl-place-map .geodir-map-wrap {
	border-radius: 12px;
	overflow: hidden;
}

.cl-place-owner {
	background: var(--cl-soft);
	box-shadow: none;
}

.cl-place-owner p {
	color: var(--cl-muted);
	font-size: 14px;
	margin: 0 0 10px;
}

.cl-place-owner a {
	color: var(--cl-blue);
	font-weight: 700;
	text-decoration: none;
}

/* Avaliações */
.cl-place-reviews:empty {
	display: none;
}

.cl-place-reviews .comment-reply-title,
.cl-place-reviews .comments-title {
	color: var(--cl-ink);
	font-size: 22px;
	font-weight: 700;
}

.cl-place-reviews textarea,
.cl-place-reviews input[type="text"],
.cl-place-reviews input[type="email"],
.cl-place-reviews input[type="url"] {
	background: var(--cl-soft);
	border: 1px solid #d6e4f2;
	border-radius: 10px;
}

.cl-place-reviews input[type="submit"],
.cl-place-reviews .btn-primary {
	background: var(--cl-blue);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	padding: 12px 28px;
}

@media (max-width: 991px) {
	/* Uma coluna: contato e mapa sobem para antes das avaliações. */
	.cl-place-layout {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.cl-place-main,
	.cl-place-side {
		display: contents;
	}

	.cl-place-layout .cl-place-card {
		align-self: stretch;
		box-sizing: border-box;
		width: 100%;
	}

	.cl-place-gallery { order: 1; }
	.cl-place-contact { order: 2; }
	.cl-place-main > .cl-place-card:not(.cl-place-gallery):not(.cl-place-reviews) { order: 3; }
	.cl-place-map { order: 4; }
	.cl-place-reviews { order: 5; }
	.cl-place-owner { order: 6; }
}

@media (max-width: 575px) {
	.cl-place-hero {
		padding: 28px 16px;
	}

	.cl-place-hero h1 {
		font-size: 28px;
	}

	.cl-place-actions .cl-btn {
		flex: 1 1 calc(50% - 10px);
		padding: 11px 12px;
	}

	.cl-place-card {
		padding: 20px;
	}

	.cl-gallery-main img {
		height: 260px;
	}
}
