/* Partush – category / shop / search pages, modern look (same language as the carousels).
   Loaded by mu-plugins/partush-categories.php on product archives only. Delete both files to revert. */

body.woocommerce {
	--pc2-wine: #af1d38;
	--pc2-wine-dark: #8a1529;
	--pc2-gold: #c5a45f;
	--pc2-gold-soft: #f3e7c6;
	--pc2-cream: #faf6ef;
	--pc2-ink: #1d1d1f;
	--pc2-muted: #8a8580;
	--pc2-line: #ece6da;
}

/* =====================================================================
   1. Header banner
   ===================================================================== */
body.woocommerce .woocommerce-products-header {
	margin: 0 0 18px;
	padding: 0;
}
.partush-cat-hero {
	background:
		radial-gradient(90% 140% at 0% 0%, rgba(197, 164, 95, .22) 0%, rgba(197, 164, 95, 0) 60%),
		radial-gradient(70% 120% at 100% 100%, rgba(175, 29, 56, .10) 0%, rgba(175, 29, 56, 0) 60%),
		var(--pc2-cream);
	border: 1px solid var(--pc2-line);
	border-radius: 24px;
	font-family: "Open Sans Hebrew", sans-serif;
	overflow: hidden;
	padding: 26px 30px 22px;
	position: relative;
	text-align: right;
}
.partush-cat-hero::after {
	background: linear-gradient(90deg, var(--pc2-wine), var(--pc2-gold));
	bottom: 0;
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
}
.partush-cat-hero__crumbs {
	color: var(--pc2-muted);
	font-size: 13px;
	margin: 0 0 6px;
}
.partush-cat-hero__crumbs a {
	color: var(--pc2-muted) !important;
	text-decoration: none;
	transition: color .2s;
}
.partush-cat-hero__crumbs a:hover {
	color: var(--pc2-wine) !important;
}
.partush-cat-hero__crumbs span {
	margin: 0 6px;
	opacity: .6;
}
.partush-cat-hero__row {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}
body .partush-cat-hero__title {
	color: var(--pc2-ink) !important;
	font-family: "Open Sans Hebrew", sans-serif !important;
	font-size: 34px !important;
	font-weight: 800 !important;
	letter-spacing: -.3px;
	line-height: 1.15 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.partush-cat-hero__count {
	background: #fff;
	border: 1px solid var(--pc2-line);
	border-radius: 999px;
	color: var(--pc2-wine);
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	white-space: nowrap;
}
.partush-cat-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 4px;
}
.partush-cat-hero__chips a {
	background: #fff;
	border: 1px solid var(--pc2-line);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(80, 20, 30, .05);
	color: var(--pc2-ink) !important;
	font-size: 14px;
	font-weight: 600;
	padding: 7px 15px;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
	white-space: nowrap;
}
.partush-cat-hero__chips a:hover,
.partush-cat-hero__chips a.is-current {
	background: var(--pc2-wine);
	border-color: var(--pc2-wine);
	color: #fff !important;
}

/* =====================================================================
   2. Product grid + cards
   ===================================================================== */
body.woocommerce ul.products {
	align-items: stretch;
	display: flex !important;
	flex-wrap: wrap;
}
body.woocommerce ul.products li.product {
	background: #fff !important;
	background-image: none !important;
	border: 1px solid var(--pc2-line) !important;
	border-radius: 20px !important;
	box-shadow: 0 6px 22px rgba(80, 20, 30, .07) !important;
	display: flex;
	font-family: "Open Sans Hebrew", sans-serif;
	overflow: hidden;
	padding: 0 !important;
	position: relative;
}
@media (hover: hover) {
	body.woocommerce ul.products li.product:hover {
		border-color: rgba(197, 164, 95, .6) !important;
		box-shadow: 0 16px 34px rgba(80, 20, 30, .13) !important;
		transform: translateY(-5px) !important;
	}
	body.woocommerce ul.products li.product:hover li.image-wrap img {
		transform: scale(1.05);
	}
}
body.woocommerce ul.products li.product .product-inner {
	padding: 0 !important;
	width: 100%;
}
body.woocommerce ul.products li.product .woo-entry-inner {
	margin: 0 !important;
	padding: 0 0 16px !important;
}
body.woocommerce ul.products li.product .woo-entry-inner > li {
	padding-left: 14px !important;
	padding-right: 14px !important;
}

