/* Website chrome is scoped so the checkout and editors keep their own controls. */
#siteHeader, #siteFooter {
  box-sizing:border-box; width:100%; margin:0; padding:0; text-align:left;
  font:400 14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color:#242622; letter-spacing:normal; background:#fbfbf9;
}
#siteHeader *, #siteFooter * {box-sizing:border-box}
#siteHeader {position:sticky; top:0; z-index:100; border:0; border-bottom:1px solid #e1e1d9}
#siteHeader .header-inner, #siteFooter .site-footer-wrap {
  width:100%; max-width:1824px; margin:0 auto; padding:0 clamp(16px,2.8vw,40px);
}
#siteHeader .header-inner {height:64px; position:relative; display:flex; align-items:center; justify-content:space-between; gap:12px}
#siteHeader .wordmark {display:flex; align-items:center; flex:0 0 auto; margin:0; padding:0; border:0}
#siteHeader .brand-logo {display:block; width:auto; height:48px; max-width:146px; object-fit:contain}
#siteHeader .site-nav, #siteHeader .header-actions {display:flex; align-items:center; width:auto; margin:0; padding:0; gap:4px}
#siteHeader .site-nav {margin-left:auto}
#siteHeader .site-member-actions {display:contents}
#siteHeader a, #siteHeader button {font:inherit; text-decoration:none; letter-spacing:normal; white-space:nowrap}
#siteHeader .site-nav a, #siteHeader .header-actions a, #siteHeader .header-actions button, #siteHeader .nav-toggle {
  display:inline-flex; align-items:center; justify-content:center; width:auto; height:auto; min-width:0; margin:0;
  padding:7px 10px; border:1px solid transparent; border-radius:8px; box-shadow:none;
  background:transparent; color:#41443c; font-size:13px; font-weight:500; line-height:1.5; cursor:pointer;
}
#siteHeader .header-actions a, #siteHeader .header-actions button, #siteHeader .nav-toggle {border-color:#d3d5cc}
#siteHeader .site-nav a:hover, #siteHeader .site-nav a.active, #siteHeader .header-actions :hover {color:#161914; border-color:#5e6458}
#siteHeader .nav-toggle {display:none; margin-left:auto; width:40px; height:40px; padding:0; font-size:22px}
#siteFooter {position:relative; inset:auto; background:#f4f4ef; border:0; border-top:1px solid #dfe1d7}
#siteFooter summary {width:fit-content; padding:14px 0; font-size:14px; font-weight:650; cursor:pointer}
#siteFooter .site-footer-brand {display:flex; align-items:center; gap:16px; padding:0 0 14px}
#siteFooter .site-footer-brand img {display:block; width:110px; height:37px; object-fit:contain; clip-path:polygon(0 0,100% 0,100% 78.6%,42% 78.6%,42% 100%,0 100%)}
#siteFooter .site-footer-brand p {margin:0; color:#565b50; font:400 13px/1.6 -apple-system,"PingFang SC",sans-serif}
#siteFooter .site-directory {display:grid; position:static; width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; margin:0; padding:8px 0 24px; background:transparent}
#siteFooter .site-directory section {display:flex; flex-direction:column; align-items:flex-start; gap:5px; margin:0; padding:0; background:transparent; border:0}
#siteFooter .site-directory h2 {margin:0 0 4px; padding:0; font-family:inherit; font-weight:650; font-size:14px; line-height:1.5; letter-spacing:normal; color:#262a23}
#siteFooter a {display:inline; width:fit-content; padding:0; margin:0; background:transparent; color:#464b40; font-family:inherit; font-size:13px; line-height:1.7; text-decoration:none; border:0}
#siteFooter a:hover {text-decoration:underline; text-underline-offset:3px}
#siteFooter .site-credits {display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:space-between; border-top:1px solid #d9dbd1; padding:14px 0; color:#52574c; font-size:12px}
.site-page-note, .admin-page-links {margin:12px auto; padding:0 clamp(16px,2.8vw,40px); font-size:13px}
.admin-page-links {display:flex; gap:16px; flex-wrap:wrap}
body[data-site-workspace] {--site-bar:65px; --site-foot:calc(34px + env(safe-area-inset-bottom,0px))}
body[data-site-workspace] #siteFooter {position:fixed; bottom:0; z-index:4800; max-height:60dvh; overflow:auto; padding-bottom:env(safe-area-inset-bottom,0px)}
body[data-site-workspace] #siteFooter summary {height:33px; padding:6px 0; font-size:13px}
body[data-site-workspace="design"] #root {height:calc(100% - var(--site-bar) - var(--site-foot))}
body[data-site-workspace="design"] .storefront-app {height:100%}
body[data-site-workspace="diy-app"] #siteHeader {z-index:2000}
body[data-site-workspace="diy-app"] #controls {max-height:calc(100dvh - 90px - var(--site-foot))}
body[data-site-workspace="diy-app"] #boardInfoGroup.diy-board-overview {bottom:calc(16px + var(--site-foot))}
body[data-site-workspace="diy-app"] #textureHint {bottom:calc(20px + var(--site-foot))}
body:has(.sticky-cta) #siteFooter {padding-bottom:76px}
@media(max-width:1220px) {
  #siteHeader .nav-toggle {display:inline-flex}
  #siteHeader .site-nav {display:none; position:absolute; left:16px; right:16px; top:100%; z-index:2; margin:0; padding:8px; max-height:calc(100dvh - 85px); overflow:auto; flex-direction:column; align-items:stretch; gap:2px; background:#fff; border:1px solid #dcdfd4; border-radius:10px; box-shadow:0 12px 28px #17201621}
  #siteHeader .site-nav.open {display:flex}
  #siteHeader .site-nav a {justify-content:flex-start; padding:9px 12px}
}
@media(max-width:760px) {
  #siteHeader .header-inner {height:58px; gap:6px}
  #siteHeader .brand-logo {max-width:96px; height:42px}
  #siteHeader .header-actions .header-order-link, #siteHeader .header-actions .header-balance {display:none}
  #siteFooter .site-directory {grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px}
  body[data-site-workspace] {--site-bar:59px}
  body.visit-site-page #siteFooter {padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:720px) {
  body[data-site-workspace="diy-app"] .diy-mobile-tabs {bottom:calc(10px + var(--site-foot))}
  body[data-site-workspace="diy-app"] #controls, body[data-site-workspace="diy-app"] #boardInfoGroup.diy-board-overview, body[data-site-workspace="diy-app"] .hole-tools {bottom:calc(82px + var(--site-foot)); max-height:none}
}
