/**
 * Shared archive heroes, breadcrumbs, pills, empty states.
 */

/*
 * WooCommerce archive shell.
 * Keep the hero, trust strip and product grid aligned with equal side gutters.
 */
.vp-main > .vp-archive-hero .vp-container,
.vp-main > .vp-shop-trust .vp-container,
.vp-main > .vp-container.vp-woo-wrap {
	width: min(calc(100% - clamp(2rem, 10vw, 6rem)), var(--vp-container, 1152px));
	max-width: none;
	margin-inline: auto;
	padding-inline: 0;
	box-sizing: border-box;
}

/* --- Archive hero --- */
.vp-archive-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(1.75rem, 5vw, 3.5rem) 0;
	margin-bottom: 0;
}

.vp-archive-hero--shopish {
	background-image: radial-gradient(circle at 70% 40%, rgba(233, 242, 219, 0.9) 0%, transparent 55%);
}

.vp-archive-hero__inner {
	display: grid;
	gap: 2rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

@media (min-width: 992px) {
	.vp-archive-hero--shopish .vp-archive-hero__inner {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

.vp-archive-hero__float {
	position: absolute;
	pointer-events: none;
	user-select: none;
	opacity: 0.12;
	animation: vp-float 4s ease-in-out infinite;
	z-index: 0;
}

.vp-archive-hero__float--1 { top: 8%; right: 6%; font-size: 2.5rem; }
.vp-archive-hero__float--2 { bottom: 12%; left: 4%; font-size: 2rem; animation-delay: 1s; }
.vp-archive-hero__float--3 { top: 40%; left: 45%; font-size: 1.75rem; animation-delay: 2s; filter: grayscale(1); }

.vp-archive-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: rgba(90, 140, 61, 0.12);
	color: var(--vp-green);
	font-size: 0.8rem;
	font-weight: 700;
}

.vp-archive-hero__ping {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--vp-green);
	animation: vp-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes vp-ping {
	75%, 100% { transform: scale(1.8); opacity: 0; }
}

.vp-archive-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.85rem, 5vw, 3.5rem);
	font-weight: 900;
	color: var(--vp-dark);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.vp-archive-hero--shopish .vp-archive-hero__title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
}

.vp-archive-hero__title-line {
	display: block;
}

.vp-archive-hero__title-accent {
	position: relative;
	display: inline-block;
	color: var(--vp-orange);
}

.vp-archive-hero__scribble {
	position: absolute;
	left: 0;
	bottom: -0.2em;
	width: 100%;
	height: 0.35em;
	color: var(--vp-yellow);
	pointer-events: none;
}

.vp-archive-hero__title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 1rem;
	background: var(--vp-orange);
	color: #fff;
	font-size: 1.35rem;
	box-shadow: 0 8px 20px rgba(242, 140, 40, 0.25);
	animation: vp-wiggle 2s ease-in-out infinite;
	margin-inline-end: 0.5rem;
	vertical-align: middle;
}

.vp-archive-hero__desc {
	color: #4b5563;
	font-size: clamp(0.95rem, 2vw, 1.25rem);
	font-weight: 500;
	line-height: 1.8;
	max-width: 36rem;
	margin-bottom: 0.5rem;
}

.vp-archive-hero__desc p:last-child { margin-bottom: 0; }

.vp-archive-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
}

.vp-archive-hero__stats li {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(74, 59, 50, 0.08);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--vp-dark);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.vp-archive-hero__media {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 0.5rem 1.25rem;
}

.vp-archive-hero__media-glow {
	position: absolute;
	inset: 8% 12%;
	background: var(--vp-green);
	border-radius: 3rem;
	transform: rotate(-6deg) scale(1.05);
	opacity: 0.18;
	pointer-events: none;
}

.vp-archive-hero__media-frame {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 22rem;
	overflow: hidden;
	border-radius: 3rem;
	border: 6px solid #fff;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
	background: #e5e7eb;
	animation: vp-float 4s ease-in-out infinite;
}

.vp-archive-hero__photo {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.vp-archive-hero__badge {
	position: absolute;
	top: 0;
	right: 0.5rem;
	z-index: 3;
	width: 5.5rem;
	height: 5.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--vp-yellow);
	color: var(--vp-dark);
	border: 4px solid #fff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	text-align: center;
	animation: vp-wiggle 2s ease-in-out infinite;
}

