/* ============================================================
   ATELIER NOËL — pages éditoriales (FAQ, livraison) + réassurance
   Chargée après style-nuit.css. Palette héritée via variables.
   ============================================================ */

/* ---------- encadré 14 jours ---------- */
.np-box{
  margin:2.2rem 0;
  padding:1.6rem 1.75rem 1.5rem;
  border:1px solid var(--np-line);
  border-left:3px solid var(--np-gold);
  background:linear-gradient(180deg, rgba(203,168,95,.075), rgba(203,168,95,.02));
  border-radius:var(--np-radius);
}
.np-box__title{
  margin:0 0 .7rem;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:1.45rem;
  line-height:1.2;
  color:var(--np-gold);
  letter-spacing:.01em;
}
.np-box p{margin:0 0 .75rem;color:var(--np-cream);}
.np-box p:last-child{margin-bottom:0;}
.np-box .np-box__meta{
  font-size:.76rem;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--np-muted);
}
.np-box strong{color:var(--np-gold-hover);}

/* ---------- FAQ : accordéon ---------- */
.np-faq__intro{
  max-width:64ch;
  margin:0 auto 2.6rem;
  text-align:center;
  color:var(--np-muted);
  font-size:1.02rem;
  line-height:1.75;
}
.np-faq__cat{
  margin:3rem 0 1.1rem !important;
  padding-bottom:.7rem;
  border-bottom:1px solid var(--np-line-soft);
  font-size:1.6rem !important;
  letter-spacing:.02em;
}
.np-faq__cat:first-of-type{margin-top:0 !important;}

.np-faq__item{
  border-bottom:1px solid var(--np-line-soft);
  transition:background .3s ease;
}
.np-faq__item:hover{background:rgba(203,168,95,.028);}

.np-faq__item > summary{
  display:flex;
  align-items:flex-start;
  gap:1rem;
  padding:1.15rem .2rem;
  cursor:pointer;
  list-style:none;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:1.22rem;
  line-height:1.35;
  color:var(--np-cream);
  transition:color .25s ease;
}
.np-faq__item > summary::-webkit-details-marker{display:none;}
.np-faq__item > summary::marker{content:"";}
.np-faq__item > summary:hover{color:var(--np-gold-hover);}
.np-faq__item[open] > summary{color:var(--np-gold);}

/* le + / − dessiné, pas un caractère de police */
.np-faq__item > summary::after{
  content:"";
  flex:0 0 auto;
  width:12px;height:12px;
  margin-top:.45rem;
  margin-left:auto;
  position:relative;
  transition:transform .35s cubic-bezier(.2,.7,.3,1);
  background:
    linear-gradient(var(--np-gold),var(--np-gold)) center/12px 1px no-repeat,
    linear-gradient(var(--np-gold),var(--np-gold)) center/1px 12px no-repeat;
}
.np-faq__item[open] > summary::after{
  transform:rotate(45deg);
}

/* animation d'ouverture fluide (grille 0fr → 1fr) */
.np-faq__a{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .38s cubic-bezier(.2,.7,.3,1), opacity .3s ease;
  opacity:0;
}
.np-faq__item[open] .np-faq__a{
  grid-template-rows:1fr;
  opacity:1;
}
.np-faq__a > div{overflow:hidden;}
.np-faq__a p{
  margin:0 0 1.15rem;
  padding-right:1.8rem;
  color:var(--np-muted);
  line-height:1.8;
  max-width:74ch;
}
.np-faq__a a{color:var(--np-gold);text-decoration:underline;text-underline-offset:3px;}

/* ---------- étapes (page livraison) ---------- */
.np-steps{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.15rem;
  margin:1.8rem 0 2.6rem;
}
.np-step{
  position:relative;
  padding:1.7rem 1.4rem 1.4rem;
  border:1px solid var(--np-line-soft);
  background:rgba(255,255,255,.014);
  border-radius:var(--np-radius);
}
.np-step__num{
  display:block;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:2.1rem;
  line-height:1;
  color:var(--np-gold);
  opacity:.5;
  margin-bottom:.7rem;
}
.np-step h3{
  margin:0 0 .55rem !important;
  font-size:1.16rem !important;
  letter-spacing:.01em;
}
.np-step p{margin:0;color:var(--np-muted);font-size:.94rem;line-height:1.7;}

