/*
Theme Name: Salient Child
Theme URL: 
Description: Salient Child Child Theme
Template: salient
Version: 1.0.0
Text Domain: salient-child
*/

body {
	background-color: black;
}

.products:has(.category-wrap) {
	justify-content: center;
	gap: 16px;
}

.products:has(.category-wrap):before,
.products:has(.category-wrap):after {
	content: none !important;
}

.category-wrap {
	position: relative;
	padding: 15px;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .15) !important;
}

.category-wrap img {
	width: 240px !important;
}

.category-wrap:hover img {
	animation: zoomImage .1s ease-out;
	animation-fill-mode: forwards;
}

.category-wrap .hover {
	position: absolute;
	top: 16px;
	left: 16px;
	opacity: 0;
	transition: opacity .1s ease-in-out;
}

.category-wrap:hover .hover {
	opacity: 1;
}

.category-wrap .category-name {
	text-align: center;
}

.category-wrap .go-to-category-btn {
	position: absolute;
	bottom: -40px;
	align-self: center;
	width: max-content;
	background: var(--nectar-accent-color, #008575);
	color: white;
	border-radius: 4px;
	padding: 8px;
	left: 50%;
	transform: translateX(-50%);
	transition: bottom .1s ease-in-out;
	width: 70%;
	text-align: center;
}

.category-wrap:hover .go-to-category-btn {
	bottom: 8px;
}

.category-wrap img.default {
	width: 270px !important;
	height: 270px !important;
}

.aws-container .aws-search-field {
	max-width: 180px !important;
	width: 180px !important;
}

.on-the-fly-behavior {
	display: none !important;
}

[class^='cat-item'] {
	font-size: 18px !important;
}

.selectron23-option-title {
	color: #747474 !important;
	font: inherit !important;
	font-weight: 600 !important;
	text-align: left !important;
}

.selectron23-container>span {
	color: #747474 !important;
}

.selectron23 {
	height: 36px !important;
}

#header-outer #mobile-menu .nectar-header-text-content div {
	width: 100% !important;
}

#header-outer #mobile-menu .nectar-header-text-content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	z-index: 9999 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.aws-container .aws-search-field {
	font-size: 14px;
}

.woot-widget-bubble {
	background: #c04852 !important;
}

/* .container {
	max-width: 1920px !important;
} */

@keyframes zoomImage {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.1);
	}
}

@media only screen and (max-width: 1700px) {
	.category-wrap img {
		width: 230px !important;
	}
}

@media only screen and (max-width: 1660px) {
	.category-wrap img {
		width: 220px !important;
	}
}

@media only screen and (max-width: 1610px) {
	.category-wrap img {
		width: 205px !important;
	}
}

@media only screen and (max-width: 1530px) {
	.category-wrap img {
		width: 200px !important;
	}
}

@media only screen and (max-width: 1450px) {

	.add_to_cart_button,
	.product-wrap .nectar_quick_view {
		padding: 8px !important;
	}
}

@media only screen and (max-width: 1366px) {
	.category-wrap img {
		width: 175px !important;
	}
}

@media only screen and (max-width: 1365px) {
	.category-wrap img {
		width: 160px !important;
	}
}

@media only screen and (max-width: 1345px) {

	.add_to_cart_button,
	.product-wrap .nectar_quick_view {
		padding-left: 4px !important;
		padding-right: 4px !important;
	}
}

@media only screen and (min-width: 360px) and (max-width: 767px) {
	.container {
		max-width: 380px !important;
	}

	.container.main-content:has(.row > div.product) {
		max-width: 100% !important;
	}

	.category-wrap img {
		width: 150px !important;
	}

	.category-wrap .category-name {
		max-width: 150px !important;
	}

	.category-wrap:hover .go-to-category-btn {
		display: none;
	}
}


/* ---- Design tokens (tweak freely) ---- */
:root {
	--c-bg: #f6f8fb;
	--c-surface: #ffffff;
	--c-muted: #6b7280;
	--c-text: var(--c-surface);
	--c-primary: #008575;
	--nectar-accent-hover-color: #008a7a !important;
	/* blue CTAs/headline accent */
	--c-primary-press: #1746cc;
	--c-accent: #0b1220;
	/* dark button */
	--c-border: #e6eaf0;
	--radius-lg: 16px;
	--radius-xl: 20px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 1px rgba(16, 24, 40, .04);
	--shadow-md: 0 8px 20px rgba(16, 24, 40, .08);
	--container: 1327px;
	--background: oklch(1 0 0);
	--foreground: oklch(.35 0 0);
	--card: oklch(.97 0 0);
	--card-foreground: oklch(.35 0 0);
	--popover: oklch(1 0 0);
	--popover-foreground: oklch(.35 0 0);
	--primary: oklch(.55 .15 160);
	--primary-foreground: oklch(1 0 0);
	--secondary: oklch(.65 .12 160);
	--secondary-foreground: oklch(1 0 0);
	--muted: oklch(.97 0 0);
	--muted-foreground: oklch(.35 0 0);
	--accent: oklch(.65 .12 160);
	--accent-foreground: oklch(1 0 0);
	--destructive: oklch(.577 .245 27.325);
	--destructive-foreground: oklch(.577 .245 27.325);
	--border: oklch(.92 0 0);
	--input: oklch(1 0 0);
	--ring: oklch(.55 .15 160 / .3);
	--chart-1: oklch(.55 .15 160);
	--chart-2: oklch(.65 .12 160);
	--chart-3: oklch(.398 .07 227.392);
	--chart-4: oklch(.828 .189 84.429);
	--chart-5: oklch(.769 .188 70.08);
	--radius: .5rem;
	--sidebar: oklch(.97 0 0);
	--sidebar-foreground: oklch(.35 0 0);
	--sidebar-primary: oklch(.55 .15 160);
	--sidebar-primary-foreground: oklch(1 0 0);
	--sidebar-accent: oklch(.65 .12 160);
	--sidebar-accent-foreground: oklch(1 0 0);
	--sidebar-border: oklch(.92 0 0);
	--sidebar-ring: oklch(.55 .15 160 / .3);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--c-bg);
	color: var(--c-text);
}

/* Utility */
.container {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.section {
	padding: clamp(32px, 6vw, 72px) 0;
}

.grid {
	display: grid;
	gap: 24px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 9999px;
	font-weight: 600;
	text-decoration: none;
	transition: transform .06s ease, background-color .15s ease, color .15s ease;
	will-change: transform;
}

.btn:is(:hover, :focus-visible) {
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--c-primary);
	color: #fff;
}

/* ===== Woo Category/Grid – force clean product cards on category pages ===== */
body.tax-product_cat ul.products {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	align-items: stretch;
}

body.tax-product_cat ul.products li.product {
	list-style: none;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 12px 12px 16px;
	transition: box-shadow .15s ease, transform .12s ease, border-color .15s ease;
	display: flex;
	flex-direction: column;
}

body.tax-product_cat ul.products li.product:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	border-color: var(--nectar-accent-hover-color);
}

/* Image consistency */
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4/3;
	object-fit: contain;
	background: linear-gradient(#f0f2f7, #e9edf5);
	border-radius: 12px;
}

/* Titles & price */
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	margin: 10px 4px 4px;
	color: var(--c-text);
}

body.tax-product_cat ul.products li.product .price {
	display: block;
	font-weight: 800;
	margin: 0 4px 12px;
	color: var(--c-text);
}

/* Add to cart / read more */
body.tax-product_cat ul.products li.product .button {
	background: var(--c-primary);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 8px 12px;
	font-weight: 700;
	margin-top: auto;
}

body.tax-product_cat ul.products li.product .button:hover {
	background: var(--c-primary-press);
	color: #fff;
}

/* Responsive columns with a maximum of 5 items per row */
@media (min-width: 480px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1440px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* Title clamp to keep cards equal height */
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

.btn-primary:hover {
	background: var(--c-primary-press);
	color: #fff;
}

.btn-ghost {
	background: #fff;
	color: var(--c-text);
	box-shadow: inset 0 0 0 1px var(--c-border);
}

.btn-ghost:hover {
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--nectar-accent-color);
	color: var(--c-primary);
}