@media (min-width: 768px) {
	.vp-archive-hero__badge {
		width: 7rem;
		height: 7rem;
		right: 0;
		top: -0.5rem;
	}
}

.vp-archive-hero__badge-num {
	font-size: 1.1rem;
	font-weight: 900;
	line-height: 1.1;
}

.vp-archive-hero__badge-txt {
	font-size: 0.7rem;
	font-weight: 800;
}

@media (min-width: 768px) {
	.vp-archive-hero__badge-num { font-size: 1.35rem; }
	.vp-archive-hero__badge-txt { font-size: 0.85rem; }
}

.vp-archive-hero__mascot {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
}

.vp-archive-hero__mascot-bubble {
	width: clamp(10rem, 28vw, 16rem);
	height: clamp(10rem, 28vw, 16rem);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(3rem, 10vw, 5rem);
	background: linear-gradient(135deg, #fff 0%, #f4f1ea 100%);
	border-radius: 3rem;
	border: 6px solid #fff;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Blog / non-shop hero keeps compact title */
.vp-archive-hero--blog .vp-archive-hero__title {
	font-size: clamp(1.5rem, 4vw, 2.35rem);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem;
}

/* --- Breadcrumbs --- */
.vp-breadcrumb {
	margin: 0 0 1.25rem;
}

.vp-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.78rem;
}

.vp-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	color: #888;
}

.vp-breadcrumb__item:not(.is-current)::after {
	content: '›';
	margin-inline-start: 0.35rem;
	opacity: 0.5;
}

.vp-breadcrumb__item a {
	color: var(--vp-green);
	text-decoration: none;
	font-weight: 600;
}

.vp-breadcrumb__item a:hover { color: var(--vp-orange); }
.vp-breadcrumb__item.is-current span { color: var(--vp-dark); font-weight: 700; }

/* --- Pills --- */
.vp-subcat-pills,
.vp-blog-pills {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	overflow-x: auto;
	padding: 0.35rem 0 1.25rem;
	margin-bottom: 0.25rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.vp-subcat-pills::-webkit-scrollbar,
.vp-blog-pills::-webkit-scrollbar {
	display: none;
}

.vp-subcat-pills__label,
.vp-blog-pills__label {
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 800;
	color: #999;
}

.vp-subcat-pills__item,
.vp-blog-pills__item {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: var(--vp-light);
	border: 1px solid transparent;
	color: var(--vp-dark);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 700;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.vp-subcat-pills__item:hover,
.vp-blog-pills__item:hover {
	background: rgba(242, 140, 40, 0.1);
	color: var(--vp-dark);
	transform: scale(1.04);
}

.vp-subcat-pills__item.is-active,
.vp-blog-pills__item.is-active {
	background: var(--vp-orange);
	border-color: var(--vp-orange);
	color: #fff;
	box-shadow: 0 6px 16px rgba(242, 140, 40, 0.25);
}

/* --- Empty state --- */
.vp-empty-state {
	text-align: center;
	padding: 2.75rem 1.5rem;
	border-radius: 1.5rem;
	margin: 1rem 0 2rem;
	background: #fff;
	border: 1px dashed rgba(74, 59, 50, 0.12);
}

.vp-empty-state__icon {
	font-size: 3rem;
	margin-bottom: 0.75rem;
}

.vp-empty-state h2 {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	font-weight: 900;
	color: var(--vp-dark);
}

.vp-empty-state p {
	margin: 0 0 1.25rem;
	color: #777;
	font-size: 0.95rem;
}

.vp-empty-state__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 1rem;
	background: var(--vp-green);
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	font-size: 0.9rem;
	box-shadow: 0 10px 24px rgba(90, 140, 61, 0.25);
}

.vp-empty-state__btn:hover {
	background: var(--vp-green-hover);
	color: #fff;
}

/* --- Pagination --- */
.vp-pagination .nav-links,
.vp-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
}

.vp-pagination .page-numbers {
	min-width: 2.25rem;
	height: 2.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #eee;
	color: var(--vp-dark);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 700;
}

.vp-pagination .page-numbers.current {
	background: var(--vp-orange);
	border-color: var(--vp-orange);
	color: #fff;
}

.vp-pagination .page-numbers:hover:not(.current) {
	border-color: var(--vp-green);
	color: var(--vp-green);
}

/* =========================================================
   Shop sidebar
   ========================================================= */

