@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&display=swap');
/* public/css/design-templates.css — 2026-09-27 (rev 26c: the three-row chooser; ?v=3)
   rev 26c adds: §1b the light rows (.lcrow-*: rows 2 and 3 of the three-row chooser) and
   §1c the tile hide — the fragment now carries all three rows, and the four old tiles in
   views/prayer-cards.html are hidden WHEN THIS SHEET LOADS (it loads only on a gated
   request, so the public page keeps its tiles untouched until EASEL_MODE=public).
   .dtb-more's rule stays for rollback; the rev 26c fragment no longer uses it.
   Two things, both gated (lib/design-templates-row.js, routes/design-templates.js):
   1. the Design Templates band on /prayer-cards (.dtb-*: its own classes, so nothing on either chooser page
      styles them first — law 35), then the "Or start from a card type" heading over the existing tiles;
   2. the gallery page, /design-templates (.dtg-*).
   The @import is Cormorant Garamond 600 (OFL, Google Fonts) for the band's two headings; the browser fetches the font
   file only when those headings are on the page. No CSP on order.lamcraft.com or www.lamcraft.com (checked 9/25).
   The WordPress chooser carries the same band (the WP_DesignTemplates_Band paste — the same rules, scoped). */

/* ── 1. The band (owner 9/25: "exactly like that mock up", artboard 1; no price) ── */
.dtb {
  grid-column: 1 / -1;             /* a child of .choice-grid: the full width of the tiles */
  display: flex;
  align-items: center;
  gap: 56px;
  box-sizing: border-box;
  min-width: 0;
  padding: 44px 48px;
  border-radius: 14px;
  background: #2a2622;
  color: #f5efe4;
}
.dtb-copy { flex: 0 1 456px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.dtb .dtb-eyebrow { font-size: 13px; line-height: 1.2; letter-spacing: 2px; font-weight: 700; color: #f7a15c; }
.dtb .dtb-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
  color: #f5efe4;
}
.dtb .dtb-text { margin: 0; font-size: 17px; line-height: 1.5; color: #e2dacb; }
.dtb .dtb-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.dtb a.dtb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dtb a.dtb-btn--primary { background: #F47920; border: 1px solid #F47920; color: #1d1a17; }
.dtb a.dtb-btn--primary:hover { background: #ff8b36; border-color: #ff8b36; color: #1d1a17; }
.dtb a.dtb-btn--ghost { background: transparent; border: 1px solid #e2dacb; color: #f5efe4; }
.dtb a.dtb-btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: #ffffff; color: #ffffff; }
.dtb a.dtb-btn:focus-visible { outline: 3px solid #f7a15c; outline-offset: 3px; }
.dtb .dtb-cards {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 140px));
  gap: 16px;
  align-items: end;
  justify-content: center;
  text-decoration: none;
}
.dtb .dtb-card {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 300 / 510;
  object-fit: cover;
  border-radius: 10px;
  background: #3a342e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14), 0 8px 18px rgba(0, 0, 0, 0.18);
}
.dtb-more {
  grid-column: 1 / -1;
  margin: 28px 0 0;                /* + the grid's 20-px gap = the mockup's 48 under the band */
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  color: #22201c;
}
@media (max-width: 1100px) {
  .dtb { gap: 32px; padding: 36px; }
  .dtb .dtb-title { font-size: 40px; }
}
@media (max-width: 900px) {        /* stacked: the words, then the cards */
  .dtb { flex-direction: column; align-items: stretch; gap: 28px; }
  .dtb-copy { flex: none; }
  .dtb .dtb-cards { justify-content: start; grid-template-columns: repeat(4, minmax(0, 130px)); }
}
@media (max-width: 520px) {        /* a phone: full-width buttons, the four cards across */
  .dtb { padding: 28px 20px; border-radius: 12px; gap: 24px; }
  .dtb .dtb-title { font-size: 34px; }
  .dtb .dtb-text { font-size: 16px; }
  .dtb .dtb-btns { flex-direction: column; }
  .dtb a.dtb-btn { width: 100%; }
  .dtb .dtb-cards { gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dtb .dtb-card { border-radius: 7px; }
  .dtb-more { font-size: 26px; margin-top: 12px; }
}



/* ── 1b. The light rows (rev 26c: Our classic designs · Just your photo) ── */
.lcrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 56px;
  box-sizing: border-box;
  min-width: 0;
  padding: 40px 48px;
  border-radius: 14px;
  background: #faf8f4;
  border: 1px solid #e8e1d4;
}
.lcrow-copy { flex: 0 1 456px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lcrow .lcrow-eyebrow { font-size: 13px; line-height: 1.2; letter-spacing: 2px; font-weight: 700; color: #c05d10; }
.lcrow .lcrow-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: none;
  color: #22201c;
}
.lcrow .lcrow-text { margin: 0; font-size: 17px; line-height: 1.5; color: #5a5348; }
.lcrow .lcrow-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.lcrow a.lcrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.lcrow a.lcrow-btn--primary { background: #F47920; border: 1px solid #F47920; color: #1d1a17; }
.lcrow a.lcrow-btn--primary:hover { background: #ff8b36; border-color: #ff8b36; }
.lcrow a.lcrow-btn--ghost { background: transparent; border: 1px solid #8a8272; color: #33302a; }
.lcrow a.lcrow-btn--ghost:hover { background: rgba(34, 32, 28, 0.05); border-color: #33302a; }
.lcrow a.lcrow-btn:focus-visible { outline: 3px solid #F47920; outline-offset: 3px; }
.lcrow .lcrow-price { margin: 0; font-size: 13.5px; line-height: 1.5; color: #7d7566; }
.lcrow .lcrow-art {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.lcrow .lcrow-art img { box-shadow: 0 1px 2px rgba(0,0,0,0.12), 0 8px 18px rgba(0,0,0,0.14); }
.lcrow img.lcrow-cardimg {
  flex: 0 0 auto;
  width: 168px;
  height: auto;
  aspect-ratio: 300 / 510;
  object-fit: cover;
  border-radius: 10px;
  background: #eee7da;
}
.lcrow img.lcrow-sheetimg {
  flex: 0 1 380px;
  min-width: 0;
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 8px;
  background: #eee7da;
}
@media (max-width: 1100px) {
  .lcrow { gap: 32px; padding: 34px 36px; }
  .lcrow .lcrow-title { font-size: 35px; }
  .lcrow img.lcrow-cardimg { width: 150px; }
  .lcrow img.lcrow-sheetimg { max-width: 320px; }
}
@media (max-width: 900px) {        /* stacked: the words, then the pictures */
  .lcrow { flex-direction: column; align-items: stretch; gap: 24px; }
  .lcrow-copy { flex: none; }
  .lcrow .lcrow-art { justify-content: flex-start; }
}
@media (max-width: 520px) {        /* a phone: full-width buttons, the sheet under the card */
  .lcrow { padding: 26px 20px; border-radius: 12px; gap: 22px; }
  .lcrow .lcrow-title { font-size: 31px; }
  .lcrow .lcrow-text { font-size: 16px; }
  .lcrow .lcrow-btns { flex-direction: column; }
  .lcrow a.lcrow-btn { width: 100%; }
  .lcrow img.lcrow-cardimg { width: 118px; }
  .lcrow .lcrow-art { gap: 12px; flex-wrap: wrap; }
  .lcrow img.lcrow-sheetimg { flex: 1 1 100%; max-width: 100%; }
}

/* ── 1c. The tile hide (rev 26c) — this sheet loads only on a gated request, so the
   public /prayer-cards keeps its four tiles; with the rows in, the tiles retire. ── */
.choice-grid .choice-card { display: none; }

/* ── 2. The gallery page ─────────────────────────────────────────────────── */
.dtg-body { background: #f5f3f0; }
.dtg-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px 48px;
  box-sizing: border-box;
}
.dtg-intro h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.dtg-intro p { font-size: 16px; color: #555; line-height: 1.5; margin: 0; max-width: 720px; }

.dtg-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 24px 0 26px;
}
.dtg-format {
  display: inline-flex;
  border: 1px solid #d9d0c2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.dtg-format__btn,
.dtg-chip {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
  color: #2a2a2a;
  background: #fff;
}
.dtg-format__btn { border: 0; padding: 0 18px; }
.dtg-format__btn[aria-pressed="true"] { background: #2a2a2a; color: #fff; }
@media (max-width: 520px) { .dtg-format__size { display: none; } }   /* one line on a phone */
.dtg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dtg-chip { border: 1px solid #d9d0c2; border-radius: 22px; padding: 0 16px; }
.dtg-chip:hover { border-color: #F47920; }
.dtg-chip[aria-pressed="true"] { background: #2a2a2a; color: #fff; border-color: #2a2a2a; }
.dtg-format__btn:focus-visible,
.dtg-chip:focus-visible,
.dtg-tile:focus-visible,
.dtg-other__card:focus-visible { outline: 3px solid #F47920; outline-offset: 3px; }

.dtg-status { font-size: 15px; color: #555; margin: 8px 0 24px; }

.dtg-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px 22px;
}
@media (max-width: 1100px) { .dtg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .dtg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .dtg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }

.dtg-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: #2a2a2a;
}
.dtg-thumb {
  display: block;
  aspect-ratio: 300 / 510;
  background: #efe2d0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.14), 0 8px 18px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}
.dtg-grid--lam .dtg-thumb { border-radius: 12px; }   /* laminated cards are die-cut round */
.dtg-grid--8up .dtg-thumb { border-radius: 0; }      /* 8-Up cards are square (ruling 9/20) */
.dtg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dtg-tile:hover .dtg-thumb { box-shadow: 0 0 0 3px #F47920, 0 10px 22px rgba(0,0,0,0.16); transform: translateY(-2px); }
.dtg-name { font-weight: 600; font-size: 16px; }
.dtg-go { font-size: 14px; font-weight: 600; color: #b45309; }

.dtg-other { margin-top: 56px; }
.dtg-other h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  color: #2a2a2a;
  margin: 0 0 14px;
}
.dtg-other__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .dtg-other__grid { grid-template-columns: 1fr; } }
.dtg-other__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: #fff;
  border: 2px solid #e8e4dd;
  border-radius: 12px;
  text-decoration: none;
  color: #2a2a2a;
  transition: border-color 0.2s;
}
.dtg-other__card:hover { border-color: #F47920; }
.dtg-other__title { font-weight: 700; font-size: 17px; }
.dtg-other__desc { font-size: 14px; color: #555; line-height: 1.5; }
.dtg-other__go { font-size: 14px; font-weight: 700; color: #b45309; }
.dtg-help { text-align: center; margin: 26px 0 0; font-size: 14px; color: #666; }
.dtg-help a { color: #b45309; font-weight: 600; text-decoration: none; }
