/* Little Moments — polished, logo-inspired typography for gallery names.
   No title badges: names are pure text in a reserved, uniform title row.
   Phone sizes, row alignment and booking links remain unchanged. */
.lm-curated-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  column-gap:19px;
  row-gap:34px;
  align-items:start;
  justify-items:stretch;
}
.lm-curated-grid .lm-phone-item{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  min-width:0;
  width:100%;
  /* Reserve the SAME title slot for short and long labels. */
  padding:92px 1px 8px;
  overflow:visible;
}
/* True brand-pink display lettering. A uniform 88px title track, bottom aligned,
   holds 1–4-line theme names without shifting phone tops or buttons. */
.lm-curated-grid .lm-phone-label,
.lm-curated-grid .lm-phone-girl .lm-phone-label,
.lm-curated-grid .lm-phone-neutral .lm-phone-label,
.lm-curated-grid .lm-phone-request .lm-phone-label{
  /* Anchor the text to the phone edge, without an invisible 88px click target. */
  position:absolute;
  top:92px;
  left:50%;
  z-index:3;
  order:0;
  display:block;
  flex:0 0 auto;
  box-sizing:border-box;
  width:max-content;
  max-width:100%;
  min-height:0;
  height:auto;
  margin:0;
  padding:0 2px 4px;
  background:transparent;
  border:0;
  border-radius:0;
  color:#FB2F95;
  text-decoration:none;
  text-align:center;
  text-transform:none;
  letter-spacing:-.012em;
  font:500 25px/1.1 'Fredoka','Nunito',sans-serif;
  overflow-wrap:break-word;
  word-break:normal;
  text-wrap:balance;
  /* Pure Little Moments pink: no outline, no text or filter shadow. */
  -webkit-text-stroke:0;
  paint-order:normal;
  text-shadow:none;
  filter:none;
  box-shadow:none;
  transform:translate(-50%,-100%);
  transition:color .16s ease;
}
.lm-curated-grid .lm-phone-label:hover,
.lm-curated-grid .lm-phone-label:focus-visible{
  transform:translate(-50%,-100%);
  background:transparent;
  color:#da176d;
  box-shadow:none;
}
.lm-curated-grid .lm-phone-preview{
  position:relative;
  z-index:1;
  order:1;
  display:block;
  width:100%;
  max-width:169px;
  margin:0;
  flex:0 0 auto;
  border-radius:25px;
}
.lm-curated-grid .lm-phone-device{
  box-sizing:border-box;
  width:100%;
  aspect-ratio:9 / 18.3;
  border-radius:24px;
  padding:6px;
  background:#142a3a;
  box-shadow:0 3px 0 #071c29,0 12px 22px rgba(12,35,54,.19);
}
.lm-curated-grid .lm-phone-device::before{
  top:7px;
  height:13px;
  width:35%;
}
.lm-curated-grid .lm-phone-screen{border-radius:18px}
.lm-curated-grid .lm-phone-image{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.lm-curated-grid .lm-phone-preview:hover .lm-phone-device,
.lm-curated-grid .lm-phone-preview:focus-visible .lm-phone-device{
  box-shadow:0 3px 0 #071c29,0 16px 26px rgba(12,35,54,.22);
}
/* Only one clear action after the phone; maintain the established brand button. */
.lm-curated-grid .lm-reserve-theme-cta{
  order:2;
  box-sizing:border-box;
  width:90%;
  max-width:151px;
  min-height:41px;
  margin:13px 0 4px;
  padding:11px 10px;
  border:2px solid white;
  border-radius:999px;
  background:#fb2f95;
  color:#fff!important;
  font:900 11.5px/1.2 'Nunito',sans-serif;
  text-align:center;
  text-decoration:none;
  box-shadow:0 4px 0 #ab145a,0 9px 15px rgba(168,20,90,.12);
}
.lm-curated-grid .lm-reserve-theme-cta:hover,
.lm-curated-grid .lm-reserve-theme-cta:focus-visible{
  transform:translateY(-2px);
  background:#f42691;
  box-shadow:0 6px 0 #ab145a,0 11px 17px rgba(168,20,90,.18);
}
.lm-curated-grid .lm-phone-preview:focus-visible,
.lm-curated-grid .lm-phone-label:focus-visible,
.lm-curated-grid .lm-reserve-theme-cta:focus-visible{
  outline:3px solid #ffcf3a;
  outline-offset:4px;
}
@media(max-width:1199px){
  .lm-curated-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:30px 17px}
}
@media(max-width:940px){
  .lm-curated-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:29px 17px}
}
@media(max-width:780px){
  .lm-curated-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:29px 16px}
  .lm-curated-grid .lm-phone-item{padding:92px 0 7px}
  .lm-curated-grid .lm-phone-preview{max-width:184px}
  .lm-curated-grid .lm-phone-device{padding:5px;border-radius:21px}
  .lm-curated-grid .lm-phone-device::before{top:6px;height:11px}
  .lm-curated-grid .lm-phone-screen{border-radius:16px}
  .lm-curated-grid .lm-reserve-theme-cta{max-width:165px;margin-top:12px}
}
@media(max-width:600px){
  /* Use the actual phone width instead of leaving oversized blank gutters. */
  .lm-cloud-collection-body>.layout-wide{width:calc(100% - 26px)!important;max-width:500px}
  .lm-curated-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:14px;
    row-gap:30px;
  }
  .lm-curated-grid .lm-phone-preview,
  .lm-curated-grid .lm-reserve-theme-cta{
    width:100%;
    max-width:186px;
  }
  .lm-curated-grid .lm-phone-label,
  .lm-curated-grid .lm-phone-girl .lm-phone-label,
  .lm-curated-grid .lm-phone-neutral .lm-phone-label,
  .lm-curated-grid .lm-phone-request .lm-phone-label{
    font-size:23px;
    top:92px;
    width:max-content;
    min-height:0;
    height:auto;
    max-width:100%;
    padding:0 2px 4px;
    margin:0;
    line-height:1.13;
  }
  .lm-curated-grid .lm-phone-device{
    aspect-ratio:9 / 18.3;
    padding:5px;
    border-radius:23px;
  }
  .lm-curated-grid .lm-phone-device::before{
    top:6px;
    height:12px;
    width:35%;
  }
  .lm-curated-grid .lm-phone-screen{border-radius:18px}
  .lm-curated-grid .lm-reserve-theme-cta{
    width:90%;
    max-width:165px;
    min-height:42px;
    margin-top:12px;
    padding:10px 7px;
    font-size:11px;
  }
}
@media(max-width:355px){
  .lm-cloud-collection-body>.layout-wide{width:calc(100% - 20px)!important}
  .lm-curated-grid{column-gap:11px;row-gap:27px}
  .lm-curated-grid .lm-phone-label,
  .lm-curated-grid .lm-phone-girl .lm-phone-label,
  .lm-curated-grid .lm-phone-neutral .lm-phone-label,
  .lm-curated-grid .lm-phone-request .lm-phone-label{
    font-size:20px;
    padding:3px 1px 5px;
  }
  .lm-curated-grid .lm-reserve-theme-cta{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  .lm-curated-grid .lm-phone-label{transition:none}
}