/* Storefront palette. The artwork and its material swatches keep their own colours. */
.lenti-theme [data-lb-flow] .lb-price-summary {
  display: grid;
  gap: .45rem;
  margin: 1.4rem 0 .45rem;
  padding: clamp(.9rem, 2vw, 1.35rem);
  color: var(--m-muted);
  background: var(--lenti-control);
  border: 1px solid var(--m-line);
  border-radius: 12px;
}
.lenti-theme .lb-price-summary > div,
.lenti-theme .m-purchase-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
}
.lenti-theme .lb-price-summary :is(dt,dd) { margin: 0; font-size: .875rem; }
.lenti-theme .lb-price-summary dd,
.lenti-theme .m-purchase-totals dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lenti-theme .lb-price-summary > div:last-child {
  margin-top: .35rem;
  padding-top: .7rem;
  border-top: 1px solid var(--m-line);
  color: var(--m-ink);
}
.lenti-theme .lb-price-summary > div:last-child dd,
.lenti-theme .m-purchase-total dd { font-size: 1.25rem; font-weight: 650; color: var(--m-accent); }
.lenti-theme .lb-price-summary[aria-busy="true"] dd { visibility: hidden; }
.lenti-theme .lb-size-price { display: block; margin-top: .4rem; color: var(--m-accent); font-variant-numeric: tabular-nums; }
.lenti-theme .lb-starting-price .lb-size-price { display:inline; font-size:inherit; }
.lenti-theme .lb-starting-price .lb-size-price[hidden] { display:none; }
.lenti-theme .lb-size-price[hidden], .lenti-theme [data-lb-flow] .lb-price-summary[hidden] { display: none; }
.lenti-theme [data-lb-flow] :is([data-size],[data-design-key="size"])[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px var(--m-accent);
}
.lenti-theme [data-lb-flow] :is(button,summary,a):focus-visible { outline: 2px solid var(--m-accent); outline-offset: 3px; }
.lenti-theme .lb-steps button { border-radius: 12px; }
.lenti-theme .m-order-summary { padding-block: .5rem; }
.lenti-theme .lh-product-film { display:block; width:100%; max-height:70vh; border-radius:12px; background:var(--lenti-panel); }
.lenti-theme [data-lb-flow] :is(#memlySizes,.ml-design-options:has([data-design-key="size"])) {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%, 7rem),1fr));
  gap: .5rem;
}
.lenti-theme [data-lb-flow] :is([data-size],[data-design-key="size"]) {
  min-width: 0;
  padding: .8rem .65rem;
  border-radius: 10px;
  text-align: start;
}
.lenti-theme [data-lb-flow] .m-approval {
  padding: .85rem;
  border: 1px solid var(--m-line);
  border-radius: 10px;
}
@media (max-width: 520px) {
  .lenti-theme [data-lb-flow] :is(#memlySizes,.ml-design-options:has([data-design-key="size"])) {
    grid-template-columns: 1fr;
  }
  .lenti-theme [data-lb-flow] :is([data-size],[data-design-key="size"]) {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 48px;
  }
  .lenti-theme .lb-size-price { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
.lenti-theme {
  --m-paper: #171816;
  --m-ink: #f4efe5;
  --m-muted: #c0bbb0;
  --m-accent: #efd09a;
  --m-line: #4d4a41;
  --lenti-panel: #22231f;
  --lenti-control: #2c2b25;
  --lenti-mat: #302e27;
  --lenti-selected: #3b3325;
  --lenti-gold-ink: #231b12;
  --lenti-gold-hover: #f7deb2;
  --lenti-error: #ffb8a3;
  --lenti-error-panel: #3b2722;
  --lenti-backdrop: #10110ee0;
  color-scheme: dark;
}

/* Header, navigation and controls */
.lenti-theme :is(.m-announcement, .m-local-preview) { background: var(--lenti-control); color: var(--m-ink); }
.lenti-theme .m-announcement span { color: var(--m-accent); }
.lenti-theme .m-skip { background: var(--m-accent); color: var(--lenti-gold-ink); }
.lenti-theme .m-header { color: var(--m-ink); }
.lenti-theme :is(.m-header, .m-menu-settings) select { background-color: var(--lenti-control); color: var(--m-ink); border-color: var(--m-line); }
.lenti-theme .m-nav a[aria-current='page'] { color: var(--m-accent); }
.lenti-theme :is(.m-eyebrow, .m-section h2 em, .m-final-cta h2 em, .m-payment-word strong) { color: var(--m-accent); }
.lenti-theme .m-button:not(.m-button-outline) {
  background: var(--m-accent);
  border-color: var(--m-accent);
  color: var(--lenti-gold-ink) !important;
}
.lenti-theme .m-button:not(.m-button-outline):hover { background: var(--lenti-gold-hover); border-color: var(--lenti-gold-hover); }
.lenti-theme .m-button-outline { border-color: var(--m-line); color: var(--m-ink) !important; }
.lenti-theme .m-button-outline:hover { border-color: var(--m-accent); background: var(--lenti-control); }
.lenti-theme :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--m-accent); outline-offset: 4px; }
.lenti-theme :is(input[type='checkbox'], input[type='range']) { accent-color: var(--m-accent); }
.lenti-theme :is(.m-footer-top p, .m-footer-top a:not(.m-logo), .m-footer-bottom, .m-information p, .m-information li, .m-faq-list p) { color: var(--m-muted); }

