/* <editor-fold> General */
html {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

hr.dashed-separator {
  border: none;
  height: 0;
  width: 100%;
  border-top: 2px dashed #cecece;
}

.shop-wrapper {
  background-color: #f3f3f3;
  margin-top: 125px;
  min-height: auto;
  height: calc(100vh - 125px - 7%);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  /*position: static;*/
}

.goog-te-gadget-simple img.goog-te-gadget-icon {
  display: none !important;
}

.shop-wrapper.login-page {
  margin-top: 0;
  min-height: 100vh;
  /*background-image: url("/public/img/login-background.webp");*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.shop-wrapper.login-page #shop-authentication .container {
  max-width: 400px;
}

.shop-wrapper.login-page #shop-authentication .container .card {
  color: var(--color-primary) !important;
  background: rgb(var(--color-primary-opposite-rgb), 0.9) !important;
  /*background: rgb(255,255,255,.85);*/
}

body .pageloader {
  z-index: 16;
}

body .infraloader.is-active {
  z-index: 15;
}

body .pageloader,
body .infraloader {
  left: 0;
  width: 100%;
}

body .main-sidebar~.pageloader,
body .main-sidebar~.infraloader {
  left: 80px;
  width: calc(100% - 80px);
}

body .shop-wrapper {
  margin-left: 0;
  width: 100%;
}

body .main-sidebar~.shop-wrapper {
  margin-left: 80px;
  width: calc(100% - 80px);
}

body.no-left-sidebar .infraloader,
body.no-left-sidebar .pageloader,
body.no-left-sidebar .shop-wrapper {
  background-color: #f0f0f0;
}

.alert-container {
  margin-bottom: 20px;
}

.is-mandatory {
  color: red;
}

.chosen-container-single .chosen-single span {
  color: #363636;
  font-size: 16px;
}

.loader-wrapper {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
}

.loader-wrapper .loader {
  margin: 0 auto;
  border-width: 4px;
  width: 8em;
  height: 8em;
}

#new-order-errors {
  color: #ff3b3c;
  background-color: #fff;
  text-align: right;
}

.product-info-panel .inner-panel .panel-body .product-controls .product-price .value span:first-child:before,
.product-info-panel .inner-panel .panel-body .product-controls .product-price .value span:nth-child(2):before {
  content: none;
}

.product-info .product-price .total-price-row small {
  color: #999;
}

h3.product-name[data-tooltip]:not(.is-disabled):before,
h3.product-name[data-tooltip]:not(.is-loading):before,
h3.product-name[data-tooltip]:not([disabled]):before,
#product-details-name [data-tooltip]:not(.is-disabled).has-tooltip-left:before,
#product-details-name [data-tooltip]:not(.is-loading).has-tooltip-left:before,
#product-details-name [data-tooltip]:not([disabled]).has-tooltip-left:before {
  width: 240px;
  text-transform: none;
}

span.product-name[data-tooltip]:not(.is-disabled):before,
span.product-name[data-tooltip]:not(.is-loading):before,
span.product-name[data-tooltip]:not([disabled]):before {
  width: 140px;
  text-transform: none;
}

.tab-content>div {
  display: none;
  margin-top: 2rem;
}

.tab-content>div.is-active {
  display: block;
}

.tab-content>div .listing-controls {
  border: 0;
}

.blockUI .loader.is-loading {
  height: 8em;
  width: 8em;
  margin: 0 auto;
}

/* </editor-fold> */

/* <editor-fold> Main sidebar */
.main-sidebar,
.main-sidebar .sidebar-brand {
  background-color: #fcfcfc;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-right: none;
  z-index: 29;
}

.top-bar .navbar-item img.brand-logo {
  max-height: 50px;
}

.main-sidebar .sidebar-inner .icon-menu li a.disabled {
  cursor: not-allowed;
}

.main-sidebar .sidebar-inner .icon-menu li a.disabled svg {
  stroke: #d9dbdc !important;
}

.main-sidebar .sidebar-inner .icon-menu li a.disabled:hover svg,
.main-sidebar .sidebar-inner .icon-menu li a.disabled.is-active svg,
.main-sidebar .sidebar-inner .bottom-menu li a.disabled:hover svg,
.main-sidebar .sidebar-inner .bottom-menu li a.disabled.is-active svg {
  stroke: #d9dbdc !important;
}

@media (max-width: 768px) {
  .main-sidebar .sidebar-inner {
    height: calc(100% - 52px);
  }

  .main-sidebar .sidebar-brand {
    height: 52px;
  }

  .shop-quickview.is-active .inner,
  .cart-quickview.is-active {
    padding-top: 52px !important;
  }

  .main-sidebar .sidebar-brand img {
    width: 100%;
    padding: 0 10px;
  }
}

/* </editor-fold> */

/* <editor-fold> Top bar */
.top-bar {
  /*background-color: #fcfcfc;*/
  /*overflow: hidden;*/
  position: fixed;
  top: 0;
  width: 100%;
  height: 125px;
  z-index: 30;
  margin: 0 !important;
}

/*.top-bar .navbar-start {
    overflow: hidden;
}*/

.top-bar a.nav-item {
  font-family: "Raleway", sans-serif;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /*color: #4a4a4a;*/
  font-weight: bold;
  font-size: 14px;
}

.brand-logo {
  max-width: 120px;
}

.column.is-narrow {
  --columnGap: 0.9rem;
}

/*
.top-bar a.nav-item:hover {
  color: var(--color-primary, #0023ff);
}
*/

.top-bar~.menu-fab {
  top: 140px;
  right: 20px;
}

#new-order-modal-trigger.menu-fab {
  width: 200px;
  height: 50px;
  border-radius: 25px;
}

#new-order-modal-trigger.menu-fab .menu-toggle {
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin: 0;
  float: left;
}

#new-order-modal-trigger.menu-fab .menu-toggle .icon-line-vertical {
  position: absolute;
  width: 2px;
  height: 30px;
  /*background: var(--color-primary, #0023ff);*/
  margin: -15px 0 0 -1px;
  left: 50%;
  top: 50%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#new-order-modal-trigger.menu-fab .menu-toggle .icon-line-horizontal {
  position: absolute;
  width: 30px;
  height: 2px;
  /*background: var(--color-primary, #0023ff);*/
  margin: 0 0 0 -15px;
  left: 50%;
  top: 50%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#new-order-modal-trigger.menu-fab .new-order-text {
  font-size: 15px;
  /*color: var(--color-primary, #0023ff);*/
  line-height: 30px;
}

#new-order-modal-trigger-fab {
  position: fixed;
  bottom: 15px;
  right: 15px;
}

#new-order-modal-trigger-fab.button.is-rounded {
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}

.action-bar {
  height: 90px;
  -webkit-box-shadow: none;
  box-shadow: none;
  background: transparent;
}

/* </editor-fold> */

/* <editor-fold> Mobile sidebar */
.mobile-navbar {
  background-color: #fcfcfc;
}

.mobile-navbar .navbar-brand .navbar-item img {
  width: 65px;
}

.mobile-navbar .navbar-menu.is-active {
  max-height: calc(100vh - 52px);
  overflow-y: auto;
}

.mobile-navbar .navbar-menu .navbar-dropdown .navbar-item.has-dropdown {
  padding-right: 0 !important;
}

.navbar-link:not(.is-arrowless)::after {
  right: 1.125rem;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  body.google-translate-active .shop-wrapper {
    margin-top: 100px !important;
  }
}

/* </editor-fold> */

/* <editor-fold> Modals */
.modal .modal-content .modal-delete {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: auto;
}

.modal .modal-content .modal-delete svg {
  width: 20px;
  height: 20px;
  stroke: #999;
  cursor: pointer;
}

.modal .modal-content .modal-delete svg:hover {
  stroke: var(--color-primary, #0023ff);
}

.modal .modal-content fieldset,
.modal .modal-content label {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 100;
}

.modal.modal-watch-video .modal-content {
  max-width: 1400px !important;
  width: 1400px !important;
}

.modal .modal-content .box {
  padding: 0;
  overflow: hidden;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.modal.is-active .modal-content .box {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.modal .modal-content .box p {
  font-size: 85%;
  color: #999;
}

.modal .modal-content .box .box-header {
  width: 100%;
  background: #ededed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 20px;
}

.modal .modal-content .box .box-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.modal .modal-content .box .box-header span {
  display: block;
  padding-left: 10px;
  color: #4a4a4a;
  text-transform: uppercase;
}

.modal .modal-content .box .box-header .delete {
  margin-left: auto;
}

.modal .modal-content .box .box-body {
  padding: 20px;
  font-size: 14px;
}

#new-order-modal .modal-content {
  width: 900px;
}

#new-order-modal .modal-content .box .box-body {
  background: #f9f9f9;
  padding: 0;
}

#new-order-modal .modal-content .box .box-body .type-wrapper,
#new-order-modal .modal-content .box .box-body .order-wrapper {
  padding: 0.75rem;
}

#new-order-modal .modal-content .box .box-body .mini-card {
  position: relative;
  background: #fff;
  border-radius: 6px;
  border: 2px solid #cecece;
  padding: 20px;
  margin: 10px;
  overflow: visible;
  cursor: pointer;
  transition: all 0.3s;
}

#new-order-modal .modal-content .box .box-body .mini-card.is-active,
#new-order-modal .modal-content .box .box-body .mini-card:hover {
  border-color: var(--color-accent-opposite, #0023ff);
}

#new-order-modal .modal-content .box .box-body .mini-card .active-indicator {
  visibility: hidden;
  position: absolute;
  top: -16px;
  right: -16px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-accent-opposite, #ffffff);
  border-radius: 50%;
  color: var(--color-accent, #0023ff);
  background: var(--color-accent-opposite, #ffffff);
}

#new-order-modal .modal-content .box .box-body .mini-card.is-active .active-indicator {
  visibility: visible;
}

#new-order-modal .modal-content .box .box-body .mini-card svg {
  height: 48px;
  fill: #cecece;
}

#new-order-modal .modal-content .box .box-body .mini-card.is-active svg {
  fill: var(--color-accent-opposite, #ffffff);
}

#new-order-modal .modal-content .box .box-body .mini-card .active-indicator svg {
  width: 14px;
  height: 14px;
  /*stroke: var(--color-primary, #0023ff);*/
  stroke: var(--color-accent, #0023ff);
  stroke-width: 3px;
}

#new-order-modal .modal-content .box .box-body .mini-card .order-type-title {
  font-size: 12px;
  font-weight: 500;
  color: #777777;
  transition: all 0.3s;
}

/*#new-order-modal .modal-content .box .box-body .mini-card:hover .order-type-title,
#new-order-modal .modal-content .box .box-body .mini-card.is-active .order-type-title {
  color: var(--color-primary, #0023ff);
}*/

#new-order-modal .modal-content .box .box-body .mini-card div:first-child {
  width: 40px;
  height: 40px;
  margin-left: calc(50% - 20px);
  transition: background 0.3s;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

#new-order-modal .modal-content .box .box-body .type-wrapper #excel-order-structure,
#new-order-modal .modal-content .box .box-body .type-wrapper #txt-order-structure {
  display: none;
}

.mini-card #manual-order,
.mini-card #default-order {
  background-image: url(../assets_img/icons/orders.png);
}

.mini-card #excel-order {
  background-image: url(../assets_img/icons/excel.png);
}

.mini-card #barcode-order {
  background-image: url(../assets_img/icons/barcode.png);
}

.mini-card #txt-order {
  background-image: url(../assets_img/icons/scan_barcode.png);
}

.mini-card #quote-order {
  background-image: url(../assets_img/icons/quote.png);
}

.mini-card:hover #manual-order,
.mini-card.is-active #manual-order,
.mini-card:hover #default-order,
.mini-card.is-active #default-order {
  background-image: url(../assets_img/icons/orders_hover.png);
}

.mini-card:hover #excel-order,
.mini-card.is-active #excel-order {
  background-image: url(../assets_img/icons/excel_hover.png);
}

.mini-card:hover #txt-order,
.mini-card.is-active #txt-order {
  background-image: url(../assets_img/icons/scan_barcode_hover.png);
}

.mini-card:hover #quote-order,
.mini-card.is-active #quote-order {
  background-image: url(../assets_img/icons/quote_hover.png);
}

/* --------------------  */

#new-order-modal .modal-content .box .box-body .info-wrapper {
  background-color: white;
  min-height: 500px;
}

#new-order-modal .modal-content .box .box-body .info-wrapper .columns {
  margin: 0;
}

#new-order-modal .modal-content .box .box-body .info-wrapper .columns .new-order-label {
  padding-bottom: 0;
}

#new-order-modal .modal-content .box .box-body .info-wrapper .columns .new-order-value {
  padding-top: 0;
  font-weight: bold !important;
  font-size: 14px !important;
  color: #4a4a4a !important;
}

#new-order-modal .modal-content .box .box-body .info-wrapper .columns .new-order-value input {
  font-weight: bold !important;
  font-size: 14px !important;
  color: #4a4a4a !important;
}

#new-order-modal .modal-content .box .box-body .info-wrapper .columns .new-order-value input::placeholder {
  font-weight: lighter;
}

#new-order-modal .modal-content .box .box-body .info-wrapper .columns .new-order-value span {
  font-size: 10px !important;
  font-weight: lighter;
  font-style: italic;
}

#new-order-modal .modal-content .box .box-body .info-wrapper .columns .new-order-value.control {
  font-weight: unset !important;
}

#new-order-modal .modal-content .box .box-body .info-wrapper .columns .new-order-value.control span {
  font-size: 12px !important;
  font-style: unset;
}

#new-order-modal .modal-content .box .box-body .info-wrapper .columns .new-order-value.control .chosen-container .chosen-results li {
  font-size: 12px;
}

#new-order-modal .modal-content .box .box-body .info-wrapper #new-order-form {
  width: 100%;
}

#new-order-modal .modal-content .box .box-body .info-wrapper #new-order-confirm input {
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: inherit;
  border: none;
  cursor: pointer;
}

#new-order-modal .confirm-button-cointainer {
  position: absolute;
  width: 50%;
  bottom: 0;
}

#new-order-modal .confirm-button-container #new-order-new-destination-toggle {
  margin-right: 10px;
}

/* Nuova destinazione attiva: il bottone diventa l'annulla in negativo (is-inverted del tema),
   qui aggiungiamo solo il bordo perché sul bianco della modale altrimenti non si stacca */
#new-order-modal .confirm-button-container #new-order-new-destination-toggle.is-inverted {
  border-color: currentColor;
}

.change-catalog-container .method-card {
  position: relative;
  width: 100%;
}

.change-catalog-container .method-card input {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.change-catalog-container .method-card .method-card-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #cecece;
  background: #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.change-catalog-container .method-card .method-card-inner .meta h3 {
  font-weight: 600;
  font-size: 1rem;
  color: #4a4a4a;
}

.change-catalog-container .method-card>input:checked~.method-card-inner {
  border-color: var(--color-primary, #0023ff);
  -webkit-box-shadow: -1px 3px 15px 0 rgb(0 0 0 / 6%);
  box-shadow: -1px 3px 15px 0 rgb(0 0 0 / 6%);
}

#change-customer-modal .modal-content .modal-card {
  max-height: calc(100vh - 150px);
}

/* </editor-fold> */

/* <editor-fold> Home Slider */
.current-catalog-info-container {
  color: white;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0.75rem;
}

.current-catalog-info {
  position: relative;
  margin: 40px 0 20px;
  background-color: var(--color-primary);
  color: var(--color-primary-opposite);
}

.current-catalog-info small.current-catalog-info-title {
  font-variant: small-caps;
  text-transform: capitalize;
  font-weight: 500;
  position: absolute;
  top: -15px;
  left: -15px;
  background-color: var(--color-accent);
  color: var(--color-accent-opposite);
  padding: 2px 8px;
}

@media (max-width: 768px) {
  .current-catalog-info small.current-catalog-info-title {
    left: 15px;
  }

  #new-order-modal .modal-content {
    max-width: 50%;
  }

  #new-order-modal .modal-content .box .box-body .info-wrapper {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  #new-order-modal .modal-content {
    max-width: 85%;
  }
}

.current-catalog-info span {
  font-weight: bold;
}

#quickview-cart-count a,
.current-catalog-info a {
  font-weight: bold;
  color: #bde0ff;
}

#quickview-cart-count a:hover,
.current-catalog-info a:hover {
  color: #7cb5e6;
}

.one-slide-home {
  margin: 0 !important;
  height: calc(100vh - 125px);
  overflow: hidden;
  position: relative;
}

.one-slide-home img {
  margin: 0 auto;
}

.one-slide-home .one-slide-overlay {
  background-color: rgba(54, 64, 84, 0.8);
  /* background-color: #364054; */
  position: absolute;
  width: 100% !important;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 100%;
  color: #fff;
  height: 100%;
  transition: 0.5s ease;
}

.one-slide-home:hover .one-slide-overlay {
  bottom: 0%;
}

.one-slide-home .one-slide-overlay .one-slide-overlay-title {
  color: white;
  font-size: 1.5rem;
  border-bottom: 1px solid white;
  width: 50%;
  margin-left: 30px;
  margin-top: 30px;
}

.one-slide-home .one-slide-overlay .one-slide-overlay-footer {
  position: absolute;
  width: 100%;
  bottom: 30px;
  padding: 0 30px;
}

.one-slide-home .one-slide-overlay .one-slide-overlay-footer a.action {
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.one-slide-home .one-slide-overlay .one-slide-overlay-footer a.action:hover {
  opacity: 0.7;
}

.one-slide-home .one-slide-overlay .one-slide-overlay-footer a.action span {
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
}

.one-slide-home .one-slide-overlay .one-slide-overlay-footer a.action svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  opacity: 0;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.one-slide-home .one-slide-overlay .one-slide-overlay-footer a.action:hover svg {
  opacity: 1;
  -webkit-transform: translateX(5px);
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .one-slide-home {
    height: auto;
  }
}

/* </editor-fold> */

/* <editor-fold> Home blocks */
.block-container a {
  font-family: "Raleway", sans-serif;
  width: 100%;
}

/*.block-container div {
    text-align: center;
}*/

.block-container .column> :not([class*="has-background-"]) a .block-title {
  color: #4a4a4a;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 500;
}

.block-container .column> :not([class*="has-background-"]) a .block-title:hover {
  opacity: 0.8;
  color: var(--color-primary, #0023ff);
}

/* </editor-fold> */

/* <editor-fold> Shop quickview */
.shop-quickview {
  padding-top: 125px;
  z-index: 28;
  left: 0;
}

.main-sidebar~.shop-quickview {
  left: 80px;
}

.shop-quickview .inner .shop-menu {
  overflow: hidden;
  overflow-y: auto;
  max-height: 100%;
}

.shop-quickview .inner .quickview-header+.shop-menu,
.shop-quickview .inner .user-profile+.shop-menu {
  max-height: calc(100% - 60px);
}

.shop-quickview .inner .quickview-header+.user-profile+.shop-menu,
.shop-quickview .inner .user-profile+.quickview-header+.shop-menu {
  max-height: calc(100% - 120px);
}

.shop-quickview .inner>.user-profile li {
  height: 60px;
}

@media (max-width: 768px) {
  .shop-quickview {
    top: 0;
    height: 100%;
  }
}

.shop-quickview .inner.has-background-primary .shop-menu li,
.shop-quickview .inner.has-background-primary .user-profile li {
  border-color: rgb(var(--color-primary-opposite-rgb), 0.35) !important;
}

/* </editor-fold> */

/* <editor-fold> Cart quickview */
.cart-quickview {
  padding-top: 125px;
  z-index: 28;
  left: unset;
  right: 0;
  transform: translateX(100%);
}

.main-sidebar~.shop-quickview {
  left: 80px;
}

.cart-quickview .inner .cart-action .cart-total:before {
  content: none;
}

.cart-quickview .inner .cart-body .shopping-cart-items li {
  height: 140px;
}

.cart-quickview .inner .cart-body .shopping-cart-items .item-meta {
  width: 80%;
  margin-left: 50px;
  color: #4a4a4a;
}

.cart-quickview .inner .cart-body .shopping-cart-items .item-name {
  overflow: unset;
  white-space: unset;
  max-width: unset;
}

.cart-quickview .inner .cart-body .shopping-cart-items .item-price,
.cart-quickview .inner .cart-body .shopping-cart-items .item-penalty-price {
  display: block;
}

.cart-quickview .inner .cart-body .shopping-cart-items .item-penalty-price {
  font-size: 0.8rem;
  color: #999;
}

.cart-quickview .inner .cart-body .shopping-cart-items .item-penalty-price var {
  color: var(--color-primary, #0023ff);
  margin-right: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.cart-quickview .inner .cart-body .shopping-cart-items .item-price var:before,
.cart-quickview .inner .cart-body .shopping-cart-items .item-penalty-price var:before {
  content: none;
}

.cart-quickview .inner .cart-body .shopping-cart-items .item-penalty-price span {
  font-size: 0.9rem;
  color: #4a4a4a;
}

.cart-quickview .inner .cart-body .shopping-cart-items .remove-item {
  height: 138px;
}

/*
  .shop-wrapper #cart-page .columns .column.main-column {
    margin-left: 10px;
  }
*/
@media only screen and (max-width: 1440px) {
  .shop-wrapper #cart-page .columns .column.main-column {
    margin-left: 10px;
  }
}

/* </editor-fold> */

/* <editor-fold> User area quickview */
.user-area-quickview {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  background-color: #344258;
  background-size: cover;
  background-position: bottom;
  -webkit-box-shadow: -2px 0px -2px 0px rgba(0, 0, 0, 0.06);
  box-shadow: -2px 0px -2px 0px rgba(0, 0, 0, 0.06);
  z-index: 3;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  overflow: hidden;
  padding-top: 125px;
}

.main-sidebar~.user-area-quickview {
  left: 80px;
}

@media (max-width: 768px) {
  .user-area-quickview {
    left: 0;
  }
}

.user-area-quickview.is-pushed-mobile {
  -webkit-transform: translateX(calc(-100% - 80px));
  transform: translateX(calc(-100% - 80px));
  left: 0 !important;
}

.user-area-quickview.is-active {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.user-area-quickview .inner {
  position: relative;
  height: 100%;
  background-color: rgba(43, 56, 76, 0.95);
}

.user-area-quickview .inner .quickview-header {
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-bottom: 1px solid #3d4e68;
}

.user-area-quickview .inner .quickview-header span {
  cursor: pointer;
}

.user-area-quickview .inner .quickview-header h2 {
  position: relative;
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 6px;
  padding-left: 20px;
}

.user-area-quickview .inner .quickview-header svg {
  margin-right: 20px;
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.user-area-quickview .inner .user-area-menu li,
.user-area-quickview .inner .user-profile li {
  width: 100%;
  height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  border-bottom: 1px solid #3d4e68;
}

.user-area-quickview .inner .user-area-menu li {
  cursor: pointer;
}

.user-area-quickview .inner .user-area-menu li:hover a {
  opacity: 0.8;
}

.user-area-quickview .inner .user-area-menu li:hover a svg {
  -webkit-transform: translate3d(0, 0, 0) rotate(0);
  transform: translate3d(0, 0, 0) rotate(0);
  opacity: 1;
}

.user-area-quickview .inner .user-area-menu a {
  width: 100%;
  padding: 0 20px;
  font-family: "Raleway", sans-serif;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify !important;
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.user-area-quickview .inner .user-area-menu a svg {
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translate3d(100px, 0, 0) rotate(360deg);
  transform: translate3d(100px, 0, 0) rotate(360deg);
}

.user-area-quickview .inner .user-profile {
  position: absolute;
  bottom: 0;
  padding: 0;
}

.user-area-quickview .inner .user-profile li {
  border-bottom: none !important;
}

.user-area-quickview .inner .user-profile li img {
  max-height: 40px;
  max-width: 40px;
  border-radius: 50%;
  margin-left: 20px;
}

.user-area-quickview .inner .user-profile li a {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.user-area-quickview .inner .user-profile li a .user {
  padding-left: 10px;
  color: #fff;
}

.user-area-quickview .inner .user-profile li a .user span {
  display: block;
  font-family: "Raleway", sans-serif;
}

.user-area-quickview .inner .user-profile li a .user span:first-child {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 3px;
}

.user-area-quickview .inner .user-profile li a .user span:nth-child(2) {
  font-size: 0.8rem;
}

.user-area-quickview .inner .user-profile li a .user span:nth-child(2) small {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.user-area-quickview .inner .user-profile li a:hover span {
  opacity: 0.8;
}

/* </editor-fold> */

/* <editor-fold> Login */
.auth-logo {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

.auth-logo img {
  max-height: 100px;
  margin: 0 auto;
}

.main-auth-wrapper .registration-form-wrapper .registration-form {
  max-width: 700px;
}

.main-auth-wrapper .registration-form-wrapper .registration-form .field {
  margin-bottom: 0;
}

.login-form select.chosen-with-icon+.chosen-container.chosen-container-single .chosen-single,
#language-form select.chosen-with-icon+.chosen-container.chosen-container-single .chosen-single {
  padding-left: 35px;
}

/*
.main-auth-wrapper .login-form-wrapper .login-form select.chosen-with-icon + .chosen-container.chosen-container-single .chosen-single:before {
  content: "\f1ab";
  display: block;
  font-family: FontAwesome;
  left: 0;
  position: absolute;
  text-align: center;
  width: 30px;
  margin-left: 6px;
}

.main-auth-wrapper .login-form-wrapper .login-form select.chosen-with-icon + .chosen-container.chosen-container-single .chosen-single span {
  margin-left: 9px;
}

.main-auth-wrapper .login-form-wrapper .login-form select.chosen-with-icon + .chosen-container.chosen-container-single.chosen-with-drop .chosen-single:before {
  color: var(--color-primary, #0023ff);
}

.login-form select.chosen-with-icon + .chosen-container.chosen-container-single.chosen-with-drop .chosen-single {
    border-color: #8a8a8a;
}
*/

#login_language_chosen .chosen-drop li.flag-it:before,
#login_language_chosen .chosen-single.flag-it:before {
  content: url("../assets_img/language/it.png");
}

#login_language_chosen .chosen-drop li.flag-en:before,
#login_language_chosen .chosen-single.flag-en:before {
  content: url("../assets_img/language/en.png");
}

#login_language_chosen .chosen-drop li.flag-de:before,
#login_language_chosen .chosen-single.flag-de:before {
  content: url("../assets_img/language/de.png");
}

#login_language_chosen .chosen-drop li.flag-es:before,
#login_language_chosen .chosen-single.flag-es:before {
  content: url("../assets_img/language/es.png");
}

#login_language_chosen .chosen-drop li.flag-fr:before,
#login_language_chosen .chosen-single.flag-fr:before {
  content: url("../assets_img/language/fr.png");
}

#login_language_chosen .chosen-drop li:before {
  margin-right: 10px;
}

#login_language_chosen .chosen-single.flag:before {
  margin-right: 10px;
  display: block;
  left: 0;
  position: absolute;
  text-align: center;
  width: 30px;
  margin-left: 6px;
}

.login-form select.chosen-with-icon+.chosen-container.chosen-container-single .chosen-single span,
#language-form select.chosen-with-icon+.chosen-container.chosen-container-single .chosen-single span {
  margin-left: 9px;
}

#language-form .login-box {
  min-width: 175px;
  padding-top: 0.7rem;
}

/* </editor-fold> */

/* <editor-fold> LightSlider */
ul#lightSlider {
  list-style: none outside none;
  padding-left: 0;
  margin-bottom: 0;
}

ul#lightSlider li {
  display: block;
  float: left;
  margin-right: 6px;
  cursor: pointer;
}

ul#lightSlider li img {
  display: block;
  height: auto;
  max-width: 100%;
}

.lSSlideWrapper {
  height: 100% !important;
}

.lSSlideOuter .lSPager.lSpg {
  margin-top: -30px !important;
}

.lSSlideOuter .lSPager.lSpg>li a {
  z-index: 0;
}

/* </editor-fold> */

/* <editor-fold> Catalog */
#shop-grid>.container>.columns,
#orders-grid>.container>.columns {
  margin-bottom: 0;
}

#shop-grid #catalog-container .heading-listing-controls {
  justify-content: flex-start;
  border-top: none;
  width: 100%;
}

#shop-grid #catalog-container .listing-controls {
  justify-content: flex-start;
  border-top: none;
  width: 100%;
}

#shop-grid #catalog-container .category-header .listing-controls {
  width: auto;
  justify-content: flex-start;
  align-self: flex-end;
  margin-bottom: 10px;
}

#shop-grid .category-wrapper .is-product-grid,
#shop-grid .category-wrapper .is-product-list,
#search-filters-menubar {
  border-top: 1px solid #d6d6d6;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

#search-filters-menubar {
  margin: 0 -1em;
}

#search-filters-menubar:empty {
  padding: 0 !important;
}

#search-filters-menubar .more-filters.navbar {
  z-index: 25;
}

#shop-grid .category-wrapper #search-filters-menubar+.is-product-grid,
#shop-grid .category-wrapper #search-filters-menubar+.is-product-list {
  border-top: none;
}

#shop-grid .category-wrapper span[data-tooltip] {
  border-bottom: none;
}

#shop-grid .category-wrapper .flat-card.is-list-item {
  -webkit-box-pack: space-between;
  -ms-flex-pack: space-between;
  justify-content: space-between;
}

#shop-grid .category-wrapper .flat-card.is-list-item .product-info {
  /*flex: auto;*/
  flex: 1 1 calc(100% - 140px - 420px - 125px);
}

/*#shop-grid .category-wrapper .flat-card.is-list-item .details-spinner {
    margin-right: 50px;
}*/

/*
.sort-box .chosen-container-single .chosen-single {
  background: #ededed;
}

.sort-box .chosen-container-single .chosen-single:hover {
  background: #f7f7f7;
}
*/
.sort-box {
  max-width: initial;
}

.flat-card {
  /* LEOMOD
    max-height: 450px;
    min-height: 450px;*/
  max-height: fit-content;
  /* padding-bottom: 0.5rem; */
}

.flat-card.is-list-item {
  padding: 5px 40px;
  margin-top: 24px;
}

.flat-card .product-info .product-description {
  /*text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;*/
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.flat-card .product-quantity {
  margin-right: 1rem;
  margin-left: 1rem;
}

.product-info-panel .inner-panel .panel-header {
  padding: 20px 0;
}

.flat-card .product-info .product-name .availability-flag {
  /*font-size: 8px*/
  font-size: 12px;
  padding-left: 5px;
}

.product-info-panel .inner-panel .panel-body .product-name {
  font-size: 1.5rem;
}

.product-info-panel .inner-panel .panel-body .product-name span {
  font-size: 60%;
}

.product-info-panel .inner-panel .panel-footer .footer-inner .featured-product .image img {
  max-width: 80px;
}

#product-page #product-details-name .availability-flag {
  font-size: 20px;
  padding-left: 5px;
}

.flat-card .product-info .product-name .availability-flag.blue,
#product-page .meta-block .availability-flag.blue,
#product-page #product-details-name .availability-flag.blue {
  color: #00477b;
}

.flat-card .product-info .product-name .availability-flag.green,
#product-page .meta-block .availability-flag.green,
#product-page #product-details-name .availability-flag.green {
  color: #00b050;
}

.flat-card .product-info .product-name .availability-flag.yellow,
#product-page .meta-block .availability-flag.yellow,
#product-page #product-details-name .availability-flag.yellow {
  color: #ffff00;
}

.flat-card .product-info .product-name .availability-flag.azure,
#product-page .meta-block .availability-flag.azure,
#product-page #product-details-name .availability-flag.azure {
  color: #039be5;
}

.flat-card .product-info .product-name .availability-flag.orange,
#product-page .meta-block .availability-flag.orange,
#product-page #product-details-name .availability-flag.orange {
  color: #ffc000;
}

.flat-card .product-info .product-name .availability-flag.red,
#product-page .meta-block .availability-flag.red,
#product-page #product-details-name .availability-flag.red {
  color: #ff0000;
}

.order-history .flat-card {
  padding-bottom: 20px;
}

.order-history .product-info {
  flex: 1 1 auto;
}

[data-tooltip]:not(.is-disabled).has-tooltip-top:before,
[data-tooltip]:not(.is-loading).has-tooltip-top:before,
[data-tooltip]:not([disabled]).has-tooltip-top:before,
[data-tooltip]:not(.is-disabled).has-tooltip-bottom:before,
[data-tooltip]:not(.is-loading).has-tooltip-bottom:before,
[data-tooltip]:not([disabled]).has-tooltip-bottom:before {
  min-width: 175px;
}

#product-page>.row.main-row {
  display: flex;
  flex-wrap: wrap;
}

#product-page>.row.main-row>.panel-container {
  overflow: hidden;
  min-width: 100%;
}

#product-page>.row.main-row>.panel-container>.left-product-panel {
  float: left;
  width: 50%;
  min-height: 500px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#product-page>.row.main-row>.panel-container>.right-product-panel {
  float: right;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#product-page #meta-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 20px;
}

#product-page .empty-panel {
  font-weight: bolder;
  font-size: 16px;
  padding-top: 25px;
  color: #999;
}

#product-page .product-actions {
  position: absolute;
  bottom: 1rem;
  z-index: 1;
}

#product-page .product-actions .right-actions:first-child:last-child {
  width: 100%;
}

#product-page .product-actions .right-actions {
  text-align: center !important;
}

/*#product-page .product-actions .product-action {
  color: #363636;
}
#product-page .product-actions .product-action.is-active {
  color: #039be5;
}*/

/* .detail-item-row {
  border-width: 0!important;
}

.detail-item-row {
  border-width: 0!important;
} */

#product-page .product-info-panel-row tbody td {
  border-width: 0 !important;
}

#product-page .product-info-panel-row tbody .detail-item-row td {
  border-top-width: 10px !important;
}

#product-page .product-info-panel-row tbody .detail-item-row td {
  border-top-width: 10px !important;
}

/*.flat-card:hover .product-info .product-name {
  opacity: .8;
  color: var(--color-secondary, #0023ff);
}*/

.flat-card .image {
  margin: 0;
  width: 100%;
  padding-top: 100%;
  position: relative;
  box-sizing: border-box;
}

.flat-card .image img {
  margin: 0;
  max-width: none;
  object-fit: cover;
  /* height: 350px; */
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
}

/*
.flat-card.is-list-item span.image {
  width: 120px;
  height: 120px;
}
*/
.flat-card.is-list-item span.image {
  width: 140px;
  height: 100%;
  min-height: 140px;
  padding-top: 0;
}

