/**
 * Koud Addons for Elementor — Frontend Styles
 *
 * Estilos para todos los widgets del plugin.
 * Se carga en el frontend y en el editor de Elementor (preview).
 *
 * @package Koud_Addons
 * @since   1.0.0
 */

/* ═══════════════════════════════════════════════════════════
   Advanced Heading
   ═══════════════════════════════════════════════════════════ */

.koud-advanced-heading {
	position: relative;
}

.koud-heading-title {
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

.koud-heading-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.koud-heading-title a:hover {
	opacity: 0.85;
}

.koud-heading-subtitle {
	margin: 0;
	opacity: 0.8;
	line-height: 1.5;
}

/* ─── Separator ─────────────────────────────────── */

.koud-heading-separator {
	position: relative;
}

.koud-heading-separator span {
	display: inline-block;
	position: relative;
	vertical-align: middle;
}

/* Solid / Dashed / Dotted */
.koud-separator--solid span,
.koud-separator--dashed span,
.koud-separator--dotted span {
	height: 2px;
	border-top: 2px solid currentColor;
}

.koud-separator--dashed span {
	border-top-style: dashed;
}

.koud-separator--dotted span {
	border-top-style: dotted;
}

/* Gradient */
.koud-separator--gradient span {
	height: 2px;
	background: linear-gradient(90deg, currentColor, transparent);
}

/* Double */
.koud-separator--double span {
	height: 6px;
	border-top: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

/* ═══════════════════════════════════════════════════════════
   Add to Cart
   ═══════════════════════════════════════════════════════════ */

/* ─── Wrapper ───────────────────────────────────── */

.koud-add-to-cart-wrapper {
	position: relative;
	display: inline-block;
}

/* ─── Button ────────────────────────────────────── */

.koud-atc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	border: none;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.4;
	text-decoration: none;
	user-select: none;
	white-space: nowrap;
	transition: all 0.3s ease;
}

.koud-atc-btn:hover {
	cursor: pointer;
}

.koud-atc-btn:active {
	transform: scale(0.97);
}

/* ─── Icon ──────────────────────────────────────── */

.koud-atc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.koud-atc-icon svg {
	width: 1em;
	height: 1em;
}

/* ─── Text ──────────────────────────────────────── */

.koud-atc-text {
	display: inline-block;
}

/* ─── Placeholder (editor) ──────────────────────── */

.koud-atc-placeholder {
	padding: 16px;
	border: 2px dashed #ccc;
	border-radius: 4px;
	text-align: center;
	color: #999;
	font-size: 13px;
}

/* ─── Toast Notification ────────────────────────── */

.koud-atc-toast {
	position: absolute;
	bottom: calc(100% + 12px);
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	padding: 8px 16px;
	border-radius: 4px;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.25s ease,
		transform 0.25s ease,
		visibility 0.25s ease;
	z-index: 999;
}

/* Flechita debajo del toast */
.koud-atc-toast::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: inherit;
}

.koud-atc-toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

/* ─── Disabled state ────────────────────────────── */

.koud-atc-btn.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   Product Catalog — Pharma Redesign
   ═══════════════════════════════════════════════════════════ */

/* ─── Wrapper & Custom Properties ───────────────── */

.koud-pc-wrapper {
	--koud-pc-primary: #0f52ba;
	--koud-pc-primary-hover: #0a3d8f;
	--koud-pc-bg: #f8f9ff;
	--koud-pc-card-bg: #ffffff;
	--koud-pc-text: #1a1a2e;
	--koud-pc-text-muted: #6b7280;
	--koud-pc-border: #e5e7eb;
	--koud-pc-font: "Inter", sans-serif;
	--koud-pc-radius: 8px;
	--koud-pc-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	--koud-pc-cols: 4;
	--koud-pc-cols-tablet: 2;
	--koud-pc-cols-mobile: 1;
	--koud-pc-gap: 20px;
	--koud-pc-filter-scroll-max-height: 320px;
	font-family: var(--koud-pc-font);
}

/* ─── Layout: Sidebar + Main ────────────────────── */

.koud-pc-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	align-items: start;
}

.koud-pc-layout--no-sidebar {
	grid-template-columns: 1fr;
}

.koud-pc-layout--no-sidebar .koud-pc-main {
	grid-column: 1 / -1;
}

/* ─── Sidebar ───────────────────────────────────── */

.koud-pc-sidebar {
	position: sticky;
	top: 24px;
	background: var(--koud-pc-card-bg);
	border: 1px solid var(--koud-pc-border);
	border-radius: var(--koud-pc-radius);
	padding: 20px;
}

.koud-pc-filter-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.koud-pc-filter-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.koud-pc-filter-title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--koud-pc-text);
	line-height: 1.4;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--koud-pc-border);
}

.koud-pc-filter-option {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 13px;
	color: var(--koud-pc-text);
	line-height: 1.5;
	padding: 4px 0;
	transition: color 0.15s ease;
}

.koud-pc-filter-option:hover {
	color: var(--koud-pc-primary);
}

.koud-pc-filter-option input[type="checkbox"],
.koud-pc-filter-option input[type="radio"] {
	accent-color: var(--koud-pc-primary);
	margin: 0;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.koud-pc-filter-label {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
}

.koud-pc-filter-count {
	font-size: 12px;
	color: var(--koud-pc-text-muted);
}

.koud-pc-filter-empty {
	font-size: 12px;
	color: var(--koud-pc-text-muted);
	margin: 0;
}

/* ─── Main Content Area ─────────────────────────── */

.koud-pc-main {
	min-width: 0;
}

/* ─── Content Header ────────────────────────────── */

.koud-pc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--koud-pc-border);
	flex-wrap: wrap;
}

/* ─── Sort Dropdown ─────────────────────────────── */

.koud-pc-sort-form {
	flex-shrink: 0;
}

.koud-pc-sort-select {
	padding: 8px 32px 8px 12px;
	border: 1px solid var(--koud-pc-border);
	border-radius: var(--koud-pc-radius);
	background: var(--koud-pc-card-bg);
	font-size: 13px;
	font-family: var(--koud-pc-font);
	color: var(--koud-pc-text);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	transition: border-color 0.2s ease;
}

.koud-pc-sort-select:focus {
	outline: none;
	border-color: var(--koud-pc-primary);
	box-shadow: 0 0 0 2px rgba(15, 82, 186, 0.15);
}

/* ─── Search Form ───────────────────────────────── */

.koud-pc-search-form {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 220px;
	max-width: 420px;
}

.koud-pc-search-form.is-loading {
	pointer-events: none;
}

