/* Calendar layouts from the supplied PSDs and Kaja reference. */
.premium .cal-stage.template-bibi{aspect-ratio:2480/3602;background:var(--bibi-bg,#faf8e7)}
.premium .cal-stage.template-bibi .cal-photo-window{left:var(--bibi-x);top:var(--bibi-y);width:var(--bibi-w);height:var(--bibi-h)}
.premium .cal-stage.template-bibi .cal-month-copy{top:64%;bottom:2%;left:3%;width:94%}
.premium .cal-stage.template-bibi .cal-month-copy h3{font-family:Georgia,'Times New Roman',serif;font-weight:700;text-transform:uppercase;justify-content:center;color:#5185af;font-size:4.3cqw}
.premium .cal-stage.template-bibi .cal-month-copy h3 span{position:absolute;right:1%;color:#55616c}
.premium .cal-stage.template-bibi .cal-date-grid{color:#5185af}
.premium .cal-stage.template-bibi .cal-date-grid>.is-sunday{color:#bb1678}
.premium .cal-stage.template-bibi .cal-cover-copy{top:72%}
.premium .cal-stage.template-kaja .cal-month-copy{top:60.24%;bottom:4%;left:0;width:100%}
.premium .cal-stage.template-kaja .cal-month-copy h3{background:#999;margin:0;height:5.6cqw;align-items:center;justify-content:center;font-family:Georgia,'Times New Roman',serif;font-weight:700;font-size:3.8cqw;text-transform:uppercase;color:#252525;padding:0 5%}
.premium .cal-stage.template-kaja .cal-month-copy h3 span{position:absolute;right:5%;color:white;font:700 2.8cqw Arial,sans-serif}
.premium .cal-stage.template-kaja .cal-date-grid{grid-template-rows:.7fr repeat(var(--cal-weeks,6),minmax(0,1fr));font-family:Roboto,Arial,sans-serif;color:#151515}
.premium .cal-stage.template-kaja .cal-date-grid>small{background:#252525;color:white;padding:.7cqw 0;font-size:1.85cqw;font-weight:700;align-self:stretch}
.premium .cal-stage.template-kaja .cal-day-number{font-weight:800;font-size:3.6cqw}
.premium .cal-stage.template-kaja .cal-date-grid .cal-day-caption{font-weight:600;color:#303030}
.premium .cal-stage.template-kaja .cal-date-grid .is-sunday,.premium .cal-stage.template-kaja .is-sunday .cal-day-caption{color:#d51a84}
/* Avoid subpixel seams at the edge of a clipped transformed background in Chromium. */
body.fkm-homepage-final .hero-main-card,body.fkm-homepage-final .side-card{isolation:isolate;outline:0;border:0}
body.fkm-homepage-final .hero-main-card::before,body.fkm-homepage-final .side-card::before{inset:-2px;border-radius:inherit;backface-visibility:hidden;transform:translateZ(0)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){body.fkm-homepage-final .hero-main-card:hover::before,body.fkm-homepage-final .side-card:hover::before{transform:translateZ(0) scale(1.035)}}

.premium .cal-stage.template-nelly.portrait-photo:not(:has(.cal-user-photo[style*="object-fit:cover"])) .cal-photo-window,.premium .cal-stage.template-kaja.portrait-photo:not(:has(.cal-user-photo[style*="object-fit:cover"])) .cal-photo-window{left:26%;top:7%;width:48%;height:52%;border-radius:2px}
.premium .cal-stage.template-nelly.portrait-photo,.premium .cal-stage.template-kaja.portrait-photo{background:#fff}

@font-face{font-family:'Roboto Condensed';src:url('../fonts/RobotoCondensed-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
.premium .cal-stage.template-kaja .cal-day-number,.premium .cal-stage.template-kaja .cal-day-caption{font-family:'Roboto Condensed',Arial,sans-serif;font-weight:700}
.premium .cal-stage.template-bibi .cal-date-grid>small{background:#5485b0;color:#fff;font-family:Georgia,serif;font-size:1.6cqw;padding:.6cqw 0;align-self:stretch}

/* Kaja: reserve a real header row and enough space for the font's ascenders. */
.premium .cal-stage.template-kaja .cal-date-grid{
 grid-template-rows:4.8cqw repeat(var(--cal-weeks,6),minmax(0,1fr));
 row-gap:0;align-items:stretch;
}
.premium .cal-stage.template-kaja .cal-date-grid>small{
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 min-height:4.8cqw;padding:.5cqw .15cqw;margin:0;line-height:1.3;
 font-family:'Roboto Condensed',Arial,sans-serif;font-size:2.3cqw;
 white-space:nowrap;overflow:visible;
}
.premium .cal-stage.template-kaja .cal-date-grid>.cal-day{
 padding-top:.7cqw;box-sizing:border-box;gap:.15cqw;
}
.premium .cal-stage.template-kaja .cal-date-grid .cal-day-number{
 width:4.2cqw;height:4.2cqw;min-height:4.2cqw;font-size:3.3cqw;
 line-height:1.15;overflow:visible;
}
.premium .cal-stage.template-kaja .cal-date-grid[style*="--cal-weeks:6"]>.cal-day{padding-top:.4cqw;gap:.1cqw}
.premium .cal-stage.template-kaja .cal-date-grid[style*="--cal-weeks:6"] .cal-day-number{
 width:3.2cqw;height:3.2cqw;min-height:3.2cqw;font-size:2.7cqw;
}

/* Center weekday labels in both colored strips without asymmetric font padding. */
.premium .cal-stage:is(.template-bibi,.template-kaja) .cal-date-grid{
 grid-template-rows:4.8cqw repeat(var(--cal-weeks,6),minmax(0,1fr));
}
.premium .cal-stage:is(.template-bibi,.template-kaja) .cal-date-grid>small{
 display:grid;place-items:center;align-self:stretch;justify-self:stretch;
 box-sizing:border-box;width:100%;height:100%;min-height:0;
 margin:0;padding:0;text-align:center;line-height:1;white-space:nowrap;
}

/* S113: keep the desktop header centered in the narrow desktop band. */
@media (min-width:1051px) and (max-width:1150px){
 body .shared-header .shared-nav{align-items:center}
 body .shared-header .shared-nav a.shared-active:after{left:0;right:0;width:auto}
}

/* S113: pendrive packaging add-on in the photobook configurator. */
.pendrive-package-options{margin-top:20px;padding:20px;border:1px solid #d9e5f2;border-radius:14px;background:#f8fbff}
.pendrive-package-options>.option-group{margin-top:20px}
.copy-package-settings{width:100%;justify-content:center}