/* Browse artwork and move through the buying steps */
.lenti-theme :is(.lb-browse, [data-lb-flow]) {
  --lb-surface: var(--lenti-panel);
  --lb-soft: var(--lenti-mat);
  --lb-line: var(--m-line);
  --lb-ink: var(--m-ink);
  --lb-muted: var(--m-muted);
}
.lenti-theme :is(.lb-step-caption, .lb-card-arrow) { color: var(--m-accent); }
.lenti-theme :is(.lb-art-card, .lb-source-link):hover { border-color: var(--m-accent); }
.lenti-theme .lb-art-image { background: radial-gradient(ellipse at 50% 18%, #514a3c, var(--lenti-mat) 78%); }
.lenti-theme .lb-art-image img { box-shadow: 6px 10px 18px #13120db0; }
.lenti-theme .lb-steps button[aria-current='step'] { background: var(--m-accent); color: var(--lenti-gold-ink); border-color: var(--m-accent); }
.lenti-theme .lb-steps button[aria-current='step'] span { background: #231b1222; }
.lenti-theme .lb-steps button:disabled:not([aria-current]) { color: var(--m-muted); }
.lenti-theme .lb-default-colour i { border-color: var(--m-muted); }
.lenti-theme .lb-design-total strong { color: var(--m-accent); }
.lenti-theme :is(.m-order-summary, .ml-spec) { border-color: var(--m-line); }
.lenti-theme :is(.m-option-button, .m-product-card, .ml-views button, .ml-select, .m-palette, .m-upload-box, .m-photo-selected) {
  background: var(--lenti-control);
  border-color: var(--m-line);
  color: var(--m-ink);
}
.lenti-theme :is(.m-option-button, .m-product-card, .ml-views button, .m-palette):hover { border-color: var(--m-accent); }
.lenti-theme :is(.m-option-button[aria-pressed='true'], .m-product-card[aria-current='page'], .m-palette[aria-pressed='true']) {
  background: var(--lenti-selected);
  border-color: var(--m-accent);
  box-shadow: inset 0 0 0 1px var(--m-accent);
  color: var(--m-ink);
}
.lenti-theme .ml-views button[aria-pressed='true'] { background: var(--m-accent); border-color: var(--m-accent); color: var(--lenti-gold-ink); }
.lenti-theme :is(.m-option-button strong, .m-style-mark, .m-product-card-mark, .m-reference-link) { color: var(--m-accent); }
.lenti-theme :is(.m-product-card-copy > span, .m-cart-note, .m-illustration-note, .m-studio-spec, .m-preview-consent, .m-editor-label small,
                 .m-upload-box span, .m-preview-note, .m-editor-controls > p, .m-shipping-note, .m-approval, .m-checkout-button + .m-payment-word,
                 .ml-note, .ml-detail span, .ml-options .m-checkout-hint, .ml-canvas-wrap > p) { color: var(--m-muted); }
.lenti-theme :is(.m-upload-box.is-dragging, .m-upload-box:hover) { background: var(--lenti-selected); border-color: var(--m-accent); }
.lenti-theme :is(.ml-uploads input, .m-upload-box input)::file-selector-button {
  background: var(--lenti-selected);
  color: var(--m-ink);
  border: 1px solid var(--m-line);
  border-radius: 5px;
  padding: 7px;
  margin-inline-end: 5px;
}
.lenti-theme .m-launch-offer { background: var(--lenti-control); border-color: var(--m-line); color: var(--m-ink); }
.lenti-theme .m-launch-badge { background: var(--lenti-selected); color: var(--m-accent); }
.lenti-theme .m-launch-deadline { color: var(--m-muted); }
.lenti-theme :is(.m-offer-current strong, .m-price-notice) { color: var(--m-accent); }

/* Preview surfaces, review sheets and optional design controls */
.lenti-theme :is(.m-preview-panel, .ml-preview, .ml-options, .m-dialog, .m-three-dialog, .ml-preview-dialog, .ml-preview-dialog-head, .m-review-sheet,
                 .m-review-sheet footer, .ls-dialog, .m-position-dialog, .m-position-footer, .m-flowbar, .m-payment-recovery) {
  background: var(--lenti-panel);
  border-color: var(--m-line);
  color: var(--m-ink);
}
.lenti-theme .ml-preview-dialog .ml-preview { background: transparent; }
.lenti-theme dialog::backdrop { background: var(--lenti-backdrop); }
.lenti-theme :is(.m-preview-stage, .ml-canvas-wrap, .ml-flat-preview, .m-position-stage, .m-three-stage, .m-review-image,
                 .ml-uploads img, .m-artwork-reveal > img, .ls-card img, .ls-room-canvas, .m-order-card img) { background: var(--lenti-mat); }
.lenti-theme .m-preview-stage::before { background: linear-gradient(135deg, transparent 58%, #efd09a13 59%, transparent 88%); }
.lenti-theme :is(.m-preview-dimensions, .m-preview-empty, .m-preview-actions button, .m-view-tabs button, .m-review-choices button) { color: var(--m-ink); }
.lenti-theme :is(.m-view-tabs, .m-preview-actions button, .m-position-open, .m-three-controls button, .m-preview-retry, .m-text-tools textarea,
                 .m-text-tools select, .m-font-grid button, .m-text-presets button, .m-rotation-buttons button, .m-position-layer-mode select,
                 .ml-preview-feedback .m-preview-retry, #lenticularQuoteRetry, .m-reveal-actions button, .m-selected-photo-actions button,
                 .ls-tool-buttons button, .ls-tool-buttons a, .ls-tabs a, .ls-actions button, .ls-history button) {
  background: var(--lenti-control);
  border-color: var(--m-line);
  color: var(--m-ink);
}
.lenti-theme :is(.m-view-tabs button[aria-pressed='true'], .m-preview-actions button[aria-pressed='true'], .m-position-layers button[aria-pressed='true'],
                 .m-font-grid button[aria-pressed='true']) { background: var(--lenti-selected); border-color: var(--m-accent); color: var(--m-accent); }
.lenti-theme :is(.m-dialog header button, .ml-preview-dialog-head button, .m-review-sheet header button) { color: var(--m-ink); border-color: var(--m-line); }
.lenti-theme :is(.m-example-tag, .m-three-status, .ml-preview-feedback, .m-preview-loading, .m-artwork-reveal, .m-order-toast,
                 .m-advanced, .m-second-thumb, .m-creation-progress, .m-proof-panel, .m-status, .ls-tools, .ls-gift) {
  background: var(--lenti-control);
  color: var(--m-ink);
  border-color: var(--m-line);
}
.lenti-theme .ml-preview-feedback[data-has-model='true'] { border-color: var(--m-line); }
.lenti-theme :is(.m-status[data-error='true'], .ml-preview-feedback[data-error='true']) { background: var(--lenti-error-panel); color: var(--lenti-error); }
.lenti-theme :is(.ls-error, [data-gift-warning]:not(:empty), .m-proof-panel .m-proof-attention) { color: var(--lenti-error); }
.lenti-theme :is(.m-creation-visual, #memlyCreationElapsed) { background: var(--lenti-panel); border-color: var(--m-line); }
.lenti-theme :is(.m-creation-eyebrow, .m-creation-copy .m-creation-phase, .m-creation-steps [aria-current='step']) { color: var(--m-accent); }
.lenti-theme :is(.m-creation-steps li, .m-creation-footer) { color: var(--m-muted); }
.lenti-theme .m-creation-activity { background: var(--m-line); }
.lenti-theme :is(.m-creation-activity span, .m-artwork-reveal > span),
.lenti-theme .m-creation-steps [aria-current='step']::before { background: var(--m-accent); border-color: var(--m-accent); color: var(--lenti-gold-ink); }
.lenti-theme .ml-preview-spinner { border-color: var(--m-line); border-top-color: var(--m-accent); }

/* Collections, guides, basket, saved projects and order tracking */
.lenti-theme :is(.lc-card, .lg-card, .lg-spec, .ls-card, .m-order-card) { background: var(--lenti-panel); color: var(--m-ink); border-color: var(--m-line); }
.lenti-theme :is(.lc-card, .lg-card, .lg-related a):hover { background: var(--lenti-control); border-color: var(--m-accent); }
.lenti-theme :is(.lc-card-art, .lc-hero-art) { background: color-mix(in srgb, var(--lc-accent) 36%, var(--lenti-control)); }
.lenti-theme .lc-view-label { color: var(--m-ink); background: #181915e8; padding: 4px 7px; border-radius: 4px; }
.lenti-theme .lc-hero-note { color: var(--m-ink); }
.lenti-theme :is(.lg-card-art, .lg-hero-art, .lg-table-wrap thead, .ls-template-art) { background: var(--lenti-mat); color: var(--m-ink); }
.lenti-theme :is(.lg-answer, .lg-article p, .m-order-card dt, .m-order-heading p, .m-order-steps li) { color: var(--m-muted); }
.lenti-theme :is(.lg-intro em, .la-copy h2 em, .m-order-steps li.is-done) { color: var(--m-accent); }
.lenti-theme :is(.lg-spec dl > div, .ls-line, .m-order-steps li.is-done) { border-color: var(--m-line); }
.lenti-theme .m-order-heading > span { background: var(--lenti-selected); color: var(--m-accent); }
.lenti-theme :is(.ls-gift, .ls-dialog, .ls-page) :is(input:not([type='checkbox']), select, textarea) { background: var(--lenti-control); border-color: var(--m-line); color: var(--m-ink); }

@media (prefers-reduced-motion: reduce) {
  .lenti-theme :is(.lc-card, .lc-card-art img, .m-product-card) { transition: none; }
}

#create-your-own { scroll-margin-block-start: 6rem; }
.lenti-theme .m-nav {
  column-gap: clamp(.875rem, 1.8vw, 1.875rem);
  align-items: center;
}
.lenti-theme .m-nav a { line-height: 1.4; text-align: center; }
.lenti-theme :is(.m-nav, .m-mobile-menu nav) a[aria-current="page"] {
  color: var(--m-accent);
  text-decoration: underline;
  text-underline-offset: .4em;
}
.lenti-theme .m-information > :is(p:not(.la-article-lead, .la-source), ul, ol),
.lenti-theme .lg-article section p {
  max-inline-size: 66ch;
  font-size: 1rem;
  line-height: 1.75;
}
.lenti-theme .m-information li { font-size: inherit; line-height: inherit; }
.lenti-theme :is(.lb-art-info, .lg-card-copy, .lc-card-copy) { min-width: 0; }
.lenti-theme :is(.lb-art-info strong, .lg-card-copy h2, .lc-card-copy h3) {
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.lenti-theme :is(.lg-card-copy, .lc-card-copy) p { font-size: .875rem; line-height: 1.55; }
.lenti-theme .lb-art-image { position: relative; padding: 0; }
.lenti-theme .lb-art-image img {
  position: absolute;
  width: 74%;
  height: 84%;
  max-width: none;
  object-fit: contain;
  box-shadow: none;
}
.lenti-theme .lb-art-info { align-items: baseline; }
.lenti-theme .lb-art-info > div { gap: .3rem; }
.lenti-theme .m-footer-top a:not(.m-logo), .lenti-theme .lg-footer-guides a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .875rem;
  line-height: 1.45;
}
.lenti-theme .m-footer-top > div:not(.m-footer-intro) { gap: .125rem; }
.lenti-theme .lg-footer-guides { gap: .125rem 1.5rem; }
.lenti-theme .m-footer-bottom { font-size: .75rem; }
.lenti-theme .m-footer a:is(:hover, :focus-visible) {
  color: var(--m-accent);
  text-decoration: underline;
  text-underline-offset: .22em;
}
@media (max-width: 600px) {
  .lenti-theme .lg-card { grid-template-columns: minmax(0, 1fr); }
  .lenti-theme .lg-card-art { padding: 1rem; }
  .lenti-theme .lg-card-art img { max-width: 100%; max-height: 10rem; object-fit: contain; }
  .lenti-theme .lb-art-info { padding: .75rem; }
  .lenti-theme .lb-card-arrow { display: none; }
  .lenti-theme .lg-footer-guides { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lenti-theme .lg-footer-guides a { overflow-wrap: anywhere; }
}
.lenti-theme .lb-panel-title { text-wrap: balance; }
.lenti-theme .lb-more > summary { line-height: 1.5; }
.lenti-theme .lb-more[open] > summary { color: var(--m-accent); }
.lenti-theme #memlyAdvancedFee { display: inline-block; font-variant-numeric: tabular-nums; }
.lenti-theme .m-second-upload input { max-width: 100%; color: var(--m-ink); }
.lenti-theme .m-status[data-error='true'] {
  border-inline-start: 3px solid var(--lenti-error);
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.lenti-theme .m-creation-visual svg { stroke: var(--m-accent); }
.lenti-theme .m-creation-footer { align-items: center; min-height: 0; }
.lenti-theme .m-review-choices > div { border-color: var(--m-line); font-size: .875rem; }
.lenti-theme .m-review-choices dt { color: var(--m-muted); }
.lenti-theme .m-review-totals > div:last-child { border-color: var(--m-line); }
.lenti-theme .m-review-totals dd { font-variant-numeric: tabular-nums; }
.lenti-theme [data-review-total] { color: var(--m-accent); font-size: 1.25rem; }
.lenti-theme .m-order-card { grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr); align-items: center; }
.lenti-theme .m-order-card img { height: auto; aspect-ratio: 1; object-fit: contain; }
.lenti-theme .m-order-card dl { font-size: .875rem; gap: .5rem 1rem; }
.lenti-theme .m-order-card dd { text-align: end; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lenti-theme .m-order-steps li { font-size: .8rem; border-color: var(--m-line); }
.lenti-theme .m-order-steps li[aria-current='step'] { border-color: var(--m-accent); font-weight: 700; }

@media (max-width: 600px) {
  .lenti-theme .lb-steps button { flex-direction: column; justify-content: start; text-align: center; padding: .5rem .25rem; font-size: .75rem; }
  .lenti-theme .m-order-card { grid-template-columns: minmax(0, 1fr); }
  .lenti-theme .m-order-card img { height: 12rem; }
  .lenti-theme .m-order-steps { display: grid; gap: .35rem; }
  .lenti-theme .m-order-steps li { border-top: 0; border-inline-start: 2px solid var(--m-line); padding: .25rem .75rem; min-height: 1.75rem; }
  .lenti-theme .m-review-sheet footer { max-height: 38dvh; overflow-y: auto; }
}
