/*
 * LAVORA WALLS - the store's own parts on top of the Concept theme (owner 2026-10-21).
 * Loaded after lavora.css (edits/35-lavora-look.json). Theme variables and classes only.
 */

/*! Own thin-line icons, no frame around them (owner 2026-10-22). The short rule under titles is gone (owner 2026-10-23). */
.text-with-icons .column__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
}

.text-with-icons .column__icon.with-svg svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
}

/*! A very light plaster grain on the light backgrounds. */
.text-with-icons.with-background .column,
.reveal-testimonials .testimonial,
.highlight-text {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .34 0 0 0 0 .31 0 0 0 0 .29 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/*! Products page search field (owner 2026-10-23, edits/48-collection-search.json): the theme's input in the topbar,
    a full row on phones, beside the sort menu from 768px. */
.lavora-collection-search {
  flex: 1 1 100%;
}

.lavora-collection-search .input {
  width: 100%;
  padding-inline-end: 3.5rem;
  background: transparent;
  border: 1px solid rgb(var(--color-foreground) / .15);
}

/* the search and price placeholders pass 4.5:1 */
.lavora-collection-search .input::placeholder,
[id^="FacetFormInput"]::placeholder {
  color: rgb(var(--color-foreground) / .9);
}

.lavora-collection-search__button {
  inset-block: 0;
  inset-inline-end: 0;
  width: 3.5rem;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .lavora-collection-search {
    flex: 0 1 22rem;
  }
}

/*! 404 page = the brand's (lavora-brand 07-digital N8, owner OK 2026-11-08): a band of the brand pattern (kit greige
    tile, data/files/brand/pattern-tile-greige.svg) with one mark missing in the middle, drawn as a dashed teal outline.
    The tile is placed so that one of its marks falls on the band centre; the gap covers that mark (edits/47-page-404.json). */
.lavora-404-wall {
  --tile-w: 96px;
  --tile-h: 132px;
  position: relative;
  height: clamp(13rem, 24vw, 22rem);
  margin-bottom: var(--sp-10);
  border-radius: var(--rounded-block);
  overflow: hidden;
  background: #C9BBA4 url(/files/brand/pattern-tile-greige.svg) repeat;
  background-size: var(--tile-w) var(--tile-h);
  /* tile point (24, 33) of 96 x 132 = the first mark's centre, put on the band centre */
  background-position: calc(50% + var(--tile-w) / 4) calc(50% + var(--tile-h) / 4);
}

@media screen and (min-width: 768px) {
  .lavora-404-wall {
    --tile-w: 144px;
    --tile-h: 198px;
  }
}

.lavora-404-gap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--tile-w) * .5);
  height: calc(var(--tile-h) * .5);
  transform: translate(-50%, -50%);
  background: #C9BBA4;
}

.lavora-404-gap svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: calc(var(--tile-w) * .285);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: #1F4550;
  stroke-width: 2px;
  stroke-dasharray: 6px 4px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lavora-404-wall + .title-wrapper .heading {
  text-wrap: balance;
}

/*! Footer: the brand logo (kit horizontal full-color, data/files/brand/footer-logo.svg from tools/build-logo.js) at the end,
    over a hairline, centred between that line and the bottom bar (the space above it equals the footer bottom padding
    under it). Owner 2026-11-07: the logo with its build animation replaces the name in wide letters. The clear space
    is inside the file, as the brand kit asks. */
.footer::after {
  content: "";
  grid-column: 1 / -1;
  display: block;
  margin-top: var(--sp-8);
  padding-top: calc(var(--section-padding-bottom) * .75);
  border-top: 1px solid rgb(var(--color-foreground) / .2);
  height: clamp(9.5rem, 6rem + 12vw, 17rem);
  background: url("/files/brand/footer-logo.svg") center bottom / contain no-repeat content-box;
}

/*! The logo builds once, when the end of the page comes into view (lavora-calm-scroll.js adds the classes; the file
    is only asked for then, so its build starts in view; without script it simply stands there). */
