/* Shared Alka ecommerce presentation layered over Grocery Store Pro. */
:root {
	--alka-ink: #20282d;
	--alka-muted: #667178;
	--alka-line: #e3e8e5;
	--alka-surface: #ffffff;
	--alka-canvas: #f5f7f5;
	--alka-radius: 12px;
	--alka-shadow: 0 10px 30px rgba(24, 34, 29, 0.08);
	--alka-shop-backdrop: none;
	--alka-shop-backdrop-tint: rgba(245, 247, 245, 0.92);
}

body {
	background: var(--alka-canvas);
	color: var(--alka-muted);
}

body.alka-store-happy-houseware {
	--alka-canvas: #f4f3ed;
	--alka-ink: #283029;
	--alka-line: #e2dfd2;
	--secondary-color: #58752a;
	--secondary-color-rgb: 88, 117, 42;
}

body.alka-store-lush-lips {
	--alka-canvas: #faf3f6;
	--alka-ink: #2f2028;
	--alka-line: #eadde3;
	--secondary-color: #8a2855;
	--secondary-color-rgb: 138, 40, 85;
}

body.alka-store-animal-t-shirts {
	--alka-shop-backdrop: url("../img/alka-storefronts/animal-t-shirts-shop-backdrop.jpg");
	--alka-shop-backdrop-tint: rgba(245, 247, 242, 0.74);
}

body.alka-store-happy-houseware {
	--alka-shop-backdrop: url("../img/alka-storefronts/happy-houseware-shop-backdrop.jpg");
	--alka-shop-backdrop-tint: rgba(244, 243, 237, 0.74);
}

body.alka-store-land-of-lingerie {
	--alka-shop-backdrop: url("../img/alka-storefronts/land-of-lingerie-shop-backdrop.jpg");
	--alka-shop-backdrop-tint: rgba(250, 245, 247, 0.74);
}

body.alka-store-lush-lips {
	--alka-shop-backdrop: url("../img/alka-storefronts/lush-lips-shop-backdrop.jpg");
	--alka-shop-backdrop-tint: rgba(250, 243, 246, 0.74);
}

body.alka-store-pc-universe {
	--alka-shop-backdrop: url("../img/alka-storefronts/pc-universe-shop-backdrop.jpg");
	--alka-shop-backdrop-tint: rgba(243, 247, 248, 0.74);
}

body.alka-store-rc-toy-land {
	--alka-shop-backdrop: url("../img/alka-storefronts/rc-toy-land-shop-backdrop.jpg");
	--alka-shop-backdrop-tint: rgba(244, 246, 242, 0.74);
}

body.alka-store-simply-shoes {
	--alka-shop-backdrop: url("../img/alka-storefronts/simply-shoes-shop-backdrop.jpg");
	--alka-shop-backdrop-tint: rgba(247, 245, 241, 0.74);
}

body.alka-store-suits-you-sir {
	--alka-shop-backdrop: url("../img/alka-storefronts/suits-you-sir-shop-backdrop.jpg");
	--alka-shop-backdrop-tint: rgba(244, 245, 245, 0.74);
}

body.alka-store-happy-houseware .rd-navbar,
body.alka-store-lush-lips .rd-navbar,
body.alka-store-happy-houseware #wcspc-count,
body.alka-store-lush-lips #wcspc-count {
	background: var(--secondary-color) !important;
}

body.alka-store-happy-houseware .rd-navbar .menu-category-list,
body.alka-store-happy-houseware .rd-navbar .widget_product_categories,
body.alka-store-happy-houseware .rd-navbar .top-form-minicart {
	background: #3f571d !important;
}

body.alka-store-lush-lips .rd-navbar .menu-category-list,
body.alka-store-lush-lips .rd-navbar .widget_product_categories,
body.alka-store-lush-lips .rd-navbar .top-form-minicart {
	background: #5c1837 !important;
}

.topbar {
	min-height: 32px;
	line-height: 32px;
	background: #f8faf8;
	border-bottom-color: var(--alka-line);
}

header.site-header,
header.site-header.header_style_1 {
	padding: 14px 0 16px;
	background: var(--alka-surface);
}

header.site-header .row {
	min-height: 82px;
}

header.site-header .site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

