/* Virtual Keys: estilos del tema. Claro por defecto; oscuro "neón" con html[data-theme="dark"]. */

/* ---------- Colores y medidas ---------- */

:root {
	--vk-bg: #f5f5f7;
	--vk-canvas: #0267f8;
	--vk-card: #ffffff;
	--vk-card-line: transparent;
	--vk-tile: #ffffff;
	--vk-tile-line: transparent;
	--vk-ink: #1d1d1f;
	--vk-ink2: #6e6e73;
	--vk-line: #d2d2d7;
	--vk-line2: #e3e3e8;
	--vk-blue: #0267f8;
	--vk-link: #0056d6;
	--vk-tint: #e6effd;
	--vk-star: #f5a623;
	--vk-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
	--vk-head: #0267f8;
	--vk-head-line: transparent;
	--vk-badge: #ffffff;
	--vk-badge-ink: #0049b5;
	--vk-zone: linear-gradient(180deg, #0267f8 0%, #004bbd 46%, #003c96 100%);
	--vk-zone-ink2: rgba(255, 255, 255, 0.8);
	--vk-zone-line: rgba(255, 255, 255, 0.75);
	--vk-star-line: transparent;
	--vk-star-shadow: 0 16px 38px rgba(0, 32, 96, 0.22);
	--vk-foot: #ffffff;
	--vk-footer-bg: #003c96;
	--vk-footer-line: transparent;
	--vk-panel: #ffffff;
	--vk-panel-line: transparent;
	--vk-field: #f5f5f7;
	--vk-field-line: transparent;
	--vk-seg: #ffffff;
	--vk-seg-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
	--vk-scrim: rgba(0, 0, 0, 0.44);
	--vk-pop: 0 22px 60px rgba(0, 0, 0, 0.26);
	--vk-wrap: 1160px;
	color-scheme: light;
}

html[data-theme="dark"] {
	--vk-bg: #000000;
	--vk-canvas: #000000;
	--vk-card: #161617;
	--vk-card-line: #2c2c2e;
	--vk-tile: #1f1f21;
	--vk-tile-line: #2c2c2e;
	--vk-ink: #f5f5f7;
	--vk-ink2: #a1a1a6;
	--vk-line: #2c2c2e;
	--vk-line2: #232325;
	--vk-link: #4d94ff;
	--vk-tint: rgba(13, 104, 255, 0.2);
	--vk-shadow: none;
	--vk-head: rgba(0, 0, 0, 0.72);
	--vk-head-line: #232325;
	--vk-badge: #0267f8;
	--vk-badge-ink: #ffffff;
	--vk-zone: radial-gradient(80% 64% at 50% 0%, rgba(13, 104, 255, 0.46), rgba(13, 104, 255, 0) 72%) #000000;
	--vk-zone-ink2: #a1a1a6;
	--vk-zone-line: #3a3a3c;
	--vk-star-line: rgba(77, 148, 255, 0.5);
	--vk-star-shadow: 0 0 44px rgba(13, 104, 255, 0.3);
	--vk-foot: #000000;
	--vk-footer-bg: radial-gradient(90% 90% at 50% 0%, rgba(13, 104, 255, 0.4), rgba(13, 104, 255, 0) 74%) #000000;
	--vk-footer-line: #1f3a6e;
	--vk-panel: #161617;
	--vk-panel-line: #2c2c2e;
	--vk-field: #1f1f21;
	--vk-field-line: #2c2c2e;
	--vk-seg: #2c2c2e;
	--vk-seg-shadow: none;
	--vk-scrim: rgba(0, 0, 0, 0.64);
	--vk-pop: 0 22px 60px rgba(0, 0, 0, 0.7);
	color-scheme: dark;
}

/* ---------- Base ---------- */

/*
 * El fondo de la página (lo que queda detrás de todo) es el azul de la cabecera: los iPhone nuevos
 * pintan la barra de la hora y las notificaciones con ese color. El gris de la tienda lo pone el
 * contenedor que envuelve todo el contenido.
 */
:root body {
	background: var(--vk-canvas);
}

.wp-site-blocks {
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--vk-bg);
	/* Red de seguridad: si algo llegara a salir más ancho que la pantalla, se recorta en vez de correr la página. */
	overflow-x: clip;
}