/* ---- Hero ---- */
.hero {
	background: linear-gradient(180deg, #fff, var(--c-bg));
	text-align: center;
	padding: clamp(56px, 10vw, 120px) 0 clamp(24px, 6vw, 48px);
}

.hero h1 {
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.05;
	font-weight: 800;
	margin: 0 0 12px;
}

.hero .accent {
	color: var(--c-primary);
}

.hero p {
	color: var(--c-muted);
	max-width: 760px;
	margin: 0 auto 24px;
}

.hero .cta {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---- Category cards (top + "Alla produktkategorier") ---- */
.card {
	background: var(--c-surface);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--c-border);
	overflow: hidden;
	display: grid;
}

.card__image {
	aspect-ratio: 16/9;
	background: linear-gradient(#f0f2f7, #e9edf5);
	display: grid;
	place-items: center;
	color: #98a2b3;
	font-weight: 600;
}

.card__body {
	padding: 16px 18px;
}

.card__title {
	font-weight: 700;
}

.card__sub {
	color: var(--c-muted);
	font-size: 14px;
	margin-top: 6px;
}

.card__footer {
	padding: 14px 18px 18px;
}

.card .btn-pill {
	background: #fff;
	border: 1px solid var(--nectar-accent-color);
	border-radius: 999px;
	padding: 10px 14px;
	font-weight: 600;
	color: var(--c-text);
}

.card .btn-pill:hover {
	border-color: var(--nectar-accent-color);
	background: var(--nectar-accent-color);
	color: white;
}

/* Category grids - consolidated definition */
.cat-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(12, 1fr);
}

.cat-grid>* {
	grid-column: span 12;
}

@media (min-width: 640px) {
	.cat-grid>* {
		grid-column: span 6;
	}

	.product-grid>li,
	.product-grid>article {
		grid-column: span 6;
	}

	/* 2 per row */
}

@media (min-width: 1024px) {
	.cat-grid>* {
		grid-column: span 3;
	}

	/* 4 per row for regular grids */
}

/* ---- Product listing (rows) ---- */
.row-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.row-title {
	font-size: clamp(18px, 2.6vw, 24px);
	font-weight: 800;
}

.row-sub {
	color: var(--c-muted);
	font-size: 14px;
}

.row-cta {
	display: flex;
	gap: 10px;
}

.product-grid {
	grid-template-columns: repeat(12, 1fr);
}

.product-grid>article {
	grid-column: span 12;
}

@media (min-width: 640px) {
	.product-grid>article {
		grid-column: span 6;
	}
}

@media (min-width: 1024px) {
	.product-grid>article {
		grid-column: span 4;
	}
}

.product-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: grid;
}

.product-card__img {
	aspect-ratio: 4/3;
	background: conic-gradient(from 90deg at 50% 50%, #eef2f7, #e8edf5, #eef2f7);
	display: grid;
	place-items: center;
	color: #a3adc2;
}

.product-card__body {
	padding: 14px 16px 10px;
}

.product-card__name {
	font-weight: 700;
	margin-bottom: 4px;
}

.product-card__desc {
	color: var(--c-muted);
	font-size: 13px;
	min-height: 34px;
}

.product-card__foot {
	padding: 0 16px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.price {
	font-weight: 800;
	color: var(--c-text);
}

.link-more {
	background: var(--c-primary);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	padding: 8px 12px;
	text-decoration: none;
}

.link-more:hover {
	background: var(--c-primary-press);
}

/* ---- "Visa alla" right side buttons ---- */
.view-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--c-border);
	color: var(--c-text);
}

.view-all:hover {
	border-color: var(--c-primary);
	color: var(--c-primary);
}

/* ---- "Alla produktkategorier" section ---- */
.allcats .cat-grid>* {
	grid-column: span 12;
}

@media (min-width: 640px) {
	.allcats .cat-grid>* {
		grid-column: span 6;
	}
}

@media (min-width: 1024px) {
	.allcats .cat-grid>* {
		grid-column: span 3;
	}
}

/* ---- Accessibility focus ring ---- */
:where(a, button).btn,
:where(.view-all, .btn-pill, .link-more) {
	outline: none;
}

:where(a, button).btn:focus-visible,
.view-all:focus-visible,
.btn-pill:focus-visible,
.link-more:focus-visible {
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-primary) 30%, white);
}

/* ---- Minor Salient resets so cards look clean in theme ---- */
.nectar-responsive-wrap .container {
	width: min(100% - 32px, var(--container));
}

body .woocommerce a.button:hover {
	color: #fff;
}


/* ==== Main Shop Page: Alla produktkategorier grid ==== */
.section.allcats {
	padding: clamp(32px, 6vw, 72px) 0;
	background: #f6f8fb;
	/* light bg like in screenshots */
}

.allcats .container {
	width: min(100% - 32px, 1200px);
	margin-inline: auto;
}

.allcats .row-title {
	font-weight: 800;
	font-size: clamp(22px, 3vw, 32px);
	margin-bottom: 24px;
}

/* All Categories section specific override - more compact layout */
.allcats .cat-grid>* {
	grid-column: span 12;
}

@media (min-width: 640px) {
	.allcats .cat-grid>* {
		grid-column: span 6;
	}

	.product-grid>li,
	.product-grid>article {
		grid-column: span 6;
	}
}

/* 2 per row */
@media (min-width: 1024px) {
	.allcats .cat-grid>* {
		grid-column: span 3;
	}

	.product-grid>li,
	.product-grid>article {
		grid-column: span 4;
	}
}

/* 4 per row */
@media (min-width: 1440px) {
	.allcats .cat-grid>* {
		grid-column: span 2;
	}

	.product-grid>li,
	.product-grid>article {
		grid-column: span 4;
	}
}

@media (max-width: 1130px) {
	.allcats .cat-grid>* {
		grid-column: span 2;
	}

	.product-grid>li,
	.product-grid>article {
		grid-column: span 6;
	}
}

@media (max-width: 710px) {

	.product-grid>li,
	.product-grid>article {
		grid-column: span 12;
	}
}

/* 6 per row on very large screens */

/* Card styling */
.card {
	background: #fff;
	border: 1px solid #e6eaf0;
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .06),
		0 1px 1px rgba(16, 24, 40, .04);
	display: grid;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .12s ease;
}

.card:hover {
	transform: translateY(-2px);
}

