/* ==========================================================================
   BOUND MEMORIES — SUPPORTING PUBLIC PAGES
   Loaded after styles.css and home.css.
   ========================================================================== */

.bm-public {
  --public-navy: #11233e;
  --public-ink: #27313f;
  --public-muted: #667080;
  --public-gold: #b88732;
  --public-gold-dark: #936b26;
  --public-gold-pale: #f6eedf;
  --public-ivory: #fbfaf7;
  --public-cream: #f5f1e8;
  --public-white: #ffffff;
  --public-border: #e8e1d6;
  --public-shadow: 0 12px 34px rgba(25, 35, 50, 0.08);
  --public-shadow-soft: 0 6px 20px rgba(25, 35, 50, 0.06);
}

.bm-public .bm-desktop-nav > a[aria-current="page"],
.bm-public .bm-mobile-menu > a[aria-current="page"] {
  color: var(--public-gold-dark);
}

.bm-public .bm-desktop-nav > a[aria-current="page"] {
  position: relative;
}

.bm-public .bm-desktop-nav > a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--public-gold);
  content: "";
}

.bm-public main {
  background: var(--public-ivory);
}

.bm-public-hero {
  padding: clamp(58px, 8vw, 105px) 0;
  border-bottom: 1px solid var(--public-border);
  background:
    linear-gradient(104deg, rgba(255, 255, 255, 0.97), rgba(247, 242, 232, 0.92));
}

