/* ==========================================================================
   WP Store - Main Stylesheet
   Digital Product Selling Theme
   ========================================================================== */

/* CSS Variables */
:root {
	--wp-store-primary: #0d9488;
	--wp-store-accent: #f59e0b;
	--wp-store-primary-dark: #0f766e;
	--wp-store-navy: #0f172a;
	--wp-store-navy-light: #1e293b;
	--wp-store-navy-dark: #020617;
	--wp-store-text: #1e293b;
	--wp-store-text-light: #64748b;
	--wp-store-bg: #f1f5f9;
	--wp-store-white: #ffffff;
	--wp-store-border: #e2e8f0;
	--wp-store-success: #059669;
	--wp-store-danger: #dc2626;
	--wp-store-radius: 12px;
	--wp-store-radius-sm: 8px;
	--wp-store-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--wp-store-shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	--wp-store-transition: 0.3s ease;
	--wp-store-font: 'Inter', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--wp-store-container: 1280px;
	--wp-store-gutter: 40px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	font-family: var(--wp-store-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp-store-text);
	background: var(--wp-store-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--wp-store-primary); text-decoration: none; transition: color var(--wp-store-transition); }
a:hover { color: var(--wp-store-primary-dark); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--wp-store-text); }

.container {
	max-width: var(--wp-store-container);
	margin: 0 auto;
	padding: 0 max(var(--wp-store-gutter), 28px);
}

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 24px; font-size: 15px; font-weight: 600; font-family: inherit;
	border-radius: var(--wp-store-radius-sm); border: 2px solid transparent;
	cursor: pointer; transition: all var(--wp-store-transition); text-decoration: none;
	line-height: 1.4;
}

.btn-primary {
	background: var(--wp-store-primary);
	color: var(--wp-store-white); border-color: transparent;
}
.btn-primary:hover {
	background: var(--wp-store-primary-dark);
	color: var(--wp-store-white); transform: translateY(-2px);
	box-shadow: 0 8px 20px rgb(225 29 46 / 0.35);
}

.btn-outline {
	background: transparent; color: var(--wp-store-primary);
	border-color: var(--wp-store-primary);
}
.btn-outline:hover { background: var(--wp-store-primary); color: var(--wp-store-white); }

.btn-white { background: var(--wp-store-white); color: var(--wp-store-primary); }
.btn-white:hover { background: #f1f5f9; color: var(--wp-store-primary-dark); }

.btn-outline-white { background: transparent; color: var(--wp-store-white); border-color: var(--wp-store-white); }
.btn-outline-white:hover { background: var(--wp-store-white); color: var(--wp-store-primary); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ==========================================================================
   Header — Professional Marketplace (Navy + Teal)
   ========================================================================== */
.site-header {
	display: contents;
}

/* Desktop: pin unwraps so notice scrolls away; only logo bar sticks */
.header-pin {
	display: contents;
}

/* Sticky stack: logo/actions (+ mobile search). Notice + desktop nav scroll away naturally. */
.header-sticky {
	position: sticky;
	top: 0;
	z-index: 1001;
	background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
	box-shadow: 0 2px 12px rgb(0 0 0 / 0.08);
	transition: box-shadow 0.2s ease;
}

.header-sticky-spacer {
	display: none;
	height: 0;
	pointer-events: none;
}

.admin-bar .header-sticky {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .header-sticky {
		top: 46px;
	}
}

.site-header.is-scrolled .header-sticky {
	box-shadow: 0 8px 28px rgba(2, 8, 23, 0.18);
}

.header-mobile-search {
	display: none;
}

/* Mobile bottom app-bar — hidden on desktop */
.mobile-bottom-nav {
	display: none;
}

/* —— Notice ticker (modern) —— */
.header-notice-bar {
	background: linear-gradient(90deg, #0b1220 0%, #122033 50%, #0f766e 160%);
	color: #f8fafc;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-notice-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: var(--wp-store-container);
	margin: 0 auto;
	min-height: 36px;
	padding: 0 var(--wp-store-gutter);
}

.header-notice-label {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #ffffff;
	z-index: 2;
}

.header-notice-label-icon {
	display: inline-flex;
	color: #5eead4;
}

.header-notice-track {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.header-notice-marquee {
	display: flex;
	align-items: center;
	width: max-content;
	animation: wp-store-notice-scroll var(--notice-speed, 35s) linear infinite;
	will-change: transform;
}

.header-notice-item {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.4;
	white-space: nowrap;
	color: rgba(248, 250, 252, 0.92);
	padding: 0 32px;
}

.header-notice-item + .header-notice-item {
	position: relative;
}

.header-notice-item + .header-notice-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #2dd4bf;
	transform: translate(-50%, -50%);
	opacity: 0.85;
	box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.header-notice-bar:hover .header-notice-marquee {
	animation-play-state: paused;
}

@keyframes wp-store-notice-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.header-notice-marquee {
		animation: none;
		flex-wrap: wrap;
		width: 100%;
		gap: 4px 0;
		padding: 6px 0;
	}
	.header-notice-item {
		white-space: normal;
		padding: 2px 16px;
	}
}

/* —— Top Bar —— */
.header-top {
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-top-inner {
	display: grid;
	grid-template-columns: minmax(140px, 1fr) minmax(280px, 560px) minmax(140px, 1fr);
	align-items: center;
	column-gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
	min-height: 76px;
	transition: padding 0.25s ease, min-height 0.25s ease;
}

.site-branding {
	flex-shrink: 0;
	justify-self: start;
}

.site-branding .site-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-branding .site-title:hover {
	color: #ffffff;
	opacity: 0.92;
}

.site-title-icon {
	display: flex;
	color: var(--wp-store-primary);
	flex-shrink: 0;
}

.site-title-text {
	line-height: 1;
	background: linear-gradient(90deg, #fff 0%, #ccfbf1 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #fff;
}

.site-branding .custom-logo-link img {
	max-height: 42px;
	width: auto;
}

/* Inline Search */
.header-search-wrap,
.mobile-search-wrap {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	justify-self: center;
}

.header-search-wrap {
	display: flex;
	flex-direction: column;
}

.header-search-form {
	flex: 1;
	display: flex;
	align-items: center;
	width: 100%;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 12px;
	padding: 0 8px 0 4px;
	min-height: 46px;
	box-shadow: 0 1px 2px rgba(2, 8, 23, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search-form:focus-within {
	border-color: rgba(13, 148, 136, 0.55);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18), 0 8px 24px rgba(2, 8, 23, 0.12);
}

.header-search-form .search-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--wp-store-primary);
	cursor: pointer;
	padding: 8px;
	flex-shrink: 0;
}

.header-search-form .search-icon {
	display: flex;
	color: var(--wp-store-primary);
	margin-right: 10px;
	flex-shrink: 0;
}

.header-search-form .search-field {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font-size: 14px;
	font-family: inherit;
	color: var(--wp-store-text);
	padding: 10px 8px 10px 0;
	min-width: 0;
}

.header-search-form .search-field::placeholder {
	color: #94a3b8;
}

/* Header Icons */
.header-actions {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-shrink: 0;
	justify-self: end;
	padding: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: rgba(248, 250, 252, 0.92);
	border-radius: 50%;
	position: relative;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-icon:hover {
	background: rgba(13, 148, 136, 0.22);
	color: #5eead4;
}

.header-icon:active {
	transform: scale(0.96);
}

.header-cart-wrap {
	position: relative;
}

.wp-store-mini-cart-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: min(360px, calc(100vw - 24px));
	z-index: 1200;
}

.wp-store-mini-cart {
	background: #fff;
	color: var(--wp-store-navy, #0f172a);
	border: 1px solid var(--wp-store-border, #e2e8f0);
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
	overflow: hidden;
}

.wp-store-mini-cart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid #eef2f7;
	background: #f8fafc;
}

.wp-store-mini-cart__head strong {
	font-size: 14px;
	font-weight: 700;
}

.wp-store-mini-cart__count {
	font-size: 12px;
	color: #64748b;
}

.wp-store-mini-cart__body {
	max-height: 340px;
	overflow: auto;
	padding: 8px 0;
}

.wp-store-mini-cart .woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	padding: 0 12px;
}

.wp-store-mini-cart .woocommerce-mini-cart-item {
	display: grid !important;
	grid-template-columns: 1fr auto !important;
	gap: 8px 10px;
	align-items: start;
	padding: 10px 4px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13px;
}

.wp-store-mini-cart .woocommerce-mini-cart-item:last-child {
	border-bottom: none;
}

.wp-store-mini-cart .woocommerce-mini-cart-item > .remove {
	grid-column: 2 !important;
	grid-row: 1 / span 2;
	justify-self: end;
	align-self: start;
	line-height: 1;
	text-decoration: none;
	color: #ef4444;
	font-size: 18px;
	padding: 0 2px;
	order: 3;
}

.wp-store-mini-cart .woocommerce-mini-cart-item > a:not(.remove) {
	grid-column: 1 !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 10px;
	min-width: 0;
	text-decoration: none;
	color: var(--wp-store-navy, #0f172a);
	font-weight: 600;
}

.wp-store-mini-cart .woocommerce-mini-cart-item img,
.wp-store-mini-cart .product_list_widget img,
.wp-store-mini-cart ul.cart_list li img {
	float: left !important;
	width: 52px !important;
	height: 52px !important;
	margin: 0 10px 0 0 !important;
	object-fit: cover;
	border-radius: 8px;
	display: block !important;
	flex-shrink: 0;
	order: -1 !important;
}

.wp-store-mini-cart .woocommerce-mini-cart-item > .quantity {
	grid-column: 1 !important;
	padding-left: 62px;
	font-size: 12px;
	color: #64748b;
}

.wp-store-mini-cart .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	padding: 12px 16px;
	margin: 0;
	border-top: 1px solid #eef2f7;
	font-weight: 700;
}

.wp-store-mini-cart .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 0 16px 16px;
}

.wp-store-mini-cart .woocommerce-mini-cart__buttons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
}

.wp-store-mini-cart .woocommerce-mini-cart__buttons .button:first-child {
	background: #f1f5f9;
	color: var(--wp-store-navy, #0f172a);
}

.wp-store-mini-cart .woocommerce-mini-cart__buttons .checkout {
	background: var(--wp-store-primary, #0d9488);
	color: #fff;
}

.wp-store-mini-cart .woocommerce-mini-cart__empty-message {
	padding: 24px 16px;
	text-align: center;
	color: #64748b;
	font-size: 14px;
}

.btn-buy-now.is-loading,
.btn-add-to-cart.is-loading,
.btn-add-to-cart.loading,
a.ajax_add_to_cart.is-loading,
a.ajax_add_to_cart.loading,
button.single_add_to_cart_button.is-loading,
button.single_add_to_cart_button.loading,
.product-cta-btn.is-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
	cursor: wait;
	opacity: 1;
}

.btn-buy-now.is-loading > *,
.btn-add-to-cart.is-loading > *,
.btn-add-to-cart.loading > *,
a.ajax_add_to_cart.is-loading > *,
a.ajax_add_to_cart.loading > *,
button.single_add_to_cart_button.is-loading > *,
button.single_add_to_cart_button.loading > *,
.product-cta-btn.is-loading > * {
	visibility: hidden;
}

.btn-buy-now.is-loading::after,
.btn-add-to-cart.is-loading::after,
.btn-add-to-cart.loading::after,
a.ajax_add_to_cart.is-loading::after,
a.ajax_add_to_cart.loading::after,
button.single_add_to_cart_button.is-loading::after,
button.single_add_to_cart_button.loading::after,
.product-cta-btn.is-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2.5px solid rgba(15, 23, 42, 0.2);
	border-top-color: var(--wp-store-primary, #0d9488);
	border-radius: 50%;
	animation: wp-store-btn-spin 0.65s linear infinite;
	box-sizing: border-box;
}

.btn-buy-now.is-loading::after,
.btn.btn-primary.is-loading::after,
.btn.btn-primary.loading::after,
a.ajax_add_to_cart.btn-primary.is-loading::after {
	border-color: rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
}

@keyframes wp-store-btn-spin {
	to {
		transform: rotate(360deg);
	}
}

.header-cart .cart-count,
.header-wishlist .wishlist-count {
	position: absolute;
	top: 2px;
	right: 2px;
	background: var(--wp-store-primary);
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	border: 2px solid #0f172a;
	box-shadow: 0 1px 2px rgba(2, 8, 23, 0.25);
}

.header-wishlist .wishlist-count:empty,
.header-wishlist .wishlist-count[data-count="0"] {
	display: none;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
	display: block;
	width: 22px;
	height: 2px;
	background: #ffffff;
	transition: all var(--wp-store-transition);
}

.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
	content: '';
	position: absolute;
	left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* —— Nav Bar —— */
.header-nav {
	position: relative;
	z-index: 1000;
	background: #ffffff;
	border-bottom: 1px solid var(--wp-store-border);
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.header-nav-inner {
	display: flex;
	align-items: stretch;
	justify-content: center;
	min-height: 50px;
	padding-top: 0;
	padding-bottom: 0;
}

.header-nav-inner .main-navigation {
	flex: 0 1 auto;
	width: auto;
	justify-content: center;
}

.browse-categories {
	position: relative;
	flex-shrink: 0;
	border-right: 1px solid var(--wp-store-border);
	margin-right: 8px;
}

.browse-categories-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 100%;
	padding: 0 22px 0 4px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--wp-store-text);
	white-space: nowrap;
	transition: color var(--wp-store-transition);
}

.browse-categories-btn:hover,
.browse-categories-btn[aria-expanded="true"] {
	color: var(--wp-store-primary);
}

.browse-icon {
	display: flex;
	color: inherit;
}

.browse-chevron {
	display: flex;
	margin-left: 4px;
	transition: transform var(--wp-store-transition);
}

.browse-categories-btn[aria-expanded="true"] .browse-chevron {
	transform: rotate(180deg);
}

.categories-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: #ffffff;
	border: 1px solid var(--wp-store-border);
	border-radius: 0 0 var(--wp-store-radius-sm) var(--wp-store-radius-sm);
	box-shadow: var(--wp-store-shadow-lg);
	z-index: 1100;
	padding: 8px 0;
}

.categories-dropdown-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.categories-dropdown-list li a {
	display: flex;
	justify-content: space-between;
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 500;
	color: var(--wp-store-text);
	text-transform: none;
	letter-spacing: 0;
}

.categories-dropdown-list li a span {
	color: var(--wp-store-text-light);
	font-size: 12px;
}

.categories-dropdown-list li a:hover {
	background: #fef2f2;
	color: var(--wp-store-primary);
}

.main-navigation {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	scrollbar-width: none;
}

.main-navigation::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.primary-menu {
	display: flex;
	list-style: none;
	gap: 4px;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.primary-menu > li {
	height: 100%;
}

.primary-menu > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 18px;
	font-weight: 650;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #334155;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
	color: var(--wp-store-primary);
	background: transparent;
	border-bottom-color: var(--wp-store-primary);
}

/* Submenu */
.primary-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #ffffff;
	border: 1px solid var(--wp-store-border);
	box-shadow: var(--wp-store-shadow);
	list-style: none;
	padding: 8px 0;
	z-index: 1100;
}

