.category-section {
    max-width: 1300px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.category-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px #ccc;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px;
}
.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}
.category-card:hover img {
    transform: scale(1.1);
}
.category-content {
    padding: 15px;
    text-align: center;
}
.category-name {
        font-size: 18px;
    color: #ff2626;
    margin-bottom: 40px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Tối đa 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.category-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Tối đa 3 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.view-more-btn, .search-google-btn {
    padding: 8px 20px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    flex-grow: 1; /* Để các nút bằng nhau */
    text-align: center; /* Canh giữa chữ trong nút */
}
.view-more-btn:hover {
    background-color: #e9ff65;
}
.search-google-btn:hover {
    background-color: #d35400;
}
.custom-image:hover {
    transform: scale(1.05);
}

.category-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* Tối đa 3 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 60px;  /* Cố định chiều cao để không bị lệch */
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-google-btn {
    background-color: #e67e22;
}
.shop-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }
    .shop-title {
        text-align: center;
        margin-bottom: 30px;
        font-size: 28px;
        font-weight: bold;
        color: #EE1289;
        text-shadow: 1px 1px 2px #ccc;
    }
    .filter-bar {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    .filter-bar input, .filter-bar select {
        padding: 5px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    .product-card {
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        transition: 0.3s;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }
    .product-image {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }
    .product-info {
        padding: 10px;
        text-align: center;
    }
    .product-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .product-price {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .buy-now-btn {
        display: block;
        width: 80%;
        margin: 0 auto;
        padding: 5px 0;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
    }
    .buy-now-btn:hover {
        background-color: #997f25;
    }
