/* Kitchenu - Digikala-style shop filters v3 (desktop sidebar   mobile drawer) */

:root {
	--ku-font: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

.ku-shop-toolbar,
.ku-shop-mobile-bar,
.ku-shop-btn,
.ku-shop-sort-bar,
.ku-shop-sort-chip,
.ku-filter-panel,
.ku-filter-drawer,
.ku-sort-drawer,
.ku-shop-active,
.ku-shop-chip,
.ku-product-card,
.ku-brand-bubble,
.ku-sale-badge,
.ku-oos-badge,
.ku-qv,
.ku-qv *:not([class*="icon-"]):not(.fl-icons) {
	font-family: var(--ku-font) !important;
}

body.ku-filter-open {
	overflow: hidden !important;
}

body.woocommerce-shop .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering {
	display: none !important;
}

body.woocommerce-shop .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count {
	display: none !important;
}

/* Toolbar */
.ku-shop-toolbar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	margin: 0 0 18px;
	padding: 16px 18px;
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 18px;
	background: linear-gradient(145deg, #ffffff 0%, #fffdf8 55%, #fff7ed 100%);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 10px 28px rgba(15, 23, 42, 0.07),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	direction: rtl;
}

.ku-shop-toolbar__meta,
.ku-shop-toolbar__count {
	display: none !important;
}

.ku-shop-toolbar__sort-label {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid #fde68a;
	color: #b45309;
	font-size: 12px;
	font-weight: 800;
}

.ku-shop-toolbar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ku-shop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	color: #0f172a;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: all 0.18s ease;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.ku-shop-btn:hover {
	border-color: #fdba74;
	color: #b45309;
	box-shadow: 0 6px 18px rgba(245, 158, 11, 0.14);
	transform: translateY(-1px);
}

.ku-shop-btn--primary {
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 22px rgba(249, 115, 22, 0.24);
}

.ku-shop-btn--primary:hover {
	color: #fff;
	box-shadow: 0 10px 26px rgba(249, 115, 22, 0.32);
}

.ku-shop-btn svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.ku-shop-btn__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.28);
}

.ku-shop-sort-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-width: 0;
}

.ku-shop-sort-bar__label {
	display: none !important;
}

.ku-shop-sort-bar__label svg {
	display: none !important;
}

.ku-shop-sort-bar__track {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	gap: 8px;
	min-width: 0;
	padding: 7px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.88);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.98) inset,
		0 8px 22px rgba(15, 23, 42, 0.06),
		0 0 0 1px rgba(226, 232, 240, 0.75);
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ku-shop-sort-bar__track::-webkit-scrollbar {
	display: none;
}

.ku-shop-sort-chip {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 1 1 0;
	min-width: max-content;
	min-height: 42px;
	padding: 9px 14px;
	border: 1px solid rgba(226, 232, 240, 0.85);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	transition:
		background 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		color 0.22s ease,
		transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
	white-space: nowrap;
}

.ku-shop-sort-chip__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 9px;
	background: rgba(248, 250, 252, 0.98);
	color: #64748b;
	flex-shrink: 0;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset;
	transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ku-shop-sort-chip__icon svg {
	width: 14px;
	height: 14px;
	display: block;
}

.ku-shop-sort-chip__text {
	position: relative;
	z-index: 1;
}

.ku-shop-sort-chip:hover {
	background: rgba(255, 247, 237, 0.96);
	border-color: rgba(253, 186, 116, 0.55);
	color: #0f172a;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(249, 115, 22, 0.1);
}

.ku-shop-sort-chip:hover .ku-shop-sort-chip__icon {
	background: rgba(255, 237, 213, 0.98);
	color: #ea580c;
}

.ku-shop-sort-chip.is-active {
	background: linear-gradient(145deg, #fbbf24 0%, #f97316 46%, #ea580c 100%);
	border-color: rgba(255, 255, 255, 0.42);
	color: #ffffff;
	font-weight: 900;
	transform: translateY(-2px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.38) inset,
		0 -1px 0 rgba(154, 52, 18, 0.18) inset,
		0 14px 30px rgba(249, 115, 22, 0.34),
		0 0 0 1px rgba(249, 115, 22, 0.18);
}

.ku-shop-sort-chip.is-active::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.06) 42%, transparent 100%);
	pointer-events: none;
	z-index: 0;
}

.ku-shop-sort-chip.is-active::after {
	content: '';
	position: absolute;
	inset: 1px;
	border-radius: calc(14px - 1px);
	border: 1px solid rgba(255, 255, 255, 0.22);
	pointer-events: none;
	z-index: 0;
}

.ku-shop-sort-chip.is-active .ku-shop-sort-chip__icon {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.28) inset,
		0 4px 10px rgba(154, 52, 18, 0.12);
}

.ku-shop-sort-chip.is-active .ku-shop-sort-chip__text {
	text-shadow: 0 1px 0 rgba(154, 52, 18, 0.18);
}

.ku-shop-sort-chip.is-active:hover {
	filter: brightness(1.04);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.42) inset,
		0 -1px 0 rgba(154, 52, 18, 0.18) inset,
		0 18px 36px rgba(249, 115, 22, 0.38),
		0 0 0 1px rgba(249, 115, 22, 0.22);
}

.ku-shop-sort-chip:focus-visible {
	outline: none;
	box-shadow:
		0 0 0 3px rgba(245, 158, 11, 0.22),
		0 8px 18px rgba(245, 158, 11, 0.12);
}

.ku-shop-sort-chip.is-active:focus-visible {
	box-shadow:
		0 0 0 3px rgba(245, 158, 11, 0.28),
		0 1px 0 rgba(255, 255, 255, 0.38) inset,
		0 14px 30px rgba(249, 115, 22, 0.34);
}

/* Active chips */
.ku-shop-active {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	direction: rtl;
}

.ku-shop-active:empty {
	display: none;
}

.ku-shop-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 13px;
	border: 1px solid #fde68a;
	border-radius: 999px;
	background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
	color: #92400e;
	font-size: 12px;
	font-weight: 800;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.ku-shop-chip button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #fed7aa;
	color: #9a3412;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

.ku-shop-chip--clear {
	border-color: #fecaca;
	background: #fef2f2;
	color: #b91c1c;
	cursor: pointer;
}

/* Desktop sidebar panel */
#shop-sidebar.ku-filter-ready {
	min-width: 0;
}

#shop-sidebar .ku-filter-panel {
	margin-bottom: 18px;
	width: 100%;
	min-width: 320px;
}

.ku-filter-panel {
	direction: rtl;
	text-align: right;
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 20px;
	background: #fff;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 12px 32px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	padding: 12px;
}

.ku-filter-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 8px 14px;
	margin-bottom: 4px;
	border-bottom: 1px solid #eef2f7;
	background: transparent;
}

.ku-filter-panel__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: #9a3412;
}

.ku-filter-panel__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: 0 0 auto;
	white-space: nowrap;
	min-height: 36px;
	padding: 8px 14px;
	border: 1px solid rgba(254, 202, 202, 0.95);
	border-radius: 12px;
	background:
		linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
	color: #b91c1c;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 4px 14px rgba(185, 28, 28, 0.1);
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		border-color 0.18s ease,
		background 0.18s ease;
}

.ku-filter-panel__clear::before {
	content: '';
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0.85;
}

.ku-filter-panel__clear:hover {
	color: #991b1b;
	border-color: rgba(248, 113, 113, 0.95);
	background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 8px 20px rgba(185, 28, 28, 0.14);
	transform: translateY(-1px);
}

.ku-filter-panel__clear:active {
	transform: translateY(0);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 2px 8px rgba(185, 28, 28, 0.1);
}