.primary-menu > li {
	position: relative;
}

.primary-menu > li:hover > .sub-menu {
	display: block;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
	color: var(--wp-store-text);
}

.primary-menu .sub-menu a:hover {
	background: #fef2f2;
	color: var(--wp-store-primary);
}

/* Mobile Menu — drawer */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	justify-content: flex-end;
	visibility: hidden;
	pointer-events: none;
	padding: 0;
	background: transparent;
	box-shadow: none;
	transform: none;
	overflow: hidden;
	height: auto;
	width: auto;
}

.mobile-menu[hidden] {
	display: none !important;
}

.mobile-menu.is-open {
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.mobile-menu-backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(15, 23, 42, 0.48);
	opacity: 0;
	cursor: pointer;
	transition: opacity 0.25s ease;
}

.mobile-menu.is-open .mobile-menu-backdrop {
	opacity: 1;
}

.mobile-menu-drawer {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(320px, 88vw);
	height: 100%;
	max-height: 100dvh;
	background: #ffffff;
	box-shadow: -12px 0 40px rgba(2, 8, 23, 0.18);
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: hidden;
}

.mobile-menu.is-open .mobile-menu-drawer {
	transform: translateX(0);
}

.mobile-menu-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-shrink: 0;
	padding: 16px 18px;
	border-bottom: 1px solid #eef2f7;
	background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
}

.mobile-menu-title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ffffff;
}

.mobile-menu-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	cursor: pointer;
	transition: background 0.15s ease;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus {
	background: rgba(255, 255, 255, 0.18);
	outline: none;
}

.mobile-menu-body {
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 8px 12px calc(16px + var(--wp-store-mobile-bottom-nav-h, 56px));
}

.mobile-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav > li {
	margin: 0;
}

.mobile-nav > li > a {
	display: flex;
	align-items: center;
	padding: 13px 14px;
	margin: 2px 0;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: #0f172a;
	border-bottom: none;
	border-radius: 12px;
	transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav > li > a:hover,
.mobile-nav > li.current-menu-item > a,
.mobile-nav > li.current_page_item > a {
	background: rgba(13, 148, 136, 0.1);
	color: var(--wp-store-primary);
}

.mobile-nav .sub-menu {
	list-style: none;
	margin: 0 0 6px;
	padding: 0 0 0 10px;
}

.mobile-nav .sub-menu a {
	display: block;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: #475569;
	border-radius: 10px;
	border-bottom: none;
}

.mobile-nav .sub-menu a:hover {
	background: #f8fafc;
	color: var(--wp-store-primary);
}

.menu-toggle.is-active .hamburger {
	background: transparent;
}

.menu-toggle.is-active .hamburger::before {
	top: 0;
	transform: rotate(45deg);
}

.menu-toggle.is-active .hamburger::after {
	top: 0;
	transform: rotate(-45deg);
}

.mobile-search-form {
	margin-bottom: 20px;
}

.mobile-search-form .search-field {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--wp-store-border);
	border-radius: 14px;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	box-shadow: none;
}

