/* Lovely Baby Print – site-specific components layered on the Varkala theme.
   Palette: teal #4b8e8d, peach #ffe7d1, sand #e6cebc, ink #222, muted #868e96. */

.lbp-kicker {
    font-size: .75rem;
    letter-spacing: .5em;
    text-transform: uppercase;
    color: #e6cebc;
    margin-bottom: 1rem;
}

.lbp-section {
    padding: 5rem 0;
}

.lbp-section--wash {
    background: #fff8f2;
}

.lbp-narrow {
    max-width: 44rem;
    margin: 0 auto;
}

.lbp-lead {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
    color: #6c757d;
}

/* A second sentence under a lead (gift pages: the substitute sentence, sketch 48) */
.lbp-lead--alt { font-size: 1rem; margin: -.75rem 0 1.5rem; }

/* How it works: three numbered steps. Scoped to the start page's narrow column: the poster tool's step bar is a
   .lbp-steps of its own (the three-step tool, sketch 61) and must not inherit this grid's gaps and top margin. */
.lbp-narrow .lbp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 2.5rem;
    margin-top: 3.5rem;
    text-align: right;
}

.lbp-step__number {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    color: #4b8e8d;
    margin-bottom: 1.25rem;
}

.lbp-step__title {
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    color: #222;
    margin-bottom: .75rem;
}

.lbp-step__text {
    color: #868e96;
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
}

/* Facts: spec grid with hairlines, no boxes */
.lbp-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3.5rem;
    border-top: 1px solid #ece4dc;
    border-right: 1px solid #ece4dc;
    text-align: right;
}

.lbp-spec {
    padding: 2rem 1.75rem;
    border-left: 1px solid #ece4dc;
    border-bottom: 1px solid #ece4dc;
}

.lbp-spec__label {
    display: block;
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #868e96;
    margin-bottom: .75rem;
}

.lbp-spec__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.2;
    color: #222;
}

.lbp-spec__note {
    display: block;
    font-size: .85rem;
    font-weight: 300;
    color: #868e96;
    margin-top: .5rem;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .lbp-narrow .lbp-steps { grid-template-columns: 1fr; gap: 2.5rem; }
    .lbp-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .lbp-section { padding: 3.5rem 0; }
    .lbp-specs { grid-template-columns: 1fr; }
    .lbp-spec { padding: 1.5rem 1.25rem; }
}


/* Motif pages */
.lbp-crumbs {
    font-size: .8rem;
    color: #868e96;
    margin-bottom: 1.5rem;
}

