/*
Theme Name: Houzez Child (Kechstone)
Description: Thème enfant de Houzez pour Kechstone Properties. Charte : noir, ivoire, sable, laiton. Touche marocaine : arche du logo, zellige en filigrane, filets laiton.
Author: DigiWorld
Version: 1.0.0
Template: houzez
Text Domain: houzez
*/

/* ------------------------------------------------------------
   1. Variables de la charte
   ------------------------------------------------------------ */
:root {
	--kech-black: #161616;
	--kech-ivory: #F7F5F0;
	--kech-sand: #EDE6DB;
	--kech-gold: #D0890D;
	--kech-gold-dark: #B0740B;
	--kech-text: #2B2B2B;
	--kech-muted: #6B6560;
	--kech-serif: "Cormorant Garamond", Georgia, serif;
	--kech-sans: "DM Sans", Arial, sans-serif;
	/* Arche du logo (outrepassee, sommet en pointe) */
	--kech-arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V44C0 22 20 8 42 4L50 0l8 4c22 4 42 18 42 40v56z'/%3E%3C/svg%3E");
	/* Zellige : etoile a 8 branches, trait laiton */
	--kech-zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23D0890D' stroke-width='1'%3E%3Crect x='21' y='21' width='30' height='30'/%3E%3Crect x='21' y='21' width='30' height='30' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='6'/%3E%3Cpath d='M0 0l15 15M72 0L57 15M0 72l15-15M72 72L57 57'/%3E%3C/g%3E%3C/svg%3E");
	/* Mini-arche seule (separateurs) */
	--kech-arch-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath fill='%23D0890D' d='M2 26V12C2 6 7 3 11 2l1-2 1 2c4 1 9 4 9 10v14h-4V13c0-3-3-6-6-6s-6 3-6 6v13z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------
   2. Typographie
   ------------------------------------------------------------ */
body { color: var(--kech-text); -webkit-font-smoothing: antialiased; }

h1, h2, h3, .page-title h1, .item-title, .item-title a,
.property-title-wrap h1, .block-title-wrap h2 {
	font-family: var(--kech-serif);
	font-weight: 500;
	letter-spacing: 0;
	color: var(--kech-black);
}
.page-title h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; }
.item-title, .item-title a { font-size: 1.6rem; line-height: 1.2; }

/* Surtitres, etiquettes : petites capitales espacees */
.breadcrumb, .breadcrumb a, .item-address, .labels-wrap .label,
.kech-eyebrow {
	font-family: var(--kech-sans);
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: 11px;
}
.breadcrumb a, .kech-eyebrow { color: var(--kech-gold); }

/* ------------------------------------------------------------
   3. En-tete et menu
   ------------------------------------------------------------ */
.header-main-wrap, .header-desktop { border-bottom: 1px solid var(--kech-sand); }
.main-nav .navbar-nav > li > a {
	text-transform: none;
	letter-spacing: .06em;
	font-size: 13px;
	font-weight: 500;
}
.main-nav .navbar-nav > li.current-menu-item > a,
.main-nav .navbar-nav > li > a:hover { color: var(--kech-gold) !important; }

/* ------------------------------------------------------------
   4. Boutons : carres, capitales espacees
   ------------------------------------------------------------ */
.btn, .btn-primary, .btn-secondary, .btn-search, button[type="submit"] {
	border-radius: 0 !important;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: 12px;
	font-weight: 500;
}
.btn-primary, .btn-search { background: var(--kech-black); border-color: var(--kech-black); }
.btn-primary:hover, .btn-search:hover { background: var(--kech-gold); border-color: var(--kech-gold); }

/* ------------------------------------------------------------
   5. Bandeau de titre de page : sable + zellige en filigrane
   ------------------------------------------------------------ */
.page-title-wrap {
	position: relative;
	background: var(--kech-sand);
	padding: 48px 0 40px;
	margin-bottom: 40px;
	overflow: hidden;
}
.page-title-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--kech-zellige);
	background-size: 72px 72px;
	opacity: .10;
	pointer-events: none;
}
.page-title-wrap > * { position: relative; }

/* ------------------------------------------------------------
   6. Cartes de biens : blanches, sans arrondi, filet sable
   ------------------------------------------------------------ */