.mobile-search-form .search-field:focus {
	border-color: var(--wp-store-primary);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
	position: relative;
	padding: 28px 0 36px;
	overflow: visible;
}

.hero-bg {
	position: absolute; inset: 0;
	overflow: hidden;
	border-radius: 0;
	background: linear-gradient(135deg, #f8fafc 0%, #ecfeff 45%, #f0fdfa 100%);
	pointer-events: none;
}
.hero-bg::after {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(circle at 20% 50%, rgb(13 148 136 / 0.08) 0%, transparent 50%),
	            radial-gradient(circle at 80% 20%, rgb(15 23 42 / 0.06) 0%, transparent 50%);
}

.hero-content {
	position: relative; display: grid; grid-template-columns: 1fr 1fr;
	gap: 48px; align-items: center;
}

.hero-badge {
	display: inline-block; padding: 6px 16px; margin-bottom: 14px;
	background: rgb(13 148 136 / 0.1); color: var(--wp-store-primary);
	font-size: 13px; font-weight: 600; border-radius: 50px;
}

.hero-brand-mark {
	display: block;
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp-store-primary);
}

.home-hero--official .hero-title {
	max-width: 20ch;
}

.home-hero--official .hero-card {
	backdrop-filter: blur(10px);
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.home-hero--official .hero-card-icon {
	background: linear-gradient(135deg, rgba(13, 148, 136, 0.18), rgba(15, 23, 42, 0.06));
}

.home-hero--official .hero-visual {
	height: 380px;
}

.hero-title {
	font-family: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
	font-size: clamp(1.85rem, 4.2vw, 2.75rem);
	font-weight: 800;
	margin: 0 0 16px;
	line-height: 1.65;
	padding: 0.35em 0 0.15em;
	color: var(--wp-store-navy, #0f172a);
	background: none !important;
	-webkit-background-clip: border-box !important;
	background-clip: border-box !important;
	-webkit-text-fill-color: currentColor !important;
	overflow: visible;
	word-wrap: break-word;
	text-shadow: none;
}

.hero-subtitle {
	font-size: 17px; color: var(--wp-store-text-light);
	margin-bottom: 24px; max-width: 520px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-stats { display: flex; gap: 32px; }
.hero-stats .stat strong {
	display: block; font-size: 22px; font-weight: 800; color: var(--wp-store-text);
}
.hero-stats .stat span { font-size: 13px; color: var(--wp-store-text-light); }

.hero-visual { position: relative; height: 360px; }

.hero-card {
	position: absolute; background: var(--wp-store-white);
	border-radius: var(--wp-store-radius); padding: 20px;
	box-shadow: var(--wp-store-shadow); max-width: 240px;
	transition: transform var(--wp-store-transition);
	will-change: auto;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 12px;
	border-radius: 12px;
	background: rgba(13, 148, 136, 0.12);
	color: var(--wp-store-primary);
	font-size: 20px;
}
.hero-card h4 { font-size: 15px; margin-bottom: 6px; line-height: 1.35; }
.hero-card p { font-size: 12px; color: var(--wp-store-text-light); margin: 0; line-height: 1.45; }

.hero-card-1 { top: 16px; left: 0; }
.hero-card-2 { top: 110px; right: 0; }
.hero-card-3 { bottom: 16px; left: 48px; }

.home-page--animated .hero-card-1 { animation: float 7s ease-in-out infinite; }
.home-page--animated .hero-card-2 { animation: float 7s ease-in-out 2s infinite; }
.home-page--animated .hero-card-3 { animation: float 7s ease-in-out 4s infinite; }

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
	.home-page--animated .hero-card-1,
	.home-page--animated .hero-card-2,
	.home-page--animated .hero-card-3 {
		animation: none !important;
	}
}

/* ==========================================================================
   Homepage v2 — official-license store layout
   ========================================================================== */
.home-section-head {
	margin-bottom: 28px;
}

.home-section-head--center {
	text-align: center;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 28px;
}

.home-section-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	text-align: left;
}

.home-section-head__text {
	text-align: left;
	max-width: 36rem;
}

.home-section-eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp-store-primary);
}

.home-section-head h2 {
	margin: 0 0 8px;
	font-family: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 800;
	line-height: 1.35;
	color: var(--wp-store-navy, #0f172a);
}

.home-section-head p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--wp-store-text-light);
}

.home-value-band,
.home-docs-band {
	padding: 48px 0;
}

.home-value-band {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.home-value-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.home-value-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 18px 24px;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	text-align: center;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-value-box:hover {
	transform: translateY(-6px);
	border-color: rgba(13, 148, 136, 0.4);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.home-value-box__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(13, 148, 136, 0.16), rgba(15, 23, 42, 0.05));
	color: var(--wp-store-primary);
	box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.12);
	transition: transform 0.28s ease, background 0.28s ease;
}

.home-value-box:hover .home-value-box__icon {
	transform: translateY(-2px) scale(1.04);
	background: linear-gradient(145deg, rgba(13, 148, 136, 0.22), rgba(15, 23, 42, 0.06));
}

.home-value-box h3 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--wp-store-navy, #0f172a);
	max-width: 14ch;
}

.home-value-box p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--wp-store-text-light);
	max-width: 26ch;
}

.home-docs-band {
	background: linear-gradient(135deg, #ecfeff 0%, #f8fafc 55%, #f1f5f9 100%);
}

.home-docs-band__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 28px;
	align-items: center;
}

.home-docs-band__copy {
	text-align: left;
}

.home-docs-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
	justify-content: flex-start;
}

.home-docs-band__cards {
	display: grid;
	gap: 12px;
}