.ku-filter-section {
	margin: 0 0 10px;
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 16px;
	background: #ffffff;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 4px 14px rgba(15, 23, 42, 0.05);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ku-filter-section:last-child {
	margin-bottom: 0;
}

.ku-filter-section.is-open {
	border-color: rgba(253, 186, 116, 0.65);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 10px 24px rgba(245, 158, 11, 0.12);
}

.ku-filter-section--price {
	border-color: rgba(253, 186, 116, 0.55);
	background:
		linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.ku-filter-section--price.is-open {
	border-color: rgba(249, 115, 22, 0.45);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 12px 28px rgba(249, 115, 22, 0.14);
}

.ku-filter-section__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	background: transparent;
	color: #0f172a;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	text-align: right;
	transition: background 0.18s ease, color 0.18s ease;
}

.ku-filter-section__toggle:hover {
	background: rgba(248, 250, 252, 0.9);
}

.ku-filter-section.is-open .ku-filter-section__toggle {
	background: linear-gradient(90deg, rgba(255, 251, 235, 0.95) 0%, rgba(255, 255, 255, 0.4) 100%);
	color: #9a3412;
}

.ku-filter-section__title-wrap {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ku-filter-section__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 4px 10px rgba(249, 115, 22, 0.28);
}

.ku-filter-section__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: #fff7ed;
	border: 1px solid #fde68a;
	color: #ea580c;
	flex: 0 0 auto;
}

.ku-filter-section__icon svg {
	width: 16px;
	height: 16px;
}

.ku-filter-section__toggle > svg {
	width: 16px;
	height: 16px;
	transition: transform 0.18s ease;
	color: #64748b;
	flex: 0 0 auto;
}

.ku-filter-section.is-open .ku-filter-section__toggle > svg {
	transform: rotate(180deg);
	color: #ea580c;
}

.ku-filter-section__body {
	display: none;
	padding: 0 14px 14px;
}

.ku-filter-section.is-open .ku-filter-section__body {
	display: block;
	animation: kuFilterReveal 0.22s ease;
}

@keyframes kuFilterReveal {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ku-filter-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 260px;
	overflow: auto;
	padding-left: 2px;
}

.ku-filter-option {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #eef2f7;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ku-filter-option:hover {
	background: #fffbeb;
	border-color: #fde68a;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08);
}

.ku-filter-option input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #f59e0b;
}

.ku-filter-option input:checked + .ku-filter-option__label {
	color: #9a3412;
}

.ku-filter-option__label {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.6;
}

.ku-filter-option__count {
	font-size: 11px;
	font-weight: 800;
	color: #94a3b8;
	white-space: nowrap;
	padding: 4px 8px;
	border-radius: 999px;
	background: #f8fafc;
}

.ku-filter-switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	margin-bottom: 0;
	border: 1px solid #eef2f7;
	border-radius: 14px;
	background: #fff;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
}

.ku-filter-status-cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ku-filter-switch--card {
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 4px 12px rgba(15, 23, 42, 0.05);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ku-filter-switch--card:has(input:checked) {
	border-color: rgba(253, 186, 116, 0.85);
	background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
	box-shadow: 0 8px 18px rgba(245, 158, 11, 0.12);
}

.ku-filter-switch input {
	width: 42px;
	height: 24px;
	accent-color: #f59e0b;
	flex-shrink: 0;
}

/* Price range */
.ku-filter-price {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px;
	border: 1px solid rgba(253, 186, 116, 0.55);
	border-radius: 16px;
	background:
		linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 8px 22px rgba(245, 158, 11, 0.1);
}

.ku-filter-price__hero {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid rgba(253, 186, 116, 0.45);
	background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
	box-shadow: 0 6px 16px rgba(249, 115, 22, 0.08);
}

.ku-filter-price__hero-label {
	font-size: 11px;
	font-weight: 800;
	color: #b45309;
}

.ku-filter-price__hero-value {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.5;
}

.ku-filter-price__inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.ku-filter-price__field {
	padding: 10px;
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.ku-filter-price__inputs label,
.ku-filter-price__range-label,
.ku-filter-price__buckets-label {
	display: block;
	font-size: 11px;
	font-weight: 800;
	color: #64748b;
	margin-bottom: 6px;
}

.ku-filter-price__inputs input {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 800;
	color: #0f172a;
	background: #fff;
	box-sizing: border-box;
}

.ku-filter-price__inputs input:focus {
	outline: none;
	border-color: #fdba74;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.ku-filter-price__range-card {
	padding: 12px;
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 14px;
	background: #ffffff;
}

.ku-filter-price__range {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ku-filter-price__range input[type="range"] {
	width: 100%;
	height: 6px;
	accent-color: #f59e0b;
	cursor: pointer;
}

.ku-filter-price__buckets-wrap {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ku-filter-price__buckets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ku-filter-price__bucket {
	padding: 9px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #fff;
	font-size: 12px;
	font-weight: 800;
	color: #475569;
	cursor: pointer;
	transition: all 0.15s ease;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.ku-filter-price__bucket.is-active,
.ku-filter-price__bucket:hover {
	border-color: #fdba74;
	background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
	color: #b45309;
	box-shadow: 0 6px 16px rgba(245, 158, 11, 0.14);
	transform: translateY(-1px);
}

#shop-sidebar.ku-filter-ready .widget_product_categories,
#shop-sidebar.ku-filter-ready .widget_product_search {
	display: none !important;
}

/* Mobile sticky bar */
.ku-shop-mobile-bar {
	display: none;
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 99990;
	gap: 10px;
	direction: rtl;
}

body.ku-mobile-dock-active .ku-shop-mobile-bar {
	bottom: calc(55px + env(safe-area-inset-bottom, 0px));
}

.ku-shop-mobile-bar .ku-shop-btn {
	flex: 1;
	min-height: 48px;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.18);
}

/* Drawer */
.ku-filter-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99991;
	background: rgba(15, 23, 42, 0.52);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.ku-filter-backdrop.is-visible {
	display: block;
}

.ku-filter-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 100vw);
	z-index: 99992;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: -12px 0 40px rgba(15, 23, 42, 0.2);
	transform: translateX(100%);
	transition: transform 0.28s ease;
	direction: rtl;
}

.ku-filter-drawer.is-open {
	transform: translateX(0);
}

.ku-filter-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 18px 20px;
	border-bottom: 1px solid #eef2f7;
	background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.ku-filter-drawer__title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: #9a3412;
}

.ku-filter-drawer__close {
	width: 40px;
	height: 40px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #64748b;
}

.ku-filter-drawer__body {
	flex: 1;
	overflow: auto;
	padding: 8px 0 120px;
}

.ku-filter-drawer__body .ku-filter-panel {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.ku-filter-drawer__body .ku-filter-panel__head {
	display: none;
}

.ku-filter-drawer__foot {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
	border-top: 1px solid #eef2f7;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
}

.ku-shop-filtering {
	position: relative;
}

.ku-shop-filtering .products {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.ku-shop-filtering::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 16px;
	pointer-events: none;
}

.ku-shop-filtering::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border: 3px solid rgba(245, 158, 11, 0.18);
	border-top-color: #f59e0b;
	border-radius: 50%;
	animation: ku-filter-spin 0.75s linear infinite;
	pointer-events: none;
}

.ku-sort-drawer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99993;
	padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.98);
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
	transform: translateY(110%);
	transition: transform 0.24s ease;
	direction: rtl;
}

.ku-sort-drawer.is-open {
	transform: translateY(0);
}

.ku-sort-drawer__title {
	margin: 0 0 10px;
	padding: 8px 8px 0;
	font-size: 16px;
	font-weight: 800;
	color: #9a3412;
}

.ku-sort-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 15px 12px;
	border: 0;
	border-bottom: 1px solid #f1f5f9;
	background: transparent;
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	cursor: pointer;
	text-align: right;
	border-radius: 12px;
}

