/* ALFA Fiche Google — public (avis et horaires). Reprend les variables du thème ALFA Base. */
.alfa-avis-loading { text-align: center; color: var(--wp--preset--color--muted, #55607a); }
.alfa-avis-summary {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
	padding: var(--wp--preset--spacing--m, 1.5rem); margin-bottom: var(--wp--preset--spacing--m, 1.5rem);
	background: var(--wp--custom--card--background, #fff); border: var(--wp--custom--card--border, 1px solid #e2e6f0);
	border-radius: var(--wp--custom--radius--medium, 16px); box-shadow: var(--wp--custom--card--shadow, none);
}
.alfa-avis-score { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.alfa-avis-score strong { font-family: var(--wp--preset--font-family--heading, inherit); font-size: 2.75rem; line-height: 1; font-weight: 900; }
.alfa-avis-score > span:last-child { color: var(--wp--preset--color--muted, #55607a); font-weight: 600; }
.alfa-avis-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.alfa-avis-write { font-weight: 700; }
.alfa-avis-stars { position: relative; display: inline-block; width: 6.2em; height: 1.1em; vertical-align: middle;
	background: linear-gradient(90deg, #d7dbe3 0 100%);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cg fill='black'%3E%3Cpath id='s' d='M11 1l2.9 6.6 7.1.6-5.4 4.7 1.6 7L11 16.2 4.8 19.9l1.6-7L1 8.2l7.1-.6z'/%3E%3Cuse href='%23s' x='24.5'/%3E%3Cuse href='%23s' x='49'/%3E%3Cuse href='%23s' x='73.5'/%3E%3Cuse href='%23s' x='98'/%3E%3C/g%3E%3C/svg%3E") left center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cg fill='black'%3E%3Cpath id='s' d='M11 1l2.9 6.6 7.1.6-5.4 4.7 1.6 7L11 16.2 4.8 19.9l1.6-7L1 8.2l7.1-.6z'/%3E%3Cuse href='%23s' x='24.5'/%3E%3Cuse href='%23s' x='49'/%3E%3Cuse href='%23s' x='73.5'/%3E%3Cuse href='%23s' x='98'/%3E%3C/g%3E%3C/svg%3E") left center / contain no-repeat;
}
.alfa-avis-stars-fill { position: absolute; inset: 0 auto 0 0; background: #f6b400; }
.alfa-avis-score .alfa-avis-stars { font-size: 1.35rem; }
.alfa-avis-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--wp--preset--spacing--m, 1.5rem); }
.alfa-avis-list.count-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.alfa-avis-list.count-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.alfa-avis-card {
	display: flex; flex-direction: column; gap: .75rem; padding: var(--wp--preset--spacing--m, 1.5rem);
	background: var(--wp--custom--card--background, #fff); border: var(--wp--custom--card--border, 1px solid #e2e6f0);
	border-radius: var(--wp--custom--radius--medium, 16px); box-shadow: var(--wp--custom--card--shadow, none);
}
.alfa-avis-author { display: flex; align-items: center; gap: .75rem; }
.alfa-avis-author img, .alfa-avis-avatar { width: 40px; height: 40px; border-radius: 999px; flex: none; object-fit: cover; }
.alfa-avis-avatar { display: grid; place-items: center; background: var(--wp--preset--color--primary, #2a4bff); color: var(--wp--preset--color--base, #fff); font-weight: 800; }
.alfa-avis-name { margin: 0; font-weight: 700; }
.alfa-avis-name a { color: inherit; text-decoration: none; }
.alfa-avis-name a:hover { text-decoration: underline; }
.alfa-avis-when { margin: .15rem 0 0; font-size: .85rem; color: var(--wp--preset--color--muted, #55607a); display: flex; align-items: center; gap: .4rem; }
.alfa-avis-when .alfa-avis-stars { font-size: .85rem; }
.alfa-avis-text { margin: 0; }
.alfa-avis-original summary { cursor: pointer; font-size: .85rem; color: var(--wp--preset--color--muted, #55607a); }
.alfa-avis-meta { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .82rem; color: var(--wp--preset--color--muted, #55607a); }
.alfa-avis-meta a { color: inherit; }
.alfa-avis-legal { margin-top: var(--wp--preset--spacing--m, 1.5rem); font-size: .8rem; color: var(--wp--preset--color--muted, #55607a); text-align: center; }
.alfa-avis-source { display: inline-block; padding: .1rem .45rem; margin-right: .35rem; border: 1px solid currentColor; border-radius: 4px; font-weight: 700; color: var(--wp--preset--color--contrast, #0e1430); }
.alfa-avis-fallback { text-align: center; }
.alfa-avis-reply summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--wp--preset--color--primary, #2a4bff); }
.alfa-avis-reply p { margin: .5rem 0 0; padding-left: .85rem; border-left: 3px solid var(--wp--preset--color--border, #e2e6f0); font-size: .92rem; color: var(--wp--preset--color--muted, #55607a); }
.alfa-avis-legal .alfa-avis-source { font-weight: 800; }

/* Horaires */
.alfa-horaires { max-width: 32rem; }
.alfa-horaires.is-manuel { max-width: none; }
.alfa-horaires-semaine { width: 100%; border-collapse: collapse; }
.alfa-horaires-semaine th, .alfa-horaires-semaine td { padding: .55rem .75rem; text-align: left; border-bottom: 1px solid var(--wp--preset--color--border, #e2e6f0); font-weight: 400; }
.alfa-horaires-semaine th { font-weight: 700; width: 40%; }
.alfa-horaires-semaine td.is-closed { color: var(--wp--preset--color--muted, #55607a); }
.alfa-horaires-semaine tr.is-today th, .alfa-horaires-semaine tr.is-today td { background: color-mix(in srgb, var(--wp--preset--color--primary, #2a4bff) 9%, transparent); font-weight: 700; }
.alfa-horaires-semaine tr.is-today th { border-radius: var(--wp--custom--radius--small, 8px) 0 0 var(--wp--custom--radius--small, 8px); }
.alfa-horaires-semaine tr.is-today td { border-radius: 0 var(--wp--custom--radius--small, 8px) var(--wp--custom--radius--small, 8px) 0; }
.alfa-horaires-groupe { margin: 0; display: grid; gap: .35rem; }
.alfa-horaires-groupe div { display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
.alfa-horaires-groupe dt { font-weight: 700; }
.alfa-horaires-groupe dd { margin: 0; }
.alfa-horaires-statut { font-weight: 700; color: var(--wp--preset--color--contrast, #0e1430); background: var(--wp--preset--color--accent, #ffb547); padding: .5rem .85rem; border-radius: var(--wp--custom--radius--small, 8px); }
.alfa-horaires-except { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--wp--custom--radius--small, 8px); background: color-mix(in srgb, var(--wp--preset--color--accent, #ffb547) 18%, transparent); }
.alfa-horaires-except-title { margin: 0 0 .35rem; font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.alfa-horaires-except ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .2rem; }
.alfa-horaires-except li { display: flex; justify-content: space-between; gap: 1rem; }
.alfa-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