.home-mini-card {
	padding: 18px 20px;
	border-radius: 14px;
	border: 1px solid var(--wp-store-border);
	background: #fff;
	text-align: left;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.home-mini-card strong {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
}

.home-mini-card span {
	font-size: 13px;
	color: var(--wp-store-text-light);
}

.home-mini-card--doc {
	border-color: rgba(15, 118, 110, 0.25);
}

.home-mini-card--info {
	border-color: rgba(3, 105, 161, 0.25);
}

.home-page--v2 .home-features .home-section-head,
.home-page--v2 .home-cta .cta-content {
	text-align: center;
}

.home-page--v2 .cta-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.home-page--v2 .cta-actions {
	justify-content: center;
}

/* Keep floating hero cards on mid-size screens as a calm row */
@media (max-width: 1024px) {
	.home-page--v2 .hero-content {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.home-page--v2 .hero-visual {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
		height: auto;
		position: relative;
	}

	.home-page--v2 .hero-card {
		position: relative;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		max-width: none;
		width: 100%;
		padding: 16px;
		animation: none !important;
	}

	.home-page--v2 .hero-card-icon {
		width: 40px;
		height: 40px;
		margin-bottom: 10px;
	}

	.home-value-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.home-value-box {
		padding: 24px 14px 20px;
	}

	.home-value-box h3,
	.home-value-box p {
		max-width: none;
	}
}

@media (max-width: 768px) {
	.home-section-head--split {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.home-section-head--center {
		text-align: center;
	}

	.home-page--v2 .hero-visual {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.home-value-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.home-value-box {
		text-align: center;
		align-items: center;
		padding: 24px 20px;
	}

	.home-value-box__icon {
		width: 52px;
		height: 52px;
	}

	.home-value-box h3 {
		font-size: 16px;
	}

	.home-value-box p {
		font-size: 13px;
	}

	.home-docs-band__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.home-docs-band__copy {
		text-align: left;
	}

	.home-docs-band__actions {
		justify-content: flex-start;
	}

	.home-docs-band__actions .btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section-header {
	text-align: center; margin-bottom: 28px; position: relative;
}
.section-header h2 { font-size: 1.75rem; margin-bottom: 8px; line-height: 1.35; }
.section-header p { color: var(--wp-store-text-light); font-size: 15px; line-height: 1.55; }
.section-link {
	position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	font-weight: 600; font-size: 14px;
}
.section-cta { text-align: center; margin-top: 28px; }

.categories-section,
.products-section,
.features-section { padding: 40px 0 48px; }
.products-section-alt { background: var(--wp-store-white); }

.home-products,
.products-section {
	padding-bottom: 56px;
}

.section-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp-store-primary);
	margin-bottom: 8px;
}

.home-page .home-category-products:nth-child(even) {
	background: #f8fafc;
}

.home-page .products-section .section-header {
	text-align: left;
	margin-bottom: 28px;
	padding-right: 0;
}

.home-page .products-section .section-header .section-link {
	top: 1.2rem;
	transform: none;
}

@media (min-width: 900px) {
	.home-page .products-section .section-header {
		padding-right: 120px;
	}
}

/* Dynamic columns from Theme Settings — class-based (no inline style) */
.products-grid--home.home-cols-2 { --home-cols: 2; }
.products-grid--home.home-cols-3 { --home-cols: 3; }
.products-grid--home.home-cols-4 { --home-cols: 4; }

ul.products.products-grid--home,
.products-grid--home {
	grid-template-columns: repeat(var(--home-cols, 4), minmax(0, 1fr)) !important;
	gap: 24px !important;
}

@media (max-width: 1100px) {
	ul.products.products-grid--home,
	.products-grid--home {
		grid-template-columns: repeat(min(3, var(--home-cols, 4)), minmax(0, 1fr)) !important;
		gap: 18px !important;
	}
}

@media (max-width: 768px) {
	ul.products.products-grid--home,
	.products-grid--home {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}
}

/* Light scroll reveal — GPU friendly */
.home-page--animated [data-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.home-page--animated [data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}
.home-page--animated .product-card {
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.home-page--animated .product-card-shell:hover .product-card {
	transform: translateY(-8px);
}
.home-page--animated .feature-card {
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-page--animated .hero-badge {
	animation: homeBadgeIn 0.5s ease both;
}
@keyframes homeBadgeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.home-page--animated [data-reveal],
	.home-page--animated .hero-badge,
	.home-page--animated .product-card,
	.home-page--animated .feature-card {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}
}

.product-card-footer {
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.product-card-footer .product-price {
	flex: 0 0 auto;
	min-width: 0;
	width: 100%;
	padding: 0 !important;
	margin: 0;
}

.product-card-footer .product-card-actions {
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
}
.categories-section--shop {
	padding: 40px 0 24px;
	background: transparent;
}
.shop-catalog-page .categories-section--shop .section-header {
	margin-bottom: 28px;
}

/* Categories Grid */
.categories-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px;
}

.category-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 32px 20px; background: var(--wp-store-white);
	border-radius: var(--wp-store-radius); border: 1px solid var(--wp-store-border);
	transition: all var(--wp-store-transition); color: var(--wp-store-text);
}
.category-card:hover {
	border-color: var(--wp-store-primary); transform: translateY(-4px);
	box-shadow: var(--wp-store-shadow); color: var(--wp-store-primary);
}
.category-icon { font-size: 36px; margin-bottom: 16px; }
.category-card h3 { font-size: 15px; margin-bottom: 8px; }
.category-count { font-size: 13px; color: var(--wp-store-text-light); }

/* Products Grid — use on the <ul>, never nest a grid wrapper around it */
.products-grid-wrap {
	display: block;
	width: 100%;
}

.products-grid:has(> ul.products) {
	display: block;
	width: 100%;
}

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

ul.products.products-grid,
.woocommerce ul.products.products-grid,
.products-grid--home,
.products-grid--catalog,
.products-grid--related {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	width: 100%;
}

/* Product Card — equal height grid cells */
.product-card-item,
ul.products li.product,
.products-grid .product {
	display: flex;
	height: 100%;
	margin: 0;
	list-style: none;
}

.product-card-shell {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 5px;
	overflow: hidden;
	border-radius: 16px;
}

.product-card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background: var(--wp-store-white);
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--wp-store-border);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
	transition:
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.35s ease,
		border-color 0.35s ease;
}

.product-card-shell:hover .product-card,
.product-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
	border-color: rgba(13, 148, 136, 0.28);
}

/* Orbiting dots around product card */
.product-card-orbit {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.55;
	transition: opacity 0.35s ease;
}

.product-card-shell:hover .product-card-orbit {
	opacity: 1;
}

.product-card-orbit__ring {
	position: absolute;
	inset: 0;
	border-radius: 18px;
	animation: productOrbitSpin 9s linear infinite;
}

.product-card-orbit__dot {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp-store-primary);
	box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.18), 0 0 10px rgba(13, 148, 136, 0.35);
}

