css
/* ============================================
   ICM Industries SA - Modern CSS Fixes
   For eggincubator.co.za and all subpages
   ============================================ */

/* ----- RESET & BASE IMPROVEMENTS ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body: remove tiny hardcoded 10pt, use readable rem */
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1rem;           /* 16px base, user-scalable */
  line-height: 1.5;
  background: #faf9f2 url('images/paper.jpg') repeat;
  color: #1a2c2c;
  padding: 1rem;
}

/* ----- IMAGES: NO DEFORMATION ----- */
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Remove forced width/height from old inline attrs if present */
img[width], img[height] {
  width: auto;
  height: auto;
  max-width: 100%;
}

/* ----- TABLES: NO MOBILE BREAKAGE ----- */
table, .spec-table, .aliDataTable, .product-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  margin: 1rem 0;
}

/* On small screens, tables become scrollable horizontally */
@media (max-width: 768px) {
  table, .spec-table, .aliDataTable, .product-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  td, th {
    white-space: normal;
    word-break: break-word;
  }
}

td, th {
  border: 1px solid #dee6e0;
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

/* ----- TYPOGRAPHY (no tiny forced fonts) ----- */
h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 1rem 0;
  background: linear-gradient(135deg, #1e5a3a, #b5412e);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
  border-left: 5px solid #c73b1e;
  padding-left: 1rem;
}
h3 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
}
p, li, .normal, .Normal {
  font-size: 1rem;
  line-height: 1.5;
}
.small, .style2, .style5, .style8 {
  font-size: 0.85rem !important;
}

/* ----- LINKS & BUTTONS: TOUCH FRIENDLY ----- */
a {
  color: #c73b1e;
  text-decoration: none;
  transition: 0.2s;
}
a:hover {
  text-decoration: underline;
  color: #9a2e1a;
}
/* Make all clickable elements have decent tap size */
a, button, .btn, input[type="submit"], .cta-button, .order-link {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 60px;
  font-weight: 600;
  touch-action: manipulation;
}
/* Focus state for accessibility */
a:focus, button:focus, .btn:focus {
  outline: 3px solid #c73b1e;
  outline-offset: 2px;
}

/* ----- FORMS (if any) ----- */
input, select, textarea {
  font-size: 1rem;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  margin: 0.5rem 0;
}
button, .btn {
  background: #1e5a3a;
  color: white;
  border: none;
  cursor: pointer;
}
button:hover, .btn:hover {
  background: #c73b1e;
  text-decoration: none;
}

/* ----- LAYOUT HELPERS (for existing divs) ----- */
.container, .wrap, .content-wrap {
  max-width: 1300px;
  margin: 0 auto;
  background: rgba(255,255,255,0.96);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
}

/* Responsive grids for product cards (if you use .product-grid) */
.product-grid, .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

/* card styling (if classes exist) */
.card, .product-card {
  background: white;
  border-radius: 1.5rem;
  border: 1px solid #e2e8e0;
  padding: 1.2rem;
  transition: transform 0.2s;
}
.card:hover, .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* price highlight (fix your .price class) */
.price, .price-highlight, .price-large, .price-big {
  color: #c73b1e;
  font-weight: 800;
  font-size: 1.6rem;
}
.price-small {
  font-size: 1rem;
}

/* info boxes / warnings */
.info-notice, .warning-note, .info-box {
  background: #fff6e5;
  border-left: 6px solid #e67e22;
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}
.danger-note {
  background: #fee9e6;
  border-left-color: #c0392b;
}

/* contact & footer */
.contact-block, .contact-bar {
  background: #eef3ea;
  border-radius: 1.5rem;
  padding: 1.2rem;
  text-align: center;
  margin: 1.5rem 0;
}
.footer {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dce6d8;
  margin-top: 2rem;
}

/* ----- MOBILE FIRST ADAPTATIONS ----- */
@media (max-width: 768px) {
  body {
    padding: 0.5rem;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .price, .price-large {
    font-size: 1.4rem;
  }
  .container, .wrap {
    padding: 1rem;
  }
  .product-grid, .products-grid {
    grid-template-columns: 1fr;
  }
  /* make any two-column flex become column */
  .hero, .two-columns, .flex-row {
    flex-direction: column;
  }
  /* fix inline tables that used % widths */
  table[width], .spec-table[width] {
    width: 100% !important;
  }
}

/* ----- PRINT FRIENDLY (optional) ----- */
@media print {
  body {
    background: white;
    font-size: 12pt;
  }
  a {
    text-decoration: underline;
  }
  .btn, .cta-button, .contact-bar {
    display: none;
  }
}