.flat-card.is-list-item span.image img {
  object-fit: contain;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.flat-card .product-info .product-price span:first-child:before,
.flat-card .product-info .product-price .sale-price:before {
  content: none;
}

.flat-card .product-info .product-price .sale-price {
  color: #999;
  text-decoration: line-through;
  padding: 0 10px;
  font-size: inherit;
  line-height: inherit;
}

.flat-card .promo-badge {
  width: 90px;
  height: 90px;
  position: absolute;
  border: var(--color-secondary, #0023ff) 45px solid;
  left: -45px;
  top: -45px;
  transform: rotate(45deg);
}

.flat-card .promo-popup {
  position: absolute;
  /*top: 15px;
    right: 15px;*/
  top: -10px;
  left: 20px;
  transform: rotate(-45deg);
}

.flat-card .promo-popup span {
  display: inline-block;
}

.flat-card .promo-popup span svg {
  height: 18px;
  width: 18px;
  stroke: white;
}

.flat-card .promo-popup span:hover {
  cursor: pointer;
}

/*
.flat-card .promo-popup span.promo svg.is-active {
  stroke: var(--color-primary, #0023ff)
}

.flat-card .promo-popup span.promo:hover svg {
  stroke: var(--color-primary, #0023ff)
}
*/

.flat-card .promo-popup span.promo.popover.is-popover-left .popover-content,
.flat-card .promo-popup span.promo.popover.is-popover-right .popover-content,
.flat-card .promo-popup span.promo.popover.is-popover-bottom .popover-content {
  background: rgba(74, 74, 74, 0.7);
  border-radius: 2px;
  padding: 0.5rem 1rem;
  text-overflow: ellipsis;
  white-space: pre-line;
  transform: translate(-0.7rem, 70%) !important;
  box-sizing: border-box;
  color: #fff;
  display: inline-block;
  font-family: BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Helvetica, Arial,
    sans-serif;
  font-size: 0.75rem;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  pointer-events: none;
  position: absolute;
  z-index: 1;
  box-shadow: none;
}

.flat-card .promo-popup span.promo.popover.is-popover-left .popover-content::before,
.flat-card .promo-popup span.promo.popover.is-popover-right .popover-content::before {
  top: 25% !important;
  border-bottom-color: rgba(74, 74, 74, 0.7);
  border-left-color: rgba(74, 74, 74, 0.7);
  box-shadow: none;
  margin-left: -0.375rem;
  border-width: 6px;
}

.flat-card .promo-popup span.promo.popover.is-popover-bottom .popover-content::before {
  border-bottom-color: rgba(74, 74, 74, 0.7);
  border-left-color: rgba(74, 74, 74, 0.7);
  box-shadow: none;
  margin-left: -0.375rem;
  border-width: 6px;
}

.flat-card .promo-popup span.popover.is-popover-bottom .popover-content {
  top: 0% !important;
  bottom: auto !important;
}

.flat-card .promo-popup span.popover.is-popover-bottom .popover-content::before {
  left: 5% !important;
}

/*#shop-grid .category-wrapper .is-product-list .flat-card*/
.product-quantity .details-spinner {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 36px;
  min-width: 90px;
  border: 1px solid #ededed;
  border-radius: 100px;
  background: #fff;
  -webkit-box-shadow: -1px 3px 15px 0 rgb(0 0 0 / 6%);
  box-shadow: -1px 3px 15px 0 rgb(0 0 0 / 6%);
}

/*#shop-grid .category-wrapper .is-product-list .flat-card*/
.product-quantity .details-spinner .spinner-button {
  height: 36px;
  width: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 50%;
  padding: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 1;
}

/*#shop-grid .category-wrapper .is-product-list .flat-card*/
.product-quantity .details-spinner .spinner-button svg {
  height: 14px;
  width: 14px;
  stroke: #999;
  -webkit-transition: stroke 0.3s;
  transition: stroke 0.3s;
}

/*#shop-grid .category-wrapper .is-product-list .flat-card*/
.product-quantity .details-spinner .spinner-button:hover svg {
  stroke: var(--color-primary, #0023ff);
}

/*#shop-grid .category-wrapper .is-product-list .flat-card*/
.product-quantity .details-spinner .spinner-value {
  display: inline-block;
  line-height: 2.2;
  font-size: 1em;
  width: 50px;
  text-align: center;
  border: none;
}

.product-quantity .details-spinner+label.tag {
  position: relative;
  z-index: 2;
  line-height: 1.85em;
  margin: -0.25rem 1.5rem;
}

/*#shop-grid .category-wrapper .is-product-list .flat-card*/
.add-to-cart button {
  line-height: 0.4;
  font-size: 0.75rem;
  font-weight: 600;
  /*margin-left: 20px;*/
}

.add-to-cart.is-justify-content-center {
  display: flex;
  flex-wrap: wrap;
  /*flex: 0 1 250px;*/
  gap: 1rem;
}

#shop-grid .columns .column.main-column {
  max-width: unset;
}

.is-product-list .product-container.is-list-item,
.is-product-list li.product-container.is-list-item {
  height: 150px !important;
}

a.product-details-link {
  display: block;
}

/*#shop-grid .columns>.column:first-of-type {
    max-width: 1280px;
}*/
.grid-list-actions {
  display: flex;
  margin-top: 0.5rem;
  border-top: 1px solid var(--color-primary);
  padding: 2rem 1rem;
}

.product-container .button.big-button.cart-button {
  padding: 1.1rem 1.25rem !important;
}

.grid-list-actions .button.big-button.cart-button>i {
  font-size: 1.75em;
}

.grid-list-actions .add-to-cart.is-justify-content-center {
  margin-right: 1rem;
  -webkit-box-pack: end !important;
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}

.product-container .grid-list-actions .button.big-button.cart-button {
  padding: 1.1rem 0.75rem !important;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 1024px) {
  #shop-grid .category-wrapper .flat-card.product-container.is-list-item {
    flex-wrap: wrap;
    height: auto !important;
    padding-bottom: 1.25rem;
  }
}

/* </editor-fold> */

/* <editor-fold> Search */
#search-items {
  border-bottom-color: #a9abac;
}

#search-items::placeholder,
/* Chrome, Firefox, Opera, Safari 10.1+ */
#search-items:-ms-input-placeholder,
/* Internet Explorer 10-11 */
#search-items::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #a9abac;
  opacity: 1;
  /* Firefox */
}

#search-items-navbar input[name="q"],
#search-items-navbar input[type="text"] {
  padding: 0.35rem 0.75rem;
  /*border-radius: 9999px;*/
  font-size: 1.1rem;
  border: none;
  width: 100%;
}

#search-items-navbar button {
  position: absolute;
  right: 10px;
  background: var(--color-primary) !important;
  border: none !important;
  /*border-radius: 9999px !important;*/
}

#search-items-navbar .easy-autocomplete-container {
  min-width: 750px;
  right: 0;
  /*left: calc(-750px / 2 + 128px);*/
}

#search-items-navbar .easy-autocomplete-container ul {
  padding: 0 !important;
}

#search-items-navbar .easy-autocomplete-container ul.opened {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 16px;
  -webkit-box-shadow: -1px 3px 15px 0 rgba(0, 0, 0, 0.06);
  box-shadow: -1px 3px 15px 0 rgba(0, 0, 0, 0.06);
}

#search-items-navbar .easy-autocomplete-container ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /*width: 50%;*/
  flex: 1 0 50%;
  border: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#search-items-navbar .eac-item {
  width: 100%;
}

.search-template-item {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 30px;
}

.search-input-wrapper,
.search-overlay {
  z-index: 26;
}

.search-input-wrapper .easy-autocomplete-container ul li.selected .search-template-item .autocpl-product {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
  opacity: 1;
}

.search-input-wrapper .control input {
  font-size: 3rem;
}

.search-template-item .autocpl-product {
  display: block;
  width: 65px !important;
  height: 65px !important;
  border-radius: 8px !important;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  opacity: 0.6;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.search-template-item .icon-wrapper {
  color: #a9abac;
}

/*.search-template-item:hover .icon-wrapper {
  color: var(--color-primary, #0023ff);
}*/

.search-template-item .entry-text {
  margin-left: 15px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-template-item .entry-text small {
  display: block;
  color: #a9abac;
  text-transform: lowercase;
  font-size: 0.95rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-template-item .entry-text span {
  display: block;
  font-size: 0.8rem;
  color: #a9abac;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-template-item .entry-text span:first-child {
  font-size: 1rem;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  color: #4a4a4a;
}

.search-template-item .entry-text span:nth-child(2) {
  font-size: 1rem;
  font-weight: 500;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

span.search-query-string:before,
span.search-query-string:after {
  font-family: Fontawesome;
  font-size: 50%;
  content: "\f10d";
  vertical-align: super;
  padding-right: 0.25rem;
  padding-left: 0.25rem;
}

span.search-query-string:after {
  vertical-align: sub;
  display: inline-block;
  transform: rotate(180deg);
}

span.search-query-string:empty {
  display: none;
}

.search-results-count {
  font-size: 1.25em;
  font-weight: bold;
}

.search-results-count:after {
  opacity: 0.8;
  padding-left: 0.75rem;
  font-size: 0.875rem;
  font-weight: normal;
  text-transform: uppercase;
}

.search-results-count[data-plural-count="0"]:after {
  content: attr(data-label-none);
}

.search-results-count[data-plural-count="1"]:after {
  content: attr(data-label-singular);
}

.search-results-count[data-plural-count="2"]:after {
  content: attr(data-label-plural);
}

/*.search-input-wrapper .easy-autocomplete-container ul li.selected .search-template-item .entry-text span:nth-child(2) {
  color: var(--color-primary, #0023ff);
}

.full-search .search-template-item:hover .entry-text span {
  color: var(--color-primary, #0023ff);
}*/
/* </editor-fold> */

/* <editor-fold> Item detail */
.product-panel,
.product-info-panel {
  /* min-height: calc(100vh - 125px);*/
  min-height: max-content;
  max-height: max-content;
  height: max-content;
  /* overflow: scroll;
  overflow-x: hidden; */
}

.product-panel {
  overflow: hidden !important;
}

.product-panel .panel-header {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding-left: 20px;
}

.product-panel .panel-header .promo-badge {
  width: 0px;
  height: 0px;
  border-style: inset;
  border-width: 0 65px 65px 65px;
  border-color: transparent transparent var(--color-primary, #0023ff) transparent;
  float: left;
  transform: rotate(315deg);
  -ms-transform: rotate(315deg);
  -moz-transform: rotate(315deg);
  -webkit-transform: rotate(315deg);
  -o-transform: rotate(315deg);
}

.product-panel .panel-header .promo-badge .promo {
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  top: 25px;
  left: -17px;
  color: white;
}

.product-panel .panel-header .promo-badge .promo.popover.is-popover-bottom .popover-content {
  transform: translate(-25%, 0.7rem) !important;
  line-height: 18px;
}

.product-panel .panel-header .promo-badge .promo.popover.is-popover-bottom .popover-content:before {
  left: 16% !important;
}

/*.product-info-panel {
    top: 125px;
}*/

.product-info-panel .inner-panel {
  display: grid;
  grid-template-rows: 80px auto;
}

.product-info-panel .inner-panel .panel-header .category-title h2 {
  padding: 0;
}

.category-wrapper .category-title .category-title-breadcrumbs {
  width: 100%;
}

.category-wrapper .category-title .category-title-breadcrumbs>small {
  opacity: 0.8;
}

.subcategory-container .flat-card {
  position: relative;
  min-height: 125px;
}

.subcategory-container .flat-card .goto-icon {
  position: absolute;
  right: 0.5rem;
  bottom: 0;
}

.product-info-panel .inner-panel .panel-body {
  padding: 20px 80px;
}

.product-info-panel .inner-panel .panel-body .product-controls .warning-wrap {
  margin-left: auto;
  margin-right: 20px;
  text-align: right;
}

.product-info-panel .inner-panel .panel-body .product-controls .warning-wrap .heading {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  margin: 5px 0;
}

.product-info-panel .inner-panel .panel-body .product-controls .warning-wrap .warning-text {
  font-size: 12px;
  max-width: 400px;
  text-align: right;
}

.product-info-panel .inner-panel .panel-body .product-controls .warning-wrap .open-pack-container .form-switch {
  display: inline-flex;
}

.product-info-panel .inner-panel .panel-body .product-controls .warning-wrap .open-pack-container .form-switch span,
.product-info-panel .inner-panel .panel-body .product-controls .product-quantity .open-pack-container .form-switch span {
  font-size: 14px;
  font-weight: 600;
  margin-right: 10px;
  align-self: center;
}

.product-info-panel .inner-panel .panel-body .product-controls .product-quantity .open-pack-container .form-switch {
  margin-top: 20px;
}

.product-info-panel .inner-panel .panel-body .product-controls .warning-wrap .open-pack-container .form-switch i {
  margin-right: 0;
}

.product-info-panel .inner-panel .panel-footer {
  padding: 10px 0;
  min-height: 200px;
  position: relative;
  align-self: end;
}

.product-info-panel .inner-panel .panel-footer .footer-inner {
  padding: 15px 0;
}

.product-info-panel .inner-panel .panel-footer .featured-product .product-info .product-price {
  font-size: 90%;
  font-weight: 500;
  color: var(--color-primary, #0023ff);
}

.product-info-panel .inner-panel .panel-footer .featured-product .product-info .product-price .sale-price {
  color: #999;
  text-decoration: line-through;
  padding: 0 10px;
  font-size: 85%;
}

/*
.product-info-panel .inner-panel .panel-footer .featured-product .product-info .product-name {
  color: #4a4a4a;
}

.product-info-panel .inner-panel .panel-footer .featured-product:hover .product-info .product-name {
  opacity: .8;
  color: var(--color-primary, #0023ff);
}
*/

.slick-dots li button::before {
  font-size: 10px;
}

.product-panel .product-image {
  padding-top: 0;
}

.product-panel .product-image img {
  max-width: 500px;
  width: 100%;
}

.is-carousel img {
  max-height: 500px !important;
}

.button.primary-button.open-pdf-button {
  background-color: #fff !important;
  color: #000;
  min-width: 160px;
  font-weight: 200;
  font-size: 90%;
  height: 40px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.button.primary-button.open-pdf-button:hover {
  /*background-color: var(--color-primary, #0023ff) !important;
    color: #fff;*/
  -webkit-box-shadow: 0 14px 26px -12px rgba(0, 35, 255, 0.42),
    0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 35, 255, 0.2) !important;
  box-shadow: 0 14px 26px -12px rgba(0, 35, 255, 0.42),
    0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 35, 255, 0.2) !important;
  opacity: 0.8;
}

/* </editor-fold> */

/* <editor-fold> Cart */
#cart-page .checkout-wrapper {
  min-height: calc(100vh - 250px);
}

#cart-page .account-title .tag {
  margin-left: 20px;
}

.cart-card .cart-content li .product-image {
  width: 100px;
}

.cart-card .cart-content li .product-image img {
  max-width: 100px;
  margin: 0 auto;
}

.cart-card .cart-content li .remove-item-btn {
  cursor: pointer;
}

.cart-card .cart-content li .product-info {
  width: 350px;
}

.checkout-wrapper .checkout-main .cart-card .cart-content li .product-info {
  width: 400px;
}

.cart-card .cart-content li .product-price {
  width: 120px;
}

.cart-card .cart-content li .product-shipping {
  width: 150px;
}

.cart-card .cart-content li .product-price span:nth-child(2):before {
  content: none;
}

.cart-card .cart-content li .product-quantity span:first-child,
.cart-card .cart-content li .product-shipping span:first-child,
.cart-card .cart-content li .product-price span:first-child {
  font-weight: 600;
  font-size: 0.75rem;
  /* ridotto da 1rem a 0.75rem */
  text-transform: uppercase;
  color: #4a4a4a;
}

.cart-card .cart-content li .product-price .product-price-detail {
  font-size: 0.65rem;
  /* allineato ai numeri */
}

.cart-card .cart-content li .product-price span:nth-child(2),
.cart-card .cart-content li .product-quantity span:nth-child(2) {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: #4a4a4a;
  width: 100px;
}

/* Cart row layout: proportional columns that can wrap when space is tight */
#cart-page-products:not(.order-history) .cart-card .cart-content li {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}

#cart-page-products:not(.order-history) .cart-card .cart-content li .product-info {
  flex: 0 1 280px;
  min-width: 180px;
  max-width: 320px;
  width: auto;
}

#cart-page-products:not(.order-history) .cart-card .cart-content li .product-quantity {
  flex: 0 1 230px;
  min-width: 190px;
}

#cart-page-products:not(.order-history) .cart-card .cart-content li .product-price {
  flex: 1 1 140px;
  min-width: 120px;
  width: auto;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#cart-page-products:not(.order-history) .cart-card .cart-content li .product-price > span:nth-child(2) {
  width: 100%;
}

#cart-page-products:not(.order-history) .cart-card .cart-content li .action {
  margin-left: auto;
  align-self: flex-start;
}

@media screen and (min-width: 1920px) {
  #cart-page-products:not(.order-history) .cart-card .cart-content li {
    flex-wrap: nowrap;
    gap: 0.25rem;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-info {
    flex: 1 1 220px;
    min-width: 0;
    max-width: none;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-info a > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #cart-page-products:not(.order-history) .cart-content > li > div.product-quantity {
    padding: 0 0.75rem;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-quantity {
    flex: 0 1 190px;
    min-width: 160px;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price {
    flex: 0 1 105px;
    min-width: 95px;
  }
}

@media screen and (min-width: 1025px) {
  #cart-page-products:not(.order-history) .cart-card.product-container {
    overflow-x: visible;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li {
    display: grid;
    grid-template-columns: 86px minmax(150px, 1fr) 178px repeat(4, minmax(66px, 82px)) 32px;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    flex-wrap: nowrap;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-image {
    width: 78px;
    float: none;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-image img {
    max-width: 78px;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-info {
    width: auto;
    min-width: 0;
    max-width: none;
    flex: none;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-info a > span {
    overflow-wrap: anywhere;
  }

  #cart-page-products:not(.order-history) .cart-content > li > div.product-quantity,
  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-quantity {
    width: auto;
    min-width: 0;
    flex: none;
    margin: 0 !important;
    padding: 0 0.6rem;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-quantity .details-spinner {
    width: 100%;
    min-width: 140px;
    max-width: 170px;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price,
  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price.mx-4,
  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price.ml-4 {
    width: auto;
    min-width: 0;
    flex: none;
    margin: 0 !important;
    text-align: left !important;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price > span:first-child {
    font-size: 0.68rem;
    line-height: 1.15;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price > span:nth-child(2) {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price > span:first-child,
  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price > span:nth-child(2) {
    width: auto !important;
    max-width: 100%;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .action {
    grid-column: -1;
    justify-self: end;
    align-self: center;
    width: 32px;
    margin-left: 0;
  }
}

.cart-order-summary .cart-summary-list .summary-item span.amount:before {
  content: none;
}

.cart-card .cart-content li .action .action-link {
  color: gray;
  height: 40px;
  width: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1.6px dashed transparent;
  border-radius: 50%;
  max-height: 40px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.cart-card .cart-content li .action .action-link svg {
  height: 18px;
  width: 18px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

/*.cart-card .cart-content li .action .action-link:hover {
  border: 1.6px solid var(--color-primary, #0023ff)
}

.cart-card .cart-content li .action .action-link:hover svg {
  stroke: var(--color-primary, #0023ff)
}

.cart-card .cart-content li .action .action-link.is-remove:hover {
  border: 1.8px solid var(--color-primary, #0023ff)
}

.cart-card .cart-content li .action .action-link.is-remove:hover svg {
  stroke: var(--color-primary, #0023ff)
}*/
/* </editor-fold> */

/* <editor-fold> Checkout */
.checkout-wrapper {
  min-height: calc(100vh - 125px);
  padding-top: 0;
}

.checkout-wrapper .checkout-side {
  z-index: 25;
  background-color: transparent;
}

.checkout-wrapper .checkout-side .side-header {
  height: 125px;
  color: var(--color-primary);
  background: var(--color-primary-opposite);
}

.checkout-wrapper .checkout-side .side-header.is-not-cart {
  background: transparent;
}

.checkout-wrapper .checkout-side .side-inner {
  height: calc(100% - 125px);
  background-color: #dedede;
}

.checkout-wrapper .checkout-side .side-inner.is-not-cart {
  padding-bottom: 180px;
}

.checkout-wrapper .checkout-side .side-inner .side-card.user-card .meta {
  margin-left: 0;
}

.checkout-wrapper .checkout-side .side-inner .side-card.is-totals .payment-block span:before {
  content: none !important;
}

.checkout-wrapper .checkout-side .side-inner .side-card.is-totals .payment-block #checkout-grandtotal-value.has-tbd:before {
  content: "*" !important;
}

.checkout-wrapper .checkout-side .side-inner .side-action.is-not-cart {
  background: transparent;
  bottom: 60px;
  flex-wrap: wrap;
  gap: .5rem;
}

.checkout-wrapper .checkout-side .side-inner .side-action .button:not(:last-child) {
  margin-right: 10px;
}

.flex-table .flex-table-item .product .product-name .product-description {
  font-weight: normal;
  font-size: 0.75rem;
}

.flex-table .flex-table-item .quantity {
  text-align: center;
}

.flex-table .flex-table-item .price span:before,
.flex-table .flex-table-item .total span:before {
  content: none;
}

.checkout-wrapper .checkout-main .checkout-container .checkout-shipping-methods .shipping-methods-grid .method-card .icon-container,
.checkout-wrapper .checkout-main .checkout-container .checkout-shipping-methods .payment-methods-grid .method-card .icon-container,
.checkout-wrapper .checkout-main .checkout-container .checkout-payment-methods .shipping-methods-grid .method-card .icon-container,
.checkout-wrapper .checkout-main .checkout-container .checkout-payment-methods .payment-methods-grid .method-card .icon-container,
.checkout-wrapper .checkout-main .checkout-container .order-summary .shipping-methods-grid .method-card .icon-container,
.checkout-wrapper .checkout-main .checkout-container .order-summary .payment-methods-grid .method-card .icon-container {
  width: 0px;
  min-width: 0px;
  margin: 0;
}

/* #cart-page .checkout-wrapper .checkout-main {
  width: calc(100% - 420px);
}
@media(max-width: 1300px){
  #cart-page .checkout-wrapper .checkout-main {
    width: calc(100% - 360px);
  }
} */

.flat-card.method-card.preventive-card {
  min-height: auto;
  padding: 0;
}

.method-card.preventive-card .cart-card.method-card-inner {
  border-radius: 0.1875rem !important;
  border-color: #ededed;
}

.method-card.preventive-card .cart-card.method-card-inner .cart-content {
  width: 100%;
}

.flat-card.method-card.preventive-card .cart-card .cart-content li .icon-container img {
  height: auto;
}

#cart-page .checkout-wrapper .checkout-main .method-card {
  position: relative;
  width: 100%;
}

#cart-page .checkout-wrapper .checkout-main .method-card>input {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

#cart-page .checkout-wrapper .checkout-main .method-card .method-card-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #cecece;
  background: #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

#cart-page .checkout-wrapper .checkout-main .method-card.is-readonly .method-card-inner {
  min-height: 100px;
}

#cart-page .checkout-wrapper .checkout-main .method-card>input:checked~.method-card-inner {
  border-color: var(--color-accent);
  -webkit-box-shadow: -1px 3px 15px 0 rgb(0 0 0 / 6%);
  box-shadow: -1px 3px 15px 0 rgb(0 0 0 / 6%);
}

#cart-page .checkout-wrapper .checkout-main .summary-label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  padding-bottom: 8px;
}

#cart-page .checkout-wrapper .checkout-main .method-card .icon-container {
  position: relative;
  height: 64px;
  width: 64px;
  min-width: 0;
  margin-right: 10px;
}

#cart-page .checkout-wrapper .checkout-main .method-card .icon-container img {
  filter: grayscale(1);
}

#cart-page .checkout-wrapper .checkout-main .method-card>input:checked~.method-card-inner .icon-container img {
  filter: grayscale(0);
}

#cart-page .title-wrap {
  display: flex;
  align-items: center;
}

#cart-page .title-wrap a.payment-back {
  margin-right: 10px;
  filter: grayscale(1);
}

#cart-page .checkout-wrapper .checkout-main .method-card .icon-container .indicator {
  position: absolute;
  bottom: -18px;
  left: -12px;
  height: 26px;
  width: 26px;
  display: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid var(--color-accent-opposite);
}

#cart-page .checkout-wrapper .checkout-main .method-card>input:checked~.method-card-inner .icon-container .indicator {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#cart-page .checkout-wrapper .checkout-main .method-card .icon-container .indicator svg {
  height: 10px;
  width: 10px;
  stroke-width: 5px;
  stroke: #fff;
}

#cart-page .checkout-wrapper .checkout-main .method-card .meta h3 {
  font-weight: 600;
  font-size: 1rem;
  /* color: #4a4a4a; */
}

#cart-page .checkout-wrapper .checkout-main p {
  color: #999;
}

#cart-page .checkout-wrapper .checkout-main .method-card .meta p {
  line-height: 1.2;
  font-size: 0.9rem;
}

#cart-page .checkout-wrapper .checkout-main .order-notes {
  padding: 20px;
  border: 2px dashed #cecece;
  border-radius: 8px;
  margin-top: 30px;
}

#cart-page .checkout-wrapper .checkout-main .order-notes h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a4a4a;
}

#cart-page .checkout-wrapper .checkout-main .order-notes .meta {
  line-height: 1.2;
  font-size: 0.9rem;
  color: #999;
}

#cart-page .checkout-wrapper .checkout-main .order-notes .field {
  overflow: hidden;
}

#cart-page #confirm-order {
  margin-left: 20px;
}

.checkout-side .payment-block.invalid {
  text-decoration: line-through 1px solid #ff3b3c;
  cursor: help;
}

.checkout-side .payment-block abbr {
  text-decoration: underline 1px dashed;
  cursor: help;
}

.checkout-side .payment-block svg.feather {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: rotate(0);
  transform: rotate(0);
  stroke-width: 1.2px;
  height: 18px;
  width: 18px;
  position: relative;
  top: 4px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

/* </editor-fold> */

/* <editor-fold> Account */
.profile-card .username {
  padding-top: 0;
}

.profile-info-card .card-title .edit-account a:hover svg,
.menu-card .card-title .edit-account a:hover svg {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.tab-content .account-loader,
#order-history-grid .account-loader {
  text-align: center;
  display: none;
}

.tab-content>div.is-loading .account-loader,
#order-history-grid div.is-loading .account-loader {
  display: block;
}

.tab-content .account-loader .loader,
#order-history-grid .account-loader .loader {
  margin: 0 auto;
  width: 5em;
  height: 5em;
}

.tab-content .account-loader .caption,
#order-history-grid .account-loader .caption {
  margin-top: 1em;
}

.tab-content>div.is-loading .listing-controls,
.tab-content>div.is-loading .order-long-card,
.tab-content>div.is-loading .pagination,
#order-history-grid div.is-loading .pagination,
#order-history-grid div.is-loading .pagination,
#order-history-grid div.is-loading .pagination {
  display: none;
}

.articlehistory-btn {
  padding: 1rem 0.35rem;
}

.account-tabs li.disabled a {
  color: #ccc;
  cursor: not-allowed;
}

.account-tabs li.disabled a:hover {
  color: #ccc;
  border-color: #dbdbdb;
}

.tabs a:hover {
  border-bottom-color: var(--color-primary);
  color: var(--color-accent-opposite);
  background-color: var(--color-accent);
}

.order-long-card {
  min-height: unset;
}

.order-long-card .left-side {
  width: 80%;
}

.order-long-card .right-side {
  flex-direction: row;
  gap: 5px;
  width: 20%;
  justify-content: center;
  padding: 15px;
}

.order-long-card .left-side .order-header {
  padding-bottom: 0;
  vertical-align: middle;
  height: 100%;
}

.order-long-card .left-side .order-header .order-total:before {
  content: "";
}

.order-long-card .left-side .order-header .order-total {
  text-align: right;
}

.order-long-card .left-side .order-header .order-total small {
  font-weight: normal;
  font-size: small;
}

.order-long-card .left-side .order-header table.order-total tr>* {
  padding: 1px 10px;
}

.order-long-card .left-side .order-header table.order-total th {
  vertical-align: middle;
  font-size: 70%;
  font-weight: 300;
}

.order-long-card .left-side .customer-description {
  font-size: 14px;
}

.order-long-card .right-side .meta-actions {
  flex-direction: column;
  gap: 5px;
  height: 100%;
  width: 100%;
  justify-content: space-between;
}

.order-long-card .right-side .meta-actions.jc-center {
  place-content: center;
}

.order-long-card .right-side .meta-actions .button {
  margin: 0 auto;
  width: 100%;
}

#customers-main-content {
  width: 100%;
}

#orders-main .download-order-pdf {
  color: black;
  margin-right: 10px;
}

#order-history-main {
  margin-top: 20px;
}

#timetable-main {
  margin-top: 20px;
}

.progress::-webkit-progress-value {
  transition: width 0.5s ease;
}

.progress.show-value {
  position: relative;
}

.progress.show-value:after {
  content: attr(data-strength);
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: calc(1rem / 1.5);
  line-height: 1rem;
  font-weight: bold;
}

.progress.is-success.show-value:after,
.progress.is-primary.show-value:after {
  color: white;
}

.progress.show-value.is-small:after {
  font-size: calc(0.75rem / 1.5);
  line-height: 0.75rem;
}

.progress.show-value.is-medium:after {
  font-size: calc(1.25rem / 1.5);
  line-height: 1.25rem;
}

.progress.show-value.is-large:after {
  font-size: calc(1.5rem / 1.5);
  line-height: 1.5rem;
}

/* </editor-fold> */
.dot-red {
  height: 25px;
  width: 25px;
  background-color: #ff0000;
  border-radius: 50%;
  display: inline-block;
}

.dot-green {
  height: 25px;
  width: 25px;
  background-color: #66ff33;
  border-radius: 50%;
  display: inline-block;
}

.red-data {
  color: #ff0000;
}

.checkbox.is-danger {
  color: #ff3b3c;
}

/** FULLSCREEN MENU START ********************************************************/

#modal-submenu-navigation.modal .modal-background {
  background: rgb(var(--color-primary-rgb), 0.86);
}

#modal-submenu-navigation.modal .fullscreen-menu h3 {
  color: var(--color-accent);
}

#modal-submenu-navigation .modal-close {
  position: absolute;
}

#modal-submenu-navigation .modal-content .menu-list li>a {
  padding-right: 1.5rem;
}

#modal-submenu-navigation .modal-content .menu-list li>a i.fa {
  position: absolute;
  right: 1.5rem;
  top: calc(50% - 8px);
}

.fullscreen-menu {
  font-size: large;
}

.fullscreen-menu[data-levels="0"],
.fullscreen-menu[data-levels="1"] {
  width: 75%;
  margin: 0 auto;
}

.fullscreen-menu[data-levels="2"] {
  width: 75%;
  margin: 0 auto;
}

.fullscreen-menu ul.menu-list li {
  width: 100%;
  padding-right: 1rem;
  position: relative;
}

.fullscreen-menu[data-levels="2"] ul.menu-list>li {
  width: 50%;
}

.fullscreen-menu[data-levels="3"] ul.menu-list>li {
  width: 33%;
}

.fullscreen-menu ul.menu-list>li>a {
  /*color: var(--color-primary); !* $primary *!*/
  color: #fff;
}

.fullscreen-menu ul.menu-list>li.is-active>a,
.fullscreen-menu ul.menu-list>li:hover>a,
.fullscreen-menu ul.menu-list>li:focus-within>a,
.fullscreen-menu ul.menu-list li>ul>li>a.is-active,
.fullscreen-menu ul.menu-list li>ul>li>a:hover,
.fullscreen-menu ul.menu-list li>ul>li>a:focus {
  background-color: var(--color-primary);
  color: var(--color-primary-opposite);
  font-weight: 700;
}

.fullscreen-menu ul.menu-list li>ul {
  position: absolute;
  top: 0;
  left: calc(100% - 1rem);
  width: 100%;
}

.fullscreen-menu ul.menu-list li>ul {
  display: none;
  margin-top: 0;
  border-left-color: var(--color-primary);
  /* $primary */
  color: #f9f9f9;
  /* $light-grey */
}

.fullscreen-menu ul.menu-list li>ul>li>a {
  color: #f9f9f9;
  /* $light-grey */
}

.fullscreen-menu ul.menu-list li>ul>li>a[href].is-active,
.fullscreen-menu ul.menu-list li>ul>li>a[href]:hover,
.fullscreen-menu ul.menu-list li>ul>li>a[href]:focus {
  /*color: var(--color-primary); !* $primary *!*/
  background-color: transparent;
  color: #f9f9f9;
  font-weight: 700;
}

.fullscreen-menu ul.menu-list li.is-active>ul,
.fullscreen-menu ul.menu-list li:hover>ul,
.fullscreen-menu ul.menu-list li:focus>ul,
.fullscreen-menu ul.menu-list li:focus-within>ul,
.fullscreen-menu ul.menu-list li>ul.is-active,
.fullscreen-menu ul.menu-list li>ul:hover {
  display: block;
}

@media screen and (min-width: 769px) {
  #modal-submenu-navigation .modal-content {
    /*overflow: visible;*/
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 70vw;
    min-width: 724px;
  }

  #modal-submenu-navigation .is-large.modal-close {
    height: 52px;
    max-height: 52px;
    max-width: 52px;
    min-height: 52px;
    min-width: 52px;
    width: 52px;
  }
}

@media screen and (max-width: 768px) {
  #modal-submenu-navigation {
    margin-top: 52px;
  }

  #modal-submenu-navigation.modal.is-active {
    display: block;
    padding-top: 25px;
  }

  #modal-submenu-navigation .modal-content .menu-list li>a {
    position: relative;
  }

  .fullscreen-menu[data-levels] ul.menu-list>li {
    width: 100% !important;
  }

  .fullscreen-menu ul.menu-list li>ul {
    position: relative;
    left: 1rem;
  }
}

/** FULLSCREEN MENU END **********************************************************/

/** COUPON START *****************************************************************/
.coupon-card {
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: row;
}

.coupon-card .card-title {
  flex: 1 0 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.coupon-card .card-body {
  flex: 1 1 50%;
}

table {
  font-size: small;
}

thead {
  line-break: auto;
}

/** COUPON END *******************************************************************/

@media (max-width: 768px) {

  #product-page .row.title-product-info-panel-row p,
  .row.title-product-info-panel-row.title-alternativi .recommended {
    text-align: center;
    font-size: 1.5em !important;
  }

  #product-page .product-info-panel-row .table {
    background-color: transparent !important;
  }

  #product-page .product-info-panel-row .table thead {
    display: none !important;
  }

  #product-page .product-info-panel-row tr.detail-item-row {
    position: relative;
    display: block;
    background-color: white;
    margin-top: 20px;
    /* margin-bottom: 10px; */
    box-shadow: 2px 2px 6px rgb(0, 0, 0, 0.25);
    padding-bottom: 64px;
  }

  #product-page .product-info-panel-row tbody .detail-item-row td {
    display: inline-block;
    border-top-width: 0 !important;
  }

  #product-page .product-info-panel-row tr[id$="-order-notes"] {
    box-shadow: 0 -6px 0 white, 2px 2px 6px rgb(0, 0, 0, 0.25);
    background: white;
  }

  #product-page .product-info-panel-row tr.detail-item-row span.mobile-label.is-hidden-tablet {
    font-weight: 400;
    text-decoration: underline;
  }

  #product-page .product-info-panel-row tbody .detail-item-row td.articlehistory-btn-wrapper {
    position: absolute;
    top: 0;
    right: 0;
  }

  #product-page .product-info-panel-row tbody .detail-item-row td.note-btn-wrapper {
    position: absolute;
    bottom: 0;
    left: 6px;
  }

  #product-page .product-info-panel-row tbody .detail-item-row td.shop-btn-wrapper {
    position: absolute;
    bottom: 0;
    right: 10px;
  }

  #related-products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
  }

  #related-products .column:empty {
    display: none;
  }

  #related-products .column.is-3 {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 50%;
  }
}

@media (max-width: 640px) {

  #product-page>.row.main-row>.panel-container>.left-product-panel,
  #product-page>.row.main-row>.panel-container>.right-product-panel {
    float: none;
    width: 100%;
    min-height: 500px !important;
  }

  #product-page .product-actions {
    width: 100% !important;
    position: relative;
  }

  #product-page .left-product-panel .product-image {
    padding: 0 !important;
  }

  #product-page>.row.main-row>.panel-container>.right-product-panel {
    min-height: 0 !important;
    height: auto !important;
  }

  #product-page .right-product-panel .translateLeft {
    padding-left: 30px !important;
    height: auto !important;
  }

  #related-products .column.is-3 {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 80%;
    margin: 0 10%;
  }
}

.home-box-element>div:first-child {
  min-height: calc((1.5rem + 2px) * 4);
}

details.content {
  --icon-size: 1.25em;
}

details.content summary {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
  cursor: pointer;
  list-style: none;
  padding: 0.25rem;
}

details.content summary:before {
  font-family: FontAwesome;
  content: "\f196";
  /* f067 f065 */
  display: inline-block;
  margin-right: 0.75rem;
  font-size: var(--icon-size);
  line-height: var(--icon-size);
  font-weight: 700;
}

details.content[open] summary:before {
  content: "\f147";
  /* f068 f066*/
}

.history-table {
  width: 100%;
}

/* CUSTOM CHECKBOX AND RADIO */
input.is-checkradio {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  appearance: none;
  /* For iOS < 15 */
  background-color: #fff;
  /* Not removed via appearance */
  margin: 0;

  font: inherit;
  color: currentColor;
  width: 18px;
  /*1em;*/
  height: 18px;
  /*1em;*/
  border: 1px solid currentColor;
  /*border-radius: 0.15em;*/
  transform: translateY(-0.075em);

  display: inline-grid;
  place-content: center;
}

input.is-checkradio::before {
  content: "";
  width: 12px;
  /*0.6em;*/
  height: 12px;
  /*0.6em;*/
  /*clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);*/
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--color-primary);
}

input.is-checkradio[type="radio"]::before {
  width: 10px;
  /*0.6em;*/
  height: 10px;
  /*0.6em;*/
}

input.is-checkradio:checked::before {
  transform: scale(1);
}

input.is-checkradio[indeterminate]::before {
  transform: scale(1);
  clip-path: polygon(0 30%, 100% 30%, 100% 70%, 0 70%);
}

input.is-checkradio:focus {
  outline: 1px solid var(--color-primary);
  outline-offset: 1px;
}

input.is-checkradio:disabled,
input.is-checkradio:disabled+label {
  color: #bbbbbb;
  cursor: not-allowed;
}

input.is-checkradio:disabled {
  background-color: #f1f1f1;
  border-color: #d1d1d1;
}

input.is-checkradio:disabled::before {
  box-shadow: inset 1em 1em #bbbbbb;
}

input.is-checkradio[type="radio"],
input.is-checkradio[type="radio"]::before {
  border-radius: 50%;
}

#banner-message {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background-color: var(--color-accent-opposite);
  color: var(--color-accent);
  height: 50px;
  overflow: hidden;
  padding: 0.75rem;
  z-index: 30;
  text-align: center;
}

#banner-message~.main-sidebar .sidebar-brand {
  margin-bottom: 50px;
}

#banner-message~.shop-wrapper {
  margin-top: calc(125px + 50px) !important;
}

#banner-message~#product-page {
  margin-top: calc(125px + 50px) !important;
}

#banner-message~.main-sidebar .sidebar-inner {
  height: calc(100% - 125px - 50px);
}

#banner-message~.user-area-quickview,
#banner-message~.shop-quickview,
#banner-message~.cart-quickview {
  padding-top: calc(125px + 50px);
}

#banner-message~.navbar.mobile-navbar,
#banner-message~.top-bar.navbar-menu,
#banner-message~.shop-wrapper #cart-page .checkout-side {
  top: 50px;
}

@media (min-width: 769px) {
  #product-page .main-row>.container:first-child {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 768px) {

  #banner-message~.shop-wrapper,
  #banner-message~#product-page {
    margin-top: calc(3.25rem + 50px) !important;
  }
}

