/*
Theme Name: AfroKounssi
Theme URI: https://afrokounssi.com
Author: AfroKounssi
Description: Thème du salon AfroKounssi (Conakry) : soins capillaires, coaching et boutique de produits pour cheveux crépus et bouclés. Compatible WooCommerce. À utiliser avec l’extension « AfroKounssi Core » pour la prise de rendez-vous.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afrokounssi
Tags: e-commerce, blog, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   1. Jetons
   ========================================================================= */
:root {
	--afk-bordeaux: #711213;
	--afk-bordeaux-deep: #4d0b0c;
	--afk-green: #2dcf42;
	--afk-yellow: #efd109;
	--afk-pink: #e01f5a;
	--afk-ink: #2b1010;
	--afk-muted: #7a5a58;
	--afk-line: #ecdcd9;
	--afk-tint: #fbf1ef;
	--afk-paper: #ffffff;

	--afk-font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--afk-wide: 112;   /* largeur des titres (axe wdth d'Archivo) */

	--afk-step--1: clamp(.84rem, .82rem + .1vw, .9rem);
	--afk-step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
	--afk-step-1: clamp(1.2rem, 1.12rem + .4vw, 1.4rem);
	--afk-step-2: clamp(1.5rem, 1.3rem + .9vw, 2rem);
	--afk-step-3: clamp(1.9rem, 1.55rem + 1.7vw, 2.9rem);
	--afk-step-4: clamp(2.5rem, 1.8rem + 3.4vw, 4.6rem);

	--afk-gutter: clamp(16px, 4vw, 48px);
	--afk-max: 1240px;
	--afk-section: clamp(64px, 9vw, 128px);
	--afk-radius: 18px;
}

/* =========================================================================
   2. Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--afk-font);
	font-size: var(--afk-step-0);
	line-height: 1.6;
	color: var(--afk-ink);
	background: var(--afk-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--afk-bordeaux); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--afk-bordeaux-deep); }
:focus-visible { outline: 3px solid var(--afk-pink); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--afk-line); margin: 2.5em 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--afk-font);
	font-weight: 800;
	font-stretch: 112%;
	font-variation-settings: "wdth" var(--afk-wide);
	line-height: 1.08;
	letter-spacing: -.015em;
	color: var(--afk-ink);
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: var(--afk-step-4); }
h2 { font-size: var(--afk-step-3); }
h3 { font-size: var(--afk-step-1); line-height: 1.2; }
h4 { font-size: var(--afk-step-0); }

/* La signature : le point rose du logo « Afro. » termine les grands titres. */
.afk-dot::after { content: ""; display: inline-block; width: .19em; height: .19em; margin-left: .07em; border-radius: 50%; background: var(--afk-pink); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--afk-paper); clip: auto !important; clip-path: none; color: var(--afk-ink); display: block;
	font-weight: 700; height: auto; left: 8px; padding: 12px 20px; top: 8px; width: auto; z-index: 100000; border-radius: 999px;
}

