/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
.site-logo-img .transparent-custom-logo img, .ast-theme-transparent-header .site-logo-img img {
    filter: none;
}
.ast-theme-transparent-header .site-header-primary-section-right span.ast-icon.icon-search svg {
    color: #fff;
}
.custom-scrolling-tagline {
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0 8px 0;
	font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}
/* Transparent header pages (Home) */
.ast-theme-transparent-header .custom-scrolling-tagline {
    background: transparent;
    color: #fff;
}

/* Non-transparent pages */
body:not(.ast-theme-transparent-header) .custom-scrolling-tagline {
    background: #fff;
    color: #000;
	border-bottom: 1px solid #e5e5e5;
}
.custom-scrolling-tagline .scroll-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 22s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.woocommerce-checkout .page .entry-header, .woocommerce-cart .page .entry-header {
    margin-left: calc(-1 * var(--wp--custom--ast-default-block-left-padding) );
    margin-right: calc(-1 * var(--wp--custom--ast-default-block-right-padding) );
}

/* Grid container */
.custom-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px 20px; /* 30px vertical, 20px horizontal */
    margin: 20px 0;
}

/* Category card styling */
.category-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease;
}

/* Hover effect */
.category-card:hover {
    transform: scale(1.03);
}

/* Image */
.category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Title styling */
.category-card .category-title {
    font-size: 20px; 
    font-weight: 600;
    margin: 10px 0 15px;
}

.woocommerce-shop header.woocommerce-products-header {
    display: none;
}

.tax-product_cat .woocommerce-products-header__title.page-title {
    margin-bottom: 0;
}

.ast-mobile-header-content .ast-search-menu-icon.slide-search input.search-field {
    width: auto;
}

.ast-mobile-header-content .ast-header-search {
    margin-right: 0;
}

/* =====================================================
   SHOP CATEGORY SECTION – SINGLE ROW SCROLL (ALL DEVICES)
   ===================================================== */

/* Wrapper */
.shop-category-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin: 20px 0 32px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
/* Show slim scrollbar */
.shop-category-wrapper::-webkit-scrollbar {
    height: 8px;
}

.shop-category-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.shop-category-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.shop-category-wrapper:hover::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.35);
}

/* Category Card */
.shop-category-item {
    flex: 0 0 auto;
    width: 120px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.25s ease;
}

/* Image */
.shop-category-item img {
    display: block;
    width: 100%;
    max-width: 85px;
    height: auto;
    margin: 0 auto 6px;
    border-radius: 6px;
}

/* Title */
.shop-category-item span {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover */
.shop-category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Active Category */
.shop-category-item.active-cat {
    border-color: #5aa469;
    background: #f4fbf6;
}

.shop-category-item.active-cat span {
    font-weight: 600;
    color: #5aa469;
}

.astra-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 14px;
    color: #6b8f3a;
    text-decoration: none;
}
/* =====================================================
   RESPONSIVE TWEAKS
   ===================================================== */
/* WooCommerce Product Category Title – Desktop */
@media (min-width: 1025px) {
    .tax-product_cat h1.woocommerce-products-header__title.page-title {
		font-size: 3.5rem;
	}
}

/* Tablet */
@media (max-width: 1024px) {
    .shop-category-item {
        width: 110px;
    }

    .shop-category-item img {
        max-width: 75px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .shop-category-wrapper {
        gap: 12px;
    }

    .shop-category-item {
        width: 100px;
    }

    .shop-category-item img {
        max-width: 65px;
    }

    .shop-category-item span {
        font-size: 12px;
    }
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .custom-category-grid {
        gap: 25px 15px;
    }
	.home-slider.uagb-slider-container .swiper-wrapper {
		min-height: auto;
	}
}

@media (max-width: 768px) {
	.custom-scrolling-tagline .scroll-text {
        animation-duration: 28s;
    }
    .custom-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px 15px;
    }
    .category-card .category-title {
        font-size: 14px;
        margin: 8px 0 12px;
    }
}

@media (max-width: 480px) {
    .custom-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px 10px;
    }
    .category-card img {
        height: 160px;
    }
    .category-card .category-title {
        font-size: 13px;
        margin: 6px 0 10px;
    }
}