body {
	color: var(--vk-ink);
	letter-spacing: -0.011em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.vk-lock {
	overflow: hidden;
}

:where(.vk-header, .vk-menu, .vk-cart, .vk-find, .vk-footer, .vk-home, .vk-catalog, .vk-product, .vk-zone, .vk-section) :where(h1, h2, h3, p, ul, figure, blockquote) {
	margin: 0;
	padding: 0;
}

:where(.vk-header, .vk-menu, .vk-cart, .vk-find, .vk-footer, .vk-home, .vk-catalog, .vk-product, .vk-zone, .vk-section) a {
	color: inherit;
	text-decoration: none;
}

:where(.vk-header, .vk-menu, .vk-cart, .vk-find, .vk-footer, .vk-home, .vk-catalog, .vk-product, .vk-zone, .vk-section) img {
	display: block;
	max-width: 100%;
	height: auto;
}

:where(.vk-header, .vk-menu, .vk-cart, .vk-find, .vk-footer, .vk-home, .vk-catalog, .vk-product, .vk-zone, .vk-section) :focus-visible {
	outline: 2px solid var(--vk-link);
	outline-offset: 2px;
	border-radius: 6px;
}

.vk-header :focus-visible {
	outline-color: #ffffff;
}

/* Casillas y listas: sin marco al seleccionarlas (pedido de Matías). Queda una línea fina y neutra donde hay borde. */
:where(.vk-header, .vk-menu, .vk-cart, .vk-find, .vk-footer, .vk-home, .vk-catalog, .vk-product, .vk-zone, .vk-section) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus,
:where(.vk-header, .vk-menu, .vk-cart, .vk-find, .vk-footer, .vk-home, .vk-catalog, .vk-product, .vk-zone, .vk-section) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus-visible {
	outline: 0;
	box-shadow: none;
}

:where(.vk-catalog, .vk-product, .vk-footer, .vk-menu) :is(select, textarea, input[type="text"], input[type="email"]):focus {
	border-color: var(--vk-ink2);
}

.vk-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.vk-only-dark {
	display: none;
}

html[data-theme="dark"] .vk-only-dark {
	display: inline-flex;
}

html[data-theme="dark"] img.vk-only-dark {
	display: block;
}

html[data-theme="dark"] .vk-only-light {
	display: none;
}

.vk-only-light {
	display: inline-flex;
}

img.vk-only-light {
	display: block;
}

.vk-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--vk-wrap);
	margin: 0 auto;
	padding: 0 16px;
}

.vk-wrap--bleed {
	padding: 0;
}

/* ---------- Botones ---------- */

.vk-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
}

.vk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 980px;
	background: var(--vk-blue);
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.vk-btn--block {
	width: 100%;
}

.vk-btn--big {
	width: 100%;
	height: 52px;
	font-size: 16px;
}

.vk-roundbtn {
	display: flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--vk-blue);
	color: #ffffff !important;
}

.vk-chip {
	align-self: flex-start;
	padding: 3px 9px;
	border-radius: 980px;
	background: var(--vk-tint);
	color: var(--vk-link);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0;
}

/* ---------- Cabecera ---------- */

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .wp-site-blocks > header.wp-block-template-part {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part {
		top: 0;
	}
}

.vk-header {
	background: var(--vk-head);
	color: #ffffff;
	border-bottom: 1px solid var(--vk-head-line);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}

.vk-header__bar {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	max-width: calc(var(--vk-wrap) + 20px);
	height: 54px;
	margin: 0 auto;
	padding: 0 6px 0 4px;
}

.vk-header__logo {
	display: flex;
	align-items: center;
	height: 44px;
	margin-left: 4px;
}

.vk-header__logo img {
	width: 130px;
	height: 26px;
}

.vk-header__nav {
	display: none;
}

.vk-header__actions {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.vk-cartbtn {
	position: relative;
	color: #ffffff;
	text-decoration: none;
}

.vk-cartbtn__badge {
	position: absolute;
	top: 4px;
	right: 0;
	box-sizing: border-box;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--vk-badge);
	color: var(--vk-badge-ink);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 17px;
	letter-spacing: 0;
	text-align: center;
}

.vk-cartbtn__badge[hidden] {
	display: none;
}

/* ---------- Buscador con sugerencias ---------- */

/* Botón con forma de campo (en el menú lateral): abre el buscador. */
.vk-searchbtn {
	display: flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	padding: 0 14px 0 13px;
	border: 1px solid var(--vk-field-line);
	border-radius: 14px;
	background: var(--vk-field);
	color: var(--vk-ink2);
	font: inherit;
	font-size: 16px;
	text-align: left;
	cursor: pointer;
}

.vk-searchbtn span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vk-find {
	position: fixed;
	inset: 0;
	z-index: 220;
	color: var(--vk-ink);
}

.vk-find[hidden] {
	display: none;
}

.vk-find__scrim {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: var(--vk-scrim);
	cursor: pointer;
}

.vk-find__panel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--vk-bg);
	animation: vk-find-in 0.18s ease-out;
}

@keyframes vk-find-in {
	from {
		transform: translateY(-14px);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vk-find__panel {
		animation: none;
	}
}

.vk-find__bar {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 8px 4px 10px 12px;
	border-bottom: 1px solid var(--vk-head-line);
	background: var(--vk-head);
	color: #ffffff;
}

.vk-find__field {
	position: relative;
	display: flex;
	flex: 1;
	align-items: center;
	min-width: 0;
}

.vk-find__icon {
	position: absolute;
	left: 13px;
	display: flex;
	color: var(--vk-ink2);
	pointer-events: none;
}

.vk-find__field input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 12px 0 42px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: #ffffff;
	color: #1d1d1f;
	font: inherit;
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

html[data-theme="dark"] .vk-find__field input[type="search"] {
	border-color: var(--vk-field-line);
	background: var(--vk-field);
	color: var(--vk-ink);
}

.vk-find__field input[type="search"]::placeholder {
	color: var(--vk-ink2);
	opacity: 1;
}

.vk-find__field input[type="search"]:focus {
	outline: 0;
}

.vk-find__cancel {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 12px;
	border: 0;
	background: none;
	color: #ffffff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.vk-find__body {
	flex: 1;
	min-height: 0;
	padding: 16px 12px 22px;
	overflow-y: auto;
	overscroll-behavior: contain;
	transition: opacity 0.12s ease;
}

.vk-find.is-loading .vk-find__body {
	opacity: 0.6;
}

.vk-find__label {
	margin: 0 6px 8px !important;
	color: var(--vk-ink2);
	font-size: 13px;
	font-weight: 600;
}

.vk-find__list + .vk-find__label {
	margin-top: 18px !important;
}

.vk-find__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.vk-find__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 42px;
	padding: 0 15px 0 12px;
	border: 1px solid var(--vk-card-line);
	border-radius: 980px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
	font-size: 14px;
	font-weight: 600;
}