.ku-sort-option__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 10px;
	background: #f8fafc;
	color: #64748b;
	flex-shrink: 0;
}

.ku-sort-option__icon svg {
	width: 16px;
	height: 16px;
	display: block;
}

.ku-sort-option__text {
	flex: 1 1 auto;
}

.ku-sort-option:hover {
	background: #fffbeb;
}

.ku-sort-option.is-active {
	color: #b45309;
	background: linear-gradient(90deg, #fff7ed 0%, #ffffff 100%);
}

.ku-sort-option.is-active .ku-sort-option__icon {
	background: rgba(249, 115, 22, 0.12);
	color: #ea580c;
}

.ku-sort-option.is-active::after {
	content: "✓";
	font-weight: 900;
	color: #ea580c;
}

.ku-filter-loading {
	padding: 28px 18px;
	text-align: center;
	color: #64748b;
	font-size: 13px;
	font-weight: 800;
}

.ku-filter-loading::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-left: 8px;
	vertical-align: middle;
	border: 3px solid rgba(245, 158, 11, 0.18);
	border-top-color: #f59e0b;
	border-radius: 50%;
	animation: ku-filter-spin 0.75s linear infinite;
}

@keyframes ku-filter-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 849px) {
	.ku-shop-toolbar {
		margin-bottom: 14px;
		padding: 14px;
		border-radius: 16px;
	}

	.ku-shop-toolbar__desktop-only {
		display: none !important;
	}

	.ku-shop-mobile-bar {
		display: flex;
	}

	body.ku-filter-open .ku-shop-mobile-bar {
		display: none;
	}

	.ku-filter-panel--desktop {
		display: none !important;
	}

	#shop-sidebar.ku-filter-ready {
		display: none !important;
	}

	.ku-filter-drawer {
		width: 100vw;
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
		top: auto;
		height: min(88vh, 760px);
		transform: translateY(110%);
	}

	.ku-filter-drawer.is-open {
		transform: translateY(0);
	}
}

@media (min-width: 850px) {
	.ku-shop-mobile-bar,
	.ku-filter-drawer,
	.ku-filter-backdrop,
	.ku-sort-drawer {
		display: none !important;
	}

	.ku-shop-toolbar__mobile-only {
		display: none !important;
	}

	.col.large-3.hide-for-medium #shop-sidebar.ku-filter-ready {
		display: block !important;
	}

	body.woocommerce-shop .category-page-row > .col.large-3.hide-for-medium,
	body.tax-product_cat .category-page-row > .col.large-3.hide-for-medium,
	body.post-type-archive-product .category-page-row > .col.large-3.hide-for-medium {
		flex: 0 0 330px;
		max-width: 330px;
		width: 330px;
	}

	body.woocommerce-shop .category-page-row > .col.large-9,
	body.tax-product_cat .category-page-row > .col.large-9,
	body.post-type-archive-product .category-page-row > .col.large-9 {
		flex: 1 1 auto;
		max-width: calc(100% - 330px);
		width: auto;
	}
}

/* ============================================================
   Product brand bubble — Win11 card style
   ============================================================ */

.woocommerce .product-small.box .box-image,
.single-product .related.products .box-image,
.single-product .upsells.products .box-image,
body.home .product-small.box .box-image {
	position: relative !important;
}

.ku-brand-bubble {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	max-width: calc(100% - 20px);
	padding: 7px 12px 7px 10px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.82) 100%);
	backdrop-filter: blur(14px) saturate(1.35);
	-webkit-backdrop-filter: blur(14px) saturate(1.35);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 10px 24px rgba(15, 23, 42, 0.14),
		0 2px 6px rgba(15, 23, 42, 0.06);
	pointer-events: none;
}

.ku-brand-bubble::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, transparent 48%);
	pointer-events: none;
}

.ku-brand-bubble__dot {
	position: relative;
	z-index: 1;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	flex-shrink: 0;
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.ku-brand-bubble__text {
	position: relative;
	z-index: 1;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: 0.01em;
}

.ku-brand-bubble--philips .ku-brand-bubble__dot {
	background: linear-gradient(135deg, #1d6fd8 0%, #003087 100%);
	box-shadow: 0 0 0 3px rgba(29, 111, 216, 0.18);
}

.ku-brand-bubble--bosch .ku-brand-bubble__dot {
	background: linear-gradient(135deg, #e30613 0%, #b0000d 100%);
	box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.16);
}

.ku-brand-bubble--braun .ku-brand-bubble__dot {
	background: linear-gradient(135deg, #111111 0%, #4b5563 100%);
	box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.14);
}

.ku-brand-bubble--smeg .ku-brand-bubble__dot {
	background: linear-gradient(135deg, #d71920 0%, #8f1116 100%);
	box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.16);
}

.ku-brand-bubble--lg .ku-brand-bubble__dot,
.ku-brand-bubble--samsung .ku-brand-bubble__dot {
	background: linear-gradient(135deg, #1428a0 0%, #0b1a66 100%);
	box-shadow: 0 0 0 3px rgba(20, 40, 160, 0.16);
}

.ku-brand-bubble--tefal .ku-brand-bubble__dot {
	background: linear-gradient(135deg, #eb212e 0%, #b50f19 100%);
	box-shadow: 0 0 0 3px rgba(235, 33, 46, 0.16);
}

.ku-brand-bubble--kitchenaid .ku-brand-bubble__dot {
	background: linear-gradient(135deg, #c41230 0%, #8f0d23 100%);
	box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.16);
}

.ku-brand-bubble--dyson .ku-brand-bubble__dot {
	background: linear-gradient(135deg, #7b3ff2 0%, #4c1d95 100%);
	box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.16);
}

.ku-brand-bubble--xiaomi .ku-brand-bubble__dot {
	background: linear-gradient(135deg, #ff6900 0%, #d94800 100%);
	box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.16);
}

@media (max-width: 549px) {
	.ku-brand-bubble {
		top: 8px;
		right: 8px;
		padding: 6px 10px 6px 8px;
		border-radius: 10px;
	}

	.ku-brand-bubble__text {
		font-size: 10px;
	}
}

/* ku-shop-product-card Win11 — appended 20260629 */

/* ============================================================
   Kitchenu Product Card â€” Win11 glass rail + colors (20260629)
   ============================================================ */

body.woocommerce-shop .products .product-small.col,
body.tax-product_cat .products .product-small.col,
body.post-type-archive-product .products .product-small.col,
.single-product .related.products .product-small.col,
.single-product .upsells.products .product-small.col,
body.home .product-small.col {
	position: relative;
	z-index: 1;
}

body.woocommerce-shop .products .product-small.box,
body.tax-product_cat .products .product-small.box,
body.post-type-archive-product .products .product-small.box,
.single-product .related.products .product-small.box,
.single-product .upsells.products .product-small.box,
body.home .ku-product-slider .product-small.box,
body.home .ku-black-set-slider .product-small.box {
	display: flex !important;
	flex-direction: column !important;
	border: 1px solid rgba(255, 255, 255, 0.78) !important;
	border-radius: 22px !important;
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.9) 52%, rgba(241, 245, 249, 0.94) 100%) !important;
	backdrop-filter: blur(14px) saturate(1.25);
	-webkit-backdrop-filter: blur(14px) saturate(1.25);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.98) inset,
		0 10px 28px rgba(15, 23, 42, 0.08),
		0 2px 8px rgba(15, 23, 42, 0.04) !important;
	overflow: hidden !important;
	transition:
		transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.34s ease,
		backdrop-filter 0.34s ease !important;
	position: relative !important;
	isolation: isolate;
}

body.woocommerce-shop .products .product-small.box::before,
body.tax-product_cat .products .product-small.box::before,
body.post-type-archive-product .products .product-small.box::before,
.single-product .related.products .product-small.box::before,
.single-product .upsells.products .product-small.box::before,
body.home .ku-product-slider .product-small.box::before,
body.home .ku-black-set-slider .product-small.box::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	border-radius: 22px 22px 0 0;
	background: linear-gradient(90deg, #f59e0b 0%, #f97316 48%, #fbbf24 100%);
	opacity: 0.92;
	z-index: 4;
	pointer-events: none;
}

body.woocommerce-shop .products .product-small.box::after,
body.tax-product_cat .products .product-small.box::after,
body.post-type-archive-product .products .product-small.box::after,
.single-product .related.products .product-small.box::after,
.single-product .upsells.products .product-small.box::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, transparent 42%);
	opacity: 0;
	transition: opacity 0.28s ease;
	pointer-events: none;
	z-index: 1;
}

