
/* v1.7.6.21: desktop keeps the original text Contacte button; phone icon/FAB are mobile-only. */
@media (min-width:761px){
  body:not(.staff-ui) .public-header .mobile-contact-link{display:inline-flex!important;align-items:center!important;justify-content:center!important}
  body:not(.staff-ui) .public-header .mobile-contact-link .contact-phone-svg{display:none!important}
  body:not(.staff-ui) .public-header .mobile-contact-link .contact-text{display:inline!important}
  body:not(.staff-ui) .public-contact-fab{display:none!important}
}
/* V88: public brand + catalog card fixes */
.public-header .mark.mark-logo{overflow:hidden;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important}
.public-header .mark.mark-logo img{width:100%;height:100%;display:block;object-fit:contain;border-radius:inherit}

/* V86: light iOS-like public UI motion. Kept self-contained in index.php. */
@media (prefers-reduced-motion:no-preference){
  body.public-ios-ui main,body.public-ios-ui .public-header,body.public-ios-ui .flashwrap,body.public-ios-ui footer{animation:iosPageIn .22s cubic-bezier(.22,.61,.36,1) both}
  body.public-ios-ui .public-header{animation-duration:.18s}
  body.public-ios-ui footer{animation-delay:.025s}
  body.public-ios-ui.ios-leaving main,body.public-ios-ui.ios-leaving .flashwrap,body.public-ios-ui.ios-leaving footer{opacity:0;transform:translateY(5px);transition:opacity .14s ease,transform .14s ease}
  body.public-ios-ui a,body.public-ios-ui button,body.public-ios-ui input[type=button],body.public-ios-ui input[type=submit]{transition:transform .13s cubic-bezier(.2,.8,.2,1),filter .13s ease,box-shadow .16s ease,opacity .13s ease;-webkit-tap-highlight-color:transparent}
  body.public-ios-ui a:active,body.public-ios-ui button:active,body.public-ios-ui input[type=button]:active,body.public-ios-ui input[type=submit]:active{transform:scale(.965);filter:brightness(.98)}
  body.public-ios-ui .product-card,body.public-ios-ui .cart-row,body.public-ios-ui .lookup-card,body.public-ios-ui .success-card{transition:transform .2s cubic-bezier(.22,.61,.36,1),box-shadow .2s ease}
  body.public-ios-ui .cart b.ios-cart-pop{animation:iosCartPop .28s cubic-bezier(.2,.85,.25,1.25)}
  @keyframes iosPageIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
  @keyframes iosCartPop{0%{transform:scale(1)}45%{transform:scale(1.28)}100%{transform:scale(1)}}
}
@media (prefers-reduced-motion:reduce){body.public-ios-ui *,body.public-ios-ui *:before,body.public-ios-ui *:after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}





