/* ===========================================
   VINESTA — PRODUCT CATEGORY ARCHIVE PAGES
   category-archive.css naam se astra-child folder me upload karo
   Ye /product-category/ pages ko All Products jaisa design deta hai
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Montserrat:wght@300;400;500&display=swap');

.tax-product_cat #page,
.tax-product_cat body,
.tax-product_cat .site,
.tax-product_cat #content,
.tax-product_cat .ast-container {
    background-color: #FAF7F2 !important;
}

.tax-product_cat .ast-woocommerce-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 24px 70px !important;
    font-family: 'Montserrat', sans-serif;
}

/* ---- Breadcrumb ---- */
.tax-product_cat .woocommerce-breadcrumb {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    color: #999 !important;
    margin-bottom: 20px !important;
}
.tax-product_cat .woocommerce-breadcrumb a { color: #999 !important; }

/* ---- Category title & description ---- */
.tax-product_cat .woocommerce-products-header {
    text-align: center;
    margin-bottom: 36px;
}
.tax-product_cat .woocommerce-products-header__title.page-title {
    font-family: 'Cinzel', serif !important;
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 600 !important;
    color: #3B010B !important;
    text-transform: capitalize !important;
    margin: 0 0 12px !important;
}
.tax-product_cat .page-description,
.tax-product_cat .term-description {
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #888 !important;
    max-width: 600px;
    margin: 0 auto !important;
}
.tax-product_cat .page-description p {
    margin: 0 !important;
}

/* ---- Result count & ordering ---- */
.tax-product_cat .woocommerce-result-count {
    font-size: 13px !important;
    font-weight: 300 !important;
    color: #888 !important;
    float: none !important;
    margin-bottom: 20px !important;
}
.tax-product_cat .woocommerce-ordering {
    float: none !important;
    margin-bottom: 28px !important;
}
.tax-product_cat .woocommerce-ordering select.orderby {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    color: #3B010B !important;
    background: #fff !important;
    border: 1px solid #e8e0d6 !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    min-width: 190px;
}

/* ---- Product grid — 2 cols mobile, 3 cols desktop (same as All Products) ---- */
.tax-product_cat ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
@media (min-width: 769px) {
    .tax-product_cat ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ---- Product card ---- */
.tax-product_cat ul.products li.product {
    background: #fff !important;
    border: 1px solid #ece4d8 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    text-align: left !important;
}
.tax-product_cat ul.products li.product:hover {
    box-shadow: 0 12px 30px rgba(59,1,11,0.10) !important;
    transform: translateY(-3px) !important;
    border-color: #C9A96E !important;
}

/* Onsale badge */
.tax-product_cat ul.products li.product .onsale,
.tax-product_cat ul.products li.product .ast-onsale-card {
    background: #3B010B !important;
    color: #C9A96E !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 6px 14px !important;
    border-radius: 3px !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
}

/* Image */
.tax-product_cat ul.products li.product a img,
.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap {
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    width: 100% !important;
    background: #f7f3eb !important;
    margin: 0 !important;
    transition: transform 0.5s ease !important;
}
.tax-product_cat ul.products li.product:hover img {
    transform: scale(1.05) !important;
}

/* Hide default rating stars */
.tax-product_cat ul.products li.product .star-rating { display: none !important; }

/* Product name */
.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Cinzel', serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #3B010B !important;
    padding: 18px 18px 0 !important;
    margin: 0 0 8px !important;
    line-height: 1.4 !important;
}
.tax-product_cat ul.products li.product a:hover .woocommerce-loop-product__title {
    color: #C9A96E !important;
}

/* Price */
.tax-product_cat ul.products li.product .price {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #C9A96E !important;
    padding: 0 18px !important;
    margin: 0 0 16px !important;
    display: block !important;
}
.tax-product_cat ul.products li.product .price del { color: #aaa !important; }
.tax-product_cat ul.products li.product .price ins { text-decoration: none !important; }

/* Buttons wrap (Section 11 ka vn-btn-wrap) */
.tax-product_cat .vn-btn-wrap {
    display: flex !important;
    gap: 10px !important;
    padding: 0 18px 22px !important;
}
.tax-product_cat .vn-btn-wrap .add_to_cart_button,
.tax-product_cat .vn-btn-wrap .button.add_to_cart_button {
    flex: 1 !important;
    text-align: center !important;
    padding: 12px 6px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #3B010B !important;
    border: 1px solid #3B010B !important;
    box-shadow: none !important;
}
.tax-product_cat .vn-btn-wrap .add_to_cart_button:hover {
    background: transparent !important;
    color: #3B010B !important;
    border-color: #3B010B !important;
}
.tax-product_cat .vn-btn-wrap .vn-buy-now-loop {
    flex: 1 !important;
    text-align: center !important;
    padding: 12px 6px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    background: #3B010B !important;
    color: #fff !important;
    border: 1px solid #3B010B !important;
    box-shadow: none !important;
}
.tax-product_cat .vn-btn-wrap .vn-buy-now-loop:hover {
    background: #C9A96E !important;
    border-color: #C9A96E !important;
}

/* Pagination */
.tax-product_cat nav.woocommerce-pagination {
    margin-top: 40px !important;
    text-align: center !important;
}
.tax-product_cat nav.woocommerce-pagination ul {
    border: none !important;
    display: inline-flex !important;
    gap: 6px !important;
}
.tax-product_cat nav.woocommerce-pagination ul li {
    border: none !important;
}
.tax-product_cat nav.woocommerce-pagination ul li a,
.tax-product_cat nav.woocommerce-pagination ul li span {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    color: #3B010B !important;
    border: 1px solid #e8e0d6 !important;
    border-radius: 4px !important;
    padding: 8px 14px !important;
}
.tax-product_cat nav.woocommerce-pagination ul li span.current,
.tax-product_cat nav.woocommerce-pagination ul li a:hover {
    background: #3B010B !important;
    color: #fff !important;
    border-color: #3B010B !important;
}

/* Mobile */
@media (max-width: 768px) {
    .tax-product_cat .ast-woocommerce-container { padding: 24px 14px 50px !important; }
    .tax-product_cat ul.products { gap: 12px !important; }
    .tax-product_cat ul.products li.product .woocommerce-loop-product__title { font-size: 13px !important; padding: 12px 12px 0 !important; }
    .tax-product_cat ul.products li.product .price { font-size: 13px !important; padding: 0 12px !important; margin-bottom: 12px !important; }
    .tax-product_cat .vn-btn-wrap { flex-direction: column !important; gap: 6px !important; padding: 0 12px 14px !important; }
    .tax-product_cat .vn-btn-wrap .add_to_cart_button,
    .tax-product_cat .vn-btn-wrap .vn-buy-now-loop { font-size: 10px !important; padding: 10px 4px !important; }
}