/********************* CSS RECUPERATI DA CUTOMIZZAIONE AKI ********************/
/************************************ START ***********************************/
.messaggio-pre-banner {
  margin: -0.75em -0.75em 0.75rem -0.75em;
  padding: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.messaggio-pre-banner .fa.fa-angle-double-down {
  font-size: 1.5rem;
}

.only-mobile-cart,
.only-filters-mobile {
  display: none !important;
}

.flat-card .product-info .product-description,
.home-box-element li {
  /*color: #000 !important;*/
  font-weight: bold !important;
}

.block-container.block-home-banner-box:last-child {
  margin-bottom: 0;
}

.block-home-banner-box img {
  margin: 0 auto;
  display: block;
}

.block-home-banner-box .column.is-3 img {
  width: 100%;
  height: auto !important;
}

.navbar-item img.brand-logo {
  max-height: 10rem;
}

.current-catalog-info {
  margin: 0 0 20px 0 !important;
}

.is-product-grid .flat-card .product-info {
  padding: 0 0.5rem;
}

@media screen and (max-width: 1023px) {
  .is-nofont-size {
    font-size: 0 !important;
  }

  .navbar-menu .navbar-dropdown .is-active,
  .only-filters-mobile+.filter-product.is-active {
    display: block;
  }

  .navbar-menu .navbar-dropdown:not(.is-active),
  .only-filters-mobile+.filter-product:not(.is-active) {
    display: none;
  }

  #shop-grid>.columns {
    display: flex;
    flex-direction: column;
  }

  .only-mobile-cart {
    display: inline-block !important;
    float: right;
  }

  .columns.block-home-banner-box {
    display: flex;
    flex-direction: column;
  }

  .columns.block-home-banner-box .column.is-6,
  .columns.block-home-banner-box .column.is-6-tablet {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 100%;
  }

  .columns.block-home-banner-box .column.is-6 .block-title {
    font-size: 1rem !important;
  }

  .mobile-link-cart {
    color: #fff !important;
  }

  .current-catalog-info .contenitore-catalog-name {
    text-align: left !important;
  }

  .current-catalog-info-container,
  .current-catalog-info {
    margin: 0 !important;
  }

  .current-catalog-info-container:after,
  .current-catalog-info-container:before {
    content: "";
    clear: both;
    display: table;
  }

  .only-filters-mobile {
    display: block !important;
    position: relative;
  }

  .only-filters-mobile:after {
    /*border-color: #000 !important;*/
    border: 3px solid transparent;
    border-radius: 2px;
    border-right: 0;
    border-top: 0;
    content: " ";
    display: block;
    height: 0.625em;
    margin-top: -0.4375em;
    pointer-events: none;
    position: absolute;
    top: 50%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: center;
    transform-origin: center;
    width: 0.625em;
    right: 0;
  }

  .filter-product.is-active {
    padding-top: 10px;
  }

  .elimina-ordine-mobile {
    margin-top: 20px;
    text-align: right;
    padding-right: 30px;
    padding-bottom: 20px;
  }

  .elimina-ordine-mobile a {
    color: #fff !important;
  }

  .link-cart-mobile:after {
    content: normal !important;
  }

  .mobile-navbar .navbar-menu .navbar-dropdown .navbar-item {
    padding: 0rem 1rem !important;
  }

  .mobile-navbar .navbar-menu .navbar-dropdown .navbar-item .navbar-dropdown .navbar-item {
    padding: 0.1rem 1rem 0.5rem 2.5rem !important;
  }

  .category-title h2 {
    font-size: 1.1rem !important;
  }

  #shop-grid>.columns {
    height: calc(100vh - 4.5rem) !important;
  }

  .home-box-element li,
  .home-box-element summary {
    font-size: 70% !important;
  }

  .mobile-navbar .navbar-menu .navbar-link {
    border: none !important;
  }

  .home-box-element {
    padding: 0.75rem 1.5rem;
  }

  .home-box-element .p-4 {
    padding: 0 !important;
  }

  .block-home-banner-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .block-home-banner-box .column.is-3 {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 100%;
  }

  .block-home-banner-box .home-box-element {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 100%;
  }

  .block-home-banner-box .column.is-3:nth-of-type(odd) {
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
  }

  .block-home-banner-box .column.is-3:nth-of-type(even) {
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
  }

  .block-home-banner-box .home-box-element:nth-of-type(odd),
  .block-home-banner-box .home-box-element:nth-of-type(even) {
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
  }

  .current-catalog-info a {
    font-size: 0.8rem !important;
  }

  .shop-wrapper #cart-page .columns .checkout-main .column.main-column {
    margin-left: 0px;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-image {
    display: inline-block;
    width: 30%;
    height: auto !important;
    float: left;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li {
    display: block !important;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-info {
    display: inline-block;
    width: 70%;
    /*float: left;
    text-align: left !important;*/
    padding: 0px 15px !important;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price.has-text-right,
  #cart-page-products .cart-card .cart-content li .action {
    clear: both;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price,
  #cart-page-products .cart-card .cart-content li .product-quantity {
    width: 33%;
    margin: 0 !important;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price,
  #cart-page-products .cart-card .cart-content li .product-quantity {
    float: left;
  }

  body #new-order-modal-trigger-fab {
    bottom: 45px;
    width: calc(100% - 55px);
    right: auto;
    left: 20px;
    z-index: 100;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .columns.block-home-banner-box {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .columns.block-home-banner-box .column.is-6,
  .columns.block-home-banner-box .column.is-6-tablet {
    width: 50%;
  }

  .block-home-banner-box {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .block-home-banner-box .column.is-3 {
    width: 50%;
  }

  .block-home-banner-box .home-box-element {
    width: 50%;
  }

  .block-home-banner-box .column.is-3:nth-of-type(odd) {
    padding: 0.75rem 0.75rem 1.5rem 1.5rem;
  }

  .block-home-banner-box .column.is-3:nth-of-type(even) {
    padding: 0.75rem 1.5rem 1.5rem 0.75rem;
  }

  .block-home-banner-box .home-box-element:nth-of-type(odd) {
    padding: 0.75rem 0.75rem 1.5rem 1.5rem;
  }

  .block-home-banner-box .home-box-element:nth-of-type(even) {
    padding: 0.75rem 1.5rem 1.5rem 0.75rem;
  }
}

@media (width: 768px) {
  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-info {
    width: 50% !important;
  }

  #checkout-main #cart-page-products .cart-card .cart-content li .product-quantity {
    padding-right: 0px !important;
  }
}

@media screen and (max-width: 580px) {
  .columns.block-home-banner-box .column.is-6 .block-title {
    font-size: 0.7rem !important;
    font-weight: 400 !important;
  }
}

/********************* CSS RECUPERATI DA CUTOMIZZAIONE AKI ********************/
/************************************ FINE ************************************/

#catalog-container .is-categories-grid {
  margin-bottom: 4rem;
}

/*#catalog-container .is-categories-grid #elements-selection .inner img {
    max-width: 245px;
    max-height: 245px;
}*/

.cart-in-header a>.cart-items {
  position: absolute;
  top: -3px;
  right: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 9px;
  background: var(--color-accent);
  font-weight: 700;
  border: 1px solid var(--color-accent-opposite);
}

.shop-quickview .inner .user-profile {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.shop-quickview .inner .shop-menu li,
.shop-quickview .inner .user-profile li {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.shop-quickview .inner .shop-menu li,
.shop-quickview .inner .user-profile li a {
  width: auto;
  max-width: 80%;
  overflow-wrap: anywhere;
}

@media screen and (min-width: 1024px) {
  .shop-wrapper .section {
    padding: 3rem 3rem 0 3rem;
  }
}

@media (max-width: 990px) {
  .checkout-wrapper .checkout-main {
    order: 2;
  }
}

@media (max-width: 768px) {
  .shop-wrapper {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
  }

  .section {
    padding: 1rem 1.5rem;
  }

  .top-bar~.menu-fab {
    top: 109px;
    right: 20px;
  }
}

/** LISTING START *****************************************************************/
body #search-form {
  font-size: 0.8em;
}

.grid-list-actions .add-to-cart {
  margin: 10px auto 0 auto !important;
}

.is-product-grid .product-quantity {
  margin-right: 0.2rem !important;
}

.is-product-list .flat-card.product-container .add-to-cart.is-justify-content-center .button {
  min-width: 245px;
}

.is-list-item .product-description {
  width: 100%;
  display: inline-flex;
  flex-direction: row;
}

#shop-grid .category-wrapper .flat-card .is-list-item {
  -webkit-box-pack: space-between;
  -ms-flex-pack: space-between;
  justify-content: space-between;
}

.flat-card.is-list-item-pre {
  padding: 10px 30px;
  margin-top: 24px;
}

.flat-card .is-list-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  /*height: auto !important;*/
  /*padding: 20px 40px;
    margin-top: 20px;*/
}

.flat-card .is-list-item span.image {
  width: 140px;
  height: 100%;
  min-height: 140px;
  padding-top: 0;
  margin: 0 !important;
  position: relative;
  box-sizing: border-box;
  display: block;
  text-align: center;
}

.flat-card.is-list-item-pre:first-child {
  margin-top: 0 !important;
}

.flat-card .is-list-item span.image img {
  object-fit: contain;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  max-width: none;
  position: absolute;
}

.flat-card .is-list-item .product-info {
  padding: 20px 40px !important;
}

#shop-grid .category-wrapper .flat-card .is-list-item .product-info {
  /* flex: auto; */
  flex: 1 1 auto;
  min-width: 0;
}

.flat-card .is-list-item .product-info .product-details-link.list-details-layout {
  display: flex;
  align-items: center;
  gap: 24px;
}

.flat-card .is-list-item .product-info .list-info-main {
  flex: 1 1 auto;
  min-width: 0;
}

.flat-card .is-list-item .product-info .list-info-main .product-description,
.flat-card .is-list-item .product-info .list-info-main .product-last-order-info {
  margin-bottom: 0.4rem;
}

.flat-card .is-list-item .product-info .list-info-main .list-tech-data {
  font-weight: 700 !important;
}

.flat-card .is-list-item .product-info .list-info-prices {
  flex: 0 0 50%;
  min-width: 500px;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
  border-left: 1px solid #c4c4c4;
}

.flat-card .is-list-item .product-info .list-info-prices .list-pricing-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.flat-card .is-list-item .product-info .list-info-prices .list-price-head,
.flat-card .is-list-item .product-info .list-info-prices .list-price-values {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) minmax(90px, 1fr) minmax(84px, 1fr) minmax(190px, 1.9fr);
  column-gap: 14px;
  align-items: baseline;
  justify-items: stretch;
  width: 100%;
}

.flat-card .is-list-item .product-info .list-info-prices .list-price-head {
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
}

.flat-card .is-list-item .product-info .list-info-prices .list-price-values {
  margin: 0;
  min-width: 0;
}

.flat-card .is-list-item .product-info .list-info-prices .list-price-head>span,
.flat-card .is-list-item .product-info .list-info-prices .list-price-values>span {
  width: 100%;
  text-align: left;
}

.is-product-grid .flat-card .product-info .card-info-prices .list-price-head,
.is-product-grid .flat-card .product-info .card-info-prices .list-price-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  align-items: baseline;
  justify-items: center;
  width: 100%;
}

.is-product-grid .flat-card .product-info .card-info-prices .list-price-head>span,
.is-product-grid .flat-card .product-info .card-info-prices .list-price-values>span {
  width: 100%;
  text-align: center;
}

.flat-card .is-list-item .product-info .list-info-prices .list-price-values>span,
.is-product-grid .flat-card .product-info .card-info-prices .list-price-values>span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  min-height: 0;
}

.flat-card .is-list-item .product-info .list-info-prices .price-col-gross,
.flat-card .is-list-item .product-info .list-info-prices .price-col-net,
.is-product-grid .flat-card .product-info .card-info-prices .price-col-gross,
.is-product-grid .flat-card .product-info .card-info-prices .price-col-net {
  white-space: nowrap;
}

.is-product-grid .flat-card .product-info .card-info-prices .price-col-gross,
.is-product-grid .flat-card .product-info .card-info-prices .price-col-net {
  font-size: 0.72rem;
  line-height: 1.15;
}

.flat-card .is-list-item .product-info .list-info-prices .list-price-values .sale-price,
.is-product-grid .flat-card .product-info .card-info-prices .list-price-values .sale-price {
  font-size: inherit !important;
  line-height: inherit;
  padding: 0;
}

.flat-card .is-list-item .product-info .list-info-prices .price-col-discount,
.is-product-grid .flat-card .product-info .card-info-prices .price-col-discount {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.1;
  font-size: 0.78rem;
}

.is-product-grid .flat-card .product-info .card-info-prices .list-price-values .price-col-discount {
  font-size: 0.72rem;
  line-height: 1.15;
}

.flat-card .is-list-item .product-info .list-info-prices .price-col-taxable .total-price-row {
  display: inline-block;
  min-width: 10ch;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.flat-card .is-list-item .product-info .list-info-prices .price-col-taxable {
  justify-self: stretch;
  min-width: 190px;
  padding-right: 0;
  transform: none;
}

.is-product-grid .flat-card .product-info .card-info-prices {
  width: 100%;
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid #c4c4c4;
}

.is-product-grid .flat-card .product-info .card-info-prices .list-pricing-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
}

.is-product-grid .flat-card .product-info .card-info-prices .list-price-head {
  font-size: 0.72rem;
}

.is-product-grid .flat-card .product-info .card-info-prices .list-price-values .price-col-taxable-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: max-content clamp(150px, 56%, 220px);
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.is-product-grid .flat-card .product-info .card-info-prices .list-price-values .price-col-taxable-label {
  font-size: 0.72rem;
  font-weight: 600;
}

.is-product-grid .flat-card .product-info .card-info-prices .list-price-values .price-col-taxable-value {
  font-size: 0.72rem;
  line-height: 1.15;
  width: 100%;
  white-space: nowrap;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.is-product-grid .flat-card .product-info .card-info-prices .list-price-values .price-col-taxable-value .total-price-row {
  display: inline-block;
  min-width: 12ch;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.flat-card .is-list-item .product-info .product-price span {
  display: inline-block !important;
}

.flat-card .is-list-item .product-info .product-price .price-discount-row,
.flat-card .is-list-item .product-info .product-price .price-total-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.flat-card .is-list-item span {
  display: block;
}

.is-product-grid .flat-card .product-info .product-description {
  height: 64px;
}

.is-product-grid .grid-list-actions {
  display: block;
}

body .is-product-grid .product-quantity {
  margin: 10px 5px 25px 5px !important;
}

body .flat-card .product-info .product-name {
  font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    "Helvetica", "Arial", sans-serif;
}

.product-info .product-name {
  font-weight: bold;
  font-size: 0.8rem !important;
  color: #000 !important;
}

body .grid-list-actions .product-quantity .details-spinner {
  justify-content: center;
}

body .flat-card .product-info.has-text-centered .product-description {
  font-size: 0.9rem !important;
  color: #000 !important;
  font-weight: 700 !important;
}

body .flat-card .product-info .product-description {
  font-size: 0.8rem !important;
  color: #000 !important;
  font-weight: 500 !important;
}

body .grid-list-actions .add-to-cart.is-justify-content-center {
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.flat-card.product-container.is-auto.is-list-item-pre .product-description-pre {
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  margin-top: 8px;
  margin-bottom: 0;
  padding-top: 6px;
  padding-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.flat-card.product-container.is-auto.is-list-item-pre>.product-description-pre {
  flex: 0 0 100%;
}

.flat-card.product-container.is-auto.is-list-item-pre .is-list-item>span.image {
  margin-left: 12px !important;
  margin-top: -6px !important;
}

@media screen and (max-width: 767px) {
  .flat-card .is-list-item .product-info {
    padding: 20px !important;
  }

  .flat-card .is-list-item .product-info .product-details-link.list-details-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .flat-card .is-list-item .product-info .list-info-prices {
    width: 100%;
    min-width: 0;
    border-left: 0;
    padding-left: 0;
    padding-top: 0.5rem;
    border-top: 1px solid #c4c4c4;
  }

  .is-product-list .flat-card.product-container .add-to-cart.is-justify-content-center {
    flex: 1;
  }

  .is-product-list .flat-card.product-container .product-quantity {
    margin: 10px auto 25px auto;
  }
}

@media (max-width: 1024px) {
  #shop-grid .category-wrapper .flat-card.product-container .is-list-item {
    flex-wrap: wrap;
  }

  #shop-grid .category-wrapper .flat-card.product-container.is-list-item-pre {
    height: auto !important;
    padding-bottom: 1.25rem;
  }
}

@media screen and (max-width: 1023px) {

  #search-filters-menubar .navbar,
  #search-filters-menubar .navbar-menu,
  #search-filters-menubar .navbar-start,
  #search-filters-menubar .navbar-end {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  #search-filters-menubar .navbar-item,
  #search-filters-menubar .navbar-link {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

/** LISTING END *******************************************************************/

/** TOPBAR 2 ROWS START *****************************************************************/
.mobile-bar-logo a.navbar-item {
  height: 48px;
  text-align: center;
}

.mobile-bar-logo a.navbar-item img.brand-logo {
  max-height: 45px;
}

.mobile-bar-logo a.navbar-item.is-active,
.mobile-bar-logo a.navbar-item:focus,
.mobile-bar-logo a.navbar-item:focus-within,
.mobile-bar-logo a.navbar-item:hover {
  background-color: transparent !important;
}

.double-row-top.navbar-menu.top-bar .second-top-bar a.nav-item.top-bar-evidence {
  color: var(--color-primary);
}

.cart-countdown-container {
  display: flex;
  gap: 5px;
}

.cart-countdown-container h3 {
  font-weight: 600;
}

.cart-countdown-container h3.cart-countdown {
  color: var(--color-primary);
}

@media screen and (min-width: 1024px) {

  .double-row-top.navbar-menu,
  .double-row-top.navbar-menu .navbar-item {
    display: inline-block;
    align-self: center;
  }

  .double-row-top.navbar-menu .first-top-bar {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-top: var(--color-primary) solid 13px;
    height: 75px;
  }

  .double-row-top.navbar-menu .second-top-bar {
    border-top: var(--color-primary) solid 4px;
    text-align: center;
    height: 50px;
    padding: 0 32px;
    /*box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.075);*/
  }

  .double-row-top.navbar-menu .second-top-bar .navbar-item {
    text-align: center;
    padding: 0.5rem;
  }

  .double-row-top.navbar-menu .second-top-bar .navbar-item a {
    line-height: 1.5;
    padding: 0.55rem 0.35rem;
  }

  .double-row-top.navbar-menu .second-top-bar .navbar-item a>.feather {
    width: 18px;
    height: 18px;
    position: relative;
    top: 4px;
  }

  .double-row-top.navbar-menu.top-bar .second-top-bar a.nav-item {
    color: #000;
    font-size: 12px;
  }

  .double-row-top.navbar-menu.top-bar .first-top-bar .navbar-start {
    justify-content: center;
    width: 100%;
  }

  .second-top-bar .slick-arrow {
    position: absolute;
    display: block;
    top: calc(50% + 1px);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    padding-right: 0.35em;
    padding-left: 0.35em;
  }

  .second-top-bar .slick-arrow.slick-disabled {
    pointer-events: none;
    cursor: not-allowed;
    display: none !important;
  }

  .second-top-bar .menu-scroll-right {
    right: -32px;
  }

  .second-top-bar .menu-scroll-left {
    left: -32px;
  }

  .double-row-top.navbar-menu.top-bar .first-top-bar .navbar-end {
    width: 33.33%;
  }

  .navbar-item.logo-place {
    flex-basis: 33.33%;
    width: 100%;
    height: 100%;
  }

  .navbar-item.logo-place .is-flex {
    text-align: right;
    display: block !important;
  }

  .double-row-top.navbar-menu.top-bar .first-top-bar .content-form {
    flex-basis: 66.66%;
  }

  .double-row-top.navbar-menu.top-bar .first-top-bar #search-items-navbar {
    min-width: 300px;
    margin: 5px auto 0 auto;
    position: relative;
  }

  .double-row-top.navbar-menu.top-bar .first-top-bar #search-items-navbar input[name="q"] {
    width: 100%;
    /*background: #f5f5f5;*/
  }

  .double-row-top.navbar-menu.top-bar .first-top-bar #search-items-navbar button {
    top: 7px;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .shop-wrapper {
    margin-top: 125px !important;
  }
}

@media (max-width: 1023px) {

  #sidebar-mode,
  .navbar-burger {
    width: 10%;
  }

  #search-items-navbar-mobile {
    width: 80%;
  }

  #search-items-navbar-mobile .field.has-addons {
    margin: 0 auto;
  }
}

/** TOPBAR 2 ROWS END ******************************************************************/

.flat-card .card-title .feather-button {
  min-width: unset;
}

/** Collapsable Cards START ****************************************************************/
.flat-card.is-collapsable .card-title:after {
  transition: transform ease-in-out 0.35s;
}

.flat-card.is-collapsable .card-body {
  transition-property: max-height, padding-top, padding-bottom;
  transition-timing-function: ease-in-out;
  transition-duration: 0.6s;
}

.flat-card.is-collapsable .card-title {
  cursor: pointer;
  /*transition: height, padding-bottom, padding-top, transform ease-in;*/
}

.flat-card.is-collapsable .card-title:after {
  font-family: FontAwesome;
  font-size: 12px;
  content: "\f077";
}

.flat-card.is-collapsable.is-collapsed .card-title:after {
  transform: rotate(-180deg);
}

.flat-card.is-collapsable.is-collapsed .card-title {
  border-bottom: none;
}

.flat-card.is-collapsable .card-body {
  overflow: auto;
}

.flat-card.is-auto.is-collapsable .card-body {
  max-height: 265px;
}

.flat-card.is-collapsable.is-collapsed .card-body {
  overflow: hidden;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.flat-card.is-auto.is-collapsable:not(.is-collapsed) .card-body.mh-unset {
  max-height: unset;
}

/** Collapsable Cards END ******************************************************************/

/** Feather Icons START ********************************************************************/
.feather.size-14 {
  width: 14px;
  height: 14px;
}

/** Feather Icons END **********************************************************************/

.cart-card .action-item-controls-container {
  justify-content: space-around;
  flex: 1;
  display: flex;
  align-items: center;
}

.column.is-12.display-flex {
  display: flex;
  flex-wrap: wrap;
}

#goToPageNumber {
  display: inline-block;
  line-height: 2.2;
  font-size: 1em;
  width: 50px;
  text-align: center;
  border: none;
}

.pagination-goto-label {
  margin: 0 0.5em 0 1em;
}

@media screen and (min-width: 769px),
print {
  .pagination-list {
    justify-content: center;
  }
}

.breadcrumb {
  color: inherit;
  text-transform: uppercase;
}

@media screen and (max-width: 768px),
print {
  .breadcrumb-container {
    margin-top: 15%;
  }
}

.category-title.columns {
  flex-direction: column;
  align-items: flex-start !important;
}

.wizard .control {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}

.wizard .control label {
  width: 9%;
}

.wizard .control input,
.wizard .control textarea,
.wizard .control .select {
  width: 99%;
  max-width: 99%;
  min-width: 95%;
}

.wizard-step.active[data-wz-title="Budget"] .control .form-control:not(select),
.wizard-step.active[data-wz-title="Budget"] .control .select:not(select) {
  width: 90%;
  max-width: 90%;
  min-width: 90%;
}

.wizard .control .select select {
  width: 100%;
  max-width: unset;
  min-width: unset;
}

.date-control {
  width: 99%;
  display: flex;
  gap: 1em;
}

.date-control .control {
  width: 100%;
  justify-content: space-between;
}

.date-control .control label {
  width: 15%;
}

.date-control .control .input {
  width: 80%;
  max-width: 80%;
  min-width: unset;
}

@media (max-width: 768px) {

  .wizard .control,
  .date-control {
    flex-direction: column;
    align-items: flex-start;
  }

  .wizard .control label {
    width: 100%;
  }

  .wizard .control input,
  .wizard .control textarea,
  .wizard .control .select {
    width: 100%;
    max-width: unset;
    min-width: unset;
  }
}

.wizard .wizard-buttons .wizard-btn {
  background: var(--color-primary) !important;
  color: var(--color-secondary-opposite) !important;
}

body .wizard .wizard-buttons {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
}

body .wizard .wizard-buttons .wizard-btn {
  min-width: 104px;
  min-height: 40px;
  height: auto;
  padding: 10px 20px;
  margin: 0;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
}

body .wizard .wizard-buttons .wizard-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body .wizard .wizard-buttons .wizard-btn:not(:disabled):hover {
  background: color-mix(in srgb, var(--color-primary) 85%, black) !important;
}

.wizard .wizard-nav.dots .wizard-step .dot {
  background: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgb(var(--color-primary-rgb), 0.3) !important;
}

.wizard .wizard-nav.dots .wizard-step.active:after,
.wizard .wizard-nav.dots .wizard-step.active:before {
  background: var(--color-accent) !important;
}

.wizard .wizard-nav.dots .wizard-step:before {
  background: rgb(var(--color-primary-rgb), 0.3) !important;
}

input.form-control.input {
  font-size: 13px;
}

.resume-row {
  display: flex;
  gap: 2em;
}

.resume-row h6 {
  min-width: 30%;
}

.card-header .card-title {
  font-weight: 600;
}

@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
  }

  .resume-row {
    justify-content: space-between;
  }

  .budget-banner {
    flex-direction: column;
  }
}

.budget-actions {
  display: flex;
  gap: 1em;
}

.budget-banner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.budget-yearly {
  flex: 1;
  background: lightpink;
  padding: 1em;
}

.budget-monthly {
  flex: 2;
  background: aliceblue;
  padding: 1em;
}

.budget-title {
  font-weight: 800;
}

.budget-title-container {
  flex: 0.5;
  padding: 1em;
  background: #fff;
}

.budget-alert {
  color: var(--color-primary) !important;
}

.budget-shipping {
  width: 100%;
  padding: 0.5em 0 0.5em 1em;
  background: #f7f7f7;
}

.budget-month {
  text-transform: capitalize;
}

.cart-count {
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  padding: 0.5em 1em;
  font-weight: 600;
  margin-left: 0.5em;
}

.navbar-item>#language-form .login-box {
  padding-top: 0;
}

.top-bar .navbar-item img.brand-logo {
  max-width: 100%;
  max-height: 100%;
}

.navbar-logo-container {
  width: 10%;
  height: 100%;
  text-align-last: center;
}

.navbar-item.is-align-items-center.logo-place,
.navbar-item.is-align-items-center.logo-place>a.is-flex {
  width: 100%;
  height: 100%;
}

.navbar-right-container {
  width: 90%;
  position: fixed;
  top: 0;
  left: 10%;
}

.navbar-item-label {
  color: #000;
  font-weight: 600;
}

#open-shop {
  display: flex;
  gap: 0.5em;
}

#open-cart {
  display: flex;
  align-items: center;
}

.double-row-top.navbar-menu .navbar-item.language {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-navbar {
    transform: translateY(0);
  }

  .order-long-card {
    flex-direction: column;
  }

  .order-long-card .left-side {
    width: 100% !important;
  }

  .order-long-card .order-row {
    flex-direction: column;
  }

  .order-long-card .right-side {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #orders-main .right-side,
  #ordersToApprove-main .right-side,
  #preventives-main .right-side {
    width: 100% !important;
  }

  .order-long-card .right-side .meta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #orders-history-main .order-long-card .right-side,
  #transport-document-history-main .order-long-card .right-side {
    width: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  #search-items-navbar .easy-autocomplete-container {
    min-width: 450px;
  }
}

svg.feather.feather-search {
  /*stroke: var(--color-secondary-opposite);*/
  stroke: #fff;
}

#search-items-navbar-mobile button.button.search-mobile.is-small {
  background: var(--color-primary);
}

.first-top-bar {
  background: #f5f5f5;
}

.double-row-top.navbar-menu .navbar-logo-container {
  border-top: var(--color-primary) solid 13px;
}

.navbar-item.left-divider {
  border-left: 1px solid #e5e5e5;
}

.navbar-item.right-divider {
  border-right: 1px solid #e5e5e5;
}

.easy-autocomplete input {
  box-shadow: unset;
}

.button-underlined {
  color: #000;
  font-weight: 600;
}

.button-underlined:hover {
  border-bottom: 1px solid;
}

#orders-main .left-side,
#ordersToApprove-main .left-side {
  width: 70%;
}

#orders-main .right-side,
#ordersToApprove-main .right-side {
  width: 30%;
  place-self: center;
}

.order-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.bold {
  font-weight: 600;
}

.border-right {
  border-right: 1px solid #e3e3e3;
}

#orders-history-main .order-long-card .left-side,
#transport-document-history-main .order-long-card .left-side {
  width: 60%;
}

.float-right {
  float: right;
}

#orders-history-main .order-long-card .right-side,
#transport-document-history-main .order-long-card .right-side {
  flex-direction: column;
  gap: 0;
}

.button.is-blue {
  background-color: #435cfc;
  color: #fff;
}

@font-face {
  font-family: "Open-sans";
  font-style: normal;
  font-display: auto;
  src: url("../fonts/OpenSans-VariableFont_wdth,wght.ttf");
}

* {
  font-family: "Open-sans";
  font-size: small;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1rem;
}

.home-box-element a {
  position: relative;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5);
  /* Black see-through */
  color: white;
  width: 100%;
  height: 100%;
  transition: 0.5s ease;
  opacity: 1;
  color: white;
  padding: 20px;
}

.overlay span {
  left: 2em;
  position: absolute;
  bottom: 2em;
}

.block-container .column> :not([class*="has-background-"]) a .block-title.overlay,
.block-container .column> :not([class*="has-background-"]) a .block-title.overlay:hover {
  color: white;
}

.home-box-element div:first-child a {
  display: block;
}

.home-box-element div:first-child,
.home-box-element div:first-child a {
  width: 100%;
  height: 100%;
}

.account-tabs li a {
  font-weight: 600;
  color: #000;
  border-right: 1px solid #e3e3e3;
}

.account-tabs li a:hover,
.account-tabs li.is-active a {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  border-right-color: #e3e3e3;
  background: none;
}

.card-product-right {
  padding: 1rem;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-end;
  background: #e3e3e3;
}

.flat-card.product-container.is-auto.is-list-item-pre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  padding: 0 !important;
}

.flat-card.product-container.is-auto.is-list-item-pre>.product-description-pre {
  grid-column: 1;
  grid-row: 1;
}

.flat-card.product-container.is-auto.is-list-item-pre>.is-list-item {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.flat-card.product-container.is-auto.is-list-item-pre>.card-product-right {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
}

.flat-card.product-container.is-auto.is-list-item-pre>.card-product-right .product-quantity {
  margin-top: auto;
}

.card-product-right .product-quantity label,
.grid-list-actions .product-quantity label {
  bottom: 40px;
  left: 0;
  color: #000;
}

.card-product-right .product-quantity label.quantity-unit-label {
  position: static;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Switch [UM base | BANCALI] accanto a "Quantita' in": il cursore scorre sotto l'unita' attiva */
.quantity-unit-label .quantity-unit-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0.3rem;
  padding: 2px;
  border-radius: 999px;
  background-color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
}

.quantity-unit-label .quantity-unit-switch::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
  border-radius: 999px;
  background-color: #222;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.quantity-unit-label .quantity-unit-switch.is-alt-active::before {
  transform: translateX(100%);
}

.quantity-unit-label .quantity-unit-option {
  position: relative;
  z-index: 1;
  padding: 0.05rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.6;
  text-align: center;
  color: #7a7a7a;
  transition: color 0.25s ease;
}

.quantity-unit-label .quantity-unit-switch:not(.is-alt-active) .quantity-unit-option.is-base,
.quantity-unit-label .quantity-unit-switch.is-alt-active .quantity-unit-option.is-alt {
  color: #fff;
}

.quantity-unit-label .quantity-unit-switch:not(.is-alt-active) .quantity-unit-option.is-alt:hover,
.quantity-unit-label .quantity-unit-switch.is-alt-active .quantity-unit-option.is-base:hover {
  color: #222;
}

.quantity-unit-label .quantity-unit-switch:focus-visible {
  outline: 2px solid #222;
  outline-offset: 2px;
}

/* Il dettaglio accanto allo switch, es. "(250 MT)", va a capo intero */
.quantity-unit-label .quantity-unit-switch + .quantity-unit-text {
  white-space: nowrap;
}

/* Con lo switch l'etichetta sta nel flusso sopra lo spinner: la regola generica .product-quantity label
   (override.css) la rende assoluta e nel dettaglio prodotto finirebbe dietro lo spinner */
.product-quantity label.quantity-unit-label.has-unit-switch {
  position: static;
  margin-bottom: 0.5rem;
}

/* Nella griglia resta assoluta sopra lo spinner come nelle altre card (altezze uniformi) finche' sta su
   una riga; nelle card strette torna nel flusso, altrimenti coprirebbe i prezzi */
.grid-list-actions .product-quantity.has-unit-switch {
  container-type: inline-size;
}

.grid-list-actions .product-quantity.has-unit-switch label.quantity-unit-label.has-unit-switch {
  position: absolute;
  /* la card ha ~22px di margine oltre lo spinner: l'etichetta ne usa 20 per lato per stare su una riga */
  left: -20px;
  right: -20px;
  margin-bottom: 0;
  white-space: nowrap;
}

@container (max-width: 240px) {
  .grid-list-actions .product-quantity.has-unit-switch label.quantity-unit-label.has-unit-switch {
    position: static;
    margin-bottom: 0.5rem;
    white-space: normal;
  }
}

/* Nel carrello le regole generiche sugli span di riga (display: block, larghezza e font del secondo span)
   non devono toccare lo switch */
.cart-card .cart-content li .product-quantity .quantity-unit-label span.quantity-unit-switch {
  display: inline-grid;
  width: auto;
  font-size: inherit;
  line-height: normal;
}

.cart-card .cart-content li .product-quantity .quantity-unit-label span.quantity-unit-option {
  display: block;
  width: auto;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.6;
}

/* Una fascia per il prodotto e una per quantita', prezzi e rimozione. */
@media screen and (min-width: 768px) {
  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-card .cart-content > li {
    --cart-price-columns: 1;
    display: grid !important;
    grid-template-columns: minmax(140px, var(--cart-quantity-width, 160px)) repeat(var(--cart-price-columns), minmax(0, 1fr)) 32px;
    align-items: center;
    gap: 20px 12px;
    padding: 20px;
  }

  #checkout #checkout-main #cart-page-products .cart-content > li:has(> .product-price ~ .product-price) {
    --cart-price-columns: 2;
  }

  #checkout #checkout-main #cart-page-products .cart-content > li:has(.quantity-unit-switch) { --cart-quantity-width: 240px; }

  #checkout #checkout-main #cart-page-products .cart-content > li:has(> .product-price ~ .product-price ~ .product-price) {
    --cart-price-columns: 3;
  }

  #checkout #checkout-main #cart-page-products .cart-content > li:has(> .product-price ~ .product-price ~ .product-price ~ .product-price) {
    --cart-price-columns: 4;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li > .product-image {
    grid-row: 1;
    grid-column: 1;
    width: 64px;
    height: 64px;
    margin: 0;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li > .product-info {
    grid-row: 1;
    grid-column: 1 / -1;
    width: auto !important;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 80px !important;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li > .product-quantity {
    grid-row: 2;
    grid-column: 1;
    width: 100% !important;
    padding: 0;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li > .product-price {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    min-height: 64px;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    border: 0;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .product-price > span {
    width: auto;
    white-space: nowrap;
    font-size: 13px;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .product-price > span:first-child {
    font-size: 10px;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .product-price > .product-discount-breakdown {
    position: static !important;
    white-space: normal !important;
    font-size: 11px;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li > .action {
    grid-row: 2;
    grid-column: -2;
    width: 32px;
    margin: 0;
    padding: 0;
    justify-self: end;
  }
}

/* Fino a due colonne di prezzo, su desktop tutta la riga resta compatta.
   Tre o piu' colonne mantengono la fascia separata definita sopra. */
@media screen and (min-width: 1024px) {
  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li:not(:has(> .product-price ~ .product-price ~ .product-price)) {
    grid-template-columns: 56px minmax(100px, 1fr) minmax(140px, var(--cart-quantity-width, 160px)) repeat(var(--cart-price-columns), minmax(70px, .7fr)) 32px;
    gap: 12px;
    padding: 16px;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li:not(:has(> .product-price ~ .product-price ~ .product-price)) > * {
    grid-row: 1;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li:not(:has(> .product-price ~ .product-price ~ .product-price)) > .product-image {
    width: 56px;
    height: 56px;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li:not(:has(> .product-price ~ .product-price ~ .product-price)) > .product-info {
    grid-column: 2;
    padding: 0 !important;
  }

  #checkout #checkout-main #cart-page-products:not(.order-history) .cart-content > li:not(:has(> .product-price ~ .product-price ~ .product-price)) > .product-quantity {
    grid-column: 3;
  }
}

/* Carrello: unita', conversione e quantita' restano leggibili anche con i bancali. */
#checkout #cart-page-products .cart-card .cart-content li > .product-quantity {
  flex: 0 1 160px;
  width: 160px !important;
  max-width: 100%;
  min-width: 0;
  padding: 0 12px;
  margin: 0;
  border: 0;
}

#checkout #cart-page-products .product-quantity > .heading {
  margin-bottom: 8px;
  text-align: center;
}

#checkout #cart-page-products .product-quantity label.quantity-unit-label {
  position: static;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 0 6px;
  padding: 0;
  white-space: normal;
  line-height: 1.4;
}

#checkout #cart-page-products .quantity-unit-label > small {
  display: none;
}

#checkout #cart-page-products .product-quantity .quantity-unit-label span.quantity-unit-switch {
  display: grid;
  width: 100%;
  margin: 0;
  border-radius: 8px;
  padding: 2px;
}

#checkout #cart-page-products .quantity-unit-switch::before {
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
  border-radius: 6px;
  box-shadow: none;
}

#checkout #cart-page-products .product-quantity .quantity-unit-label span.quantity-unit-option {
  padding: 4px 6px;
  font-size: 11px;
  line-height: 1.4;
}

#checkout #cart-page-products .quantity-unit-text {
  font-size: 11px;
  font-weight: 400;
  color: #666;
}

