/*
Theme Name: Ivoire PSN
Theme URI: https://ivoire-psn.com
Author: Ivoire PSN
Description: Thème sur mesure pour Ivoire PSN : cartes cadeaux et boutique gaming, commande par WhatsApp. Bleu ciel, blanc et orange.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ivoirepsn
WC requires at least: 8.0
*/

/* ---------- Couleurs et bases ---------- */
:root {
	--sky: #5A9FDB;
	--sky-soft: #EAF4FC;
	--sky-line: #C9DFF3;
	--blue: #2F6FB5;
	--night: #1B2A3A;
	--night-2: #26394D;
	--orange: #BF5317;
	--orange-light: #F29A66;
	--muted: #44576B;
	--line: #E3EEF8;
	--r-s: 12px;
	--r-m: 18px;
	--r-l: 24px;
	--head: 'Poppins', system-ui, sans-serif;
	--body: 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--night); font: 400 15px/1.5 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--night); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0; }
button { font: inherit; }
.ic { flex-shrink: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--night); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.wrap-pad { padding-left: max(16px, calc((100% - 1200px) / 2 + 16px)); padding-right: 16px; }

/* ---------- En-tête ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.site-head__top { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--night); }
.brand__logo { max-height: 40px; width: auto; }
.brand__mark { width: 36px; height: 36px; border-radius: 11px; background: var(--sky); display: flex; align-items: center; justify-content: center; font: 800 15px var(--head); color: var(--night); }
.brand__name { font: 800 20px var(--head); color: var(--night); }
.brand__name em { font-style: normal; color: var(--orange); }
.brand__name--light { color: #fff; }
.brand__name--light em { color: var(--orange-light); }
.site-head__actions { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--night); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; padding: 0; }
.icon-btn--wa { background: var(--orange); color: #fff; }
.icon-btn--wa:hover { color: #fff; background: #A64712; }
.icon-btn--soft { background: var(--sky-soft); }
.site-head__bar { display: flex; align-items: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--sky-soft); border-radius: 999px; padding: 0 16px; height: 46px; color: var(--blue); }
.search input { border: 0; outline: none; flex: 1; min-width: 0; background: transparent; font: 400 15px var(--body); color: var(--night); }
.search:focus-within { box-shadow: 0 0 0 2px var(--sky); }

/* ---------- Rangées défilantes ---------- */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 16px 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex-shrink: 0; }
.rail { scroll-padding-inline: 16px; }
.rail--flush { padding-left: 0; padding-right: 0; scroll-padding-inline: 0; }
@media (min-width: 1232px) { .rail { padding-left: calc((100% - 1200px) / 2 + 16px); padding-right: calc((100% - 1200px) / 2 + 16px); scroll-padding-left: calc((100% - 1200px) / 2 + 16px); } }
.chips { gap: 8px; padding-top: 2px; padding-bottom: 10px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; background: var(--sky-soft); color: var(--night); display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none; }
.chip:hover { background: var(--sky-line); color: var(--night); }
.chip--hot { background: var(--orange); color: #fff; }
.chip--hot:hover { background: #A64712; color: #fff; }

/* ---------- Bannières ---------- */
.hero { padding-top: 14px; }
.slide { width: min(82vw, 560px); border-radius: var(--r-l); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; color: #fff; }
.slide:hover { color: #fff; }
.slide__visual { height: 180px; background: rgba(255,255,255,.14); display: block; }
.slide__visual img { width: 100%; height: 100%; object-fit: cover; }
.slide__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.slide__tag { align-self: flex-start; background: #fff; color: var(--night); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.slide__title { font: 800 20px/1.2 var(--head); }
.slide__text { font-size: 14px; opacity: .92; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.dots span { width: 14px; height: 5px; border-radius: 3px; background: var(--sky-line); transition: width .2s, background .2s; }
.dots span.is-on { width: 22px; background: var(--night); }
@media (min-width: 900px) { .slide__visual { height: 260px; } }

.note { margin: 14px 0 0; border: 1px solid var(--sky-line); border-radius: 999px; min-height: 46px; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--night); }
.note .ic { color: var(--blue); }

/* ---------- Sections ---------- */
.block { padding-top: 26px; }
.block--tint { margin-top: 26px; padding: 22px 0; background: var(--sky-soft); }
.block__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.block__head h2, .block__title { font-weight: 700; font-size: 21px; }
.block__title { margin-bottom: 12px; }
.block__head a { font-size: 14px; font-weight: 600; text-decoration: none; }
.block__sub { margin: -6px auto 12px; color: var(--muted); font-size: 14px; }

/* Catégories */
.rail--cats { gap: 10px; }
.cat { width: 80px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--night); font-size: 12px; font-weight: 500; text-align: center; line-height: 1.25; }
.tile { width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font: 800 15px var(--head); overflow: hidden; }
.tile.has-img { background: var(--sky-soft); }
.tile.has-img img, .mini.has-img img, .brand-hero__tile.has-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .cat, .tile { width: 110px; } .tile { height: 110px; font-size: 18px; } }

/* Univers */
.unis { display: grid; gap: 12px; }
@media (min-width: 900px) { .unis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.uni { border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.uni__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.uni__head b { display: block; font: 800 19px var(--head); }
.uni__head small { display: block; font-size: 13px; margin-top: 2px; }
.uni__go { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.uni__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.uni__pills a { height: 34px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; text-decoration: none; }
.uni--blue { background: var(--blue); color: #fff; }
.uni--blue small { color: #D6E6F5; }
.uni--blue .uni__go { background: #fff; color: var(--blue); }
.uni--blue .uni__pills a { background: rgba(255,255,255,.16); color: #fff; }
.uni--light { background: var(--sky-soft); color: var(--night); }
.uni--light small { color: var(--muted); }
.uni--light .uni__go { background: var(--blue); color: #fff; }
.uni--light .uni__pills a { background: #fff; color: var(--night); }
.uni--dark { background: var(--night); color: #fff; }
.uni--dark small { color: #A9BDD1; }
.uni--dark .uni__go { background: var(--orange); color: #fff; }
.uni--dark .uni__pills a { background: rgba(255,255,255,.12); color: #fff; }

/* Cartes produit */
.pcard { width: 165px; border: 1px solid var(--line); border-radius: var(--r-m); padding: 10px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.block--tint .pcard { border-color: transparent; }
.pcard__img { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--sky-soft); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.giftcard { position: absolute; inset: 0; margin: auto; height: 62%; width: 100%; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; }
.giftcard small { font-size: 10px; font-weight: 700; letter-spacing: .6px; opacity: .9; }
.giftcard b { align-self: flex-end; font: 800 26px var(--head); }
.badge { position: absolute; top: 8px; left: 8px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; }
.badge--static { position: static; align-self: flex-start; }
.pcard__name { font: 600 14px/1.3 var(--body); min-height: 36px; }
.pcard__name a { color: var(--night); text-decoration: none; }
.pcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.pcard__price { display: flex; flex-direction: column; }
.pcard__price del { font-size: 12px; color: #6B7C8F; }
.pcard__price strong { font: 700 15px var(--head); color: var(--blue); }
.wa-sq { width: 40px; height: 40px; border-radius: var(--r-s); background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-sq:hover { background: #A64712; color: #fff; }
@media (min-width: 900px) { .pcard { width: 210px; } }

.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 24px; padding: 0; list-style: none; }
.pgrid .pcard { width: auto; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } }

/* Tutos vidéo */
.vcard { position: relative; width: 150px; height: 250px; border-radius: 22px; padding: 12px; overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; }
.vcard:hover { color: #fff; }
.vcard__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vcard__top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.vcard__tag { background: #fff; color: var(--night); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.vcard__dur { background: rgba(0,0,0,.4); font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.vcard__play { position: relative; align-self: center; width: 56px; height: 56px; border-radius: 999px; background: #fff; color: var(--night); display: flex; align-items: center; justify-content: center; }
.vcard__title { position: relative; font-weight: 700; font-size: 14px; line-height: 1.3; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
@media (min-width: 900px) { .vcard { width: 190px; height: 320px; } }
.vwide { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 210px; margin-top: 14px; border-radius: 20px; overflow: hidden; background: var(--night); color: #fff; text-decoration: none; }
.vwide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.vwide__title { position: relative; font-weight: 700; padding: 0 16px; text-align: center; }
.vwide:hover { color: #fff; }

.vmodal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; }
.vmodal[hidden] { display: none; }
.vmodal__veil { position: absolute; inset: 0; background: rgba(15,24,34,.8); }
.vmodal__box { position: relative; width: min(420px, 100%); }
.vmodal__close { position: absolute; top: -54px; right: 0; }
.vmodal__frame { aspect-ratio: 9 / 16; max-height: 80vh; width: 100%; border-radius: 20px; overflow: hidden; background: #000; }
.vmodal__frame iframe { width: 100%; height: 100%; border: 0; }

/* Étapes et garanties */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.steps li::before { content: counter(s); width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: -4px; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.trust div { background: var(--sky-soft); border-radius: 16px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.3; }
.trust .ic { color: var(--blue); }

/* ---------- Boutons WhatsApp ---------- */
.btn-wa { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 18px; border-radius: 16px; background: var(--orange); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-wa:hover { background: #A64712; color: #fff; }
.btn-wa--big { min-height: 56px; font-size: 16px; }
.wa-hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.pill-btn { height: 40px; padding: 0 14px; border-radius: 999px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pill-btn:hover { color: #fff; background: var(--night); }

/* ---------- Pages marques ---------- */
.wc-page { padding-top: 10px; padding-bottom: 24px; }
.crumbs { font-size: 13px; color: var(--muted); padding: 6px 0 12px; }
.crumbs a { text-decoration: none; }
.page-title { font-size: 26px; font-weight: 800; margin: 8px 0 14px; }
.brand-hero { background: var(--sky); border-radius: 20px; padding: 20px 18px; display: flex; gap: 14px; align-items: flex-start; }
.brand-hero h1 { font-size: 26px; font-weight: 800; }
.brand-hero__tile { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font: 800 15px var(--head); overflow: hidden; }
.brand-hero__text { font-size: 14px; margin-top: 6px; }
.brand-hero__text p { margin: 0 0 6px; }
.pick { padding-top: 20px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.amt { position: relative; min-height: 84px; border-radius: 14px; border: 2px solid var(--sky-line); background: #fff; color: var(--night); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 6px; cursor: pointer; text-align: center; }
.amt__name { font: 800 15px/1.2 var(--head); }
.amt__price { font-size: 13px; font-weight: 600; }
.amt__promo { position: absolute; top: -8px; right: 6px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.amt.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.pick__sum { margin: 14px 0 10px; background: var(--sky-soft); border-radius: 16px; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pick__sum small { display: block; font-size: 13px; color: var(--muted); }
.pick__sum b { font-size: 15px; }
.pick__sum strong { font: 800 20px var(--head); color: var(--blue); white-space: nowrap; }
.faq details { background: var(--sky-soft); border-radius: 14px; padding: 14px; margin-bottom: 8px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 8px 0 0; font-size: 14px; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.shop-bar p { margin: 0; }
.shop-bar select { height: 40px; border-radius: 999px; border: 1px solid var(--sky-line); padding: 0 12px; background: #fff; font: inherit; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; padding: 0; justify-content: center; }
.woocommerce-pagination a, .woocommerce-pagination span { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--sky-soft); text-decoration: none; }
.woocommerce-pagination .current { background: var(--blue); color: #fff; }
.empty { padding: 24px 0; }

/* ---------- Fiche produit ---------- */
.single-product div.product { display: grid; gap: 18px; }
@media (min-width: 900px) { .single-product div.product { grid-template-columns: 1fr 1fr; align-items: start; } .single-product div.product > .woocommerce-tabs, .single-product div.product > .related { grid-column: 1 / -1; } }
.woocommerce-product-gallery { position: relative; border-radius: 20px; overflow: hidden; background: var(--sky-soft); }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: flex; gap: 6px; padding: 8px; margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs li { width: 64px; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 10px; cursor: pointer; }
.woocommerce-product-gallery__trigger { position: absolute; top: 10px; right: 10px; z-index: 2; }
.single-product .onsale { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.product_title { font-size: 24px; font-weight: 800; }
.single-price { margin: 10px 0 14px; display: flex; align-items: baseline; gap: 10px; }
.single-price strong { font: 800 26px var(--head); color: var(--blue); }
.single-price del { color: #6B7C8F; }
.woocommerce-product-details__short-description { font-size: 15px; margin-bottom: 14px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 10px; overflow-x: auto; }
.woocommerce-tabs ul.tabs li a { display: inline-flex; height: 38px; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--sky-soft); text-decoration: none; color: var(--night); font-weight: 600; font-size: 14px; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { background: var(--night); color: #fff; }
.woocommerce-Tabs-panel h2 { font-size: 18px; margin: 10px 0; }
.related > h2 { font-size: 21px; margin: 10px 0; }
.related .pgrid { display: flex; overflow-x: auto; scrollbar-width: none; }
.related .pgrid .pcard { width: 165px; flex-shrink: 0; }
.star-rating { color: var(--orange); }

/* Formulaires (Mon compte) */
.prose { max-width: 820px; }
.prose input[type=text], .prose input[type=email], .prose input[type=password], .prose input[type=tel], .prose textarea, .prose select { width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid var(--sky-line); padding: 10px 12px; font: inherit; }
.prose button, .prose .button { min-height: 46px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--blue); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; background: var(--sky-soft); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }

/* ---------- Menu tiroir ---------- */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer[hidden] { display: none; }
.drawer__veil { position: absolute; inset: 0; background: rgba(15,24,34,.5); }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; animation: slidein .22s ease-out; }
@keyframes slidein { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .drawer__panel { animation: none; } html { scroll-behavior: auto; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer__scroll { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.drawer__account { background: var(--sky-soft); border-radius: 20px; padding: 14px; display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.drawer__hello { flex: 1; min-width: 0; }
.drawer__hello b, .drawer__hello small { display: block; }
.drawer__hello small { color: var(--muted); font-size: 13px; }
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.quick a { background: var(--sky-soft); color: var(--night); border-radius: 16px; padding: 12px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; text-decoration: none; }
.quick a .ic { color: var(--blue); }
.quick .quick--hot { background: #FFF1E8; color: #8A3A0E; }
.quick .quick--hot .ic { color: var(--orange); }
.quick .quick--dark { background: var(--night); color: #fff; }
.quick .quick--dark .ic { color: var(--orange-light); }
.dnav { display: flex; flex-direction: column; gap: 10px; }
.dgroup { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.dgroup__head { width: 100%; border: 0; background: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; cursor: pointer; color: var(--night); text-align: left; text-decoration: none; }
.dgroup__bar { width: 10px; height: 34px; border-radius: 6px; background: var(--blue); flex-shrink: 0; }
.dgroup:nth-child(3n+2) .dgroup__bar { background: var(--sky); }
.dgroup:nth-child(3n) .dgroup__bar { background: var(--orange); }
.dgroup__title { flex: 1; font: 700 17px var(--head); }
.dgroup__head .ic { transition: transform .2s; }
.dgroup.is-open .dgroup__head .ic { transform: rotate(180deg); }
.dgroup--link .dgroup__head .ic { transform: none; }
.dgroup__body { display: none; padding: 0 10px 10px; }
.dgroup.is-open .dgroup__body { display: block; }
.dlist { list-style: none; margin: 0; padding: 0; }
.dlist a { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 14px; color: var(--night); text-decoration: none; font-size: 15px; font-weight: 500; }
.dlist a:hover { background: var(--sky-soft); }
.dlist a span:not(.mini) { flex: 1; }
.dlist a .ic { color: #6B7C8F; }
.mini { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font: 800 12px var(--head); overflow: hidden; }
.help__title { display: block; font-size: 12px; font-weight: 700; letter-spacing: .8px; color: var(--muted); padding: 6px 4px; }
.help ul { list-style: none; margin: 0; padding: 0; }
.help a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--night); text-decoration: none; }
.drawer__country { background: var(--sky-soft); border-radius: 16px; padding: 12px 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 13px; }
body.is-locked { overflow: hidden; }

/* ---------- Pied de page ---------- */
.site-foot { margin-top: 32px; background: var(--night); color: #fff; padding: 28px 0 24px; }
.site-foot__grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .site-foot__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; } }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col p { margin: 0; font-size: 14px; line-height: 1.6; color: #D6E6F5; }
.foot-title { font: 700 13px var(--body); letter-spacing: 1px; color: #8EC3EE; margin-top: 4px; }
.foot-line { display: flex; gap: 10px; align-items: flex-start; color: #fff; text-decoration: none; font-size: 14px; }
.foot-line .ic { color: var(--orange-light); margin-top: 1px; }
a.foot-line:hover { color: var(--orange-light); }
.foot-thanks { background: var(--night-2); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.foot-thanks b { font: 700 17px var(--head); }
.foot-thanks p { margin: 0; font-size: 14px; line-height: 1.6; color: #D6E6F5; }
.site-foot__legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid #33485E; }
.site-foot__legal p { margin: 0 0 6px; font-size: 12px; line-height: 1.5; color: #A9BDD1; }

/* v1.0.1 */
.slide { position: relative; }
.slide__deco { display: flex; justify-content: flex-end; padding: 16px 16px 0; height: 96px; opacity: .25; color: #fff; }
.woocommerce-store-notice { margin: 0; background: var(--night); color: #fff; font-size: 13px; line-height: 1.4; text-align: center; padding: 8px 40px 8px 12px; position: relative; }
.woocommerce-store-notice a { color: var(--orange-light); }
.woocommerce-store-notice__dismiss-link { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 0; width: 28px; height: 28px; }
.woocommerce-store-notice__dismiss-link::before { content: "×"; font-size: 22px; color: #fff; line-height: 28px; display: block; text-align: center; }
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0; }
.woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; }
.woocommerce-product-gallery__image:not(:first-child) img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }

/* ================= v1.1 : en-tête sur une ligne + version ordinateur ================= */
.site-head__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; padding-top: 10px; padding-bottom: 10px; }
.site-head__row .brand { order: 1; }
.site-head__row .site-head__actions { order: 2; margin-left: auto; }
.site-head__row .menu-btn { order: 3; }
.site-head__row .search { order: 4; flex: 1 1 200px; }
.menu-btn { height: 44px; min-width: 44px; border: 0; background: transparent; color: var(--night); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; padding: 0; border-radius: 999px; font-weight: 600; font-size: 15px; }
.menu-btn__label, .icon-btn__label { display: none; }
.chips { padding-top: 0; }

/* Flèches des rangées (ajoutées par main.js sur ordinateur) */
.rail-box { position: relative; }
.rail-arrow { display: none; }

@media (min-width: 1024px) {
	body { font-size: 16px; }
	.site-head__row { flex-wrap: nowrap; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
	.site-head__row .brand, .site-head__row .menu-btn, .site-head__row .search, .site-head__row .site-head__actions { order: 0; }
	.site-head__row .site-head__actions { margin-left: 0; gap: 10px; }
	.site-head__row .search { flex: 1 1 auto; height: 50px; }
	.menu-btn { padding: 0 16px; background: var(--sky-soft); }
	.menu-btn:hover { background: var(--sky-line); }
	.menu-btn__label { display: inline; }
	.icon-btn--wa { width: auto; padding: 0 18px; border-radius: 999px; gap: 8px; font-weight: 600; font-size: 14px; }
	.icon-btn__label { display: inline; white-space: nowrap; }
	.brand__logo { max-height: 46px; }


	/* Rangées : contenues dans 1200 px, avec flèches */
	.rail { padding-left: 16px; padding-right: 16px; scroll-padding-inline: 16px; }
	.rail-box { max-width: 1200px; margin: 0 auto; }
	.rail-arrow { display: flex; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--night); align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(27,42,58,.14); }
	.rail-arrow:hover { background: var(--night); color: #fff; }
	.rail-arrow[disabled] { opacity: 0; pointer-events: none; }
	.rail-arrow--prev { left: -8px; }
	.rail-arrow--next { right: -8px; }
	.rail-arrow--prev .ic { transform: rotate(180deg); }

	/* Bannières : une grande + deux petites, comme une vitrine */
	.hero { max-width: 1200px; margin: 0 auto; padding: 18px 16px 0; }
	.hero .rail-box { max-width: none; }
	.hero .rail--snap { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; overflow: visible; padding: 0; }
	.hero .slide { width: auto; min-height: 190px; }
	.hero .slide:first-child { grid-row: 1 / 3; min-height: 400px; }
	.hero .slide:nth-child(n+4) { display: none; }
	.hero .slide:first-child .slide__title { font-size: 34px; }
	.hero .slide:first-child .slide__text { font-size: 16px; }
	.hero .slide:first-child .slide__visual { height: 290px; }
	.hero .slide:not(:first-child) .slide__visual { height: 110px; }
	.hero .slide:first-child .slide__deco { height: 230px; }
	.hero .slide:not(:first-child) .slide__deco { height: 60px; }
	.hero .slide__body { margin-top: auto; padding: 18px 22px 22px; }
	.hero .dots, .hero .rail-arrow { display: none; }
	.note { max-width: 560px; margin: 18px auto 0; }

	.block { padding-top: 40px; }
	.block__head h2, .block__title { font-size: 26px; }
	.block--tint { margin-top: 40px; padding: 32px 0; }

	/* Catégories : toutes visibles en grille */
	.rail--cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; overflow: visible; max-width: 1200px; margin: 0 auto; }
	.rail--cats .cat { flex: 0 0 calc((100% - (var(--cols, 6) - 1) * 18px) / var(--cols, 6)); max-width: 170px; }
	.rail--cats + .rail-arrow, .rail-box--cats .rail-arrow { display: none; }
	.cat { width: auto; font-size: 13px; }
	.tile { width: 100%; height: auto; aspect-ratio: 1; }
	.cat:hover .tile { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(27,42,58,.14); }
	.tile { transition: transform .15s, box-shadow .15s; }

	/* Cartes produits : 5 visibles par rangée */
	.rail--cards .pcard { width: calc((1200px - 32px - 4 * 16px) / 5); }
	.rail--cards { gap: 16px; }
	.pcard { transition: box-shadow .15s, transform .15s; }
	.pcard:hover { box-shadow: 0 12px 28px rgba(27,42,58,.12); transform: translateY(-2px); }
	.pcard__name { font-size: 15px; }
	.pcard__price strong { font-size: 17px; }

	/* Tutos : 5 visibles */
	.rail--videos { gap: 16px; }
	.rail--videos .vcard { width: calc((1200px - 32px - 4 * 16px) / 5); height: 360px; }
	.vcard:hover .vcard__play { transform: scale(1.08); }
	.vcard__play { transition: transform .15s; }

	/* Comment ça marche : 3 colonnes */
	#comment .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	#comment .steps li { background: var(--sky-soft); border-radius: 20px; padding: 20px; }
	.trust div { flex-direction: row; justify-content: center; font-size: 14px; padding: 16px; }

	/* Page marque : montants à gauche, récapitulatif collant à droite */
	.brand-hero { padding: 28px 30px; align-items: center; }
	.brand-hero h1 { font-size: 34px; }
	.brand-hero__tile { width: 80px; height: 80px; font-size: 20px; }
	.pick { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0 28px; align-items: start; }
	.pick > .block__title { grid-column: 1; grid-row: 1; }
	.pick > .tiles { grid-column: 1; grid-row: 2; }
	.pick__side { grid-column: 2; grid-row: 1 / 3; position: sticky; top: 130px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 10px 30px rgba(27,42,58,.08); }
	.pick__side .pick__sum { margin-top: 0; }
	.tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
	.amt { min-height: 100px; }
	.amt:hover { border-color: var(--blue); }
	.guide, .faq { max-width: 820px; }

	/* Fiche produit */
	.single-product div.product { gap: 40px; }
	.product_title { font-size: 32px; }
	.single-product .summary { position: sticky; top: 120px; }
	.related .pgrid .pcard { width: calc((1200px - 32px - 4 * 16px) / 5); }

	/* Pied de page */
	.site-foot { padding: 44px 0 30px; margin-top: 56px; }
}
@media (min-width: 1024px) and (max-width: 1231px) {
	.rail--cards .pcard, .rail--videos .vcard, .related .pgrid .pcard { width: calc((100vw - 32px - 3 * 16px) / 4.3); }
}

/* ================= v1.2 ================= */
.row-title { display: flex; align-items: center; gap: 10px; }
.row-title .mini { width: 34px; height: 34px; border-radius: 10px; font-size: 11px; }
.dgroup__title small { display: block; font: 400 13px var(--body); color: var(--muted); margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: var(--night); border-radius: 24px; padding: 18px; color: #fff; }
.stats div { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.stats b { font: 800 26px var(--head); color: var(--orange-light); }
.stats span { font-size: 13px; color: #D6E6F5; }
.review { margin: 0; width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.review__stars { color: var(--orange); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 14px; line-height: 1.5; }
.review figcaption b { display: block; font-size: 14px; }
.review figcaption small { color: var(--muted); font-size: 12px; }
.faq--home details { max-width: 820px; }
@media (min-width: 1024px) {
	.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 28px; }
	.stats b { font-size: 34px; }
	.review { width: calc((1200px - 32px - 3 * 16px) / 4); }
	.row-title .mini { width: 40px; height: 40px; }
}

/* ================= v1.3 : menu du haut ================= */
.topnav { border-top: 1px solid var(--line); }
.topnav__in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 16px; }
.topnav__in::-webkit-scrollbar { display: none; }
.tn-link, .tn-btn { flex-shrink: 0; height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--sky-soft); color: var(--night); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none; cursor: pointer; }
.tn-link--hot { background: var(--orange); color: #fff; }
.tn-link--hot:hover { background: #A64712; color: #fff; }
.tn-link--end { display: none; }
.tn-btn .ic { transition: transform .2s; }
.tn-panel { display: none; }

@media (min-width: 1024px) {
	.topnav__in { max-width: 1200px; margin: 0 auto; overflow: visible; padding: 0 16px; gap: 4px; align-items: stretch; }
	.tn-item { position: relative; }
	.tn-link, .tn-btn { height: 48px; background: transparent; border-radius: 0; padding: 0 14px; font-size: 15px; border-bottom: 3px solid transparent; }
	.tn-link:hover, .tn-btn:hover, .tn-item.is-open .tn-btn { color: var(--blue); border-bottom-color: var(--blue); }
	.tn-link--hot { background: transparent; color: var(--orange); }
	.tn-link--hot:hover { background: transparent; color: #A64712; border-bottom-color: var(--orange); }
	.tn-link--end { display: inline-flex; margin-left: auto; color: var(--muted); }
	.tn-item.is-open .tn-btn .ic { transform: rotate(180deg); }
	.tn-panel { position: absolute; top: 100%; left: 0; z-index: 40; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px rgba(27,42,58,.16); padding: 16px; margin-top: 6px; }
	.tn-item.is-open .tn-panel { display: block; animation: tnin .14s ease-out; }
	@keyframes tnin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
	.tn-panel--2 { min-width: 560px; }
	.tn-panel--2 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tn-panel__title { display: block; font: 700 17px var(--head); padding: 2px 8px 10px; }
	.tn-panel__title small { display: block; font: 400 13px var(--body); color: var(--muted); margin-top: 2px; }
	.tn-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
	.tn-panel a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; text-decoration: none; color: var(--night); font-weight: 600; font-size: 14px; }
	.tn-panel a:hover { background: var(--sky-soft); }
	.tn-panel a small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
}

/* ================= v1.4 : palette plus douce et plus ordonnée =================
   Règle : fond blanc, surfaces bleu très pâle, un seul accent (bleu),
   l'orange uniquement pour l'action principale « Commander sur WhatsApp ». */
:root { --soft: #F5F9FD; --sky-soft: #EEF5FC; --line: #E6EEF6; --sky-line: #D5E5F4; }
body { color: #22303F; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; }
.site-head { box-shadow: 0 1px 0 var(--line); border-bottom: 0; }
.brand__mark { background: var(--blue); color: #fff; }
.search { background: var(--soft); border: 1px solid var(--line); }
.icon-btn--wa { background: var(--orange); }

/* Menu du haut : neutre, l'accent seulement au survol */
.tn-link, .tn-btn { background: var(--soft); }
.tn-link--hot { background: #FFF1E6; color: #A64712; }
@media (min-width: 1024px) { .tn-link, .tn-btn, .tn-link--hot { background: transparent; } .tn-link--hot { color: #A64712; } }

/* Bannières : une bleue, les autres claires */
.slide { color: var(--night); }
.slide:hover { color: var(--night); }
.slide--a { background: linear-gradient(135deg, #5A9FDB 0%, #2F6FB5 100%); color: #fff; }
.slide--a:hover { color: #fff; }
.slide--b { background: var(--sky-soft); }
.slide--c { background: #FFF4EC; }
.slide--b .slide__tag, .slide--c .slide__tag { background: #fff; }
.slide--a .slide__tag { background: rgba(255,255,255,.95); }
.slide__deco { opacity: .18; color: currentColor; }
.slide__title { font-weight: 700; }

/* Note et garanties */
.note { background: var(--soft); border-color: var(--line); }
.trust div { background: var(--soft); border: 1px solid var(--line); }

/* Tuiles catégories : douces, bordure fine */
.tile, .mini, .brand-hero__tile { border: 1px solid rgba(27,42,58,.05); }
.tile.has-img, .mini.has-img { background: #fff; }

/* Univers : trois cartes claires et cohérentes */
.uni { border: 1px solid var(--line); }
.uni--a { background: var(--sky-soft); color: var(--night); }
.uni--b { background: #fff; color: var(--night); }
.uni--c { background: var(--soft); color: var(--night); }
.uni small { color: var(--muted); }
.uni__go { background: var(--blue); color: #fff; }
.uni__pills a { background: #fff; color: var(--night); border: 1px solid var(--line); }
.uni--b .uni__pills a { background: var(--soft); }
.uni__pills a:hover { border-color: var(--blue); color: var(--blue); }

/* Cartes produits : bouton WhatsApp discret, orange au survol */
.pcard { border-color: var(--line); box-shadow: 0 1px 2px rgba(27,42,58,.04); }
.pcard__img { background: var(--soft); }
.wa-sq { background: var(--sky-soft); color: var(--blue); }
.wa-sq:hover { background: var(--orange); color: #fff; }
.badge { background: #FFF1E6; color: #A64712; }
.pcard__price strong { color: var(--night); }
.amt__promo { background: #FFF1E6; color: #A64712; }

/* Fonds teintés plus légers */
.block--tint { background: var(--soft); }

/* Guides : pastels */
.vcard--soft { color: var(--night); border: 1px solid rgba(27,42,58,.05); }
.vcard--soft:hover { color: var(--night); }
.vcard--soft .vcard__play { background: #fff; color: var(--blue); box-shadow: 0 4px 14px rgba(27,42,58,.08); }
.vcard--soft .vcard__dur { background: rgba(255,255,255,.8); color: var(--night); }
.vcard--soft .vcard__title { text-shadow: none; }

/* Chiffres : bandeau clair */
.stats { background: var(--sky-soft); color: var(--night); border: 1px solid var(--line); }
.stats b { color: var(--blue); }
.stats span { color: var(--muted); }

/* Avis */
.review { box-shadow: 0 1px 2px rgba(27,42,58,.04); }

/* Pages marques */
.brand-hero { background: var(--sky-soft); border: 1px solid var(--line); }
.amt { border-color: var(--line); }
.amt.is-on { background: var(--sky-soft); border-color: var(--blue); color: var(--night); box-shadow: inset 0 0 0 1px var(--blue); }
.amt.is-on .amt__price { color: var(--blue); }
.pick__sum { background: var(--soft); border: 1px solid var(--line); }
.faq details { background: var(--soft); border: 1px solid var(--line); }
.steps li::before { background: var(--sky-soft); color: var(--blue); border: 1px solid var(--sky-line); }

/* Menu tiroir */
.quick .quick--dark { background: var(--sky-soft); color: var(--night); }
.quick .quick--dark .ic { color: var(--blue); }
.dgroup__bar { background: var(--sky) !important; width: 6px; }

/* Pied de page clair */
.site-foot { background: var(--soft); color: var(--night); border-top: 1px solid var(--line); }
.foot-col p, .foot-thanks p { color: var(--muted); }
.foot-title { color: var(--blue); }
.foot-line { color: var(--night); }
.foot-line .ic { color: var(--blue); }
a.foot-line:hover { color: var(--blue); }
.foot-thanks { background: #fff; border: 1px solid var(--line); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-links a { color: var(--night); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--blue); }
.site-foot__legal { border-top-color: var(--line); }
.site-foot__legal p { color: var(--muted); }
.badge--static { background: #FFF1E6; color: #A64712; }
@media (min-width: 900px) { .site-foot__grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }

/* ================= v1.5 ================= */
/* Bannières produits : la photo du produit sur fond blanc */
.slide__visual { background: #fff; }
.slide__visual img { object-fit: contain; padding: 10px; }

/* Guide parents */
.parents__box { display: grid; gap: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 18px; }
.parents__kicker { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--blue); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .3px; }
.parents__intro h2 { font-size: 22px; margin: 10px 0 6px; }
.parents__intro p { margin: 0 0 14px; color: var(--muted); }
.pvideo { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #5A9FDB, #2F6FB5); color: #fff; text-decoration: none; }
.pvideo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pvideo .vcard__play, .pvideo__label { position: relative; }
.pvideo__label { font-weight: 700; font-size: 14px; background: rgba(0,0,0,.35); padding: 4px 12px; border-radius: 999px; }
.pvideo:hover { color: #fff; }
.pvideo--soon { opacity: .85; }
.parents__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.parents__cta .btn-wa { min-height: 46px; font-size: 14px; }
.link-more { font-weight: 600; font-size: 14px; }
.parents__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.parents__points li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.parents__points b { display: block; color: var(--night); font-size: 15px; margin-bottom: 2px; }
.parents__ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--sky-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) {
	.parents__box { grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px; align-items: start; }
	.parents__intro h2 { font-size: 28px; }
}

/* ================= Mode sombre automatique (suit le réglage du téléphone) ================= */
:root { color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
	:root {
		--sky: #6EAEE6; --blue: #7DB6EE; --night: #E8EEF5; --night-2: #1E2A38;
		--muted: #9FB0C3; --line: #253447; --sky-line: #2E4157; --sky-soft: #172434; --soft: #121C28;
		--orange: #D9662A; --orange-light: #F29A66;
	}
	body { background: #0D141D; color: #DCE5EE; }
	a:hover { color: #fff; }
	.site-head, .drawer__panel, .dgroup__head, .tn-panel, .pcard, .review, .amt, .pick__side, .uni--b, .foot-thanks, .parents__points li, .parents__kicker, .slide--b .slide__tag, .slide--c .slide__tag, .slide__visual, .tile.has-img, .mini.has-img, .uni__pills a, .vcard--soft .vcard__play, .shop-bar select { background: #111A25; }
	.site-head { box-shadow: 0 1px 0 var(--line); }
	.search input, .prose input, .prose textarea, .prose select { color: var(--night); background: transparent; }
	.brand__mark { color: #0D141D; }
	.icon-btn, .menu-btn { color: var(--night); }
	.slide--c { background: #2A1F18; }
	.slide--a { background: linear-gradient(135deg, #2F6FB5, #1D4E86); }
	.slide__visual { background: #F3F6F9; }
	.slide__tag { color: #0D141D; }
	.slide--b .slide__tag, .slide--c .slide__tag { color: var(--night); }
	.badge, .amt__promo, .badge--static, .tn-link--hot, .quick .quick--hot { background: #3A2418; color: #F6B48B; }
	@media (min-width: 1024px) { .tn-link--hot { background: transparent; color: #F6B48B; } }
	.wa-sq { background: #1B2B3D; color: var(--blue); }
	.btn-wa, .icon-btn--wa, .wa-sq:hover { background: var(--orange); color: #fff; }
	.pcard__price del { color: #7F90A3; }
	.giftcard { filter: saturate(.9) brightness(.92); }
	.tile:not(.has-img), .mini:not(.has-img), .brand-hero__tile:not(.has-img) { filter: brightness(.9); }
	.dlist a:hover, .tn-panel a:hover, .chip:hover { background: #1B2B3D; color: var(--night); }
	.drawer__veil, .vmodal__veil { background: rgba(0,0,0,.65); }
	.woocommerce-store-notice { background: #172434; }
	.woocommerce-product-gallery { background: #F3F6F9; }
	img { opacity: .96; }
	.uni__go, .pill-btn, .woocommerce-pagination .current, .prose button, .prose .button, .woocommerce-tabs ul.tabs li.active a, .skip { color: #0D141D; }
	.rail-arrow { background: #111A25; color: var(--night); border-color: var(--line); }
	.rail-arrow:hover { background: var(--blue); color: #0D141D; }
	.steps li::before { color: var(--blue); }
}

/* ================= v1.6 ================= */
/* Menu du haut sur téléphone : la liste s'ouvre juste en dessous */
.topnav { position: relative; }
@media (max-width: 1023px) {
	.topnav__in, .tn-item { position: static; }
	.tn-item.is-open .tn-btn { background: var(--blue); color: #fff; }
	.tn-item.is-open .tn-btn .ic { transform: rotate(180deg); }
	.tn-item.is-open .tn-panel { display: block; position: absolute; left: 12px; right: 12px; top: calc(100% - 4px); z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 36px rgba(27,42,58,.16); padding: 8px; animation: tnin .14s ease-out; }
	@keyframes tnin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
	.tn-panel__title { display: none; }
	.tn-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
	.tn-panel a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--night); font-weight: 600; font-size: 13px; line-height: 1.25; }
	.tn-panel a:hover, .tn-panel a:active { background: var(--sky-soft); }
	.tn-panel .mini { width: 34px; height: 34px; border-radius: 10px; font-size: 10px; }
	.tn-panel a small { display: none; }
}

/* Pied de page classique : sombre, plus grand, moins de texte */
.site-foot { background: #1B2A3A; color: #fff; border-top: 0; padding: 36px 0 26px; }
.site-foot .brand__name { font-size: 24px; color: #fff; }
.site-foot .brand__name em { color: #F29A66; }
.foot-col { gap: 12px; }
.foot-col p { font-size: 16px; line-height: 1.6; color: #D6E6F5; }
.foot-title { font-size: 14px; color: #8EC3EE; }
.foot-line { font-size: 16px; color: #fff; }
.foot-line .ic { color: #F29A66; }
a.foot-line:hover { color: #F29A66; }
.foot-line--big { font-size: 20px; font-weight: 700; }
.foot-links { gap: 10px; }
.foot-links a { color: #fff; font-size: 16px; }
.foot-links a:hover { color: #F29A66; }
.site-foot .badge--static { background: rgba(242,154,102,.16); color: #F6B48B; font-size: 12px; }
.site-foot__legal { border-top-color: #33485E; }
.site-foot__legal p { color: #A9BDD1; font-size: 13px; }
@media (min-width: 900px) { .site-foot__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } }

@media (prefers-color-scheme: dark) {
	.tn-item.is-open .tn-panel { background: #111A25; }
	.tn-item.is-open .tn-btn { color: #0D141D; }
	.site-foot { background: #0A1018; border-top: 1px solid var(--line); }
}
/* Images de catégories : logo entier, centré, jamais coupé */
.tile.has-img img, .mini.has-img img, .brand-hero__tile.has-img img { object-fit: contain; padding: 10%; }

/* ================= v1.7 : visuels uniformes ================= */
/* Carte cadeau dessinée : même format, même cadrage pour tous les produits */
.gc { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--gc-bg); }
.gc__card { position: relative; width: 84%; aspect-ratio: 1.586; border-radius: 12px; padding: 9% 9% 8%; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden;
	background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 55%), linear-gradient(135deg, var(--gc) 0%, color-mix(in srgb, var(--gc) 72%, #000) 100%);
	box-shadow: 0 10px 22px color-mix(in srgb, var(--gc) 30%, transparent), 0 2px 4px rgba(0,0,0,.08); }
.gc__card::after { content: ""; position: absolute; right: -18%; bottom: -38%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 10px solid rgba(255,255,255,.10); }
.gc__top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.gc__brand { font: 700 11px/1.1 var(--head); letter-spacing: .2px; }
.gc__chip { font-size: 9px; font-weight: 700; letter-spacing: .5px; background: rgba(255,255,255,.2); padding: 2px 6px; border-radius: 999px; }
.gc__amount { font: 800 28px/1 var(--head); letter-spacing: -.02em; }
.gc__amount--text { font-size: 15px; line-height: 1.15; }
.gc__foot { font-size: 9px; font-weight: 600; opacity: .85; }
.pcard__img { aspect-ratio: 1 / 1; }
.pcard__img .giftcard { display: none; }
/* Photos de produits physiques : même cadre, fond blanc, rien de coupé */
.pcard__img > img { object-fit: contain; padding: 8%; background: #fff; }
@media (min-width: 1024px) { .gc__amount { font-size: 32px; } .gc__brand { font-size: 12px; } }

/* Grande version sur la fiche produit */
.gc-single { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; }
.gc--big .gc__card { width: 78%; border-radius: 18px; }
.gc--big .gc__brand { font-size: 18px; }
.gc--big .gc__chip { font-size: 12px; padding: 4px 10px; }
.gc--big .gc__amount { font-size: clamp(40px, 9vw, 64px); }
.gc--big .gc__foot { font-size: 13px; }

/* Vignettes de catégories homogènes : icône + nom de marque */
.is-uniform { background: var(--gc-bg) !important; color: var(--gc) !important; border: 1px solid color-mix(in srgb, var(--gc) 14%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.tile.is-uniform { padding: 8px; }
.tile__word { font: 700 12px/1.1 var(--head); text-align: center; letter-spacing: -.01em; }
@media (min-width: 1024px) { .tile__word { font-size: 14px; } }
.cat:hover .tile.is-uniform { border-color: var(--gc); }

@media (prefers-color-scheme: dark) {
	.gc { background: color-mix(in srgb, var(--gc) 16%, #0D141D); }
	.is-uniform { background: color-mix(in srgb, var(--gc) 18%, #0D141D) !important; color: color-mix(in srgb, var(--gc) 55%, #fff) !important; }
	.pcard__img > img { background: #F3F6F9; }
}

/* Badge promo au-dessus de la carte dessinée */
.pcard__img .badge { z-index: 2; top: 6px; left: 6px; }
/* Guide parents : cartes qui défilent sur téléphone */
@media (max-width: 1023px) {
	.parents__points { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; margin: 0 -18px; padding: 0 18px 4px; }
	.parents__points::-webkit-scrollbar { display: none; }
	.parents__points li { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ================= v1.8 : logo ================= */
.brand { gap: 9px; }
.brand__svg { display: block; flex-shrink: 0; filter: drop-shadow(0 3px 6px rgba(47,111,181,.22)); }
.brand__name { font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 1024px) { .site-head__row .brand__svg { width: 42px; height: 42px; } .site-head__row .brand__name { font-size: 22px; } }
.site-foot .brand__svg { width: 44px; height: 44px; }
@media (prefers-color-scheme: dark) { .brand__name { color: #fff; } }

/* Logo manette « IVOIRE PSN » */
.brand__badge { display: block; height: 40px; width: auto; flex-shrink: 0; filter: drop-shadow(0 4px 8px rgba(47,111,181,.22)); }
.brand__badge text { font-family: 'Poppins', system-ui, sans-serif; }
@media (min-width: 1024px) { .site-head__row .brand__badge { height: 46px; } }
.site-foot .brand__badge { height: 78px; }
.drawer__head .brand__badge { height: 34px; }

/* Vente en ligne (interrupteur) */
.pcard__foot { gap: 6px; }
.cart-sq { width: 40px; height: 40px; border-radius: var(--r-s); background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-left: auto; }
.cart-sq:hover { background: var(--night); color: #fff; }
.cart-sq.added { background: #1E7A3C; }
.pcard__foot .added_to_cart { display: none; }
.buy-online { margin: 0 0 12px; }
.buy-online form.cart { display: flex; gap: 10px; align-items: center; }
.buy-online .quantity input { width: 64px; height: 50px; border-radius: 12px; border: 1px solid var(--sky-line); text-align: center; font: inherit; }
.buy-online .single_add_to_cart_button { flex: 1; min-height: 50px; border: 0; border-radius: 16px; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.buy-online .single_add_to_cart_button:hover { background: var(--night); }
@media (prefers-color-scheme: dark) { .cart-sq, .buy-online .single_add_to_cart_button { color: #0D141D; } }

/* ================= v2.1 : carrousel de bannières qui défile partout ================= */
.slide--image { padding: 0; background: #0A1B36; aspect-ratio: 16 / 9; box-shadow: 0 10px 28px rgba(27,42,58,.18); border: 1px solid rgba(90,159,219,.25); }
.slide--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide--image:hover img { transform: scale(1.01); }
.slide--image img { transition: transform .4s ease; }
.dots span { cursor: pointer; }
.slide { width: min(88vw, 560px); }
@media (min-width: 1024px) {
	/* Une grande bannière à la fois, la suivante dépasse un peu : on voit qu'il y en a d'autres */
	.hero .rail--snap { display: flex; overflow-x: auto; gap: 16px; padding: 0; }
	.hero .slide, .hero .slide:first-child { width: calc(100% - 120px); min-height: 0; grid-row: auto; }
	.hero .slide:nth-child(n+4) { display: flex; }
	.hero .slide:not(.slide--image) { aspect-ratio: 16 / 7; }
	.hero .slide:not(.slide--image) .slide__visual { height: 62%; }
	.hero .slide:not(.slide--image) .slide__title { font-size: 34px; }
	.hero .dots { display: flex; margin-top: 12px; }
	.hero .rail-box { max-width: none; }
	.hero .rail-arrow { display: flex; }
	.hero .rail-arrow--prev { left: 10px; }
	.hero .rail-arrow--next { right: 10px; }
}