body.woocommerce-shop .products .product-small.box:hover,
body.tax-product_cat .products .product-small.box:hover,
body.post-type-archive-product .products .product-small.box:hover,
.single-product .related.products .product-small.box:hover,
.single-product .upsells.products .product-small.box:hover,
body.home .ku-product-slider .product-small.box:hover,
body.home .ku-black-set-slider .product-small.box:hover {
	transform: translateY(-12px) scale(1.022) !important;
	border-color: rgba(245, 158, 11, 0.55) !important;
	backdrop-filter: blur(20px) saturate(1.4);
	-webkit-backdrop-filter: blur(20px) saturate(1.4);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.98) inset,
		0 26px 56px rgba(245, 158, 11, 0.2),
		0 12px 32px rgba(15, 23, 42, 0.12),
		0 0 0 1px rgba(245, 158, 11, 0.12) !important;
}

body.woocommerce-shop .products .product-small.box:hover::before,
body.tax-product_cat .products .product-small.box:hover::before,
body.post-type-archive-product .products .product-small.box:hover::before,
.single-product .related.products .product-small.box:hover::before,
.single-product .upsells.products .product-small.box:hover::before,
body.home .ku-product-slider .product-small.box:hover::before,
body.home .ku-black-set-slider .product-small.box:hover::before {
	height: 4px;
	opacity: 1;
	box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

body.woocommerce-shop .products .product-small.box:hover::after,
body.tax-product_cat .products .product-small.box:hover::after,
body.post-type-archive-product .products .product-small.box:hover::after,
.single-product .related.products .product-small.box:hover::after,
.single-product .upsells.products .product-small.box:hover::after {
	opacity: 1;
}

body.woocommerce-shop .products .box-image,
body.tax-product_cat .products .box-image,
body.post-type-archive-product .products .box-image,
.single-product .related.products .box-image,
.single-product .upsells.products .box-image,
body.home .ku-product-slider .box-image,
body.home .ku-black-set-slider .box-image {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 6px 2px 4px !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	min-height: 0 !important;
	aspect-ratio: 1 / 1 !important;
	background:
		radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.88) 72%),
		linear-gradient(160deg, #ffffff 0%, #f8fafc 100%) !important;
	border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;
	border-radius: 22px 22px 0 0 !important;
	overflow: hidden !important;
}

body.woocommerce-shop .products .box-image .image-zoom,
body.tax-product_cat .products .box-image .image-zoom,
body.post-type-archive-product .products .box-image .image-zoom,
.single-product .related.products .box-image .image-zoom,
.single-product .upsells.products .box-image .image-zoom {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 1 1 auto !important;
	width: 99% !important;
	max-width: 99% !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: hidden !important;
	border-radius: 16px !important;
	background: rgba(255, 255, 255, 0.55);
	transition: background 0.34s ease, box-shadow 0.34s ease;
}

body.woocommerce-shop .products .product-small.box:hover .box-image .image-zoom,
body.tax-product_cat .products .product-small.box:hover .box-image .image-zoom,
body.post-type-archive-product .products .product-small.box:hover .box-image .image-zoom {
	background: rgba(255, 255, 255, 0.82);
	box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.12);
}

body.woocommerce-shop .products .box-image .image-zoom > a,
body.tax-product_cat .products .box-image .image-zoom > a,
body.post-type-archive-product .products .box-image .image-zoom > a,
.single-product .related.products .box-image .image-zoom > a,
.single-product .upsells.products .box-image .image-zoom > a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
}

body.woocommerce-shop .products .box-image img,
body.tax-product_cat .products .box-image img,
body.post-type-archive-product .products .box-image img,
.single-product .related.products .box-image img,
.single-product .upsells.products .box-image img {
	width: 99% !important;
	height: auto !important;
	max-width: 99% !important;
	max-height: 99% !important;
	object-fit: contain !important;
	border-radius: 12px !important;
	transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), filter 0.34s ease !important;
}

body.woocommerce-shop .products .box-image .image-tools,
body.tax-product_cat .products .box-image .image-tools,
body.post-type-archive-product .products .box-image .image-tools {
	z-index: 9 !important;
	pointer-events: none;
}

body.woocommerce-shop .products .box-image .image-tools .quick-view,
body.tax-product_cat .products .box-image .image-tools .quick-view,
body.post-type-archive-product .products .box-image .image-tools .quick-view,
body.woocommerce-shop .products .box-image .image-tools a,
body.tax-product_cat .products .box-image .image-tools a,
body.post-type-archive-product .products .box-image .image-tools a {
	pointer-events: auto !important;
	position: relative !important;
	z-index: 10 !important;
}

body.woocommerce-shop .products .product-small.box:hover .box-image img,
body.tax-product_cat .products .product-small.box:hover .box-image img,
body.post-type-archive-product .products .product-small.box:hover .box-image img,
.single-product .related.products .product-small.box:hover .box-image img,
.single-product .upsells.products .product-small.box:hover .box-image img {
	transform: scale(1.06);
	filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.14));
}

body.woocommerce-shop .products .box-text,
body.tax-product_cat .products .box-text,
body.post-type-archive-product .products .box-text,
.single-product .related.products .box-text,
.single-product .upsells.products .box-text {
	padding: 10px 12px 18px !important;
	text-align: center !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	box-sizing: border-box !important;
	position: relative !important;
	overflow: visible !important;
}

/* Override Flatsome grid-style-2 — keep add-to-cart inside card flow */
body.woocommerce-shop .products .box-text.grid-style-2,
body.tax-product_cat .products .box-text.grid-style-2,
body.post-type-archive-product .products .box-text.grid-style-2,
.single-product .related.products .box-text.grid-style-2,
.single-product .upsells.products .box-text.grid-style-2,
body.home .ku-product-slider .box-text.grid-style-2,
body.home .ku-black-set-slider .box-text.grid-style-2 {
	position: relative !important;
	overflow: visible !important;
}

body.woocommerce-shop .products .box-text.grid-style-2 .add-to-cart-button,
body.tax-product_cat .products .box-text.grid-style-2 .add-to-cart-button,
body.post-type-archive-product .products .box-text.grid-style-2 .add-to-cart-button,
.single-product .related.products .box-text.grid-style-2 .add-to-cart-button,
.single-product .upsells.products .box-text.grid-style-2 .add-to-cart-button,
body.home .ku-product-slider .box-text.grid-style-2 .add-to-cart-button,
body.home .ku-black-set-slider .box-text.grid-style-2 .add-to-cart-button,
body.woocommerce-shop .products .has-hover .box-text.grid-style-2 .add-to-cart-button,
body.tax-product_cat .products .has-hover .box-text.grid-style-2 .add-to-cart-button,
body.post-type-archive-product .products .has-hover .box-text.grid-style-2 .add-to-cart-button,
body.woocommerce-shop .products .grid-style-2 .add-to-cart-button,
body.tax-product_cat .products .grid-style-2 .add-to-cart-button,
body.post-type-archive-product .products .grid-style-2 .add-to-cart-button {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;
	transform: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: auto !important;
	flex-shrink: 0 !important;
}