.item-wrap, .item-wrap .item-body, .listing-thumb, .listing-thumb img {
	border-radius: 0 !important;
}
.item-wrap { background: #fff; transition: box-shadow .3s ease; }
.item-wrap:hover { box-shadow: 0 18px 40px rgba(22, 22, 22, .08); }
.item-wrap .item-footer, .item-wrap .item-price-wrap { border-top: 1px solid var(--kech-sand); }
.item-price .price { font-family: var(--kech-sans); font-weight: 600; letter-spacing: .02em; color: var(--kech-black); }
.labels-wrap .label { border-radius: 0; background: rgba(255, 255, 255, .92); color: var(--kech-black); }

/* ------------------------------------------------------------
   7. Arche : classe utilitaire pour les grandes images
   (ajouter "kech-arch" sur un widget Image Elementor ou un conteneur)
   ------------------------------------------------------------ */
.kech-arch img, img.kech-arch, .kech-arch.elementor-widget-image .elementor-widget-container {
	-webkit-mask: var(--kech-arch) center / 100% 100% no-repeat;
	mask: var(--kech-arch) center / 100% 100% no-repeat;
}
.kech-arch img { width: 100%; object-fit: cover; }

/* ------------------------------------------------------------
   8. Filet laiton avec mini-arche (separateur)
   Utilisation : <div class="kech-divider"></div>
   ------------------------------------------------------------ */
.kech-divider {
	position: relative;
	height: 26px;
	margin: 32px auto;
	max-width: 420px;
	background: linear-gradient(var(--kech-gold), var(--kech-gold)) left 50% / calc(50% - 22px) 1px no-repeat,
	            linear-gradient(var(--kech-gold), var(--kech-gold)) right 50% / calc(50% - 22px) 1px no-repeat;
}
.kech-divider::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 22px;
	height: 26px;
	transform: translateX(-50%);
	background: var(--kech-arch-mark) center / contain no-repeat;
}

/* ------------------------------------------------------------
   9. Pied de page noir + zellige en filigrane
   ------------------------------------------------------------ */
.footer-wrap { position: relative; overflow: hidden; }
.footer-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--kech-zellige);
	background-size: 72px 72px;
	opacity: .06;
	pointer-events: none;
}
.footer-wrap > * { position: relative; }
.footer-wrap .widget-title, .footer-wrap h3, .footer-wrap h4 {
	font-family: var(--kech-sans);
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: 12px;
	color: #fff;
}
.footer-bottom-wrap { border-top: 1px solid rgba(208, 137, 13, .35); }

/* ------------------------------------------------------------
   10. Formulaires de recherche
   ------------------------------------------------------------ */
.advanced-search .form-control, .advanced-search .bootstrap-select > .dropdown-toggle,
.search-banner-wrap .form-control {
	border-radius: 0 !important;
	border-color: var(--kech-sand);
}

/* ------------------------------------------------------------
   11. Cartes : pas d'avatar d'agent ni de date (un seul gestionnaire)
   ------------------------------------------------------------ */
.item-wrap .item-footer { display: none !important; }