.vk-find__list {
	padding: 0 12px !important;
	border: 1px solid var(--vk-card-line);
	border-radius: 18px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
	list-style: none;
}

.vk-find__list li + li {
	border-top: 1px solid var(--vk-line2);
}

.vk-find__item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 9px 0;
}

.vk-find__item img {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	object-fit: cover;
}

.vk-find__caticon {
	display: flex;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	height: 40px;
	border-radius: 10px;
	background: var(--vk-tint);
	color: var(--vk-link);
}

.vk-find__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.vk-find__name {
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vk-find mark {
	background: none;
	color: var(--vk-link);
}

.vk-find__detail {
	overflow: hidden;
	color: var(--vk-ink2);
	font-size: 12px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vk-find__price,
.vk-find__count {
	flex: 0 0 auto;
	color: var(--vk-link);
	font-size: 14px;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.vk-find__price span,
.vk-find__count {
	color: var(--vk-ink2);
	font-size: 12px;
	font-weight: 500;
}

.vk-find__all {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	margin-top: 12px;
	border-radius: 980px;
	background: var(--vk-tint);
	color: var(--vk-link) !important;
	font-size: 15px;
	font-weight: 600;
}

.vk-find__none {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px 16px 16px;
	border: 1px solid var(--vk-card-line);
	border-radius: 18px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
	color: var(--vk-ink2);
	font-size: 14px;
	text-align: center;
}

.vk-find__nonetitle {
	color: var(--vk-ink);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

/* En computador el buscador es un panel centrado bajo la cabecera, no toda la pantalla. */
@media (min-width: 768px) {
	.vk-find__panel {
		top: 12px;
		right: auto;
		bottom: auto;
		left: 50%;
		width: min(720px, calc(100% - 48px));
		max-height: min(680px, calc(100% - 36px));
		border: 1px solid var(--vk-panel-line);
		border-radius: 24px;
		box-shadow: var(--vk-pop);
		transform: translateX(-50%);
		animation-name: vk-find-in-wide;
	}

	@keyframes vk-find-in-wide {
		from {
			transform: translate(-50%, -14px);
			opacity: 0;
		}
		to {
			transform: translateX(-50%);
			opacity: 1;
		}
	}

	.vk-find__bar {
		padding: 12px 8px 12px 16px;
	}

	.vk-find__body {
		padding: 18px 16px 22px;
	}
}

/* Con la barra de administración de WordPress, los paneles parten debajo de ella. */
@media (min-width: 601px) {
	.admin-bar .vk-cart,
	.admin-bar .vk-find,
	.admin-bar .vk-menu {
		top: 46px;
	}
}

@media (min-width: 783px) {
	.admin-bar .vk-cart,
	.admin-bar .vk-find,
	.admin-bar .vk-menu {
		top: 32px;
	}
}

/* ---------- Menú lateral ---------- */

.vk-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	color: var(--vk-ink);
}

.vk-menu[hidden] {
	display: none;
}

.vk-menu__scrim {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: var(--vk-scrim);
	cursor: pointer;
}

.vk-menu__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: min(86%, 380px);
	padding: 6px 18px 18px;
	overflow-y: auto;
	background: var(--vk-panel);
	border-right: 1px solid var(--vk-panel-line);
	box-shadow: var(--vk-pop);
	animation: vk-slide-in 0.22s ease-out;
}

@keyframes vk-slide-in {
	from {
		transform: translateX(-24px);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vk-menu__panel {
		animation: none;
	}
}

.vk-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 52px;
	margin-right: -10px;
}

.vk-menu__logo {
	display: flex;
	align-items: center;
	height: 44px;
}

.vk-menu__logo img {
	width: 125px;
	height: 25px;
}

.vk-menu .vk-searchform {
	margin-top: 6px;
}

.vk-menu__label {
	margin: 18px 0 2px !important;
	color: var(--vk-ink2);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.vk-menu__list {
	list-style: none;
}

.vk-menu__cat,
.vk-menu__link {
	display: flex;
	align-items: center;
	min-height: 48px;
	border-bottom: 1px solid var(--vk-line2);
}

.vk-menu__cat {
	gap: 14px;
}

.vk-menu__cat > svg,
.vk-menu__link > svg {
	flex: 0 0 auto;
	color: var(--vk-ink2);
}

.vk-menu__caticon {
	display: flex;
	flex: 0 0 32px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 32px;
	border: 1px solid var(--vk-tile-line);
	border-radius: 10px;
	background: var(--vk-field);
}

.vk-menu__caticon--all {
	color: var(--vk-link);
}

.vk-menu__catname {
	flex: 1;
	min-width: 0;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.vk-menu__count {
	color: var(--vk-ink2);
	font-size: 13px;
}

.vk-menu__account {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 6px;
}

.vk-menu__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	height: 48px;
	border: 1px solid var(--vk-line);
	border-radius: 14px;
	font-size: 14px;
	font-weight: 600;
}

.vk-menu__btn--soft {
	border-color: transparent;
	background: var(--vk-tint);
	color: var(--vk-link) !important;
}

.vk-menu__link {
	justify-content: space-between;
	font-size: 15px;
	font-weight: 500;
}

.vk-menu__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
	color: var(--vk-ink2);
	font-size: 13px;
}

.vk-seg {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	height: 44px;
	padding: 3px;
	border: 1px solid var(--vk-field-line);
	border-radius: 980px;
	background: var(--vk-field);
	color: var(--vk-ink2);
	font: inherit;
	cursor: pointer;
}

.vk-seg__opt {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 12px;
	border-radius: 980px;
	font-size: 13px;
	font-weight: 600;
}

.vk-seg__opt--light,
html[data-theme="dark"] .vk-seg__opt--dark {
	background: var(--vk-seg);
	color: var(--vk-ink);
	box-shadow: var(--vk-seg-shadow);
}

html[data-theme="dark"] .vk-seg__opt--light {
	background: transparent;
	color: var(--vk-ink2);
	box-shadow: none;
}

/* ---------- Portada: zona superior ---------- */

.vk-zone {
	position: relative;
	overflow: hidden;
	border-radius: 0 0 28px 28px;
	background: var(--vk-zone);
	color: #ffffff;
}

.vk-zone__wm {
	position: absolute;
	inset: 0;
	background: url(../img/llave.webp) no-repeat right -26px top -30px / 150px 322px;
	opacity: 0.12;
	pointer-events: none;
}

html[data-theme="dark"] .vk-zone__wm {
	display: none;
}

.vk-zone .vk-wrap {
	position: relative;
}

.vk-hero {
	padding: 16px 0 98px;
}

.vk-hero__title {
	padding: 0 4px !important;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.vk-hero__title span {
	display: block;
}

.vk-hero__title2 {
	color: var(--vk-zone-ink2);
}

.vk-rail {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.vk-rail::-webkit-scrollbar {
	display: none;
}

.vk-cats {
	gap: 12px;
	margin: 20px -16px 0;
	padding: 0 20px;
	scroll-snap-type: x proximity;
	scroll-padding-left: 20px;
}

.vk-cat {
	display: flex;
	flex: 0 0 62px;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	scroll-snap-align: start;
	color: #ffffff !important;
}

.vk-cat__tile {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 60px;
	height: 60px;
	border: 1px solid var(--vk-tile-line);
	border-radius: 18px;
	background: var(--vk-tile);
}

.vk-cat__tile--all {
	border: 1.5px solid var(--vk-zone-line);
	background: transparent;
	color: #ffffff;
}

.vk-cat__label {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

/* ---------- Portada: producto estrella ---------- */

.vk-star {
	position: relative;
	z-index: 2;
	margin-top: -74px;
}

.vk-star__card {
	display: flex;
	align-items: stretch;
	gap: 14px;
	padding: 12px;
	border: 1px solid var(--vk-star-line);
	border-radius: 24px;
	background: var(--vk-card);
	box-shadow: var(--vk-star-shadow);
}

.vk-star__media {
	display: flex;
	flex: 0 0 122px;
}

.vk-star__media img {
	width: 122px;
	height: 100%;
	min-height: 150px;
	border-radius: 16px;
	object-fit: cover;
}

.vk-star__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	padding: 4px 4px 2px 0;
}

.vk-star__name {
	margin-top: 7px !important;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.vk-star__detail {
	margin-top: 3px !important;
	color: var(--vk-ink2);
	font-size: 13px;
	line-height: 1.3;
}

.vk-star__buy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
}

/* ---------- Precio y nota ---------- */

.vk-price {
	display: flex;
}

.vk-price--stack {
	flex-direction: column;
}

.vk-price--inline {
	align-items: baseline;
	gap: 5px;
}

.vk-price__from {
	color: var(--vk-ink2);
	font-size: 11px;
	line-height: 1.3;
}

.vk-price__value {
	color: var(--vk-link);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.vk-star .vk-price__value {
	font-size: 22px;
	letter-spacing: -0.03em;
}

.vk-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 5px !important;
	color: var(--vk-ink2);
	font-size: 12px;
}

.vk-rating__star {
	display: inline-flex;
	color: var(--vk-star);
}

.vk-rating__value {
	color: var(--vk-ink);
	font-weight: 600;
}

/* ---------- Secciones, estantes y tarjetas ---------- */

.vk-section {
	padding-top: 26px;
}

.vk-head {
	padding: 0 4px 14px;
}

.vk-head__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -0.028em;
}

.vk-head__sub {
	margin-top: 2px !important;
	color: var(--vk-ink2);
	font-size: 14px;
}

.vk-rail--cards {
	gap: 12px;
	padding: 0 16px 8px;
	scroll-padding-left: 16px;
}

.vk-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--vk-card-line);
	border-radius: 20px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
	scroll-snap-align: start;
}

.vk-card--rail {
	flex: 0 0 164px;
}

/* Las fotos de producto son cuadradas: se muestran enteras, con su margen, sin recortar arriba ni abajo. */
.vk-card__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.vk-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 12px 12px 12px 14px;
}

