/* Clickable sample templates. Do not edit home-stickers.css or sticker/menu CTA rules in styles.css. */
.page-demo-template { overflow-x: hidden; }
.page-demo-template .example-banner { text-align: center; }

.tpl-page { --tpl-panel: #f4efe6; --tpl-ink: #1c1916; --tpl-line: #d9d0c4; }
.tpl-intro { max-width: 46rem; margin: 0 auto; padding: 1.25rem 1rem 0.5rem; text-align: center; }
.tpl-intro .kicker { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: var(--ink-soft, #5c564e); margin: 0 0 0.4rem; }
.tpl-intro h1 { margin: 0 0 0.6rem; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.tpl-intro .lede { margin: 0 auto 1rem; max-width: 38rem; color: var(--ink-soft, #5c564e); }
.tpl-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.tpl-ctas .btn { margin: 0; }
.tpl-back { display: inline-block; margin-top: 0.7rem; }

.tpl-shell { display: grid; gap: 1rem; padding: 0.75rem 1rem 1.5rem; max-width: 1200px; margin: 0 auto; box-sizing: border-box; width: 100%; }
@media (min-width: 900px) {
  .tpl-shell { grid-template-columns: 16.5rem minmax(0, 1fr); align-items: start; padding-bottom: 2.5rem; }
}

.tpl-controls {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--tpl-line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: 0 6px 20px rgba(28, 25, 22, 0.08);
}
@media (min-width: 900px) {
  .tpl-controls { position: sticky; top: 0.75rem; }
}
@media (max-width: 899px) {
  /* Mobile: preview controls scroll with the page so they cannot pin over
     the site header, Digital Cards banner, or sample headings. */
  .tpl-controls {
    position: static;
    z-index: auto;
    margin: 0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
  }
}

.tpl-controls h2 { font-size: 0.85rem; margin: 0 0 0.55rem; letter-spacing: 0.04em; text-transform: uppercase; }
.tpl-group { margin: 0 0 0.7rem; }
.tpl-group:last-child { margin-bottom: 0; }
.tpl-group-label { display: block; font-size: 0.75rem; font-weight: 700; margin: 0 0 0.35rem; }
.tpl-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tpl-btn, .tpl-controls .on-btn {
  appearance: none;
  border: 1px solid #c9c0b4;
  background: #fff;
  color: #1c1916;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.2;
  cursor: pointer;
  max-width: 100%;
}
.tpl-btn.is-on, .tpl-controls .on-btn.is-on {
  background: #1c1916;
  color: #fff;
  border-color: #1c1916;
}
.tpl-swatch {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #c9c0b4;
  cursor: pointer;
  padding: 0;
  flex: 0 0 2rem;
}
.tpl-swatch.is-on { box-shadow: 0 0 0 2px #1c1916; }
.tpl-swatch[data-tpl-palette="warm"] { background: linear-gradient(135deg, #4a1f1c 50%, #f3e6d4 50%); }
.tpl-swatch[data-tpl-palette="ink"] { background: linear-gradient(135deg, #121418 50%, #c9a24a 50%); }
.tpl-swatch[data-tpl-palette="fresh"] { background: linear-gradient(135deg, #1e4d3a 50%, #eef6f0 50%); }
.tpl-swatch[data-tpl-palette="navy"] { background: linear-gradient(135deg, #17324d 50%, #e27d60 50%); }
.tpl-swatch[data-tpl-palette="steel"] { background: linear-gradient(135deg, #1f3b5b 50%, #e4572e 50%); }
.tpl-swatch[data-tpl-palette="safety"] { background: linear-gradient(135deg, #2a2a2a 50%, #f0c400 50%); }
.tpl-swatch[data-tpl-palette="forest"] { background: linear-gradient(135deg, #2c4a32 50%, #e8d9c0 50%); }
.tpl-swatch[data-tpl-palette="paper"] { background: linear-gradient(135deg, #16324f 50%, #f4f1ea 50%); }
.tpl-swatch[data-tpl-palette="blush"] { background: linear-gradient(135deg, #6b3f3f 50%, #f6e8e4 50%); }
.tpl-swatch[data-tpl-palette="lime"] { background: linear-gradient(135deg, #1a1a1a 50%, #c4e05a 50%); }
.tpl-swatch[data-tpl-palette="teal"] { background: linear-gradient(135deg, #0f3f3c 50%, #f3efe4 50%); }
.tpl-swatch[data-tpl-palette="gold"] { background: linear-gradient(135deg, #111 50%, #d4b46a 50%); }

#tpl-sample {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--tpl-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--tpl-bg, #f7f1e8);
  color: var(--tpl-ink, #1c1916);
  min-height: 22rem;
}
.tpl-site { display: flex; flex-direction: column; min-height: 22rem; }
.tpl-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--tpl-bar, #3d1f1c);
  color: var(--tpl-bar-ink, #fff);
}
.tpl-name { font-weight: 700; font-size: 1.05rem; margin: 0; line-height: 1.2; }
.tpl-phone { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }

.tpl-img { display: block; width: 100%; height: auto; max-width: 100%; }
.tpl-hero { position: relative; background: var(--tpl-hero, #efe4d4); min-width: 0; }
.tpl-hero-media, .tpl-hero-copy, .tpl-item, .tpl-item-media, .tpl-item-copy { min-width: 0; max-width: 100%; box-sizing: border-box; }
.tpl-hero h2 { margin: 0 0 0.45rem; font-size: clamp(1.4rem, 3.5vw, 2.1rem); }
.tpl-hero p { margin: 0; max-width: 34rem; }
.tpl-hero-media img { width: 100%; height: auto; object-fit: cover; }
.tpl-note { font-size: 0.85rem; color: var(--tpl-muted, #5c564e); }
.tpl-site-cta {
  margin: 0.8rem 1rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tpl-site-cta a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.tpl-btn-primary { background: var(--tpl-accent, #8a2d24); color: var(--tpl-accent-ink, #fff); }
.tpl-btn-ghost { border: 1px solid var(--tpl-accent, #8a2d24); color: var(--tpl-accent, #8a2d24); background: transparent; }

.tpl-block { padding: 1rem 1rem 0.25rem; box-sizing: border-box; max-width: 100%; }
.tpl-block-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.65rem; margin: 0 0 0.75rem; }
.tpl-block-head h3 { margin: 0; font-size: 1.15rem; }
.tpl-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  line-height: 1.2;
}
.tpl-items, .tpl-gallery, .tpl-meta { display: grid; gap: 0.75rem; box-sizing: border-box; width: 100%; }
.tpl-item {
  background: var(--tpl-card, #fff);
  border: 1px solid var(--tpl-card-line, #e4d9cb);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tpl-item-media { background: var(--tpl-hero, #efe4d4); }
.tpl-item-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.tpl-item-copy { padding: 0.8rem 0.9rem 1rem; }
.tpl-item-copy h4 { margin: 0 0 0.3rem; font-size: 1.02rem; }
.tpl-item-copy p { margin: 0 0 0.45rem; }
.tpl-item-copy p:last-child { margin-bottom: 0; }
.tpl-price { font-weight: 700; }
.tpl-price-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.35rem;
  color: var(--tpl-muted, #5c564e);
}
.tpl-shot { margin: 0; border-radius: 10px; overflow: hidden; background: var(--tpl-card, #fff); }
.tpl-shot img { aspect-ratio: 4 / 3; object-fit: cover; }
.tpl-card-body {
  background: var(--tpl-card, #fff);
  border: 1px solid var(--tpl-card-line, #e4d9cb);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}
.tpl-card-body p { margin: 0 0 0.4rem; }
.tpl-card-body p:last-child { margin-bottom: 0; }
.tpl-meta { padding: 0.25rem 1rem 1rem; }

/* Classic: framed photo under centered type, tidy two-up cards. */
#tpl-sample[data-tpl-style="classic"] .tpl-name,
#tpl-sample[data-tpl-style="classic"] .tpl-hero h2,
#tpl-sample[data-tpl-style="classic"] .tpl-block-head h3,
#tpl-sample[data-tpl-style="classic"] .tpl-item-copy h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}
#tpl-sample[data-tpl-style="classic"] .tpl-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem 1.4rem;
  gap: 1rem;
}
#tpl-sample[data-tpl-style="classic"] .tpl-hero-copy { order: 1; }
#tpl-sample[data-tpl-style="classic"] .tpl-hero-media { order: 2; width: 100%; max-width: 36rem; border-radius: 8px; overflow: hidden; }
#tpl-sample[data-tpl-style="classic"] .tpl-hero-media img { aspect-ratio: 3 / 2; }
#tpl-sample[data-tpl-style="classic"] .tpl-hero p { margin-left: auto; margin-right: auto; }
#tpl-sample[data-tpl-style="classic"] .tpl-items { grid-template-columns: 1fr; }
#tpl-sample[data-tpl-style="classic"] .tpl-gallery { grid-template-columns: 1fr; }
#tpl-sample[data-tpl-style="classic"] .tpl-meta { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  #tpl-sample[data-tpl-style="classic"] .tpl-items { grid-template-columns: 1fr 1fr; }
  #tpl-sample[data-tpl-style="classic"] .tpl-gallery { grid-template-columns: 1fr 1fr 1fr; }
  #tpl-sample[data-tpl-style="classic"] .tpl-meta { grid-template-columns: 1fr 1fr; }
}

/* Modern: split photo/copy hero, magazine item grid. */
#tpl-sample[data-tpl-style="modern"] { font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#tpl-sample[data-tpl-style="modern"] .tpl-name { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.86rem; }
#tpl-sample[data-tpl-style="modern"] .tpl-hero { display: grid; gap: 0; padding: 0; }
#tpl-sample[data-tpl-style="modern"] .tpl-hero-media { width: 100%; }
#tpl-sample[data-tpl-style="modern"] .tpl-hero-media img { aspect-ratio: 4 / 3; }
#tpl-sample[data-tpl-style="modern"] .tpl-hero-copy { padding: 1.3rem 1rem 1.4rem; display: flex; flex-direction: column; justify-content: center; }
#tpl-sample[data-tpl-style="modern"] .tpl-hero h2 { font-weight: 650; letter-spacing: -0.03em; }
#tpl-sample[data-tpl-style="modern"] .tpl-item { border-radius: 2px; }
#tpl-sample[data-tpl-style="modern"] .tpl-card-body { border-radius: 2px; }
#tpl-sample[data-tpl-style="modern"] .tpl-items { grid-template-columns: 1fr; }
#tpl-sample[data-tpl-style="modern"] .tpl-gallery { grid-template-columns: 1fr; }
#tpl-sample[data-tpl-style="modern"] .tpl-meta { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  #tpl-sample[data-tpl-style="modern"] .tpl-hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    min-height: 22rem;
  }
  #tpl-sample[data-tpl-style="modern"] .tpl-hero-media { min-height: 22rem; height: 100%; }
  #tpl-sample[data-tpl-style="modern"] .tpl-hero-media img { height: 100%; aspect-ratio: auto; min-height: 22rem; }
  #tpl-sample[data-tpl-style="modern"] .tpl-items { grid-template-columns: 1.15fr 0.85fr; }
  #tpl-sample[data-tpl-style="modern"] .tpl-item:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
  #tpl-sample[data-tpl-style="modern"] .tpl-item:first-child .tpl-item-media img { height: 100%; aspect-ratio: auto; min-height: 14rem; }
  #tpl-sample[data-tpl-style="modern"] .tpl-item:first-child .tpl-item-copy { display: flex; flex-direction: column; justify-content: center; }
  #tpl-sample[data-tpl-style="modern"] .tpl-gallery { grid-template-columns: 1.2fr 0.8fr; }
  #tpl-sample[data-tpl-style="modern"] .tpl-gallery .tpl-shot:first-child { grid-row: 1 / span 2; }
  #tpl-sample[data-tpl-style="modern"] .tpl-gallery .tpl-shot:first-child img { height: 100%; aspect-ratio: auto; }
  #tpl-sample[data-tpl-style="modern"] .tpl-meta { grid-template-columns: 1.2fr 0.8fr; }
}

/* Bold: full-bleed photo hero with large type, stacked bands. */
#tpl-sample[data-tpl-style="bold"] { font-family: Arial, Helvetica, sans-serif; }
#tpl-sample[data-tpl-style="bold"] .tpl-bar { padding: 1rem 1rem 0.85rem; }
#tpl-sample[data-tpl-style="bold"] .tpl-name { font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.02em; }
#tpl-sample[data-tpl-style="bold"] .tpl-hero { display: grid; padding: 0; min-height: 18rem; }
#tpl-sample[data-tpl-style="bold"] .tpl-hero-media { position: absolute; inset: 0; }
#tpl-sample[data-tpl-style="bold"] .tpl-hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
#tpl-sample[data-tpl-style="bold"] .tpl-hero-copy {
  position: relative;
  z-index: 1;
  min-height: 18rem;
  padding: 2.2rem 1rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.08) 100%);
}
#tpl-sample[data-tpl-style="bold"] .tpl-hero h2 {
  font-size: clamp(1.9rem, 7vw, 3.15rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #fff;
}
#tpl-sample[data-tpl-style="bold"] .tpl-hero p { color: #f4f1ea; max-width: 36rem; }
#tpl-sample[data-tpl-style="bold"] .tpl-items,
#tpl-sample[data-tpl-style="bold"] .tpl-gallery,
#tpl-sample[data-tpl-style="bold"] .tpl-meta { grid-template-columns: 1fr; }
#tpl-sample[data-tpl-style="bold"] .tpl-item {
  border: 0;
  border-radius: 0;
  border-left: 8px solid var(--tpl-accent, #8a2d24);
  display: grid;
  grid-template-columns: 1fr;
}
#tpl-sample[data-tpl-style="bold"] .tpl-item-copy { padding-left: 0.85rem; }
#tpl-sample[data-tpl-style="bold"] .tpl-item-copy h4 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: -0.02em; }
#tpl-sample[data-tpl-style="bold"] .tpl-card-body { border-radius: 0; border-left: 8px solid var(--tpl-accent, #8a2d24); }
#tpl-sample[data-tpl-style="bold"] .tpl-shot { border-radius: 0; }
@media (min-width: 700px) {
  #tpl-sample[data-tpl-style="bold"] .tpl-hero,
  #tpl-sample[data-tpl-style="bold"] .tpl-hero-copy { min-height: 26rem; }
  #tpl-sample[data-tpl-style="bold"] .tpl-item:has(.tpl-item-media) {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }
  #tpl-sample[data-tpl-style="bold"] .tpl-item:has(.tpl-item-media) .tpl-item-media img { height: 100%; min-height: 12rem; aspect-ratio: auto; }
  #tpl-sample[data-tpl-style="bold"] .tpl-gallery { grid-template-columns: 1fr 1fr 1fr; }
}

.tpl-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  padding: 0.7rem 1rem;
  background: var(--tpl-hero, #efe4d4);
  border-bottom: 1px solid var(--tpl-card-line, #e4d9cb);
}
.tpl-status-label { font-size: 0.8rem; font-weight: 700; }
.tpl-status .on-neon .on-word { font-size: 1.35rem; letter-spacing: 0.06em; }
.tpl-status .on-neon__plate { min-height: 2.2rem; padding: 0.3rem 0.8rem; }

/* Palettes */
#tpl-sample[data-tpl-palette="warm"] {
  --tpl-bg: #f7f1e8; --tpl-ink: #2a1614; --tpl-bar: #4a1f1c; --tpl-bar-ink: #fff;
  --tpl-hero: #ead7c0; --tpl-card: #fffaf3; --tpl-card-line: #e2d2bf;
  --tpl-accent: #8a2d24; --tpl-accent-ink: #fff; --tpl-muted: #6a524c;
}
#tpl-sample[data-tpl-palette="ink"] {
  --tpl-bg: #161412; --tpl-ink: #f3ead8; --tpl-bar: #0e0d0c; --tpl-bar-ink: #e7c56a;
  --tpl-hero: #241f18; --tpl-card: #1d1a16; --tpl-card-line: #3a3428;
  --tpl-accent: #c9a24a; --tpl-accent-ink: #161412; --tpl-muted: #cbbda0;
}
#tpl-sample[data-tpl-palette="fresh"] {
  --tpl-bg: #eef6f0; --tpl-ink: #173226; --tpl-bar: #1e4d3a; --tpl-bar-ink: #fff;
  --tpl-hero: #dceee3; --tpl-card: #ffffff; --tpl-card-line: #c7ddd0;
  --tpl-accent: #1e4d3a; --tpl-accent-ink: #fff; --tpl-muted: #3d5a4c;
}
#tpl-sample[data-tpl-palette="navy"] {
  --tpl-bg: #f5f0ea; --tpl-ink: #142433; --tpl-bar: #17324d; --tpl-bar-ink: #fff;
  --tpl-hero: #ead9d1; --tpl-card: #ffffff; --tpl-card-line: #e0d2c8;
  --tpl-accent: #e27d60; --tpl-accent-ink: #1a1412; --tpl-muted: #5a4a44;
}
#tpl-sample[data-tpl-palette="steel"] {
  --tpl-bg: #eef2f6; --tpl-ink: #152233; --tpl-bar: #1f3b5b; --tpl-bar-ink: #fff;
  --tpl-hero: #d9e3ee; --tpl-card: #fff; --tpl-card-line: #c9d5e2;
  --tpl-accent: #e4572e; --tpl-accent-ink: #fff; --tpl-muted: #445366;
}
#tpl-sample[data-tpl-palette="safety"] {
  --tpl-bg: #f3f1ec; --tpl-ink: #1a1a1a; --tpl-bar: #222; --tpl-bar-ink: #ffe14a;
  --tpl-hero: #ece7d6; --tpl-card: #fff; --tpl-card-line: #d7d1c2;
  --tpl-accent: #f0c400; --tpl-accent-ink: #1a1a1a; --tpl-muted: #555;
}
#tpl-sample[data-tpl-palette="forest"] {
  --tpl-bg: #f3eadb; --tpl-ink: #243328; --tpl-bar: #2c4a32; --tpl-bar-ink: #f3eadb;
  --tpl-hero: #e4d3b5; --tpl-card: #fff8ec; --tpl-card-line: #d7c5a6;
  --tpl-accent: #2c4a32; --tpl-accent-ink: #fff; --tpl-muted: #5a5346;
}
#tpl-sample[data-tpl-palette="paper"] {
  --tpl-bg: #f7f5f0; --tpl-ink: #16324f; --tpl-bar: #16324f; --tpl-bar-ink: #fff;
  --tpl-hero: #e7eef5; --tpl-card: #fff; --tpl-card-line: #d3dbe4;
  --tpl-accent: #16324f; --tpl-accent-ink: #fff; --tpl-muted: #4d5d6c;
}
#tpl-sample[data-tpl-palette="blush"] {
  --tpl-bg: #f8eeea; --tpl-ink: #3a2424; --tpl-bar: #6b3f3f; --tpl-bar-ink: #fff;
  --tpl-hero: #f1ddd7; --tpl-card: #fff8f6; --tpl-card-line: #e6cdc7;
  --tpl-accent: #6b3f3f; --tpl-accent-ink: #fff; --tpl-muted: #6a5151;
}
#tpl-sample[data-tpl-palette="lime"] {
  --tpl-bg: #111; --tpl-ink: #f4f4f0; --tpl-bar: #000; --tpl-bar-ink: #c4e05a;
  --tpl-hero: #1a1a1a; --tpl-card: #1c1c1c; --tpl-card-line: #333;
  --tpl-accent: #c4e05a; --tpl-accent-ink: #111; --tpl-muted: #c5c5b8;
}
#tpl-sample[data-tpl-palette="teal"] {
  --tpl-bg: #f3efe4; --tpl-ink: #12332f; --tpl-bar: #0f3f3c; --tpl-bar-ink: #fff;
  --tpl-hero: #d9ebe7; --tpl-card: #fff; --tpl-card-line: #c9ddd8;
  --tpl-accent: #0f3f3c; --tpl-accent-ink: #fff; --tpl-muted: #4a5f5c;
}
#tpl-sample[data-tpl-palette="gold"] {
  --tpl-bg: #1a1a1a; --tpl-ink: #f6eed8; --tpl-bar: #000; --tpl-bar-ink: #d4b46a;
  --tpl-hero: #26221a; --tpl-card: #222; --tpl-card-line: #3a3428;
  --tpl-accent: #d4b46a; --tpl-accent-ink: #111; --tpl-muted: #cbbda0;
}

.tpl-hours-sign { margin-top: 0.75rem; }
.tpl-hours-sign .on-neon .on-word { font-size: 1.35rem; letter-spacing: 0.06em; }
.tpl-hours-sign .on-neon__plate { min-height: 2.2rem; padding: 0.3rem 0.8rem; }
