   * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, sans-serif;
}
body {
  background: #f7f7f7;
  color: #111;
}
.page {
  max-width: 1450px;
  margin: 0 auto;
}
.layout {
  display: grid;
  grid-template-columns: 3.5fr 1fr;
  gap: 50px;
}
.content {
  background: #fff;
  padding: 28px;
  border-radius: 32px;
}
.content h1 {
  font-size: 26px;
}
.subtitle {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
.date {
  display: inline-block;
  margin: 10px 0 20px;
  font-size: 13px;
  color: #888;
}
.hero-image {
  display: flex;
  justify-content: center;
    margin: 10px 0 10px;
}
.hero-image img {
  width: 64%;
  border-radius: 14px;
}
.body-text {
  font-size: 15px;
  line-height: 1.6;   
  color: #333;
  margin-bottom: 14px;  
}
.content h1,
.content h2,
.content h3 {
  margin-bottom: 10px;
  margin-top: 18px;
  line-height: 1.3;
}
.layout {
  display: grid;
  grid-template-columns: 3.5fr 1fr;
  gap: 35px;  
}
.sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 300px;        
  max-height: 1850px;   
  overflow-y: auto;  
}
.sidebar h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
.product-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
}
.product-card img {
  width: 100%;
  max-height: 383px;
  object-fit: contain;
  margin-bottom: 10px;
}
.product-title {
  font-size: 14px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;      
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 38px;           
}
.price {
  font-weight: 600;
  margin-bottom: 12px;
}
.product-card button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}
.product-card button:hover {
  background: #333;
}
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: -1;
  }
}
.blog{
  text-align: center;
}
.blog-container {
  max-width: 1400px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 20px;
}
.blog-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
.blog-card h3 {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
}
.sidebar-toggle {
  display: none;
}

@media (max-width: 1200px) {
  .blog-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .blog-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .blog-container {
    grid-template-columns: 1fr;
  }
  .blog-card img {
    height: 200px;
  }
    .hero-image img {
    width: 100%;                
  }
}
@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    top: 0;
    right: -100%;      
    width: 280px;
    height: 100vh;
    max-height: none;
    overflow-y: auto;
    border-radius: 0;
    z-index: 1000;
    transition: right 0.3s ease;
  }
  .sidebar.active {
    right: 0;          
  }
  .sidebar-toggle {
    display: block;
    position: fixed;
    top: 5%;
    right: 5px;
    transform: translateY(-50%);
    padding: 8px 12px;
    font-size: 10px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    z-index: 1100;
    cursor: pointer;
  }

}