.product-card-orbit__dot:nth-child(1) { left: 50%; top: 0; transform: translate(-50%, -20%); }
.product-card-orbit__dot:nth-child(2) { left: 100%; top: 22%; transform: translate(-80%, -50%); background: #14b8a6; }
.product-card-orbit__dot:nth-child(3) { left: 100%; top: 72%; transform: translate(-80%, -50%); width: 5px; height: 5px; opacity: 0.85; }
.product-card-orbit__dot:nth-child(4) { left: 50%; top: 100%; transform: translate(-50%, -80%); background: #0f766e; }
.product-card-orbit__dot:nth-child(5) { left: 0; top: 72%; transform: translate(-20%, -50%); width: 4px; height: 4px; }
.product-card-orbit__dot:nth-child(6) { left: 0; top: 22%; transform: translate(-20%, -50%); background: #2dd4bf; width: 5px; height: 5px; }

.product-card-orbit__glow {
	position: absolute;
	inset: 4px;
	border-radius: 16px;
	border: 1px dashed rgba(13, 148, 136, 0.22);
	animation: productOrbitDash 12s linear infinite;
	opacity: 0.7;
}

.product-card-shell:hover .product-card-orbit__glow {
	border-color: rgba(13, 148, 136, 0.45);
	opacity: 1;
}

@keyframes productOrbitSpin {
	to { transform: rotate(360deg); }
}

@keyframes productOrbitDash {
	to { transform: rotate(-360deg); }
}

/* Stagger entrance */
.product-card-item.is-card-ready .product-card-shell {
	animation: productCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: var(--card-delay, 0ms);
}

@keyframes productCardIn {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.product-card-image {
	position: relative;
	flex: 0 0 auto;
	overflow: hidden;
	/* Envato ThemeForest large preview: 590×300 (~1.97:1) */
	aspect-ratio: 590 / 300;
	width: 100%;
	background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-card-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
	transform: translateX(-120%);
	pointer-events: none;
	z-index: 2;
}

.product-card-shell:hover .product-card-image::after {
	animation: productShimmer 1.1s ease;
}

@keyframes productShimmer {
	to { transform: translateX(120%); }
}

.product-card-image img,
.product-card-image .product-thumb-img,
.product-card-image .product-digital-preview,
.product-card-image .product-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card-shell:hover .product-card-image img,
.product-card:hover .product-card-image img {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.product-card-orbit__ring,
	.product-card-orbit__glow,
	.product-card-item.is-card-ready .product-card-shell,
	.product-card-shell:hover .product-card-image::after {
		animation: none !important;
	}

	.product-card-shell:hover .product-card,
	.product-card:hover {
		transform: none;
	}

	.product-card-orbit {
		opacity: 0.25;
	}
}

.product-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp-store-text-light);
	background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.demo-gradient-1 { background: linear-gradient(135deg, #eef2ff, #c7d2fe) !important; }
.demo-gradient-2 { background: linear-gradient(135deg, #f5f3ff, #ddd6fe) !important; }
.demo-gradient-3 { background: linear-gradient(135deg, #fdf4ff, #f5d0fe) !important; }
.demo-gradient-4 { background: linear-gradient(135deg, #ecfdf5, #a7f3d0) !important; }

.product-badge {
	position: absolute; top: 12px; padding: 4px 10px;
	font-size: 11px; font-weight: 700; border-radius: 50px;
	text-transform: uppercase; letter-spacing: 0.5px; z-index: 2;
}
.product-badge.featured { left: 12px; background: var(--wp-store-primary); color: white; }
.product-badge.sale { left: 12px; right: auto; top: auto; bottom: 12px; background: var(--wp-store-danger, #dc2626); color: #fff; }
.product-badge.type { display: none; }

.product-card-overlay {
	position: absolute; inset: 0; background: rgba(0,0,0,0.5);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px; opacity: 0; transition: opacity var(--wp-store-transition);
	z-index: 2;
}
.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 14px 14px 12px;
	min-height: 0;
}

.product-category {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--wp-store-primary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
	min-height: 1.3em;
}

.product-card .product-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 8px;
	/* Fixed 2-line block — every card reserves the same title space */
	height: calc(1.4em * 2);
	overflow: hidden;
}
.product-card .product-title a {
	color: var(--wp-store-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	word-break: break-word;
	max-height: 100%;
}
.product-card .product-title a:hover { color: var(--wp-store-primary); }

.product-version { font-size: 12px; color: var(--wp-store-text-light); }

.product-card-meta {
	min-height: 22px;
	margin: 0 0 4px;
}

.product-card-footer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-end;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--wp-store-border);
	gap: 8px;
}

.product-price .price-current { font-size: 20px; font-weight: 800; color: var(--wp-store-text); }
.product-price .price-sale { font-size: 20px; font-weight: 800; color: var(--wp-store-success); }
.product-price .price-regular { font-size: 14px; color: var(--wp-store-text-light); text-decoration: line-through; margin-left: 6px; }
.product-price .price-free { font-size: 18px; font-weight: 700; color: var(--wp-store-success); }

/* Features — trust / official license */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.features-grid--six {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 32px 22px 28px;
	background: var(--wp-store-white);
	border-radius: 18px;
	border: 1px solid var(--wp-store-border);
	text-align: center;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card--trust {
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.feature-card--trust::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--wp-store-primary), #14b8a6);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.feature-card:hover,
.feature-card--trust:hover {
	border-color: rgba(13, 148, 136, 0.4);
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.feature-card--trust:hover::before {
	opacity: 1;
}

.feature-icon {
	font-size: 40px;
	margin-bottom: 16px;
}

.feature-icon--svg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(13, 148, 136, 0.16), rgba(15, 23, 42, 0.05));
	color: var(--wp-store-primary);
	box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.12);
	transition: transform 0.28s ease, background 0.28s ease;
}

.feature-card:hover .feature-icon--svg {
	transform: translateY(-2px) scale(1.04);
	background: linear-gradient(145deg, rgba(13, 148, 136, 0.22), rgba(15, 23, 42, 0.06));
}

.feature-card h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.4;
	color: var(--wp-store-navy, #0f172a);
	max-width: 16ch;
}

.feature-card p {
	font-size: 13px;
	line-height: 1.65;
	color: var(--wp-store-text-light);
	margin: 0;
	max-width: 28ch;
}

.home-features .home-section-head--center {
	margin-bottom: 36px;
}

.features-section--trust {
	padding: 56px 0;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f1f5f9 100%);
}

.features-trust-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 12px;
	list-style: none;
	margin: 36px 0 0;
	padding: 0;
}

.features-trust-bar li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--wp-store-border);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--wp-store-navy, #0f172a);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.features-trust-bar li::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp-store-primary);
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.features-grid,
	.features-grid--six {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.feature-card {
		padding: 26px 16px 22px;
	}

	.feature-card h3 {
		font-size: 15px;
		max-width: none;
	}

	.feature-card p {
		font-size: 12.5px;
		max-width: none;
	}
}

@media (max-width: 560px) {
	.features-section--trust {
		padding: 40px 0;
	}

	.features-grid,
	.features-grid--six {
		grid-template-columns: 1fr;
		gap: 12px;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.feature-card {
		padding: 24px 20px;
		align-items: center;
		text-align: center;
	}

	.feature-icon--svg {
		width: 52px;
		height: 52px;
		margin-bottom: 14px;
	}

	.feature-card h3 {
		font-size: 16px;
	}

	.feature-card p {
		font-size: 13px;
		line-height: 1.6;
	}

	.features-trust-bar {
		gap: 8px;
		margin-top: 24px;
	}

	.features-trust-bar li {
		font-size: 11px;
		padding: 7px 11px;
	}
}

/* CTA Banner — navy trust band */
.cta-banner {
	position: relative;
	overflow: hidden;
	padding: 48px 0;
	color: #fff;
	text-align: center;
	background: #0f172a;
}

.cta-banner-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 20% 20%, rgba(13, 148, 136, 0.35) 0%, transparent 55%),
		radial-gradient(ellipse 70% 50% at 85% 80%, rgba(20, 184, 166, 0.2) 0%, transparent 50%),
		linear-gradient(135deg, #020617 0%, #0f172a 45%, #134e4a 100%);
	pointer-events: none;
}

.cta-banner .container {
	position: relative;
	z-index: 1;
}

.cta-content {
	max-width: 720px;
	margin: 0 auto;
}

.cta-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #99f6e4;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cta-content h2 {
	font-size: clamp(1.6rem, 3.2vw, 2.25rem);
	color: #fff !important;
	margin: 0 0 12px;
	line-height: 1.25;
	font-weight: 800;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.cta-content p {
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78) !important;
	opacity: 1;
	margin: 0 auto 28px;
	max-width: 540px;
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 28px;
}

.cta-banner .btn-cta-primary {
	background: #fff;
	color: #0f172a;
	border: none;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
	font-weight: 700;
}

.cta-banner .btn-cta-primary:hover {
	background: #f0fdfa;
	color: #0f766e;
	transform: translateY(-2px);
}

.cta-banner .btn-cta-ghost {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.cta-banner .btn-cta-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.cta-points {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cta-points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
}

.cta-points li::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2dd4bf;
	box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.cta-banner { padding: 48px 0; }
	.cta-actions { flex-direction: column; align-items: stretch; }
	.cta-actions .btn { width: 100%; justify-content: center; }
	.cta-points { gap: 8px 12px; }
	.cta-points li { font-size: 12px; }
}

/* ==========================================================================
   Single Product Page
   ========================================================================== */
.single-product-page { padding: 40px 0 80px; }

.breadcrumbs {
	padding: 16px 0; font-size: 14px; color: var(--wp-store-text-light);
}
.breadcrumbs a { color: var(--wp-store-text-light); }
.breadcrumbs a:hover { color: var(--wp-store-primary); }
.breadcrumbs span { margin: 0 8px; }

.single-product-layout {
	display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
	margin-bottom: 60px;
}

.product-main-image {
	border-radius: var(--wp-store-radius); overflow: hidden;
	border: 1px solid var(--wp-store-border);
}
.product-main-image img { width: 100%; }
.product-placeholder-large {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 4/3; background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
	color: var(--wp-store-text-light);
}

.product-summary .product-title { font-size: 2rem; margin: 4px 0 8px; height: auto; }

.product-meta-row {
	display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
	font-size: 14px; color: var(--wp-store-text-light);
}
.meta-item strong { color: var(--wp-store-text); }

.product-price-box {
	display: flex; align-items: center; gap: 16px;
	padding: 20px; background: #f8fafc; border-radius: var(--wp-store-radius);
	margin-bottom: 24px;
}
.product-price-box .price-current,
.product-price-box .price-sale { font-size: 32px; font-weight: 800; }
.save-badge {
	padding: 4px 12px; background: var(--wp-store-success); color: white;
	font-size: 13px; font-weight: 700; border-radius: 50px;
}

.product-short-desc { font-size: 16px; color: var(--wp-store-text-light); margin-bottom: 28px; }

.product-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

.product-trust-badges {
	display: flex; flex-wrap: wrap; gap: 20px; padding-top: 24px;
	border-top: 1px solid var(--wp-store-border);
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.trust-item span { font-size: 18px; }

/* Product Tabs */
.product-tabs { margin-bottom: 60px; }

.tab-nav {
	display: flex; gap: 4px; border-bottom: 2px solid var(--wp-store-border);
	margin-bottom: 32px;
}
.tab-btn {
	padding: 12px 24px; font-size: 15px; font-weight: 600; font-family: inherit;
	background: none; border: none; cursor: pointer; color: var(--wp-store-text-light);
	border-bottom: 2px solid transparent; margin-bottom: -2px;
	transition: all var(--wp-store-transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--wp-store-primary); border-bottom-color: var(--wp-store-primary); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.entry-content { line-height: 1.8; }
.entry-content h2, .entry-content h3 { margin: 24px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 16px 0; padding-left: 24px; }

.product-details-table { width: 100%; border-collapse: collapse; }
.product-details-table th,
.product-details-table td {
	padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--wp-store-border);
}
.product-details-table th { font-weight: 600; width: 200px; background: #f8fafc; }

.related-products h2 { font-size: 1.5rem; margin-bottom: 32px; }

/* ==========================================================================
   Archive / Page
   ========================================================================== */
.page-header {
	padding: 60px 0; text-align: center;
	background: linear-gradient(135deg, #f8fafc, #fef2f2);
}
.page-header .page-title { font-size: 2.5rem; margin-bottom: 12px; }
.page-header .page-description { color: var(--wp-store-text-light); font-size: 17px; }

.archive-page { padding-bottom: 80px; }
.archive-layout {
	display: grid; grid-template-columns: 1fr 280px; gap: 40px;
	padding: 40px 20px;
}
.archive-content { min-width: 0; }

.pagination {
	display: flex; justify-content: center; gap: 8px; margin-top: 48px;
}
.pagination .nav-links { display: flex; gap: 8px; }
.pagination a, .pagination span {
	display: flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: var(--wp-store-radius-sm); font-weight: 500; font-size: 14px;
	border: 1px solid var(--wp-store-border); color: var(--wp-store-text);
	transition: all var(--wp-store-transition);
}
.pagination a:hover, .pagination .current {
	background: var(--wp-store-primary); color: white; border-color: var(--wp-store-primary);
}

/* WP puts .page-template / .single-post on <body> — never pad the body itself.
   Homepage & flush-hero commerce pages must not get this offset. */
.page-template .site-main:not(.commerce-page):not(.home-page),
.single-post .site-main {
	padding: 40px 0 80px;
}

.home-page {
	padding-top: 0 !important;
	padding-bottom: 0;
}
.entry-header { margin-bottom: 32px; }
.entry-title { font-size: 2.2rem; }
.entry-meta { color: var(--wp-store-text-light); font-size: 14px; margin-top: 8px; }
.entry-thumbnail { margin-bottom: 32px; border-radius: var(--wp-store-radius); overflow: hidden; }

/* 404 */
.error-404 { padding: 100px 0; text-align: center; }
.error-code { font-size: 120px; font-weight: 900; line-height: 1;
	background: linear-gradient(135deg, var(--wp-store-navy), var(--wp-store-primary));
	-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.error-content h1 { font-size: 2rem; margin: 16px 0; }
.error-content p { color: var(--wp-store-text-light); margin-bottom: 32px; }
.error-actions { display: flex; gap: 16px; justify-content: center; }

.no-results { text-align: center; padding: 60px 0; }

/* Sidebar & Shop Filters */
.shop-sidebar .widget { margin-bottom: 24px; }
.shop-sidebar .widget-title { font-size: 16px; margin: 0; }

.shop-filter-panel {
	background: #fff;
	border: 1px solid var(--wp-store-border);
	border-radius: 16px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
	position: sticky;
	top: 100px;
}

.shop-filter-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 22px;
	background: linear-gradient(135deg, var(--wp-store-navy, #0f172a), #1e293b);
	color: #fff;
}

.shop-filter-head-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(255,255,255,0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.shop-filter-head .widget-title { color: #fff; font-size: 17px; }

.shop-filter-block { padding: 20px 22px; border-bottom: 1px solid var(--wp-store-border); }
.shop-filter-block:last-of-type { border-bottom: none; }

.shop-filter-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp-store-text-light);
	margin: 0 0 12px;
}

.shop-filter-select-wrap { position: relative; }
.shop-filter-select-wrap::after {
	content: '';
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	border: 5px solid transparent;
	border-top-color: var(--wp-store-text-light);
	pointer-events: none;
}

.shop-filter-form { display: flex; flex-direction: column; gap: 10px; }
.shop-filter-select {
	width: 100%;
	padding: 12px 36px 12px 14px;
	border: 2px solid var(--wp-store-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	background: #f8fafc;
	cursor: pointer;
	appearance: none;
}

.shop-filter-select:focus { outline: none; border-color: var(--wp-store-primary); background: #fff; }

/* Sidebar sort — radio list (single sort control for the shop) */
.shop-sort-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.shop-sort-option {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	color: var(--wp-store-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

.shop-sort-option:hover {
	background: #f8fafc;
	border-color: var(--wp-store-border);
}

.shop-sort-option.is-active {
	background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(13,148,136,0.04));
	border-color: rgba(13,148,136,0.28);
	color: var(--wp-store-primary);
	font-weight: 700;
}

.shop-sort-option input {
	appearance: none;
	width: 16px;
	height: 16px;
	margin: 0;
	border: 2px solid #cbd5e1;
	border-radius: 50%;
	flex-shrink: 0;
	display: grid;
	place-content: center;
	background: #fff;
}

.shop-sort-option input::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	transform: scale(0);
	background: var(--wp-store-primary);
	transition: transform 0.12s ease;
}

.shop-sort-option input:checked {
	border-color: var(--wp-store-primary);
}

.shop-sort-option input:checked::before {
	transform: scale(1);
}

.shop-sort-option-label { flex: 1; min-width: 0; }

.shop-filter-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; scrollbar-width: thin; }

.shop-filter-cat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--wp-store-text);
	font-size: 14px;
	font-weight: 500;
	border: 1px solid transparent;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.shop-filter-cat:hover { background: #f8fafc; border-color: var(--wp-store-border); color: var(--wp-store-primary); }
.shop-filter-cat.is-active {
	background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(13,148,136,0.04));
	border-color: rgba(13,148,136,0.25);
	color: var(--wp-store-primary);
	font-weight: 700;
}

.shop-filter-count {
	font-size: 11px;
	font-weight: 700;
	background: #f1f5f9;
	color: var(--wp-store-text-light);
	padding: 3px 9px;
	border-radius: 999px;
	min-width: 28px;
	text-align: center;
}

.shop-filter-cat.is-active .shop-filter-count { background: var(--wp-store-primary); color: #fff; }

.shop-filter-clear {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 16px 22px 20px;
	padding: 11px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wp-store-danger);
	text-decoration: none;
	background: #fef2f2;
	border: 1px solid #fecaca;
	transition: background 0.15s;
}

.shop-filter-clear:hover { background: #fee2e2; }

/* Shop catalog layout (archive, category, search) — filter LEFT, products RIGHT */
.shop-catalog-page { padding-top: 0; padding-bottom: 64px; }
.shop-catalog-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 28px;
	padding: 20px 20px 0;
	align-items: start;
}
.shop-catalog-main { min-width: 0; }
.shop-catalog-sidebar-wrap {
	position: sticky;
	top: 100px;
}

/* Shop / category product grid: 3 columns (sidebar layout) */
.shop-catalog-page ul.products,
.shop-catalog-page .products-grid--catalog,
.woocommerce.shop-catalog-page ul.products {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px;
}

@media (max-width: 1024px) {
	.shop-catalog-page ul.products,
	.shop-catalog-page .products-grid--catalog,
	.woocommerce.shop-catalog-page ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px;
	}
}

@media (max-width: 480px) {
	.shop-catalog-page ul.products,
	.shop-catalog-page .products-grid--catalog,
	.woocommerce.shop-catalog-page ul.products {
		grid-template-columns: 1fr !important;
		gap: 12px;
	}
}

.shop-catalog-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	margin-bottom: 24px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid var(--wp-store-border);
	border-radius: 12px;
}

.shop-catalog-toolbar .woocommerce-result-count {
	margin: 0;
	font-size: 14px;
	color: var(--wp-store-text-light);
	font-weight: 600;
}

.shop-catalog-toolbar .woocommerce-ordering {
	display: none !important;
}

.shop-catalog-count { margin: 0; font-size: 14px; color: var(--wp-store-text-light); font-weight: 600; }

.shop-filter-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var(--wp-store-primary);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.shop-filter-toggle:hover { opacity: 0.92; }
.products-grid--catalog { margin-bottom: 16px; }
.shop-pagination { margin-top: 40px; }

.archive-toolbar,
.archive-filter-toggle { display: none; }

/* Live Search Dropdown */
.live-search-panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--wp-store-border);
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
	z-index: 300;
	max-height: 520px;
	overflow: hidden;
	padding: 0;
}

.mobile-search-wrap .live-search-panel {
	position: static;
	margin-top: 10px;
	max-height: 420px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.live-search-results { display: flex; flex-direction: column; }

.live-search-loading,
.live-search-empty {
	padding: 20px 16px;
	font-size: 14px;
	color: var(--wp-store-text-light);
	text-align: center;
	margin: 0;
}

.live-search-list {
	list-style: none;
	margin: 0;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 400px;
	overflow-y: auto;
}

.live-search-card { margin: 0; }
.live-search-card-link {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--wp-store-border);
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.live-search-card-link:hover {
	border-color: var(--wp-store-primary);
	box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
	transform: translateY(-1px);
}

.live-search-card-media img,
.live-search-card-placeholder {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	object-fit: cover;
	display: block;
	border: 1px solid var(--wp-store-border);
}

.live-search-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f1f5f9, #f8fafc);
	color: var(--wp-store-text-light);
}

.live-search-card-body { min-width: 0; }
.live-search-card-cat {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wp-store-primary);
	background: rgba(13,148,136,0.1);
	padding: 2px 8px;
	border-radius: 999px;
	margin-bottom: 4px;
}

.live-search-card-title {
	display: block;
	font-size: 14px;
	line-height: 1.35;
	color: var(--wp-store-navy);
	margin-bottom: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.live-search-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.live-search-card-type {
	font-size: 10px;
	font-weight: 700;
	color: var(--wp-store-text-light);
	background: #f1f5f9;
	padding: 2px 7px;
	border-radius: 4px;
}

.live-search-card-price { font-size: 14px; font-weight: 800; color: var(--wp-store-primary); }
.live-search-card-arrow { color: var(--wp-store-text-light); opacity: 0.5; }
.live-search-card-link:hover .live-search-card-arrow { color: var(--wp-store-primary); opacity: 1; }

.live-search-see-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 14px 16px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(135deg, var(--wp-store-primary), #0d9488);
	border-top: 1px solid rgba(255,255,255,0.15);
	transition: opacity 0.15s;
}

.live-search-see-more span { opacity: 0.85; font-weight: 600; }
.live-search-see-more:hover { opacity: 0.94; color: #fff; }

/* Legacy aliases */
.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding: 36px 20px 0; }
.archive-content { min-width: 0; }
.category-list { list-style: none; }
.category-list li a {
	display: block; padding: 8px 0; color: var(--wp-store-text-light);
	border-bottom: 1px solid var(--wp-store-border); font-size: 14px;
}
.category-list li a:hover { color: var(--wp-store-primary); }

/* ==========================================================================
   Blog — grid + full-width single (no sidebar, no comments)
   ========================================================================== */
.blog-page {
	padding-bottom: 64px;
}

.blog-page .shop-hero,
.blog-single-page .blog-article-hero {
	background: linear-gradient(135deg, var(--wp-store-navy, #0f172a) 0%, #1e293b 100%);
	color: #fff;
	text-align: center;
	padding: 40px 0 36px;
	border-bottom: none;
}

.blog-page .shop-hero .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.blog-page .shop-hero-badge {
	background: rgba(45, 212, 191, 0.2);
	color: #5eead4;
}

.blog-page .shop-hero-title {
	color: #fff;
	font-family: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
	line-height: 1.45;
	padding-top: 0.15em;
}

.blog-page .shop-hero-desc {
	color: rgba(255, 255, 255, 0.78);
	margin: 0 auto;
	max-width: 640px;
	text-align: center;
}

.blog-page-inner {
	padding-top: 28px;
}

.blog-type-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
}

.blog-type-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--wp-store-border);
	background: #fff;
	color: var(--wp-store-text);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.blog-type-filter:hover {
	border-color: var(--wp-store-primary);
	color: var(--wp-store-primary);
}

.blog-type-filter.is-active {
	background: var(--wp-store-navy, #0f172a);
	border-color: var(--wp-store-navy, #0f172a);
	color: #fff;
}

.blog-type-filter--documentation.is-active {
	background: #0f766e;
	border-color: #0f766e;
}

.blog-type-filter--information.is-active {
	background: #0369a1;
	border-color: #0369a1;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.blog-grid--related {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--wp-store-border);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	border-color: transparent;
}

.blog-card-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: linear-gradient(145deg, #ecfeff, #e2e8f0);
	overflow: hidden;
}

.blog-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-media img {
	transform: scale(1.04);
}

.blog-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--wp-store-primary);
	opacity: 0.55;
}

.blog-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 18px 20px;
	gap: 10px;
}

.blog-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	font-size: 12px;
	color: var(--wp-store-text-light);
}

.blog-card-cat {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(13, 148, 136, 0.1);
	color: var(--wp-store-primary);
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.blog-card-cat--documentation {
	background: #ecfdf5;
	color: #0f766e;
}

.blog-card-cat--information {
	background: #e0f2fe;
	color: #0369a1;
}

.blog-card--documentation .blog-card-placeholder {
	background: linear-gradient(135deg, #ecfdf5, #d1fae5);
	color: #0f766e;
}

.blog-card--information .blog-card-placeholder {
	background: linear-gradient(135deg, #e0f2fe, #bae6fd);
	color: #0369a1;
}

.blog-card-title {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
	min-height: calc(1.4em * 2);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.blog-card-title a {
	color: var(--wp-store-text);
	text-decoration: none;
}

.blog-card-title a:hover {
	color: var(--wp-store-primary);
}

.blog-card-excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--wp-store-text-light);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	flex: 1;
}

.blog-card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--wp-store-primary);
	text-decoration: none;
}

.blog-card-link:hover {
	gap: 10px;
}

.blog-pagination {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

/* Single article — full width, no sidebar */
.blog-single-page {
	padding-bottom: 64px;
}

.blog-article-hero {
	padding: 36px 0 32px;
}

.blog-article-hero-inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.blog-article-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.blog-article-back:hover {
	color: #5eead4;
}

.blog-article-cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 14px;
}

.blog-article-cat {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(45, 212, 191, 0.18);
	color: #5eead4;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.blog-article-cat--documentation {
	background: rgba(16, 185, 129, 0.2);
	color: #6ee7b7;
}

.blog-article-cat--information {
	background: rgba(56, 189, 248, 0.2);
	color: #7dd3fc;
}

.blog-article-title {
	font-family: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 800;
	line-height: 1.4;
	color: #fff;
	margin: 0 0 16px;
	padding-top: 0.12em;
}

.blog-article-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 10px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.72);
}

.blog-article-author {
	font-weight: 700;
	color: #fff;
}

.blog-article-cover {
	margin-top: -8px;
	margin-bottom: 36px;
	max-width: 920px;
}

.blog-article-cover-img {
	width: 100%;
	height: auto;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	border-radius: 16px;
	display: block;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.blog-article-content-wrap {
	max-width: 760px;
	margin: 0 auto;
}

.blog-article-content {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--wp-store-text);
}

.blog-article-content > *:first-child {
	margin-top: 0;
}

.blog-article-content h2,
.blog-article-content h3 {
	margin: 1.6em 0 0.6em;
	line-height: 1.35;
	color: var(--wp-store-navy);
}

.blog-article-content p {
	margin: 0 0 1.15em;
}

.blog-article-content a {
	color: var(--wp-store-primary);
	font-weight: 600;
}

.blog-article-content ul,
.blog-article-content ol {
	margin: 0 0 1.15em;
	padding-left: 1.25em;
}

.blog-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.blog-article-footer {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--wp-store-border);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.blog-article-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.blog-article-tags-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp-store-text-light);
	margin-right: 4px;
}

