
.category-search-container {
    text-align: center;
    margin-bottom: 40px;
}
#category-search {
    width: 400px;
    padding: 15px 25px;
    border-radius: 999px;
    border: none;
    font-size: 16px;
    background: #222;
    color: white;
    text-align: center;
    max-width: 100%;
}
.category-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 30px;
}
.category-card {
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
    display: block;
    text-decoration: none !important;
}
.category-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: white;
}
.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.category-card-content {
    padding: 20px;
}
.category-card-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}
.category-card-content p {
    font-size: 14px;
    color: #ccc;
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; 
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}

/* Woocommerce Brands */
.brand-search-container {
    text-align: center;
    margin-bottom: 40px;
}
#brand-search {
    width: 400px;
    padding: 15px 25px;
    border-radius: 999px;
    border: none;
    font-size: 16px;
    background: #222;
    color: white;
    text-align: center;
    max-width: 100%;
}
.brand-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 30px;
}
.brand-card {
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
    display: block;
    text-decoration: none !important;
}
.brand-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: white;
}
.brand-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.brand-card-content {
    padding: 20px;
}
.brand-card-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}
.brand-card-content p {
    font-size: 14px;
    color: #ccc;
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; 
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}