/*
Theme Name: Martfury Child
Theme URI: http://drfuri.com/unero
Author: DrFuri
Author URI: http://drfuri.com
Description: Martfury Child Theme.
Version: 1.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: martfury
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: martfury
*/

/* top categories style */
.mf-catalog-top-categories .top-categories-grid .cats-box {
    flex-direction: column;
    align-items: center;
}

.mf-catalog-top-categories .top-categories-grid .cats-box:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.mf-catalog-top-categories .top-categories-grid .cats-image img {
    aspect-ratio: 2 / 3;
    object-fit: contain;
}

.mf-catalog-top-categories .top-categories-grid .cats-list .parent-cat {
    font-size: 14px;
	text-align: center;
}


/* product list style */

ul.products {
	display: block !important;
}

ul.products li.product-list-item {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100% !important;
	margin: 0;
	padding: 8px 12px;
	border-bottom: 1px solid #ddd;
}

ul.products li.product-list-item .product-list-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

ul.products li.product-list-item .product-name {
	flex: 2;
	font-weight: 600;
}

ul.products li.product-list-item .product-price {
	flex: 1;
	text-align: right;
	margin-right: 20px;
}

ul.products li.product-list-item form.cart {
	display: flex;
	align-items: center;
	gap: 10px;
}

ul.products li.product-list-item form.cart .quantity {
	margin: 0;
}

ul.products li.product-list-item form.cart .button {
	white-space: nowrap;
	border-radius: 5px;
	margin-top: 0;
}


@media (max-width: 768px) {
	.qty-mobile {
		width: 60px;
		height: 32px;
		text-align: center;
		font-size: 14px;
	}

	ul.products li.product-list-item .product-price {
		display: flex;
		flex-direction: column;
	}
}	


/* search results style */
/* Search results fullwidth product list */
.search-results .product-list-row {
	width: 100%;
	box-sizing: border-box;
}


.search-matching-categories ul.product-categories {
    list-style: none;
    padding: 0;
}

.site-header .product-extra-search .search-wrapper .search-results ul li .price-item,
.mf-els-modal-mobile .products-search .search-results ul li .price-item {
	font-size: 14px;
}

.menu-item-has-children > a {
  position: relative;
  padding-right: 1.2em; /* space for arrow */
}

.menu-item-has-children > a::after {
  content: "▹";          /* arrow character */
  position: absolute;
  right: -15px;
  top: 55%;
  transform: translateY(-50%);
  font-size: 0.8em;
  pointer-events: none;
}

/* Pagination Styling */
.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 7px 18px;
    background-color: #a6aaae;;
    color: #fff; /* Dark text for contrast against primary color */
    border-radius: 5px;
    margin: 0 5px;
    text-decoration: none;
    transition: opacity 0.3s;
}	

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
    color: #fff;
	background-color: var(--mf-background-primary-color);
}

.woocommerce nav.woocommerce-pagination ul {
	margin-top: 15px;
}

.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table .includes_tax{
	display: block;
}