/* ---------- tableau livraison ---------- */
.np-table{
  width:100%;
  border-collapse:collapse;
  margin:1.6rem 0;
  font-size:.95rem;
}
.np-table th{
  text-align:left;
  padding:.8rem .9rem;
  border-bottom:1px solid var(--np-line);
  font-family:"Jost",system-ui,sans-serif;
  font-size:.72rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--np-gold);
  font-weight:500;
}
.np-table td{
  padding:.9rem;
  border-bottom:1px solid var(--np-line-soft);
  color:var(--np-muted);
}
.np-table tr:last-child td{border-bottom:none;}
.np-table td strong{color:var(--np-cream);font-weight:500;}
.np-note{
  font-size:.88rem;
  color:var(--np-muted);
  border-left:2px solid var(--np-line);
  padding-left:1rem;
  line-height:1.75;
}

/* ---------- bouton de fin de page ---------- */
.np-faq__cta{
  margin:3.2rem 0 0;
  padding-top:2.2rem;
  border-top:1px solid var(--np-line-soft);
  text-align:center;
}
.np-faq__cta p{
  margin:0 0 1.1rem;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:1.4rem;
  color:var(--np-cream);
}

/* ---------- réassurance fiche produit ---------- */
.np-assure{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem 1.4rem;
  margin:1.5rem 0 .2rem;
  padding:1rem 1.1rem;
  border:1px solid var(--np-line-soft);
  border-radius:var(--np-radius);
  background:rgba(203,168,95,.04);
  list-style:none;
}
.np-assure li{
  display:flex;
  align-items:center;
  gap:.5rem;
  margin:0;
  font-size:.82rem;
  letter-spacing:.05em;
  color:var(--np-muted);
  line-height:1.4;
}
.np-assure li::before{
  content:"";
  flex:0 0 auto;
  width:5px;height:5px;
  border-radius:50%;
  background:var(--np-gold);
}
.np-assure li strong{color:var(--np-cream);font-weight:500;}

/* ---------- bandeau rétractation panier / commande ---------- */
.np-withdraw{
  display:flex;
  gap:.8rem;
  align-items:flex-start;
  margin:1.4rem 0;
  padding:1rem 1.15rem;
  border:1px solid var(--np-line-soft);
  border-left:2px solid var(--np-gold);
  border-radius:var(--np-radius);
  background:rgba(203,168,95,.05);
}
.np-withdraw__icon{
  flex:0 0 auto;
  min-width:2.4rem;
  padding-top:.1rem;
  text-align:center;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:1.85rem;
  line-height:1;
  color:var(--np-gold);
  letter-spacing:-.02em;
}
.np-withdraw p{margin:0;font-size:.89rem;line-height:1.7;color:var(--np-muted);}
.np-withdraw a{white-space:nowrap;}
.np-withdraw strong{color:var(--np-cream);font-weight:500;}

@media (max-width:640px){
  .np-box{padding:1.3rem 1.15rem;}
  .np-faq__item > summary{font-size:1.08rem;padding:1rem .1rem;}
  .np-faq__a p{padding-right:.6rem;font-size:.94rem;}
  .np-table{font-size:.86rem;}
  .np-table th,.np-table td{padding:.65rem .5rem;}
  .np-assure{gap:.45rem 1rem;padding:.85rem .9rem;}
  .np-assure li{font-size:.78rem;}
}

/* ---------- pied de page : quatre colonnes ---------- */
@media (min-width:981px){
  .np-footer__in{grid-template-columns:1.5fr 1fr 1fr 1fr;}
}

/* ---------- pages éditoriales : colonne centrée ---------- */
.np-doc--editorial .np-doc__head{
  text-align:center;
  max-width:840px;
  margin-left:auto;
  margin-right:auto;
}
.np-doc--editorial .np-doc__body{
  max-width:840px;
  margin-left:auto;
  margin-right:auto;
}

/* ---------- corps des pages éditoriales : un peu plus large ---------- */
.np-doc__body .np-faq__intro{max-width:62ch;}
.np-doc__body .np-steps,
.np-doc__body .np-table{width:100%;}


/* ---------- pages rendues par le gabarit par défaut de Blocksy ----------
   Le contenu (.entry-content) n'était pas centré et collait au bord gauche.
   Concerne notamment « Mon compte », rendu par WooCommerce. */