.card__image {
	aspect-ratio: 16/9;
	display: grid;
	place-items: center;
	background: linear-gradient(#f0f2f7, #e9edf5);
	position: relative;
	overflow: hidden;
}

.card__image-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__image-fallback {
	color: #98a2b3;
	font-weight: 600;
	font-size: 14px;
}

.card__body {
	padding: 16px 18px 8px;
}

.card__title {
	font-weight: 700;
	font-size: 16px;
}

.card__footer {
	padding: 0 18px 18px;
}

.btn-pill {
	display: inline-block;
	background: #fff;
	border: 1px solid #e6eaf0;
	border-radius: 999px;
	padding: 8px 14px;
	font-weight: 600;
	font-size: 14px;
	color: #0b1220;
	transition: all .15s ease;
}



/* ====== Tokens ====== */
:root {
	--c-bg: #f6f8fb;
	--c-surface: #fff;
	--c-text: #0b1220;
	--c-muted: #6b7280;
	--c-primary: #2563ff;
	--c-primary-press: #1746cc;
	--c-border: #e6eaf0;
	--radius-lg: 16px;
	--radius-xl: 20px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 1px rgba(16, 24, 40, .04);
	--container: 1330px;
}

.shop-archive .container {
	width: min(100% - 32px, var(--container)) !important;
	max-width: min(100% - 32px, var(--container)) !important;
	margin-inline: auto;
}

.section {
	padding: clamp(32px, 6vw, 72px) 0;
}

.grid {
	display: grid;
	gap: 24px;
}

/* ====== Hero (shop only) ====== */
.shop-hero {
	background: linear-gradient(180deg, #fff, var(--c-bg));
	text-align: center;
	padding: clamp(56px, 8vw, 120px) 0 32px;
}

.hero-title {
	font-weight: 800;
	font-size: clamp(32px, 5vw, 56px);
	margin: 0 0 10px;
}

.hero-title .accent {
	color: var(--nectar-accent-color);
}

.hero-sub {
	color: var(--c-muted);
	max-width: 760px;
	margin: 0 auto 16px;
}

.hero-cta {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 9999px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .06s ease, background .15s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--c-primary);
	color: #fff;
}

.btn-primary:hover {
	background: var(--c-primary-press);
	color: #fff;
}

.btn-ghost {
	background: #fff;
	color: var(--c-text);
	box-shadow: inset 0 0 0 1px var(--c-border);
}

/* ====== Section headers / controls ====== */
.section-head {
	text-align: center;
	margin-bottom: 24px;
}

.row-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.row-title {
	font-weight: 800;
	font-size: clamp(22px, 3.2vw, 32px);
}

.row-sub {
	color: var(--c-muted);
}

/* Category grid responsive overrides for specific sections */

.card {
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	display: grid;
	color: inherit;
	text-decoration: none;
	transition: transform .12s ease;
}

.card:hover {
	transform: translateY(-2px);
}

.card__image {
	aspect-ratio: 16/9;
	display: grid;
	place-items: center;
	background: linear-gradient(#f0f2f7, #e9edf5);
}

.card__image-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__image-fallback {
	color: #98a2b3;
	font-weight: 600;
}

.card__body {
	padding: 16px 18px 8px;
}

.card__title {
	font-weight: 700;
}

.card__sub {
	color: var(--c-muted);
	font-size: 14px;
	margin-top: 6px;
}

.card__footer {
	padding: 0 18px 18px;
}

.btn-pill {
	display: inline-block;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	padding: 8px 14px;
	font-weight: 600;
}

/* ====== Product grid & card ====== */
.product-grid {
	grid-template-columns: repeat(12, 1fr);
}

/* .product-grid>li,
.product-grid>article {
	grid-column: span 12;
	list-style: none;
} */

@media(min-width:640px) {
	.product-grid>* {
		grid-column: span 6;
	}
}

@media(min-width:1024px) {
	.product-grid>* {
		grid-column: span 4;
	}
}

.product-card {
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	display: grid;
}

.product-card__img {
	aspect-ratio: 4/3;
	display: grid;
	place-items: center;
	background: conic-gradient(from 90deg at 50% 50%, #eef2f7, #e8edf5, #eef2f7);
}

.product-card__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-card__body {
	padding: 14px 16px 8px;
}

.product-card__name {
	font-weight: 700;
	margin: 0 0 4px;
	font-size: 16px;
}

.product-card__name a {
	color: inherit;
	text-decoration: none;
}

.product-card__name a:hover {
	color: var(--c-primary);
}

.product-card__desc {
	color: var(--c-muted);
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
	flex-grow: 1;
}

.product-card__footer {
	padding: 0 16px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.price {
	font-weight: 800;
}

.link-more {
	background: var(--c-primary);
	color: #fff;
	border-radius: 10px;
	padding: 8px 12px;
	text-decoration: none;
	font-weight: 700;
}

.link-more:hover {
	background: var(--c-primary-press);
}

/* ====== "View all" pill ====== */
.view-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--c-border);
	color: inherit;
	text-decoration: none;
}

.view-all:hover {
	border-color: var(--c-primary);
	color: var(--c-primary);
}

/* ====== Tidy Salient/Woo bits ====== */
.woocommerce-products-header {
	display: none;
}

/* hide default archive header */

/* ====== SCD Category Bar ====== */
/* ===== MODERN FULL-WIDTH SCD CATEGORY BAR ===== */

/* Modern navbar container with glassmorphism effect */
.scd-catbar {
	position: sticky;
	top: var(--scd-top, 0px);
	z-index: 1000;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(230, 234, 240, 0.8);
	box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	/* Ensure dropdowns can extend beyond navbar boundaries */
	overflow: visible !important;
	isolation: isolate;
	/* Create proper stacking context for dropdowns */
	position: relative;
}

/* Mobile toggle button */
.scd-catbar__toggle {
	display: none;
	width: 100%;
	text-align: left;
	background: transparent;
	border: 0;
	font-weight: 700;
	padding: 14px 20px;
	cursor: pointer;
}

.scd-catbar__toggle-icon::after {
	content: '\25BC';
	float: right;
	transition: transform .2s ease;
}

.scd-catbar--open .scd-catbar__toggle-icon::after {
	transform: rotate(180deg);
}

/* Ensure navbar doesn't interfere with dropdown positioning */
.scd-catbar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	z-index: -1;
}

/* Modern full-width rail with smooth scrolling */
.scd-catbar__rail {
	display: flex;
	/* overflow-x: auto; */
	overflow-y: visible !important;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	/* Firefox */
	padding: 0 24px;
	cursor: grab;
	max-width: 100%;
	position: relative;
}

ul.scd-flyout {
	margin: 0;
}

.scd-catbar__rail::-webkit-scrollbar {
	height: 0;
	/* Hide horizontal scrollbar while keeping scrollability */
}

.scd-catbar__rail:active {
	cursor: grabbing;
}

/* Modern responsive grid layout */
.scd-catbar__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	align-items: center;
}

/* Individual navigation items */
.scd-sub .scd-item {
	padding: 12px;
}

.scd-item {
	position: relative;
	display: flex;
	align-items: center;
}

/* Modern navigation links */
.scd-link {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	color: #374151;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	border-radius: 999px;
	transition: none;
}

.scd-link:hover,
.scd-item:focus-within>.scd-link {
	color: #2563ff;
	background: rgba(37, 99, 235, 0.08);
	transform: none;
}

/* Modern toggle chevrons */
/* Carets integrated in links */
.scd-caret {
	display: inline-block;
	margin-left: 8px;
	width: 0;
	height: 0;
	vertical-align: middle;
}

.scd-caret-down {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid currentColor;
}

.scd-caret-right {
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 6px solid currentColor;
}

/* Active/open states */
.scd-item.open>.scd-link {
	color: #2563ff;
	background: rgba(37, 99, 235, 0.08);
}

/* Modern Dropdown Menus */
.scd-sub {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 100001;
	min-width: 240px;
	max-width: 360px;
	background: rgba(255, 255, 255, .98);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(230, 234, 240, .8);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
	/* padding: 12px; */
	margin-top: 0;
	list-style: none;
	display: none;
	opacity: 1;
	visibility: hidden;
	transition: none;
	overflow: visible;
}

.scd-sub::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 20px;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid rgba(255, 255, 255, .98);
}

/* Dynamic alignment modifiers */
.scd-sub.scd-depth1.scd-align-right {
	left: auto;
	right: 0;
}

.scd-sub.scd-depth1.scd-align-right::before {
	left: auto;
	right: 20px;
}

.scd-sub.scd-flyout.scd-fly-left {
	left: auto;
	right: 100%;
}

/* Dropdown links */
.scd-sub .scd-link {
	display: block;
	padding: 12px 16px;
	margin: 4px 0;
	border-radius: 12px;
	color: #374151;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
	transition: none;
	position: relative;
}

.scd-sub .scd-link:hover,
.scd-sub .scd-link:focus {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.04));
	color: #2563ff;
	transform: none;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Flyout menus (3rd level) */
.scd-sub.scd-flyout {
	left: 100%;
	top: 0;
	transform: none;
	min-width: 220px;
	z-index: 100002;
}

.scd-sub.scd-flyout::before {
	left: -8px;
	top: 50%;
	transform: translateY(-50%);
	border-left: 8px solid rgba(255, 255, 255, 0.98);
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right: none;
}

