/* LUYS Theme 2.71 — mobile interaction refinements. */

/* LUYS 3.38 — vier gelijke, volledig gecentreerde productacties. */
@media (min-width: 901px) {
  body.single-product .luys-back-to-top,
  body.single-product .luys-mobile-product-cta { display: none !important; }

  .luys-mobile-product-dock {
    position: fixed;
    bottom: 22px;
    left: 50%;
    z-index: 10005;
    width: min(660px, calc(100vw - 72px));
    min-height: 58px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(125, 101, 76, .20);
    border-radius: 17px;
    background: rgba(253, 251, 248, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 46px rgba(35, 28, 23, .18);
    opacity: 0;
    transform: translate(-50%, 12px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
  }

  .luys-mobile-product-dock.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  .luys-mobile-product-dock__action,
  .luys-mobile-product-dock__price {
    min-width: 0;
    min-height: 58px;
    padding: 10px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-right: 1px solid rgba(125, 101, 76, .12);
    background: transparent;
    color: #3c342e;
    font-family: "DM Sans", sans-serif;
    text-align: center;
  }

  .luys-mobile-product-dock__action {
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
  }

  .luys-mobile-product-dock__action:hover,
  .luys-mobile-product-dock__action:focus-visible {
    background: rgba(125, 101, 76, .07);
  }

  .luys-mobile-product-dock__action > span,
  .luys-mobile-product-dock__price > span {
    display: grid;
    min-width: 20px;
    min-height: 20px;
    place-items: center;
    font-size: 16px;
    line-height: 1;
  }

  .luys-mobile-product-dock small {
    color: #66594f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    white-space: nowrap;
  }

  .luys-mobile-product-dock__price {
    background: rgba(125, 101, 76, .055);
  }

  .luys-mobile-product-dock__price > span {
    color: #78695e;
    font-size: 14px;
    font-weight: 650;
  }

  .luys-mobile-product-dock__price strong {
    overflow: hidden;
    color: #1f1b18;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .luys-mobile-product-dock__action[data-luys-dock-cart] {
    padding-inline: 16px;
    justify-content: center;
    gap: 8px;
    border-right: 0;
    background: #6f5947;
    color: #fff;
  }

  .luys-mobile-product-dock__action[data-luys-dock-cart] > small { display: block; color: #fff; }

  .luys-mobile-product-dock__action[data-luys-dock-cart]:hover,
  .luys-mobile-product-dock__action[data-luys-dock-cart]:focus-visible {
    background: #5f4b3b;
  }

  .luys-mobile-product-dock__action[data-luys-dock-cart].is-added { background: #54705b; }

  .luys-mobile-product-dock__action[data-luys-dock-cart]:disabled {
    opacity: .48;
    cursor: not-allowed;
  }
}

/* Social links are quiet icon buttons instead of extra text labels. */
.luys-social-icon-button {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid rgba(125, 101, 76, .20) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.42) !important;
  color: #66564a !important;
  text-decoration: none !important;
}
.luys-social-icon-button svg { width: 16px; height: 16px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.luys-social-icon-button svg path { fill: currentColor; stroke: none; }
.luys-social-icon-button:hover,
.luys-social-icon-button:focus-visible { background: #fff !important; border-color: rgba(125,101,76,.44) !important; transform: translateY(-1px); }
.luys-site-announcement__actions .luys-social-icon-button { width: 30px !important; min-width: 30px !important; height: 30px !important; min-height: 30px !important; border-color: rgba(255,255,255,.32) !important; background: rgba(255,255,255,.07) !important; color: #fff !important; }
.luys-site-announcement__actions .luys-social-icon-button:hover,
.luys-site-announcement__actions .luys-social-icon-button:focus-visible { background: rgba(255,255,255,.16) !important; border-color: rgba(255,255,255,.62) !important; }

@media (max-width: 900px) {
  /* The sticky header/mobile menu must always layer above the pre-live banner. */
  .luys-site-announcement { z-index: 900 !important; }
  .luys-site-header { z-index: 1100 !important; }

  /* iOS zooms a page when a focused text control is rendered below 16px. */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
  select,
  textarea {
    font-size: 16px !important;
  }

  /* No accidental text selection/callout while inspecting the 2D material detail. */
  body.single-product .luys-product-interior-preview__canvas,
  body.single-product .luys-product-interior-preview__canvas *,
  body.single-product .luys-single-product-media-preview,
  body.single-product .luys-single-product-media-preview * {
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
  }

  /* The mobile AI launcher is the icon itself; remove the white outer tile. */
  .luys-floating-chat:not(.luys-customer-service-chat) .luys-floating-chat__button {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .luys-floating-chat:not(.luys-customer-service-chat) .luys-floating-chat__icon {
    width: 46px !important;
    height: 46px !important;
    background: #78624f !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(40,31,25,.18);
  }

  /* Replace the separate back-to-top + product CTA with one LUYS mobile dock. */
  body.single-product .luys-back-to-top,
  body.single-product .luys-mobile-product-cta { display: none !important; }

  .luys-mobile-product-dock {
    position: fixed;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    z-index: 10005;
    min-height: 62px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(125,101,76,.20);
    border-radius: 18px;
    background: rgba(253,251,248,.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 42px rgba(35,28,23,.16);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .luys-mobile-product-dock.is-visible { opacity: 1; transform: none; pointer-events: auto; }
  .luys-mobile-product-dock__action,
  .luys-mobile-product-dock__price {
    min-width: 0;
    min-height: 62px;
    padding: 7px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-right: 1px solid rgba(125,101,76,.12);
    background: transparent;
    color: #3c342e;
    font-family: "DM Sans", sans-serif;
    text-align: center;
  }
  .luys-mobile-product-dock__action { cursor: pointer; }
  .luys-mobile-product-dock__action:last-child { border-right: 0; }
  .luys-mobile-product-dock__action > span { min-height: 18px; display: grid; place-items: center; font-size: 16px; line-height: 1; }
  .luys-mobile-product-dock small { max-width: 100%; overflow: hidden; color: #78695e; font-size: 8px; font-weight: 700; letter-spacing: .035em; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
  .luys-mobile-product-dock__price { background: rgba(125,101,76,.055); }
  .luys-mobile-product-dock__price strong { max-width: 100%; overflow: hidden; color: #1f1b18; font-size: 12px; font-weight: 700; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
  .luys-mobile-product-dock__action:active { background: rgba(125,101,76,.08); }

  /* Keep floating chat clear of the product dock. */
  body.single-product .luys-floating-chat:not(.luys-customer-service-chat) {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .luys-social-follow__inner { align-items: center !important; flex-direction: row !important; }
  .luys-social-follow__copy { flex: 1 1 auto; min-width: 0; }
  .luys-social-follow__links { flex: 0 0 auto; flex-wrap: nowrap !important; }
}

@media (max-width: 430px) {
  .luys-mobile-product-dock { right: 7px; left: 7px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .luys-mobile-product-dock__action,
  .luys-mobile-product-dock__price { padding-inline: 4px; }
  .luys-mobile-product-dock small { font-size: 7.5px; }
  .luys-mobile-product-dock__price strong { font-size: 11px; }
  .luys-social-follow__copy strong { font-size: 16px !important; }
}

/* LUYS Theme 2.72 — mobile overlay, horizontal stability and configurator dock. */
@media (max-width: 900px) {
  html, body { max-width: 100%; overflow-x: hidden !important; overscroll-behavior-x: none; }
  body { position: relative; }
  .luys-cart-panel { z-index: 30050 !important; }
  .luys-cart-panel__inner { z-index: 30051 !important; }

  .luys-mobile-product-dock__price > span {
    min-height: 18px;
    display: grid;
    place-items: center;
    color: #3c342e;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
  }
  .luys-mobile-product-dock__price strong { font-size: 9px; color: #78695e; }

  body.luys-has-configurator-dock .luys-back-to-top { display: none !important; }
  .luys-mobile-configurator-dock {
    position: fixed;
    right: 8px;
    bottom: calc(9px + env(safe-area-inset-bottom, 0px));
    left: 8px;
    z-index: 10006;
    min-height: 62px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(125,101,76,.20);
    border-radius: 18px;
    background: rgba(253,251,248,.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 42px rgba(35,28,23,.16);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .luys-mobile-configurator-dock.is-visible { opacity: 1; transform: none; pointer-events: auto; }
  .luys-mobile-configurator-dock button {
    min-width: 0;
    min-height: 62px;
    padding: 7px 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-right: 1px solid rgba(125,101,76,.12);
    background: transparent;
    color: #3c342e;
    font-family: "DM Sans",sans-serif;
  }
  .luys-mobile-configurator-dock button:last-child { border-right: 0; }
  .luys-mobile-configurator-dock button > span { min-height: 18px; display:grid; place-items:center; font-size:16px; line-height:1; }
  .luys-mobile-configurator-dock small { max-width:100%; overflow:hidden; color:#78695e; font-size:7.5px; font-weight:700; line-height:1.1; white-space:nowrap; text-overflow:ellipsis; }
  body.luys-has-configurator-dock .luys-floating-chat:not(.luys-customer-service-chat) { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* LUYS Theme 2.73 — vaste mobiele header, compacte cart preview en stabiele productviewer. */
@media (max-width: 900px) {
  /* iOS Safari kan sticky headers loslaten wanneer lange canvas/form secties worden
     gerenderd. Gebruik mobiel daarom een echte fixed header. */
  .luys-site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 20000 !important;
    width: 100%;
    transform: translateZ(0);
  }
  body { padding-top: var(--luys-mobile-header-offset, 126px) !important; }
  body.admin-bar .luys-site-header { top: 0 !important; }

  /* Alleen verticaal navigeren over de pagina; pinch-zoom blijft beschikbaar. */
  html, body { overflow-x: clip !important; overscroll-behavior-x: none !important; }
  body { touch-action: pan-y pinch-zoom; }

  /* Cart drawer is een compact paneel direct onder de vaste header. */
  .luys-cart-panel {
    z-index: 40000 !important;
    background: rgba(36, 29, 24, .16) !important;
  }
  .luys-cart-panel__inner {
    top: calc(var(--luys-mobile-header-offset, 126px) + 8px) !important;
    right: 10px !important;
    bottom: auto !important;
    left: 10px !important;
    z-index: 40001 !important;
    width: auto !important;
    max-height: min(58dvh, 520px) !important;
    padding: 15px !important;
    overflow-y: auto !important;
    border-radius: 15px !important;
  }
  .luys-cart-panel__header {
    align-items: center !important;
    padding-bottom: 10px !important;
  }
  .luys-cart-panel__eyebrow { display: none !important; }
  .luys-cart-panel h2 { font-size: 1.25rem !important; }
  .luys-cart-panel__close {
    padding: 6px !important;
    font-size: 0 !important;
    text-decoration: none !important;
  }
  .luys-cart-panel__close::before {
    content: "×";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
  }
  .luys-cart-panel__item {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 11px 0 !important;
  }
  .luys-cart-panel__thumb,
  .luys-cart-panel__thumb img {
    width: 58px !important;
    height: 58px !important;
  }
  .luys-cart-panel__item-copy { gap: 2px !important; font-size: .72rem !important; }
  .luys-cart-panel__item-title {
    overflow: hidden;
    font-family: "DM Sans", sans-serif !important;
    font-size: .83rem !important;
    font-weight: 600 !important;
    line-height: 1.22 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .luys-cart-panel__item-meta { color: #786d64 !important; font-size: .7rem !important; }
  .luys-cart-panel__item-price { margin-top: 1px; font-size: .78rem !important; }
  .luys-cart-panel__footer { padding-top: 12px !important; gap: 0 !important; }
  .luys-cart-panel__footer > p { display: none !important; }
  .luys-cart-panel__footer .luys-btn { min-height: 42px !important; font-size: .78rem !important; }

  /* De product-dockcart opent het paneel; visueel blijft hij gelijk aan de buren. */
  .luys-mobile-product-dock__action[data-luys-dock-cart] { position: relative; z-index: 1; }
}

@media (max-width: 480px) {
  body { padding-top: var(--luys-mobile-header-offset, 124px) !important; }
}


/* ==========================================================================
   LUYS 2.74 — mobiele winkelwagen volgt exact de mobiele menu-shell
   ========================================================================== */
@media (max-width: 900px) {
  body.luys-mobile-cart-is-open {
    overflow: hidden !important;
  }

  /* Geen grijze/fullscreen popup meer. De buitenlaag is alleen een technische shell. */
  .luys-cart-panel,
  .luys-cart-panel.is-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 30020 !important;
    display: block;
    background: transparent !important;
    pointer-events: none;
  }

  .luys-cart-panel[hidden] {
    display: none !important;
  }

  /* Zelfde positie, rand, radius, wit en schaduw als .luys-mobile-menu.is-open. */
  .luys-cart-panel__inner {
    position: fixed !important;
    top: calc(var(--luys-mobile-header-offset, 126px) + 8px) !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    z-index: 30021 !important;
    width: auto !important;
    max-height: calc(100dvh - var(--luys-mobile-header-offset, 126px) - 20px) !important;
    padding: 0 !important;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden !important;
    border: 1px solid rgba(26, 24, 22, 0.08) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 24px 70px rgba(26, 24, 22, 0.18) !important;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    contain: layout paint;
    pointer-events: auto;
  }

  .luys-cart-panel__header {
    min-height: 58px;
    padding: 18px 22px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    border-bottom: 1px solid rgba(26, 24, 22, 0.08) !important;
  }

  .luys-cart-panel__header > div {
    min-width: 0;
  }

  .luys-cart-panel__eyebrow {
    display: none !important;
  }

  .luys-cart-panel h2 {
    margin: 0 !important;
    color: var(--luys-color-text-primary, #1a1816) !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.2 !important;
  }

  .luys-cart-panel__close {
    position: relative;
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center;
    border: 1px solid rgba(26, 24, 22, 0.10) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #2b2724 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(26, 24, 22, 0.04);
  }

  .luys-cart-panel__close::before {
    content: "×" !important;
    font-family: "DM Sans", sans-serif;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    transform: translateY(-1px);
  }

  .luys-cart-panel__list {
    min-height: 0;
    max-height: none !important;
    padding: 0 22px !important;
    display: grid !important;
    gap: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .luys-cart-panel__item {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: 82px;
    padding: 12px 0 !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(26, 24, 22, 0.08) !important;
  }

  .luys-cart-panel__item:last-child {
    border-bottom: 0 !important;
  }

  .luys-cart-panel__thumb,
  .luys-cart-panel__thumb img,
  .luys-cart-panel__item > img {
    width: 58px !important;
    height: 58px !important;
    display: block;
    overflow: hidden;
    border-radius: 8px !important;
    background: #f4f0ea !important;
    object-fit: cover !important;
  }

  .luys-cart-panel__item-copy {
    min-width: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title title"
      "meta price";
    column-gap: 10px !important;
    row-gap: 4px !important;
    align-items: baseline;
  }

  .luys-cart-panel__item-title {
    grid-area: title;
    min-width: 0;
    overflow: hidden;
    color: #25211e !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .luys-cart-panel__item-meta {
    grid-area: meta;
    min-width: 0;
    overflow: hidden;
    color: #867970 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .luys-cart-panel__item-price {
    grid-area: price;
    margin: 0 !important;
    color: #5f4c3e !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  .luys-cart-panel__empty {
    margin: 0;
    padding: 24px 0;
    color: #786d64;
    font-size: 13px;
    line-height: 1.5;
  }

  .luys-cart-panel__footer {
    padding: 14px 22px calc(18px + env(safe-area-inset-bottom)) !important;
    display: block !important;
    border-top: 1px solid rgba(26, 24, 22, 0.08) !important;
    background: rgba(255, 255, 255, 0.985);
  }

  .luys-cart-panel__footer > p {
    display: none !important;
  }

  .luys-cart-panel__footer .luys-btn {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap;
  }

  /* Tijdens cart-open blijft de onderliggende productdock niet door de kaart heen concurreren. */
  body.luys-mobile-cart-is-open .luys-mobile-product-dock,
  body.luys-mobile-cart-is-open .luys-mobile-configurator-dock,
  body.luys-mobile-cart-is-open [data-luys-back-to-top] {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* LUYS Theme 2.75 — compacte cartregel: thumbnail links, alle info gecentreerd ernaast. */
@media(max-width:768px){
  .luys-cart-panel__close{
    width:36px !important;
    min-width:36px !important;
    max-width:36px !important;
    height:36px !important;
    min-height:36px !important;
    max-height:36px !important;
    aspect-ratio:1/1 !important;
    flex:0 0 36px !important;
    box-sizing:border-box !important;
    border-radius:50% !important;
    padding:0 !important;
  }
  .luys-cart-panel__item{
    display:grid !important;
    grid-template-columns:64px minmax(0,1fr) !important;
    gap:13px !important;
    min-height:88px !important;
    align-items:center !important;
  }
  .luys-cart-panel__thumb,
  .luys-cart-panel__thumb img,
  .luys-cart-panel__item > img{
    width:64px !important;
    height:64px !important;
  }
  .luys-cart-panel__item-copy{
    height:64px !important;
    min-width:0 !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"title title" "meta price" !important;
    align-content:center !important;
    align-items:center !important;
    column-gap:10px !important;
    row-gap:4px !important;
  }
  .luys-cart-panel__item-title{
    display:-webkit-box !important;
    overflow:hidden !important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    white-space:normal !important;
    text-overflow:ellipsis;
    font-size:12px !important;
    line-height:1.22 !important;
  }
  .luys-cart-panel__item-meta,
  .luys-cart-panel__item-price{
    align-self:center !important;
    line-height:1.15 !important;
  }
  .luys-mobile-product-dock__action[data-luys-dock-cart].is-added{
    color:#54705b !important;
  }
  .luys-mobile-product-dock__action[data-luys-dock-cart]:disabled{
    opacity:.46;
  }
}

/* LUYS Theme 2.76 — sluitkruis optisch exact gecentreerd. */
@media (max-width: 900px) {
  .luys-cart-panel__close {
    position: relative !important;
    display: block !important;
    place-items: unset !important;
    overflow: hidden !important;
  }
  .luys-cart-panel__close::before {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 1em;
    height: 1em;
    display: grid !important;
    place-items: center !important;
    line-height: 1 !important;
    transform: translate(-50%, -53%) !important;
  }
}

/* LUYS Theme 2.77 — stacking, desktop cart, product mobile order and assistant viewport. */
/* The pre-live strip is content, never an overlay layer: every header dropdown/drawer sits above it. */
.luys-site-announcement{
  z-index: 10 !important;
  isolation: auto !important;
}
.luys-site-header{
  z-index: 1200 !important;
  isolation: isolate;
}
.luys-mega-menu,
.luys-inspiration-menu,
.luys-account-dropdown,
.luys-favorites-panel,
.luys-cart-panel,
.luys-mobile-menu{
  z-index: 1250 !important;
}

/* Desktop cart uses the same anchored card language as Favorieten. This lives in
   mobile-ux.css deliberately because this stylesheet is guaranteed to load last sitewide. */
@media (min-width: 901px){
  .luys-cart-panel{
    position:absolute !important;
    inset:auto 56px auto auto !important;
    top:100% !important;
    width:min(430px,calc(100vw - 32px)) !important;
    padding-top:14px !important;
    background:transparent !important;
    pointer-events:none !important;
  }
  .luys-cart-panel[hidden]{display:none !important;}
  .luys-cart-panel.is-open{display:block !important;pointer-events:auto !important;}
  .luys-cart-panel__inner{
    position:static !important;
    width:100% !important;
    max-height:min(610px,calc(100dvh - 150px)) !important;
    padding:28px !important;
    overflow:hidden !important;
    border:1px solid rgba(26,24,22,.08) !important;
    border-radius:0 !important;
    background:#fff !important;
    box-shadow:0 24px 64px rgba(26,24,22,.12) !important;
  }
  .luys-cart-panel__header{display:flex !important;align-items:flex-start !important;justify-content:space-between !important;gap:20px !important;padding:0 0 22px !important;border-bottom:1px solid rgba(26,24,22,.08) !important;}
  .luys-cart-panel__eyebrow{display:block !important;margin:0 0 7px !important;color:var(--luys-color-oak-500) !important;font:600 11px/1.4 "DM Sans",sans-serif !important;letter-spacing:.12em !important;text-transform:uppercase !important;}
  .luys-cart-panel h2{margin:0 !important;color:var(--luys-color-text-primary) !important;font:400 31px/1 "Cormorant Garamond",serif !important;letter-spacing:-.025em !important;}
  .luys-cart-panel__close{padding:0 !important;border:0 !important;border-bottom:1px solid currentColor !important;border-radius:0 !important;background:transparent !important;color:var(--luys-color-oak-500) !important;font:600 11px/1.4 "DM Sans",sans-serif !important;letter-spacing:.12em !important;text-transform:uppercase !important;text-decoration:none !important;cursor:pointer !important;}
  .luys-cart-panel__list{display:grid !important;gap:0 !important;max-height:330px !important;padding:8px 0 0 !important;overflow-y:auto !important;}
  .luys-cart-panel__item{display:grid !important;grid-template-columns:64px minmax(0,1fr) !important;gap:14px !important;align-items:center !important;padding:14px 0 !important;border-bottom:1px solid rgba(26,24,22,.08) !important;}
  .luys-cart-panel__thumb,.luys-cart-panel__thumb img,.luys-cart-panel__item>img{width:64px !important;height:64px !important;display:block !important;border-radius:0 !important;object-fit:cover !important;}
  .luys-cart-panel__item-copy{min-width:0 !important;display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;grid-template-areas:"title title" "meta price" !important;gap:4px 10px !important;align-content:center !important;}
  .luys-cart-panel__item-title{grid-area:title !important;color:var(--luys-color-text-primary) !important;font:600 13px/1.3 "DM Sans",sans-serif !important;text-decoration:none !important;}
  .luys-cart-panel__item-meta{grid-area:meta !important;color:#82766c !important;font-size:11px !important;}
  .luys-cart-panel__item-price{grid-area:price !important;color:#5e4d3f !important;font-size:12px !important;font-weight:650 !important;white-space:nowrap !important;}
  .luys-cart-panel__footer{padding-top:18px !important;}
}

/* Product detail: configuration is the primary mobile task. */
@media (max-width: 980px){
  body.single-product .luys-single-product-hero__grid{display:grid !important;}
  body.single-product .luys-single-product-summary{order:1 !important;}
  body.single-product .luys-single-product-media-column{order:2 !important;}
}

/* Floating assistant stays fully between the fixed mobile header and safe-area. */
@media (max-width: 700px){
  .luys-floating-chat.is-open:not(.luys-customer-service-chat){
    top:calc(124px + env(safe-area-inset-top) + 8px) !important;
    right:12px !important;
    bottom:calc(10px + env(safe-area-inset-bottom)) !important;
    transform:none !important;
    align-content:end !important;
  }
  body.admin-bar .luys-floating-chat.is-open:not(.luys-customer-service-chat){
    top:calc(124px + env(safe-area-inset-top) + 8px) !important;
  }
  .luys-floating-chat.is-open:not(.luys-customer-service-chat) .luys-floating-chat__panel{
    width:min(340px,calc(100vw - 24px)) !important;
    max-height:calc(100dvh - 124px - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 82px) !important;
    overflow:hidden !important;
  }
  .luys-floating-chat.is-open:not(.luys-customer-service-chat) .luys-floating-chat__panel-inner{
    max-height:inherit !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
  }
  .luys-floating-chat.is-open:not(.luys-customer-service-chat) .luys-floating-chat__messages{
    min-height:110px !important;
    height:auto !important;
    flex:1 1 210px !important;
    overflow-y:auto !important;
  }
}

/* LUYS 2.79 - quick remove action in the header cart preview. */
.luys-cart-panel__remove{
  width:30px;
  height:30px;
  min-width:30px;
  padding:0;
  display:grid;
  place-items:center;
  align-self:center;
  border:1px solid rgba(26,24,22,.12);
  border-radius:999px;
  background:transparent;
  color:var(--luys-color-text-secondary);
  font:400 20px/1 "DM Sans",sans-serif;
  cursor:pointer;
  transition:border-color .18s ease,color .18s ease,background .18s ease,opacity .18s ease;
}
.luys-cart-panel__remove:hover,.luys-cart-panel__remove:focus-visible{
  border-color:var(--luys-color-oak-500);
  background:var(--luys-color-cream-50);
  color:var(--luys-color-oak-500);
  outline:none;
}
.luys-cart-panel__remove:disabled,.luys-cart-panel__remove.is-loading{opacity:.42;cursor:wait;}
@media (min-width:901px){
  .luys-cart-panel__item{grid-template-columns:64px minmax(0,1fr) 30px !important;}
}
@media (max-width:900px){
  .luys-cart-panel__item{grid-template-columns:64px minmax(0,1fr) 30px !important;}
}
@media (max-width:480px){
  .luys-cart-panel__item{grid-template-columns:58px minmax(0,1fr) 28px !important;}
  .luys-cart-panel__remove{width:28px;height:28px;min-width:28px;font-size:19px;}
}

/* LUYS 2.80 — cart remove is a true in-place AJAX action on every viewport. */
.luys-cart-panel__item{
  position:relative;
}
.luys-cart-panel__remove{
  grid-column:3 !important;
  grid-row:1 !important;
  justify-self:end !important;
  align-self:center !important;
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  min-height:30px !important;
  margin:0 !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
  border:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  color:#6f655c !important;
  font:400 22px/1 "DM Sans",sans-serif !important;
  cursor:pointer !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
.luys-cart-panel__remove:hover,.luys-cart-panel__remove:focus-visible{
  background:#f5f0ea !important;
  color:#2f2924 !important;
  outline:none !important;
}
.luys-cart-panel__remove:disabled,.luys-cart-panel__remove.is-loading{opacity:.42 !important;cursor:wait !important;}
.luys-cart-panel__error{margin:10px 0 0;padding:9px 11px;border:1px solid #e4c7c2;background:#fff7f5;color:#8d3f37;font-size:11px;line-height:1.45;}
@media (min-width:901px){
  .luys-cart-panel__item{grid-template-columns:64px minmax(0,1fr) 30px !important;}
  .luys-cart-panel__footer>p{display:flex !important;justify-content:flex-start !important;align-items:baseline !important;gap:6px !important;}
  .luys-cart-panel__footer>p span,.luys-cart-panel__footer>p strong{display:inline-block !important;margin:0 !important;}
}
@media (max-width:900px){
  .luys-cart-panel__item{grid-template-columns:64px minmax(0,1fr) 30px !important;}
}
@media (max-width:480px){
  .luys-cart-panel__item{grid-template-columns:58px minmax(0,1fr) 28px !important;}
  .luys-cart-panel__remove{width:28px !important;height:28px !important;min-width:28px !important;min-height:28px !important;font-size:20px !important;}
}

/* LUYS 2.80 — keep cart total readable on all drawer sizes. */
.luys-cart-panel__footer>p{
  display:flex !important;
  justify-content:flex-start !important;
  align-items:baseline !important;
  gap:6px !important;
  margin:0 0 14px !important;
}
.luys-cart-panel__footer>p span,.luys-cart-panel__footer>p strong{
  display:inline-block !important;
  margin:0 !important;
}


/* LUYS Theme 2.82 — floating chat returns to the bottom-right corner. */
.luys-floating-chat:not(.luys-customer-service-chat) {
  top: auto !important;
  right: clamp(18px, 2.2vw, 34px) !important;
  bottom: clamp(18px, 2.2vw, 34px) !important;
  left: auto !important;
  transform: none !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}
.luys-floating-chat:not(.luys-customer-service-chat) .luys-floating-chat__panel {
  top: auto !important;
  right: 0 !important;
  bottom: calc(100% + 12px) !important;
  transform: translateY(10px) scale(.98) !important;
  transform-origin: right bottom !important;
}
.luys-floating-chat.is-open:not(.luys-customer-service-chat) .luys-floating-chat__panel {
  transform: translateY(0) scale(1) !important;
}
@media (max-width: 900px) {
  .luys-floating-chat:not(.luys-customer-service-chat) {
    right: max(12px, env(safe-area-inset-right, 0px)) !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.single-product .luys-floating-chat:not(.luys-customer-service-chat),
  body.luys-has-configurator-dock .luys-floating-chat:not(.luys-customer-service-chat) {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
