/* Little Moments — featured themes / phone lookbook, 2026
   Vertical previews stay at their actual invitation artwork ratio (390 x 760).
   This stylesheet touches only #themes, never the client form or theme gallery. */

body.lm26 #themes.lm26-themes {
  position:relative;
  isolation:isolate;
  background:#FB2F95!important;
  color:#fff;
  overflow:hidden;
  padding:46px 0 45px!important;
}
body.lm26 #themes .lm26-wrap{
  position:relative;
  z-index:2;
  display:grid!important;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)!important;
  align-items:center!important;
  gap:34px!important;
  width:min(1150px,calc(100% - 56px))!important;
  margin:0 auto;
}
/* Very subtle background depth; preserve the solid pink brand identity. */
body.lm26 #themes::before{
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  width:min(640px,63vw);
  height:450px;
  right:7%;
  top:1%;
  background:radial-gradient(ellipse,#ff78b135 0%,transparent 72%);
}
body.lm26 #themes .lm26-themes-copy{
  position:relative;
  align-self:center;
  max-width:465px;
  text-align:left;
}
body.lm26 #themes .lm26-themes-label{
  padding:9px 15px!important;
  font-size:10px!important;
  letter-spacing:.1em;
  background:#fff;
  border-radius:999px;
  box-shadow:0 3px 0 #dc176d;
}
body.lm26 #themes .lm26-themes-copy h2{
  font-family:'Lilita One','Fredoka',sans-serif!important;
  font-size:clamp(39px,3.7vw,55px)!important;
  font-weight:400!important;
  line-height:1.02!important;
  letter-spacing:-.02em!important;
  text-shadow:3px 4px 0 #af1658!important;
  margin:17px 0 15px!important;
  max-width:490px;
}
body.lm26 #themes .lm26-themes-copy h2 span{
  color:#ffe44a!important;
  text-shadow:3px 4px 0 #c01c64!important;
}
body.lm26 #themes .lm26-themes-copy p{
  margin:0 0 24px!important;
  max-width:390px!important;
  font-size:14px!important;
  line-height:1.52!important;
  font-weight:800!important;
}
body.lm26 #themes .lm26-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  min-height:44px;
  padding:12px 23px;
  font-size:13px;
  font-weight:1000;
  box-shadow:0 5px 0 #aa1157,0 12px 22px #6c073130!important;
}

/* Actual modern phone aspect ratio, rather than a horizontal rectangle masquerading as a phone. */
body.lm26 #themes .lm26-phones{
  position:relative;
  display:flex!important;
  flex-wrap:nowrap!important;
  justify-content:center!important;
  align-items:flex-end!important;
  gap:17px!important;
  width:100%;
  min-width:0;
  max-width:650px;
  margin:0 auto!important;
  padding:25px 4px 29px!important;
  overflow:visible;
}
body.lm26 #themes .lm26-phones::before{
  content:"✦";
  position:absolute;
  top:10px;
  right:5%;
  color:#ffe44a;
  font:900 25px 'Fredoka',sans-serif;
  transform:rotate(14deg);
  pointer-events:none;
}
body.lm26 #themes .lm26-phone.theme-preview{
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  flex:0 0 clamp(142px,13.6vw,184px)!important;
  width:clamp(142px,13.6vw,184px)!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  aspect-ratio:390 / 760!important;
  border:7px solid #1b1730!important;
  border-radius:30px!important;
  background:#1b1730!important;
  padding:0!important;
  overflow:visible!important;
  box-shadow:0 7px 0 #a20f56,0 17px 27px #5e083c46!important;
  transform:rotate(-3.2deg);
  transform-origin:center bottom;
  transition:transform .24s ease,box-shadow .24s ease!important;
  text-decoration:none;
}
body.lm26 #themes .lm26-phone.theme-preview:nth-child(2){
  z-index:3;
  flex-basis:clamp(149px,14.3vw,195px)!important;
  width:clamp(149px,14.3vw,195px)!important;
  transform:translateY(-14px) rotate(.8deg);
}
body.lm26 #themes .lm26-phone.theme-preview:nth-child(3){
  transform:rotate(3.3deg);
}
body.lm26 #themes .lm26-phone.theme-preview img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:390 / 760!important;
  object-fit:cover!important;
  object-position:center top!important;
  border-radius:22px!important;
  background:#fff;
  min-height:0!important;
  max-height:none!important;
}
body.lm26 #themes .lm26-phone.theme-preview::before{
  content:"";
  position:absolute;
  z-index:5;
  top:8px;
  left:50%;
  transform:translateX(-50%);
  width:34%;
  height:14px;
  border-radius:100px;
  background:#191628;
  box-shadow:0 1px 2px #0003;
  pointer-events:none;
}
body.lm26 #themes .lm26-phone.theme-preview::after{
  content:"";
  position:absolute;
  z-index:5;
  right:-9px;
  top:28%;
  height:35px;
  width:3px;
  border-radius:0 3px 3px 0;
  background:#27243b;
  pointer-events:none;
}
body.lm26 #themes .lm26-phone.theme-preview>span{
  position:absolute;
  z-index:6;
  bottom:-23px;
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  background:#fff;
  color:#ef2a83;
  border:2px solid #f32687;
  border-radius:999px;
  padding:7px 12px;
  box-shadow:0 4px 0 #b6125b;
  font:1000 10px/1 'Nunito',sans-serif!important;
  letter-spacing:0!important;
}
body.lm26 #themes .lm26-phone.theme-preview:hover,
body.lm26 #themes .lm26-phone.theme-preview:focus-visible{
  transform:translateY(-12px) rotate(0deg)!important;
  box-shadow:0 9px 0 #a20f56,0 22px 32px #5e083c55!important;
}
body.lm26 #themes .lm26-phones .lm26-phone:nth-child(2):hover,
body.lm26 #themes .lm26-phones .lm26-phone:nth-child(2):focus-visible{
  transform:translateY(-22px) rotate(0deg)!important;
}
body.lm26 #themes .lm26-phone:focus-visible{
  outline:3px solid #ffe34a!important;outline-offset:7px!important;
}
body.lm26 #themes .lm26-themes-bottom{
  position:relative;
  z-index:2;
  margin:8px auto 0!important;
}
/* One clear CTA beneath the phones replaces the old text link and top button. */
body.lm26 #themes .lm26-themes-bottom {
  margin:30px auto 0!important;
}
body.lm26 #themes .lm26-themes-bottom a.lm26-view-themes-cta{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:11px;
  min-height:46px;
  padding:13px 26px!important;
  border:2px solid #fff;
  border-radius:999px;
  background:#fff!important;
  color:#f12484!important;
  font:1000 14px/1 'Nunito',sans-serif!important;
  text-decoration:none!important;
  box-shadow:0 5px 0 #b9145c!important;
  transition:transform .2s ease;
}
body.lm26 #themes .lm26-themes-bottom a.lm26-view-themes-cta:hover{
  transform:translateY(-2px);
}

