/* ZGO 1.3.0 — site chrome (header, drawer, footer) + shared tokens */
:root {
  --z-pink: #ff2d78;
  --z-pink-600: #e61e66;
  --z-pink-50: #fff0f5;
  --z-teal: #00c9a7;
  --z-teal-600: #00a88c;
  --z-teal-50: #e6faf6;
  --z-ink: #080c1c;
  --z-ink-2: #141a30;
  --z-yellow: #ffd600;
  --z-yellow-50: #fffbe0;
  --z-g900: #0f172a;
  --z-g700: #334155;
  --z-g600: #475569;
  --z-g500: #64748b;
  --z-g300: #cbd5e1;
  --z-g200: #e2e8f0;
  --z-g100: #f1f5f9;
  --z-g50: #f8fafc;
  --z-r-sm: 10px;
  --z-r: 16px;
  --z-r-lg: 24px;
  --z-sh-sm: 0 1px 2px rgba(8, 12, 28, .06), 0 1px 3px rgba(8, 12, 28, .06);
  --z-sh: 0 4px 6px -2px rgba(8, 12, 28, .05), 0 12px 24px -6px rgba(8, 12, 28, .10);
  --z-sh-lg: 0 24px 48px -12px rgba(8, 12, 28, .22);
  --z-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --z-gutter: 20px;
  --z-max: 1200px;
}
@media (min-width: 768px) { :root { --z-gutter: 32px; } }
@media (min-width: 1440px) { :root { --z-max: 1240px; } }

html, body { max-width: 100%; }
body { overflow-x: hidden; }
html.zh-lock, html.zh-lock body { overflow: hidden; }

.zwrap {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--z-max) + 2 * var(--z-gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--z-gutter);
  padding-right: var(--z-gutter);
}
.zwrap *, .zh *, .zf *, .zhome * { box-sizing: border-box; }
.zi { flex: none; display: inline-block; vertical-align: middle; }

/* Template-part wrappers: no theme block gaps around chrome */
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > footer.wp-block-template-part {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 1000;
}
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.wp-site-blocks > footer.wp-block-template-part { margin-top: 64px !important; }
body.home .wp-site-blocks > footer.wp-block-template-part { margin-top: 0 !important; }
.wp-site-blocks > main.zhome,
.wp-site-blocks > .zhome { margin-top: 0 !important; }

/* Buttons */
.zbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0;
  font: 700 15px/1 var(--z-font); letter-spacing: -.005em;
  text-decoration: none !important; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.zbtn:hover { transform: translateY(-1px); }
.zbtn--pink, .zbtn--pink:visited { background: var(--z-pink); color: #fff !important; box-shadow: 0 8px 20px -6px rgba(255, 45, 120, .55); }
.zbtn--pink:hover, .zbtn--pink:focus-visible { background: var(--z-pink-600); color: #fff !important; }
.zbtn--ink, .zbtn--ink:visited { background: var(--z-ink); color: #fff !important; }
.zbtn--ink:hover, .zbtn--ink:focus-visible { background: var(--z-ink-2); color: #fff !important; }
.zbtn--white, .zbtn--white:visited { background: #fff; color: var(--z-ink) !important; }
.zbtn--white:hover, .zbtn--white:focus-visible { background: var(--z-yellow); color: var(--z-ink) !important; }

/* ---------------- Header ---------------- */
.zh {
  font-family: var(--z-font);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--z-g200);
  color: var(--z-ink);
}
.zh__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px;
}
.zh__logo { display: inline-flex; align-items: center; flex: none; text-decoration: none !important; }
.zh__logo img { display: block; height: 40px; width: auto; max-width: none; }
.zh__nav { display: none; }
.zh__actions { display: flex; align-items: center; gap: 4px; flex: none; }
.zh__icon, .zh__burger {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  color: var(--z-ink) !important; background: transparent; border: 0; padding: 0; cursor: pointer;
  text-decoration: none !important;
  transition: background .15s ease;
}
.zh__burger:focus:not(:focus-visible), .zh__icon:focus:not(:focus-visible) { outline: none; }
.zh__icon:hover, .zh__burger:hover { background: var(--z-g100); color: var(--z-ink) !important; }
.zh-cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--z-pink); color: #fff; font: 700 11px/18px var(--z-font); text-align: center;
  border: 2px solid #fff; box-sizing: content-box;
}
.zh-cart-count.is-empty { display: none; }
.zh__burger .zi--close { display: none; }
.zh.is-open .zh__burger .zi--menu { display: none; }
.zh.is-open .zh__burger .zi--close { display: inline-block; }

.zh-drawer {
  border-top: 1px solid var(--z-g200);
  background: #fff;
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
}
.zh-drawer[hidden] { display: none; }
.zh-drawer__inner { padding-top: 16px; padding-bottom: 24px; }
.zh-search {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px; margin-bottom: 8px;
  border: 1px solid var(--z-g200); border-radius: 14px; background: var(--z-g50); color: var(--z-g500);
}
.zh-search input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none;
  font: 500 16px var(--z-font); color: var(--z-ink);
}
.zh-drawer__nav { display: flex; flex-direction: column; }
.zh-drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 0 4px;
  border-bottom: 1px solid var(--z-g100);
  font: 600 17px var(--z-font); color: var(--z-ink) !important; text-decoration: none !important;
}
.zh-drawer__link .zi { color: var(--z-g300); }
.zh-drawer__link:hover { color: var(--z-pink) !important; }
.zh-drawer__help { margin: 20px 4px 0; font: 500 14px var(--z-font); color: var(--z-g600); display: flex; align-items: center; gap: 8px; }
.zh-drawer__help a { color: var(--z-g700) !important; }

@media (min-width: 1024px) {
  .zh__bar { height: 72px; gap: 32px; }
  .zh__logo img { height: 44px; }
  .zh__nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
  .zh__link {
    padding: 10px 14px; border-radius: 10px;
    font: 600 15px var(--z-font); color: var(--z-g700) !important; text-decoration: none !important;
    white-space: nowrap;
  }
  .zh__link:hover { background: var(--z-g100); color: var(--z-ink) !important; }
  .zh__burger { display: none; }
  .zh-drawer { display: none !important; }
}

/* ---------------- Footer ---------------- */
.zf {
  font-family: var(--z-font);
  background: var(--z-ink);
  color: #c6cbe0;
  padding: 56px 0 0;
}
.zf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.zf__brand { grid-column: 1 / -1; max-width: 360px; }
.zf__logo img { display: block; height: 44px; width: auto; }
.zf__tag { margin: 16px 0 14px; font-size: 14px; line-height: 1.6; color: #9aa1bd; }
.zf__mail, .zf__mail:visited { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff !important; text-decoration: none !important; }
.zf__mail:hover { color: var(--z-teal) !important; }
.zf__title { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.zf__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.zf__list a, .zf__list a:visited {
  display: inline-block; padding: 6px 0;
  font-size: 14px; color: #9aa1bd !important; text-decoration: none !important;
}
.zf__list a:hover { color: #fff !important; }
.zf__bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  margin-top: 44px; padding-top: 22px; padding-bottom: 28px; width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px; color: #7b82a0;
}
@media (min-width: 768px) {
  .zf__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .zf { padding-top: 72px; }
  .zf__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
  .zf__brand { grid-column: auto; }
}

/* Old chrome rules from storefront.css that no longer apply */
footer.wp-block-template-part .zf a { font-size: 14px; }
