
.product-catalog {
  padding: 0;
  min-height: 100vh;
}

.catalog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  gap: 2rem;
}

/* Left Sidebar */
.sidebar {
  flex: 0 0 280px;
  height: fit-content;
  position: sticky;
  top: 6rem;
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.main-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.main-tab {
  border: none;
  padding: 0.875rem 1rem;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background: transparent;
  color: #6c757d;
  border: 1px solid transparent;
}

.main-tab:hover {
  background: #f8f9fa;
  color: #495057;
}

.main-tab.active {
  background: #F6F6F8;
  color: black;
  border: 1px solid #F6F6F8;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.content-area {
  flex: 1;
  background: white;
  border-radius: 8px;
  overflow: hidden;

}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}



.content-header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.sub-tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.sub-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.more-tabs-btn {
    border: none;
    padding: 0.5rem 1rem;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    background: #2563eb;
    color: white;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.more-tabs-btn:hover {
    background: #1d4ed8;
}

.sub-tab {
  background: #f8f9fa;
  border: 1px solid #EFEFF0;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #495057;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sub-tab:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.sub-tab.active {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

.subtab-content {
  display: none;
  padding: 2rem;
}

.subtab-content.active {
  display: block;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  color: #6c757d;
}

.product-card {
  display: flex;
  gap: 1.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.product-image {
  flex: 0 0 200px;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  background: #f8f9fa;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.75rem;
}

.product-info p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.95rem;
}

.simple-content {
  padding: 2rem;
  color: black;
}

.simple-content h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.feature-image {
  margin-bottom: 2rem;
}

.feature-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  background: #f8f9fa;
}

.content-description {
  max-width: 800px;
}

.content-description p {
  color: #495057;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Enhanced Responsive Design */
@media (max-width: 992px) {
  .catalog-container {
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }
  
  .sidebar {
    flex: 0 0 260px;
    top: 5rem;
  }
  
  .content-area {
    padding-left: 1rem;
  }
  
  .subtab-content,
  .simple-content {
    padding: 1.5rem;
  }
  
  .product-list {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .product-catalog {
    padding: 0;
  }

  .catalog-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .sidebar {
    flex: none;
    position: static;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .sidebar-title {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    text-align: center;
    color: #1f2937;
  }

  .main-tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .main-tabs::-webkit-scrollbar {
    height: 4px;
  }

  .main-tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .main-tabs::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 4px;
  }

  .main-tabs::-webkit-scrollbar-thumb:hover {
    background: white;
  }

  .main-tab {
    white-space: nowrap;
    min-width: fit-content;
    flex-shrink: 0;
    font-size: 0.95rem;
    padding: 0.85rem 1.1rem;
  }

  .content-area {
    padding-left: 0;
    border-left: none;
  }

  .content-header {
    padding: 1.75rem 1.25rem 1.25rem;
  }

  .content-header h1 {
    font-size: 1.85rem;
    text-align: center;
    margin-bottom: 1.75rem;
    color: #1f2937;
  }

  .sub-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .sub-tabs::-webkit-scrollbar {
    height: 4px;
  }

  .sub-tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .sub-tabs::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
  }

  .sub-tabs::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
  }

  .sub-tab {
    flex-shrink: 0;
    min-width: fit-content;
    padding: 0.6rem 1rem;
  }

  .subtab-content,
  .simple-content {
    padding: 1.75rem 1.25rem;
  }

  .product-list {
    gap: 2.75rem;
  }

  .product-card {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
   
  }

  .product-image {
    flex: none;
    align-self: center;
    max-width: 280px;
  }

  .product-image img {
    height: 200px;
    width: 100%;
    border-radius: 8px;
  }

  .product-info {
    text-align: center;
  }

  .product-info h3 {
    margin-bottom: 0.85rem;
  }

  .feature-image {
    margin-bottom: 1.75rem;
  }

  .feature-image img {
    height: 280px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .product-catalog {
    padding: 0;
  }

  .catalog-container {
    padding: 1.25rem 0.75rem;
  }

  .sidebar {
    padding: 1rem;
    margin-bottom: 1.25rem;
  }

  .sidebar-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  .main-tab {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
  }

  .content-header {
    padding: 1.25rem 1rem 1rem;
  }

  .content-header h1 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
  }

  .sub-tab {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .subtab-content,
  .simple-content {
    padding: 1.25rem 1rem;
  }

  .product-list {
    gap: 2.25rem;
  }

  .product-card {
    padding: 1rem;
    gap: 1rem;
  }

  .product-image {
    max-width: 220px;
  }

  .product-image img {
    height: 170px;
  }

  .product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
  }

  .product-info p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .feature-image img {
    height: 220px;
  }

  .content-description p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .simple-content h1 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 360px) {
  .catalog-container {
    padding: 1rem 0.5rem;
  }
  
  .sidebar {
    padding: 0.85rem;
  }
  
  .sidebar-title {
    font-size: 1.1rem;
  }

  .main-tab {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  .sub-tab {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }

  .content-header {
    padding: 1rem 0.85rem 0.85rem;
  }

  .content-header h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .subtab-content,
  .simple-content {
    padding: 1rem 0.85rem;
  }

  .product-card {
    padding: 0.85rem;
  }

  .product-image {
    max-width: 180px;
  }

  .product-image img {
    height: 140px;
  }

  .product-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .product-info p {
    font-size: 0.9rem;
  }
  
  .simple-content h1 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
  }
  
  .feature-image img {
    height: 180px;
  }
}
.tab-content { 
    display: none !important; 
}

.tab-content.active { 
    display: block !important; 
}

.subtab-content { 
    display: none !important; 
}

.subtab-content.active { 
    display: block !important; 
}