

.section {
    padding: 80px 0;
}

/* Section title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}
#product-search-btn {
    position: relative;
    z-index: 50;
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
}

   /* Sidebar */
    .product-sidebar h3 {
      color: var(--primary-color);
      margin-bottom: 15px;
      border-bottom: 2px solid var(--secondary-color);
      padding-bottom: 10px;
    }

    .accordion-header {
      background: #e9ecef;
      color: var(--dark-color);
      cursor: pointer;
      padding: 15px;
      width: 100%;
      text-align: left;
      border: none;
      font-size: 1rem;
      font-weight: 600;
      margin-top: 10px;
      border-radius: 5px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.3s;
    }

    .accordion-header:hover,
    .accordion-header.active {
      background: #ced4da;
    }

    .accordion-header::after {
      content: '\f078';
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      transition: transform 0.3s ease;
    }

    .accordion-header.active::after {
      transform: rotate(-180deg);
    }

    .accordion-panel {
      padding: 0 18px;
      background: white;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
      border: 1px solid #e9ecef;
      border-top: none;
      border-radius: 0 0 5px 5px;
    }

    .accordion-panel ul {
      list-style: none;
      padding: 10px 0;
    }

    .accordion-panel li a {
      display: block;
      padding: 8px;
      color: var(--dark-color);
      text-decoration: none;
      border-radius: 4px;
    }

    .accordion-panel li a:hover {
      background: var(--light-color);
      color: var(--secondary-color);
    }
/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    flex-grow: 1;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-card .btn {
    margin-top: auto;
}