/*
Theme Name: Vasudgara Catalog Premium
Component: WooCommerce archive
Version: 1.0.0
*/

:root {
	--vg-catalog-bg: #fbfaf5;
	--vg-catalog-soft: #f3efe4;
	--vg-catalog-dark: #17251c;
	--vg-catalog-dark-2: #294735;
	--vg-catalog-text: #26352b;
	--vg-catalog-muted: #6f7a70;
	--vg-catalog-line: rgba(23, 37, 28, .12);
	--vg-catalog-green: #3d7d47;
	--vg-catalog-green-dark: #215b31;
	--vg-catalog-gold: #c99b45;
	--vg-catalog-card: #fffdf7;
	--vg-catalog-shadow: 0 22px 64px rgba(23, 37, 28, .09);
	--vg-catalog-shadow-hover: 0 32px 84px rgba(23, 37, 28, .15);
}

.vg-catalog,
.vg-catalog * {
	box-sizing: border-box;
}

.vg-catalog {
	overflow: hidden;
	color: var(--vg-catalog-text);
	background: var(--vg-catalog-bg);
}

.vg-catalog-container {
	width: min(1240px, calc(100% - 32px));
	margin-inline: auto;
}

.vg-catalog h1,
.vg-catalog h2,
.vg-catalog h3,
.vg-catalog p {
	margin-top: 0;
}

.vg-catalog h1,
.vg-catalog h2,
.vg-catalog h3 {
	color: var(--vg-catalog-dark);
	line-height: 1.04;
}

.vg-catalog-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 12px;
	color: var(--vg-catalog-green);
	font-size: 10px;
	font-weight: 950;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.vg-catalog-kicker:before {
	content: "";
	width: 29px;
	height: 2px;
	border-radius: 20px;
	background: linear-gradient(90deg, var(--vg-catalog-green), var(--vg-catalog-gold));
}

.vg-catalog-hero {
	padding: 22px 0 30px;
	background:
		radial-gradient(circle at 84% 8%, rgba(61, 125, 71, .17), transparent 31%),
		radial-gradient(circle at 4% 96%, rgba(201, 155, 69, .18), transparent 31%),
		linear-gradient(180deg, #fffdf7 0%, #f4efe3 100%);
	border-bottom: 1px solid var(--vg-catalog-line);
}

.vg-catalog-breadcrumbs {
	margin-bottom: 18px;
	color: var(--vg-catalog-muted);
	font-size: 11px;
}

.vg-catalog-breadcrumbs .woocommerce-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	color: inherit;
	font-size: inherit;
}

.vg-catalog-breadcrumbs a {
	color: var(--vg-catalog-green-dark);
	text-decoration: none;
}

.vg-catalog-breadcrumbs__separator {
	color: rgba(23, 37, 28, .28);
}

.vg-catalog-hero__grid {
	display: block;
}

.vg-catalog-hero__copy h1 {
	max-width: 850px;
	margin-bottom: 10px;
	font-size: clamp(30px, 4vw, 50px);
	letter-spacing: -.045em;
}

.vg-catalog-hero__copy p {
	max-width: 760px;
	margin-bottom: 0;
	color: var(--vg-catalog-muted);
	font-size: 14px;
	line-height: 1.55;
}

.vg-catalog-hero__audience {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 25px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 24px;
	color: #fff;
	background:
		radial-gradient(circle at 88% 0, rgba(201, 155, 69, .25), transparent 34%),
		linear-gradient(145deg, var(--vg-catalog-dark), var(--vg-catalog-dark-2));
	box-shadow: var(--vg-catalog-shadow);
}

.vg-catalog-hero__audience-badge {
	margin-bottom: 26px;
	padding: 7px 10px;
	border-radius: 999px;
	color: #d9f0a3;
	background: rgba(255, 255, 255, .10);
	font-size: 9px;
	font-weight: 950;
	letter-spacing: .10em;
}