.footer.lavora-name-wait:not(.lavora-name-in)::after {
  background-image: none;
}

@media screen and (min-width: 768px) {
  .footer::after {
    padding-top: var(--section-padding-bottom);
  }
}

/*! Text + arrow links: on hover the arrow slides back toward the words instead of turning down. */
.mega-menu__link:hover .icon,
.media-card__link:hover .media-card__content .icon {
  --tw-rotate: 0deg;
  --tw-translate-x: calc(var(--sp-1d5) * var(--transform-logical) * -1);
}

/*! Technical information on a design page (sections/lavora-tech-info.liquid): tabs over spec rows, two cards. */
.lavora-tech__title {
  margin-bottom: var(--sp-8);
}

.lavora-tech__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-8);
}

.lavora-tech__main {
  gap: var(--sp-6);
  align-content: start;
  min-width: 0;
}

.lavora-tech__tabs {
  display: block;
  min-width: 0;
}

.lavora-tech__tablist {
  overflow-x: auto;
  scrollbar-width: none;
}

.lavora-tech__panel {
  max-width: 50rem;
}

.lavora-tech .lavora-tech__panel h3 {
  margin: var(--sp-6) 0 var(--sp-2);
  font-size: var(--text-xs, .75rem);
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85; /* .7 read 3.7:1 on white; .85 keeps the soft label at about 5:1 */
}

.lavora-tech .lavora-tech__panel h3:first-child {
  margin-top: 0;
}

.spec-rows {
  display: grid;
  margin: 0;
}

.spec-rows > div {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  border-bottom: 1px dotted rgb(var(--color-foreground) / .35);
}

.spec-rows dt {
  flex: 0 0 clamp(7rem, 30%, 12rem);
  font-weight: var(--font-medium);
}

.spec-rows dd {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  text-align: start; /* English reads from the left, long installation texts too (owner 2026-10-23) */
}

.lavora-tech__cards {
  gap: var(--sp-4);
  align-content: start;
}

.lavora-tech__card {
  gap: var(--sp-2);
  align-content: start;
  padding: var(--sp-6);
  border-radius: var(--rounded-card);
  background-color: rgb(var(--color-placeholder));
}

@media screen and (min-width: 1024px) {
  .lavora-tech__grid {
    grid-template-columns: minmax(0, 1fr) clamp(16rem, 26vw, 24rem);
    gap: var(--sp-14);
  }
}

.spec-rows__empty {
  opacity: .5;
}

/*! Wall planner page (sections/lavora-planner.liquid): wall cards, each with its own drawing, beside the boxes and
    price for every design (the main column). */
.lavora-planner__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-10);
}

.lavora-planner__wall {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--rounded-card);
  background-color: rgb(var(--color-placeholder));
  container-type: inline-size;
}

.lavora-planner__wall-body {
  display: grid;
  gap: var(--sp-4);
  align-items: start;
}

/* the drawing sits beside the size fields when the card is wide enough, under them on phones */
@container (min-width: 26rem) {
  .lavora-planner__wall-body {
    grid-template-columns: minmax(0, 1fr) 8.5rem;
  }
}

.lavora-planner__thumb svg {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 8.5rem;
}

.lavora-planner__opening {
  padding: var(--sp-4);
  border-radius: var(--inputs-radius, var(--rounded-card));
  background-color: rgb(var(--color-background));
}

.lavora-planner__draw-with .field {
  max-width: 20rem;
}

.lavora-planner__keys {
  gap: var(--sp-1) var(--sp-4);
}

.lavora-planner__keys > span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1d5);
}

.lavora-planner__key {
  display: inline-block;
  width: .75rem;
  height: .75rem;
  border: 1px solid rgb(var(--color-foreground) / .45);
}

.lavora-planner__key--full { background-color: rgb(var(--color-foreground) / .07); }
.lavora-planner__key--bottom { background-color: rgb(var(--color-foreground) / .2); }
.lavora-planner__key--opening { background-color: rgb(var(--color-placeholder)); border-style: dashed; }