/* Pure CSS open states */
.scd-item.has-children:hover>.scd-sub,
.scd-item.has-children:focus-within>.scd-sub {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

/* Keep dropdowns open when hovering over them */
.scd-sub:hover,
.scd-item.has-children:hover>.scd-sub,
.scd-item.open>.scd-sub:hover {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

.scd-item.has-children:hover>.scd-sub.scd-flyout,
.scd-item.has-children:focus-within>.scd-sub.scd-flyout {
	transform: none !important;
}

/* Ensure proper dropdown positioning */
.scd-item.has-children {
	position: relative !important;
}

.scd-item.has-children .scd-sub {
	pointer-events: auto;
}

.scd-item.has-children>.scd-link {
	pointer-events: auto;
}

/* Prevent clipping at far right edge */
@media (min-width:1025px) {
	.scd-catbar__list>.scd-item:last-child>.scd-sub.scd-depth1 {
		right: 0;
		left: auto;
	}

	/* Handle flyout positioning for rightmost items */
	.scd-catbar__list>.scd-item:nth-last-child(2)>.scd-sub .scd-flyout,
	.scd-catbar__list>.scd-item:last-child>.scd-sub .scd-flyout {
		left: auto;
		right: 100%;
		margin-left: 0;
		margin-right: 8px;
	}
}

/* ===== FULLY RESPONSIVE DESIGN ===== */

/* Tablet & Mobile Navigation */
@media (max-width: 1024px) {

	/* Switch to horizontal scroll layout on tablets */
	.scd-catbar__list {
		gap: 8px;
	}

	.scd-link {
		padding: 12px 16px;
		font-size: 14px;
	}

	.scd-toggle {
		font-size: 12px;
		padding: 6px;
		margin-left: 6px;
	}
}

/* Mobile Navigation */
@media (max-width: 1024px) {

	/* Show the toggle and collapse the rail by default */
	.scd-catbar__toggle {
		display: block;
		border-top: 1px solid rgba(230, 234, 240, 0.8);
	}

	.scd-catbar__rail {
		display: none;
	}

	.scd-catbar--open .scd-catbar__rail {
		display: block;
		padding: 8px 16px 16px;
	}

	/* Root becomes a full-screen drawer */
	.scd-catbar--open .scd-catbar__list {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		position: fixed;
		left: 0;
		right: 0;
		top: calc(var(--scd-top, 0px) + var(--scd-bar-h, 56px));
		bottom: 0;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		padding: 16px 16px 24px;
		overflow-y: auto;
		overflow-x: hidden;
		z-index: 1998;
	}

	/* Root drawer header (no back button) */
	.scd-root-head {
		position: sticky;
		top: 0;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		z-index: 5;
		display: flex;
		align-items: center;
		padding: 4px 0 12px;
		margin-bottom: 8px;
		border-bottom: 1px solid rgba(230, 234, 240, 0.8);
	}

	.scd-root-head .scd-title {
		font-weight: 800;
		font-size: 16px;
		color: #0b1220;
	}

	/* Make root links full-width rows instead of pills */
	.scd-catbar--open .scd-catbar__list .scd-item {
		display: block;
	}

	.scd-catbar--open .scd-catbar__list .scd-link {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		border-radius: 12px;
		padding: 14px 12px;
		white-space: normal;
	}

	/* Full-width mobile overlay */
	.scd-sub.scd-depth1 {
		position: fixed;
		left: 0;
		right: 0;
		top: calc(var(--scd-top, 0px) + var(--scd-bar-h, 56px));
		bottom: 0;
		width: 100%;
		max-width: none;
		border-radius: 0;
		border: none;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.1);
		max-height: calc(100vh - var(--scd-top, 0px) - var(--scd-bar-h, 56px));
		z-index: 2000;
		/* Match desktop z-index */
		transform: translateX(100%);
		transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		padding: 24px;
		overflow-y: auto;
		overflow-x: hidden;
		display: none;
		/* Ensure mobile overlay doesn't interfere with scrolling */
		-webkit-overflow-scrolling: touch;
	}

	/* 2nd level behaves as its own drawer too */
	.scd-sub.scd-depth2 {
		position: fixed;
		left: 0;
		right: 0;
		top: calc(var(--scd-top, 0px) + var(--scd-bar-h, 56px));
		bottom: 0;
		width: 100%;
		max-width: none;
		border-radius: 0;
		border: none;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.1);
		max-height: calc(100vh - var(--scd-top, 0px) - var(--scd-bar-h, 56px));
		z-index: 2001;
		transform: translateX(100%);
		transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		padding: 24px;
		overflow-y: auto;
		overflow-x: hidden;
		display: none;
		-webkit-overflow-scrolling: touch;
	}

	/* Ensure third-level flyouts (if present) also behave as drawers */
	.scd-sub .scd-sub {
		position: fixed;
		left: 0;
		right: 0;
		top: calc(var(--scd-top, 0px) + var(--scd-bar-h, 56px));
		bottom: 0;
		width: 100%;
		max-width: none;
		border-radius: 0;
		border: none;
		background: rgba(255, 255, 255, 0.98);
		transform: translateX(100%);
		display: none;
	}

	.scd-sub.scd-depth1::before {
		display: none;
	}

	/* Flyouts become drawers on mobile (hidden by default until parent opens) */
	.scd-sub.scd-flyout {
		display: none;
	}

	/* Show drawers for any depth when the parent item is open */
	.scd-item.open>.scd-sub {
		display: block;
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
	}

	/* Drawer header with back button */
	.scd-drawer-head {
		position: sticky;
		top: 0;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		z-index: 5;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 8px 0 16px;
		margin-bottom: 8px;
		border-bottom: 1px solid rgba(230, 234, 240, 0.8);
	}

	.scd-drawer-head .scd-back {
		appearance: none;
		-webkit-appearance: none;
		border: 1px solid rgba(230, 234, 240, 0.9);
		background: #fff;
		border-radius: 10px;
		padding: 8px 12px;
		font-weight: 700;
		cursor: pointer;
	}

	.scd-drawer-head .scd-title {
		font-weight: 800;
		font-size: 16px;
		color: #0b1220;
	}

	/* Mobile navigation grid */
	.scd-catbar__list {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
		gap: 8px;
	}

	.scd-link {
		padding: 12px 16px;
		font-size: 13px;
	}

	.scd-toggle {
		font-size: 11px;
		padding: 4px;
		margin-left: 4px;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.scd-catbar__rail {
		padding: 0 16px;
	}

	.scd-catbar__list {
		gap: 4px;
	}

	.scd-link {
		padding: 10px 6px;
		font-size: 12px;
	}

	.scd-sub.scd-depth1 {
		top: calc(var(--scd-top, 0px) + 56px);
		max-height: calc(100vh - var(--scd-top, 0px) - 56px);
		padding: 16px;
	}
}

/* ===== ADDITIONAL RESPONSIVE ENHANCEMENTS ===== */

/* Extra large screens - expand grid */
@media (min-width: 1440px) {
	.scd-catbar__list {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}

	.scd-link {
		padding: 18px 28px;
		font-size: 16px;
	}
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.scd-catbar {
		background: #ffffff;
		border-bottom: 2px solid #000000;
	}

	.scd-link {
		color: #000000;
	}

	.scd-link:hover,
	.scd-link:focus {
		background: #000000;
		color: #ffffff;
	}

	.scd-sub {
		background: #ffffff;
		border: 2px solid #000000;
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

	.scd-catbar,
	.scd-link,
	.scd-toggle,
	.scd-sub,
	.scd-sub .scd-link {
		transition: none;
	}

	.scd-catbar__rail {
		scroll-behavior: auto;
	}
}

/* Focus visible for keyboard navigation */
.scd-link:focus-visible,
.scd-toggle:focus-visible {
	outline: 3px solid #2563ff;
	outline-offset: 2px;
}

/* ===== FEATURED PRODUCTS SLIDER ===== */

/* Slider Container */
.featured-products-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
}

/* Carousel Container */
.carousel-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
}

/* Carousel Track */
.carousel-track {
	display: flex;
	gap: 24px;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
	align-items: stretch;
	min-height: 450px;
}

/* Carousel Items - Responsive widths for 3-card layout */
.carousel-item {
	flex: 0 0 320px;
	min-width: 320px;
	max-width: 320px;
	width: 320px;
	height: 100%;
	display: flex;
	align-items: stretch;
	box-sizing: border-box;
}

/* Responsive carousel items for optimal 3-item display */
@media (min-width: 1200px) {
	.carousel-item {
		flex: 0 0 360px;
		min-width: 360px;
		max-width: 360px;
		width: 360px;
	}
}

@media (min-width: 1400px) {
	.carousel-item {
		flex: 0 0 400px;
		min-width: 400px;
		max-width: 400px;
		width: 400px;
	}
}

/* Carousel Navigation */
.carousel-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 32px;
}

.carousel-prev,
.carousel-next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 2px solid #e5e7eb;
	background: #ffffff;
	color: #374151;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-prev:hover,
