.layout { display: flex; }
.sidebar {
  position: fixed;
  top: 5px;
  left: 0;
   margin-bottom: 50px
  width: 110px;
  height: calc(100vh - 50px); /* fits viewport minus footer/header */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  box-sizing: border-box;
  background: #fff;

  padding-bottom: 70px; /* space at bottom for iPhone/Chrome */
}
.main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1; padding: 20px; margin-left: 80px; 
  
}

.content h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 15px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 5px;
}

.content h2 {
  font-size: 1.5rem;
  color: #34495e;
  margin-top: 25px;
  margin-bottom: 10px;
}

.content p {
  line-height: 1.6;
  color: #555;
}

.content ul, .content ol {
  margin: 15px 0;
  padding-left: 25px;
}

.content li {
  margin-bottom: 8px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.content table th,
.content table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.content table th {
  background: #3498db;
  color: #fff;
}

.content table tr:nth-child(even) {
  background: #f2f2f2;
}

.content ol li {
  margin-bottom: 10px;
}

.content strong {
  color: #2c3e50;
}

.sidebar::-webkit-scrollbar {   width: 6px;}
.sidebar::-webkit-scrollbar-thumb {  background-color: #888;  border-radius: 3px;}
.sidebar a { display: block; text-decoration: none; color: #555; font-size: 15px; text-transform: lowercase; padding: 4px 6px; margin: 8px; }
.sidebar a.active { font-weight: bold; color: #2196F3; }
.sidebar a.all-products { font-size: 13px; color: #E91E63; font-weight: bold; text-transform: uppercase; }
.sidebar li { margin: 0 0 12px 0; }
.sidebar ul { list-style: none; margin: 0; padding: 0;margin-bottom: 110px; margin-top: 100px; }
.gallery-grid {margin-left: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { background: #fff; border: 1px solid #ddd; padding: 10px; text-align: center; border-radius: 5px; }
.product-card img { max-width: 100%; height: auto; margin-bottom: 10px; }
.product-card h3 { margin: 10px 0 5px; font-size: 16px; color: #444; }
.product-card p { margin: 4px 0; font-size: 14px; color: #555; }
.details-button { display: inline-block; margin-top: 10px; padding: 6px 12px; background: #2196F3; color: #fff; text-decoration: none; border-radius: 3px; }
.details-button:hover { background: #1976D2; }
.no-image { width: 100%; height: 150px; background: #eee; display: flex; align-items: center; justify-content: center; color: #999; }