
/* print */
@media print {
    
 /* Hide menus, footers, and sidebars */
  nav, footer, header, .sidebar, .ads, .quote, img, .advs-box-buttons {
    display: none !important;
  }
    html,
  body {
    height: auto;
  }
    .header-title, .grid-item, .grid-box {
        height:auto !important;
        padding:0 !important;
    }
    
/* for catalog page - this is modified in jquery on catalog page */  
    .showBody {
    visibility: visible !important; 
      }
    .autoHeight {
        height: auto !important;  
     }
    
/* for popup - this is modified in jquery  on catalog page */
    .hideBody {
        visibility: hidden!important; 
    }
    .zeroHeight {
        height: 0 !important;  
    }

/* Ensure content takes up full width */
  .catalog {
    width: 100%;
    margin: 0;
    padding: 0;
    }
  
  /* Make only the specific popup/section visible */
  .printable-area, .printable-area * {
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;  
    page-break-inside: avoid;
    break-inside: avoid; /* Modern CSS property */
  }
}