.carousel-next:hover {
	background: #f3f4f6;
	border-color: #d1d5db;
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.carousel-prev:active,
.carousel-next:active {
	transform: scale(0.95);
}

/* Carousel navigation always enabled */
.carousel-nav {
	position: relative;
	z-index: 10;
}

/* Dots Navigation */
.featured-slider-dots {
	display: flex;
	gap: 8px;
	align-items: center;
}

.featured-slider-dot {
	width: 16px;
	height: 16px;
	background: #d1d5db;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 50%;
}

.featured-slider-dot.active {
	background: #374151;
}

.featured-slider-dot:hover {
	background: #9ca3af;
}

.featured-slider-dot:focus {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

/* ===== RESPONSIVE SLIDER ===== */

/* Carousel Responsive Design */

/* Tablet */
@media (max-width: 1024px) {
	.carousel-item {
		flex: 0 0 240px;
		min-width: 280px;
		max-width: 280px;
		width: 280px;
	}

	.carousel-track {
		gap: 20px;
	}

	.carousel-nav {
		gap: 16px;
	}

	.carousel-prev,
	.carousel-next {
		width: 50px;
		height: 50px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.carousel-item {
		flex: 0 0 200px;
		min-width: 200px;
		max-width: 200px;
		width: 200px;
	}

	.carousel-track {
		gap: 16px;
	}

	.carousel-nav {
		gap: 12px;
		margin-top: 24px;
	}

	.carousel-prev,
	.carousel-next {
		width: 46px;
		height: 46px;
	}

	.featured-product-card .product-card__name {
		font-size: 14px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	.featured-product-card .product-card__desc {
		font-size: 13px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.carousel-item {
		flex: 0 0 280px;
		min-width: 280px;
		max-width: 280px;
		width: 280px;
	}

	.carousel-track {
		gap: 12px;
	}

	.carousel-nav {
		gap: 10px;
		margin-top: 20px;
	}

	.carousel-prev,
	.carousel-next {
		width: 42px;
		height: 42px;
	}

	.featured-product-card .product-card__name {
		font-size: 14px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	.featured-product-card .product-card__desc {
		font-size: 12px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}

/* ===== FEATURED PRODUCTS GRID LAYOUT ===== */

/* Featured Products Grid (for 3 or fewer products) - Matches category grid styling */
.featured-products-grid {
	width: 100%;
}

/* Featured product grid with flexbox */
.featured-product-grid {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	flex-wrap: wrap;
	justify-content: center;
}

/* Dynamic flexbox layout based on product count */
.featured-product-grid:has(.product-card:nth-child(1):last-child) {
	/* 1 product: center it */
	justify-content: center;
	max-width: 400px;
	margin: 0 auto;
}

.featured-product-grid:has(.product-card:nth-child(2):last-child) {
	/* 2 products: side by side */
	justify-content: center;
	max-width: 800px;
	margin: 0 auto;
}

.featured-product-grid:has(.product-card:nth-child(3)) {
	/* 3 products: three columns or responsive */
	justify-content: center;
	max-width: 100%;
}

/* Responsive flexbox adjustments for all product counts */
@media (max-width: 1024px) {
	.featured-product-grid {
		gap: 20px;
	}

	.featured-product-grid:has(.product-card:nth-child(2):last-child) {
		max-width: 700px;
	}
}

@media (max-width: 768px) {
	.featured-product-grid {
		gap: 16px;
	}

	.featured-product-grid:has(.product-card:nth-child(2):last-child) {
		max-width: 600px;
	}
}

@media (max-width: 640px) {
	.featured-product-grid:has(.product-card:nth-child(2):last-child) {
		flex-direction: column;
		align-items: center;
		max-width: 400px;
	}

	.featured-product-grid:has(.product-card:nth-child(3)) {
		flex-direction: column;
		align-items: center;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.featured-product-grid {
		gap: 16px;
	}

	.featured-product-grid:has(.product-card:nth-child(1):last-child),
	.featured-product-grid:has(.product-card:nth-child(2):last-child),
	.featured-product-grid:has(.product-card:nth-child(3)) {
		flex-direction: column;
		align-items: center;
		max-width: 100%;
		margin: 0;
	}
}

/* ===== FEATURED PRODUCTS STYLING ===== */

/* Featured product badge */
.featured-badge {
	display: inline-block;
	margin-left: 8px;
	color: #2563ff;
	font-size: 16px;
	line-height: 1;
	vertical-align: middle;
	animation: featuredPulse 2s ease-in-out infinite;
}

@keyframes featuredPulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.1);
		opacity: 0.8;
	}
}

/* Featured product card styling */
.featured-product-card {
	position: relative;
	border: 2px solid rgba(37, 99, 235, 0.2);
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(37, 99, 235, 0.01));
}

/* Enforce equal heights for product cards within slider */
.featured-products-carousel .carousel-item,
.featured-products-carousel .featured-product-card {
	height: 100%;
}

.featured-products-carousel .featured-product-card {
	display: flex;
	flex-direction: column;
	height: 800px !important;
	min-height: 430px !important;
	max-height: 619px !important;
}

.featured-products-carousel .featured-product-card .product-card__image {
	flex-shrink: 0;
	height: 400px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.featured-products-carousel .featured-product-card .product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-products-carousel .featured-product-card .product-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 16px;
	min-height: 120px;
}

.featured-products-carousel .featured-product-card .product-card__name {
	margin-bottom: 8px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

.featured-products-carousel .featured-product-card .product-card__desc {
	flex: 1;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3.6em;
}

.featured-products-carousel .featured-product-card .product-card__footer {
	margin-top: auto;
	padding: 0 16px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 60px;
}

/* Prevent any transform effects in carousel to maintain layout */
.featured-products-carousel .product-card:hover,
.featured-products-carousel .featured-product-card:hover {
	transform: none !important;
}

.featured-product-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), transparent);
	pointer-events: none;
	border-radius: inherit;
}

.featured-product-card:hover {
	border-color: rgba(37, 99, 235, 0.4);
	box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

/* Featured products section styling */
.featured-overview {
	padding: 64px 0;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(37, 99, 235, 0.01));
	border-radius: 0 0 24px 24px;
	margin-bottom: 32px;
}

.featured-overview .section-title {
	position: relative;
	display: inline-block;
	color: #1f2937;
	font-weight: 700;
	margin-bottom: 16px;
}

.featured-overview .section-title::after {
	content: '★';
	position: absolute;
	top: -5px;
	right: -25px;
	color: #2563ff;
	font-size: 20px;
	animation: featuredPulse 2s ease-in-out infinite;
}

.featured-overview .section-subtitle {
	color: #6b7280;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 40px;
	max-width: 600px;
}

/* Slider section specific styling */
.featured-products-slider {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 32px 24px;
	margin: 32px 0;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Grid section specific styling */
.featured-products-grid {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 16px;
	padding: 24px;
	margin: 24px 0;
}

/* Flat featured product cards */
.featured-product-card {
	transition: all 0.2s ease;
	border: 1px solid #e5e7eb;
	background: #ffffff;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.featured-product-card:hover {
	border-color: rgba(37, 99, 235, 0.4);
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

/* Ensure consistent card heights */
.featured-product-card .product-card__image {
	flex-shrink: 0;
	aspect-ratio: 4/3;
	overflow: hidden;
}

.featured-product-card .product-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 16px;
}

.featured-product-card .product-card__name {
	flex-shrink: 0;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	overflow: hidden;
	line-height: 1.3;
	font-size: 16px;
	font-weight: 600;
	/* Fallback for browsers without line-clamp support */
	max-height: 2.6em;
	/* 2 lines * line-height */
}

/* Fallback for older browsers */
@supports not (-webkit-line-clamp: 2) {
	.featured-product-card .product-card__name::after {
		content: '...';
		position: absolute;
		bottom: 0;
		right: 0;
		background: inherit;
		padding-left: 4px;
	}
}

.featured-product-card .product-card__desc {
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
	line-height: 1.4;
	font-size: 14px;
	color: #6b7280;
	margin-bottom: 16px;
	/* Fallback for browsers without line-clamp support */
	max-height: 4.2em;
	/* 3 lines * line-height */
}

.featured-product-card .product-card__footer {
	flex-shrink: 0;
	margin-top: auto;
}

/* Featured badge enhancement */
.featured-badge {
	background: rgba(37, 99, 235, 0.1);
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 8px;
	animation: featuredPulse 2s ease-in-out infinite;
}

/* Mobile adjustments for featured section */
@media (max-width: 768px) {
	.featured-overview {
		padding: 48px 0;
	}

	.featured-overview .section-subtitle {
		font-size: 14px;
		margin-bottom: 32px;
	}

	.featured-products-slider,
	.featured-products-grid {
		padding: 20px 16px;
		margin: 20px 0;
		border-radius: 12px;
	}
}

/* ====== Modern Shop Layout Styles ====== */

/* Featured Categories Section (2 large cards) */
.featured-categories {
	background: var(--c-bg);
	padding: clamp(48px, 8vw, 96px) 0;
}

.featured-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: repeat(12, 1fr);
}

.featured-grid>* {
	grid-column: span 12;
}

@media (min-width: 1024px) {
	.featured-grid>* {
		grid-column: span 6;
	}
}

.featured-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s ease;
	display: grid;
	grid-template-rows: auto 1fr;
}

.featured-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--c-primary);
}