/* image area: soft cream–gold glow */
body.woocommerce ul.products li.product .woo-entry-inner li.image-wrap {
	background: radial-gradient(120% 90% at 50% 100%, var(--pc2-gold-soft) 0%, var(--pc2-cream) 45%, #fff 100%);
	margin: 0 0 12px !important;
	padding: 22px 14px 12px !important;
}
body.woocommerce ul.products li.product .woo-entry-inner li.image-wrap .woo-entry-image {
	margin: 0 !important;
}
body.woocommerce ul.products li.product .woo-entry-inner li.image-wrap img {
	filter: drop-shadow(0 10px 12px rgba(40, 20, 10, .14));
	height: 200px;
	object-fit: contain;
	transition: transform .45s ease;
	width: 100%;
}

/* title: two lines, bold */
body.woocommerce ul.products li.product .woo-entry-inner li.title {
	margin: 0 0 4px !important;
	min-height: 0;
}
body.woocommerce ul.products li.product li.title h2,
body.woocommerce ul.products li.product li.title h2 a {
	font-family: "Open Sans Hebrew", sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}
body.woocommerce ul.products li.product li.title h2 {
	-webkit-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	margin: 0 !important;
	min-height: 2.6em;
	overflow: hidden;
	text-align: center;
}

/* price: one line, wine; price per 100 ml muted */
body.woocommerce ul.products li.product .woo-entry-inner li.price-wrap {
	margin: auto 0 0 !important;
	padding-top: 8px !important;
	text-align: center;
}
body.woocommerce ul.products li.product .price {
	display: block;
	line-height: 1.3;
	margin: 0 !important;
}
body.woocommerce ul.products li.product .price > .amount,
body.woocommerce ul.products li.product .price > .woocommerce-Price-amount,
body.woocommerce ul.products li.product .price ins,
body.woocommerce ul.products li.product .price ins .amount {
	color: var(--pc2-wine) !important;
	font-size: 21px !important;
	font-weight: 800 !important;
	text-decoration: none;
	white-space: nowrap;
}
body.woocommerce ul.products li.product .price del,
body.woocommerce ul.products li.product .price del .amount,
body.woocommerce ul.products li.product .price del .woocommerce-Price-currencySymbol {
	color: var(--pc2-muted) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	white-space: nowrap;
}
body.woocommerce ul.products li.product .pp100ml-price,
body.woocommerce ul.products li.product .pp100ml-price .amount,
body.woocommerce ul.products li.product .pp100ml-price .woocommerce-Price-currencySymbol {
	color: var(--pc2-muted) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	margin-top: 2px;
	white-space: nowrap;
}

/* button: full-width wine pill (colours/icon come from partush-design-system.php) */
body.woocommerce ul.products li.product .woo-entry-inner li.btn-wrap {
	margin: 12px 0 0 !important;
}
body.woocommerce ul.products li.product li.btn-wrap a.button {
	font-family: "Open Sans Hebrew", sans-serif !important;
	font-size: 15px !important;
	line-height: 1.2 !important;
	margin: 0 !important;
	padding: 11px 14px !important;
	width: 100%;
}
body.woocommerce ul.products li.product li.btn-wrap a.added_to_cart {
	background: none !important;
	color: var(--pc2-wine) !important;
	display: block !important;
	font-size: 13px !important;
	margin-top: 6px !important;
	padding: 0 !important;
	text-align: center;
}

/* wishlist heart: small white circle at the top corner */
body.woocommerce ul.products li.product .tinv-wraper.tinvwl-loop-button-wrapper {
	left: 12px;
	margin: 0 !important;
	position: absolute;
	top: 12px;
	z-index: 3;
}
body.woocommerce ul.products li.product .tinv-wraper .tinvwl_add_to_wishlist_button {
	align-items: center;
	background: #fff !important;
	border: 1px solid var(--pc2-line) !important;
	border-radius: 50% !important;
	box-shadow: 0 3px 10px rgba(80, 20, 30, .10);
	color: var(--pc2-wine) !important;
	display: inline-flex !important;
	height: 34px;
	justify-content: center;
	margin: 0 !important;
	padding: 0 !important;
	width: 34px;
}
body.woocommerce ul.products li.product .tinv-wraper .tinvwl_add_to_wishlist_button::before {
	color: inherit !important;
	margin: 0 !important;
}
body.woocommerce ul.products li.product .tinv-wraper .tinvwl_add_to_wishlist_button .tinvwl_add_to_wishlist-text {
	display: none;
}

/* =====================================================================
   3. Toolbar, side widgets, infinite-scroll loader
   ===================================================================== */
body.woocommerce .oceanwp-toolbar {
	border: 0 !important;
	margin-bottom: 18px;
	padding: 0 !important;
}
body.woocommerce .woocommerce-result-count {
	color: var(--pc2-muted);
	font-size: 13px;
}
body.woocommerce .scroller-status .loader-ellips__dot {
	background: var(--pc2-wine) !important;
}
body.woocommerce #right-sidebar .sidebar-box,
body.woocommerce #left-sidebar .sidebar-box {
	background: #fff;
	border: 1px solid var(--pc2-line);
	border-radius: 18px;
	padding: 18px;
}