.bm-public-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.bm-public-hero-copy h1 {
  max-width: 700px;
  margin-bottom: 22px;
  color: var(--public-navy);
  font-size: clamp(3rem, 5.3vw, 4.9rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.bm-public-hero-copy > p {
  max-width: 625px;
  margin-bottom: 30px;
  color: var(--public-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.bm-public-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--public-gold-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bm-public-hero-image {
  overflow: hidden;
  min-height: 460px;
  border: 9px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: var(--public-cream);
  box-shadow: 0 22px 60px rgba(25, 35, 50, 0.14);
}

.bm-public-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.bm-public-section {
  padding: clamp(72px, 8vw, 110px) 0;
}

.bm-public-soft {
  border-block: 1px solid var(--public-border);
  background: linear-gradient(180deg, #f8f5ee, #f3eee5);
}

.bm-public-heading {
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.bm-public-heading h2 {
  margin-bottom: 14px;
  color: var(--public-navy);
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  line-height: 1.08;
}

.bm-public-heading p {
  margin: 0 auto;
  color: var(--public-muted);
  font-size: 1.03rem;
}

.bm-product-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bm-product-collection-card {
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bm-product-collection-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--public-shadow);
}

.bm-product-collection-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bm-product-collection-card > div {
  padding: 25px;
}

.bm-product-collection-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.bm-product-collection-card p {
  color: var(--public-muted);
}

.bm-product-collection-card ul {
  margin: 18px 0;
  padding-left: 20px;
  color: var(--public-muted);
  font-size: 0.9rem;
}

.bm-product-collection-card li {
  margin-bottom: 6px;
}

.bm-product-collection-card a,
.bm-gallery-feature a {
  color: var(--public-gold-dark);
  font-weight: 800;
  text-decoration: none;
}

.bm-public-format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bm-public-format-grid article {
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-public-format-grid img {
  width: 100%;
  aspect-ratio: 5 / 3.4;
  object-fit: cover;
}

.bm-public-format-grid article > div {
  display: flex;
  flex-direction: column;
  min-height: 185px;
  padding: 20px;
}

.bm-public-format-grid h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.bm-public-format-grid p {
  color: var(--public-muted);
  font-size: 0.9rem;
}

.bm-public-format-grid strong {
  margin-top: auto;
  color: var(--public-gold-dark);
  font-size: 0.85rem;
}

.bm-public-note {
  margin: 24px 0 0;
  color: var(--public-muted);
  text-align: center;
  font-size: 0.9rem;
}

.bm-included-grid,
.bm-control-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bm-included-grid article,
.bm-control-grid article {
  padding: 25px;
  border: 1px solid var(--public-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-included-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--public-gold-pale);
  color: var(--public-gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.bm-included-grid h3,
.bm-control-grid h3 {
  margin-bottom: 9px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.bm-included-grid p,
.bm-control-grid p {
  margin: 0;
  color: var(--public-muted);
  font-size: 0.9rem;
}

.bm-public-cta {
  padding: 0 0 clamp(76px, 9vw, 115px);
}

.bm-public-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 135, 50, 0.2), transparent 34%),
    var(--public-navy);
  box-shadow: 0 22px 60px rgba(17, 35, 62, 0.18);
}

.bm-public-cta-panel h2 {
  margin-bottom: 9px;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.bm-public-cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.bm-public-cta-panel .bm-button {
  flex: 0 0 auto;
}

/* How It Works */

.bm-process-list {
  display: grid;
  gap: 18px;
}

.bm-process-list article {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(220px, 0.55fr);
  align-items: center;
  gap: 26px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--public-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--public-gold);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.bm-process-copy > span {
  display: block;
  margin-bottom: 5px;
  color: var(--public-gold-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bm-process-copy h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.bm-process-copy p {
  margin: 0;
  color: var(--public-muted);
}

.bm-process-list article > img {
  width: 100%;
  height: 185px;
  border-radius: 11px;
  object-fit: cover;
}

.bm-process-visual {
  display: grid;
  gap: 10px;
}

.bm-process-visual strong {
  display: block;
  padding: 13px 14px;
  border: 1px solid var(--public-border);
  border-radius: 9px;
  background: var(--public-cream);
  color: var(--public-navy);
  font-size: 0.88rem;
}

/* Gallery */

.bm-gallery-feature-grid {
  display: grid;
  gap: 28px;
}

.bm-gallery-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-gallery-feature-reverse img {
  order: 2;
}

.bm-gallery-feature > img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
}

.bm-gallery-feature > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
}

.bm-gallery-feature > div > span {
  margin-bottom: 8px;
  color: var(--public-gold-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bm-gallery-feature h3 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.bm-gallery-feature p {
  color: var(--public-muted);
}

.bm-gallery-format-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bm-gallery-format-strip figure {
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-gallery-format-strip img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
}

.bm-gallery-format-strip figcaption {
  display: grid;
  padding: 17px;
  gap: 4px;
}

.bm-gallery-format-strip strong {
  color: var(--public-navy);
}

.bm-gallery-format-strip span {
  color: var(--public-muted);
  font-size: 0.84rem;
}

.bm-gallery-reassurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-gallery-reassurance article {
  padding: 27px;
  text-align: center;
}

.bm-gallery-reassurance article + article {
  border-left: 1px solid var(--public-border);
}

.bm-gallery-reassurance article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border: 1px solid #e7d4aa;
  border-radius: 50%;
  background: var(--public-gold-pale);
  color: var(--public-gold-dark);
  font-size: 1.25rem;
}

.bm-gallery-reassurance h3 {
  margin-bottom: 7px;
  font-size: 1.15rem;
}

.bm-gallery-reassurance p {
  margin: 0;
  color: var(--public-muted);
  font-size: 0.88rem;
}

/* Pricing */

.bm-pricing-hero-card {
  padding: clamp(32px, 5vw, 52px);
  border: 1px solid var(--public-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(25, 35, 50, 0.14);
  text-align: center;
}

.bm-pricing-hero-card > span {
  display: block;
  margin-bottom: 8px;
  color: var(--public-gold-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bm-pricing-hero-card > strong {
  display: block;
  color: var(--public-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 6.3rem);
  font-weight: 500;
  line-height: 1;
}

.bm-pricing-hero-card > p {
  margin: 8px 0 24px;
  color: var(--public-muted);
}

.bm-pricing-hero-card > div {
  display: grid;
  gap: 9px;
}

.bm-pricing-hero-card > div span {
  padding: 11px 13px;
  border-radius: 9px;
  background: var(--public-cream);
  color: var(--public-navy);
  font-size: 0.88rem;
  font-weight: 750;
}

.bm-price-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bm-price-choice-grid article {
  padding: 24px;
  border: 1px solid var(--public-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-price-choice-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--public-gold);
  color: #fff;
  font-weight: 900;
}

.bm-price-choice-grid h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.bm-price-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--public-border);
}

.bm-price-line strong {
  color: var(--public-muted);
  font-size: 0.86rem;
}

.bm-price-line b {
  color: var(--public-navy);
}

.bm-price-choice-grid article > p {
  margin: 14px 0 0;
  color: var(--public-muted);
  font-size: 0.84rem;
}

.bm-pricing-example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 20px;
}

.bm-picture-pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.bm-pricing-example-grid article {
  padding: 30px;
  border: 1px solid var(--public-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-pricing-example-grid article > span {
  color: var(--public-gold-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bm-pricing-example-grid h3 {
  margin: 8px 0 16px;
  font-size: 1.4rem;
}

.bm-pricing-example-total {
  margin-bottom: 20px;
  color: var(--public-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: 1;
}

.bm-pricing-example-grid ul {
  padding-left: 19px;
  color: var(--public-muted);
}

.bm-pricing-example-grid li {
  margin-bottom: 7px;
}

.bm-pricing-example-featured {
  border-color: #d9bc7b !important;
  background:
    linear-gradient(180deg, #fff, #fbf5e8) !important;
  transform: translateY(-8px);
}

.bm-public-faq {
  padding: 0 0 clamp(72px, 8vw, 108px);
}

.bm-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.bm-faq-list details {
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-radius: 12px;
  background: #fff;
}

.bm-faq-list summary {
  padding: 18px 20px;
  color: var(--public-navy);
  cursor: pointer;
  font-weight: 800;
}

.bm-faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--public-muted);
}

/* Responsive */

@media (max-width: 1080px) {
  .bm-public-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
    gap: 44px;
  }

  .bm-product-collection-grid {
    gap: 18px;
  }

  .bm-public-format-grid,
  .bm-price-choice-grid,
  .bm-included-grid,
  .bm-control-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .bm-public-hero-grid {
    grid-template-columns: 1fr;
  }

  .bm-public-hero-copy {
    text-align: center;
  }

  .bm-public-hero-copy h1,
  .bm-public-hero-copy > p {
    margin-inline: auto;
  }

  .bm-public-hero-copy .bm-button-row {
    justify-content: center;
  }

  .bm-public-hero-image {
    min-height: 360px;
  }

  .bm-public-hero-image img {
    min-height: 360px;
  }

  .bm-product-collection-grid,
  .bm-pricing-example-grid,
  .bm-picture-pricing-grid {
    grid-template-columns: 1fr;
  }

  .bm-process-list article {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .bm-process-list article > img,
  .bm-process-visual {
    grid-column: 2;
  }

  .bm-gallery-feature,
  .bm-gallery-feature-reverse {
    grid-template-columns: 1fr;
  }

  .bm-gallery-feature-reverse img {
    order: 0;
  }

  .bm-gallery-feature > img {
    min-height: 320px;
  }

  .bm-gallery-format-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .bm-gallery-reassurance {
    grid-template-columns: 1fr;
  }

  .bm-gallery-reassurance article + article {
    border-top: 1px solid var(--public-border);
    border-left: 0;
  }

  .bm-pricing-example-featured {
    transform: none;
  }

  .bm-public-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .bm-public-hero {
    padding-top: 45px;
  }

  .bm-public-hero-copy h1 {
    font-size: 2.65rem;
  }

  .bm-public-hero-image,
  .bm-public-hero-image img {
    min-height: 285px;
  }

  .bm-public-section {
    padding-block: 68px;
  }

  .bm-public-format-grid,
  .bm-price-choice-grid,
  .bm-included-grid,
  .bm-control-grid,
  .bm-gallery-format-strip {
    grid-template-columns: 1fr;
  }

  .bm-process-list article {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .bm-process-number {
    width: 44px;
    height: 44px;
  }

  .bm-process-list article > img,
  .bm-process-visual {
    grid-column: 1;
  }

  .bm-public-cta-panel .bm-button {
    width: 100%;
  }
}


/* Product collection image and preview consistency */
.bm-product-collection-card { cursor:pointer; }
.bm-product-collection-card:focus-visible { outline:3px solid rgba(184,135,50,.32); outline-offset:4px; }
.bm-product-collection-card > img { display:block; height:360px; aspect-ratio:auto; object-fit:contain; object-position:center bottom; background:#f8f5ef; padding:14px; }
.bm-public-format-grid img { display:block; height:190px; aspect-ratio:auto; object-fit:contain; background:#f8f5ef; padding:12px; }
.bm-product-preview-modal[hidden]{display:none}
.bm-product-preview-modal{position:fixed;z-index:1500;inset:0;display:grid;place-items:center;padding:24px}
.bm-product-preview-backdrop{position:absolute;inset:0;border:0;background:rgba(12,24,42,.72);cursor:pointer}
.bm-product-preview-dialog{position:relative;z-index:1;width:min(92vw,620px);max-height:90vh;overflow:auto;padding:28px;border-radius:18px;background:#fff;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.bm-product-preview-dialog img{width:100%;max-height:60vh;object-fit:contain;background:#f8f5ef;border-radius:12px}
.bm-product-preview-close{position:absolute;top:10px;right:14px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#11233e;font-size:1.8rem;cursor:pointer;box-shadow:0 3px 14px rgba(0,0,0,.12)}
.bm-modal-open{overflow:hidden}
@media(max-width:720px){.bm-product-collection-card>img{height:300px}.bm-public-format-grid img{height:170px}}

/* ========================================================================== 
   JULY 2026 — DEDICATED PRODUCT MOCKUP ASSETS
   The three collection cards now use purpose-built square studio mockups,
   rather than crops from the homepage hero. Full-bleed sizing keeps every card
   visually consistent and gives the modal a cleaner presentation.
   ========================================================================== */
.bm-product-collection-card > img {
  height: 360px;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background: #f4f0e8;
}

.bm-product-preview-dialog img {
  padding: 0;
  object-fit: contain;
  background: #f4f0e8;
}


/* ========================================================================== 
   INTERACTIVE PRODUCT BOOK PREVIEWS
   Each collection card now includes a small page-by-page sample. The preview
   content is generated from js/product-previews.js so final covers, names and
   messages can be replaced later without rebuilding the page structure.
   ========================================================================== */
.bm-product-collection-card {
  cursor: default;
}

.bm-product-collection-card:hover {
  transform: translateY(-4px);
}

.bm-product-collection-card > .bm-inline-book-preview {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--public-border);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.96), rgba(245, 239, 229, 0.92) 58%, #eee4d4 100%);
}

.bm-product-collection-card > .bm-product-collection-copy {
  padding: 25px;
}

.bm-inline-book-stage {
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: 24px 44px 58px;
  outline: none;
}

.bm-inline-book-stage:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(184, 135, 50, 0.38);
}

.bm-inline-book-stage > img,
.bm-demo-cover-image {
  display: block;
  width: 100%;
  max-width: 330px;
  max-height: 305px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(17, 35, 62, 0.17));
}

.bm-inline-book-arrow {
  position: absolute;
  top: 46%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(17, 35, 62, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--public-navy);
  font: inherit;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(17, 35, 62, 0.14);
  transform: translateY(-50%);
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.bm-inline-book-arrow:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.bm-inline-book-arrow:focus-visible,
.bm-inline-book-expand:focus-visible,
.bm-product-modal-controls button:focus-visible {
  outline: 3px solid rgba(184, 135, 50, 0.38);
  outline-offset: 2px;
}

.bm-inline-book-arrow:disabled,
.bm-product-modal-controls button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.bm-inline-book-arrow-prev {
  left: 14px;
}

.bm-inline-book-arrow-next {
  right: 14px;
}

.bm-inline-book-footer {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--public-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.bm-inline-book-expand {
  padding: 7px 10px;
  border: 1px solid rgba(184, 135, 50, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--public-gold-dark);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.bm-demo-page {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(76%, 240px);
  aspect-ratio: 1 / 1.414;
  padding: 28px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 35, 62, 0.1);
  background: #fffdf8;
  color: #26364e;
  text-align: left;
  box-shadow: 0 18px 34px rgba(17, 35, 62, 0.17);
}

.bm-demo-page::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--demo-accent, #b88732);
}

.bm-demo-page--wedding {
  --demo-accent: #b88732;
}

.bm-demo-page--baby {
  --demo-accent: #9aafaa;
}

.bm-demo-page--memorial {
  --demo-accent: #74829a;
}

.bm-demo-page-kicker {
  margin: 0 0 8px;
  color: var(--demo-accent, #b88732);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bm-demo-page h4 {
  margin: 0 0 14px;
  color: var(--public-navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.06rem;
  line-height: 1.15;
}

.bm-demo-page-intro {
  margin: 0;
  color: #637083;
  font-size: 0.68rem;
  line-height: 1.55;
}

.bm-demo-memory-list {
  display: grid;
  gap: 11px;
  margin-top: 2px;
}

.bm-demo-memory {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 35, 62, 0.08);
}

.bm-demo-memory:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bm-demo-memory strong {
  display: block;
  margin-bottom: 3px;
  color: var(--public-navy);
  font-size: 0.66rem;
}

.bm-demo-memory p {
  margin: 0;
  color: #5b6879;
  font-size: 0.59rem;
  line-height: 1.42;
}

.bm-demo-photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 105px;
  margin: 2px 0 14px;
  border: 1px dashed rgba(17, 35, 62, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(184, 135, 50, 0.08), rgba(17, 35, 62, 0.04));
  color: #758093;
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
}

.bm-product-preview-dialog {
  width: min(94vw, 760px);
}

.bm-product-preview-dialog .bm-public-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
}

.bm-product-preview-dialog h2 {
  margin-bottom: 16px;
}

.bm-product-modal-stage {
  display: grid;
  place-items: center;
  min-height: 540px;
  padding: 28px;
  border: 1px solid var(--public-border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 10%, #fff, #f6f0e7 65%, #eee4d4 100%);
}

.bm-product-modal-stage .bm-demo-cover-image {
  max-width: 560px;
  max-height: 480px;
}

.bm-product-modal-stage .bm-demo-page {
  width: min(72vw, 360px);
  padding: 42px 36px 32px;
}

.bm-product-modal-stage .bm-demo-page-kicker {
  font-size: 0.78rem;
}

.bm-product-modal-stage .bm-demo-page h4 {
  font-size: 1.55rem;
}

.bm-product-modal-stage .bm-demo-page-intro {
  font-size: 0.88rem;
}

.bm-product-modal-stage .bm-demo-memory-list {
  gap: 16px;
}

.bm-product-modal-stage .bm-demo-memory strong {
  font-size: 0.87rem;
}

.bm-product-modal-stage .bm-demo-memory p {
  font-size: 0.79rem;
}

.bm-product-modal-stage .bm-demo-photo-placeholder {
  min-height: 160px;
  font-size: 0.8rem;
}

.bm-product-modal-controls {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
  margin: 16px 0 8px;
}

.bm-product-modal-controls button {
  width: 46px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--public-border);
  border-radius: 10px;
  background: #fff;
  color: var(--public-navy);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.bm-product-modal-controls span {
  color: var(--public-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 720px) {
  .bm-inline-book-stage {
    min-height: 345px;
    padding: 20px 40px 56px;
  }

  .bm-inline-book-stage > img,
  .bm-demo-cover-image {
    max-height: 255px;
  }

  .bm-demo-page {
    width: min(78%, 220px);
  }

  .bm-product-modal-stage {
    min-height: 430px;
    padding: 18px;
  }

  .bm-product-modal-stage .bm-demo-page {
    width: min(76vw, 310px);
    padding: 32px 27px 25px;
  }
}


/* ========================================================================== 
   CREATE-YOUR-OWN COLLECTION
   ========================================================================== */

.bm-custom-book-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding: 28px 30px;
  gap: 26px;
  border: 1px solid rgba(184, 135, 50, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.97), rgba(235, 241, 246, 0.95));
  box-shadow: 0 16px 38px rgba(17, 35, 62, 0.08);
}

.bm-custom-book-cta span {
  color: var(--public-gold-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bm-custom-book-cta h2 {
  margin: 7px 0 6px;
  color: var(--public-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.bm-custom-book-cta p {
  max-width: 720px;
  margin: 0;
  color: var(--public-muted);
}

.bm-demo-page--custom {
  --demo-accent: #8a6f47;
}

.bm-demo-custom-cover {
  display: grid;
  place-content: center;
  width: min(76%, 240px);
  aspect-ratio: 1 / 1.414;
  padding: 34px 24px;
  border: 7px solid #fff;
  background:
    linear-gradient(145deg, rgba(184, 135, 50, 0.13), rgba(17, 35, 62, 0.06)),
    #fffdf8;
  color: var(--public-navy);
  box-shadow: 0 18px 34px rgba(17, 35, 62, 0.17);
  text-align: center;
}

.bm-demo-custom-cover span {
  color: var(--public-gold-dark);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bm-demo-custom-cover strong {
  margin: 24px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  font-weight: 500;
}

.bm-demo-custom-cover small {
  color: var(--public-muted);
  font-size: 0.65rem;
  line-height: 1.5;
}

.bm-product-modal-stage .bm-demo-custom-cover {
  width: min(72vw, 360px);
  padding: 52px 38px;
}

.bm-product-modal-stage .bm-demo-custom-cover strong {
  font-size: 2rem;
}

@media (max-width: 780px) {
  .bm-custom-book-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Four product collections read more clearly as a balanced 2 × 2 grid. */
.bm-products-page .bm-product-collection-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 800px) {
  .bm-products-page .bm-product-collection-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================== 
   Products page PDF-based preview assets
   The supplied cover/interior PDFs are displayed as optimised page images.
   ========================================================================== */
.bm-products-page .bm-product-collection-card > .bm-inline-book-preview {
  padding: 0;
  overflow: hidden;
}

.bm-products-page .bm-inline-book-stage {
  min-height: 430px;
  padding: 24px 48px 62px;
  overflow: hidden;
}

.bm-demo-pdf-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
  filter: drop-shadow(0 16px 24px rgba(17, 35, 62, 0.17));
}

.bm-demo-pdf-page-image {
  background: #fff;
}

.bm-products-page .bm-product-modal-stage {
  min-height: 600px;
  padding: 24px;
  overflow: auto;
}

.bm-products-page .bm-product-modal-stage .bm-demo-pdf-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
}

/* Keep the custom-book text example aligned with the supported message layout. */
.bm-products-page .bm-demo-page--custom {
  text-align: center;
}

.bm-products-page .bm-demo-page--custom .bm-demo-memory p,
.bm-products-page .bm-demo-page--custom .bm-demo-memory strong {
  text-align: center;
}

.bm-products-page .bm-demo-page--custom .bm-demo-memory strong {
  margin-top: 4px;
  color: #202020;
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 800px) {
  .bm-products-page .bm-product-collection-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bm-products-page .bm-product-collection-card {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .bm-products-page .bm-inline-book-stage {
    min-height: 400px;
    padding: 20px 42px 66px;
  }

  .bm-products-page .bm-demo-pdf-image {
    max-height: 310px;
  }

  .bm-products-page .bm-inline-book-arrow-prev {
    left: 8px;
  }

  .bm-products-page .bm-inline-book-arrow-next {
    right: 8px;
  }

  .bm-products-page .bm-inline-book-footer {
    right: 10px;
    bottom: 12px;
    left: 10px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
  }

  .bm-products-page .bm-inline-book-footer span {
    width: 100%;
    text-align: center;
  }

  .bm-products-page .bm-product-modal-stage {
    min-height: 0;
    padding: 14px;
  }

  .bm-products-page .bm-product-modal-stage .bm-demo-pdf-image {
    max-height: 67vh;
  }
}

/* ========================================================================== 
   Products preview v2: exact flat PDF covers and readable message crops
   ========================================================================== */
.bm-products-page .bm-inline-book-stage {
  min-height: 550px;
  padding: 26px 36px 68px;
  cursor: zoom-in;
}

.bm-products-page .bm-demo-cover-image.bm-demo-pdf-image {
  width: auto;
  max-width: 100%;
  max-height: 465px;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  box-shadow: none;
}

.bm-products-page .bm-demo-pdf-page-image {
  width: min(100%, 480px);
  max-width: 100%;
  height: auto;
  max-height: 480px;
  border: 1px solid rgba(17, 35, 62, 0.08);
  border-radius: 8px;
  background: #fff;
  filter: none;
  box-shadow: 0 12px 28px rgba(17, 35, 62, 0.12);
}

.bm-products-page .bm-product-preview-dialog {
  width: min(96vw, 920px);
}

.bm-products-page .bm-product-modal-stage {
  min-height: 0;
  padding: 18px;
}

.bm-products-page .bm-product-modal-stage .bm-demo-cover-image.bm-demo-pdf-image {
  max-height: min(78vh, 820px);
}

.bm-products-page .bm-product-modal-stage .bm-demo-pdf-page-image {
  width: min(100%, 780px);
  max-height: none;
}

@media (max-width: 720px) {
  .bm-products-page .bm-inline-book-stage {
    min-height: 430px;
    padding: 18px 26px 66px;
  }

  .bm-products-page .bm-demo-cover-image.bm-demo-pdf-image {
    max-height: 345px;
  }

  .bm-products-page .bm-demo-pdf-page-image {
    width: 100%;
    max-height: none;
  }

  .bm-products-page .bm-product-modal-stage {
    padding: 8px;
  }

  .bm-products-page .bm-product-modal-stage .bm-demo-pdf-page-image {
    width: 100%;
    max-height: none;
  }
}

/* ========================================================================== 
   Products preview modal navigation — centre-screen arrows
   ========================================================================== */
.bm-products-page .bm-product-modal-controls {
  display: block;
  min-height: 34px;
  margin: 14px 0 8px;
}

.bm-products-page .bm-product-modal-controls span {
  display: block;
  text-align: center;
}

.bm-products-page .bm-product-modal-controls button {
  position: fixed;
  top: 50%;
  z-index: 1510;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(17, 35, 62, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--public-navy);
  box-shadow: 0 10px 28px rgba(17, 35, 62, 0.22);
  transform: translateY(-50%);
}

.bm-products-page .bm-product-modal-controls [data-modal-prev] {
  left: max(16px, calc(50vw - 500px));
}

.bm-products-page .bm-product-modal-controls [data-modal-next] {
  right: max(16px, calc(50vw - 500px));
}

.bm-products-page .bm-product-modal-controls button:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.bm-products-page .bm-product-modal-controls button:disabled {
  opacity: 0.28;
}

@media (max-width: 720px) {
  .bm-products-page .bm-product-modal-controls button {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.94);
  }

  .bm-products-page .bm-product-modal-controls [data-modal-prev] {
    left: 10px;
  }

  .bm-products-page .bm-product-modal-controls [data-modal-next] {
    right: 10px;
  }
}


/* E2E product-card alignment and equal preview scale */
.bm-products-page .bm-product-collection-grid { align-items: stretch; }
.bm-products-page .bm-product-collection-card { display:flex; flex-direction:column; min-width:0; scroll-margin-top:110px; }
.bm-products-page .bm-product-collection-card > .bm-inline-book-preview { flex:0 0 auto; }
.bm-products-page .bm-product-collection-card > .bm-product-collection-copy { display:flex; flex:1; flex-direction:column; }
.bm-products-page .bm-product-collection-copy > a { margin-top:auto; }
.bm-products-page .bm-inline-book-stage { min-height:550px; }
.bm-products-page .bm-demo-cover-image.bm-demo-pdf-image,
.bm-products-page .bm-demo-pdf-page-image { width:auto; max-width:100%; height:465px; max-height:465px; object-fit:contain; }
@media (max-width:720px) {
 .bm-products-page .bm-inline-book-stage { min-height:430px; }
 .bm-products-page .bm-demo-cover-image.bm-demo-pdf-image,
 .bm-products-page .bm-demo-pdf-page-image { height:345px; max-height:345px; }
}


/* ========================================================================== 
   SEO CONTENT & AUTHORITY CLUSTER — product guides and editorial content
   ========================================================================== */
.bm-seo-page { background:#fbfaf7; }
.bm-seo-hero { padding:72px 0; background:linear-gradient(180deg,#f8f3e9 0%,#fbfaf7 100%); border-bottom:1px solid rgba(17,35,62,.08); }
.bm-seo-hero-compact { padding-bottom:58px; }
.bm-seo-hero-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(280px,.72fr); align-items:center; gap:64px; }
.bm-seo-hero-copy h1 { max-width:760px; margin:12px 0 20px; color:var(--public-navy); font-size:clamp(2.25rem,5vw,4.6rem); line-height:1.02; letter-spacing:-.045em; }
.bm-seo-hero-copy > p { max-width:720px; font-size:1.08rem; color:#526071; }
.bm-seo-product-image { display:flex; align-items:center; justify-content:center; min-height:440px; padding:28px; border:1px solid rgba(17,35,62,.1); border-radius:30px; background:#fff; box-shadow:0 22px 55px rgba(17,35,62,.12); }
.bm-seo-product-image img { width:auto; max-width:100%; max-height:500px; height:auto; object-fit:contain; }
.bm-seo-hub-image img { width:100%; max-height:none; }
.bm-breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:22px; color:#667283; font-size:.88rem; }
.bm-breadcrumbs a { color:var(--public-navy); text-decoration:none; }
.bm-breadcrumbs a:hover { text-decoration:underline; }
.bm-seo-section { padding:76px 0; }
.bm-public-section-soft { background:#f5f0e7; }
.bm-seo-two-column { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(280px,.7fr); gap:58px; align-items:start; }
.bm-seo-two-column h2,.bm-seo-reading-width h2,.bm-article-content h2 { color:var(--public-navy); line-height:1.12; }
.bm-seo-two-column p,.bm-article-content p,.bm-article-content li { color:#4f5c6b; }
.bm-seo-check-card { padding:30px; border:1px solid rgba(17,35,62,.1); border-radius:24px; background:#fff; box-shadow:0 14px 34px rgba(17,35,62,.08); }
.bm-seo-check-card h2 { margin-top:0; font-size:1.35rem; }
.bm-seo-check-card ul,.bm-seo-check-card ol { margin:20px 0 0; padding-left:22px; }
.bm-seo-check-card li { margin:10px 0; }
.bm-seo-step-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.bm-seo-step-grid article { padding:26px; border:1px solid rgba(17,35,62,.1); border-radius:22px; background:#fff; }
.bm-seo-step-grid article > span { display:inline-grid; width:38px; height:38px; place-items:center; border-radius:50%; background:var(--public-navy); color:#fff; font-weight:700; }
.bm-seo-step-grid h3 { margin:18px 0 8px; color:var(--public-navy); }
.bm-seo-step-grid p { margin:0; color:#596675; }
.bm-seo-guide-callout { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:38px; border-radius:28px; background:#fff; border:1px solid rgba(17,35,62,.1); box-shadow:0 16px 40px rgba(17,35,62,.08); }
.bm-seo-guide-callout h2 { margin:8px 0; color:var(--public-navy); }
.bm-seo-reading-width { max-width:900px; }
.bm-seo-faq-list { display:grid; gap:14px; }
.bm-seo-faq { border:1px solid rgba(17,35,62,.1); border-radius:18px; background:#fff; overflow:hidden; }
.bm-seo-faq summary { cursor:pointer; padding:20px 54px 20px 22px; color:var(--public-navy); font-weight:700; position:relative; list-style:none; }
.bm-seo-faq summary::-webkit-details-marker { display:none; }
.bm-seo-faq summary::after { content:'+'; position:absolute; right:22px; top:50%; transform:translateY(-50%); font-size:1.4rem; }
.bm-seo-faq[open] summary::after { content:'−'; }
.bm-seo-faq div { padding:0 22px 20px; }
.bm-seo-faq p { margin:0; color:#536171; }
.bm-seo-card-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.bm-seo-link-card { display:flex; flex-direction:column; min-height:245px; padding:26px; border:1px solid rgba(17,35,62,.1); border-radius:22px; background:#fff; color:inherit; text-decoration:none; box-shadow:0 12px 28px rgba(17,35,62,.06); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.bm-seo-link-card:hover { transform:translateY(-4px); box-shadow:0 20px 38px rgba(17,35,62,.11); border-color:rgba(17,35,62,.22); }
.bm-seo-link-card span { color:#8d6948; font-size:.76rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.bm-seo-link-card h3 { margin:13px 0 10px; color:var(--public-navy); font-size:1.28rem; line-height:1.2; }
.bm-seo-link-card p { margin:0 0 20px; color:#5a6674; }
.bm-seo-link-card strong { margin-top:auto; color:var(--public-navy); }
.bm-seo-price-note { margin-top:14px; font-size:.9rem!important; }
/* Homepage Ideas & Guides section.
   The homepage does not use the .bm-public body class, so define the
   supporting-page design tokens locally and match the homepage rhythm. */
.bm-home .bm-seo-discovery-section {
  --public-navy: var(--home-navy, #11233e);
  --public-muted: var(--home-muted, #667080);
  --public-gold-dark: #936b26;
  padding: clamp(48px, 6vw, 76px) 0;
  border-block: 1px solid var(--home-border, #e8e1d6);
  background: linear-gradient(180deg, #f8f5ee, #f3eee5);
}
.bm-home .bm-seo-discovery-section .bm-public-heading {
  margin-bottom: clamp(28px, 4vw, 40px);
}
.bm-home .bm-seo-discovery-section .bm-public-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}
.bm-home .bm-seo-discovery-section .bm-seo-link-card {
  min-height: 225px;
}

.bm-seo-centred-link { display:flex; justify-content:center; margin-top:30px; }
.bm-product-card-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:auto; flex-wrap:wrap; }
.bm-products-page .bm-product-collection-copy > .bm-product-card-actions { margin-top:auto; }
.bm-products-page .bm-product-card-actions a { margin-top:0; }
.bm-products-page .bm-product-card-actions .bm-product-learn-link { color:#5d6876; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.bm-article-byline { margin-top:18px!important; font-size:.9rem!important; color:#707b88!important; }
.bm-article-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:56px; align-items:start; }
.bm-article-content { max-width:820px; }
.bm-article-lead { margin-top:0; padding:22px 24px; border-left:4px solid #b69069; background:#f7f1e7; font-size:1.08rem; }
.bm-article-content section { margin:0 0 52px; }
.bm-article-content h2 { margin:0 0 18px; font-size:clamp(1.55rem,3vw,2.1rem); }
.bm-article-content ul { padding-left:22px; }
.bm-message-example-list { display:grid; gap:12px; }
.bm-message-example-list blockquote { margin:0; padding:18px 20px; border:1px solid rgba(17,35,62,.09); border-radius:16px; background:#fff; }
.bm-message-example-list blockquote p { margin:0; color:#263649; font-size:1rem; }
.bm-article-sidebar { position:sticky; top:110px; display:grid; gap:20px; }
.bm-article-cta { padding:26px; border-radius:22px; background:var(--public-navy); color:#fff; }
.bm-article-cta h2 { margin-top:0; color:#fff; }
.bm-article-cta p { color:rgba(255,255,255,.82); }
.bm-article-cta .bm-button { width:100%; justify-content:center; }
@media (max-width:1000px) {
 .bm-seo-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .bm-seo-step-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .bm-article-layout { grid-template-columns:1fr; }
 .bm-article-sidebar { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
 .bm-home .bm-seo-discovery-section { padding-block: 42px; }
 .bm-home .bm-seo-discovery-section .bm-public-heading { margin-bottom: 24px; }
 .bm-home .bm-seo-discovery-section .bm-seo-link-card { min-height: 0; padding: 22px; }
 .bm-seo-hero { padding:48px 0; }
 .bm-seo-hero-grid,.bm-seo-two-column { grid-template-columns:1fr; gap:34px; }
 .bm-seo-product-image { min-height:0; padding:20px; }
 .bm-seo-product-image img { max-height:420px; }
 .bm-seo-section { padding:54px 0; }
 .bm-seo-guide-callout { align-items:flex-start; flex-direction:column; padding:26px; }
 .bm-seo-card-grid,.bm-seo-step-grid,.bm-article-sidebar { grid-template-columns:1fr; }
 .bm-seo-link-card { min-height:0; }
 .bm-product-card-actions { align-items:flex-start; flex-direction:column; }
}


/* Create Your Own occasion SEO placeholder covers */
.bm-occasion-placeholder-cover { width:min(100%,350px); aspect-ratio:7/10; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:32px; border:1px solid #c9a86c; border-radius:8px; background:linear-gradient(160deg,#fffdf8,#f4ecdc); box-shadow:0 14px 30px rgba(17,35,62,.10), inset 0 0 0 10px #fffdf8, inset 0 0 0 11px rgba(183,146,76,.35); color:#11233e; text-align:center; position:relative; overflow:hidden; }
.bm-occasion-placeholder-cover::before,.bm-occasion-placeholder-cover::after { content:'✦'; position:absolute; color:#b78f47; font-size:1.25rem; }
.bm-occasion-placeholder-cover::before { top:26px; }
.bm-occasion-placeholder-cover::after { bottom:26px; }
.bm-occasion-placeholder-cover .bm-occasion-placeholder-kicker { color:#8d6948; font-size:.72rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.bm-occasion-placeholder-cover strong { max-width:270px; font-family:Georgia,'Times New Roman',serif; font-size:clamp(1.8rem,4vw,2.55rem); line-height:1.05; font-weight:500; }
.bm-occasion-placeholder-cover small { color:#687383; font-size:.82rem; }
.bm-final-cta-image .bm-occasion-placeholder-cover { width:210px; }

/* August 2026 — public Picture Book discovery and landing page */
.bm-book-mode-public-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.bm-book-mode-public-grid > article {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--public-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-book-mode-public-grid > article > span {
  display: block;
  margin-bottom: 9px;
  color: var(--public-gold-dark);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bm-book-mode-public-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.bm-book-mode-public-grid p {
  margin: 0 0 22px;
  color: var(--public-muted);
  line-height: 1.65;
}

.bm-book-mode-public-featured {
  border-color: #d7ba7a !important;
  background: linear-gradient(180deg, #fff 0%, #fbf5e8 100%) !important;
}

.bm-product-price-note {
  margin: -7px 0 22px;
  color: var(--public-navy);
  font-size: .88rem;
  font-weight: 800;
}

.bm-public-inline-link {
  margin: 18px 0 0;
  text-align: center;
}

.bm-public-inline-link a {
  color: var(--public-navy);
  font-weight: 800;
}

.bm-public-section-soft {
  background: #faf7f1;
}

.bm-picture-book-landing-hero .bm-public-hero-grid {
  align-items: center;
}

.bm-picture-book-hero-note {
  margin-top: 18px !important;
  color: var(--public-gold-dark) !important;
  font-size: .84rem;
  font-weight: 800;
}

.bm-picture-book-landing-spread {
  max-width: 650px;
  margin: 0 auto;
}

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

.bm-picture-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bm-picture-steps-grid article {
  padding: 25px;
  border: 1px solid var(--public-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--public-shadow-soft);
}

.bm-picture-steps-grid article > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--public-gold);
  color: #fff;
}

.bm-picture-steps-grid h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.bm-picture-steps-grid p {
  margin: 0;
  color: var(--public-muted);
  line-height: 1.6;
}

.bm-picture-use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bm-picture-use-grid a {
  display: block;
  padding: 24px;
  border: 1px solid var(--public-border);
  border-radius: 15px;
  background: #fff;
  color: var(--public-navy);
  box-shadow: var(--public-shadow-soft);
  text-decoration: none;
}

.bm-picture-use-grid a:hover {
  transform: translateY(-2px);
  border-color: #d7ba7a;
}

.bm-picture-use-grid strong,
.bm-picture-use-grid span {
  display: block;
}

.bm-picture-use-grid strong {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.bm-picture-use-grid span {
  color: var(--public-muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .bm-picture-steps-grid,
  .bm-picture-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .bm-book-mode-public-grid,
  .bm-picture-benefit-grid,
  .bm-picture-steps-grid,
  .bm-picture-use-grid {
    grid-template-columns: 1fr;
  }

  .bm-picture-book-landing-spread,
  .bm-picture-book-spread {
    padding: 10px;
  }
}