.lavora-planner__results {
  gap: var(--sp-8);
  min-width: 0;
}

.lavora-planner__summary {
  padding-block-end: var(--sp-6);
  border-bottom: 1px solid rgb(var(--color-foreground) / .15);
}

.lavora-planner__area:empty {
  display: none;
}

.lavora-planner__send {
  padding: var(--sp-6);
  border-radius: var(--rounded-card);
  background-color: rgb(var(--color-placeholder));
}

.lavora-planner__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lavora-planner__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--sp-4);
  padding-block: var(--sp-4);
  border-bottom: 1px dotted rgb(var(--color-foreground) / .35);
}

.lavora-planner__row:first-child {
  padding-top: 0;
}

.lavora-planner__media {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: rgb(var(--color-placeholder));
}

.lavora-planner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lavora-planner__end {
  grid-column: 2;
  justify-items: start;
}

@media screen and (min-width: 768px) {
  .lavora-planner__row {
    grid-template-columns: 5rem minmax(0, 1fr) auto;
  }

  .lavora-planner__end {
    grid-column: auto;
    justify-items: end;
    text-align: end;
  }
}

@media screen and (min-width: 1024px) {
  .lavora-planner__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: var(--sp-14);
    align-items: start;
  }

  /* the boxes and prices stay in view while the walls are filled in */
  .lavora-planner__results {
    position: sticky;
    top: calc(var(--header-height, 0px) + var(--sp-6));
  }
}

/* tab labels never shrink and get cut: the row scrolls sideways when it is wider than the page */
.lavora-tech__tablist .tab__item {
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .lavora-tech__tablist > div {
    flex-wrap: wrap;
  }
}

/* product photo: the big photo and its thumbnails fit in one screen on desktop, no scrolling to see the whole photo;
   the buy column takes the rest of the width, so there is no empty band at the sides (owner 2026-10-21) */
@media screen and (min-width: 1024px) {
  .product.product--thumbnail {
    grid-template-columns: minmax(0, max(28rem, calc(100svh - 19.5rem))) minmax(25rem, 1fr);
  }
}

/* moving announcement line: the text slides inside the bar and never widens the page */
.topbar .announcement-bar {
  overflow: hidden;
}

/*! WhatsApp button: icon and words sit together above the hover fill */
.lavora-whatsapp__inner {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

/*! No follow-the-mouse "x" circle: the theme shows it over open drawers and it could stay on screen after a drawer
    closed (owner 2026-10-21). Drawer backdrops still close on click, with the normal pointer. */
mouse-cursor.mouse-cursor {
  display: none !important;
}

overlay-element {
  cursor: pointer !important;
}

/*! its photo fits the screen (a square photo was 1200 px tall at 1440 wide) */
.splitting-banner .media--adapt {
  max-height: 75svh;
}

.splitting-banner .media--adapt img {
  height: 100%;
  object-fit: cover;
}

/*! Files tab: the "Ask for the files" button under the text (catalogue.js); files are emailed, never downloads */
.lavora-tech__panel .doc-ask .button {
  margin-top: var(--sp-2);
  text-decoration: none;
}

/*! The page keeps its full length from the start: the theme left lower sections at zero height until the first
    scroll, so the page (and the scroll bar) jumped from about 5,900 px to 11,600 px under the visitor's hand. */
[data-page-rendering] #MainContent .shopify-section {
  content-visibility: visible !important;
}

/*! Home "Meet the Prism design": the picture slot fits the screen, the words stay on it */
lookbook-element.banner.media--adapt {
  padding-block-end: min(var(--ratio-percent), 85svh);
}

