/* ========================================================================== 
   BOUND MEMORIES HOMEPAGE
   Dedicated styling for index.html, designed to match the approved mockup.
   Loaded after styles.css so it does not alter the builder, checkout or admin.
   ========================================================================== */

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

  margin: 0;
  overflow-x: hidden;
  background: var(--home-ivory);
  color: var(--home-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.bm-home *,
.bm-home *::before,
.bm-home *::after {
  box-sizing: border-box;
}

.bm-home h1,
.bm-home h2,
.bm-home h3,
.bm-home h4,
.bm-home p {
  margin-top: 0;
}

.bm-home h1,
.bm-home h2,
.bm-home h3 {
  color: var(--home-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.bm-home img {
  display: block;
  max-width: 100%;
}

.bm-home a {
  color: inherit;
}

.bm-menu-open {
  overflow: hidden;
}

.bm-page-width {
  width: min(var(--home-width), calc(100% - 56px));
  margin-inline: auto;
}

/* ========================================================================== 
   HEADER
   ========================================================================== */

.bm-home .bm-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: 76px;
  padding: 0;
  border-bottom: 1px solid rgba(232, 225, 214, 0.8);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 15px rgba(17, 35, 62, 0.04);
  backdrop-filter: blur(14px);
}

.bm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--home-width), calc(100% - 56px));
  min-height: 76px;
  margin-inline: auto;
}

.bm-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.bm-brand img {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.bm-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 1.8vw, 28px);
}

.bm-desktop-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--home-navy);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.bm-desktop-nav > a:hover {
  color: var(--home-gold-dark);
}

.bm-header-cta {
  min-height: 44px !important;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--home-gold);
  color: #fff !important;
  box-shadow: 0 7px 17px rgba(184, 135, 50, 0.2);
}

.bm-header-cta:hover {
  background: var(--home-gold-dark);
}

.bm-cart-link {
  gap: 6px;
}

.bm-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--home-navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.bm-mobile-header-actions {
  display: none;
  align-items: center;
  gap: 9px;
}

.bm-mobile-create,
.bm-mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--home-gold);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.bm-menu-button {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.bm-menu-button span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--home-navy);
}

.bm-menu-overlay {
  position: fixed;
  z-index: 1500;
  inset: 0;
  visibility: hidden;
  background: rgba(9, 20, 37, 0.52);
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.bm-menu-overlay.active {
  visibility: visible;
  opacity: 1;
}

.bm-mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0;
  right: -340px;
  display: flex;
  flex-direction: column;
  width: min(325px, 88vw);
  height: 100dvh;
  padding: 26px;
  gap: 5px;
  overflow-y: auto;
  background: #fff;
  box-shadow: -14px 0 45px rgba(17, 35, 62, 0.18);
  transition: right 220ms ease;
}

.bm-mobile-menu.active {
  right: 0;
}

.bm-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--home-border);
  color: var(--home-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.bm-mobile-menu-head button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--home-cream);
  color: var(--home-navy);
  cursor: pointer;
  font-size: 1.6rem;
}

.bm-mobile-menu > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--home-navy);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
}

.bm-mobile-menu-cta {
  justify-content: center;
  margin-top: auto;
  padding: 13px 16px;
}

/* ========================================================================== 
   HERO
   ========================================================================== */

.bm-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 46px;
  background:
    linear-gradient(90deg, #fff 0%, #fff 44%, #faf7f0 100%);
}

.bm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: max(28px, calc((100vw - var(--home-width)) / 2));
  padding-right: 0;
}

.bm-hero-copy {
  position: relative;
  z-index: 2;
  padding: 25px 0 28px 12px;
}