.vp-shop-layout {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.vp-shop-layout__main {
	min-width: 0;
}

@media (min-width: 992px) {
	.vp-shop-layout--has-sidebar {
		flex-direction: row;
		align-items: flex-start;
	}

	.vp-shop-layout--has-sidebar .vp-shop-layout__main {
		flex: 1 1 auto;
		min-width: 0;
		order: 0;
	}

	.vp-shop-layout--has-sidebar .vp-shop-sidebar {
		flex: 0 0 280px;
		width: 280px;
		position: sticky;
		top: calc(5.5rem + var(--vp-admin-offset, 0px));
	}

	.vp-shop-layout--right .vp-shop-sidebar {
		order: -1;
	}

	.vp-shop-layout--left .vp-shop-sidebar {
		order: 1;
	}
}

.vp-shop-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.vp-shop-sidebar__widget {
	background: #fff;
	border: 1px solid rgba(74, 59, 50, 0.08);
	border-radius: 1.5rem;
	padding: 1.35rem 1.25rem;
	box-shadow: 0 12px 28px rgba(90, 140, 61, 0.08);
}

.vp-shop-sidebar__widget-title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px dashed rgba(74, 59, 50, 0.12);
	font-size: 1rem;
	font-weight: 800;
	color: var(--vp-dark);
}

.vp-shop-sidebar__widget-title span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 0.75rem;
	background: rgba(242, 140, 40, 0.12);
	font-size: 1rem;
}

/* --- Product search --- */
.vp-shop-sidebar .woocommerce-product-search {
	display: flex;
	gap: 0.5rem;
}

.vp-shop-sidebar .woocommerce-product-search .search-field {
	flex: 1;
	min-width: 0;
	border: 1px solid #eee;
	border-radius: 0.85rem;
	padding: 0.6rem 0.85rem;
	font: inherit;
	font-size: 0.85rem;
	background: var(--vp-light);
	color: var(--vp-dark);
}

.vp-shop-sidebar .woocommerce-product-search .search-field:focus {
	outline: none;
	border-color: var(--vp-orange);
}

.vp-shop-sidebar .woocommerce-product-search button[type="submit"] {
	flex-shrink: 0;
	border: 0;
	border-radius: 0.85rem;
	padding: 0 1rem;
	background: var(--vp-green);
	color: #fff;
	font-weight: 700;
	font-size: 0.8rem;
	cursor: pointer;
}

.vp-shop-sidebar .woocommerce-product-search button[type="submit"]:hover {
	background: var(--vp-green-hover);
}

/* --- WooCommerce product categories widget ---
 * WC prints the count as a sibling of <a> (or sometimes inside it).
 * Flex the <li> so name + count always sit on one row.
 */
.vp-shop-sidebar .product-categories,
.vp-shop-sidebar .widget_product_categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.vp-shop-sidebar .product-categories > li,
.vp-shop-sidebar .widget_product_categories > ul > li,
.vp-shop-sidebar .product-categories li.cat-item,
.vp-shop-sidebar .widget_product_categories li.cat-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	column-gap: 0.5rem;
	row-gap: 0.35rem;
	padding: 0.55rem 0.7rem;
	border-radius: 0.9rem;
	background: var(--vp-light);
	border: 1px solid transparent;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vp-shop-sidebar .product-categories > li:hover,
.vp-shop-sidebar .widget_product_categories > ul > li:hover,
.vp-shop-sidebar .product-categories li.cat-item:hover,
.vp-shop-sidebar .widget_product_categories li.cat-item:hover {
	background: #fff;
	border-color: rgba(242, 140, 40, 0.28);
	transform: translateY(-1px);
}

.vp-shop-sidebar .product-categories li.current-cat,
.vp-shop-sidebar .widget_product_categories li.current-cat {
	background: rgba(242, 140, 40, 0.1);
	border-color: rgba(242, 140, 40, 0.35);
}

.vp-shop-sidebar .product-categories li a,
.vp-shop-sidebar .widget_product_categories li a {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-width: 0;
	padding: 0;
	color: var(--vp-dark);
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vp-shop-sidebar .product-categories li a:hover,
.vp-shop-sidebar .widget_product_categories li a:hover {
	color: var(--vp-orange);
}

.vp-shop-sidebar .product-categories li.current-cat > a,
.vp-shop-sidebar .widget_product_categories li.current-cat > a {
	color: var(--vp-orange);
}

/* Count badge — same row, never wraps under the name */
.vp-shop-sidebar .product-categories .count,
.vp-shop-sidebar .widget_product_categories .count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin: 0;
	min-width: 1.6rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(74, 59, 50, 0.08);
	font-size: 0.72rem;
	font-weight: 800;
	color: var(--vp-green);
	line-height: 1.2;
	white-space: nowrap;
}

