/* Curcuma Restaurants : style maison du site (jaune logo #EBB71A, titres encadrés, fonds alternés). */
.cr-wrap {
	--cr-or: #ebb71a;
	--cr-or-fonce: #bd9817;
	--cr-texte: var(--ast-global-color-3, #363636);
	--cr-fond: rgba(235, 183, 26, .12);
	--cr-creme: #fdf3d6;
	--cr-creme-2: #fae6a8;
	--cr-vert: #6a8f3a;
	--cr-ombre: 0 8px 20px rgba(0, 0, 0, .10);
	--cr-ombre-titre: 0 8px 20px rgba(0, 0, 0, .18);
	--cr-rayon: 20px;
	max-width: 1140px; width: 100%; padding: 0 16px; color: var(--cr-texte); box-sizing: border-box;
}
.cr-wrap *, .cr-wrap *::before, .cr-wrap *::after { box-sizing: border-box; }
.cr-wrap a { text-decoration: none; }

/* Centrage et espaces verticaux dans le conteneur du thème Astra */
.ast-container > #primary.cr-wrap { margin: 1.5rem auto 2.5rem !important; float: none; }
body.curcuma-restaurants #content > .ast-container { padding-top: 0; padding-bottom: 0; }

/* Fil d'Ariane en pastilles */
.cr-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; font-size: .88rem; }
.cr-crumbs a, .cr-crumbs span { padding: .3rem .8rem; border-radius: 999px; }
.cr-crumbs a { background: var(--cr-creme); color: var(--cr-or-fonce); }
.cr-crumbs a:hover { background: var(--cr-creme-2); }
.cr-crumbs span { background: var(--cr-or); color: #fff; font-weight: 600; }

.cr-preview { background: #fff4d6; border: 1px dashed var(--cr-or); border-radius: 12px; padding: .7rem 1rem; }

/* Bandeau d'en-tête */
.cr-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f8d667 0%, #ebb71a 55%, #d9a40e 100%); border-radius: 24px; padding: 1.6rem 1.6rem 1.7rem; margin-bottom: 2rem; box-shadow: var(--cr-ombre); }
.cr-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.cr-hero-icon .cr-ico { width: 1.5rem; height: 1.5rem; color: var(--cr-or-fonce); }
.cr-hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: #fff; box-shadow: var(--cr-ombre); margin-bottom: .7rem; position: relative; z-index: 1; }
.cr-wrap .cr-title { margin: 0 0 .6rem; font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.25; position: relative; z-index: 1; color: #000; }
.cr-sub { margin: 0; font-size: 1rem; position: relative; z-index: 1; color: #2b2b2b; max-width: 720px; }
.cr-stats { display: flex; flex-wrap: wrap; gap: .6rem; margin: .4rem 0 0; position: relative; z-index: 1; }
.cr-stat { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border-radius: 999px; padding: .4rem 1rem; font-size: .95rem; box-shadow: 0 2px 8px rgba(120, 90, 0, .12); }
.cr-stat strong { color: var(--cr-or-fonce); font-size: 1.1rem; }

/* Titres de section encadrés (comme sur l'accueil) */
.cr-h2-wrap { text-align: center; margin: 0 0 1.4rem; }
.cr-wrap .cr-h2 { display: inline-block; margin: 0; background: #fff; border: 2px solid var(--cr-or); border-radius: 12px; box-shadow: var(--cr-ombre-titre); padding: .35rem .9rem; font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; line-height: 1.3; color: #000; scroll-margin-top: 90px; }

/* Bandes : fond jaune 12 % en alternance avec le blanc */
.cr-band, .cr-section { border-radius: var(--cr-rayon); padding: 2rem 1.6rem; margin: 0 0 1.5rem; }
.cr-band { background: var(--cr-fond); }
.cr-section { background: #fff; padding-left: 0; padding-right: 0; }
.cr-prose { font-size: 1.02rem; line-height: 1.7; max-width: 760px; margin: 0 auto; }
.cr-prose p:last-child { margin-bottom: 0; }

/* Page d'entrée : photo + texte */
.cr-band-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.cr-band-split .cr-h2-wrap { text-align: left; }
.cr-photo { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--cr-ombre-titre); }
.cr-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform .4s ease; }
.cr-photo:hover img { transform: scale(1.05); }

/* Tuiles (régions, départements, villes principales) */
.cr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.cr-tile a, .cr-tile-inner { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; height: 100%; background: #fff; border: 1px solid #f1e3b8; border-radius: 16px; padding: .9rem 1rem; box-shadow: var(--cr-ombre); color: var(--cr-texte); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.cr-tile a:hover { transform: translateY(-3px); border-color: var(--cr-or); box-shadow: 0 12px 24px rgba(0, 0, 0, .14); }
.cr-tile .cr-badge { grid-row: 1 / span 2; }
.cr-tile-name { font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.cr-count { color: #8a7a4a; font-size: .86rem; }
.cr-soon .cr-tile-inner { background: #fafafa; border-style: dashed; border-color: #e6e0cc; box-shadow: none; }
.cr-soon .cr-tile-name { color: #8d8d8d; font-weight: 600; }
.cr-soon .cr-count { color: #b3a36b; font-style: italic; }

.cr-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: linear-gradient(135deg, #f3c94a, var(--cr-or)); color: #fff; font-weight: 700; font-size: 1rem; box-shadow: 0 3px 8px rgba(235, 183, 26, .45); }

/* Recherche */
.cr-search { position: relative; max-width: 460px; margin: 0 auto 1.2rem; }
.cr-search .cr-ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--cr-or-fonce); pointer-events: none; }
.cr-wrap .cr-search input { width: 100%; height: 3rem; padding: 0 1rem 0 2.8rem; border: 2px solid var(--cr-or); border-radius: 999px; background: #fff; font-size: 1rem; box-shadow: var(--cr-ombre); outline: none; }
.cr-wrap .cr-search input:focus { border-color: var(--cr-or-fonce); box-shadow: 0 0 0 4px rgba(235, 183, 26, .25); }
.cr-tools { margin-bottom: 1.4rem; }
.cr-types { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.cr-wrap .cr-type { border: 1px solid #f1e3b8; background: #fff; color: var(--cr-texte); border-radius: 999px; padding: .4rem .9rem; font-size: .9rem; font-weight: 500; cursor: pointer; line-height: 1.2; text-transform: none; letter-spacing: normal; transition: background .15s, color .15s, border-color .15s; }
.cr-wrap .cr-type span { color: var(--cr-or-fonce); font-weight: 700; margin-left: .2rem; }
.cr-wrap .cr-type:hover { border-color: var(--cr-or); background: var(--cr-creme); color: var(--cr-texte); }
.cr-wrap .cr-type.is-on { background: var(--cr-or); border-color: var(--cr-or); color: #fff; }
.cr-wrap .cr-type.is-on span { color: #fff; }
.cr-none { text-align: center; background: var(--cr-creme); border-radius: 14px; padding: 1rem; margin: 1rem 0 0; }
[hidden] { display: none !important; }

/* Index A à Z */
.cr-letters { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 0 0 1.4rem; }
.cr-letters a { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--cr-creme); color: var(--cr-or-fonce); font-weight: 700; transition: background .15s, color .15s; }
.cr-letters a:hover { background: var(--cr-or); color: #fff; }
.cr-az { columns: 3 300px; column-gap: 1rem; }
.cr-az-block { break-inside: avoid; margin-bottom: 1rem; display: block; background: #fff; border-radius: 16px; padding: 1rem 1.1rem 1.1rem; box-shadow: var(--cr-ombre); border: 1px solid #f5ead0; scroll-margin-top: 90px; }
.cr-wrap .cr-letter { margin: 0 0 .7rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--cr-or); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.cr-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.cr-chips a { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .5rem .35rem .85rem; border-radius: 999px; background: var(--cr-creme); color: var(--cr-texte); font-size: .93rem; transition: background .15s; }
.cr-chips a:hover { background: var(--cr-creme-2); }
.cr-chip-n { background: #fff; color: var(--cr-or-fonce); border-radius: 999px; min-width: 1.6rem; padding: 0 .4rem; text-align: center; font-size: .8rem; font-weight: 700; line-height: 1.6rem; }

/* Carte */
.cr-map { height: 420px; border-radius: 20px; overflow: hidden; box-shadow: var(--cr-ombre-titre); z-index: 0; }
.cr-pin span { display: block; width: 26px; height: 26px; margin: 0 auto; border-radius: 50% 50% 50% 0; background: var(--cr-or); border: 3px solid #fff; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.cr-map .leaflet-popup-content { font-family: inherit; font-weight: 600; }
.cr-map .leaflet-popup-content a { color: var(--cr-or-fonce); }

/* Fiches restaurants */
.cr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.2rem; }
.cr-card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 1.5rem 1.3rem 1.2rem; box-shadow: var(--cr-ombre); border: 1px solid #f3e6c2; transition: transform .15s ease, box-shadow .3s ease; scroll-margin-top: 100px; }
.cr-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--cr-or); }
.cr-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .14); }
.cr-card.is-flash { box-shadow: 0 0 0 4px var(--cr-or), 0 12px 26px rgba(0, 0, 0, .14); }
.cr-card p { margin: .5rem 0 0; }
.cr-card-head { display: flex; gap: .9rem; align-items: flex-start; }
.cr-wrap .cr-name { font-size: 1.1rem; margin: .1rem 0 .3rem; line-height: 1.3; color: #000; }
.cr-tag { display: inline-block; background: #edf4e3; color: var(--cr-vert); border-radius: 999px; padding: .15rem .7rem; font-size: .78rem; font-weight: 600; }
.cr-desc { font-size: .95rem; line-height: 1.55; color: #555; }
.cr-addr { display: flex; gap: .4rem; align-items: flex-start; font-size: .92rem; line-height: 1.45; color: #6b6b6b; }
.cr-addr .cr-ico, .cr-stat .cr-ico { flex: none; color: var(--cr-or-fonce); margin-top: .1rem; }
.cr-ico { display: inline-block; vertical-align: middle; }
.cr-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto !important; padding-top: .9rem; }
.cr-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .45rem 1rem; border-radius: 999px; background: var(--cr-creme); color: var(--cr-or-fonce); font-size: .9rem; font-weight: 600; transition: background .15s, color .15s; }
.cr-btn:hover { background: var(--cr-creme-2); color: var(--cr-or-fonce); }
.cr-btn-main { background: var(--cr-or); color: #fff; }
.cr-btn-main:hover { background: var(--cr-or-fonce); color: #fff; }
.cr-back { margin: 0; }

.cr-source { margin: 1.5rem 0 0; font-size: .8rem; text-align: right; }
.cr-source a { color: #9a9a9a; }
.cr-source a:hover { color: var(--cr-or-fonce); }

/* Photo en plein écran */
.cr-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.cr-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.cr-lightbox button { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #000; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0; }

/* Pastilles de couleurs variées */
.cr-grid li:nth-child(4n+2) .cr-badge, .cr-list li:nth-child(4n+2) .cr-badge { background: linear-gradient(135deg, #f3a712, #e07b1a); box-shadow: 0 3px 8px rgba(224, 123, 26, .4); }
.cr-grid li:nth-child(4n+3) .cr-badge, .cr-list li:nth-child(4n+3) .cr-badge { background: linear-gradient(135deg, #8fb04f, #6a8f3a); box-shadow: 0 3px 8px rgba(106, 143, 58, .4); }
.cr-grid li:nth-child(4n+4) .cr-badge, .cr-list li:nth-child(4n+4) .cr-badge { background: linear-gradient(135deg, #e0864a, #c2562b); box-shadow: 0 3px 8px rgba(194, 86, 43, .4); }
.cr-wrap .cr-grid li.cr-soon .cr-badge { background: #ece6d2; color: #a8996a; box-shadow: none; }

@media (max-width: 782px) {
	.cr-band-split { grid-template-columns: 1fr; gap: 1.2rem; }
	.cr-band-split .cr-h2-wrap { text-align: center; }
}
@media (max-width: 600px) {
	.ast-container > #primary.cr-wrap { margin: 1rem auto 1.5rem !important; }
	.cr-wrap { padding: 0; }
	.cr-hero { padding: 1.3rem 1.1rem 1.4rem; border-radius: 20px; }
	.cr-band { padding: 1.5rem 1rem; }
	.cr-section { padding: 1.5rem 0; }
	.cr-grid, .cr-list { grid-template-columns: 1fr; }
	.cr-az { columns: 1; }
	.cr-map { height: 300px; }
}
.cr-more-wrap { text-align: center; margin: 1.4rem 0 0; }
.cr-wrap .cr-more { display: inline-flex; width: auto; border: 0; cursor: pointer; font-family: inherit; font-size: .95rem; font-weight: 600; line-height: 1.3; text-transform: none; letter-spacing: normal; padding: .7rem 1.5rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.cr-wrap .cr-more span { opacity: .85; font-weight: 500; margin-left: .35rem; }