.bm-hero-copy h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.bm-hero-copy p {
  margin-bottom: 31px;
  color: #5c6570;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}

.bm-button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.bm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 25px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.bm-button:hover {
  transform: translateY(-1px);
}

.bm-button-primary {
  border: 2px solid var(--home-gold);
  background: var(--home-gold);
  color: #fff;
  box-shadow: 0 8px 22px rgba(184, 135, 50, 0.2);
}

.bm-button-primary:hover {
  border-color: var(--home-gold-dark);
  background: var(--home-gold-dark);
}

.bm-button-secondary {
  border: 2px solid #c8a768;
  background: rgba(255, 255, 255, 0.84);
  color: var(--home-gold-dark);
}

.bm-button-secondary:hover {
  background: var(--home-gold-pale);
}

.bm-hero-image-wrap {
  position: relative;
  min-width: 0;
  height: 560px;
  overflow: hidden;
}

.bm-hero-image-wrap::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 16%;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.bm-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ========================================================================== 
   BENEFIT PANEL
   ========================================================================== */

.bm-three-benefits {
  position: relative;
  z-index: 3;
  padding: 0 0 36px;
  background: #fff;
}

.bm-benefit-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.bm-benefit-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 25px 34px;
}

.bm-benefit-item + .bm-benefit-item {
  border-left: 1px solid var(--home-border);
}

.bm-icon-circle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--home-gold-pale);
}

.bm-icon-circle svg,
.bm-process-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--home-gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.bm-benefit-item h2 {
  margin-bottom: 5px;
  font-size: 1.28rem;
}

.bm-benefit-item p {
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

/* ========================================================================== 
   GENERAL SECTIONS
   ========================================================================== */

.bm-section {
  padding: 38px 0;
}

.bm-section-title {
  margin-bottom: 34px;
  color: var(--home-navy);
  font-size: clamp(2rem, 3vw, 2.75rem);
  text-align: center;
}

/* ========================================================================== 
   COLLECTION CARDS
   ========================================================================== */

.bm-collections {
  padding-top: 10px;
  background: #fff;
}

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

.bm-collection-card {
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--home-shadow-soft);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bm-collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}

.bm-collection-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1055 / 1491;
  object-fit: cover;
}

.bm-collection-card > div {
  min-height: 160px;
  padding: 22px 24px 25px;
  text-align: center;
}

.bm-collection-card h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.bm-collection-card p {
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ========================================================================== 
   HOW IT WORKS
   ========================================================================== */

.bm-how {
  padding-top: 55px;
  padding-bottom: 56px;
  background: #fff;
}

.bm-process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bm-process-grid::before {
  position: absolute;
  top: 47px;
  right: 12%;
  left: 12%;
  z-index: 0;
  border-top: 1px dashed #d0b67d;
  content: "";
}

.bm-process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bm-process-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border: 1px solid #dccb9f;
  border-radius: 50%;
  background: #fff;
}

.bm-process-icon span {
  position: absolute;
  top: -10px;
  right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--home-gold);
  color: #fff;
  font-size: 0.77rem;
  font-weight: 800;
}

.bm-process-step h3 {
  max-width: 220px;
  margin: 0 auto 9px;
  font-size: 1.12rem;
  line-height: 1.28;
}

.bm-process-step p {
  max-width: 225px;
  margin: 0 auto;
  color: var(--home-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ========================================================================== 
   FORMAT PANEL
   ========================================================================== */

.bm-formats {
  padding-top: 28px;
  padding-bottom: 46px;
  background: #fff;
}

.bm-format-panel {
  padding: 31px 34px 25px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbf9f5, #f7f2e9);
}

.bm-format-panel .bm-section-title {
  margin-bottom: 25px;
  font-size: clamp(1.85rem, 2.7vw, 2.45rem);
}

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

.bm-format-card {
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(25, 35, 50, 0.04);
}

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

.bm-format-card > div {
  display: flex;
  flex-direction: column;
  min-height: 145px;
  padding: 18px 15px 17px;
  text-align: center;
}

.bm-format-card h3 {
  margin-bottom: 7px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.bm-format-card p {
  margin-bottom: 12px;
  color: var(--home-muted);
  font-size: 0.83rem;
}

.bm-format-card strong {
  margin-top: auto;
  color: #4e5660;
  font-size: 0.8rem;
}

.bm-format-note {
  margin: 23px 0 0;
  color: var(--home-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ========================================================================== 
   GALLERY
   ========================================================================== */

.bm-gallery-preview {
  padding-top: 10px;
  padding-bottom: 30px;
  background: #fff;
}

.bm-gallery-preview .bm-section-title {
  margin-bottom: 22px;
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
}

.bm-gallery-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.bm-gallery-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bm-gallery-images a {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--home-shadow-soft);
}

.bm-gallery-images img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.bm-gallery-images a:hover img {
  transform: scale(1.03);
}

.bm-gallery-button {
  min-width: 170px;
}

/* ========================================================================== 
   REASSURANCE
   ========================================================================== */

.bm-reassurance {
  padding: 14px 0 28px;
  background: #fff;
}

.bm-reassurance-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--home-shadow-soft);
}

.bm-reassurance-panel article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 22px 20px;
}

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

.bm-small-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--home-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.bm-reassurance-panel h3 {
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

.bm-reassurance-panel p {
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

/* ========================================================================== 
   FINAL CTA
   ========================================================================== */

.bm-final-cta {
  padding: 0 0 25px;
  background: #fff;
}

.bm-final-cta-panel {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: 250px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--home-navy);
  box-shadow: var(--home-shadow);
}

.bm-final-cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 42px 55px;
}

.bm-final-cta-copy h2 {
  margin-bottom: 10px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
}

.bm-final-cta-copy p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.bm-final-cta-image {
  position: relative;
  overflow: hidden;
}

.bm-final-cta-image::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, var(--home-navy), rgba(17, 35, 62, 0));
  content: "";
}