lookbook-element.media--adapt .media--height > img:first-child {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

/*! WhatsApp button: the hover fill is hidden while it waits above the button, shown as soon as the mouse is on it */
.lavora-whatsapp:not(:hover):not(:focus-visible) .btn-fill {
  visibility: hidden;
  transition: visibility 0s 0.6s;
}

/*! Customer's-eye review fixes (2026-10-22) */
/* footer policy links on phones: centred and clear of the floating WhatsApp button at the page end */
@media screen and (max-width: 767px) {
  .section .footer-copyright {
    padding-block-end: calc(var(--sp-14) + var(--sp-6));
  }
}

/* tab labels (trade page, a design's technical information) wrap onto a second line on phones instead of
   running off the page edge */
.lavora-tech__tablist > div {
  flex-wrap: wrap;
}

/* only the selected tab looks active: the mouse over another tab gives it a light tint, not the dark fill */
.lavora-tech__tablist .tab__item.button--secondary .btn-fill {
  background: rgb(var(--color-foreground) / .08);
}

.js [data-button-hover=standard] .lavora-tech__tablist .tab__item.button--secondary:hover:not([disabled], .self-button) {
  color: rgb(var(--color-button-background));
}

/* about page steps: all five step labels fit the width on phones and tablets (they were cut at the edge) */
@media screen and (max-width: 1023px) {
  .timeline-dots {
    width: 100%;
  }

  .timeline-dots button {
    white-space: nowrap;
  }

  .timeline-dots button::after {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media screen and (max-width: 767px) {
  .timeline-dots button {
    font-size: var(--text-base, 1rem);
  }
}

/* search results on phones: a smaller gap between the last result and the service cards */
@media screen and (max-width: 767px) {
  .search-section > .section--padding {
    padding-block-end: var(--sp-6);
  }
}
/*! Footer (owner 2026-10-22): the social icons spread over the whole left column, the department emails under
    them, and WhatsApp on the same line as the email, a little apart */
.footer__socials {
  grid-column: 1 / -1;
}

.footer__socials > ul {
  width: 100%;
  justify-content: space-between;
}

.footer__emails {
  grid-column: 1 / -1;
  align-content: start;
}

.footer__emails-list {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--sp-5) var(--sp-12);
}

@media screen and (min-width: 576px) {
  .footer__emails-list {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
}

.footer__emails-list span {
  font-size: var(--text-sm);
}

.footer__emails-list a {
  white-space: nowrap;
}

.footer__right {
  align-content: start;
}

@media screen and (min-width: 1280px) {
  .footer__right {
    gap: var(--sp-12);
  }
}

.footer__contact {
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: clamp(var(--sp-10), 13vw, 15.5rem);
  row-gap: var(--sp-1);
}

/*! Policy links under the footer: readable size and room between them (owner 2026-10-22: they were too small) */
.footer-copyright .credits ul {
  font-size: var(--text-sm);
  column-gap: var(--sp-6);
  row-gap: var(--sp-2);
  margin-block-start: var(--sp-3);
}

.footer-copyright .credits small {
  font-size: inherit;
}

@media screen and (min-width: 1024px) {
  .footer-copyright .credits ul {
    font-size: var(--text-base);
  }
}

/*! WhatsApp button (owner 2026-10-22): a little higher and further in from the edge, and the card icons at the
    foot of the page move left so the button never sits on them */
@media screen and (min-width: 768px) {
  .lavora-whatsapp {
    inset-inline-end: var(--sp-10);
    inset-block-end: var(--sp-10);
  }

  .footer-copyright .payment-icons {
    margin-inline-end: 13.5rem;
  }
}

@media screen and (max-width: 767px) {
  .lavora-whatsapp {
    inset-block-end: calc(var(--mobile-dock-height, 0px) + var(--sp-6) + env(safe-area-inset-bottom, 0px));
  }
}

/*! Cart page: the shipping, returns and planner lines under the items */
.cart__assurance {
  padding-block: var(--sp-6);
  border-block-start: 1px solid rgb(var(--color-foreground) / .1);
}

.cart__assurance .icon {
  flex-shrink: 0;
}

/*! Sign-in window (owner 2026-10-23): snippets/lavora-sign-in.liquid - one small card for Google, Microsoft or an
    emailed code, on the account pages and as the header dialog. Theme buttons, fields and corners. */
.lavora-signin-page {
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
}

.lavora-signin-media {
  display: none;
}

/* from 1024px: a large rounded picture of a wall on the left, the form on the right (owner 2026-10-23) */
@media screen and (min-width: 1024px) {
  .lavora-signin-layout:has(.lavora-signin-media) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 8rem);
  }

  /* level with the title and whole inside the screen, staying in view while the form scrolls (owner 2026-10-23) */
  .lavora-signin-media {
    display: block;
    position: sticky;
    top: calc(var(--header-height, 0px) + var(--sp-8));
    height: min(calc(100svh - var(--header-height, 0px) - 12rem), 46rem);
    min-height: 24rem;
    overflow: hidden;
    border-radius: var(--rounded-card);
  }

  .lavora-signin-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .lavora-signin-page {
    max-width: 34rem;
    justify-self: center;
    padding-bottom: 5rem; /* the last line stays clear of the chat button */
  }

  .lavora-signin-page .lavora-signin__head,
  .lavora-signin-page .lavora-signin__foot {
    text-align: start;
  }

  .lavora-signin-page .heading.title-md {
    font-size: clamp(2rem, 1rem + 1.6vw, 3rem);
  }

}

/* Google and Microsoft side by side once the form column is wide enough for both labels */
@media screen and (min-width: 1200px) {
  .lavora-signin-page .lavora-signin__providers:has(> :nth-child(2)) {
    grid-template-columns: 1fr 1fr;
  }
}

.lavora-signin__step {
  gap: var(--sp-6);
}

.lavora-signin__head {
  gap: var(--sp-3);
  text-align: center;
}

.lavora-signin__eyebrow {
  font-size: var(--text-sm);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgb(var(--color-foreground) / .65);
}

.lavora-signin__lead {
  color: rgb(var(--color-foreground) / .75);
  text-wrap: pretty;
}

.lavora-signin__providers,
.lavora-signin__form,
.lavora-signin__trade-fields {
  gap: var(--sp-3);
}

.lavora-signin__provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  width: 100%;
  min-height: 3.25rem;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-base);
  font-weight: 500;
  color: rgb(var(--color-foreground));
  background: rgb(var(--color-background));
  border: 1px solid rgb(var(--color-foreground) / .2);
  border-radius: var(--rounded-button);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}