/* =====================================================================
   4. Tablet / mobile
   ===================================================================== */
@media (max-width: 1024px) {
	body .partush-cat-hero__title {
		font-size: 28px !important;
	}
}
@media (max-width: 767px) {
	.partush-cat-hero {
		border-radius: 20px;
		padding: 18px 16px 16px;
	}
	body .partush-cat-hero__title {
		font-size: 24px !important;
	}
	.partush-cat-hero__chips {
		flex-wrap: nowrap;
		margin: 14px -16px 2px;
		overflow-x: auto;
		padding: 0 16px 4px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.partush-cat-hero__chips::-webkit-scrollbar {
		display: none;
	}
	.partush-cat-hero__chips a {
		font-size: 13px;
		padding: 6px 13px;
	}

	body.woocommerce ul.products li.product {
		border-radius: 16px !important;
	}
	body.woocommerce ul.products li.product .woo-entry-inner {
		padding-bottom: 12px !important;
	}
	body.woocommerce ul.products li.product .woo-entry-inner > li {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	body.woocommerce ul.products li.product .woo-entry-inner li.image-wrap {
		margin-bottom: 10px !important;
		padding: 16px 10px 8px !important;
	}
	body.woocommerce ul.products li.product .woo-entry-inner li.image-wrap img {
		height: 140px;
	}
	body.woocommerce ul.products li.product li.title h2,
	body.woocommerce ul.products li.product li.title h2 a {
		font-size: 14px !important;
	}
	body.woocommerce ul.products li.product .price > .amount,
	body.woocommerce ul.products li.product .price > .woocommerce-Price-amount,
	body.woocommerce ul.products li.product .price ins,
	body.woocommerce ul.products li.product .price ins .amount {
		font-size: 18px !important;
	}
	body.woocommerce ul.products li.product li.btn-wrap a.button {
		font-size: 13px !important;
		gap: 6px !important;
		padding: 9px 8px !important;
	}
	body.woocommerce ul.products li.product .tinv-wraper.tinvwl-loop-button-wrapper {
		left: 8px;
		top: 8px;
	}
	body.woocommerce ul.products li.product .tinv-wraper .tinvwl_add_to_wishlist_button {
		height: 30px;
		width: 30px;
	}
}