/* Bouton de carte : remis dans le flux, sous les infos (la carte entiere reste cliquable) */
.item-wrap .item-body { display: flex; flex-direction: column; }
.item-wrap .btn-item {
	position: static !important;
	align-self: flex-start;
	margin-top: 16px;
	background: transparent;
	color: var(--kech-black);
	border: 1px solid var(--kech-black);
}
.item-wrap .btn-item:hover { background: var(--kech-black); color: #fff; }

/* Prix sur la photo : en blanc */
.item-header .item-price-wrap .price, .listing-thumb .item-price .price,
.item-header .item-price-wrap .price-postfix, .listing-thumb .item-price .price-postfix { color: #fff !important; }

/* ============================================================
   12. Page d'accueil (sections Elementor)
   ============================================================ */
.elementor-widget-heading .elementor-heading-title { font-family: var(--kech-serif); font-weight: 500; color: var(--kech-black); }
.kech-title .elementor-heading-title { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; }
.kech-eyebrow .elementor-heading-title {
	font-family: var(--kech-sans) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--kech-gold) !important;
	margin-bottom: 6px;
}
.kech-text, .kech-text p { font-size: 16px; line-height: 1.75; color: var(--kech-muted); }
.kech-narrow { max-width: 680px; margin: 0 auto; }

/* Hero */
.kech-hero .kech-hero-title .elementor-heading-title {
	color: #fff;
	font-size: clamp(2.8rem, 6vw, 5.4rem);
	line-height: 1.02;
	max-width: 760px;
}
.kech-hero .kech-hero-text p { color: rgba(255, 255, 255, .86); font-size: 18px; max-width: 560px; }
.kech-hero .kech-eyebrow .elementor-heading-title { color: var(--kech-gold) !important; }
.kech-hero .elementor-widget-houzez_elementor_search_builder { max-width: 1000px; margin-top: 18px; }

/* Sections colorees */
.kech-section-sand { background: var(--kech-sand); }
.kech-section-black { background: var(--kech-black); }
.kech-zellige { position: relative; overflow: hidden; }
.kech-zellige::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--kech-zellige);
	background-size: 72px 72px;
	opacity: .09;
	pointer-events: none;
}
.kech-section-black.kech-zellige::before { opacity: .07; }
.kech-zellige > .elementor-container { position: relative; z-index: 1; }
.kech-on-dark .elementor-heading-title, .kech-on-dark p { color: #fff !important; }
.kech-on-dark p { color: rgba(255, 255, 255, .8) !important; }

/* Univers : photo en arche */
.kech-universe .elementor-image-box-img { width: 100% !important; margin-bottom: 22px !important; }
.kech-universe .elementor-image-box-img img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	-webkit-mask: var(--kech-arch) center / 100% 100% no-repeat;
	mask: var(--kech-arch) center / 100% 100% no-repeat;
	transition: transform .6s ease;
}
.kech-universe:hover .elementor-image-box-img img { transform: scale(1.02); }
.kech-universe .elementor-image-box-title { font-family: var(--kech-serif); font-size: 1.9rem; font-weight: 500; margin-bottom: 8px; }
.kech-universe .elementor-image-box-title a { color: var(--kech-black); }
.kech-universe .elementor-image-box-description { color: var(--kech-muted); }

/* Fondateur */
.kech-photo-placeholder {
	aspect-ratio: 4 / 5;
	background: var(--kech-sand);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--kech-muted);
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	-webkit-mask: var(--kech-arch) center / 100% 100% no-repeat;
	mask: var(--kech-arch) center / 100% 100% no-repeat;
}
.kech-pillar { border-top: 1px solid var(--kech-sand); padding-top: 18px; }
.kech-pillar .elementor-icon-box-title { font-family: var(--kech-serif); font-size: 1.45rem; font-weight: 500; margin: 0 0 4px; }
.kech-pillar .elementor-icon-box-description { color: var(--kech-muted); }