.lavora-signin__provider:hover {
  border-color: rgb(var(--color-foreground) / .6);
  background: rgb(var(--color-foreground) / .03);
}

.lavora-signin__or {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--text-sm);
  color: rgb(var(--color-foreground) / .6);
}

.lavora-signin__or::before,
.lavora-signin__or::after {
  content: "";
  flex: 1;
  border-top: 1px solid rgb(var(--color-foreground) / .15);
}

.lavora-signin__type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  border: 0;
  padding: 0;
  margin: 0;
}

.lavora-signin__choice {
  position: relative;
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4);
  border: 1px solid rgb(var(--color-foreground) / .2);
  border-radius: var(--rounded-button);
  cursor: pointer;
}

.lavora-signin__choice:has(input:checked) {
  border-color: rgb(var(--color-foreground));
  box-shadow: inset 0 0 0 1px rgb(var(--color-foreground));
}

.lavora-signin__choice:has(input:focus-visible) {
  outline: 2px solid rgb(var(--color-keyboard-focus, 11 97 205));
  outline-offset: 2px;
}

.lavora-signin__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lavora-signin__choice-title {
  font-weight: 500;
}

.lavora-signin__choice-text,
.lavora-signin__note,
.lavora-signin__foot {
  font-size: var(--text-sm);
  color: rgb(var(--color-foreground) / .7);
}

.lavora-signin__select {
  width: 100%;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 50%, calc(100% - .95rem) 50%;
  background-size: .3rem .3rem;
  background-repeat: no-repeat;
}

.lavora-signin__error {
  font-size: var(--text-sm);
  color: rgb(var(--color-error-text, 190 18 60));
}

