.product-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product {
    display: flex;
    align-items: start;
    background: #fff;
    border-bottom: 1px solid #ccc;
    overflow-x: auto;
    transition: transform 0.3s;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    height: auto;
    width: 250px;
    border-right: 1px solid #ccc;
    border: 2px solid #00adf0;
    border-radius: 5px;
    padding: 3px;
}

.product-info {
    padding: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  
}

.product-info h2 {
    font-size: 28px;
    color: #00adf0;
    margin-bottom: 10px;
    display: flex;
    align-items: start;
}

.product-info p {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-list .item.active {
    background: #00adf0;
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s;
}

.product-list .item.active:hover {
    background: #00adf0;
}

/* Table Styling */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    white-space: nowrap;
}

.product-table th, .product-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}

.product-table th {
    background: #007bff;
    color: #fff;
    font-weight: bold;
}

.product-table tr:nth-child(even) {
    background: #f2f2f2;
}


/* Responsive Design */
@media (max-width: 768px) {
    .product {
        flex-direction: column;
        text-align: center;
    }

    .product img {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
    }

    th:nth-child(3), td:nth-child(3) {
        display: none;  /* Hide 3rd column */
      }
      th:nth-child(4), td:nth-child(4) {
        display: none;  /* Hide 4th column */
      }

      table {
        font-size: 14px;  /* Reduce font size on small screens */
      }
      th, td {
        padding: 8px;  /* Reduce padding for smaller tables */
      }

      
}

@media (max-width: 500px) {
    .product-info {
        padding: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
}