:root{
  --lati-sticky-h: 0px;
  --lati-chat-gap: 14px;
  --lati-chat-bottom: 0px;
  --lati-mini-bottom: 0px;
  --lati-totop-bottom: 0px;
  --lati-mobile-chat-bottom: 0px;
  --lati-mobile-mini-bottom: 0px;
  --lati-mobile-totop-bottom: 0px;
  --lati-stack-right: 16px;
}
body.lati-has-sticky{
  padding-bottom: calc(var(--lati-sticky-h, 0px) + env(safe-area-inset-bottom)) !important;
}

.lati-wrapper{
  position: fixed;
  left: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom);
  z-index: 2147483000;
  padding: 0;
  transform: translateY(120%);
  transition: transform .22s ease, opacity .22s ease;
  opacity: 0;
  pointer-events: none;
}
.lati-wrapper-top{
  top: 0;
  bottom: auto;
  transform: translateY(-120%);
}
.lati-wrapper.lati-active{
  transform: translateY(0);
  opacity: 1;
}
.lati-container{
  pointer-events: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 28px;
  border-radius: 0;
  /* v377: baggrund/border/skygge flyttet til wrapperen (v359-referencen sætter
     .lati-wrapper.lati-mobile-legacy hvid). Containeren er max-width:1200px og
     centreret, så en egen grå flade her gav hvide striber i siderne på pc. */
  background: transparent;
  border-top: 0;
  box-shadow: none;
}
.lati-product{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
  flex:1 1 auto;
}
.lati-product-image img{
  width:58px;
  height:58px;
  object-fit:cover;
  border-radius:8px;
  display:block;
  background:#fff;
}
.lati-product-data{
  min-width:0;
  display:flex;
  align-items:center;
  gap:20px;
}
.lati-product-name{
  font-size:16px;
  line-height:1.25;
  font-weight:700;
  color:#3f3f46;
  max-width:min(44vw, 680px);
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.lati-product-price{
  margin:0;
  min-width:185px;
  text-align:left;
  white-space:normal;
}
.lati-price-shell{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}
.lati-price-regular-row{
  margin:0;
  color:#6b7280;
  font-size:14px;
  line-height:1.2;
  font-weight:500;
}
.lati-price-regular-row del{
  color:#6b7280;
  text-decoration-thickness:2px;
  text-decoration-color:rgba(17,24,39,.7);
}
.lati-price-current-wrap{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  min-width:0;
}
.lati-price-shell.is-regular .lati-price-current-wrap{
  min-width:185px;
  justify-content:center;
}
.lati-price-current-wrap.is-sale-box{
  min-width:185px;
  padding:12px 24px;
  background:#ffd500;
  border:1px solid #f0d000;
  box-shadow:0 3px 10px rgba(0,0,0,.08);
  justify-content:center;
}
.lati-price-current{
  display:inline-flex;
  align-items:center;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}
.lati-price-current.is-regular-text{
  color:#111827;
  font-size:18px;
}
.lati-price-current.is-sale-text{
  color:#cc0000;
  font-size:18px;
  letter-spacing:-.02em;
  text-shadow:0 1px 0 rgba(0,0,0,.08);
}
.lati-price-current ins{
  text-decoration:none;
  color:inherit;
}
.lati-price-current del{
  display:none;
}
.lati-actions,
.lati-add-to-cart{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.lati-wrapper .quantity{
  display:flex !important;
  align-items:center !important;
  margin:0 !important;
}
.lati-wrapper .quantity > *:not(input.qty){
  display:none !important;
}
.lati-qty .qty,
.lati-qty input.qty{
  width:60px !important;
  min-width:60px !important;
  max-width:60px !important;
  height:52px !important;
  border-radius:12px !important;
  padding:0 10px !important;
  text-align:center !important;
  border:1px solid rgba(15,23,42,.12) !important;
  background:#fff !important;
  box-shadow:none !important;
}
.lati-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px;
  min-height:56px !important;
  padding:0 26px !important;
  border-radius:999px !important;
  white-space:nowrap !important;
  line-height:1 !important;
  font-weight:800 !important;
  border:0 !important;
  background:#2e7d32 !important;
  color:#fff !important;
  box-shadow:none !important;
}
.lati-btn:hover,
.lati-btn:focus{
  color:#fff !important;
}
.lati-btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.lati-btn.lati-disabled,
.lati-btn:disabled{
  opacity:.58;
  cursor:not-allowed;
}
.lati-btn-text-mobile{ display:none !important; }
.lati-btn-text-desktop{ display:inline !important; font-size:18px; }
.lati-mobile-proshop .lati-btn,
.lati-desktop-proshop .lati-btn{ background:#2e7d32 !important; }

.lati-mobile-footerbar{
  display:none;
}
body.single-product.lati-mobile-footer-mode .lati-wrapper{
  display:none !important;
}
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:2147483640;
  display:none;
  padding:0;
  background:transparent;
}
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar.is-active{
  display:block !important;
}
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar-btn{
  width:100%;
  min-height:64px;
  border:0;
  border-radius:0;
  margin:0;
  padding:12px 18px calc(12px + env(safe-area-inset-bottom));
  box-shadow:0 -6px 16px rgba(15,23,42,.18);
  font-size:18px;
  font-weight:900;
  letter-spacing:.2px;
  background:#0b57d0;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar-btn.is-disabled,
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar-btn:disabled{
  opacity:.58;
}
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar-icon{
  width:auto;
  height:auto;
  min-width:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:none;
  line-height:1;
}
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar-icon svg{
  width:20px;
  height:20px;
  display:block;
}
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar-label{
  pointer-events:none;
  display:inline-block;
  line-height:1.1;
}

@media (max-width: 1200px){
  .lati-container{ gap:18px; padding:12px 20px; }
  .lati-product-name{ max-width:min(38vw, 480px); }
}
@media (max-width: 1024px){
  .lati-container{ gap:14px; padding:10px 14px; }
  .lati-product-image img{ width:50px; height:50px; }
  .lati-product-data{ gap:14px; }
  .lati-product-name{ font-size:15px; max-width:min(42vw, 320px); }
  .lati-product-price{ min-width:140px; }
  .lati-price-shell.is-regular .lati-price-current-wrap{ min-width:140px; }
  .lati-price-current-wrap.is-sale-box{ min-width:140px; padding:10px 16px; }
  .lati-price-current.is-regular-text,
  .lati-price-current.is-sale-text{ font-size:16px; }
  .lati-btn{ min-height:50px !important; padding:0 20px !important; }
}
@media (max-width: 767px){
  .lati-wrapper{ display:none !important; }
  .lati-mobile-footerbar{ display:block; }
}


body.lati-has-sticky iframe[id^="tawk"],
body.lati-has-sticky iframe[id^="tawk_"],
body.lati-has-sticky iframe[src*="tawk.to"],
body.lati-has-sticky iframe[title*="chat"],
body.lati-has-sticky iframe[title*="Chat"],
body.lati-has-sticky #tawkchat-minified-wrapper,
body.lati-has-sticky #tawkchat-minified-container,
body.lati-has-sticky #tawk-bubble-container,
body.lati-has-sticky .tawk-min-container,
body.lati-has-sticky .tawk-minified-container,
body.lati-has-sticky [id*="tawkchat"],
body.lati-has-sticky [id^="tawk"],
body.lati-has-sticky [class*="tawk"]{
  bottom: calc(var(--lati-chat-bottom, 0px) + env(safe-area-inset-bottom)) !important;
}

/* v63: align floating stack items neatly on the right when sticky ATC is active */
body.lati-has-sticky .luni-epa__floatingcart,
body.lati-has-sticky .luni-epa__totop,
body.lati-has-sticky .luni-mini-cart-widget{
  transition: bottom .18s ease, right .18s ease, opacity .18s ease, transform .18s ease;
}


/* v376: v65–v69 (desktop-proshop pris-lag) FJERNET.
   De gamle iterationer tvang normalpris op i 40–52px !important med højere
   specificitet end reference-designet (.lati-mobile-legacy, v359-blokken
   nedenfor), så normalpris så kæmpe/knækket ud på pc mens tilbud så rigtig ud.
   Reference-designet håndterer nu begge tilstande (normalpris = mørk fed 17px,
   tilbud = gult flag med rød tekst). */


/* v119: desktop sticky polish + cleaner spacing across themes */
@media (min-width: 1025px){
  .lati-wrapper .lati-container{
    min-height: 84px;
    padding: 10px 18px !important;
    gap: 18px !important;
  }
  .lati-wrapper .lati-product{
    gap: 14px !important;
    min-width: 0;
  }
  .lati-wrapper .lati-product-data{
    min-width: 0;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    column-gap: 14px !important;
    row-gap: 6px !important;
  }
  .lati-wrapper .lati-product-name{
    max-width: min(26vw, 460px);
    font-size: 14px !important;
    line-height: 1.25 !important;
  }
  .lati-wrapper .lati-product-price{
    min-width: 0 !important;
    display: flex;
    align-items: center;
  }
  .lati-wrapper .lati-price-shell{
    gap: 4px !important;
  }
  .lati-wrapper .lati-price-regular-row{
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap;
  }
  .lati-wrapper .lati-price-current-wrap.is-sale-box{
    min-width: 190px !important;
    padding: 10px 16px !important;
  }
  .lati-wrapper .lati-price-current.is-sale-text{
    font-size: 24px !important;
  }
}


/* v145: robust mobile fallback so floating cart + Tawk sit above sticky ATC */
@media (max-width: 767px){
  body.single-product.lati-mobile-footer-mode .luni-epa__floatingcart,
  body.single-product.lati-mobile-footer-mode .luni-mini-cart-widget{
    bottom: calc(var(--lati-mobile-mini-bottom, calc(var(--lati-sticky-h, 84px) + 84px)) + env(safe-area-inset-bottom)) !important;
    z-index: 2147483610 !important;
  }
  body.single-product.lati-mobile-footer-mode .luni-epa__totop{
    bottom: calc(var(--lati-mobile-totop-bottom, calc(var(--lati-sticky-h, 84px) + 166px)) + env(safe-area-inset-bottom)) !important;
    z-index: 2147483611 !important;
  }
  body.single-product.lati-mobile-footer-mode iframe[id^="tawk"],
  body.single-product.lati-mobile-footer-mode iframe[id^="tawk_"],
  body.single-product.lati-mobile-footer-mode iframe[src*="tawk.to"],
  body.single-product.lati-mobile-footer-mode iframe[title*="chat"],
  body.single-product.lati-mobile-footer-mode iframe[title*="Chat"],
  body.single-product.lati-mobile-footer-mode #tawkchat-minified-wrapper,
  body.single-product.lati-mobile-footer-mode #tawkchat-minified-container,
  body.single-product.lati-mobile-footer-mode #tawk-bubble-container,
  body.single-product.lati-mobile-footer-mode .tawk-min-container,
  body.single-product.lati-mobile-footer-mode .tawk-minified-container,
  body.single-product.lati-mobile-footer-mode [id*="tawkchat"],
  body.single-product.lati-mobile-footer-mode [id^="tawk"],
  body.single-product.lati-mobile-footer-mode [class*="tawk"]{
    bottom: calc(var(--lati-mobile-chat-bottom, calc(var(--lati-sticky-h, 84px) + 10px)) + env(safe-area-inset-bottom)) !important;
    z-index: 2147483606 !important;
  }
}


/* v147: dedicated non-overlapping floating stack for sticky ATC + tawk.to + mini cart.
   Order from bottom to top: Sticky ATC -> Tawk/chat -> Mini cart -> Back-to-top.
   This intentionally gives each widget its own vertical slot instead of only changing z-index. */
body.single-product.lati-has-sticky iframe[id^="tawk"],
body.single-product.lati-has-sticky iframe[id^="tawk_"],
body.single-product.lati-has-sticky iframe[src*="tawk.to"],
body.single-product.lati-has-sticky iframe[title*="chat"],
body.single-product.lati-has-sticky iframe[title*="Chat"],
body.single-product.lati-has-sticky #tawkchat-container,
body.single-product.lati-has-sticky #tawkchat-container iframe,
body.single-product.lati-has-sticky #tawkchat-minified-wrapper,
body.single-product.lati-has-sticky #tawkchat-minified-container,
body.single-product.lati-has-sticky #tawkchat-minified-box,
body.single-product.lati-has-sticky #tawk-bubble-container,
body.single-product.lati-has-sticky .tawk-min-container,
body.single-product.lati-has-sticky .tawk-minified-container,
body.single-product.lati-has-sticky [id*="tawkchat"],
body.single-product.lati-has-sticky [id^="tawk"]{
  bottom: calc(var(--lati-chat-bottom, calc(var(--lati-sticky-h, 84px) + 14px)) + env(safe-area-inset-bottom)) !important;
  right: var(--lati-stack-right, 16px) !important;
  z-index: 2147483647 !important;
}

body.single-product.lati-has-sticky .luni-epa__floatingcart,
body.single-product.lati-has-sticky .luni-mini-cart-widget{
  bottom: calc(var(--lati-mini-bottom, calc(var(--lati-sticky-h, 84px) + 92px)) + env(safe-area-inset-bottom)) !important;
  right: var(--lati-stack-right, 16px) !important;
  z-index: 2147483646 !important;
}

body.single-product.lati-has-sticky .luni-epa__totop,
body.single-product.lati-has-sticky .to-top,
body.single-product.lati-has-sticky .back-to-top,
body.single-product.lati-has-sticky [data-scroll-top]{
  bottom: calc(var(--lati-totop-bottom, calc(var(--lati-sticky-h, 84px) + 170px)) + env(safe-area-inset-bottom)) !important;
  right: var(--lati-stack-right, 16px) !important;
  z-index: 2147483645 !important;
}

/* Keep the sticky ATC under the floating widget stack. */
body.single-product.lati-has-sticky .lati-wrapper{
  z-index: 2147483000 !important;
}
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar{
  z-index: 2147483000 !important;
}


/* v148: professional tawk.to slot fix.
   Some tawk.to installs render a random fixed iframe, so #tawk selectors alone
   are not enough. These selectors reserve a real slot above sticky ATC for the
   chat widget instead of simply overlaying it with z-index. */
body.single-product.lati-has-sticky iframe[style*="position: fixed"][style*="right"],
body.single-product.lati-has-sticky iframe[style*="position:fixed"][style*="right"],
body.single-product.lati-has-sticky iframe[style*="z-index: 214748"],
body.single-product.lati-has-sticky iframe[style*="z-index:214748"],
body.single-product.lati-has-sticky iframe[title*="widget"],
body.single-product.lati-has-sticky iframe[title*="Widget"],
body.single-product.lati-has-sticky [title*="chat"],
body.single-product.lati-has-sticky [title*="Chat"],
body.single-product.lati-has-sticky [aria-label*="chat"],
body.single-product.lati-has-sticky [aria-label*="Chat"]{
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  bottom: calc(var(--lati-chat-bottom, calc(var(--lati-sticky-h, 84px) + 14px)) + env(safe-area-inset-bottom)) !important;
  right: var(--lati-stack-right, 16px) !important;
  z-index: 2147483647 !important;
}

/* Mini cart stays in its own slot above the chat, never on top of it. */
body.single-product.lati-has-sticky .luni-epa__floatingcart,
body.single-product.lati-has-sticky .luni-mini-cart-widget{
  bottom: calc(var(--lati-mini-bottom, calc(var(--lati-sticky-h, 84px) + 92px)) + env(safe-area-inset-bottom)) !important;
  right: var(--lati-stack-right, 16px) !important;
  z-index: 2147483646 !important;
}

/* Mobile footer sticky bar remains lowest in the stack. */
body.single-product.lati-mobile-footer-mode .lati-mobile-footerbar,
body.single-product.lati-has-sticky .lati-wrapper{
  z-index: 2147483000 !important;
}


/* v149: permanent dedicated floating stack + drawer-open cleanup.
   Chat, mini cart and back-to-top keep separate slots even when the sticky ATC
   is not visible. When the mini cart drawer is open, only the launcher buttons
   are hidden so they do not sit on top of the drawer. */
body.single-product.lati-has-floating-stack iframe[id^="tawk"],
body.single-product.lati-has-floating-stack iframe[id^="tawk_"],
body.single-product.lati-has-floating-stack iframe[src*="tawk.to"],
body.single-product.lati-has-floating-stack iframe[src*="embed.tawk"],
body.single-product.lati-has-floating-stack iframe[title*="chat"],
body.single-product.lati-has-floating-stack iframe[title*="Chat"],
body.single-product.lati-has-floating-stack iframe[title*="widget"],
body.single-product.lati-has-floating-stack iframe[title*="Widget"],
body.single-product.lati-has-floating-stack iframe[aria-label*="chat"],
body.single-product.lati-has-floating-stack iframe[aria-label*="Chat"],
body.single-product.lati-has-floating-stack #tawkchat-container,
body.single-product.lati-has-floating-stack #tawkchat-container iframe,
body.single-product.lati-has-floating-stack #tawkchat-minified-wrapper,
body.single-product.lati-has-floating-stack #tawkchat-minified-container,
body.single-product.lati-has-floating-stack #tawkchat-minified-box,
body.single-product.lati-has-floating-stack #tawk-bubble-container,
body.single-product.lati-has-floating-stack .tawk-min-container,
body.single-product.lati-has-floating-stack .tawk-minified-container,
body.single-product.lati-has-floating-stack [id*="tawkchat"],
body.single-product.lati-has-floating-stack [id^="tawk"]{
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  bottom: calc(var(--lati-chat-bottom, 18px) + env(safe-area-inset-bottom)) !important;
  right: var(--lati-stack-right, 16px) !important;
  z-index: 2147483647 !important;
}

body.single-product.lati-has-floating-stack .luni-epa__floatingcart,
body.single-product.lati-has-floating-stack .luni-mini-cart-widget{
  bottom: calc(var(--lati-mini-bottom, 96px) + env(safe-area-inset-bottom)) !important;
  right: var(--lati-stack-right, 16px) !important;
  z-index: 2147483646 !important;
}

body.single-product.lati-has-floating-stack .luni-epa__totop,
body.single-product.lati-has-floating-stack .to-top,
body.single-product.lati-has-floating-stack .back-to-top,
body.single-product.lati-has-floating-stack [data-scroll-top]{
  bottom: calc(var(--lati-totop-bottom, 170px) + env(safe-area-inset-bottom)) !important;
  right: var(--lati-stack-right, 16px) !important;
  z-index: 2147483645 !important;
}

/* Hide floating launchers while the mini cart/drawer is open. */
body.single-product.luni-epa-cart-open iframe[id^="tawk"],
body.single-product.luni-epa-cart-open iframe[id^="tawk_"],
body.single-product.luni-epa-cart-open iframe[src*="tawk.to"],
body.single-product.luni-epa-cart-open iframe[src*="embed.tawk"],
body.single-product.luni-epa-cart-open iframe[title*="chat"],
body.single-product.luni-epa-cart-open iframe[title*="Chat"],
body.single-product.luni-epa-cart-open #tawkchat-container,
body.single-product.luni-epa-cart-open #tawkchat-container iframe,
body.single-product.luni-epa-cart-open #tawkchat-minified-wrapper,
body.single-product.luni-epa-cart-open #tawkchat-minified-container,
body.single-product.luni-epa-cart-open #tawk-bubble-container,
body.single-product.luni-epa-cart-open .tawk-min-container,
body.single-product.luni-epa-cart-open .tawk-minified-container,
body.single-product.luni-epa-cart-open [id*="tawkchat"],
body.single-product.luni-epa-cart-open [id^="tawk"],
body.single-product.luni-epa-cart-open .luni-epa__floatingcart,
body.single-product.luni-epa-cart-open .luni-mini-cart-widget,
body.single-product.luni-epa-quickcheckout-open iframe[id^="tawk"],
body.single-product.luni-epa-quickcheckout-open iframe[id^="tawk_"],
body.single-product.luni-epa-quickcheckout-open iframe[src*="tawk.to"],
body.single-product.luni-epa-quickcheckout-open iframe[src*="embed.tawk"],
body.single-product.luni-epa-quickcheckout-open iframe[title*="chat"],
body.single-product.luni-epa-quickcheckout-open iframe[title*="Chat"],
body.single-product.luni-epa-quickcheckout-open #tawkchat-container,
body.single-product.luni-epa-quickcheckout-open #tawkchat-container iframe,
body.single-product.luni-epa-quickcheckout-open #tawkchat-minified-wrapper,
body.single-product.luni-epa-quickcheckout-open #tawkchat-minified-container,
body.single-product.luni-epa-quickcheckout-open #tawk-bubble-container,
body.single-product.luni-epa-quickcheckout-open .tawk-min-container,
body.single-product.luni-epa-quickcheckout-open .tawk-minified-container,
body.single-product.luni-epa-quickcheckout-open [id*="tawkchat"],
body.single-product.luni-epa-quickcheckout-open [id^="tawk"],
body.single-product.luni-epa-quickcheckout-open .luni-epa__floatingcart,
body.single-product.luni-epa-quickcheckout-open .luni-mini-cart-widget{
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* v359: Sticky ATC Pro – identisk blok findes i det inline v358/359-lag */
/* ---------- 11) Sticky ATC-bar – reference-layout: thumb · navn · pris · pill-knap ---------- */
.lati-wrapper.lati-mobile-legacy{background:#fff !important;box-shadow:0 -12px 28px rgba(15,23,42,.14) !important;border-top:1px solid #e7ecf3 !important;}
.lati-wrapper.lati-mobile-legacy.lati-wrapper-top{box-shadow:0 12px 28px rgba(15,23,42,.14) !important;border-top:0 !important;border-bottom:1px solid #e7ecf3 !important;}
.lati-wrapper.lati-mobile-legacy.lati-wrapper-bottom{padding-bottom:env(safe-area-inset-bottom, 0px) !important;}
.lati-wrapper.lati-mobile-legacy .lati-container{display:flex !important;align-items:center !important;gap:14px !important;max-width:1200px !important;margin:0 auto !important;padding:9px 14px !important;background:transparent !important;border-top:0 !important;box-shadow:none !important;}
.lati-wrapper.lati-mobile-legacy .lati-product{display:flex !important;align-items:center !important;gap:12px !important;min-width:0 !important;flex:1 1 auto !important;}
.lati-wrapper.lati-mobile-legacy .lati-product-image img{width:48px !important;height:48px !important;object-fit:contain !important;border:1px solid #eef2f7 !important;border-radius:10px !important;background:#fff !important;padding:3px !important;display:block !important;}
.lati-wrapper.lati-mobile-legacy .lati-product-data{min-width:0 !important;flex:1 1 auto !important;display:flex !important;flex-direction:column !important;gap:2px !important;}
.lati-wrapper.lati-mobile-legacy .lati-product-name{font-size:13.5px !important;font-weight:700 !important;letter-spacing:-.01em !important;color:#0f172a !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;min-width:0 !important;}

/* Pris – jeres konventioner: normalpris = mørk fed; tilbud = gult flag m. rød tekst + gennemstreget normalpris */
.lati-wrapper.lati-mobile-legacy .lati-price-prefix{display:none !important;}
.lati-wrapper.lati-mobile-legacy .lati-price-shell{display:flex !important;flex-direction:column !important;gap:2px !important;min-width:0 !important;}
.lati-wrapper.lati-mobile-legacy .lati-price-regular-row{font-size:11px !important;font-weight:600 !important;color:#64748b !important;line-height:1.15 !important;white-space:nowrap !important;}
.lati-wrapper.lati-mobile-legacy .lati-price-regular-row del{color:#64748b !important;text-decoration:line-through !important;font-weight:600 !important;}
.lati-wrapper.lati-mobile-legacy .lati-price-current-wrap{display:inline-flex !important;align-items:center !important;}
.lati-wrapper.lati-mobile-legacy .lati-price-current-wrap.is-sale-box{background:#ffd400 !important;border-radius:6px !important;padding:2px 10px !important;align-self:flex-start !important;}
.lati-wrapper.lati-mobile-legacy .lati-price-current{font-size:16px !important;font-weight:800 !important;letter-spacing:-.01em !important;line-height:1.2 !important;font-variant-numeric:tabular-nums !important;white-space:nowrap !important;}
.lati-wrapper.lati-mobile-legacy .lati-price-current.is-regular-text{color:#0f172a !important;}
.lati-wrapper.lati-mobile-legacy .lati-price-current.is-sale-text{color:#b30000 !important;}
.lati-wrapper.lati-mobile-legacy .lati-price-current .woocommerce-Price-amount,
.lati-wrapper.lati-mobile-legacy .lati-price-current .amount{color:inherit !important;font-weight:inherit !important;}

/* Handling: ingen antal i baren (som referencen) – kun én tydelig pill-knap */
.lati-wrapper.lati-mobile-legacy .lati-qty{display:none !important;}
.lati-wrapper.lati-mobile-legacy .lati-actions,
.lati-wrapper.lati-mobile-legacy .lati-add-to-cart{display:flex !important;align-items:center !important;gap:10px !important;flex:0 0 auto !important;}
.lati-wrapper.lati-mobile-legacy .lati-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:9px !important;
  min-height:48px !important;
  padding:0 24px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#cf1d24;
  color:#fff;
  font-size:15.5px !important;
  font-weight:800 !important;
  letter-spacing:-.01em !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  box-shadow:0 8px 18px rgba(15,23,42,.18) !important;
  -webkit-tap-highlight-color:transparent !important;
  transition:filter .14s ease, transform .12s ease !important;
}
.lati-wrapper.lati-mobile-legacy .lati-btn:hover{filter:brightness(.94) !important;}
.lati-wrapper.lati-mobile-legacy .lati-btn:active{filter:brightness(.88) !important;transform:scale(.99) !important;}
.lati-wrapper.lati-mobile-legacy .lati-btn-icon{display:inline-flex !important;line-height:0 !important;}
.lati-wrapper.lati-mobile-legacy .lati-btn-price{margin-left:2px !important;}
.lati-wrapper.lati-mobile-legacy .lati-btn-price .lati-price-shell{flex-direction:row !important;align-items:center !important;gap:8px !important;}
.lati-wrapper.lati-mobile-legacy .lati-btn-price .lati-price-regular-row{display:none !important;}
.lati-wrapper.lati-mobile-legacy .lati-btn-price .lati-price-current-wrap.is-sale-box{padding:2px 9px !important;align-self:center !important;}
.lati-wrapper.lati-mobile-legacy .lati-btn-price .lati-price-current{font-size:14.5px !important;}

/* Desktop: navn til venstre, prisblok højrestillet lige før knappen (som referencen) */
@media (min-width:768px){
  .lati-wrapper.lati-mobile-legacy .lati-product-data{flex-direction:row !important;align-items:center !important;gap:16px !important;}
  .lati-wrapper.lati-mobile-legacy .lati-product-name{flex:1 1 auto !important;font-size:15px !important;}
  .lati-wrapper.lati-mobile-legacy .lati-product-price{flex:0 0 auto !important;margin-left:auto !important;}
  .lati-wrapper.lati-mobile-legacy .lati-price-shell{align-items:flex-end !important;}
  .lati-wrapper.lati-mobile-legacy .lati-price-current{font-size:17px !important;}
  .lati-wrapper.lati-mobile-legacy .lati-price-current-wrap.is-sale-box{align-self:flex-end !important;}
}
/* Mobil: kompakt – thumb 44, navn én linje, pris under, kort knap-tekst styres af markup */
@media (max-width:767px){
  .lati-wrapper.lati-mobile-legacy .lati-container{gap:10px !important;padding:8px 12px !important;}
  .lati-wrapper.lati-mobile-legacy .lati-product-image img{width:44px !important;height:44px !important;}
  .lati-wrapper.lati-mobile-legacy .lati-btn{min-height:46px !important;padding:0 18px !important;font-size:15px !important;}
  .lati-wrapper.lati-mobile-legacy .lati-price-current{font-size:15px !important;}
}
@media (prefers-reduced-motion:reduce){
  .lati-wrapper.lati-mobile-legacy .lati-btn{transition:none !important;}
  .lati-wrapper.lati-mobile-legacy .lati-btn:active{transform:none !important;}
}
