/* Dolcybaby shared header + footer (12 Nov 2026). Self-contained: works on the
   shop pages and on the sales landing page. Uses --dcy-* tokens only. */
.dh-ann,.dh-hd,.dh-ft{font-family:var(--dcy-f-body);-webkit-font-smoothing:antialiased;box-sizing:border-box}
.dh-hd *,.dh-ft *,.dh-hd *::before,.dh-hd *::after{box-sizing:border-box}
.dh-hd .dcy-wrap,.dh-ft .dcy-wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 16px}
@media (min-width:768px){.dh-hd .dcy-wrap,.dh-ft .dcy-wrap{padding:0 28px}}
.dh-hd a,.dh-ft a{text-decoration:none}
.dh-hd svg,.dh-ft svg{display:block}
.dh-hd .dcy-logo,.dh-ft .dcy-logo{display:flex;align-items:center;gap:8px;font-family:var(--dcy-f-head);font-weight:700;font-size:21px;line-height:1;color:var(--dcy-primary)}
.dh-hd .dcy-logo img,.dh-ft .dcy-logo img{width:38px;height:38px;object-fit:contain;display:block}
.dh-hd .dcy-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:999px;font-family:var(--dcy-f-head);font-weight:700;line-height:1.2;white-space:nowrap;background:var(--dcy-primary);color:#fff;min-height:42px;padding:9px 18px;font-size:15px;box-shadow:0 10px 24px -12px var(--dcy-primary)}

