/* V15-AF — finitions publiques sans intervention sur le catalogue ni la commande */
*{box-sizing:border-box}
body.pc-premium-home #catalogue #products>.card[hidden],
body.pc-premium-home #catalogue #products>.card.pc-af-search-hidden{display:none!important;visibility:hidden!important}
body.pc-premium-home #pc-premium-search-status{display:block;margin:18px auto;padding:12px 18px;max-width:700px;text-align:center;background:#241408;border:1px solid #d28b39;border-radius:10px;color:#ffdfb2;font-weight:700}
body.pc-premium-home #pc-premium-search-status[hidden]{display:none!important}
/* Grille à deux colonnes : aucune collision marque / recherche / compte. */
body.pc-premium-home>header.pc-premium-header{
 display:grid!important;grid-template-areas:"brand actions" "search search" "nav nav"!important;
 grid-template-columns:minmax(0,1fr) minmax(0,max-content)!important;
 align-items:center!important;gap:10px 18px!important;
 padding:12px clamp(14px,2.5vw,45px) 0!important;
}
body.pc-premium-home>header.pc-premium-header>.brand{
 grid-area:brand!important;display:flex!important;align-items:center!important;min-width:0!important;
 gap:14px!important;white-space:normal!important;max-width:100%!important;font-size:clamp(22px,2.5vw,34px)!important;
}
body.pc-premium-home>header.pc-premium-header>.brand>span{min-width:0!important;overflow-wrap:anywhere!important}
body.pc-premium-home>header.pc-premium-header>.pc-premium-search{
 grid-area:search!important;width:100%!important;max-width:none!important;min-width:0!important;
 margin:0!important;justify-self:stretch!important;position:relative!important;
}
body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions{
 grid-area:actions!important;min-width:0!important;max-width:100%!important;
 justify-self:end!important;display:flex!important;flex-wrap:nowrap!important;gap:8px!important;
}
body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions>.pc-v15aa-action{min-width:0!important;flex:0 1 auto!important}
body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions .pc-v15aa-action-label{white-space:normal!important}
body.pc-premium-home>header.pc-premium-header>.pc-premium-navigation{grid-area:nav!important;min-width:0!important}
body.pc-premium-home .pc-premium-search button{flex:0 0 auto!important;white-space:nowrap!important}
body.pc-premium-home .pc-premium-search input{min-width:0!important}
/* Le bandeau d'indisponibilité reste honnête jusqu'au feu vert commercial. */
body.pc-premium-home .preview{color:#ffe3ae!important;background:#231408!important;border-color:#bd7e39!important}
body.pc-premium-home .pc-af-public-note{color:#e4c5a3!important}
@media(max-width:900px){
 body.pc-premium-home>header.pc-premium-header{grid-template-areas:"brand" "actions" "search" "nav"!important;grid-template-columns:minmax(0,1fr)!important}
 body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions{width:100%!important;justify-self:stretch!important;justify-content:space-around!important}
 body.pc-premium-home>header.pc-premium-header>.pc-premium-navigation{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:520px){
 body.pc-premium-home>header.pc-premium-header>.brand{font-size:clamp(20px,6vw,28px)!important}
 body.pc-premium-home>header.pc-premium-header>.brand img{width:54px!important;height:54px!important}
 body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions .pc-v15aa-action-label{font-size:11px!important}
 body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions .pc-v15ab-icon{width:19px!important;height:19px!important}
 body.pc-premium-home>header.pc-premium-header>.pc-premium-navigation{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.pc-premium-home .pc-premium-search input{font-size:13px!important}
}
/* Pages client et suivi publiques : style unique, sans widget de démonstration. */
body.pc-af-page{margin:0;min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 50% -10%,#3c2112 0,#180d08 45%,#0e0805 100%);color:#ffe9cb;font:16px/1.55 system-ui,Arial,sans-serif}
.pc-af-page a{color:#ffd096}
.pc-af-page-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px clamp(16px,4vw,60px);border-bottom:1px solid #bd7c3b;background:#100906}
.pc-af-brand{display:flex;align-items:center;gap:12px;font:italic 700 clamp(20px,2.8vw,30px) Georgia,serif;text-decoration:none!important}
.pc-af-brand img{object-fit:contain;flex:0 0 auto}
.pc-af-page-header nav{display:flex;flex-wrap:wrap;gap:15px}
.pc-af-main{width:min(1100px,calc(100% - 32px));margin:42px auto 72px;flex:1}
.pc-af-main h1{font:italic 700 clamp(30px,4vw,52px) Georgia,serif;color:#ffe5ba}
.pc-af-panel,.pc-af-tile{display:block;padding:22px;border-radius:12px;background:linear-gradient(140deg,#2c190f,#170e09);border:1px solid #bb823f;color:#ffe4c2}
.pc-af-panel{margin:24px 0}
.pc-af-panel h2,.pc-af-tile h2{font:italic 700 24px Georgia,serif;margin:0 0 10px}
.pc-af-notice{padding:13px 17px;border:1px solid #b78443;border-radius:8px;background:#332013;color:#ffe4b7}
.pc-af-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pc-af-tile{text-decoration:none!important;min-height:160px}
.pc-af-tile p{color:#e5c8a8}
.pc-af-tile span{font-size:13px;font-weight:700;color:#ffba62}
.pc-af-tile-locked{opacity:.78}
.pc-af-button{display:inline-block!important;padding:12px 19px;background:linear-gradient(#ffcc7a,#ee9d34);color:#1c1007!important;border-radius:8px;font-weight:800;text-decoration:none!important}
.pc-af-footer{padding:20px 28px;border-top:1px solid #bb7b38;display:flex;flex-wrap:wrap;gap:22px;justify-content:center;background:#110805}
@media(max-width:680px){.pc-af-page-header{flex-direction:column;align-items:flex-start}.pc-af-tiles{grid-template-columns:1fr}.pc-af-main{margin:24px auto 40px}}

/* V15-AF.1 : fond d'atelier discret sur la GAUCHE de la banniere.
   Seule la texture decorative change. Texte, diaporama, produits et paiements intacts. */
body.pc-premium-home main>.hero::before,
body.pc-premium-home.pc-theme-active main>.hero::before{
 content:""!important;
 display:block!important;
 position:absolute!important;
 top:0!important;left:0!important;right:auto!important;bottom:0!important;
 width:58%!important;height:100%!important;
 pointer-events:none!important;z-index:2!important;
 opacity:.82!important;box-shadow:none!important;filter:none!important;
 background-image:
   linear-gradient(90deg,rgba(8,4,3,.34) 0%,rgba(10,5,4,.39) 40%,rgba(10,5,4,.58) 72%,#0c070600 100%),
   linear-gradient(0deg,rgba(8,4,3,.32),transparent 38%,rgba(8,4,3,.14)),
   url('/phoenix-af1-hero-left.webp')!important;
 background-repeat:no-repeat!important;
 background-size:100% 100%,100% 100%,cover!important;
 background-position:center,center,left center!important;
}
/* Garder la devise au premier plan et le diaporama cliquable. */
body.pc-premium-home main>.hero .pc-premium-hero-copy{z-index:7!important}
body.pc-premium-home main>.hero #pc-premium-gallery{z-index:8!important}
@media(max-width:760px){
 body.pc-premium-home main>.hero::before,
 body.pc-premium-home.pc-theme-active main>.hero::before{
  width:100%!important;opacity:.43!important;
  background-position:center,center,left center!important;
 }
}


/* V15-AF.2 — corrections groupees : compaction des résultats et lisibilite 100 % */
/* Les cartes visibles se replacent dans les premieres cases sans ligne fantome. */
body.pc-premium-home #catalogue #products.grid.pc-af-filter-active{
 display:grid!important;grid-auto-flow:row dense!important;grid-auto-rows:max-content!important;
 align-content:start!important;justify-content:stretch!important;align-items:start!important;
 grid-template-rows:none!important;min-height:0!important;height:auto!important;
}
body.pc-premium-home #catalogue #products.grid.pc-af-filter-active>.card:not([hidden]):not(.pc-af-search-hidden){
 grid-column:auto!important;grid-row:auto!important;align-self:start!important;
 margin:0!important;min-width:0!important;height:auto!important;
}
body.pc-premium-home #catalogue #products.grid>.card.pc-af-search-hidden,
body.pc-premium-home #catalogue #products.grid>.card[hidden]{
 display:none!important;visibility:hidden!important;position:static!important;
}
body.pc-premium-home #catalogue .sectionhead{min-width:0!important}
body.pc-premium-home #pc-premium-search-status{width:fit-content;max-width:100%;overflow-wrap:anywhere}
/* Neutralise les placements explicites herites des nombreuses anciennes feuilles. */
body.pc-premium-home>header.pc-premium-header{
 width:100%!important;max-width:100%!important;
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,auto)!important;
 grid-template-rows:auto auto auto!important;gap:10px 16px!important;
 min-width:0!important;overflow:visible!important;align-items:center!important;
 padding:12px clamp(14px,2vw,36px) 0!important;
}
body.pc-premium-home>header.pc-premium-header>.brand{
 grid-area:auto!important;grid-column:1!important;grid-row:1!important;
 justify-self:start!important;width:auto!important;max-width:100%!important;
 min-width:0!important;overflow:hidden!important;
 font-size:clamp(23px,2.3vw,36px)!important;
}
body.pc-premium-home>header.pc-premium-header>.brand img{
 width:clamp(62px,6.4vw,92px)!important;height:clamp(62px,6.4vw,92px)!important;
 object-fit:contain!important;flex:0 0 auto!important;
}
body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions{
 grid-area:auto!important;grid-column:2!important;grid-row:1!important;
 display:flex!important;align-items:stretch!important;flex-wrap:wrap!important;
 justify-content:flex-end!important;justify-self:end!important;
 width:auto!important;max-width:100%!important;min-width:0!important;gap:8px!important;
}
body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions .pc-v15aa-action{
 width:auto!important;min-width:0!important;max-width:100%!important;
 min-height:52px!important;padding:8px 10px!important;
}
body.pc-premium-home>header.pc-premium-header>.pc-premium-search{
 grid-area:auto!important;grid-column:1/-1!important;grid-row:2!important;
 width:100%!important;min-width:0!important;max-width:none!important;
 position:relative!important;z-index:2!important;margin:0!important;
}
body.pc-premium-home>header.pc-premium-header>.pc-premium-search input{
 flex:1 1 auto!important;width:100%!important;min-width:0!important;
}
body.pc-premium-home>header.pc-premium-header>.pc-premium-navigation{
 grid-area:auto!important;grid-column:1/-1!important;grid-row:3!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 position:relative!important;display:flex!important;flex-wrap:wrap!important;
 justify-content:space-between!important;align-items:center!important;
 overflow:visible!important;gap:0!important;
}
body.pc-premium-home>header.pc-premium-header>.pc-premium-navigation>a{
 flex:1 1 150px!important;min-width:0!important;text-align:center!important;
 justify-content:center!important;overflow-wrap:anywhere!important;
}
body.pc-premium-home .pc-v15z-footer{
 width:100%!important;max-width:100%!important;min-width:0!important;
 display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;
 gap:9px!important;padding:18px clamp(12px,2vw,30px)!important;
}
body.pc-premium-home .pc-v15z-footer>a{
 min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;
 line-height:1.25!important;display:flex!important;align-items:center!important;
 justify-content:center!important;text-align:center!important;gap:5px!important;
 padding:10px 8px!important;font-size:clamp(11px,.83vw,14px)!important;
}
@media(max-width:1200px){
 body.pc-premium-home .pc-v15z-footer{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions{flex-wrap:wrap!important}
}
@media(max-width:800px){
 body.pc-premium-home>header.pc-premium-header{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important}
 body.pc-premium-home>header.pc-premium-header>.brand{grid-column:1!important;grid-row:1!important}
 body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions{grid-column:1!important;grid-row:2!important;justify-self:stretch!important;justify-content:space-between!important;width:100%!important}
 body.pc-premium-home>header.pc-premium-header>.pc-premium-search{grid-column:1!important;grid-row:3!important}
 body.pc-premium-home>header.pc-premium-header>.pc-premium-navigation{grid-column:1!important;grid-row:4!important}
 body.pc-premium-home>header.pc-premium-header>.pc-premium-navigation>a{flex-basis:33%!important}
 body.pc-premium-home .pc-v15z-footer{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
 body.pc-premium-home>header.pc-premium-header>.pc-premium-navigation>a{flex-basis:50%!important}
 body.pc-premium-home>header.pc-premium-header>.pc-v15ab-actions .pc-v15aa-action-label small{display:none!important}
 body.pc-premium-home>header.pc-premium-header>.brand{font-size:clamp(19px,5vw,27px)!important}
 body.pc-premium-home>header.pc-premium-header>.brand img{width:57px!important;height:57px!important}
 body.pc-premium-home .pc-v15z-footer{grid-template-columns:1fr!important}
}
/* Les pages client et suivi affichent un etat veridique, pas une fausse inscription. */
.pc-af-page-header nav a{white-space:normal;overflow-wrap:anywhere}
.pc-af-tiles>.pc-af-tile:focus-visible{outline:3px solid #f6bd6b;outline-offset:3px}
.pc-af-page main a:focus-visible{outline:3px solid #ffd08a;outline-offset:3px}