.bm-final-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 67%;
}

/* ========================================================================== 
   FOOTER
   ========================================================================== */

.bm-home .bm-footer {
  padding: 22px 0 24px;
  border-top: 1px solid var(--home-border);
  background: #fff;
  color: var(--home-ink);
}

.bm-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bm-footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.bm-footer-brand img {
  width: auto;
  height: 38px;
}

.bm-footer-brand p {
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: 0.75rem;
}

.bm-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 25px;
}

.bm-footer nav a {
  color: var(--home-navy);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.bm-footer nav a:hover {
  color: var(--home-gold-dark);
}

/* ========================================================================== 
   TABLET
   ========================================================================== */

@media (max-width: 1080px) {
  .bm-desktop-nav {
    display: none;
  }

  .bm-mobile-header-actions {
    display: flex;
  }

  .bm-menu-button {
    display: flex;
  }

  .bm-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 30px;
  }

  .bm-hero-copy h1 {
    font-size: clamp(2.8rem, 5.7vw, 4.15rem);
  }

  .bm-hero-image-wrap {
    height: 500px;
  }

  .bm-format-card img {
    height: 160px;
  }

  .bm-reassurance-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .bm-reassurance-panel article:nth-child(3) {
    border-top: 1px solid var(--home-border);
    border-left: 0;
  }

  .bm-reassurance-panel article:nth-child(4) {
    border-top: 1px solid var(--home-border);
  }
}

/* ========================================================================== 
   MOBILE / SMALL TABLET
   ========================================================================== */

@media (max-width: 800px) {
  .bm-page-width,
  .bm-header-inner {
    width: min(100% - 30px, var(--home-width));
  }

  .bm-home .bm-site-header,
  .bm-header-inner {
    min-height: 70px;
  }

  .bm-brand img {
    height: 52px;
  }

  .bm-mobile-create {
    min-height: 40px;
    padding-inline: 12px;
  }

  .bm-hero {
    padding: 36px 0 28px;
    background: #fff;
  }

  .bm-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: var(--home-width);
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .bm-hero-copy {
    padding: 12px 5px 0;
    text-align: center;
  }

  .bm-hero-copy h1 {
    max-width: 650px;
    margin-inline: auto;
    font-size: clamp(2.55rem, 11vw, 3.7rem);
  }

  .bm-hero-copy p {
    font-size: 1rem;
  }

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

  .bm-hero-image-wrap {
    height: auto;
    aspect-ratio: 1536 / 1024;
    border-radius: 12px;
  }

  .bm-hero-image-wrap::before {
    display: none;
  }

  .bm-benefit-panel,
  .bm-collection-grid,
  .bm-format-grid {
    grid-template-columns: 1fr;
  }

  .bm-benefit-item + .bm-benefit-item {
    border-top: 1px solid var(--home-border);
    border-left: 0;
  }

  .bm-process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
  }

  .bm-process-grid::before {
    display: none;
  }

  .bm-format-panel {
    padding: 26px 18px 22px;
  }

  .bm-format-card {
    display: grid;
    grid-template-columns: 145px 1fr;
  }

  .bm-format-card img {
    width: 145px;
    height: 100%;
    min-height: 145px;
  }

  .bm-format-card > div {
    min-height: 145px;
    text-align: left;
  }

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

  .bm-gallery-button {
    justify-self: center;
  }

  .bm-final-cta-panel {
    grid-template-columns: 1fr;
  }

  .bm-final-cta-image {
    height: 230px;
    margin-top: 18px;
    border-radius: 12px;
  }

  .bm-final-cta-image::before {
    inset: 0 0 auto 0;
    width: auto;
    height: 35%;
    background: linear-gradient(180deg, var(--home-navy), rgba(17, 35, 62, 0));
  }

  .bm-footer-inner,
  .bm-footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .bm-footer nav {
    justify-content: flex-start;
  }
}