.vk-card__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -0.015em;
}

.vk-card--grid .vk-card__name {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.vk-card__detail {
	margin-top: 3px !important;
	color: var(--vk-ink2);
	font-size: 12px;
	line-height: 1.35;
}

.vk-card__buy {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 6px;
	margin-top: auto;
	padding-top: 8px;
}

.vk-card--grid .vk-card__body {
	padding: 12px;
}

.vk-card--grid .vk-card__buy {
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.vk-card--grid .vk-price__value {
	font-size: 18px;
}

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

/* ---------- Respaldo Virtual Keys ---------- */

.vk-seal {
	display: flex;
	flex-direction: column;
	padding: 22px 20px 6px;
	border: 1px solid var(--vk-card-line);
	border-radius: 24px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
}

.vk-seal__top {
	display: flex;
	align-items: center;
	gap: 16px;
}

.vk-seal__icon {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 0 0 5px var(--vk-tint);
}

.vk-seal__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.028em;
}

.vk-seal__sub {
	margin-top: 2px !important;
	color: var(--vk-ink2);
	font-size: 14px;
}

.vk-seal__list {
	display: flex;
	flex-direction: column;
	margin-top: 16px !important;
	list-style: none;
}

.vk-seal__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 13px 0;
	border-top: 1px solid var(--vk-line2);
	font-size: 15px;
	line-height: 1.38;
}