.koud-pc-wrapper .koud-pc-search-icon {
	position: absolute;
	top: 50%;
	left: 16px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: var(--koud-pc-text-muted, #64748b);
	transform: translateY(-50%);
	pointer-events: none;
}

.koud-pc-wrapper .koud-pc-search-input {
	width: 100%;
	height: 42px;
	padding: 0 44px 0 46px;
	border: 1px solid var(--koud-pc-border);
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #f8fbff);
	font-size: 13px;
	font-family: var(--koud-pc-font);
	color: var(--koud-pc-text);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease,
		opacity 0.2s ease;
}

.koud-pc-wrapper .koud-pc-search-input::-webkit-search-cancel-button,
.koud-pc-wrapper .koud-pc-search-input::-webkit-search-decoration {
	-webkit-appearance: none;
}

.koud-pc-wrapper .koud-pc-search-form.is-loading .koud-pc-search-input {
	opacity: 0.72;
}

.koud-pc-wrapper .koud-pc-search-input::placeholder {
	color: var(--koud-pc-text-muted, #64748b);
}

.koud-pc-wrapper .koud-pc-search-input:focus {
	outline: none;
	border-color: var(--koud-pc-primary);
	box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.12);
	background: #ffffff;
}

.koud-pc-wrapper .koud-pc-search-clear {
	position: absolute;
	top: 50%;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: var(--koud-pc-text-muted, #64748b);
	cursor: pointer;
	transform: translateY(-50%);
	transition:
		background 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease;
}

.koud-pc-wrapper .koud-pc-search-clear:hover {
	background: rgba(15, 82, 186, 0.08);
	color: var(--koud-pc-primary, #0f52ba);
}

.koud-pc-wrapper .koud-pc-search-clear:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.14);
}

.koud-pc-wrapper .koud-pc-search-clear[hidden] {
	display: none;
}

/* ─── View Toggle ───────────────────────────────── */

.koud-pc-view-toggle {
	display: flex;
	gap: 0;
	border: 1px solid var(--koud-pc-border);
	border-radius: var(--koud-pc-radius);
	overflow: hidden;
}

.koud-pc-view-btn {
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--koud-pc-text-muted);
	text-decoration: none;
	background: var(--koud-pc-card-bg);
	transition: all 0.2s ease;
	font-family: var(--koud-pc-font);
	border-right: 1px solid var(--koud-pc-border);
}

.koud-pc-view-btn:last-child {
	border-right: none;
}

.koud-pc-view-btn:hover {
	background: var(--koud-pc-bg);
	color: var(--koud-pc-text);
}

.koud-pc-view-btn.is-active {
	background: var(--koud-pc-primary);
	color: #ffffff;
	border-color: var(--koud-pc-primary);
}

/* ─── Products Grid ─────────────────────────────── */

.koud-pc-products.koud-pc--grid {
	display: grid;
	grid-template-columns: repeat(var(--koud-pc-cols), 1fr);
	gap: var(--koud-pc-gap);
}

/* ─── Products List ─────────────────────────────── */

.koud-pc-products.koud-pc--list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* ─── Card (Grid) ───────────────────────────────── */

.koud-pc-card {
	background: var(--koud-pc-card-bg);
	border: 1px solid var(--koud-pc-border);
	border-radius: var(--koud-pc-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--koud-pc-shadow);
	transition:
		box-shadow 0.25s ease,
		transform 0.2s ease;
}

.koud-pc-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* ─── Card Image ────────────────────────────────── */

.koud-pc-card__image {
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--koud-pc-bg);
}

.koud-pc-card__image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

/* Hover zoom */
.koud-pc-card__image.zoom:hover img {
	transform: scale(1.029);
}

/* ─── Sale Badge "OFERTA" ──────────────────────── */

.koud-pc-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	z-index: 2;
	background-color: var(--koud-pc-primary, #0f52ba);
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ─── Category Badges (Nuevo / Ofertas / Remate) ── */

.koud-product-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	display: inline-block;
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 0.65rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
}

.koud-product-badge--nuevo {
	background: #2563eb;
	box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.koud-product-badge--oferta {
	background: #16a34a;
	box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35);
}

.koud-product-badge--remate {
	background: #dc2626;
	box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
}

/* ─── Card Content ──────────────────────────────── */

.koud-pc-card__content {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	flex: 1;
}

/* ─── Title ─────────────────────────────────────── */

.koud-pc-card__title {
	display: -webkit-box;
	min-height: 2.7em;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.01em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.koud-pc-card__title a {
	color: var(--koud-pc-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.koud-pc-card__title a:hover {
	color: var(--koud-pc-primary);
}

/* ─── Rating ────────────────────────────────────── */

.koud-pc-card__rating .star-rating {
	margin: 0;
	font-size: 12px;
	width: 5.4em;
	height: 1em;
	line-height: 1;
	overflow: hidden;
	position: relative;
	font-family: star;
}

.koud-pc-card__rating .star-rating::before {
	content: "\53\53\53\53\53";
	opacity: 0.25;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
}

.koud-pc-card__rating .star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}

/* ─── Price ─────────────────────────────────────── */

.koud-pc-card__price {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	align-items: baseline;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--koud-pc-primary);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.koud-pc-card__price del {
	margin-right: 0;
	color: var(--koud-pc-text-muted);
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.7;
	text-decoration: line-through;
}

.koud-pc-card__price ins {
	color: var(--koud-pc-primary);
	text-decoration: none;
	font-weight: 700;
}

/* ─── Quantity Stepper ──────────────────────────── */

.koud-pc-qty {
	display: inline-flex;
	align-items: center;
	border-radius: var(--koud-pc-radius);
	overflow: hidden;
	width: fit-content;
	background: var(--koud-pc-card-bg);
}

.koud-pc-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 36px;
	border: none;
	background: var(--koud-pc-bg);
	color: var(--koud-pc-text);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.15s ease,
		color 0.15s ease;
	font-family: var(--koud-pc-font);
	line-height: 1;
	padding: 0;
	user-select: none;
}

.koud-pc-qty__btn:hover {
	background: var(--koud-pc-primary);
	color: #ffffff;
}

.koud-pc-qty__btn:active {
	transform: scale(0.95);
}

.koud-pc-qty__input {
	width: 44px;
	height: 36px;
	border: none;
	border-left: 1px solid var(--koud-pc-border);
	border-right: 1px solid var(--koud-pc-border);
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	font-family: var(--koud-pc-font);
	color: var(--koud-pc-text);
	background: var(--koud-pc-card-bg);
	padding: 6px !important;
	-moz-appearance: textfield;
	border-style: solid !important;
	border-color: #fff !important;
	background: #f3f5f8 !important;
}

.koud-pc-qty__input::-webkit-inner-spin-button,
.koud-pc-qty__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ─── ATC Button (Grid + List) ──────────────────── */

.koud-pc-card__purchase {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin-top: auto;
}

.koud-pc-card__purchase .koud-pc-qty {
	flex: 0 0 auto;
}

.koud-pc-card__atc {
	margin-top: auto;
	width: 100%;
	text-align: center;
	text-decoration: none;
	background-color: var(--koud-pc-primary);
	border: none;
}

.koud-pc-card__purchase .koud-pc-card__atc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	width: auto;
	margin-top: 0;
}

.koud-pc-card__atc:hover {
	background-color: var(--koud-pc-primary-hover);
}

.koud-pc-cart-message {
	width: 100%;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	color: #15803d;
}

.koud-pc-cart-message[hidden] {
	display: none;
}

.koud-pc-cart-message.is-error {
	color: #b91c1c;
}

/* ─── List View: Row ────────────────────────────── */

.koud-pc-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	background: var(--koud-pc-card-bg);
	border: 1px solid var(--koud-pc-border);
	border-radius: var(--koud-pc-radius);
	box-shadow: var(--koud-pc-shadow);
	transition: box-shadow 0.2s ease;
}