/* ========================================================================== 
   MOBILE
   ========================================================================== */

@media (max-width: 540px) {
  .bm-page-width,
  .bm-header-inner {
    width: min(100% - 24px, var(--home-width));
  }

  .bm-brand img {
    height: 46px;
  }

  .bm-mobile-create {
    max-width: 130px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .bm-menu-button {
    width: 40px;
    height: 40px;
  }

  .bm-hero-copy h1 {
    font-size: 2.55rem;
    line-height: 1.08;
  }

  .bm-button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .bm-button {
    width: 100%;
  }

  .bm-hero-image-wrap {
    height: auto;
    aspect-ratio: 1536 / 1024;
  }

  .bm-benefit-item {
    padding: 21px 19px;
  }

  .bm-icon-circle {
    width: 52px;
    height: 52px;
  }

  .bm-section {
    padding-block: 29px;
  }

  .bm-section-title {
    margin-bottom: 25px;
    font-size: 2rem;
  }

  .bm-collection-card > div {
    min-height: 0;
    padding: 20px;
  }

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

  .bm-process-step {
    display: grid;
    grid-template-columns: 78px 1fr;
    align-items: center;
    text-align: left;
  }

  .bm-process-icon {
    grid-row: 1 / 3;
    width: 70px;
    height: 70px;
    margin: 0;
  }

  .bm-process-icon span {
    top: -7px;
    right: 2px;
    width: 23px;
    height: 23px;
  }

  .bm-process-step h3,
  .bm-process-step p {
    max-width: none;
    margin-left: 12px;
    text-align: left;
  }

  .bm-format-card {
    grid-template-columns: 112px 1fr;
  }

  .bm-format-card img {
    width: 112px;
    min-height: 130px;
  }

  .bm-format-card > div {
    min-height: 130px;
    padding: 15px 13px;
  }

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

  .bm-gallery-images img {
    height: 225px;
  }

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

  .bm-reassurance-panel article + article,
  .bm-reassurance-panel article:nth-child(3),
  .bm-reassurance-panel article:nth-child(4) {
    border-top: 1px solid var(--home-border);
    border-left: 0;
  }

  .bm-final-cta-copy {
    padding: 35px 25px;
  }

  .bm-footer nav {
    gap: 14px 20px;
  }
}


/* July 2026 exploratory UI fixes */
@media (min-width: 901px) {
  .bm-hero-grid { align-items: stretch; }
  .bm-hero-copy { display:flex; flex-direction:column; justify-content:center; }
  .bm-hero-copy h1 { font-size: clamp(2.75rem, 4.55vw, 4.35rem); }
  .bm-hero-image-wrap { height:auto; min-height:520px; }
}

/* Transparent logo artwork now inherits the header/menu background cleanly. */
.bm-brand img { background: transparent; }

/* Compact utility navigation: familiar account/cart icons plus existing burger menu. */
.bm-desktop-nav .bm-cart-link,
.bm-desktop-nav [id^="authNavLink"],
.bm-desktop-nav [id^="dashboardNavLink"] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 11px;
  border:1px solid var(--home-border);
  border-radius:999px;
  background:#fff;
}
.bm-desktop-nav .bm-cart-link::before { content:"🛒"; margin-right:6px; font-size:.9rem; }
.bm-desktop-nav [id^="authNavLink"]::before,
.bm-desktop-nav [id^="dashboardNavLink"]::before { content:"◯"; margin-right:6px; color:var(--home-gold-dark); font-weight:900; }