.lbp-crumbs a { color: #868e96; }

.lbp-motif {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3rem;
    align-items: start;
    text-align: right;
}

.lbp-motif__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.lbp-motif__buy { position: sticky; top: 1rem; }
/* A long compound (German "Muttertagsgeschenk") must not push the page wider than a phone: the heading breaks it (with a hyphen where the language allows). */
.lbp-motif__buy h1 { overflow-wrap: break-word; hyphens: auto; }

.lbp-price { margin: 1.5rem 0; }

.lbp-price__amount {
    font-size: 2rem;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
}

/* #687179: 4.97:1 on white and 4.72:1 on the wash (#fff8f2), WCAG AA for small text; #868e96 was 3.3:1. */
.lbp-price__note, .lbp-motif__hint {
    font-size: .85rem;
    color: #687179;
    font-weight: 300;
}

.lbp-options {
    border-top: 1px solid #ece4dc;
    margin: 0 0 1.5rem;
}

.lbp-options > div {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 1rem;
    padding: .7rem 0;
    border-bottom: 1px solid #ece4dc;
    font-size: .9rem;
}

.lbp-options dt {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #868e96;
    font-weight: 500;
    padding-top: .15rem;
}

.lbp-options dd { margin: 0; color: #222; font-weight: 300; }

.lbp-motif__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .75rem; }

.lbp-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.lbp-gallery--landscape { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }

.lbp-gallery__item { color: #222; text-decoration: none; }

.lbp-gallery__item img {
    width: 100%;
    height: auto;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, .25);
    margin-bottom: 1rem;
}

.lbp-gallery__label { display: block; font-weight: 500; }

.lbp-gallery__note, .lbp-motifs__note { display: block; font-size: .85rem; color: #868e96; font-weight: 300; }

/* A star map's three shapes side by side at every width, to compare (its shape pages, the owner's note on sketch 80). */
.lbp-gallery--shapes { max-width: 48rem; margin-inline: auto; }
.lbp-gallery__item[aria-current="page"] .lbp-gallery__label { text-decoration: underline; text-underline-offset: 4px; }

.lbp-table-wrap { overflow-x: auto; margin-top: 2.5rem; }

.lbp-table {
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.lbp-table th, .lbp-table td {
    padding: 1rem .75rem;
    border-bottom: 1px solid #ece4dc;
    font-weight: 300;
    vertical-align: top;
}

.lbp-table thead th {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #868e96;
    font-weight: 500;
}

.lbp-table tbody th small { display: block; font-size: .8rem; color: #868e96; }

.lbp-table td { text-align: left; }

.lbp-specs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.lbp-faq > div { padding: 1.25rem 0; border-bottom: 1px solid #ece4dc; }

.lbp-faq dt { font-weight: 500; margin-bottom: .4rem; }

.lbp-faq dd { margin: 0; color: #6c757d; font-weight: 300; line-height: 1.7; }

.lbp-motifs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 2rem 1.5rem;
    margin-top: 2rem;
}

.lbp-motifs--all { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 3rem; }

.lbp-motifs__item { color: #222; text-decoration: none; }

.lbp-motifs__item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin-bottom: .75rem;
}

.lbp-motifs__name { display: block; font-weight: 500; }

/* The star map's days as square cards (design sketch 85, block 5): two in a row on a phone and three from a tablet, the
   whole card a link to the tool behind its day's door; its heading and, from 576 px, its sentence under the name. A
   grid item's min-content must never stretch a picture, so the items may shrink below it. */
.lbp-motifs--days { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.lbp-motifs--days > .lbp-motifs__item { min-width: 0; min-height: 0; }
.lbp-motifs--days .lbp-motifs__item img { aspect-ratio: 1 / 1; }
.lbp-motifs__line { margin: .2rem 0 0; font-family: inherit; font-size: .95rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; color: #6c757d; }
.lbp-motifs__text { display: block; margin-top: .35rem; font-size: .85rem; font-weight: 300; line-height: 1.55; color: #868e96; }

/* Sketch 86: the gift pages' block 5, the other gift pages as cards. However many there are (a language has three to
   five), a card is never wider than 16rem, two stand in a row on a phone and a row that is not full stands in the middle. */
.lbp-motifs--gifts { display: flex; flex-wrap: wrap; justify-content: center; }
.lbp-motifs--gifts > .lbp-motifs__item { flex: 0 1 calc(50% - .75rem); min-width: 0; max-width: 16rem; }

/* Sketch 86: an occasion page's block of texts per receiver (Product/WhoTemplate), side by side from a tablet. */
.lbp-who { display: grid; gap: 2.5rem; text-align: center; }
.lbp-who__heading { margin-bottom: 1rem; font-size: 1.35rem; }
@media (min-width: 768px) {
    .lbp-who { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2rem; }
}

/* The link at the end of a motif page's price lead ("how to combine"): the tool's green. */
.lbp-lead.lbp-narrow a { color: #396362; text-decoration: underline; text-underline-offset: 3px; }

/* Siblings and twins (sketch 46, alternative A): the motif overview's section with three cards, the way to
   combine and the price line (MotifsTemplate, #syskon); the start page's card leads there (sketch 50 B, below). */
.lbp-sib {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: right;
}

.lbp-sib__card { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }

.lbp-sib__card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, .18);
    margin-bottom: .75rem;
}

.lbp-sib__title { font-size: 1.25rem; font-weight: 500; margin: 0; color: #222; }

.lbp-sib__text { margin: 0; font-weight: 300; color: #444; line-height: 1.65; }

.lbp-sib__size { margin: 0 0 .5rem; font-size: .85rem; color: #868e96; font-weight: 300; }

.lbp-sib__card .btn { align-self: flex-start; margin-top: auto; white-space: normal; text-align: right; max-width: 100%; overflow-wrap: anywhere; }

/* Three cards side by side: the German label "Geschwisterposter erstellen" with the theme's wide letter spacing was wider than its card. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .lbp-sib__card .btn { letter-spacing: .12em; }
}

.lbp-sib__how { margin: 3.5rem auto 1.5rem; max-width: 56rem; text-align: right; }

.lbp-sib__how-title {
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #868e96;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1.25rem;
}

.lbp-sib__how ol {
    list-style: none;
    counter-reset: sib;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.lbp-sib__how li {
    counter-increment: sib;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .5rem;
    font-weight: 300;
    color: #444;
    line-height: 1.6;
}

.lbp-sib__how li::before {
    content: counter(sib);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid #cfc6bb;
    display: grid;
    place-items: center;
    font-size: .85rem;
    color: #396362;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .lbp-sib { grid-template-columns: 1fr; }
    .lbp-sib__card { max-width: 24rem; margin-inline: auto; width: 100%; }
}

/* The start page's example posters (sketch D2, StartPosters.js tells how they change). A width shows one card (up to
   375 px), two (up to 768 px) or three. Grid and cards are in critical.css too (every picture's boxes are). */
.lbp-posters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .lbp-posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lbp-posters__item:nth-child(n+3) { display: none; }
}

@media (max-width: 375px) {
    .lbp-posters { grid-template-columns: minmax(0, 1fr); }
    .lbp-posters__item:nth-child(n+2) { display: none; }
}

/* A card: the poster, and under it the link that opens it in the tool. */
.lbp-posters__item { display: flex; flex-direction: column; align-items: center; gap: 1rem; min-width: 0; }

.lbp-posters__item > .poster { align-self: stretch; }

.lbp-posters__edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    max-width: 100%;
    padding: .5rem 1rem;
    border: 1px solid #4b8e8d;
    background: #fff;
    color: #396362;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.lbp-posters__edit:hover,
.lbp-posters__edit:focus-visible { background: #4b8e8d; color: #fff; text-decoration: none; }

.lbp-posters__edit svg { width: 1em; height: 1em; flex: 0 0 auto; fill: currentColor; }

/* A new poster fades in on the same sheet: the print changes, the paper and its shadow stay. */
.lbp-posters .poster > .inner-background,
.lbp-posters .poster > .illustrations,
.lbp-posters .poster > picture { transition: opacity .3s ease; }

.lbp-posters .poster.is-changing > .inner-background,
.lbp-posters .poster.is-changing > .illustrations,
.lbp-posters .poster.is-changing > picture { opacity: 0; }

/* The star map's place (StartView::STAR_MAP_PLACE): its real print file is the whole sheet, of the same 50 x 70 shape,
   so it is never cut or stretched, and the line sits under the print's name and date. */
.lbp-posters .poster > picture { position: absolute; inset: 0; }
.lbp-posters__print { display: block; width: 100%; height: 100%; }
.lbp-posters__item--star-map .lbp-posters__timer { bottom: 1.4%; }

/* The line on the white margin of the poster whose turn it is: it fills from the start of the line (from the right
   in a right-to-left language) and pales while the count is held. */
.lbp-posters__timer {
    position: absolute;
    right: 3%;
    left: 3%;
    bottom: 3.4%;
    height: 3px;
    background: #f1ece6;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.lbp-posters__item.is-next .lbp-posters__timer { opacity: 1; }

.lbp-posters__timer-fill { height: 100%; background: #4b8e8d; transform: scaleX(0); transform-origin: right center; }

.lbp-posters.is-paused .lbp-posters__timer-fill { background: #a9c6c5; }

.lbp-posters-caption {
    margin: 2rem 0 3rem;
    text-align: center;
    font-size: .85rem;
    color: #6c757d;
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
    .lbp-posters .poster > .inner-background,
    .lbp-posters .poster > .illustrations,
    .lbp-posters .poster > picture,
    .lbp-posters__timer { transition: none; }
}

@media (max-width: 991.98px) {
    .lbp-motif { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .lbp-motif__buy { position: static; }
    .lbp-gallery { grid-template-columns: 1fr; gap: 1.5rem; }
    .lbp-gallery--shapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .lbp-specs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .lbp-motifs--days { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
}

@media (max-width: 575.98px) {
    .lbp-motifs__text { display: none; }
    .lbp-options > div { grid-template-columns: 1fr; gap: .25rem; }
    .lbp-specs--4 { grid-template-columns: 1fr; }
}

/* Guides (SEO round 3, sketch 47): the hub's cards, links in the article text (underlined, as in the lead
   above), buttons whose label may be long, and the size guide's table of two text columns. */
.lbp-guide .text-content a { color: #396362; text-decoration: underline; text-underline-offset: 3px; }
.lbp-guide-actions .btn { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
.lbp-table--text tbody th, .lbp-table--text td { text-align: start; }
.lbp-table--text tbody th { width: 40%; font-weight: 500; }
.lbp-guides { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.lbp-guide-card { display: grid; gap: .5rem; padding: 1.5rem; border: 1px solid #ece4dc; color: #222; text-decoration: none; }
.lbp-guide-card:hover, .lbp-guide-card:focus-visible { border-color: #4b8e8d; text-decoration: none; }
.lbp-guide-card__kicker { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #868e96; }
.lbp-guide-card__title { font-size: 1.25rem; font-weight: 500; margin: 0; }
.lbp-guide-card__line { color: #6c757d; font-weight: 300; line-height: 1.6; }
.lbp-guide-card__read { color: #396362; text-decoration: underline; text-underline-offset: 3px; }

/* The blog (marketing/blogg ARSPLAN.md section 4): built on the guides' classes above; only the byline, the photo, the
   fact box, the source list, the author box and the hub's page links are its own. Body text stays at the column's
   44 rem (about 70 characters a line). */
.lbp-blog-byline { font-size: .875rem; color: #6c757d; line-height: 1.6; margin-bottom: 1.5rem; }
.lbp-blog-byline a, .lbp-blog-facts a, .lbp-blog-hero figcaption a, .lbp-blog-pages a, .lbp-more-link a { color: #396362; text-decoration: underline; text-underline-offset: 3px; }
.lbp-blog-hero { margin: 2rem 0 0; }
.lbp-blog-hero img { display: block; width: 100%; height: auto; }
.lbp-blog-hero figcaption { margin-top: .5rem; font-size: .8rem; color: #6c757d; }
.lbp-blog-facts { margin: 2rem 0; padding: 1.25rem 1.5rem; background: #fff8f2; border-inline-start: 3px solid #e6cebc; }
.lbp-blog-facts__title, .lbp-blog-sources__title { font-size: 1.1rem; font-weight: 500; margin: 0 0 .75rem; }
.lbp-blog-facts ul { margin: 0; padding-inline-start: 1.25rem; }
.lbp-blog-sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #ece4dc; font-size: .875rem; line-height: 1.55; color: #495057; }
.lbp-blog-sources ol { padding-inline-start: 1.25rem; margin: 0; }
.lbp-blog-sources li { margin-bottom: .6rem; unicode-bidi: plaintext; }  /* an English source reads left to right in an Arabic list; the box and its number keep the page's side */
.lbp-blog-sources a { color: #396362; overflow-wrap: anywhere; }
.lbp-blog-pages { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; font-size: .9rem; color: #6c757d; }
.lbp-blog-pages a, .lbp-more-link a { display: inline-block; min-height: 24px; padding: .25rem 0; }

/* The birth-length study (sketch 47): a wider column for the charts, the notes in small grey, each chart as a framed
   figure (a wide and a narrow drawing, the one that fits the figure's width is shown; no script), and the cite box. */
.lbp-study { max-width: 48rem; }
.lbp-study__sub { display: block; margin-top: .75rem; font-size: .42em; line-height: 1.35; font-weight: 300; color: #6c757d; }
.lbp-note { font-size: .85rem; line-height: 1.55; color: #6c757d; }
.text-content .lbp-note { font-size: .85rem; margin-bottom: 1rem; }
.lbp-study .lbp-table { max-width: none; }
.lbp-study .lbp-table th, .lbp-study .lbp-table td { padding: .6rem .75rem; font-size: .9rem; }
.lbp-study .lbp-table thead th { font-size: .7rem; letter-spacing: .1em; }
.lbp-table--study { min-width: 44rem; }
.lbp-table--study td:nth-child(-n+4), .lbp-table--study tbody th { white-space: nowrap; }
.lbp-study .lbp-table tbody th { width: auto; }
.lbp-study .lbp-table tbody th[scope="rowgroup"] { background: #f8f9fa; }
.lbp-five { padding-inline-start: 1.5rem; }
.lbp-five > li { margin-bottom: 1.5rem; padding-inline-start: .25rem; }
.text-content .lbp-sources { font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.lbp-sources li { margin-bottom: .4rem; }
.lbp-fig { container-type: inline-size; margin: 2rem 0; padding: 1.1rem 1.1rem 1rem; border: 1px solid #ece4dc; background: #fff; }
.lbp-fig__title strong, .lbp-fig__title span { display: block; }
.lbp-fig__title strong { font-size: 1.15rem; font-weight: 500; color: #222; }
.lbp-fig__title span { font-size: .9rem; line-height: 1.45; font-weight: 300; color: #6c757d; }
.lbp-fig svg { width: 100%; height: auto; }
.lbp-fig svg.lbp-fig__wide { display: block; }
.lbp-fig svg.lbp-fig__narrow { display: none; max-width: 460px; margin-inline: auto; }
.lbp-fig svg.lbp-sw { display: inline-block; width: 18px; height: 18px; flex: none; }
@container (max-width: 599px) {
    .lbp-fig svg.lbp-fig__wide { display: none; }
    .lbp-fig svg.lbp-fig__narrow { display: block; }
}
.text-content .lbp-legend { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: .6rem 0 0; padding: 0; list-style: none; font-size: .8rem; color: #495057; }
.lbp-legend li { display: flex; align-items: center; gap: .4rem; }
.lbp-fig figcaption { margin-top: .9rem; font-size: .8rem; line-height: 1.5; color: #6c757d; }
.lbp-fig__tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .6rem 1rem; margin-top: .8rem; font-size: .85rem; }
.lbp-fig__tools details { flex: 1 1 100%; order: 2; }
.lbp-fig__tools summary { cursor: pointer; color: #396362; }
.lbp-fig__tools details[open] summary { margin-bottom: .75rem; }
.lbp-fig__dl { display: flex; gap: 1rem; order: 1; }
.lbp-fig__dl a, .lbp-fig a, .lbp-note a { color: #396362; text-decoration: underline; text-underline-offset: 3px; }
.lbp-cite { margin-top: 3.5rem; padding: 1.5rem 1.5rem 1.25rem; border: 1px solid #f1d9c3; background: #fff8f2; }
.lbp-cite dl { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .75rem 1.25rem; margin: 0; }
.lbp-cite dt { padding-top: .2rem; font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #6c757d; }
.lbp-cite dd { margin: 0; overflow-wrap: anywhere; }
.lbp-cite a { color: #396362; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575.98px) {
    .lbp-fig { padding: .9rem .75rem; }
    .lbp-cite { padding: 1.1rem 1rem; }
    .lbp-cite dl { grid-template-columns: 1fr; gap: .15rem; }
    .lbp-cite dd { margin-bottom: .75rem; }
}

/* Reviews: the start-page carousel, the reviews page and the review form.
   One card for every source; only the avatar, the rating row and the badge
   change with the source. */
.lbp-rv { --rv-star: #e9a93b; --rv-teal-ink: #2f6362; --rv-teal-wash: #e4f0ef; --rv-line: #ece4dc; }
.lbp-rv-head { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem 2rem; align-items: end; margin-bottom: 1.6rem; }
.lbp-rv-head .display-3 { margin-bottom: .6rem; }
.lbp-rv-head > * { min-width: 0; } /* a long heading word (Kundenbewertungen) wraps instead of widening the page */
.lbp-rv-write { justify-self: end; white-space: nowrap; }
.lbp-rv-agg { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: .95rem; color: #444; }
.lbp-rv-agg__num { font-size: 2rem; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.lbp-rv-agg__cnt { color: #868e96; }
.lbp-rv-agg__cnt a { color: inherit; }
.lbp-rv-stars { color: var(--rv-star); letter-spacing: .08em; font-size: 1rem; line-height: 1; white-space: nowrap; }
.lbp-rv-stars i { font-style: normal; }
.lbp-rv-stars i.off { color: #ddd; }
.lbp-rv-stars--lg { font-size: 1.15rem; }
.lbp-rv-srcs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .78rem; color: #444; margin-top: .6rem; }
.lbp-rv-srcs span { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--rv-line); border-radius: 999px; padding: .2rem .45rem .2rem .7rem; }
.lbp-rv-srcs svg { width: 14px; height: 14px; }
.lbp-rv-srcs__as { color: #868e96; border: 0 !important; background: none !important; padding-right: 0 !important; }
.lbp-rv-info { position: relative; display: inline-flex; }
.lbp-rv-info > button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #cfc6bb; background: #fff; color: #5e564d; font-size: .72rem; font-weight: 600; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.lbp-rv-info > button:hover, .lbp-rv-info > button:focus-visible { border-color: #4b8e8d; color: var(--rv-teal-ink); outline: none; box-shadow: 0 0 0 3px var(--rv-teal-wash); }
.lbp-rv-pop { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; width: min(340px, 86vw); background: #fff; border: 1px solid var(--rv-line); border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, .14); padding: .9rem 1rem; font-size: .8rem; line-height: 1.55; color: #333; display: none; text-align: right; }
.lbp-rv-pop::before { content: ""; position: absolute; top: -6px; right: 7px; width: 10px; height: 10px; background: #fff; border-right: 1px solid var(--rv-line); border-top: 1px solid var(--rv-line); transform: rotate(-45deg); }
.lbp-rv-info.is-open .lbp-rv-pop, .lbp-rv-info:hover .lbp-rv-pop, .lbp-rv-info:focus-within .lbp-rv-pop { display: block; }
.lbp-rv-pop h4 { font-size: .82rem; font-weight: 600; margin: 0 0 .4rem; letter-spacing: 0; text-transform: none; }
.lbp-rv-pop ul { margin: .3rem 0 .5rem; padding-right: 1rem; }
.lbp-rv-pop li { margin: .15rem 0; }
.lbp-rv-pop p { margin: .35rem 0; }
.lbp-rv-pop a { color: var(--rv-teal-ink); }
.lbp-rv-lbl { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; white-space: nowrap; }
.lbp-rv-lbl svg { width: 13px; height: 13px; }

/* The band of reviews (sketch 31): one CSS animation on transform, paused
   under a resting mouse, a finger (Reviews.js) or keyboard focus; still, and
   scrollable by hand, for anyone who asked for less motion. The track is the
   set of cards and its copies (Review/BlockTemplate.php), each card with its
   gap after it (the track's end padding is the last one), so one loop moves
   it exactly one set, 10.5 s a card, and the copy stands where the set
   stood. A card's width is its own: as a flex basis only, Firefox made the
   track as wide as the cards' texts on one line (about 7,600 px for four
   cards) and the band ran empty for half of every loop (the owner,
   2026-11-27). A tap leaves a sticky hover and the focus behind on a phone,
   so only a mouse (Reviews.js's is-hovered, and :hover where the screen has
   one) and keyboard focus hold it, and a finger until 4 s after it lets go;
   something opened in a card (a whole text, the original, a badge's note)
   holds it until a click or tap outside the band folds it (Reviews.js). */
.lbp-rv-marquee { overflow: hidden; margin: 0 -12px; padding: .4rem 12px 1.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lbp-rv-marquee:focus-visible { outline: 2px solid #4b8e8d; outline-offset: 4px; }
.lbp-rv-track { display: flex; gap: 1.25rem; padding-inline-end: 1.25rem; width: max-content; animation: lbp-rv-slide calc(10.5s * var(--cards, 4)) linear infinite; will-change: transform; }
.lbp-rv-copy { display: contents; }
.lbp-rv-track > .lbp-rv-card, .lbp-rv-copy > .lbp-rv-card { flex: none; width: min(340px, 86vw); }
@media (hover: hover) {
    .lbp-rv-marquee:hover .lbp-rv-track { animation-play-state: paused; }
}
.lbp-rv-marquee:focus-visible .lbp-rv-track, .lbp-rv-marquee.is-held .lbp-rv-track, .lbp-rv-marquee.is-hovered .lbp-rv-track { animation-play-state: paused; }
.lbp-rv-marquee:has(:focus-visible, .lbp-rv-text.is-open, .lbp-rv-badge.is-open) .lbp-rv-track { animation-play-state: paused; }
@keyframes lbp-rv-slide { to { transform: translateX(calc(-1*(-100% / var(--copies, 2)))); } }
@media (prefers-reduced-motion: reduce) {
    .lbp-rv-marquee { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
    .lbp-rv-marquee::-webkit-scrollbar { display: none; }
    .lbp-rv-track { animation: none; will-change: auto; }
    .lbp-rv-track > .lbp-rv-card { scroll-snap-align: start; }
    .lbp-rv-copy { display: none; }
}
.lbp-rv-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; font-size: .82rem; color: #868e96; }
.lbp-rv-foot a { color: var(--rv-teal-ink); font-weight: 600; text-decoration: none; letter-spacing: .06em; }
.lbp-rv-foot a:hover { text-decoration: underline; }
.lbp-rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }

.lbp-rv-card { background: #fff; border: 1px solid var(--rv-line); border-radius: 12px; box-shadow: 0 10px 30px -18px rgba(34, 34, 34, .25); padding: 1.1rem 1.1rem 1rem; display: flex; flex-direction: column; gap: .6rem; min-height: 240px; position: relative; font-size: .95rem; line-height: 1.55; color: #333; text-align: right; }
.lbp-rv-card__head { display: flex; align-items: center; gap: .75rem; }
.lbp-rv-avatar { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px; overflow: hidden; display: grid; place-items: center; font-weight: 600; font-size: 1rem; background: #ffe7d1; color: #7a4a25; }
.lbp-rv-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbp-rv-avatar--2 { background: #dcecec; color: var(--rv-teal-ink); }
.lbp-rv-avatar--3 { background: #e9e2f2; color: #5a4a7a; }
.lbp-rv-avatar--4 { background: #e3ecdf; color: #456546; }
.lbp-rv-avatar--5 { background: #f3e3e3; color: #7d4646; }
.lbp-rv-avatar--6 { background: #efe6d6; color: #6b5330; }
.lbp-rv-avatar--anon { background: #ebe7e1; color: #8a8279; }
.lbp-rv-avatar--anon svg { width: 24px; height: 24px; fill: currentColor; }
.lbp-rv-who { min-width: 0; flex: 1; }
.lbp-rv-who b { display: block; font-weight: 600; font-size: .95rem; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbp-rv-meta { display: flex; align-items: center; gap: .35rem; font-size: .76rem; color: #868e96; flex-wrap: wrap; }
.lbp-rv-src { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
.lbp-rv-src svg { width: 14px; height: 14px; flex: 0 0 14px; }
.lbp-rv-lang { font-size: .66rem; color: #868e96; border: 1px solid var(--rv-line); border-radius: 4px; padding: 0 .3rem; text-transform: uppercase; letter-spacing: .06em; }
.lbp-rv-rate { display: flex; align-items: center; justify-content: space-between; gap: .5rem .75rem; flex-wrap: wrap; }
.lbp-rv-rec { display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; font-weight: 600; color: #2d5f5e; }
.lbp-rv-rec svg { width: 16px; height: 16px; }
.lbp-rv-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 600; letter-spacing: .02em; border-radius: 999px; padding: .2rem .4rem .2rem .6rem; white-space: nowrap; cursor: default; }
.lbp-rv-badge svg { width: 13px; height: 13px; }
.lbp-rv-badge--purchase { background: var(--rv-teal-wash); color: var(--rv-teal-ink); }
.lbp-rv-badge--source { background: #f1eee9; color: #5e564d; }
.lbp-rv-badge--none { background: transparent; color: #8a8279; border: 1px dashed #cfc6bb; }
.lbp-rv-tip { position: absolute; z-index: 10; right: 1rem; left: 1rem; top: 6.6rem; background: #222; color: #fff; font-weight: 300; font-size: .78rem; line-height: 1.45; padding: .65rem .8rem; border-radius: 8px; display: none; letter-spacing: 0; white-space: normal; }
.lbp-rv-badge:hover .lbp-rv-tip, .lbp-rv-badge:focus-visible .lbp-rv-tip, .lbp-rv-badge.is-open .lbp-rv-tip { display: block; }
.lbp-rv-badge:focus-visible { outline: 2px solid #4b8e8d; outline-offset: 2px; }
.lbp-rv-text { margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.lbp-rv-text.is-open { display: block; }
.lbp-rv-more, .lbp-rv-orig { align-self: flex-start; background: none; border: 0; padding: 0; color: #868e96; font: inherit; font-size: .8rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lbp-rv-more:hover, .lbp-rv-orig:hover { color: var(--rv-teal-ink); }
.lbp-rv-translated { margin: 0; font-size: .74rem; color: #868e96; }
.lbp-rv-reply { margin-top: auto; border-right: 2px solid var(--rv-teal-wash); padding: .25rem .6rem .1rem 0; font-size: .82rem; color: #555; }
.lbp-rv-reply b { display: block; font-weight: 600; color: var(--rv-teal-ink); font-size: .72rem; letter-spacing: .04em; }

.lbp-rv-labels { display: grid; gap: .9rem; margin: 2rem 0; text-align: right; }
.lbp-rv-labels div { background: #fff; border: 1px solid var(--rv-line); border-radius: 10px; padding: .9rem 1.1rem; }
.lbp-rv-labels dt { display: flex; align-items: center; gap: .4rem; font-weight: 600; color: #222; margin-bottom: .25rem; }
.lbp-rv-labels dt svg { width: 16px; height: 16px; }
.lbp-rv-labels dd { margin: 0; color: #6c757d; font-weight: 300; line-height: 1.7; }
.lbp-rv-ways { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.lbp-rv-ways .btn { display: inline-flex; align-items: center; gap: .5rem; }
.lbp-rv-ways svg { width: 18px; height: 18px; }

.lbp-rv-form { text-align: right; }
.lbp-rv-field { margin-bottom: 1.6rem; border: 0; padding: 0; }
.lbp-rv-field > label, .lbp-rv-field legend { display: block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #222; margin-bottom: .5rem; }
.lbp-rv-field input[type="text"], .lbp-rv-field textarea { width: 100%; border: 1px solid #d9d2c8; border-radius: 0; padding: .8rem .9rem; font: inherit; font-weight: 300; color: #222; background: #fff; }
.lbp-rv-field input[type="text"]:focus, .lbp-rv-field textarea:focus { outline: none; border-color: #4b8e8d; box-shadow: 0 0 0 3px var(--rv-teal-wash); }
.lbp-rv-field.is-invalid input, .lbp-rv-field.is-invalid textarea { border-color: #a3533d; }
.lbp-rv-field--check label { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; font-weight: 300; text-transform: none; letter-spacing: 0; }
.lbp-rv-field--check input { margin-top: .3rem; }
.lbp-rv-hint { font-size: .78rem; color: #868e96; margin: .35rem 0 0; }
.lbp-rv-error { font-size: .82rem; color: #a3533d; margin: .35rem 0 0; }
.lbp-rv-hp { position: absolute; right: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lbp-rv-pick { display: inline-flex; flex-direction: row-reverse; gap: .1rem; }
.lbp-rv-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lbp-rv-pick label { font-size: 2.2rem; line-height: 1; color: #ddd; cursor: pointer; padding: 0 .1rem; transition: color .1s; }
.lbp-rv-pick input:checked ~ label, .lbp-rv-pick label:hover, .lbp-rv-pick label:hover ~ label { color: var(--rv-star); }
.lbp-rv-pick input:focus-visible + label { outline: 2px solid #4b8e8d; outline-offset: 2px; border-radius: 4px; }
.lbp-rv-delete { overflow-wrap: anywhere; font-size: .85rem; }

@media (max-width: 991px) {
    .lbp-rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .lbp-rv-head { grid-template-columns: 1fr; }
    .lbp-rv-write { justify-self: start; }
    .lbp-rv-track { gap: .75rem; padding-inline-end: .75rem; }
    .lbp-rv-grid { grid-template-columns: 1fr; }
    .lbp-rv-agg__num { font-size: 1.7rem; }
}

/* ---- The start page's hero (design sketch 89, StartTemplate.php, StartHero.js) ----------------------------------------
   Phone first: the hero fills the first screen under the 98 px header, each photo cropped tight, the text white on a
   shade over the photo's lower half, the review line at the top of the text. From 992 px (190 px header) the slide
   splits: the text on the wash beside the photo. Three slides side by side in a row that snaps; the controls (pause and
   three bars) under the text. */
/* 100vh first for a browser without svh (Safari before 15.4), which drops the second height. */
.lbp-hero { position: relative; height: clamp(500px, calc(100vh - 98px), 780px); height: clamp(500px, calc(100svh - 98px), 780px); background: #ece4dc; }
.lbp-hero__slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.lbp-hero__slides::-webkit-scrollbar { display: none; }
.lbp-hero__slides:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.lbp-hero__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; }
.lbp-hero__pic { position: absolute; inset: 0; }
.lbp-hero__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.lbp-hero__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18, 16, 14, 0) 40%, rgba(18, 16, 14, .18) 58%, rgba(18, 16, 14, .62) 100%); }
.lbp-hero__text { position: absolute; right: 20px; left: 20px; bottom: 54px; color: #fff; text-align: start; }
.lbp-hero__title { margin: 0 0 18px; font-size: 38px; font-weight: 300; line-height: 1.06; letter-spacing: -.005em; text-transform: none; text-wrap: balance; color: inherit; }
.lbp-hero .lbp-proof { margin: 0 0 10px; font-size: 14px; color: #fff; }
.lbp-hero .lbp-proof__who { color: rgba(255, 255, 255, .88); text-decoration-color: rgba(255, 255, 255, .55); }
.lbp-hero .lbp-proof:hover .lbp-proof__who { color: #fff; text-decoration-color: currentColor; }
.lbp-hero .lbp-proof:focus-visible { outline-color: #fff; }
.lbp-hero__ctrl { position: absolute; right: 0; left: 0; bottom: 8px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.lbp-hero__play { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(18, 16, 14, .32); color: #fff; cursor: pointer; }
.lbp-hero__play svg { width: 12px; height: 12px; fill: currentColor; }
.lbp-hero__i-play, .lbp-hero__play[aria-pressed="false"] .lbp-hero__i-pause { display: none; }
.lbp-hero__play[aria-pressed="false"] .lbp-hero__i-play { display: block; }
.lbp-hero__dots { display: flex; gap: 8px; }
.lbp-hero__dots button { display: grid; place-items: center; width: 26px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.lbp-hero__dots button::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .5); }
.lbp-hero__dots button[aria-current="true"]::before { background: #fff; }
.lbp-hero__play:focus-visible, .lbp-hero__dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lbp-hero__arrows { display: none; }
@media (min-width: 992px) {
    .lbp-hero { height: clamp(520px, calc(100vh - 190px), 640px); }
    .lbp-hero__slide { display: grid; grid-template-columns: 1fr 1fr; background: #fff8f2; }
    .lbp-hero__pic { position: relative; order: 2; }
    .lbp-hero__pic::after { content: none; }
    .lbp-hero__text { position: relative; right: auto; left: auto; bottom: auto; order: 1; align-self: center; padding: 0 max(48px, calc((100vw - 1140px) / 2 + 16px)) 0 56px; color: #222; }
    .lbp-hero__title { margin-bottom: 26px; font-size: 54px; }
    .lbp-hero .lbp-proof { color: #222; }
    .lbp-hero .lbp-proof__who { color: #5c636a; text-decoration-color: #b4bac0; }
    .lbp-hero .lbp-proof:hover .lbp-proof__who { color: #222; }
    .lbp-hero .lbp-proof:focus-visible { outline-color: #4b8e8d; }
    .lbp-hero__ctrl { right: max(48px, calc((100vw - 1140px) / 2 + 16px)); left: auto; bottom: 20px; justify-content: flex-start; }
    .lbp-hero__play { background: #fff; color: #222; border: 1px solid #cfc7bf; }
    .lbp-hero__play:focus-visible, .lbp-hero__dots button:focus-visible { outline-color: #222; }
    .lbp-hero__dots button::before { background: rgba(33, 37, 41, .22); }
    .lbp-hero__dots button[aria-current="true"]::before { background: #222; }
    .lbp-hero__arrows { display: flex; position: absolute; left: calc(50% + 16px); bottom: 18px; gap: 6px; }
    .lbp-hero__arrows button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #cfc7bf; border-radius: 50%; background: #fff; color: #222; cursor: pointer; }
    .lbp-hero__arrows button:focus-visible { outline: 2px solid #222; outline-offset: 2px; }
    .lbp-hero__arrows svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transform: scaleX(-1); }
}

/* The start page's large picture beside the text (sketch 89): the siblings, and the star map with its picture on the
   right; one above the other on a phone. Logical properties and grid order only, so Arabic mirrors it. */
.lbp-split-sec { padding: 4rem 0; }
.lbp-split-sec--siblings { padding-top: .5rem; }
.lbp-split { display: grid; gap: 28px; align-items: center; text-align: start; }
.lbp-split__pic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.lbp-split__title { margin: 0 0 .75rem; font-size: 30px; font-weight: 300; line-height: 1.2; letter-spacing: 0; text-transform: none; text-wrap: balance; color: #222; }
.lbp-split__text p { margin: 0 0 22px; color: #6c757d; font-size: 17px; font-weight: 300; line-height: 1.65; }
.lbp-split__text .lbp-split__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
@media (min-width: 992px) {
    .lbp-split { grid-template-columns: 1.1fr 1fr; gap: 64px; }
    .lbp-split--flip .lbp-split__pic { order: 2; }
    .lbp-split__title { font-size: 36px; }
}

/* The start page's small headings (sketch 89): the site's dark teal, 6.7:1 on white, instead of the light peach (1.5:1);
   the same words, size and air. Also the reviews' band wherever it stands. */
.lbp-eyebrow, .lbp-rv .lbp-kicker { color: #396362; }

/* The country name in the delivery note (design sketch 37) opens the country
   picker: the note's own colour, underlined, so it reads as a link at full
   contrast. */
.lbp-spec__note .js-open-country {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
}

/* The frames menu in the poster tool (design sketch 39): group headings, colour items in
   dark text, what cannot be chosen greyed with the reason, notes under the menu with a
   thin teal border. Items may wrap so the reason never runs out of the menu. */
.lovely-print-tool #frames .dropdown-menu .frames-group {
  padding: 10px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b5a4c;
}
.lovely-print-tool #frames .dropdown-menu .dropdown-item {
  height: auto;
  min-height: 40px;
  white-space: normal;
  color: #222;
}
.lovely-print-tool #frames .dropdown-menu .dropdown-item.disabled {
  color: #857a70;
  cursor: not-allowed;
}
.lovely-print-tool #frames .frames-why {
  font-size: .85em;
}
/* The tool's menus are buttons, not links without an address (those cannot be crawled or reached by
   keyboard), and look exactly as the links did:
   - a button centres its content in its height, a link starts at the top: each choice is a column,
     so its text stays at the top;
   - a click focuses a button, and the theme gives a focused toggle teal text on light peach: a mouse
     focus keeps the look the links had, the keyboard still gets the teal;
   - a choice reached by keyboard looks like the hovered one. */
body .lovely-print-tool > .row .tool .settings .setting .dropdown .dropdown-menu button.dropdown-item:not([hidden]) {
  display: flex;
  flex-direction: column;
}
body .lovely-print-tool .settings .setting .dropdown-toggle.btn-primary:focus:not(:focus-visible):not(:hover) {
  color: #222;
}
body .lovely-print-tool .settings .setting .dropdown-toggle.btn-primary:focus:not(:focus-visible):not(:hover):not(:active):not(.show) {
  background-color: #ffe7d1;
}
body .lovely-print-tool > .row .tool .settings .setting .dropdown .dropdown-menu button.dropdown-item:focus-visible {
  background-color: #e8dcd3;
}
/* Centred between the Frames menu and the card's edge (the card keeps 30px below): 17 above, 30 - 13
   below, measured on dev. Hidden notes take no space, so nothing moves without one. */
.lovely-print-tool .frames-notes .tool-note {
  margin: 17px 0 -13px;
  padding: 9px 10px;
  border: 1px solid #396362;
  background: #fff4ea;
  color: #2f4f4e;
  font-size: .8125rem;
  line-height: 1.5;
}
/* "Check the spelling" above the add-to-cart button once every required field is filled (sketch 40 v5):
   a quiet grey line, plain case in the uppercase button row. */
.lovely-print-tool .lbp-cta .spelling-hint {
  margin: 0 0 8px;
  color: #5c636a;
  font-size: .8125rem;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
}
/* The button is the box for its own loading heart and done tick (.loader-container is absolutely placed):
   without it they were placed from the top of the row, so the spelling hint above the button pushed them
   up onto its top edge. */
.lovely-print-tool .lbp-cta #send {
  position: relative;
}
/* Japan only: a plain link to the return policy under the add-to-cart button (sketch 40 v5);
   plain case, the button row is uppercase. */
.lovely-print-tool .add-to-cart .returns-link {
  color: #396362;
  font-size: .8125rem;
  text-decoration: underline;
  text-transform: none;
  letter-spacing: normal;
}
/* The 30-day satisfaction guarantee (sketch 43, owner's decision 2026-10-12). The top bar's link, from 1200 px. */
.lbp-guarantee-top a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Under the tool's add-to-cart button: two quiet lines in plain case (the button row is uppercase), no box. */
.lovely-print-tool .add-to-cart .lbp-guarantee-tool {
  margin-top: 12px;
  color: #6c757d;
  font-size: .8125rem;
  line-height: 1.55;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
}
.lovely-print-tool .add-to-cart .lbp-guarantee-tool__main {
  color: #212529;
}
.lovely-print-tool .add-to-cart .lbp-guarantee-tool .material-icons {
  margin-inline-end: 5px;
  color: #4b8e8d;
  font-size: 16px;
  vertical-align: -3px;
}
.lovely-print-tool .add-to-cart .lbp-guarantee-tool a,
.lbp-guarantee-start a,
.lbp-motif__hint a {
  color: #396362;
  text-decoration: underline;
}
/* The start page: one centred line between the facts and the button. */
.lbp-guarantee-start {
  max-width: 640px;
  margin: 2.5rem auto 0;
  color: #6c757d;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}
.lbp-guarantee-start .material-icons {
  display: block;
  margin: 0 auto 6px;
  color: #4b8e8d;
  font-size: 22px;
}
.lbp-guarantee-start strong {
  color: #212529;
  font-weight: 600;
}
/* The gift pages: the same line under the button, aligned with its column (sketch 42). */
.lbp-motif__buy .lbp-guarantee-start {
  margin: 1.5rem 0 0;
  text-align: right;
}
.lbp-motif__buy .lbp-guarantee-start .material-icons {
  display: inline-block;
  margin: 0 0 0 6px;
  vertical-align: -5px;
}
/* The footer's fourth box: the heading is the link, in the heading's own colour. */
.lbp-guarantee-footer,
.lbp-guarantee-footer:hover {
  color: inherit;
  text-decoration: none;
}
/* The footer's four boxes start at the top, so their headings stay on one line when one box's text wraps
   (the guarantee's note is the longest, 992 to 1440 px); the theme centred each box in the row's height. */
#services .service-column {
  align-items: flex-start;
}
/* The terms on the return policy. */
.lbp-guarantee-terms {
  margin-bottom: 1rem;
  padding-inline-start: 1.3em;
}
.lbp-guarantee-terms li {
  margin-bottom: .4rem;
}
/* A link in a checkout note (the return terms above the payment, the conditions page; sketch 40):
   the tool note's green, readable on the light grey, instead of the theme's pale gold. */
.checkout-note a {
  color: #396362;
  text-decoration: underline;
}

/* Design sketch 81 v4, scene 5 (CheckoutDirect): "Back" to the poster just bought, above the order, as the tool's way
   back to the two cards; "Make another" a whole-width outlined button between the lines and the sums; "Start a new
   one" an outlined button in the tool's edit note. 44 px high, the note's dark green (7:1 on white). */
.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-bottom: 4px;
  color: #396362;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
[dir="rtl"] .checkout-back .lbp-arrow {
  display: inline-block;
  transform: scaleX(-1);
}
.checkout-another,
.lovely-print-tool .tool-editing a.tool-editing-new {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #396362;
  border-radius: 6px;
  background: #fff;
  color: #396362;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.checkout-another {
  min-height: 48px;
  margin: 14px 0 10px;
  padding: 8px 16px;
}
.checkout-another:hover,
.checkout-another:focus-visible,
.lovely-print-tool .tool-editing a.tool-editing-new:hover,
.lovely-print-tool .tool-editing a.tool-editing-new:focus-visible {
  background: #e4f0ef;
  color: #2f6362;
}
.lovely-print-tool .tool-editing--new {
  flex-wrap: wrap;
}
.lovely-print-tool .tool-editing--new span {
  flex: 1 1 14rem;
}
.lovely-print-tool .tool-editing a.tool-editing-new {
  flex: none;
  align-self: center;
  margin-inline-start: auto;
  padding: 0 14px;
  white-space: nowrap;
}

/* Design sketch 62: the sums above Kustom's box (subtotal, the discount with "Ta bort", free shipping, the total with
   its VAT) and the code field folded behind a plain link, in the checkout's own text style: no box, no struck price.
   The field is 44 px high with 16 px text (no zoom on an iPhone), in capitals. */
.checkout-summary {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #dee2e6;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 3px 0;
  font-size: .92rem;
}
.checkout-summary-row > span:last-child,
.checkout-summary-row > bdi {
  white-space: nowrap;
}
.checkout-summary-total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #dee2e6;
  font-size: 1rem;
  font-weight: 700;
}
.checkout-summary-muted {
  display: block;
  color: #6c757d;
  font-size: .82rem;
  font-weight: 400;
}
.checkout-summary-discount {
  color: #1f5f5e;
}
.checkout-summary-discount:focus {
  outline: none;
}
.checkout-summary-remove,
.checkout-discount-open {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.checkout-summary-remove {
  white-space: nowrap;
}
.checkout-summary-left {
  margin: 8px 0 0;
  color: #1f5f5e;
  font-size: .85rem;
}
.checkout-summary-note {
  margin: 4px 0 0;
  color: #6c757d;
  font-size: .82rem;
}
.checkout-discount-ask {
  margin: 10px 0 0;
}
.checkout-discount-open {
  color: #212529;
  font-size: .9rem;
}
.checkout-discount-label {
  display: block;
  margin: 12px 0 0;
  color: #6c757d;
  font-size: .82rem;
}
.checkout-discount-field {
  display: flex;
  gap: 8px;
  margin: 8px 0 4px;
}
.checkout-discount-field input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #adb5bd;
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.checkout-discount-field input[aria-invalid="true"] {
  border-color: #b02a37;
}
.checkout-discount-field button {
  height: 44px;
  padding: 0 16px;
  border: 1px solid #212529;
  border-radius: 4px;
  background: #fff;
  color: #212529;
  font: inherit;
  font-weight: 600;
}
.checkout-discount-field button:disabled {
  opacity: .6;
}
.checkout-discount-error {
  margin: 2px 0 6px;
  color: #b02a37;
  font-size: .84rem;
}
.checkout-discount-error a {
  color: inherit;
  text-decoration: underline;
}
/* Sketch 62, 2 F and H: the gift discount's line under the tool's button, set like the guarantee line beside it. */
.lovely-print-tool .add-to-cart .lbp-discount-tool {
  margin-top: 12px;
  color: #212529;
  font-size: .8125rem;
  line-height: 1.55;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
}

/* The notice for a visitor geo-IP places in a territory we cannot deliver to (sketch 39):
   the territory's name on its own line, the same note colours and thin border as the tool. */
.lbp-unserved {
  position: relative;
  max-width: 1140px;
  margin: 12px auto 0;
  padding: 10px 14px 10px 44px;
  border: 1px solid #396362;
  background: #fff4ea;
  color: #2f4f4e;
  font-size: .875rem;
  line-height: 1.5;
}
.lbp-unserved p { margin: 0; }
.lbp-unserved__close {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 1171px) { .lbp-unserved { margin-inline: 16px; } }

/* Sketch 52, internal links. A fact box's link to the guide that explains it, under its note. */
.lbp-spec__link {
    display: block;
    margin-top: .75rem;
    font-size: .85rem;
    font-weight: 300;
    line-height: 1.5;
    color: #396362;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* "More in the guide:" at the end of a motif page's answer. */
.lbp-faq dd a { color: #396362; text-decoration: underline; text-underline-offset: 3px; }

/* The footer (sketch 59, proposal B): the logo and the link groups (sketch 52's ten links, the posters since sketch 80)
   as left-aligned columns from 992 px, one per group, two columns under the logo at 768-991 px, and below 768 px the logo centred over an accordion
   (closed until tapped; Default.js opens the groups on a wider screen). Then a line with the social links to the left
   and the payment row to the right (both centred, one above the other, on a phone), and the copyright line centred.
   Bootstrap's col-md-8 and mb-md-0 were removed with the unused rules, so every width is here. */
.lbp-foot-main { padding: 3rem 0 2rem; }
.lbp-foot-row { display: grid; grid-template-columns: 1.2fr; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2rem; align-items: start; }
.lbp-foot-brand { display: block; width: 120px; }
.lbp-foot-brand img { display: block; width: 100%; }
.lbp-foot { display: contents; }
.lbp-foot details > summary {
    list-style: none;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #212529;
    font-weight: 500;
    margin-bottom: .5rem;
    text-align: start;
}
.lbp-foot details > summary::-webkit-details-marker { display: none; }
[dir=rtl] .lbp-foot details > summary, :lang(ar) .lbp-foot details > summary { letter-spacing: 0; }
.lbp-foot ul { list-style: none; margin: 0; padding: 0; }
.lbp-foot li a,
.lbp-foot li button {
    display: block;
    width: 100%;
    padding: .3rem 0;
    color: #868e96;
    font-size: 1rem;
    font-weight: 400;
    background: none;
    border: 0;
    text-align: start;
    text-decoration: none;
}
.lbp-foot-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #4b8e8d;
}
.lbp-foot-social { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.lbp-foot-social a { display: block; padding: .25rem 0; color: #868e96; text-decoration: none; }
.lbp-pay { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.lbp-pay img { display: block; } /* the size is each mark's width and height attributes (Payment\Methods) */
.lbp-foot-copy { margin: 2.5rem 0 0; text-align: center; font-size: .9rem; }
@media (min-width: 768px) {
    .lbp-foot details[open] > summary { pointer-events: none; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .lbp-foot-row { grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
    .lbp-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    .lbp-foot-row { display: block; }
    .lbp-foot-brand { margin: 0 auto 2rem; }
    .lbp-foot { display: grid; grid-template-columns: minmax(0, 1fr); text-align: center; }
    .lbp-foot details { border-bottom: 1px solid #ece4dc; }
    .lbp-foot details:first-child { border-top: 1px solid #ece4dc; }
    .lbp-foot details:last-child { border-bottom: 0; }
    .lbp-foot details > summary {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: .6rem;
        min-height: 3rem;
        margin: 0;
        cursor: pointer;
    }
    .lbp-foot details > summary::after {
        content: "";
        width: .45rem;
        height: .45rem;
        border-right: 1.5px solid #868e96;
        border-bottom: 1.5px solid #868e96;
        transform: translateY(-.15rem) rotate(45deg);
        transition: transform .15s;
    }
    .lbp-foot details[open] > summary::after { transform: translateY(.1rem) rotate(-135deg); }
    .lbp-foot details ul { padding-bottom: .75rem; }
    .lbp-foot li a,
    .lbp-foot li button { text-align: center; }
    .lbp-foot-bar { flex-direction: column; }
    .lbp-foot-social,
    .lbp-pay { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .lbp-foot details > summary::after { transition: none; } }

/* The header's menus and the cart open with buttons, not links to "#" (sketch 52); they look as the links did. */
.top-bar button.topbar-link,
.lbp-icon-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
}
/* The header on a phone or a tablet: a slimmer top bar and a smaller logo (168 px down to 98 px at 390 px wide), so
   the first screen keeps room for the page, above all the tool's poster. The top bar's padding comes from the
   theme's py-3 utility, which is !important. */
@media (max-width: 991.98px) {
    .header .top-bar > .container-fluid {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
    .header .navbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .header .navbar-brand {
        padding: 0;
    }
    .header .navbar-brand img {
        width: 64px;
    }
}
/* On a computer the menu stands in the middle of the page: the logo and the cart get columns of the same width on
   either side of it. Centred between them alone, the wider logo pushed it some 38 px aside. The logo keeps its own
   width, so the empty space beside it is not a link to the start page. */
@media (min-width: 992px) {
    .header .navbar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }
    .header .navbar > .navbar-brand { justify-self: start; }
    .header .navbar > .lbp-nav-cart { justify-self: end; }
}

/* The menu's "Posters" item (sketch 80; not .lbp-posters, the start page's example posters). From 992 px a button like
   the other menu links, with a small arrow like the language list's (its .dropdown-toggle brings the theme's padding and
   an absolute arrow), that opens a panel under the item, centred on it, one column per product: its card (small poster, name, one line),
   the birth poster's seven motifs or the star map's three shapes, and a button to its tool. Below 992 px, in the open
   menu, the word is a small heading and the two cards stand side by side without the rest (each card's page has it);
   they show whatever the button says, so [hidden] is overruled there. The pictures load when they first show. */
.lbp-menuposters__toggle {
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
}
.lbp-menuposters__toggle::after {
    content: "";
    display: inline-block;
    margin-right: .35em;
    vertical-align: .2em;
    border-top: .3em solid;
    border-left: .3em solid transparent;
    border-right: .3em solid transparent;
}
.lbp-menuposters__card {
    display: flex;
    align-items: center;
    gap: .9rem;
    color: #222;
    text-decoration: none;
}
.lbp-menuposters__card:hover,
.lbp-menuposters__card:focus-visible { color: #222; }
.lbp-menuposters__card:hover b { text-decoration: underline; text-underline-offset: 3px; }
.lbp-menuposters__text b {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}
.lbp-menuposters__text span {
    display: block;
    margin-top: .15rem;
    color: #6b6b6b;
    font-size: .84rem;
    line-height: 1.4;
}
/* The small poster: white, the motif and two grey lines for the words at the foot, as the tool's cards. */
.lbp-menuposters__mini {
    position: relative;
    display: block;
    flex: none;
    width: 62px;
    height: 87px;
    background: #fff;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, .2);
}
.lbp-menuposters__mini img {
    position: absolute;
    right: 50%;
    top: 8px;
    width: auto;
    height: 54px;
    transform: translateX(50%);
}
.lbp-menuposters__mini i {
    position: absolute;
    right: 50%;
    bottom: 10px;
    width: 30px;
    height: 2px;
    background: #333;
    transform: translateX(50%);
}
.lbp-menuposters__mini i.short {
    bottom: 6px;
    width: 40px;
    height: 1px;
    background: #999;
}
.lbp-menuposters__mini--xs {
    width: 30px;
    height: 42px;
    box-shadow: -1px 1px 4px rgba(0, 0, 0, .2);
}
.lbp-menuposters__mini--xs img {
    top: 5px;
    height: 28px;
}
.lbp-menuposters__mini--landscape {
    width: 42px;
    height: 30px;
}
.lbp-menuposters__mini--landscape img {
    top: 6px;
    width: 34px;
    height: auto;
}
/* A star map's small poster is its whole print file (the sky, the place and the words), so it fills the paper. */
.lbp-menuposters__mini--print img {
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
}
/* The owner's note on sketch 80: in the phone's open menu a card shows its pictures in turn (Default.js), one at a time;
   the first one without a script, for a visitor who asks for less motion, and from 992 px, where the others never load. */
.lbp-menuposters__mini[data-cycle] img {
    opacity: 0;
    transition: opacity .2s;
}
.lbp-menuposters__mini[data-cycle] img.is-shown { opacity: 1; }
.lbp-menuposters__kicker {
    display: block;
    margin-bottom: .45rem;
    color: #868e96;
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.lbp-menuposters__motifs ul,
.lbp-menuposters__shapes ul {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lbp-menuposters__motifs a,
.lbp-menuposters__shapes a { display: block; }
.lbp-menuposters__motifs a:hover .lbp-menuposters__mini,
.lbp-menuposters__motifs a:focus-visible .lbp-menuposters__mini,
.lbp-menuposters__shapes a:hover .lbp-menuposters__mini,
.lbp-menuposters__shapes a:focus-visible .lbp-menuposters__mini { outline: 1.5px solid #4b8e8d; }
.lbp-menuposters__cta {
    justify-self: start;
    padding: .6rem .95rem;
    background: #ffe7d1;
    color: #222;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
}
.lbp-menuposters__cta:hover,
.lbp-menuposters__cta:focus-visible { background: #fbdcc0; color: #222; }
/* The gift card where it is sold (PostersMenuTemplate.php): a row under the posters with the tool's small card, the
   coloured field with the motif, a line and the code's box (the tool's .lbp-mini-poster--gift at this size). */
.lbp-menuposters__field {
    position: absolute;
    inset: 3px 3px auto;
    height: 57px;
    background: #fac5b3;
}
.lbp-menuposters__gift img {
    top: 6px;
    height: 44px;
}
.lbp-menuposters__gift i {
    bottom: 20px;
    width: 33px;
    height: 1px;
}
.lbp-menuposters__code {
    position: absolute;
    right: 4px;
    left: 12px;
    bottom: 7px;
    height: 8px;
    border: 1px solid #333;
    border-radius: 1px;
}
/* The own photo poster where its switch is on (design sketch 91): the tool's choice card at this size, the lying motif in
   the warm, soft photo area with the ruler under it (.lbp-mini-photo, .lbp-mini-ruler). */
.lbp-menuposters__mini .lbp-menuposters__photo {
    position: absolute;
    right: 7%;
    left: 7%;
    top: 8%;
    height: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26% / 20%;
    background: #ffe7d1;
}
.lbp-menuposters__card .lbp-menuposters__mini .lbp-menuposters__photo img {
    position: static;
    width: 86%;
    height: auto;
    transform: none;
}
.lbp-menuposters__ruler {
    position: absolute;
    right: 12%;
    left: 12%;
    top: 67%;
    height: 4%;
    border-top: 1px solid #868e96;
    background: repeating-linear-gradient(to left, #868e96 0 1px, transparent 1px 10%);
}
@media (min-width: 992px) {
    .lbp-menuposters { position: relative; }
    .lbp-menuposters__label { display: none; }
    /* Under the item, with a strip over the gap so the pointer never leaves the item on its way down. */
    .lbp-menuposters__panel {
        position: absolute;
        top: calc(100% + .6rem);
        right: 50%;
        z-index: 1000;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 18.75rem;
        grid-template-rows: repeat(3, auto);
        gap: 0 1.75rem;
        padding: 1.4rem 1.5rem 1.3rem;
        background: #fff;
        border: 1px solid #e3e3e3;
        border-radius: 6px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
        text-align: start;
        transform: translateX(50%);
    }
    .lbp-menuposters__panel::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 100%;
        right: 0;
        height: .7rem;
    }
    /* The columns share the panel's three rows (the card, the row of pictures, the button), so each row starts at the
       same height in both and the buttons stand level whatever the words' length (the owner's note of 2026-11-27);
       the card and the pictures keep their own height at the top of their row. Without subgrid a column keeps its
       own rows, as before. */
    .lbp-menuposters__col {
        display: grid;
        grid-row: 1 / span 3;
        grid-template-rows: subgrid;
        align-content: start;
        align-items: start;
        gap: .95rem;
    }
    /* A button whose words wrap (about a third of the languages, one column or the other) makes both as tall, its
       words in the middle. */
    .lbp-menuposters__cta {
        display: flex;
        align-items: center;
        align-self: stretch;
    }
    .lbp-menuposters__col + .lbp-menuposters__col {
        padding-right: 1.75rem;
        border-right: 1px solid #e3e3e3;
    }
    /* Across the two posters' columns, under them: placed on both axes, so the columns keep the first row. */
    .lbp-menuposters__gift {
        grid-row: 4;
        grid-column: 1 / 3;
        margin-top: 1.1rem;
        padding-top: 1.1rem;
        border-top: 1px solid #e3e3e3;
    }
    /* Three posters (the own photo poster's column, design sketch 91): about 1,000 px, more than fits centred on the item
       (at 350-422 px of 992), so the panel centres on the menu's bar instead, which spans the screen: the item keeps
       its own place, the panel's top follows the item (top: auto) and the strip over the gap still meets it. The own
       photo poster has no row of pictures, so its button is placed in the third row; the gift card's row spans the
       three columns. */
    .lbp-menuposters--three { position: static; }
    .lbp-menuposters--three .lbp-menuposters__panel {
        top: auto;
        margin-top: .6rem;
    }
    .lbp-menuposters__col--photo .lbp-menuposters__cta { grid-row: 3; }
    .lbp-menuposters--three .lbp-menuposters__gift { grid-column: 1 / 4; }
    .lbp-menuposters__mini[data-cycle] img:not(:first-child) { display: none; }
    /* Also when the screen turns past 992 px while a card is turning its pictures. */
    .lbp-menuposters__mini[data-cycle] img:first-child { opacity: 1; }
}
/* Below 1200 px the three columns take about 940 px together: the birth poster's 18rem keeps its seven motifs on one
   row (282 px), the other two 17rem. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .lbp-menuposters--three .lbp-menuposters__panel { grid-template-columns: 18rem 17rem 17rem; }
}
@media (max-width: 991.98px) {
    .lbp-menuposters {
        width: 100%;
        max-width: 22rem;
        margin: .25rem 0 .5rem;
    }
    .lbp-menuposters__toggle,
    .lbp-menuposters__motifs,
    .lbp-menuposters__shapes,
    .lbp-menuposters__cta { display: none; }
    .lbp-menuposters__label {
        display: block;
        margin: .5rem 0;
        color: #868e96;
        font-size: .72rem;
        letter-spacing: .22em;
        text-align: center;
        text-transform: uppercase;
    }
    .lbp-menuposters__panel,
    .lbp-menuposters__panel[hidden] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .6rem;
    }
    .lbp-menuposters__col { display: grid; }
    .lbp-menuposters__card {
        flex-direction: column;
        gap: .4rem;
        padding: .8rem .5rem .7rem;
        border: 1px solid #e3e3e3;
        border-radius: 8px;
        text-align: center;
    }
    .lbp-menuposters__card .lbp-menuposters__mini {
        width: 44px;
        height: 62px;
    }
    .lbp-menuposters__card .lbp-menuposters__mini img {
        top: 6px;
        height: 38px;
    }
    .lbp-menuposters__card .lbp-menuposters__mini--print img {
        top: 0;
        height: 100%;
    }
    .lbp-menuposters__card .lbp-menuposters__mini i { bottom: 7px; width: 22px; }
    .lbp-menuposters__card .lbp-menuposters__mini i.short { bottom: 4px; width: 28px; }
    .lbp-menuposters__text b { font-size: .95rem; }
    .lbp-menuposters__text span { font-size: .78rem; }
    /* With the own photo poster (three posters) every card is a row of its own, its picture at the start (the owner's
       ask of 2026-12-02), as the gift card's row always is; two posters keep their two cards side by side. */
    .lbp-menuposters--three .lbp-menuposters__panel { grid-template-columns: minmax(0, 1fr); }
    .lbp-menuposters--three .lbp-menuposters__card,
    .lbp-menuposters__gift {
        grid-column: 1 / -1;
        flex-direction: row;
        gap: .8rem;
        padding: .6rem .9rem;
        text-align: start;
    }
    .lbp-menuposters__field {
        inset: 2px 2px auto;
        height: 40px;
    }
    .lbp-menuposters__gift .lbp-menuposters__mini img {
        top: 4px;
        height: 31px;
    }
    .lbp-menuposters__gift .lbp-menuposters__mini i { bottom: 14px; }
    .lbp-menuposters__code {
        right: 3px;
        left: 9px;
        bottom: 5px;
        height: 6px;
    }
}

/* The cookie banner, sketch 58 B: a question as the heading, three choices of the same weight (no, statistics only,
   everything) in a row on a computer and stacked on a phone, the one nearest the thumb last. The settings end with
   no, save and everything. */
#cc-main .cm__title,
#cc-main .pm__title {
    font-size: 1.2rem;
    letter-spacing: 0;
    text-transform: none;
    color: #212529;
}
#cc-main .lbp-cc-note {
    display: block;
    margin-top: .5rem;
    font-size: .78rem;
    color: #6c757d;
}
#cc-main .cm .cm__btn-group:first-child,
#cc-main .pm__footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#cc-main .cm .cm__btn-group .cm__btn,
#cc-main .pm .pm__btn-group .pm__btn {
    min-height: 3rem;
    font-size: .85rem;
    letter-spacing: 0;
    text-transform: none;
}
#cc-main .cm [data-role="statistics"] { order: 0; }
#cc-main [data-role="all"] { order: 1; }
@media (min-width: 641px) {
    #cc-main .cm,
    #cc-main .pm { width: 28.75rem !important; }
}
@media (max-width: 640px) {
    #cc-main .pm__footer { grid-template-columns: minmax(0, 1fr); }
}
/* Sketch 82: on a phone the box is a low strip along the bottom: the question in bold running into what a yes means,
   a grey line on changing one's mind with the company's name, the three choices side by side, then "Choose yourself"
   and the policy. Consent.js writes both texts; the computer shows the box's (.lbp-cc-wide) as before. The three
   sentences the strip leaves out open "Choose yourself" (.lbp-cc-more). The library's own phone rules are
   !important, so some of these are too. */
#cc-main .lbp-cc-narrow,
#cc-main .lbp-cc-more { display: none; }
@media (max-width: 640px) {
    #cc-main .lbp-cc-wide { display: none; }
    #cc-main .lbp-cc-narrow { display: inline; }
    #cc-main .cm {
        border-top-width: 2px;
        box-shadow: 0 -4px 16px rgba(33, 37, 41, .12);
    }
    #cc-main .cm__texts {
        display: block;
        padding: 8px 12px 0;
        font-size: .8125rem;
        line-height: 1.33;
        color: #212529;
    }
    #cc-main .cm__title,
    #cc-main .cm__desc {
        display: inline;
        margin: 0;
        padding: 0 !important;
        max-height: none;
        overflow: visible;
        font-size: inherit;
        line-height: inherit;
        color: inherit;
    }
    #cc-main .cm__title {
        font-weight: 700;
        margin-inline-end: .25em;
    }
    #cc-main .lbp-cc-note {
        margin-top: 4px;
        font-size: .75rem;
        line-height: 1.25;
    }
    #cc-main .lbp-cc-who { white-space: nowrap; }
    #cc-main .cm__btns {
        padding: 6px 12px 7px !important;
        border-top: 0 !important;
    }
    #cc-main .cm .cm__btn-group:first-child { gap: 6px; }
    #cc-main .cm .cm__btn-group .cm__btn {
        min-height: 2.75rem;
        padding: 3px 4px;
        font-size: .78rem;
        line-height: 1.1;
        overflow-wrap: break-word;
    }
    /* A choice breaks between words only, except in the languages where one of its words is wider than the button
       at 360 px (tests/e2e/consent-strip.e2e.js measures it in a phone's fonts and keeps this list true): there a
       phone hyphenates the word. Test browsers without hyphenation dictionaries break it anywhere instead. */
    #cc-main .cm .cm__btn-group .cm__btn:lang(hy) { hyphens: auto; }
    #cc-main .cm__btn-group + .cm__btn-group { margin: 4px 0 0 !important; }
    #cc-main .cm .cm__btn-group .cm__btn[data-role="show"],
    #cc-main .cm__footer {
        font-size: .75rem;
        line-height: 1.15;
    }
    #cc-main .cm__footer { bottom: 7px; left: 12px; }
    #cc-main .pm .lbp-cc-more:not([hidden]) {
        display: block;
        margin: 0;
        padding: 0 0 .7rem;
        font-size: .78rem;
        color: #6c757d;
    }
    /* The tool's add-to-cart bar stands above the strip while it shows (Consent.js writes the strip's height on the
       tool's column), and a focused field scrolls clear of both. */
    html.show--consent .lovely-print-tool .tool > .lbp-cta { bottom: var(--lbp-cc-height, 0px); }
    html.show--consent .lovely-print-tool .tool * { scroll-margin-bottom: var(--lbp-cc-height, 0px); }
}

/* ---- The poster tool in three steps (design sketch 61, alternative B; owner's "ja" 2026-11-03) ----
   The tool column is a step bar (motif, colour and frame, details) over one white card; every motif, colour and
   frame is a picture, the chosen one ringed in teal and named at the section's heading. The poster follows the page
   on a wide screen; on a phone it sits fixed at the top and the add-to-cart button fixed at the bottom. The old
   tabbed rules in Style.min.css (.tabs, .setting) are not used here. */
body .lovely-print-tool > .row .lbp-tool-row {
  align-items: flex-start;
}
body .lovely-print-tool > .row .preview:not(.zoom) {
  position: sticky;
  top: 16px;
}
/* The magnifier sits on the upper corner of the poster that is shown (the owner, 2026-11-08), in either orientation
   and with any frame, instead of the theme's place beside the poster's top. */
/* The magnifier and the zoom's cross are buttons: the theme's rules draw them, the icon stays a block as it was. */
.lovely-print-tool .preview .zoom-btn,
.lovely-print-tool .preview .close-zoom-btn {
  font: inherit;
  line-height: 1;
}
.lovely-print-tool .preview .zoom-btn > .material-icons,
.lovely-print-tool .preview .close-zoom-btn > .material-icons {
  display: block;
}
body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster > .zoom-btn {
  inset: auto;
  top: -15px;
  inset-inline-end: -15px;
  z-index: 3;
}
/* The theme gives the poster its height as a percentage padding, which follows the column's width; here the height
   follows the width through the paper's ratio, so the width can be capped by the screen's height next to the card
   (the column is sticky, and a taller poster would never show its bottom line while the card scrolls) and fixed on
   a phone. The zoom sets its own inline size. */
body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster {
  height: auto;
  padding-bottom: 0;
}
body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.portrait {
  aspect-ratio: 50 / 70;
}
body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.portrait.large {
  aspect-ratio: 70 / 100;
}
body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.landscape {
  aspect-ratio: 70 / 50;
}
body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.landscape.large {
  aspect-ratio: 100 / 70;
}
@media (min-width: 992px) {
  body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.portrait {
    max-width: calc((100vh - 120px) * 50 / 70);
  }
  body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.portrait.large {
    max-width: calc((100vh - 120px) * 70 / 100);
  }
  body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.landscape {
    max-width: calc((100vh - 120px) * 70 / 50);
  }
  body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.landscape.large {
    max-width: calc((100vh - 120px) * 100 / 70);
  }
}
/* The price stands on the button (sketch 61), not in a circle on the poster. */
body .lovely-print-tool > .row .preview .price-tag {
  display: none;
}
.lovely-print-tool .lbp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 80px;
}
.lovely-print-tool .lbp-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 6px;
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  background: #ffe7d1;
  color: #222;
  font: inherit;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}
.lovely-print-tool .lbp-step i {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #222;
  border-radius: 50%;
  font-size: .7rem;
  font-style: normal;
}
.lovely-print-tool .lbp-step.active {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-bottom-color: #fff;
}
.lovely-print-tool .lbp-step.done i {
  border-color: #4b8e8d;
  background: #4b8e8d;
  color: #fff;
}
.lovely-print-tool .lbp-step:hover {
  background: #e8dcd3;
}
.lovely-print-tool .lbp-step.active:hover {
  background: #fff;
}
.lovely-print-tool .lbp-card {
  padding: 10px 18px 16px;
  border: 1px solid #e6e6e6;
  border-top: 0;
  background: #fff;
  text-transform: none;
}
.lovely-print-tool .lbp-pane[hidden],
.lovely-print-tool .lbp-pills[hidden],
.lovely-print-tool [data-baby-index][hidden],
.lovely-print-tool .lbp-tile .lbp-tile-pic[hidden],
.lovely-print-tool .lbp-chip-group[hidden],
.lovely-print-tool .lbp-chip[hidden],
.lovely-print-tool .lbp-nav button[hidden] {
  display: none;
}
.lovely-print-tool .lbp-section {
  padding: 6px 0 9px;
  border-bottom: 1px solid #f0f0f0;
}
.lovely-print-tool .lbp-section--last {
  border-bottom: 0;
}
.lovely-print-tool .lbp-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 7px;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}
.lovely-print-tool .lbp-label-end {
  white-space: nowrap;
}
.lovely-print-tool .lbp-value {
  margin-inline-start: auto;
  color: #6b6b6b;
  font-weight: 400;
  text-align: end;
  text-transform: none;
}
/* The i-marks after "Background colour" and "Frame" (the tooltip's own class .tool-tip is styled in Style.min.css). */
.lovely-print-tool .lbp-label .tool-info {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-inline-start: 1px;
  padding: 0;
  border: 1px solid #868e96;
  border-radius: 50%;
  background: none;
  color: #495057;
  font: italic 600 11px/14px Georgia, serif;
  text-transform: none;
  vertical-align: 1px;
  cursor: pointer;
}
.lovely-print-tool .lbp-label .tool-info:hover,
.lovely-print-tool .lbp-label .tool-info:focus-visible {
  border-color: #495057;
  color: #222;
  outline: none;
  box-shadow: 0 0 0 2px rgba(73, 80, 87, .25);
}
/* Segmented buttons: the type, and the style, wreath and direction under the motifs (radio buttons styled as
   Bootstrap's btn-check), the size of a star map. */
.lovely-print-tool .lbp-seg {
  display: flex;
}
.lovely-print-tool .lbp-seg > .btn,
.lovely-print-tool .lbp-seg > button {
  flex: 1 1 0;
  height: 40px;
  margin: 0;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: #ffe7d1;
  color: #222;
  font: inherit;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lovely-print-tool .lbp-seg > .btn-check:checked + .btn,
.lovely-print-tool .lbp-seg > button[aria-pressed="true"] {
  background: #fff4ea;
  color: #222;
  box-shadow: inset 0 -2px 0 #4b8e8d;
}
.lovely-print-tool .lbp-seg > .btn:hover,
.lovely-print-tool .lbp-seg > button:hover,
.lovely-print-tool .lbp-seg > .btn-check:focus-visible + .btn,
.lovely-print-tool .lbp-seg > button:focus-visible {
  background: #e8dcd3;
  color: #396362;
}
.lovely-print-tool .lbp-seg.mini > .btn,
.lovely-print-tool .lbp-seg.mini > button {
  height: 30px;
  font-size: .72rem;
}
.lovely-print-tool .lbp-minis {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
/* The small labels inside a section (style, wreath, direction; the frame groups; the rows under "More") look like
   the fields' labels (.lbp-field: length, weight), one label style in the whole tool. */
.lovely-print-tool .lbp-minis small,
.lovely-print-tool .lbp-chip-group small {
  display: block;
  margin-bottom: 4px;
  color: #555;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: uppercase;
}
/* Twins and triplets: one pill per child above the motifs and above the details. */
.lovely-print-tool .lbp-pills {
  display: flex;
  gap: 6px;
  margin: 0 0 8px;
}
.lovely-print-tool .lbp-pill {
  padding: 3px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
}
.lovely-print-tool .lbp-pill[aria-pressed="true"] {
  border-color: #4b8e8d;
  background: #4b8e8d;
  color: #fff;
}
/* The motifs: a small white poster each, the drawing in the chosen style, the name under it. */
.lovely-print-tool .lbp-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
/* A tile is its picture over its name: the name has its own two lines under the picture, so a name that wraps
   (phones, long words) never runs over the drawing, and every tile in a row is as tall as the others. */
.lovely-print-tool .lbp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid #e3e3e3;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}
.lovely-print-tool .lbp-tile::before {
  content: none;
}
.lovely-print-tool .lbp-tile .lbp-tile-pic {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
}
.lovely-print-tool .lbp-tile img {
  position: absolute;
  right: 50%;
  top: 52%;
  width: auto;
  height: 80%;
  transform: translate(50%, -50%);
}
.lovely-print-tool .lbp-tile.landscape img {
  width: 82%;
  height: auto;
}
.lovely-print-tool .lbp-tile .lbp-tile-name {
  position: static;
  display: block;
  min-height: 2.3em;
  padding: 2px 3px 6px;
  color: #555;
  font-size: .68rem;
  line-height: 1.15;
  text-align: center;
}
.lovely-print-tool .lbp-tile[aria-pressed="true"] {
  border-color: #4b8e8d;
  box-shadow: 0 0 0 2px #4b8e8d;
}
.lovely-print-tool .lbp-tile:disabled {
  opacity: .3;
  cursor: not-allowed;
}
/* The background colours: round dots with their names. */
.lovely-print-tool .lbp-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 10px;
}
.lovely-print-tool .lbp-swatch {
  width: 62px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.lovely-print-tool .lbp-swatch i {
  display: block;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 1px solid #d3d3d3;
  border-radius: 50%;
}
.lovely-print-tool .lbp-swatch[aria-pressed="true"] i {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #4b8e8d;
}
.lovely-print-tool .lbp-swatch span,
.lovely-print-tool .lbp-chip span {
  display: block;
  margin-top: 4px;
  color: #555;
  font-size: .68rem;
  line-height: 1.15;
}
/* The hangers and frames: a small poster with the hanger's bars or the frame's edge drawn with the real pictures,
   in groups with a heading under each; what cannot be chosen is greyed with its reason (sketch 39). */
.lovely-print-tool .lbp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
/* A group's name stands at its start under its first picture, like every other label in the tool: centred, a name
   wider than its pictures (one aluminium frame) pushed the picture off the line the other groups start on. */
.lovely-print-tool .lbp-chip-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.lovely-print-tool .lbp-chip-row {
  display: flex;
  gap: 6px;
}
.lovely-print-tool .lbp-chip-group > small {
  margin: 0;
  text-align: start;
}
.lovely-print-tool .lbp-chip {
  position: relative;
  width: 58px;
  height: 94px;
  padding: 0;
  border: 1px solid #e3e3e3;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.lovely-print-tool .lbp-chip i {
  position: absolute;
  right: 9px;
  left: 9px;
  top: 10px;
  bottom: 30px;
  display: block;
  box-sizing: border-box;
  border: 1px solid #ececec;
  background: #fff;
}
.lovely-print-tool .lbp-chip i.frame {
  border: 5px solid transparent;
  border-image-slice: 48;
  border-image-width: 5px;
  border-image-repeat: round;
}
.lovely-print-tool .lbp-chip i.frame.wood-black { border-image-source: url("../Images/Frames/wood-black.png"); }
.lovely-print-tool .lbp-chip i.frame.wood-dark-wood { border-image-source: url("../Images/Frames/wood-dark-wood.png"); }
.lovely-print-tool .lbp-chip i.frame.wood-natural-wood { border-image-source: url("../Images/Frames/wood-natural-wood.png"); }
.lovely-print-tool .lbp-chip i.frame.wood-white { border-image-source: url("../Images/Frames/wood-white.png"); }
.lovely-print-tool .lbp-chip i.frame.aluminum-black { border-image-source: url("../Images/Frames/aluminum-black.png"); }
.lovely-print-tool .lbp-chip i.hanger b {
  position: absolute;
  right: -1px;
  left: -1px;
  height: 4px;
  background-size: 100% 100%;
}
.lovely-print-tool .lbp-chip i.hanger b:first-child { top: -2px; }
.lovely-print-tool .lbp-chip i.hanger b:last-child { bottom: -2px; }
.lovely-print-tool .lbp-chip i.hanger.black b:first-child { background-image: url("../Images/Hangers/black-top.jpg"); }
.lovely-print-tool .lbp-chip i.hanger.black b:last-child { background-image: url("../Images/Hangers/black-bottom.jpg"); }
.lovely-print-tool .lbp-chip i.hanger.dark-wood b:first-child { background-image: url("../Images/Hangers/dark-wood-top.jpg"); }
.lovely-print-tool .lbp-chip i.hanger.dark-wood b:last-child { background-image: url("../Images/Hangers/dark-wood-bottom.jpg"); }
.lovely-print-tool .lbp-chip i.hanger.natural-wood b:first-child { background-image: url("../Images/Hangers/natural-wood-top.jpg"); }
.lovely-print-tool .lbp-chip i.hanger.natural-wood b:last-child { background-image: url("../Images/Hangers/natural-wood-bottom.jpg"); }
.lovely-print-tool .lbp-chip i.hanger.white b:first-child { background-image: url("../Images/Hangers/white-top.jpg"); }
.lovely-print-tool .lbp-chip i.hanger.white b:last-child { background-image: url("../Images/Hangers/white-bottom.jpg"); }
.lovely-print-tool .lbp-chip span {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 6px;
  margin: 0;
  padding: 0 2px;
  font-size: .64rem;
  text-align: center;
}
.lovely-print-tool .lbp-chip[aria-pressed="true"] {
  border-color: #4b8e8d;
  box-shadow: 0 0 0 2px #4b8e8d;
}
.lovely-print-tool .lbp-chip.disabled,
.lovely-print-tool .lbp-chip:disabled {
  opacity: .35;
  cursor: not-allowed;
}
/* The reason a hanger or frame cannot be chosen is in the chip's title and read out; the chip has no room for it. */
.lovely-print-tool .lbp-chip .frames-why {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.lovely-print-tool .lbp-card .frames-notes .tool-note {
  margin: 12px 0 0;
}
.lovely-print-tool .lbp-card .setting-note {
  margin: 8px 0 0;
  color: #868e96;
  font-size: .875rem;
  line-height: 1.45;
}
/* The details: stacked fields, two to a row for length and weight, date and time. */
.lovely-print-tool .lbp-fields {
  display: grid;
  gap: 8px;
}
.lovely-print-tool .lbp-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lovely-print-tool .lbp-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  color: #555;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.lovely-print-tool .lbp-field .unit {
  text-transform: none;
}
/* The tool's text fields (Style.min.css's rules for the old panel's inputs went with the panel). */
.lovely-print-tool .lbp-field input,
.lovely-print-tool .lbp-field .form-control {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 36px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  background: #fff;
  color: #222;
  font-size: .9rem;
  line-height: 34px;
  letter-spacing: 0;
  text-transform: none;
}
.lovely-print-tool .lbp-field input:focus {
  outline: 2px solid #4b8e8d;
  outline-offset: -1px;
  box-shadow: none;
}
.lovely-print-tool .lbp-field input.invalid {
  border-color: #c0392b;
  box-shadow: inset 0 0 0 1px #c0392b;
}
.lovely-print-tool .lbp-field .lbp-two-inputs {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 6px;
}
/* Sketch 81 v6: the boxes "Show on the poster" under the name, the length and the weight, each a 44 px row to tap. A
   field left off the poster is grey and not asked for; the scale's box is grey without the length. */
.lovely-print-tool .lbp-col {
  display: grid;
  align-content: start;
  min-width: 0;
}
.lovely-print-tool .lbp-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  color: #222;
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.lovely-print-tool .lbp-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #4b8e8d;
}
.lovely-print-tool .lbp-check q {
  font-weight: 700;
}
.lovely-print-tool .lbp-check--off {
  color: #6b6b6b;
  cursor: default;
}
.lovely-print-tool .lbp-field input:disabled {
  border-color: #dcdcdc;
  background: #f1efeb;
  color: #8a847c;
}
.lovely-print-tool .lbp-fields > .lbp-scale-note,
.lovely-print-tool .lbp-fields > .lbp-shown-note {
  margin: 0;
}
/* "More": the poster language, units and time, font and motif colour, folded (sketch 61). */
.lovely-print-tool .lbp-more {
  margin-top: 8px;
  font-size: .8125rem;
}
.lovely-print-tool .lbp-more > summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  color: #222;
  font-weight: 500;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}
.lovely-print-tool .lbp-more > summary::-webkit-details-marker {
  display: none;
}
.lovely-print-tool .lbp-more > summary::before {
  content: "\25B8";
  color: #4b8e8d;
  font-size: .7rem;
}
.lovely-print-tool .lbp-more[open] > summary::before {
  content: "\25BE";
}
.lovely-print-tool .lbp-more > summary span {
  color: #6b6b6b;
  font-weight: 400;
  text-transform: none;
}
.lovely-print-tool .lbp-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.lovely-print-tool .lbp-row > .lbp-key {
  color: #555;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.lovely-print-tool .lbp-row .lbp-dd {
  position: relative;
}
.lovely-print-tool .lbp-row .lbp-dd > .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  background: #fff;
  color: #222;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  text-align: start;
}
.lovely-print-tool .lbp-row .lbp-dd > .dropdown-toggle::after {
  margin-inline-start: 8px;
}
.lovely-print-tool .lbp-row .lbp-dd .dropdown-menu {
  max-height: 320px;
  overflow: auto;
  border-radius: 0;
  font-size: .85rem;
}
.lovely-print-tool .lbp-row .lbp-dd .dropdown-item {
  padding: 8px 12px;
  color: #222;
  text-transform: none;
}
.lovely-print-tool .lbp-row .lbp-dd .dropdown-item.disabled {
  color: #857a70;
}
.lovely-print-tool .lbp-row .lbp-dd .dropdown-item .font-missing {
  display: block;
  font-size: .75em;
}
/* "Units and time" is a box like the menus in the rows beside it (it was a thin peach strip). The theme's rule for
   the summary is as heavy as its selector, so this one names the same path. */
body .lovely-print-tool > .row .tool .settings .poster-units-summary,
.lovely-print-tool .lbp-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #222;
  font-size: .85rem;
  letter-spacing: 0;
  text-transform: none;
}
.lovely-print-tool .lbp-summary button,
.lovely-print-tool .poster-language-reset {
  padding: 0;
  border: 0;
  background: none;
  color: #4b8e8d;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
/* Under the language menu it explains: the rows' second column starts after 5 of 12 parts and the 8 px gap (the
   theme's rule pulled it out to the card's edge, under the label). */
body .lovely-print-tool > .row .tool .settings .poster-text-hint,
.lovely-print-tool .poster-text-hint {
  margin: -2px 0 6px;
  margin-inline-start: calc((100% - 8px) * 5 / 12 + 8px);
  padding: 0;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.45;
}
#poster-units-options[hidden] {
  display: none;
}
/* Under every step: back to the previous step when there is one, on to the next when there is one. */
.lovely-print-tool .lbp-nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding-top: 12px;
}
.lovely-print-tool .lbp-nav button {
  padding: 0;
  border: 0;
  background: none;
  color: #396362;
  font: inherit;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
[dir="rtl"] .lovely-print-tool .lbp-arrow {
  display: inline-block;
  transform: scaleX(-1);
}
/* The add-to-cart button, right under the card, the price at its end; sized as the add-to-cart row's theme rules
   sized it when it stood there (.add-to-cart .col-12 .btn, uppercase). */
.lovely-print-tool .lbp-cta {
  margin-top: 12px;
  text-transform: uppercase;
}
.lovely-print-tool .lbp-cta #send {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 500;
}
/* The payment marks under the tool's button: one row, the marks scaled down together to fit the column, never one or
   two left alone on a second line (the checkout and the footer keep their wrapping row). */
.lovely-print-tool .lbp-pay {
  flex-wrap: nowrap;
  gap: clamp(6px, 1.6vw, 12px);
}
.lovely-print-tool .lbp-pay > li {
  flex: 0 1 auto;
  min-width: 0;
}
.lovely-print-tool .lbp-pay img {
  max-width: 100%;
  height: auto;
}
/* The price keeps its case on the capital button: "559 kr", as every other price is printed. */
.lovely-print-tool .lbp-cta #send .price-tag {
  text-transform: none;
  margin-inline-start: auto;
  font-weight: 500;
  letter-spacing: 0;
}
/* The heart and the tick stand in the gap after the label, on a zero-width anchor: the label and the price do not
   move, in any language. The theme placed them for a centred label, which is where this button's label now starts. */
.lovely-print-tool .lbp-cta #send .loader-container {
  position: relative;
  inset: auto;
  width: 0;
  height: 0;
  margin-inline-start: 16px;
  transform: none;
}
.lovely-print-tool .lbp-cta #send .loader-container .loader {
  position: absolute;
  inset: auto;
  inset-inline-start: 0;
  top: -11px;
  transform-origin: center;
}
/* The heart is a turned square with two circles on it, so its box says nothing about where it is drawn: this puts the
   drawn shape on the button's centre line, and tests/e2e/tool-steps.e2e.js measures its pixels. */
.lovely-print-tool .lbp-cta #send .loader-container .loader div {
  top: 5.6px;
  right: 5.6px;
}
.lovely-print-tool .lbp-cta #send .loader-container .success {
  inset: auto;
  inset-inline-start: 0;
  top: -11px;
  font-size: 22px;
  line-height: 1;
}
/* Zoomed, the poster keeps its own proportions, centred: PosterTool._onZoom sizes it to fit both ways. */
body .lovely-print-tool > .row .lbp-tool-row .preview.zoom .poster {
  flex: 0 0 auto;
  align-self: center;
}
@media (max-width: 991.98px) {
  /* The poster fixed at the top of the screen (about 40 % of it), the panel scrolling under it; the button fixed at
     the bottom. The row is a flex row, so the poster column is ordered first without moving it in the HTML. */
  body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) {
    order: -1;
    position: sticky;
    top: 0;
    z-index: 8;
    padding: 4px 16px 12px;
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  }
  /* The zoom on a phone or a tablet, where the poster is small: the theme hid the button below 992 px. It stands on
     the poster's upper corner as on a wide screen, a little closer in, and big enough for a thumb. The theme's 9 px
     padding leaves 18 px inside a 44 px button for the 24 px icon, so the icon is centred by the grid instead. */
  body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster > .zoom-btn {
    display: grid;
    place-items: center;
    padding: 0;
    top: -12px;
    inset-inline-end: -12px;
    width: 44px;
    height: 44px;
  }
  /* Zoomed there, the size label would take width from the poster in the flex row. */
  body .lovely-print-tool > .row .lbp-tool-row .preview.zoom .dimensions-tag {
    display: none;
  }
  body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .dimensions-tag {
    height: 28px;
    padding: 0;
    font-size: 15px;
    line-height: 28px;
  }
  /* The poster is 36 % of the screen's height tall, never smaller than 170 x 238 px (portrait) or 238 x 170 px
     (landscape) and never wider than the column; the width is set and the height follows through the ratio above.
     The fixed width first, for a browser without svh. */
  body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.portrait {
    width: 170px;
    width: clamp(170px, 36svh * 50 / 70, 100%);
  }
  body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster.landscape {
    width: 238px;
    width: clamp(238px, 36svh * 70 / 50, 100%);
  }
  .lovely-print-tool .lbp-steps {
    height: 52px;
  }
  .lovely-print-tool .lbp-step {
    gap: 5px;
    padding: 0 4px;
    font-size: .62rem;
    line-height: 1.15;
    letter-spacing: 0;
  }
  .lovely-print-tool .lbp-step i {
    width: 18px;
    height: 18px;
    font-size: .6rem;
  }
  .lovely-print-tool .lbp-card {
    padding: 8px 12px 14px;
  }
  .lovely-print-tool .lbp-tiles {
    gap: 8px;
  }
  .lovely-print-tool .lbp-chips {
    gap: 12px;
  }
  .lovely-print-tool .lbp-minis {
    grid-template-columns: 1fr 1fr;
  }
  .lovely-print-tool .lbp-minis > div:first-child {
    grid-column: 1 / -1;
  }
  /* One layer below the fixed poster (8): at the end of the card the bar slides under the poster like the rest of the
     card, instead of across it (test round 2026-11-08). */
  .lovely-print-tool .tool > .lbp-cta {
    position: sticky;
    bottom: 0;
    z-index: 7;
    margin: 0 -12px;
    padding: 8px 12px 6px;
    background: #f5f5f5;
  }
}

/* ---- Two tools on one page (design sketch 61, switch B) ---------------------------------------------------- */
/* Which tool this is, and the way back to the two cards, above the step bar. */
.lovely-print-tool .lbp-switch {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: .8125rem;
  text-transform: none;
}
.lovely-print-tool .lbp-switch span {
  color: #555;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.lovely-print-tool .lbp-switch a {
  color: #396362;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* The two cards: a small poster each, its name and one line; the whole card is the link. */
.lovely-print-tool .lbp-choose {
  max-width: 640px;
  margin: 0 auto;
}
.lovely-print-tool .lbp-choose-card {
  padding: 18px 20px 22px;
}
.lovely-print-tool .lbp-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
.lovely-print-tool .lbp-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 14px 16px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
  color: #222;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: border-color .15s, box-shadow .15s;
}
.lovely-print-tool .lbp-choice:hover,
.lovely-print-tool .lbp-choice:focus-visible {
  border-color: #4b8e8d;
  box-shadow: 0 0 0 2px #4b8e8d;
  color: #222;
  outline: none;
}
.lovely-print-tool .lbp-choice b {
  margin-top: 8px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.lovely-print-tool .lbp-choice > span:last-child {
  color: #555;
  font-size: .8125rem;
  line-height: 1.45;
}
/* The small poster: white, with the motif or the sky, and two grey lines for the words at the foot. */
.lovely-print-tool .lbp-mini-poster {
  position: relative;
  display: block;
  width: 120px;
  height: 168px;
  background: #fff;
  box-shadow: -3px 3px 10px rgba(0, 0, 0, .25);
}
.lovely-print-tool .lbp-mini-poster img {
  position: absolute;
  right: 50%;
  top: 14px;
  height: 116px;
  width: auto;
  transform: translateX(50%);
}
.lovely-print-tool .lbp-mini-poster--sky img {
  top: 18px;
  width: 92px;
  height: 92px;
}
.lovely-print-tool .lbp-mini-poster i {
  position: absolute;
  right: 50%;
  bottom: 14px;
  width: 54px;
  height: 3px;
  background: #333;
  transform: translateX(50%);
}
.lovely-print-tool .lbp-mini-poster i.short {
  bottom: 8px;
  width: 70px;
  height: 2px;
  background: #999;
}
@media (max-width: 575.98px) {
  .lovely-print-tool .lbp-choices {
    grid-template-columns: 1fr;
  }
}

/* ---- The gift card (design sketch 73 v3), only where gift cards are sold (GiftCard\Sales) ------------------- */
/* Section 1: three cards, 940 px wide; on a phone they are rows with a smaller picture, so all three are seen. */
.lovely-print-tool .lbp-choose--three {
  max-width: 940px;
}
.lovely-print-tool .lbp-choose--three .lbp-choices {
  grid-template-columns: 1fr 1fr 1fr;
}
/* The gift card as a small card: the coloured field with the motif, a line, and the box with the code. */
.lovely-print-tool .lbp-mini-gift-field {
  position: absolute;
  right: 5px;
  top: 5px;
  left: 5px;
  height: 110px;
  background: #fac5b3;
}
.lovely-print-tool .lbp-mini-poster--gift img {
  top: 12px;
  height: 86px;
}
.lovely-print-tool .lbp-mini-poster--gift i {
  bottom: 38px;
  width: 64px;
  height: 2px;
}
.lovely-print-tool .lbp-mini-gift-code {
  position: absolute;
  right: 8px;
  left: 24px;
  bottom: 14px;
  height: 15px;
  border: 1px solid #333;
  border-radius: 2px;
}
@media (max-width: 575.98px) {
  .lovely-print-tool .lbp-choose--three .lbp-choices {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .lovely-print-tool .lbp-choose--three .lbp-choice {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 3px 14px;
    padding: 12px 14px;
    text-align: start;
  }
  .lovely-print-tool .lbp-choose--three .lbp-choice .lbp-mini-poster {
    grid-row: 1 / 3;
    width: 64px;
    height: 90px;
    box-shadow: -2px 2px 6px rgba(0, 0, 0, .22);
  }
  .lovely-print-tool .lbp-choose--three .lbp-choice b {
    align-self: end;
    margin: 0;
  }
  .lovely-print-tool .lbp-choose--three .lbp-choice > span:last-child {
    align-self: start;
  }
  .lovely-print-tool .lbp-choose--three .lbp-mini-poster img {
    top: 7px;
    height: 62px;
  }
  .lovely-print-tool .lbp-choose--three .lbp-mini-poster--sky img {
    top: 9px;
    width: 50px;
    height: 50px;
  }
  .lovely-print-tool .lbp-choose--three .lbp-mini-poster i {
    bottom: 8px;
    width: 29px;
    height: 2px;
  }
  .lovely-print-tool .lbp-choose--three .lbp-mini-poster i.short {
    bottom: 4px;
    width: 38px;
    height: 1px;
  }
  .lovely-print-tool .lbp-choose--three .lbp-mini-gift-field {
    right: 3px;
    top: 3px;
    left: 3px;
    height: 59px;
  }
  .lovely-print-tool .lbp-choose--three .lbp-mini-poster--gift img {
    top: 6px;
    height: 47px;
  }
  .lovely-print-tool .lbp-choose--three .lbp-mini-poster--gift i {
    bottom: 21px;
    width: 34px;
    height: 1px;
  }
  .lovely-print-tool .lbp-choose--three .lbp-mini-gift-code {
    right: 5px;
    left: 13px;
    bottom: 7px;
    height: 8px;
  }
}
/* ---- The own photo poster's card (design sketch 91), only where its switch is on (OwnPhoto\Sales) ------------------ */
/* A small poster: the warm, soft-shaped photo area with the shop's own lying newborn, and a thin ruler under it along
   the baby's length. Sizes are shares of the poster, so the phone's smaller poster needs no rules of its own; the baby is
   centred by flex, not by left and a transform, so right to left needs none either. Four cards (with the gift card):
   four in a row on a computer, two by two on a tablet, rows on a phone like three. */
.lovely-print-tool .lbp-mini-photo {
  position: absolute;
  right: 7%;
  left: 7%;
  top: 8%;
  height: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 26% / 20%;
  background: #ffe7d1;
}
.lovely-print-tool .lbp-mini-poster--photo .lbp-mini-photo img {
  position: static;
  width: 86%;
  height: auto;
  transform: none;
}
.lovely-print-tool .lbp-mini-ruler {
  position: absolute;
  right: 12%;
  left: 12%;
  top: 67%;
  height: 4%;
  border-top: 1px solid #868e96;
  background: repeating-linear-gradient(to left, #868e96 0 1px, transparent 1px 10%);
}
.lovely-print-tool .lbp-choose--four {
  max-width: 1120px;
}
.lovely-print-tool .lbp-choose--four .lbp-choices {
  grid-template-columns: repeat(4, 1fr);
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .lovely-print-tool .lbp-choose--four .lbp-choices {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575.98px) {
  .lovely-print-tool .lbp-choose--four .lbp-choices {
    grid-template-columns: 1fr;
  }
}
/* Section 2, the tool: the value's buttons (two to a row, the amount of one's own across both). */
.lovely-print-tool .lbp-gc-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.lovely-print-tool .lbp-gc-value,
.lovely-print-tool .lbp-gc-delivery {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  background: #fff;
  color: #222;
  font: inherit;
  line-height: 1.3;
  text-align: start;
  text-transform: none;
  cursor: pointer;
}
.lovely-print-tool .lbp-gc-value b,
.lovely-print-tool .lbp-gc-delivery b {
  display: block;
  font-size: .95rem;
  font-weight: 600;
}
.lovely-print-tool .lbp-gc-value small,
.lovely-print-tool .lbp-gc-delivery small {
  display: block;
  color: #555;
  font-size: .75rem;
}
.lovely-print-tool .lbp-gc-value--own {
  grid-column: 1 / -1;
}
.lovely-print-tool .lbp-gc-value[aria-pressed="true"],
.lovely-print-tool .lbp-gc-delivery[aria-pressed="true"] {
  border-color: #4b8e8d;
  box-shadow: 0 0 0 1px #4b8e8d;
}
.lovely-print-tool .lbp-gc-value:focus-visible,
.lovely-print-tool .lbp-gc-delivery:focus-visible {
  outline: 2px solid #396362;
  outline-offset: 2px;
}
.lovely-print-tool .lbp-gc-own[hidden],
.lovely-print-tool .lbp-gc-error[hidden] {
  display: none;
}
.lovely-print-tool .lbp-gc-own {
  margin: 0 0 10px;
}
/* The amount reads as a price does, number and symbol left to right, on a right-to-left page too. */
.lovely-print-tool .lbp-gc-own-input {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 3px 0 4px;
  direction: ltr;
}
.lovely-print-tool .lbp-gc-own-input input {
  box-sizing: border-box;
  width: 9em;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  color: #222;
  font-size: .95rem;
  text-align: right;
}
.lovely-print-tool .lbp-gc-own-input input[aria-invalid="true"] {
  border-color: #b3261e;
}
.lovely-print-tool .lbp-gc-error {
  margin: 2px 0 6px;
  color: #b3261e;
  font-size: .8125rem;
  line-height: 1.4;
  text-transform: none;
}
.lovely-print-tool .lbp-gc-optional {
  color: #666;
  letter-spacing: 0;
  text-transform: none;
}
/* The picture "text only": the letters where the others have a drawing. */
.lovely-print-tool .lbp-gc-text-tile {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 1.4rem;
}
.lovely-print-tool .lbp-field .lbp-gc-greeting {
  height: auto;
  padding: 8px 10px;
  line-height: 1.45;
  resize: none;
}
.lovely-print-tool .lbp-gc-deliveries {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.lovely-print-tool .lbp-gc-delivery {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
}
.lovely-print-tool .lbp-gc-delivery em {
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.lovely-print-tool .lbp-gc-delivery small {
  grid-column: 1 / -1;
}
/* What the buyer must know before the purchase, where the posters' guarantee line stands. */
.lovely-print-tool .lbp-gc-terms {
  margin: 12px 4px 16px;
  color: #444;
  font-size: .8rem;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
}
/* The card, drawn by GiftCardTool.js at the mini poster's proportions (130 x 180). */
.lovely-print-tool .lbp-gc-preview {
  text-align: center;
}
.lovely-print-tool .lbp-gc-kind-name {
  margin: 0 0 12px;
  color: #666;
  font-size: 1.1rem;
}
.lovely-print-tool .lbp-gc-card {
  position: relative;
  width: 360px;
  max-width: 100%;
  aspect-ratio: 130 / 180;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
.lovely-print-tool .lbp-gc-card svg {
  display: block;
  width: 100%;
  height: 100%;
}
.lovely-print-tool .lbp-gc-kind {
  margin-top: 12px;
  color: #666;
  font-size: .8125rem;
}
@media (max-width: 991.98px) {
  .lovely-print-tool .lbp-gc-kind-name {
    margin-bottom: 8px;
    font-size: .875rem;
  }
  /* A third of the screen's height at the top, as the posters' preview. */
  .lovely-print-tool .lbp-gc-card {
    width: calc(min(34vh, 300px) * 130 / 180);
    height: min(34vh, 300px);
  }
  .lovely-print-tool .lbp-gc-kind {
    margin-top: 8px;
    font-size: .75rem;
  }
}

/* ---- The star map's tool (sketch 61) ------------------------------------------------------------------------ */
.lovely-print-tool .lbp-hint {
  margin: 0 0 10px;
  color: #6b6b6b;
  font-size: .8125rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}
.lovely-print-tool .lbp-coordinates {
  margin: 8px 0 0;
  min-height: 1.2em;
}
.lovely-print-tool .lbp-coordinates.is-problem {
  color: #c0392b;
}
/* Under the place or the typed coordinates, inside the fields' grid: the grid's gap is its margin. */
.lovely-print-tool .lbp-fields > .lbp-coordinates {
  margin: 0;
}
/* A length or a weight outside the limits, or an empty name when the cart asks for it: one line under the field, in
   the place note's colour. */
.lovely-print-tool .lbp-range,
.lovely-print-tool .lbp-name-note,
.lovely-print-tool .lbp-date-note,
.lovely-print-tool .lbp-time-note {
  margin: 6px 0 0;
  color: #c0392b;
}
.lovely-print-tool .lbp-range > span {
  display: block;
}
/* Sketch 66: the link between the place search and the coordinates. */
.lovely-print-tool .lbp-text-link {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: #2f6f6e;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
/* The place field and the list GeoNames fills under it. */
.lovely-print-tool .lbp-place {
  position: relative;
}
.lovely-print-tool .lbp-suggestions {
  position: absolute;
  right: 0;
  left: 0;
  top: 100%;
  z-index: 20;
  margin-top: 2px;
  padding: 4px 0;
  border: 1px solid #dcdcdc;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  text-transform: none;
  letter-spacing: 0;
}
.lovely-print-tool .lbp-suggestion {
  display: block;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  background: none;
  color: #222;
  font: inherit;
  font-size: .875rem;
  text-align: start;
  cursor: pointer;
}
.lovely-print-tool .lbp-suggestion:hover,
.lovely-print-tool .lbp-suggestion:focus-visible,
.lovely-print-tool .lbp-suggestion.active {
  background: #fff4ea;
  outline: none;
}
/* The size: two buttons like the type's. */
.lovely-print-tool #size button {
  flex: 1 1 0;
}
/* The star map's shape (sketch 71): three buttons, each with its shape on a small poster and its name under it. */
.lovely-print-tool .lbp-shapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lovely-print-tool .lbp-shapes > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px 6px;
  border: 1px solid #e3e3e3;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: .78rem;
  line-height: 1.2;
  cursor: pointer;
}
.lovely-print-tool .lbp-shapes > button[aria-pressed="true"] {
  border-color: #4b8e8d;
  box-shadow: 0 0 0 1px #4b8e8d;
}
.lovely-print-tool .lbp-shapes > button:hover,
.lovely-print-tool .lbp-shapes > button:focus-visible {
  border-color: #4b8e8d;
}
.lovely-print-tool .lbp-shapes svg {
  display: block;
  width: 38px;
  height: auto;
}
/* The place line's choice under the whole field: the sky's button greyed (the heading says why). */
.lovely-print-tool #place-line > button:disabled,
.lovely-print-tool #place-line > button:disabled:hover {
  background: #ffe7d1;
  color: #222;
  opacity: .35;
  cursor: default;
}
/* The colours under a sky that covers the whole field: shown, greyed and not chosen (the heading says why). */
.lovely-print-tool .lbp-swatches.is-covered .lbp-swatch {
  opacity: .35;
  cursor: default;
}

/* The star map on the poster, as PdfGenerator::addStarMap prints it: the disc is 45 % of the colour field's
   width, the group of disc, 14 mm gap and place line (18 pt) is centred in the field, the words at the foot are
   the name and the moment. The field's insets are the theme's (.inner-background); the numbers are the print's
   on a 50 × 70 (field 470 × 635 mm) and a 70 × 100 (670 × 935 mm). */
body .lovely-print-tool > .row .preview .poster.star-map .sky {
  position: absolute;
  right: 7.7%;
  top: 15.83%;
  width: 84.6%;
  aspect-ratio: 1;
}
body .lovely-print-tool > .row .preview .poster.star-map.large .sky {
  right: 6.93%;
  top: 17.08%;
  width: 86.14%;
}
body .lovely-print-tool > .row .preview .poster.star-map .sky svg {
  display: block;
  width: 100%;
  height: 100%;
}
body .lovely-print-tool > .row .preview .poster.star-map .place-line {
  position: absolute;
  right: 3%;
  left: 3%;
  top: 78.26%;
  overflow: hidden;
  color: #222;
  font-size: 1.27cqw;
  line-height: 1.25;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
/* On ink the place line is white, as the print has it (the pdf-generator's Poster::hasDarkBackground(), the owner
   2026-12-01) and as the birth poster's drawing turns white there, and in IBM Plex Sans Light rather than Thin, as the
   print sets white type there (StarMap::getPlaceLineFont()). PosterRenderer.js keeps the class with the colour. */
body .lovely-print-tool > .row .preview .poster.star-map.dark-field .place-line {
  color: #fff;
}
body .lovely-print-tool > .row .preview .poster.star-map.dark-field .place-line.ibm-plex-sans {
  font-family: "ibm-plex-sans-light", sans-serif;
}
body .lovely-print-tool > .row .preview .poster.star-map.large .place-line {
  right: 2.142857%;
  left: 2.142857%;
  top: 78.78%;
  font-size: .907cqw;
}
/* The square (sketch 71) takes the disc's box. The whole field: the sky is the colour field (15 mm in at the sides
   and top, 50 mm at the foot) with nothing written on it; the place joins the date line in the strip below
   (PosterRenderer's syncDataLinePlace, sketch 71 B), as the next rules lay out. */
body .lovely-print-tool > .row .preview .poster.star-map.shape-full .sky {
  right: 3%;
  top: 2.142857%;
  width: 94%;
  height: 90.714286%;
  aspect-ratio: auto;
}
body .lovely-print-tool > .row .preview .poster.star-map.shape-full.large .sky {
  right: 2.142857%;
  top: 1.5%;
  width: 95.714286%;
  height: 93.5%;
}
/* The place in the date line (sketch 71 B, chosen, or always over the whole field): no place line, and the disc or
   the square alone is centred in the field (50 × 70: 15 + (635 - 423) / 2 mm from the top; 70 × 100:
   15 + (935 - 603) / 2 mm). */
body .lovely-print-tool > .row .preview .poster.star-map.place-in-date-line .place-line {
  display: none;
}
body .lovely-print-tool > .row .preview .poster.star-map.place-in-date-line:not(.shape-full) .sky {
  top: 17.285714%;
}
body .lovely-print-tool > .row .preview .poster.star-map.large.place-in-date-line:not(.shape-full) .sky {
  top: 18.1%;
}
/* The place line in the poster's font, the data line's cut of it (as the theme gives .footer .date-time); on ink the
   name line's cut, Light (the dark-field rule above). Latin fonts only: the scripts' stylesheets (poster-*.css) have
   no place-line rules. */
body .lovely-print-tool > .row .preview .poster.star-map .place-line.ibm-plex-sans { font-family: "ibm-plex-sans-thin", sans-serif; }
body .lovely-print-tool > .row .preview .poster.star-map .place-line.comfortaa { font-family: "comfortaa-regular", sans-serif; }
body .lovely-print-tool > .row .preview .poster.star-map .place-line.vt323 { font-family: "vt323", sans-serif; }
body .lovely-print-tool > .row .preview .poster.star-map .place-line.special-elite { font-family: "special-elite", sans-serif; }
body .lovely-print-tool > .row .preview .poster.star-map .place-line.shadows-into-light-two { font-family: "shadows-into-light-two", sans-serif; }
body .lovely-print-tool > .row .preview .poster.star-map .place-line.patrick-hand { font-family: "patrick-hand", sans-serif; }
body .lovely-print-tool > .row .preview .poster.star-map .place-line.montserrat-underline { font-family: "montserrat-underline", sans-serif; }
body .lovely-print-tool > .row .preview .poster.star-map .place-line.covered-by-your-grace { font-family: "covered-by-your-grace", sans-serif; }
body .lovely-print-tool > .row .preview .poster.star-map .place-line.poiret-one { font-family: "poiret-one", sans-serif; }
/* The words at the foot: the name alone, and the date with the time; no scale, length or weight. */
body .lovely-print-tool > .row .preview .poster.star-map .footer .scale,
body .lovely-print-tool > .row .preview .poster.star-map .footer .length,
body .lovely-print-tool > .row .preview .poster.star-map .footer .weight,
body .lovely-print-tool > .row .preview .poster.star-map .footer .vertical-divider {
  display: none;
}

/* Sketch 81 v6: a part the customer left off the birth poster goes with the divider after it (PosterRenderer.js). The
   date left off goes alone, the time taking its place; with the time off too the moment is gone, and so is the divider
   before it (the weight's, or the length's when the weight is off as well). */
body .lovely-print-tool > .row .preview .poster .footer.lbp-no-length .length,
body .lovely-print-tool > .row .preview .poster .footer.lbp-no-length .length + .vertical-divider,
body .lovely-print-tool > .row .preview .poster .footer.lbp-no-weight .weight,
body .lovely-print-tool > .row .preview .poster .footer.lbp-no-weight .weight + .vertical-divider,
body .lovely-print-tool > .row .preview .poster .footer.lbp-no-date .date,
body .lovely-print-tool > .row .preview .poster .footer.lbp-no-moment .weight + .vertical-divider,
body .lovely-print-tool > .row .preview .poster .footer.lbp-no-moment.lbp-no-weight .length + .vertical-divider {
  display: none;
}

/* ---- The gift card in the cart and the checkout (docs/gift-cards.md 3.2) ---------------------------------------- */
/* The card as a small drawing (Templates/GiftCard/CartPictureTemplate.php): its colour field with the picture, a line
   and the code's box, at the card's proportions (130 x 180), in place of a poster's thumbnail. */
.lbp-gc-thumb {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 64px;
  aspect-ratio: 130 / 180;
  background: #fff;
  box-shadow: -1px 1px 5px rgba(0, 0, 0, .25);
}
.lbp-gc-thumb-field {
  position: absolute;
  inset: 4% 4% 32% 4%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lbp-gc-thumb-field img {
  max-width: 80%;
  max-height: 84%;
}
.lbp-gc-thumb--dark .lbp-gc-thumb-field img {
  filter: invert(1);
}
.lbp-gc-thumb i {
  position: absolute;
  right: 25%;
  bottom: 22%;
  width: 50%;
  height: 2px;
  background: #333;
}
.lbp-gc-thumb-code {
  position: absolute;
  right: 8%;
  left: 22%;
  bottom: 7%;
  height: 9%;
  border: 1px solid #333;
  border-radius: 2px;
}
.checkout-order .checkout-gift-card .lbp-gc-thumb {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 84px;
}
/* The tool's messages under its button: the cart is full, or why the card cannot go to the cart yet. */
.lovely-print-tool .lbp-gc-message {
  margin: 10px 4px 0;
  color: #444;
  font-size: .8125rem;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
}
.lovely-print-tool .lbp-gc-message--error {
  color: #b02a37;
}
/* A poster in the cart before its print file is made (design sketch 77). The picture's place is held at the
   poster's shape (its size stands on the element, CartItemTemplate and CheckoutTemplate, since this file loads after
   the first paint), in the paper's own tone, until SideCart.js puts the picture there; on the page that added the
   poster it holds the tool's own picture meanwhile (.cart-poster-copy, SideCart.posterCopy). */
img.poster-pending {
  background: #f3f1ee;
}
.cart-poster-copy {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  pointer-events: none;
}
.poster-zoom-open:disabled {
  cursor: default;
}
.poster-zoom-open:disabled .poster-zoom-label {
  visibility: hidden;
}

/* ---- The reviews by the buttons (design sketch 77, ReviewLine.php, ReviewLine.js) ---------------------------------- */
/* The calm line: one whole sentence of a review, the reviewer's first name and the source's mark, in the button's own
   size of type and never on two lines (ReviewLine.js shows the first review that fits). The whole line is one button
   that opens the sheet; the thin line under the name says so. It takes 28 px of the page; under the other pages'
   buttons its tap area reaches 16 px further down (44 in all), in the tool's bar and above the tool's cards (sketch 89,
   where the first card starts 12 px below it) it is the 28 px itself. */
.lbp-proof {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #222;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
}
.lbp-proof::after {
  content: "";
  position: absolute;
  inset: 0 0 -16px;
}
.lovely-print-tool .lbp-cta .lbp-proof::after,
.lovely-print-tool .lbp-choose-card .lbp-proof::after {
  content: none;
}
.lbp-proof--start {
  justify-content: flex-start;
}
.lbp-proof:focus-visible {
  outline: 2px solid #4b8e8d;
  outline-offset: 0;
  border-radius: 4px;
}
.lbp-proof[aria-busy="true"] {
  cursor: progress;
}
.lbp-proof__c {
  display: inline-flex;
  align-items: center;
  gap: 0 7px;
  max-width: 100%;
  overflow: hidden;
}
.lbp-proof__star {
  font-weight: 700;
}
.lbp-proof__by {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lbp-proof__by svg {
  flex: none;
  width: 13px;
  height: 13px;
}
.lbp-proof__who {
  color: #5c636a;
  text-decoration: underline;
  text-decoration-color: #b4bac0;
  text-underline-offset: 2px;
}
.lbp-proof:hover .lbp-proof__who {
  color: #222;
  text-decoration-color: currentColor;
}
/* The start page's words, when no review fits: these may be cut at the end, a review's sentence never is. */
.lbp-proof__by--all {
  min-width: 0;
}
.lbp-proof__who--all {
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Where the line stands: at the top of the start page's hero text (sketch 89, styled with the hero), under a centred
   button in a column, and under the buttons of a row (the motif and gift pages' buy column, the guides). */
.lbp-motif__actions > .lbp-proof {
  margin-top: -.75rem;
}
.lbp-sib__card .lbp-proof {
  margin-top: -.6rem;
}
/* In the tool's bar on a phone: the line above the button (in step 3 under the spelling hint), the bar 86 px high
   (114 with the hint) and the button 52; the bar never quite covers the field that has the focus. */
@media (max-width: 991.98px) {
  .lovely-print-tool .tool > .lbp-cta--proof {
    padding-top: 0;
  }
  .lovely-print-tool .tool > .lbp-cta--proof #send {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  /* Padding, not margin: the bar has none on top, so a margin would fall outside its grey. */
  .lovely-print-tool .tool > .lbp-cta--proof .spelling-hint {
    margin: 0;
    padding-top: 8px;
  }
  html:has(.lovely-print-tool .tool > .lbp-cta) {
    scroll-padding-bottom: 120px;
  }
}

/* The sheet the line opens: a modal dialog from the bottom over the controls (in the tool ReviewLine.js keeps the
   poster in view above it), the reviews scrolling inside it. */
html.lbp-sheet-open {
  overflow: hidden;
}
.lbp-sheet {
  --rv-star: #e9a93b;
  --rv-teal-ink: #2f6362;
  --rv-teal-wash: #e4f0ef;
  --rv-line: #ece4dc;
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  max-height: min(85svh, 680px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
  color: #222;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .16);
  font-size: 15px;
  line-height: 1.5;
  text-align: start;
}
.lbp-sheet[open] {
  display: flex;
  flex-direction: column;
}
.lbp-sheet::backdrop {
  background: rgba(20, 20, 20, .28);
}
@media (prefers-reduced-motion: no-preference) {
  .lbp-sheet[open] {
    animation: lbp-sheet-up .22s ease-out;
  }
}
@keyframes lbp-sheet-up {
  from {
    transform: translateY(40px);
    opacity: .6;
  }
}
.lbp-sheet__grab {
  flex: none;
  width: 36px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 2px;
  background: #d3d3d3;
}
.lbp-sheet__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 20px 0 6px;
}
.lbp-sheet__head h2 {
  margin: 0;
  color: #222;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}
.lbp-sheet__x {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #222;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lbp-sheet__x:focus-visible,
.lbp-sheet__i:focus-visible {
  outline: 2px solid #4b8e8d;
  outline-offset: 2px;
}
.lbp-sheet__src {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 10px;
  border-bottom: 1px solid #ececec;
  color: #5c636a;
  font-size: 13px;
}
.lbp-sheet__srcs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-width: 0;
}
.lbp-sheet__srcs > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lbp-sheet__srcs svg {
  flex: none;
  width: 15px;
  height: 15px;
}
/* The (i) of how the reviews are collected: 20 px to see, 44 to press. */
.lbp-sheet__i {
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: auto;
  padding: 0;
  border: 1px solid #b9b9b9;
  border-radius: 50%;
  background: none;
  color: #5c636a;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.lbp-sheet__i::after {
  content: "";
  position: absolute;
  inset: -12px;
}
.lbp-sheet__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 20px 16px;
}
.lbp-sheet__how {
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
  color: #444;
  font-size: 13px;
}
.lbp-sheet__how ul {
  margin: 0 0 8px;
  padding-right: 1rem;
}
.lbp-sheet__how li {
  margin: 4px 0;
}
.lbp-sheet__how p {
  margin: 0;
}
/* From five star reviews: the average and how the stars are spread, before the reviews. */
.lbp-sheet__sum {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
  color: #5c636a;
  font-size: 13px;
}
.lbp-sheet__avg {
  grid-row: span 6;
  color: #222;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.lbp-sheet__row {
  display: grid;
  grid-template-columns: 14px 1fr 22px;
  gap: 6px;
  align-items: center;
}
.lbp-sheet__track {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #ececec;
}
.lbp-sheet__track > span {
  display: block;
  height: 100%;
  background: #4b8e8d;
}
.lbp-sheet__rv {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0 10px;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
}
.lbp-sheet__rv .lbp-rv-avatar {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: 15px;
}
.lbp-sheet__rv b {
  display: block;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.lbp-sheet__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  color: #5c636a;
  font-size: 12px;
}
.lbp-sheet__rec {
  color: #2f6665;
  font-weight: 600;
}
.lbp-sheet__meta .lbp-rv-badge {
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.lbp-sheet__text {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: #222;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.lbp-sheet__tr {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #5c636a;
  font-size: 12px;
}
.lbp-sheet__tr .lbp-rv-orig {
  font-size: 12px;
}
.lbp-sheet__rv .lbp-rv-reply {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.lbp-sheet__more {
  display: inline-block;
  padding: 14px 0 4px;
  color: #2f6665;
  font-size: 14px;
}
[dir="rtl"] .lbp-sheet__more span {
  display: inline-block;
  transform: scaleX(-1);
}

/* The side cart's quote on its empty area, between the posters and "Checkout" (sketch 77): the second newest review. */
.lbp-cartq {
  margin: 8px 0 0;
  padding-top: 22px;
  border-top: 1px solid #ececec;
  color: #222;
}
.sidebar-cart-product-wrapper.d-none ~ .lbp-cartq {
  display: none;
}
.lbp-cartq__mark {
  height: 30px;
  color: #4b8e8d;
  font-size: 38px;
  line-height: 1;
}
.lbp-cartq__text {
  margin: 0 0 10px;
}
.lbp-cartq__text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.lbp-cartq__by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  color: #5c636a;
  font-size: 13px;
}
.lbp-cartq__by svg {
  width: 13px;
  height: 13px;
}
.lbp-cartq__tr {
  margin-top: 2px;
  color: #5c636a;
  font-size: 12px;
}
.lbp-cartq__link {
  display: inline-block;
  margin-top: 10px;
  color: #2f6665;
  font-size: 13px;
  text-decoration: underline;
}

/* The star map's page (design sketch 79): the sky with its compass points (the star map guide's diagram since sketch
   85) and the card that leads to the other poster (the foot of every product's page since sketch 85); and the aside the
   start page and the gift pages show the star map in. */
.lbp-sky {
    position: relative;
    width: min(calc(100% - 3rem), 20rem);
    margin: 2.5rem auto;
}

.lbp-sky img { display: block; width: 100%; height: auto; border-radius: 50%; }

.lbp-sky__point {
    position: absolute;
    padding: .1rem .5rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    color: #222;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.lbp-sky__point--zenith { background: #ffe7d1; font-weight: 500; }

/* The sky as it is printed: north at the top and east on the left in every page direction, so never mirrored. */
.lbp-sky__point--n { left: 50%; top: 0; transform: translate(-50%, -50%); }
.lbp-sky__point--s { left: 50%; top: 100%; transform: translate(-50%, -50%); }
.lbp-sky__point--e { left: 0; top: 50%; transform: translate(-50%, -50%); }
.lbp-sky__point--w { left: 100%; top: 50%; transform: translate(-50%, -50%); }
.lbp-sky__point--zenith { left: 50%; top: 50%; transform: translate(-50%, -50%); }

.lbp-cross {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    max-width: 32rem;
    margin: 0 auto;
    padding: 1rem;
    background: #fff;
    border: 1px solid #ece4dc;
    color: #222;
    text-decoration: none;
}

.lbp-cross:hover, .lbp-cross:focus-visible { border-color: #4b8e8d; color: #222; text-decoration: none; }

.lbp-cross img { display: block; width: 100%; height: auto; box-shadow: -2px 2px 8px rgba(0, 0, 0, .18); }

.lbp-cross__body { display: grid; gap: .25rem; min-width: 0; text-align: start; }

.lbp-cross__title { font-size: 1.125rem; font-weight: 500; }

.lbp-cross__text { color: #6c757d; font-weight: 300; line-height: 1.6; }

.lbp-aside {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    grid-template-areas: "kicker kicker" "picture body";
    gap: 0 2rem;
    align-items: center;
    max-width: 44rem;
    margin: 0 auto;
    text-align: start;
}

.lbp-aside--wash { padding: 2rem; background: #fff8f2; }

.lbp-aside__kicker { grid-area: kicker; }

.lbp-aside__picture { grid-area: picture; }

.lbp-aside__picture img { display: block; width: 100%; height: auto; }

.lbp-aside__body { grid-area: body; min-width: 0; }

.lbp-aside__title { margin: 0 0 .75rem; font-size: 1.5rem; font-weight: 400; line-height: 1.3; letter-spacing: 0; text-transform: none; color: #222; }

.lbp-aside__text { margin: 0 0 1rem; color: #6c757d; font-weight: 300; line-height: 1.6; }

.lbp-aside__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }

/* A text link that leads on, with the arrow of the sketch after it (pointing the reading way; never read aloud). */
.lbp-arrow-link, .lbp-cross__link { color: #396362; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.lbp-arrow-link::after, .lbp-cross__link::after {
    content: "\00a0\2190";
    content: "\00a0\2190" / "";
}

@media (max-width: 575.98px) {
    .lbp-aside { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0 1rem; align-items: start; }
    .lbp-aside--wash { padding: 1.25rem; }
    .lbp-aside__title { font-size: 1.25rem; }
}

@media (max-width: 399.98px) {
    .lbp-aside { grid-template-columns: 5rem minmax(0, 1fr); }
    .lbp-aside--wash { padding: 1rem; }
}

/* ---- Variant B of the birth poster's tool (design sketch 81, "Tavlan först"; CreateYourOwnBTemplate) ----
   The heading shown at the top of the first step, the price beside the bar's one button, the price under each frame
   group, the poster's two lines written large under the poster, the button and the view of the poster on a wall,
   and the poster kept small above a phone's keyboard. Variant A has none of these classes. */
.lovely-print-tool .lbp-tool-heading {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}
.lovely-print-tool .lbp-cta--steps .lbp-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lovely-print-tool .lbp-cta--steps .lbp-cta-row > .price-tag {
  flex: 0 0 auto;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
}
.lovely-print-tool .lbp-cta--steps #send {
  flex: 1 1 auto;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 48px;
}
/* On a computer B's bar stays in view too: sticky at the bottom of the window while the step above it reaches below
   the window (at 1366 x 900 every step did by 20 to 60 px), as on a phone; A's bar stays where it is. */
@media (min-width: 992px) {
  .lovely-print-tool.lbp-b .tool > .lbp-cta {
    position: sticky;
    bottom: 0;
    z-index: 7;
    margin: 0 -12px;
    padding: 8px 12px 10px;
    background: #f5f5f5;
  }
}
.lovely-print-tool .lbp-chip-price {
  font-weight: 600;
  white-space: nowrap;
}
.lovely-print-tool .lbp-gift-door {
  display: block;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #333;
  font-size: .9rem;
  line-height: 1.4;
  text-decoration: none;
}
.lovely-print-tool .lbp-gift-door strong {
  color: #0b6e69;
  text-decoration: underline;
}
/* The poster's text written large (the poster's own lines are 3 to 5 px high on a phone). The box keeps its height
   while the script fills it, so nothing moves. */
.lovely-print-tool .lbp-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  min-height: 44px;
  margin: 8px auto 0;
  padding: 4px 12px;
  border-radius: 8px;
  background: #fff;
  text-align: start;
}
.lovely-print-tool .lbp-caption__label {
  flex: 0 0 auto;
  max-width: 6em;
  color: #595959;
  font-size: 11px;
  line-height: 1.2;
}
.lovely-print-tool .lbp-caption__lines {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lovely-print-tool .lbp-caption__lines b,
.lovely-print-tool .lbp-caption__lines small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lovely-print-tool .lbp-caption__lines b {
  font-size: 14px;
  line-height: 1.3;
}
.lovely-print-tool .lbp-caption__lines small {
  color: #444;
  font-size: 12px;
  line-height: 1.3;
}
/* The wall's button under the magnifier, 44 px as a thumb needs. */
body .lovely-print-tool > .row .lbp-tool-row .preview:not(.zoom) .poster > .room-btn {
  position: absolute;
  top: 37px;
  inset-inline-end: -15px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  color: #222;
}
.lovely-print-tool .poster > .room-btn svg {
  width: 22px;
  height: 22px;
}
body .lovely-print-tool > .row .lbp-tool-row .preview .poster > .room-btn[hidden],
body .lovely-print-tool > .row .lbp-tool-row .preview.zoom .poster > .room-btn {
  display: none;
}
.lovely-print-tool .poster > .room-btn:focus-visible,
.lovely-print-tool .lbp-room__close:focus-visible {
  outline: 3px solid #0b6e69;
  outline-offset: 2px;
}
/* The poster on a wall: a modal dialog, the whole screen on a phone. */
.lovely-print-tool .lbp-room {
  width: min(520px, 100vw);
  max-width: 100vw;
  max-height: 100svh;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 12px;
  background: #fff;
}
.lovely-print-tool .lbp-room::backdrop {
  background: rgba(0, 0, 0, .55);
}
.lovely-print-tool .lbp-room__top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  background: #fff;
}
.lovely-print-tool .lbp-room__top h2 {
  margin: 0;
  font-size: 1.05rem;
}
.lovely-print-tool .lbp-room__close {
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #767676;
  border-radius: 22px;
  background: #fff;
  color: #222;
}
.lovely-print-tool .lbp-room__pic {
  position: relative;
  overflow: hidden;
}
.lovely-print-tool .lbp-room__pic[hidden] {
  display: none;
}
.lovely-print-tool .lbp-room__pic img {
  display: block;
  width: 100%;
  height: auto;
}
.lovely-print-tool .lbp-room__poster {
  position: absolute;
}
.lovely-print-tool .lbp-room__note {
  padding: 12px 16px 18px;
  color: #444;
  font-size: 14px;
  line-height: 1.4;
}
@media (max-width: 575.98px) {
  .lovely-print-tool .lbp-room {
    width: 100vw;
    height: 100svh;
    margin: 0;
    border-radius: 0;
  }
}
@media (max-width: 991.98px) {
  /* The poster shares the fixed top with the text strip under it, so it is a little smaller than A's 36 %. */
  body .lovely-print-tool.lbp-b > .row .lbp-tool-row .preview:not(.zoom) .poster.portrait {
    width: clamp(140px, (36svh - 52px) * 50 / 70, 100%);
  }
  body .lovely-print-tool.lbp-b > .row .lbp-tool-row .preview:not(.zoom) .poster.landscape {
    width: clamp(196px, (36svh - 52px) * 70 / 50, 100%);
  }
  .lovely-print-tool .lbp-caption {
    margin-top: 6px;
  }
  .lovely-print-tool .lbp-tool-heading {
    font-size: 1.05rem;
  }
  /* While a field has the focus (PosterTool._onFieldFocus) the keyboard takes about half the screen: the poster
     shrinks to about a sixth of it, the size label goes, and the field is scrolled into view under the strip. */
  body .lovely-print-tool.lbp-b.lbp-typing > .row .lbp-tool-row .preview:not(.zoom) .poster.portrait {
    width: clamp(64px, 16svh * 50 / 70, 100%);
  }
  body .lovely-print-tool.lbp-b.lbp-typing > .row .lbp-tool-row .preview:not(.zoom) .poster.landscape {
    width: clamp(96px, 16svh * 70 / 50, 100%);
  }
  body .lovely-print-tool.lbp-b.lbp-typing > .row .lbp-tool-row .preview:not(.zoom) .dimensions-tag,
  body .lovely-print-tool.lbp-b.lbp-typing > .row .lbp-tool-row .preview:not(.zoom) .poster > .zoom-btn,
  body .lovely-print-tool.lbp-b.lbp-typing > .row .lbp-tool-row .preview:not(.zoom) .poster > .room-btn {
    display: none;
  }
}

/* ---- The own photo poster's tool (design sketch 91), behind its switch (OwnPhoto\Sales) -------------------------- */
/* Its buttons are 44 px touch targets (the posters' segments are 40). */
.lovely-print-tool.own-photo .lbp-seg > .btn,
.lovely-print-tool.own-photo .lbp-seg > button {
  height: 44px;
}
/* The hidden file fields behind "Choose photo", "Take a photo now" and "Change photo" never widen the page. */
.lovely-print-tool.own-photo input[type="file"].btn-check {
  width: 1px;
  height: 1px;
}
/* Straight to the camera on a touch screen only: with a mouse it would open the same file chooser. */
@media not all and (pointer: coarse) {
  .lovely-print-tool.own-photo .lbp-op-camera {
    display: none;
  }
}
/* The four examples are pictures, not choices. */
.lovely-print-tool.own-photo .lbp-op-examples .lbp-tile {
  cursor: default;
}
.lovely-print-tool.own-photo .lbp-op-needs {
  margin: 0;
  padding-inline-start: 1.2em;
}
.lovely-print-tool.own-photo .lbp-op-status {
  margin: 0;
}
.lovely-print-tool.own-photo .lbp-op-status > span {
  display: inline-block;
  margin-top: 8px;
}
.lovely-print-tool.own-photo [data-op-cancel] {
  margin-top: 8px;
}
.lovely-print-tool.own-photo .lbp-op-privacy {
  margin: 10px 0 0;
}
/* Four steps (sketch 91: the photo, the style, then the posters' colour and frame and details) in the bar the posters'
   tools have three in; under 360 px the words keep their place by narrower air (the sketch's rule). */
.lovely-print-tool.own-photo .lbp-op-steps {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 359.98px) {
  .lovely-print-tool.own-photo .lbp-op-steps .lbp-step {
    min-width: 0;
    padding: 0 1px;
    gap: 3px;
    font-size: .58rem;
  }
}
.lovely-print-tool.own-photo .lbp-step:disabled {
  cursor: not-allowed;
}
.lovely-print-tool.own-photo .lbp-step:disabled:hover {
  background: #ffe7d1;
}
/* A step not open yet reads as not open: its number and name muted as the birth poster's tool mutes what cannot be
   chosen (.lbp-chip:disabled), its title saying why (OwnPhoto/ToolTemplate.php, OwnPhotoTool.js). */
.lovely-print-tool.own-photo .lbp-step:disabled > :not(.lbp-op-track) {
  opacity: .35;
}
.lovely-print-tool.own-photo .lbp-op-gap,
.lovely-print-tool.own-photo .lbp-op-after {
  margin-top: 8px;
}
.lovely-print-tool.own-photo .lbp-seg + .lbp-seg {
  margin-top: 0;
}
/* A button that cannot be pressed now looks so (the size at its limit). */
.lovely-print-tool.own-photo .lbp-seg > button:disabled,
.lovely-print-tool.own-photo .lbp-seg > button:disabled:hover {
  background: #ffe7d1;
  color: #222;
  opacity: .35;
  cursor: default;
}
/* The size controls (sketch 91): the label and its readout above, then Smaller, a slider and Larger on one row, so a
   finger on the slider never covers the words. The buttons are 44 px; a press on them is never a text selection or a menu. */
.lovely-print-tool.own-photo .lbp-op-sizehead {
  flex-wrap: wrap;
  justify-content: space-between;
}
.lovely-print-tool.own-photo .lbp-op-sizerow {
  align-items: center;
  gap: 8px;
}
.lovely-print-tool.own-photo .lbp-op-sizerow > button {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
/* The poster is fixed at the top of a phone's screen: a focused control, a note or anything else the page scrolls to
   comes to rest below it (OwnPhotoTool.js sets the height; 0 elsewhere, and on every page without this tool). */
html {
  scroll-padding-top: var(--lbp-op-covered, 0px);
}
/* A horizontal drag moves the thumb and never scrolls the page sideways; a vertical swipe on it still scrolls the page. */
.lovely-print-tool.own-photo .lbp-op-range {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y pinch-zoom;
  -webkit-appearance: none;
  appearance: none;
}
.lovely-print-tool.own-photo .lbp-op-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: #a08f83;
}
.lovely-print-tool.own-photo .lbp-op-range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #a08f83;
}
.lovely-print-tool.own-photo .lbp-op-range::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #4b8e8d;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  -webkit-appearance: none;
  appearance: none;
}
.lovely-print-tool.own-photo .lbp-op-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #4b8e8d;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.lovely-print-tool.own-photo .lbp-op-range:focus-visible {
  outline: 2px solid #396362;
  outline-offset: 2px;
}
/* The text links, the way back to the cards and the links between the steps get a 44 px target without moving the
   lines around them. */
.lovely-print-tool.own-photo .lbp-text-link,
.lovely-print-tool.own-photo .lbp-switch a,
.lovely-print-tool.own-photo .lbp-nav button {
  position: relative;
}
.lovely-print-tool.own-photo .lbp-text-link::after,
.lovely-print-tool.own-photo .lbp-switch a::after,
.lovely-print-tool.own-photo .lbp-nav button::after {
  content: "";
  position: absolute;
  inset: -14px -8px;
}
/* The way back to the cards stands straight under the poster and 10 px above the step bar: its target reaches as far
   as those two neighbours allow (31 px high, 89 px wide). A 44 px height would take 13 px of the step bar's buttons,
   which stay 52 px high targets of their own. */
.lovely-print-tool.own-photo .lbp-switch a::after {
  inset: 0 -8px -10px;
}
/* "Show how we measured" stands 8 px under the Correct button: its target reaches down instead of up into it. */
.lovely-print-tool.own-photo [data-op-show]::after {
  inset: -6px -8px -20px;
}
/* "Back to our suggestion" gets air under the size row (the row's buttons and slider are 44 px tall), so its 44 px
   target takes none of theirs. */
.lovely-print-tool.own-photo [data-op-scale-reset] {
  margin-top: 16px;
}
/* The sharpness: three steps, the photo's one marked, as the tool's segments but not buttons. */
.lovely-print-tool.own-photo .lbp-op-meter {
  display: flex;
  gap: 2px;
}
.lovely-print-tool.own-photo .lbp-op-meter > span {
  flex: 1 1 0;
  padding: 6px 4px;
  background: #f3f1ee;
  color: #8a8a8a;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.lovely-print-tool.own-photo .lbp-op-meter > span.is-on {
  background: #fff4ea;
  color: #222;
  box-shadow: inset 0 -2px 0 #4b8e8d;
}
.lovely-print-tool.own-photo .lbp-op-meter > span[data-op-level="low"].is-on {
  box-shadow: inset 0 -2px 0 #c0392b;
}
.lovely-print-tool.own-photo .lbp-op-styles {
  grid-template-columns: repeat(3, 1fr);
}
.lovely-print-tool.own-photo .lbp-op-styles canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* The photo on the poster, and over the colour field the ruler, the frame's handles and the photo's edge in the
   frame. Only the ruler's strip takes a finger in step 1; in step 2 the whole field does (the photo or the frame). */
.lovely-print-tool .poster.own-photo canvas.own-photo,
.lovely-print-tool .poster.own-photo svg.lbp-op-overlay {
  position: absolute;
  display: block;
  pointer-events: none;
}
.lovely-print-tool .poster.own-photo svg.lbp-op-overlay {
  z-index: 2;
  overflow: visible;
}
.lovely-print-tool .poster.own-photo svg.lbp-op-overlay.is-active {
  pointer-events: all;
  touch-action: none;
  cursor: grab;
}
/* The theme gives the poster and the views a display of their own: the hidden one goes. */
.lovely-print-tool.own-photo .preview [hidden] {
  display: none !important;
}
.lovely-print-tool .lbp-op-frame1 { fill: none; stroke: #fff; stroke-width: 3; }
.lovely-print-tool .lbp-op-frame2 { fill: none; stroke: #4b8e8d; stroke-width: 1.2; stroke-dasharray: 5 4; }
.lovely-print-tool .lbp-op-handle .hit { fill: transparent; }
.lovely-print-tool .lbp-op-handle .dot { fill: #fff; stroke: #4b8e8d; stroke-width: 2; }
.lovely-print-tool .lbp-op-edge1 { fill: none; stroke: #fff; stroke-width: 5; stroke-dasharray: 7 5; opacity: .9; }
.lovely-print-tool .lbp-op-edge2 { fill: none; stroke: #c0392b; stroke-width: 2.4; stroke-dasharray: 7 5; }
.lovely-print-tool .lbp-op-ruler .a,
.lovely-print-tool .lbp-op-ruler .b {
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
}
.lovely-print-tool .lbp-op-ruler .a { stroke: #fff; stroke-width: 4; opacity: .9; }
.lovely-print-tool .lbp-op-ruler .b { stroke: #4b8e8d; stroke-width: 1.8; }
/* The ruler's numbers read left to right on every page, beside its ticks. */
.lovely-print-tool .lbp-op-ruler text {
  direction: ltr ;
  text-anchor: start;
  fill: #2f6f6e;
  font: 700 10px/1 sans-serif;
  font-family: inherit;
  dominant-baseline: central;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linejoin: round;
  pointer-events: none;
}
.lovely-print-tool .lbp-op-ruler-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 44;
  stroke-linecap: round;
  pointer-events: stroke;
  touch-action: none;
  cursor: grab;
}
/* The measurement: the photo as large as the poster would be, the ring, the line and the points over it, and the
   magnifier in the corner away from the finger. */
.lovely-print-tool .lbp-op-work {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
}
.lovely-print-tool .lbp-op-work-photo {
  position: relative;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
}
.lovely-print-tool .lbp-op-work-photo[hidden] {
  display: none;
}
/* A photo that cannot be shown: the message and Try again in its place, the stage as tall as they are. */
.lbp-op-tool[data-op-step="1"][data-op-gone="1"] .preview .lbp-op-work:not([hidden]) {
  min-height: 0;
}
.lovely-print-tool .lbp-op-unseen {
  width: 100%;
  max-width: 560px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
}
.lovely-print-tool .lbp-op-unseen[hidden] {
  display: none;
}
.lovely-print-tool .lbp-op-unseen [data-op-error] {
  margin-top: 0;
}
.lovely-print-tool .lbp-op-work-photo canvas {
  display: block;
}
.lovely-print-tool .lbp-op-work-photo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.lovely-print-tool .lbp-op-work-photo.is-editing svg {
  touch-action: none;
}
.lovely-print-tool .lbp-op-work-photo .ln { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; opacity: .9; }
.lovely-print-tool .lbp-op-work-photo .ln2 { fill: none; stroke: #4b8e8d; stroke-width: 1.6; stroke-linecap: round; }
.lovely-print-tool .lbp-op-work-photo .pt { cursor: grab; }
.lovely-print-tool .lbp-op-work-photo .pt .hit { fill: transparent; }
.lovely-print-tool .lbp-op-work-photo .pt .dot { fill: #fff; stroke: #4b8e8d; stroke-width: 2; }
.lovely-print-tool .lbp-op-work-photo .pt text {
  fill: #2f6f6e;
  font: 700 12px/1 sans-serif;
  font-family: inherit;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}
.lovely-print-tool .lbp-op-work-photo .pt.on .dot { fill: #4b8e8d; }
.lovely-print-tool .lbp-op-work-photo .pt.on text { fill: #fff; }
.lovely-print-tool .lbp-op-work-photo .mini { fill: #fff; stroke: #4b8e8d; stroke-width: 1.5; }
/* The magnifier's side is the script's (away from the finger), the same in either direction of the page. */
.lovely-print-tool .lbp-op-loupe {
  position: absolute;
  top: 2px;
  left: 0;
  z-index: 4;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 6px 16px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.lovely-print-tool .lbp-op-loupe.is-right {
  left: auto;
  right: 0;
}
/* The close-up: the print's own pixels shown in a square as large as the measurement, the ruler over it. */
.lovely-print-tool .lbp-op-near {
  display: grid;
  place-items: center;
  min-height: 200px;
}
.lovely-print-tool .lbp-op-near-photo {
  position: relative;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
}
.lovely-print-tool .lbp-op-near-photo canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.lovely-print-tool .lbp-op-near-photo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
/* Under the poster: its three views and the ruler, then what stopped a move and the frame's warning. */
.lovely-print-tool .lbp-op-modes {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.lovely-print-tool .lbp-op-modes > .lbp-seg:first-child {
  flex: 2 1 0;
}
.lovely-print-tool .lbp-op-modes > .lbp-seg {
  flex: 1 1 0;
}
.lovely-print-tool .preview.zoom .lbp-op-modes,
.lovely-print-tool .preview.zoom .lbp-op-stop,
.lovely-print-tool .preview.zoom .lbp-op-warn {
  display: none;
}
.lovely-print-tool .lbp-op-stop {
  margin: 8px 0 0;
  text-align: center;
}
.lovely-print-tool .lbp-op-warn {
  margin-top: 8px;
}
.lovely-print-tool .lbp-op-warn .lbp-range {
  margin: 0;
}
/* The drawn styles (sketch 91): four to a row under the photo styles, each tile saying what a tap does (Draw, Drawing…,
   Draw again, Try again) on a band over its picture; a tile not yet drawn shows the photo veiled. While one is drawn a
   thin bar under its band fills slowly over the ten or so seconds, from when it started (--op-drawn-since, kept when
   the step is left and opened again); with reduced motion it stands still. */
.lovely-print-tool.own-photo .lbp-op-drawn {
  grid-template-columns: repeat(4, 1fr);
}
.lovely-print-tool .lbp-op-badge {
  position: absolute;
  inset: auto 0 0;
  padding: 3px 2px;
  background: rgba(255, 255, 255, .9);
  color: #2f6f6e;
  font-size: .64rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}
.lovely-print-tool .lbp-op-badge:empty {
  display: none;
}
.lovely-print-tool .lbp-tile.is-failed .lbp-op-badge {
  color: #c0392b;
}
.lovely-print-tool .lbp-tile.is-drawing .lbp-tile-pic::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: #4b8e8d;
  transform-origin: right;
  animation: lbp-op-progress 12s cubic-bezier(.2, .6, .3, 1) forwards;
  animation-delay: calc(var(--op-drawn-since, 0s) * -1);
}
@keyframes lbp-op-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(.92); }
}
@media (prefers-reduced-motion: reduce) {
  .lovely-print-tool .lbp-tile.is-drawing .lbp-tile-pic::after {
    animation: none;
    opacity: .6;
  }
}
/* The eye question: eight swatches with their words, the closed and the unseen eyes drawn (never colour alone). */
.lovely-print-tool .lbp-op-eyes {
  margin-top: 14px;
}
.lovely-print-tool .lbp-op-eyes .lbp-label:focus {
  outline: none;
}
.lovely-print-tool .lbp-op-eyes .lbp-swatch {
  width: 70px;
  min-height: 44px;
}
.lovely-print-tool [data-op-eye] i {
  background: #f3efe9 center / 70% no-repeat;
}
.lovely-print-tool [data-op-eye="closed"] i {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 11c4 5 14 5 18 0M7 14.5l-1.2 2M12 15.8v2.3M17 14.5l1.2 2'/%3E%3C/svg%3E");
}
.lovely-print-tool [data-op-eye="open"] i {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8'%3E%3Cpath d='M2.5 12c4.5-6.5 14.5-6.5 19 0-4.5 6.5-14.5 6.5-19 0z'/%3E%3Ccircle cx='12' cy='12' r='3.2' stroke-dasharray='2 1.6'/%3E%3C/svg%3E");
}
.lovely-print-tool [data-op-eye="blue"] i { background: #4f86c2; }
.lovely-print-tool [data-op-eye="blue-grey"] i { background: #6c8092; }
.lovely-print-tool [data-op-eye="grey"] i { background: #9ba2a8; }
.lovely-print-tool [data-op-eye="green"] i { background: #6b9358; }
.lovely-print-tool [data-op-eye="brown"] i { background: #8b5a33; }
.lovely-print-tool [data-op-eye="dark-brown"] i { background: #4a2e1c; }
/* The colour and frame and details steps (the posters' own) at the own photo tool's 44 px: the fields, the menus and the
   units' box as tall, the i-marks, "Change" and "Follow the site's language" with a target larger than they look. */
.lovely-print-tool.own-photo .lbp-field input,
.lovely-print-tool.own-photo .lbp-field .form-control,
.lovely-print-tool.own-photo .lbp-row .lbp-dd > .dropdown-toggle,
body .lovely-print-tool.own-photo > .row .tool .settings .poster-units-summary {
  height: 44px;
}
.lovely-print-tool.own-photo .lbp-field input,
.lovely-print-tool.own-photo .lbp-field .form-control {
  line-height: 42px;
}
.lovely-print-tool.own-photo .lbp-label .tool-info,
.lovely-print-tool.own-photo .lbp-summary button,
.lovely-print-tool.own-photo .poster-language-reset,
.lovely-print-tool.own-photo .add-to-cart .lbp-guarantee-tool a,
.lovely-print-tool.own-photo .tool-editing span a {
  position: relative;
}
.lovely-print-tool.own-photo .lbp-label .tool-info::after,
.lovely-print-tool.own-photo .lbp-summary button::after,
.lovely-print-tool.own-photo .poster-language-reset::after {
  content: "";
  position: absolute;
  inset: -14px;
}
/* The links under the button and in the edit note: taller targets over the plain lines around them. */
.lovely-print-tool.own-photo .add-to-cart .lbp-guarantee-tool a::after,
.lovely-print-tool.own-photo .tool-editing span a::after {
  content: "";
  position: absolute;
  inset: -15px -4px;
}
.lovely-print-tool.own-photo .lbp-more > summary {
  min-height: 44px;
}
/* The box about the photo, after the details; its "Why?" opens the printers' reason under it. */
.lovely-print-tool .lbp-op-rights {
  margin-top: 8px;
}
/* What the own photo poster still needs before it can be bought, where the spelling hint stands, and the button not
   offered meanwhile (a press shows where). */
.lovely-print-tool .lbp-cta .lbp-op-buy {
  color: #2f4f4e;
}
.lovely-print-tool .lbp-cta #send.lbp-op-wait {
  opacity: .55;
}
/* ---- The own photo poster's flow (design sketch 92, the owner's yes of 2026-12-03) ---------------------------------
   One task at a time. The tool's box (.lbp-op-tool, OwnPhoto/ToolTemplate.php) says where the customer is, and
   OwnPhotoTool.js keeps it: data-op-step (1-4), data-op-moment (the photo step's moment, 1-5), data-op-tap (the
   measurement's part, 0-2 a point to place, 3 confirming), data-op-placed (points placed, 0-3), data-op-in (the style's
   group) and data-op-main (the bar's one button). Under 600 px a phone; 600-991 px the same column, at most 640 px
   wide; from 992 px the stage beside the head and the panel. */
.lbp-op-tool [data-op-done-note],
.lbp-op-tool .lbp-op-region[hidden] {
  display: none !important;
}
.lbp-op-tool .lbp-switch {
  margin: 0 0 10px;
}
.lbp-op-tool .lbp-op-steps {
  height: 44px;
}
.lbp-op-tool .lbp-op-steps .lbp-step {
  position: relative;
  gap: 5px;
  padding: 0 2px;
  white-space: nowrap;
  font-size: .66rem;
}
@media (max-width: 374.98px) {
  .lbp-op-tool .lbp-op-steps .lbp-step {
    gap: 3px;
    font-size: .6rem;
  }
  .lbp-op-tool .lbp-op-steps .lbp-step i {
    width: 16px;
    height: 16px;
  }
}
/* The tracks under the tabs: a part per moment under "Photo", one under each other step; done in the site's teal, the
   one the customer is in at half its strength. They take no press. */
.lbp-op-tool .lbp-op-track {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  gap: 2px;
  height: 4px;
  pointer-events: none;
}
.lbp-op-tool .lbp-op-track > span {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(34, 34, 34, .14);
  transition: background-color 200ms ease;
}
.lbp-op-tool .lbp-op-track > span[data-on="1"] {
  background: #4b8e8d;
}
.lbp-op-tool .lbp-op-track > span[data-cur="1"] {
  background: rgba(75, 142, 141, .5);
}

/* The stage: under the step bar, as large as the moment leaves room for (--lbp-op-stage, OwnPhotoTool.js). The poster's
   own measuring nodes reach past it; the tool clips them without becoming a scroller, so the stage and the bar stay
   sticky. */
.lbp-op-tool {
  overflow-x: clip;
}
.lbp-op-tool > .preview {
  width: auto;
  max-width: none;
  margin: 0 -12px;
}
@media (max-width: 991.98px) {
  /* The stage comes after the panel in the page (the birth poster's tool's order, ToolTemplate.php) and stands between
     the head and the panel here: the posters' rule above orders it first, the head goes before it. */
  .lbp-op-tool {
    display: flex;
    flex-direction: column;
  }
  body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .lbp-op-head {
    order: -2;
  }
  /* The poster's lines written large are the wide layout's (the phone's stage keeps its height for the task). */
  .lbp-op-tool .preview > .lbp-caption {
    display: none;
  }
  body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview:not(.zoom) {
    padding: 2px 12px 8px;
  }
  body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview:not(.zoom) .poster.portrait {
    width: min(100%, calc(var(--lbp-op-stage, 36svh) * 50 / 70));
  }
  body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview:not(.zoom) .poster.landscape {
    width: min(100%, calc(var(--lbp-op-stage, 36svh) * 70 / 50));
  }
  .lbp-op-tool .lbp-op-example img {
    height: var(--lbp-op-stage, 36svh);
  }
}
/* Before a photo: the example poster instead of the empty one. */
.lbp-op-tool .lbp-op-example {
  display: none;
  text-align: center;
}
.lbp-op-tool .lbp-op-example img {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.lbp-op-tool[data-op-step="1"][data-op-moment="1"] .lbp-op-example {
  display: block;
}
/* The caption under the example says the example's lines, under the poster the poster's (OwnPhoto/ToolTemplate.php). */
.lbp-op-tool .preview > .lbp-caption > .lbp-op-example-lines,
.lbp-op-tool[data-op-step="1"][data-op-moment="1"] .preview > .lbp-caption > .lbp-caption__lines:not(.lbp-op-example-lines) {
  display: none;
}
.lbp-op-tool[data-op-step="1"][data-op-moment="1"] .preview > .lbp-caption > .lbp-op-example-lines {
  display: flex;
}
/* Its name where the poster's size stands (the size's own words are the posters' tool's to change). */
.lbp-op-tool .lbp-op-tag {
  height: 28px;
  color: rgba(0, 0, 0, .5);
  font-size: 15px;
  line-height: 28px;
  text-align: center;
}
.lbp-op-tool[data-op-step="1"]:is([data-op-moment="1"], [data-op-moment="4"]) .preview > .dimensions-tag,
.lbp-op-tool[data-op-step="1"][data-op-moment="1"] .preview > .poster,
.lbp-op-tool[data-op-step="1"][data-op-moment="1"] .preview > .backdrop {
  display: none !important;
}
/* The views under the poster (Poster, Close-up, Measurement and the ruler) only in the size check. */
.lbp-op-tool:not([data-op-step="1"][data-op-moment="5"]) [data-op-modes] {
  display: none !important;
}
.lbp-op-tool .lbp-op-modes {
  margin-top: 6px;
}
.lbp-op-tool .lbp-op-modes .lbp-seg.mini > button {
  height: 44px;
}
/* Turning and the length: the photo whole, without points, ring or line; nothing on it moves. Turning: the stage as
   tall standing or lying, the photo in its middle, so the turn buttons stand still. */
.lbp-op-tool[data-op-step="1"]:is([data-op-moment="2"], [data-op-moment="3"]) .lbp-op-work-photo svg {
  visibility: hidden;
}
.lbp-op-tool[data-op-step="1"][data-op-moment="2"] .lbp-op-work:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--lbp-op-stage, 36svh);
}
/* The measurement: only the points placed; the ring with two, the line with three. */
.lbp-op-tool[data-op-step="1"][data-op-moment="4"][data-op-placed="0"] .lbp-op-work-photo svg :is(.pt, ellipse, line),
.lbp-op-tool[data-op-step="1"][data-op-moment="4"][data-op-placed="1"] .lbp-op-work-photo svg :is(.pt:not([data-point="0"]), ellipse, line),
.lbp-op-tool[data-op-step="1"][data-op-moment="4"][data-op-placed="2"] .lbp-op-work-photo svg :is(.pt[data-point="2"], line) {
  display: none;
}
/* The style: the poster takes a drag (the photo, the frame, its handles) only under Placement. */
.lbp-op-tool[data-op-step="2"]:not([data-op-in="place"]) svg.lbp-op-overlay {
  pointer-events: none;
}
/* The poster's size note is not shown while the poster is not on the stage (choosing to measuring). */
.lbp-op-tool[data-op-step="1"]:is([data-op-moment="1"], [data-op-moment="2"], [data-op-moment="3"], [data-op-moment="4"]) [data-op-stop],
.lbp-op-tool[data-op-step="1"]:is([data-op-moment="2"], [data-op-moment="3"]) [data-op-locked] {
  display: none !important;
}
.lbp-op-tool [data-op-warn] {
  cursor: pointer;
}
/* The magnifier in the stage's upper corner, only while the poster shows. */
body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview:not(.zoom) > .zoom-btn {
  display: grid;
  place-items: center;
  position: absolute;
  inset: auto;
  top: 2px;
  inset-inline-end: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  z-index: 9;
}
body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview:has(> .poster[hidden]) > .zoom-btn,
body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool[data-op-step="1"][data-op-moment="1"] > .preview > .zoom-btn,
body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview.zoom > .zoom-btn {
  display: none;
}
/* The open zoom's cross over the frame's handles (z-index 2). */
body .lovely-print-tool > .row .lbp-op-tool .preview.zoom .poster .close-zoom-btn {
  z-index: 4;
}

/* The photo step's moments, one at a time. */
.lbp-op-tool .lbp-op-moment {
  display: none;
  border-bottom: 0;
  padding-bottom: 0;
}
.lbp-op-tool[data-op-moment="1"] .lbp-op-moment[data-op-at="1"],
.lbp-op-tool[data-op-moment="2"] .lbp-op-moment[data-op-at="2"],
.lbp-op-tool[data-op-moment="3"] .lbp-op-moment[data-op-at="3"],
.lbp-op-tool[data-op-moment="4"] .lbp-op-moment[data-op-at="4"],
.lbp-op-tool[data-op-moment="5"] .lbp-op-moment[data-op-at="5"] {
  display: block;
}
.lbp-op-tool .lbp-op-moment > :last-child {
  margin-bottom: 0;
}
.lbp-op-tool .lbp-op-moment > .lbp-label:first-child,
.lbp-op-tool .lbp-op-m4head .lbp-label {
  margin-top: 2px;
}
/* Text links that are buttons: 44 px targets of their own (the tool's larger target around them is not needed). */
.lbp-op-tool .lbp-op-moment .lbp-text-link,
.lbp-op-tool .lbp-op-rows .lbp-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  vertical-align: middle;
}
.lbp-op-tool .lbp-op-moment .lbp-text-link::after,
.lbp-op-tool .lbp-op-rows .lbp-text-link::after {
  content: none;
}
.lbp-op-tool .lbp-op-moment .lbp-text-link[hidden] {
  display: none !important;
}
/* "Show how we measured" while it shows the measurement: pressed as the views' buttons are (.lbp-seg), a second press
   shows the poster again. */
.lbp-op-tool .lbp-op-rows .lbp-text-link[aria-pressed="true"] {
  background: #fff4ea;
  color: #222;
  box-shadow: inset 0 -2px 0 #4b8e8d;
  text-decoration: none;
}
.lbp-op-tool .lbp-op-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
}
.lbp-op-tool .lbp-op-region {
  margin: 0 0 8px;
}
/* Choosing a photo. */
.lbp-op-tool .lbp-op-moment[data-op-at="1"] .lbp-op-examples {
  gap: 6px;
  margin-bottom: 8px;
}
.lbp-op-tool .lbp-op-moment[data-op-at="1"] .lbp-op-examples .lbp-tile-pic img {
  width: 40px;
  height: 52px;
}
.lbp-op-tool .lbp-op-moment[data-op-at="1"] .lbp-op-examples .lbp-tile-name {
  font-size: .66rem;
  line-height: 1.2;
}
.lbp-op-tool .lbp-op-cover,
.lbp-op-tool .lbp-op-privacy-line,
.lbp-op-tool .lbp-op-region .lbp-op-needs,
.lbp-op-tool .lbp-op-region .lbp-op-privacy {
  margin: 0;
}
/* With "How we keep the photo" open, the whole text stands once. */
.lbp-op-tool .lbp-op-privacy-line:has([aria-expanded="true"]) > span {
  display: none;
}
.lbp-op-tool .lbp-op-status-group .lbp-op-status > span {
  margin-top: 4px;
}
/* "Done. The photo is in place." after turning, and "The photo will do.", which the meter says, are not repeated. */
.lbp-op-tool .lbp-op-quiet {
  display: none !important;
}
/* Change photo and Remove the photo as text links. */
.lbp-op-tool [data-op-chosen] .lbp-seg {
  gap: 20px;
}
.lbp-op-tool [data-op-chosen] .lbp-seg > .btn,
.lbp-op-tool [data-op-chosen] .lbp-seg > button {
  flex: 0 0 auto;
  min-width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  box-shadow: none;
  color: #2f6f6e;
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  text-decoration: underline;
}
.lbp-op-tool [data-op-chosen] [data-op-remove-ask] .lbp-hint {
  margin: 4px 0 0;
}
.lbp-op-tool .lbp-op-moment[data-op-at="2"] > .lbp-seg {
  margin-bottom: 4px;
}
/* The length. */
.lbp-op-tool .lbp-op-moment[data-op-at="3"] .lbp-field {
  margin-bottom: 4px;
}
.lbp-op-tool .lbp-op-moment [data-op-message-row] {
  margin: 6px 0 0;
}
.lbp-op-tool .lbp-op-moment [data-op-message-row] .lbp-hint {
  margin: 0;
}
/* The measurement: the headline and the count on one row; the confirming part's links and fine-tuning only once the
   three points are placed, the moved-point hint only before. */
.lbp-op-tool .lbp-op-m4head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.lbp-op-tool .lbp-op-count {
  flex: none;
  margin: 0;
}
.lbp-op-tool:not([data-op-tap="3"]) .lbp-op-confirming,
.lbp-op-tool[data-op-tap="3"] .lbp-op-tapping {
  display: none !important;
}
/* The measurement where the customer looks (the owner's review of 2026-12-03): a strip on the photo's upper edge, as
   wide as the photo (`--lbp-op-photo-w`, OwnPhotoTool.js), with what to press in large type, the count and the three
   points (done with a check, the one now light and a little larger, those to come outlined). Its height is the same in
   every state: the four sentences share one cell and a chip's width never changes with its state (the one now is
   scaled, not set in larger type). It flashes and its words come in when a point is placed (none of the movement with
   reduced motion: the tool's own rule below stops every animation, the colours and the badge still change). */
.lbp-op-strip {
  display: none;
}
.lbp-op-tool[data-op-step="1"][data-op-moment="4"]:not([data-op-gone="1"]) .lbp-op-strip {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px 12px;
  background: #396362;
  color: #fff;
  text-align: start;
}
/* The four sentences in one cell: the strip keeps the height of the longest. */
.lbp-op-strip-say {
  display: grid;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.lbp-op-strip-say > span {
  grid-area: 1 / 1;
  align-self: center;
  visibility: hidden;
}
@media (max-width: 991px) {
  /* A phone's strip spans the stage (as wide as the photo it would wrap its chips and take the photo's height): the
     longest sentence on one line at 390 px, a little smaller on a narrower screen. */
  .lbp-op-strip-say {
    font-size: clamp(18px, 5.2vw, 20px);
  }
}
.lbp-op-strip-say > span.is-on {
  visibility: visible;
}
.lbp-op-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 8px;
}
.lbp-op-strip-count {
  flex: none;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff;
  color: #396362;
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  white-space: nowrap;
}
/* The badge as wide in every state ("2 of 3" or the check): the chips never rewrap when the third point is placed. */
.lbp-op-strip-count {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.lbp-op-strip-count::before {
  content: attr(data-size);
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
.lbp-op-chips {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lbp-op-chips > li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  height: 26px;
  padding: 0 2px 0 9px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.lbp-op-chips > li[data-state="done"] {
  border-color: #fff;
  background: #fff;
  color: #396362;
}
.lbp-op-chips > li[data-state="now"] {
  border-color: #ffe7d1;
  background: #ffe7d1;
  color: #222;
  transform: scale(1.1);
}
.lbp-op-chip-n {
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}
[data-state="done"] > .lbp-op-chip-n {
  font-size: 0;
  line-height: 0;
}
[data-state="done"] > .lbp-op-chip-n::after {
  content: "✓";
  font-size: 13px;
  line-height: 18px;
}
.lbp-op-checklist .lbp-op-chip-n {
  width: 22px;
  height: 22px;
}
@media (min-width: 992px) {
  /* From the turn to the points the strip's place stands over the photo, as wide as it, so the photo never moves: before
     the points it holds only the stage's name at its foot, where the name stood before. */
  .lbp-op-tool[data-op-step="1"]:is([data-op-moment="2"], [data-op-moment="3"], [data-op-moment="4"]):not([data-op-gone="1"]) .lbp-op-strip {
    width: var(--lbp-op-photo-w, 100%);
    align-self: center;
  }
  .lbp-op-tool[data-op-step="1"]:is([data-op-moment="2"], [data-op-moment="3"]):not([data-op-gone="1"]) .lbp-op-strip {
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 10px 12px 12px;
  }
  .lbp-op-tool[data-op-step="1"]:is([data-op-moment="2"], [data-op-moment="3"]) .lbp-op-strip * {
    visibility: hidden;
  }
  .lbp-op-tool[data-op-step="1"]:is([data-op-moment="2"], [data-op-moment="3"]) .lbp-op-strip::after {
    content: attr(data-label);
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    color: #6b6b6b;
    font-size: .9rem;
    line-height: 1.5;
    text-align: center;
  }
  .lbp-op-tool[data-op-step="1"]:is([data-op-moment="2"], [data-op-moment="3"]):not([data-op-gone="1"]) .preview > .dimensions-tag {
    display: none !important;
  }
}
.lbp-op-strip.is-new {
  animation: lbp-op-flash 600ms ease-out;
}
.lbp-op-strip.is-new .lbp-op-strip-say > .is-on {
  animation: lbp-op-in 300ms ease-out;
}
.lbp-op-strip.is-new [data-state="now"] {
  animation: lbp-op-chip-in 300ms ease-out;
}
@keyframes lbp-op-flash {
  from { background-color: #6fb3b1; }
  to { background-color: #396362; }
}
@keyframes lbp-op-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes lbp-op-chip-in {
  from { opacity: 0; transform: translateY(8px) scale(1.1); }
  to { opacity: 1; transform: scale(1.1); }
}
/* The panel's last line in the measurement keeps the bar as close as in every other moment. */
.lbp-op-tool [data-op-at="4"] > .lbp-hint {
  margin-bottom: 0;
}
/* Start over once a point is placed (Fine-tune only with the three), on one row with how to move a point. On a phone
   the row's place is kept before the first point, so the panel is one height through the taps and the stage worked out
   as the measurement opens holds (OwnPhotoTool.js fitStage()). */
.lbp-op-tool[data-op-placed="0"] [data-op-links] {
  visibility: hidden;
}
@media (min-width: 992px) {
  .lbp-op-tool[data-op-placed="0"] [data-op-links] {
    display: none;
  }
}
.lbp-op-tool .lbp-op-links > .lbp-hint {
  margin: 0;
}
/* The points' names beside them, readable on any photo. */
.lovely-print-tool .lbp-op-work-photo .pt text.lb {
  fill: #1f4f4e;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linejoin: round;
  paint-order: stroke;
  font-size: 13px;
  text-anchor: start;
}
.lovely-print-tool .lbp-op-work-photo .pt text.lb[text-anchor="middle"] {
  text-anchor: middle;
}
/* With a mouse: the point asked for follows the pointer by name. */
.lovely-print-tool .lbp-op-follow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 999px;
  background: #396362;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
  pointer-events: none;
}
.lovely-print-tool .lbp-op-follow[hidden] {
  display: none;
}
/* The panel's list of the three points. */
.lbp-op-checklist {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.lbp-op-checklist > li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: rgba(0, 0, 0, .55);
}
.lbp-op-checklist > li[data-state="done"] {
  color: #222;
}
.lbp-op-checklist > li[data-state="done"] > .lbp-op-chip-n {
  border-color: #396362;
  background: #396362;
  color: #fff;
}
.lbp-op-checklist > li[data-state="now"] {
  color: #222;
  font-weight: 700;
}
.lbp-op-checklist > li[data-state="now"] > .lbp-op-chip-n {
  border-color: #ffe7d1;
  background: #ffe7d1;
}
.lbp-op-checklist .lbp-op-check-state {
  font-weight: 400;
}
.lbp-op-checklist > li[data-state="now"] .lbp-op-check-state {
  color: #396362;
  font-weight: 700;
}
/* The bar while points are still to be placed: a line pointing at the photo, not a button (left of the panel on a wide
   screen, above the bar when stacked); it never takes the focus. The three placed, the button that confirms them
   comes and draws the eye once. */
.lbp-op-tool .lbp-op-main > .lbp-op-await {
  display: none;
}
.lbp-op-tool[data-op-main="none"] .lbp-op-main > .lbp-op-await {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 4px 10px;
  border: 2px dashed #396362;
  color: #1f4f4e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.lbp-op-await-arrow::before {
  content: "↑";
  font-size: 20px;
}
/* The count never breaks inside itself: the sentence wraps before it. */
.lbp-op-await-n {
  white-space: nowrap;
}
.lbp-op-tool .lbp-op-main > [data-op-done].is-fresh {
  animation: lbp-op-ready 900ms ease-out;
}
@keyframes lbp-op-ready {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57, 99, 98, 0); }
  30% { box-shadow: 0 0 0 4px rgba(57, 99, 98, .55); background: #ffd6b0; }
}
.lbp-op-tool #op-fine > .lbp-label {
  margin-top: 0;
}
.lbp-op-tool [data-op-ruler-toggle] {
  margin: 0 0 8px;
}
/* The size check. */
.lbp-op-tool .lbp-op-moment[data-op-at="5"] [data-op-block] {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
.lbp-op-tool [data-op-ruler-more] {
  margin: 0 0 8px;
}
.lbp-op-tool .lbp-op-moment[data-op-at="5"] [data-op-result] {
  margin: 0;
  padding: 0;
  border: 0;
}
.lbp-op-tool .lbp-op-sharp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lbp-op-tool .lbp-op-sharp .lbp-label {
  margin: 0;
}
.lbp-op-tool .lbp-op-sharp .lbp-op-meter {
  flex: 1 1 180px;
  margin: 0;
}
.lbp-op-tool #op-numbers [data-op-ppi] {
  color: #222;
}
/* The link and the readout each on its row: a longer readout moves nothing under it (Smaller, Larger). */
.lbp-op-tool .lbp-op-sizeline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lbp-op-tool .lbp-op-sizeline [data-op-scale-value] {
  margin: -6px 0 6px;
  color: #6b6b6b;
  font-size: .8125rem;
}
.lbp-op-tool #op-size .lbp-op-sizerow {
  margin-top: 0;
}
/* The frame's readout on its own line under its label, as the photo's: a longer readout never moves the slider. */
.lbp-op-tool [data-op-frame-keys] .lbp-op-sizehead {
  flex-direction: column;
  align-items: flex-start;
}
.lbp-op-tool .lbp-op-rows {
  margin-top: 6px;
  border-top: 1px solid #ececec;
}
.lbp-op-tool .lbp-op-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  border-bottom: 1px solid #ececec;
}
.lbp-op-tool .lbp-op-key {
  flex: 0 1 auto;
  color: #555;
  font-size: .72rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.lbp-op-tool .lbp-op-val {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 14px;
  min-width: 0;
  text-align: end;
}
.lbp-op-tool .lbp-op-val > .lbp-op-slot,
.lbp-op-tool .lbp-op-val [data-op-chosen] > .lbp-seg {
  display: contents;
}
.lbp-op-tool .lbp-op-val [data-op-chosen] {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 20px;
}
.lbp-op-tool .lbp-op-val [data-op-remove-ask] {
  flex-basis: 100%;
  text-align: start;
}
.lbp-op-tool .lbp-op-value {
  color: #222;
  font-size: .8125rem;
}
.lbp-op-tool .lbp-op-thumb {
  width: 34px;
  height: 44px;
  object-fit: cover;
  border: 1px solid #e3e3e3;
}

/* The bar: the price, back and the one button; the buy area in the last step. */
.lbp-op-tool .lbp-op-bar > * {
  min-width: 0;
}
.lbp-op-tool .lbp-op-barrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lbp-op-tool .lbp-op-bar .lbp-op-price {
  flex: 0 0 auto;
  min-width: 52px;
  color: #222;
  font-size: .9rem;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
}
.lbp-op-tool .lbp-op-back {
  flex: 0 0 44px;
}
.lbp-op-tool .lbp-op-back > button {
  width: 44px;
  height: 48px;
  font-size: 1.1rem;
}
.lbp-op-tool .lbp-op-main,
.lbp-op-tool .lbp-op-pick,
.lbp-op-tool .lbp-op-barrow > #send {
  flex: 1 1 0;
  min-width: 0;
}
.lbp-op-tool .lbp-op-main > button {
  display: none;
}
.lbp-op-tool[data-op-main="go"] .lbp-op-main > [data-op-go],
.lbp-op-tool[data-op-main="done"] .lbp-op-main > [data-op-done],
.lbp-op-tool[data-op-main="next"] .lbp-op-main > .lbp-next,
.lbp-op-tool[data-op-main="again"] .lbp-op-main > [data-op-again] {
  display: flex;
}
.lbp-op-tool .lbp-op-main > button {
  flex: 1 1 auto;
  width: 100%;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: #ffe7d1;
  color: #222;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.lbp-op-tool .lbp-op-main > button:focus-visible {
  background: #e8dcd3;
  color: #396362;
}
.lbp-op-tool .lbp-op-pick {
  gap: 6px;
}
.lbp-op-tool .lbp-op-pick > .btn {
  height: 48px;
  white-space: nowrap;
}
/* The photo on its way stands in the bar while it is chosen, and what went wrong with it in the moments without a place
   of their own for it (3 and 4). */
.lbp-op-tool:not([data-op-step="1"]:is([data-op-moment="1"], [data-op-moment="3"], [data-op-moment="4"])) [data-op-slot="bar"] {
  display: none;
}
.lbp-op-tool [data-op-slot="bar"] .lbp-op-status,
.lbp-op-tool [data-op-slot="bar"] [data-op-error] {
  margin: 0;
}
.lbp-op-tool [data-op-slot="bar"] [data-op-cancel] {
  margin-top: 6px;
}
.lbp-op-tool [data-op-slot="bar"] [data-op-cancel] > button {
  height: 48px;
}
/* Steps 1-3 have no buy area: what is missing is said in the moment. The last step has no other button. */
.lbp-op-tool:not([data-op-step="4"]) .lbp-op-bar :is(#send, .lbp-proof, .spelling-hint),
.lbp-op-tool:not([data-op-step="1"][data-op-moment="1"]) .lbp-op-pick,
.lbp-op-tool[data-op-step="4"] :is(.lbp-op-main, .lbp-op-price),
.lbp-op-tool[data-op-main="pick"] .lbp-op-main {
  display: none !important;
}
.lbp-op-tool .lbp-op-bar > .spelling-hint,
.lbp-op-tool .lbp-op-bar > .lbp-proof {
  margin: 0;
  padding: 0;
}
.lbp-op-tool[data-op-step="4"] .lbp-op-bar #send {
  padding-top: 14px;
  padding-bottom: 14px;
}
/* The review line's target reaches up over the note above it; the button under it keeps its own. */
.lbp-op-tool .lbp-op-bar > .lbp-proof {
  position: relative;
}
.lbp-op-tool .lbp-op-bar > .lbp-proof::after {
  content: "";
  position: absolute;
  top: min(0px, calc(100% - 44px));
  bottom: 0;
  right: 0;
  left: 0;
}
html.show--consent .lovely-print-tool .lbp-op-bar {
  bottom: var(--lbp-cc-height, 0px);
}
@media (max-width: 991.98px) {
  /* One layer below the stage (8), as the posters' bar. */
  .lbp-op-tool .lbp-op-bar {
    position: sticky;
    bottom: 0;
    z-index: 7;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 -12px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #f5f5f5;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .06);
  }
  /* The bar's own height (OwnPhotoTool.js keepClearBelow()), 120 px until the script has measured it. No scroll
     anchoring: the stage is sticky, so the browser anchored to a line of the panel and moved the page by every change of
     the stage's or the panel's height (a moment opening, the confirmation); the tool places the page itself. */
  html:has(.lbp-op-bar) {
    scroll-padding-bottom: var(--lbp-op-under, 120px);
  }
  html:has(.lbp-op-bar) body {
    overflow-anchor: none;
  }
  /* The bar's own controls stand in that padding while it is stuck: judged one bar's height higher, a focus on one (the
     keyboard, a script) finds it in view and never scrolls the page until the bar comes loose. */
  .lbp-op-tool .lbp-op-bar :is(button, a, [tabindex]) {
    scroll-margin-top: var(--lbp-op-under, 120px);
    scroll-margin-bottom: calc(-1 * var(--lbp-op-under, 120px));
  }
}

/* The style's three groups. */
.lbp-op-tool .lbp-op-subs {
  margin: 0 0 2px;
}
body .lovely-print-tool > .row .lbp-op-tool[data-op-step="2"] .settings {
  padding-top: 4px;
}
.lbp-op-tool .lbp-op-group[data-op-group="style"] > .lbp-section:first-child {
  padding: 2px 0 4px;
}
.lbp-op-tool .lbp-op-group[data-op-group="style"] > .lbp-section:first-child > .lbp-label,
.lbp-op-tool [data-op-drawn-section] > .lbp-label {
  margin: 2px 0 4px;
}
.lbp-op-tool [data-op-drawn-section] {
  padding-top: 2px;
}
.lbp-op-tool [data-op-drawn-section] > .lbp-op-drawn + .lbp-hint {
  margin: 6px 0 0;
}
/* On a phone the styles are a row that scrolls sideways and snaps, the next tile showing at the edge; small tiles, so the
   photo styles and the first drawn ones are on the first screen. */
.lbp-op-tool .lbp-op-styles {
  display: flex;
  gap: 8px;
  margin: 0 -12px;
  padding: 0 12px 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 12px;
  scrollbar-width: none;
}
.lbp-op-tool .lbp-op-styles::-webkit-scrollbar {
  display: none;
}
.lbp-op-tool .lbp-op-styles > .lbp-tile {
  flex: 0 0 84px;
  scroll-snap-align: start;
}
.lbp-op-tool .lbp-op-styles .lbp-tile-pic {
  aspect-ratio: 84 / 62;
  overflow: hidden;
}
.lbp-op-tool .lbp-op-styles canvas {
  object-fit: cover;
}
.lbp-op-tool .lbp-op-styles .lbp-tile-name {
  padding: 2px 2px 3px;
  font-size: .66rem;
}
.lbp-op-tool .lbp-op-styles:not(.lbp-op-drawn) .lbp-tile-name {
  min-height: 0;
}
/* The shapes: tiles with a plain outline, three to a row. */
.lbp-op-tool .lbp-op-shapes {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lbp-op-tool .lbp-op-shapes > .lbp-tile {
  align-items: stretch;
  height: auto;
  min-height: 44px;
  padding: 0;
  font: inherit;
  text-transform: none;
}
.lbp-op-tool .lbp-op-shapes .lbp-tile-pic {
  display: grid;
  place-items: center;
  height: 64px;
}
.lbp-op-tool .lbp-op-form {
  display: block;
  width: 34px;
  height: 46px;
  border: 2px solid #4b8e8d;
}
.lbp-op-tool .lbp-op-form[data-form="soft"] {
  border-color: transparent;
  background: #cfe0df;
  box-shadow: 0 0 6px 5px #cfe0df;
}
.lbp-op-tool .lbp-op-form[data-form="oval"] {
  border-radius: 50%;
}
.lbp-op-tool .lbp-op-form[data-form="arch"] {
  border-radius: 17px 17px 0 0;
}
.lbp-op-tool .lbp-op-form[data-form="rounded"] {
  border-radius: 8px;
}
.lbp-op-tool .lbp-op-form[data-form="circle"] {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.lbp-op-tool .lbp-op-shapes .lbp-tile[aria-pressed="true"] {
  border-color: #4b8e8d;
  box-shadow: inset 0 0 0 1px #4b8e8d;
}

/* Colour and frame: the colours in an even 3 x 3 grid, air over it for the i-mark's target; each group's name above
   it, a group never broken over two rows; the price of each hanger and frame under its name. */
.lbp-op-tool #background-colors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 8px;
  justify-items: center;
  margin-top: 14px;
}
.lbp-op-tool .lbp-chip-group > small {
  order: -1;
  margin: 0;
}
.lbp-op-tool .lbp-chip-row {
  flex-wrap: nowrap;
}
.lbp-op-tool .lbp-chips {
  gap: 14px 16px;
}
.lbp-op-tool .lbp-chip {
  height: 112px;
}
.lbp-op-tool .lbp-chip i {
  bottom: 46px;
}
.lbp-op-tool .lbp-chip > span:first-of-type {
  bottom: 24px;
}
.lbp-op-tool .lbp-chip .lbp-chip-price {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 6px;
  display: block;
  color: #222;
  font-size: .66rem;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}
.lbp-op-tool .lbp-chip.disabled .lbp-chip-price,
.lbp-op-tool .lbp-chip-price[hidden] {
  display: none;
}

/* The details: "Show on the poster" on the field's label row; air between the box about the photo and More. */
.lbp-op-tool .lbp-pane[data-step="4"] .lbp-more {
  margin-top: 14px;
}
.lbp-op-tool .lbp-pane[data-step="4"] .lbp-two {
  grid-template-columns: 1fr;
  gap: 4px;
}
.lbp-op-tool .lbp-pane[data-step="4"] .lbp-col {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 8px;
}
.lbp-op-tool .lbp-pane[data-step="4"] .lbp-col > .lbp-field:not([hidden]),
.lbp-op-tool .lbp-pane[data-step="4"] .lbp-col > .lbp-field:not([hidden]) > .lbp-two-inputs {
  display: contents;
}
.lbp-op-tool .lbp-pane[data-step="4"] .lbp-col > .lbp-field > span {
  grid-column: 1;
  grid-row: 1;
  color: #555;
  font-size: .72rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.lbp-op-tool .lbp-pane[data-step="4"] .lbp-col > .lbp-check {
  grid-column: 2;
  grid-row: 1;
}
.lbp-op-tool .lbp-pane[data-step="4"] .lbp-col > .lbp-field > input,
.lbp-op-tool .lbp-pane[data-step="4"] .lbp-col > .lbp-field > .lbp-two-inputs > input {
  grid-column: 1 / -1;
}
body .lovely-print-tool > .row .lbp-op-tool .settings .poster-text-hint {
  margin-top: 9px;
  margin-bottom: 12px;
}
/* Targets the tool's rows leave too small at a phone's line height: the i-marks, "← All posters", More's choices. The
   i-mark's 16 px box has a 1 px border, which the ::after's inset counts from: 46 px, reaching further up than down,
   where the colours and the frames start. */
.lovely-print-tool.own-photo .lbp-op-tool .lbp-label .tool-info::after {
  inset: -18px -16px -14px;
}
.lbp-op-tool .lbp-switch a {
  display: inline-block;
}
.lbp-op-tool .lbp-switch a::after {
  inset: -20px -8px -8px;
}
.lbp-op-tool .lbp-more .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 44px;
}
/* An open tip from an i-mark stands 10 px further out, the strip and its arrow letting a press through to the mark. */
body:has(.lbp-op-tool) .tooltip.tool-tip {
  pointer-events: none;
}
body:has(.lbp-op-tool) .tooltip.tool-tip .tooltip-inner {
  pointer-events: auto;
}
body:has(.lbp-op-tool) .tooltip.tool-tip[data-popper-placement^=bottom] {
  padding-top: 10px;
}
body:has(.lbp-op-tool) .tooltip.tool-tip[data-popper-placement^=bottom] .tooltip-arrow {
  top: calc(10px - var(--bs-tooltip-arrow-height));
}
body:has(.lbp-op-tool) .tooltip.tool-tip[data-popper-placement^=top] {
  padding-bottom: 10px;
}
body:has(.lbp-op-tool) .tooltip.tool-tip[data-popper-placement^=top] .tooltip-arrow {
  bottom: calc(10px - var(--bs-tooltip-arrow-height));
}
body:has(.lbp-op-tool) .tooltip.tool-tip[data-popper-placement^=right] {
  padding-right: 10px;
}
body:has(.lbp-op-tool) .tooltip.tool-tip[data-popper-placement^=right] .tooltip-arrow {
  right: calc(10px - var(--bs-tooltip-arrow-height));
}
body:has(.lbp-op-tool) .tooltip.tool-tip[data-popper-placement^=left] {
  padding-left: 10px;
}
body:has(.lbp-op-tool) .tooltip.tool-tip[data-popper-placement^=left] .tooltip-arrow {
  left: calc(10px - var(--bs-tooltip-arrow-height));
}

/* Focus: a ring on every control reached by keyboard; a region the script focuses shows none itself. */
.lbp-op-tool :is(button, a[href], a[role="button"], input, select, textarea, label.btn, label.lbp-text-link, summary, [tabindex]):focus-visible {
  outline: 2px solid #4b8e8d;
  outline-offset: 2px;
}
.lbp-op-tool .lbp-op-main > button:focus-visible,
.lbp-op-tool .lbp-op-bar #send:focus-visible {
  outline-offset: -4px;
}
.lbp-op-tool :is(.lbp-op-moment, .lbp-pane)[tabindex="-1"]:focus,
.lbp-op-tool :is(.lbp-op-moment, .lbp-pane)[tabindex="-1"]:focus-visible {
  outline: none;
}
.lbp-op-tool .lbp-pane[data-step="4"] input:focus-visible,
.lbp-op-tool .lbp-pane[data-step="4"] input::-webkit-calendar-picker-indicator:focus-visible {
  outline: 2px solid #2c6b69;
  outline-offset: 2px;
}
@media (hover: hover) {
  .lbp-op-tool .lbp-op-main > button:hover,
  .lbp-op-tool .lbp-op-pick > .btn:hover {
    background: #e8dcd3;
    color: #396362;
  }
  .lbp-op-tool .lbp-op-rows .lbp-text-link:hover,
  .lbp-op-tool [data-op-chosen] .lbp-seg > button:hover {
    color: #396362;
  }
  .lbp-op-tool .lbp-op-back > button:hover:not(:disabled),
  .lbp-op-tool .lbp-op-subs > button:hover:not([aria-pressed="true"]) {
    background: #e8dcd3;
  }
}
@media (hover: hover) and (pointer: fine) {
  .lbp-op-tool[data-op-step="1"][data-op-moment="4"]:not([data-op-tap="3"]) .lbp-op-work-photo svg {
    cursor: crosshair;
  }
  .lbp-op-tool[data-op-step="1"][data-op-moment="4"] .lbp-op-work-photo svg .pt {
    cursor: grab;
  }
  .lbp-op-tool[data-op-step="1"][data-op-moment="4"] .lbp-op-work-photo svg .pt:active {
    cursor: grabbing;
  }
  .lovely-print-tool .lbp-op-tool[data-op-step="2"][data-op-in="place"] .poster.own-photo svg.lbp-op-overlay.is-active {
    cursor: move;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lbp-op-tool,
  .lbp-op-tool * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* A tablet standing: the phone's column, at most 640 px wide and in the middle. */
@media (min-width: 600px) and (max-width: 991.98px) {
  .lbp-op-tool {
    max-width: 640px;
    margin-inline: auto;
  }
}

/* From 992 px: the birth poster's tool's page grid (the owner's review of 2026-12-04: "Varför har det byggts
   tvärtom-orientering mot våra födelsetavlor?"): the site's container and its two columns, the head and the panel on the
   left in the width of .col-lg-5, the stage on the right in the width of .col-lg-7 with the theme's padding, each
   column's edge where the birth poster's are (Bootstrap's gutter, half on either side), the head at the row's top. The
   stage is a sticky column as tall as the window allows (--lbp-op-H, OwnPhotoTool.js), the poster or the photo whole
   in it; the bar sticks to the window's foot in the panel's column. The poster's side is this one rule's areas. */
@media (min-width: 992px) {
  body .lovely-print-tool > .row .lbp-tool-row > .lbp-op-tool {
    display: grid;
    grid-template-areas: "head stage" "panel stage";
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    max-width: none;
    padding: 0;
  }
  .lbp-op-tool > :is(.lbp-op-head, .lbp-op-panel) {
    padding-inline: calc(var(--bs-gutter-x) * .5);
  }
  .lbp-op-tool > .lbp-op-head {
    grid-area: head;
  }
  /* The panel as tall as what it holds, the action row straight under it (the owner's review of 2026-12-03: never a
     window's height of empty panel between the instruction and its button); the row sticks to the window's foot only
     when the panel is taller than the window. */
  .lbp-op-tool > .lbp-op-panel {
    display: flex;
    flex-direction: column;
    grid-area: panel;
    align-self: start;
  }
  .lbp-op-tool .lbp-op-panel > .settings {
    flex: none;
  }
  /* The theme's 30 px under the settings: the bar at most 32 px under the last line in every moment and step. */
  body .lovely-print-tool > .row .lbp-op-tool .lbp-op-panel > .settings {
    padding-bottom: 18px;
  }
  .lbp-op-tool .lbp-op-panel > .add-to-cart {
    flex: none;
  }
  .lbp-op-tool .lbp-op-bar {
    position: sticky;
    bottom: 0;
    z-index: 7;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 12px 18px;
    border: 1px solid #e6e6e6;
    background: #fff;
  }
  body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview:not(.zoom) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    grid-area: stage;
    position: sticky;
    top: 12px;
    z-index: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    height: var(--lbp-op-H, 560px);
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: none;
    box-shadow: none;
    transition: height 200ms ease;
  }
  body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview .dimensions-tag {
    position: static;
    inset: auto;
    flex: none;
    width: auto;
    height: 28px;
    margin: 0;
    padding: 0;
    transform: none;
    font-size: 15px;
    line-height: 28px;
  }
  .lbp-op-tool > .preview:not(.zoom) > .backdrop {
    display: none;
  }
  body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview:not(.zoom) .poster:is(.portrait, .landscape) {
    flex: none;
    width: var(--lbp-op-poster, 300px);
    max-width: none;
    margin: 0;
    transition: width 200ms ease;
  }
  .lbp-op-tool .lbp-op-example {
    flex: none;
  }
  .lbp-op-tool .preview > .lbp-caption {
    flex: none;
    width: 100%;
    margin: 0;
  }
  .lbp-op-tool[data-op-step="1"]:is([data-op-moment="2"], [data-op-moment="3"], [data-op-moment="4"]) .preview > .lbp-caption {
    display: none;
  }
  /* The close-up, the measurement's view and a photo that cannot be shown keep its place, unseen: the poster keeps its
     size when it comes back (fitStage() lays the stage out before the script shows the poster again). */
  .lbp-op-tool .preview:has(> .poster[hidden]) > .lbp-caption {
    visibility: hidden;
  }
  .lbp-op-tool .lbp-op-example img {
    width: var(--lbp-op-example, 300px);
    height: auto;
    max-width: none;
    aspect-ratio: 654 / 912;
    transition: width 200ms ease;
  }
  /* The photo (the measurement) and the close-up have the stage's height; the script lays them out by it. */
  .lbp-op-tool .preview .lbp-op-work:not([hidden]),
  .lbp-op-tool .preview .lbp-op-near:not([hidden]) {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    align-self: stretch;
    min-height: var(--lbp-op-visual, 400px);
  }
  .lbp-op-tool .preview > :is(.lbp-op-modes, .lbp-op-stop, .lbp-op-warn) {
    align-self: center;
    width: 100%;
    max-width: 560px;
    margin: 0;
  }
  .lbp-op-tool .preview > :is(.lbp-op-stop, .lbp-op-warn) {
    text-align: center;
  }
  /* The photo is on the right. */
  .lbp-op-await-arrow::before {
    content: "→";
  }
  /* The longest sentence and its count on one line in the panel's bar from 1274 px, where the panel is .col-lg-5's
     476 px (13 px, the least); two lines with the count whole in the narrower panel below. */
  .lbp-op-tool[data-op-main="none"] .lbp-op-main > .lbp-op-await {
    gap: 4px;
    padding: 4px 2px;
    font-size: 13px;
  }
  .lbp-op-tool .lbp-op-await-arrow::before {
    font-size: 18px;
  }
  [dir="rtl"] .lbp-op-await-arrow::before {
    content: "←";
  }
  /* The magnifier beside the poster's upper corner, outside it (the frame's handles are never under it). */
  body .lovely-print-tool > .row .lbp-tool-row .lbp-op-tool > .preview:not(.zoom) > .zoom-btn {
    top: var(--lbp-op-zoom-top, 36px);
    right: calc(50% + var(--lbp-op-poster, 300px) / 2 + 8px);
    inset-inline-end: auto;
  }
  /* Nothing in the panel scrolls sideways: the styles and the shapes in grids. */
  .lbp-op-tool .lbp-op-styles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    margin: 0;
    padding: 0 0 2px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .lbp-op-tool .lbp-op-styles:not(.lbp-op-drawn) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lbp-op-tool .lbp-op-styles > .lbp-tile {
    flex: none;
    width: auto;
    min-width: 0;
  }
  .lbp-op-tool .lbp-op-shapes {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
  /* Only the moment's headline a size up, not the headings in it; its hint at the body text's size. */
  .lbp-op-tool .lbp-op-moment > .lbp-label,
  .lbp-op-tool .lbp-op-m4head .lbp-label {
    font-size: 1.05rem;
  }
  .lbp-op-tool .lbp-op-moment .lbp-hint {
    font-size: 1rem;
  }
  .lbp-op-tool .lbp-op-moment .lbp-op-count {
    font-size: .8125rem;
  }
  /* A field that stops the cart is scrolled to the nearest edge: the margin keeps it under the step bar and over the
     bar. */
  .lbp-op-tool .lbp-pane :is(input, select) {
    scroll-margin: 80px 0 140px;
  }
}