#checkout #cart-page-products .product-quantity .details-spinner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 32px;
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

#checkout #cart-page-products .details-spinner .spinner-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 30px;
  color: #333;
}

#checkout #cart-page-products .details-spinner .spinner-button:hover {
  background: #f1f1f1;
}

#checkout #cart-page-products .details-spinner .spinner-value {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 30px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

#checkout #checkout-main #cart-page-products .product-quantity .quantity-unit-label,
#checkout #checkout-main #cart-page-products .product-quantity .quantity-unit-switch,
#checkout #checkout-main #cart-page-products .product-quantity .details-spinner {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Stessa geometria dei controlli del carrello in catalogo e dettaglio prodotto. */
body #product-page .product-quantity { width: 160px; max-width: 100%; }
body .product-quantity .details-spinner,
body #product-page .product-quantity .details-spinner {
  align-items: center;
  min-width: 0;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

body .product-quantity .details-spinner .spinner-button,
body #product-page .product-quantity .details-spinner .spinner-button {
  flex: 0 0 32px;
  width: 32px;
  height: 30px;
  border-radius: 0;
  color: #333;
}

body .product-quantity .details-spinner .spinner-button:hover,
body #product-page .product-quantity .details-spinner .spinner-button:hover {
  background: #f1f1f1;
}

body .product-quantity .details-spinner .spinner-value,
body #product-page .product-quantity .details-spinner .spinner-value {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 30px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

body .product-quantity label.quantity-unit-label.has-unit-switch {
  position: static;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-bottom: 6px;
  white-space: normal;
}

body .product-quantity .quantity-unit-label .quantity-unit-switch {
  display: grid;
  width: min(100%, 160px);
  margin: 0;
  padding: 2px;
  border-radius: 8px;
}

body .product-quantity .quantity-unit-switch::before {
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
  border-radius: 6px;
  box-shadow: none;
}

body .product-quantity .quantity-unit-label .quantity-unit-option {
  padding: 4px 6px;
  font-size: 11px;
  line-height: 1.4;
}

body .product-quantity .quantity-unit-text {
  font-size: 11px;
  font-weight: 400;
  color: #666;
}

/* Carrello: riempimento di ogni mezzo di trasporto, barra con percentuale e sotto i m3 mancanti */
.transport-vehicle-load {
  margin-bottom: 0.75rem;
}

.transport-vehicle-load-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.transport-vehicle-name {
  flex: 0 0 40%;
  font-size: 0.8rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.transport-vehicle-bar {
  flex: 1 1 auto;
  height: 0.5rem;
  border-radius: 999px;
  background-color: #e5e5e5;
  overflow: hidden;
}

.transport-vehicle-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background-color: #222;
}

.transport-vehicle-load.is-exceeded .transport-vehicle-bar-fill {
  background-color: #cc3340;
}

.transport-vehicle-percent {
  flex: 0 0 2.75rem;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 600;
}

.transport-vehicle-missing {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: #7a7a7a;
}

.transport-vehicle-load.is-exceeded .transport-vehicle-missing {
  color: #cc3340;
}

.flat-card .is-list-item span.product-label {
  text-transform: capitalize;
  display: inline;
  margin-right: 4px;
}

.flat-card.product-container.is-auto.is-list-item-pre .is-list-item .product-info .product-name .product-label {
  font-weight: 400;
}

.flat-card.product-container.is-auto.is-list-item-pre .is-list-item .product-info .product-name .product-code {
  font-weight: 700;
}

.column.is-12.item-box-catalog {
  display: block;
  height: auto;
}

.flat-card.product-container.is-auto.is-list-item-pre {
  width: 100%;
}

#shop-grid .category-wrapper .is-product-list {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

#shop-grid .category-wrapper .is-product-list>.column.is-12.item-box-catalog {
  width: 100%;
  max-width: 100%;
}

.add-to-cart.is-justify-content-center {
  align-content: center;
}

.product-last-order-info {
  color: #000;
}

.home-box-element span {
  font-size: medium;
}

.is-product-grid .grid-list-actions {
  background: #e3e3e3;
}

.add-to-cart.is-justify-content-center .button {
  width: 100%;
}

.item-box-catalog {
  margin-bottom: 0.75rem;
}

.flat-card.cart-card.product-container {
  padding: unset;
}

.flat-card.cart-card.product-container .cart-content {
  padding: 20px;
}

.product-quantity .heading {
  text-align: center;
}

.cart-content>li>div.product-quantity {
  border-left: 2px solid #e3e3e3;
  border-right: 2px solid #e3e3e3;
  padding: 0 2em;
}

.cart-card .cart-content li .product-info span {
  font-size: 100% !important;
}

.checkout-wrapper .checkout-side .side-inner .side-card.is-totals .info-title {
  font-family: "Open-Sans";
}

.shop-wrapper .columns .column.main-column {
  padding-top: 0;
}

@media (width: 1024px) {
  .action {
    max-width: 6%;
  }
}

@media (max-width: 1024px) {
  .hamburger-btn span[data-case="inactive"] .filter-title {
    display: none;
  }

  .cart-quickview.is-pushed-mobile {
    visibility: hidden;
  }

  .card-product-right {
    margin: 0 auto;
    height: auto;
    width: 100%;
  }

  .column.is-12.item-box-catalog {
    height: auto;
    width: 100%;
  }

  .flat-card.product-container.is-auto.is-list-item-pre {
    display: block;
    width: 100% !important;
  }

  .product-info {
    width: 100%;
  }

  .details-spinner {
    width: 50%;
    justify-self: center;
    align-self: center;
  }

  .product-quantity {
    justify-items: center;
    margin-bottom: 20px;
    border: unset !important;
  }

  .product-note {
    max-width: 100%;
  }

  .add-to-cart {
    width: 50%;
    align-self: center;
    margin-bottom: 15px;
  }

  .is-product-list .flat-card.product-container.is-auto.is-list-item-pre>.card-product-right {
    padding-top: 2rem !important;
  }

  .cart-card .cart-content li .product-price {
    width: auto;
  }

  #checkout-main .checkout-wrapper .checkout-main .cart-card .cart-content li .product-info {
    width: auto;
  }

  #checkout-main #cart-page-products .cart-card .cart-content li {
    flex-wrap: wrap;
    display: flex !important;
    gap: 0.5em;
  }

  #checkout-main #cart-page-products .cart-card .cart-content li .product-price.has-text-right {
    text-align: left !important;
    padding-left: 15px;
  }

  #checkout-main #cart-page-products .cart-card .cart-content li .product-price {
    width: 25%;
  }

  #checkout-main #cart-page-products .cart-card .cart-content li .product-quantity {
    width: 30%;
    border: unset;
    margin-left: 0px;
    padding-left: 0px;
    margin-right: 0px;
    padding-right: 50px;
  }

  #checkout-main #cart-page-products .cart-card .cart-content li .product-image {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .column.is-6-touch {
    width: 100%;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li {
    gap: 0.25rem;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-info {
    width: 100% !important;
    flex: 1 1 100%;
    min-width: 0;
    padding: 0 0.5rem !important;
  }

  #cart-page-products:not(.order-history) .cart-content > li > div.product-quantity {
    border: 0;
    padding: 0.25rem 0.5rem;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-quantity {
    width: 100% !important;
    flex: 1 1 100%;
    float: none;
    margin: 0 !important;
    margin-bottom: 0.25rem !important;
  }

  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price,
  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price.mx-4,
  #cart-page-products:not(.order-history) .cart-card .cart-content li .product-price.ml-4 {
    width: 100% !important;
    flex: 1 1 100%;
    float: none;
    margin: 0 !important;
  }

  #checkout-main #cart-page-products .cart-card .cart-content li .product-price {
    width: 100% !important;
  }

  #checkout-main #cart-page-products .cart-card .cart-conte nt li .product-price.has-text-right {
    text-align-last: center;
  }

  .cart-card .cart-content li .product-price span:nth-child(2),
  .cart-card .cart-content li .product-quantity span:nth-child(2) {
    font-size: 0.65rem;
    /* ridotto da 1rem a 0.65rem */
    font-weight: 500;
    line-height: 1.4;
    color: #4a4a4a;
    width: 100px;
  }
}

.product-note {
  width: 300px;
}

@media screen and (max-width: 500px) {
  #checkout-main #cart-page-products .cart-card .cart-content li .product-quantity {
    width: 100%;
    margin-bottom: 5% !important;
  }
}

body.courtesy-body {
  background-color: #f0f4f8;
  font-family: "Arial", sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 7rem;
}

.courtesy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.courtesy-title {
  color: #2c3e50;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.courtesy-alert {
  background-color: #eaf6ff;
  border-left: 6px solid #3498db;
  color: #2980b9;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  display: inline-block;
  text-align: left;
}

.courtesy-spinner {
  margin: 2rem 0;
}

.courtesy-spinner .spinner-border {
  color: #3498db;
}

.courtesy-message {
  color: #7f8c8d;
  font-size: 1.2rem;
}

.wizard-buttons:first-of-type {
  padding-bottom: 1%;
}

.shop-wrapper {
  scroll-behavior: smooth;
}

.product-info-panel .inner-panel .panel-body .product-controls .product-quantity .heading {
  text-align: center;
}

.product-info-panel .inner-panel .panel-body .product-controls .product-quantity .details-spinner {
  min-width: 180px;
}

.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.profile-info-card .card-title {
  margin-top: inherit;
}

.panel-body .column {
  padding: 0 0.75rem 0.75rem 0.75rem;
  background-color: #f0f0f0;
}

.card-body#ratings-view {
  justify-content: center;
  margin: 0 5px;
}

.card-body#ratings-view .media {
  width: 100%;
}

.product-info-panel .inner-panel .panel-body .product-controls {
  justify-self: flex-start;
  gap: 2rem;
}

@media screen and (max-width: 767px) {
  .panel-body {
    text-align: center;
  }

  .product-info-panel .inner-panel .panel-body .product-controls .add-to-cart {
    margin-top: 2rem;
  }

  .product-info-panel .inner-panel .panel-body .product-controls .add-to-cart #details-add-to-cart {
    margin-bottom: 1rem;
  }

  .panel-header .category-title .breadcrumb-container {
    margin-top: 2%;
  }

  .product-info-panel .inner-panel .panel-header {
    padding: 20px;
  }

  .product-info-panel .inner-panel .panel-body .product-controls {
    justify-self: center;
  }

  .quantity-management form {
    justify-content: center;
  }
}

.resume-row.budget-alert {
  display: none;
}

.color-primary {
  color: var(--color-primary) !important;
}

.budget-caption {
  margin: 1rem auto;
}

.shop-quickview .inner .shop-menu a.modal-trigger {
  padding: 20px 20px 0 0;
}

.quantity-management {
  margin: 1rem 0 0 0;
}

.quantity-management form {
  display: flex;
  gap: 2rem;
}

div#date-error {
  display: none;
  width: 91%;
  place-self: flex-end;
  color: red;
  font-weight: 600;
}

.auth-title {
  flex-wrap: wrap;
  flex-direction: column;
}

.auth-title h2 {
  text-transform: none;
}

.auth-title h2#auth-main-title {
  text-transform: uppercase;
}

div.dt-length>label {
  display: flex;
  align-items: center;
  gap: 5px;
}

div.select>select#dt-length-0 {
  min-width: 50px;
}

div.select>select#dt-length-0::after {
  right: 0.75rem;
}

.auth-title strong {
  color: var(--color-primary);
}

.zeroAvaRed {
  color: #ff3b3c;
}

div#change-customer-modal .modal-content {
  width: 75%;
}

#change-customer-modal .method-card-inner,
#change-customer-modal .method-card {
  height: 100%;
}

.fixed-action-button {
  position: fixed;
  right: 20px;
  z-index: 1000;
}

.red {
  color: red;
}

.orange {
  color: orange;
}

.green {
  color: green;
}

body .product-container .grid-list-actions .button.big-button.cart-button {
  border-radius: 8px;
}

.grid-list-actions .onPage-button {
  width: 100%;
}

.button.feather-button {
  font-size: 110%;
}

.button.confirm-button {
  color: #ffffff;
  background-color: #48BD90;
}

#infinite-loader {
  display: none;
  text-align: center;
  padding: 20px;
}

#infinite-loader .spinner {
  border: 4px solid #ccc;
  /* colore di sfondo */
  border-top: 4px solid #888;
  /* colore parte animata */
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}


@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.ais-InfiniteHits-loadMore {
  display: none !important;
}

.search-template-item .entry-text {
  min-width: 0;
  white-space: normal !important;
  overflow: visible;
  text-overflow: unset;
}

.search-template-item .entry-text span {
  white-space: normal !important;
  overflow: visible;
  text-overflow: unset;
}

.flat-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* assicurati che l'intera card riempia il contenitore */
.flat-card-link .flat-card {
  height: 100%;
}

/* stile per il focus (accessibilità da tastiera) */
.flat-card-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 156, 228, 0.25);
  border-radius: 6px;
}

.product-prices-row {
    display: flex;
    align-items: flex-start; /* oppure center se preferisci */
}

.product-price {
    display: flex;
    flex-direction: column;
    min-width: 140px; /* fondamentale per l’allineamento */
}

.product-price > span:first-child {
    font-weight: 600;
    min-height: 20px; /* allinea le intestazioni */
}

.product-price > span:nth-child(2) {
    min-height: 28px; /* allinea i valori */
}

.product-price small {
    min-height: 18px; /* allinea VAT / tasse */
}
#old-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
}

#new-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

#discount {
  font-size: 1rem;
  font-weight: 500;
  padding: 0 20px;
  color: var(--color-primary);
  text-decoration: none;
}
.tech_data {
    display: flex;
    justify-content: center;
    width: 100%;
}

.product-logistic-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin: 0.35rem 0;
  color: #000;
  font-size: 0.78rem;
  line-height: 1.25;
}

.product-logistic-info.is-list {
  justify-content: flex-start;
}

/* Shared refine geometry; each compiled client theme retains its colors. */
body #product-page .shop-btn-wrapper .product-quantity {
    --quantity-spinner-width: 200px;
    width: var(--quantity-spinner-width);
    max-width: none;
}
body #product-page .shop-btn-wrapper .details-spinner {
    display: grid;
    grid-template-columns: 30px minmax(48px, 1fr) 30px 56px;
    align-items: center;
    gap: 4px;
    height: 40px;
    min-width: 0;
    max-width: 100%;
    border: 0;
    box-shadow: none;
    background: transparent;
}
body #product-page .shop-btn-wrapper .details-spinner .hidden-spinner {
    position: static;
    top: 0;
    width: 100%;
    height: 36px;
    min-width: 0;
    margin: 0;
    padding: 0 4px;
    border: 1px solid #d3d6db;
    border-radius: 6px;
    text-align: center;
    box-sizing: border-box;
}
body #product-page .shop-btn-wrapper .details-spinner .spinner-button { width: 30px; height: 36px; margin: 0; border-radius: 6px; }
body #product-page .shop-btn-wrapper .details-spinner .details-add-to-cart { width: 56px; height: 40px; min-height: 40px; margin: 0; padding: 0; display: grid; place-items: center; }
body .button.big-button.btn-outlined.is-bold,
body .button:not(.is-ghost):not(.is-text) {
    border-width: 1px;
    border-radius: 8px;
    box-shadow: none !important;
}

body .button,
body .shop-menu a,
body .account-tabs a {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body .button:focus-visible,
body .top-bar a:focus-visible,
body .home-box-element a:focus-visible,
body .home-box-element summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

body .top-bar #open-shop,
body .top-bar #new-order-modal-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 8px;
    white-space: nowrap;
    font-weight: 600;
}

body .top-bar #new-order-modal-trigger:after {
    display: none;
}

body .top-bar #search-items-navbar input[type="text"] {
    border: 1px solid currentColor;
    border-radius: 8px;
    padding-right: 52px;
}

body .top-bar #search-items-navbar button {
    border-radius: 0 8px 8px 0;
}

body .mobile-navbar {
    box-shadow: none;
}

/* Compiled client themes may use white text on a near-white mobile menu. */
body .mobile-navbar .navbar-menu,
body .mobile-navbar .navbar-menu .navbar-dropdown {
    background-color: #fff;
    color: #363636;
}

body .mobile-navbar .navbar-menu .navbar-link,
body .mobile-navbar .navbar-menu a.navbar-item {
    color: #363636 !important;
    font-size: 14px;
    line-height: 1.5;
}

body .mobile-navbar .navbar-menu .navbar-link span,
body .mobile-navbar .navbar-menu a.navbar-item span,
body .mobile-navbar .navbar-menu .navbar-link i,
body .mobile-navbar .navbar-menu a.navbar-item i {
    color: inherit !important;
}

body .mobile-navbar .navbar-menu .navbar-link:not(.is-arrowless)::after {
    border-color: currentColor;
}

body .mobile-navbar .navbar-menu .navbar-link:hover,
body .mobile-navbar .navbar-menu .navbar-link:focus-visible,
body .mobile-navbar .navbar-menu a.navbar-item:hover,
body .mobile-navbar .navbar-menu a.navbar-item:focus-visible {
    background-color: #f5f5f5;
    color: #111 !important;
    text-decoration: underline;
}

body .mobile-navbar .navbar-menu a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

body .mobile-navbar .navbar-menu .elimina-ordine-mobile a {
    color: #363636 !important;
    text-decoration: underline;
}

body .mobile-navbar .navbar-brand {
    align-items: center;
    gap: 8px;
    padding: 0 12px 8px;
}

body .mobile-navbar #sidebar-mode {
    width: 32px;
    flex: 0 0 32px;
    padding: 0;
}

body .mobile-navbar #search-items-navbar-mobile {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 0;
}

body .mobile-navbar #search-items-navbar-mobile .field,
body .mobile-navbar #search-items-navbar-mobile .control {
    width: 100%;
    min-width: 0;
}

body .mobile-navbar #search-items-navbar-mobile input[type="text"] {
    height: 40px;
    border-width: 1px;
    border-radius: 8px;
    padding-right: 48px;
    font-size: 14px;
}

body .mobile-navbar #search-items-navbar-mobile .icon.is-right {
    width: 44px;
    height: 40px;
    padding: 0 !important;
}

body .mobile-navbar #search-items-navbar-mobile button.button.search-mobile.is-small {
    width: 44px;
    height: 40px;
    border-width: 1px;
    border-radius: 0 8px 8px 0;
}

body .mobile-navbar .navbar-burger {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0 !important;
}

body .shop-wrapper h2,
body .shop-wrapper h3,
body .shop-wrapper .info-title,
body .quickview-header h2,
body .modal h2,
body .modal .title {
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body .shop-wrapper .input,
body .shop-wrapper .textarea,
body .shop-wrapper select,
body .modal .input,
body .modal select {
    border-width: 1px;
    border-radius: 8px;
    box-shadow: none;
}

body .current-catalog-info-container .current-catalog-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    min-height: 56px;
    border-radius: 8px;
    overflow-wrap: anywhere;
}

body .current-catalog-info .messaggio-pre-banner {
    margin: 0;
    padding: 0;
    flex: 0 0 100%;
}

body .catalog-index .home-box-element > div:first-child {
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}

body .catalog-index .home-box-element > div:first-child > a {
    height: auto;
}

body .catalog-index .home-box-element .block-title {
    overflow-wrap: anywhere;
}

/* Expanded categories must remain readable independently of the brand palette. */
body .catalog-index .home-box-element > details.content {
    margin-top: 0;
    background: #fff !important;
    color: #363636 !important;
    border: 1px solid #e3e3e3;
    border-top: 0;
    border-radius: 0 0 8px 8px;
}

body .catalog-index .home-box-element > details.content > summary {
    padding: 10px 12px;
    cursor: pointer;
    text-align: left !important;
    background: #fff !important;
    color: #363636 !important;
    font-size: 14px;
    line-height: 1.5;
}

body .catalog-index .home-box-element > details.content a {
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 4px 12px 4px 0;
    color: #363636 !important;
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.5;
}

body .catalog-index .home-box-element > details.content a:hover,
body .catalog-index .home-box-element > details.content a:focus-visible {
    text-decoration: underline;
}

body .shop-quickview .shop-menu a,
body .shop-quickview .shop-menu a span {
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

body .shop-quickview .user-profile {
    margin: 16px;
    border-radius: 8px;
}

body #quickview-trigger.has-background-secondary {
    border-radius: 8px;
    box-shadow: none;
}

body #modal-submenu-navigation .modal-content {
    border-radius: 8px;
    padding: 20px 24px;
    max-width: 480px;
    min-width: 0;
    width: calc(100% - 48px);
    height: auto;
    max-height: calc(100vh - 64px);
}

body #modal-submenu-navigation .fullscreen-menu[data-levels="1"],
body #modal-submenu-navigation .fullscreen-menu[data-levels="0"] {
    width: 100%;
}

body #modal-submenu-navigation .modal-content:has(.fullscreen-menu[data-levels="2"]),
body #modal-submenu-navigation .modal-content:has(.fullscreen-menu[data-levels="3"]) {
    max-width: 1000px;
}

body #new-order-modal .modal-content .box .box-body,
body #new-order-modal .modal-content .box .box-body .info-wrapper {
    min-height: 0;
}

body #new-order-modal .chosen-container.chosen-with-drop .chosen-drop {
    position: relative;
    top: auto;
    left: auto;
}

body #new-order-modal .chosen-container .chosen-results {
    max-height: min(240px, 35vh);
    overscroll-behavior: contain;
}

body .modal .box .box-header span {
    font-weight: 700;
    font-size: 18px;
    text-transform: none;
    letter-spacing: 0;
}

body .is-product-grid .flat-card,
body .is-product-list .flat-card,
body #hits-list .flat-card,
body .is-account-grid .flat-card,
body .order-long-card,
body .availability-modal .box,
body .checkout-wrapper .side-card,
body .checkout-wrapper .cart-card,
body .stat-card,
body .coupon-card {
    border-radius: 8px;
    box-shadow: none;
}

body .is-product-grid .flat-card .product-info {
    text-align: left !important;
}

body #product-page > .product-info-panel .inner-panel .panel-body { padding: 24px !important; min-width: 0; }
body #product-page > .product-info-panel .product-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
body #product-page > .product-info-panel .product-controls > .product-price,
body #product-page > .product-info-panel .product-controls > .product-quantity { min-width: 0; margin: 0; }
body #product-page > .product-info-panel .product-controls > .add-to-cart { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 0 100%; width: 100%; margin: 0; }
body #product-page > .product-info-panel .product-controls > .add-to-cart > .heading { display: none; }
body #product-page > .product-info-panel .product-controls > .add-to-cart > .button { margin: 0 !important; min-width: 0; max-width: 100%; white-space: normal; }

/* Shared service pages keep their existing data, permissions and action handlers. */
body .b2b-account-page { background: #f5f5f3; padding-bottom: 80px; }
body .b2b-account-page > .section { padding: 28px 24px; max-width: 1360px; margin: 0 auto; }
body .b2b-account-page > .section > .container { width: 100%; max-width: 100%; }
body .b2b-account-page .account-title h2 { font-size: 26px; line-height: 1.3; margin: 0 0 20px; }
body .b2b-account-page .account-tabs { margin-bottom: 24px; }
body .b2b-account-page .account-tabs a { min-height: 42px; font-size: 13px; padding: 10px 14px; }
body .b2b-account-page .box,
body .b2b-account-page .flat-card { border: 1px solid #e2e2e2; border-radius: 8px; box-shadow: none; }
body .b2b-account-page .flat-card .card-title { padding: 16px 20px; }
body .b2b-account-page .flat-card .card-body { padding: 16px 20px; min-height: 0; }
body .b2b-account-page .flat-card .card-title h3 { font-size: 16px; }
body .b2b-account-page .label-value { overflow-wrap: anywhere; }
body .b2b-account-page #account-main > .is-7 { width: 100%; }
body .b2b-account-page #account-main > .is-5 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; align-items: start; }
body .b2b-account-page .profile-card .card-body { display: flex; align-items: center; gap: 16px; text-align: left !important; }
body .b2b-account-page .profile-card .profile-image { flex-shrink: 0; font-size: 32px; }
body .b2b-account-page .profile-card .username { min-width: 0; overflow-wrap: anywhere; }
body .b2b-account-page .profile-info-card .info-block { padding: 10px 0; }
body .b2b-account-page form.listing-controls { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr) max-content minmax(0, 1fr) max-content; align-items: center; gap: 10px; margin: 20px 0; padding: 0; }
body .b2b-account-page form.listing-controls > .column { padding: 0; width: auto; min-width: 0; margin: 0 !important; text-align: left !important; }
body .b2b-account-page form.listing-controls input { width: 100%; min-width: 0; height: 40px; }
body .b2b-account-page .button { border-radius: 6px; min-height: 40px; box-shadow: none; white-space: normal; }
body .b2b-account-page .order-long-card { border: 1px solid #e2e2e2; border-radius: 8px; box-shadow: none; }
body .b2b-account-page .order-long-card .right-side .meta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
body .b2b-account-page .order-long-card .right-side .meta-actions .button { margin: 0; }
body .b2b-account-page .coupon-card { padding: 20px; gap: 24px; margin-bottom: 16px; align-items: flex-start; }
body .b2b-account-page .coupon-card .card-title { flex: 0 0 180px; align-items: flex-start; padding: 0; }
body .b2b-account-page .coupon-card .card-body { flex: 1 1 auto; min-width: 0; padding: 0; }
body .b2b-account-page .coupon-card h6 { color: #555 !important; font-size: 13px !important; }
body .b2b-account-page .coupon-card .label-value { font-size: 13px; line-height: 1.6; }
body .b2b-empty-state { padding: 32px 0; color: #666; font-size: 14px; }
body .b2b-timetable-page .account-header > .column > .columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 16px; gap: 16px; }
body .b2b-timetable-page .account-header > .column > .columns > .column { padding: 0; width: auto; min-width: 0; margin: 0 !important; text-align: left !important; }
body .b2b-timetable-page .dataTables_wrapper { margin-top: 20px; }
body .b2b-timetable-page .dataTables_wrapper input,
body .b2b-timetable-page .dataTables_wrapper select { border-radius: 6px; min-height: 36px; }
body .b2b-order-page { background: #f5f5f3; padding-bottom: 90px; }
body .b2b-order-page #cart-page { max-width: 1440px; margin: 0 auto; padding: 24px; }
body .b2b-order-page #cart-page > .container { width: 100%; max-width: 100%; }
body .b2b-order-page #checkout-main .account-title h2 { font-size: 22px; line-height: 1.35; }
body .b2b-order-page #checkout-main .account-title.card-title h2 { font-size: 20px; }
body .b2b-order-page .checkout-wrapper .checkout-side .side-inner .side-card.is-totals .info-title { font-size: calc(.7rem + 2px); }
body .b2b-order-page .checkout-wrapper .checkout-side .side-inner .side-card.is-totals .payment-block span { font-size: calc(.9rem + 2px); }
body .b2b-order-page .checkout-side .side-card { border: 1px solid #e2e2e2; border-radius: 8px; box-shadow: none; padding: 20px; margin: 0 0 16px; }
body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li { display: flex !important; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px; }
body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li > .product-image { flex: 0 0 72px; width: 72px; height: 72px; margin: 0; }
body .b2b-order-page .cart-card .cart-content li > .product-image img { width: 100%; height: 100%; object-fit: contain; }
body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li > .product-info { flex: 1 1 180px; width: auto !important; min-width: 0; margin: 0; padding: 0 !important; overflow-wrap: anywhere; }
body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li > .product-price,
body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li > .product-quantity { flex: 0 1 auto; width: auto !important; min-width: 100px; margin: 0 !important; padding: 0 !important; }
body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li .product-price span,
body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li .product-quantity span { white-space: normal; width: auto; }
body .b2b-order-page .checkout-main .column.main-column { padding: 0; background: transparent; box-shadow: none; }
body .b2b-order-page .cart-card { border: 1px solid #e2e2e2; border-radius: 8px; box-shadow: none; margin-bottom: 16px; padding: 0; }
body:has(.b2b-order-page) #new-order-modal-trigger-fab,
body:has(.b2b-account-page) #new-order-modal-trigger-fab { display: none !important; }
body #availability-modal .box-body,
body #new-articlehistory-modal .box-body { min-height: 0 !important; height: auto !important; padding: 20px; }
body #availability-modal .modal-content,
body #new-articlehistory-modal .modal-content { max-height: calc(100dvh - 40px); }
body #new-articlehistory-modal .modal-content { width: min(1000px, calc(100vw - 32px)) !important; }
body #new-articlehistory-modal #article-history-main { height: auto !important; max-height: 45vh; overflow: auto; }
body #new-articlehistory-modal .dataTables_scrollBody,
body #new-articlehistory-modal .dt-scroll-body { height: auto !important; max-height: 45vh !important; }
body #new-articlehistory-modal .box-body .table-container { max-height: 45vh; overflow: auto; }
body #availability-modal .box-body hr { margin: 16px 0 0; }
body #availability-modal .modal-content { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); }
body #availability-modal .box { padding: 0; border-radius: 10px; overflow: hidden; box-shadow: none; }
body #availability-modal .box-header { height: auto; min-height: 48px; padding: 12px 18px; border-bottom: 1px solid #e5e5e5; background: #fafafa; }
body #availability-modal .box-header > span { font-size: 14px; font-weight: 600; }
body #availability-modal .box-body { padding: 16px 18px !important; max-height: calc(100dvh - 140px) !important; overflow-y: auto; }
body #availability-modal .box-body > hr { display: none; }
body #availability-modal .availability-item { margin: 0 0 14px; color: #222; }
body #availability-modal .availability-item > strong { font-size: 14px; }
body #availability-modal .availability-item p { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #666; overflow-wrap: anywhere; }
body #availability-modal .availability-storages { margin: 0; }
body #availability-modal .availability-storage { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-left: 3px solid transparent; border-bottom: 1px solid #eee; }
body #availability-modal .availability-storage:last-child { border-bottom: 0; }
body #availability-modal .availability-storage.is-current { background: color-mix(in srgb, var(--b2b-accent, #ddd) 15%, white); border-left-color: var(--b2b-accent, #555); border-radius: 6px; }
body #availability-modal .availability-storage dt { min-width: 0; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
body #availability-modal .availability-storage dt small { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; color: #666; }
body #availability-modal .availability-storage dd { margin: 0; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
body #availability-modal .availability-storage dd strong { font-size: 18px; font-weight: 600; color: #222; }
body #availability-modal .availability-storage dd small { margin-left: 6px; font-size: 11px; color: #777; }
body #availability-modal .availability-storage.is-unavailable dd strong { color: #888; font-weight: 400; }
body #product-page.b2b-item-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; gap: 32px; background: #f5f5f3; padding: 24px 24px 90px; }
body #product-page.b2b-item-detail > .product-panel,
body #product-page.b2b-item-detail > .product-info-panel { position: static !important; width: 100% !important; min-width: 0; height: auto !important; min-height: 0; max-height: none; margin: 0; }
body #product-page.b2b-item-detail > .product-panel { background: #fff; border: 1px solid #e2e2e2; border-radius: 8px; padding: 20px; }
body #product-page.b2b-item-detail > .product-info-panel { background: transparent; }
body #product-page.b2b-item-detail .product-panel > .panel-header:not(:has(.promo-badge)) { display: none; }
body #product-page.b2b-item-detail .product-image { position: static; width: 100%; height: auto; margin: 0; padding: 0; transform: none; }
body #product-page.b2b-item-detail .product-image img { width: 100%; height: 340px; object-fit: contain; }
body #product-page.b2b-item-detail .slick-dots:has(> li:only-child) { display: none; }
body #product-page.b2b-item-detail .inner-panel { display: block; padding: 0; }
body #product-page.b2b-item-detail .inner-panel .panel-header { height: auto; padding: 0; margin-bottom: 16px; }
body #product-page.b2b-item-detail .panel-header .category-title { margin: 0; }
body #product-page.b2b-item-detail .breadcrumb-container { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
body #product-page.b2b-item-detail .breadcrumb-container .breadcrumb { display: inline; padding: 0; margin: 0; height: auto; min-height: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: #555; text-transform: none; white-space: normal; }
body #product-page.b2b-item-detail .breadcrumb-container .breadcrumb:hover { color: #111; text-decoration: underline; }
body #product-page.b2b-item-detail .inner-panel .panel-body { padding: 0 !important; }
body #product-page.b2b-item-detail .inner-panel .panel-body .product-name { font-size: 26px !important; line-height: 1.35; font-weight: 700; color: #171717; padding: 8px 0 16px !important; text-align: left !important; text-transform: none; overflow-wrap: anywhere; }
body #product-page.b2b-item-detail .product-controls { gap: 16px; }
body #product-page.b2b-item-detail .product-controls .button { border-radius: 6px; box-shadow: none; min-height: 42px; }
body #product-page.b2b-item-detail .product-controls .heading { font-size: 12px; text-transform: none; }
body #product-page.b2b-item-detail .flat-card { border: 1px solid #e2e2e2; border-radius: 8px; box-shadow: none; }
body #product-page.b2b-item-detail .flat-card .card-title { padding: 16px; }
body #product-page.b2b-item-detail .flat-card .card-body { min-height: 0; padding: 16px; }
body #product-page.b2b-item-detail .detailed-description .meta-block { padding: 12px 0; margin: 0; }
body #product-page.b2b-item-detail .detailed-description .meta-block h3 { font-size: 12px; padding: 0; margin: 0 0 8px; }
body #product-page.b2b-item-detail .detailed-description .meta-block p,
body #product-page.b2b-item-detail .detailed-description .meta-block:first-child p { font-size: 14px; font-weight: 400; padding: 0; line-height: 1.5; overflow-wrap: anywhere; }
/* Dettaglio singolo: controlli allineati in alto e accordion senza spazi vuoti. */
body #product-page.b2b-item-detail .inner-panel .panel-body .product-name { padding: 4px 0 8px !important; }
body #product-page.b2b-item-detail > .product-info-panel .product-controls { align-items: center; justify-content: flex-start; padding-top: 8px; gap: 12px; }
body #product-page.b2b-item-detail .product-controls > .product-price { flex: 1 1 220px; }
body #product-page.b2b-item-detail .product-controls > .warning-wrap:not(:has(*)),
body #product-page.b2b-item-detail .product-controls > .add-to-cart:not(:has(button, a, input)) { display: none; }
body #product-page.b2b-item-detail .product-controls .heading { margin: 0 0 4px; padding: 0; line-height: 1.4; }
body #product-page.b2b-item-detail .product-controls > .product-quantity { width: 240px; max-width: 100%; margin-left: auto; margin-right: auto; }
body #product-page.b2b-item-detail .product-controls .quantity-unit-label.has-unit-switch { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 5px; }
body #product-page.b2b-item-detail .product-controls .quantity-unit-label > small { display: inline; font-size: 10px; white-space: nowrap; }
body #product-page.b2b-item-detail .product-controls .quantity-unit-label .quantity-unit-switch { flex: 0 0 112px; width: 112px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body #product-page.b2b-item-detail .product-controls .quantity-unit-option { padding: 4px; font-size: 10px; white-space: nowrap; }
body #product-page.b2b-item-detail .product-controls .quantity-unit-text { white-space: nowrap; }
body #product-page.b2b-item-detail .product-controls .product-quantity .details-spinner { width: 160px; max-width: 100%; margin: 0 auto; }
body #product-page.b2b-item-detail .panel-body > hr { margin: 10px 0; }
body #product-page.b2b-item-detail .flat-card.is-collapsable { display: block; width: 100%; padding: 0; margin: 0; }
body #product-page.b2b-item-detail .flat-card.is-collapsable .card-title { margin: 0; padding: 10px 12px; }
body #product-page.b2b-item-detail .flat-card.is-collapsable .card-title h3 { margin: 0; padding: 0; font-size: 14px; line-height: 1.4; }
body #product-page.b2b-item-detail .flat-card.is-collapsable #meta-view,
body #product-page.b2b-item-detail .flat-card.is-collapsable #ratings-view { display: block; width: auto; height: auto; padding: 8px 12px; margin: 0 !important; }
body #product-page.b2b-item-detail .flat-card.is-collapsable.is-collapsed .card-body { padding: 0; margin: 0 !important; }
body #product-page.b2b-item-detail .flat-card.is-collapsable.is-collapsed #meta-view,
body #product-page.b2b-item-detail .flat-card.is-collapsable.is-collapsed #ratings-view { padding: 0; }
body #product-page.b2b-item-detail .detailed-description .meta-block { padding: 6px 0; }
body #product-page.b2b-item-detail .detailed-description .meta-block h3 { margin-bottom: 2px; }
body #product-page.b2b-item-detail #meta-view .meta-block { padding: 4px 0; }
body #product-page.b2b-item-detail #meta-view .meta-block h3 { padding: 0; margin: 0 0 2px; line-height: 1.35; }
body #product-page.b2b-item-detail #meta-view .meta-block p { padding: 0; margin: 0; font-size: 13px; line-height: 1.4; font-weight: 400; }
@media (max-width: 1023px) {
    body .b2b-account-page form.listing-controls { grid-template-columns: max-content minmax(0, 1fr); }
    body .b2b-account-page form.listing-controls > .column:last-child { grid-column: 2; }
}
@media (max-width: 767px) {
    body .b2b-account-page > .section { padding: 20px 16px; }
    body .b2b-account-page .coupon-card { flex-direction: column; gap: 16px; }
    body .b2b-account-page .coupon-card .card-title { flex: 0 0 auto; }
    body .b2b-account-page #account-main > .is-5 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    body .b2b-timetable-page .account-header > .column > .columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body .b2b-timetable-page .account-header > .column > .columns > .column:first-child,
    body .b2b-timetable-page .account-header > .column > .columns > .column:nth-child(4) { grid-column: 1 / -1; }
    body .b2b-timetable-page #timetable-filter { width: 100%; }
    body .b2b-order-page #cart-page { padding: 20px 16px; }
    body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li { gap: 12px; }
    body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li > .product-info { flex-basis: 140px; }
    body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li > .product-price,
    body .b2b-order-page #cart-page #cart-page-products .cart-card .cart-content li > .product-quantity { flex: 1 1 100px; }
    body #product-page.b2b-item-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px 16px 100px; }
    body #product-page.b2b-item-detail .product-image img { height: 250px; }
    body #product-page.b2b-item-detail .inner-panel .panel-body .product-name { font-size: 22px !important; }
}
@media (max-width: 480px) {
    body .b2b-account-page form.listing-controls { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    body .b2b-account-page form.listing-controls > .column:last-child { grid-column: 1; }
    body .b2b-account-page form.listing-controls .button { width: 100%; margin-top: 8px; }
}

body #product-page.b2b-product-detail { background: #f5f5f3; padding: 24px max(24px, calc((100% - 1360px) / 2)) 80px; }
body #product-page.b2b-product-detail > .row { width: 100%; max-width: 100%; margin: 0; }
body #product-page.b2b-product-detail .b2b-product-breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; font-size: 12px; color: #707070; }
body #product-page.b2b-product-detail .b2b-product-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: #333; }
body #product-page.b2b-product-detail .b2b-product-breadcrumb svg { width: 14px; height: 14px; }
body #product-page.b2b-product-detail .row.main-row > .panel-container { margin: 0 0 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 0; border-radius: 0; background: transparent; overflow: visible; gap: 40px; }
body #product-page.b2b-product-detail .row.main-row > .panel-container > .left-product-panel { position: relative; min-height: 0 !important; align-self: start; background: #fff; border: 1px solid #e4e4e4; border-radius: 8px; overflow: hidden; aspect-ratio: 1.15; padding: 24px; }
body #product-page.b2b-product-detail .row.main-row > .panel-container > .right-product-panel { min-height: 0 !important; height: auto; position: relative; gap: 24px; justify-content: flex-start; }
body #product-page.b2b-product-detail #product-view { position: static; width: 100%; max-width: 100%; margin: 0; transform: none; }
body #product-page.b2b-product-detail #product-view img { width: 100%; height: 340px; max-height: 100%; object-fit: contain; }
body #product-page.b2b-product-detail #meta-view,
body #product-page.b2b-product-detail #pdf-view,
body #product-page.b2b-product-detail #video-view { position: static; padding: 0 !important; height: auto; min-height: 0; transform: none; }
body #product-page.b2b-product-detail .slick-dots:has(> li:only-child) { display: none; }
body #product-page.b2b-product-detail .b2b-product-eyebrow { display: block; font-size: 12px; color: #666; margin-bottom: 10px; }
body #product-page.b2b-product-detail .b2b-product-heading { order: -2; }
body #product-page.b2b-product-detail .b2b-product-title { font-size: 28px; line-height: 1.3; font-weight: 700; color: #171717; margin: 0; overflow-wrap: anywhere; }
html[data-client="aki"] body #product-page.b2b-product-detail .b2b-product-title { font-size: 20px; }
body #product-page.b2b-product-detail .meta-block { padding: 16px 0; border-bottom: 1px solid #ddd; margin: 0; }
body #product-page.b2b-product-detail .meta-block:first-child { padding-top: 0; }
body #product-page.b2b-product-detail .meta-block h3 { font-size: 12px; text-transform: none; margin-bottom: 8px; padding: 0; }
body #product-page.b2b-product-detail .meta-block p,
body #product-page.b2b-product-detail .meta-block:first-child p { font-size: 14px; font-weight: 400; color: #333; line-height: 1.6; padding: 0; }
body #product-page.b2b-product-detail .meta-block p:empty { display: none; }
body #product-page.b2b-product-detail .meta-block.add-to-cart-general { border: 0; text-align: left; padding-top: 24px; margin-top: 0 !important; }
body #product-page.b2b-product-detail .add-to-cart-general > .button { float: none !important; }
body #product-page.b2b-product-detail .button.big-button { min-width: 0; border-radius: 6px; min-height: 42px; box-shadow: none; }
body #product-page.b2b-product-detail .product-actions { position: static; order: -1; margin: 0; }
body #product-page.b2b-product-detail .product-actions .right-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
body #product-page.b2b-product-detail .product-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto; height: 38px; min-height: 38px; padding: 0 12px; border: 1px solid #dedede; border-radius: 6px; background: #fff; color: #555; font-size: 12px; }
body #product-page.b2b-product-detail .product-action svg { width: 16px; height: 16px; margin: 0; color: inherit !important; stroke: currentColor; }
body #product-page.b2b-product-detail .product-action.is-active,
body #product-page.b2b-product-detail .product-action:hover { background: #111; color: #fff; border-color: #111; }
body #product-page.b2b-product-detail #item-group-table { scroll-margin-top: 20px; padding: 0; margin: 0 0 16px; background: transparent; }
body #product-page.b2b-product-detail #item-group-table p { background: transparent !important; color: #171717 !important; padding: 0; text-align: left !important; font-size: 22px; font-weight: 700; }
body #product-page.b2b-product-detail #item-group-table p:after { display: none; }
body #product-page.b2b-product-detail .product-info-panel-row,
body #product-page.b2b-product-detail .product-info-panel-row .inner-panel,
body #product-page.b2b-product-detail .product-info-panel-row .panel-body { width: 100%; padding: 0; margin: 0; }
body #product-page.b2b-product-detail .product-info-panel-row .panel-body { overflow-x: auto; }
body #product-page.b2b-product-detail .product-info-panel-row table { border: 1px solid #e2e2e2; border-radius: 8px; overflow: hidden; }
body #product-page.b2b-product-detail .product-info-panel-row th { padding: 14px 12px; white-space: nowrap; }
body #product-page.b2b-product-detail .product-info-panel-row tbody .detail-item-row td { padding: 16px 12px; border-top: 1px solid #eee !important; vertical-align: middle; font-size: 13px; }
@media (max-width: 767px) {
    body #product-page.b2b-product-detail { padding: 20px 16px 100px; }
    body #product-page.b2b-product-detail .row.main-row > .panel-container { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    body #product-page.b2b-product-detail #product-view img { height: 240px; }
    body #product-page.b2b-product-detail .b2b-product-title { font-size: 22px; }
    body #product-page.b2b-product-detail .product-action { padding: 0 10px; }
}

body .is-product-grid { align-items: stretch; }
body .is-product-grid > .column { display: flex; align-items: stretch; }
body .is-product-grid > .column > .flat-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    max-height: none;
}
body .is-product-grid > .column > .flat-card > .product-details-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}
body .is-product-grid > .column > .flat-card > .grid-list-actions { margin-top: auto; }

body .is-product-grid .flat-card img,
body .is-product-list .flat-card img {
    object-fit: contain;
}

body #product-page .row.main-row > .panel-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-width: 0;
    width: 100%;
    margin: 24px auto;
    border-radius: 8px;
}

body #product-page .row.main-row > .panel-container > .left-product-panel,
body #product-page .row.main-row > .panel-container > .right-product-panel {
    float: none;
    width: 100%;
    min-width: 0;
    min-height: 420px !important;
}

body #product-page #meta-view {
    padding: 32px;
}

body #product-page .meta-block h3 {
    font-size: 12px;
    font-weight: 600;
}

body #product-page .meta-block:first-child p {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
}