.vg-catalog-hero__audience strong {
	margin-bottom: 8px;
	color: #fff;
	font-size: 20px;
	line-height: 1.18;
}

.vg-catalog-hero__audience p {
	margin-bottom: 19px;
	color: rgba(255, 255, 255, .67);
	font-size: 12px;
	line-height: 1.55;
}

.vg-catalog-hero__audience a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	text-decoration: none;
}

.vg-catalog-hero__audience svg {
	width: 16px;
	height: 16px;
	transition: transform .2s ease;
}

.vg-catalog-hero__audience a:hover svg {
	transform: translateX(3px);
}

.vg-catalog-categories {
	padding: 64px 0 38px;
}

.vg-catalog-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 25px;
}

.vg-catalog-section-head h2 {
	margin-bottom: 0;
	font-size: clamp(28px, 3.2vw, 43px);
	letter-spacing: -.042em;
}

.vg-catalog-section-head > p {
	max-width: 470px;
	margin-bottom: 0;
	color: var(--vg-catalog-muted);
	font-size: 13px;
	line-height: 1.6;
}

.vg-catalog-category-shell {
	position: relative;
}

.vg-catalog-category-swiper {
	overflow: visible;
}

.vg-category-card {
	height: auto;
	opacity: 1;
	transform: none;
}

.vg-catalog-js .vg-category-card,
.vg-catalog-js .vg-product-card,
.vg-catalog-js .vg-catalog-audience__card {
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity .45s ease,
		transform .45s ease,
		box-shadow .25s ease,
		border-color .25s ease;
}

.vg-catalog-js .vg-category-card.is-visible,
.vg-catalog-js .vg-product-card.is-visible,
.vg-catalog-js .vg-catalog-audience__card.is-visible {
	opacity: 1;
	transform: none;
}