.blog-article-tags a {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: #f1f5f9;
	color: var(--wp-store-text);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.blog-article-tags a:hover {
	background: rgba(13, 148, 136, 0.12);
	color: var(--wp-store-primary);
}

.blog-related {
	padding: 48px 0 0;
	border-top: 1px solid var(--wp-store-border);
	margin-top: 48px;
}

.blog-related .section-header {
	text-align: left;
	margin-bottom: 24px;
}

/* Legacy posts-grid alias */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.post-card {
	background: var(--wp-store-white);
	border-radius: var(--wp-store-radius);
	overflow: hidden;
	border: 1px solid var(--wp-store-border);
}
.post-card-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card-body h2 { font-size: 18px; margin-bottom: 8px; }
.post-card-body h2 a { color: var(--wp-store-text); }
.read-more { font-weight: 600; font-size: 14px; }

@media (max-width: 1100px) {
	.blog-grid,
	.posts-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}
	.blog-grid--related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.blog-grid,
	.blog-grid--related,
	.posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.blog-card-body { padding: 14px; }
	.blog-card-title { font-size: 0.95rem; min-height: calc(1.35em * 2); }
	.blog-card-excerpt { font-size: 13px; -webkit-line-clamp: 2; line-clamp: 2; }
	.blog-article-title { font-size: 1.55rem; }
	.blog-article-cover { margin-bottom: 24px; }
	.blog-article-cover-img { aspect-ratio: 16 / 9; border-radius: 12px; }
	.blog-article-content { font-size: 1rem; }
}