.featured-card__image {
	aspect-ratio: 16/9;
	display: grid;
	place-items: center;
	background: linear-gradient(#f0f2f7, #e9edf5);
	position: relative;
}

.featured-card__image::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2398a2b3"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') center/contain no-repeat;
	opacity: 0.6;
}

.featured-card__content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.featured-card__title {
	font-size: 24px;
	font-weight: 800;
	color: var(--c-text);
	margin: 0;
}

.featured-card__desc {
	color: var(--c-muted);
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	flex-grow: 1;
}

.featured-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--c-primary);
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	transition: color 0.15s ease;
}

.featured-card__btn::after {
	content: '→';
	font-size: 18px;
	transition: transform 0.15s ease;
}

.featured-card:hover .featured-card__btn::after {
	transform: translateX(4px);
}

/* Featured Products Overview Section */
.featured-overview {
	background: var(--c-surface);
	padding: clamp(32px, 6vw, 64px) 0;
	text-align: center;
}

.section-header {
	text-align: center;
	margin-bottom: 32px;
}

.section-title {
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 800;
	color: var(--c-text);
	margin: 0 0 16px;
}

.section-subtitle {
	font-size: 18px;
	color: var(--c-muted);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Category-Specific Featured Products */
.category-featured {
	background: var(--c-surface);
	padding: clamp(48px, 8vw, 80px) 0;
}

/* ===== MINI CATEGORY CARD SLIDER ===== */
.featured-products-carousel--mini {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	z-index: 1;
}

.featured-products-carousel--mini .carousel-container,
.featured-products-carousel--mini .carousel-track,
.featured-products-carousel--mini .carousel-item {
	width: 100%;
	height: 100%;
}

.featured-products-carousel--mini .carousel-track {
	display: flex;
	gap: 0;
	min-height: 100%;
	column-gap: 0;
}

.featured-products-carousel--mini .carousel-item {
	flex: 0 0 100% !important;
	width: 100% !important;
	min-width: 100% !important;
	max-width: 100% !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mini-slide {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 2.5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mini-slide__img {
	width: 100%;
	height: auto;
	object-fit: contain;
	background: #fff;
	max-width: 100%;
	max-height: 100%;
}

.mini-slide__placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: #98a2b3;
	background: linear-gradient(#f0f2f7, #e9edf5);
}

/* Raise nav and dots inside mini slider */
.featured-products-carousel--mini .carousel-nav,
.featured-products-carousel--mini .featured-slider-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.featured-products-carousel--mini .carousel-prev,
.featured-products-carousel--mini .carousel-next {
	width: 28px;
	height: 28px;
	border: none;
	background: rgba(255, 255, 255, .8);
	backdrop-filter: blur(6px);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

/* Make cards a bit larger visually */
.all-cats-grid>.card .card__image,
.cat-grid>.card .card__image {
	aspect-ratio: 300 / 300;
}

.category-featured:nth-child(even) {
	background: var(--c-bg);
}

.category-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.category-info {
	flex: 1;
	min-width: 300px;
}

.category-title {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	color: var(--c-text);
	margin: 0 0 8px;
}

.category-subtitle {
	font-size: 16px;
	color: var(--c-muted);
	margin: 0;
	line-height: 1.5;
}

.view-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	color: var(--c-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.view-all-btn:hover {
	border-color: var(--c-primary);
	color: var(--c-primary);
	transform: translateY(-1px);
}

/* Enhanced Product Cards */
.product-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: all 0.2s ease;
	display: grid;
	grid-template-rows: auto 1fr auto;
}

.product-card:hover {
	box-shadow: var(--shadow-md);
	border-color: var(--nectar-accent-color);
}

.product-card__image {
	aspect-ratio: 4/3;
	display: grid;
	place-items: center;
	background: linear-gradient(#f0f2f7, #e9edf5);
	position: relative;
}

.product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-card__placeholder {
	color: #98a2b3;
	font-weight: 600;
	font-size: 14px;
}

.product-card__body {
	padding: 20px 20px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-card__name {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}

.product-card__name a {
	color: var(--c-text);
	text-decoration: none;
	transition: color 0.15s ease;
}

.product-card__name a:hover {
	color: var(--c-primary);
}

.product-card__desc {
	color: var(--c-muted);
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	flex-grow: 1;
}

.product-card__footer {
	padding: 0 20px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.price {
	font-weight: 800;
	font-size: 18px;
	color: var(--c-text);
}

.read-more-btn {
	background: var(--nectar-accent-color);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 10px 16px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.read-more-btn:hover {
	background: var(--nectar-accent-hover-color);
	color: #fff;
	transform: translateY(-1px);
}

/* Main Categories Section */
.main-categories {
	background: var(--c-bg);
	padding: clamp(48px, 8vw, 96px) 0;
}

/* All Categories Section */
.all-categories {
	background: var(--c-bg);
	padding: clamp(48px, 8vw, 96px) 0;
}

.all-cats-grid {
	grid-template-columns: repeat(12, 1fr);
}

.all-cats-grid>* {
	grid-column: span 12;
}

@media (min-width: 640px) {
	.all-cats-grid>* {
		grid-column: span 6;
	}
}

@media (min-width: 1024px) {
	.all-cats-grid>* {
		grid-column: span 3;
		/* 4 per row (12/3 = 4) */
	}
}

/* Category Archive Page */
.category-archive {
	background: var(--c-surface);
	padding: clamp(32px, 6vw, 64px) 0;
}

/* Modern category hero */
.cat-hero {
	padding: clamp(48px, 8vw, 120px) 0 clamp(16px, 4vw, 32px);
	background: linear-gradient(180deg, #fff, var(--c-bg));
	background-size: cover;
	background-position: center;
}

.cat-hero__content {
	max-width: 900px;
}

.cat-hero__title {
	font-weight: 800;
	font-size: clamp(28px, 4vw, 44px);
	margin: 0 0 10px;
}

.cat-hero__sub {
	color: var(--c-muted);
	font-size: 16px;
	line-height: 1.6;
}

/* Responsive Improvements */
@media (max-width: 768px) {
	.category-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.category-info {
		min-width: auto;
	}

	.featured-card__content {
		padding: 20px;
	}

	.featured-card__title {
		font-size: 20px;
	}

	.featured-card__desc {
		font-size: 14px;
	}
}

@media (max-width: 640px) {
	.featured-grid {
		gap: 24px;
	}

	.product-card__body {
		padding: 16px 16px 12px;
	}

	.product-card__footer {
		padding: 0 16px 16px;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.read-more-btn {
		text-align: center;
	}
}

/* Enhanced Button Styles */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 9999px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.2s ease;
	will-change: transform;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--nectar-accent-color);
	color: #fff;
	border: 2px solid var(--nectar-accent-color);
}

.btn-primary:hover {
	background: var(--nectar-accent-hover-color);
	border-color: var(--nectar-accent-hover-color);
	color: #fff;
}

.btn-ghost {
	background: transparent;
	color: var(--c-text);
	border: 2px solid var(--nectar-accent-color);
}

.btn-ghost:hover {
	background: var(--nectar-accent-hover-color);
	color: #fff;
}

/* Enhanced Hero Section */
.shop-hero {
	background: linear-gradient(180deg, #fff, var(--c-bg));
	text-align: center;
	padding: clamp(64px, 10vw, 140px) 0 clamp(32px, 6vw, 64px);
}

.hero-title {
	font-size: clamp(36px, 6vw, 64px);
	line-height: 1.1;
	font-weight: 800;
	margin: 0 0 20px;
}

.hero-title .accent {
	color: var(--nectar-accent-color);
}

.hero-sub {
	color: var(--c-muted);
	max-width: 800px;
	margin: 0 auto 32px;
	font-size: 18px;
	line-height: 1.6;
}

.hero-cta {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Enhanced Section Spacing */
.section {
	padding: clamp(48px, 8vw, 96px) 0;
}

/* Enhanced Grid Layouts */
.product-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(12, 1fr);
}

.product-grid>* {
	grid-column: span 12;
}

@media (min-width: 640px) {
	.product-grid>* {
		grid-column: span 6;
	}
}

@media (min-width: 1024px) {
	.product-grid>* {
		grid-column: span 4;
		/* 3 per row (12/4 = 3) */
	}
}

/* Enhanced Category Grid - consolidated above */

/* Enhanced Card Styles */
.card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s ease;
	display: grid;
	grid-template-rows: auto 1fr auto;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: var(--nectar-accent-color);
}

.card__image {
	aspect-ratio: 16/9;
	display: grid;
	place-items: center;
	background: linear-gradient(#f0f2f7, #e9edf5);
}

.card__image-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__image-fallback {
	color: #98a2b3;
	font-weight: 600;
	font-size: 14px;
}

.card__body {
	padding: 20px 20px 12px;
}

.card__title {
	font-weight: 700;
	font-size: 18px;
	margin: 0;
}

.card__sub {
	color: var(--c-muted);
	font-size: 14px;
	margin-top: 8px;
	line-height: 1.4;
}

.card__footer {
	padding: 0 20px 20px;
}

.btn-pill {
	display: inline-block;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: 999px;
	padding: 10px 18px;
	font-weight: 600;
	font-size: 14px;
	color: var(--c-text);
	transition: all 0.15s ease;
}

/* .cat-prev-wrap {
	transform: translateY(-15%);
} */

.on-the-fly-behavior {
	display: none !important;
}

#block-2 .widget.widget_block {
	display: none !important;
}

.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
	content: "" !important;
	display: none !important;
}

.woocommerce .classic .product-wrap .add_to_cart_button,
.woocommerce .classic .product-wrap .button.product_type_variable,
.woocommerce .classic .product-wrap .nectar_quick_view,
.woocommerce .classic .product-wrap a.button.product_type_simple {
	padding: -1px 15px !important;
}

.product-add-to-cart {
	display: flex;
	flex-direction: row;
}

/* #ajax-content-wrap:has(#category-navbar-container) .shop-archive {
	padding-top: 38px;
} */

/* .container.main-content .row:has(.post-area) #sidebar {
	width: 0 !important;
	height: 0 !important;
	opacity: 0 !important;
} */

.post-area.span_9 {
	width: 100% !important;
}

@media only screen and (min-width: 1300px) {
	body.woocommerce:not(.single-product) ul.products[data-n-desktop-columns="4"] li.product {
		width: 21.9% !important;
		margin: 0 1.5% 1.5% 0 !important;
	}
}

/* @media only screen and (max-width: 1300px) and (min-width: 1000px) {
    body.woocommerce:not(.single-product) ul.products[data-n-desktop-small-columns="3"] li.product {
        width: 27.2% !important;
        margin: 0 2% 2% 0 !important;
    }
} */

@media only screen and (max-width: 1300px) and (min-width: 1000px) {
	body.woocommerce:not(.single-product) ul.products[data-n-desktop-small-columns="3"] li.product {
		width: 22.9% !important;
		margin: 0 !important;
		/* padding: 7px; */
	}
}

@media only screen and (max-width: 1085px) {
	body.woocommerce:not(.single-product) ul.products[data-n-desktop-small-columns="3"] li.product {
		width: 31.5% !important;
		margin: 0 !important;
	}
}

@media only screen and (min-width: 1000px) {

	.container,
	body[data-header-format="left-header"] .container,
	.woocommerce-tabs .full-width-content .tab-container,
	.nectar-recent-posts-slider .flickity-page-dots,
	.post-area.standard-minimal.full-width-content .post .inner-wrap,
	.material #search-outer #search {
		max-width: 1501px;
		width: 100%;
		margin: 0 auto;
		padding: 0 40px;
	}
}

@media only screen and (min-width: 690px) and (max-width: 999px) {
	.main-content {
		width: 90% !important;
		max-width: 90% !important;
	}

	body.woocommerce:not(.single-product) ul.products[data-n-desktop-small-columns="3"] li.product {
		width: 30.5% !important;
	}
}

@media only screen and (max-width: 900px) {
	body.woocommerce:not(.single-product) ul.products[data-n-desktop-small-columns="3"] li.product {
		width: 48% !important;
		margin: 0 !important;
		min-height: 415px;
	}
}

@media only screen and (max-width: 685px) {
	body.woocommerce:not(.single-product) ul.products[data-n-desktop-small-columns="3"] li.product {
		width: 100% !important;
		margin: 0 !important;
		min-height: 517px;
	}
}

.carousel-item span.woocs_price_code {
	max-width: 160px;
	display: block;
}

/* ===== Single Product – Benefits + Tabs ===== */
.single-product .scd-benefits-card {
	background: #fff;
	/* border: 1px solid var(--c-border, #e5e7eb); */
	border-radius: 10px;
	padding: 20px;
	margin-top: 16px;
	margin-bottom: 22px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .02);
}

.single-product .scd-benefits-title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
}

.single-product .scd-benefits-intro {
	margin: 0 0 10px;
	color: #475467;
}

.single-product .scd-benefits-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px 14px;
}

.single-product .scd-benefits-list li {
	position: relative;
	padding-left: 26px;
	line-height: 1.45;
	list-style: none !important;
}

.single-product .scd-benefits-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #16a34a;
	/* green */
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.285 6.708a1 1 0 0 1 0 1.414l-9 9a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414L10.5 14.586l8.293-8.293a1 1 0 0 1 1.492.415z"/></svg>') center / 14px 14px no-repeat;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.285 6.708a1 1 0 0 1 0 1.414l-9 9a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414L10.5 14.586l8.293-8.293a1 1 0 0 1 1.492.415z"/></svg>') center / 14px 14px no-repeat;
}

/* Tabs wrapper */
.single-product .scd-product-tabs {
	margin-top: 24px;
	/* background: var(--card); */
	/* border: 1px solid var(--c-border); */
	border-radius: 4px;
	/* box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, .15); */
}

.single-product .scd-product-tabs .scd-tabs-nav {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	padding: 4px;
}

.single-product .scd-product-tabs .scd-tab {
	appearance: none;
	background: transparent;
	border: 0;
	padding: 10px 14px;
	margin: 0;
	font-weight: 600;
	color: #475467;
	cursor: pointer;
	/* border-bottom: 2px solid transparent; */
}

.single-product .scd-product-tabs .scd-tab.is-active {
	color: #111827;
	border-bottom: 4px solid var(--nectar-accent-color);
	border-radius: 0px !important;
}

.single-product .scd-product-tabs .scd-tabs-panels {
	padding: 20px;
}

.single-product .scd-product-tabs .scd-tab-panel {
	display: none;
}

.single-product .scd-product-tabs .scd-tab-panel.is-active {
	display: block;
}

/* Panel content defaults */
.single-product .scd-product-tabs .scd-tab-panel h1,
.single-product .scd-product-tabs .scd-tab-panel h2,
.single-product .scd-product-tabs .scd-tab-panel h3 {
	margin-top: 0;
}

/* Properties list inside tabs */
.single-product .scd-product-properties {
	margin: 0;
}

.single-product .scd-properties-title {
	margin: 0 0 10px;
	font-weight: 700;
}

.single-product .scd-properties-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}

.single-product .scd-properties-list__item {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px dashed #e5e7eb;
	padding: 8px 0;
}

.single-product .scd-property-label {
	color: #6b7280;
}

.single-product .scd-property-value {
	font-weight: 600;
	color: #111827;
}

@media (max-width: 900px) {
	.single-product .scd-benefits-list {
		grid-template-columns: 1fr;
	}

	.single-product .scd-properties-list {
		grid-template-columns: 1fr;
	}
}

/* ===== Bulk variable UI ===== */
.single-product .scd-bulk-var {
	margin-top: 18px;
	/* border: 1px solid var(--c-border); */
	border-radius: 4px;
	padding: 8px 12px;
}

.single-product .scd-bulk-var__controls {
	margin-bottom: 12px;
}

.single-product .scd-bulk-var__list-wrap {
	border-radius: 10px;
	background: #fff;
}

.single-product .scd-bulk-var__list-title {
	padding: 10px 14px;
	font-weight: 700;
	color: #111827;
	border-bottom: 1px solid #eef2f7;
}

.single-product .scd-bulk-var__rows {
	display: block;

}

.single-product .scd-bulk-var__row {
	display: grid;
	grid-template-columns: 160px 1fr auto auto;
	gap: 12px;
	padding: 12px 14px;
	align-items: center;
}

.single-product .scd-bulk-var__row:first-child {
	border-top: 0;
}

.single-product .scd-bulk-var__empty {
	padding: 14px;
	color: #6b7280;
}

.single-product .scd-qty-dec,
.single-product .scd-qty-inc {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #fff;
	line-height: 26px;
	text-align: center;
	font-weight: 700;
}

.single-product .scd-qty-input {
	width: 56px;
	text-align: center;
	margin: 0 8px;
	padding: 6px 8px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background-color: #ebebeb;
}

.single-product .scd-bulk-var__add {
	margin-top: 12px;
}

@media (max-width: 700px) {
	.single-product .scd-bulk-var__row {
		grid-template-columns: 130px 1fr 80px 90px;
	}
}

/* ===== Bulk Variable UI ===== */
.scd-bulk-var__row .scd-qty-dec,
.scd-bulk-var__row .scd-qty-inc {
	color: #666;
	width: 35px;
	height: 35px;
	text-shadow: none;
	padding: 0;
	margin: 0;
	background-color: transparent;
	display: inline-block;
	vertical-align: middle;
	border: none;
	position: relative;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: all 0.25s ease;
	border-radius: 50px !important;
	line-height: 24px !important;
	font-size: 18px;
	background-color: #fff;
	-webkit-appearance: none;
	appearance: none;
	font-family: "Open Sans";
	font-weight: 400;
	cursor: pointer;
}

.scd-bulk-var__row .scd-qty-dec:hover,
.scd-bulk-var__row .scd-qty-inc:hover {
	background-color: #008575 !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
	color: #fff !important;
}

input.scd-qty-input {
	border: none;
	margin: 0 10px;
	display: inline-block;
	height: 35px;
	line-height: 35px;
	margin: 0;
	font-size: 20px;
	font-family: "Open Sans";
	font-weight: 700;
	padding: 0 5px;
	text-align: center;
	vertical-align: middle;
	background-color: transparent;
	background-image: none;
	box-shadow: none;
	width: 46px;
	position: relative;
	border: none;
	font-family: proxima_nova_regular;
	font-weight: 400 !important;
	color: #222221;
	border-collapse: collapse;
	border: none !important;
}

input.scd-qty-input::-webkit-outer-spin-button,
input.scd-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

span.scd-col.scd-col--stock {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
}

span.scd-col.scd-col--stock .scd-stock {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	background-color: #f0f9ff;
	color: #0369a1;
}

span.scd-col.scd-col--stock .scd-stock--in,
span.scd-col.scd-col--stock .scd-stock--high {
	background-color: #f0fdf4;
	color: #166534;
}

span.scd-col.scd-col--stock .scd-stock--low {
	background-color: #fffbeb;
	color: #b45309;
}

span.scd-col.scd-col--stock .scd-stock--out,
span.scd-col.scd-col--stock .scd-stock--critical {
	background-color: #fef2f2;
	color: #991b1b;
}

span.scd-col.scd-col--price {
	display: flex;
	justify-content: flex-end;
	min-width: 75px;
}

.scd-bulk-var__row:nth-child(2n+1) {
	background-color: #fcfcfc;
}

.scd-benefits-list ul li {
	list-style: none !important;
}

.scd-bulk-var__controls select {
	background: none;
	border: none;
	box-shadow: none;
	border: 1px solid var(--c-border) !important;
	border-radius: 4px;
}

.woocommerce div.product .summary p.price {
	padding-bottom: 0;
}

#footer-outer #footer-widgets .widget h1 {
	color: #bababa !important;
}

