
#latest-creations { padding-top:26px; padding-bottom:20px; scroll-margin-top:130px; }
#latest-creations .section-wrapper { padding:28px 22px 25px; }
#latest-creations .section-header { margin-bottom:18px; }
#latest-creations .section-header h2 { font-size:2rem; margin-bottom:7px; }
#latest-creations .section-header p { margin-bottom:13px; }
#latest-creations .ba-run-controls { display:flex; justify-content:center; align-items:center; gap:6px; }
#latest-creations .ba-run-controls button { border:1px solid #622d2b20; background:#fffdf8; color:#622d2b; border-radius:999px; min-height:36px; min-width:36px; padding:5px 12px; font:800 13px Nunito,sans-serif; cursor:pointer; }
#latest-creations .ba-run-controls button:first-child,#latest-creations .ba-run-controls button:last-child { font-size:23px; padding:0; }
#latest-creations .ba-run-controls button:hover { border-color:#ec268f; color:#c91e70; }
#latest-creations .ba-run-controls button:focus-visible { outline:3px solid #ec268f; outline-offset:2px; }
#latest-creations .ba-rail { touch-action:pan-y; }
#latest-creations .ba-track { gap:12px; padding:7px 14px 12px; }
#latest-creations .ba-rail .bakers-agent-gallery-card { width:180px; border-radius:14px; user-select:none; }
#latest-creations .ba-card-img { -webkit-user-drag:none; pointer-events:none; }
#latest-creations .ba-rail .ba-card-label { font-size:.75rem; padding:10px 11px; }
.ba-photo-viewer { position:fixed; inset:0; margin:auto; padding:30px 20px 18px; border:0; border-radius:20px; width:min(900px,94vw); max-height:92dvh; background:#fffdf8; color:#622d2b; }
.ba-photo-viewer::backdrop { background:#221613bd; }
.ba-photo-viewer>img { display:block; max-width:100%; max-height:72dvh; margin:auto; object-fit:contain; }
.ba-photo-viewer>button { position:absolute; right:8px; top:6px; border:0; border-radius:50%; width:38px; height:38px; background:#efe9dc; color:#622d2b; font-size:25px; cursor:pointer; }
.ba-photo-viewer>p { font:800 15px/1.5 Nunito,sans-serif; text-align:center; margin:15px 0 0; }
@media(max-width:768px) {
 #latest-creations { padding:20px 16px; scroll-margin-top:105px; }
 #latest-creations .section-wrapper { padding:24px 12px 20px; }
 #latest-creations .section-header h2 { font-size:1.5rem; }
 #latest-creations .section-header p { font-size:1rem; }
 #latest-creations .ba-track { gap:8px; padding:7px 10px 10px; }
 #latest-creations .ba-rail .bakers-agent-gallery-card { width:115px; }
 #latest-creations .ba-rail .ba-card-label { font-size:.62rem; padding:6px 8px; }
}

/* Fit the same strip into existing page sections without nesting another card. */
#latest-creations.ba-latest-contained { padding-left:0; padding-right:0; }
#latest-creations.ba-latest-inset { padding:28px 0; }
#latest-creations.ba-latest-inset > .section-wrapper { margin:0; padding:0; background:transparent; border:0; box-shadow:none; }