/* Boutons Elementor */
.kech-btn .elementor-button {
	border-radius: 0;
	background: var(--kech-black);
	color: #fff;
	padding: 16px 30px;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-family: var(--kech-sans);
}
.kech-btn .elementor-button:hover { background: var(--kech-gold); }
.kech-btn-outline .elementor-button { background: transparent; color: var(--kech-black); border: 1px solid var(--kech-black); }
.kech-btn-outline .elementor-button:hover { background: var(--kech-black); color: #fff; }
.kech-btn-center { text-align: center; }

/* Quartiers */
.kech-areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.kech-areas a {
	padding: 12px 22px;
	border: 1px solid var(--kech-sand);
	background: #fff;
	color: var(--kech-black);
	font-size: 14px;
	letter-spacing: .04em;
	transition: all .25s ease;
}
.kech-areas a:hover { border-color: var(--kech-gold); color: var(--kech-gold); }

/* Appel a l'action */
.kech-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }
.kech-btn-gold, .kech-btn-line {
	padding: 16px 30px;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.kech-btn-gold { background: var(--kech-gold); color: #fff; }
.kech-btn-gold:hover { background: var(--kech-gold-dark); color: #fff; }
.kech-btn-line { border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.kech-btn-line:hover { border-color: var(--kech-gold); color: var(--kech-gold); }

@media (max-width: 767px) {
	.kech-hero { min-height: 0 !important; }
	.kech-universe { margin-bottom: 30px; }
}

/* Correctifs accueil */
.kech-hero { position: relative; }
.kech-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(22, 22, 22, .82) 0%, rgba(22, 22, 22, .55) 45%, rgba(22, 22, 22, .10) 100%);
	z-index: 0;
}
.kech-hero > .elementor-container { position: relative; z-index: 1; }
.kech-universe .elementor-image-box-wrapper, .kech-universe .elementor-image-box-img,
.kech-universe .elementor-image-box-img img { width: 100% !important; max-width: 100% !important; }
.elementor-widget-html:has(.kech-photo-placeholder) { width: 100%; }
.kech-photo-placeholder { width: 100%; min-height: 520px; }
.kech-pillar .elementor-icon-box-wrapper, .kech-pillar .elementor-icon-box-content { text-align: left !important; }

/* 13. Page L'agence */
.kech-step { border-top: 1px solid rgba(208, 137, 13, .45); padding-top: 22px; }
.kech-step-num { display: block; font-family: var(--kech-serif); font-size: 2.6rem; line-height: 1; color: var(--kech-gold); margin-bottom: 14px; }
.kech-step h3 { font-family: var(--kech-serif); font-size: 1.45rem; font-weight: 500; margin: 0 0 8px; color: var(--kech-black); }
.kech-step p { color: var(--kech-muted); margin: 0; }
.kech-pillar-dark { border-top-color: rgba(208, 137, 13, .45); }
.kech-pillar-dark .elementor-icon-box-title, .kech-pillar-dark .elementor-icon-box-title a { color: #fff !important; }
.kech-pillar-dark .elementor-icon-box-description { color: rgba(255, 255, 255, .72) !important; }
.kech-pillar + .kech-pillar, .elementor-widget.kech-pillar:not(:last-child) { margin-bottom: 26px; }
.kech-btn-line-dark { border-color: var(--kech-black); color: var(--kech-black); }
.kech-btn-line-dark:hover { border-color: var(--kech-gold); color: var(--kech-gold); }
.kech-narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
@media (max-width: 1024px) { .kech-step { margin-bottom: 30px; } }
.kech-divider-left { margin: 18px 0 26px; max-width: 280px; }

/* ---- Page Contact (30/11) ---- */
.kech-contact-card { background: var(--kech-black); color: #fff; padding: 38px 34px; margin-bottom: 34px; position: relative; overflow: hidden; }
.kech-contact-card::before { content: ""; position: absolute; inset: 0; background: var(--kech-zellige); opacity: .07; pointer-events: none; }
.kech-contact-card > * { position: relative; }
.kech-contact-card-eyebrow { color: var(--kech-gold); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 8px; }
.kech-contact-card h3 { font-family: var(--kech-serif); font-weight: 500; font-size: 1.9rem; color: #fff; margin: 0 0 12px; }
.kech-contact-card p { color: rgba(255, 255, 255, .78); margin: 0 0 24px; }
.kech-contact-item { border-top: 1px solid var(--kech-sand); padding: 16px 0; }
.kech-contact-label { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--kech-gold); margin-bottom: 4px; }
.kech-contact-value, .kech-contact-value a { font-family: var(--kech-serif); font-size: 1.3rem; color: var(--kech-text); }
.kech-contact-value a:hover { color: var(--kech-gold); }
.kech-contact-form .form-control { border-radius: 0; background: #fff; font-family: var(--kech-sans); }
.kech-contact-form .btn { font-family: var(--kech-sans); letter-spacing: .14em; }
.kech-map iframe { filter: grayscale(1) contrast(.95); display: block; }

/* ---- Mentions légales (30/11) ---- */
.kech-legal-title .elementor-heading-title { font-family: var(--kech-serif); font-weight: 500; font-size: 1.7rem; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--kech-sand); }
.kech-legal-text p { color: var(--kech-text); line-height: 1.75; }
.kech-todo { background: #FFF1D6; color: #8A5A00; padding: 1px 6px; font-weight: 600; }

/* ---- Mobile : barre WhatsApp / email sur fiche bien, sélecteur devise (30/11) ---- */
.mobile-property-contact, #mobile-property-form { display: none !important; }
.kech-mobile-ask { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; display: flex; background: var(--kech-black); box-shadow: 0 -4px 18px rgba(0, 0, 0, .18); }
.kech-mobile-ask a { flex: 1; text-align: center; padding: 15px 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff !important; text-decoration: none; }
.kech-mobile-ask .kech-mobile-ask-wa { background: var(--kech-gold); flex: 1.4; }
.kech-mobile-ask a + a { border-left: 1px solid rgba(255, 255, 255, .15); }
@media (max-width: 991px) { body.single-property { padding-bottom: 50px; } }

/* ---- Sélecteur MAD / EUR (Nadia, 30/11) : texte seul, actif en or souligné ---- */
.kech-currency { display: inline-flex; align-items: center; gap: 0; margin-right: 26px; font-family: var(--kech-sans); font-size: 12px; letter-spacing: .16em; vertical-align: middle; }
.kech-currency button { position: relative; background: none; border: 0; padding: 6px 10px; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; opacity: .5; transition: opacity .2s, color .2s; }
.kech-currency button + button::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: var(--kech-gold); opacity: .5; }
.kech-currency button:hover { opacity: 1; color: var(--kech-gold); }
.kech-currency button.is-active { opacity: 1; color: var(--kech-gold); }
.kech-currency button.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 1px; height: 1px; background: var(--kech-gold); }
.kech-currency-mobile { margin-right: 0; font-size: 11px; }
.kech-currency-mobile button { padding: 6px 7px; }
.kech-currency-mobile button.is-active::after { left: 7px; right: 7px; }
.kech-currency-floating { position: fixed; right: 16px; bottom: 16px; z-index: 999; background: var(--kech-ivory); color: var(--kech-black); padding: 4px 6px; }

/* ---- Fiche bien : carte "Parlons de ce bien" (Nadia, 30/11) ---- */
.kech-ask-card { background: var(--kech-black); color: #fff; padding: 34px 30px 28px; position: relative; overflow: hidden; border: 0; border-top: 2px solid var(--kech-gold); border-radius: 0; }
.kech-ask-card::before { content: ""; position: absolute; inset: 0; background: var(--kech-zellige); opacity: .07; pointer-events: none; }
.kech-ask-card > * { position: relative; }
.kech-ask-mark { display: block; width: 22px; height: 24px; margin-bottom: 14px; background: var(--kech-arch-mark) no-repeat center / contain; }
.kech-ask-eyebrow { color: var(--kech-gold); font-family: var(--kech-sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 8px; }
.kech-ask-title { font-family: var(--kech-serif); font-weight: 500; font-size: 2rem; line-height: 1.15; color: #fff; margin: 0 0 12px; }
.kech-ask-text { color: rgba(255, 255, 255, .74); font-size: 14px; line-height: 1.65; margin: 0 0 24px; }
.kech-ask-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px 16px; margin-bottom: 10px; font-family: var(--kech-sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none !important; transition: background .2s, color .2s, border-color .2s; }
.kech-ask-wa { background: var(--kech-gold); border: 1px solid var(--kech-gold); color: #fff !important; }
.kech-ask-wa:hover { background: var(--kech-gold-dark); border-color: var(--kech-gold-dark); }
.kech-ask-mail { background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; }
.kech-ask-mail:hover { border-color: var(--kech-gold); color: var(--kech-gold) !important; }
.kech-ask-phone { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .6); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.kech-ask-phone a { color: #fff !important; white-space: nowrap; }
.kech-ask-phone a:hover { color: var(--kech-gold) !important; }

/* ---- En-tête : tient sur une ligne de 1200 à 1480 px, barre de défilement comprise (02/12) ---- */
@media (min-width: 1200px) and (max-width: 1480px) {
	.main-nav .navbar-nav > li > a { padding-left: 10px !important; padding-right: 10px !important; letter-spacing: .06em !important; }
	.kech-currency { margin-right: 14px; }
	.header-main-wrap .btn-phone-number { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199px) {
	.main-nav .navbar-nav > li > a { padding-left: 7px !important; padding-right: 7px !important; font-size: 12px !important; letter-spacing: .03em !important; }
	.kech-currency { margin-right: 10px; }
	.header-main-wrap .btn-phone-number { display: none; }
}
/* Entre 1200 et 1319 px (portables 1280) : pas de place pour le numéro, il reste dans le pied de page et sur chaque fiche */
@media (min-width: 1200px) and (max-width: 1319px) {
	.header-main-wrap .btn-phone-number { display: none !important; }
}

/* ---- Portrait du fondateur dans l'arche (02/12) ---- */
.elementor-widget-html:has(.kech-founder-photo) { width: 100% !important; max-width: 100% !important; flex: 1 1 100%; }
.elementor-widget-html:has(.kech-founder-photo) > .elementor-widget-container { width: 100%; }
.kech-founder-photo { width: 420px; max-width: 100%; }

/* En-tête transparent (L'agence, Contact, Mentions) : sélecteur de devise en blanc */
.header-transparent-wrap .kech-currency { color: #fff; }
.header-transparent-wrap .kech-currency button { opacity: .7; }
.header-transparent-wrap .kech-currency button.is-active { opacity: 1; color: var(--kech-gold); }
.kech-founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }

/* ---- Liste vide : message Kechstone (03/12) ---- */
.kech-empty { flex: 0 0 100%; max-width: 100%; width: 100%; background: var(--kech-sand); padding: 56px 30px; text-align: center; position: relative; overflow: hidden; }
.kech-empty::before { content: ""; position: absolute; inset: 0; background: var(--kech-zellige); opacity: .12; pointer-events: none; }
.kech-empty > * { position: relative; }
.kech-empty-mark { display: block; width: 22px; height: 24px; margin: 0 auto 16px; background: var(--kech-arch-mark) no-repeat center / contain; }
.kech-empty-title { font-family: var(--kech-serif); font-weight: 500; font-size: 2rem; color: var(--kech-black); margin: 0 0 12px; }
.kech-empty-text { max-width: 620px; margin: 0 auto 26px; color: var(--kech-text); line-height: 1.7; }
.kech-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Pied de page : WhatsApp (03/12) ---- */
.kech-footer-wa { display: flex; align-items: center; gap: 4px; }
.kech-footer-wa .kech-wa-icon { color: var(--kech-gold); flex: 0 0 auto; margin-right: 4px; }
.kech-footer-wa a:hover { color: var(--kech-gold) !important; }

/* ---- Signature DigiWorld, barre du bas (03/12) ---- */
.footer-copyright { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.kech-sign { display: inline-flex; align-items: center; font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.kech-sign-dot { width: 5px; height: 5px; background: var(--kech-gold); transform: rotate(45deg); margin: 0 14px; opacity: .8; }
.kech-sign a { position: relative; margin-left: 5px; color: rgba(255, 255, 255, .85) !important; font-weight: 500; letter-spacing: .08em; text-decoration: none !important; }
.kech-sign a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--kech-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.kech-sign a:hover::after { transform: scaleX(1); }
.kech-sign a:hover { color: #fff !important; }
.kech-sign-tld { color: var(--kech-gold); }
@media (max-width: 767px) { .footer-copyright { justify-content: center; } .kech-sign-dot { margin: 0 10px; } }

/* ---------- Plus de filtres (04/12/2026) ---------- */
.kech-filters-trigger-wrap { display: flex; justify-content: flex-end; margin-top: 10px; }
.kech-filters-trigger { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; font-family: "DM Sans", sans-serif; font-size: 14px; letter-spacing: .04em; padding: 8px 16px; cursor: pointer; transition: border-color .2s, color .2s; }
.kech-filters-trigger:hover, .kech-filters-trigger:focus-visible { border-color: var(--kech-gold, #D0890D); color: var(--kech-gold, #D0890D); }
.kech-filters-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--kech-gold, #D0890D); color: #161616; font-size: 12px; font-weight: 600; padding: 0 6px; }
.kech-filters-count[hidden] { display: none; }
html.kech-noscroll { overflow: hidden; }
.kech-filters[hidden] { display: none; }
.kech-filters { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; }
.kech-filters-backdrop { position: absolute; inset: 0; background: rgba(22,22,22,.6); }
.kech-filters-panel { position: relative; width: min(640px, 92vw); max-height: 88vh; display: flex; flex-direction: column; background: var(--kech-ivory, #F7F5F0); color: #161616; box-shadow: 0 24px 60px rgba(0,0,0,.35); text-align: left; }
.kech-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--kech-sand, #EDE6DB); }
.kech-filters-head h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 28px; font-weight: 500; color: #161616; }
.kech-filters-x { background: none; border: 0; font-size: 30px; line-height: 1; color: #161616; cursor: pointer; padding: 0 4px; }
.kech-filters-body { overflow-y: auto; padding: 8px 24px 16px; }
.kech-filters-group { padding: 16px 0; border-bottom: 1px solid var(--kech-sand, #EDE6DB); }
.kech-filters-group:last-child { border-bottom: 0; }
.kech-filters-label { display: block; margin: 0 0 12px; font-family: "DM Sans", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--kech-gold, #D0890D); }
.kech-filters-select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d9d2c5; background: #fff; font-family: "DM Sans", sans-serif; font-size: 15px; color: #161616; }
.kech-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kech-chip { margin: 0; cursor: pointer; }
.kech-chip input { position: absolute; opacity: 0; pointer-events: none; }
.kech-chip span { display: inline-block; padding: 8px 14px; border: 1px solid #d9d2c5; background: #fff; font-family: "DM Sans", sans-serif; font-size: 14px; color: #161616; transition: background .15s, border-color .15s, color .15s; }
.kech-chip input:checked + span { background: #161616; border-color: #161616; color: #fff; }
.kech-chip input:focus-visible + span { outline: 2px solid var(--kech-gold, #D0890D); outline-offset: 2px; }
.kech-filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--kech-sand, #EDE6DB); background: var(--kech-ivory, #F7F5F0); }
.kech-filters-reset { background: none; border: 0; padding: 0; font-family: "DM Sans", sans-serif; font-size: 14px; color: #161616; text-decoration: underline; cursor: pointer; }
.kech-filters-apply { background: #161616; color: #fff; border: 0; padding: 14px 28px; font-family: "DM Sans", sans-serif; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.kech-filters-apply:hover { background: var(--kech-gold, #D0890D); color: #161616; }
@media (max-width: 767px) {
	.kech-filters { align-items: flex-end; }
	.kech-filters-panel { width: 100vw; max-height: 92vh; }
	.kech-filters-trigger-wrap { justify-content: stretch; }
	.kech-filters-trigger { width: 100%; justify-content: center; }
	.kech-filters-apply { flex: 1; }
}
html.kech-noscroll .back-to-top-wrap { display: none; }
.kech-filters-trigger-wrap[hidden] { display: none; }

/* ---------- Pages rubrique : pas de choix vente/location dans la barre (05/12/2026) ---------- */
.kech-in-status #desktop-search-form .flex-search:has(select[name="status[]"]),
.kech-in-status #mobile-search-form .col-6:has(select[name="status[]"]) { display: none !important; }
.kech-in-status #desktop-search-form .advanced-search-btn { position: relative; }
.kech-filters-count-adv { position: absolute; top: -8px; right: -8px; }
.kech-filters-trigger-light { margin: 0 0 10px; }
.kech-filters-trigger-light .kech-filters-trigger { width: 100%; justify-content: center; border-color: #161616; color: #161616; padding: 12px 16px; }
/* Pages location, recherche mobile : prix (sur demande) et caractéristiques Houzez remplacés par « Plus de filtres » */
.kech-in-rent #mobile-search-form .col-12:has(> .range-wrap),
.kech-in-rent #mobile-search-form .col-12:has(> .features-list-wrap) { display: none !important; }
/* Location courte durée : 2 types seulement (villa, riad), pas de recherche ni « tout sélectionner » dans la liste (05/12) */
.kech-status-location-courte-duree .bootstrap-select:has(select[name="type[]"]) .bs-searchbox,
.kech-status-location-courte-duree .bootstrap-select:has(select[name="type[]"]) .bs-actionsbox { display: none !important; }
.kech-tab-short .bootstrap-select:has(select[name="type[]"]) .bs-searchbox,
.kech-tab-short .bootstrap-select:has(select[name="type[]"]) .bs-actionsbox { display: none !important; }