body #footer-outer .widget h1 {
	font-family: proxima_nova_regular;
	letter-spacing: 0;
	font-weight: 400 !important;
}

#footer-outer .widget h1 {
	color: #777;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
	line-height: 34px;
}

@media only screen and (max-width: 800px) {
	.woot-widget-bubble div {
		display: none !important;
	}

	.woot-widget-bubble.woot-widget--expanded svg {
		margin: 14px 19px 14px 16px !important;
	}
}

@media only screen and (max-width: 540px) {
	.woot-widget--expanded__text {
		display: none !important;
	}

	.woot-widget-bubble.woot-widget--expanded svg {
		margin: 14px 19px 14px 16px !important;
	}
}


.scd-col.scd-col--qty {
	display: flex !important;
}

.scd-bulk-var__rows {
	max-height: 390px;
	overflow-y: auto;
}

.entry-summary .product_meta {
	display: none;
}

.entry-summary .scd-tabs-panels .product_meta {
	display: block !important;
}

.scd-breakpoints-title-wrapper {
	display: flex;
	flex-direction: row;
	/* justify-content: center;  */
	align-items: center;
}


.scd-bundled-breakpoints {
	margin-top: 16px;
}

.scd-breakpoints-list {
	margin-left: 15px;
	margin-bottom: 15px;
}