.afk-wrap { width: 100%; max-width: var(--afk-max); margin: 0 auto; padding: 0 var(--afk-gutter); }
.afk-narrow { max-width: 760px; }
.afk-section { padding: var(--afk-section) 0; }
.afk-section--tint { background: var(--afk-tint); }
.afk-section--bx { background: var(--afk-bordeaux); color: #fff; }
.afk-section--bx h2, .afk-section--bx h3 { color: #fff; }
.afk-lead { font-size: var(--afk-step-1); line-height: 1.5; color: var(--afk-muted); max-width: 46ch; }
.afk-section--bx .afk-lead { color: rgba(255, 255, 255, .82); }

/* Formes du logo, réutilisées comme repères */
.afk-drop { display: inline-block; width: 1em; height: 1em; border-radius: 50% 50% 0 50%; flex: none; }
.afk-drop--green { background: var(--afk-green); }
.afk-drop--yellow { background: var(--afk-yellow); transform: scaleY(-1); }
.afk-pill { display: inline-block; width: 1.5em; height: .62em; border-radius: 999px; background: var(--afk-bordeaux); flex: none; }

/* =========================================================================
   3. Boutons
   ========================================================================= */
.afk-btn,
.wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 50px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--afk-font); font-size: 1rem; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer;
	background: var(--afk-bordeaux); color: #fff;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.afk-btn:hover, .wp-block-button__link:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--afk-bordeaux-deep); color: #fff; }
.afk-btn--light { background: #fff; color: var(--afk-bordeaux); }
.afk-btn--light:hover { background: var(--afk-tint); color: var(--afk-bordeaux-deep); }
.afk-btn--outline { background: transparent; color: var(--afk-bordeaux); border-color: currentColor; }
.afk-btn--outline:hover { background: var(--afk-bordeaux); color: #fff; border-color: var(--afk-bordeaux); }
.afk-section--bx .afk-btn--outline, .afk-hero .afk-btn--outline { color: #fff; }
.afk-section--bx .afk-btn--outline:hover, .afk-hero .afk-btn--outline:hover { background: #fff; color: var(--afk-bordeaux); border-color: #fff; }
.afk-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.afk-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--afk-pink); padding-bottom: 2px; color: inherit; }
.afk-link:hover { color: var(--afk-bordeaux); }

/* =========================================================================
   4. En-tête
   ========================================================================= */
.afk-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.admin-bar .afk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .afk-header { top: 46px; } }
.afk-header.is-scrolled { border-bottom-color: var(--afk-line); }
.afk-header__inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.afk-logo { display: block; flex: none; }
.afk-logo img { width: auto; height: 50px; }
.afk-nav { margin-left: auto; }
.afk-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.afk-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--afk-ink); text-decoration: none; font-weight: 600; }
.afk-nav a:hover { background: var(--afk-tint); color: var(--afk-bordeaux); }
.afk-nav .current-menu-item > a, .afk-nav .current_page_item > a, .afk-nav .current-menu-parent > a { color: var(--afk-bordeaux); box-shadow: inset 0 -2px 0 var(--afk-pink); border-radius: 0; }
.afk-nav .sub-menu { display: none; }
.afk-header__tools { display: flex; align-items: center; gap: 8px; }
.afk-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 999px; color: var(--afk-ink); background: transparent; border: 0; cursor: pointer; text-decoration: none; }
.afk-icon-btn:hover { background: var(--afk-tint); color: var(--afk-bordeaux); }
.afk-icon-btn svg { width: 24px; height: 24px; }
.afk-cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--afk-pink); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; }
.afk-cart-count:empty, .afk-cart-count[data-count="0"] { display: none; }
.afk-header .afk-btn { min-height: 46px; padding: 0 22px; }
.afk-burger { display: none; }

@media (max-width: 1020px) {
	.afk-burger { display: inline-flex; }
	.afk-header__inner { min-height: 68px; gap: 12px; }
	.afk-logo img { height: 40px; }
	.afk-header__tools { margin-left: auto; }
	.afk-header .afk-btn { padding: 0 16px; min-height: 42px; font-size: .92rem; }
	.afk-nav {
		position: fixed; inset: 68px 0 auto 0; margin: 0; background: #fff; border-top: 1px solid var(--afk-line);
		padding: 12px var(--afk-gutter) 24px; box-shadow: 0 24px 40px -24px rgba(77, 11, 12, .35);
		display: none; max-height: calc(100vh - 68px); overflow-y: auto;
	}
	.admin-bar .afk-nav { top: 114px; }
	.afk-nav.is-open { display: block; }
	.afk-nav ul { flex-direction: column; gap: 0; }
	.afk-nav a { padding: 14px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--afk-line); }
	.afk-nav .current-menu-item > a { box-shadow: none; }
}
@media (max-width: 420px) {
	.afk-header .afk-btn { display: none; }
}

/* =========================================================================
   5. Accueil
   ========================================================================= */