header.site-header .site-branding .alka-brand-wordmark {
	position: relative;
	max-width: 260px;
	min-height: 62px;
	padding-left: 18px;
	color: var(--alka-ink);
	font-family: var(--heading-fonts);
	font-size: clamp(1.55rem, 2.2vw, 2.15rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.045em;
	text-align: left;
}

header.site-header .site-branding .alka-brand-wordmark::before {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 0;
	width: 5px;
	background: var(--secondary-color);
	border-radius: 5px;
	content: "";
}

header.site-header .site-branding .alka-brand-wordmark:hover,
header.site-header .site-branding .alka-brand-wordmark:focus {
	color: var(--secondary-color);
}

header.site-header .site-branding .custom-logo-link img {
	display: block;
	width: auto;
	height: auto;
	max-width: 230px;
	max-height: 82px !important;
	object-fit: contain;
}

body.wp-custom-logo header.site-header .site-branding h4,
body.wp-custom-logo header.site-header .site-branding .site-description {
	display: none;
}

header.site-header .mg-20 {
	width: 100%;
	padding-top: 0;
	padding-bottom: 0;
}

header.site-header .header-icon {
	display: none;
}

header.site-header .aspw-widgets-wrap-class {
	width: min(100%, 720px);
	min-width: 0;
	float: right;
}

header.site-header .apsw-search-form {
	box-shadow: 0 5px 18px rgba(24, 34, 29, 0.06);
}

.rd-navbar-static .rd-navbar-nav > li > a,
.rd-navbar-static .menu-category-list,
.rd-navbar-static .top-form-minicart,
.rd-navbar-static .top-form-minicart a.cart-contents {
	line-height: 56px !important;
}

.rd-navbar-static .rd-navbar-nav > li > a {
	font-size: 14px !important;
	letter-spacing: 1.2px !important;
	padding: 0 17px;
}

.rd-navbar-static .menu-category-list {
	font-size: 14px !important;
	letter-spacing: 1.4px !important;
}

.rd-navbar-static .rd-navbar-inner {
	width: 100%;
	max-width: 1140px;
	padding-right: 0;
	padding-left: 0;
}

body.post-type-archive-product #static_header_banner,
body.tax-product_cat #static_header_banner,
body.tax-product_tag #static_header_banner {
	height: 112px !important;
	min-height: 112px;
	background: linear-gradient(115deg, #20282d 0%, #2d393e 72%, #344149 100%);
}

body.alka-store-happy-houseware.post-type-archive-product #static_header_banner,
body.alka-store-happy-houseware.tax-product_cat #static_header_banner,
body.alka-store-happy-houseware.tax-product_tag #static_header_banner,
body.alka-store-lush-lips.post-type-archive-product #static_header_banner,
body.alka-store-lush-lips.tax-product_cat #static_header_banner,
body.alka-store-lush-lips.tax-product_tag #static_header_banner {
	height: 156px !important;
	min-height: 156px;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: cover !important;
}

body.alka-store-happy-houseware.post-type-archive-product #static_header_banner,
body.alka-store-happy-houseware.tax-product_cat #static_header_banner,
body.alka-store-happy-houseware.tax-product_tag #static_header_banner {
	background-image:
		linear-gradient(90deg, rgba(18, 25, 17, 0.86), rgba(37, 44, 33, 0.72) 42%, rgba(24, 31, 22, 0.82)),
		url("../img/alka-storefronts/happy-houseware-shop-hero.webp") !important;
	background-position: center 48% !important;
}

body.alka-store-lush-lips.post-type-archive-product #static_header_banner,
body.alka-store-lush-lips.tax-product_cat #static_header_banner,
body.alka-store-lush-lips.tax-product_tag #static_header_banner {
	background-image:
		linear-gradient(90deg, rgba(37, 12, 25, 0.87), rgba(57, 25, 41, 0.64) 48%, rgba(34, 10, 23, 0.84)),
		url("../img/alka-storefronts/lush-lips-shop-hero.webp") !important;
	background-position: center 47% !important;
}

body.alka-store-happy-houseware #static_header_banner .content-text h1,
body.alka-store-lush-lips #static_header_banner .content-text h1 {
	color: #fff !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