.entry-content.is-layout-constrained{
  margin-left:auto;
  margin-right:auto;
  padding-left:22px;
  padding-right:22px;
}
@container (min-width: 700px){
  .entry-content.is-layout-constrained{align-self:center;}
}

/* « Mon compte » : les deux colonnes (connexion / inscription) respirent */
.woocommerce-account .u-columns.col2-set{
  display:flex;
  flex-wrap:wrap;
  gap:48px;
}
.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2{
  float:none;
  width:auto;
  flex:1 1 300px;
  padding-right:0;
}
.woocommerce-account .u-column1.col-1{border-right:1px dashed rgba(198,163,92,.28);}
.woocommerce-account .u-column2.col-2{padding-left:0;}
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register{max-width:none;}
.woocommerce-account h2{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-weight:500;
}
@media (max-width:700px){
  .woocommerce-account .u-column1.col-1{border-right:0;border-bottom:1px dashed rgba(198,163,92,.28);padding-bottom:32px;}
}

/* ---------- tableau de bord client (« Mon compte » connecté) ----------
   La carte blanche par défaut de WooCommerce jurait avec la charte nuit. */
.woocommerce-MyAccount-navigation{
  background:transparent;
  float:none;
}
.woocommerce-MyAccount-navigation ul{
  list-style:none;
  margin:0;
  padding:0;
  border:1px solid var(--np-line);
  background-color:#0F211A !important;
  background-image:none !important;
}
.woocommerce-MyAccount-navigation ul li{
  border-bottom:1px solid var(--np-line-soft);
  background-color:transparent !important;
  background-image:none !important;
}
.woocommerce-MyAccount-navigation ul li a{
  background-color:transparent !important;
  background-image:none !important;
}
.woocommerce-MyAccount-navigation ul li:last-child{border-bottom:0;}
.woocommerce-MyAccount-navigation ul li a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:15px 18px;
  color:var(--np-cream);
  font-family:"Jost",system-ui,sans-serif;
  font-size:.82rem;
  letter-spacing:.09em;
  text-transform:uppercase;
  border-left:2px solid transparent;
  transition:background .25s ease,color .25s ease,border-color .25s ease;
}
.woocommerce-MyAccount-navigation ul li a:hover{
  background:rgba(203,168,95,.07);
  color:var(--np-gold-hover);
}
.woocommerce-MyAccount-navigation ul li.is-active a{
  color:var(--np-gold) !important;
  border-left-color:var(--np-gold);
  background-color:rgba(203,168,95,.10) !important;
}
.woocommerce-MyAccount-navigation ul li a svg,
.woocommerce-MyAccount-navigation ul li a i{color:currentColor;fill:currentColor;}

/* contenu de droite */
.woocommerce-MyAccount-content{
  color:var(--np-cream);
}
.woocommerce-MyAccount-content p{color:var(--np-muted);}
.woocommerce-MyAccount-content a{color:var(--np-gold);}
.woocommerce-MyAccount-content table.shop_table{
  border:1px solid var(--np-line);
  border-collapse:collapse;
}
.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td{
  border-color:var(--np-line-soft);
  color:var(--np-cream);
  padding:14px 16px;
}
.woocommerce-MyAccount-content table.shop_table thead th{
  font-family:"Jost",sans-serif;
  font-size:.74rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--np-gold);
  background:rgba(239,229,208,.04);
}
.woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-MyAccount-content button.button,
.woocommerce-MyAccount-content a.button{
  background:var(--np-gold);
  color:#10241B;
  border:0;
  border-radius:0;
  font-family:"Jost",sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.78rem;
  padding:14px 26px;
}
.woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-MyAccount-content button.button:hover{
  background:var(--np-gold-hover);
  color:#10241B;
}
/* colonnes du tableau de bord client, comme les formulaires */
.woocommerce-account .woocommerce-MyAccount-navigation{width:auto;flex:0 0 260px;margin:0;}
.woocommerce-account .woocommerce-MyAccount-content{width:auto;flex:1 1 420px;float:none;}
.woocommerce-account.logged-in .woocommerce{
  display:flex;
  flex-wrap:wrap;
  gap:48px;
  align-items:flex-start;
}
@media (max-width:820px){
  .woocommerce-account.logged-in .woocommerce{display:block;}
  .woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:32px;}
}

/* --- Pied de page : masque le footer par defaut du theme (doublon) --- */
#footer.ct-footer{display:none !important;}