@media (max-width: 480px) {
	.blog-grid,
	.blog-grid--related,
	.posts-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: linear-gradient(180deg, #0b1220 0%, #0f172a 60%, #0a1628 100%);
	color: #94a3b8;
}

.footer-main { padding: 64px 0 48px; }

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 36px 28px;
	align-items: start;
}

.footer-brand .site-title { color: white; margin-bottom: 14px; }
.footer-desc {
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 20px;
	max-width: 34em;
	color: #94a3b8;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 10px;
	background: rgba(255,255,255,0.06); color: #94a3b8;
	border: 1px solid rgba(255,255,255,0.08);
	transition: all var(--wp-store-transition);
}
.footer-social a:hover { background: var(--wp-store-primary); color: white; border-color: transparent; }

.footer-widget-title {
	color: #f8fafc;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 16px;
}

.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li a {
	display: block;
	padding: 7px 0;
	color: #94a3b8;
	font-size: 14px;
	line-height: 1.4;
	transition: color var(--wp-store-transition);
}
.footer-menu li a:hover { color: #5eead4; }

.footer-bottom {
	padding: 18px 0;
	border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
	display: flex; align-items: center; justify-content: center;
	flex-wrap: wrap; gap: 12px;
	text-align: center;
}
.copyright { font-size: 13px; margin: 0; color: #64748b; }

.footer-payments { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.payment-badge {
	padding: 4px 10px; background: rgba(255,255,255,0.08);
	border-radius: 4px; font-size: 11px; font-weight: 600; color: #cbd5e1;
}

/* ==========================================================================
   Mobile sticky footer — Theme Bazar BD style
   Shop · WhatsApp · Wishlist · My account
   ========================================================================== */
.mobile-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: none;
	align-items: stretch;
	justify-content: space-around;
	gap: 0;
	min-height: 0;
	padding: 8px 0 6px;
	padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
	background: #ffffff;
	border-top: 1px solid #e5e7eb;
	box-shadow: none;
}

.mobile-bottom-nav__item {
	position: relative;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-width: 0;
	padding: 6px 4px;
	border-radius: 0;
	color: #1f2937;
	text-decoration: none;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.15;
	transition: color 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item:focus {
	color: #111827;
	outline: none;
	opacity: 1;
}

.mobile-bottom-nav__item.is-active {
	color: var(--wp-store-primary);
	background: transparent;
}

.mobile-bottom-nav__item--whatsapp {
	color: #1f2937;
}

.mobile-bottom-nav__item--whatsapp .mobile-bottom-nav__icon {
	color: #25d366;
	width: 26px;
	height: 26px;
}

.mobile-bottom-nav__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: inherit;
}

.mobile-bottom-nav__icon svg {
	display: block;
}

/* Desktop floating WhatsApp support (hidden on mobile; paint-cheap) */
.wp-store-wa-fab {
	display: none;
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 999;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
	contain: layout style;
}

.wp-store-wa-fab:hover,
.wp-store-wa-fab:focus-visible {
	transform: translateY(-2px);
	color: #fff;
	outline: none;
}

.wp-store-wa-fab__icon {
	display: flex;
	line-height: 0;
}

.wp-store-wa-fab__icon svg {
	display: block;
}

@media (min-width: 769px) {
	.wp-store-wa-fab {
		display: inline-flex;
	}
}

.mobile-bottom-nav__label {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	font-weight: 500;
	color: inherit;
}

.mobile-bottom-nav__badge {
	position: absolute;
	top: 2px;
	right: calc(50% - 16px);
	min-width: 15px;
	height: 15px;
	padding: 0 4px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	:root {
		--wp-store-gutter: 24px;
	}
	.hero-content { grid-template-columns: 1fr; }
	.hero-visual { display: none; }
	.home-page--v2 .hero-visual {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
		height: auto;
	}
	.home-page--v2 .hero-card {
		position: relative;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		max-width: none;
		width: 100%;
		animation: none !important;
	}
	.single-product-layout { grid-template-columns: 1fr; }
	.archive-layout,
	.shop-catalog-layout { grid-template-columns: 1fr; }
	.shop-filter-toggle { display: inline-flex; }
	#shop-filters-panel { display: none; }
	#shop-filters-panel.is-open { display: block; margin-bottom: 24px; }
	#shop-filters-panel.is-open .shop-filter-panel { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.footer-brand { grid-column: 1 / -1; }
	.section-link { position: static; transform: none; display: block; margin-top: 16px; }
	.header-top-inner { column-gap: 18px; }
	.header-search-wrap,
	.wp-store-fibosearch-wrap { max-width: 420px; }
	.primary-menu > li > a { padding: 0 14px; font-size: 12px; }
	.browse-categories-btn { padding-right: 16px; font-size: 12px; }
}

@media (max-width: 768px) {
	:root {
		--wp-store-gutter: 16px;
		--wp-store-mobile-bottom-nav-h: 54px;
	}

	/*
	 * Mobile: pin notice + logo/search as one fixed bar at top: 0.
	 * On scroll, notice collapses — no gap, no content peeking above header.
	 * WP mobile admin bar scrolls away (absolute); do not reserve 46px.
	 */
	.site-header {
		display: block;
	}

	.header-pin {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1001;
		width: 100%;
		background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
		box-shadow: 0 4px 16px rgba(2, 8, 23, 0.14);
	}

	.admin-bar .header-pin {
		top: 0;
	}

	.header-notice-bar {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		z-index: 1;
		width: 100%;
		max-height: none;
		overflow: hidden;
		transform: none;
		opacity: 1;
		visibility: visible;
		display: block;
	}

	.admin-bar .header-notice-bar {
		top: auto;
	}

	/* Hide instantly (no max-height lag) so spacer can match pin with no white gap */
	.site-header.is-scrolled .header-notice-bar {
		display: none !important;
	}

	.header-sticky {
		position: relative;
		top: auto !important;
		left: auto;
		right: auto;
		width: 100%;
		box-shadow: none;
		background: transparent;
	}

	.admin-bar .header-sticky {
		top: auto !important;
	}

	.header-sticky-spacer {
		display: block !important;
		height: var(--wp-store-mobile-header-h, 96px);
		/* Match pin so residual strip never shows as page white */
		background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
		pointer-events: none;
	}

	.header-top-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding-top: 8px;
		padding-bottom: 8px;
		min-height: 52px;
	}

	.header-search-desktop,
	.header-search-wrap.header-search-desktop,
	.header-nav {
		display: none !important;
	}

	/* Account / wishlist live in bottom nav on mobile */
	.header-actions > a.header-icon:not(.header-cart) {
		display: none;
	}

	.header-mobile-search {
		display: block;
		padding: 0 0 8px;
		border-top: 1px solid rgba(255, 255, 255, 0.06);
	}

	.header-mobile-search-inner {
		padding-top: 8px;
		padding-bottom: 0;
	}

	/* Tighter sticky header on scroll (logo + search only) */
	.site-header.is-scrolled .header-top-inner {
		padding-top: 6px;
		padding-bottom: 6px;
		min-height: 48px;
	}

	.site-header.is-scrolled .header-mobile-search {
		padding-bottom: 6px;
	}

	.site-header.is-scrolled .header-mobile-search-inner {
		padding-top: 6px;
	}

	.header-mobile-search .mobile-search-wrap {
		max-width: none;
		margin: 0;
		width: 100%;
	}

	.header-mobile-search .mobile-search-form {
		margin: 0;
	}

	.header-mobile-search .mobile-search-form .search-field,
	.header-mobile-search-form .search-field {
		width: 100%;
		min-height: 44px;
		padding: 10px 14px;
		border: 1px solid rgba(148, 163, 184, 0.28);
		border-radius: 12px;
		background: #fff;
		font-size: 14px;
		color: #0f172a;
	}

	.menu-toggle {
		display: flex;
	}

	.header-actions {
		padding: 2px;
		background: transparent;
		border: none;
		gap: 0;
		margin-left: auto;
	}

	.header-icon {
		width: 38px;
		height: 38px;
	}

	.site-branding .site-title {
		font-size: 15px;
		letter-spacing: 0.03em;
	}

	.site-title-icon svg {
		width: 22px;
		height: 22px;
	}

	.mobile-bottom-nav {
		display: flex;
	}

	body {
		padding-bottom: var(--wp-store-mobile-bottom-nav-h, 54px);
	}

	.hero-section { padding: 22px 0 28px; }
	.hero-visual { display: none; }
	.home-page--v2 .hero-visual {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		height: auto;
		margin-top: 8px;
	}
	.home-page--v2 .hero-card {
		position: relative;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		max-width: none;
		width: 100%;
		animation: none !important;
	}
	.hero-content { grid-template-columns: 1fr; gap: 0; }
	.hero-badge { margin-bottom: 10px; font-size: 11px; }
	.hero-title { font-size: 1.65rem; line-height: 1.4; margin-bottom: 10px; padding-top: 0.1em; }
	.hero-subtitle { font-size: 14px; line-height: 1.55; margin-bottom: 18px; }
	.hero-actions { gap: 10px; margin-bottom: 22px; }
	.hero-actions .btn { min-height: 46px; font-size: 14px; }
	.hero-stats {
		gap: 10px 16px;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.hero-stats .stat { flex: 1 1 28%; min-width: 0; }
	.hero-stats .stat strong { font-size: 1.15rem; }
	.hero-stats .stat span { font-size: 11px; }

	.categories-section,
	.products-section,
	.features-section { padding: 32px 0; }

	.section-header { margin-bottom: 20px; }
	.section-header h2 { font-size: 1.35rem; margin-bottom: 6px; }
	.section-header p { font-size: 13px; margin: 0; }

	.categories-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.category-card {
		padding: 18px 12px;
	}

	.category-icon { font-size: 28px; margin-bottom: 10px; }
	.category-card h3 { font-size: 13px; margin-bottom: 4px; }
	.category-count { font-size: 11px; }

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

	.cta-section { padding: 36px 0; }
	.cta-section h2 { font-size: 1.35rem; }
	.cta-section p { font-size: 13px; }

	/* Compact, professional mobile footer */
	.footer-main {
		padding: 36px 0 24px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px 16px;
	}

	.footer-brand {
		grid-column: 1 / -1;
		text-align: center;
		padding-bottom: 18px;
		margin-bottom: 4px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.footer-brand .site-title {
		justify-content: center;
		margin-bottom: 10px;
	}

	.footer-desc {
		margin: 0 auto 14px;
		font-size: 13px;
		line-height: 1.65;
		max-width: 36em;
	}

	.footer-social {
		justify-content: center;
	}

	.footer-widget-title {
		margin-bottom: 10px;
		font-size: 12px;
	}

	.footer-menu li a {
		padding: 6px 0;
		font-size: 13px;
	}

	.footer-bottom {
		padding: 16px 0 calc(16px + 4px);
		text-align: center;
	}

	.copyright {
		font-size: 12px;
		color: #64748b;
	}

	.tab-nav { overflow-x: auto; }
	.product-actions { flex-direction: column; }
	.product-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
	.hero-actions { flex-direction: column; }
	.hero-actions .btn { width: 100%; }
	.hero-stats {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 8px;
	}
	.hero-stats .stat strong { font-size: 1.05rem; }
	.error-code { font-size: 80px; }
	.site-title-text { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
}

/* ==========================================================================
   Production — overflow safety + device responsive polish
   ========================================================================== */
.products-grid-wrap,
.products-section,
.home-products,
.related-section,
.shop-catalog-main,
.site,
#page {
	max-width: 100%;
	overflow-x: clip;
}

.product-card-orbit {
	overflow: hidden;
	border-radius: 16px;
}

@media (max-width: 768px) {
	.product-card-orbit {
		display: none;
	}

	.product-card-shell {
		padding: 0;
		border-radius: var(--wp-store-radius);
	}

	.home-page--v2 .hero-card {
		max-width: 100%;
	}
}

@media (max-width: 400px) {
	ul.products.products-grid,
	.products-grid--home,
	.products-grid--related,
	.woocommerce ul.products:not(.products-grid--catalog) {
		grid-template-columns: 1fr !important;
	}
}

