/* HappyHoursBoutiqueCA - pastel redesign, static - Nov 24, 2026 */
/* Pastel only. Tone from the profiles: soft watercolor, green dinosaur and owl, gentle and cheerful. Kids likable, parents calm. Some white is ok. */
:root {
  color-scheme: light dark;
  --paper: #fdf6ec;
  --ink: #3d4f42;
  --ink-soft: #6b7d6e;
  --sage: #8fb8a0;
  --sage-deep: #5a8a6e;
  --leaf: #7fb894;
  --mint: #dff0e2;
  --peach: #ffe9d6;
  --peach-soft: #fff1e3;
  --sky: #d9ecf7;
  --lavender: #e8ddf5;
  --yellow: #fff3c4;
  --pink: #ffd9e2;
  --pink-soft: #ffeef2;
  --coral-soft: #ffcfb8;
  --card: #ffffff;
  --shadow: 0 8px 20px rgba(90, 120, 95, 0.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Nunito", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: var(--sage-deep); }

.topbar { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 2px solid var(--mint); }
.topbar-inner { max-width: 960px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 12px; }
.topbar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sage); }
.topbar .brand { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.1rem; line-height: 1.1; min-width: 0; flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .brand small { display: block; font-family: "Nunito", sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--ink-soft); }
.topbar .shop-btn { margin-left: auto; flex: 0 0 auto; white-space: nowrap; background: var(--sage-deep); color: #fff; text-decoration: none; font-family: "Fredoka", sans-serif; font-weight: 600; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.hero-band { background: var(--mint); border-radius: 0 0 48px 48px; padding: 36px 0 48px; }
.hero { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; text-align: left; }
@media (min-width: 720px) { .hero { grid-template-columns: 1.1fr 0.9fr; } }
.hero-logo { width: min(280px, 72vw); margin: 0 auto; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); background: #fff; order: -1; }
@media (min-width: 720px) { .hero-logo { order: 2; width: 100%; max-width: 340px; } }
.hero-logo img { display: block; width: 100%; height: auto; }
h1 { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: clamp(2.8rem, 11vw, 4.2rem); line-height: 1; margin: 0; color: var(--ink); }
h1 span { display: block; }
h1 .line2 { color: var(--sage-deep); }
h1 .line3 { color: #d98a7a; }
.hero p.lead { font-size: 1.2rem; font-weight: 800; margin: 18px 0 0; }
.hero p.idea { margin: 12px 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.cta-row { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 520px) { .cta-row { grid-template-columns: 1fr 1fr; } }
.btn { display: block; padding: 16px 20px; border-radius: 999px; text-decoration: none; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.12rem; text-align: center; line-height: 1.25; box-shadow: var(--shadow); }
.btn small { display: block; font-family: "Nunito", sans-serif; font-weight: 700; font-size: 0.88rem; opacity: 0.85; margin-top: 2px; }
.btn-primary { background: var(--sage-deep); color: #fff; }
.btn-secondary { background: #fff; color: #22352a; }

.strip { background: var(--lavender); color: var(--ink); text-align: center; font-family: "Fredoka", sans-serif; font-weight: 600; letter-spacing: 0.05em; padding: 12px 16px; font-size: 0.92rem; margin-top: 24px; border-radius: 999px; }

section { padding: 44px 0 8px; }
h2 { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: clamp(1.8rem, 6vw, 2.4rem); line-height: 1.1; margin: 0 0 10px; text-align: left; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 22px; max-width: 560px; }
.band { border-radius: 32px; padding: 28px 24px; }
.band-mint { background: var(--mint); }
.band-peach { background: var(--peach); }
.band-sky { background: var(--sky); }
.band-white { background: var(--card); box-shadow: var(--shadow); }

.tiles { display: grid; gap: 14px; }
@media (min-width: 620px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { display: block; background: var(--card); border-radius: 28px; padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-top: 6px solid var(--sage); }
.tile.etsy { border-top-color: var(--coral-soft); grid-column: 1 / -1; background: var(--peach-soft); }
.tile.youtube { border-top-color: var(--pink); }
.tile.instagram { border-top-color: var(--lavender); }
.tile.pinterest { border-top-color: var(--sky); }
.tile.x { border-top-color: var(--mint); }
.tile .icon { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; }
.tile .icon svg { width: 28px; height: 28px; }
.icon-etsy { background: #e8a88f; }
.icon-youtube { background: #e8a0a0; }
.icon-instagram { background: #d9a0c0; }
.icon-pinterest { background: #a0b8d9; }
.icon-x { background: #8fa89a; }
.tile h3 { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.25rem; margin: 0 0 4px; }
.tile p { margin: 0; color: var(--ink-soft); }
.tile .go { display: block; margin-top: 12px; font-weight: 800; color: var(--sage-deep); }

.activities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 620px) { .activities { grid-template-columns: 1fr 1fr 1fr; } }
.activities li { background: var(--card); border-radius: 20px; padding: 16px; font-weight: 800; box-shadow: var(--shadow); font-size: 0.98rem; }
.activities li span { display: block; font-size: 1.5rem; margin-bottom: 6px; }

.steps { display: grid; gap: 20px; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }
.step .num { width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.6rem; display: grid; place-items: center; border: 2px solid #fff; box-shadow: var(--shadow); }
.step h3 { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.2rem; margin: 14px 0 6px; }
.step p { margin: 0; color: var(--ink-soft); }

.trust-list { margin: 0; padding-left: 20px; }
.trust-list li { margin: 10px 0; color: var(--ink-soft); }
.trust-list li strong { color: var(--ink); }
details { background: var(--card); border-radius: 20px; padding: 16px 18px; margin: 10px 0; box-shadow: var(--shadow); }
summary { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.08rem; cursor: pointer; }
details p { margin: 8px 0 0; color: var(--ink-soft); }

footer { margin-top: 56px; background: var(--mint); color: var(--ink); border-radius: 48px 48px 0 0; padding: 36px 0 48px; }
footer .wrap { text-align: left; }
footer .foot-name { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.35rem; margin: 0; }
footer p { margin: 6px 0; color: var(--ink-soft); }
footer a { color: var(--sage-deep); font-weight: 800; }
.footer-links a { margin-right: 16px; }

.legal { padding-top: 36px; }
.legal h1 { font-size: clamp(2.1rem, 8vw, 3rem); color: var(--ink); }
.legal h2 { margin-top: 32px; font-size: 1.5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p strong, .legal li strong { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .updated { text-align: left; }
.back-link { display: inline-block; margin-top: 28px; font-weight: 800; }
@media (max-width: 480px) { h1 { font-size: 2.8rem; } }

/* ---------- Auto dark by time of day, plus manual toggle ---------- */
/* Day: 7:00 to 19:00 light, the existing pastel design. Night: 19:00 to 7:00 dark. */
/* The toggle sets data-theme on <html> and saves the choice, so a manual choice wins over the time. */
[data-theme="dark"] {
  --paper: #1e2b24;
  --ink: #eef4ea;
  --ink-soft: #b9c8b6;
  --sage: #8fb8a0;
  --sage-deep: #a8cbb5;
  --leaf: #7fb894;
  --mint: #2a3f31;
  --peach: #3d3226;
  --peach-soft: #33291f;
  --sky: #26394a;
  --lavender: #332e42;
  --yellow: #4a4426;
  --pink: #3d2c32;
  --pink-soft: #33262b;
  --coral-soft: #4a3228;
  --card: #2a3a2e;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .hero-band { background: var(--mint); }
[data-theme="dark"] h1 { color: #f2f7ee; }
[data-theme="dark"] h1 .line2 { color: #a8cbb5; }
[data-theme="dark"] h1 .line3 { color: #e8a08f; }
[data-theme="dark"] .hero p.lead { color: #f2f7ee; }
/* Button contrast, fixed: white button always has dark text, in light and in dark. */
[data-theme="dark"] .btn-secondary { background: #f2f7ee; color: #22352a; }
[data-theme="dark"] .btn-secondary small { color: #3d4f42; }
[data-theme="dark"] .btn-primary { background: #7fb894; color: #1e2b24; }
[data-theme="dark"] .btn-primary small { color: #1e2b24; }
[data-theme="dark"] .topbar .shop-btn { background: #7fb894; color: #1e2b24; }
[data-theme="dark"] .tile.etsy { background: #33291f; }
[data-theme="dark"] .step .num { background: #4a4426; color: #f2f7ee; border-color: #2a3a2e; }
[data-theme="dark"] footer { background: var(--mint); color: #eef4ea; }
[data-theme="dark"] footer p { color: #b9c8b6; }
[data-theme="dark"] footer a { color: #fff3c4; }

/* Toggle button, top right in the top bar */
.theme-toggle {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--sage);
  background: var(--card);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.theme-toggle:hover { border-color: var(--sage-deep); }

/* Top bar on narrow phones: the Shop button must never wrap into a tall circle. */
@media (max-width: 480px) {
  .topbar-inner { padding: 10px 12px; gap: 8px; }
  .topbar img { width: 36px; height: 36px; }
  .topbar .brand { font-size: 0.95rem; }
  .topbar .brand small { display: none; }
  .topbar .shop-btn { padding: 8px 12px; font-size: 0.9rem; }
  .theme-toggle { width: 36px; height: 36px; }
  .footer-links a { white-space: nowrap; }
}