/* Héros : la photo prend la place de la barre centrale du logo, entre la goutte verte et la goutte jaune. */
.afk-hero { background: var(--afk-bordeaux); color: #fff; overflow: hidden; }
.afk-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 112px); }
.afk-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.afk-hero h1 { color: #fff; margin-bottom: .35em; }
.afk-hero__text p { font-size: var(--afk-step-1); line-height: 1.5; color: rgba(255, 255, 255, .85); max-width: 34ch; margin: 0; }
.afk-hero__mark { display: grid; gap: clamp(10px, 1.6vw, 20px); }
.afk-hero__mark::before, .afk-hero__mark::after {
	content: ""; justify-self: end; width: 20%; aspect-ratio: 1; border-radius: 50% 50% 0 50%;
}
.afk-hero__mark::before { background: var(--afk-green); }
.afk-hero__mark::after { background: var(--afk-yellow); transform: scaleY(-1); }
.afk-hero__photo { border-radius: 999px; overflow: hidden; aspect-ratio: 2 / 1; background: var(--afk-bordeaux-deep); }
.afk-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.afk-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: var(--afk-step--1); color: rgba(255, 255, 255, .78); }
.afk-hero__facts li { display: flex; align-items: center; gap: 10px; }
.afk-hero__facts .afk-pill { background: #fff; width: 1.4em; }

@media (prefers-reduced-motion: no-preference) {
	.afk-hero__photo { animation: afk-pill-in .9s cubic-bezier(.2, .7, .2, 1) both .1s; }
	.afk-hero__mark::before { animation: afk-drop-in .7s cubic-bezier(.2, .7, .2, 1) both .35s; }
	.afk-hero__mark::after { animation: afk-drop-in-b .7s cubic-bezier(.2, .7, .2, 1) both .45s; }
}
@keyframes afk-pill-in { from { clip-path: inset(0 22% 0 22% round 999px); } to { clip-path: inset(0 0 0 0 round 999px); } }
@keyframes afk-drop-in { from { transform: translate(14px, 14px) scale(.7); } to { transform: none; } }
@keyframes afk-drop-in-b { from { transform: scaleY(-1) translate(14px, 14px) scale(.7); } to { transform: scaleY(-1); } }

@media (max-width: 860px) {
	.afk-hero__inner { grid-template-columns: 1fr; }
	.afk-hero__mark { max-width: 520px; width: 100%; }
	.afk-hero__mark::before, .afk-hero__mark::after { width: 18%; }
}

/* Trois portes d'entrée */
.afk-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 2px solid var(--afk-ink); }
.afk-way { padding: 28px 28px 8px 0; display: flex; flex-direction: column; }
.afk-way + .afk-way { padding-left: 28px; border-left: 1px solid var(--afk-line); }
.afk-way__icon { font-size: 28px; height: 32px; display: flex; align-items: center; margin-bottom: 18px; }
.afk-way__icon .afk-pill { width: 46px; height: 19px; }
.afk-way h3 { font-size: var(--afk-step-2); margin-bottom: .4em; }
.afk-way p { color: var(--afk-muted); max-width: 36ch; }
.afk-way .afk-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) {
	.afk-ways { grid-template-columns: 1fr; }
	.afk-way, .afk-way + .afk-way { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--afk-line); }
}

/* Carte des soins */
.afk-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.afk-split__aside { position: sticky; top: 120px; }
.afk-split__aside img { border-radius: 999px 999px var(--afk-radius) var(--afk-radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-top: 32px; }
.afk-split__aside--photo-first img { margin: 0 0 32px; }
@media (max-width: 860px) {
	.afk-split { grid-template-columns: 1fr; }
	.afk-split__aside { position: static; }
	.afk-split__aside img { aspect-ratio: 16 / 10; border-radius: var(--afk-radius); }
}

/* Coaching */
.afk-coach { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.afk-coach__photo { position: relative; }
.afk-coach__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 0 50% / 40% 40% 0 40%; }
.afk-coach__list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--afk-line); }
.afk-coach__list li { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--afk-line); }
.afk-coach__list strong { font-weight: 650; }
.afk-coach__list span { color: var(--afk-bordeaux); font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) {
	.afk-coach { grid-template-columns: 1fr; }
	.afk-coach__photo { max-width: 360px; }
}