body .cart-quickview .cart-total,
body .checkout-side .total,
body .checkout-wrapper .cart-card .product-price,
body .checkout-wrapper .is-totals .total-value {
    font-weight: 700;
}

body .checkout-wrapper .cart-card .product-info {
    min-width: 0;
}

body .account-tabs li.is-active a {
    font-weight: 700;
}

body .modal .modal-card {
    border-radius: 8px;
    overflow: hidden;
}

body .login-page .auth-title h2#auth-main-title {
    font-size: 28px;
    font-weight: 700 !important;
    text-transform: none;
}

body .login-page #shop-authentication .main-auth-wrapper .field .input {
    border-width: 1px;
    border-radius: 8px;
    min-height: 46px;
}

body .login-page #shop-authentication .main-auth-wrapper .button-wrap .button {
    min-height: 48px;
}

@media screen and (max-width: 767px) {
    body .current-catalog-info-container .current-catalog-info {
        width: 100%;
        gap: 8px;
    }

    body .current-catalog-info .button.accent-button {
        float: none !important;
        margin-top: 8px;
        max-width: 100%;
        height: auto;
        white-space: normal;
    }

    body #product-page .row.main-row > .panel-container {
        grid-template-columns: minmax(0, 1fr);
    }

    body #product-page .row.main-row > .panel-container > .left-product-panel,
    body #product-page .row.main-row > .panel-container > .right-product-panel {
        min-height: 0 !important;
    }

    body #product-page #meta-view {
        padding: 20px;
    }
}