.vp-shop-sidebar .product-categories li.current-cat .count,
.vp-shop-sidebar .widget_product_categories li.current-cat .count {
	background: var(--vp-orange);
	border-color: var(--vp-orange);
	color: #fff;
}

.vp-shop-sidebar .product-categories ul.children,
.vp-shop-sidebar .widget_product_categories ul.children {
	flex: 1 1 100%;
	width: 100%;
	margin: 0.35rem 0 0;
	padding: 0.35rem 0 0 0.65rem;
	border-inline-start: 2px solid rgba(242, 140, 40, 0.25);
}

/* --- WooCommerce price filter widget ---
 * Override jQuery UI defaults (top: -.3em) that push handles out of the card.
 */
.vp-shop-sidebar .widget_price_filter,
.vp-shop-sidebar .price_slider_wrapper {
	overflow: visible;
}

.vp-shop-sidebar .price_slider_wrapper {
	padding: 0.35rem 0.15rem 0.15rem;
}

.vp-shop-sidebar .price_slider {
	margin: 0;
}

.vp-shop-sidebar .price_slider_wrapper .ui-slider,
.vp-shop-sidebar .ui-slider-horizontal {
	position: relative;
	height: 0.5rem !important;
	border: 0 !important;
	border-radius: 999px;
	background: #e8e2d6 !important;
	margin: 1.35rem 0.85rem 1.5rem !important;
	overflow: visible !important;
}

.vp-shop-sidebar .price_slider_wrapper .ui-slider-range,
.vp-shop-sidebar .ui-slider-horizontal .ui-slider-range {
	position: absolute;
	top: 0 !important;
	height: 100% !important;
	border: 0 !important;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--vp-green), #7aa85a) !important;
}