.koud-pc-row:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.koud-pc-row__image {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 4px;
	overflow: hidden;
	background: var(--koud-pc-bg);
}

.koud-pc-row__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.koud-pc-row__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.koud-pc-row__title {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.koud-pc-row__title a {
	color: var(--koud-pc-text);
	text-decoration: none;
}

.koud-pc-row__title a:hover {
	color: var(--koud-pc-primary);
}

.koud-pc-row__stock {
	font-size: 12px;
	color: var(--koud-pc-text-muted);
	line-height: 1.4;
}

.koud-pc-row__price {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--koud-pc-primary);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	white-space: nowrap;
	flex-shrink: 0;
}

/* ── List: ATC button compact ───────────────────── */

.koud-pc-row .koud-pc-card__atc {
	width: auto;
	flex-shrink: 0;
	padding: 8px 18px;
	font-size: 13px;
	margin-top: 0;
}

.koud-pc-row .koud-pc-cart-message {
	flex: 1 1 100%;
	text-align: right;
}

/* ─── Pagination ────────────────────────────────── */

.koud-pc-pagination {
	margin-top: 32px;
	text-align: center;
}

.koud-pc-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	border-radius: var(--koud-pc-radius);
	font-size: 14px;
	line-height: 1.4;
	color: var(--koud-pc-text);
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid var(--koud-pc-border);
	background: var(--koud-pc-card-bg);
	font-family: var(--koud-pc-font);
}

.koud-pc-pagination .page-numbers.current {
	background-color: var(--koud-pc-primary);
	color: #fff;
	font-weight: 600;
	border-color: var(--koud-pc-primary);
}

.koud-pc-pagination .page-numbers:hover:not(.current) {
	background-color: var(--koud-pc-bg);
	border-color: var(--koud-pc-primary);
}

.koud-pc-pagination .page-numbers.next,
.koud-pc-pagination .page-numbers.prev {
	font-size: 16px;
}

/* ─── Placeholder (editor) ──────────────────────── */

.koud-pc-placeholder {
	padding: 20px;
	border: 2px dashed #ccc;
	border-radius: 4px;
	text-align: center;
	color: #999;
	font-size: 13px;
	line-height: 1.5;
}

/* ─── No Products Message ───────────────────────── */

.koud-pc-no-products {
	text-align: center;
	padding: 40px 20px;
	color: var(--koud-pc-text-muted);
	font-size: 14px;
}

/* ─── Responsive: Tablet ────────────────────────── */

@media (max-width: 1024px) {
	.koud-pc-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.koud-pc-layout > .koud-pc-sidebar {
		display: none;
	}

	.koud-pc-filter-widget > .koud-pc-sidebar {
		display: block;
		margin-bottom: 12px;
	}

	.koud-pc-filter-widget.is-js-enhanced > .koud-pc-sidebar {
		display: none;
	}

	.koud-pc-products.koud-pc--grid {
		grid-template-columns: repeat(var(--koud-pc-cols-tablet, 2), 1fr);
	}
}