/* Boutique (accueil) */
.afk-shop-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.afk-shop-head h2 { margin: 0; }
.afk-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.afk-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--afk-line); color: var(--afk-ink); text-decoration: none; font-weight: 600; font-size: .95rem; background: var(--afk-paper); }
.afk-chips a:hover, .afk-chips a.is-current { border-color: var(--afk-bordeaux); color: var(--afk-bordeaux); }
.afk-chips a.is-current { background: var(--afk-bordeaux); color: #fff; }
.afk-chips a.afk-chip-dispo::before { content: ""; width: 9px; height: 9px; border-radius: 50% 50% 0 50%; background: var(--afk-green); }

/* Étapes de réservation (séquence réelle : 1, 2, 3) */
.afk-steps-home { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: afk; }
.afk-steps-home li { counter-increment: afk; position: relative; padding-top: 64px; }
.afk-steps-home li::before { content: counter(afk); position: absolute; top: 0; left: 0; font-size: 3rem; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; line-height: 1; color: #fff; }
.afk-steps-home .afk-mark { position: absolute; top: 14px; left: 46px; font-size: 22px; }
.afk-steps-home .afk-mark .afk-pill { background: #fff; width: 34px; height: 14px; }
.afk-steps-home h3 { font-size: var(--afk-step-1); margin-bottom: .3em; }
.afk-steps-home p { color: rgba(255, 255, 255, .8); margin: 0; }
@media (max-width: 760px) { .afk-steps-home { grid-template-columns: 1fr; } }

/* Contact + Instagram */
.afk-visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.afk-insta { position: relative; display: block; border-radius: var(--afk-radius); overflow: hidden; color: #fff; text-decoration: none; }
.afk-insta img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease; }
.afk-insta:hover img { transform: scale(1.03); }
.afk-insta span { position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--afk-bordeaux); font-weight: 700; padding: 10px 18px; border-radius: 999px; }
@media (max-width: 860px) { .afk-visit { grid-template-columns: 1fr; } }

/* =========================================================================
   6. Pages intérieures
   ========================================================================= */
.afk-page-head { background: var(--afk-tint); padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.afk-page-head h1 { font-size: var(--afk-step-4); margin: 0; }
.afk-page-head p { margin: 16px 0 0; }
.afk-page-head--bx { background: var(--afk-bordeaux); color: #fff; }
.afk-page-head--bx h1 { color: #fff; }
.afk-crumbs { font-size: var(--afk-step--1); color: var(--afk-muted); margin-bottom: 14px; }
.afk-crumbs a { color: inherit; }

.afk-content { padding: clamp(40px, 6vw, 80px) 0 var(--afk-section); }
.afk-prose > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.afk-prose > .alignwide { max-width: var(--afk-max); }
.afk-prose > .alignfull { max-width: none; }
.afk-prose h2 { font-size: var(--afk-step-2); margin-top: 1.6em; }
.afk-prose h3 { margin-top: 1.4em; }
.afk-prose ul li::marker { color: var(--afk-pink); }
.afk-prose blockquote { border-left: 4px solid var(--afk-green); margin: 1.5em auto; padding: .2em 0 .2em 1.2em; font-size: var(--afk-step-1); }
.afk-prose img { border-radius: var(--afk-radius); }
.afk-prose .afk-menu, .afk-prose .afk-booking, .afk-prose .afk-contact { margin-top: 2em; margin-bottom: 2em; }

/* Articles */
.afk-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 32px; }
.afk-post-card a { text-decoration: none; color: inherit; }
.afk-post-card img { border-radius: var(--afk-radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 18px; }
.afk-post-card h2 { font-size: var(--afk-step-1); margin-bottom: .4em; }
.afk-post-card a:hover h2 { color: var(--afk-bordeaux); }
.afk-post-card time { font-size: var(--afk-step--1); color: var(--afk-muted); }
.afk-post-card p { color: var(--afk-muted); margin-top: .4em; }
.afk-post-thumb { margin: 0 auto 40px; max-width: 980px; }
.afk-post-thumb img { border-radius: var(--afk-radius); width: 100%; }
.afk-meta { font-size: var(--afk-step--1); color: var(--afk-muted); margin-top: 16px; }
.afk-pagination { margin-top: 56px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.afk-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--afk-line); text-decoration: none; color: var(--afk-ink); padding: 0 14px; font-weight: 600; }
.afk-pagination .current { background: var(--afk-bordeaux); border-color: var(--afk-bordeaux); color: #fff; }
.afk-empty-state { text-align: center; padding: 40px 0; }
.afk-search { display: flex; gap: 8px; max-width: 520px; margin: 24px auto 0; }
.afk-search input { flex: 1; font: inherit; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--afk-line); }

/* Commentaires */
.afk-comments { max-width: 760px; margin: 64px auto 0; }
.afk-comments ol { list-style: none; padding: 0; }
.afk-comments .comment-body { padding: 18px 0; border-bottom: 1px solid var(--afk-line); }
.afk-comments textarea, .afk-comments input[type=text], .afk-comments input[type=email], .afk-comments input[type=url] { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--afk-line); border-radius: 12px; }

/* =========================================================================
   7. WooCommerce
   ========================================================================= */
.woocommerce .woocommerce-breadcrumb { font-size: var(--afk-step--1); color: var(--afk-muted); margin-bottom: 18px; }
.woocommerce .woocommerce-breadcrumb a { color: inherit; }
.woocommerce-products-header { display: none; }
.afk-shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.afk-shop-toolbar .woocommerce-result-count, .afk-shop-toolbar .woocommerce-ordering { margin: 0; float: none; }
.woocommerce .woocommerce-ordering select { font: inherit; padding: 10px 36px 10px 16px; border-radius: 999px; border: 1.5px solid var(--afk-line); background-color: #fff; }

.woocommerce ul.products, .wc-block-grid__products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin: 0 !important; padding: 0; list-style: none; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; position: relative; }
.woocommerce ul.products li.product a img { border-radius: var(--afk-radius); background: var(--afk-tint); aspect-ratio: 1; object-fit: cover; margin: 0 0 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.02rem; font-weight: 650; font-stretch: 100%; font-variation-settings: "wdth" 100; letter-spacing: 0; line-height: 1.35; padding: 0; margin: 0 0 6px; color: var(--afk-ink); }
.afk-brand { display: block; font-size: .8rem; font-weight: 700; color: var(--afk-muted); margin-bottom: 4px; }
.afk-brand--afk { color: var(--afk-bordeaux); }
.woocommerce ul.products li.product .price { color: var(--afk-bordeaux); font-weight: 750; font-size: 1.02rem; margin: 0 0 14px; }
.woocommerce ul.products li.product .button { display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; line-height: 1.1; margin-top: auto; min-height: 44px; font-size: .92rem; background: transparent; color: var(--afk-bordeaux); border-color: var(--afk-line); }
.woocommerce ul.products li.product .button:hover { background: var(--afk-bordeaux); border-color: var(--afk-bordeaux); color: #fff; }
.woocommerce ul.products li.product .added_to_cart { font-weight: 700; font-size: .9rem; margin-top: 8px; }
.woocommerce span.onsale { background: var(--afk-pink); border-radius: 999px; min-height: 0; min-width: 0; padding: 4px 12px; line-height: 1.5; font-weight: 700; top: 12px; left: 12px; right: auto; margin: 0; }
@media (max-width: 1020px) { .woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; } }

/* Fiche produit */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images, .woocommerce-product-gallery__image { overflow: hidden; border-radius: var(--afk-radius); }
.woocommerce div.product div.images img { border-radius: var(--afk-radius); background: var(--afk-tint); }
.woocommerce div.product .product_title { font-size: var(--afk-step-3); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--afk-bordeaux); font-size: var(--afk-step-2); font-weight: 750; }
.woocommerce div.product form.cart { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 28px 0; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 84px; min-height: 50px; border-radius: 999px; border: 1.5px solid var(--afk-line); font: inherit; text-align: center; }
.woocommerce div.product form.cart .button { float: none; min-width: 220px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--afk-line); display: flex; gap: 8px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0; padding: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 4px; font-weight: 650; color: var(--afk-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--afk-bordeaux); box-shadow: inset 0 -3px 0 var(--afk-pink); }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: var(--afk-step-2); margin-top: 32px; }
.woocommerce div.product form.cart .button.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--afk-bordeaux); color: #fff; }
.woocommerce div.product form.cart .button.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--afk-bordeaux-deep); color: #fff; }
.woocommerce div.product .product_meta { display: grid; gap: 4px; margin-top: 18px; font-size: .9rem; color: var(--afk-muted); }
.woocommerce div.product .product_meta > span { display: block; }
.woocommerce div.product .product_meta a { color: var(--afk-ink); }
.afk-product-assurance { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--afk-line); display: grid; gap: 10px; font-size: .95rem; color: var(--afk-muted); }
.afk-product-assurance li { display: flex; gap: 12px; align-items: center; }
.afk-product-assurance .afk-drop { font-size: 14px; }
@media (max-width: 860px) { .woocommerce div.product { grid-template-columns: 1fr; } }

.woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 8px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--afk-line); color: var(--afk-ink); font-weight: 600; padding: 0 12px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--afk-bordeaux); border-color: var(--afk-bordeaux); color: #fff; }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--afk-tint); color: var(--afk-bordeaux); }

/* Messages, formulaires, panier, commande */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top: 0 !important; border-radius: 14px; background: var(--afk-tint) !important; color: var(--afk-ink) !important; padding: 16px 20px 16px 52px !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--afk-bordeaux) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--afk-line); border-radius: 12px; }
.wc-block-components-button:not(.is-link) { border-radius: 999px !important; background: var(--afk-bordeaux) !important; color: #fff !important; font-weight: 700 !important; min-height: 52px; }
.wc-block-components-button:not(.is-link):hover { background: var(--afk-bordeaux-deep) !important; }
.wc-block-components-product-name { color: var(--afk-ink) !important; font-weight: 650; }
.afk-momo-numbers { list-style: none; padding: 12px 16px; margin: 10px 0; background: var(--afk-tint); border-radius: 12px; }
.afk-momo-numbers li { padding: 3px 0; }
.afk-momo { background: var(--afk-tint); border-radius: var(--afk-radius); padding: 24px; margin: 24px 0; }

/* =========================================================================
   8. Pied de page
   ========================================================================= */
.afk-footer { background: var(--afk-bordeaux-deep); color: rgba(255, 255, 255, .8); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .97rem; }
.afk-footer a { color: #fff; text-decoration: none; }
.afk-footer a:hover { text-decoration: underline; }
.afk-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.afk-footer__logo img { height: 56px; width: auto; margin-bottom: 18px; }
.afk-footer h2 { font-size: 1rem; color: #fff; font-stretch: 100%; font-variation-settings: "wdth" 100; letter-spacing: 0; margin-bottom: 14px; }
.afk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.afk-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.afk-footer .afk-hours th, .afk-footer .afk-hours td { border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); padding: 5px 0; font-size: .92rem; }
.afk-footer .afk-hours tr.is-today th, .afk-footer .afk-hours tr.is-today td { color: #fff; }
.afk-social { display: flex; gap: 10px; margin-top: 18px; }
.afk-social a { display: inline-flex; width: 42px; height: 42px; border-radius: 999px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); }
.afk-social a:hover { background: rgba(255, 255, 255, .2); text-decoration: none; }
.afk-social svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .afk-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .afk-footer__grid { grid-template-columns: 1fr; } }

/* Bouton WhatsApp flottant */
.afk-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px 0 14px; height: 54px; border-radius: 999px; background: #1f9d55; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .35); }
.afk-wa-float:hover { background: #167a42; color: #fff; }
.afk-wa-float svg { width: 26px; height: 26px; }
@media (max-width: 560px) { .afk-wa-float span { display: none; } .afk-wa-float { padding: 0; width: 56px; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================================
   Bandeau d'accueil en diaporama : message de la marque, puis produits disponibles à Conakry
   ========================================================================= */
.afk-hero__stage { display: grid; }
.afk-hero__slide { grid-area: 1 / 1; min-width: 0; }
.afk-hero--slider .afk-hero__slide { visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility 0s linear .5s; }
.afk-hero--slider .afk-hero__slide.is-active { visibility: visible; opacity: 1; transition: opacity .5s ease; }
.afk-hero--slider { padding-bottom: clamp(36px, 5vw, 64px); }

.afk-hero__tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff !important; font-size: var(--afk-step--1) !important; font-weight: 600; max-width: none !important; }
.afk-hero__dot { width: 12px; height: 12px; border-radius: 50% 50% 0 50%; background: var(--afk-green); flex: none; }
.afk-hero__brand { margin: 0 0 6px !important; font-size: var(--afk-step--1) !important; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--afk-yellow) !important; }
.afk-hero__title { color: #fff; font-size: var(--afk-step-3); line-height: 1.08; margin: 0 0 .4em; }
.afk-hero__title a { color: inherit; text-decoration: none; }
.afk-hero__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; color: #fff; }
.afk-hero__price { margin: 0 0 30px !important; font-size: var(--afk-step-2) !important; font-weight: 800; color: #fff !important; max-width: none !important; }
.afk-hero__price .amount, .afk-hero__price bdi { color: #fff; }

.afk-hero__mark--product { justify-items: center; }
.afk-hero__mark--product::before, .afk-hero__mark--product::after { display: none; }
.afk-hero__pack {
	display: block; position: relative; width: min(100%, 440px); aspect-ratio: 1; background: #fff;
	border-radius: 50% 50% 0 50%; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.afk-hero__pack img { width: 100%; height: 100%; object-fit: contain; padding: 11%; display: block; }
.afk-hero__mark--product::after {
	display: block; content: ""; width: 22%; aspect-ratio: 1; background: var(--afk-yellow); border-radius: 50% 50% 0 50%;
	transform: scaleY(-1); justify-self: end; margin-top: calc(clamp(10px, 1.6vw, 20px) * -1 - 6%);
}

.afk-hero__nav { display: flex; align-items: center; gap: 14px; margin-top: clamp(24px, 3vw, 40px); }
.afk-hero__arrow {
	width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); transition: background .15s, color .15s;
}
.afk-hero__arrow:hover { background: #fff; color: var(--afk-bordeaux); border-color: #fff; }
.afk-hero__dots { display: flex; align-items: center; gap: 8px; }
.afk-hero__dots button {
	width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .4);
	transition: width .25s ease, background .2s ease;
}
.afk-hero__dots button[aria-current="true"] { width: 34px; background: var(--afk-yellow); }
.afk-hero__dots button:hover { background: rgba(255, 255, 255, .8); }

@media (max-width: 860px) {
	.afk-hero__mark--product { max-width: 320px; margin-inline: auto; }
	.afk-hero__title { font-size: var(--afk-step-2); }
}
@media (prefers-reduced-motion: reduce) {
	.afk-hero--slider .afk-hero__slide, .afk-hero--slider .afk-hero__slide.is-active { transition: none; }
}

/* =========================================================================
   Fil d'Ariane et questions fréquentes (SEO / GEO)
   ========================================================================= */
.afk-crumbs { margin: 0 0 14px; font-size: var(--afk-step--1); }
.afk-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; color: var(--afk-muted); }
.afk-crumbs li + li::before { content: "/"; margin: 0 .6em; opacity: .55; }
.afk-crumbs a { color: var(--afk-muted); text-decoration: none; }
.afk-crumbs a:hover { color: var(--afk-bordeaux); text-decoration: underline; }
.afk-crumbs [aria-current] { color: var(--afk-ink); font-weight: 600; }
.afk-page-head--bx .afk-crumbs, .afk-page-head--bx .afk-crumbs ol, .afk-page-head--bx .afk-crumbs a, .afk-page-head--bx .afk-crumbs [aria-current] { color: rgba(255, 255, 255, .8); }

.afk-faq { margin: 3rem 0 0; }
.afk-faq h2 { margin-bottom: .6em; }
.afk-faq__list { border-top: 2px solid var(--afk-ink); }
.afk-faq__item { border-bottom: 1px solid var(--afk-line); }
.afk-faq__item summary {
	cursor: pointer; list-style: none; position: relative; padding: 18px 44px 18px 0;
	font-weight: 700; font-size: var(--afk-step-1); line-height: 1.3; color: var(--afk-ink);
}
.afk-faq__item summary::-webkit-details-marker { display: none; }
.afk-faq__item summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
	border-right: 2.5px solid var(--afk-bordeaux); border-bottom: 2.5px solid var(--afk-bordeaux); transform: rotate(45deg); transition: transform .2s ease;
}
.afk-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.afk-faq__item summary:hover { color: var(--afk-bordeaux); }
.afk-faq__a { padding: 0 44px 20px 0; color: var(--afk-ink); max-width: 70ch; }
.afk-faq__a p { margin: 0; }
.afk-faq-wrap .afk-faq { margin-top: 0; }
.afk-pickup-note { padding: 14px 18px; border-radius: var(--afk-radius); background: var(--afk-tint); }