.dh-ann{background:var(--dcy-ink);color:#fff;text-align:center;font-size:13.5px;line-height:1.5;padding:7px 12px}

/* sticky header */
.dh-hd{position:sticky;top:0;z-index:40;background:var(--dcy-surface);border-bottom:1px solid var(--dcy-line);transition:box-shadow .25s}
.dcy-s--pv .dh-hd{top:37px}
.dh-hd.is-up{box-shadow:0 8px 24px -18px rgba(32,38,59,.45)}
.dh-hd__row{display:flex;align-items:center;gap:10px;min-height:62px}
.dh-hd .dcy-logo{margin-right:auto}
.dh-hd .dh-ic{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;border:0;background:transparent;color:var(--dcy-ink);cursor:pointer;position:relative;padding:0;box-shadow:none}
.dh-hd .dh-ic svg{width:24px;height:24px}
.dh-hd .dh-ic:hover,.dh-hd .dh-ic:focus{background:var(--dcy-tint);color:var(--dcy-ink)}
.dh-menu{margin-left:-8px}
.dh-act{display:flex;align-items:center;gap:2px}
.dh-bag__n{position:absolute;top:4px;right:3px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--dcy-accent);color:#fff;font-size:11.5px;line-height:18px;font-weight:700;text-align:center}
.dh-bag__n[hidden]{display:none}
.dh-nav{display:none}
.dh-deal{display:none}
.dh-drawer{border-top:1px solid var(--dcy-line);background:var(--dcy-surface)}
.dh-drawer[hidden]{display:none}
.dh-drawer .dcy-wrap{display:flex;flex-direction:column;padding-top:6px;padding-bottom:10px}
.dh-hd .dh-drawer a{padding:12px 0;color:var(--dcy-ink);font-weight:500;font-size:15px;border-bottom:1px solid var(--dcy-line)}
.dh-hd .dh-drawer a:last-child{border:0}
@media (min-width:900px){
  .dh-hd .dh-menu,.dh-drawer{display:none!important}
  .dh-hd__row{min-height:70px;gap:22px}
  .dh-hd .dcy-logo{margin-right:0}
  .dh-nav{display:flex;flex:1;justify-content:center;gap:24px}
  .dh-hd .dh-nav a{color:var(--dcy-ink);font-size:15px;font-weight:500;padding:6px 0;border-bottom:2px solid transparent}
  .dh-hd .dh-nav a:hover{border-color:var(--dcy-primary);color:var(--dcy-primary)}
  .dh-deal{display:flex;align-items:center;gap:12px}
  .dh-deal__p{display:flex;flex-direction:column;line-height:1.15;text-align:right}
  .dh-deal__p small{font-size:12.5px;color:var(--dcy-text)}
  .dh-deal__p b{font-family:var(--dcy-f-head);font-size:19px;color:var(--dcy-ink)}
}

/* footer (13 Nov 2026): dark, 4 columns on a computer */
.dh-ft{background:var(--dcy-ink);color:rgba(255,255,255,.78);padding:40px 0 0;font-size:14px;line-height:1.65;text-align:left}
.dh-ft__grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 18px}
.dh-ft__brand,.dh-ft__ct{grid-column:1/-1}
.dh-ft .dcy-logo{color:#fff;font-size:22px}
.dh-ft .dcy-logo img{background:#fff;border-radius:50%;padding:3px;width:40px;height:40px}
.dh-ft__tag{display:block;margin:8px 0 10px;color:var(--dcy-soft);font-weight:600}
.dh-ft p{margin:0 0 16px;max-width:420px}
.dh-ft__so{display:flex;flex-wrap:wrap;gap:10px}
.dh-ft .dh-so{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.1);display:inline-flex;align-items:center;justify-content:center;color:#fff;transition:background .2s,transform .2s}
.dh-so svg{width:20px;height:20px}
.dh-ft .dh-so:hover{transform:translateY(-2px);color:#fff}
.dh-ft .dh-so--fb:hover{background:#1877F2}
.dh-ft .dh-so--yt:hover{background:#FF0000}
.dh-ft .dh-so--tt:hover{background:#000}
.dh-ft .dh-so--ig:hover{background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF)}
.dh-ft .dh-so--wa:hover{background:#25D366}
.dh-ft .dh-so--em:hover{background:var(--dcy-accent)}
.dh-ft__col h4{margin:0 0 10px;color:#fff;font-size:15px;font-family:var(--dcy-f-head);font-weight:700}
.dh-ft .dh-ft__col a{display:block;color:rgba(255,255,255,.78);padding:4px 0}
.dh-ft .dh-ft__col a:hover{color:#fff}
.dh-ft .dh-ft__ct a{display:flex;align-items:center;gap:8px;word-break:break-all}
.dh-ft__ct svg{width:18px;height:18px;flex:0 0 18px;color:var(--dcy-soft)}
.dh-ft__note{display:block;margin-top:6px;font-size:13.5px;opacity:.75}
.dh-ft__bot{margin-top:32px;border-top:1px solid rgba(255,255,255,.12);padding:16px 0;font-size:13.5px}
.dh-ft__bot .dcy-wrap{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:space-between;opacity:.75}
@media (min-width:900px){
  .dh-ft{padding-top:56px}
  .dh-ft__grid{grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:32px}
  .dh-ft__brand,.dh-ft__ct{grid-column:auto}
}
/* sales page: not sticky on phones (as before), sticky from 768px (motion.js offset) */
.dh-hd--sale{position:relative;z-index:9990}
@media (min-width:768px){.dh-hd--sale{position:sticky;top:0}}
.admin-bar .dh-hd--sale{top:0}
@media (min-width:783px){.admin-bar .dh-hd--sale{top:32px}}

/* phone bottom navigation (shop pages only) */
.dh-bn{display:none}
.dh-bn__sheet[hidden]{display:none}
@media (max-width:899px){
  body.dcy-s{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .dh-bn{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:45;background:var(--dcy-surface);border-top:1px solid var(--dcy-line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px -18px rgba(32,38,59,.4)}
  .dh-bn__i{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;position:relative;background:none;border:0;padding:4px 0;font:inherit;font-size:12.5px;line-height:1.3;color:var(--dcy-text);text-decoration:none;cursor:pointer}
  .dh-bn__i svg{width:24px;height:24px;display:block}
  .dh-bn__i.is-on{color:var(--dcy-primary);font-weight:600}
  .dh-bn__i .dh-bag__n{position:absolute;top:0;left:calc(50% + 4px);font-style:normal}
  .dh-bn__sheet{position:fixed;inset:0;z-index:60;background:rgba(32,38,59,.45);display:flex;align-items:flex-end}
  .dh-bn__panel{width:100%;background:var(--dcy-surface);border-radius:20px 20px 0 0;padding:14px 16px calc(80px + env(safe-area-inset-bottom));max-height:80vh;overflow:auto}
  .dh-bn__ph{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-family:var(--dcy-f-head);font-size:17px;color:var(--dcy-ink)}
  .dh-bn__ph button{border:0;background:var(--dcy-tint);width:34px;height:34px;border-radius:50%;cursor:pointer}
  .dh-bn__cats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 8px}
  .dh-bn__cat{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:13.5px;color:var(--dcy-ink);text-decoration:none}
  .dh-bn__cat .dh-cat__c{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center}
  .dh-bn__cat .dh-ci{width:40px;height:40px}
}

/* floating chat on shop pages */
body.dcy-s .dcy-chat{font-family:var(--dcy-f-body)}
@media (max-width:899px){body.dcy-s .dcy-chat{bottom:calc(76px + env(safe-area-inset-bottom))!important}}

/* footer socials live under contact (13 Nov) */
.dh-ft__ct .dh-ft__so{margin-top:14px}
.dh-ft .dh-so--off{opacity:.45;cursor:default}
.dh-ft .dh-so--off:hover{transform:none;background:rgba(255,255,255,.1)}

/* header actions v2 (13 Nov): order-tracking + bag, duotone brand icons */
.dh-hd .dh-act{gap:8px}
.dh-hd .dh-trkb,.dh-hd .dh-bagb{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:42px;min-width:42px;border-radius:999px;background:var(--dcy-tint);color:var(--dcy-ink);font-size:14px;font-weight:600;line-height:1;transition:background .2s,transform .2s}
.dh-hd .dh-trkb span{display:none}
.dh-hd .dh-trkb:hover,.dh-hd .dh-bagb:hover{background:color-mix(in srgb,var(--dcy-soft) 35%,#fff);color:var(--dcy-ink);transform:translateY(-1px)}
.dh-hd .dh-hi{width:24px;height:24px}
.dh-hi .hi-b{fill:var(--dcy-soft);fill-opacity:.4;stroke:var(--dcy-primary);stroke-width:1.6;stroke-linejoin:round}
.dh-hi .hi-l{fill:none;stroke:var(--dcy-primary);stroke-width:1.6;stroke-linecap:round}
.dh-hi .hi-w{fill:#fff;stroke:var(--dcy-primary);stroke-width:1.6}
.dh-hi .hi-a{fill:var(--dcy-accent)}
.dh-hd .dh-bagb .dh-bag__n{top:-3px;right:-3px;box-shadow:0 0 0 2px var(--dcy-surface)}
@media (min-width:900px){.dh-hd .dh-trkb{padding:0 16px 0 12px}.dh-hd .dh-trkb span{display:inline}}
/* footer socials in their own brand colours */
.dh-ft .dh-so--fb{background:#1877F2}
.dh-ft .dh-so--yt{background:#FF0000}
.dh-ft .dh-so--tt{background:#000;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.dh-ft .dh-so--ig{background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF)}
.dh-ft .dh-so--wa{background:#25D366}
.dh-ft .dh-so--em{background:var(--dcy-accent)}
.dh-ft .dh-so:hover{filter:brightness(1.1)}
.dh-ft .dh-so--off,.dh-ft .dh-so--off:hover{opacity:.4;filter:none;transform:none}.dh-ft .dh-ft__so .dh-so--yt.dh-so--off:hover{background:#FF0000}.dh-ft .dh-ft__so .dh-so--ig.dh-so--off:hover{background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF)}.dh-ft .dh-ft__so .dh-so--tt.dh-so--off:hover{background:#000}

/* 13 Nov (b): one brand colour for footer icons, blue header price, card buttons */
.dh-ft .dh-ft__so .dh-so,.dh-ft .dh-ft__so .dh-so.dh-so--off:hover{background:var(--dcy-primary);box-shadow:none}
.dh-ft .dh-ft__so .dh-so:hover{filter:brightness(1.12)}
.dh-ft .dh-ft__so .dh-so--off{opacity:.38}
.dh-hd .dh-deal__p b{color:var(--dcy-primary)}
/* 13 Nov (c): footer contact icons bigger; social buttons styled like them (soft-blue icon, quiet ring) */
.dh-ft .dh-ft__ct a svg{width:22px;height:22px;flex:0 0 22px;color:var(--dcy-soft)}
.dh-ft .dh-ft__ct a{gap:10px;padding:5px 0}
.dh-ft .dh-ft__so .dh-so,.dh-ft .dh-ft__so .dh-so.dh-so--off:hover{background:rgba(148,172,255,.1);box-shadow:inset 0 0 0 1px rgba(148,172,255,.35);color:var(--dcy-soft);filter:none}
.dh-ft .dh-ft__so .dh-so svg{width:21px;height:21px;color:var(--dcy-soft)}
.dh-ft .dh-ft__so a.dh-so:hover{background:rgba(148,172,255,.22);transform:translateY(-2px)}
.dh-ft .dh-ft__so .dh-so--off{opacity:.38}
/* sale header (milk-warmer page) on mid-size screens: categories go to the menu so price + order button fit (17 Nov) */
.dh-nav a{white-space:nowrap}
@media (min-width:900px) and (max-width:1199px){
  .dh-hd--sale .dh-nav{display:none!important}
  .dh-hd--sale .dh-menu{display:inline-flex!important}
  .dh-hd--sale .dh-drawer:not([hidden]){display:block!important}
  .dh-hd--sale .dcy-logo{margin-right:auto}
}
