/**
* Theme Name:        avanam-restro
* Theme URI:         https://templatemela.com/
* Template:          avanam
* Author:            TemplateMela
* Author URI:        #
* Description:       This is a child theme of Avanam, generated by TemplateMela.
* Version:           1.0.0
* License:           GNU General Public License v3.0 (or later)
* License URI:       https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain:       avanam-restro
* Requires at least: 6.2
* Tested up to:      6.6
* Requires PHP:      7.4
* Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
*/

/* Home page */
body.home .product-onsale .onsale {
	display: none !important;
}


.wc-sibling-subcategories li a {
	display: flex;
	justify-content: flex-start;
	text-decoration: none;
}

.wc-sibling-subcategories .count {
	opacity: 0.7;
	font-size: 0.9em;
	margin-left: 4px;
	display: none;
}

.woocommerce .woocommerce-carousel .splide__track ul.products li.product {
    padding-bottom: 2px;
}

/* remove sibling from Indian and Arabic Sweet*/
.term-185 div#wc_sibling_subcategories-2 {
    display: none;
}



/* Checkout page Related Products CSS*/

.add-to-your-order {
    margin-top: 24px;
    padding: 16px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
}

.add-to-your-order ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.add-to-your-order li {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
}

.add-to-your-order li.category-match {
    border-color: #ff6a00;
    box-shadow: 0 0 0 1px rgba(255,106,0,.3);
}

.add-to-your-order img {
    width: 100%;
    border-radius: 8px;
}

.add-to-your-order a {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.add-to-your-order .price {
    font-size: 13px;
    font-weight: 600;
    color: #ff6a00;
}

.add-to-cart-btn {
    margin-top: auto;
    padding: 8px;
    border-radius: 6px;
    border: none;
    background: #ff6a00;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.add-to-cart-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .add-to-your-order ul {
        grid-template-columns: 1fr;
    }
}