@media (max-width: 1024px) {
	/* ── Sticky top bar: sort + filter button ──── */

	.koud-pc-header {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		position: sticky;
		top: 0;
		z-index: 20;
		background: var(--koud-pc-bg, #f8f9ff);
		padding: 10px 0;
		margin-top: -10px;
		border-bottom: 1px solid var(--koud-pc-border, #e2e8f0);
	}

	.koud-pc-sort-form {
		order: 1;
		display: flex;
		align-items: center;
		gap: 8px;
		width: 100%;
	}

	.koud-pc-sort-select {
		flex: 1 1 auto;
		min-width: 0;
		height: 40px;
		font-size: 13px;
	}

	.koud-pc-view-toggle {
		order: 2;
		align-self: flex-end;
	}

	.koud-pc-search-form {
		order: 3;
		min-width: 100%;
		max-width: none;
	}

	.koud-pc-wrapper .koud-pc-search-icon {
		left: 14px;
	}

	.koud-pc-wrapper .koud-pc-search-input {
		height: 40px;
		padding-left: 42px;
		padding-right: 42px;
	}

	.koud-pc-wrapper .koud-pc-search-clear {
		right: 6px;
		width: 26px;
		height: 26px;
	}

	/* ── Filter toggle button (mobile) ─────────── */

	.koud-pc-filter-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		height: 42px;
		padding: 0 16px;
		font-size: 13px;
		font-weight: 700;
		font-family: var(--koud-pc-font);
		line-height: 1;
		white-space: nowrap;
		border: 1px solid rgba(15, 82, 186, 0.14);
		border-radius: 999px;
		background: linear-gradient(180deg, #ffffff, #f8fbff);
		color: var(--koud-pc-text, #0f172a);
		cursor: pointer;
		flex-shrink: 0;
		box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
		transition:
			transform 0.18s ease,
			box-shadow 0.18s ease,
			border-color 0.18s ease,
			background 0.18s ease;
	}

	.koud-pc-filter-toggle:hover {
		background: linear-gradient(180deg, #ffffff, #f1f7ff);
		border-color: rgba(15, 82, 186, 0.26);
		box-shadow: 0 14px 28px rgba(15, 82, 186, 0.12);
		transform: translateY(-1px);
	}

	.koud-pc-filter-toggle__icon {
		width: 18px;
		height: 18px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 3px;
	}

	.koud-pc-filter-toggle__icon span {
		display: block;
		height: 2px;
		background: currentColor;
		border-radius: 1px;
	}

	/* ── Filter drawer (mobile overlay) ────────── */

	.koud-pc-filter-drawer {
		position: fixed;
		inset: 0;
		z-index: 999;
		pointer-events: none;
		opacity: 0;
		transition: opacity 0.25s ease;
	}

	.koud-pc-filter-drawer.is-open {
		pointer-events: auto;
		opacity: 1;
	}

	.koud-pc-filter-drawer__backdrop {
		position: absolute;
		inset: 0;
		background: rgba(15, 23, 42, 0.48);
		backdrop-filter: blur(3px);
	}

	.koud-pc-filter-drawer__panel {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(88vw, 380px);
		background: linear-gradient(180deg, #f8fbff 0%, #ffffff 18%, #ffffff 100%);
		box-shadow: 12px 0 36px rgba(15, 23, 42, 0.16);
		display: flex;
		flex-direction: column;
		border-right: 1px solid rgba(148, 163, 184, 0.18);
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}

	.koud-pc-filter-drawer.is-open .koud-pc-filter-drawer__panel {
		transform: translateX(0);
	}

	.koud-pc-filter-drawer__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 18px;
		border-bottom: 1px solid var(--koud-pc-border, #e2e8f0);
		background: rgba(255, 255, 255, 0.88);
		backdrop-filter: blur(10px);
	}

	.koud-pc-filter-drawer__title {
		margin: 0;
		font-size: 17px;
		font-weight: 800;
		font-family: var(--koud-pc-font);
		color: var(--koud-pc-text, #0f172a);
	}

	.koud-pc-filter-drawer__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border: 1px solid rgba(148, 163, 184, 0.22);
		background: #fff;
		cursor: pointer;
		font-size: 20px;
		color: var(--koud-pc-text-muted, #64748b);
		border-radius: 999px;
		box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
	}

	.koud-pc-filter-drawer__close:hover {
		background: #f8fbff;
		color: var(--koud-pc-text, #0f172a);
	}

	.koud-pc-filter-drawer__body {
		flex: 1;
		overflow-y: auto;
		padding: 18px;
	}

	.koud-pc-filter-drawer__body .koud-pc-filter-actions {
		position: sticky;
		bottom: 0;
		padding-top: 14px;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 26%);
	}

	.koud-pc-filter-drawer__body .koud-pc-price-range {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	}

	.koud-pc-filter-drawer__body .koud-pc-price-range__btn {
		grid-column: 1 / -1;
		width: 100%;
	}

	/* ── List: image + text inline, controls below ─── */

	.koud-pc-row {
		flex-wrap: wrap;
		gap: 8px;
		padding: 12px;
		align-items: center;
	}

	.koud-pc-row__image {
		width: 56px;
		height: 56px;
		flex-shrink: 0;
	}

	.koud-pc-row__info {
		flex: 1 1 0%;
		min-width: 0;
		order: unset;
	}

	.koud-pc-row__title {
		font-size: 0.82rem;
		line-height: 1.3;
	}

	.koud-pc-row__stock {
		font-size: 11px;
	}

	.koud-pc-row__price {
		font-size: 0.85rem;
		flex-shrink: 0;
		order: unset;
		margin-left: auto;
	}

	/* List: purchase row below image+info+price */
	.koud-pc-row .koud-pc-qty {
		order: unset;
		flex: 0 0 auto;
	}

	.koud-pc-row .koud-pc-card__atc {
		order: unset;
		flex: 1 1 auto;
		width: auto;
		text-align: center;
		padding: 8px 14px;
		font-size: 13px;
	}

	.koud-pc-row .koud-pc-card__purchase {
		display: flex;
		align-items: stretch;
		gap: 8px;
		flex: 1 1 100%;
		margin-top: 4px;
	}

	/* ── Grid: hide quantity, smaller ATC ───────── */

	.koud-pc-card .koud-pc-qty {
		display: none;
	}

	.koud-pc-card .koud-pc-card__purchase .koud-pc-qty {
		display: none;
	}

	.koud-pc-card .koud-pc-card__atc {
		padding: 8px 14px;
		font-size: 13px;
		border-radius: var(--koud-pc-radius, 8px);
	}

	.koud-pc-card__content {
		padding: 0;
		gap: 0.5rem;
	}

	.koud-pc-card__title {
		font-size: 0.85rem;
		line-height: 1.3;
	}

	.koud-pc-card__price {
		font-size: 0.9rem;
	}
}

@media (max-width: 767px) {
	.koud-pc-products.koud-pc--grid {
		grid-template-columns: repeat(var(--koud-pc-cols-mobile, 1), 1fr);
	}
}

/* ═══════════════════════════════════════════════════════════
   Product Catalog — Minimal Tech Skin
   Keeps existing grid/list behavior while aligning catalog cards with carousel.
   ═══════════════════════════════════════════════════════════ */

.koud-pc-wrapper {
	--koud-pc-bg: oklch(99% 0.002 240);
	--koud-pc-card-bg: #ffffff;
	--koud-pc-text: oklch(18% 0.012 250);
	--koud-pc-text-muted: oklch(54% 0.012 250);
	--koud-pc-border: oklch(92% 0.005 250);
	--koud-pc-primary: oklch(58% 0.18 255);
	--koud-pc-primary-hover: oklch(50% 0.18 255);
	--koud-pc-sale: oklch(60% 0.22 25);
	--koud-pc-accent-muted: oklch(58% 0.18 255 / 0.1);
	--koud-pc-image-bg: oklch(97% 0.005 250);
	--koud-pc-radius: 12px;
	--koud-pc-shadow: none;
	font-family:
		-apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui,
		sans-serif;
}

.koud-pc-wrapper :where(.koud-pc-products.koud-pc--grid) {
	align-items: stretch;
}

.koud-pc-wrapper
	:where(.koud-pc-products.koud-pc--grid .koud-pc-card, .koud-pc-row) {
	border: 1px solid var(--koud-pc-border);
	border-radius: var(--koud-pc-radius);
	background: var(--koud-pc-card-bg);
	box-shadow: none;
	transition:
		border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.koud-pc-wrapper :where(.koud-pc-products.koud-pc--grid .koud-pc-card) {
	padding: 1rem;
	overflow: visible;
}

/* Beat Elementor page-level specificity (0,3,0) with (0,4,0) for explicit card defaults. */
.koud-pc-wrapper .koud-pc-products.koud-pc--grid .koud-pc-card {
	padding: 1rem;
	border-radius: var(--koud-pc-radius, 12px);
}

.koud-pc-wrapper .koud-pc-products.koud-pc--grid .koud-pc-card:hover,
.koud-pc-wrapper .koud-pc-row:hover {
	border-color: var(--koud-pc-primary);
	box-shadow: 0 2px 5px var(--koud-pc-accent-muted);
	transform: translateY(-2px);
}

.koud-pc-wrapper :where(.koud-pc-products.koud-pc--grid .koud-pc-card__image) {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	margin-bottom: 1rem;
	border-radius: 8px;
	background: var(--koud-pc-image-bg);
}

.koud-pc-wrapper
	:where(.koud-pc-products.koud-pc--grid .koud-pc-card__image img) {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.koud-pc-wrapper
	:where(
		.koud-pc-products.koud-pc--grid .koud-pc-card__image.zoom:hover img,
		.koud-pc-products.koud-pc--grid .koud-pc-card:hover .koud-pc-card__image img
	) {
	transform: scale(1.035);
}

.koud-pc-badge {
	top: 10px;
	left: 10px;
	z-index: 3;
	padding: 5px 12px;
	border-radius: 6px;
	background: var(--koud-pc-sale);
	box-shadow: 0 4px 10px oklch(60% 0.22 25 / 0.3);
	color: #ffffff;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.koud-pc-wrapper
	:where(.koud-pc-products.koud-pc--grid .koud-pc-card__content) {
	padding: 0;
	gap: 0.65rem;
}

.koud-pc-wrapper :where(.koud-pc-card__title, .koud-pc-row__title) {
	font-weight: 500;
	letter-spacing: -0.01em;
}

.koud-pc-wrapper :where(.koud-pc-card__title) {
	display: -webkit-box;
	min-height: 2.7em;
	margin: 0;
	overflow: hidden;
	font-size: 1rem;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.koud-pc-wrapper :where(.koud-pc-card__title a, .koud-pc-row__title a) {
	color: var(--koud-pc-text);
}

.koud-pc-wrapper
	:where(.koud-pc-card__title a:hover, .koud-pc-row__title a:hover) {
	color: var(--koud-pc-primary);
}

.koud-pc-wrapper :where(.koud-pc-card__rating .star-rating) {
	color: var(--koud-pc-primary);
	font-size: 11px;
}

.koud-pc-wrapper :where(.koud-pc-card__price, .koud-pc-row__price) {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	align-items: baseline;
	color: var(--koud-pc-primary);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 1.05rem;
	font-weight: 700;
}

.koud-pc-wrapper :where(.koud-pc-card__price del, .koud-pc-row__price del) {
	margin-right: 0;
	color: var(--koud-pc-text-muted);
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.7;
	text-decoration: line-through;
}

.koud-pc-wrapper :where(.koud-pc-card__price ins, .koud-pc-row__price ins) {
	color: var(--koud-pc-primary);
	font-weight: 700;
	text-decoration: none;
}

.koud-pc-qty {
	border-radius: 8px;
	background: #fff;
}

.koud-pc-qty__btn {
	background: var(--koud-pc-image-bg);
	color: var(--koud-pc-text);
}

.koud-pc-wrapper :where(.koud-pc-card__atc) {
	border-radius: 8px;
	background: var(--koud-pc-text);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: #ffffff;
	font-weight: 700;
	transition:
		background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.koud-pc-wrapper :where(.koud-pc-card__atc:hover) {
	background: var(--koud-pc-primary);
	color: #ffffff;
	transform: translateY(-1px);
}

.koud-pc-wrapper
	:where(.koud-pc-products.koud-pc--grid .koud-pc-card__purchase) {
	align-items: center;
	margin-top: auto;
	opacity: 1;
	transform: translateY(0);
}

.koud-pc-wrapper
	:where(
		.koud-pc-products.koud-pc--grid .koud-pc-card__purchase .koud-pc-card__atc
	) {
	min-height: 40px;
}

.koud-pc-wrapper :where(.koud-pc-row) {
	gap: 18px;
	padding: 14px;
	align-items: center;
}

.koud-pc-wrapper :where(.koud-pc-row__image) {
	display: grid;
	width: 76px;
	height: 76px;
	place-items: center;
	border-radius: 10px;
	background: var(--koud-pc-image-bg);
}

.koud-pc-wrapper :where(.koud-pc-row__image img) {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
}

.koud-pc-wrapper :where(.koud-pc-row__stock) {
	color: var(--koud-pc-text-muted);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.koud-pc-wrapper :where(.koud-pc-row .koud-pc-card__purchase) {
	align-items: center;
	margin-top: 0;
}

.koud-pc-wrapper :where(.koud-pc-row .koud-pc-card__atc) {
	min-height: 40px;
	padding: 8px 18px;
}

@media (max-width: 767px) {
	.koud-pc-wrapper :where(.koud-pc-products.koud-pc--grid .koud-pc-card) {
		padding: 0.85rem;
	}

	.koud-pc-wrapper
		:where(.koud-pc-products.koud-pc--grid .koud-pc-card__content) {
		padding: 0;
	}

	.koud-pc-wrapper
		:where(.koud-pc-products.koud-pc--grid .koud-pc-card__purchase) {
		margin-top: 0.75rem;
	}

	.koud-pc-wrapper :where(.koud-pc-row) {
		padding: 12px;
		gap: 10px;
	}

	.koud-pc-wrapper :where(.koud-pc-row__image) {
		width: 60px;
		height: 60px;
	}
}

/* ─── Filter Widget: Desktop Sidebar ────────────── */

.koud-pc-filters {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.koud-pc-filter-group {
	padding: 14px;
	border: 1px solid var(--koud-pc-border, #e2e8f0);
	border-radius: calc(var(--koud-pc-radius, 8px) + 4px);
	background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), #ffffff 55%);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.koud-pc-filter-group__title {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-family: var(--koud-pc-font);
	color: var(--koud-pc-text, #0f172a);
}

.koud-pc-filter-group--compact {
	padding: 0;
	overflow: hidden;
}

.koud-pc-filter-group__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px;
}

.koud-pc-filter-group--compact .koud-pc-filter-group__title {
	margin: 0;
}

.koud-pc-filter-group__body {
	padding: 0 14px 14px;
}

/* ─── Toggleable filter groups ────────────────────── */

.koud-pc-filter-group--toggleable .koud-pc-filter-group__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	gap: 12px;
}

.koud-pc-filter-group--toggleable .koud-pc-filter-group__toggle:focus-visible {
	outline: 2px solid var(--koud-pc-primary, #0f52ba);
	outline-offset: 2px;
	border-radius: 4px;
}

.koud-pc-filter-group--toggleable .koud-pc-filter-group__title {
	flex: 1;
	min-width: 0;
}

/* Chevron indicator */
.koud-pc-filter-group__chevron {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	opacity: 0.5;
	margin-top: -3px;
}

/* Collapsed state */
.koud-pc-filter-group--toggleable.is-collapsed .koud-pc-filter-group__body {
	display: none;
}

.koud-pc-filter-group--toggleable.is-collapsed .koud-pc-filter-group__chevron {
	transform: rotate(-135deg);
	margin-top: 1px;
}

.koud-pc-filter-options {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Scrollable container for filter groups that exceed the compact limit. */
.koud-pc-filter-options--scrollable {
	max-height: var(--koud-pc-filter-scroll-max-height, 320px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #c1c9d4 transparent;
}

.koud-pc-filter-options--scrollable::-webkit-scrollbar {
	width: 6px;
}

.koud-pc-filter-options--scrollable::-webkit-scrollbar-track {
	background: transparent;
}

.koud-pc-filter-options--scrollable::-webkit-scrollbar-thumb {
	background: #c1c9d4;
	border-radius: 3px;
}

.koud-pc-filter-options--scrollable::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

.koud-pc-filter-option {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-family: var(--koud-pc-font);
	color: var(--koud-pc-text, #0f172a);
	cursor: pointer;
	padding: 11px 12px;
	line-height: 1.4;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.92);
	transition:
		border-color 0.18s ease,
		background 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.koud-pc-filter-option[hidden] {
	display: none;
}

.koud-pc-filter-option + .koud-pc-filter-option {
	margin-top: 8px;
}

.koud-pc-filter-options .koud-pc-filter-option + .koud-pc-filter-option {
	margin-top: 0;
}

.koud-pc-filter-option--compact {
	gap: 10px;
	padding: 8px 10px;
	font-size: 12px;
	border-radius: 10px;
}

.koud-pc-filter-option__label {
	min-width: 0;
	flex: 1;
}

.koud-pc-filter-option:hover {
	border-color: rgba(15, 82, 186, 0.28);
	background: #f8fbff;
	box-shadow: 0 8px 18px rgba(15, 82, 186, 0.08);
	transform: translateY(-1px);
}

.koud-pc-filter-option input[type="checkbox"],
.koud-pc-filter-option input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	display: inline-grid;
	place-content: center;
	border: 1.5px solid #94a3b8;
	background: #fff;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
	transition:
		border-color 0.18s ease,
		background 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.koud-pc-filter-option input[type="checkbox"] {
	border-radius: 6px;
}

.koud-pc-filter-option input[type="radio"] {
	border-radius: 999px;
}

.koud-pc-filter-option input[type="checkbox"]::before,
.koud-pc-filter-option input[type="radio"]::before {
	content: "";
	display: block;
	transition: transform 0.18s ease;
}

.koud-pc-filter-option input[type="checkbox"]::before {
	width: 9px;
	height: 5px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) scale(0);
	transform-origin: center;
	margin-top: -1px;
}

.koud-pc-filter-option input[type="radio"]::before {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #fff;
	transform: scale(0);
}

.koud-pc-filter-option input[type="checkbox"]:checked,
.koud-pc-filter-option input[type="radio"]:checked {
	border-color: var(--koud-pc-primary, #0f52ba);
	background: var(--koud-pc-primary, #0f52ba);
	box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.12);
}

.koud-pc-filter-option input[type="checkbox"]:checked::before,
.koud-pc-filter-option input[type="radio"]:checked::before {
	transform: scale(1);
}

.koud-pc-filter-option input[type="checkbox"]:focus-visible,
.koud-pc-filter-option input[type="radio"]:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.16);
}

.koud-pc-filter-option__count {
	margin-left: auto;
	font-size: 11px;
	font-weight: 700;
	color: var(--koud-pc-text-muted, #64748b);
	padding: 4px 8px;
	border-radius: 999px;
	background: #eef2ff;
}

/* ── Pinned Category Colors ─────────────────────── */

.koud-pc-filter-option--pinned-blue .koud-pc-filter-option__label {
	color: #2563eb;
	font-weight: 700;
}

.koud-pc-filter-option--pinned-green .koud-pc-filter-option__label {
	color: #16a34a;
	font-weight: 700;
}

.koud-pc-filter-option--pinned-red .koud-pc-filter-option__label {
	color: #dc2626;
	font-weight: 700;
}

/* ── Price Range ────────────────────────────────── */

.koud-pc-price-range {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
}

.koud-pc-price-range__input {
	height: 42px;
	width: 100%;
	min-width: 0;
	padding: 0 12px;
	border: 1px solid var(--koud-pc-border, #e2e8f0);
	border-radius: 12px;
	font-size: 13px;
	font-family: var(--koud-pc-font);
	color: var(--koud-pc-text, #0f172a);
	background: var(--koud-pc-card-bg, #fff);
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background 0.18s ease;
	-moz-appearance: textfield;
}

.koud-pc-price-range__input:focus {
	outline: none;
	border-color: var(--koud-pc-primary, #0f52ba);
	box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.12);
	background: #fff;
}

.koud-pc-price-range__input::-webkit-inner-spin-button,
.koud-pc-price-range__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.koud-pc-price-range__sep {
	font-size: 13px;
	font-weight: 700;
	color: var(--koud-pc-text-muted, #64748b);
	flex-shrink: 0;
}

.koud-pc-price-range__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 14px;
	font-size: 12px;
	font-weight: 700;
	font-family: var(--koud-pc-font);
	border: none;
	border-radius: 12px;
	background: linear-gradient(
		135deg,
		var(--koud-pc-primary, #0f52ba),
		var(--koud-pc-primary-hover, #1d4ed8)
	);
	color: #fff;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: 0 10px 20px rgba(15, 82, 186, 0.18);
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		filter 0.18s ease;
}

.koud-pc-price-range__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 24px rgba(15, 82, 186, 0.22);
	filter: brightness(1.02);
}

/* ── Filter actions (apply / clear) ─────────────── */

.koud-pc-filter-actions {
	display: flex;
	gap: 10px;
	margin-top: 4px;
}

.koud-pc-filter-actions__btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 700;
	font-family: var(--koud-pc-font);
	border-radius: 12px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		background 0.18s ease,
		border-color 0.18s ease;
}

.koud-pc-filter-actions__btn--apply {
	background: linear-gradient(
		135deg,
		var(--koud-pc-primary, #0f52ba),
		var(--koud-pc-primary-hover, #1d4ed8)
	);
	color: #fff;
	border: none;
	box-shadow: 0 12px 24px rgba(15, 82, 186, 0.18);
}

.koud-pc-filter-actions__btn--apply:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 28px rgba(15, 82, 186, 0.22);
}

.koud-pc-filter-actions__btn--clear {
	background: #fff;
	color: var(--koud-pc-text, #0f172a);
	border: 1px solid var(--koud-pc-border, #e2e8f0);
}

.koud-pc-filter-actions__btn--clear:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

/* Hide mobile/tablet filter controls on desktop */

.koud-pc-filter-toggle,
.koud-pc-filter-drawer,
.koud-pc-mobile-filter-mount {
	display: none;
}

@media (max-width: 1024px) {
	.koud-pc-filter-toggle {
		display: inline-flex;
	}

	.koud-pc-filter-widget.is-js-enhanced > .koud-pc-filter-toggle {
		display: none;
	}

	.koud-pc-filter-drawer {
		display: block;
	}

	.koud-pc-mobile-filter-mount {
		display: flex;
		width: 100%;
		margin-bottom: 8px;
	}
}

/* ═══════════════════════════════════════════════════════════
   Product Expiration
   ═══════════════════════════════════════════════════════════ */

.koud-product-expiration {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	border: 1px solid #16a34a;
	border-radius: 5px;
	background: #f0fdf4;
	color: #166534;
}

.koud-product-expiration__row {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}

.koud-product-expiration__label {
	font-size: 14px;
	font-weight: 600;
	color: inherit;
}

.koud-product-expiration__date {
	font-size: 16px;
	font-weight: 700;
	color: inherit;
	line-height: 1.2;
}

.koud-product-expiration__sublabel {
	font-size: 12px;
	line-height: 1.4;
	color: inherit;
	opacity: 0.9;
}

.koud-product-expiration--warning {
	border-color: #f59e0b;
	background: #fffbeb;
	color: #b45309;
}

.koud-product-expiration--danger {
	border-color: #dc2626;
	background: #fef2f2;
	color: #b91c1c;
}

.koud-product-expiration__placeholder {
	padding: 16px;
	border: 1px dashed #cbd5e1;
	border-radius: 5px;
	background: #f8fafc;
	text-align: center;
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   WooCommerce My Account Menu
   ═══════════════════════════════════════════════════════════ */

.koud-account-menu-wrapper {
	--koud-account-trigger-bg: #ffffff;
	--koud-account-trigger-bg-hover: #f8fafc;
	--koud-account-trigger-color: #0f172a;
	--koud-account-trigger-color-hover: #0f52ba;
	--koud-account-icon-bg: #f3f4f6;
	--koud-account-icon-bg-hover: #e8f0ff;
	--koud-account-icon-color: #0f52ba;
	--koud-account-icon-color-hover: #0f52ba;
	--koud-account-menu-bg: #ffffff;
	--koud-account-item-color: #334155;
	--koud-account-item-color-hover: #0f52ba;
	--koud-account-item-bg-hover: #f8fafc;
	position: relative;
	display: inline-flex;
	max-width: 100%;
	font-family: inherit;
	z-index: 20;
}

.koud-account-menu {
	position: relative;
	display: inline-flex;
}

.koud-account-menu > summary {
	list-style: none;
}

.koud-account-menu > summary::-webkit-details-marker {
	display: none;
}

.koud-account-menu__trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 8px;
	border-radius: 999px;
	background: var(--koud-account-trigger-bg);
	color: var(--koud-account-trigger-color);
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.koud-account-menu__trigger:hover,
.koud-account-menu[open] .koud-account-menu__trigger,
.koud-account-menu:focus-within .koud-account-menu__trigger {
	background: var(--koud-account-trigger-bg-hover);
	color: var(--koud-account-trigger-color-hover);
}

.koud-account-menu__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5em;
	height: 2.5em;
	min-width: 2.5em;
	border-radius: 999px;
	background: var(--koud-account-icon-bg);
	color: var(--koud-account-icon-color);
	font-size: 18px;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease;
}

.koud-account-menu__trigger:hover .koud-account-menu__icon,
.koud-account-menu[open] .koud-account-menu__icon,
.koud-account-menu:focus-within .koud-account-menu__icon {
	background: var(--koud-account-icon-bg-hover);
	color: var(--koud-account-icon-color-hover);
	transform: scale(1.02);
}

.koud-account-menu__icon i,
.koud-account-menu__icon svg {
	width: 1em;
	height: 1em;
	display: block;
	fill: currentColor;
}

.koud-account-menu__label {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.01em;
}

.koud-account-menu__dropdown {
	display: block;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 190px;
	padding: 8px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 18px;
	background: var(--koud-account-menu-bg);
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px) scale(0.98);
	transform-origin: top left;
	transition:
		opacity 0.22s ease,
		transform 0.22s ease,
		visibility 0.22s ease;
	backdrop-filter: blur(12px);
}

.koud-account-menu--align-right .koud-account-menu__dropdown {
	left: auto;
	right: 0;
	transform-origin: top right;
}

.koud-account-menu--align-center .koud-account-menu__dropdown {
	left: 50%;
	transform: translateX(-50%) translateY(10px) scale(0.98);
	transform-origin: top center;
}

.koud-account-menu__item {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--koud-account-item-color);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		padding-left 0.2s ease;
}

.koud-account-menu__item:hover,
.koud-account-menu__item:focus-visible {
	background: var(--koud-account-item-bg-hover);
	color: var(--koud-account-item-color-hover);
	padding-left: 16px;
	outline: none;
}

.koud-account-menu[open] .koud-account-menu__dropdown,
.koud-account-menu:focus-within .koud-account-menu__dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.koud-account-menu--align-center .koud-account-menu[open] .koud-account-menu__dropdown,
.koud-account-menu--align-center .koud-account-menu:focus-within .koud-account-menu__dropdown {
	transform: translateX(-50%) translateY(0) scale(1);
}

.koud-account-menu-placeholder {
	padding: 16px;
	border: 2px dashed #cbd5e1;
	border-radius: 14px;
	background: #f8fafc;
	color: #64748b;
	font-size: 13px;
	text-align: center;
}

@media (hover: hover) and (pointer: fine) {
	.koud-account-menu:hover .koud-account-menu__dropdown {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0) scale(1);
	}

	.koud-account-menu--align-center .koud-account-menu:hover .koud-account-menu__dropdown {
		transform: translateX(-50%) translateY(0) scale(1);
	}
}

@media (max-width: 767px) {
	.koud-account-menu__trigger {
		padding-right: 6px;
		padding-left: 6px;
	}

	.koud-account-menu__label {
		display: none;
	}

	.koud-account-menu__dropdown {
		top: calc(100% + 8px);
		min-width: 170px;
	}
}

/* ═══════════════════════════════════════════════════════════
   Related Products (Widget)
   ═══════════════════════════════════════════════════════════ */

.koud-rp-wrapper {
	display: block;
}

.koud-rp-heading {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--koud-pc-text, #1a1a2e);
}

.koud-rp-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.koud-rp-card {
	display: flex;
	gap: 16px;
	padding: 14px;
	border: 1px solid var(--koud-pc-border, #e5e7eb);
	border-radius: var(--koud-pc-radius, 8px);
	background: var(--koud-pc-card-bg, #ffffff);
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.koud-rp-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.koud-rp-card__image {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--koud-pc-bg, #f8f9ff);
}

.koud-rp-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.koud-rp-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.koud-rp-card__title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--koud-pc-text, #1a1a2e);
}

.koud-rp-card__title a {
	color: inherit;
	text-decoration: none;
}

.koud-rp-card__title a:hover {
	color: var(--koud-pc-primary, #0f52ba);
}

.koud-rp-card__meta {
	font-size: 12px;
	color: var(--koud-pc-text-muted, #6b7280);
	line-height: 1.4;
}

.koud-rp-card__link {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	color: var(--koud-pc-primary, #0f52ba);
	text-decoration: underline;
	text-underline-offset: 2px;
	line-height: 1.4;
}

.koud-rp-card__link:hover {
	color: var(--koud-pc-primary-hover, #0a3d8f);
}

.koud-rp-card__price {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--koud-pc-text, #1a1a2e);
}

.koud-rp-card__price del {
	font-size: 12px;
	font-weight: 500;
	color: var(--koud-pc-text-muted, #6b7280);
	margin-right: 6px;
}

.koud-rp-card__price ins {
	text-decoration: none;
}

.koud-rp-card__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: nowrap;
	margin-top: 4px;
}

.koud-rp-card__actions .koud-pc-qty {
	flex-shrink: 0;
}

.koud-rp-card__actions .koud-pc-card__atc {
	width: 100px;
	padding: 10px 14px;
	font-size: 12px;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Placeholder (editor) */

.koud-rp-placeholder {
	padding: 16px;
	border: 1px dashed #cbd5e1;
	border-radius: 5px;
	background: #f8fafc;
	text-align: center;
	color: #64748b;
	font-size: 13px;
	line-height: 1.5;
}

/* ─── Responsive ──────────────────────────────── */

@media (max-width: 1024px) {
	.koud-rp-list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.koud-rp-list {
		grid-template-columns: 1fr;
	}

	.koud-rp-card__image {
		width: 70px;
		height: 70px;
	}

	.koud-rp-card__body {
		gap: 3px;
	}
}

/* ═══════════════════════════════════════════════════════════
   Product Pricing & Add to Cart
   ═══════════════════════════════════════════════════════════ */

.koud-product-pricing {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ─── Prices Row ───────────────────────────────── */

.koud-pricing__prices {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

.koud-pricing__regular {
	font-size: 16px;
	text-decoration: line-through;
	color: #64748b;
}

.koud-pricing__sale {
	font-size: 26px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
}

.koud-pricing__badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 4px;
	background-color: #dc2626;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.6;
}

/* ─── Actions Row ──────────────────────────────── */

.koud-pricing__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* ─── Quantity Stepper ─────────────────────────── */

.koud-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.koud-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 40px;
	border: none;
	background: #f9fafb;
	color: #0f172a;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.15s ease,
		color 0.15s ease;
	line-height: 1;
	padding: 0;
	user-select: none;
}

.koud-qty__btn:hover {
	background: #0f52ba;
	color: #fff;
}

.koud-qty__btn:active {
	transform: scale(0.95);
}

.koud-qty__input {
	width: 50px;
	height: 40px;
	border: none;
	border-left: 1px solid #d1d5db;
	border-right: 1px solid #d1d5db;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: #0f172a;
	background: #fff;
	padding: 0;
	-moz-appearance: textfield;
}

.koud-qty__input::-webkit-inner-spin-button,
.koud-qty__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ─── Add to Cart Button ───────────────────────── */

.koud-pricing__atc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 28px;
	border: none;
	border-radius: 6px;
	background-color: #0f52ba;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	line-height: 1.4;
	white-space: nowrap;
}

.koud-pricing__atc:hover {
	background-color: #0e469e;
}

.koud-pricing__atc:active {
	transform: scale(0.97);
}

.koud-pricing__atc.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.koud-pricing__atc:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ─── Login Message ────────────────────────────── */

.koud-pricing__login-msg {
	padding: 16px 20px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #64748b;
	font-size: 14px;
	text-align: center;
}

/* ─── Toast ────────────────────────────────────── */

.koud-pricing__toast {
	position: fixed;
	bottom: 24px;
	right: 24px;
	padding: 12px 20px;
	border-radius: 8px;
	background: #0f52ba;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	z-index: 9999;
	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
	pointer-events: none;
}

.koud-pricing__toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   Product Carousel — Minimal Tech Card
   ═══════════════════════════════════════════════════════════ */

.koud-product-carousel {
	--koud-carousel-bg: oklch(99% 0.002 240);
	--koud-carousel-surface: #ffffff;
	--koud-carousel-fg: oklch(18% 0.012 250);
	--koud-carousel-muted: oklch(54% 0.012 250);
	--koud-carousel-border: oklch(92% 0.005 250);
	--koud-carousel-accent: oklch(58% 0.18 255);
	--koud-carousel-accent-muted: oklch(58% 0.18 255 / 0.1);
	--koud-carousel-sale: oklch(60% 0.22 25);
	--koud-carousel-image-bg: oklch(97% 0.005 250);
	position: relative;
	font-family:
		-apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui,
		sans-serif;
	color: var(--koud-carousel-fg);
}

.koud-carousel-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	outline: none;
	padding: 5px 0;
}

.koud-carousel-viewport::-webkit-scrollbar {
	display: none;
}

.koud-carousel-viewport:focus-visible {
	box-shadow: 0 0 0 3px var(--koud-carousel-accent-muted);
}

.koud-carousel-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc(
		(100% - var(--koud-carousel-gap-offset, 60px)) /
		var(--koud-carousel-items, 4)
	);
	gap: var(--koud-carousel-gap, 20px);
	padding: 2px 2px 8px;
}

.koud-carousel-card {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 1rem;
	border: 1px solid var(--koud-carousel-border);
	border-radius: 12px;
	background: var(--koud-carousel-surface);
	scroll-snap-align: start;
	transition:
		border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.koud-carousel-card:hover {
	border-color: var(--koud-carousel-accent);
	box-shadow: 0 2px 5px var(--koud-carousel-accent-muted);
	transform: translateY(-2px);
}

.koud-carousel-card__media {
	position: relative;
	display: grid;
	aspect-ratio: 1;
	place-items: center;
	overflow: hidden;
	margin-bottom: 1rem;
	border-radius: 8px;
	background: var(--koud-carousel-image-bg);
}

.koud-carousel-card__image-link {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: inherit;
	text-decoration: none;
}

.koud-carousel-card__image-link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.koud-carousel-card:hover .koud-carousel-card__image-link img {
	transform: scale(1.035);
}

.koud-carousel-card__placeholder {
	color: var(--koud-carousel-fg);
	opacity: 0.15;
}

.koud-carousel-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	padding: 5px 12px;
	border-radius: 6px;
	background: var(--koud-carousel-sale);
	box-shadow: 0 4px 10px oklch(60% 0.22 25 / 0.3);
	color: #ffffff;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.koud-carousel-card__atc {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 3;
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: none;
	border-radius: 8px;
	background: var(--koud-carousel-fg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: #ffffff;
	cursor: pointer;
	opacity: 0;
	text-decoration: none;
	transform: translateY(8px);
	transition:
		background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	padding: 0;
}

.koud-carousel-card:hover .koud-carousel-card__atc,
.koud-carousel-card__atc:focus-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (hover: none), (pointer: coarse), (max-width: 767px) {
	.koud-carousel-card__atc {
		opacity: 1;
		transform: translateY(0);
	}
}

.koud-carousel-card__atc:hover {
	background: var(--koud-carousel-accent);
	transform: scale(1.05);
}

.koud-carousel-card__atc.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.koud-carousel-card__info {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
}

.koud-carousel-card__tag {
	margin-bottom: 0.45rem;
	color: var(--koud-carousel-muted);
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
}

.koud-carousel-card__title {
	margin: 0 0 0.8rem;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.koud-carousel-card__title a {
	color: var(--koud-carousel-fg);
	text-decoration: none;
}

.koud-carousel-card__title a:hover {
	color: var(--koud-carousel-accent);
}

.koud-carousel-card__price {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	align-items: baseline;
	margin-top: auto;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.koud-carousel-card__price del {
	color: var(--koud-carousel-muted);
	font-size: 0.75rem;
	opacity: 0.7;
	text-decoration: line-through;
}

.koud-carousel-card__price ins,
.koud-carousel-card__price > .woocommerce-Price-amount,
.koud-carousel-card__price > bdi {
	color: var(--koud-carousel-accent);
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: none;
}

.koud-carousel-message {
	position: absolute;
	right: 12px;
	bottom: 58px;
	z-index: 4;
	max-width: calc(100% - 24px);
	padding: 7px 10px;
	border-radius: 999px;
	background: var(--koud-carousel-fg);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
}

.koud-carousel-message.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.koud-carousel-message.is-error {
	background: var(--koud-carousel-sale);
}

.koud-carousel-nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid var(--koud-carousel-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	color: var(--koud-carousel-fg);
	cursor: pointer;
	transform: translateY(-50%);
	transition:
		border-color 0.2s ease,
		color 0.2s ease,
		opacity 0.2s ease,
		transform 0.2s ease;
	padding: 0;
}

.koud-carousel-nav:hover {
	color: #fff;
}

.koud-carousel-nav:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.koud-carousel-nav--prev {
	left: -16px;
}

.koud-carousel-nav--next {
	right: -16px;
}

.koud-carousel-empty {
	padding: 16px;
	border: 1px dashed #d1d5db;
	border-radius: 10px;
	color: #64748b;
	font-size: 14px;
	text-align: center;
}

@media (max-width: 1024px) {
	.koud-carousel-track {
		grid-auto-columns: calc(
			(100% - var(--koud-carousel-gap-offset-tablet, 20px)) /
			var(--koud-carousel-items-tablet, 2)
		);
		gap: var(--koud-carousel-gap-tablet, var(--koud-carousel-gap, 20px));
	}
}

@media (max-width: 767px) {
	.koud-carousel-track {
		grid-auto-columns: calc(
			(100% - var(--koud-carousel-gap-offset-mobile, 0px)) /
			var(--koud-carousel-items-mobile, 1)
		);
		gap: var(--koud-carousel-gap-mobile, var(--koud-carousel-gap, 20px));
	}

	.koud-carousel-nav {
		width: 34px;
		height: 34px;
	}

	.koud-carousel-nav--prev {
		left: 4px;
	}

	.koud-carousel-nav--next {
		right: 4px;
	}
}