.lavora-signin__notice {
  padding: var(--sp-4);
  font-size: var(--text-sm);
  background: rgb(var(--color-foreground) / .04);
  border-radius: var(--rounded-button);
  /* no single word left alone on the last line (look-scan straggler) */
  text-wrap: pretty;
}

.lavora-signin__foot {
  gap: var(--sp-2);
  text-align: center;
}

.lavora-signin__legal {
  font-size: var(--text-xs, .75rem);
  color: rgb(var(--color-foreground) / .6);
}

.lavora-signin__back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  justify-self: start;
  font-size: var(--text-sm);
  cursor: pointer;
}

.lavora-signin__code {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: .5em;
  padding-inline-start: .5em;
}

.lavora-signin [data-resend] {
  font-size: inherit;
  cursor: pointer;
}

.lavora-signin [data-resend]:disabled {
  opacity: .5;
  cursor: default;
}

.lavora-signin-dialog {
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  color: rgb(var(--color-foreground));
  background: rgb(var(--color-background));
  border: 0;
  border-radius: var(--rounded-card);
  overflow-y: auto;
}

.lavora-signin-dialog::backdrop {
  background: rgb(31 69 80 / .45); /* brand teal scrim */
}

.lavora-signin-dialog[open] {
  animation: lavora-signin-in .3s cubic-bezier(.7, 0, .2, 1);
}

.lavora-signin-dialog__close {
  position: absolute;
  inset-block-start: var(--sp-3);
  inset-inline-end: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--rounded-full);
  cursor: pointer;
}

.lavora-signin-dialog__close:hover {
  background: rgb(var(--color-foreground) / .06);
}

@keyframes lavora-signin-in {
  from { opacity: 0; transform: translateY(1rem); }
}

@media (prefers-reduced-motion: reduce) {
  .lavora-signin-dialog[open] { animation: none; }
}

/* the sign-in parts the script hides (Trade fields, the order-link view) stay hidden over their display rules */
.lavora-signin [hidden] {
  display: none !important;
}

.lavora-signin-dialog .lavora-signin__head {
  padding-inline: var(--sp-8);
}

.lavora-signin-dialog .heading.title-md {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

/* Why Lavora Walls cards (home reveal-testimonials): the bare line icon before the card title (owner 2026-10-23: no ring) */
.reveal-testimonials .testimonial__icon svg {
  width: 2rem;
  height: 2rem;
}

.reveal-testimonials .testimonial--card {
  background-color: rgb(var(--color-base-background));
  border: 1px solid rgb(var(--color-border));
}

.reveal-testimonials .testimonial--card blockquote {
  gap: var(--sp-5);
}

.reveal-testimonials .testimonial--card cite {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  margin-block: 0;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: var(--font-heading-letter-spacing);
}

.reveal-testimonials .testimonial--card p {
  text-wrap: pretty;
}

/* owner 2026-10-23: the cards keep one zigzag from top to bottom; the theme centres the first and the last */
@media screen and (min-width: 768px) {
  .reveal-testimonials .testimonial--card:first-child {
    justify-self: flex-end;
  }

  .reveal-testimonials .testimonial--card:last-child:nth-child(even) {
    justify-self: flex-start;
  }
}

/* look scan 2026-10-23 (owner OK): the secondary grey text read at 3-4:1; darker so it passes 4.5:1 */
.text-opacity {
  color: rgb(var(--color-foreground) / .84);
}

/* the highlighted words without the gradient read in the text colour (the highlight colour alone is 1.3:1) */
.highlighted-text[data-style=text],
.highlighted-text.animated[data-style=text] {
  color: rgb(var(--color-foreground));
}

/* 2026-11-07: one big gold word, only where the heading sits on teal (gold #B8924E on teal #1F4550 = 3.58:1,
   passes 3:1 for large text; on Light it is 2.53:1 and on Greige 1.53:1, so everywhere else it stays teal) */
[id*="__images-with-text-overlay"] .banner__title .highlighted-text.animated[data-style=text] {
  color: rgb(var(--color-highlight));
}

/* the gold word is its own box, so it dropped alone to a second line at 1440 px; balance the two lines */
[id*="__images-with-text-overlay"] .banner__title {
  text-wrap: balance;
}

/* the lookbook heading sits on its image from 768 px; on the phone it sits on the Light page above it */
@media screen and (min-width: 768px) {
  [id*="__lookbook_"] .heading .highlighted-text.animated[data-style=text] {
    color: rgb(var(--color-highlight));
  }
}

@media screen and (min-width: 768px) {
  .lavora-br-phone {
    display: none;
  }
}

/* home slideshow: the "Shop wall designs" button keeps its label on one line (it wrapped to two at 1280 px) */
.slideshow-word .button {
  white-space: nowrap;
  flex-shrink: 0;
}

/* quick view: the price stays clear of the close button in the top corner (owner 2026-10-23: the x sat on it) */
.quick-view .product__title.with-price {
  padding-inline-end: var(--sp-12);
}

/* product FAQ band: the line under the title read at 4.1:1 on the dark band; brighter so it passes 4.5:1 on its lightest end */
.faqs.with-background .title-wrapper .rte {
  color: rgb(var(--color-foreground) / .92);
}

/* home "Raised patterns": the 4-line computer layout needs 1024 px; on tablets the words run free, so a picture
   never sits alone on a line */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .template-index .highlight-text br.md\:block {
    display: none;
  }
}