body.alka-store-happy-houseware #static_header_banner .grocery-store-breadcrumbs,
body.alka-store-happy-houseware #static_header_banner .grocery-store-breadcrumbs a,
body.alka-store-happy-houseware #static_header_banner .grocery-store-breadcrumbs span,
body.alka-store-lush-lips #static_header_banner .grocery-store-breadcrumbs,
body.alka-store-lush-lips #static_header_banner .grocery-store-breadcrumbs a,
body.alka-store-lush-lips #static_header_banner .grocery-store-breadcrumbs span {
	color: rgba(255, 255, 255, 0.9) !important;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

body.post-type-archive-product #static_header_banner .content-text h1,
body.tax-product_cat #static_header_banner .content-text h1,
body.tax-product_tag #static_header_banner .content-text h1 {
	padding: 0 0 18px;
	font-size: clamp(1.9rem, 3vw, 2.5rem) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em;
	text-shadow: none;
}

body.post-type-archive-product .grocery-store-breadcrumbs,
body.tax-product_cat .grocery-store-breadcrumbs,
body.tax-product_tag .grocery-store-breadcrumbs {
	bottom: 12px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 12px;
	line-height: 1.3;
}

body.post-type-archive-product #primary.container,
body.tax-product_cat #primary.container,
body.tax-product_tag #primary.container {
	position: relative;
	padding-top: 34px;
	padding-bottom: 64px;
	background: transparent;
	border-radius: 0;
}

body.post-type-archive-product #primary.container::before,
body.tax-product_cat #primary.container::before,
body.tax-product_tag #primary.container::before {
	position: absolute;
	z-index: 0;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	content: "";
	transform: translateX(-50%);
	pointer-events: none;
	background-color: var(--alka-canvas);
	background-image:
		linear-gradient(var(--alka-shop-backdrop-tint), var(--alka-shop-backdrop-tint)),
		var(--alka-shop-backdrop);
	background-position: center top, center top;
	background-repeat: no-repeat, repeat-y;
	background-size: 100% 100%, 100% auto;
}

body.post-type-archive-product #primary.container > .row,
body.tax-product_cat #primary.container > .row,
body.tax-product_tag #primary.container > .row {
	position: relative;
	z-index: 1;
}

.woocommerce .bcf-shop-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
	margin-bottom: 24px;
	padding: 10px 12px;
	background: var(--alka-surface);
	border: 1px solid var(--alka-line);
	border-radius: 10px;
	box-shadow: 0 5px 18px rgba(24, 34, 29, 0.04);
}

.woocommerce .bcf-shop-toolbar .list-grid-nav {
	display: none;
}

.woocommerce .bcf-shop-toolbar .woocommerce-ordering,
.woocommerce .bcf-shop-toolbar .result-count {
	float: none;
	margin: 0;
}

.woocommerce .bcf-shop-toolbar .woocommerce-ordering {
	margin-left: auto;
	order: 2;
}

.woocommerce .bcf-shop-toolbar .result-count {
	order: 1;
}