.vg-category-card__link {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--vg-catalog-line);
	border-radius: 23px;
	color: var(--vg-catalog-dark);
	background: linear-gradient(180deg, #fff, #faf6ec);
	box-shadow: 0 15px 42px rgba(23, 37, 28, .06);
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.vg-category-card__link:hover {
	transform: translateY(-5px);
	border-color: rgba(61, 125, 71, .24);
	box-shadow: var(--vg-catalog-shadow-hover);
}

.vg-category-card__media {
	display: block;
	aspect-ratio: 1.18 / 1;
	overflow: hidden;
	background:
		radial-gradient(circle at 83% 2%, rgba(201, 155, 69, .16), transparent 35%),
		var(--vg-catalog-soft);
}

.vg-category-card__image {
	width: 100%;
	height: 100%;
	display: block;
	padding: 15px;
	object-fit: contain;
	transition: transform .3s ease;
}

.vg-category-card__link:hover .vg-category-card__image {
	transform: scale(1.045);
}

.vg-category-card__body {
	display: grid;
	gap: 5px;
	padding: 15px 48px 15px 15px;
}

.vg-category-card__title {
	font-size: 14px;
	line-height: 1.3;
	font-weight: 900;
}

.vg-category-card__count {
	color: var(--vg-catalog-muted);
	font-size: 9px;
}

.vg-category-card__arrow {
	position: absolute;
	right: 13px;
	bottom: 13px;
	width: 29px;
	height: 29px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	color: var(--vg-catalog-green-dark);
	background: rgba(61, 125, 71, .08);
}

.vg-category-card__arrow svg {
	width: 15px;
	height: 15px;
}

.vg-catalog-slider-button {
	position: absolute;
	z-index: 4;
	top: 50%;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid var(--vg-catalog-line);
	border-radius: 50%;
	color: var(--vg-catalog-dark);
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 10px 28px rgba(23, 37, 28, .11);
	cursor: pointer;
	transform: translateY(-50%);
	transition: transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
}

.vg-catalog-slider-button:hover {
	color: #fff;
	background: var(--vg-catalog-green);
	transform: translateY(calc(-50% - 2px));
}

.vg-catalog-slider-button svg {
	width: 18px;
	height: 18px;
}

.vg-catalog-slider-button.swiper-button-disabled {
	opacity: .25;
	cursor: default;
}

.vg-catalog-category-prev {
	left: -20px;
}

.vg-catalog-category-next {
	right: -20px;
}

.vg-catalog-products {
	padding: 38px 0 76px;
}

.vg-catalog-section-head--products {
	margin-bottom: 20px;
}

.vg-catalog-toolbar {
	width: 100%;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 22px;
	padding: 12px;
	overflow: hidden;
	border: 1px solid var(--vg-catalog-line);
	border-radius: 18px;
	background: rgba(255, 253, 247, .90);
	box-shadow: 0 12px 34px rgba(23, 37, 28, .05);
}

.vg-catalog-toolbar__summary,
.vg-catalog-toolbar__controls,
.vg-catalog-toolbar__sort-row,
.vg-catalog-toolbar .sort {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.vg-catalog-toolbar__summary {
	flex: 0 1 auto;
}

.vg-catalog-toolbar__controls {
	flex: 1 1 520px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.vg-catalog-toolbar .filtr_yith {
	min-width: 0;
	flex: 1 1 auto;
}

.vg-catalog-toolbar .catalog_filters__count {
	margin: 0;
	color: var(--vg-catalog-muted);
	font-size: 11px;
	line-height: 1.35;
	font-weight: 800;
	white-space: nowrap;
}

.vg-catalog-toolbar form {
	min-width: 0;
	margin: 0;
}

.vg-catalog-per-page {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 7px;
}

.vg-catalog-per-page label {
	color: var(--vg-catalog-muted);
	font-size: 9px;
	font-weight: 800;
	white-space: nowrap;
}

.vg-catalog-toolbar select {
	max-width: 100%;
	height: 40px;
	padding: 0 34px 0 12px;
	border: 1px solid var(--vg-catalog-line);
	border-radius: 12px;
	color: var(--vg-catalog-dark);
	background-color: #fff;
	font-family: inherit;
	font-size: 10px;
	font-weight: 800;
	cursor: pointer;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.vg-catalog-toolbar select:focus {
	border-color: rgba(61, 125, 71, .45);
	box-shadow: 0 0 0 3px rgba(61, 125, 71, .10);
}

.vg-catalog-toolbar__sort-row {
	flex: 0 1 auto;
	margin-left: auto;
}

.vg-catalog-ordering {
	flex: 1 1 220px;
}

.vg-catalog-ordering select {
	width: min(235px, 100%);
	min-width: 0;
}

.vg-catalog-toolbar .view_mode {
	flex: 0 0 auto;
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	border-radius: 12px;
	background: var(--vg-catalog-soft);
}

.vg-catalog-toolbar .view_mode button {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 9px;
	color: var(--vg-catalog-muted);
	background: transparent;
	cursor: pointer;
}

.vg-catalog-toolbar .view_mode button.active {
	color: #fff;
	background: var(--vg-catalog-green-dark);
	box-shadow: 0 7px 16px rgba(61, 125, 71, .18);
}

.vg-catalog-toolbar .view_mode svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.2;
}

.vg-catalog .product_list.grid_view {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.vg-catalog .product_list.list_view {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.vg-catalog .product_list.list_view .vg-product-card {
	width: 100%;
	height: auto;
	min-height: 220px;
	display: grid;
	grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
}

.vg-catalog .product_list.list_view .vg-product-card__media {
	width: 100%;
	height: 100%;
	min-height: 220px;
	aspect-ratio: 1 / 1;
}

.vg-catalog .product_list.list_view .vg-product-card__body {
	padding: 22px;
}

.vg-catalog .product_list.list_view .vg-product-card .product_title.vg-product-card__title {
	min-height: 0 !important;
	font-size: 15px !important;
	-webkit-line-clamp: 3;
}

.vg-catalog .product_list.list_view .vg-product-card__purchase-row {
	max-width: 460px;
}

.vg-catalog .product_list.list_view .vg-product-card__price-stack {
	max-width: 400px;
}

.vg-catalog .product_list.list_view .vg-product-card__cart--icon {
	width: 42px;
	min-width: 42px;
}

.vg-catalog-pagination {
	margin-top: 32px;
}

.vg-catalog-pagination .woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: 0;
}

.vg-catalog-pagination .woocommerce-pagination ul.page-numbers li {
	border: 0;
}

.vg-catalog-pagination .page-numbers a,
.vg-catalog-pagination .page-numbers span {
	min-width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	padding: 0 11px;
	border: 1px solid var(--vg-catalog-line);
	border-radius: 12px;
	color: var(--vg-catalog-dark);
	background: #fff;
	font-size: 11px;
	font-weight: 850;
	text-decoration: none;
}

.vg-catalog-pagination .page-numbers .current,
.vg-catalog-pagination .page-numbers a:hover {
	color: #fff;
	border-color: transparent;
	background: var(--vg-catalog-green-dark);
}

.vg-catalog-empty {
	padding: 50px 24px;
	border: 1px dashed var(--vg-catalog-line);
	border-radius: 24px;
	color: var(--vg-catalog-muted);
	background: rgba(255, 255, 255, .58);
	text-align: center;
}

.vg-catalog-audience {
	padding: 0 0 70px;
}

.vg-catalog-audience__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.vg-catalog-audience__card {
	min-height: 290px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 30px;
	border: 1px solid var(--vg-catalog-line);
	border-radius: 27px;
	background:
		radial-gradient(circle at 90% 0, rgba(201, 155, 69, .17), transparent 33%),
		linear-gradient(145deg, #fffdf7, #f2ecde);
	box-shadow: var(--vg-catalog-shadow);
}

.vg-catalog-audience__card > span {
	margin-bottom: auto;
	padding: 7px 10px;
	border-radius: 999px;
	color: var(--vg-catalog-green-dark);
	background: rgba(61, 125, 71, .09);
	font-size: 9px;
	font-weight: 950;
	letter-spacing: .08em;
}

.vg-catalog-audience__card h2 {
	margin: 35px 0 11px;
	font-size: clamp(26px, 3vw, 39px);
	letter-spacing: -.04em;
}

.vg-catalog-audience__card p {
	max-width: 520px;
	margin-bottom: 22px;
	color: var(--vg-catalog-muted);
	font-size: 13px;
	line-height: 1.65;
}

.vg-catalog-audience__card a {
	color: var(--vg-catalog-green-dark);
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
}

.vg-catalog-audience__card--dark {
	border-color: rgba(255, 255, 255, .10);
	background:
		radial-gradient(circle at 90% 0, rgba(201, 155, 69, .22), transparent 33%),
		linear-gradient(145deg, var(--vg-catalog-dark), var(--vg-catalog-dark-2));
}

.vg-catalog-audience__card--dark h2,
.vg-catalog-audience__card--dark p,
.vg-catalog-audience__card--dark a {
	color: #fff;
}

.vg-catalog-audience__card--dark p {
	opacity: .70;
}

.vg-catalog-audience__card--dark > span {
	color: #d9f0a3;
	background: rgba(255, 255, 255, .10);
}

.vg-catalog-description {
	padding: 0 0 78px;
}

.vg-catalog-description .taxonomy-description {
	padding: 28px;
	border: 1px solid var(--vg-catalog-line);
	border-radius: 24px;
	color: var(--vg-catalog-muted);
	background: rgba(255, 255, 255, .58);
	font-size: 14px;
	line-height: 1.75;
}

.vg-catalog-description .taxonomy-description > :last-child {
	margin-bottom: 0;
}

@media(max-width:1100px) {
	.vg-catalog-hero__grid {
		grid-template-columns: 1fr;
	}

	.vg-catalog-hero__audience {
		max-width: 570px;
	}

	.vg-catalog .product_list.grid_view {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vg-catalog-toolbar {
		align-items: stretch;
		flex-direction: column;
		overflow: visible;
	}

	.vg-catalog-toolbar__summary,
	.vg-catalog-toolbar__controls {
		width: 100%;
	}

	.vg-catalog-toolbar__summary {
		justify-content: space-between;
	}

	.vg-catalog-toolbar__controls {
		justify-content: flex-end;
	}

	.vg-catalog-toolbar__sort-row {
		margin-left: auto;
	}
}

@media(max-width:820px) {
	.vg-catalog-section-head {
		display: grid;
		gap: 13px;
	}

	.vg-catalog .product_list.grid_view {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vg-catalog .product_list.list_view .vg-product-card {
		grid-template-columns: 170px minmax(0, 1fr);
	}

	.vg-catalog .product_list.list_view .vg-product-card__media {
		min-height: 190px;
	}

	.vg-catalog-audience__grid {
		grid-template-columns: 1fr;
	}

	.vg-catalog-category-prev {
		left: -9px;
	}

	.vg-catalog-category-next {
		right: -9px;
	}
}

@media(max-width:680px) {
	.vg-catalog-container {
		width: min(100% - 24px, 1240px);
	}

	.vg-catalog-hero {
		padding: 17px 0 24px;
	}

	.vg-catalog-breadcrumbs {
		margin-bottom: 14px;
	}

	.vg-catalog-hero__copy h1 {
		font-size: 32px;
	}

	.vg-catalog-hero__copy p {
		font-size: 13px;
	}

	.vg-catalog-categories {
		padding: 48px 0 26px;
	}

	.vg-catalog-products {
		padding: 28px 0 58px;
	}

	.vg-catalog-toolbar {
		padding: 10px;
		border-radius: 16px;
	}

	.vg-catalog-toolbar__summary {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 8px;
	}

	.vg-catalog-toolbar__controls {
		display: block;
	}

	.vg-catalog-toolbar .filtr_yith {
		width: 100%;
	}

	.vg-catalog-toolbar__sort-row,
	.vg-catalog-toolbar .sort {
		width: 100%;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 8px;
		margin: 0;
	}

	.vg-catalog-ordering,
	.vg-catalog-ordering select {
		width: 100%;
		min-width: 0;
	}

	.vg-catalog-per-page {
		justify-content: flex-end;
	}

	.vg-catalog-toolbar .view_mode {
		align-self: auto;
		justify-self: end;
	}

	.vg-catalog .product_list.grid_view {
		gap: 9px;
	}

	.vg-catalog .product_list.list_view .vg-product-card {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		min-height: 145px;
	}

	.vg-catalog .product_list.list_view .vg-product-card__media {
		width: 112px;
		height: 100%;
		min-height: 145px;
		aspect-ratio: 1 / 1;
	}

	.vg-catalog .product_list.list_view .vg-product-card__body {
		padding: 12px;
	}

	.vg-catalog .product_list.list_view .vg-product-card__title {
		font-size: 14px;
	}

		.vg-catalog-audience__card {
		min-height: 270px;
		padding: 24px;
		border-radius: 23px;
	}

	.vg-catalog-description .taxonomy-description {
		padding: 21px;
	}
}

@media(max-width:400px) {
	.vg-catalog .product_list.grid_view {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media(prefers-reduced-motion:reduce) {
	.vg-catalog *,
	.vg-catalog-js .vg-category-card,
	.vg-catalog-js .vg-product-card,
	.vg-catalog-js .vg-catalog-audience__card {
		transition: none !important;
		animation: none !important;
		transform: none !important;
	}

	.vg-catalog-js .vg-category-card,
	.vg-catalog-js .vg-product-card,
	.vg-catalog-js .vg-catalog-audience__card {
		opacity: 1 !important;
	}
}