.vk-seal__list svg {
	flex: 0 0 22px;
	margin-top: 1px;
}

.vk-seal__list strong {
	font-weight: 600;
}

.vk-seal__list span {
	color: var(--vk-ink2);
}

.vk-seal__rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 14px 0 !important;
	border-top: 1px solid var(--vk-line2);
	font-size: 14px;
}

.vk-seal__rating strong {
	font-weight: 700;
}

.vk-seal__rating > span:last-child {
	color: var(--vk-ink2);
}

/* ---------- Reseñas y cierre ---------- */

/* Fuentes de las reseñas: Google y Judge.me, con sus números y un enlace a cada página. */
.vk-sources {
	display: grid;
	gap: 10px;
	margin: 14px 0 16px;
}

.vk-source {
	display: flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	min-height: 66px;
	padding: 12px 14px 12px 16px;
	border: 1px solid var(--vk-card-line);
	border-radius: 18px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
	color: var(--vk-ink);
	text-decoration: none;
}

.vk-source__logo {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
}

.vk-source__logo img {
	display: block;
	width: auto;
	height: 24px;
}

.vk-source__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.vk-source__score {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.vk-source__score > span:last-child {
	color: var(--vk-ink2);
	font-weight: 500;
}

.vk-source__meta {
	color: var(--vk-ink2);
	font-size: 13px;
	line-height: 1.35;
}

.vk-source__go {
	display: flex;
	flex: 0 0 auto;
	color: var(--vk-ink2);
}

@media (min-width: 700px) {
	.vk-sources {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}
}

@media (hover: hover) {
	.vk-source {
		transition: transform 0.18s ease;
	}

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

.vk-rail--reviews {
	gap: 12px;
	padding: 0 16px 8px;
	scroll-padding-left: 16px;
}

.vk-review {
	display: flex;
	flex: 0 0 290px;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
	padding: 18px 20px;
	border: 1px solid var(--vk-card-line);
	border-radius: 20px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
	scroll-snap-align: start;
}

.vk-review__stars {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
}

.vk-review blockquote {
	font-size: 15px;
	line-height: 1.45;
}

.vk-review figcaption {
	margin-top: auto;
	color: var(--vk-ink2);
	font-size: 13px;
}

.vk-cta {
	padding-top: 22px;
	padding-bottom: 34px;
}

/* ---------- Pie ---------- */

/* Pie de la opción E: panel azul profundo con esquinas redondeadas arriba, logo y llave de fondo. */

.vk-footer {
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--vk-footer-line);
	border-radius: 28px 28px 0 0;
	background: var(--vk-footer-bg);
	color: #ffffff;
	font-size: 13px;
}

.vk-footer__wm {
	position: absolute;
	top: 24px;
	right: 22px;
	width: 47px;
	height: 101px;
	background: url(../img/llave.webp) no-repeat center / contain;
	opacity: 0.2;
	pointer-events: none;
}

.vk-footer__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	box-sizing: border-box;
	max-width: var(--vk-wrap);
	margin: 0 auto;
	padding: 30px 20px;
}

.vk-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.vk-footer__logo {
	display: block;
	align-self: flex-start;
}

.vk-footer__logo img {
	display: block;
	width: 150px;
	height: 30px;
}

.vk-footer__tagline {
	color: rgba(255, 255, 255, 0.97);
	font-size: 14px;
	line-height: 1.4;
}

.vk-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.vk-footer__cols:empty {
	display: none;
}

.vk-footer__col {
	display: flex;
	flex-direction: column;
}

.vk-footer__title {
	padding-bottom: 2px !important;
	color: #ffffff;
	font-weight: 700;
}

.vk-footer__col a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: rgba(255, 255, 255, 0.97);
}

.vk-footer__legal {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	color: rgba(255, 255, 255, 0.97);
	font-size: 12px;
}

/* ---------- Páginas de texto ---------- */

.vk-page {
	box-sizing: border-box;
	padding: 28px 20px 56px;
}