.vp-shop-sidebar .price_slider_wrapper .ui-slider-handle,
.vp-shop-sidebar .ui-slider-horizontal .ui-slider-handle {
	position: absolute;
	top: 50% !important;
	width: 1.35rem !important;
	height: 1.35rem !important;
	margin: 0 !important;
	margin-top: 0 !important;
	margin-left: 0 !important;
	transform: translate(-50%, -50%);
	border-radius: 50% !important;
	background: #fff !important;
	border: 3px solid var(--vp-orange) !important;
	box-sizing: border-box !important;
	cursor: grab;
	outline: none !important;
	box-shadow: 0 4px 12px rgba(242, 140, 40, 0.35);
	z-index: 2;
	transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.vp-shop-sidebar .price_slider_wrapper .ui-slider-handle:hover,
.vp-shop-sidebar .price_slider_wrapper .ui-slider-handle:focus,
.vp-shop-sidebar .ui-slider-horizontal .ui-slider-handle:hover,
.vp-shop-sidebar .ui-slider-horizontal .ui-slider-handle:focus {
	border-color: var(--vp-green) !important;
	box-shadow: 0 6px 16px rgba(90, 140, 61, 0.35);
	transform: translate(-50%, -50%) scale(1.08);
}

.vp-shop-sidebar .price_slider_wrapper .ui-slider-handle:active,
.vp-shop-sidebar .ui-slider-horizontal .ui-slider-handle:active {
	cursor: grabbing;
	transform: translate(-50%, -50%) scale(1.12);
}

.vp-shop-sidebar .price_slider_amount {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	flex-wrap: wrap;
	padding: 0.75rem 0.85rem;
	margin-top: 0.15rem;
	background: var(--vp-light);
	border-radius: 1rem;
	border: 1px solid rgba(74, 59, 50, 0.06);
}

.vp-shop-sidebar .price_slider_amount .price_label {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: #6b7280;
	line-height: 1.45;
}

.vp-shop-sidebar .price_slider_amount .price_label .from,
.vp-shop-sidebar .price_slider_amount .price_label .to,
.vp-shop-sidebar .price_slider_amount .price_label span {
	color: var(--vp-dark);
	font-weight: 800;
}

.vp-shop-sidebar .price_slider_amount button,
.vp-shop-sidebar .price_slider_amount .button {
	flex-shrink: 0;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 0.5rem 1.15rem !important;
	background: var(--vp-green) !important;
	color: #fff !important;
	font-weight: 800 !important;
	font-size: 0.8rem !important;
	line-height: 1.2 !important;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(90, 140, 61, 0.25);
	transition: background 0.2s ease, transform 0.15s ease;
}

.vp-shop-sidebar .price_slider_amount button:hover,
.vp-shop-sidebar .price_slider_amount .button:hover {
	background: var(--vp-green-hover) !important;
	transform: translateY(-1px);
}

/* --- Tag cloud --- */
.vp-shop-sidebar .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.vp-shop-sidebar .tagcloud a {
	display: inline-block;
	padding: 0.35rem 0.75rem !important;
	border-radius: 999px;
	background: var(--vp-light);
	color: var(--vp-dark) !important;
	text-decoration: none;
	font-size: 0.78rem !important;
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease;
}

.vp-shop-sidebar .tagcloud a:hover {
	background: var(--vp-orange);
	color: #fff !important;
}

/* --- Mini product lists (best sellers + recently viewed) --- */
.vp-shop-sidebar .product_list_widget,
.vp-sidebar-products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.vp-sidebar-products__item,
.vp-shop-sidebar .product_list_widget li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem;
	border-radius: 1rem;
	background: var(--vp-light);
	border: 1px solid transparent;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vp-sidebar-products__item:hover,
.vp-shop-sidebar .product_list_widget li:hover {
	background: #fff;
	border-color: rgba(242, 140, 40, 0.28);
	box-shadow: 0 8px 18px rgba(90, 140, 61, 0.1);
	transform: translateY(-1px);
}

.vp-sidebar-products__rank {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 0.5rem;
	background: rgba(242, 140, 40, 0.14);
	color: var(--vp-orange);
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1;
}

.vp-sidebar-products__item:nth-child(1) .vp-sidebar-products__rank {
	background: var(--vp-orange);
	color: #fff;
}

.vp-sidebar-products__item:nth-child(2) .vp-sidebar-products__rank {
	background: rgba(90, 140, 61, 0.16);
	color: var(--vp-green);
}

.vp-sidebar-products__thumb {
	flex: 0 0 auto;
	display: block;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 0.85rem;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(74, 59, 50, 0.08);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.vp-shop-sidebar .product_list_widget img,
.vp-sidebar-products__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vp-shop-sidebar .product_list_widget > li > a > img {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 0.85rem;
	flex-shrink: 0;
	object-fit: cover;
	border: 1px solid rgba(74, 59, 50, 0.08);
	background: #fff;
}

.vp-sidebar-products__info {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.vp-sidebar-products__title,
.vp-shop-sidebar .product_list_widget a {
	display: block;
	color: var(--vp-dark);
	font-size: 0.82rem;
	font-weight: 800;
	text-decoration: none;
	line-height: 1.35;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vp-sidebar-products__title:hover,
.vp-shop-sidebar .product_list_widget a:hover {
	color: var(--vp-orange);
}

.vp-sidebar-products__price,
.vp-shop-sidebar .product_list_widget .woocommerce-Price-amount {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
	font-size: 0.8rem;
	font-weight: 900;
	color: var(--vp-orange);
	line-height: 1.3;
}

.vp-sidebar-products__price del,
.vp-shop-sidebar .product_list_widget del {
	color: #b0a89a !important;
	font-weight: 500 !important;
	font-size: 0.72rem !important;
	opacity: 0.9;
}

.vp-sidebar-products__price ins,
.vp-shop-sidebar .product_list_widget ins {
	text-decoration: none;
	color: var(--vp-orange);
	font-weight: 900;
}

/* --- Promo banner --- */
.vp-sidebar-banner {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 1.75rem;
	min-height: 13.5rem;
	background-color: var(--vp-dark);
	background-image: linear-gradient(155deg, #5a8c3d 0%, #4a3b32 65%);
	background-size: cover;
	background-position: center;
	text-decoration: none;
	box-shadow: 0 18px 34px -10px rgba(74, 59, 50, 0.4);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vp-sidebar-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(195deg, rgba(74, 59, 50, 0.15) 0%, rgba(74, 59, 50, 0.55) 55%, rgba(30, 24, 20, 0.92) 100%);
	z-index: 0;
}

.vp-sidebar-banner--flat {
	background-image: linear-gradient(155deg, #5a8c3d 0%, #4a3b32 70%);
}

.vp-sidebar-banner:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 40px -10px rgba(74, 59, 50, 0.5);
}

.vp-sidebar-banner__ribbon {
	position: absolute;
	top: 0.85rem;
	inset-inline-start: 0.85rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.3rem 0.85rem;
	background: var(--vp-orange);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(242, 140, 40, 0.45);
}

.vp-sidebar-banner__overlay {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	height: 100%;
	min-height: 13.5rem;
	padding: 3.25rem 1.35rem 1.35rem;
	color: #fff;
	box-sizing: border-box;
	justify-content: flex-end;
}

.vp-sidebar-banner__title {
	display: block;
	font-size: 1.15rem;
	font-weight: 900;
	line-height: 1.35;
	margin-bottom: 0.4rem;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.vp-sidebar-banner__text {
	display: block;
	margin: 0 0 1rem;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.65;
}

.vp-sidebar-banner__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 1.25rem;
	border-radius: 999px;
	background: var(--vp-orange);
	color: #fff;
	font-weight: 800;
	font-size: 0.8rem;
	box-shadow: 0 10px 22px rgba(242, 140, 40, 0.4);
	transition: background 0.2s ease, gap 0.2s ease;
}

.vp-sidebar-banner__btn span {
	transition: transform 0.2s ease;
}

.vp-sidebar-banner:hover .vp-sidebar-banner__btn {
	background: var(--vp-orange-hover, #d67a1f);
	gap: 0.6rem;
}

.vp-sidebar-banner:hover .vp-sidebar-banner__btn span {
	transform: translateX(-3px);
}

/* --- Newsletter (light card override of the dark footer version) --- */
.vp-sidebar-newsletter {
	position: relative;
	overflow: hidden;
	background: linear-gradient(155deg, #fff 0%, var(--vp-light) 130%);
}

.vp-sidebar-newsletter__deco {
	position: absolute;
	top: -0.75rem;
	inset-inline-end: -0.5rem;
	font-size: 4.5rem;
	opacity: 0.06;
	transform: rotate(15deg);
	pointer-events: none;
}

.vp-sidebar-newsletter .vp-shop-sidebar__widget-title {
	position: relative;
	z-index: 1;
}

.vp-sidebar-newsletter .vfb-newsletter {
	position: relative;
	z-index: 1;
}

.vp-sidebar-newsletter .vfb-newsletter__text {
	color: #6b7280;
	font-size: 0.8rem;
	line-height: 1.7;
	margin-bottom: 0.9rem;
}

.vp-sidebar-newsletter .vfb-newsletter__form {
	max-width: none;
	margin: 0;
}

.vp-sidebar-newsletter .vfb-newsletter__form input[type="email"] {
	background: #fff;
	border: 1.5px solid rgba(74, 59, 50, 0.1);
	color: var(--vp-dark);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.vp-sidebar-newsletter .vfb-newsletter__form input[type="email"]:focus {
	border-color: var(--vp-green);
	box-shadow: 0 0 0 3px rgba(90, 140, 61, 0.12);
}

.vp-sidebar-newsletter .vfb-newsletter__form input[type="email"]::placeholder {
	color: #9ca3af;
}

.vp-sidebar-newsletter .vfb-newsletter__form button {
	font-weight: 800 !important;
	box-shadow: 0 6px 14px rgba(242, 140, 40, 0.3);
}

.vp-sidebar-newsletter .vfb-newsletter__status--error {
	color: #dc2626;
}

.vp-sidebar-newsletter .vfb-newsletter__status--success {
	color: var(--vp-green);
	font-weight: 700;
}

/* --- Tag cloud (strengthen the pill look) --- */
.vp-shop-sidebar .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.vp-shop-sidebar .tagcloud a {
	display: inline-flex !important;
	align-items: center;
	gap: 0.3rem;
	padding: 0.4rem 0.85rem !important;
	border-radius: 999px;
	background: var(--vp-light);
	border: 1px solid transparent;
	color: var(--vp-dark) !important;
	text-decoration: none;
	font-size: 0.78rem !important;
	font-weight: 700;
	line-height: 1.4;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.vp-shop-sidebar .tagcloud a::before {
	content: "#";
	font-weight: 900;
	color: var(--vp-green);
	transition: color 0.2s ease;
}

.vp-shop-sidebar .tagcloud a:hover {
	background: var(--vp-orange);
	border-color: var(--vp-orange);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(242, 140, 40, 0.3);
}

.vp-shop-sidebar .tagcloud a:hover::before {
	color: #fff;
}
