/*
Theme Name: ShopDrop Child BD v2
Template: storefront
Version: 2.0.0
Description: Design BlueDolomites — clone shop.bluedolomites adapté vitrine (header noir, hero vidéo, palette taupe/bleu).
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

:root{
  --primary:#2563EB;
  --accent:#60A5FA;
  --dark:#1E3A5F;
  --taupe:#6B5D4F;
  --taupe-light:#8B7D6B;
  --taupe-bg:#f8f7f5;
  --taupe-border:#e8e2d9;
  --text:#1a1a1a;
  --text-soft:#555;
}

/* ── BASE ───────────────────────────────────────────────────── */
body{font-family:'Inter',system-ui,sans-serif!important;background:#fff!important;color:var(--text)}
h1,h2,h3{font-family:'Playfair Display',Georgia,serif;color:var(--text);font-weight:700;line-height:1.2}
h1{font-size:clamp(2.2rem,5vw,4rem)}
h2{font-size:clamp(1.8rem,3.5vw,2.8rem)}
h3{font-size:clamp(1.3rem,2.5vw,1.8rem)}
p{line-height:1.7;color:var(--text-soft)}

/* ── ZONE CONTENU ──────────────────────────────────────────── */
.site-header{margin-bottom:0!important;padding:0!important}
.home .site-header,.no-wc-breadcrumb .site-header{margin-bottom:0!important}
.storefront-breadcrumb{display:none!important}
.page .entry-header,.woocommerce-products-header__title.page-title{display:none!important}
.site-content{padding-top:0!important;margin-top:0!important}
.content-area,.site-main,.hentry,.entry-content{padding-top:0!important;margin-top:0!important}
.entry-content>*:first-child{margin-top:0!important}
.col-full{padding-top:0!important}
.entry-content,.site-main>.col-full{overflow:visible!important}

/* ── BRANDING / TITRE ──────────────────────────────────────── */
.site-branding .site-title a{color:var(--primary)!important;font-weight:800!important}
.site-branding .site-description{display:none!important}
.site-branding{margin:0!important;padding:0!important}
.site-branding .site-title{margin:0!important}

/* ── MAIN NAV (par défaut) ─────────────────────────────────── */
.main-navigation a{font-weight:600!important;color:#333!important}
.main-navigation a:hover{color:var(--primary)!important}
.storefront-primary-navigation{margin:0!important;padding:0!important;border:none!important}
.storefront-primary-navigation .col-full{padding:0 16px!important}
.site-header>.col-full{padding:4px 16px!important;margin:0!important}
.primary-navigation+.menu{display:none!important}

/* ── BOUTONS WC ────────────────────────────────────────────── */
.woocommerce a.button,.woocommerce button.button,.button{
  background:var(--taupe)!important;color:#fff!important;
  border-radius:30px!important;font-weight:700!important;border-color:var(--taupe)!important
}
.woocommerce a.button:hover,.button:hover{background:var(--taupe-light)!important;border-color:var(--taupe-light)!important}

/* ── HERO VIDEO (homepage) ─────────────────────────────────── */
.bmax-video-section{
  position:relative;width:100%;height:70vh;min-height:350px;
  overflow:hidden;display:flex;align-items:flex-end;justify-content:center;
  margin-top:0!important;margin-left:calc(-50vw + 50%)!important;margin-right:calc(-50vw + 50%)!important;
  width:100vw!important
}
.bmax-video-section video{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  min-width:100%;min-height:100%;width:auto;height:auto;object-fit:cover;z-index:0
}
.bmax-video-section .bmax-overlay{
  position:absolute;top:0;left:0;right:0;bottom:0;
  background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.4) 100%);z-index:1
}
.bmax-video-section .bmax-cta{
  position:relative;z-index:2;display:inline-block;
  background:#fff;color:#000!important;padding:14px 36px;border-radius:50px;
  text-decoration:none;font-weight:700;font-size:16px;
  box-shadow:0 4px 16px rgba(0,0,0,.2);transition:transform .2s;margin-bottom:40px
}
.bmax-video-section .bmax-cta:hover{transform:translateY(-2px);background:#e5e5e5!important}
@media(max-width:768px){.bmax-video-section{height:50vh;min-height:280px}}

/* ── TOPBAR (3 messages vitrine) ───────────────────────────── */
.sd-topbar{background:#2563EB12;border-bottom:1px solid #2563EB22;padding:4px 0;margin:0!important}
.sd-topbar-inner{display:flex;justify-content:center;gap:32px;max-width:1200px;margin:0 auto;font-size:.78rem;font-weight:600;color:#333}

/* ── TRUST BADGES (style "convictions") ────────────────────── */
.sd-trust-global{display:flex!important;flex-wrap:nowrap!important;gap:14px;max-width:1100px;margin:50px auto;padding:0 20px}
.sd-tg-item{flex:1;text-align:center;background:#fff;border:1px solid var(--taupe-border);border-radius:12px;padding:22px 14px;display:flex;flex-direction:column;align-items:center;gap:6px}
.sd-tg-item span{font-size:1.6rem}
.sd-tg-item strong{font-size:.9rem;color:var(--text);font-family:'Inter',sans-serif}
.sd-tg-item small{font-size:.75rem;color:#888}
@media(max-width:600px){.sd-trust-global{flex-wrap:wrap!important}.sd-tg-item{flex:0 0 48%!important}}

/* ── SECTION CONTENU VITRINE ───────────────────────────────── */
.entry-content{max-width:900px;margin:60px auto;padding:0 20px;font-size:1.05rem;line-height:1.75}
.entry-content h2{margin-top:3rem;margin-bottom:1.2rem}
.entry-content h3{margin-top:2.2rem;margin-bottom:.9rem;color:var(--taupe)}
.entry-content ul{padding-left:1.5rem}
.entry-content li{margin-bottom:.4rem;line-height:1.7}
.entry-content a{color:var(--primary);text-decoration:underline;text-decoration-color:rgba(37,99,235,.3);text-underline-offset:3px}
.entry-content a:hover{text-decoration-color:var(--primary)}
.entry-content blockquote{border-left:3px solid var(--taupe);background:var(--taupe-bg);padding:1.2rem 1.5rem;margin:2rem 0;font-style:italic;border-radius:0 8px 8px 0}
.entry-content code,.entry-content pre{background:var(--taupe-bg);border:1px solid var(--taupe-border);color:var(--text);padding:2px 6px;border-radius:4px;font-size:.9em}

/* "Suptitle" italique bleu — petit kicker au-dessus des H2 */
.bd-suptitle,p.bd-suptitle{
  font-family:'Playfair Display',serif;font-style:italic;font-weight:400;
  color:var(--primary);font-size:1.05rem;letter-spacing:.02em;margin-bottom:.6rem;display:block
}
.bd-lead{font-size:1.15rem;line-height:1.6;color:var(--text)}
.bd-btn-primary{display:inline-block;background:var(--taupe);color:#fff!important;padding:14px 32px;border-radius:50px;text-decoration:none;font-weight:700;margin-right:8px;transition:background .2s}
.bd-btn-primary:hover{background:var(--taupe-light)}
.bd-btn-secondary{display:inline-block;background:transparent;color:var(--text)!important;padding:14px 32px;border-radius:50px;text-decoration:none;font-weight:600;border:2px solid var(--taupe);transition:all .2s}
.bd-btn-secondary:hover{background:var(--taupe);color:#fff!important}

/* ── ARTICLES BLOG ─────────────────────────────────────────── */
.hentry .entry-header{border:none!important;margin-bottom:8px!important}
.hentry .entry-taxonomy,.hentry .entry-header .post-comments,.hentry .entry-header .byline{display:none!important}
.hentry{margin-bottom:2em!important;padding-bottom:1.5em!important;border-bottom:1px solid var(--taupe-border)!important}
.hentry .entry-title a{font-size:1.4rem!important;font-weight:700!important;color:var(--text)!important;text-decoration:none!important;font-family:'Playfair Display',serif}
.hentry .entry-title a:hover{color:var(--primary)!important}

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer{background:#2c2c2c!important;color:#ccc!important;padding:0!important}
.site-footer a{color:#fff!important}
.site-info{display:none!important}
.sd-footer-custom{text-align:center;padding:10px 0;font-size:.85rem;color:#ccc}

/* ── FORMULAIRES ───────────────────────────────────────────── */
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=search],textarea,select{
  border:1px solid var(--taupe-border)!important;border-radius:8px;padding:10px 14px
}
input:focus,select:focus,textarea:focus{
  border-color:var(--taupe-light)!important;
  box-shadow:0 0 0 3px rgba(139,125,107,.15)!important;outline:none!important
}
::selection{background:var(--taupe-light)!important;color:#fff!important}

/* ── LIENS GÉNÉRAUX ─────────────────────────────────────────── */
a{color:var(--taupe);transition:color .2s}
a:hover{color:var(--taupe-light)}
.site-footer a,.widget-area a{color:#fff!important}
.site-footer a:hover,.widget-area a:hover{color:var(--accent)!important}

/* ── MASQUE WC widgets sur vitrine ─────────────────────────── */
.page-template-template-homepage .widget-area,.home .widget-area{display:none!important}
.page-template-template-homepage .content-area,.home .content-area{width:100%!important;float:none!important}

/* Cacher sidebar/widget-area partout sur vitrine */
.widget-area,#secondary,.storefront-sidebar{display:none!important}
.content-area,.site-main{width:100%!important;float:none!important;max-width:100%!important;margin-right:0!important}
