#popup-overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 999999;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden; }

#packaging-popup {
  position: fixed;
  z-index: 9999999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  background: #fff;
  width: auto;
  min-width: 650px;
  padding: 20px;
  text-align: center;
  border-radius: 15px; }
  #packaging-popup .close-icon {
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 26px;
    color: #000;
    font-weight: bold;
    cursor: pointer; }
  #packaging-popup .checkbox .label {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px; }
  #packaging-popup #packaging-no-box h4 {
    margin: 20px 0 20px 0;
    font-size: 26px;
    line-height: 30px; }

@media only screen and (max-width: 1199px) {
  #packaging-popup {
    min-width: 750px; } }

@media only screen and (max-width: 991px) {
  #packaging-popup {
    min-width: 650px; } }

@media only screen and (max-width: 767px) {
  #packaging-popup {
    min-width: auto;
    width: 90%; } }

@media (max-width: 800px) {
  body,
  body.hasAdminBar,
  .navPages-container.is-open {
    padding-top: 65px !important; }
  .header,
  .header.fixed,
  .header.is-open {
    height: 65px !important; }
  .logo-user-section.container,
  .logo-user-section.container.fixed {
    height: 65px !important; }
  .logo-user-section.container.fixed {
    top: -65px !important; }
  .logo-user-section.container.fixed.fixed-again {
    top: 0 !important; }
  .mobileMenu-toggle {
    height: 65px !important; }
  .mobileMenu-toggle.fixed {
    top: -65px !important; }
  .mobileMenu-toggle.fixed.fixed-again {
    top: 0 !important; }
  .header-logo > a {
    padding: 0 !important; }
  .header-logo-image-container {
    height: 65px !important; }
  .header-logo-image-container:after {
    display: none !important; }
  .header-logo-image {
    max-height: 57px !important;
    max-width: 155px !important;
    width: auto !important;
    height: auto !important; } }

/* ---- B2B Edition notification fixes (Oct 2026) ---- */
/* "Products were added to your quote" toast: keep it below the sticky header */
#bundle-container .MuiSnackbar-anchorOriginTopRight {
  top: 110px !important;
  z-index: 100000 !important; }

/* "Finish Quote" button: lift it clear of the back-to-top arrow */
#bundle-container .MuiSnackbar-anchorOriginBottomRight {
  bottom: 90px !important;
  z-index: 100000 !important; }

@media only screen and (max-width: 800px) {
  #bundle-container .MuiSnackbar-anchorOriginTopRight {
    top: 60px !important; }
  #bundle-container .MuiSnackbar-anchorOriginBottomRight {
    bottom: 80px !important; } }

/* Cart page: keep the product image inside its own cell */
.cart-item-figure {
  position: relative !important; }

.cart-item-image {
  position: static !important;
  display: block !important;
  margin: 0 auto !important; }

/* ---- Mobile cart fixes (Oct 2026) ---- */
@media only screen and (max-width: 800px) {
  /* Stack the product image above the item details */
  .cart-item-figure {
    position: static !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    text-align: center; }
  .cart-item-image {
    max-width: 100px !important;
    margin: 0 auto 10px !important; }
  .cart-item-figure::after,
  .cart-item-figure::before {
    display: none !important;
    content: none !important; }
  .cart-item-title,
  .cart-item-info {
    display: block !important;
    width: 100% !important;
    padding-left: 0 !important; }
  /* Make "Add All to Quote" full width under Check Out */
  .cart-actions .b2b-cart-to-quote {
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    text-align: center; } }