.vk-page > * {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

.vk-page > .alignwide,
.vk-page > .woocommerce,
.vk-page .entry-content > .woocommerce {
	max-width: calc(var(--vk-wrap) - 56px);
}

.vk-page a {
	color: var(--vk-link);
}

.vk-page h1 {
	margin: 0 0 16px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

/* ---------- Pantallas anchas ---------- */

@media (min-width: 768px) {
	.vk-wrap {
		padding: 0 28px;
	}

	.vk-wrap--bleed {
		padding: 0 28px;
	}

	.vk-header__bar {
		padding: 0 18px;
	}

	.vk-hero {
		padding: 40px 0 124px;
	}

	.vk-hero__title {
		font-size: 44px;
		text-align: center;
	}

	.vk-cats {
		justify-content: center;
		gap: 22px;
		margin: 30px 0 0;
		padding: 0;
		overflow: visible;
	}

	.vk-cat {
		flex-basis: 76px;
	}

	.vk-cat__tile {
		width: 72px;
		height: 72px;
		border-radius: 22px;
	}

	.vk-cat__label {
		font-size: 13px;
	}

	.vk-star {
		margin-top: -84px;
	}

	.vk-star__card {
		max-width: 780px;
		margin: 0 auto;
		gap: 22px;
		padding: 16px;
	}

	.vk-star__media {
		flex-basis: 210px;
	}

	.vk-star__media img {
		width: 210px;
		min-height: 210px;
	}

	.vk-star__body {
		padding: 10px 10px 8px 0;
	}

	.vk-star__name {
		font-size: 32px;
	}

	.vk-star__detail {
		font-size: 15px;
	}

	.vk-star .vk-rating {
		font-size: 14px;
	}

	.vk-star .vk-price__value {
		font-size: 30px;
	}

	.vk-star .vk-btn {
		height: 48px;
		padding: 0 26px;
		font-size: 16px;
	}

	.vk-section {
		padding-top: 44px;
	}

	.vk-head__title {
		font-size: 28px;
	}

	.vk-head__sub {
		font-size: 16px;
	}

	.vk-rail--cards {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
		padding: 0 0 8px;
		overflow: visible;
	}

	.vk-card--rail {
		flex: none;
	}

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

	.vk-rail--reviews {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
		padding: 0 0 8px;
		overflow: visible;
	}

	.vk-review {
		flex: none;
	}

	.vk-seal {
		padding: 28px 28px 10px;
	}

	.vk-seal__list {
		flex-direction: row;
		gap: 28px;
		border-top: 1px solid var(--vk-line2);
	}

	.vk-seal__list li {
		flex: 1;
		border-top: 0;
		padding: 18px 0;
	}

	.vk-seal__list li p {
		display: flex;
		flex-direction: column;
	}

	.vk-cta {
		display: flex;
		justify-content: center;
		padding-top: 32px;
		padding-bottom: 56px;
	}

	.vk-cta .vk-btn--big {
		width: auto;
		padding: 0 36px;
	}

	.vk-footer {
		border-radius: 36px 36px 0 0;
	}

	.vk-footer__inner {
		display: grid;
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr);
		column-gap: 48px;
		row-gap: 28px;
		padding: 48px 28px 40px;
	}

	.vk-footer__cols {
		gap: 32px;
	}

	.vk-footer__legal {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: space-between;
	}

	.vk-footer__wm {
		top: 34px;
		right: max(40px, calc((100% - var(--vk-wrap)) / 2 + 28px));
		width: 60px;
		height: 129px;
	}
}

@media (min-width: 1024px) {
	.vk-header__nav {
		display: flex;
		align-items: center;
		gap: 26px;
		margin-left: 34px;
		font-size: 14px;
		font-weight: 500;
	}

	.vk-header__nav a {
		display: flex;
		align-items: center;
		height: 44px;
		opacity: 0.94;
	}

	.vk-header__nav a:hover {
		opacity: 1;
		text-decoration: underline;
		text-underline-offset: 5px;
	}

	.vk-rail--cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.vk-card--rail .vk-card__name {
		font-size: 17px;
	}

	.vk-card__detail {
		font-size: 13px;
	}
}

/* ---------- Piezas compartidas por catálogo, ficha, carrito y pago ---------- */

.vk-btn--soft {
	background: var(--vk-tint);
	color: var(--vk-link) !important;
}

.vk-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 4px;
	font-size: 13px;
}

.vk-crumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vk-crumbs svg {
	flex: 0 0 auto;
	opacity: 0.85;
}

.vk-crumbs--center {
	justify-content: center;
}

.vk-zone a {
	color: #ffffff;
}

.vk-review--full {
	flex: none;
	margin-top: 12px !important;
}

.vk-catalog > .vk-section,
.vk-cartpage > .vk-section {
	padding-bottom: 34px;
}

.vk-header__logo--center {
	position: absolute;
	left: 50%;
	margin-left: 0;
	transform: translateX(-50%);
}

.vk-header--checkout .vk-header__bar {
	position: relative;
}

/* El pago lleva un pie mínimo y sobrio, sin el panel azul. */
.vk-footer--min {
	border-top: 1px solid var(--vk-line2);
	border-radius: 0;
	background: var(--vk-foot);
	color: var(--vk-ink2);
}

.vk-footer--min .vk-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 20px 26px;
	font-size: 12px;
}