/* Keep a balanced composition on smaller laptops. */
@media(min-width:761px) and (max-width:1160px){
  body.lm26 #themes .lm26-wrap{
    width:min(100% - 42px,1020px)!important;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
    gap:16px!important;
  }
  body.lm26 #themes .lm26-phone.theme-preview{
    flex-basis:clamp(116px,13.4vw,152px)!important;
    width:clamp(116px,13.4vw,152px)!important;
  }
  body.lm26 #themes .lm26-phone.theme-preview:nth-child(2){
    flex-basis:clamp(122px,14vw,158px)!important;
    width:clamp(122px,14vw,158px)!important;
  }
  body.lm26 #themes .lm26-phones{gap:12px!important}
  body.lm26 #themes .lm26-themes-copy h2{font-size:clamp(35px,4vw,46px)!important}
}
@media(min-width:761px) and (max-width:900px){
  body.lm26 #themes .lm26-wrap{grid-template-columns:1fr!important;gap:20px!important;max-width:700px!important}
  body.lm26 #themes .lm26-themes-copy{text-align:center;max-width:none}
  body.lm26 #themes .lm26-themes-copy p{margin-left:auto!important;margin-right:auto!important}
  body.lm26 #themes .lm26-phones{max-width:590px}
  body.lm26 #themes .lm26-phone.theme-preview{flex-basis:170px!important;width:170px!important}
  body.lm26 #themes .lm26-phone.theme-preview:nth-child(2){flex-basis:178px!important;width:178px!important}
}
/* Mobile — substantial vertical phones instead of cropped, stubby tiles. */
@media(max-width:760px){
  body.lm26 #themes.lm26-themes{
    padding:43px 0 47px!important;
  }
  body.lm26 #themes .lm26-wrap{
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
    width:calc(100% - 30px)!important;
  }
  body.lm26 #themes .lm26-themes-copy{
    max-width:100%;
    text-align:center!important;
  }
  body.lm26 #themes .lm26-themes-copy h2{
    font-size:clamp(35px,9vw,48px)!important;
    max-width:480px;
    margin:15px auto 12px!important;
  }
  body.lm26 #themes .lm26-themes-copy p{
    max-width:370px!important;
    font-size:12px!important;
    line-height:1.48!important;
    margin:0 auto 17px!important;
  }
  body.lm26 #themes .lm26-action{min-height:42px;padding:11px 20px;font-size:12px}
  body.lm26 #themes .lm26-phones{
    width:100%;
    max-width:520px;
    margin:16px auto 0!important;
    padding:17px 0 28px!important;
    gap:clamp(7px,2.6vw,12px)!important;
  }
  body.lm26 #themes .lm26-phone.theme-preview,
  body.lm26 #themes .lm26-phone.theme-preview:nth-child(2){
    flex:0 1 calc((100% - 26px)/3)!important;
    width:calc((100% - 26px)/3)!important;
    max-width:none!important;
    border-width:5px!important;
    border-radius:22px!important;
  }
  body.lm26 #themes .lm26-phone.theme-preview img{border-radius:15px!important}
  body.lm26 #themes .lm26-phone.theme-preview::before{
    top:6px;
    height:10px;
    width:35%;
  }
  body.lm26 #themes .lm26-phone.theme-preview>span{
    font-size:9px!important;
    bottom:-18px;
    padding:6px 9px;
    border-width:1.5px;
  }
  body.lm26 #themes .lm26-themes-bottom{margin-top:26px!important}
}
@media(max-width:355px){
  body.lm26 #themes .lm26-phones{gap:6px!important}
  body.lm26 #themes .lm26-phone.theme-preview,
  body.lm26 #themes .lm26-phone.theme-preview:nth-child(2){
    flex-basis:calc((100% - 16px)/3)!important;
    width:calc((100% - 16px)/3)!important;
  }
  body.lm26 #themes .lm26-phone.theme-preview>span{font-size:8px!important;padding:5px 7px}
}
@media(prefers-reduced-motion:reduce){
  body.lm26 #themes .lm26-phone.theme-preview{transition:none!important}
}