/* Birthday-specific composition. Common typography, controls and shell remain canonical. */
#root.mm-system .mm-product-r8 .r8-light-band .p-section-head{display:block!important;margin:0!important}
#root.mm-system .mm-product-r8 .r8-light-band h3{font:400 30px/1.15 var(--mm-display);margin:0 0 12px}
#root.mm-system .mm-product-r8 .r8-light-band .p-section-head>p{font-size:14px;line-height:1.65;max-width:760px;margin:0!important;text-align:left;justify-self:start}
#root.mm-system .mm-product-r8 .r8-light-band>.container{grid-template-columns:minmax(0,1fr) auto;gap:40px}
#root.mm-system .mm-product-r8 .r7-booking .summary-card{justify-content:flex-start}
#root.mm-system .mm-product-r8 .r7-booking .form-panel{
 container:birthday-form / inline-size
}
#root.mm-system .mm-product-r8 .r8-format-choices :is(strong,span){
 min-width:0;overflow-wrap:anywhere
}
/* Fit the choices to the form's inner width, including when the summary is beside it. */
@container birthday-form (width < 540px){
 #root.mm-system .mm-product-r8 .r8-format-choices{
  grid-template-columns:minmax(0,1fr);gap:10px
 }
 #root.mm-system .mm-product-r8 .r8-format-choices button{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,90px);
  gap:12px;align-items:center
 }
 #root.mm-system .mm-product-r8 .r8-format-choices strong{
  min-height:0;max-width:none;margin:0
 }
}
@container birthday-form (width < 280px){
 #root.mm-system .mm-product-r8 .r8-format-choices button{
  grid-template-columns:minmax(0,1fr);gap:4px
 }
 #root.mm-system .mm-product-r8 .r8-format-choices span{max-width:none}
}
#root.mm-system .mm-product-r8 .summary-card .price{margin:24px 0 20px}
#root.mm-system .mm-product-r8 .summary-card [data-fp-birthday-summary]{margin:0 0 16px}
#root.mm-system .mm-product-r8 .summary-card .fp-guest-warning:empty{display:none}
#root.mm-system .mm-product-r8 .summary-card .button{margin:0 0 20px}
#root.mm-system .mm-product-r8 .r8-extras .p-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:end}
#root.mm-system .mm-product-r8 .r8-extras .p-section-head h3{min-height:0;margin:0;font:400 30px/1.15 var(--mm-display)}
#root.mm-system .mm-product-r8 .r8-extras .p-section-head p{margin:0;justify-self:end;max-width:400px}
#root.mm-system .mm-product-r8 #moments{background:var(--mm-paper)}
#root.mm-system .mm-product-r8 .r7-space-grid article>div{display:flex;flex-direction:column;flex:1}
#root.mm-system .mm-product-r8 .r7-space-grid article>div>.home-link{margin-top:auto;padding-top:20px}
#root.mm-system .mm-product-r8 .r8-gallery .r7-photo{aspect-ratio:1;height:auto}
#root.mm-system .mm-product-r8 .r8-extras .fp-editorial-list article p{margin-top:14px}
#root.mm-system .mm-product-r8 .r8-disclosure .download-row a{color:var(--mm-link)!important;font:400 14px/1.65 var(--mm-font);text-decoration:none}
#root.mm-system .mm-product-r8 .r8-disclosure .download-row a:hover{text-decoration:underline}
@media(max-width:959px){
 #root.mm-system .mm-product-r8 .r8-light-band>.container{grid-template-columns:minmax(0,1fr);gap:24px}
 #root.mm-system .mm-product-r8 .r8-light-band .home-button{justify-self:start}
}
@media(max-width:759px){
 #root.mm-system .mm-product-r8 .r7-package-head{height:auto;min-height:0;padding-bottom:24px}
 #root.mm-system .mm-product-r8 .r7-package-head h3{min-height:0}
 #root.mm-system .mm-product-r8 .r8-extras .p-section-head{grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
 #root.mm-system .mm-product-r8 .r8-extras .p-section-head p{justify-self:start;grid-column:1}
 #root.mm-system .mm-product-r8 .r8-light-band h3{font-size:28px}
 #root.mm-system .mm-product-r8 .r8-extras .fp-editorial-list article p{margin-top:0}
 #root.mm-system .mm-product-r8 .r7-space-grid h3{min-height:0}
 #root.mm-system .mm-product-r8 #birthday-included .r7-inclusions>div:last-child{
  display:grid;grid-column:1/-1;grid-template-columns:42px minmax(0,1fr);
  column-gap:14px;row-gap:4px;align-items:center;
  padding-top:18px;border-top:1px solid var(--mm-line,#ded4c2)
 }
 #root.mm-system .mm-product-r8 #birthday-included .r7-inclusions>div:last-child .r7-object{
  grid-row:1/3;margin:0
 }
 #root.mm-system .mm-product-r8 #birthday-included .r7-inclusions>div:last-child h3{margin:0}
}
@media(max-width:479px){
 #root.mm-system .mm-product-r8 #photo-stories>.r7-photo:last-child:nth-child(odd){
  grid-column:1/-1;aspect-ratio:3/2
 }
}
