/*
Theme Name: Barstore
Template: astra
Author: Barstore
Description: Habillage Barstore pour la boutique (espresso / ambre / kraft).
Version: 1.8
*/

/* ============================================================
   VARIABLES
   ============================================================ */
:root{
  --espresso:#15100E;
  --espresso-deep:#0D0A09;
  --card:#1F1815;
  --amber:#E89B33;
  --amber-soft:#F0B560;
  --cream:#F3E7D4;
  --cream-dim:#C9B79E;
  --kraft:#B8946A;
  --line:rgba(243,231,212,.10);
}

/* ============================================================
   PAGES LÉGALES (modèle "Légal — Barstore")
   ============================================================ */
.barstore-home.barstore-legal{padding-top:0}
.barstore-home .bs-legal{padding:150px 0 90px}
.barstore-home .bs-legal .wrap{max-width:780px}
.barstore-home .bs-legal h1{font-size:clamp(2.2rem,5vw,3.4rem);margin:14px 0 36px}
.barstore-home .bs-legal-body{color:var(--cream-dim);font-size:1.02rem;line-height:1.75}
.barstore-home .bs-legal-body h2{font-family:'Fraunces',serif;color:var(--amber);font-weight:600;font-size:1.5rem;margin:42px 0 14px;letter-spacing:-.01em}
.barstore-home .bs-legal-body h3{font-family:'Fraunces',serif;color:var(--cream);font-weight:600;font-size:1.2rem;margin:28px 0 10px}
.barstore-home .bs-legal-body p{margin-bottom:16px}
.barstore-home .bs-legal-body strong{color:var(--cream);font-weight:600}
.barstore-home .bs-legal-body a{color:var(--amber);text-decoration:underline;text-underline-offset:3px}
.barstore-home .bs-legal-body a:hover{color:var(--amber-soft)}
.barstore-home .bs-legal-body hr{border:none;border-top:1px solid var(--line);margin:34px 0}
.barstore-home .bs-legal-body em{color:var(--kraft);font-size:.92rem;font-style:italic}
.barstore-home .bs-legal-back{margin-top:50px;padding-top:24px;border-top:1px solid var(--line)}
.barstore-home .bs-legal-back a{color:var(--kraft);font-size:.92rem}
.barstore-home .bs-legal-back a:hover{color:var(--amber)}

/* ============================================================
   PAGE D'ACCUEIL — tout est scopé sous .barstore-home
   pour ne PAS casser les autres pages
   ============================================================ */
body.barstore-home{
  background:var(--espresso);
  color:var(--cream);
  font-family:'Inter',system-ui,sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  margin:0;
}
.barstore-home h1,.barstore-home h2,.barstore-home h3{
  font-family:'Fraunces',Georgia,serif;font-weight:500;line-height:1.08;letter-spacing:-.01em;margin:0;
  color:var(--cream);
}
.barstore-home h1 a,.barstore-home h2 a,.barstore-home h3 a{color:inherit}
.barstore-home a{color:inherit;text-decoration:none}
.barstore-home *{box-sizing:border-box}
.barstore-home .wrap{max-width:1180px;margin:0 auto;padding:0 28px}
.barstore-home .eyebrow{font-size:.74rem;letter-spacing:.22em;text-transform:uppercase;color:var(--amber);font-weight:600}

/* NAV */
.barstore-home .bs-nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 28px;background:rgba(21,16,14,.72);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.barstore-home .bs-logo{font-family:'Fraunces',serif;font-size:1.5rem;font-weight:600;letter-spacing:.04em;display:flex;align-items:center}
.barstore-home .bs-logo span{color:var(--amber)}
.barstore-home .bs-logo img,.barstore-home .bs-logo .custom-logo{max-height:46px;width:auto;display:block}
.barstore-home .bs-logo .custom-logo-link{display:block;line-height:0}
.barstore-home .bs-links{display:flex;gap:34px;font-size:.9rem;color:var(--cream-dim)}
.barstore-home .bs-links a:hover{color:var(--cream)}
.barstore-home .bs-navcta{background:var(--amber);color:var(--espresso);padding:9px 20px;border-radius:999px;font-weight:600;font-size:.85rem;transition:transform .2s,background .2s}
.barstore-home .bs-navcta:hover{background:var(--amber-soft);transform:translateY(-1px)}
@media(max-width:780px){.barstore-home .bs-links{display:none}}

/* HERO */
.barstore-home .bs-hero{
  min-height:100vh;display:flex;align-items:center;position:relative;padding-top:80px;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(232,155,51,.16), transparent 55%),
    radial-gradient(80% 70% at 10% 90%, rgba(184,148,106,.10), transparent 60%),
    var(--espresso-deep);
}
.barstore-home .bs-herogrid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center;width:100%}
.barstore-home .bs-hero h1{font-size:clamp(2.6rem,6vw,5rem);margin:18px 0 22px}
.barstore-home .bs-hero h1 em{font-style:italic;color:var(--amber)}
.barstore-home .bs-hero p{font-size:1.12rem;color:var(--cream-dim);max-width:30ch;margin-bottom:32px}
.barstore-home .bs-btnrow{display:flex;gap:14px;flex-wrap:wrap}
.barstore-home .bs-btn{padding:14px 26px;border-radius:999px;font-weight:600;font-size:.95rem;transition:transform .2s,background .2s,border-color .2s;display:inline-block}
.barstore-home .bs-btn-primary{background:var(--amber);color:var(--espresso)}
.barstore-home .bs-btn-primary:hover{background:var(--amber-soft);transform:translateY(-2px)}
.barstore-home .bs-btn-ghost{border:1px solid var(--line);color:var(--cream)}
.barstore-home .bs-btn-ghost:hover{border-color:var(--amber);color:var(--amber)}
.barstore-home .bs-herovisual{aspect-ratio:4/5;border-radius:18px;border:1px solid var(--line);overflow:hidden;background:#1a1410}
.barstore-home .bs-herovisual img,.barstore-home .bs-leadvisual img,.barstore-home .bs-b2bvisual img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:780px){.barstore-home .bs-herogrid{grid-template-columns:1fr}.barstore-home .bs-herovisual{aspect-ratio:4/3;max-height:60vh}}