/*! Headings: the C of a C+T pair keeps the space of the other letter pairs (assets/lavora-type.js, owner 2026-10-23) */
.lavora-kern-ct {
  margin-inline-end: .035em;
}

/*! Policy pages (sections/lavora-policy.liquid, owner 2026-10-23): the installation page's title, buttons, rows and card */
.lavora-policy__intro {
  display: grid;
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

.lavora-policy__intro .rte {
  max-width: 50rem;
}

.lavora-policy__rows {
  display: grid;
  max-width: 50rem;
}

.lavora-policy__row {
  display: grid;
  gap: var(--sp-2);
  padding-block: var(--sp-5);
  border-bottom: 1px dotted rgb(var(--color-foreground) / .35);
}

.lavora-policy__row:first-child {
  padding-top: 0;
}

.lavora-policy .lavora-policy__label {
  margin: 0;
  font-family: var(--font-body-family);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: none;
}

.lavora-policy__row .rte > :first-child {
  margin-top: 0;
}

.lavora-policy__text {
  max-width: 50rem;
}

@media screen and (min-width: 768px) {
  .lavora-policy__row {
    grid-template-columns: clamp(9rem, 30%, 14rem) minmax(0, 1fr);
    gap: var(--sp-6);
  }
}

/* the policy buttons stay on one line and scroll sideways on a phone, as the installation tabs do */
.lavora-policy .lavora-tech__tablist > .flex {
  flex-wrap: nowrap;
}

/* email and chat links inside running text get a tap area of at least 24px (WCAG 2.5.8) without moving the lines:
   the padding grows the target, the equal negative margin keeps the line height */
main .rte a[href^="mailto:"],
main .rte a[href*="wa.me"],
.lavora-policy a[href^="mailto:"] {
  display: inline-block;
  padding-block: .25rem;
  margin-block: -.25rem;
}

/* the cookie banner keeps the theme's card but on a solid page colour: at 0.9 the hero headline showed faintly
   through the text at 1440 */
.cookie-modal .drawer__inner {
  background-color: rgb(var(--color-background));
}

/* "You may also like" has 2 columns while only 2 other designs exist; from 1280px a 4:5 card photo in a half-width
   column got taller than the screen (1025px at 1920), so there the photos use the theme's square ratio */
@media screen and (min-width: 1280px) {
  .related-products .card-grid--2 .media--portrait > :is(img, svg, video-media) {
    aspect-ratio: 1 / 1;
  }
}

/* Brand colours (2026-11-07): the theme draws unit and compare prices in the price colour at 60%. With brand teal on
   the light page that is 3.2:1, under the 4.5:1 small text needs; 80% gives 5.3:1 and keeps the same quieter tone. */
.unit-price,
.price__sale {
  color: rgb(var(--color-price) / 0.8);
}

/* 2026-11-08 (brand check): room card names never break inside a word ("ENTRYWA / Y" at 1024 px). The theme
   sets 36 px from 1024 px in cards as narrow as 229 px; the size now follows the screen width, 24 to 36 px. */
[id*="__collage_grid"] .media-card__text .heading {
  overflow-wrap: normal;
  word-break: normal;
}
@media screen and (min-width: 1024px) {
  [id*="__collage_grid"] .media-card__text .heading {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  }
}

/*! Empty photo slots with no text over them (about story photo + timeline, home photos with text beside): the brand
    pattern (kit teal tile, data/files/brand/pattern-tile-teal.svg) instead of plain Teal until real photos come. Owner OK
    2026-11-08. Only the placeholder SVGs are matched (not the theme icons, e.g. icon-quote.svg), so a real photo (JPG/WebP) shows as is. Slots with text on top stay
    plain Teal (kit rule: never behind text). */
:is([id*="__image_with_text_"], [id*="__timeline_"], [id*="__images_with_text_"]) :has(> img[src*="/files/"][src*=".svg"]:not([src*="icon-"])) {
  background: #1F4550 url(/files/brand/pattern-tile-teal.svg) repeat;
  background-size: 96px 132px;
}

:is([id*="__image_with_text_"], [id*="__timeline_"], [id*="__images_with_text_"]) img[src*="/files/"][src*=".svg"]:not([src*="icon-"]) {
  opacity: 0;
}

@media screen and (min-width: 768px) {
  :is([id*="__image_with_text_"], [id*="__timeline_"], [id*="__images_with_text_"]) :has(> img[src*="/files/"][src*=".svg"]:not([src*="icon-"])) {
    background-size: 144px 198px;
  }
}

/*! Headings: Jost Medium 500, letter spacing +6% (brand kit, owner OK 2026-11-08). The weight and spacing come from
    the theme settings (type_header_font jost_n5, type_header_spacing 60); the theme's display headings carry their
    own tighter classes (tracking-heading -4%, tracking-tight, tracking-tighter), so those read the same setting here:
    one spacing for every heading on a page. */
.tracking-heading,
:is(.heading, .h0, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6):is(.tracking-tight, .tracking-tighter, .tracking-none),
.timeline-dots button {
  letter-spacing: var(--font-heading-letter-spacing);
}

/* Headings never break inside a word: the theme's break-word cut "COLLECTIONS" and "INFORMATION" in the footer at
   768 px already, and the wider +6% spacing adds more. Long words now go to the next line whole; where one word is
   wider than its box, the size is set below. */
:is(.heading, .h0, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: normal;
  word-break: normal;
}

/* Home "Raised patterns cast in ..." line: the theme writes each part as its own inline heading with no space between
   them, so on phones "PATTERNS" and "CAST" ran together into one word. A real space after each part fixes it (at line
   ends it is dropped, as any space). */
.highlight-text > .heading.inline::after {
  content: " ";
}

/* Phones: the big page titles (title-xl, 48 px) are one word on some pages ("INSTALLATION", "ACCESSIBILITY"); with
   the +6% spacing they ran past the screen edge. The size now follows the screen width so the longest title fits. */
@media screen and (max-width: 767px) {
  .title-xl {
    font-size: min(var(--title-xl), 11.5vw);
  }
}

/* Wall planner summary title: with the wider heading spacing it wraps on phones; the two lines are kept even. */
.lavora-planner__summary > .heading {
  text-wrap: balance;
}

/*! Buttons: 2 px corners, as the brand kit's web style says (owner 2026-11-08). The theme's own choices are 0, 6 px
    or a full pill, so the theme variable is set here; every theme button reads it. Doubled :root wins over the
    theme's inline :root block. */
:root:root {
  --rounded-button: .125rem;
}