body.woocommerce-shop .products .product-title a,
body.tax-product_cat .products .product-title a,
body.post-type-archive-product .products .product-title a,
.single-product .related.products .product-title a,
.single-product .upsells.products .product-title a {
	color: #0f172a !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.55 !important;
}

/* Hide default horizontal stars — rated uses rail, no-rating hides completely */
.ku-product-card--rated .price-wrapper .star-rating,
.ku-product-card--no-rating .price-wrapper .star-rating {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.ku-product-card--no-rating .ku-product-card__rail {
	display: none !important;
}

/* Meta block — legacy fallback */
.ku-product-card__meta {
	display: none !important;
}

/* Rating rail — right side of image, vertical stack */
.ku-product-card__rail {
	position: absolute;
	top: 50%;
	right: 10px;
	left: auto;
	bottom: auto;
	z-index: 8;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 8px 7px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.78);
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.86) 100%);
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 10px 24px rgba(15, 23, 42, 0.12);
	transition:
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s ease;
	pointer-events: none;
	max-width: calc(100% - 56px);
	overflow: visible;
}

.product-small.box:hover .ku-product-card__rail {
	transform: translateY(calc(-50% - 2px));
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 14px 30px rgba(245, 158, 11, 0.16);
}

.ku-product-card__rail-score {
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	color: #0f172a;
	padding: 4px 6px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	flex-shrink: 0;
}

.ku-product-card__stars {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 0;
	overflow: visible;
}

.ku-product-card__star {
	width: 10px;
	height: 10px;
	display: block;
	flex-shrink: 0;
}

.ku-product-card__star svg {
	width: 100%;
	height: 100%;
	display: block;
}

.ku-product-card__star.is-full svg {
	fill: #f59e0b;
	filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.35));
}

.ku-product-card__star.is-half svg {
	fill: #f59e0b;
	opacity: 0.42;
	filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.2));
}

.ku-product-card__star.is-empty svg {
	fill: rgba(148, 163, 184, 0.35);
}

.ku-product-card__rail--gold .ku-product-card__rail-score {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(251, 191, 36, 0.12) 100%);
	color: #92400e;
}

.ku-product-card__rail--gold .ku-product-card__star.is-full svg {
	fill: #f59e0b;
}

.ku-product-card__rail--amber .ku-product-card__rail-score {
	background: linear-gradient(135deg, rgba(249, 115, 22, 0.16) 0%, rgba(251, 146, 60, 0.1) 100%);
	color: #9a3412;
}

.ku-product-card__rail--amber .ku-product-card__star.is-full svg {
	fill: #f97316;
}

.ku-product-card__rail--silver .ku-product-card__rail-score {
	background: linear-gradient(135deg, rgba(148, 163, 184, 0.18) 0%, rgba(203, 213, 225, 0.12) 100%);
	color: #475569;
}

.ku-product-card__rail--silver .ku-product-card__star.is-full svg {
	fill: #94a3b8;
}

/* Color swatches — left side of image, vertical stack */
.ku-product-card__colors {
	position: absolute;
	top: 50%;
	left: 10px;
	right: auto;
	z-index: 8;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 0;
	padding: 6px 7px;
	margin: 0;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.84) 100%);
	backdrop-filter: blur(12px) saturate(1.25);
	-webkit-backdrop-filter: blur(12px) saturate(1.25);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
	pointer-events: none;
	max-width: calc(100% - 56px);
}

.ku-product-card__colors:empty {
	display: none;
}

.ku-product-card__colors-label {
	font-size: 10px;
	font-weight: 700;
	color: #64748b;
	margin-left: 2px;
}