/* V110 universal public quantity control: catalog/cart/order-edit use one exact component. */
html body:not(.staff-ui) .qty-unified.qty-unified{box-sizing:border-box!important;display:grid!important;grid-template-columns:30px 30px 30px!important;gap:4px!important;width:98px!important;min-width:98px!important;max-width:98px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;box-shadow:none!important;align-items:center!important}
html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-minus,html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-plus{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;min-width:30px!important;max-width:30px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;border:1px solid #cbd2a7!important;border-radius:9px!important;background:#e8ecd8!important;color:#334327!important;font:800 20px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important}
html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-minus:active,html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-plus:active{background:#dce3c4!important;transform:scale(.96)!important}
html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-input{box-sizing:border-box!important;display:block!important;width:30px!important;min-width:30px!important;max-width:30px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;border:1px solid #dde2d6!important;border-radius:9px!important;background:#fff!important;color:#13271c!important;text-align:center!important;font:700 16px/34px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-variant-numeric:tabular-nums!important;letter-spacing:0!important;text-indent:0!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;-moz-appearance:textfield!important}
html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-input::-webkit-outer-spin-button,html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}
html body:not(.staff-ui) .catalog-add-form{display:grid!important;grid-template-columns:98px minmax(0,1fr)!important;gap:6px!important;align-items:center!important;min-width:0!important;width:100%!important}
html body:not(.staff-ui) .catalog-add-form .addcart{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;height:36px!important;padding:0 7px!important;margin:0!important;border-radius:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1!important}
@media(max-width:390px){html body:not(.staff-ui) .qty-unified.qty-unified{grid-template-columns:28px 28px 28px!important;width:92px!important}html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-minus,html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-plus,html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-input{width:28px!important;min-width:28px!important;max-width:28px!important}html body:not(.staff-ui) .catalog-add-form{grid-template-columns:92px minmax(0,1fr)!important}}




/* V117 FINAL QUANTITY COMPONENT: catalog + cart + public order = exactly the same */
html body:not(.staff-ui) .qty-unified.qty-unified{box-sizing:border-box!important;display:grid!important;grid-template-columns:30px 30px 30px!important;gap:4px!important;width:98px!important;min-width:98px!important;max-width:98px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;box-shadow:none!important;align-items:center!important}
html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-minus,html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-plus{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;min-width:30px!important;max-width:30px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;border:1px solid #cbd2a7!important;border-radius:9px!important;background:#e8ecd8!important;color:#334327!important;font:800 20px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important}
html body:not(.staff-ui) .qty-unified.qty-unified .qty-unified-input{box-sizing:border-box!important;display:block!important;width:30px!important;min-width:30px!important;max-width:30px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;border:1px solid #dde2d6!important;border-radius:9px!important;background:#fff!important;color:#13271c!important;text-align:center!important;font:700 16px/34px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-variant-numeric:tabular-nums!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;-moz-appearance:textfield!important}







/* V131 CATALOG MOBILE — stable mobile header, one source of truth */
body:not(.staff-ui) .mobile-full-toggle-form{display:none!important}
body.staff-ui .staff-full-toggle-form{display:none!important}
body.mobile-device.staff-ui .staff-full-toggle-form,body.client-mobile-device.staff-ui .staff-full-toggle-form{display:block!important}
@media(max-width:1180px){body.staff-ui .staff-full-toggle-form{display:block!important}}

@media(max-width:760px){
  body.public-ios-ui.catalog-scroll-ui{
    --public-header-h:176px!important;
    max-width:100%!important;overflow-x:hidden!important;padding-top:var(--public-header-h)!important;
    transition:padding-top .62s cubic-bezier(.16,.78,.22,1)!important;
  }
  body.public-ios-ui.catalog-scroll-ui.mobile-header-condensed{--public-header-h:96px!important}
  body.public-ios-ui.catalog-scroll-ui .public-header{
    position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:900!important;
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding:10px 12px 8px!important;
    background:#fafbf7!important;border-bottom:1px solid rgba(19,39,28,.07)!important;overflow:hidden!important;
    box-shadow:none!important;transition:padding .56s cubic-bezier(.16,.78,.22,1),box-shadow .36s ease!important;
  }
  body.public-ios-ui.catalog-scroll-ui .public-header.is-scrolled{box-shadow:0 4px 12px rgba(16,38,25,.07)!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .brand{display:flex!important;align-items:center!important;margin:0 0 5px!important;max-height:52px!important;transform-origin:left center!important;transition:max-height .56s cubic-bezier(.2,.82,.25,1),margin .5s ease,transform .56s cubic-bezier(.2,.82,.25,1)!important}
  body.public-ios-ui.catalog-scroll-ui .public-header nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:48px 48px!important;gap:4px!important;width:100%!important;margin:0!important;padding:0!important;align-items:stretch!important;transition:grid-template-columns .62s cubic-bezier(.16,1,.3,1),grid-template-rows .62s cubic-bezier(.16,1,.3,1),gap .5s ease!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .mobile-catalog-link,
  body.public-ios-ui.catalog-scroll-ui .public-header .my-order-link,
  body.public-ios-ui.catalog-scroll-ui .public-header .cart,
  body.public-ios-ui.catalog-scroll-ui .public-header .langswitch,
  body.public-ios-ui.catalog-scroll-ui .public-header .mobile-contact-link{
    box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;padding:0 10px!important;border-radius:12px!important;font-size:14px!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;overflow:hidden!important;opacity:1!important;transform:translate3d(0,0,0) scale(1)!important;transition:opacity .42s ease,transform .58s cubic-bezier(.16,1,.3,1),height .56s ease,background .25s ease,border-color .25s ease!important
  }
  body.public-ios-ui.catalog-scroll-ui .public-header .mobile-catalog-link{display:flex!important;align-items:center!important;justify-content:center!important;grid-column:1;grid-row:1;border:1px solid #d9e2d3!important;background:#f4f7f1!important;color:#17301f!important;font-weight:850!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .cart{grid-column:2;grid-row:1;background:#102516!important;color:#fff!important;border:1px solid #102516!important;font-weight:850!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .langswitch{grid-column:1;grid-row:2;border:1px solid #e0e4dc!important;background:#fff!important;gap:8px!important;font-weight:850!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .my-order-link{grid-column:2;grid-row:2;border:1px solid #d9e2d3!important;background:#f4f7f1!important;color:#17301f!important;font-weight:850!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .mobile-contact-link{display:none!important;border:1px solid #245b32!important;background:#245b32!important;color:#fff!important;padding:0!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .contact-phone-svg{display:flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .contact-phone-svg svg{display:block!important;width:25px!important;height:25px!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .contact-text{display:none!important}
  body.public-ios-ui.catalog-scroll-ui .public-header .mobile-full-toggle-form{display:none!important}

  body.public-ios-ui.catalog-scroll-ui .public-header.mobile-condensed{padding:5px 12px 5px!important}
  body.public-ios-ui.catalog-scroll-ui .public-header.mobile-condensed .brand{max-height:34px!important;margin:0 0 3px!important;transform:scale(.96)!important}
  body.public-ios-ui.catalog-scroll-ui .public-header.mobile-condensed nav{grid-template-columns:minmax(0,1fr) 52px minmax(0,1.35fr)!important;grid-template-rows:42px!important;gap:4px!important}
  body.public-ios-ui.catalog-scroll-ui .public-header.mobile-condensed .mobile-catalog-link{grid-column:1!important;grid-row:1!important;height:42px!important;min-height:42px!important;max-height:42px!important}
  body.public-ios-ui.catalog-scroll-ui .public-header.mobile-condensed .mobile-contact-link{display:flex!important;grid-column:2!important;grid-row:1!important;height:42px!important;min-height:42px!important;max-height:42px!important;border-radius:11px!important;opacity:1!important;transform:translate3d(0,0,0) scale(1)!important;transform-origin:center!important;transition:opacity .48s ease,transform .56s cubic-bezier(.22,1,.36,1),border-radius .56s cubic-bezier(.22,1,.36,1)!important}
  body.public-ios-ui.catalog-scroll-ui .public-header.mobile-condensed .cart{grid-column:3!important;grid-row:1!important;height:42px!important;min-height:42px!important;max-height:42px!important}
  body.public-ios-ui.catalog-scroll-ui .public-header.mobile-condensed .langswitch,
  body.public-ios-ui.catalog-scroll-ui .public-header.mobile-condensed .my-order-link{display:flex!important;height:0!important;min-height:0!important;max-height:0!important;padding-top:0!important;padding-bottom:0!important;border-width:0!important;opacity:0!important;pointer-events:none!important;transform:translate3d(0,-8px,0) scale(.92)!important}

  body.public-ios-ui.catalog-scroll-ui main:has(.shopbar){box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;padding:1px 12px 0!important;overflow:visible!important}
  body.public-ios-ui.catalog-scroll-ui .flashwrap:empty{display:none!important;height:0!important;margin:0!important;padding:0!important}
  body.public-ios-ui.catalog-scroll-ui .catalog-menu{box-sizing:border-box!important;position:sticky!important;top:calc(var(--public-header-h) + 2px)!important;z-index:880!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important;width:100%!important;max-width:100%!important;margin:0 0 4px!important;padding:3px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;background:#fafbf7!important;border:1px solid rgba(19,39,28,.08)!important;border-radius:13px!important;box-shadow:0 3px 9px rgba(16,38,25,.045)!important;transition:top .56s cubic-bezier(.16,.78,.22,1),box-shadow .35s ease!important}
  body.public-ios-ui.catalog-scroll-ui .catalog-menu::-webkit-scrollbar{display:none!important}
  body.public-ios-ui.catalog-scroll-ui .catalog-menu .catalog-group,body.public-ios-ui.catalog-scroll-ui .catalog-menu .sub-links{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:4px!important;margin:0!important;padding:0!important}
  body.public-ios-ui.catalog-scroll-ui .catalog-menu a,body.public-ios-ui.catalog-scroll-ui .catalog-menu .catalog-all,body.public-ios-ui.catalog-scroll-ui .catalog-menu .group-link,body.public-ios-ui.catalog-scroll-ui .catalog-menu .sub-links a{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:36px!important;margin:0!important;padding:0 12px!important;border-radius:11px!important;white-space:nowrap!important;font-size:12px!important;line-height:1!important;transform:none!important}
  body.public-ios-ui.catalog-scroll-ui.mobile-header-condensed .catalog-menu{top:calc(var(--public-header-h) + 3px)!important}
  body.public-ios-ui.catalog-scroll-ui .shopbar{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0 0 4px!important;padding:0!important;min-height:0!important;overflow:hidden!important}
  body.public-ios-ui.catalog-scroll-ui .shopbar .searchbar{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;max-height:52px!important;opacity:1!important;transform:translateY(0)!important;overflow:hidden!important;transition:max-height .56s cubic-bezier(.16,.78,.22,1),opacity .4s ease,transform .5s ease!important}
  body.public-ios-ui.catalog-scroll-ui.mobile-search-collapsed .shopbar .searchbar{max-height:0!important;opacity:0!important;pointer-events:none!important;transform:translateY(-8px)!important;margin:0!important;padding-top:0!important;padding-bottom:0!important;border-color:transparent!important;box-shadow:none!important}
  body.public-ios-ui.catalog-scroll-ui .catalog-layout,body.public-ios-ui.catalog-scroll-ui .catalog-main,body.public-ios-ui.catalog-scroll-ui .linella-grid,body.public-ios-ui.catalog-scroll-ui .retail-card{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
  body.public-ios-ui.catalog-scroll-ui .catalog-layout{display:block!important;width:100%!important;margin:0!important;padding:0!important}
  body.public-ios-ui.catalog-scroll-ui .catalog-main .grid.linella-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
}

@media(max-width:760px){body.staff-ui .toolbar,body.staff-ui .bulkbar,body.staff-ui .orders-filters{max-width:100%!important;min-width:0!important}body.staff-ui .tablewrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}body.staff-ui main.container,body.staff-ui .staff-header>.container{box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important;margin-left:auto!important;margin-right:auto!important}}
@media(min-width:900px){body.staff-ui .staff-header>.container,body.staff-ui main.container{box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:1360px!important;margin-left:auto!important;margin-right:auto!important}}

/* V136 public navigation + cart clear controls */
.page-back-row{display:flex;align-items:center;justify-content:flex-start;margin:0 0 10px}.public-back-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border-radius:11px;text-decoration:none}.cart-clear-form{margin-top:8px}.cart-clear-btn{display:block!important;width:100%!important;background:#e5e7eb!important;border:1px solid #d1d5db!important;color:#374151!important;box-shadow:none!important}.cart-clear-btn:hover{background:#dfe3e8!important;border-color:#c6ccd4!important;color:#1f2937!important}.public-order-back-row{margin-bottom:8px}@media(max-width:760px){.page-back-row{margin-bottom:7px}.public-back-btn{min-height:36px;padding:7px 12px}.cart-clear-form{margin-top:6px}}

/* V138 TABLET CATALOG — horizontal group rail, no collapsing */
@media (min-width:761px) and (max-width:1180px){
  body:not(.staff-ui) .catalog-layout{display:block!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important}
  body:not(.staff-ui) .catalog-menu{box-sizing:border-box!important;position:relative!important;top:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;width:100%!important;max-width:100%!important;margin:0 0 10px!important;padding:5px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;background:#fafbf7!important;border:1px solid rgba(19,39,28,.08)!important;border-radius:14px!important;box-shadow:0 3px 10px rgba(16,38,25,.045)!important}
  body:not(.staff-ui) .catalog-menu::-webkit-scrollbar{display:none!important}
  body:not(.staff-ui) .catalog-menu .catalog-group,body:not(.staff-ui) .catalog-menu .sub-links{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:7px!important;margin:0!important;padding:0!important}
  body:not(.staff-ui) .catalog-menu a,body:not(.staff-ui) .catalog-menu .catalog-all,body:not(.staff-ui) .catalog-menu .group-link,body:not(.staff-ui) .catalog-menu .sub-links a{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:38px!important;margin:0!important;padding:0 13px!important;border-radius:11px!important;white-space:nowrap!important;font-size:13px!important;line-height:1.1!important}
  body:not(.staff-ui) .catalog-main{width:100%!important;max-width:100%!important;min-width:0!important}
  body:not(.staff-ui) .catalog-main .grid.linella-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
}
@media (min-width:761px) and (max-width:900px){
  body:not(.staff-ui) .catalog-main .grid.linella-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body:not(.staff-ui) .catalog-menu{gap:6px!important;padding:4px!important;margin-bottom:8px!important}
  body:not(.staff-ui) .catalog-menu .catalog-group,body:not(.staff-ui) .catalog-menu .sub-links{gap:6px!important}
  body:not(.staff-ui) .catalog-menu a,body:not(.staff-ui) .catalog-menu .catalog-all,body:not(.staff-ui) .catalog-menu .group-link,body:not(.staff-ui) .catalog-menu .sub-links a{min-height:36px!important;padding:0 11px!important;font-size:12px!important}
}


/* V141 FINAL — tablet header controls + stronger add-to-cart spacing */
html body:not(.staff-ui) .catalog-add-form{column-gap:10px!important;gap:10px!important}
html body:not(.staff-ui) .catalog-add-form .addcart{margin-left:0!important}
@media(max-width:390px){html body:not(.staff-ui) .catalog-add-form{column-gap:8px!important;gap:8px!important}}

@media (min-width:761px) and (max-width:1180px){
  body:not(.staff-ui) .public-header nav{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 160px!important;
    grid-auto-rows:40px!important;
    column-gap:8px!important;
    row-gap:8px!important;
    width:100%!important;
    align-items:center!important;
  }
  body:not(.staff-ui) .public-header nav>a[href="index.php"],
  body:not(.staff-ui) .public-header nav>a[href*="r=contacts"],
  body:not(.staff-ui) .public-header nav>a[href*="contacts"]{display:none!important}
  body:not(.staff-ui) .public-header .my-order-link,
  body:not(.staff-ui) .public-header .cart,
  body:not(.staff-ui) .public-header .mobile-full-toggle-form,
  body:not(.staff-ui) .public-header .mobile-full-toggle{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    padding:0 14px!important;
    border-radius:12px!important;
    white-space:nowrap!important;
    line-height:1!important;
  }
  body:not(.staff-ui) .public-header .langswitch{
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    justify-self:start!important;
    align-self:stretch!important;
    width:auto!important;
    min-width:0!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin:0!important;
    padding:0 14px!important;
    gap:10px!important;
    border:1px solid #e2e8df!important;
    border-radius:12px!important;
    background:#fff!important;
    white-space:nowrap!important;
    line-height:1!important;
  }
  body:not(.staff-ui) .public-header .langswitch a,
  body:not(.staff-ui) .public-header .langswitch span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
}



/* V140 REV8 — unify product-card action buttons */
body:not(.staff-ui) .catalog-main .grid.linella-grid,
body.public-ios-ui .catalog-main .grid.linella-grid,
body.mobile-device .catalog-main .grid.linella-grid{align-items:stretch!important}
body:not(.staff-ui) .retail-card,
body.public-ios-ui .retail-card,
body.mobile-device .retail-card{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important}
body:not(.staff-ui) .retail-card .pad,
body.public-ios-ui .retail-card .pad,
body.mobile-device .retail-card .pad{display:flex!important;flex-direction:column!important;flex:1 1 auto!important}
body:not(.staff-ui) .retail-card .buy,
body.public-ios-ui .retail-card .buy,
body.mobile-device .retail-card .buy{display:flex!important;flex-direction:column!important;margin-top:auto!important}
html body:not(.staff-ui) .catalog-add-form{grid-template-columns:98px minmax(0,1fr)!important;column-gap:10px!important;gap:10px!important;align-items:center!important;width:100%!important}
html body:not(.staff-ui) .catalog-add-form .addcart{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:38px!important;min-height:38px!important;max-height:38px!important;padding:0 8px!important;border-radius:10px!important;font-size:13px!important;line-height:1!important;font-weight:700!important;text-align:center!important}
html body:not(.staff-ui) .catalog-add-form .qty-unified{height:38px!important;min-height:38px!important}
html body:not(.staff-ui) .catalog-add-form .qty-unified .qty-unified-minus,
html body:not(.staff-ui) .catalog-add-form .qty-unified .qty-unified-plus,
html body:not(.staff-ui) .catalog-add-form .qty-unified .qty-unified-input{height:38px!important;min-height:38px!important}
@media(max-width:390px){html body:not(.staff-ui) .catalog-add-form{grid-template-columns:92px minmax(0,1fr)!important;column-gap:8px!important;gap:8px!important}html body:not(.staff-ui) .catalog-add-form .addcart{height:36px!important;min-height:36px!important;max-height:36px!important;font-size:12px!important}}





/* V126 legacy preview block; V1.5.5 disables catalog text truncation. */
body:not(.staff-ui) .retail-card h3,
body.public-ios-ui .retail-card h3,
body.mobile-device .retail-card h3,
body:not(.staff-ui) .retail-card .product-description,
body.public-ios-ui .retail-card .product-description,
body.mobile-device .retail-card .product-description{
  overflow-wrap:anywhere!important;
}
.product-more-btn{display:none;border:0;background:transparent;color:#6b7280;padding:0;margin:-1px 0 5px;font:700 11px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;cursor:pointer;text-decoration:none}
.product-more-btn.is-visible{display:inline-flex;align-self:flex-start}
.product-more-btn:hover{color:#374151;text-decoration:underline}

/* V1.7.6.7 — public responsive shell guard. */
@media(max-width:1024px){
  body:not(.staff-ui) main>section.narrow,
  body:not(.staff-ui) main>section.lookup-wrap,
  body:not(.staff-ui) main>section.legal,
  body:not(.staff-ui) main>section.success,
  body:not(.staff-ui) main>section.order-summary-compact{
    box-sizing:border-box!important;
    width:min(860px,calc(100% - 32px))!important;
    max-width:860px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
@media(max-width:760px){
  body:not(.staff-ui) main>section.narrow,
  body:not(.staff-ui) main>section.lookup-wrap,
  body:not(.staff-ui) main>section.legal,
  body:not(.staff-ui) main>section.success,
  body:not(.staff-ui) main>section.order-summary-compact{
    box-sizing:border-box!important;
    width:calc(100% - 20px)!important;
    max-width:680px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    margin-inline:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
}

/* V1.7.6 — catalog card usability: visible mobile hearts + 1.5s desktop hover zoom. */
.retail-card{position:relative!important;isolation:isolate;cursor:pointer;transform-origin:center center}
.product-heart{position:absolute;z-index:30;top:9px;right:9px;box-sizing:border-box;width:34px;height:34px;min-width:34px;min-height:34px;max-width:34px;max-height:34px;aspect-ratio:1/1;border-radius:50%!important;border:1.5px solid rgba(116,157,184,.58);background:rgba(255,255,255,.96);color:#82939c;display:flex;align-items:center;justify-content:center;padding:0!important;font:700 20px/1 -apple-system,BlinkMacSystemFont,"Segoe UI Symbol","Segoe UI",Arial,sans-serif;cursor:pointer;box-shadow:0 4px 14px rgba(35,69,83,.14);opacity:0;transform:scale(.9);transition:opacity .22s ease,transform .28s ease,color .2s ease,background .2s ease,border-color .2s ease}
.product-heart .heart-glyph{display:block;line-height:1;transform:translateY(-1px)}
.product-heart.is-liked{opacity:1;color:#df2f35;background:#fff6f6;border-color:#e46468}
@media(min-width:761px) and (hover:hover) and (pointer:fine){
  .retail-card{transition:transform .62s cubic-bezier(.16,1,.3,1),box-shadow .62s ease;transition-delay:0s;will-change:transform}
  .retail-card.hover-preview{z-index:40!important;transform:scale(1.055)!important;box-shadow:0 16px 38px rgba(18,48,29,.18)!important;overflow:visible!important}
  .retail-card:hover .product-heart,.retail-card.hover-preview .product-heart,.retail-card .product-heart.is-liked{opacity:1;transform:scale(1)}
}
@media(max-width:760px),(hover:none),(pointer:coarse){
  .retail-card .product-heart{display:flex!important;visibility:visible!important;opacity:1!important;transform:none!important;top:7px!important;right:7px!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important;font-size:17px!important;outline:0!important;box-shadow:0 4px 12px rgba(35,69,83,.12)!important}
  .retail-card .product-heart .heart-glyph{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;line-height:1!important;transform:none!important;margin:0!important;padding:0!important}
}
.product-detail-backdrop{position:fixed;inset:0;z-index:5000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(11,20,15,.42);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);opacity:0;pointer-events:none;transition:opacity .22s ease}
.product-detail-backdrop.open{opacity:1;pointer-events:auto}
.product-detail-modal{position:relative;box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:min(86vh,760px);overflow:auto;background:#fff;border:1px solid rgba(21,55,34,.10);border-radius:22px;box-shadow:0 24px 70px rgba(10,35,20,.22);padding:18px;transform:scale(.88) translateY(18px);opacity:0;transform-origin:center center;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.product-detail-backdrop.open .product-detail-modal{animation:productDetailJelly .62s cubic-bezier(.2,.86,.28,1) both}
/* V1.7.0 — smoother FLIP open/close back to the exact source card. */
.product-detail-backdrop.flip-motion.open .product-detail-modal{animation:none!important;opacity:1;transform:none;will-change:transform,opacity,border-radius}
.product-detail-backdrop.is-closing{pointer-events:none}
.product-detail-backdrop.is-closing .product-detail-heart{opacity:0!important;transform:translateY(8px) scale(.9)!important;transition:opacity .24s ease,transform .24s ease!important}
@keyframes productDetailJelly{0%{opacity:0;transform:scale(.82) translateY(22px)}45%{opacity:1;transform:scale(1.035) translateY(-4px)}67%{transform:scale(.985) translateY(2px)}84%{transform:scale(1.008) translateY(-1px)}100%{opacity:1;transform:scale(1) translateY(0)}}
.product-detail-close{position:absolute!important;top:10px!important;right:10px!important;z-index:2!important;box-sizing:border-box!important;width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;min-height:36px!important;max-height:36px!important;aspect-ratio:1/1!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#f1f3f2!important;color:#59635e!important;font-size:0!important;line-height:1!important;cursor:pointer!important;overflow:hidden!important}.product-detail-close::before{content:"×";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:Arial,sans-serif;font-size:24px;font-weight:400;line-height:1;transform:none!important}
/* V1.7.0 — smooth product focus return + V1.6.9 right-thumb favourite / quick-add */
.product-detail-heart{position:absolute;z-index:3;right:10px;top:56px;bottom:auto;width:46px;height:46px;border-radius:50%;border:2px solid rgba(112,178,205,.52);background:rgba(255,255,255,.94);color:#82949c;display:none;align-items:center;justify-content:center;padding:0;box-shadow:0 7px 22px rgba(28,73,89,.16),0 0 0 4px rgba(127,190,216,.08);font-size:30px;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .22s ease,background .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease}
.product-detail-backdrop.open .product-detail-heart{display:flex;animation:heartFloatIn .38s cubic-bezier(.2,.85,.25,1) both}
.product-detail-heart:active{transform:scale(.88)}
.product-detail-heart.is-liked{background:#e53935;color:#fff;border-color:#ff8b88;box-shadow:0 7px 24px rgba(229,57,53,.34),0 0 0 5px rgba(229,57,53,.10)}
.product-detail-heart.is-liked .heart-glyph{animation:heartFill .5s cubic-bezier(.18,.9,.25,1.25)}
@keyframes heartFloatIn{from{opacity:0;transform:translateY(14px) scale(.82)}to{opacity:1;transform:none}}
@keyframes heartFill{0%{transform:scale(.7)}45%{transform:scale(1.32)}70%{transform:scale(.92)}100%{transform:scale(1)}}
@media(min-width:761px){.product-detail-heart:hover{transform:scale(1.06);box-shadow:0 9px 26px rgba(28,73,89,.22),0 0 0 5px rgba(127,190,216,.10)}.product-detail-heart.is-liked:hover{box-shadow:0 9px 28px rgba(229,57,53,.40),0 0 0 6px rgba(229,57,53,.12)}}
@media(max-width:760px){.product-detail-heart{position:fixed;right:22px;top:auto;bottom:112px;width:56px;height:56px;font-size:31px}}
@media(max-width:390px){.product-detail-heart{right:18px;top:auto;bottom:104px;width:52px;height:52px;font-size:28px}}
.product-detail-image{display:block;width:min(280px,70%);height:auto;max-height:280px;object-fit:contain;margin:4px auto 12px;border-radius:14px;background:#fff}
.product-detail-placeholder{display:flex;align-items:center;justify-content:center;width:min(280px,70%);aspect-ratio:1/1;margin:4px auto 12px;border-radius:14px;background:#eef3ea;color:#9bad91;font-size:64px;font-weight:800}
.product-detail-category{display:inline-flex;max-width:calc(100% - 44px);padding:5px 9px;border:1px solid #dde5dc;border-radius:999px;color:#6b746e;background:#fafcf9;font-size:11px;line-height:1.15}
.product-detail-sku{margin-top:10px;color:#7b837e;font-size:12px}
.product-detail-title{margin:5px 0 8px;font-size:24px;line-height:1.1;color:#17241c}
.product-detail-origin{margin:0 0 9px;color:#4d5a52;font-size:13px;line-height:1.35}
.product-detail-description{margin:0;color:#4d5a52;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.product-detail-price{margin-top:16px;padding-top:14px;border-top:1px solid #edf0ed}
.product-detail-price strong{display:block;font-size:22px;line-height:1.1;color:#183420}
.product-detail-price small{display:block;margin-top:4px;color:#66736a;font-size:12px}
@media(max-width:760px){.product-detail-backdrop{align-items:center!important;justify-content:center!important;padding:10px!important}.product-detail-modal{width:calc(100vw - 20px)!important;max-width:680px!important;max-height:88vh;border-radius:22px!important;padding:16px!important;margin:auto!important}.product-detail-title{font-size:21px}.product-detail-description{font-size:13px}.product-more-btn{font-size:10px}}
@media(prefers-reduced-motion:reduce){.product-detail-backdrop,.product-detail-modal{transition:none!important;animation:none!important}.product-detail-backdrop.open .product-detail-modal{opacity:1!important;transform:none!important}}

/* V127 — cart controls inside full product modal */
.product-detail-cart{display:grid;grid-template-columns:98px minmax(0,1fr);gap:10px;align-items:center;margin-top:14px;padding-top:14px;border-top:1px solid #edf0ed}
.product-detail-qty{display:grid;grid-template-columns:30px 30px 30px;gap:4px;width:98px;height:38px;align-items:center}
.product-detail-qty button,.product-detail-qty input{box-sizing:border-box;height:38px;margin:0;padding:0;text-align:center;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.product-detail-qty button{display:flex;align-items:center;justify-content:center;width:30px;border:1px solid #cbd2a7;border-radius:9px;background:#e8ecd8;color:#334327;font-size:20px;font-weight:800;cursor:pointer}
.product-detail-qty button:active{background:#dce3c4;transform:scale(.96)}
.product-detail-qty input{width:30px;border:1px solid #dde2d6;border-radius:9px;background:#fff;color:#13271c;font-size:16px;font-weight:700;line-height:36px;appearance:none;-webkit-appearance:none;-moz-appearance:textfield}
.product-detail-qty input::-webkit-outer-spin-button,.product-detail-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.product-detail-add{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:38px;border:1px solid #245b32;border-radius:10px;background:#245b32;color:#fff;padding:0 10px;font-size:13px;font-weight:800;line-height:1;white-space:nowrap;cursor:pointer}
.product-detail-add .cart-label-modal{display:inline-flex;align-items:center;justify-content:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:clip}
.product-detail-add:disabled{opacity:.7;cursor:default}
.product-detail-add.is-loading,.catalog-add-form .addcart.is-loading{position:relative!important;color:transparent!important;pointer-events:none!important}
.product-detail-add.is-loading .cart-label-current,.catalog-add-form .addcart.is-loading .cart-label-current{visibility:hidden!important}
.product-detail-add.is-loading::after,.catalog-add-form .addcart.is-loading::after{content:""!important;display:block!important;position:absolute!important;left:50%!important;top:50%!important;width:16px!important;height:16px!important;margin:-8px 0 0 -8px!important;border:2px solid rgba(255,255,255,.42)!important;border-top-color:#fff!important;border-radius:50%!important;animation:delivraCartSpin .72s linear infinite!important}
@keyframes delivraCartSpin{to{transform:rotate(360deg)}}
.product-detail-modal.promo-product-detail{background:#fff!important;border-color:rgba(21,55,34,.10)!important;box-shadow:0 24px 70px rgba(10,35,20,.22)!important}
.product-detail-promo-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:14px;width:100%}.product-detail-promo-price-row+.product-detail-promo-price-row{margin-top:5px}.product-detail-promo-price-label{font-size:13px;font-weight:800;color:#6c735f}.product-detail-promo-old-total{font-size:17px;color:#8b8f84;text-decoration-thickness:2px}.product-detail-promo-new-label{color:#8a6900}.product-detail-price.is-promo-comparison{gap:4px!important}
.product-detail-modal.promo-product-detail::after{display:none!important}
@keyframes delivraPromoModalGlow{0%,100%{opacity:.42;box-shadow:0 0 0 0 rgba(245,203,32,0)}50%{opacity:.78;box-shadow:0 0 22px 3px rgba(245,203,32,.18)}}
@media(prefers-reduced-motion:reduce){.product-detail-add.is-loading::after,.catalog-add-form .addcart.is-loading::after{animation-duration:1.25s!important}.product-detail-modal.promo-product-detail::after{animation:none!important;opacity:.55!important}}
@media(max-width:760px){.product-detail-cart{grid-template-columns:98px minmax(0,1fr);gap:8px}.product-detail-add{font-size:12px;padding:0 7px}}
@media(max-width:390px){.product-detail-cart{grid-template-columns:92px minmax(0,1fr);gap:7px}.product-detail-qty{grid-template-columns:28px 28px 28px;width:92px}.product-detail-qty button,.product-detail-qty input{width:28px}.product-detail-add{font-size:11px;padding:0 5px}}
/* V129 — smaller add-to-cart text on mobile/Samsung so it never clips */
@media(max-width:760px){
  body.mobile-device .catalog-add-form .addcart,
  body.public-ios-ui .catalog-add-form .addcart{font-size:9px!important;padding-left:4px!important;padding-right:4px!important;letter-spacing:-.08px!important}
  .product-detail-add{font-size:10px!important;padding-left:5px!important;padding-right:5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
@media(max-width:390px){
  body.mobile-device .catalog-add-form .addcart,
  body.public-ios-ui .catalog-add-form .addcart{font-size:8.7px!important;padding-left:3px!important;padding-right:3px!important}
  .product-detail-add{font-size:9.5px!important;padding-left:4px!important;padding-right:4px!important}
}


/* V130 FINAL UI STABILITY — desktop modal without inner scroll, narrow Samsung cart fit, cart clear shape */
.checkout-submit,
.cart-clear-btn{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:0 16px!important;
  border-radius:12px!important;
  line-height:1!important;
}

@media(min-width:761px){
  .product-detail-backdrop{overflow-y:auto!important;align-items:center!important;padding:24px!important}
  .product-detail-modal{width:min(720px,calc(100vw - 48px))!important;max-height:none!important;overflow:visible!important;margin:auto!important;padding:18px!important}
  .product-detail-modal.is-long{width:min(780px,calc(100vw - 48px))!important}
  .product-detail-modal.is-long .product-detail-image{width:min(220px,34%)!important;max-height:220px!important;margin-bottom:9px!important}
  .product-detail-modal.is-long .product-detail-title{font-size:22px!important;margin-top:4px!important;margin-bottom:6px!important}
  .product-detail-modal.is-long .product-detail-description{font-size:13px!important;line-height:1.46!important}
  .product-detail-modal.is-very-long{width:min(900px,calc(100vw - 48px))!important;padding:16px!important}
  .product-detail-modal.is-very-long .product-detail-image{width:min(160px,24%)!important;max-height:160px!important;margin-bottom:7px!important}
  .product-detail-modal.is-very-long .product-detail-category{padding:4px 8px!important}
  .product-detail-modal.is-very-long .product-detail-sku{margin-top:7px!important}
  .product-detail-modal.is-very-long .product-detail-title{font-size:20px!important;line-height:1.08!important;margin:4px 0 5px!important}
  .product-detail-modal.is-very-long .product-detail-origin{margin-bottom:6px!important}
  .product-detail-modal.is-very-long .product-detail-description{font-size:12px!important;line-height:1.38!important}
  .product-detail-modal.is-very-long .product-detail-price{margin-top:10px!important;padding-top:10px!important}
  .product-detail-modal.is-very-long .product-detail-cart{margin-top:10px!important;padding-top:10px!important}
}

@media(max-width:420px){
  body:not(.staff-ui) .catalog-add-form,body.public-ios-ui .catalog-add-form,body.mobile-device .catalog-add-form{grid-template-columns:80px minmax(0,1fr)!important;gap:5px!important}
  body:not(.staff-ui) .qty-unified,body:not(.staff-ui) .catalog-qtybox,body.public-ios-ui .catalog-qtybox,body.mobile-device .catalog-qtybox{grid-template-columns:25px 30px 25px!important;width:80px!important;min-width:80px!important;max-width:80px!important}
  body:not(.staff-ui) .qty-unified .qty-unified-minus,body:not(.staff-ui) .qty-unified .qty-unified-plus,body:not(.staff-ui) .catalog-qtybox .catalog-qty-minus,body:not(.staff-ui) .catalog-qtybox .catalog-qty-plus,body.public-ios-ui .catalog-qtybox .catalog-qty-minus,body.public-ios-ui .catalog-qtybox .catalog-qty-plus,body.mobile-device .catalog-qtybox .catalog-qty-minus,body.mobile-device .catalog-qtybox .catalog-qty-plus{width:25px!important;min-width:25px!important;max-width:25px!important;font-size:18px!important}
  body:not(.staff-ui) .qty-unified .qty-unified-input,body:not(.staff-ui) .catalog-qty-input,body.public-ios-ui .catalog-qty-input,body.mobile-device .catalog-qty-input{width:30px!important;min-width:30px!important;max-width:30px!important;font-size:15px!important}
  body:not(.staff-ui) .catalog-add-form .addcart,body.public-ios-ui .catalog-add-form .addcart,body.mobile-device .catalog-add-form .addcart{font-size:8.5px!important;padding-left:2px!important;padding-right:2px!important;letter-spacing:-.12px!important}
  .product-detail-cart{grid-template-columns:84px minmax(0,1fr)!important;gap:6px!important}
  .product-detail-qty{grid-template-columns:26px 32px 26px!important;width:84px!important}
  .product-detail-qty button{width:26px!important;font-size:18px!important}.product-detail-qty input{width:32px!important;font-size:15px!important}
  .product-detail-add{font-size:9px!important;padding-left:3px!important;padding-right:3px!important;letter-spacing:-.08px!important}
}
@media(max-width:350px){
  body:not(.staff-ui) .catalog-add-form,body.public-ios-ui .catalog-add-form,body.mobile-device .catalog-add-form{grid-template-columns:76px minmax(0,1fr)!important;gap:4px!important}
  body:not(.staff-ui) .qty-unified,body:not(.staff-ui) .catalog-qtybox,body.public-ios-ui .catalog-qtybox,body.mobile-device .catalog-qtybox{grid-template-columns:24px 28px 24px!important;width:76px!important;min-width:76px!important;max-width:76px!important}
  body:not(.staff-ui) .qty-unified .qty-unified-minus,body:not(.staff-ui) .qty-unified .qty-unified-plus,body:not(.staff-ui) .catalog-qtybox .catalog-qty-minus,body:not(.staff-ui) .catalog-qtybox .catalog-qty-plus,body.public-ios-ui .catalog-qtybox .catalog-qty-minus,body.public-ios-ui .catalog-qtybox .catalog-qty-plus,body.mobile-device .catalog-qtybox .catalog-qty-minus,body.mobile-device .catalog-qtybox .catalog-qty-plus{width:24px!important;min-width:24px!important;max-width:24px!important}
  body:not(.staff-ui) .qty-unified .qty-unified-input,body:not(.staff-ui) .catalog-qty-input,body.public-ios-ui .catalog-qty-input,body.mobile-device .catalog-qty-input{width:28px!important;min-width:28px!important;max-width:28px!important}
  body:not(.staff-ui) .catalog-add-form .addcart,body.public-ios-ui .catalog-add-form .addcart,body.mobile-device .catalog-add-form .addcart{font-size:8px!important;letter-spacing:-.18px!important}
}


/* V131 — safe “more” spacing + mobile cart button +5px */
.product-more-btn{box-sizing:border-box!important;display:none;position:static!important;z-index:1!important;clear:both!important;margin:8px 0 8px!important;padding:0!important;line-height:1.25!important}.product-more-btn.is-visible{display:inline-flex!important;align-self:flex-start!important}
@media(max-width:420px){
  body:not(.staff-ui) .catalog-add-form,body.public-ios-ui .catalog-add-form,body.mobile-device .catalog-add-form{grid-template-columns:75px minmax(0,1fr)!important}
  body:not(.staff-ui) .qty-unified,body:not(.staff-ui) .catalog-qtybox,body.public-ios-ui .catalog-qtybox,body.mobile-device .catalog-qtybox{grid-template-columns:23px 29px 23px!important;width:75px!important;min-width:75px!important;max-width:75px!important}
  body:not(.staff-ui) .qty-unified .qty-unified-minus,body:not(.staff-ui) .qty-unified .qty-unified-plus,body:not(.staff-ui) .catalog-qtybox .catalog-qty-minus,body:not(.staff-ui) .catalog-qtybox .catalog-qty-plus,body.public-ios-ui .catalog-qtybox .catalog-qty-minus,body.public-ios-ui .catalog-qtybox .catalog-qty-plus,body.mobile-device .catalog-qtybox .catalog-qty-minus,body.mobile-device .catalog-qtybox .catalog-qty-plus{width:23px!important;min-width:23px!important;max-width:23px!important}
  body:not(.staff-ui) .qty-unified .qty-unified-input,body:not(.staff-ui) .catalog-qty-input,body.public-ios-ui .catalog-qty-input,body.mobile-device .catalog-qty-input{width:29px!important;min-width:29px!important;max-width:29px!important}
  .product-detail-cart{grid-template-columns:87px minmax(0,1fr)!important}
  .product-detail-qty{grid-template-columns:27px 29px 27px!important;width:87px!important}
  .product-detail-qty button{width:27px!important}.product-detail-qty input{width:29px!important}
}
@media(max-width:350px){
  body:not(.staff-ui) .catalog-add-form,body.public-ios-ui .catalog-add-form,body.mobile-device .catalog-add-form{grid-template-columns:71px minmax(0,1fr)!important}
  body:not(.staff-ui) .qty-unified,body:not(.staff-ui) .catalog-qtybox,body.public-ios-ui .catalog-qtybox,body.mobile-device .catalog-qtybox{grid-template-columns:22px 27px 22px!important;width:71px!important;min-width:71px!important;max-width:71px!important}
  body:not(.staff-ui) .qty-unified .qty-unified-minus,body:not(.staff-ui) .qty-unified .qty-unified-plus,body:not(.staff-ui) .catalog-qtybox .catalog-qty-minus,body:not(.staff-ui) .catalog-qtybox .catalog-qty-plus,body.public-ios-ui .catalog-qtybox .catalog-qty-minus,body.public-ios-ui .catalog-qtybox .catalog-qty-plus,body.mobile-device .catalog-qtybox .catalog-qty-minus,body.mobile-device .catalog-qtybox .catalog-qty-plus{width:22px!important;min-width:22px!important;max-width:22px!important}
  body:not(.staff-ui) .qty-unified .qty-unified-input,body:not(.staff-ui) .catalog-qty-input,body.public-ios-ui .catalog-qty-input,body.mobile-device .catalog-qty-input{width:27px!important;min-width:27px!important;max-width:27px!important}
}


/* V145 — final public text fit safeguards */
@media(max-width:760px){
  html[lang="ru"] body:not(.staff-ui) .catalog-add-form .addcart,
  html[lang="ru"] body:not(.staff-ui) .product-detail-add{
    font-size:8.2px!important;
    padding-left:1px!important;
    padding-right:1px!important;
    letter-spacing:-.08px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
  }
  html[lang="ru"] body:not(.staff-ui) .catalog-add-form .cart-label-full,
  html[lang="ru"] body:not(.staff-ui) .product-detail-add .cart-label-full{display:none!important}
  html[lang="ru"] body:not(.staff-ui) .catalog-add-form .cart-label-short,
  html[lang="ru"] body:not(.staff-ui) .product-detail-add .cart-label-short{display:inline!important}
  html[lang="ru"] body:not(.staff-ui) .catalog-add-form .cart-label-icon,
  html[lang="ru"] body:not(.staff-ui) .product-detail-add .cart-label-icon{display:none!important}
}


/* V147 — unified phone/tablet catalog scroll behavior */
@media (min-width:761px) and (max-width:1180px){
  body.public-ios-ui.catalog-scroll-ui .public-header{
    position:sticky!important;
    top:0!important;
    z-index:900!important;
    background:#fafbf7!important;
    box-shadow:0 2px 10px rgba(16,38,25,.055)!important;
  }

  body.public-ios-ui.catalog-scroll-ui .catalog-menu{
    position:sticky!important;
    top:calc(var(--tablet-public-header-h, 88px) + 4px)!important;
    z-index:880!important;
    transition:top .55s cubic-bezier(.16,.78,.22,1),padding .4s ease,box-shadow .35s ease!important;
  }

  body.public-ios-ui.catalog-scroll-ui .catalog-menu.is-floating{
    top:calc(var(--tablet-public-header-h, 88px) + 4px)!important;
    padding:3px!important;
    border-radius:12px!important;
    box-shadow:0 5px 14px rgba(16,38,25,.09)!important;
  }

  body.public-ios-ui.catalog-scroll-ui .shopbar{
    overflow:hidden!important;
    min-height:0!important;
  }

  body.public-ios-ui.catalog-scroll-ui .shopbar .searchbar{
    max-height:58px!important;
    opacity:1!important;
    transform:translateY(0)!important;
    overflow:hidden!important;
    transition:max-height .60s cubic-bezier(.16,.78,.22,1),opacity .4s ease,transform .5s cubic-bezier(.16,.78,.22,1),margin .45s ease,padding .45s ease,border-color .35s ease!important;
  }

  body.public-ios-ui.catalog-scroll-ui.mobile-search-collapsed .shopbar .searchbar{
    max-height:0!important;
    opacity:0!important;
    pointer-events:none!important;
    transform:translateY(-7px)!important;
    margin-top:0!important;
    margin-bottom:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }

  body.public-ios-ui.catalog-scroll-ui .catalog-menu.is-floating a{
    min-height:33px!important;
    padding-left:11px!important;
    padding-right:11px!important;
    font-size:11.5px!important;
  }
}

/* V147 — extra narrow Samsung/Android protection */
@media(max-width:430px){
  html[lang="ru"] body.mobile-device:not(.staff-ui) .catalog-add-form .addcart,
  html[lang="ru"] body.mobile-device:not(.staff-ui) .product-detail-add{
    padding-left:1px!important;
    padding-right:1px!important;
    min-width:0!important;
    overflow:hidden!important;
  }
}
@media(max-width:360px){
  html[lang="ru"] body.mobile-device:not(.staff-ui) .catalog-add-form .addcart,
  html[lang="ru"] body.mobile-device:not(.staff-ui) .product-detail-add{
    font-size:8.5px!important;
  }
}


/* V154 HARD FIX — one cart label, no pseudo duplication, safe "more" gap */
.product-more-row{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  min-height:0!important;
  margin:0 0 8px!important;
  padding:8px 0 0!important;
  clear:both!important;
  position:relative!important;
  z-index:1!important;
  flex:0 0 auto!important;
}
.product-more-row .product-more-btn{
  display:inline-flex!important;
  position:static!important;
  margin:0!important;
  padding:0!important;
  line-height:1.25!important;
}
body:not(.staff-ui) .retail-card .product-description,
body.public-ios-ui .retail-card .product-description,
body.mobile-device .retail-card .product-description{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
@media(max-width:430px){
  .product-more-row{padding-top:10px!important;margin-bottom:9px!important}
  .product-more-row .product-more-btn{line-height:1.35!important}
}
.catalog-add-form .addcart > .cart-label-current,
.product-detail-add > .cart-label-current{
  line-height:1.28!important;
  padding-top:1px!important;
  padding-bottom:1px!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}
html[lang="ro"] .catalog-add-form .addcart > .cart-label-current,
html[lang="ro"] .product-detail-add > .cart-label-current{
  overflow:visible!important;
  text-overflow:clip!important;
}

body:not(.staff-ui) .retail-card .product-description,
body.public-ios-ui .retail-card .product-description,
body.mobile-device .retail-card .product-description{margin-bottom:0!important}

.catalog-add-form .addcart,
.product-detail-add{
  min-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
}
.catalog-add-form .addcart::before,
.catalog-add-form .addcart::after,
.product-detail-add::before,
.product-detail-add::after{content:none!important;display:none!important}
.catalog-add-form .addcart > .cart-label-current,
.product-detail-add > .cart-label-current{
  display:block!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  line-height:1!important;
}
.catalog-add-form .addcart > .cart-label-full,
.catalog-add-form .addcart > .cart-label-short,
.catalog-add-form .addcart > .cart-label-icon,
.product-detail-add > .cart-label-full,
.product-detail-add > .cart-label-short,
.product-detail-add > .cart-label-icon,
.product-detail-add > .cart-label-modal{display:none!important}
@media(max-width:760px){
  html[lang="ru"] body:not(.staff-ui) .catalog-add-form .addcart,
  html[lang="ru"] body:not(.staff-ui) .product-detail-add{
    padding-left:2px!important;
    padding-right:2px!important;
  }
}

/* V158 — FINAL CONTROL ALIGNMENT: catalog, cart, public order, product modal */
html body:not(.staff-ui) .qty-unified .qty-unified-minus,
html body:not(.staff-ui) .qty-unified .qty-unified-plus,
html body:not(.staff-ui) .catalog-qtybox .catalog-qty-minus,
html body:not(.staff-ui) .catalog-qtybox .catalog-qty-plus,
.product-detail-qty .product-detail-minus,
.product-detail-qty .product-detail-plus{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
  text-indent:0!important;
  vertical-align:middle!important;
}

html body:not(.staff-ui) .qty-unified .qty-unified-input,
html body:not(.staff-ui) .catalog-qtybox .catalog-qty-input,
.product-detail-qty .product-detail-qty-input{
  box-sizing:border-box!important;
  text-align:center!important;
  text-align-last:center!important;
  padding-left:0!important;
  padding-right:0!important;
  margin:0!important;
  text-indent:0!important;
  vertical-align:middle!important;
  font-variant-numeric:tabular-nums!important;
}

html body:not(.staff-ui) .catalog-add-form .addcart,
.product-detail-add{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1!important;
}

html body:not(.staff-ui) .catalog-add-form .addcart .cart-label-current,
html body:not(.staff-ui) .catalog-add-form .addcart .cart-label-full,
html body:not(.staff-ui) .catalog-add-form .addcart .cart-label-short,
.product-detail-add .cart-label-modal{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  padding:0!important;
  margin:0!important;
  text-align:center!important;
  line-height:1!important;
  white-space:nowrap!important;
}

/* Checkout actions remain exactly equal */
.checkout-submit,
.cart-clear-btn{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:1!important;
  text-align:center!important;
  border-radius:12px!important;
}

/* V160 — client-facing typography only: same sizes, more readable font stack */
html body:not(.staff-ui),
html body:not(.staff-ui) button,
html body:not(.staff-ui) input,
html body:not(.staff-ui) select,
html body:not(.staff-ui) textarea,
html body:not(.staff-ui) a,
html body:not(.staff-ui) h1,
html body:not(.staff-ui) h2,
html body:not(.staff-ui) h3,
html body:not(.staff-ui) h4,
html body:not(.staff-ui) h5,
html body:not(.staff-ui) h6,
html body:not(.staff-ui) p,
html body:not(.staff-ui) span,
html body:not(.staff-ui) small,
html body:not(.staff-ui) strong,
html body:not(.staff-ui) b,
html body:not(.staff-ui) label,
html body:not(.staff-ui) th,
html body:not(.staff-ui) td{
  font-family:"Segoe UI","Noto Sans","Roboto","Helvetica Neue",Arial,sans-serif!important;
}
/* V204 — RO/RU switch in staff/admin screens */
.staff-lang-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;background:#f0f3ec;border:1px solid #dfe5da;border-radius:10px}
.staff-lang-switch a{display:flex;align-items:center;justify-content:center;min-width:32px;height:28px;padding:0 7px;border-radius:7px;text-decoration:none!important;font-size:12px;font-weight:800;color:#4b5846}
.staff-lang-sep{font-size:13px;font-weight:800;color:#7b8676;line-height:28px}
.staff-lang-switch a.active{background:#245B32;color:#fff}
@media(max-width:700px){.staff-lang-switch{order:-1}.staff-head{gap:7px;flex-wrap:wrap}}

/* V214 — canonical public legal back + staff mobile order actions */
.public-legal-back{display:flex;justify-content:flex-start;margin:0 0 14px}
.public-legal-back .button{min-height:42px;display:inline-flex;align-items:center;justify-content:center}

/* Primary selector: server-detected phone/tablet. */
body.staff-ui.mobile-device .staff-order-safe-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:16px!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:100%!important;
}
body.staff-ui.mobile-device .staff-order-safe-actions>form{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
body.staff-ui.mobile-device .staff-order-safe-actions .staff-order-safe-btn{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  height:56px!important;
  margin:0!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:normal!important;
  touch-action:manipulation!important;
}

/* Fallback for narrow browser windows even if UA detection is unavailable. */
@media(max-width:760px){
  body.staff-ui .staff-order-safe-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
    width:100%!important;
  }
  body.staff-ui .staff-order-safe-actions>form{display:block!important;width:100%!important;margin:0!important}
  body.staff-ui .staff-order-safe-actions .staff-order-safe-btn{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-height:56px!important;
    height:56px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}

/* V244 — one mobile public header for ALL public pages (cart, lookup, legal, cookies, catalog). */
@media(max-width:760px){
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;padding:12px!important;
    background:#fafbf7!important;border-bottom:1px solid rgba(19,39,28,.07)!important;overflow:hidden!important;
  }
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .brand{
    box-sizing:border-box!important;display:flex!important;align-items:center!important;min-width:0!important;margin:0 0 8px!important;
  }
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header nav{
    box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:48px 48px!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
    align-items:stretch!important;
  }
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header nav>a.mobile-contact-link{display:none!important}
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .mobile-catalog-link,
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .mobile-catalog-link,
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .my-order-link,
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .cart,
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .langswitch{
    box-sizing:border-box!important;width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;max-height:48px!important;
    margin:0!important;border-radius:12px!important;align-self:stretch!important;justify-self:stretch!important;
  }
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .my-order-link,
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .cart,
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .langswitch{
    display:flex!important;align-items:center!important;justify-content:center!important;padding:0 10px!important;overflow:hidden!important;
    white-space:nowrap!important;font-size:14px!important;line-height:1!important;
  }
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .mobile-full-toggle-form{display:none!important}
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .mobile-catalog-link{display:flex!important;align-items:center!important;justify-content:center!important;grid-column:1;grid-row:1;border:1px solid #d9e2d3!important;background:#f4f7f1!important;color:#17301f!important;font-weight:850!important}
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .cart{grid-column:2;grid-row:1}
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .langswitch{grid-column:1;grid-row:2}
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .my-order-link{grid-column:2;grid-row:2}
  /* Keep all four header controls visually aligned. */
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .mobile-catalog-link,
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .my-order-link{border:1px solid #d9e2d3!important;background:#f4f7f1!important;color:#17301f!important}
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .cart{background:#102516!important;color:#fff!important;border:1px solid #102516!important}
  body.public-ios-ui:not(.desktop-mode):not(.catalog-scroll-ui) .public-header .langswitch{border:1px solid #e0e4dc!important;background:#fff!important}
}
/* Reduce native rubber-band interaction with animated catalog header on supported mobile browsers. */
body.public-ios-ui.catalog-scroll-ui{overscroll-behavior-y:auto}
body.public-ios-ui .retail-card.promo-product{position:relative;background:#fff!important;box-shadow:none!important}
body.public-ios-ui .retail-card.promo-product::after{display:none!important}
body.public-ios-ui .retail-card.promo-product .promo-badge{position:absolute;z-index:22;top:10px;right:52px;display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:0 10px;border-radius:999px;background:#f5d53a;color:#493b00;font-size:11px;font-weight:950;letter-spacing:.055em;text-transform:uppercase;box-shadow:0 4px 12px rgba(125,98,0,.18);pointer-events:none}
@keyframes delivraPromoGlow{0%,100%{opacity:.42;box-shadow:0 0 0 0 rgba(255,213,48,0)}50%{opacity:.9;box-shadow:0 0 0 6px rgba(255,213,48,.16)}}
@media(max-width:700px){body.public-ios-ui .retail-card.promo-product .promo-badge{top:7px;right:44px;min-height:24px;padding:0 8px;font-size:10px}}
@media(prefers-reduced-motion:reduce){body.public-ios-ui .retail-card.promo-product::after{animation:none!important;opacity:.65!important}}
body.public-ios-ui .retail-card.promo-product .product-category{max-width:calc(100% - 122px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:760px){body.public-ios-ui .retail-card.promo-product .product-category{max-width:calc(100% - 108px)!important}}
/* V1.7.6.20 — PROMO modal only: keep old/new prices on the left and center the heart glyph. Nothing else changed. */
.product-detail-modal.promo-product-detail .product-detail-price.is-promo-comparison .product-detail-promo-price-row{justify-content:flex-start!important;gap:10px!important;}
.product-detail-modal.promo-product-detail .product-detail-price.is-promo-comparison .product-detail-promo-price-label{flex:0 0 auto!important;}
.product-detail-modal.promo-product-detail .product-detail-price.is-promo-comparison .product-detail-promo-old-total,
.product-detail-modal.promo-product-detail .product-detail-price.is-promo-comparison .product-detail-line-total{margin-left:0!important;text-align:left!important;}
.product-detail-modal.promo-product-detail .product-detail-price.is-promo-comparison .product-detail-line-total{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:0!important;padding:5px 12px!important;border-radius:10px!important;background:#f5d53a!important;color:#302600!important;box-shadow:0 3px 10px rgba(125,98,0,.16)!important}
.product-detail-modal.promo-product-detail .product-detail-heart .heart-glyph{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;line-height:1!important;transform:none!important;margin:0!important;padding:0!important;}