.vk-footer__row {
	display: flex;
	flex-wrap: wrap;
	column-gap: 18px;
	font-size: 13px;
}

.vk-footer__row a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
}

.vk-shophead {
	padding: 18px 0 28px;
}

.vk-shophead__title {
	margin: 0;
	padding: 0 4px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.vk-shophead__sub {
	margin: 4px 0 0;
	padding: 0 4px;
	color: var(--vk-zone-ink2);
	font-size: 15px;
}

.vk-shophead__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px 4px;
	padding: 5px 11px;
	border: 1px solid var(--vk-zone-line);
	border-radius: 980px;
	font-size: 12px;
	font-weight: 600;
}

@media (min-width: 768px) {
	.vk-shophead {
		padding: 34px 0 40px;
	}

	.vk-shophead__title {
		font-size: 40px;
	}
}

/* Código de la moneda junto a cada precio ("$16.100 CLP"). Si no cabe en la línea, baja a la siguiente. */
.vk-price__value {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 4px;
}

/* Packs: lo que costarían sus productos por separado, tachado junto al precio del pack. */
.vk-price__was,
.vk-find__price del,
.vk-cart__sugprice del {
	position: relative;
	color: var(--vk-ink2);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	text-decoration: line-through;
}

.vk-price--inline {
	flex-wrap: wrap;
}

.vk-star .vk-price__was {
	font-size: 15px;
}