.ku-color-swatch {
	--ku-color: #cbd5e1;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	border: 2px solid rgba(255, 255, 255, 0.95);
	background: var(--ku-color);
	box-shadow:
		0 0 0 1px rgba(15, 23, 42, 0.12),
		0 4px 10px rgba(15, 23, 42, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: default;
}

.ku-color-swatch.is-default {
	box-shadow:
		0 0 0 2px rgba(245, 158, 11, 0.55),
		0 0 0 1px rgba(15, 23, 42, 0.12),
		0 4px 10px rgba(15, 23, 42, 0.08);
}

.product-small.box:hover .ku-color-swatch {
	transform: translateY(-1px);
}

.ku-color-swatch--light {
	box-shadow:
		0 0 0 1px rgba(15, 23, 42, 0.16),
		0 4px 10px rgba(15, 23, 42, 0.08);
}

/* Price pill — amount + unit split */
body.woocommerce-shop .products .price .woocommerce-Price-amount,
body.tax-product_cat .products .price .woocommerce-Price-amount,
body.post-type-archive-product .products .price .woocommerce-Price-amount,
.single-product .related.products .price .woocommerce-Price-amount,
.single-product .upsells.products .price .woocommerce-Price-amount {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ku-price-pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	border-radius: 14px;
	background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
	line-height: 1.2;
}

.ku-price-pill--old {
	background: linear-gradient(145deg, #64748b 0%, #94a3b8 100%);
	opacity: 0.85;
	box-shadow: none;
}

.ku-price-pill--old .ku-price-pill__amount {
	text-decoration: line-through;
	opacity: 0.92;
}

.ku-price-pill__amount {
	color: #ffffff;
	font-size: 17px;
	font-weight: 900;
	letter-spacing: -0.02em;
	flex: 1 1 auto;
	min-width: 0;
	text-align: right;
	line-height: 1.15;
}

.ku-price-pill__unit {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	padding: 3px 9px;
	border-radius: 9px;
	background: rgba(251, 191, 36, 0.2);
	color: #fde68a;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	border: 1px solid rgba(251, 191, 36, 0.32);
}

.ku-price-pill--old .ku-price-pill__unit {
	background: rgba(255, 255, 255, 0.14);
	color: #f8fafc;
	border-color: rgba(255, 255, 255, 0.2);
}

body.woocommerce-shop .products .price ins .ku-price-pill,
body.tax-product_cat .products .price ins .ku-price-pill,
body.post-type-archive-product .products .price ins .ku-price-pill {
	background: linear-gradient(145deg, #ea580c 0%, #c2410c 100%);
	box-shadow: 0 8px 18px rgba(234, 88, 12, 0.24);
}

/* Legacy price pill fallback (before JS enhances) */
body.woocommerce-shop .products .price .woocommerce-Price-amount bdi,
body.tax-product_cat .products .price .woocommerce-Price-amount bdi,
body.post-type-archive-product .products .price .woocommerce-Price-amount bdi {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
}

/* Win11 add-to-cart card button */
.ku-product-card__atc,
body.woocommerce-shop .products .add-to-cart-button .button,
body.tax-product_cat .products .add-to-cart-button .button,
body.post-type-archive-product .products .add-to-cart-button .button,
body.woocommerce-shop .products .add-to-cart-button a.button,
body.tax-product_cat .products .add-to-cart-button a.button,
body.post-type-archive-product .products .add-to-cart-button a.button,
.single-product .related.products .add-to-cart-button .button,
.single-product .upsells.products .add-to-cart-button .button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 40px !important;
	padding: 9px 12px !important;
	border-radius: 14px !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	background:
		linear-gradient(135deg, #f59e0b 0%, #f97316 52%, #ea580c 100%) !important;
	color: #ffffff !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.28) inset,
		0 10px 22px rgba(249, 115, 22, 0.28) !important;
	transition:
		box-shadow 0.22s ease,
		filter 0.22s ease !important;
}

.ku-product-card__atc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.18);
	flex-shrink: 0;
}

.ku-product-card__atc-icon svg {
	width: 13px;
	height: 13px;
	display: block;
}

.ku-product-card__atc-text {
	line-height: 1.2;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ku-product-card__atc:hover,
body.woocommerce-shop .products .add-to-cart-button .button:hover,
body.tax-product_cat .products .add-to-cart-button .button:hover,
body.post-type-archive-product .products .add-to-cart-button .button:hover,
body.woocommerce-shop .products .product-small.box:hover .ku-product-card__atc,
body.tax-product_cat .products .product-small.box:hover .ku-product-card__atc,
body.post-type-archive-product .products .product-small.box:hover .ku-product-card__atc {
	transform: none !important;
	color: #ffffff !important;
	filter: brightness(1.05);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.36) inset,
		0 14px 28px rgba(249, 115, 22, 0.34) !important;
}

body.woocommerce-shop .products .add-to-cart-button,
body.tax-product_cat .products .add-to-cart-button,
body.post-type-archive-product .products .add-to-cart-button,
.single-product .related.products .add-to-cart-button,
.single-product .upsells.products .add-to-cart-button {
	display: flex !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	margin-top: auto !important;
	margin-bottom: 6px !important;
	padding: 6px 0 0 !important;
	box-sizing: border-box !important;
}

.ku-product-card .screen-reader-text,
.ku-product-card [id^="woocommerce_loop_add_to_cart_link_describedby"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.woocommerce-shop .products .product-small.col > .col-inner,
body.tax-product_cat .products .product-small.col > .col-inner,
body.post-type-archive-product .products .product-small.col > .col-inner {
	overflow: hidden !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body.woocommerce-shop .products .product-small.box,
body.tax-product_cat .products .product-small.box,
body.post-type-archive-product .products .product-small.box {
	box-sizing: border-box !important;
	max-width: 100% !important;
	overflow: hidden !important;
}

body.woocommerce-shop .products .add-to-cart-button .button,
body.tax-product_cat .products .add-to-cart-button .button,
body.post-type-archive-product .products .add-to-cart-button .button,
body.woocommerce-shop .products .add-to-cart-button a.button,
body.tax-product_cat .products .add-to-cart-button a.button,
body.post-type-archive-product .products .add-to-cart-button a.button,
.single-product .related.products .add-to-cart-button .button,
.single-product .upsells.products .add-to-cart-button .button {
	display: flex !important;
	width: 100% !important;
	max-width: 100% !important;
	border-bottom: 0 !important;
	text-decoration: none !important;
}

@media (max-width: 849px) {
	.ku-product-card__rail {
		right: 8px;
		padding: 6px 8px;
		border-radius: 12px;
		transform: translateY(-50%);
	}

	.ku-product-card__colors {
		left: 8px;
		padding: 5px 6px;
		gap: 4px;
	}

	.ku-color-swatch {
		width: 15px;
		height: 15px;
	}

	.ku-product-card__star {
		width: 9px;
		height: 9px;
	}

	.product-small.box:hover .ku-product-card__rail {
		transform: translateY(calc(-50% - 2px));
	}
}

@media (max-width: 849px) {
	body.woocommerce-shop .products .box-image .image-tools.grid-tools.hide-for-small,
	body.tax-product_cat .products .box-image .image-tools.grid-tools.hide-for-small,
	body.post-type-archive-product .products .box-image .image-tools.grid-tools.hide-for-small {
		display: block !important;
	}
}

@media (max-width: 549px) {
	body.woocommerce-shop .products .product-small.box,
	body.tax-product_cat .products .product-small.box,
	body.post-type-archive-product .products .product-small.box {
		border-radius: 18px !important;
	}

	.ku-product-card__rail {
		right: 8px;
		top: 50%;
		transform: translateY(-50%);
	}

	.ku-product-card__colors {
		left: 8px;
	}

	.product-small.box:hover .ku-product-card__rail {
		transform: translateY(calc(-50% - 2px));
	}
}


/* Related products section title */
.single-product .related.products > h3,
.single-product .upsells.products > h3 {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 12px 20px !important;
	margin: 0 0 16px !important;
	border-radius: 18px !important;
	border: 1px solid rgba(245, 158, 11, 0.35) !important;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 251, 235, 0.98) 100%) !important;
	color: #0f172a !important;
	font-size: 17px !important;
	font-weight: 800 !important;
	box-shadow: 0 12px 30px rgba(245, 158, 11, 0.1) !important;
}

.single-product .related.products,
.single-product .upsells.products {
	margin-top: 28px !important;
	padding: 18px 16px 20px !important;
	border-radius: 22px !important;
	background:
		radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.65) 0%, transparent 42%),
		linear-gradient(155deg, #fafafa 0%, #f5f5f5 38%, #ececec 100%) !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06) !important;
}

body.woocommerce-shop .loop-product-page-asli,
body.tax-product_cat .loop-product-page-asli,
body.post-type-archive-product .loop-product-page-asli {
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

/* ============================================================
   Out of stock badge — Win11 animated card (20260630)
   ============================================================ */

.product.out-of-stock .box-image,
.product.outofstock .box-image {
	position: relative !important;
}

.product.out-of-stock .box-image::before,
.product.outofstock .box-image::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 4;
	border-radius: inherit;
	background:
		linear-gradient(165deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.22) 100%);
	pointer-events: none;
}

.product.out-of-stock .box-image img,
.product.outofstock .box-image img {
	filter: grayscale(0.45) saturate(0.65) brightness(0.92) !important;
	opacity: 0.78 !important;
	transition: filter 0.28s ease, opacity 0.28s ease !important;
}

.product.out-of-stock .product-small.box,
.product.outofstock .product-small.box {
	border-color: rgba(148, 163, 184, 0.35) !important;
}

.product.out-of-stock .product-small.box::before,
.product.outofstock .product-small.box::before {
	background: linear-gradient(90deg, #94a3b8 0%, #64748b 50%, #94a3b8 100%) !important;
	opacity: 0.75 !important;
}

.product.out-of-stock .product-small.box:hover,
.product.outofstock .product-small.box:hover {
	transform: translateY(-4px) scale(1.008) !important;
	border-color: rgba(100, 116, 139, 0.45) !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.98) inset,
		0 16px 36px rgba(15, 23, 42, 0.12) !important;
}

.box-image .out-of-stock-label,
.out-of-stock-label.ku-oos-badge {
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	transform: translate(-50%, -50%) !important;
	width: auto !important;
	min-width: 132px !important;
	max-width: calc(100% - 28px) !important;
	padding: 0 !important;
	margin: 0 !important;
	opacity: 1 !important;
	text-transform: none !important;
	background: transparent !important;
	border: none !important;
	z-index: 7 !important;
	pointer-events: none !important;
}

.ku-oos-badge__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 12px 16px 11px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	background:
		linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.88) 100%);
	backdrop-filter: blur(16px) saturate(1.35);
	-webkit-backdrop-filter: blur(16px) saturate(1.35);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 14px 32px rgba(15, 23, 42, 0.18),
		0 0 0 1px rgba(239, 68, 68, 0.12);
	animation:
		ku-oos-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both,
		ku-oos-float 3.2s ease-in-out 0.55s infinite;
	overflow: hidden;
}

.ku-oos-badge__card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
	transform: translateX(-120%);
	animation: ku-oos-shimmer 3.6s ease-in-out 1.2s infinite;
	pointer-events: none;
}

.ku-oos-badge__ring {
	position: absolute;
	inset: -4px;
	border-radius: 18px;
	border: 2px solid rgba(239, 68, 68, 0.45);
	animation: ku-oos-ring 2.4s ease-out infinite;
	pointer-events: none;
}

.ku-oos-badge__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	color: #ffffff;
	box-shadow: 0 8px 18px rgba(239, 68, 68, 0.32);
	animation: ku-oos-icon-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.ku-oos-badge__icon svg {
	width: 16px;
	height: 16px;
	display: block;
}