.woocommerce .bcf-shop-toolbar .orderby,
.woocommerce .bcf-shop-toolbar .customSelect.orderby {
	height: 36px;
	min-width: 190px;
	padding: 0 36px 0 12px;
	background: #fff;
	border: 1px solid var(--alka-line);
	border-radius: 7px;
	color: var(--alka-ink);
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product {
	display: block !important;
	float: none !important;
	clear: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.woocommerce ul.products li.product .product-loop-wrp {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--alka-surface);
	border: 1px solid var(--alka-line);
	border-radius: var(--alka-radius);
	box-shadow: 0 4px 18px rgba(24, 34, 29, 0.05);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.woocommerce ul.products li.product .product-loop-wrp::after {
	display: none;
}

.woocommerce ul.products li.product .product-loop-wrp:hover {
	transform: translateY(-3px);
	border-color: rgba(var(--secondary-color-rgb), 0.42);
	box-shadow: var(--alka-shadow);
}

.woocommerce ul.products li.product .product-image,
.woocommerce ul.products li.product .product-image figure {
	width: 100%;
	aspect-ratio: 1 / 1;
	margin: 0;
	overflow: hidden;
	background: #f8faf8;
}

.woocommerce ul.products li.product .product-image figure {
	display: grid;
	place-items: center;
}

.woocommerce ul.products li.product .product-image figure::after {
	display: none;
}

.woocommerce ul.products li.product .product-image img,
.woocommerce ul.products li.product .product-image img.woo-entry-image-secondary {
	width: 100%;
	height: 100% !important;
	padding: 14px;
	object-fit: contain;
	object-position: center;
}

.woocommerce ul.products li.product .content-wrap {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: stretch;
	padding: 18px;
	text-align: left;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	min-height: 4.35em;
	margin: 0 0 10px;
	padding: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: var(--alka-ink);
	font-family: var(--heading-fonts);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -0.01em;
}

.woocommerce ul.products li.product .price {
	margin: 0 0 16px;
	text-align: left;
}

.woocommerce ul.products li.product .price > span,
.woocommerce ul.products li.product .price ins {
	margin: 0;
	font-size: 21px;
	font-weight: 600;
}

.woocommerce ul.products li.product .loop-btn-wrap {
	margin-top: auto;
	padding: 0;
}

.woocommerce ul.products li.product .loop-btn-wrap .icon-btn {
	display: none;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart.wc-forward {
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--secondary-color);
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
	line-height: 26px;
	letter-spacing: 1px;
}

.woocommerce .grocery-store-sidebar .sidebar {
	overflow: hidden;
	background: transparent;
	border: 1px solid var(--alka-line);
	border-radius: var(--alka-radius);
	box-shadow: 0 5px 20px rgba(24, 34, 29, 0.04);
}

.woocommerce .grocery-store-sidebar .sidebar .widget {
	padding: 24px;
	border-top-color: var(--alka-line);
}

.woocommerce .grocery-store-sidebar .widget .widget-title {
	margin-bottom: 18px;
	font-size: 1.35rem;
	letter-spacing: 0;
	word-spacing: 0;
}

body.alka-catalogue-empty #main,
body.alka-catalogue-empty #main.col-xl-8,
body.alka-catalogue-empty #main.col-md-8 {
	flex: 0 0 100%;
	max-width: 100%;
}

body.alka-catalogue-empty .grocery-store-sidebar,
body.alka-catalogue-empty #wcspc-count,
body.alka-catalogue-empty #backToTop {
	display: none !important;
}

.alka-empty-catalogue {
	position: relative;
	min-height: 390px;
	padding: 68px clamp(28px, 8vw, 110px);
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 18%, rgba(var(--secondary-color-rgb), 0.14), transparent 30%),
		linear-gradient(135deg, #fff 0%, #f4f8f5 100%);
	border: 1px solid var(--alka-line);
	border-radius: calc(var(--alka-radius) + 4px);
	box-shadow: var(--alka-shadow);
}

.alka-empty-catalogue::after {
	position: absolute;
	right: -54px;
	bottom: -76px;
	width: 250px;
	height: 250px;
	border: 42px solid rgba(var(--secondary-color-rgb), 0.08);
	border-radius: 50%;
	content: "";
}

.alka-empty-catalogue-mark {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	width: 54px;
	height: 42px;
	margin-bottom: 24px;
}

.alka-empty-catalogue-mark span {
	display: block;
	width: 12px;
	background: var(--secondary-color);
	border-radius: 8px 8px 2px 2px;
}

.alka-empty-catalogue-mark span:nth-child(1) {
	height: 24px;
}

.alka-empty-catalogue-mark span:nth-child(2) {
	height: 42px;
}

.alka-empty-catalogue-mark span:nth-child(3) {
	height: 32px;
}

