
:root {
  --qw-pink: #f4a4ba;
  --qw-soft-pink: #fff0f4;
  --qw-blush: #f8d7df;
  --qw-ink: #1f1f1f;
  --qw-muted: #6f6468;
  --qw-line: #eadde1;
  --qw-cream: #fffaf7;
  --qw-card: #ffffff;
  --qw-shadow: 0 18px 40px rgba(80, 52, 61, 0.09);
  --line: var(--qw-line);
  --ink: var(--qw-ink);
  --soft-shadow: var(--qw-shadow);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #fff8f5 0%, #fffdfb 46%, #faf7f6 100%);
  color: var(--qw-ink);
}
a { color: inherit; }
.container { width: min(1110px, calc(100% - 40px)); margin: 0 auto; }
.promo-bar {
  background: var(--qw-pink);
  color: #fff;
  text-align: center;
  letter-spacing: .08em;
  font-size: .84rem;
  font-weight: 600;
  padding: 11px 16px;
}
.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--qw-line);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { text-decoration: none; }
.qw-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: .13em;
  font-size: 1.55rem;
  line-height: 1.02;
  color: #111;
}
.site-nav { display: flex; align-items: center; gap: 23px; }
.site-nav-left { justify-content: flex-start; }
.site-nav-right { justify-content: flex-end; }
.site-nav a {
  text-decoration: none;
  color: #3f383a;
  font-weight: 500;
  font-size: .94rem;
  letter-spacing: .02em;
}
.site-nav a:hover,
.site-nav a.active { color: #c56a84; }
.menu-toggle {
  display: none;
  border: 1px solid var(--qw-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 1rem;
}
.hero { padding: 46px 0 34px; margin-bottom: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 34px;
  align-items: center;
}
.eyebrow {
  font-size: .76rem;
  font-weight: 800;
  color: #c56a84;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 10px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.045em;
  color: #292627;
}
.hero-lede,
.hero p {
  color: var(--qw-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 600px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 0;
  border: 1px solid #2c292a;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
}
.btn-primary { background: #2b292a; color: #fff; }
.btn-secondary { background: transparent; color: #2b292a; }
.btn:hover { transform: translateY(-1px); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mini-stats span {
  background: rgba(255,255,255,.84);
  border: 1px solid var(--qw-line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #655c5f;
  font-weight: 700;
  font-size: .88rem;
}
.hero-panel, .activity-card, .panel {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--qw-line);
  box-shadow: var(--qw-shadow);
}
.hero-panel {
  border-radius: 8px;
  padding: 20px;
}
.panel-top { display: flex; gap: 7px; margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 999px; display: block; }
.dot-red { background: #f4a4ba; } .dot-yellow { background: #f4d28d; } .dot-green { background: #b8d9c2; }
.spotlight-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 8px;
  background: var(--qw-soft-pink);
  border: 1px solid var(--qw-line);
}
.spotlight-icon { font-size: 2rem; }
.spotlight-label { margin: 0 0 5px !important; font-weight: 800; color: #c56a84 !important; font-size: .78rem !important; text-transform: uppercase; letter-spacing: .12em; }
.spotlight-card h2 { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.coloring-preview-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.coloring-preview-tile { min-height: 122px; border-radius: 8px; background: #fff; border: 1px solid var(--qw-line); box-shadow: var(--qw-shadow); display: grid; place-items: center; text-align: center; padding: 18px; font-weight: 900; color: var(--qw-ink); }
.coloring-preview-tile span { display: block; font-size: 2rem; margin-bottom: 8px; }
.section { padding: 54px 0; }
.section-light { background: rgba(255, 240, 244, .58); border-top: 1px solid var(--qw-line); border-bottom: 1px solid var(--qw-line); }
.section-heading { text-align: center; }
.section-heading h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.035em; }
.section-heading p:last-child { color: var(--qw-muted); margin: 0 auto; max-width: 720px; line-height: 1.7; }
.coloring-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.activity-card {
  display: block;
  min-height: 280px;
  border-radius: 8px;
  padding: 28px;
  text-decoration: none;
  color: var(--qw-ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.activity-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(80, 52, 61, 0.14); }
.activity-icon { font-size: 2.1rem; display: inline-block; margin-bottom: 16px; }
.activity-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.activity-card p { color: var(--qw-muted); line-height: 1.65; }
.mode-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mode-pill-row span { display: inline-flex; align-items: center; border-radius: 999px; background: var(--qw-soft-pink); border: 1px solid var(--qw-line); color: #655c5f; font-size: 0.78rem; font-weight: 800; padding: 7px 10px; }
.card-link-text { display: inline-block; margin-top: 18px; color: #c56a84; font-weight: 900; }
.site-footer {
  background: #2b292a;
  color: #fff;
  margin-top: 0;
}
.footer-inner {
  min-height: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
}
.footer-inner h3 { margin: 0 0 8px; letter-spacing: .1em; text-transform: uppercase; }
.footer-inner p { margin: 0; color: #e8dadd; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.footer-nav a:hover { color: #f4a4ba; }
.coloring-app-main { width: min(1500px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 52px; }
.coloring-subnav {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--qw-line);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 112px;
  z-index: 20;
}
.coloring-subnav-inner { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.coloring-subnav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--qw-line); background: #fff; color: #4f4649; text-decoration: none; font-size: .86rem; font-weight: 800;
  box-shadow: 0 8px 18px rgba(80,52,61,.05); transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.coloring-subnav a:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(80,52,61,.08); }
.coloring-subnav a.active { color: #fff; border-color: transparent; background: #2b292a; }
@media (max-width: 900px) {
  .header-inner { min-height: 88px; grid-template-columns: auto auto; justify-content: space-between; }
  .site-nav-left { display: none; }
  .site-nav-right { display: none; position: absolute; top: 88px; right: 20px; left: 20px; background: #fff; border: 1px solid var(--qw-line); box-shadow: var(--qw-shadow); padding: 16px; flex-direction: column; align-items: stretch; z-index: 40; }
  .site-nav-right.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .coloring-subnav { top: 88px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1110px); }
  .promo-bar { font-size: .72rem; }
  .qw-logo { font-size: 1.25rem; }
  .hero { padding: 34px 0 26px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }
  .coloring-mode-grid, .coloring-preview-board { grid-template-columns: 1fr; }
  .activity-card { min-height: auto; }
  .coloring-subnav-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .coloring-subnav a { flex: 0 0 auto; font-size: .82rem; padding: 0 13px; }
}

/* ===== Coloring app styles ===== */
.page-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-thumb {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #fff;
  pointer-events: none;
}

.page {
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px;
}

.hero {
  margin-bottom: 20px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

.hero p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.panel {
  background: rgba(255, 255, 255, 0.96);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.page-picker {
  margin-bottom: 24px;
}

.page-picker h2,
.panel h2 {
  font-size: 16px;
  font-weight: 700;
  color: #4a4a4a;
  margin: 0 0 14px;
}

.page-picker-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px;
}

.page-card {
  border: 2px solid transparent;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-card:hover {
  transform: translateY(-4px);
  border-color: #f8d7df;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.07);
}

.page-card.active {
  border-color: #f4a4ba;
  box-shadow: 0 0 0 4px rgba(124, 198, 255, 0.18);
}

.page-card img {
  width: 100%;
  height: 115px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #efefef;
  display: block;
}

.page-card-title {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

.layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.palette-panel {
  padding: 22px 20px;
  position: sticky;
  top: 20px;
  border-radius: 8px;
}

.palette-panel h2 {
  text-align: center;
  margin-bottom: 14px;
  font-size: 15px;
  display: none;
}

.palette-grid,
.saved-colors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 148px;
  margin: 0 auto;
}

.color-btn,
.saved-color-btn {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  padding: 0;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.12s ease, outline 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.color-btn:hover,
.saved-color-btn:hover {
  transform: scale(1.08);
}

.color-btn:active,
.saved-color-btn:active {
  transform: scale(0.96);
}

.color-btn.selected,
.saved-color-btn.active {
  outline: 2px solid #111;
  outline-offset: 2px;
}

#colorPicker {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-color-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 10px;
}

.current-color-chip {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #ff0000;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.mini-icon-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: #f3f3f3;
  color: #444;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.06),
    0 4px 10px rgba(0, 0, 0, 0.07);
}

.mini-icon-btn:hover {
  background: #e9e9e9;
  transform: scale(1.04);
}

.mini-icon-btn:active {
  transform: scale(0.97);
}

.custom-action-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
}

.mini-action-btn {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.mini-action-btn.primary {
  background: #f4a4ba;
  color: #fff;
  box-shadow: 0 6px 14px rgba(124, 198, 255, 0.25);
}

.mini-action-btn.primary:hover {
  background: #d9829c;
  transform: translateY(-1px);
}

.mini-action-btn.secondary {
  background: #fff0f4;
  color: #5c6b78;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.mini-action-btn.secondary:hover {
  background: #f8d7df;
  transform: translateY(-1px);
}

.visually-hidden-color-picker {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.actions {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.actions button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 999px;
  background: #f4a4ba;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 8px 16px rgba(124, 198, 255, 0.24);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(124, 198, 255, 0.3);
}

.actions button:active {
  transform: scale(0.98);
}

.art-panel {
  position: relative;
  background: #ffffff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  min-height: 780px;
  overflow: hidden;
}

.zoom-wrapper {
  width: 100%;
  min-height: 700px;
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 40px 40px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#zoomContainer {
  transform-origin: center top;
  transition: transform 0.2s ease;
  display: inline-block;
  width: fit-content;
  height: fit-content;
}

.zoom-controls.vertical {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 20;
}

.zoom-controls.vertical button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  color: #333;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.zoom-controls.vertical button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
  background: #f8fbff;
}

.zoom-controls.vertical button:active {
  transform: scale(0.96);
}

path[fill="none"],
line,
polyline {
  pointer-events: none;
}

.fillable {
  cursor: pointer;
  transition: fill 0.14s ease;
}

.color-picker-wrap {
  position: relative;
  overflow: hidden;
}

.picker-emoji {
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.mobile-color-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
}

#coloringWrapper {
  position: relative;
  display: inline-block;
  touch-action: pinch-zoom;
}

#coloringArea {
  position: relative;
  display: inline-block;
  line-height: 0;
}

#fillLayer {
  position: relative;
  z-index: 1;
  display: inline-block;
}

#lineLayer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

#fillLayer svg,
#lineLayer svg,
#lineArtLayer svg {
  display: block;
  width: 100%;
  max-width: 1050px;
  height: auto;
  margin: 0 auto;
}

.brush-mode-wrapper {
  position: relative;
  display: inline-block;
  touch-action: pinch-zoom;
  line-height: 0;
}

#lineArtLayer {
  position: relative;
  z-index: 2;
  pointer-events: none;
  display: inline-block;
}

#paintCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  touch-action: pinch-zoom;
}

.tool-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 per row */
  gap: 6px;
  margin: 10px 0;
}

.tool-toggle button {
  border: none;
  border-radius: 999px;          /* pill shape */
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  background: #fff0f4;
  color: #4c5b68;
  transition: all 0.15s ease;
}

.tool-toggle button:hover {
  background: #f8d7df;
}

.tool-toggle button.active {
  background: #f4a4ba;
  color: #fff;
  box-shadow: 0 4px 10px rgba(124, 198, 255, 0.25);
}

.brush-control-group {
  margin: 12px 0;
}

.brush-control-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #555;
}

.brush-control-group input[type="range"] {
  width: 100%;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .palette-panel {
    position: static;
  }

  .tool-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .palette-grid,
  .saved-colors-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: none;
  }

  .art-panel {
    min-height: 680px;
  }

  .zoom-wrapper {
    min-height: 580px;
    padding: 20px 24px 32px;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 14px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .palette-grid,
  .saved-colors-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .art-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .zoom-wrapper {
    min-height: 460px;
    padding: 16px 16px 24px;
  }

  .zoom-controls.vertical {
    left: 16px;
    bottom: 16px;
  }

  .zoom-controls.vertical button {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 20px;
  }

  .custom-color-row {
    gap: 8px;
  }

  .custom-action-row {
    gap: 6px;
  }

  .mini-action-btn {
    font-size: 10px;
    padding: 8px 8px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .zoom-controls.vertical {
    display: none !important;
  }

  .zoom-wrapper {
    overscroll-behavior: auto;
  }
}





/* ===== Quirky Wishes clean header update ===== */
.promo-bar { display: none !important; }
.site-header {
  position: sticky;
  top: 0;
}
.header-inner {
  min-height: 122px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.header-spacer { min-height: 1px; }
.qw-logo {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: .105em;
  font-size: 1.85rem;
  line-height: .92;
  text-align: center;
  color: #111;
  transform: scaleX(1.02);
}
.site-nav-right { justify-content: flex-end; }
.site-nav-right a {
  font-weight: 600;
  color: #2f2b2c;
}
.coloring-subnav { top: 122px; }
.coloring-subnav a.active { background: #252323; }

/* Keep the landing page headline large; app styles below were overriding the hero size. */
.coloring-landing .hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #292627;
}
.coloring-landing .hero p {
  color: var(--qw-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 600px;
}

@media (max-width: 900px) {
  .header-inner { min-height: 94px; grid-template-columns: 1fr auto 1fr; }
  .header-spacer { display: block; }
  .site-nav-right { top: 94px; }
  .coloring-subnav { top: 94px; }
  .menu-toggle { justify-self: end; }
}
@media (max-width: 680px) {
  .qw-logo { font-size: 1.45rem; }
  .header-inner { min-height: 86px; }
  .site-nav-right { top: 86px; }
  .coloring-subnav { top: 86px; }
}


/* ===== Quirky Wishes exact logo + clean header v2 ===== */
.promo-bar { display: none !important; }
.site-nav-left { display: none !important; }
.header-spacer { display: block !important; }
.qw-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
  transform: none !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
}
.qw-logo-img {
  display: block;
  width: 110px;
  height: auto;
}
.header-inner {
  grid-template-columns: 1fr auto 1fr !important;
}
.site-nav-right {
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto 1fr !important; }
  .qw-logo-img { width: 112px; }
}
@media (max-width: 680px) {
  .qw-logo-img { width: 102px; }
}


/* ===== Quirky Wishes header subtitle update ===== */
.qw-logo {
  line-height: 1 !important;
  gap: 8px;
}

.qw-logo-subtitle {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f6468;
  text-align: center;
}

.site-nav-right a[href="/"].active {
  display: none !important;
}

@media (max-width: 900px) {
  .qw-logo-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    margin-top: 7px;
  }
}


/* ===== Quirky Wishes header proportion fix v4 ===== */
.site-header.qw-header {
  position: sticky;
  top: 0;
}

.header-inner {
  min-height: 96px !important;
  padding: 10px 0 8px !important;
  gap: 14px !important;
  grid-template-columns: 1fr auto 1fr !important;
}

.qw-logo {
  gap: 4px !important;
  line-height: 1 !important;
  align-items: center !important;
}

.qw-logo-img {
  width: 112px !important;
  height: auto !important;
  display: block !important;
}

.qw-logo-subtitle {
  margin-top: 4px !important;
  font-size: 0.9rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  color: #6f6468 !important;
  text-align: center !important;
}

.site-nav-right a[href="/"],
.site-nav-right a[href="/"].active {
  display: none !important;
}

.coloring-subnav {
  top: 96px !important;
}

.coloring-subnav-inner {
  min-height: 50px !important;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 88px !important;
    padding: 9px 0 7px !important;
    grid-template-columns: 1fr auto 1fr !important;
  }
  .site-nav-right { top: 88px !important; }
  .coloring-subnav { top: 88px !important; }
  .qw-logo-img { width: 106px !important; }
  .qw-logo-subtitle {
    font-size: 0.82rem !important;
    letter-spacing: 0.12em !important;
    margin-top: 4px !important;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 82px !important;
    padding: 8px 0 6px !important;
  }
  .site-nav-right { top: 82px !important; }
  .coloring-subnav { top: 82px !important; }
  .qw-logo-img { width: 98px !important; }
  .qw-logo-subtitle {
    font-size: 0.76rem !important;
    letter-spacing: 0.11em !important;
  }
}

/* ===== Quirky Wishes header subtitle spacing fix v5 ===== */
.header-inner {
  min-height: 106px !important;
  padding: 12px 0 12px !important;
}

.qw-logo-img {
  width: 112px !important;
}

.qw-logo-subtitle {
  margin-top: 7px !important;
  font-size: 1.02rem !important;
  letter-spacing: 0.14em !important;
  font-weight: 700 !important;
}

.coloring-subnav {
  top: 106px !important;
}

.coloring-subnav-inner {
  min-height: 58px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 98px !important;
    padding: 10px 0 10px !important;
  }
  .coloring-subnav { top: 98px !important; }
  .site-nav-right { top: 98px !important; }
  .qw-logo-subtitle {
    font-size: 0.94rem !important;
    margin-top: 6px !important;
    letter-spacing: 0.13em !important;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 92px !important;
    padding: 9px 0 9px !important;
  }
  .coloring-subnav { top: 92px !important; }
  .site-nav-right { top: 92px !important; }
  .qw-logo-img { width: 100px !important; }
  .qw-logo-subtitle {
    font-size: 0.86rem !important;
    margin-top: 6px !important;
    letter-spacing: 0.12em !important;
  }
  .coloring-subnav-inner {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}