.ku-oos-badge__title {
	position: relative;
	z-index: 1;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
	color: #991b1b;
	letter-spacing: -0.01em;
}

.ku-oos-badge__sub {
	position: relative;
	z-index: 1;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	color: #64748b;
}

@keyframes ku-oos-enter {
	from {
		opacity: 0;
		transform: scale(0.86);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

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

@keyframes ku-oos-shimmer {
	0%, 100% {
		transform: translateX(-120%);
	}
	45%, 55% {
		transform: translateX(120%);
	}
}

@keyframes ku-oos-ring {
	0% {
		transform: scale(0.92);
		opacity: 0.65;
	}
	70% {
		transform: scale(1.12);
		opacity: 0;
	}
	100% {
		transform: scale(1.12);
		opacity: 0;
	}
}

@keyframes ku-oos-icon-pop {
	from {
		transform: scale(0.6) rotate(-8deg);
		opacity: 0;
	}
	to {
		transform: scale(1) rotate(0deg);
		opacity: 1;
	}
}

@media (max-width: 549px) {
	.ku-oos-badge__card {
		min-width: 118px;
		padding: 10px 12px 9px;
		border-radius: 14px;
	}

	.ku-oos-badge__title {
		font-size: 12px;
	}

	.ku-oos-badge__sub {
		font-size: 9px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ku-oos-badge__card,
	.ku-oos-badge__ring,
	.ku-oos-badge__icon,
	.ku-oos-badge__card::before {
		animation: none !important;
	}
}

/* ku-shop-cards-v2 — equal height, sale badge, rating fix (20260708) */

body.woocommerce-shop .products.row,
body.tax-product_cat .products.row,
body.post-type-archive-product .products.row {
	align-items: stretch !important;
}

body.woocommerce-shop .products .product-small.col,
body.tax-product_cat .products .product-small.col,
body.post-type-archive-product .products .product-small.col {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
}

body.woocommerce-shop .products .product-small.col > .col-inner,
body.tax-product_cat .products .product-small.col > .col-inner,
body.post-type-archive-product .products .product-small.col > .col-inner {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	height: 100% !important;
}

body.woocommerce-shop .products .product-small.box,
body.tax-product_cat .products .product-small.box,
body.post-type-archive-product .products .product-small.box {
	height: 100% !important;
	min-height: 380px !important;
}

body.woocommerce-shop .products .title-wrapper .product-title,
body.tax-product_cat .products .title-wrapper .product-title,
body.post-type-archive-product .products .title-wrapper .product-title {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
	min-height: calc(2 * 1.55 * 13px) !important;
}

body.woocommerce-shop .products .box-text .price-wrapper,
body.tax-product_cat .products .box-text .price-wrapper,
body.post-type-archive-product .products .box-text .price-wrapper {
	width: 100% !important;
	min-height: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: center !important;
	gap: 3px !important;
}

body.woocommerce-shop .products .box-text .price-wrapper .price,
body.tax-product_cat .products .box-text .price-wrapper .price,
body.post-type-archive-product .products .box-text .price-wrapper .price {
	width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 3px !important;
}

body.woocommerce-shop .products .price .woocommerce-Price-amount,
body.tax-product_cat .products .price .woocommerce-Price-amount,
body.post-type-archive-product .products .price .woocommerce-Price-amount {
	width: 100% !important;
}

.ku-product-card .box-text::after {
	content: none !important;
	display: none !important;
	min-height: 0 !important;
}

.ku-product-card .box-text .add-to-cart-button,
.ku-product-card .add-to-cart-button {
	margin-top: auto !important;
	margin-bottom: 6px !important;
	flex-shrink: 0 !important;
	padding-top: 6px !important;
}

body.woocommerce-shop .products .product-small.col:has(.ku-product-card--rated),
body.tax-product_cat .products .product-small.col:has(.ku-product-card--rated),
body.post-type-archive-product .products .product-small.col:has(.ku-product-card--rated) {
	padding-left: 0 !important;
}

.ku-sale-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 7;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 11px 7px 9px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 52%, #b91c1c 100%);
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.28) inset,
		0 10px 22px rgba(220, 38, 38, 0.32);
	overflow: hidden;
	pointer-events: none;
	animation: kuSaleBadgeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ku-sale-badge__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
	transform: translateX(-120%);
	animation: kuSaleShine 3.2s ease-in-out infinite;
}

.ku-sale-badge__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.18);
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.ku-sale-badge__icon svg {
	width: 11px;
	height: 11px;
	display: block;
}

.ku-sale-badge__text {
	position: relative;
	z-index: 1;
	letter-spacing: 0.01em;
}

.ku-product-card--sale .ku-brand-bubble {
	top: 44px;
}

.ku-brand-bubble {
	animation: kuBrandBubbleIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes kuSaleBadgeIn {
	from {
		opacity: 0;
		transform: translateY(-6px) scale(0.92);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes kuSaleShine {
	0%, 72%, 100% { transform: translateX(-120%); }
	40% { transform: translateX(120%); }
}

@keyframes kuBrandBubbleIn {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 549px) {
	body.woocommerce-shop .products .product-small.box,
	body.tax-product_cat .products .product-small.box,
	body.post-type-archive-product .products .product-small.box {
		min-height: 360px !important;
	}

	.ku-sale-badge {
		top: 8px;
		left: 8px;
		padding: 6px 9px 6px 7px;
		font-size: 10px;
	}

	.ku-product-card--sale .ku-brand-bubble {
		top: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ku-sale-badge,
	.ku-brand-bubble,
	.ku-sale-badge__shine {
		animation: none !important;
	}
}

/* ku-shop-cards-v3 — grid-style-2 ATC fix, 5-star rail, price pill (20260715) */

/* Custom Kitchenu quick view modal — replaces Flatsome mfp (20260711) */
body.ku-qv-open {
	overflow: hidden !important;
}

.ku-qv {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.24s ease, visibility 0.24s ease;
}

.ku-qv.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.ku-qv__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.52);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.ku-qv__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	max-height: min(88vh, 760px);
	overflow: hidden;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.78);
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.98) inset,
		0 28px 64px rgba(15, 23, 42, 0.22),
		0 0 0 1px rgba(245, 158, 11, 0.08);
	direction: rtl;
}

.ku-qv__dialog::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	border-radius: 24px 24px 0 0;
	background: linear-gradient(90deg, #f59e0b 0%, #f97316 48%, #fbbf24 100%);
	z-index: 2;
	pointer-events: none;
}

.ku-qv__close {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 5;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.92);
	color: #0f172a;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.ku-qv__loader {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.72);
}

.ku-qv__loader::after {
	content: '';
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 3px solid rgba(245, 158, 11, 0.18);
	border-top-color: #f59e0b;
	animation: ku-filter-spin 0.75s linear infinite;
}

.ku-qv.is-loading .ku-qv__loader {
	display: flex;
}

.ku-qv__body {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 0;
	max-height: min(88vh, 760px);
}

.ku-qv__gallery {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	border-left: 1px solid rgba(15, 23, 42, 0.06);
	background:
		radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 72%);
	min-height: 0;
}

.ku-qv__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 280px;
	border-radius: 18px;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

.ku-qv__main-img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: min(52vh, 420px);
	object-fit: contain;
}