/* STRIP */
.barstore-home .bs-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0}
.barstore-home .bs-stripin{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;color:var(--cream-dim);font-size:.92rem}
.barstore-home .bs-stripin b{color:var(--cream);font-weight:600}

/* SECTION */
.barstore-home .bs-sec{padding:100px 0}
.barstore-home .bs-lead{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.barstore-home .bs-lead h2{font-size:clamp(2rem,4vw,3.2rem);margin:14px 0 20px}
.barstore-home .bs-lead p{color:var(--cream-dim);margin-bottom:16px}
.barstore-home .bs-leadvisual{aspect-ratio:1/1;border-radius:18px;border:1px solid var(--line);overflow:hidden;background:#1a1410}
@media(max-width:780px){.barstore-home .bs-lead{grid-template-columns:1fr}}

/* PRODUITS */
.barstore-home .bs-sechead{text-align:center;max-width:560px;margin:0 auto 56px}
.barstore-home .bs-sechead h2{font-size:clamp(2rem,4vw,3rem);margin-top:12px}
.barstore-home .bs-sechead p{color:var(--cream-dim);margin-top:14px}
.barstore-home .bs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
@media(max-width:980px){.barstore-home .bs-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.barstore-home .bs-grid{grid-template-columns:1fr}}
.barstore-home .bs-card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:transform .25s,border-color .25s}
.barstore-home .bs-card:hover{transform:translateY(-6px);border-color:rgba(232,155,51,.4)}
.barstore-home .bs-cardimg{aspect-ratio:1/1;overflow:hidden;background:linear-gradient(160deg,rgba(232,155,51,.10),rgba(0,0,0,.3)),repeating-linear-gradient(45deg,#2a201a 0 12px,#261d18 12px 24px);display:flex;align-items:center;justify-content:center}
.barstore-home .bs-cardimg img{width:100%;height:100%;object-fit:cover;display:block}
.barstore-home .bs-cardbody{padding:18px 18px 22px}
.barstore-home .bs-card h3{font-size:1.18rem;font-weight:600}
.barstore-home .bs-card .bs-row{display:flex;align-items:center;justify-content:space-between;margin-top:16px}
.barstore-home .bs-card .bs-price{color:var(--amber);font-family:'Fraunces',serif;font-size:1.25rem;font-weight:600}
.barstore-home .bs-card .bs-price del{color:var(--cream-dim);font-size:.9rem;font-weight:400;margin-right:6px}
.barstore-home .bs-card .bs-add{font-size:.82rem;font-weight:600;color:var(--espresso);background:var(--cream);padding:8px 16px;border-radius:999px;transition:background .2s}
.barstore-home .bs-card:hover .bs-add{background:var(--amber)}

/* B2B */
.barstore-home .bs-b2b{background:radial-gradient(90% 120% at 80% 20%,rgba(232,155,51,.12),transparent 60%),var(--espresso-deep);border-top:1px solid var(--line)}
.barstore-home .bs-b2bgrid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.barstore-home .bs-b2b h2{font-size:clamp(2rem,4vw,3rem);margin:12px 0 18px}
.barstore-home .bs-b2b p{color:var(--cream-dim);margin-bottom:24px}
.barstore-home .bs-b2bvisual{aspect-ratio:5/4;border-radius:18px;border:1px solid var(--line);overflow:hidden;background:#1a1410}
@media(max-width:780px){.barstore-home .bs-b2bgrid{grid-template-columns:1fr}}

/* FOOTER */
.barstore-home .bs-foot{border-top:1px solid var(--line);padding:50px 0 40px}
.barstore-home .bs-footin{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;color:var(--cream-dim);font-size:.9rem}
.barstore-home .bs-footin a:hover{color:var(--amber)}
.barstore-home .bs-footcol h4{font-family:'Inter';font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--cream);margin-bottom:14px;font-weight:600}
.barstore-home .bs-footcol a{display:block;margin-bottom:8px}
.barstore-home .bs-copy{margin-top:38px;padding-top:24px;border-top:1px solid var(--line);font-size:.82rem;color:var(--kraft)}

/* ============================================================
   PAGES BOUTIQUE / PANIER / FICHE PRODUIT
   Surcharges légères et SÛRES (boutons ambre + typo).
   On garde le fond clair d'Astra ici pour ne pas casser
   la lisibilité du panier/paiement — on affinera après.
   ============================================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button.alt,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce-page a.button{
  background:var(--amber)!important;color:#15100E!important;border:none!important;border-radius:999px!important;font-weight:600!important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button.alt:hover{background:#F0B560!important}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price{color:#B86B12}
.woocommerce-message,.woocommerce-info{border-top-color:var(--amber)!important}