/* ========================================================================== 
   JULY 2026 — WIDER DESKTOP HERO IMAGE
   Keeps the improved copy sizing while giving the product photography more
   horizontal space on large screens. Tablet and mobile rules remain unchanged.
   Width/bleed handling now lives entirely in the main .bm-hero-grid rule.
   ========================================================================== */
@media (min-width: 1100px) {
  .bm-hero-grid {
    grid-template-columns: minmax(410px, 0.74fr) minmax(0, 1.36fr);
    gap: clamp(22px, 2.8vw, 44px);
  }

  .bm-hero-image-wrap {
    min-height: 560px;
  }
}


/* E2E homepage collection polish */
.bm-custom-book-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding: 30px 34px;
  border: 1px solid #e4d8c3;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbf8f2 0%, #f3eadc 100%);
  box-shadow: var(--home-shadow-soft);
}
.bm-custom-book-cta span { display:block; margin-bottom:6px; color:var(--home-gold-dark); font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.bm-custom-book-cta h2 { margin-bottom:8px; font-size:clamp(1.55rem,2.4vw,2rem); }
.bm-custom-book-cta p { max-width:720px; margin:0; color:var(--home-muted); }
.bm-gallery-images a { background:#f8f5ef; }
.bm-gallery-images img { height:260px; padding:10px; object-fit:contain; }
@media (max-width:780px) { .bm-custom-book-cta { grid-template-columns:1fr; padding:24px; } .bm-gallery-images img { height:220px; } }

/* August 2026 — Picture Book discovery on the homepage */
.bm-picture-book-feature {
  background: linear-gradient(180deg, #f8f3e9 0%, #fff 100%);
}

.bm-picture-book-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.bm-picture-book-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--home-gold-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bm-picture-book-feature-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.bm-picture-book-feature-copy > p {
  max-width: 680px;
  margin: 0 0 20px;
  color: var(--home-muted);
  line-height: 1.7;
}

.bm-picture-book-feature-copy ul {
  display: grid;
  gap: 9px;
  margin: 0 0 26px;
  padding-left: 20px;
  color: var(--home-navy);
}

.bm-picture-book-feature-visual {
  text-align: center;
}

.bm-picture-book-feature-visual > p {
  margin: 14px 0 0;
  color: var(--home-navy);
  font-weight: 800;
}

.bm-picture-book-spread,
.bm-picture-book-landing-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 18px;
  border: 1px solid #dfd2bd;
  border-radius: 18px;
  background: #f0e8dc;
  box-shadow: 0 24px 60px rgba(17, 35, 62, .16);
  transform: rotate(-1deg);
}

.bm-picture-book-page {
  min-width: 0;
  aspect-ratio: 5.83 / 8.27;
  padding: 8%;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 35, 62, .12);
  text-align: left;
}

.bm-picture-book-page img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.bm-picture-book-page-photo img {
  height: 78%;
}

.bm-picture-book-page-photo span {
  display: block;
  margin-top: 8%;
  color: #17243a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.58rem, 1.2vw, .85rem);
  text-align: center;
}

.bm-picture-book-page-story img {
  height: 50%;
}

.bm-picture-book-page-story strong,
.bm-picture-book-page-story span {
  display: block;
  color: #17243a;
}

.bm-picture-book-page-story strong {
  margin-top: 8%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.56rem, 1.05vw, .78rem);
}

.bm-picture-book-page-story span {
  margin-top: 5%;
  color: #687386;
  font-size: clamp(.46rem, .85vw, .66rem);
  line-height: 1.45;
}

@media (max-width: 850px) {
  .bm-picture-book-feature-grid {
    grid-template-columns: 1fr;
  }
  .bm-picture-book-feature-visual {
    max-width: 620px;
    margin: 0 auto;
  }
}