.ku-qv__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.ku-qv__thumb {
	width: 62px;
	height: 62px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.ku-qv__thumb.is-active {
	border-color: #f97316;
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
}

.ku-qv__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ku-qv__info {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 22px 20px;
	overflow: auto;
	min-height: 0;
}

.ku-qv__title {
	margin: 0;
	padding-left: 42px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.65;
	color: #0f172a;
}

.ku-qv__prices {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	width: 100%;
}

.ku-qv__price-pill-wrap {
	width: 100%;
}

.ku-qv__price-pill-wrap .ku-price-pill {
	width: 100%;
	padding: 11px 14px;
	border-radius: 14px;
}

.ku-qv__price-pill-wrap .ku-price-pill__amount {
	font-size: 18px;
}

.ku-qv__price-pill-wrap .ku-price-pill__unit {
	font-size: 11px;
}

.ku-qv__prices--html .woocommerce-Price-amount {
	width: 100%;
}

.ku-qv__price-off {
	display: inline-flex;
	align-self: flex-start;
	padding: 5px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.ku-qv__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ku-qv-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 11px;
	border-radius: 999px;
	border: 1px solid rgba(226, 232, 240, 0.95);
	background: rgba(255, 255, 255, 0.92);
	font-size: 11px;
	font-weight: 800;
	color: #334155;
}

.ku-qv-badge--brand {
	border-color: rgba(253, 186, 116, 0.55);
	background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
	color: #b45309;
}

.ku-qv-badge--sale {
	border-color: rgba(252, 165, 165, 0.65);
	background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
	color: #dc2626;
}

.ku-qv-badge--stock {
	border-color: rgba(167, 243, 208, 0.75);
	background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%);
	color: #059669;
}

.ku-qv-badge--oos {
	border-color: rgba(254, 202, 202, 0.75);
	background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
	color: #b91c1c;
}

.ku-qv-badge--rating {
	border-color: rgba(253, 230, 138, 0.75);
	background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
	color: #b45309;
}

.ku-qv-badge--tag {
	border-color: rgba(191, 219, 254, 0.75);
	background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
	color: #1d4ed8;
}

.ku-qv__price-row {
	display: none;
}

.ku-qv__price-old {
	display: none;
}

.ku-qv__price-now,
.ku-qv__price-row .woocommerce-Price-amount {
	color: #0f172a;
	font-size: 22px;
	font-weight: 900;
	text-decoration: none;
}

.ku-qv__prices--html {
	width: 100%;
}

.ku-qv__prices--html .price {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ku-qv__prices--html .woocommerce-Price-amount {
	width: 100%;
}

.ku-qv__specs {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ku-qv__specs-title {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	color: #b45309;
}

.ku-qv__specs-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ku-qv__specs.is-clamped .ku-qv__specs-list {
	max-height: 210px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

.ku-qv__specs-list li {
	position: relative;
	padding: 11px 14px 11px 16px;
	padding-inline-start: 38px;
	border-radius: 12px;
	background: rgba(248, 250, 252, 0.96);
	border: 1px solid rgba(226, 232, 240, 0.9);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.75;
	color: #334155;
}

.ku-qv__specs-list li::before {
	content: '';
	position: absolute;
	inset-inline-start: 14px;
	top: 1.15em;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	transform: translateY(-50%);
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.ku-qv__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-top: 2px;
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px dashed rgba(245, 158, 11, 0.45);
	background: rgba(255, 247, 237, 0.72);
	color: #c2410c;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.ku-qv__more:hover {
	background: rgba(255, 237, 213, 0.95);
	border-color: rgba(249, 115, 22, 0.55);
	color: #9a3412;
}

.ku-qv__product-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: auto;
	padding: 12px 16px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 52%, #ea580c 100%);
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.28) inset,
		0 10px 22px rgba(249, 115, 22, 0.28);
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.ku-qv__product-link:hover {
	filter: brightness(1.05);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.36) inset,
		0 14px 28px rgba(249, 115, 22, 0.34);
}

@media (max-width: 849px) {
	.ku-qv {
		padding: 0;
		align-items: flex-end;
	}

	.ku-qv__backdrop {
		background: rgba(15, 23, 42, 0.45);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
	}

	.ku-qv__dialog {
		width: 100%;
		max-width: 100%;
		max-height: min(94dvh, 94vh);
		border-radius: 18px 18px 0 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;
		box-shadow:
			0 -8px 32px rgba(15, 23, 42, 0.18),
			0 0 0 1px rgba(245, 158, 11, 0.06);
	}

	.ku-qv__dialog::before {
		border-radius: 18px 18px 0 0;
		height: 3px;
	}

	.ku-qv__dialog::after {
		content: '';
		position: absolute;
		top: 8px;
		left: 50%;
		z-index: 6;
		width: 42px;
		height: 4px;
		border-radius: 999px;
		background: rgba(148, 163, 184, 0.45);
		transform: translateX(-50%);
		pointer-events: none;
	}

	.ku-qv__close {
		top: 10px;
		left: 10px;
		width: 34px;
		height: 34px;
		font-size: 20px;
		border-radius: 10px;
		box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
	}

	.ku-qv__body {
		grid-template-columns: 1fr;
		max-height: min(94dvh, 94vh);
	}

	.ku-qv__gallery {
		border-left: 0;
		border-bottom: 1px solid rgba(15, 23, 42, 0.05);
		padding: 14px 12px 8px;
		gap: 8px;
		background: #ffffff;
	}

	.ku-qv__stage {
		min-height: 0;
		max-height: 38dvh;
		min-height: 150px;
		border-radius: 14px;
		border: 0;
		background: transparent;
	}

	.ku-qv__main-img {
		max-height: 36dvh;
	}

	.ku-qv__thumbs {
		gap: 6px;
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 2px;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.ku-qv__thumbs::-webkit-scrollbar {
		display: none;
	}

	.ku-qv__thumb {
		width: 48px;
		height: 48px;
		flex-shrink: 0;
		border-radius: 10px;
	}

	.ku-qv__info {
		padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
		gap: 8px;
	}

	.ku-qv__title {
		font-size: 14px;
		line-height: 1.55;
		padding-left: 38px;
	}

	.ku-qv__badges {
		gap: 5px;
	}

	.ku-qv-badge {
		padding: 4px 8px;
		font-size: 10px;
	}

	.ku-qv__prices {
		gap: 6px;
	}

	.ku-qv__price-pill-wrap .ku-price-pill {
		padding: 9px 12px;
		border-radius: 12px;
	}

	.ku-qv__price-pill-wrap .ku-price-pill__amount {
		font-size: 16px;
	}

	.ku-qv__specs {
		gap: 6px;
	}

	.ku-qv__specs-title {
		font-size: 12px;
	}

	.ku-qv__specs-list {
		gap: 6px;
	}

	.ku-qv__specs.is-clamped .ku-qv__specs-list {
		max-height: 130px;
	}

	.ku-qv__specs-list li {
		padding: 8px 12px 8px 14px;
		padding-inline-start: 30px;
		font-size: 11.5px;
		line-height: 1.65;
		border-radius: 10px;
	}

	.ku-qv__specs-list li::before {
		inset-inline-start: 12px;
		width: 6px;
		height: 6px;
	}

	.ku-qv__more {
		padding: 9px 12px;
		font-size: 11px;
		border-radius: 10px;
	}

	.ku-qv__product-link {
		padding: 11px 14px;
		font-size: 12px;
		border-radius: 12px;
		margin-top: 4px;
	}
}

@media (max-width: 549px) {
	.ku-qv__dialog {
		border-radius: 16px 16px 0 0;
		max-height: min(96dvh, 96vh);
	}

	.ku-qv__gallery {
		padding: 12px 10px 6px;
	}

	.ku-qv__stage {
		min-height: 130px;
		max-height: 34dvh;
	}

	.ku-qv__main-img {
		max-height: 32dvh;
	}

	.ku-qv__info {
		padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		gap: 6px;
	}

	.ku-qv__title {
		font-size: 13px;
		padding-left: 34px;
	}

	.ku-qv__badges .ku-qv-badge:nth-child(n+4) {
		display: none;
	}

	.ku-qv__price-pill-wrap .ku-price-pill__amount {
		font-size: 15px;
	}
}
