/* RA Shop Page Styles - matches site design */

/* Kill Engitech theme gaps on shop/category pages */
.content-product-wrapper {
    padding-top: 0 !important;
}
.woocommerce .page-header,
.woocommerce-page .page-header {
    display: none !important;
}

/* Thin full-width dark breadcrumb bar (matches RSA) */
.ra-shop-breadcrumb-bar {
    background: #1a1432 !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 12px 0 !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-size: 13px !important;
}
.ra-shop-breadcrumb-bar .ra-shop-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
.ra-shop-breadcrumb-bar a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.ra-shop-breadcrumb-bar a:hover {
    color: #fff !important;
}
.ra-shop-breadcrumb-bar span {
    color: rgba(255,255,255,0.4) !important;
}

/* White content area with H1 + description */
.ra-shop-hero {
    padding: 36px 0 28px !important;
}
.ra-shop-hero .ra-shop-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}
.ra-shop-hero h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #1a1432 !important;
    margin: 0 0 14px !important;
    line-height: 1.2 !important;
}
.ra-shop-desc {
    font-family: 'Nunito Sans', sans-serif !important;
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.7 !important;
    max-width: 800px !important;
    margin: 0 !important;
}

/* Category grid */
.ra-shop-categories {
    padding: 0 0 60px !important;
}
.ra-shop-categories .ra-shop-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}
.ra-shop-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}
.ra-shop-cat-card {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    padding: 28px 24px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    display: block !important;
}
.ra-shop-cat-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}
.ra-shop-cat-card h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1432 !important;
    margin: 0 0 6px !important;
}
.ra-shop-cat-count {
    font-family: 'Nunito Sans', sans-serif !important;
    font-size: 14px !important;
    color: #888 !important;
}

/* Product grid on category pages */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    clear: none !important;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}
.woocommerce ul.products li.product a img {
    border-radius: 0 !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1432 !important;
    padding: 12px 16px 4px !important;
}
.woocommerce ul.products li.product .price {
    font-family: 'Nunito Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #7141B1 !important;
    padding: 0 16px 16px !important;
}
/* Read More / Add to Cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.added_to_cart {
    background: #7141B1 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    transition: background 0.2s ease !important;
    margin: 0 16px 16px !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.added_to_cart:hover {
    background: #5c2fa0 !important;
    color: #fff !important;
}

/* Hide reviews tab on product pages */
.woocommerce-tabs .reviews_tab,
.woocommerce-tabs #tab-reviews,
.woocommerce-Reviews {
    display: none !important;
}

/* Subcategory listing on parent category pages */
.woocommerce ul.products li.product-category a {
    text-decoration: none !important;
}
.woocommerce ul.products li.product-category h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1432 !important;
    padding: 16px !important;
}
.woocommerce ul.products li.product-category .count {
    font-size: 13px !important;
    color: #888 !important;
}

/* Hide default page title on shop/category */
.ra-shop-page + .site-main .page-title,
.woocommerce-products-header__title {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .ra-shop-cat-grid {
        grid-template-columns: 1fr !important;
    }
    .ra-shop-hero h1 {
        font-size: 28px !important;
    }
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .ra-shop-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
