@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600&display=swap");
/* Client galleries, cart and order pages */
#lgp-app { max-width: 1400px; margin: 0 auto; padding: 8px 16px 110px; }
.lgp-h2 { text-align: center; margin: 14px 0 10px; font-size: 28px; line-height: 1.2; }
.lgp-h2 a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.lgp-msg { text-align: center; font-size: 18px; margin: 40px 0; }
.lgp-error { color: #b3261e; font-weight: bold; min-height: 1.4em; margin: 8px 0 0; }
.lgp-early { text-align: center; font-weight: bold; color: #1f6fb2; margin: 0 0 10px; }
.lgp-pass { max-width: 420px; margin: 24px auto 8px; text-align: center; }
.lgp-pass input, .lgp-request input, .lgp-request textarea { width: 100%; box-sizing: border-box; font-size: 18px; padding: 12px 14px; border: 1px solid #bbb; border-radius: 8px; margin: 8px 0; }
.lgp-btn { font-size: 17px; font-weight: bold; padding: 12px 22px; border: 0; border-radius: 4px; background: #111; color: #fff; cursor: pointer; min-height: 48px; }
.lgp-btn.small { font-size: 15px; padding: 8px 16px; min-height: 40px; }
.lgp-btn.dark { background: #111; }
.lgp-btn.ghost { background: #fff; color: #111; border: 2px solid #111; }
.lgp-btn:disabled { opacity: .45; cursor: default; }
a.lgp-btn { display: inline-block; text-decoration: none; text-align: center; }
.lgp-link { background: none; border: 0; color: #1f6fb2; text-decoration: underline; cursor: pointer; font-size: 15px; padding: 8px; }
.lgp-request { max-width: 420px; margin: 18px auto; text-align: center; }
.lgp-request form { text-align: left; }
.lgp-welcome { max-width: 860px; margin: 8px auto 18px; }
.lgp-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; margin: 8px 0 14px; }
.lgp-bar input[type=search] { flex: 0 1 280px; font-size: 16px; padding: 10px 12px; border: 1px solid #bbb; border-radius: 4px; }
.lgp-count { color: #666; font-size: 14px; margin: 4px 0 8px; }
.lgp-noscroll { overflow: hidden; }

/* team folders */
.lgp-folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 10px 0 18px; }
.lgp-folder { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; min-width: 0; gap: 6px; padding: 14px 16px; border: 1px solid #d5d9de; border-radius: 8px; background: #fff; color: #111; text-decoration: none; font-weight: 600; }
.lgp-folder:hover { border-color: #111; background: #f6f7f8; }
.lgp-folder > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.35; min-height: 2.7em; max-height: 2.7em; }
.lgp-folder small { display: block; font-size: 13px; line-height: 1.4; color: #777; font-weight: 400; white-space: nowrap; }

/* justified photo rows */
.lgp-jgrid { width: 100%; }
.lgp-jrow { display: flex; gap: 6px; margin-bottom: 6px; }
.lgp-jcell { display: block; height: 100%; overflow: hidden; background: #e9e4dc; border-radius: 3px; flex: 0 0 auto; }
.lgp-jcell img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-touch-callout: none; user-select: none; }
.lgp-notice { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff8e1; border: 1px solid #f0d98a; border-radius: 8px; padding: 10px 14px; margin: 8px 0; }

/* viewer: photo left, products right, tray at the bottom */
.lgp-viewer { position: fixed; inset: 0; z-index: 2147483000; background: #fff; display: none; grid-template-columns: minmax(0, 1.25fr) minmax(330px, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: 100vh; height: 100dvh; overflow: hidden; }
.lgp-viewer.on { display: grid; }
.lgp-vx { position: absolute; top: 10px; right: 12px; z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lgp-vleft { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; background: #fff; }
.lgp-vstage { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; padding: 14px 54px; }
.lgp-vimg { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; transition: opacity .15s; -webkit-touch-callout: none; user-select: none; }
.lgp-vcount { margin-top: 8px; color: #555; font-size: 15px; }
.lgp-vp, .lgp-vn { position: absolute; top: 45%; width: 44px; height: 54px; border: 0; background: none; color: #222; font-size: 44px; line-height: 1; cursor: pointer; z-index: 3; }
.lgp-vp { left: 2px; } .lgp-vn { right: 2px; }
.lgp-vpanel { min-height: 0; overflow-y: auto; padding: 56px 18px 18px; border-left: 1px solid #e3e3e3; background: #fff; -webkit-overflow-scrolling: touch; }
.lgp-pmsg { font-size: 14px; color: #222; margin: 0 0 14px; }
.lgp-pmsg ul { padding-left: 20px; margin: 8px 0; }
.lgp-gh { background: #111; color: #fff; font-weight: 600; padding: 10px 14px; margin: 14px 0 0; }
.lgp-prow { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid #e1e1e1; padding: 14px; font: inherit; cursor: pointer; min-height: 52px; }
.lgp-prow:hover { background: #f5f5f5; }
.lgp-prr { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.lgp-prr i { font-style: normal; font-size: 22px; color: #666; }
.lgp-back { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 8px 14px; cursor: pointer; margin: 4px 0 14px; font: inherit; font-size: 14px; color: #333; }
.lgp-pthumb { display: block; max-width: 150px; max-height: 190px; margin: 6px auto; border: 1px solid #ddd; }
.lgp-pt { text-align: center; font-size: 24px; margin: 8px 0 4px; line-height: 1.2; }
.lgp-pp { text-align: center; font-size: 26px; margin: 4px 0 12px; }
.lgp-pd { text-align: center; color: #555; font-size: 14px; }
.lgp-inc { font-size: 15px; margin: 10px 0 14px; }
.lgp-incrow { display: grid; grid-template-columns: 34px 1fr; padding: 2px 0 2px 10px; }
.lgp-qty { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 12px 0; }
.lgp-qty button { width: 40px; height: 40px; border: 1px solid #bbb; background: #f4f4f4; font-size: 22px; cursor: pointer; border-radius: 4px; }
.lgp-qn { min-width: 44px; text-align: center; font-weight: bold; font-size: 18px; }
.lgp-addbtn { display: block; width: 100%; }
.lgp-opt { display: block; margin: 10px 0; font-size: 14px; }
.lgp-opt span { display: block; font-weight: bold; margin-bottom: 3px; }
.lgp-opt input { width: 100%; box-sizing: border-box; font-size: 16px; padding: 9px 10px; border: 1px solid #bbb; border-radius: 4px; }
.lgp-opt input[type="checkbox"] { width: 22px; height: 22px; padding: 0; }
.lgp-opt small { display: block; color: #666; }
.lgp-green { background: #4caf50; color: #fff; padding: 14px 16px; border-radius: 4px; margin: 0 0 14px; }
.lgp-green p { margin: 0 0 10px; }

.lgp-tray { grid-column: 1 / -1; display: none; background: #f2f7fb; border-top: 2px solid #1f6fb2; padding: 6px 12px calc(8px + env(safe-area-inset-bottom)); box-sizing: border-box; min-height: 0; max-height: 34vh; max-height: 34dvh; overflow-y: auto; }
.lgp-tray.on { display: block; }
.lgp-tabs a { display: inline-block; margin: 0 8px 4px 0; padding: 6px 12px; background: #fff; border: 1px solid #b7cfe3; border-radius: 4px 4px 0 0; color: #1f6fb2; text-decoration: none; font-size: 14px; }
.lgp-tt { font-size: 14px; color: #1f6fb2; margin: 2px 0 4px; }
.lgp-slots { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.lgp-slot { flex: 0 0 auto; width: 92px; background: #888; color: #fff; border: 2px solid #888; border-radius: 4px; padding: 4px; cursor: pointer; text-align: center; }
.lgp-slot.filled { background: #fff; border-color: #1f6fb2; color: #333; }
.lgp-slot img { width: 100%; height: 62px; object-fit: contain; display: block; }
.lgp-plus { display: flex; align-items: center; justify-content: center; height: 62px; font-size: 34px; }
.lgp-sn { display: block; font-size: 11px; line-height: 1.15; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgp-tdone { font-size: 13px; color: #2e7d32; margin-top: 4px; }

@media (max-width: 820px) {
  .lgp-viewer { grid-template-columns: 1fr; grid-template-rows: 42vh minmax(0, 1fr) auto; grid-template-rows: 42dvh minmax(0, 1fr) auto; }
  .lgp-vimg { max-height: calc(42vh - 56px); max-height: calc(42dvh - 56px); }
  .lgp-vstage { padding: 10px 44px; }
  .lgp-vpanel { border-left: 0; border-top: 1px solid #e3e3e3; padding-top: 14px; }
  .lgp-tray { max-height: 30vh; max-height: 30dvh; }
}

/* cart */
.lgp-cartbtn { position: fixed; left: 14px; bottom: 14px; z-index: 2147482000; display: none; align-items: center; gap: 8px; background: #111; color: #fff; border: 0; border-radius: 28px; padding: 0 18px 0 8px; height: 52px; font-size: 16px; font-weight: bold; box-shadow: 0 6px 18px rgba(0,0,0,.25); cursor: pointer; }
.lgp-cartbtn.has { display: flex; }
.lgp-cn { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #111; }
.lgp-cart { display: none; background: #fff; padding: 14px 16px calc(24px + env(safe-area-inset-bottom)); }
.lgp-cart.on { display: block; }
.lgp-cart-column { max-width: 680px; margin: 0 auto; }
.lgp-cart-open #lgp-app, .lgp-cart-open .lgp-cartbtn { display: none; }
.lgp-linfo > .lgp-link { padding-left: 0; }
.lgp-ch { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 22px; }
.lgp-line { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid #e3e3e3; padding: 12px 0; }
.lgp-line.inc { background: #fff8f7; }
.lgp-lthumbs { display: flex; gap: 3px; flex: 0 0 auto; max-width: 120px; flex-wrap: wrap; }
.lgp-lthumbs img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; }
.lgp-linfo { flex: 1 1 auto; min-width: 0; }
.lgp-lt { font-weight: bold; }
.lgp-linfo small { color: #555; word-break: break-word; display: block; }
.lgp-bt { font-weight: bold; margin: 8px 0 4px; }
.lgp-prov { display: block; margin: 14px auto; font-size: 14px; }
.lgp-ship { margin: 14px auto; font-size: 14px; }
.lgp-ship-t { display: block; font-weight: bold; margin-bottom: 4px; }
.lgp-ship-o { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; cursor: pointer; }
.lgp-ship-o input { width: 20px; height: 20px; margin: 0; flex: none; }
.lgp-prov span { display: block; font-weight: bold; margin-bottom: 4px; }
.lgp-prov select { width: 100%; font-size: 17px; padding: 10px; border-radius: 4px; border: 1px solid #bbb; }
.lgp-cart textarea { width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px; border: 1px solid #bbb; border-radius: 4px; margin: 6px auto; }
.lgp-totals { margin: 12px auto; }
.lgp-tr { display: flex; justify-content: space-between; padding: 4px 0; font-size: 16px; }
.lgp-tr.strong { font-size: 22px; font-weight: bold; border-top: 2px solid #333; margin-top: 6px; padding-top: 8px; }
.lgp-pay { width: 100%; max-width: 680px; }

/* order page */
.lgp-h3 { text-align: center; margin: 22px 0 6px; font-size: 21px; }
.lgp-help { text-align: center; color: #555; max-width: 640px; margin: 6px auto 14px; }
.lgp-dls { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.lgp-dl { border: 1px solid #ddd; border-radius: 10px; padding: 10px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.lgp-dl img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; background: #e9e4dc; }
.lgp-dn { font-size: 14px; color: #444; word-break: break-word; }
.lgp-nextstep { display: block; max-width: 640px; margin: 10px auto 16px; background: #fff8e1; border: 1px solid #f0d98a; border-left: 5px solid #e0a800; border-radius: 10px; padding: 14px 18px; text-align: center; }
.lgp-nextstep strong { display: block; font-style: normal; font-size: 18px; color: #111; }
#lgp-app .lgp-nextstep p { margin: 6px 0 0; padding: 0; color: #333; font-size: 16px; line-height: 1.45; }
.lgp-dls.waiting { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 8px; }
.lgp-dls.waiting .lgp-dl { width: 200px; max-width: 100%; box-sizing: border-box; background: #fafafa; }
.lgp-ph { aspect-ratio: 1/1; border-radius: 8px; background: #e9e4dc; color: #6b5d45; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 15px; }

.lgp-page-title { text-align: center; padding: 4px 16px; }
.lgp-page-title h1 { font-size: 28px; line-height: 1.2; }
.lgp-finder-link { text-align: center; font-size: 14px; margin: 16px auto; }
/* Keep cart text full-width on phones, with separate photo and removal rows. */
.lgp-linfo, .lgp-linfo small { word-break: normal; overflow-wrap: normal; hyphens: none; }
@media (max-width: 700px) {
  .lgp-line { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lgp-linfo { grid-row: 1; }
  .lgp-lthumbs { grid-row: 2; max-width: 100%; }
  .lgp-line > .lgp-link { grid-row: 3; justify-self: end; }
}
/* Chat has a separate bottom strip; cart buttons scroll above it. */
body.lgp-cart-open { overflow: hidden; }
.lgp-cart.on { box-sizing: border-box; height: calc(100dvh - var(--lgp-header-height) - 80px - env(safe-area-inset-bottom)); overflow-y: auto; padding-bottom: 40px; overscroll-behavior: contain; }
body.lgp-cart-open #lgp-btn, body.lgp-viewer-open #lgp-btn { right: 12px !important; bottom: calc(10px + env(safe-area-inset-bottom)) !important; }
body.lgp-cart-open #lgp-status, body.lgp-viewer-open #lgp-status { display: none !important; }
/* Reserve the chat corner inside the viewer's bottom tray, including an empty cart. */
.lgp-viewer .lgp-tray { display: block; min-height: calc(80px + env(safe-area-inset-bottom)); padding-right: 84px; }
.lgp-cart.on { position: fixed; top: var(--lgp-header-height); left: 0; right: 0; z-index: 800; }
/* Keep the empty slots fully usable even in a short phone window. */
.lgp-tray { max-height: 40vh; max-height: 40dvh; }
.lgp-tabs { display: flex; gap: 6px; }
.lgp-tabs a { margin-right: 0; white-space: nowrap; }
@media (max-width: 820px) {
  .lgp-tray { max-height: 40vh; max-height: 40dvh; }
  .lgp-tabs a { font-size: 12px; padding: 6px 8px; }
  .lgp-tt { font-size: 12px; line-height: 1.25; }
}

/* Keep every package on the same scrollable tray row. */
.lgp-tray.on { display:flex; flex-wrap:nowrap; align-items:flex-start; gap:12px; overflow-x:auto; }
.lgp-tray .lgp-tabs { flex:0 0 auto; }
.lgp-tray .lgp-trow { flex:0 0 auto; }
.lgp-tray .lgp-slots { overflow:visible; flex-wrap:nowrap; }
.lgp-tray .lgp-tdone { flex:0 0 auto; }

.lgp-lthumbs { max-width:300px; gap:12px; }
@media(max-width:700px){.lgp-lthumbs { max-width:100%; }}
/* Thank-you page: next steps for prepaid teams, and other services. */
.lgp-next { max-width: 560px; margin: 6px auto 8px; padding-left: 22px; font-size: 16px; line-height: 1.5; }
.lgp-next li { margin: 6px 0; }
.lgp-promo { max-width: 560px; margin: 30px auto 90px; padding: 18px 16px; border: 1px solid #ddd; border-radius: 8px; text-align: center; background: #fff; }
.lgp-promo h3 { margin: 0 0 6px; font-size: 20px; }
.lgp-promo p { margin: 0 0 12px; color: #444; }
.lgp-promo-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lgp-promo-links a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
/* Gallery codes remembered on this device */
.lgp-codes { max-width: 420px; margin: 14px auto 4px; text-align: center; }
.lgp-codes-label { font-size: 13px; color: #666; margin: 0 0 8px; }
.lgp-code { display: inline-flex; align-items: center; margin: 0 4px 8px; border: 1px solid #bbb; border-radius: 999px; background: #fff; max-width: 100%; }
.lgp-code-use { border: 0; background: none; padding: 9px 4px 9px 16px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; color: #111; overflow-wrap: anywhere; text-align: left; }
.lgp-code-x { border: 0; background: none; padding: 9px 14px 9px 8px; font-size: 18px; line-height: 1; color: #888; cursor: pointer; }
.lgp-code-use:hover, .lgp-code-x:hover { color: #e91e63; }
.lgp-codes-host { position: relative; }
.lgp-codes-menu { position: absolute; z-index: 50; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #bbb; border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.12); text-align: left; box-sizing: border-box; }
.lgp-codes-menu li { padding: 12px 14px; font-size: 17px; cursor: pointer; overflow-wrap: anywhere; }
.lgp-codes-menu li:hover, .lgp-codes-menu li.on { background: #f3f3f3; }
/* Background choice: small picture tiles, one per offered background. */
.lgp-bgrow { margin: 10px 0; font-size: 14px; }
.lgp-bgl { display: block; font-weight: bold; margin-bottom: 4px; }
.lgp-bgs { display: flex; flex-wrap: wrap; gap: 8px; }
.lgp-bg { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 76px; padding: 4px; border: 2px solid #ccc; border-radius: 6px; background: #fff; color: #222; font: inherit; font-size: 12px; line-height: 1.2; cursor: pointer; text-align: center; }
.lgp-bg img, .lgp-bg-none { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: #e6e6e6; }
.lgp-bg.kid img { width: 64px; height: 96px; object-fit: cover; }
.lgp-bgprev { display: block; width: 200px; max-width: 70%; aspect-ratio: 2 / 3; object-fit: cover; margin: 8px auto 2px; border-radius: 6px; background: #e6e6e6; }
.lgp-bgprev[hidden], .lgp-bgprevnote[hidden] { display: none; }
.lgp-bgprevnote { margin: 0 0 8px; font-size: 12px; text-align: center; color: #666; }
.lgp-bg.on { border-color: #1f6fb2; box-shadow: 0 0 0 2px #1f6fb2; font-weight: bold; }
.lgp-bg:focus-visible { outline: 3px solid #1f6fb2; outline-offset: 2px; }
.lgp-bgintro { max-width: 860px; margin: 8px auto 18px; }
.lgp-bgintro h3 { margin: 0 0 4px; }
.lgp-bgintro p { margin: 0 0 8px; }
.lgp-bgsamples { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.lgp-bgsample { display: block; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: zoom-in; text-align: center; }
.lgp-bgsample:focus-visible { outline: 3px solid #1f6fb2; outline-offset: 2px; border-radius: 6px; }
.lgp-bgsample span { display: block; font-size: 14px; margin-top: 4px; }
.lgp-bgsamples img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: #e6e6e6; }
.lgp-bgsamples figcaption { text-align: center; font-size: 14px; margin-top: 4px; }
.lgp-bgnote { font-size: 13px; color: #555; }

.lgp-zoom { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,0.88); padding: 16px; }
.lgp-zoom img { display: block; max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; border-radius: 4px; background: #222; }
.lgp-zoompan { display: flex; justify-content: center; max-width: 100%; max-height: calc(100vh - 90px); }
.lgp-zoompan img { cursor: zoom-in; }
.lgp-zoompan.full { display: block; width: 100%; height: calc(100vh - 90px); overflow: auto; -webkit-overflow-scrolling: touch; }
.lgp-zoompan.full img { max-width: none; max-height: none; cursor: zoom-out; border-radius: 0; }
.lgp-zoomcap { margin: 10px 0 0; color: #fff; font-size: 14px; text-align: center; }
.lgp-zoomx { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lgp-zoomnav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; border-radius: 6px; background: rgba(255,255,255,0.15); color: #fff; font-size: 40px; cursor: pointer; }
.lgp-zoomnav.prev { left: 10px; } .lgp-zoomnav.next { right: 10px; }

/* Verger look: daycare and school galleries (any gallery that offers backgrounds). Same colors and fonts as the
   price sheet: paper, forest ink, apple red for buttons and prices only, moss, stool wood. Sports galleries keep their look. */
body:has(.lgp-bgintro) { --v-paper: #f5f6f1; --v-card: #fff; --v-ink: #1d2a24; --v-muted: #59635c; --v-moss: #3d5a46;
  --v-apple: #c2352d; --v-wood: #b98a4e; --v-line: #dde1d8; --v-display: "Fredoka", "Arial Rounded MT Bold", Poppins, sans-serif;
  background: var(--v-paper); }
body:has(.lgp-bgintro) #lgp-app, body:has(.lgp-bgintro) .lgp-viewer, body:has(.lgp-bgintro) .lgp-cart { font-family: Poppins, Arial, sans-serif; color: var(--v-ink); }
html:has(.lgp-bgintro), body:has(.lgp-bgintro) #main_container { background: #f5f6f1; }
body:has(.lgp-bgintro) .lgp-h2, body:has(.lgp-bgintro) .lgp-bgintro h3, body:has(.lgp-bgintro) .lgp-ch, body:has(.lgp-bgintro) .lgp-pt { font-family: var(--v-display); font-weight: 600; color: var(--v-ink); letter-spacing: .005em; }
body:has(.lgp-bgintro) .lgp-h2 { font-size: 40px; margin-top: 22px; }
/* The bunting from the set, above the gallery name. */
body:has(.lgp-bgintro) .lgp-h2::before { content: ""; display: block; width: 180px; height: 18px; margin: 0 auto 14px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2290%22%20height%3D%2218%22%3E%3Cpath%20d%3D%22M2%200h24L14%2018z%22%20fill%3D%22%23c2352d%22%2F%3E%3Cpath%20d%3D%22M32%200h24L44%2018z%22%20fill%3D%22%23b98a4e%22%2F%3E%3Cpath%20d%3D%22M62%200h24L74%2018z%22%20fill%3D%22%233d5a46%22%2F%3E%3C%2Fsvg%3E") 0 0 / 90px 18px repeat-x; }
body:has(.lgp-bgintro) .lgp-bgintro { background: var(--v-card); border: 1px solid var(--v-line); border-radius: 20px; padding: 22px 24px; }
body:has(.lgp-bgintro) .lgp-bgintro h3 { font-size: 26px; margin-bottom: 6px; }
body:has(.lgp-bgintro) .lgp-bgintro p, body:has(.lgp-bgintro) .lgp-bgnote, body:has(.lgp-bgintro) .lgp-count { color: var(--v-muted); }
body:has(.lgp-bgintro) .lgp-bgsamples img { border-radius: 14px; }
body:has(.lgp-bgintro) .lgp-bgsample span { font-weight: 500; }
body:has(.lgp-bgintro) .lgp-jcell { border-radius: 10px; background: #e4e7df; }
body:has(.lgp-bgintro) .lgp-jrow { gap: 8px; margin-bottom: 8px; }
body:has(.lgp-bgintro) .lgp-bar input[type=search] { border: 1px solid var(--v-line); border-radius: 999px; padding: 11px 18px; background: var(--v-card); }
body:has(.lgp-bgintro) .lgp-btn, body:has(.lgp-bgintro) .lgp-btn.dark { background: var(--v-apple); color: #fff; border-radius: 999px; font-weight: 600; }
body:has(.lgp-bgintro) .lgp-btn.ghost { background: transparent; color: var(--v-ink); border: 2px solid var(--v-line); }
body:has(.lgp-bgintro) .lgp-link { color: var(--v-moss); }
body:has(.lgp-bgintro) .lgp-cartbtn { background: var(--v-apple); }
body:has(.lgp-bgintro) .lgp-cn { color: var(--v-apple); }
/* Viewer: products on the right */
body:has(.lgp-bgintro) .lgp-vleft { background: var(--v-paper); }
body:has(.lgp-bgintro) .lgp-vpanel { border-left-color: var(--v-line); }
body:has(.lgp-bgintro) .lgp-gh { background: var(--v-paper); color: var(--v-moss); border: 1px solid var(--v-line); border-radius: 12px 12px 0 0; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
body:has(.lgp-bgintro) .lgp-prow { border-left: 1px solid var(--v-line); border-right: 1px solid var(--v-line); border-bottom-color: var(--v-line); }
body:has(.lgp-bgintro) .lgp-prow:hover { background: #f8f9f5; }
body:has(.lgp-bgintro) .lgp-prr > :first-child, body:has(.lgp-bgintro) .lgp-pp { color: var(--v-apple); font-weight: 600; font-variant-numeric: tabular-nums; }
body:has(.lgp-bgintro) .lgp-green { background: var(--v-moss); border-radius: 12px; }
body:has(.lgp-bgintro) .lgp-tray { background: var(--v-paper); border-top-color: var(--v-wood); }
body:has(.lgp-bgintro) .lgp-tt, body:has(.lgp-bgintro) .lgp-tabs a { color: var(--v-moss); }
body:has(.lgp-bgintro) .lgp-tabs a { border-color: var(--v-line); }
body:has(.lgp-bgintro) .lgp-slot.filled { border-color: var(--v-apple); }
body:has(.lgp-bgintro) .lgp-bg { border-radius: 12px; border-color: var(--v-line); }
body:has(.lgp-bgintro) .lgp-bg.on { border-color: var(--v-apple); box-shadow: 0 0 0 2px var(--v-apple); }
body:has(.lgp-bgintro) .lgp-tr.strong { border-top-color: var(--v-ink); }
/* Verger: the background card spans the same width as the photos and search bar, and a short last row of photos sits centered. */
body:has(.lgp-bgintro) .lgp-bgintro { max-width: none; }
body:has(.lgp-bgintro) .lgp-jrow:last-of-type { justify-content: center; }
body:has(.lgp-bgintro) .lgp-bgsamples { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
/* Background pop-up: asked when a photo goes in the cart. Two columns on a phone. */
.lgp-bgpop { position: fixed; inset: 0; z-index: 2147483600; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); padding: 12px; }
.lgp-bgpop-card { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; background: #fff; border-radius: 16px; padding: 18px; box-sizing: border-box; }
.lgp-bgpop-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eee; color: #222; font-size: 28px; line-height: 1; cursor: pointer; }
.lgp-bgpop-top { display: flex; gap: 14px; align-items: center; margin: 0 44px 14px 0; }
.lgp-bgpop-top img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.lgp-bgpop-top h3 { margin: 0 0 4px; font-size: 22px; }
.lgp-bgpop-top p { margin: 0; font-size: 14px; color: #555; }
.lgp-bgpop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.lgp-bgpop-bg { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; border: 2px solid #ddd; border-radius: 12px; background: #fff; color: #222; font: inherit; font-size: 15px; cursor: pointer; }
.lgp-bgpop-bg img, .lgp-bgpop-bg .lgp-bg-none { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.lgp-bgpop-bg:hover, .lgp-bgpop-bg:focus-visible { border-color: #888; }
.lgp-bgpop-bg.on { border-color: #1f6fb2; box-shadow: 0 0 0 2px #1f6fb2; font-weight: bold; }
@media (max-width: 420px) { .lgp-bgpop-grid { grid-template-columns: repeat(2, 1fr); } .lgp-bgpop-card { padding: 14px; } }
/* Cart: each photo with its background beside it. */
.lgp-pbg { display: flex; align-items: center; gap: 6px; }
.lgp-pbg-plus { font-size: 18px; color: #888; }
.lgp-pbg-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 92px; padding: 6px; border: 1px solid #ccc; border-radius: 10px; background: #fff; color: #222; font: inherit; font-size: 13px; line-height: 1.2; text-align: center; cursor: pointer; }
.lgp-pbg-chip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.lgp-pbg-chip span { display: flex; flex-direction: column; }
.lgp-pbg-chip small { color: #666; }
.lgp-pbg-chip u { color: #1f6fb2; font-size: 12px; }
.lgp-pbg-chip.none { border-color: #c2352d; color: #c2352d; }
.lgp-lthumbs:has(.lgp-pbg) { max-width: 260px; flex-direction: column; flex-wrap: nowrap; }
.lgp-ask-yes { font-weight: bold; color: #c2352d; }
.lgp-ask .lgp-link + .lgp-link { margin-left: 12px; }
@media (max-width: 700px) { .lgp-line > .lgp-ask { grid-row: 3; justify-self: end; } .lgp-lthumbs:has(.lgp-pbg) { max-width: 100%; flex-direction: row; flex-wrap: wrap; } }
body:has(.lgp-bgintro) .lgp-bgpop-card, body:has(.lgp-bgintro) .lgp-bgpop-bg, body:has(.lgp-bgintro) .lgp-pbg-chip { font-family: Poppins, Arial, sans-serif; }
body:has(.lgp-bgintro) .lgp-bgpop-top h3 { font-family: var(--v-display); font-weight: 600; color: var(--v-ink); }
body:has(.lgp-bgintro) .lgp-bgpop-bg.on { border-color: var(--v-apple); box-shadow: 0 0 0 2px var(--v-apple); }
body:has(.lgp-bgintro) .lgp-pbg-chip { border-color: var(--v-line); border-radius: 12px; }
body:has(.lgp-bgintro) .lgp-pbg-chip u { color: var(--v-moss); }
/* Cart item: name, price and Retirer on top; the photos (with their background) in a tidy grid below. */
.lgp-line, .lgp-line.inc { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "info del" "thumbs thumbs"; gap: 10px 14px; align-items: start; }
.lgp-line > .lgp-linfo { grid-area: info; }
.lgp-line > .lgp-lthumbs { grid-area: thumbs; max-width: none; }
.lgp-line > .lgp-link, .lgp-line > .lgp-ask { grid-area: del; justify-self: end; }
.lgp-line > .lgp-lthumbs:has(.lgp-pbg) { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; max-width: none; }
.lgp-pbg { justify-content: flex-start; padding: 8px; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; }
.lgp-pbg .lgp-print-preview { width: 92px !important; }
@media (max-width: 700px) { .lgp-line > .lgp-lthumbs:has(.lgp-pbg) { grid-template-columns: 1fr; } }
.lgp-provline { margin: 14px 0; font-size: 15px; }
.lgp-provline .lgp-link { padding: 0; margin-left: 4px; }
body:has(.lgp-bgintro) .lgp-pbg { border-color: var(--v-line); }
/* Package tray: clear title, count and hint; each chosen photo shows its background and a small × to remove it. */
.lgp-tt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.lgp-tt .lgp-tcount { font-size: 13px; padding: 1px 8px; border-radius: 999px; background: rgba(0,0,0,.06); }
.lgp-tt small { flex-basis: 100%; font-size: 12px; opacity: .8; }
.lgp-slot { position: relative; }
.lgp-slot.filled { min-width: 96px; }
.lgp-sx { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; line-height: 18px; border-radius: 50%; background: #333; color: #fff; font-size: 14px; text-align: center; }
.lgp-sbg { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 3px; font-size: 11px; line-height: 1.1; white-space: nowrap; }
.lgp-sbg img { width: 16px !important; height: 16px !important; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.lgp-sbg span { overflow: hidden; text-overflow: ellipsis; }
.lgp-tray .lgp-slots { padding-top: 8px; padding-right: 8px; }
/* Phone: the cart buttons get their own line so the package title and tip are not cut off. */
@media (max-width: 700px) {
  .lgp-tray.on { flex-wrap: wrap; row-gap: 6px; }
  .lgp-tray .lgp-tabs { flex-basis: 100%; }
  .lgp-tray .lgp-trow { max-width: 100%; }
  .lgp-tray .lgp-slots { overflow-x: auto; }
}