.vk-price__cur,
.vk-find__price small,
.vk-cart__sugprice small {
	color: var(--vk-ink2);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* ---------- Selector de moneda ---------- */

.vk-cur {
	display: inline-flex;
}

.vk-cur__select {
	box-sizing: border-box;
	max-width: 100%;
	height: 40px;
	padding: 0 34px 0 14px;
	border: 1px solid var(--vk-line);
	border-radius: 980px;
	background: var(--vk-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: var(--vk-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.vk-region {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vk-footer .vk-region {
	margin-top: 10px;
}

/* Idioma y moneda en la cabecera (solo en computador; en celular están en el menú y en el pie). */
.vk-loc {
	position: relative;
	display: none;
	margin-right: 4px;
}

.vk-loc__btn {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	border-radius: 980px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	list-style: none;
	cursor: pointer;
}

.vk-loc__btn::-webkit-details-marker {
	display: none;
}

.vk-loc__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 250px;
	padding: 14px;
	border: 1px solid var(--vk-panel-line);
	border-radius: 18px;
	background: var(--vk-panel);
	box-shadow: var(--vk-pop);
	color: var(--vk-ink);
}

.vk-loc__title {
	color: var(--vk-ink2);
	font-size: 13px;
	font-weight: 600;
}

.vk-loc__panel .vk-region {
	flex-direction: column;
}

.vk-loc__panel .vk-cur,
.vk-loc__panel .vk-cur__select {
	width: 100%;
}

@media (min-width: 1024px) {
	.vk-loc {
		display: block;
	}
}

.vk-footer:not(.vk-footer--min) .vk-cur__select {
	border-color: rgba(255, 255, 255, 0.34);
	background-color: rgba(255, 255, 255, 0.1);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
	color: #ffffff;
}

.vk-cur__select option {
	color: #1d1d1f;
}

/* ---------- Carrito lateral (opción 2 del diseño, compacta) ---------- */

.vk-cart {
	position: fixed;
	inset: 0;
	z-index: 210;
	color: var(--vk-ink);
}

.vk-cart[hidden] {
	display: none;
}

.vk-cart__scrim {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: var(--vk-scrim);
	cursor: pointer;
}

.vk-cart__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: min(90%, 400px);
	background: var(--vk-bg);
	border-left: 1px solid var(--vk-panel-line);
	box-shadow: var(--vk-pop);
	animation: vk-cart-in 0.22s ease-out;
}

@keyframes vk-cart-in {
	from {
		transform: translateX(24px);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vk-cart__panel {
		animation: none;
	}
}

.vk-cart__zone {
	position: relative;
	flex: 0 0 auto;
	overflow: hidden;
	padding: 6px 6px 42px 18px;
	border-radius: 0 0 24px 24px;
	background: var(--vk-zone);
	color: #ffffff;
}

.vk-cart__wm {
	position: absolute;
	top: 8px;
	right: 60px;
	width: 44px;
	height: 95px;
	background: url(../img/llave.webp) no-repeat center / contain;
	opacity: 0.2;
	pointer-events: none;
}

html[data-theme="dark"] .vk-cart__wm {
	display: none;
}

.vk-cart__top {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.vk-cart__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.vk-cart__sub {
	position: relative;
	min-height: 18px;
	color: var(--vk-zone-ink2);
	font-size: 13px;
	line-height: 1.4;
}

.vk-cart__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	margin-top: -32px;
	transition: opacity 0.15s ease;
}

.vk-cart__content.is-busy {
	opacity: 0.55;
	pointer-events: none;
}

.vk-cart__note {
	margin: 0 12px !important;
	padding: 22px 16px !important;
	border: 1px solid var(--vk-card-line);
	border-radius: 18px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
	color: var(--vk-ink2);
	font-size: 14px;
	text-align: center;
}

.vk-cart__note a {
	color: var(--vk-link);
	text-decoration: underline;
}

.vk-cart__scroll {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	min-height: 0;
	padding: 0 12px 14px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.vk-cart__items {
	flex: 0 0 auto;
	padding: 0 12px !important;
	border: 1px solid var(--vk-card-line);
	border-radius: 18px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
	list-style: none;
}

.vk-cart__item {
	display: flex;
	gap: 10px;
	padding: 10px 0;
}

.vk-cart__item + .vk-cart__item {
	border-top: 1px solid var(--vk-line2);
}

.vk-cart__thumb {
	flex: 0 0 56px;
}

.vk-cart__thumb img {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	object-fit: cover;
}

.vk-cart__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 2px;
	min-width: 0;
}

.vk-cart__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.vk-cart__row--low {
	align-items: center;
}

.vk-cart__name {
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vk-cart__price {
	flex: 0 0 auto;
	color: var(--vk-link);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.vk-cart__detail {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--vk-ink2);
	font-size: 12px;
	line-height: 1.3;
}

.vk-cart__qty {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	height: 34px;
	border: 1px solid var(--vk-line);
	border-radius: 980px;
	background: var(--vk-field);
}

.vk-cart__qty button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--vk-ink);
	cursor: pointer;
}

/* El botón se ve chico, pero el área que responde al dedo es de 44 px. */
.vk-cart__qty button::after {
	position: absolute;
	inset: -6px -5px;
	content: "";
}

.vk-cart__qty button:disabled {
	opacity: 0.3;
	cursor: default;
}

.vk-cart__n {
	min-width: 18px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.vk-cart__assure {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 5px;
	padding: 0 6px !important;
	color: var(--vk-ink2);
	font-size: 13px;
	line-height: 1.35;
	list-style: none;
}

.vk-cart__assure li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vk-cart__assure svg {
	flex: 0 0 16px;
	color: var(--vk-blue);
}

.vk-cart__upsell {
	flex: 0 0 auto;
	padding: 12px 12px 6px;
	border: 1px solid var(--vk-card-line);
	border-radius: 18px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
}

.vk-cart__upselltitle {
	margin-bottom: 4px !important;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.vk-cart__sugs {
	list-style: none;
}

.vk-cart__sug {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
}

.vk-cart__sug + .vk-cart__sug {
	border-top: 1px solid var(--vk-line2);
}

.vk-cart__sugimg {
	flex: 0 0 44px;
}

.vk-cart__sugimg img {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	object-fit: cover;
}

.vk-cart__suginfo {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.vk-cart__sugname {
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vk-cart__sugprice {
	color: var(--vk-link);
	font-size: 13px;
	font-weight: 700;
}

.vk-cart__sugprice span {
	color: var(--vk-ink2);
	font-weight: 500;
}

.vk-cart__add {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 36px;
	padding: 0 14px 0 11px;
	border: 0;
	border-radius: 980px;
	background: var(--vk-tint);
	color: var(--vk-link) !important;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

a.vk-cart__add {
	padding: 0 14px;
}

.vk-cart__foot {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	padding: 12px 18px calc(8px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--vk-panel-line);
	border-radius: 20px 20px 0 0;
	background: var(--vk-panel);
	box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.07);
}

.vk-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 10px !important;
	font-size: 16px;
	font-weight: 600;
}

.vk-cart__total strong {
	color: var(--vk-link);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.vk-cart__total small {
	color: var(--vk-ink2);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
}

.vk-cart__pay {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	border-radius: 980px;
	background: var(--vk-blue);
	color: #ffffff !important;
	font-size: 16px;
	font-weight: 600;
}

.vk-cart__view {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	color: var(--vk-link) !important;
	font-size: 14px;
	font-weight: 600;
}

.vk-cart__empty {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 26px 18px 20px;
	border: 1px solid var(--vk-card-line);
	border-radius: 18px;
	background: var(--vk-card);
	box-shadow: var(--vk-shadow);
	color: var(--vk-ink2);
	font-size: 14px;
	text-align: center;
}

.vk-cart__emptytitle {
	color: var(--vk-ink);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.vk-cart__empty .vk-cart__pay {
	margin-top: 10px;
}

/* ---------- Movimiento al pasar el mouse (solo computador) ---------- */

/* Solo con mouse y pantalla ancha, y solo si la persona no pidió reducir animaciones. */
@media (hover: hover) and (pointer: fine) and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
	.vk-cat__tile {
		transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
	}

	.vk-cat:hover .vk-cat__tile,
	.vk-cat:focus-visible .vk-cat__tile {
		transform: translateY(-8px) scale(1.1);
		box-shadow: 0 16px 28px rgba(0, 24, 72, 0.32);
	}

	.vk-cat:active .vk-cat__tile {
		transform: translateY(-3px) scale(1.04);
	}

	html[data-theme="dark"] .vk-cat:hover .vk-cat__tile,
	html[data-theme="dark"] .vk-cat:focus-visible .vk-cat__tile {
		border-color: rgba(77, 148, 255, 0.75);
		box-shadow: 0 0 32px rgba(13, 104, 255, 0.55);
	}

	.vk-header .vk-iconbtn svg,
	.vk-header__logo img {
		transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
	}

	.vk-header .vk-iconbtn:hover svg {
		transform: translateY(-2px) scale(1.15);
	}

	.vk-header__logo:hover img {
		transform: scale(1.05);
	}
}
