/*
Theme Name: Mega Mart Pro
Author: Seller Themes
Description: Mega Mart is a beautifully designed WordPress theme perfect for pet stores, cat lovers, and pet supply businesses. With a modern, user-friendly layout, it offers seamless WooCommerce integration for easy online shopping. Fully responsive and SEO-optimized, Mega Mart ensures a smooth shopping experience across all devices. Packed with customization options, it’s the ideal choice for selling pet food, accessories, and grooming products effortlessly.
Version: 2.0
Tested up to: 6.8
Requires PHP: 5.6
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: mega-mart-pro
Slug: mega-mart-pro
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu,  custom-logo, featured-image-header, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce, portfolio, editor-style, grid-layout

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/
.random-product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.random-product-categories .category-card {
    display: block;
    width: 180px;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}

.random-product-categories .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.random-product-categories .category-image {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
}

.random-product-categories .category-name {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}