.alka-empty-catalogue-kicker {
	margin: 0 0 10px;
	color: var(--secondary-color);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.alka-empty-catalogue h2 {
	max-width: 680px;
	margin: 0 0 14px;
	color: var(--alka-ink);
	font-family: var(--heading-fonts);
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.alka-empty-catalogue > p:not(.alka-empty-catalogue-kicker) {
	max-width: 620px;
	margin-bottom: 26px;
	font-size: 17px;
	line-height: 1.65;
}

.alka-empty-catalogue-home {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 9px 18px;
	background: var(--secondary-color);
	border: 1px solid var(--secondary-color);
	border-radius: 7px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.alka-empty-catalogue-home:hover,
.alka-empty-catalogue-home:focus {
	background: transparent;
	color: var(--secondary-color);
}

@media (min-width: 1200px) {
	body.post-type-archive-product #primary.container,
	body.tax-product_cat #primary.container,
	body.tax-product_tag #primary.container {
		max-width: 1140px;
	}

	body.post-type-archive-product #main.col-xl-8,
	body.tax-product_cat #main.col-xl-8,
	body.tax-product_tag #main.col-xl-8 {
		flex: 0 0 75%;
		max-width: 75%;
	}

	body.post-type-archive-product .grocery-store-sidebar.col-xl-4,
	body.tax-product_cat .grocery-store-sidebar.col-xl-4,
	body.tax-product_tag .grocery-store-sidebar.col-xl-4 {
		flex: 0 0 25%;
		max-width: 25%;
	}

	body.alka-catalogue-empty #main.col-xl-8 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (max-width: 1100px) {
	.rd-navbar-static .rd-navbar-inner {
		max-width: 960px;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 992px) {
	.topbar {
		display: none;
	}

	header.site-header,
	header.site-header.header_style_1 {
		padding: 10px 0;
	}

	header.site-header .row {
		min-height: 64px;
	}

	header.site-header .site-branding {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	header.site-header .site-branding .custom-logo-link img {
		max-width: 190px;
		max-height: 64px !important;
	}

	header.site-header .site-branding .alka-brand-wordmark {
		max-width: calc(100% - 62px);
		min-height: 54px;
		font-size: 1.65rem;
	}

	header.site-header .col-lg-9 {
		display: none !important;
	}

	body.post-type-archive-product #static_header_banner,
	body.tax-product_cat #static_header_banner,
	body.tax-product_tag #static_header_banner {
		height: 88px !important;
		min-height: 88px;
	}

	body.alka-store-happy-houseware.post-type-archive-product #static_header_banner,
	body.alka-store-happy-houseware.tax-product_cat #static_header_banner,
	body.alka-store-happy-houseware.tax-product_tag #static_header_banner,
	body.alka-store-lush-lips.post-type-archive-product #static_header_banner,
	body.alka-store-lush-lips.tax-product_cat #static_header_banner,
	body.alka-store-lush-lips.tax-product_tag #static_header_banner {
		height: 112px !important;
		min-height: 112px;
	}
}

@media (max-width: 767px) {
	.rd-navbar .rd-navbar-subpanel {
		width: 100%;
	}

	.rd-navbar .menu-category-list {
		flex: 1 1 auto;
		width: calc(100% - 72px) !important;
		min-width: 0;
		max-width: calc(100% - 72px);
		margin-right: 0 !important;
	}

	.rd-navbar .navbar-icon,
	.rd-navbar .top-form-minicart {
		flex: 0 0 72px;
		width: 72px;
		min-width: 72px;
		max-width: 72px;
		overflow: hidden;
		text-align: center;
	}

	.rd-navbar .top-form-minicart a.cart-contents,
	body.woocommerce #wcspc-count,
	body.woocommerce #backToTop {
		display: none !important;
	}

	body.post-type-archive-product #primary.container,
	body.tax-product_cat #primary.container,
	body.tax-product_tag #primary.container {
		padding-top: 22px;
		padding-bottom: 42px;
	}

	.woocommerce .bcf-shop-toolbar {
		align-items: stretch;
		flex-direction: column;
		margin-bottom: 18px;
	}

	.woocommerce .bcf-shop-toolbar .woocommerce-ordering {
		width: 100%;
		margin-left: 0;
		order: 1;
	}

	.woocommerce .bcf-shop-toolbar .result-count {
		align-self: center;
		order: 2;
	}

	.woocommerce .bcf-shop-toolbar .orderby,
	.woocommerce .bcf-shop-toolbar .customSelect.orderby {
		width: 100%;
	}

	.woocommerce .grocery-store-sidebar {
		margin-top: 30px;
	}

	.alka-empty-catalogue {
		min-height: 360px;
		padding: 44px 28px;
	}

	.alka-empty-catalogue::after {
		right: -110px;
		bottom: -120px;
	}
}

@media (max-width: 560px) {
	.woocommerce ul.products {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		min-height: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce ul.products li.product .product-loop-wrp {
		transition: none;
	}
}