.scd-breakpoints-list li {
	list-style: none;
}

.scd-breakpoints-title {
	font-size: 24px;
	line-height: 34px;
}

.scd-breakpoints-information {
	display: inline-block;
	padding-bottom: 0;
	/* margin-left: 15px; */
	line-height: 34px;
	margin-bottom: 7px;
	margin-left: 7px;
	font-size: 14px;
	color: red;
}

.scd-bulk-var__row .scd-qty-inc.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: #f0f0f0 !important;
	color: #999 !important;
}

.scd-row-feedback {
	position: absolute;
	top: 100%;
	left: 0;
	white-space: nowrap;
	background: #fff;
	border: 1px solid #ccc;
	padding: 2px 5px;
	z-index: 10;
	border-radius: 3px;
	margin-top: 2px;
	color: #c00;
	font-size: 12px;
}

@media screen and (max-width: 768px) {
	span.scd-col.scd-col--stock {
		display: none;
	}
}

.p-cat .cat-prev-wrap {
	transform: none;
}

@media screen and (max-width: 1150px) {
	.carousel-item {
		flex: 0 0 455px;
		min-width: 455px;
		max-width: 455px;
		width: 455px;
	}
}

@media screen and (max-width: 985px) {
	.carousel-item {
		flex: 0 0 425px;
		min-width: 425px;
		max-width: 425px;
		width: 425px;
	}
}

@media screen and (max-width: 945px) {
	.carousel-item {
		flex: 0 0 400px;
		min-width: 400px;
		max-width: 400px;
		width: 400px;
	}
}

@media screen and (max-width: 768px) {
	.carousel-item {
		flex: 0 0 calc(100vw - 48px);
		min-width: calc(100vw - 48px);
		max-width: calc(100vw - 48px);
		width: calc(100vw - 48px);
	}

	.featured-products-carousel .featured-product-card .product-card__desc {
		min-height: 2.6em;
		line-clamp: 2;
		-webkit-line-clamp: 2;
	}

	.scd-breakpoints-title-wrapper {
		flex-direction: column;
		align-items: flex-start;
	}

	.scd-breakpoints-information {
		margin-left: 0;
		margin-top: 0;
	}

	.scd-breakpoints-title {
		margin-bottom: 0;
	}

	.scd-breakpoints-list {
		margin-left: 0;
	}
}

.main-content .row:has(.post-area) {
	display: flex;
}

.scd-variation-info__inner {
	white-space: pre-wrap;
}

.flex-viewport {
	pointer-events: none;
}

.cat-grid.all-cats-grid.post-area.col.span_9.col_last {
	height: max-content;
}

#header-outer .cart-outer .widget_shopping_cart_content p.woocommerce-mini-cart__empty-message {
	color: white !important;
}

@media only screen and (min-width: 1024px) {
	.woocommerce ul.products li.product.classic .product-wrap img {
		/* object-fit: contain; */
		max-height: 220px;
		height: 220px;
		min-height: 220px;
	}
}

.woocommerce ul.products li.product.classic .product-wrap img {
	object-fit: contain !important;
}