/* HK Handmade : header et footer « Maison » communs à tout le site, 2026-09-11.
   Mêmes valeurs que l'accueil (home.css, home-v2.css, regard-surfaces-v2.css), isolées sous .hkv-header et .hkv-footer
   pour résister aux styles d'Astra, de WooCommerce et du design system .hkm-. Les modèles d'accueil ne chargent pas ce fichier. */

/* Masque les en-têtes et pieds de page du thème, remplacés par ceux de la Maison. */
header#masthead.site-header,footer#colophon.site-footer,.ast-mobile-popup-drawer{display:none!important}

.hkv-skip,.hkv-header,.hkv-footer{--bg:#F4F0E9;--ink:#252321;--accent:#461D2D;--stone:#D5CEC4;--brass:#A28A62;font-family:var(--hk-font-sans,'Albert Sans',Arial,sans-serif);font-size:17px;font-weight:400;line-height:1.65;letter-spacing:normal;text-align:left;text-transform:none;-webkit-font-smoothing:antialiased}
.hkv-header,.hkv-header *,.hkv-footer,.hkv-footer *{box-sizing:border-box}
.hkv-header :where(h1,h2,h3,p,figure,ul,li,form,nav,details),.hkv-footer :where(h1,h2,h3,p,figure,ul,li,form,nav,details){margin:0;padding:0;border:0}
.hkv-skip,.hkv-skip:hover,.hkv-header a,.hkv-header a:hover,.hkv-header a:focus,.hkv-header a:visited,.hkv-footer a,.hkv-footer a:hover,.hkv-footer a:focus,.hkv-footer a:visited{color:inherit;text-decoration:none;box-shadow:none}
.hkv-header :is(button,input,summary),.hkv-footer :is(button,input,summary){font:inherit;letter-spacing:normal;text-transform:none}
.hkv-header button,.hkv-header button:hover,.hkv-header button:focus{cursor:pointer;background:transparent;color:inherit;border:0;border-radius:0;box-shadow:none;padding:1px 6px;margin:0;line-height:inherit;min-height:0}
.hkv-header img,.hkv-footer img{display:block;max-width:100%;height:auto}
.hkv-header svg,.hkv-footer svg{width:24px;height:24px;flex:none}
.hkv-header :is(a,button,input,summary):focus-visible,.hkv-footer :is(a,summary):focus-visible{outline:2px solid currentColor;outline-offset:5px}
.hkv-header .hkv-wrap,.hkv-footer .hkv-wrap{width:min(1320px,calc(100% - 120px));margin-inline:auto}

.hkv-skip{position:fixed;left:16px;top:-100px;z-index:10001;background:var(--bg);color:var(--ink);padding:14px}.hkv-skip:focus{top:12px}

.hkv-header{position:sticky;top:0;background:var(--bg);color:var(--ink);z-index:1000;border-bottom:1px solid var(--stone)}
.admin-bar .hkv-header{top:32px}
.hkv-header .hkv-header-inner{height:80px;display:flex;align-items:center;justify-content:space-between;gap:35px}
.hkv-header .hkv-logo{flex:none;width:170px}
.hkv-header .hkv-logo img{width:100%;max-height:62px;object-fit:contain}
.hkv-header .hkv-nav{display:flex;align-items:center;gap:36px;margin-left:auto;margin-right:40px;font-size:15px}
.hkv-header .hkv-nav>a{display:flex;align-items:center;min-height:44px}
.hkv-header .hkv-nav>a:hover{text-decoration:underline;text-underline-offset:5px}
.hkv-header .hkv-menu{position:static}
.hkv-header .hkv-menu summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:14px}
.hkv-header .hkv-menu summary::-webkit-details-marker{display:none}
.hkv-header .hkv-menu summary::marker{content:""}
.hkv-header .hkv-header-actions{display:flex;gap:18px;align-items:center}
.hkv-header .hkv-header-actions summary,.hkv-header .hkv-cart{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.hkv-header .hkv-cart{position:relative}
.hkv-header .hkv-cart-count{font-size:14px;line-height:1.65;min-width:14px;text-align:center;position:absolute;right:-2px;top:0}
.hkv-header :is(.hkv-mega-panel,.hkv-search-panel){position:absolute;top:100%;left:0;width:100%;background:var(--bg);border-block:1px solid var(--stone);padding:38px max(60px,calc((100vw - 1320px)/2));box-shadow:0 18px 30px #25232115}
.hkv-header .hkv-mega-panel{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.hkv-header .hkv-mega-panel>div{max-width:510px}
.hkv-header .hkv-mega-panel a{display:flex;align-items:center;justify-content:space-between;min-height:49px;border-bottom:1px solid var(--stone)}
.hkv-header .hkv-mega-panel img{height:260px;width:390px;object-fit:cover;justify-self:end}
.hkv-header .hkv-search-panel label{display:block;font-family:var(--hk-font-display,'Libre Caslon Display',Georgia,serif);font-weight:400;letter-spacing:-.012em;font-size:30px;line-height:1.65;margin:0;color:inherit}
.hkv-header .hkv-search-row{display:flex;border-bottom:1px solid var(--ink);margin-block:16px}
.hkv-header .hkv-search-row input,.hkv-header .hkv-search-row input:focus{width:100%;border:0;border-radius:0;background:transparent;padding:12px 0;color:var(--ink);min-width:0;box-shadow:none;height:auto;outline-offset:5px}
.hkv-header .hkv-search-row input::placeholder{color:var(--ink);opacity:.7}
.hkv-header .hkv-search-row button{width:52px;color:var(--ink)}
.hkv-header .hkv-close{font-size:14px;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:44px;margin-left:auto}
.hkv-header .hkv-search-results{max-height:45vh;overflow:auto}
.hkv-header .hkv-search-results a{display:block;padding:12px 0;border-bottom:1px solid var(--stone)}
.hkv-header .hkv-search-results a:hover{text-decoration:underline}
.hkv-header .hkv-mobile-menu{display:none}

.hkv-footer{background-color:#202124;background-image:var(--hk-surface-image,none);background-size:180px 180px,100% 100%;background-repeat:repeat,no-repeat;color:var(--bg);padding-top:72px;clear:both}
.hkv-footer .hkv-footer-top{display:grid;grid-template-columns:1.5fr 1.3fr 1fr 1fr;gap:45px}
.hkv-footer .hkv-footer-brand img{width:180px;filter:brightness(0) invert(1);opacity:.92}
.hkv-footer .hkv-footer-brand p{margin-top:25px;font-size:15px;color:var(--stone)}
.hkv-footer summary{list-style:none;min-height:44px;display:flex;align-items:center;font-size:17px;cursor:pointer;color:var(--bg)}
.hkv-footer summary::-webkit-details-marker{display:none}
.hkv-footer summary::marker{content:""}
.hkv-footer ul{list-style:none;margin-top:12px}
.hkv-footer li{list-style:none}
.hkv-footer li a{display:inline-block;padding-block:7px;font-size:14px;line-height:1.5;color:var(--stone)}
.hkv-footer a:hover{text-decoration:underline;text-underline-offset:5px}
.hkv-footer .hkv-footer-bottom{border-top:1px solid #D5CEC440;display:flex;justify-content:space-between;gap:30px;margin-top:45px;padding-block:25px;font-size:14px;color:var(--stone)}
.hkv-footer .hkv-footer-bottom nav{display:flex;gap:24px;flex-wrap:wrap}
.hkv-footer .hkv-footer-bottom a{min-height:44px;display:inline-flex;align-items:center}
.hkv-footer .hkv-footer-bottom p{align-self:center}

@media(max-width:1100px){
  .hkv-header .hkv-wrap,.hkv-footer .hkv-wrap{width:calc(100% - 64px)}
  .hkv-header .hkv-nav{gap:24px;margin-right:10px}
  .hkv-header .hkv-logo{width:145px}
  .hkv-header .hkv-header-inner{gap:20px}
  .hkv-footer .hkv-footer-top{gap:26px}
}
@media(max-width:1023px){
  .hkv-footer .hkv-footer-top{grid-template-columns:1.2fr 1fr 1fr}
  .hkv-footer .hkv-footer-brand{grid-column:1/-1;display:flex;justify-content:space-between}
  .hkv-footer .hkv-footer-brand p{margin:0}
}
@media(max-width:767px){
  .hkv-skip,.hkv-header,.hkv-footer{font-size:16px}
  .hkv-header .hkv-wrap,.hkv-footer .hkv-wrap{width:calc(100% - 40px)}
  .hkv-header .hkv-header-inner{height:64px;gap:10px}
  .hkv-header .hkv-logo{width:120px;margin:auto}
  .hkv-header .hkv-nav{display:none}
  .hkv-header .hkv-header-actions{gap:0}
  .hkv-header .hkv-header-actions summary,.hkv-header .hkv-cart{min-width:44px}
  .hkv-header .hkv-mobile-menu{display:block}
  .hkv-header .hkv-mobile-menu>summary{width:44px;justify-content:center}
  .hkv-header .hkv-mobile-panel{position:fixed;inset:64px 0 0;background:var(--bg);padding:20px;overflow-y:auto;z-index:1000}
  .admin-bar .hkv-header .hkv-mobile-panel{top:110px}
  .hkv-header .hkv-mobile-panel>a{display:flex;align-items:center;justify-content:space-between;min-height:56px;border-bottom:1px solid var(--stone);font-family:var(--hk-font-display,'Libre Caslon Display',Georgia,serif);font-weight:400;letter-spacing:-.012em;font-size:24px}
  .hkv-header .hkv-menu-title{font-family:var(--hk-font-display,'Libre Caslon Display',Georgia,serif);font-weight:400;letter-spacing:-.012em;font-size:36px;margin-bottom:15px}
  .hkv-header .hkv-search-panel{padding:20px}
  .hkv-header .hkv-search-panel label{font-size:25px}
  .hkv-header .hkv-search-results{max-height:60svh}
  .hkv-header .hkv-search-row input{font-size:16px}
  .admin-bar .hkv-header{top:46px}
  .hkv-footer{padding-top:44px}
  .hkv-footer .hkv-footer-top{display:block}
  .hkv-footer .hkv-footer-brand{display:block;margin-bottom:28px}
  .hkv-footer .hkv-footer-brand img{width:155px}
  .hkv-footer .hkv-footer-brand p{margin-top:18px}
  .hkv-footer details{border-top:1px solid #D5CEC440;padding-block:8px}
  .hkv-footer summary{justify-content:space-between}
  .hkv-footer summary::after{content:'+'}
  .hkv-footer details[open]>summary::after{content:'−'}
  .hkv-footer ul{margin:4px 0 15px}
  .hkv-footer li a{min-height:44px;padding-block:10px}
  .hkv-footer .hkv-footer-bottom{display:block;margin-top:18px;padding-block:25px}
  .hkv-footer .hkv-footer-bottom nav{gap:0 20px;margin-top:12px}
}
@media(max-width:600px){.admin-bar .hkv-header{top:0}}
@media(max-width:374px){
  .hkv-header .hkv-wrap,.hkv-footer .hkv-wrap{width:calc(100% - 32px)}
  .hkv-header .hkv-logo{width:105px}
  .hkv-header .hkv-header-inner{gap:4px}
}
@media(prefers-reduced-motion:reduce){.hkv-header *,.hkv-footer *{animation:none!important;transition:none!important}}
@media print{.hkv-header,.hkv-footer{display:none}}