/* Shared B2B dashboard, catalog and account navigation. */
:root { --b2b-accent: var(--color-accent); --b2b-accent-ink: #111; --b2b-highlight: color-mix(in srgb, var(--b2b-accent) 50%, white); }
:root[data-client="syg"] { --b2b-accent: var(--color-secondary); }
@media screen and (max-width: 1023px) {
  body .top-bar.b2b-header { display: none !important; }
}
body #b2b-menu-backdrop { display: none; position: fixed; inset: 0; z-index: 100; margin: 0; padding: 0; border: 0; border-radius: 0; background: rgba(0, 0, 0, .48); cursor: default; }
body #b2b-menu-backdrop:has(+ .b2b-account-drawer.is-active) { display: block; }
body .shop-quickview.b2b-account-drawer { position: fixed; z-index: 101; inset: 0 0 0 auto !important; left: auto !important; right: 0 !important; width: min(420px, 100vw) !important; max-width: 100%; height: 100dvh; padding: 0; margin: 0; background: #fff; transform: translateX(105%) !important; visibility: hidden; transition: transform .2s ease, visibility .2s; }
body .shop-quickview.b2b-account-drawer.is-active { transform: translateX(0) !important; visibility: visible; box-shadow: -8px 0 24px rgba(0, 0, 0, .12); }
body .shop-quickview.b2b-account-drawer > .inner.b2b-menu-inner { position: static; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100% !important; width: 100%; max-width: none; padding: 0 !important; margin: 0; overflow: hidden; background: #fff; color: #222; transform: none !important; }
body .b2b-account-drawer .b2b-menu-header { position: relative; padding: 24px 24px 20px; background: #111; color: #fff; }
body .b2b-account-drawer .b2b-menu-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 30px; height: 30px; padding: 4px; border: 0; border-radius: 4px; background: transparent; color: #bcbcbc; cursor: pointer; }
body .b2b-account-drawer .b2b-menu-close:hover { background: #333; color: #fff; }
body .b2b-account-drawer .b2b-menu-close svg { width: 20px; height: 20px; stroke: currentColor; }
body .b2b-account-drawer .b2b-menu-customer { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; padding-right: 24px; }
body .b2b-account-drawer .b2b-menu-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: var(--b2b-accent); color: var(--b2b-accent-ink, #111); }
body .b2b-account-drawer .b2b-menu-avatar svg { width: 24px; height: 24px; stroke: currentColor; }
body .b2b-account-drawer .b2b-menu-customer h2 { color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
body .b2b-account-drawer .b2b-menu-customer p { color: #b5b5b5; font-size: 12px; line-height: 1.5; margin: 3px 0 0; }
body .b2b-account-drawer .b2b-menu-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
body .b2b-account-drawer .b2b-menu-summary > div { padding: 12px; border-radius: 6px; background: #242424; min-width: 0; }
body .b2b-account-drawer .b2b-menu-summary > div > span { display: block; color: #b5b5b5; font-size: 11px; line-height: 1.4; margin-bottom: 4px; }
body .b2b-account-drawer .b2b-menu-summary strong { display: block; color: #fff; font-size: 15px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
body .b2b-account-drawer #quickview-cart-count { color: var(--b2b-accent); }
body .b2b-account-drawer #quickview-cart-count var { font-style: normal; }
body .b2b-account-drawer .b2b-menu-navigation { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px 24px; }
body .b2b-account-drawer .b2b-menu-section { margin: 10px 0 18px; padding: 0; }
body .b2b-account-drawer .b2b-menu-section h3 { margin: 0 12px 6px; color: #777; font-size: 11px; line-height: 1.5; font-weight: 600; text-transform: uppercase; }
body .b2b-account-drawer .b2b-menu-section ul { margin: 0; padding: 0; list-style: none; }
body .b2b-account-drawer .b2b-menu-section li { padding: 0; margin: 0; height: auto; border: 0; }
body .b2b-account-drawer .b2b-menu-link { display: grid; grid-template-columns: 36px minmax(0, 1fr) 16px; align-items: center; gap: 12px; min-height: 54px; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; color: #222; font-size: 14px; line-height: 1.45; font-weight: 500; white-space: normal; }
body .b2b-account-drawer .b2b-menu-link > span:not(.b2b-menu-icon) { min-width: 0; overflow-wrap: anywhere; }
body .b2b-account-drawer .b2b-menu-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; color: inherit; background: #f5f5f3; }
body .b2b-account-drawer .b2b-menu-icon svg { width: 20px; height: 20px; stroke: currentColor; }
body .b2b-account-drawer .b2b-menu-link.is-active { background: color-mix(in srgb, var(--b2b-accent) 20%, white); color: #111; font-weight: 600; }
body .b2b-account-drawer .b2b-menu-link.is-active .b2b-menu-icon { background: var(--b2b-accent); }
body .b2b-account-drawer a.b2b-menu-link:hover,
body .b2b-account-drawer a.b2b-menu-link:focus-visible { background: #111; color: #fff; }
body .b2b-account-drawer a.b2b-menu-link:hover .b2b-menu-icon,
body .b2b-account-drawer a.b2b-menu-link:focus-visible .b2b-menu-icon { background: #333; }
body .b2b-account-drawer .b2b-menu-link.is-disabled { color: #777; opacity: 1; pointer-events: auto; cursor: not-allowed; }
body .b2b-account-drawer .b2b-menu-lock { width: 14px; height: 14px; stroke: currentColor; }
body .b2b-account-drawer .b2b-menu-order-notice { display: flex; gap: 10px; padding: 12px; border-bottom: 1px solid #eee; margin-bottom: 14px; color: #555; font-size: 12px; line-height: 1.6; }
body .b2b-account-drawer .b2b-menu-order-notice > svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
body .b2b-account-drawer .b2b-menu-order-notice a { display: inline-block; margin-top: 8px; color: #111; text-decoration: underline; font-weight: 600; }
body .b2b-account-drawer .b2b-menu-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid #eee; background: #fff; font-size: 12px; line-height: 1.5; }
body .b2b-account-drawer .b2b-menu-footer p { min-width: 0; overflow-wrap: anywhere; color: #777; margin: 0; }
body .b2b-account-drawer .b2b-menu-footer strong { color: #222; font-weight: 600; }
body .b2b-account-drawer .b2b-menu-footer a { display: inline-flex; gap: 8px; align-items: center; color: #222; font-weight: 600; flex-shrink: 0; }
body .b2b-account-drawer .b2b-menu-footer a svg { width: 18px; height: 18px; stroke: currentColor; }
body .b2b-account-drawer a:focus-visible,
body .b2b-account-drawer button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
body .mobile-navbar .b2b-mobile-account-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; color: #111; background: #fff; }
body .mobile-navbar .b2b-mobile-account-link > svg { width: 18px; height: 18px; }
body .mobile-navbar .b2b-mobile-account-link + .navbar-dropdown { display: none !important; }
@media (prefers-reduced-motion: reduce) { body .shop-quickview.b2b-account-drawer { transition: none; } }
body .b2b-catalog-page #shop-grid.section { padding: 24px 32px 100px; max-width: 1440px; margin: 0 auto; }
body .b2b-catalog-page #shop-grid > .container { width: 100%; max-width: none; }
body .b2b-catalog-page .b2b-catalog-context { max-width: 1440px; width: 100%; padding: 20px 32px 0; }
body .b2b-catalog-page .b2b-catalog-context .current-catalog-info-container { margin: 0 !important; gap: 16px; }
body .b2b-catalog-page .b2b-catalog-context .current-catalog-info { background: transparent; color: #333; padding: 0; min-height: 36px; width: auto; flex: 0 1 auto; gap: 12px; }
body .b2b-catalog-page .b2b-catalog-context .messaggio-pre-banner,
body .b2b-catalog-page .b2b-catalog-context .column.is-2,
body .b2b-catalog-page .b2b-catalog-context .only-mobile-cart { display: none !important; }
body .b2b-catalog-page .b2b-catalog-context .is-size-5 { font-size: 14px !important; color: #333; }
body .b2b-catalog-page .b2b-catalog-context .button { margin: 0; min-height: 34px; height: auto; font-size: 12px; background: #fff; border-color: #ddd; }
body .b2b-catalog-page .category-header { margin: 0 0 22px; padding: 0; align-items: flex-end; gap: 16px; }
body .b2b-catalog-page .category-header > .main-column { padding: 0; margin: 0 !important; position: static; min-width: 0; }
body .b2b-catalog-page #catalog-container .category-title { padding: 0; margin: 0 !important; align-items: flex-start; text-align: left; }
body .b2b-catalog-page #catalog-container .category-title h2 { margin: 0; }
body .b2b-catalog-page .category-title h2 { font-size: 28px; line-height: 1.3; font-weight: 700; color: #171717; overflow-wrap: anywhere; }
body .b2b-catalog-page .breadcrumb-container { font-size: 13px; color: #757575; line-height: 1.7; margin-bottom: 14px; }
body .b2b-catalog-page .breadcrumb-container .breadcrumb { display: inline; font-size: 13px; line-height: 1.5; color: #666; background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0; box-shadow: none; height: auto; min-height: 0; }
body .b2b-catalog-page .b2b-catalog-count { font-size: 13px; color: #6c6c6c; margin-top: 10px; }
body .b2b-catalog-page .search-results-count:empty::before { content: '0'; }
body .b2b-catalog-page .listing-controls { padding: 0; align-self: flex-end; }
body .b2b-catalog-page .layout-controls { display: flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid #e1e1e1; border-radius: 6px; }
body .b2b-catalog-page .layout-controls a { display: block; }
body .b2b-catalog-page .layout-controls span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 4px; color: #666; }
body .b2b-catalog-page .layout-controls span.is-active { background: #111; color: var(--b2b-accent); }
body .b2b-catalog-page .layout-controls svg { width: 18px; height: 18px; stroke: currentColor !important; }
body .b2b-catalog-page #search-filters-menubar { margin: 0 0 16px; padding: 0; min-width: 0; }
body .b2b-catalog-page #search-filters-menubar .navbar { min-height: 0; background: transparent; }
body .b2b-catalog-page #search-filters-menubar:empty { display: none; }
body .b2b-catalog-page .remove-filter-button { background: color-mix(in srgb, var(--b2b-accent) 20%, white); color: #333; border-radius: 6px; box-shadow: none; font-size: 12px; margin: 0 8px 8px 0; }
body .b2b-catalog-page #search-filters-menubar .more-filters > a.remove-filter-button { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; white-space: normal; }
body .b2b-catalog-page #search-filters-menubar .filter-query-label { min-width: 0; overflow-wrap: anywhere; }
body .b2b-catalog-page #search-filters-menubar .remove-filter-button:hover,
body .b2b-catalog-page #search-filters-menubar .remove-filter-button:focus-visible { background: #111 !important; color: #fff !important; }
body .b2b-catalog-page #search-filters-menubar .remove-filter-button i { color: inherit !important; opacity: 1; flex-shrink: 0; margin-left: 0; }
body .b2b-catalog-page #search-results.is-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; margin: 0; padding: 0; min-width: 0; }
body .b2b-catalog-page #search-results.is-product-grid > .item-box-catalog { width: auto; min-width: 0; padding: 0; display: flex; }
body .b2b-catalog-page #search-results.is-product-grid .flat-card { width: 100%; border: 1px solid #e2e2e2; border-radius: 8px; box-shadow: none; margin: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; height: auto; max-height: none; }
/* Le card della stessa riga condividono le altezze di contenuto e fascia azioni,
   anche quando un prodotto non ha prezzo o controlli di acquisto. */
@supports (grid-template-rows: subgrid) {
  body .b2b-catalog-page #search-results.is-product-grid > .item-box-catalog {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  body .b2b-catalog-page #search-results.is-product-grid > .item-box-catalog > .flat-card {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  body .b2b-catalog-page #search-results.is-product-grid > .item-box-catalog > .flat-card > .product-details-link { grid-row: 1; }
  body .b2b-catalog-page #search-results.is-product-grid > .item-box-catalog > .flat-card > .grid-list-actions { grid-row: 2; margin-top: 0; align-self: stretch; }
}
body .b2b-catalog-page #search-results.is-product-grid .product-details-link { display: flex; flex-direction: column; flex: 1; color: #222; min-width: 0; }
body .b2b-catalog-page #search-results.is-product-grid .flat-card:hover { border-color: #999; transform: none; }
body .b2b-catalog-page #search-results.is-product-grid .image { position: relative; aspect-ratio: 1.25 / 1; width: 100%; height: auto; padding: 0; background: #fff; border-bottom: 1px solid #eee; margin: 0; }
body .b2b-catalog-page #search-results.is-product-grid .image img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; padding: 12px; }
body .b2b-catalog-page #search-results.is-product-grid .product-info { display: flex; flex-direction: column; align-items: stretch; text-align: left !important; padding: 16px; flex: 1; min-height: 242px; }
body .b2b-catalog-page #search-results.is-product-grid .product-name { font-size: 12px; line-height: 1.5; color: #666; margin: 0 0 8px; min-height: 0; }
body .b2b-catalog-page #search-results.is-product-grid .product-code { color: #6c6c6c; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
body .b2b-catalog-page #search-results.is-product-grid .product-description { font-size: 14px; line-height: 1.5; font-weight: 600; color: #222; height: auto; min-height: 63px; max-height: none; white-space: normal; overflow: visible; display: block; margin: 0 0 14px; overflow-wrap: anywhere; }
body .b2b-catalog-page #search-results.is-product-grid .product-last-order-info { font-size: 12px; color: #666; margin: 0; line-height: 1.5; }
body .b2b-catalog-page #search-results.is-product-grid .card-info-prices { margin-top: auto; border: 0; padding-top: 8px; }
body .b2b-catalog-page #search-results.is-product-grid .product-price { font-size: 18px; line-height: 1.5; color: #111; margin: 0; white-space: normal; }
body .b2b-catalog-page #search-results.is-product-grid .b2b-price-net-only .list-pricing-title,
body .b2b-catalog-page #search-results.is-product-grid .b2b-price-net-only .list-price-head,
body .b2b-catalog-page #search-results.is-product-grid .b2b-price-net-only .price-col-gross,
body .b2b-catalog-page #search-results.is-product-grid .b2b-price-net-only .price-col-discount { display: none; }
body .b2b-catalog-page #search-results.is-product-grid .b2b-price-net-only .list-price-values { display: flex; flex-wrap: wrap; gap: 2px 8px; border: 0; padding: 0; }
body .b2b-catalog-page #search-results.is-product-grid .b2b-price-net-only .price-col-net { width: 100%; flex-basis: 100%; min-width: 0; font-weight: 700; font-size: 18px; line-height: 1.5; text-align: left; white-space: normal; }
body .b2b-catalog-page #search-results.is-product-grid .b2b-price-net-only .price-col-taxable-row { display: flex; gap: 4px; justify-content: flex-start; border: 0; margin: 0; padding: 0; text-align: left; }
body .b2b-catalog-page #search-results.is-product-grid .b2b-price-net-only .price-col-taxable-label { font-weight: 400; }
body .b2b-catalog-page #search-results.is-product-grid .price-col-taxable-row { color: #777; font-size: 11px; text-align: left; }
body .b2b-catalog-page #search-results.is-product-grid .b2b-product-open { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--b2b-accent) 20%, white); color: #222; border-radius: 5px; padding: 10px 12px; margin-top: 14px; }
body .b2b-catalog-page #search-results.is-product-grid .b2b-product-open svg { width: 16px; height: 16px; flex-shrink: 0; }
html[data-client="aki"] body .b2b-catalog-page #search-results.is-product-grid .b2b-product-open { background: var(--b2b-accent); color: #111; }
/* Nei listati per famiglia l'acquisto avviene nel dettaglio: niente fascia vuota.
   Allegati o altre azioni eventualmente presenti restano comunque visibili. */
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions.is-family-listing:not(:has(button, input, a)) { display: none; }
body .b2b-catalog-page #search-results > nav.pagination { grid-column: 1 / -1; }
body .b2b-catalog-page #search-results > p { grid-column: 1 / -1; }
body .b2b-catalog-page .b2b-listing-empty { padding: 40px 0; border-top: 1px solid #ddd; color: #666; font-size: 15px; }
body .b2b-catalog-page .b2b-catalog-filters { display: none; }
body .b2b-catalog-page #search-results.is-product-list { margin: 0; padding: 0; min-width: 0; }
body .b2b-catalog-page #search-results.is-product-list > .item-box-catalog { padding: 0; margin-bottom: 16px; min-width: 0; }
body .b2b-catalog-page #search-results.is-product-list .flat-card { margin: 0; }
body .b2b-catalog-page #search-results.is-product-list .product-description-pre { white-space: normal; overflow: visible; text-overflow: clip; height: auto; line-height: 1.5; overflow-wrap: anywhere; }
body .b2b-catalog-page #search-results.is-product-list .card-product-right:not(:has(button, input, a)) { display: none; }
body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre:has(> .card-product-right:not(:has(button, input, a))) > .is-list-item { width: 100%; }
body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre { padding: 18px 20px !important; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; container-type: inline-size; }
body .b2b-catalog-page #search-results.is-product-list .product-description-pre { font-size: 14px; font-weight: 600; color: #222; margin: 0 0 16px; padding: 0; }
body .b2b-catalog-page #search-results.is-product-list .is-list-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: start; height: auto; }
body .b2b-catalog-page #search-results.is-product-list .is-list-item > span.image { width: 112px; height: 100px; min-height: 0; margin: 0 !important; }
body .b2b-catalog-page #search-results.is-product-list .is-list-item > .product-info { width: 100%; min-width: 0; padding: 0 !important; }
body .b2b-catalog-page #search-results.is-product-list .list-details-layout { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 1.6fr); gap: 24px; align-items: start; min-width: 0; }
body .b2b-catalog-page #search-results.is-product-list .list-info-main { min-width: 0; }
body .b2b-catalog-page #search-results.is-product-list .product-name { margin: 0; font-size: 13px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
html[data-client="aki"] body .b2b-catalog-page .b2b-product-availability { display: flex; align-items: center; gap: 6px; margin: 6px 0 12px; font-size: 12px; line-height: 1.5; font-weight: 400; text-align: left; grid-column: 1; }
html[data-client="aki"] body .b2b-catalog-page .b2b-product-availability.is-available { color: #287a4b; }
html[data-client="aki"] body .b2b-catalog-page .b2b-product-availability.is-unavailable { color: #bc3038; }
html[data-client="aki"] body .b2b-catalog-page .b2b-product-availability[hidden],
html[data-client="aki"] body .b2b-catalog-page [data-catalog-available]:empty { display: none !important; }
html[data-client="aki"] body .b2b-catalog-page #search-results.is-product-list .b2b-product-availability { grid-row: 2; }
html[data-client="aki"] body .b2b-catalog-page #search-results.is-product-list .b2b-product-availability + .is-list-item { grid-row: 3; }
html[data-client="aki"] body .b2b-catalog-page .b2b-availability-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: currentColor; }
html[data-client="aki"] body .b2b-catalog-page #search-results.is-product-list .product-description-pre:has(+ .b2b-product-availability) { margin-bottom: 0; }
html[data-client="aki"] body .b2b-typesense.b2b-typesense-grid #search-results .b2b-product-availability { order: 2; padding: 0 16px; margin: 8px 0 0; }
body .b2b-catalog-page #search-results.is-product-list .product-label { font-size: 12px; font-weight: 400; color: #777; display: block; }
body .b2b-catalog-page #search-results.is-product-list .product-code { font-size: 14px; line-height: 1.6; font-weight: 600; }
body .b2b-catalog-page #search-results.is-product-list .list-info-prices { min-width: 0; width: 100%; padding: 0 0 0 24px; border-left: 1px solid #e5e5e5; }
body .b2b-catalog-page #search-results.is-product-list .list-pricing-title { font-size: 12px; margin: 0 0 10px; color: #555; }
body .b2b-catalog-page #search-results.is-product-list .list-price-head,
body .b2b-catalog-page #search-results.is-product-list .list-price-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; min-width: 0; margin: 0; }
body .b2b-catalog-page #search-results.is-product-list .list-price-head { font-size: 12px; line-height: 1.5; margin-bottom: 6px; color: #777; }
body .b2b-catalog-page #search-results.is-product-list .list-price-head > span { min-width: 0; width: 100%; overflow-wrap: anywhere; }
body .b2b-catalog-page #search-results.is-product-list .list-price-values > span { min-width: 0; width: 100%; white-space: normal; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
body .b2b-catalog-page #search-results.is-product-list .list-price-values .price-col-net { font-weight: 700; color: #111; }
body .b2b-catalog-page #search-results.is-product-list .list-price-values .total-price-row { min-width: 0; white-space: normal; }
body .b2b-catalog-page #search-results.is-product-list .b2b-price-net-only .list-pricing-title,
body .b2b-catalog-page #search-results.is-product-list .b2b-price-net-only .price-col-gross,
body .b2b-catalog-page #search-results.is-product-list .b2b-price-net-only .price-col-discount,
body .b2b-catalog-page #search-results.is-product-list .b2b-price-net-only .list-price-head .price-col-taxable { display: none !important; }
body .b2b-catalog-page #search-results.is-product-list .b2b-price-net-only .list-price-head,
body .b2b-catalog-page #search-results.is-product-list .b2b-price-net-only .list-price-values { grid-template-columns: minmax(0, 1fr); }
body .b2b-catalog-page #search-results.is-product-list .b2b-price-net-only .list-price-values .price-col-net { font-size: 18px; }
body .b2b-catalog-page #search-results.is-product-list .b2b-price-net-only .list-price-values .price-col-taxable:not(:has(.total-price-row:not(:empty), small)) { display: none !important; }
@container (max-width: 760px) {
    body .b2b-catalog-page #search-results.is-product-list .list-details-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    body .b2b-catalog-page #search-results.is-product-list .list-info-prices { border-left: 0; border-top: 1px solid #eee; padding: 12px 0 0; }
}
@media screen and (max-width: 767px) {
    body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre { padding: 16px !important; }
    body .b2b-catalog-page #search-results.is-product-list .is-list-item { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
    body .b2b-catalog-page #search-results.is-product-list .is-list-item > span.image { width: 80px; height: 80px; }
}
body .b2b-listing-filters #search-form .filter-title,
body .b2b-listing-filters #search-form .filter-name { color: #333; font-size: 13px; font-weight: 600; text-transform: none; margin: 20px 0 12px; padding-bottom: 10px; border-color: #eee; }
body .b2b-listing-filters #search-form .filter-title:after,
body .b2b-listing-filters #search-form .filter-name:after { display: none; }
body .b2b-listing-filters > .inner > h3 { font-size: 16px !important; text-transform: none !important; }
body .b2b-listing-filters .b2b-apply-filters { width: 100%; min-height: 40px; margin-top: 20px; background: #111; border: 1px solid #111; color: #fff; border-radius: 6px; font-size: 13px; }
body .b2b-listing-filters .b2b-apply-filters:hover { background: #333; color: #fff; }
@media screen and (min-width: 1024px) {
    body .b2b-catalog-page .b2b-catalog-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); column-gap: 24px; align-items: start; }
    body .b2b-catalog-page .b2b-catalog-layout > .category-header { grid-column: 1 / -1; }
    body .b2b-catalog-page .b2b-catalog-layout > #search-filters-menubar,
    body .b2b-catalog-page .b2b-catalog-layout > #search-results { grid-column: 2; }
    body .b2b-catalog-page .b2b-catalog-filters { display: block; grid-column: 1; grid-row: 2 / span 3; min-width: 0; }
    body .b2b-catalog-page .b2b-catalog-filters .category-quickview { position: static; transform: none; width: 100%; max-width: none; height: auto; padding: 0; border: 1px solid #e2e2e2; border-radius: 8px; box-shadow: none; background: #fff; opacity: 1; visibility: visible; }
    body .b2b-catalog-page .b2b-catalog-filters .category-quickview .inner { height: auto !important; max-height: none; padding: 20px !important; overflow: visible !important; }
    body .b2b-catalog-page .b2b-catalog-filters .slimScrollDiv { height: auto !important; overflow: visible !important; width: 100% !important; }
    body .b2b-catalog-page .b2b-catalog-filters .slimScrollBar,
    body .b2b-catalog-page .b2b-catalog-filters .slimScrollRail,
    body .b2b-catalog-page .b2b-catalog-filters #quickview-trigger { display: none !important; }
    body .b2b-catalog-page .b2b-catalog-filters h3 { margin: 0 0 20px !important; padding: 0 !important; font-size: 16px !important; text-transform: none !important; }
    body .b2b-catalog-page .b2b-catalog-filters #search-form { padding: 0; max-height: none; overflow: visible; }
    body .b2b-catalog-page .b2b-catalog-filters #search-form .filter-title,
    body .b2b-catalog-page .b2b-catalog-filters #search-form .filter-name { color: #333; font-size: 13px; font-weight: 600; text-transform: none; margin: 20px 0 12px; padding-bottom: 10px; border-color: #eee; }
    body .b2b-catalog-page .b2b-catalog-filters #search-form .filter-title:after,
    body .b2b-catalog-page .b2b-catalog-filters #search-form .filter-name:after { display: none; }
    body .b2b-catalog-page .b2b-catalog-filters #search-form .filter-title:first-child { margin-top: 0; }
    body .b2b-catalog-page .b2b-catalog-filters .columns { margin: 0; display: block; }
    body .b2b-catalog-page .b2b-catalog-filters .column { padding: 0; }
    body .b2b-catalog-page .b2b-catalog-filters input.input { height: 38px; font-size: 12px; margin: 0 0 8px; border: 1px solid #d5d5d5; border-radius: 5px; width: 100%; }
    body .b2b-catalog-page .b2b-catalog-filters .control label { font-size: 12px; font-weight: 400; color: #444; }
}
@media screen and (min-width: 1600px) {
    body .b2b-catalog-page #search-results.is-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media screen and (max-width: 1023px) {
    body .b2b-catalog-page #search-results.is-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body .b2b-catalog-page #shop-grid.section { padding: 20px 16px 100px; }
    body .b2b-catalog-page .b2b-catalog-context { padding: 16px 16px 0; }
    body .b2b-catalog-page .category-title h2 { font-size: 24px; }
    body .b2b-catalog-page .category-header { flex-wrap: wrap; }
    body .b2b-catalog-page .category-header > .main-column { flex-basis: 100%; }
    body .b2b-catalog-page .listing-controls { margin-left: auto; }
    body .b2b-catalog-page #search-results.is-product-grid .product-info { padding: 12px; }
    body .b2b-catalog-page #search-results.is-product-grid .product-description { font-size: 13px; }
    body .b2b-catalog-page #search-results.is-product-grid .product-price { font-size: 16px; }
}
body .top-bar.b2b-header.double-row-top .b2b-home-search { order: -2; min-width: 0; }
body .top-bar.b2b-header.double-row-top .first-top-bar > .account-in-header { order: 1; }
body .top-bar.b2b-header.double-row-top .first-top-bar > .b2b-home-orders { order: 0; }
body .top-bar.b2b-header.double-row-top .first-top-bar > .cart-in-header { order: 2; }
body .top-bar.b2b-header.double-row-top .first-top-bar > .left-divider:not(.cart-in-header) { order: 3; }
body .top-bar.b2b-header.double-row-top .account-in-header #open-shop,
body .top-bar.b2b-header.double-row-top .b2b-home-orders > a,
body .top-bar.b2b-header.double-row-top #open-cart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: transparent;
    color: #222;
    font-size: 12px;
    border: 0;
    position: relative;
}
body .top-bar.b2b-header.double-row-top #open-cart #cart-count {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    margin: 0;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    background: var(--b2b-accent);
    color: var(--b2b-accent-ink, #111);
}
body .top-bar.b2b-header.double-row-top #open-shop svg,
body .top-bar.b2b-header.double-row-top #open-cart svg,
body .top-bar.b2b-header.double-row-top .b2b-home-orders svg { width: 22px; height: 22px; }
body .top-bar.b2b-header.double-row-top .second-top-bar > .b2b-home-categories-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--b2b-accent-ink, #111);
    background: var(--b2b-accent);
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 600;
}
body .top-bar.b2b-header.double-row-top .b2b-home-categories-button svg { width: 18px; height: 18px; }
body .top-bar.b2b-header.double-row-top #search-items-navbar input { height: 46px; border-radius: 6px 0 0 6px !important; }
body .top-bar.b2b-header.double-row-top #search-items-navbar button { height: 46px; border-radius: 0 6px 6px 0 !important; }
@media screen and (min-width: 1024px) {
    body .top-bar.b2b-header {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-rows: 76px 48px;
        column-gap: 24px;
        height: 125px;
        padding: 0 max(24px, calc((100% - 1440px) / 2 + 32px));
        background: #fff;
        border-bottom: 1px solid #e3e3df;
        box-shadow: none;
    }
    body .top-bar.b2b-header.double-row-top .navbar-right-container { display: contents; }
    body .top-bar.b2b-header.double-row-top .navbar-logo-container {
        grid-column: 1;
        grid-row: 1;
        width: 112px;
        min-width: 0;
        height: 76px;
        border: 0;
    }
    body .top-bar.b2b-header.double-row-top .navbar-item.logo-place { padding: 0; display: flex; align-items: center; }
    body .top-bar.b2b-header.double-row-top .navbar-item.logo-place > a.is-flex { display: flex !important; align-items: center; justify-content: flex-start; }
    body .top-bar.b2b-header.double-row-top .navbar-item img.brand-logo { width: 104px; max-height: 60px; object-fit: contain; }
    body .top-bar.b2b-header.double-row-top .first-top-bar {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        height: 76px;
        border: 0;
        background: #fff;
        align-items: center;
        gap: 12px;
    }
    body .top-bar.b2b-header.double-row-top .first-top-bar > .navbar-item { padding: 0; border: 0; flex: 0 0 auto; }
    body .top-bar.b2b-header.double-row-top .first-top-bar > .b2b-home-search { flex: 1 1 0 !important; padding-right: 8px; }
    body .top-bar.b2b-header.double-row-top .b2b-home-search .content-form,
    body .top-bar.b2b-header.double-row-top .b2b-home-search .easy-autocomplete { min-width: 0; width: 100% !important; }
    body .top-bar.b2b-header.double-row-top .first-top-bar #search-items-navbar { min-width: 0; width: 100%; height: 46px; margin: 0; padding: 0; position: relative; }
    body .top-bar.b2b-header.double-row-top #search-items-navbar input[type="text"] { width: 100%; padding-left: 16px; font-size: 14px; border-color: #737373; }
    body .top-bar.b2b-header.double-row-top .first-top-bar #search-items-navbar button { top: 0; right: 0; width: 48px; padding: 0; }
    body .top-bar.b2b-header.double-row-top .account-in-header #open-shop,
    body .top-bar.b2b-header.double-row-top .b2b-home-orders > a,
    body .top-bar.b2b-header.double-row-top #open-cart { min-width: 60px; height: 54px; padding: 4px 8px; border-radius: 6px; }
    body .top-bar.b2b-header.double-row-top .account-in-header #open-shop:hover,
    body .top-bar.b2b-header.double-row-top .b2b-home-orders > a:hover,
    body .top-bar.b2b-header.double-row-top #open-cart:hover { background: #f3f3f1; color: #111; }
    body .top-bar.b2b-header.double-row-top .b2b-header-order-action > a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 10px 14px; border-radius: 6px; font-size: 13px !important; white-space: nowrap; }
    body .top-bar.b2b-header.double-row-top .b2b-header-order-action > a svg { width: 18px; height: 18px; }
    body .top-bar.b2b-header #new-order-modal-trigger { min-height: 42px; border-radius: 6px; padding: 10px 16px; background: var(--b2b-accent); border: 1px solid var(--b2b-accent); color: var(--b2b-accent-ink, #111); }
    body .top-bar.b2b-header #new-order-modal-trigger:hover { background: #111; border-color: #111; color: #fff; }
    body .top-bar.b2b-header.double-row-top .second-top-bar {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        align-items: center;
        gap: 20px;
        height: 48px;
        min-width: 0;
        padding: 0;
        border: 0;
        text-align: left;
    }
    body .top-bar.b2b-header.double-row-top .second-top-bar > .b2b-home-categories-button { flex: 0 0 auto; min-height: 36px; padding: 8px 14px; font-size: 13px; }
    body .top-bar.b2b-header.double-row-top .second-top-bar > .b2b-home-categories-button:hover { background: color-mix(in srgb, var(--b2b-accent) 85%, black); }
    body .top-bar.b2b-header.double-row-top .second-top-bar > .horizontal-carousel-menu-list { flex: 1 1 0; min-width: 0; margin: 0 24px 0 0; }
    body .top-bar.b2b-header.double-row-top .second-top-bar .navbar-item { padding: 0 8px; }
    body .top-bar.b2b-header.double-row-top .second-top-bar a.nav-item { display: inline-block; font-size: 12px; line-height: 1.4; padding: 8px 4px; border-radius: 4px; }
    body .top-bar.b2b-header.double-row-top .second-top-bar a.nav-item:hover { background: #f3f3f1; color: #111; }
    body .top-bar.b2b-header.double-row-top .second-top-bar .menu-scroll-right { right: -26px; }
    body .top-bar.b2b-header.double-row-top .second-top-bar .menu-scroll-left { left: -20px; }
    body .top-bar.b2b-header.double-row-top .action-bar { margin: 0; }
}
/* Anchor navigation must scroll the inner page, not its hidden outer body. */
body:has(> .shop-wrapper.b2b-homepage) {
    display: flow-root;
    overflow: clip;
}
body .b2b-homepage {
    background: #f5f5f3;
    padding-bottom: 100px;
}
body .b2b-homepage .b2b-home-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 32px 48px;
    color: #171717;
}
body .b2b-homepage svg { flex-shrink: 0; }
body .b2b-homepage .b2b-home-context .current-catalog-info-container {
    margin: 0 0 18px !important;
    gap: 12px;
    align-items: center;
}
body .b2b-homepage .b2b-home-context .current-catalog-info {
    background: transparent;
    color: #333;
    border: 0;
    padding: 0;
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    gap: 12px;
    min-height: 36px;
}
body .b2b-homepage .b2b-home-context .messaggio-pre-banner {
    display: none;
}
body .b2b-homepage .b2b-home-context .current-catalog-info > .is-size-5,
body .b2b-homepage .b2b-home-context .contenitore-catalog-name .is-size-5 {
    font-size: 14px !important;
    font-weight: 600;
    color: #333;
}
body .b2b-homepage .b2b-home-context .column.is-2,
body .b2b-homepage .b2b-home-context .only-mobile-cart { display: none !important; }
body .b2b-homepage .b2b-home-context .button.accent-button {
    margin: 0;
    background: #fff;
    border: 1px solid #ddd;
    color: #222;
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
}
body .b2b-homepage .b2b-home-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 42px;
}
body .b2b-homepage .b2b-home-welcome {
    background: #111;
    border-top: 4px solid var(--b2b-accent);
    border-radius: 8px;
    padding: 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}
body .b2b-homepage .b2b-home-welcome-content { display: flex; flex-direction: column; }
body .b2b-homepage .b2b-home-welcome.has-banner { position: relative; isolation: isolate; overflow: hidden; border-top: 0; background: transparent; }
body .b2b-homepage .b2b-home-welcome.has-banner::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(0 0 0 / 82%), rgb(0 0 0 / 55%) 65%, rgb(0 0 0 / 20%)); pointer-events: none; }
body .b2b-homepage .b2b-home-welcome.has-banner .b2b-home-welcome-content { position: relative; z-index: 2; }
body .b2b-homepage .b2b-home-welcome-media { position: absolute; inset: 0; z-index: 0; background: transparent; }
body .b2b-homepage .b2b-home-welcome-media :is(.lSSlideOuter, .lSSlideWrapper, #lightSlider, li) { height: 100% !important; margin: 0; padding: 0; }
body .b2b-homepage .b2b-home-welcome-media :is(.lSSlideOuter, .lSSlideWrapper, #lightSlider) { width: 100% !important; background: transparent; }
body .b2b-homepage .b2b-home-welcome-media #lightSlider,
body .b2b-homepage .b2b-home-welcome-media #lightSlider li { max-height: none; }
body .b2b-homepage .b2b-home-welcome-media img,
body .b2b-homepage .b2b-home-welcome-media #lightSlider img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; background: transparent; }
body .b2b-homepage .b2b-home-eyebrow {
    color: var(--b2b-accent);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
body .b2b-homepage h1 {
    color: #fff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 14px;
    overflow-wrap: anywhere;
}
body .b2b-homepage .b2b-home-welcome p {
    font-size: 15px;
    line-height: 1.6;
    color: #c6c6c6;
    max-width: 460px;
    margin: 0;
}
body .b2b-homepage .b2b-home-welcome small {
    color: #bdbdbd;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 20px;
}
body .b2b-homepage .b2b-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
body .b2b-homepage .b2b-home-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    height: auto;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: normal;
    text-align: left;
}
body .b2b-homepage .b2b-home-actions svg { width: 18px; height: 18px; }
body .b2b-homepage .b2b-home-primary { background: var(--b2b-accent); color: var(--b2b-accent-ink, #111); border: 1px solid var(--b2b-accent); }
body .b2b-homepage .b2b-home-secondary { background: transparent; color: #fff; border: 1px solid #555; }
body .b2b-homepage .b2b-home-primary:hover { background: #fff; border-color: #fff; }
body .b2b-homepage .b2b-home-secondary:hover { background: #2c2c2c; color: #fff; }
body .b2b-homepage .b2b-home-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body .b2b-homepage .b2b-home-shortcut {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 18px 20px;
    min-width: 0;
    color: #222;
}
body .b2b-homepage a.b2b-home-shortcut:hover { border-color: #9b9b9b; background: color-mix(in srgb, var(--b2b-accent) 7%, white); }
body .b2b-homepage .b2b-home-shortcut strong { font-size: 14px; line-height: 1.35; }
body .b2b-homepage .b2b-home-shortcut > span:not(.b2b-home-icon) { font-size: 12px; color: #727272; line-height: 1.4; padding-right: 16px; }
body .b2b-homepage .b2b-home-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: color-mix(in srgb, var(--b2b-accent) 20%, white); color: #29291c; }
body .b2b-homepage .b2b-home-icon svg { width: 20px; height: 20px; }
body .b2b-homepage .b2b-home-icon-calendar { background: #fceeee; color: #9a4545; }
body .b2b-homepage .b2b-home-shortcut-arrow { width: 16px; height: 16px; position: absolute; bottom: 20px; right: 16px; }
body .b2b-homepage .b2b-home-shortcut.is-unavailable { background: #fafafa; }
body .b2b-homepage .b2b-home-shortcut.is-unavailable .b2b-home-shortcut-arrow { color: #767676; }
body .b2b-homepage .b2b-home-catalog { scroll-margin-top: 20px; }
body .b2b-homepage .b2b-home-section-heading { display: flex; justify-content: space-between; margin-bottom: 18px; }
body .b2b-homepage .b2b-home-section-heading h2 { font-size: 26px; line-height: 1.3; font-weight: 700; color: #171717; margin: 0 0 4px; }
body .b2b-homepage .b2b-home-section-heading p { color: #6b6b6b; font-size: 13px; }
body .b2b-homepage .b2b-home-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
body .b2b-homepage .b2b-home-category { grid-column: span clamp(1, var(--home-block-columns, 3), 12); border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
body .b2b-homepage .b2b-home-category-link { display: flex; flex-direction: column; flex: 1 1 auto; color: #1c1c1c; }
body .b2b-homepage .b2b-home-category-link:hover { color: #111; background: #fafafa; }
body .b2b-homepage .b2b-home-category-media { position: relative; aspect-ratio: 1.4 / 1; background: #fff; overflow: hidden; display: grid; place-items: center; flex-shrink: 0; }
body .b2b-homepage .b2b-home-category-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
body .b2b-homepage .b2b-home-category-media > svg { width: 56px; height: 56px; color: #555; }
body .b2b-homepage .b2b-home-number { position: absolute; top: 12px; left: 12px; background: #111; color: var(--b2b-accent); border-radius: 4px; padding: 3px 6px; font-size: 11px; line-height: 1.4; z-index: 1; }
body .b2b-homepage .b2b-home-category-caption { border-top: 1px solid #eee; display: flex; align-items: center; flex: 1 1 auto; gap: 12px; padding: 16px; min-height: 92px; }
body .b2b-homepage .b2b-home-category-caption h3 { font-size: 14px; line-height: 1.45; font-weight: 600; color: inherit; margin: 0; flex: 1; overflow-wrap: anywhere; }
body .b2b-homepage .b2b-home-category-arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--b2b-accent); display: grid; place-items: center; flex-shrink: 0; color: #111; }
body .b2b-homepage .b2b-home-category-arrow svg { width: 16px; height: 16px; }
body .b2b-homepage .b2b-home-category details { margin: 0; border-top: 1px solid #eee; background: #fff; color: #333; }
body .b2b-homepage .b2b-home-category summary { cursor: pointer; padding: 10px 16px; font-size: 12px; color: #555; }
body .b2b-homepage .b2b-home-category details ul { padding: 0 16px 14px; margin: 0; list-style: none; }
body .b2b-homepage .b2b-home-category details li a { display: block; padding: 8px; color: #333; font-size: 12px; line-height: 1.5; }
body .b2b-homepage .b2b-home-category details li a:hover { background: #111; color: #fff; }
body .b2b-homepage .b2b-home-icon svg,
body .b2b-homepage .b2b-home-category-arrow svg,
body .b2b-homepage .b2b-home-actions svg { stroke: currentColor; }
body .b2b-homepage .b2b-home-banners { margin: 0 0 32px; }
body .b2b-homepage .b2b-home-banners img { display: block; width: 100%; max-height: 360px; object-fit: contain; }
body .b2b-homepage .b2b-home-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: 32px; border: 1px solid #e5e5e5; border-radius: 10px; overflow: hidden; background: #fff; }
body .b2b-homepage .b2b-home-feature { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 18px 20px; box-shadow: 1px 0 #e5e5e5, 0 1px #e5e5e5; color: #222; }
body .b2b-homepage .b2b-home-feature > svg { width: 22px; height: 22px; flex: 0 0 22px; stroke: currentColor; }
body .b2b-homepage .b2b-home-feature > div { min-width: 0; overflow-wrap: anywhere; }
body .b2b-homepage .b2b-home-feature strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; }
body .b2b-homepage .b2b-home-feature p { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: #777; }
body .b2b-catalog-page #search-results.is-product-list .flat-card > .card-product-right:has(button, input, a) { grid-column: 1; grid-row: 3; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; width: 100%; padding: 16px; margin-top: 16px; border: 0; background: #e3e3e3; }
@media screen and (min-width: 1024px) {
  body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre:has(> .card-product-right input, > .card-product-right button, > .card-product-right a) {
    grid-template-columns: minmax(0, 1fr) 220px;
    padding: 0 !important;
  }
  body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre:has(> .card-product-right input, > .card-product-right button, > .card-product-right a) > .product-description-pre {
    padding: 16px 18px 0;
    margin-bottom: 12px;
  }
  body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre:has(> .card-product-right input, > .card-product-right button, > .card-product-right a) > .is-list-item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
    padding: 0 18px 16px;
  }
  body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre:has(> .card-product-right input, > .card-product-right button, > .card-product-right a) .is-list-item > span.image { width: 80px; height: 80px; }
  body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre:has(> .card-product-right input, > .card-product-right button, > .card-product-right a) .list-details-layout { grid-template-columns: minmax(120px, .8fr) minmax(0, 1.6fr); gap: 16px; }
  body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre:has(> .card-product-right input, > .card-product-right button, > .card-product-right a) .list-info-prices { border-left: 1px solid #eee; border-top: 0; padding: 0 0 0 16px; }
  body .b2b-catalog-page #search-results.is-product-list .flat-card > .card-product-right:has(button, input, a) {
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    justify-content: center;
    margin: 0;
  }
  body .b2b-catalog-page #search-results.is-product-list .card-product-right .product-quantity { width: 100%; }
}
body .b2b-catalog-page #search-results.is-product-list .card-product-right .product-quantity { margin: 0; max-width: 100%; }
body .b2b-catalog-page #search-results.is-product-list .card-product-right .product-quantity label,
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions .product-quantity label { position: static; display: block; margin-bottom: 8px; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions { padding: 12px 16px; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions:has(button, input, a) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions > .product-quantity:has(input) { flex: 0 0 100%; width: 100%; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions .quantity-unit-label { width: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions .details-spinner { width: min(100%, 220px); min-width: 0; margin: 0 auto; height: 40px; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions .details-spinner .spinner-button { flex: 0 0 40px; width: 40px; height: 38px; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions .details-spinner .spinner-value { flex: 1 1 0; min-width: 0; width: 0; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions > .add-to-cart { flex: 0 0 100%; width: 100%; min-width: 0; margin: 0; justify-content: center !important; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions > .add-to-cart > .button { width: 100%; line-height: 1.3; }
/* Variante compatta dei selettori nei listati; stessa forma del carrello. */
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions { padding: 10px 16px; gap: 8px; }
body .b2b-catalog-page #search-results.is-product-grid .grid-list-actions > .product-quantity { margin: 6px 0 14px !important; }
body .b2b-catalog-page #search-results:is(.is-product-grid, .is-product-list) :is(.grid-list-actions, .card-product-right) .product-quantity { width: 100%; max-width: 160px; align-self: center; }
body .b2b-catalog-page #search-results :is(.grid-list-actions, .card-product-right) .quantity-unit-label { gap: 4px; margin-bottom: 6px; }
body .b2b-catalog-page #search-results :is(.grid-list-actions, .card-product-right) .quantity-unit-label > small { font-size: 10px; line-height: 1.4; }
body .b2b-catalog-page #search-results :is(.grid-list-actions, .card-product-right) .quantity-unit-option { padding: 4px 6px; font-size: 11px; }
body .b2b-catalog-page #search-results :is(.grid-list-actions, .card-product-right) .quantity-unit-text { font-size: 11px; }
body .b2b-catalog-page #search-results :is(.grid-list-actions, .card-product-right) .product-quantity .details-spinner { width: 100%; height: 32px; }
body .b2b-catalog-page #search-results :is(.grid-list-actions, .card-product-right) .product-quantity .details-spinner .spinner-button { flex-basis: 32px; width: 32px; height: 30px; }
body .b2b-catalog-page #search-results :is(.grid-list-actions, .card-product-right) .product-quantity .details-spinner .spinner-value { height: 30px; font-size: 13px; }
/* Componente comune: etichetta, unita' e conversione affiancate, quantita' sotto. */
body :is(#checkout #checkout-main #cart-page-products, #search-results, #product-page) .product-quantity:has(.quantity-unit-switch) { width: 240px; max-width: 100%; }
body :is(#checkout #checkout-main #cart-page-products, #search-results, #product-page) .product-quantity .quantity-unit-label { position: static; display: flex !important; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; margin-bottom: 6px; padding: 0; }
body :is(#checkout #checkout-main #cart-page-products, #search-results, #product-page) .product-quantity .quantity-unit-label > small { display: inline; font-size: 10px; white-space: nowrap; }
body :is(#checkout #checkout-main #cart-page-products, #search-results, #product-page) .product-quantity .quantity-unit-switch { display: grid; flex: 0 0 112px; width: 112px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
body :is(#checkout #checkout-main #cart-page-products, #search-results, #product-page) .product-quantity .quantity-unit-option { padding: 4px; font-size: 10px; white-space: nowrap; }
body :is(#checkout #checkout-main #cart-page-products, #search-results, #product-page) .product-quantity .quantity-unit-text { white-space: nowrap; }
body :is(#checkout #checkout-main #cart-page-products, #search-results, #product-page) .product-quantity .details-spinner { width: var(--quantity-spinner-width, 160px); max-width: 100%; margin: 0 auto; }
@media screen and (min-width: 1024px) {
  body .b2b-catalog-page #search-results.is-product-list .is-list-item-pre:has(> .card-product-right .quantity-unit-switch) { grid-template-columns: minmax(0, 1fr) 260px; }
  body .b2b-catalog-page #search-results.is-product-list .flat-card > .card-product-right:has(.quantity-unit-switch) { padding: 12px 8px; }
}
body .b2b-homepage .b2b-home-primary,
body .b2b-homepage .b2b-home-category-arrow,
body .b2b-account-drawer .b2b-menu-avatar { color: var(--b2b-accent-ink, #111); }
body .b2b-homepage .b2b-home-primary:hover { color: #111; }
body .b2b-homepage .b2b-home-eyebrow,
body .b2b-homepage .b2b-home-number,
body .b2b-account-drawer #quickview-cart-count,
body .b2b-catalog-page .layout-controls span.is-active { color: var(--b2b-highlight); }
body .b2b-account-drawer .b2b-menu-link.is-active .b2b-menu-icon { color: var(--b2b-accent-ink, #111); }
body .b2b-homepage a:focus-visible,
body .b2b-homepage summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -3px; }
@media screen and (max-width: 1100px) {
    body .b2b-homepage .b2b-home-inner { padding: 20px 24px 40px; }
    body .b2b-homepage .b2b-home-dashboard { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
    body .b2b-homepage .b2b-home-welcome { padding: 24px; }
    body .b2b-homepage h1 { font-size: 28px; }
    body .b2b-homepage .b2b-home-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
    body .b2b-homepage .b2b-home-inner { padding: 16px 16px 32px; }
    body .b2b-homepage .b2b-home-dashboard { grid-template-columns: minmax(0, 1fr); margin-bottom: 28px; }
    body .b2b-homepage .b2b-home-welcome { min-height: 250px; padding: 24px; }
    body .b2b-homepage h1 { font-size: 26px; }
    body .b2b-homepage .b2b-home-shortcut { padding: 16px; min-height: 145px; }
    body .b2b-homepage .b2b-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body .b2b-homepage .b2b-home-category { grid-column: auto; }
    body .b2b-homepage .b2b-home-category-caption { padding: 12px; align-items: flex-start; min-height: 110px; gap: 8px; }
    body .b2b-homepage .b2b-home-category-caption h3 { font-size: 13px; }
    body .b2b-homepage .b2b-home-category-arrow { width: 24px; height: 24px; }
    body .b2b-homepage .b2b-home-section-heading h2 { font-size: 22px; }
}

body .b2b-catalog-drawer[hidden] { display: none !important; }
body .b2b-catalog-drawer { position: fixed; inset: 0; z-index: 1100; }
body .b2b-catalog-drawer, body .b2b-catalog-drawer * { box-sizing: border-box; }
body .b2b-catalog-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 45%); }
body .b2b-catalog-panel { position: absolute; inset: 0 0 0 auto; width: 420px; max-width: 100%; height: 100%; height: 100dvh; background: #fff; color: #222; display: grid; grid-template-rows: auto minmax(0, 1fr); animation: b2b-catalog-enter 180ms ease-out; }
html[data-client="aki"] .b2b-catalog-panel { width: 600px; }
body .b2b-catalog-panel header { display: flex; align-items: center; gap: 12px; min-height: 96px; padding: 24px; border: 0; background: #111; color: #fff; }
body .b2b-catalog-panel h2 { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 18px; line-height: 1.4; font-weight: 600; margin: 0; color: #fff; }
body .b2b-catalog-panel header button { flex: 0 0 30px; width: 30px; height: 30px; border: 0; border-radius: 4px; background: transparent; color: #bcbcbc; display: grid; place-items: center; padding: 4px; cursor: pointer; }
body .b2b-catalog-panel header button:hover { background: #333; color: var(--b2b-accent, #fff); }
body .b2b-catalog-panel button[hidden] { display: none; }
body .b2b-catalog-panel svg { width: 20px; height: 20px; stroke: currentColor; flex-shrink: 0; }
body .b2b-catalog-level { overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px 24px; }
body .b2b-catalog-level > :is(a, button) { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-width: 0; min-height: 54px; padding: 10px 12px; margin: 0 0 4px; border: 0; border-radius: 6px; background: transparent; color: #222; font: inherit; font-size: 14px; line-height: 1.45; font-weight: 500; text-align: left; text-decoration: none; overflow-wrap: anywhere; cursor: pointer; }
body .b2b-catalog-level > :is(a, button):is(:hover, :focus-visible) { background: #111; color: #fff; box-shadow: inset 3px 0 var(--b2b-accent); }
body .b2b-catalog-level > :is(a, button):is(:hover, :focus-visible) svg { color: var(--b2b-accent); }
body .b2b-catalog-panel :is(button, a):focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
body .b2b-catalog-panel header button:focus-visible { outline-color: #fff; }
body.b2b-catalog-open .shop-wrapper { overflow: hidden; }
body .top-bar .b2b-catalog-trigger { display: inline-flex; align-items: center; gap: 8px; margin: 0 12px 0 0; min-height: 36px; padding: 8px 12px; font-size: 13px; background: #fff; color: #222; border-color: #ddd; }
body .top-bar .b2b-catalog-trigger svg { width: 18px; height: 18px; }
@keyframes b2b-catalog-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { body .b2b-catalog-panel { animation: none; } }

/* Typesense keeps its own hit renderer, using the shared catalog presentation. */
body .b2b-typesense #hits-list :is(.ais-InfiniteHits-list, .ais-Hits-list) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
body .b2b-typesense #hits-list :is(.ais-InfiniteHits-item, .ais-Hits-item) { width: 100%; min-width: 0; padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; }
body .b2b-typesense #hits-list .item-box-catalog { width: 100%; min-width: 0; padding: 0; margin: 0; border: 1px solid #e2e2e2; border-radius: 8px; overflow: hidden; background: #fff; }
body .b2b-typesense #hits-list .flat-card.product-container { width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 20px; border: 0; box-shadow: none; border-radius: 0; }
body .b2b-typesense #hits-list .product-description-pre { padding: 0; margin: 0 0 16px; font-size: 14px; line-height: 1.5; font-weight: 600; color: #222; background: transparent; white-space: normal; }
body .b2b-typesense #hits-list .is-list-item { width: 100%; min-width: 0; gap: 20px; }
body .b2b-typesense #hits-list .product-container.is-list-item-pre .is-list-item > :is(.image, .product-info) { order: 0; }
body .b2b-typesense #hits-list .product-info { min-width: 0; flex: 1; width: auto; padding: 0; }
body .b2b-typesense #hits-list .card-product-right { width: 100%; display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px 20px; margin: 0; border: 0; border-top: 1px solid #eee; background: #fafafa; }
body .b2b-typesense #hits-list .card-product-right:empty { display: none; }
body .b2b-typesense #hits-list .product-code { overflow-wrap: anywhere; }
body .b2b-typesense #hits-list .image { flex: 0 0 100px; width: 100px; height: 100px; margin: 0; }
body .b2b-typesense #hits-list .image img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
body .b2b-typesense-layout-controls button { border: 0; padding: 0; background: transparent; cursor: pointer; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results { display: block; }
body .b2b-typesense.b2b-typesense-grid #hits-list :is(.ais-InfiniteHits-list, .ais-Hits-list) { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
body .b2b-typesense.b2b-typesense-grid #hits-list :is(.ais-InfiniteHits-item, .ais-Hits-item) { display: flex; }
body .b2b-typesense.b2b-typesense-grid #hits-list .item-box-catalog { display: flex; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .flat-card.product-container { display: flex; flex-direction: column; padding: 0 !important; height: 100%; container-type: normal; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .is-list-item { display: contents; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .is-list-item > span.image { order: 0; width: 100%; height: auto; aspect-ratio: 1.25 / 1; flex: none; border-bottom: 1px solid #eee; }
body .b2b-typesense.b2b-typesense-grid #hits-list .image img { position: absolute; inset: 0; padding: 12px; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .product-description-pre { order: 1; flex: 0 0 auto; margin: 0; padding: 16px 16px 0; min-height: 79px; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .is-list-item > .product-info { order: 2; display: flex; flex: 1; padding: 12px 16px 16px !important; width: 100%; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .list-details-layout { display: flex; flex-direction: column; gap: 12px; width: 100%; flex: 1; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .list-info-prices { margin-top: auto; border: 0; padding: 12px 0 0; }
body .b2b-typesense.b2b-typesense-grid #hits-list .card-product-right { order: 3; margin-top: auto; padding: 16px; justify-content: center; }
body .b2b-typesense.b2b-typesense-grid #hits-list .card-product-right .product-quantity { width: 100%; margin: 0; }
body .b2b-typesense.b2b-typesense-grid #hits-list .card-product-right .add-to-cart { width: 100%; min-width: 0; }
body .b2b-typesense.b2b-typesense-grid #hits-list .card-product-right button.button { min-width: 0; max-width: 100%; white-space: normal; }
body .b2b-typesense.b2b-typesense-grid #hits-list .is-hidden-desktop { display: none; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .list-price-head,
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .list-price-values { gap: 6px; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .list-price-values > span { font-size: 12px; min-width: 0; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .list-price-head { font-size: 11px; }
body .b2b-catalog-page .b2b-typesense.b2b-typesense-grid #search-results .b2b-price-net-only .list-price-values > .price-col-net { font-size: 18px; }
body .b2b-typesense #search-filters-menubar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
body .b2b-typesense #search-filters-menubar[hidden] { display: none; }
body .b2b-typesense #refinements { display: flex !important; flex-wrap: wrap; min-width: 0; }
body .b2b-typesense #refinements .remove-filter-button { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; border: 0; padding: 8px 12px; font: inherit; font-size: 12px; line-height: 1.5; white-space: normal; cursor: pointer; }
body .b2b-typesense .b2b-typesense-reset { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; border: 0; background: transparent; color: #555; font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; }
body .b2b-typesense .b2b-typesense-reset svg { width: 14px; height: 14px; stroke: currentColor; }
body .b2b-typesense .b2b-typesense-reset:hover { color: #111; text-decoration: underline; }
@media screen and (min-width: 768px) and (max-width: 1100px) {
    body .b2b-typesense.b2b-typesense-grid #hits-list :is(.ais-InfiniteHits-list, .ais-Hits-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
    body .b2b-typesense.b2b-typesense-grid #hits-list :is(.ais-InfiniteHits-list, .ais-Hits-list) { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (min-width: 1024px) {
    body .b2b-typesense.b2b-catalog-layout > #pagination { grid-column: 2; }
    body .b2b-typesense .b2b-catalog-filters .filter-product { padding: 0; }
    body .b2b-typesense .b2b-catalog-filters .searchbox { margin: 0; }
    body .b2b-typesense .b2b-catalog-filters .ais-RangeInput-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
    body .b2b-typesense .b2b-catalog-filters .ais-RangeInput-label { flex: 1 1 72px; min-width: 0; }
    body .b2b-typesense .b2b-catalog-filters .ais-RangeInput-input { width: 100%; min-width: 0; max-width: 100%; }
    body .b2b-typesense .b2b-catalog-filters .ais-RangeInput-submit { flex-basis: 100%; }
    body .b2b-typesense .b2b-catalog-filters .custom-HierarchicalMenu-link { overflow-wrap: anywhere; font-size: 12px; line-height: 1.6; }
}
@media (max-width: 767px) {
    body .b2b-typesense #hits-list .flat-card.product-container { padding: 16px; }
    body .b2b-typesense #search-results.is-product-list .is-list-item { grid-template-columns: minmax(0, 1fr); flex-direction: column; gap: 12px; }
    body .b2b-typesense #search-results.is-product-list .list-details-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    body .b2b-typesense #search-results.is-product-list .list-info-prices { padding: 12px 0 0; border-left: 0; border-top: 1px solid #eee; }
    body .b2b-typesense #hits-list .product-info { width: 100%; }
}

/* Nuovo ordine AKI: wizard sul form e sui valori gia autorizzati dal server. */
body #new-order-modal.b2b-order-wizard { z-index: 1200; }
body #new-order-modal.b2b-order-wizard .modal-content { width: 760px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 18px; }
body #new-order-modal.b2b-order-wizard .box { padding: 0; border-radius: 18px; overflow: hidden; background: white; }
body #new-order-modal.b2b-order-wizard .box-header { padding: 24px 28px 16px; background: white; color: #171717; border: 0; font-size: 23px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; text-transform: none; }
body #new-order-modal.b2b-order-wizard .box-header .modal-delete { position: static; width: 32px; height: 32px; border-radius: 8px; background: #f5f5f3; display: grid; place-items: center; cursor: pointer; }
body #new-order-modal.b2b-order-wizard .box-body { background: white; padding: 0; }
body #new-order-modal.b2b-order-wizard #new-order-form { width: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; max-height: calc(100dvh - 130px); }
body #new-order-modal.b2b-order-wizard .b2b-order-progress { display: flex; gap: 7px; margin: 0 28px 26px; padding: 0; list-style: none; }
body #new-order-modal.b2b-order-wizard .b2b-order-progress li { flex: 1; min-width: 0; border-top: 4px solid #e6e6e3; padding-top: 8px; font-size: 11px; line-height: 1.4; color: #777; }
body #new-order-modal.b2b-order-wizard .b2b-order-progress li.is-current { border-color: var(--b2b-accent); color: #171717; font-weight: 600; }
body #new-order-modal.b2b-order-wizard .b2b-order-progress li.is-complete { border-color: #171717; }
body #new-order-modal.b2b-order-wizard .b2b-order-step-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #666; margin: 0 28px 16px; outline: 0; }
body #new-order-modal.b2b-order-wizard .b2b-order-step { min-height: 0; overflow-y: auto; flex: 0 1 auto; padding: 0 28px 28px; }
body #new-order-modal.b2b-order-wizard :is(.b2b-order-progress, .b2b-order-step-title, .b2b-order-footer) { flex-shrink: 0; }
body #new-order-modal.b2b-order-wizard [hidden] { display: none !important; }
body #new-order-modal.b2b-order-wizard .b2b-order-context { margin: 0 28px 16px; font-size: 12px; }
body #new-order-modal.b2b-order-wizard .b2b-order-context:empty { display: none; }
body #new-order-modal.b2b-order-wizard .b2b-order-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 3px; }
body #new-order-modal.b2b-order-wizard .b2b-order-address-tools { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
body #new-order-modal.b2b-order-wizard .b2b-order-address-search { min-width: 0; flex: 1; height: 40px; border-radius: 8px; }
body #new-order-modal.b2b-order-wizard .b2b-order-address-toggle { flex-shrink: 0; border-radius: 8px; font-size: 12px; min-height: 40px; background: #f6f5f1; color: #222; }
body #new-order-modal.b2b-order-wizard :is(.b2b-order-address-status, .b2b-order-address-selected) { font-size: 12px; color: #666; margin: 12px 3px 0; }
body #new-order-modal.b2b-order-wizard .b2b-order-choice { display: flex; align-items: flex-start; gap: 12px; white-space: normal; text-align: left; height: auto; min-height: 100px; padding: 18px; border: 1px solid #e3e3df; border-radius: 12px; background: #fff; color: #333; font-size: 13px; line-height: 1.65; justify-content: flex-start; overflow-wrap: anywhere; }
body #new-order-modal.b2b-order-wizard .b2b-order-choice:before { content: ''; width: 16px; height: 16px; flex: 0 0 16px; border: 1px solid #ccc; border-radius: 50%; margin-top: 3px; }
body #new-order-modal.b2b-order-wizard .b2b-order-choice-text { display: block; min-width: 0; }
body #new-order-modal.b2b-order-wizard .b2b-order-choice-text :is(strong, span) { display: block; }
body #new-order-modal.b2b-order-wizard .b2b-order-choice-text strong { color: #171717; font-weight: 600; }
body #new-order-modal.b2b-order-wizard .b2b-order-choice-text > span { color: #777; font-size: 12px; }
body #new-order-modal.b2b-order-wizard .b2b-order-choice.is-selected { border-color: #222; box-shadow: 0 0 0 3px var(--b2b-accent) !important; }
body #new-order-modal.b2b-order-wizard .b2b-order-select-step > .new-order-value { padding: 0; margin: 0; min-height: 0; }
body #new-order-modal.b2b-order-wizard .b2b-order-choice.is-selected:before { border: 5px solid #171717; }
body #new-order-modal.b2b-order-wizard .b2b-order-source,
body #new-order-modal.b2b-order-wizard .b2b-order-source + .chosen-container { display: none !important; }
body #new-order-modal.b2b-order-wizard .type-wrapper,
body #new-order-modal.b2b-order-wizard .order-wrapper { padding: 0; }
body #new-order-modal.b2b-order-wizard :is(.type-wrapper, .order-wrapper) > .columns { margin: 0; gap: 14px; }
body #new-order-modal.b2b-order-wizard :is(.type-wrapper, .order-wrapper) > .columns > .has-text-left { display: none; }
body #new-order-modal.b2b-order-wizard :is(.type-wrapper, .order-wrapper) > .columns > .is-4 { width: calc(50% - 7px); }
body #new-order-modal.b2b-order-wizard .modal-content .box .box-body .mini-card { display: flex; align-items: center; gap: 12px; margin: 0; padding: 18px 20px; min-height: 90px; border: 1px solid #e3e3df; border-radius: 12px; text-align: left; }
body #new-order-modal.b2b-order-wizard .modal-content .box .box-body .mini-card.is-active { border-color: #222; box-shadow: 0 0 0 3px var(--b2b-accent) !important; }
body #new-order-modal.b2b-order-wizard .modal-content .box .box-body .mini-card .active-indicator { display: none !important; }
body #new-order-modal.b2b-order-wizard .modal-content .box .box-body .mini-card:before { content: ''; position: static; flex: 0 0 16px; width: 16px; height: 16px; margin: 0; border: 1px solid #ccc; border-radius: 50%; box-sizing: border-box; }
body #new-order-modal.b2b-order-wizard .modal-content .box .box-body .mini-card.is-active:before { border: 5px solid #171717; }
body #new-order-modal.b2b-order-wizard .modal-content .box .box-body .mini-card > div:first-child { display: none; }
body #new-order-modal.b2b-order-wizard .modal-content .box .box-body .mini-card .order-type-title { font-size: 12px; font-weight: 500; color: #777; padding: 0; min-width: 0; overflow-wrap: anywhere; }
body #new-order-modal.b2b-order-wizard .b2b-order-footer { display: flex; gap: 10px; align-items: center; justify-content: flex-end; padding: 20px 28px; background: #f6f5f1; border-top: 1px solid #eee; }
body #new-order-modal.b2b-order-wizard .b2b-order-footer .button { border-radius: 8px; min-height: 40px; height: auto; padding: 10px 18px; font-size: 13px; border: 1px solid #e2e2df; background: white; color: #222; }
body #new-order-modal.b2b-order-wizard .b2b-order-cancel { margin-left: 0; margin-right: auto; position: static; width: auto; }
body #new-order-modal.b2b-order-wizard .b2b-order-footer :is(.b2b-order-next, .b2b-order-confirm) { background: #171717; border-color: #171717; color: white; }
html:not([data-client="aki"]) body #new-order-modal.b2b-order-wizard .b2b-order-footer :is(.b2b-order-next, .b2b-order-confirm) { background: var(--color-primary, #171717); border-color: var(--color-primary, #171717); color: var(--b2b-order-button-ink, var(--color-primary-opposite, white)); }
body #new-order-modal.b2b-order-wizard #new-order-new-destination-toggle { display: inline-flex; margin: 18px 3px 0; white-space: normal; height: auto; font-size: 14px; font-weight: 600; line-height: 1.4; }
body #new-order-modal.b2b-order-wizard:not([data-last-step="true"]) #new-order-confirm { display: none !important; }
body #new-order-modal.b2b-order-wizard :is(.button, .mini-card):focus-visible { outline: 2px solid #171717; outline-offset: 5px; }
body #new-order-modal.b2b-order-wizard #new-order-errors { margin: 0 28px 16px; width: auto; }
@media (max-width: 600px) {
  body #new-order-modal.b2b-order-wizard .modal-content { max-width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  body #new-order-modal.b2b-order-wizard .b2b-order-address-tools { flex-wrap: wrap; }
  body #new-order-modal.b2b-order-wizard .b2b-order-address-search { flex-basis: 100%; }
  body #new-order-modal.b2b-order-wizard .b2b-order-options { grid-template-columns: minmax(0, 1fr); }
  body #new-order-modal.b2b-order-wizard :is(.type-wrapper, .order-wrapper) > .columns > .is-4 { width: 100%; }
  body #new-order-modal.b2b-order-wizard .b2b-order-progress { margin: 0 18px 22px; }
  body #new-order-modal.b2b-order-wizard .b2b-order-progress li { font-size: 10px; }
  body #new-order-modal.b2b-order-wizard .box-header { padding: 20px 18px 16px; }
  body #new-order-modal.b2b-order-wizard .b2b-order-step { padding: 0 18px 22px; }
  body #new-order-modal.b2b-order-wizard .b2b-order-step-title { margin-left: 18px; margin-right: 18px; }
  body #new-order-modal.b2b-order-wizard .b2b-order-footer { flex-wrap: wrap; padding: 16px 18px; }
}

/* Shared cart: artifact layout, original controls and commercial rules. */
body .b2b-order-page .b2b-cart-heading { position: relative; margin-bottom: 24px; }
body .b2b-order-page .b2b-cart-heading .account-title h2 { font-size: 24px; line-height: 1.35; }
body .b2b-order-page .b2b-cart-continue { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #222; }
body .b2b-cart-continue svg { width: 16px; height: 16px; }
body .b2b-cart-customer { display: flex; align-items: center; gap: 16px; padding: 20px; margin-bottom: 24px; background: #111; color: #fff; border-radius: 10px; }
body .b2b-cart-customer-icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; background: var(--color-primary); color: var(--color-primary-opposite); border-radius: 9px; }
body .b2b-cart-customer-name { flex: 1 1 240px; min-width: 0; }
body .b2b-cart-customer-name > strong { display: block; font-size: 18px; }
body .b2b-cart-customer-name > span, body .b2b-cart-customer-meta > span { display: block; color: #bdbdbd; font-size: 12px; margin-top: 4px; }
body .b2b-cart-customer-meta { flex: 0 1 42%; align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 72px; padding: 12px 16px; background: #242424; border-radius: 8px; }
body .b2b-cart-customer-meta > strong { display: block; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
body #cart-page .b2b-cart-layout .checkout-wrapper { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 24px; align-items: start; padding: 0; }
body #cart-page .b2b-cart-layout .checkout-main { width: auto; min-width: 0; padding: 0; margin: 0; }
body #cart-page .b2b-cart-layout .checkout-main > .main-column > hr { display: none; }
body #cart-page .b2b-cart-layout .checkout-main > .main-column > .is-collapsable,
body #cart-page .b2b-cart-section { background: #fff; border: 1px solid #e3e3df; border-radius: 10px; padding: 24px; margin: 0 0 20px; }
body #cart-page .b2b-cart-layout .account-title.card-title { margin: 0 0 20px; padding: 0; }
body #cart-page .b2b-cart-layout .account-title.card-title h2,
body #cart-page .b2b-cart-section-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 18px; }
body #cart-page .b2b-cart-layout #checkout-main .account-title.card-title h2:before,
body #cart-page .b2b-cart-section-title:before { display: inline-grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 5px; background: #171717; color: #fff; font-size: 11px; content: '01'; }
body #cart-page .b2b-cart-delivery .b2b-cart-section-title:before { content: '02'; }
body #cart-page .b2b-cart-details .b2b-cart-section-title:before { content: '03'; }
body #cart-page .b2b-cart-layout #preventive-main .account-title.card-title h2:before { content: ''; flex-basis: 5px; background: var(--color-primary); }
body #cart-page .b2b-cart-section > .columns { margin: 0 -8px; }
body #cart-page .b2b-cart-section > .columns > .column { padding: 10px 8px; min-width: 0; }
body #cart-page .b2b-cart-section .summary-label { display: block; color: #555; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
body #cart-page .b2b-cart-section .side-card { border: 0; padding: 0; margin: 0; box-shadow: none; background: none; }
body #cart-page .b2b-cart-delivery .is-address { position: relative; background: #f5f5f3; border-radius: 7px; padding: 16px; padding-right: 52px; }
body #cart-page .b2b-cart-delivery .address-title { font-weight: 600; font-size: 13px; margin-bottom: 8px; }
body #cart-page .b2b-cart-delivery .address { font-size: 13px; line-height: 1.6; }
body #cart-page .b2b-cart-details .user-card .meta { margin: 0; font-size: 12px; }
body #cart-page .b2b-cart-details .user-card .control { margin-top: 8px; }
body #cart-page .b2b-cart-delivery .display-flex { flex-wrap: wrap; padding: 0 !important; }
body #cart-page .b2b-cart-delivery .display-flex > .column { flex: 1 1 240px; width: auto; padding: 8px; }
body #cart-page .b2b-cart-layout .method-card { border: 1px solid #dededb; border-radius: 8px; overflow: hidden; }
body #cart-page .b2b-cart-layout .method-card .method-card-inner { min-height: 88px; padding: 16px; height: 100%; }
body #cart-page .b2b-cart-layout .method-card .method-card-inner .meta { min-width: 0; }
body #cart-page .b2b-cart-layout .method-card .method-card-inner .meta h3 { font-size: 13px; }
body #cart-page .b2b-cart-layout .method-card .method-card-inner .meta p { white-space: normal; font-size: 12px; line-height: 1.6; }
body #cart-page .b2b-cart-layout .method-card input:checked + .method-card-inner { background: color-mix(in srgb,var(--color-primary) 12%,white); box-shadow: inset 0 0 0 1px var(--color-primary); }
/* The sidebar remains available while scrolling; its actions stick inside its scroll area. */
body #cart-page .b2b-cart-layout .checkout-side { position: sticky; top: 16px; right: auto; width: auto; height: auto; max-height: calc(100dvh - 200px); display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e3df; border-radius: 10px; z-index: 10; overflow: hidden; }
body #cart-page .b2b-cart-layout .checkout-side .side-header { height: auto; min-height: 0; padding: 22px 20px 12px; background: #fff; color: #222; flex-shrink: 0; }
body #cart-page .b2b-cart-layout .checkout-side .side-header.is-not-cart { display: none; }
body #cart-page .b2b-cart-layout .checkout-side .side-title { font-size: 20px; font-weight: 700 !important; text-transform: none; }
body #cart-page .b2b-cart-layout .checkout-side .side-inner { height: auto; min-height: 0; padding: 0 20px; background: #fff; overflow-y: auto; }
body #cart-page .b2b-cart-layout .checkout-side .side-card { padding: 14px 0; border: 0; border-radius: 0; margin: 0; box-shadow: none; }
body #cart-page .b2b-cart-layout .checkout-side .payment-block { gap: 12px; }
body #cart-page .b2b-cart-layout .checkout-side #checkout-grandtotal-value { font-size: 24px; }
body #cart-page .b2b-cart-layout .checkout-side .side-action { position: sticky; bottom: 0 !important; right: auto; width: auto; height: auto; padding: 12px 0; background: #fff; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; z-index: 2; }
body #cart-page .b2b-cart-layout .checkout-side .side-action .button { margin: 0; flex: 1 1 100%; height: 40px; font-size: 13px; }
body #cart-page .b2b-cart-layout .b2b-cart-terms { font-size: 12px; line-height: 1.6; border-top: 1px solid #eee; padding-top: 14px; }
body #cart-page .b2b-cart-layout .b2b-cart-terms:empty { display: none; }
body #cart-page .b2b-cart-layout .b2b-cart-terms > .column { padding: 0; }
body #cart-page .b2b-cart-layout .b2b-cart-terms .summary-label { font-size: 11px; }
@media (max-width: 1023px) {
 body #cart-page .b2b-cart-layout .checkout-wrapper { grid-template-columns: minmax(0,1fr); }
 body #cart-page .b2b-cart-layout .checkout-side { position: relative; top: auto; max-height: none; overflow: visible; }
 body #cart-page .b2b-cart-layout .checkout-side .side-inner { overflow: visible; padding-bottom: 0; }
 body .b2b-cart-customer { flex-wrap: wrap; }
 body .b2b-cart-customer-meta { flex-basis: 100%; }
}
@media (max-width: 600px) {
 body #cart-page .b2b-cart-layout .checkout-main > .main-column > .is-collapsable,
 body #cart-page .b2b-cart-section { padding: 16px; }
 body .b2b-cart-customer { padding: 16px; gap: 12px; }
 body .b2b-cart-customer-name { flex-basis: 180px; }
 body #cart-page .b2b-cart-section .is-6-desktop { width: 100%; }
}
body .b2b-cart-customer strong, body .b2b-cart-customer b { color: #fff; }
body .b2b-cart-customer-icon { background: var(--b2b-accent); color: var(--b2b-accent-ink,#111); }
body #cart-page .b2b-cart-layout .method-card input:checked + .method-card-inner { background: color-mix(in srgb,var(--b2b-accent) 12%,white); box-shadow: inset 0 0 0 1px var(--b2b-accent); }
body #cart-page .b2b-cart-layout #checkout-main > .main-column > .is-collapsable > .card-body { padding: 0; margin: 0; }
body #cart-page .b2b-cart-layout #cart-page-products { padding: 0; margin-top: 0 !important; }
body #cart-page .b2b-cart-layout #cart-page-products .cart-card:last-child { margin-bottom: 0; }
body #cart-page .b2b-cart-layout .checkout-side .side-card.is-totals > .info-title:first-child { display: none; }
body .b2b-cart-heading .account-title { margin-bottom: 10px !important; }

body .b2b-catalog-level .b2b-catalog-label { flex: 1; min-width: 0; }
body .b2b-catalog-level > :is(a,button) svg.b2b-catalog-collection-icon,
body .b2b-catalog-level > :is(a,button):is(:hover,:focus-visible) svg.b2b-catalog-collection-icon { color: #999; width: 18px; height: 18px; }
body #cart-page .b2b-cart-layout .checkout-main { order: 0; }
body #cart-page .b2b-cart-layout .checkout-side { order: 1; margin: 0; }
body #cart-page .b2b-cart-layout .method-card .icon-container { flex: 0 0 24px; min-width: 24px; width: 24px; height: 24px; margin-right: 12px; }
body #cart-page .b2b-cart-layout .method-card .icon-container img { width: 24px; height: 24px; }
body #cart-page .b2b-cart-layout .method-card .indicator { width: 18px; height: 18px; }
@media (max-width: 1023px) {
 body #cart-page .b2b-cart-layout .checkout-main { grid-row: 1; }
 body #cart-page .b2b-cart-layout .checkout-side { grid-row: 2; }
}
@media (max-width: 1023px) {
 body #cart-page .b2b-cart-layout .checkout-side .b2b-cart-primary-actions:not(.is-not-cart) { position: fixed; left: 16px; right: 16px; bottom: 12px !important; width: auto; border: 1px solid #e3e3df; border-radius: 10px; padding: 10px; box-shadow: 0 2px 16px #00000014; z-index: 24; }
 body #cart-page .b2b-cart-layout .checkout-side .b2b-cart-primary-actions:not(.is-not-cart) .button { flex: 1 1 140px; }
 body:has(.b2b-cart-layout) .footer { padding-bottom: 100px; }
}
body #cart-page .b2b-cart-layout .checkout-wrapper { padding-top: 0 !important; }
/* Keep submit/PDF/edit actions outside the independently scrolling summary. */
body #cart-page .b2b-cart-layout .checkout-side .side-inner { flex: 1 1 auto; }
body #cart-page .b2b-cart-layout .b2b-cart-action-footer { flex: 0 0 auto; padding: 0 20px; background: #fff; }
body #cart-page .b2b-cart-layout .b2b-cart-action-footer .side-action { position: static; background: #fff; }
body #cart-page .b2b-cart-layout .b2b-cart-action-footer .button { max-width: 100%; }

/* Order overview uses the rendered order and its real product rows. */
body .b2b-cart-customer .b2b-cart-order-state,
body .b2b-cart-customer .b2b-cart-item-count { flex: 0 1 135px; }
body .b2b-cart-customer .b2b-cart-order-state .tag { background: transparent; color: #fff; padding: 0; margin: 0; height: auto; font: inherit; white-space: normal; }
body .b2b-cart-customer .b2b-cart-item-count strong { color: var(--b2b-accent); }
body #cart-page .b2b-cart-layout .b2b-cart-action-footer :is(#save-order, #confirm-order) { width: 100%; max-width: 100%; margin: 0; box-sizing: border-box; }
@media (max-width: 1023px) {
 body .b2b-cart-customer .b2b-cart-order-state,
 body .b2b-cart-customer .b2b-cart-item-count { flex: 1 1 calc(50% - 8px); }
}

/* Collection points share the height of the longest card, across all rows. */
body #cart-page .b2b-cart-delivery .b2b-cart-collection-points { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); grid-auto-rows: 1fr; gap: 16px; padding: 8px; }
body #cart-page .b2b-cart-collection-points > .column { display: flex; width: auto; min-width: 0; margin: 0; padding: 0; }
body #cart-page .b2b-cart-collection-points .method-card { width: 100%; height: 100%; margin: 0; }
body #cart-page .b2b-cart-collection-points .method-card-inner { box-sizing: border-box; }
body #cart-page .b2b-cart-collection-points .meta { flex: 1; min-width: 0; overflow-wrap: anywhere; }
body #cart-page .b2b-cart-collection-points .meta p { overflow-wrap: anywhere; }

/* Progressive delivery choice: the existing collection_point_id remains authoritative. */
body #cart-page .b2b-cart-delivery [hidden] { display: none !important; }
body #cart-page .b2b-cart-delivery .b2b-cart-delivery-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body #cart-page .b2b-cart-delivery-option { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #dededb; border-radius: 9px; cursor: pointer; min-width: 0; }
body #cart-page .b2b-cart-delivery-option:has(input:checked) { background: color-mix(in srgb,var(--b2b-accent) 12%,white); border-color: #222; box-shadow: 0 0 0 2px var(--b2b-accent); }
body #cart-page .b2b-cart-delivery-option:has(input:focus-visible) { outline: 2px solid #222; outline-offset: 3px; }
body #cart-page .b2b-cart-delivery-option > input { position: static; appearance: auto; width: 16px; height: 16px; flex: 0 0 16px; margin: 0; opacity: 1; accent-color: #171717; }
body #cart-page .b2b-cart-delivery-option > span { flex: 1; min-width: 0; }
body #cart-page .b2b-cart-delivery-option strong { display: block; color: #222; font-size: 13px; }
body #cart-page .b2b-cart-delivery-option small { display: block; color: #777; font-size: 12px; margin-top: 4px; }
body #cart-page .b2b-cart-delivery-option svg { flex: 0 0 20px; width: 20px; height: 20px; color: #666; }
body #cart-page .b2b-cart-pickup-panel > .columns { margin: 0; }
@media (max-width: 600px) {
 body #cart-page .b2b-cart-delivery .b2b-cart-delivery-options { grid-template-columns: minmax(0,1fr); }
}

/* Native accordions preserve notes and coupon controls, including keyboard access. */
body #cart-page .b2b-cart-details > .columns > .column:has(> .b2b-cart-detail-accordion) { padding-top: 4px; padding-bottom: 4px; }
body #cart-page .b2b-cart-details .b2b-cart-detail-accordion { border: 1px solid #e7e7e3; border-radius: 8px; background: #fff; }
body #cart-page .b2b-cart-detail-accordion > summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; padding: 16px; }
body #cart-page .b2b-cart-detail-accordion > summary::-webkit-details-marker { display: none; }
body #cart-page .b2b-cart-detail-accordion > summary:focus-visible { outline: 2px solid var(--b2b-accent); outline-offset: -3px; border-radius: 8px; }
body #cart-page .b2b-cart-detail-icon { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; color: #333; background: color-mix(in srgb,var(--b2b-accent) 17%,white); }
body #cart-page .b2b-cart-detail-icon svg { width: 17px; height: 17px; }
body #cart-page .b2b-cart-detail-label { flex: 1; min-width: 0; }
body #cart-page .b2b-cart-detail-label strong { display: block; font-size: 13px; color: #222; }
body #cart-page .b2b-cart-detail-label small { display: block; font-size: 12px; color: #777; margin-top: 3px; }
body #cart-page .b2b-cart-detail-chevron { flex: 0 0 16px; width: 16px; height: 16px; color: #666; transition: transform .15s; }
body #cart-page .b2b-cart-detail-accordion[open] > summary .b2b-cart-detail-chevron { transform: rotate(180deg); }
body #cart-page .b2b-cart-detail-body { padding: 0 16px 16px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
body #cart-page .b2b-cart-detail-body .field { margin: 0; }
body #cart-page .b2b-cart-detail-body .textarea { min-height: 88px; }
@media (max-width: 600px) {
 body #cart-page .b2b-cart-detail-body .field.has-addons { flex-wrap: wrap; gap: 8px; }
 body #cart-page .b2b-cart-detail-body .field.has-addons > .control { min-width: 0; }
}

/* Shared post-confirmation receipt, rendered with the existing authorized order data. */
body .b2b-order-submitted { background: #f5f5f3; padding-bottom: 90px; }
body .b2b-submitted-inner { max-width: 1140px; padding: 28px 24px; margin: 0 auto; }
body .b2b-submitted-hero, body .b2b-submitted-next { padding: 28px; border: 1px solid #e3e3df; border-radius: 12px; background: #fff; }
body .b2b-submitted-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
body .b2b-submitted-symbol { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb,var(--b2b-accent) 25%,white); color: #222; }
body .b2b-submitted-heading h1 { font-size: 26px; line-height: 1.35; font-weight: 700; color: #171717; margin-bottom: 6px; }
body .b2b-submitted-heading p { font-size: 13px; color: #777; line-height: 1.6; }
body .b2b-submitted-summary { display: grid; grid-template-columns: 1fr 1.5fr .8fr 1fr; gap: 12px; }
body .b2b-submitted-summary > div { min-width: 0; padding: 16px; background: #f5f5f3; border-radius: 8px; }
body .b2b-submitted-summary span, body .b2b-submitted-summary small { display: block; font-size: 11px; line-height: 1.6; color: #777; }
body .b2b-submitted-summary strong { display: block; font-size: 15px; line-height: 1.6; color: #222; overflow-wrap: anywhere; margin: 4px 0; }
body .b2b-submitted-destination strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 13px; }
body .b2b-submitted-summary > .b2b-submitted-total { background: #111; }
body .b2b-submitted-total > span, body .b2b-submitted-total > small { color: #bdbdbd; }
body .b2b-submitted-total > strong { font-size: 21px; color: var(--b2b-accent); }
body .b2b-submitted-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
body .b2b-submitted-actions .button { display: inline-flex; align-items: center; gap: 8px; border-radius: 7px; font-size: 13px; height: 40px; }
body .b2b-submitted-actions .b2b-submitted-primary { background: var(--b2b-accent); border-color: var(--b2b-accent); color: var(--b2b-accent-ink,#111); }
body .b2b-submitted-actions svg, body .b2b-submitted-next a svg { width: 16px; height: 16px; }
body .b2b-submitted-detail-link { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: #333; font-size: 13px; }
body .b2b-submitted-bottom { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 24px; margin-top: 24px; align-items: start; }
body .b2b-submitted-bottom h2 { font-size: 18px; line-height: 1.4; font-weight: 700; margin-bottom: 16px; }
body .b2b-submitted-next ol { list-style: none; padding: 0; margin: 0; }
body .b2b-submitted-next li { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; }
body .b2b-submitted-step { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; color: #333; background: #f5f5f3; }
body .b2b-submitted-step svg { width: 16px; height: 16px; }
body .b2b-submitted-next h3 { color: #222; font-size: 13px; font-weight: 600; }
body .b2b-submitted-next p { font-size: 12px; line-height: 1.6; color: #777; margin-top: 4px; overflow-wrap: anywhere; }
body .b2b-submitted-next a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #222; margin-top: 8px; text-decoration: underline; }
body .b2b-submitted-services { padding: 24px; border-radius: 12px; color: #fff; background: #111; }
body .b2b-order-submitted .b2b-submitted-services h2 { color: #fff; margin-bottom: 6px; }
body .b2b-submitted-services > p { color: #bdbdbd; font-size: 12px; line-height: 1.6; margin-bottom: 16px; }
body .b2b-submitted-services > a { display: flex; align-items: center; gap: 10px; color: #fff; background: #252525; border-radius: 6px; padding: 10px; margin-top: 8px; font-size: 12px; }
body .b2b-submitted-services > a > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 5px; background: var(--b2b-accent); color: var(--b2b-accent-ink,#111); }
body .b2b-submitted-services svg { width: 16px; height: 16px; flex-shrink: 0; }
body .b2b-submitted-services > a > svg { margin-left: auto; }
body .b2b-submitted-services a:hover, body .b2b-submitted-services a:focus-visible { color: #fff; background: #3a3a3a; }
@media(max-width: 900px) {
 body .b2b-submitted-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
 body .b2b-submitted-bottom { grid-template-columns: minmax(0,1fr); }
}
@media(max-width: 600px) {
 body .b2b-submitted-inner { padding: 20px 16px; }
 body .b2b-submitted-hero, body .b2b-submitted-next { padding: 20px; }
 body .b2b-submitted-heading { gap: 12px; }
 body .b2b-submitted-heading h1 { font-size: 22px; }
 body .b2b-submitted-symbol { flex-basis: 36px; height: 36px; }
 body .b2b-submitted-summary { grid-template-columns: minmax(0,1fr); }
 body .b2b-submitted-actions .button { width: 100%; }
 body .b2b-submitted-detail-link { margin-left: 0; }
}

/* Mobile cart follows the dedicated artifact, retaining the existing commercial controls. */
.b2b-cart-mobile-count, .b2b-cart-mobile-cancel, .b2b-cart-mobile-total, .b2b-mobile-cart-actions { display: none; }
body #cart-page .b2b-cart-layout .b2b-cart-draft-action { padding-top: 12px; }
body #cart-page .b2b-cart-layout .b2b-cart-draft-action #save-order { width: 100%; height: 40px; margin: 0; font-size: 13px; border-radius: 7px; }
@media (max-width: 767px) {
 body:has(:is(.b2b-current-cart .b2b-cart-layout, .b2b-quote-page .b2b-quote-layout)) .mobile-navbar { display: grid; grid-template-columns: minmax(0,1fr) auto 36px; gap: 6px 12px; padding: 8px 12px; height: auto; }
 body:has(:is(.b2b-current-cart .b2b-cart-layout, .b2b-quote-page .b2b-quote-layout)) .mobile-navbar .mobile-bar-logo { grid-row: 1; grid-column: 1; justify-self: start; width: auto; margin: 0; height: 42px; }
 body:has(:is(.b2b-current-cart .b2b-cart-layout, .b2b-quote-page .b2b-quote-layout)) .mobile-navbar .mobile-bar-logo .navbar-item { padding: 0; height: 42px; }
 body:has(:is(.b2b-current-cart .b2b-cart-layout, .b2b-quote-page .b2b-quote-layout)) .mobile-navbar .brand-logo { width: auto; max-width: 96px; max-height: 38px; }
 body:has(:is(.b2b-current-cart .b2b-cart-layout, .b2b-quote-page .b2b-quote-layout)) .mobile-navbar .navbar-brand { display: contents; }
 body:has(:is(.b2b-current-cart .b2b-cart-layout, .b2b-quote-page .b2b-quote-layout)) .mobile-navbar #sidebar-mode { display: none; }
 body:has(:is(.b2b-current-cart .b2b-cart-layout, .b2b-quote-page .b2b-quote-layout)) .mobile-navbar #search-items-navbar-mobile { grid-row: 2; grid-column: 1 / -1; width: 100%; padding: 0; margin: 0; }
 body:has(:is(.b2b-current-cart .b2b-cart-layout, .b2b-quote-page .b2b-quote-layout)) .mobile-navbar .navbar-burger { grid-row: 1; grid-column: 3; align-self: center; width: 36px; height: 36px; margin: 0 !important; border: 1px solid #ddd; border-radius: 6px; }
 body:has(:is(.b2b-current-cart .b2b-cart-layout, .b2b-quote-page .b2b-quote-layout)) .b2b-mobile-cart-actions { display: flex; grid-row: 1; grid-column: 2; align-items: center; gap: 8px; }
 body .b2b-mobile-cart-actions > :is(a,button) { position: relative; display: grid; place-items: center; width: 36px; height: 40px; border: 0; background: none; color: #222; cursor: pointer; padding: 0; }
 body .b2b-mobile-cart-actions svg { width: 22px; height: 22px; }
 body .b2b-mobile-cart-count { position: absolute; top: 0; right: -2px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 12px; background: var(--b2b-accent); color: var(--b2b-accent-ink,#111); font-size: 10px; }
 body .b2b-current-cart #cart-page { padding: 16px 12px 100px; }
 body .b2b-current-cart #cart-page .is-tablet-landscape-padded:has(> .b2b-cart-customer) { display: flex; flex-direction: column; padding: 0; }
 body .b2b-current-cart .b2b-cart-customer { order: 0; gap: 10px; padding: 14px; margin: 0 0 20px; flex-wrap: nowrap; }
 body .b2b-current-cart .b2b-cart-customer-icon { flex-basis: 36px; height: 36px; }
 body .b2b-current-cart .b2b-cart-customer-name { flex: 1; min-width: 0; }
 body .b2b-current-cart .b2b-cart-customer-name > strong { font-size: 14px; }
 body .b2b-current-cart .b2b-cart-customer-name > span { font-size: 10px; line-height: 1.5; }
 body .b2b-current-cart .b2b-cart-customer-meta { display: none; }
 body .b2b-current-cart .b2b-cart-mobile-cancel { display: block; flex: 0 0 auto; max-width: 90px; color: var(--b2b-accent); font-size: 11px; text-decoration: underline; }
 body .b2b-current-cart .b2b-cart-heading { order: 1; margin: 0 0 18px; }
 body .b2b-current-cart .b2b-cart-heading .breadcrumb-container, body .b2b-current-cart .b2b-cart-continue { display: none; }
 body .b2b-current-cart .b2b-cart-heading .account-title { margin: 0 0 4px !important; }
 body .b2b-current-cart .b2b-cart-heading .account-title h2 { font-size: 24px; }
 body .b2b-current-cart .b2b-cart-mobile-count { display: block; color: #777; font-size: 12px; }
 body .b2b-current-cart #checkout.b2b-cart-layout { order: 2; }
 body .b2b-current-cart #cart-page #checkout-main > .main-column > .is-collapsable, body .b2b-current-cart #cart-page .b2b-cart-section { padding: 16px; margin-bottom: 16px; }
 body .b2b-current-cart #cart-page #checkout-main .account-title.card-title h2, body .b2b-current-cart #cart-page .b2b-cart-section-title { font-size: 17px; gap: 8px; margin-bottom: 16px; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-card { border: 0; border-radius: 0; margin-bottom: 16px; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-card .cart-content > li { display: grid !important; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; padding: 0; align-items: center; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-content > li > .product-image { grid-row: 1; grid-column: 1 / 3; width: 64px; height: 64px; margin: 0; justify-self: start; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-content > li > .product-info { grid-row: 1; grid-column: 3 / -1; width: auto !important; min-width: 0; margin: 0; padding: 0 !important; text-align: left; }
 body .b2b-current-cart #cart-page #cart-page-products .product-info a > span:first-child { display: inline-block; padding: 2px 5px; margin-bottom: 4px; background: #f3f3f1; color: #222; border-radius: 4px; font-size: 11px !important; font-weight: 600; }
 body .b2b-current-cart #cart-page #cart-page-products .product-info a > span:nth-child(2) { display: block; font-size: 13px !important; color: #222; font-weight: 600; line-height: 1.5; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-content > li > .product-quantity { grid-row: 2; grid-column: 1 / 6; width: 100% !important; min-width: 0; max-width: 100%; margin: 0 !important; padding: 0 !important; }
 body .b2b-current-cart #cart-page #cart-page-products .product-quantity > .heading { display: none; }
 body .b2b-current-cart #cart-page #cart-page-products .product-quantity .quantity-unit-label { position: static; margin: 0 0 6px; }
 body .b2b-current-cart #cart-page #cart-page-products .product-quantity .details-spinner { width: 100%; height: 40px; min-height: 40px; border: 1px solid #ddd; border-radius: 8px; }
 body .b2b-current-cart #cart-page #cart-page-products .details-spinner .spinner-button { width: 40px; min-width: 40px; height: 38px; }
 body .b2b-current-cart #cart-page #cart-page-products .details-spinner .spinner-value { font-size: 14px; height: 38px; min-height: 38px; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-content > li > .action { grid-row: 2; grid-column: 6; margin: 0; width: 36px; min-width: 0; align-self: end; justify-self: end; }
 body .b2b-current-cart #cart-page #cart-page-products .action .remove-item-btn { display: grid; place-items: center; width: 36px; height: 40px; border: 1px solid #eee; border-radius: 8px; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-content > li > .product-price { grid-column: span 3; width: auto !important; min-width: 0; margin: 0 !important; padding: 10px 0 0 !important; border-top: 1px solid #eee; text-align: left !important; }
 body .b2b-current-cart #cart-page #cart-page-products .product-price > span:first-child { font-size: 10px; color: #777; line-height: 1.5; }
 body .b2b-current-cart #cart-page #cart-page-products .product-price > span:nth-child(2) { font-size: 14px; color: #222; line-height: 1.6; }
 body .b2b-current-cart #cart-page #cart-page-products .product-discount-breakdown { position: static !important; white-space: normal !important; }
 body .b2b-current-cart #cart-page .b2b-cart-delivery-options { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 body .b2b-current-cart #cart-page .b2b-cart-delivery-option { gap: 8px; padding: 12px 8px; }
 body .b2b-current-cart #cart-page .b2b-cart-delivery-option strong { font-size: 12px; }
 body .b2b-current-cart #cart-page .b2b-cart-delivery-option small, body .b2b-current-cart #cart-page .b2b-cart-delivery-option > svg { display: none; }
 body .b2b-current-cart #cart-page .b2b-cart-collection-points { grid-template-columns: minmax(0,1fr); grid-auto-rows: auto; gap: 10px; padding: 0; }
 body .b2b-current-cart #cart-page .b2b-cart-collection-points .method-card { position: relative; height: auto; }
 body .b2b-current-cart #cart-page .b2b-cart-collection-points .method-card > input { position: absolute; opacity: 1; width: 16px; height: 16px; top: 17px; left: 14px; z-index: 2; accent-color: #111; }
 body .b2b-current-cart #cart-page .b2b-cart-collection-points .method-card-inner { min-height: 54px; padding: 14px 14px 14px 42px; }
 body .b2b-current-cart #cart-page .b2b-cart-collection-points .icon-container { display: none; }
 body .b2b-current-cart #cart-page .b2b-cart-collection-points .method-card:not(:has(> input:checked)) .meta p { display: none; }
 body .b2b-current-cart #cart-page .b2b-cart-detail-label small { display: none; }
 body .b2b-current-cart #cart-page .b2b-cart-detail-accordion > summary { padding: 12px; }
 body .b2b-current-cart #cart-page .checkout-side .b2b-cart-primary-actions:not(.is-not-cart) { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; left: 0; right: 0; bottom: 0 !important; border-radius: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid #e3e3df; box-shadow: 0 -3px 16px #00000008; }
 body .b2b-current-cart #cart-page .checkout-side .b2b-cart-primary-actions:not(:has(#confirm-order)) { display: none; }
 body .b2b-current-cart #cart-page .b2b-cart-mobile-total { display: block; flex: 0 1 130px; min-width: 0; }
 body .b2b-current-cart .b2b-cart-mobile-total > span { display: block; font-size: 10px; color: #777; }
 body .b2b-current-cart .b2b-cart-mobile-total > strong { display: block; font-size: 18px; color: #111; line-height: 1.4; }
 body .b2b-current-cart .b2b-cart-mobile-total > small { font-size: 9px; color: #777; }
 body .b2b-current-cart #cart-page .b2b-cart-primary-actions #confirm-order { flex: 1 1 0; width: auto; margin: 0; font-size: 13px; min-height: 44px; }
 body .b2b-current-cart #cart-page .checkout-side .side-inner { padding: 0 16px; }
 body .b2b-current-cart #cart-page .checkout-side .side-header { padding: 20px 16px 8px; }
 body .b2b-current-cart #cart-page .checkout-side .side-card { padding: 12px 0; }
 body .b2b-current-cart #cart-page .b2b-cart-action-footer { padding: 0 16px 16px; }
 body .b2b-current-cart #cart-page .b2b-cart-primary-actions .button { max-width: 100%; }
}
@media (max-width: 767px) {
 body .b2b-current-cart #cart-page { padding: 16px 16px 100px; }
 body .b2b-current-cart #cart-page > .container-fluid > .account-header { margin: 0; }
 body .b2b-current-cart #cart-page > .container-fluid > .account-header > .column { margin: 0 !important; width: 100%; min-width: 0; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-card { display: block; width: 100%; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-content { padding: 0; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-card .cart-content > li { grid-template-columns: 64px repeat(4,minmax(0,1fr)) 36px; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-content > li > .product-image { grid-column: 1; }
 body .b2b-current-cart #cart-page #cart-page-products .cart-content > li > .product-info { grid-column: 2 / -1; max-width: none; text-align: left !important; }
 body .b2b-current-cart #cart-page #cart-page-products .product-info a { text-align: left !important; }
 body .b2b-current-cart #cart-page #cart-page-products .product-quantity .details-spinner { width: 100% !important; margin: 0; }
}
.b2b-cart-mobile-customer-caption { display: none !important; }
@media (max-width: 767px) {
 body .b2b-current-cart .b2b-cart-customer-name > span:not(.b2b-cart-mobile-customer-caption) { display: none; }
 body .b2b-current-cart .b2b-cart-customer-name > .b2b-cart-mobile-customer-caption { display: block !important; }
 body .b2b-current-cart #cart-page #cart-page-products .action .remove-item-btn { margin: 0; padding: 0; box-sizing: border-box; }
}
@media (max-width: 767px) {
 body .b2b-current-cart #cart-page #cart-page-products .action .remove-item-btn { margin: 0 !important; }
 body .b2b-current-cart #cart-page #checkout-main .account-title.card-title { margin: 0 0 14px; }
 body .b2b-current-cart #cart-page #checkout-main .account-title.card-title h2 { margin: 0 !important; }
}
@media (max-width: 767px) {
 body .b2b-current-cart #cart-page .b2b-cart-collection-points .method-card .method-card-inner { padding: 14px 14px 14px 42px; align-items: flex-start; }
 body .b2b-current-cart #cart-page .b2b-cart-section .summary-label { color: #555; }
}
@media (max-width: 767px) {
 body .b2b-current-cart #cart-page #cart-page-products .cart-content > li > .action { padding: 0 !important; }
}

/* Shared quote cart: preserve fields and actions while fitting narrow screens. */
body .b2b-quote-page #cart-page #cart-page-products .cart-content > li { display: grid !important; grid-template-columns: 72px minmax(0,1fr) 150px minmax(100px,180px) 32px; gap: 12px; align-items: center; }
body .b2b-quote-page #cart-page #cart-page-products .cart-content > li > :is(.product-image,.product-info,.product-quantity,.product-note,.action) { width: auto !important; min-width: 0; margin: 0 !important; padding: 0 !important; }
body .b2b-quote-page #cart-page #cart-page-products .product-info { text-align: left !important; overflow-wrap: anywhere; }
body .b2b-quote-page #cart-page #cart-page-products .product-note textarea { width: 100%; min-width: 0; }
body .b2b-quote-page #cart-page #cart-page-products .action .remove-item-btn { margin: 0 !important; }
@media (max-width: 767px) {
 body:has(.b2b-quote-layout) .mobile-navbar { background: #fff !important; }
 body .b2b-quote-page #cart-page { padding: 16px 16px 110px; }
 body .b2b-quote-page #cart-page > .container-fluid > .account-header { margin: 0; }
 body .b2b-quote-page #cart-page > .container-fluid > .account-header > .column { width: 100%; margin: 0 !important; padding: 0; }
 body .b2b-quote-page #checkout .checkout-main, body .b2b-quote-page #checkout .main-column { width: 100%; min-width: 0; padding: 0; margin: 0; }
 body .b2b-quote-page #checkout .account-title h2 { font-size: 24px; margin: 8px 0 20px; }
 body .b2b-quote-page #cart-page #cart-page-products { padding: 0; }
 body .b2b-quote-page #cart-page #cart-page-products .cart-card { width: 100%; border: 1px solid #e3e3df; border-radius: 12px; padding: 16px; }
 body .b2b-quote-page #cart-page #cart-page-products .cart-content { padding: 0; }
 body .b2b-quote-page #cart-page #cart-page-products .cart-content > li { grid-template-columns: 64px minmax(0,1fr) 36px; gap: 12px; }
 body .b2b-quote-page #cart-page #cart-page-products .product-image { grid-column: 1; grid-row: 1; }
 body .b2b-quote-page #cart-page #cart-page-products .product-info { grid-column: 2 / -1; grid-row: 1; max-width: none; font-size: 13px; }
 body .b2b-quote-page #cart-page #cart-page-products .product-quantity { grid-column: 1 / 3; grid-row: 2; }
 body .b2b-quote-page #cart-page #cart-page-products .product-quantity > div:first-child { display: none; }
 body .b2b-quote-page #cart-page #cart-page-products .details-spinner { width: 100% !important; margin: 0; }
 body .b2b-quote-page #cart-page #cart-page-products .product-note { grid-column: 1 / -1; grid-row: 3; }
 body .b2b-quote-page #cart-page #cart-page-products .action { grid-column: 3; grid-row: 2; align-self: end; }
 body .b2b-quote-page #cart-page #cart-page-products .action .remove-item-btn { display: grid; place-items: center; width: 36px; height: 32px; border: 1px solid #eee; border-radius: 8px; }
 body .b2b-quote-page #checkout .checkout-side { width: 100%; padding: 0; }
 body .b2b-quote-page #checkout .checkout-side .side-inner { padding: 16px 0; }
 body .b2b-quote-page #checkout .checkout-side .side-action:not(.is-not-cart):has(#confirm-order) { position: fixed; bottom: 0; left: 0; right: 0; z-index: 31; display: flex; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e3e3df; }
 body .b2b-quote-page #checkout .checkout-side .side-action #confirm-order { margin: 0; }
}

@media (max-width: 767px) {
 body:has(:is(.b2b-cart-layout,.b2b-quote-layout)) .mobile-navbar .mobile-bar-logo .brand-logo { margin: 0 !important; object-fit: contain; }
 body:has(:is(.b2b-cart-layout,.b2b-quote-layout)) .mobile-navbar { background: #fff !important; }
}

@media (max-width: 767px) {
 body .b2b-quote-page #cart-page #cart-page-products .product-quantity { height: auto !important; }
 body .b2b-quote-page #cart-page #cart-page-products .product-image { width: 64px !important; height: 64px; }
 body .b2b-quote-page #cart-page #cart-page-products .product-quantity .details-spinner { height: 32px; min-height: 32px; }
 body:has(:is(.b2b-cart-layout,.b2b-quote-layout)) .mobile-navbar .navbar-burger span { background: #333 !important; }
}
body .b2b-quote-page #confirm-order { background: var(--b2b-accent); border-color: var(--b2b-accent); color: var(--b2b-accent-ink,#111); }
html[data-client="canvass"] body :is(#init-checkout,#checkout-next,#confirm-order) { color: #111 !important; }

/* Pickup cards use the same native radio and values as the existing order flow. */
body #cart-page .b2b-cart-layout .b2b-cart-collection-points .b2b-pickup-card { display: block; position: relative; border: 0; border-radius: 10px; overflow: visible; cursor: pointer; }
body #cart-page .b2b-cart-layout .b2b-cart-collection-points .b2b-pickup-card > input { position: absolute; top: 18px; left: 16px; width: 18px; height: 18px; margin: 0; opacity: 1; z-index: 1; accent-color: #111; cursor: pointer; }
body #cart-page .b2b-cart-layout .b2b-cart-collection-points .b2b-pickup-card .method-card-inner { display: flex; align-items: flex-start; min-height: 100%; height: 100%; padding: 16px 16px 16px 46px; border: 1px solid #deded8; border-radius: 10px; background: #fff; box-shadow: none; transition: border-color .15s, background-color .15s; }
body #cart-page .b2b-cart-layout .b2b-cart-collection-points .b2b-pickup-card:hover .method-card-inner { border-color: #777; }
body #cart-page .b2b-cart-layout .b2b-cart-collection-points .b2b-pickup-card > input:checked + .method-card-inner { background: color-mix(in srgb,var(--b2b-accent) 13%,white); border-color: #171717; box-shadow: inset 0 0 0 1px #171717; }
body #cart-page .b2b-cart-layout .b2b-cart-collection-points .b2b-pickup-card > input:focus-visible + .method-card-inner { outline: 2px solid #171717; outline-offset: 3px; }
body .b2b-pickup-name { display: block; color: #1c1c1c; font-size: 14px; font-weight: 700; line-height: 1.4; }
body .b2b-pickup-lines { display: grid; gap: 6px; margin-top: 8px; }
body .b2b-pickup-line { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; line-height: 1.55; color: #555; overflow-wrap: anywhere; }
body .b2b-pickup-line > svg { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 2px; stroke: currentColor; }
body .b2b-pickup-line > span { min-width: 0; }
@media (max-width: 767px) {
 body .b2b-current-cart #cart-page .b2b-cart-collection-points .b2b-pickup-card .method-card-inner { min-height: 54px; padding: 16px 14px 16px 46px; }
 body .b2b-current-cart #cart-page .b2b-cart-collection-points .b2b-pickup-card:not(:has(> input:checked)) .b2b-pickup-line:not(:first-child) { display: none; }
 body .b2b-current-cart #cart-page .b2b-cart-collection-points .b2b-pickup-name { font-size: 13px; }
}

@media (min-width: 768px) {
 body #cart-page .b2b-cart-delivery .b2b-cart-collection-points { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Portal order history: shared layout, existing filters and action permissions. */
.b2b-history-breadcrumb, .b2b-history-intro { display: none; }
body .b2b-account-page #orders-grid > .container { max-width: 1320px; width: 100%; }
body .b2b-account-page .b2b-history-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #777; margin-bottom: 20px; }
body .b2b-history-breadcrumb a { color: #777; }
body .b2b-account-page #account-title { margin: 0 0 8px; }
body .b2b-account-page #account-title h2 { font-size: 30px; color: #171717; font-weight: 700; line-height: 1.25; }
body .b2b-account-page .b2b-history-intro { display: none; color: #777; font-size: 13px; margin: 0 0 24px; }
body .b2b-account-page .account-tabs { margin-bottom: 24px; }
body .b2b-account-page .account-tabs ul { border: 0; gap: 8px; }
/* Rounded account tabs must not inherit the legacy underline overlap. */
body .b2b-account-page .account-tabs li a { margin-bottom: 0; border: 1px solid #ddd; border-radius: 24px; padding: 10px 16px; white-space: nowrap; background: #fff; color: #333; font-weight: 600; }
body .b2b-account-page .account-tabs li:not(.is-active):not(.disabled) a:hover { background: #f5f5f2; border-color: #bbb; color: #171717; }
body .b2b-account-page .account-tabs li.is-active a { background: #111; border-color: #111; color: white; }
body .b2b-account-page .account-tabs a:focus-visible { outline: 2px solid var(--b2b-accent,#111); outline-offset: 2px; }
body .b2b-history-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0 0 20px; }
body .b2b-history-summary:has(.b2b-history-drafts) { grid-template-columns: repeat(3,minmax(0,1fr)); }
body .b2b-history-stat, body .b2b-history-drafts { padding: 20px; border-radius: 12px; border: 1px solid #e1e1dc; background: #fff; text-align: left; color: #171717; min-width: 0; }
body .b2b-history-stat > span { display: block; font-size: 11px; color: #777; text-transform: uppercase; margin-bottom: 5px; }
body .b2b-history-stat > strong { font-size: 28px; line-height: 1.3; font-weight: 700; }
body .b2b-history-drafts { display: flex; align-items: center; gap: 12px; background: color-mix(in srgb,var(--b2b-accent) 14%,white); border-color: #222; cursor: pointer; font-family: inherit; }
body .b2b-history-drafts:disabled { cursor: default; opacity: .65; }
body .b2b-history-draft-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; background: var(--b2b-accent); color: var(--b2b-accent-ink,#111); font-size: 22px; }
body .b2b-history-drafts strong { font-size: 14px; line-height: 1.4; }
body .b2b-history-drafts small { display: block; color: #666; font-size: 12px; margin-top: 3px; }
body .b2b-history-drafts > span:last-child { margin-left: auto; }
body .b2b-history-filters { display: grid; grid-template-columns: minmax(180px,2fr) repeat(2,minmax(130px,1fr)) auto auto; align-items: end; gap: 12px; padding: 20px; background: #fff; border: 1px solid #e1e1dc; border-radius: 12px; margin-bottom: 16px; }
body .b2b-history-filters label { display: block; min-width: 0; }
body .b2b-history-filters label > span { display: block; color: #666; font-size: 11px; margin-bottom: 6px; text-transform: uppercase; }
body .b2b-history-filters .input { height: 42px; width: 100%; max-width: 100%; min-width: 0; font-size: 13px; border-radius: 7px; }
body .b2b-history-filters .button { height: 42px; margin: 0; border-radius: 7px; padding: 0 20px; font-size: 12px; }
body .b2b-history-filters .b2b-history-apply { background: #111; border: 1px solid #111; color: #fff; }
body .b2b-history-filters .b2b-history-reset { background: #fff; border: 1px solid #ddd; color: #555; }
body .b2b-history-status-chips:not([hidden]) { display: flex; gap: 8px; flex-wrap: wrap; }
body .b2b-history-status-chips button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #ddd; background: #fff; color: #333; border-radius: 22px; min-height: 38px; padding: 8px 14px; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600; }
body .b2b-history-status-chips button[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
body .b2b-history-status-chips button > span { border-radius: 12px; min-width: 22px; padding: 2px 5px; background: #f0f0ed; color: #333; font-size: 11px; }
body .b2b-history-status-chips button[aria-pressed="true"] > span { background: var(--b2b-accent); color: var(--b2b-accent-ink,#111); }
body .b2b-history-status-chips button[hidden] { display: none; }
body .b2b-history-legend { margin: 14px 0 24px; color: #666; font-size: 12px; }
body .b2b-history-legend summary { cursor: pointer; }
body .b2b-history-legend > div { margin-top: 10px; padding: 16px; background: #fff; border: 1px solid #ddd; border-radius: 8px; }
body .b2b-account-page .b2b-order-day { margin: 24px 0 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: #777; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; padding: 20px 24px; background: #fff; border: 1px solid #e1e1dc; border-radius: 12px; margin-bottom: 12px; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .left-side { width: auto; min-width: 0; padding: 0; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .order-row { display: block; font-size: 12px; color: #666; overflow-wrap: anywhere; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .order-row:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-order-heading { font-size: 18px; font-weight: 700; color: #171717; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-order-created { order: 2; font-size: 11px; color: #888; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-order-status { order: 1; display: inline-flex; align-items: center; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-order-status .tag { border-radius: 5px; font-size: 11px; font-weight: 600; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .order-total { margin-left: auto; font-size: 20px; color: #171717; font-weight: 700; float: none; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .order-total small { display: block; color: #888; text-transform: uppercase; font-size: 10px; font-weight: 400; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .right-side { display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; gap: 8px; width: 280px; max-width: 100%; border: 0; padding: 0; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .meta-actions { display: contents; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .right-side .button { width: auto !important; min-width: 120px; flex: 1 1 calc(50% - 8px); margin: 0 !important; border-radius: 7px; padding: 8px 12px; min-height: 38px; font-size: 12px; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .right-side .confirm-button { order: -4; background: var(--b2b-accent); border: 1px solid var(--b2b-accent); color: var(--b2b-accent-ink,#111); }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .right-side [data-modal="edit-order-modal"] { order: -3; background: #fff; border: 1px solid #ddd; color: #333; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .right-side .download-order-pdf { order: -2; }
body .b2b-history-error { padding: 12px; margin: 12px 0; background: #fff0f0; color: #9e2525; border-radius: 8px; }
@media (max-width: 1023px) {
 body .b2b-history-filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
 body .b2b-history-filters .b2b-history-search { grid-column: 1 / -1; }
 body .b2b-history-filters .b2b-history-apply { grid-column: 1; }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order { grid-template-columns: minmax(0,1fr); }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .right-side { width: 100%; }
}
@media (max-width: 767px) {
 body .b2b-account-page #orders-grid { padding: 20px 16px 32px; }
 body .b2b-account-page #orders-grid .account-header { margin: 0; }
 body .b2b-account-page #orders-grid .account-header > .column { padding: 0; margin: 0; min-width: 0; }
 body .b2b-account-page #account-title h2 { font-size: 24px; }
 body .b2b-account-page .b2b-history-intro { display: none; }
 body .b2b-account-page .b2b-history-breadcrumb { margin-bottom: 8px; font-size: 11px; }
 body .b2b-history-summary, body .b2b-history-summary:has(.b2b-history-drafts) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 body .b2b-history-stat { padding: 14px; }
 body .b2b-history-stat > strong { font-size: 24px; }
 body .b2b-history-drafts { grid-column: 1 / -1; padding: 14px; }
 body .b2b-history-filters { padding: 14px; gap: 10px; }
 body .b2b-history-filters .button { padding: 0 12px; }
 body .b2b-history-status-chips button { font-size: 11px; padding: 8px 10px; }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order { padding: 16px; gap: 14px; }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-order-heading { font-size: 16px; }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .order-total { font-size: 20px; }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .right-side .button { min-width: 0; }
}

body .b2b-account-page #account-title { padding: 0; }
body .b2b-account-page #account-title h2 { margin: 0 !important; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-order-heading strong { font-size: inherit; font-weight: inherit; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .right-side :is(.secondary-button,.reso-btn) { background: #fff; border: 1px solid #ddd; color: #333; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .left-side { border: 0 !important; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .order-row:first-child { flex-direction: row; }
@media (max-width: 767px) {
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .order-row:first-child { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 6px 12px; }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .b2b-order-heading { grid-column: 1; grid-row: 1; }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .b2b-order-created { grid-column: 1; grid-row: 2; }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .b2b-order-status { grid-column: 1 / -1; grid-row: 3; }
 body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .order-total { grid-column: 2; grid-row: 1 / 3; margin: 0; text-align: right; }
 body .b2b-portal-history .b2b-history-summary:not(:has(#totale-righe)) .b2b-history-stat { grid-column: 1 / -1; }
}

body .b2b-history-draft-icon svg { width: 18px; height: 18px; }
body :is(#orders-main,#orders-history-main,#transport-document-history-main) .b2b-portal-order .order-total { order: 3; }
/* Ignore legacy logo offsets while the portal history is active on mobile. */
@media (max-width: 767px) {
 body:has(:is(.b2b-account-page,.b2b-history-detail)) .mobile-navbar .mobile-bar-logo .navbar-item { display: flex; align-items: center; justify-content: center; height: 48px; padding: 4px; }
 body:has(:is(.b2b-account-page,.b2b-history-detail)) .mobile-navbar .mobile-bar-logo .brand-logo { margin: 0 !important; width: auto; max-width: 140px; max-height: 40px; object-fit: contain; }
}

/* Both histories share their shell; global orders retain dispatch and ERP amounts. */
body .b2b-account-page:has([data-content="orders-tab"].is-active) [data-history-intro="orders-tab"],
body .b2b-account-page:has([data-content="orders-history-tab"].is-active) [data-history-intro="orders-history-tab"] { display: block; }
body .b2b-global-summary { grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); }
body #orders-history-main .b2b-global-order { grid-template-columns: minmax(0,1fr) minmax(150px,auto) 260px; align-items: center; }
body #orders-history-main .b2b-global-order .right-side { width: 260px; }
body .b2b-order-amounts { display: grid; gap: 10px; min-width: 0; }
body .b2b-order-amounts small { display: block; color: #777; font-size: 10px; text-transform: uppercase; }
body .b2b-order-amounts strong { display: block; font-size: 18px; color: #171717; overflow-wrap: anywhere; }
body .b2b-dispatch-status.b2b-dispatch-0 { background: #fff0f0; color: #ad2929; }
body .b2b-dispatch-status.b2b-dispatch-1 { background: #fff4dd; color: #8a590b; }
body .b2b-dispatch-status.b2b-dispatch-2 { background: #e9f6ed; color: #207044; }
@media (max-width: 1023px) {
 body #orders-history-main .b2b-global-order { grid-template-columns: minmax(0,1fr); }
 body #orders-history-main .b2b-global-order .right-side { width: 100%; }
 body .b2b-order-amounts { grid-template-columns: repeat(2,minmax(0,1fr)); padding-top: 12px; border-top: 1px solid #eee; }
 body .b2b-order-amounts:empty { display: none; }
}
@media (max-width: 767px) {
 body .b2b-account-page [data-history-intro] { display: none !important; }
 body .b2b-global-summary { grid-template-columns: minmax(0,1fr); }
 body .b2b-global-summary .b2b-history-stat { grid-column: auto; }
}
body .b2b-order-amounts:empty { display: none; }
@media (min-width: 1024px) {
 body #orders-history-main .b2b-global-order:has(.b2b-order-amounts:empty) { grid-template-columns: minmax(0,1fr) 260px; }
}

/* Stable account shell: the navigation does not move when changing tabs. */
body .b2b-account-page #orders-grid > .container { max-width: 1320px; }
body .b2b-account-page .account-header { margin: 0; }
body .b2b-account-page .account-header > .main-column { padding: 0; min-width: 0; }
body .b2b-account-page .b2b-account-heading { margin-bottom: 24px; }
body .b2b-account-page .b2b-history-breadcrumb { min-height: 18px; line-height: 18px; }
body .b2b-account-page .b2b-account-breadcrumb-parent { display: inline-flex; align-items: center; gap: 10px; }
body .b2b-account-page .b2b-account-breadcrumb-parent[hidden] { display: none; }
body .b2b-account-page .b2b-account-intros { min-height: 36px; }
body .b2b-account-page .b2b-history-intro { margin: 0; font-size: 13px; line-height: 18px; }
body .b2b-account-page:has([data-content="account-tab"].is-active) [data-history-intro="account-tab"],
body .b2b-account-page:has([data-content="customers-tab"].is-active) [data-history-intro="customers-tab"],
body .b2b-account-page:has([data-content="coupons-tab"].is-active) [data-history-intro="coupons-tab"] { display: block; }
body .b2b-account-page > #orders-grid > .container > .account-header > .column > .tab-content { min-height: 360px; }
body .b2b-account-page :is(#account-main,#customers-main) .flat-card,
body .b2b-account-page .coupon-card { border: 1px solid #e1e1dc; border-radius: 12px; background: #fff; box-shadow: none; }
body .b2b-account-page :is(#account-main,#customers-main) .card-title { border-bottom: 1px solid #eee; padding: 16px 20px; background: transparent; border-radius: 12px 12px 0 0; }
body .b2b-account-page :is(#account-main,#customers-main) .card-title h3 { margin: 0; font-size: 16px; color: #171717; font-weight: 600; }
body .b2b-account-page :is(#account-main,#customers-main) .label-text { display: block; color: #777; font-size: 12px; line-height: 1.5; }
body .b2b-account-page :is(#account-main,#customers-main) .label-value { color: #333; font-size: 14px; line-height: 1.6; }
body .b2b-account-page .coupon-card .card-title { gap: 6px; border: 0; }
body .b2b-account-page .coupon-card .card-title h3 { margin: 0; overflow-wrap: anywhere; }
body .b2b-account-page .coupon-card .card-title h3:first-child { font-size: 18px !important; line-height: 1.4; }
body .b2b-account-page .coupon-card .card-title h3:last-child { align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: color-mix(in srgb,var(--b2b-accent) 14%,white); color: #171717; font-size: 16px; line-height: 1.4; }
body .b2b-account-page #coupons-main > .columns { margin: 0; }
@media (max-width: 767px) {
 body .b2b-account-page .b2b-account-heading { margin-bottom: 20px; }
 body .b2b-account-page .b2b-account-intros { display: none; }
 body .b2b-account-page #account-main > .is-5 { gap: 16px; }
}
/* Reserve the page scrollbar when a shorter tab would otherwise hide it. */
body .b2b-account-page { scrollbar-gutter: stable; }
body .b2b-account-page :is(#account-main,#customers-main) .info-block { margin: 0; padding: 8px 0; }

body .b2b-account-page .account-header > .main-column { width: 100%; max-width: none; flex: 1 1 auto; }
@media (max-width: 767px) {
 body .b2b-account-page .b2b-history-breadcrumb { min-height: 36px; align-content: flex-start; }
 body .b2b-account-page #account-title h2 { min-height: 60px; }
}
body .b2b-account-page #orders-grid .account-header > .main-column { margin: 0 !important; max-width: 100% !important; }

/* Read-only ERP order detail: same cards and navigation as global history. */
body .b2b-history-detail { background: #f5f5f3; padding-bottom: 80px; scrollbar-gutter: stable; }
body .b2b-history-detail-inner { max-width: 1360px; padding: 28px 24px 40px; margin: 0 auto; color: #171717; }
body .b2b-history-detail-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #777; font-size: 12px; line-height: 18px; margin-bottom: 20px; }
body .b2b-history-detail-breadcrumb a { color: #777; }
body .b2b-history-detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
body .b2b-history-detail-heading > div { min-width: 0; }
body .b2b-history-detail-heading h1 { margin: 10px 0 0; font-size: 30px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
body .b2b-history-detail-back { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: #555; }
body .b2b-history-detail-back svg { width: 15px; height: 15px; }
body .b2b-history-detail .b2b-dispatch-status { border-radius: 5px; font-size: 11px; font-weight: 600; white-space: normal; height: auto; padding: 4px 8px; }
body .b2b-history-detail-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 28px; }
body .b2b-history-detail-stats > div { min-width: 0; background: #fff; padding: 18px 20px; border: 1px solid #e1e1dc; border-radius: 12px; }
body .b2b-history-detail-stats > div > span { display: block; font-size: 11px; color: #777; text-transform: uppercase; margin-bottom: 5px; }
body .b2b-history-detail-stats strong { font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
body .b2b-history-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 24px; align-items: start; }
body .b2b-history-detail-products { min-width: 0; }
body .b2b-history-detail-products > h2 { font-size: 18px; line-height: 1.4; margin: 0 0 14px; font-weight: 600; }
body .b2b-history-detail-item { background: #fff; border: 1px solid #e1e1dc; border-radius: 12px; padding: 20px; margin-bottom: 14px; }
body .b2b-history-detail-item-main { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
body .b2b-history-detail-image { width: 80px; height: 80px; flex: 0 0 80px; display: grid; place-items: center; background: #fff; }
body .b2b-history-detail-image img { display: block; width: 100%; height: 100%; max-height: 80px; object-fit: contain; }
body .b2b-history-detail-description { min-width: 0; }
body .b2b-history-detail-description > span:first-child { display: block; font-size: 11px; color: #777; margin-bottom: 4px; overflow-wrap: anywhere; }
body .b2b-history-detail-description h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
body .b2b-history-detail-shipping-date { display: inline-block; font-size: 11px; color: #777; margin-left: 8px; }
body .b2b-history-detail-quantities, body .b2b-history-detail-prices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 0; padding: 14px 0 0; border-top: 1px solid #eee; }
body .b2b-history-detail-quantities { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 12px 14px; background: #f7f7f5; border: 0; border-radius: 8px; margin-bottom: 14px; }
body .b2b-history-detail-item dt { font-size: 11px; color: #777; line-height: 1.5; margin: 0 0 4px; }
body .b2b-history-detail-item dd { margin: 0; color: #222; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
body .b2b-history-detail-discount small { display: block; font-size: 11px; font-weight: 400; color: #777; margin-top: 2px; }
body .b2b-history-detail-summary { background: #fff; border: 1px solid #e1e1dc; border-radius: 12px; position: sticky; top: 24px; max-height: calc(100dvh - 220px); overflow-y: auto; }
body .b2b-history-detail-summary section { padding: 18px 20px; border-bottom: 1px solid #eee; }
body .b2b-history-detail-summary h2 { font-size: 12px; color: #777; margin: 0 0 8px; font-weight: 400; }
body .b2b-history-detail-party p { margin: 0; font-size: 13px; line-height: 1.6; color: #333; overflow-wrap: anywhere; }
body .b2b-history-detail-totals > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 13px; margin-top: 12px; }
body .b2b-history-detail-totals strong { font-size: 18px; text-align: right; overflow-wrap: anywhere; }
body .b2b-history-detail-actions { display: grid; gap: 10px; padding: 18px 20px; background: #fff; position: sticky; bottom: 0; }
body .b2b-history-detail-actions .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; height: auto; padding: 10px 12px; gap: 8px; background: #fff; color: #333; border: 1px solid #ddd; border-radius: 7px; font-size: 12px; white-space: normal; }
body .b2b-history-detail-actions .button svg { width: 16px; height: 16px; flex-shrink: 0; }
body .b2b-history-detail-actions .b2b-history-detail-primary { background: var(--b2b-accent); border-color: var(--b2b-accent); color: var(--b2b-accent-ink,#111); }
body .b2b-history-detail-actions .link-pdf { display: none; }
body .b2b-history-detail-empty { padding: 60px 24px; background: #fff; border: 1px solid #e1e1dc; border-radius: 12px; text-align: center; color: #777; }
body .b2b-history-detail-empty h2 { font-size: 18px; margin-top: 16px; }
@media (max-width: 1023px) {
 body .b2b-history-detail-layout { grid-template-columns: minmax(0,1fr); }
 body .b2b-history-detail-summary { position: static; max-height: none; overflow: visible; }
 body .b2b-history-detail-actions { position: static; border-radius: 0 0 12px 12px; }
}
@media (max-width: 767px) {
 body .b2b-history-detail-inner { padding: 20px 16px 32px; }
 body .b2b-history-detail-breadcrumb { font-size: 11px; gap: 8px; }
 body .b2b-history-detail-heading { display: block; margin-bottom: 20px; }
 body .b2b-history-detail-heading h1 { font-size: 24px; margin-bottom: 10px; }
 body .b2b-history-detail-stats { gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
 body .b2b-history-detail-stats > div { padding: 14px; }
 body .b2b-history-detail-stats > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
 body .b2b-history-detail-stats strong { font-size: 16px; }
 body .b2b-history-detail-item { padding: 16px; }
 body .b2b-history-detail-item-main { gap: 12px; align-items: start; }
 body .b2b-history-detail-image { width: 60px; height: 60px; flex-basis: 60px; }
 body .b2b-history-detail-image img { max-height: 60px; }
 body .b2b-history-detail-description h3 { font-size: 14px; }
 body .b2b-history-detail-quantities, body .b2b-history-detail-prices { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 body .b2b-history-detail-shipping-date { display: block; margin: 6px 0 0; }
}
@media (min-width: 768px) {
 body .b2b-history-detail-quantities { grid-template-columns: repeat(auto-fit,minmax(100px,1fr)); }
 body .b2b-history-detail-prices { grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); }
}
body:has(.b2b-history-detail) #new-order-modal-trigger-fab { display: none !important; }

/* DDT history shares the existing account shell and document-card controls. */
body .b2b-account-page:has([data-content="transport-document-history-tab"].is-active) [data-history-intro="transport-document-history-tab"] { display: block; }
body #transport-document-history-main .b2b-ddt-order { grid-template-columns: minmax(0,1fr) 170px 260px; align-items: center; }
body #transport-document-history-main .b2b-ddt-order .right-side { width: 260px; }
body #transport-document-history-main .b2b-order-amounts { grid-template-columns: repeat(2,minmax(0,1fr)); }
body #transport-document-history-main .b2b-order-amounts > div:last-child { grid-column: 1 / -1; }
body #transport-document-history-main .b2b-order-amounts > div:not(:last-child) strong { font-size: 13px; }
@media (min-width: 1024px) {
 body #transport-document-history-main .b2b-ddt-order:has(.b2b-order-amounts:empty) { grid-template-columns: minmax(0,1fr) 260px; }
}
@media (max-width: 1023px) {
 body #transport-document-history-main .b2b-ddt-order { grid-template-columns: minmax(0,1fr); }
 body #transport-document-history-main .b2b-ddt-order .right-side { width: 100%; }
}
body .b2b-ddt-detail-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
body .b2b-ddt-detail .b2b-history-detail-item dd > small { display: block; color: #777; font-weight: 400; font-size: 11px; margin-top: 2px; }
body .b2b-ddt-detail-total { border-top: 1px solid #eee; padding-top: 12px; font-weight: 600; }

/* Return-order dialog: isolated from the legacy cart-row widths. */
body #new-resi-modal .modal-content { width: min(960px,calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow: visible; margin: 16px auto; }
body #new-resi-modal .box { display: flex; flex-direction: column; padding: 0; max-height: calc(100dvh - 32px); border-radius: 12px; overflow: hidden; box-shadow: none; }
body #new-resi-modal .box-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 60px; background: #111; border: 0; }
body #new-resi-modal .box-header #return-order-title { padding: 0; color: #fff; font-size: 18px; line-height: 1.4; font-weight: 600; text-transform: none; }
body #new-resi-modal .box-header .modal-delete { margin: 0; color: #fff; flex-shrink: 0; }
body #new-resi-modal .box-header .modal-delete svg { width: 20px; height: 20px; stroke: currentColor; }
body #new-resi-modal .box-body { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 20px 22px; background: #f5f5f3; }
body #new-resi-modal #reso-main > [data-order-item] { min-width: 0; }
body #new-resi-modal #reso-main .cart-card { margin: 0 0 14px; padding: 16px; border: 1px solid #e1e1dc; border-radius: 10px; box-shadow: none; background: #fff; }
body #new-resi-modal #reso-main .cart-content { padding: 0; margin: 0; list-style: none; }
body #new-resi-modal #reso-main .cart-content > li { margin: 0; padding: 0; min-width: 0; }
body #new-resi-modal #reso-main .cart-content > li:first-child { display: grid; grid-template-columns: 64px minmax(0,1fr) 112px 100px 100px; align-items: center; gap: 16px; border: 0; }
body #new-resi-modal #reso-main .cart-content > li:first-child > img { width: 64px; height: 64px; max-width: 100%; margin: 0; object-fit: contain; }
body #new-resi-modal #reso-main .cart-content > li > .product-info { width: auto !important; min-width: 0; margin: 0 !important; padding: 0 !important; }
body #new-resi-modal #reso-main .product-info a { display: grid; gap: 4px; color: #222; overflow-wrap: anywhere; }
body #new-resi-modal #reso-main .product-info a span:first-child { color: #777; font-size: 11px; font-weight: 400; line-height: 1.4; }
body #new-resi-modal #reso-main .product-info a span:last-child { color: #222; font-size: 14px; font-weight: 600; line-height: 1.45; }
body #new-resi-modal #reso-main .cart-content > li > :is(.product-quantity,.product-price) { width: auto !important; min-width: 0; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
body #new-resi-modal #reso-main .cart-content > li > :is(.product-quantity,.product-price) > span { width: auto; padding: 0; margin: 0; white-space: normal; line-height: 1.4; }
body #new-resi-modal #reso-main .cart-content > li > :is(.product-quantity,.product-price) > span:first-child { font-size: 11px; color: #777; text-transform: none; }
body #new-resi-modal #reso-main .cart-content > li > :is(.product-quantity,.product-price) > span:last-child { font-size: 14px; color: #222; font-weight: 600; }
body #new-resi-modal #reso-main .reso-quantity { display: block; width: 100%; min-width: 0; max-width: 100%; height: 40px; padding: 6px 10px; border: 1px solid #ccc; border-radius: 7px; text-align: center; font-size: 14px; font-weight: 400; box-shadow: none; }
body #new-resi-modal #reso-main .cart-content > li:last-child { display: block; margin-top: 14px; }
body #new-resi-modal #reso-main .reso-comment { display: block; width: 100%; min-width: 0; height: auto; min-height: 72px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 7px; font-size: 13px; line-height: 1.5; resize: vertical; box-shadow: none; }
body #new-resi-modal .disclaimer-return-policy-acceptance { padding: 4px 0; font-size: 12px; color: #555; line-height: 1.6; }
body #new-resi-modal .disclaimer-return-policy-acceptance .checkbox { display: flex; align-items: flex-start; gap: 8px; color: inherit; }
body #new-resi-modal .disclaimer-return-policy-acceptance input { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; accent-color: var(--b2b-accent); }
body #new-resi-modal .disclaimer-return-policy-acceptance p { margin: 8px 0 0; }
body #new-resi-modal .b2b-return-modal-actions { display: flex; justify-content: flex-end; flex: 0 0 auto; padding: 16px 22px; border-top: 1px solid #e1e1dc; background: #fff; }
body #new-resi-modal .b2b-return-modal-actions .button { margin: 0; min-height: 42px; height: auto; min-width: 140px; padding: 10px 20px; font-size: 13px; border-radius: 7px; background: var(--b2b-accent); color: var(--b2b-accent-ink,#111); border: 1px solid var(--b2b-accent); }
@media (max-width: 767px) {
 body #new-resi-modal .modal-content { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: 12px auto; }
 body #new-resi-modal .box { max-height: calc(100dvh - 24px); }
 body #new-resi-modal .box-header { padding: 16px; }
 body #new-resi-modal .box-body { padding: 14px; }
 body #new-resi-modal #reso-main .cart-card { padding: 14px; }
 body #new-resi-modal #reso-main .cart-content > li:first-child { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; align-items: start; }
 body #new-resi-modal #reso-main .cart-content > li:first-child > img { width: 56px; height: 56px; grid-column: 1; }
 body #new-resi-modal #reso-main .cart-content > li > .product-info { grid-column: 2 / -1; }
 body #new-resi-modal #reso-main .cart-content > li > .product-quantity { grid-column: span 2; }
 body #new-resi-modal #reso-main .cart-content > li > .product-price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; padding-top: 12px !important; border-top: 1px solid #eee; }
 body #new-resi-modal .b2b-return-modal-actions { padding: 14px; }
 body #new-resi-modal .b2b-return-modal-actions .button { width: 100%; }
}

/* Barcode picking uses the compact quantity control of the shared catalogue. */
body #barcode-page .product-quantity .details-spinner { display: grid; grid-template-columns: 32px minmax(40px,1fr) 32px 48px; align-items: center; gap: 0; height: 32px; min-width: 0; max-width: 100%; margin: 0; border: 1px solid #ddd; border-radius: 8px; background: #fff; box-shadow: none; }
body #barcode-page .details-spinner .hidden-spinner { position: static; width: 100%; min-width: 0; height: 30px; margin: 0; padding: 0 4px; border: 0; border-radius: 0; background: transparent; color: #333; text-align: center; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; box-sizing: border-box; }
body #barcode-page .details-spinner .spinner-button { width: 32px; height: 30px; min-height: 30px; margin: 0; padding: 0; border-radius: 0; display: grid; place-items: center; }
body #barcode-page .details-spinner .details-add-to-cart { width: 48px; height: 30px; min-height: 30px; margin: 0; padding: 0; border-radius: 0 7px 7px 0; display: grid; place-items: center; }
body #barcode-page .details-spinner svg { width: 16px; height: 16px; margin: 0; }
