/* =====================================================================
   TORMI STORE — estilos del tema hijo
   ===================================================================== */

:root {
	--tm-red: #ED0D0D;          /* rojo del logo (decorativo) */
	--tm-red-strong: #CC0A0A;   /* rojo para botones y textos (contraste AA) */
	--tm-pink: #d7506d;
	--tm-pink-ink: #b8304f;
	--tm-pink-soft: #fbe7ec;
	--tm-orange: #de993e;
	--tm-orange-ink: #8a5414;
	--tm-orange-soft: #fdf1e4;
	--tm-ink: #2b1d26;
	--tm-ink-2: #5a4652;
	--tm-muted: #6f5a66;
	--tm-line: #f3e6ea;
	--tm-bg-soft: #faf6f8;
	--tm-white: #ffffff;

	--tm-font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
	--tm-font-body: 'Nunito', system-ui, sans-serif;

	--tm-radius: 28px;
	--tm-radius-sm: 18px;
	--tm-spring: cubic-bezier(.34, 1.56, .64, 1);
	--tm-smooth: cubic-bezier(.22, 1, .36, 1);

	/* Colores de Blocksy */
	--theme-palette-color-1: var(--tm-red-strong);
	--theme-palette-color-2: var(--tm-pink);
	--theme-palette-color-3: var(--tm-ink-2);
	--theme-palette-color-4: var(--tm-ink);
	--theme-text-color: var(--tm-ink-2);
	--theme-headings-color: var(--tm-ink);
	--theme-link-initial-color: var(--tm-ink);
	--theme-link-hover-color: var(--tm-red-strong);
	--theme-button-background-initial-color: var(--tm-red-strong);
	--theme-button-background-hover-color: var(--tm-red-strong);
	--theme-button-text-initial-color: #fff;
	--theme-button-text-hover-color: #fff;
	--theme-border-color: var(--tm-line);
	--theme-font-family: var(--tm-font-body);
	--theme-button-border-radius: 999px;
	--theme-form-field-border-radius: 14px;
}

/* ---------- Base ---------- */
body.tormi {
	font-family: var(--tm-font-body);
	color: var(--tm-ink-2);
	background: #fff;
	cursor: var(--tm-cursor);
	-webkit-font-smoothing: antialiased;
}
body.tormi a,
body.tormi button,
body.tormi [role="button"],
body.tormi label[for],
body.tormi select,
body.tormi summary,
body.tormi .tm-brand,
body.tormi ul.products li.product {
	cursor: var(--tm-cursor-hover);
}
body.tormi input[type="text"],
body.tormi input[type="email"],
body.tormi input[type="tel"],
body.tormi input[type="number"],
body.tormi input[type="search"],
body.tormi input[type="password"],
body.tormi textarea {
	cursor: text;
}

body.tormi h1, body.tormi h2, body.tormi h3, body.tormi h4,
body.tormi .product_title,
body.tormi .woocommerce-loop-product__title,
body.tormi .page-title,
body.tormi .site-title {
	font-family: var(--tm-font-display);
	color: var(--tm-ink);
	font-weight: 600;
	letter-spacing: -.01em;
}

body.tormi ::selection { background: var(--tm-pink-soft); color: var(--tm-ink); }

body.tormi :focus-visible {
	outline: 3px solid var(--tm-orange);
	outline-offset: 3px;
	border-radius: 10px;
}

.tm-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	position: relative;
}

/* =====================================================================
   BOTONES — relleno que sube con rebote
   ===================================================================== */
.tm-btn,
body.tormi .button,
body.tormi button.button,
body.tormi a.button,
body.tormi input.button,
body.tormi .single_add_to_cart_button,
body.tormi .checkout-button,
body.tormi #place_order,
body.tormi .wp-element-button,
body.tormi .wc-block-components-button {
	--fill: var(--tm-ink);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 28px;
	border-radius: 999px;
	border: 0;
	background: var(--tm-red-strong);
	color: #fff;
	font-family: var(--tm-font-body);
	font-weight: 800;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	letter-spacing: 0;
	transition: transform .35s var(--tm-spring), box-shadow .35s ease, color .3s ease, background-color .3s ease;
}
.tm-btn::before,
body.tormi .button::before,
body.tormi .single_add_to_cart_button::before,
body.tormi .checkout-button::before,
body.tormi #place_order::before,
body.tormi .wp-element-button::before,
body.tormi .wc-block-components-button::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 100%;
	width: 170%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--fill);
	transform: translate(-50%, 0) scale(.15);
	transition: transform .6s var(--tm-smooth);
	pointer-events: none;
}
.tm-btn:hover,
body.tormi .button:hover,
body.tormi .single_add_to_cart_button:hover,
body.tormi .checkout-button:hover,
body.tormi #place_order:hover,
body.tormi .wp-element-button:hover,
body.tormi .wc-block-components-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 24px -12px rgba(204, 10, 10, .55);
	color: #fff;
}
.tm-btn:hover::before,
body.tormi .button:hover::before,
body.tormi .single_add_to_cart_button:hover::before,
body.tormi .checkout-button:hover::before,
body.tormi #place_order:hover::before,
body.tormi .wp-element-button:hover::before,
body.tormi .wc-block-components-button:hover::before {
	transform: translate(-50%, -58%) scale(1);
}
.tm-btn:active,
body.tormi .button:active,
body.tormi .single_add_to_cart_button:active {
	transform: translateY(1px) scale(.97);
}

/* Variantes */
.tm-btn--red { --fill: var(--tm-ink); }
.tm-btn--ghost {
	--fill: var(--tm-ink);
	background: transparent;
	color: var(--tm-ink);
	box-shadow: inset 0 0 0 2px var(--tm-ink);
}
.tm-btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--tm-ink), 0 12px 24px -14px rgba(43, 29, 38, .5); }
.tm-btn--white { --fill: var(--tm-orange); background: #fff; color: var(--tm-ink); }
.tm-btn--white:hover { color: var(--tm-ink); }
.tm-btn { min-height: 56px; padding: 0 32px; font-size: 17px; }

/* Botones de WooCommerce en carga */
body.tormi .button.loading { opacity: .8; }
body.tormi .button.added { --fill: var(--tm-orange); }

/* =====================================================================
   ANIMACIONES AL HACER SCROLL
   ===================================================================== */
.tm-js .tm-reveal:not(.tm-done) {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--tm-smooth), transform .9s var(--tm-smooth);
	transition-delay: var(--d, 0s);
}
.tm-js .tm-reveal.is-in:not(.tm-done) { opacity: 1; transform: none; }

/* Títulos palabra por palabra */
.tm-split .tm-w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: .08em;
	margin-bottom: -.08em;
}
.tm-split .tm-w > span {
	display: inline-block;
	transform: translateY(110%) rotate(4deg);
	transition: transform .8s var(--tm-spring);
	transition-delay: calc(var(--i, 0) * 70ms);
}
.tm-split.is-in .tm-w > span { transform: none; }

/* Pop de entrada (mascota) */
.tm-js .tm-pop { opacity: 0; transform: scale(.85) translateY(20px); transition: opacity .6s ease, transform .9s var(--tm-spring); }
.tm-js .tm-pop.is-in { opacity: 1; transform: none; }

/* Shake de blind box */
@keyframes tm-shake {
	0%, 100% { transform: rotate(0); }
	15% { transform: rotate(-6deg); }
	30% { transform: rotate(5deg); }
	45% { transform: rotate(-4deg); }
	60% { transform: rotate(3deg); }
	75% { transform: rotate(-1.5deg); }
}
@keyframes tm-float {
	0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
	50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}
@keyframes tm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tm-bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.35); } 70% { transform: scale(.9); } }
@keyframes tm-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

/* =====================================================================
   PÁGINA DE INICIO
   ===================================================================== */
.tm-home { overflow-x: clip; }

.tm-eyebrow {
	display: inline-block;
	background: var(--tm-orange-soft);
	color: var(--tm-orange-ink);
	font-weight: 800;
	font-size: 14px;
	padding: 8px 16px;
	border-radius: 999px;
}
.tm-kicker { display: block; color: var(--tm-pink-ink); font-weight: 800; font-size: 15px; margin-bottom: 6px; }

.tm-hero {
	position: relative;
	padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 104px);
	background:
		radial-gradient(circle at 88% 18%, var(--tm-pink-soft) 0, rgba(251, 231, 236, 0) 42%),
		radial-gradient(circle at 6% 92%, var(--tm-orange-soft) 0, rgba(253, 241, 228, 0) 40%),
		#fff;
}
.tm-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.tm-hero__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.tm-hero__title {
	margin: 0;
	font-size: clamp(42px, 6.2vw, 76px);
	line-height: 1.02;
	letter-spacing: -.02em;
}
.tm-hero__title em { font-style: normal; color: var(--tm-red); }
.tm-hero__lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 520px; }
.tm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.tm-hero__art {
	flex: 1 1 400px;
	min-width: 0;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	min-height: 420px;
}
.tm-blob {
	position: absolute;
	inset: 8% 6% 0;
	background: var(--tm-pink-soft);
	border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
	animation: tm-float 9s ease-in-out infinite;
}
.tm-hero__mascot { position: relative; width: min(380px, 78%); height: auto; filter: drop-shadow(0 24px 30px rgba(43, 29, 38, .15)); }
.tm-float {
	position: absolute;
	width: clamp(110px, 13vw, 160px);
	aspect-ratio: 1;
	border-radius: 28px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 18px 40px -18px rgba(43, 29, 38, .35);
	animation: tm-float 6s ease-in-out infinite;
}
.tm-float img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-float--0 { top: 4%; left: 0; --r: -6deg; }
.tm-float--1 { top: 28%; right: 0; --r: 7deg; animation-delay: -2.5s; }

/* Cinta */
.tm-marquee { background: var(--tm-ink); color: #fff; overflow: hidden; padding: 20px 0; }
.tm-marquee__track { display: flex; width: max-content; animation: tm-marquee 32s linear infinite; }
.tm-marquee:hover .tm-marquee__track { animation-play-state: paused; }
.tm-marquee span {
	display: inline-flex;
	align-items: center;
	gap: 40px;
	padding-right: 40px;
	font-family: var(--tm-font-display);
	font-weight: 600;
	font-size: clamp(22px, 2.4vw, 30px);
	white-space: nowrap;
}
.tm-marquee i { font-style: normal; color: var(--tm-orange); }

/* Secciones */
.tm-section { padding: clamp(56px, 7vw, 96px) 0 0; position: relative; }
.tm-section h2, .tm-cta h2, .tm-404 h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; margin: 0; }
.tm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.tm-link { font-weight: 800; color: var(--tm-ink); text-decoration: none; background: linear-gradient(var(--tm-red), var(--tm-red)) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--tm-smooth); padding-bottom: 4px; }
.tm-link:hover { background-size: 100% 3px; color: var(--tm-red-strong); }

/* Marcas */
.tm-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.tm-brand {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 230px;
	padding: 24px;
	border-radius: var(--tm-radius);
	background: var(--tm-pink-soft);
	text-decoration: none;
	overflow: hidden;
	transition: transform .45s var(--tm-spring), box-shadow .45s ease;
}
.tm-brand--1 { background: var(--tm-orange-soft); }
.tm-brand__name { font-family: var(--tm-font-display); font-weight: 600; font-size: 28px; color: var(--tm-ink); position: relative; z-index: 1; }
.tm-brand__count { font-weight: 700; font-size: 14px; color: var(--tm-muted); position: relative; z-index: 1; }
.tm-brand__img {
	position: absolute;
	right: -14px;
	bottom: -14px;
	width: 62%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 24px;
	mix-blend-mode: multiply;
	transition: transform .6s var(--tm-spring);
}
.tm-brand__go {
	position: absolute;
	left: 24px;
	bottom: 22px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tm-ink);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 800;
	transition: transform .4s var(--tm-spring), background-color .3s ease;
}
.tm-brand:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(215, 80, 109, .55); }
.tm-brand:hover .tm-brand__img { animation: tm-shake .7s ease; }
.tm-brand:hover .tm-brand__go { transform: translateX(6px) rotate(-12deg); background: var(--tm-red-strong); }

/* Mascota que se asoma */
.tm-peek {
	position: absolute;
	width: 130px;
	height: auto;
	top: -40px;
	right: 34%;
	z-index: 1;
	pointer-events: none;
	transform: translateY(40px) rotate(8deg);
	opacity: 0;
	transition: transform .9s var(--tm-spring), opacity .5s ease;
}
.tm-peek.is-in { transform: translateY(0) rotate(0); opacity: 1; }
@media (max-width: 900px) { .tm-peek { display: none; } }

/* Tipos */
.tm-types { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tm-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	border-radius: 999px;
	border: 2px solid var(--tm-line);
	font-family: var(--tm-font-display);
	font-weight: 600;
	font-size: 20px;
	color: var(--tm-ink);
	text-decoration: none;
	transition: transform .35s var(--tm-spring), background-color .3s ease, border-color .3s ease;
}
.tm-chip small { font-family: var(--tm-font-body); font-weight: 800; font-size: 13px; background: var(--tm-pink-soft); color: var(--tm-pink-ink); border-radius: 999px; padding: 3px 9px; }
.tm-chip:hover { transform: rotate(-2deg) scale(1.05); background: var(--tm-pink-soft); border-color: var(--tm-pink); color: var(--tm-ink); }

/* Qué es una blind box */
.tm-how { background: var(--tm-orange-soft); border-radius: 40px; padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px); text-align: center; }
.tm-how__lead { max-width: 620px; margin: 12px auto 40px; font-size: 18px; line-height: 1.55; }
.tm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; text-align: left; }
.tm-step { position: relative; background: #fff; border-radius: var(--tm-radius); padding: 24px 26px 28px; transition: transform .45s var(--tm-spring); }
.tm-step img { display: block; height: 150px; width: auto; margin: -8px auto 10px; transition: transform .5s var(--tm-spring); }
.tm-step:hover { transform: translateY(-6px); }
.tm-step:hover img { animation: tm-wiggle .6s ease; }
.tm-step__n {
	position: absolute; top: 20px; left: 20px;
	width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--tm-red-strong); color: #fff;
	font-family: var(--tm-font-display); font-weight: 600; font-size: 20px;
}
.tm-step h3 { margin: 0 0 6px; font-size: 24px; }
.tm-step p { margin: 0; line-height: 1.55; }

/* Por qué Tormi */
.tm-why { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.tm-why__art { flex: 1 1 280px; display: flex; justify-content: center; }
.tm-why__art img { width: min(320px, 80%); height: auto; }
.tm-why__list { flex: 2 1 420px; display: flex; flex-direction: column; gap: 18px; }
.tm-why__list h2 { margin-bottom: 8px; }
.tm-why__item { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 2px solid var(--tm-line); border-radius: var(--tm-radius); transition: border-color .3s ease, transform .4s var(--tm-spring); }
.tm-why__item:hover { border-color: var(--tm-pink); transform: translateX(6px); }
.tm-why__item svg { flex: 0 0 auto; width: 38px; height: 38px; fill: none; stroke: var(--tm-red-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-why__item h3 { margin: 0 0 4px; font-size: 22px; }
.tm-why__item p { margin: 0; line-height: 1.55; }

/* Cierre */
.tm-cta { margin-top: clamp(56px, 7vw, 96px); background: var(--tm-red-strong); color: #fff; overflow: hidden; }
.tm-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.tm-cta__inner > div { flex: 1 1 420px; position: relative; z-index: 1; }
.tm-cta h2 { color: #fff; }
.tm-cta p { margin: 10px 0 0; font-size: 18px; color: #fff; }
.tm-cta .tm-btn { position: relative; z-index: 1; }
.tm-cta__mascot { position: absolute; right: 6%; bottom: -30px; width: 170px; height: auto; opacity: .95; }
@media (max-width: 900px) { .tm-cta__mascot { display: none; } }

/* 404 */
.tm-404 { padding: clamp(48px, 7vw, 96px) 0; }
.tm-404__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.tm-404__inner > img { flex: 0 1 280px; width: 280px; max-width: 70%; height: auto; margin: 0 auto; }
.tm-404__inner > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.tm-404__code { margin: 0; font-family: var(--tm-font-display); font-weight: 700; font-size: 20px; color: var(--tm-red-strong); }

/* =====================================================================
   TARJETAS DE PRODUCTO
   ===================================================================== */
body.tormi ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
	gap: 28px 22px !important;
}
body.tormi ul.products li.product {
	position: relative;
	display: flex !important;
	flex-direction: column;
	gap: 6px;
	padding: 0 0 18px !important;
	margin: 0 !important;
	width: auto !important;
	background: #fff;
	border-radius: var(--tm-radius);
	transition: transform .45s var(--tm-spring);
}
body.tormi ul.products li.product figure {
	position: relative;
	margin: 0 0 8px !important;
	border-radius: var(--tm-radius);
	overflow: hidden;
	background: var(--tm-bg-soft);
	box-shadow: 0 0 0 1px var(--tm-line);
	transition: box-shadow .45s ease;
}
body.tormi ul.products li.product figure img {
	transition: transform .9s var(--tm-smooth), opacity .45s ease;
}
body.tormi ul.products li.product .tm-alt {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.06);
}
body.tormi ul.products li.product:hover { transform: translateY(-6px); }
body.tormi ul.products li.product:hover figure { box-shadow: 0 0 0 2px var(--tm-pink), 0 24px 44px -24px rgba(215, 80, 109, .6); }
body.tormi ul.products li.product:hover figure img { transform: scale(1.06); }
body.tormi ul.products li.product:hover figure .tm-alt { opacity: 1; transform: scale(1.02); }
body.tormi ul.products li.product:not(.tm-has-alt):hover figure img { animation: tm-shake .7s ease; transform: scale(1.04); }

body.tormi ul.products li.product .woocommerce-loop-product__title {
	font-size: 18px !important;
	line-height: 1.25;
	font-weight: 500;
	margin: 0 !important;
	padding: 0 6px;
}
body.tormi ul.products li.product .woocommerce-loop-product__title a { color: var(--tm-ink); text-decoration: none; }
body.tormi ul.products li.product .price {
	padding: 0 6px;
	font-weight: 800;
	font-size: 18px;
	color: var(--tm-red-strong) !important;
}
body.tormi ul.products li.product .price del { color: var(--tm-muted); font-weight: 600; font-size: 15px; }
body.tormi ul.products li.product .price ins { text-decoration: none; }

/* Botón "agregar" que aparece sobre la foto */
body.tormi ul.products li.product .ct-woo-card-actions {
	position: absolute;
	left: 14px;
	right: 14px;
	top: 0;
	aspect-ratio: 1;
	display: flex;
	align-items: flex-end;
	padding-bottom: 14px;
	margin: 0 !important;
	pointer-events: none;
	box-sizing: border-box;
}
body.tormi ul.products li.product .ct-woo-card-actions .button {
	--fill: var(--tm-red-strong);
	width: 100%;
	pointer-events: auto;
	background: var(--tm-ink);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .35s ease, transform .45s var(--tm-spring), box-shadow .3s ease;
}
body.tormi ul.products li.product:hover .ct-woo-card-actions .button,
body.tormi ul.products li.product .ct-woo-card-actions .button:focus-visible,
body.tormi ul.products li.product .ct-woo-card-actions .button.added,
body.tormi ul.products li.product .ct-woo-card-actions .button.loading { opacity: 1; transform: none; }
body.tormi ul.products li.product .added_to_cart { display: none; }
@media (hover: none) {
	body.tormi ul.products li.product .ct-woo-card-actions { position: static; aspect-ratio: auto; padding: 4px 6px 0; }
	body.tormi ul.products li.product .ct-woo-card-actions .button { opacity: 1; transform: none; }
}

/* Etiqueta de oferta */
body.tormi .onsale {
	background: var(--tm-orange) !important;
	color: var(--tm-ink) !important;
	font-weight: 800;
	border-radius: 999px !important;
	padding: 6px 12px !important;
	min-height: 0 !important;
	line-height: 1.2 !important;
	top: 14px !important;
	left: 14px !important;
	right: auto !important;
}

/* =====================================================================
   FICHA DE PRODUCTO
   ===================================================================== */
body.tormi.single-product .woocommerce-product-gallery,
body.tormi.single-product .woocommerce-product-gallery .ct-media-container,
body.tormi.single-product .flexy-container,
body.tormi.single-product .woocommerce-product-gallery__image {
	border-radius: 32px;
	overflow: hidden;
}
body.tormi.single-product .woocommerce-product-gallery { background: var(--tm-bg-soft); }
body.tormi.single-product .flexy-pills img,
body.tormi.single-product .flex-control-thumbs img {
	border-radius: 16px;
	transition: transform .35s var(--tm-spring), box-shadow .3s ease, opacity .3s ease;
}
body.tormi.single-product .flexy-pills li:hover img,
body.tormi.single-product .flex-control-thumbs li:hover img { transform: translateY(-3px); }
body.tormi.single-product .flexy-pills .active img,
body.tormi.single-product .flex-control-thumbs .flex-active { box-shadow: 0 0 0 3px var(--tm-pink); }

body.tormi.single-product .product_title { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.06; margin-bottom: 10px; }
body.tormi.single-product .summary .price,
body.tormi.single-product .entry-summary .price {
	font-family: var(--tm-font-display);
	font-weight: 600;
	font-size: 34px !important;
	color: var(--tm-red-strong) !important;
}
body.tormi.single-product .woocommerce-product-details__short-description { font-size: 17px; line-height: 1.6; }
body.tormi.single-product .stock.in-stock {
	display: inline-flex; align-items: center; gap: 8px;
	background: #e8f5ec; color: #1f5f34; font-weight: 800; font-size: 14px;
	padding: 7px 14px; border-radius: 999px;
}
body.tormi.single-product .stock.in-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2a8a4a; }
body.tormi.single-product .stock.out-of-stock { background: var(--tm-pink-soft); color: var(--tm-pink-ink); font-weight: 800; padding: 7px 14px; border-radius: 999px; display: inline-block; }

body.tormi.single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
body.tormi.single-product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 60px; font-size: 17px; --fill: var(--tm-ink); }

/* Selector de cantidad */
body.tormi .quantity {
	border: 2px solid var(--tm-line) !important;
	border-radius: 999px !important;
	background: #fff;
	overflow: hidden;
	min-height: 56px;
}
body.tormi .quantity input.qty {
	border: 0 !important;
	font-weight: 800;
	font-size: 17px;
	color: var(--tm-ink);
	background: transparent !important;
}
body.tormi .quantity .ct-increase,
body.tormi .quantity .ct-decrease {
	border: 0 !important;
	color: var(--tm-ink) !important;
	transition: background-color .25s ease, transform .3s var(--tm-spring);
}
body.tormi .quantity .ct-increase:hover,
body.tormi .quantity .ct-decrease:hover { background: var(--tm-pink-soft) !important; }

/* Pestañas */
body.tormi .woocommerce-tabs ul.tabs { border: 0 !important; border-bottom: 2px solid var(--tm-line) !important; gap: 6px; }
body.tormi .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; margin: 0 !important; }
body.tormi .woocommerce-tabs ul.tabs li a {
	position: relative;
	font-family: var(--tm-font-display);
	font-weight: 600;
	font-size: 19px;
	color: var(--tm-muted) !important;
	padding: 12px 18px !important;
}
body.tormi .woocommerce-tabs ul.tabs li a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 4px; border-radius: 4px;
	background: var(--tm-red); transform: scaleX(0); transition: transform .4s var(--tm-spring);
}
body.tormi .woocommerce-tabs ul.tabs li.active a { color: var(--tm-ink) !important; }
body.tormi .woocommerce-tabs ul.tabs li.active a::after,
body.tormi .woocommerce-tabs ul.tabs li a:hover::after { transform: scaleX(1); }
body.tormi .woocommerce-tabs .panel { animation: tm-fade-up .5s var(--tm-smooth); }
@keyframes tm-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

body.tormi table.shop_attributes { border: 0 !important; }
body.tormi table.shop_attributes th,
body.tormi table.shop_attributes td { border: 0 !important; border-bottom: 1px solid var(--tm-line) !important; padding: 14px 4px !important; background: none !important; }
body.tormi table.shop_attributes th { color: var(--tm-muted); font-weight: 700; }
body.tormi table.shop_attributes td { color: var(--tm-ink); font-weight: 800; font-style: normal; }

body.tormi .related > h2,
body.tormi .upsells > h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 24px; }

/* Muestras de variaciones */
body.tormi .variations select { border-radius: 14px; border: 2px solid var(--tm-line); }

/* =====================================================================
   CARRITO Y CHECKOUT
   ===================================================================== */
body.tormi .woocommerce-cart-form table.shop_table,
body.tormi table.shop_table {
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 12px !important;
}
body.tormi .woocommerce-cart-form table.shop_table thead th {
	border: 0 !important;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--tm-muted);
}
body.tormi .woocommerce-cart-form .cart_item td {
	border: 0 !important;
	border-top: 1px solid var(--tm-line) !important;
	border-bottom: 1px solid var(--tm-line) !important;
	background: #fff;
	vertical-align: middle;
	transition: background-color .3s ease;
}
body.tormi .woocommerce-cart-form .cart_item td:first-child { border-left: 1px solid var(--tm-line) !important; border-radius: 22px 0 0 22px; }
body.tormi .woocommerce-cart-form .cart_item td:last-child { border-right: 1px solid var(--tm-line) !important; border-radius: 0 22px 22px 0; }
body.tormi .woocommerce-cart-form .cart_item:hover td { background: var(--tm-bg-soft); }
body.tormi .woocommerce-cart-form .product-thumbnail img { border-radius: 16px; transition: transform .5s var(--tm-spring); }
body.tormi .woocommerce-cart-form .cart_item:hover .product-thumbnail img { animation: tm-shake .7s ease; }
body.tormi .woocommerce-cart-form .product-name a { font-family: var(--tm-font-display); font-weight: 500; font-size: 18px; color: var(--tm-ink); text-decoration: none; }
body.tormi .woocommerce-cart-form .product-subtotal,
body.tormi .woocommerce-cart-form .product-price { font-weight: 800; color: var(--tm-ink); }
body.tormi .woocommerce-cart-form .product-subtotal .amount { color: var(--tm-red-strong); }
body.tormi a.remove {
	width: 40px !important;
	height: 40px !important;
	line-height: 38px !important;
	border-radius: 50% !important;
	background: var(--tm-bg-soft) !important;
	color: var(--tm-ink) !important;
	font-size: 22px !important;
	transition: transform .35s var(--tm-spring), background-color .25s ease !important;
}
body.tormi a.remove:hover { transform: rotate(90deg); background: var(--tm-pink-soft) !important; color: var(--tm-red-strong) !important; }

body.tormi .cart-collaterals .cart_totals,
body.tormi #order_review,
body.tormi .woocommerce-checkout-review-order {
	background: var(--tm-bg-soft);
	border-radius: 32px;
	padding: 28px;
	border: 0;
}
body.tormi .cart_totals h2,
body.tormi #order_review_heading { font-size: 28px; }
body.tormi .cart_totals .order-total .amount,
body.tormi .woocommerce-checkout-review-order .order-total .amount {
	font-family: var(--tm-font-display);
	font-size: 30px;
	font-weight: 600;
	color: var(--tm-red-strong);
}
body.tormi .checkout-button,
body.tormi #place_order { width: 100%; min-height: 60px; font-size: 18px; }
body.tormi .coupon .input-text {
	border-radius: 999px !important;
	border: 2px solid var(--tm-line) !important;
	min-height: 48px;
	padding: 0 18px !important;
}

body.tormi .woocommerce-checkout .form-row input.input-text,
body.tormi .woocommerce-checkout .form-row textarea,
body.tormi .woocommerce-checkout .form-row select,
body.tormi .woocommerce-checkout .select2-selection {
	border: 2px solid var(--tm-line) !important;
	border-radius: 14px !important;
	min-height: 50px;
	transition: border-color .25s ease, box-shadow .25s ease;
}
body.tormi .woocommerce-checkout .form-row input.input-text:focus,
body.tormi .woocommerce-checkout .form-row textarea:focus {
	border-color: var(--tm-pink) !important;
	box-shadow: 0 0 0 4px var(--tm-pink-soft) !important;
}
body.tormi .woocommerce-checkout h3 { font-size: 26px; }

.tm-checkout-hello {
	display: flex; align-items: center; gap: 16px;
	background: var(--tm-orange-soft);
	border-radius: 24px;
	padding: 14px 20px;
	margin-bottom: 24px;
}
.tm-checkout-hello img { width: 72px; height: auto; flex: 0 0 auto; }
.tm-checkout-hello strong { display: block; font-family: var(--tm-font-display); font-size: 22px; font-weight: 600; color: var(--tm-ink); }
.tm-checkout-hello span { color: var(--tm-ink-2); }

.tm-empty-cart { text-align: center; padding: 32px 16px 8px; }
.tm-empty-cart img { width: 200px; height: auto; margin: 0 auto 12px; display: block; }
.tm-empty-cart__title { font-family: var(--tm-font-display); font-size: 30px; font-weight: 600; color: var(--tm-ink); margin: 0 0 6px; }
body.tormi.woocommerce-cart .cart-empty.woocommerce-info { display: none; }
body.tormi .return-to-shop { text-align: center; }

.tm-thanks { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; background: var(--tm-orange-soft); border-radius: 32px; padding: 24px 28px; margin-bottom: 28px; }
.tm-thanks img { width: 140px; height: auto; }
.tm-thanks__title { font-family: var(--tm-font-display); font-size: 32px; font-weight: 600; color: var(--tm-ink); margin: 0 0 4px; }

/* Avisos de WooCommerce */
body.tormi .woocommerce-message,
body.tormi .woocommerce-info,
body.tormi .woocommerce-error {
	border: 0 !important;
	border-radius: 20px !important;
	background: var(--tm-bg-soft) !important;
	color: var(--tm-ink) !important;
	animation: tm-fade-up .5s var(--tm-smooth);
}
body.tormi .woocommerce-message { background: #e8f5ec !important; }
body.tormi .woocommerce-error { background: var(--tm-pink-soft) !important; }

/* =====================================================================
   AVISO "AGREGADO AL CARRITO"
   ===================================================================== */
.tm-toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 22px 12px 12px;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 24px 60px -20px rgba(43, 29, 38, .45), 0 0 0 1px var(--tm-line);
	transform: translateY(130%) scale(.9);
	opacity: 0;
	transition: transform .55s var(--tm-spring), opacity .3s ease;
}
.tm-toast[hidden] { display: flex !important; visibility: hidden; }
.tm-toast.is-on { transform: none; opacity: 1; visibility: visible; }
.tm-toast img { width: 56px; height: auto; }
.tm-toast strong { display: block; font-family: var(--tm-font-display); font-weight: 600; font-size: 18px; color: var(--tm-ink); }
.tm-toast a { font-weight: 800; color: var(--tm-red-strong); text-decoration: none; }
@media (max-width: 600px) { .tm-toast { left: 12px; right: 12px; bottom: 12px; } }

/* Contador del carrito con rebote */
.tm-bump { animation: tm-bump .6s var(--tm-spring); }

/* =====================================================================
   ENCABEZADO Y PIE (Blocksy)
   ===================================================================== */
body.tormi #header .ct-menu-link,
body.tormi .ct-header .menu > li > a {
	font-weight: 800;
	position: relative;
}
body.tormi .ct-header .menu > li > a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 10px;
	height: 3px;
	border-radius: 3px;
	background: var(--tm-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--tm-smooth);
}
body.tormi .ct-header .menu > li > a:hover::after,
body.tormi .ct-header .menu > li.current-menu-item > a::after { transform: scaleX(1); }

body.tormi .ct-header-cart .ct-dynamic-count-cart,
body.tormi .ct-header-cart [data-count] { background: var(--tm-red-strong) !important; color: #fff !important; }

/* =====================================================================
   MOVIMIENTO REDUCIDO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.tm-js .tm-reveal, .tm-js .tm-pop, .tm-peek { opacity: 1 !important; transform: none !important; }
	.tm-split .tm-w > span { transform: none !important; }
	.tm-marquee__track { animation: none !important; }
}

/* =====================================================================
   CABECERA — ajustes sobre Blocksy
   ===================================================================== */
body.tormi #header { box-shadow: 0 1px 0 var(--tm-line); }
body.tormi .ct-header .menu > li > a.ct-menu-link,
body.tormi .ct-header .menu > li.current-menu-item > a.ct-menu-link,
body.tormi .ct-header .menu > li.current-menu-ancestor > a.ct-menu-link,
body.tormi .ct-header .menu > li > a.ct-menu-link:hover {
	background: transparent !important;
	color: var(--tm-ink) !important;
	font-family: var(--tm-font-body);
	font-size: 15px;
	text-transform: none;
	letter-spacing: 0;
}
body.tormi .ct-header .menu > li.current-menu-item > a.ct-menu-link,
body.tormi .ct-header .menu > li > a.ct-menu-link:hover { color: var(--tm-red-strong) !important; }
body.tormi .ct-header .sub-menu {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 24px 50px -20px rgba(43, 29, 38, .35) !important;
	padding: 8px !important;
}
body.tormi .ct-header .sub-menu a { border-radius: 12px; font-weight: 700; }
body.tormi .ct-header .sub-menu a:hover { background: var(--tm-pink-soft) !important; color: var(--tm-ink) !important; }

body.tormi #tormi-search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: min(380px, 40vw);
	margin: 0;
}
body.tormi #tormi-search-input {
	width: 100%;
	height: 46px;
	padding: 0 52px 0 20px;
	border: 2px solid var(--tm-line) !important;
	border-radius: 999px !important;
	background: var(--tm-bg-soft) !important;
	font-family: var(--tm-font-body);
	font-size: 15px;
	color: var(--tm-ink);
	box-shadow: none !important;
	transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
body.tormi #tormi-search-input:focus {
	outline: none;
	border-color: var(--tm-pink) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px var(--tm-pink-soft) !important;
}
body.tormi #tormi-search-btn {
	position: absolute;
	right: 4px;
	top: 50%;
	width: 38px;
	height: 38px;
	min-height: 0;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: var(--tm-red-strong);
	color: #fff;
	font-size: 0;
	display: grid;
	place-items: center;
	transition: transform .35s var(--tm-spring), background-color .25s ease;
}
body.tormi #tormi-search-btn::before { display: none; }
body.tormi #tormi-search-btn::after {
	content: "";
	width: 18px;
	height: 18px;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.tormi #tormi-search-btn:hover { transform: translateY(-50%) scale(1.08) rotate(-8deg); background: var(--tm-ink); }
body.tormi #tormi-search-btn > * { display: none; }

body.tormi .ct-header-cart .ct-amount { font-weight: 800; color: var(--tm-ink) !important; }
body.tormi .ct-header-cart .ct-icon-container { transition: transform .35s var(--tm-spring); }
body.tormi .ct-header-cart:hover .ct-icon-container { transform: rotate(-10deg) scale(1.1); }
body.tormi .site-logo-container img { transition: transform .45s var(--tm-spring); }
body.tormi .site-logo-container:hover img { transform: rotate(-4deg) scale(1.06); }

/* Pestañas sin mayúsculas forzadas */
body.tormi .woocommerce-tabs ul.tabs li a { text-transform: none !important; letter-spacing: 0 !important; }

/* Precios del carrito en el estilo de la marca */
body.tormi .woocommerce-cart-form .product-name .amount,
body.tormi .woocommerce-cart-form .product-price .amount { color: var(--tm-muted); font-weight: 700; }
body.tormi .woocommerce-cart-form .product-name a { font-size: 17px; }

/* Flecha de las tarjetas de marca */
.tm-brand__go svg { display: block; }

/* Móvil */
@media (max-width: 689px) {
	body.tormi #tormi-search-form { width: 100%; }
	.tm-hero__art { min-height: 320px; }
	.tm-float { width: 96px; border-radius: 20px; }
	.tm-brand { min-height: 190px; }
	.tm-brand__name { font-size: 24px; }
	body.tormi ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px 12px !important; }
	body.tormi ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
	body.tormi ul.products li.product .price { font-size: 16px; }
	body.tormi ul.products li.product .ct-woo-card-actions .button { min-height: 42px; padding: 0 12px; font-size: 14px; }
}

/* =====================================================================
   FUENTE BASE — anula "Averia Gruesa Libre" del Personalizador de Blocksy
   (aparecía en etiquetas como las opciones de envío del carrito)
   ===================================================================== */
body.tormi { --theme-font-family: var(--tm-font-body); }
body.tormi label,
body.tormi .woocommerce-shipping-methods label,
body.tormi .ct-header .sub-menu .ct-menu-link,
body.tormi input,
body.tormi select,
body.tormi textarea,
body.tormi button { font-family: var(--tm-font-body); }
body.tormi .page-title,
body.tormi .entry-header .page-title { font-family: var(--tm-font-display); }

/* Opciones de envío más claras */
body.tormi .woocommerce-shipping-methods li { margin-bottom: 8px; }
body.tormi .woocommerce-shipping-methods label { font-weight: 700; color: var(--tm-ink); }
body.tormi .woocommerce-shipping-methods label .amount { color: var(--tm-red-strong); font-weight: 800; }
body.tormi input[type="radio"]:checked { accent-color: var(--tm-red-strong); }

/* =====================================================================
   CARRITO LATERAL
   ===================================================================== */
body.tormi .ct-header-cart .ct-cart-content { display: none !important; }
html.tm-drawer-lock { overflow: hidden; }

.tm-drawer[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.tm-drawer { position: fixed; inset: 0; z-index: 100000; }
.tm-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(43, 29, 38, .45);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .4s ease;
}
.tm-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(440px, 100vw);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 28px 0 0 28px;
	box-shadow: -30px 0 60px -30px rgba(43, 29, 38, .5);
	transform: translateX(105%);
	transition: transform .55s var(--tm-smooth);
	font-family: var(--tm-font-body);
	color: var(--tm-ink-2);
}
.tm-drawer.is-open { visibility: visible; pointer-events: auto; }
.tm-drawer.is-open .tm-drawer__overlay { opacity: 1; }
.tm-drawer.is-open .tm-drawer__panel { transform: none; }
@media (max-width: 480px) { .tm-drawer__panel { border-radius: 0; } }

.tm-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 24px 18px;
	border-bottom: 1px solid var(--tm-line);
}
.tm-drawer__head h2 {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--tm-font-display);
	font-size: 28px;
	font-weight: 600;
	color: var(--tm-ink);
}
.tm-drawer-count {
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	box-sizing: border-box;
	border-radius: 999px;
	background: var(--tm-red-strong);
	color: #fff;
	font-family: var(--tm-font-body);
	font-size: 14px;
	font-weight: 800;
	display: inline-grid;
	place-items: center;
}
.tm-drawer__close {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--tm-bg-soft);
	display: grid;
	place-items: center;
	padding: 0;
	transition: transform .4s var(--tm-spring), background-color .25s ease;
}
.tm-drawer__close svg { width: 20px; height: 20px; fill: none; stroke: var(--tm-ink); stroke-width: 2.4; stroke-linecap: round; }
.tm-drawer__close:hover { transform: rotate(90deg); background: var(--tm-pink-soft); }
.tm-drawer__close::before { display: none; }

.tm-drawer__inner { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.tm-drawer__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 16px; }

.tm-drawer__note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 16px 0 6px;
	padding: 12px 14px;
	border-radius: 16px;
	background: var(--tm-orange-soft);
	color: var(--tm-orange-ink);
	font-weight: 800;
	font-size: 14px;
}
.tm-drawer__note svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Productos del carrito */
.tm-drawer__items { list-style: none; margin: 0; padding: 0; }
.tm-ditem {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--tm-line);
	transition: opacity .28s ease, transform .28s ease;
}
.tm-ditem.is-busy { opacity: .55; pointer-events: none; }
.tm-ditem.is-leaving { opacity: 0; transform: translateX(30px); }
.tm-ditem__img {
	width: 84px;
	height: 84px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--tm-bg-soft);
	box-shadow: 0 0 0 1px var(--tm-line);
	display: block;
}
.tm-ditem__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--tm-spring); }
.tm-ditem:hover .tm-ditem__img img { animation: tm-shake .7s ease; }
.tm-ditem__info { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.tm-ditem__name {
	font-family: var(--tm-font-display);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.25;
	color: var(--tm-ink) !important;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tm-ditem__price { font-size: 14px; font-weight: 700; color: var(--tm-muted); }
.tm-ditem__remove {
	margin-top: 2px;
	padding: 0;
	min-height: 0;
	border: 0;
	background: none;
	color: var(--tm-muted);
	font-size: 13px;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.tm-ditem__remove::before { display: none; }
.tm-ditem__remove:hover { color: var(--tm-red-strong); }
.tm-ditem__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tm-ditem__total { font-weight: 800; font-size: 15px; color: var(--tm-ink); }

.tm-qty {
	display: inline-flex;
	align-items: center;
	height: 38px;
	border: 2px solid var(--tm-line);
	border-radius: 999px;
	background: #fff;
}
.tm-qty button {
	width: 34px;
	height: 34px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--tm-ink);
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	transition: background-color .2s ease, transform .3s var(--tm-spring);
}
.tm-qty button::before { display: none; }
.tm-qty button:hover:not([disabled]) { background: var(--tm-pink-soft); transform: scale(1.1); }
.tm-qty button[disabled] { opacity: .3; }
.tm-qty span { min-width: 22px; text-align: center; font-weight: 800; color: var(--tm-ink); }

/* Sugerencias */
.tm-drawer__sugs { margin-top: 20px; }
.tm-drawer__sugs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tm-drawer__sugs-head p { margin: 0; font-family: var(--tm-font-display); font-weight: 600; font-size: 19px; color: var(--tm-ink); }
.tm-drawer__sugs-nav { display: flex; gap: 6px; }
.tm-drawer__sugs-nav button {
	width: 34px;
	height: 34px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	border: 2px solid var(--tm-line);
	background: #fff;
	display: grid;
	place-items: center;
	transition: border-color .2s ease, transform .3s var(--tm-spring);
}
.tm-drawer__sugs-nav button::before { display: none; }
.tm-drawer__sugs-nav button:hover { border-color: var(--tm-pink); transform: scale(1.08); }
.tm-drawer__sugs-nav svg { width: 16px; height: 16px; fill: none; stroke: var(--tm-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tm-drawer__sugs-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 86%;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.tm-drawer__sugs-track::-webkit-scrollbar { display: none; }
.tm-sug {
	scroll-snap-align: start;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border-radius: 20px;
	background: var(--tm-bg-soft);
}
.tm-sug__img { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: #fff; display: block; }
.tm-sug__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-sug__info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tm-sug__name { font-weight: 800; font-size: 14px; line-height: 1.25; color: var(--tm-ink) !important; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-sug__price { font-size: 14px; font-weight: 800; color: var(--tm-red-strong); }
.tm-sug__price del { color: var(--tm-muted); font-weight: 600; }
.tm-sug__price ins { text-decoration: none; }
.tm-drawer a.tm-sug__add {
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	font-size: 22px;
	font-weight: 800;
	--fill: var(--tm-ink);
	display: inline-grid;
	place-items: center;
	background: var(--tm-red-strong);
	color: #fff;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: transform .35s var(--tm-spring);
}
.tm-drawer a.tm-sug__add:hover { transform: rotate(90deg) scale(1.08); }
.tm-drawer a.tm-sug__add.loading { opacity: .6; }
.tm-drawer .added_to_cart { display: none !important; }

/* Pie del carrito */
.tm-drawer__foot {
	flex: 0 0 auto;
	padding: 18px 24px 22px;
	border-top: 1px solid var(--tm-line);
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.tm-drawer__sub { display: flex; justify-content: space-between; align-items: baseline; }
.tm-drawer__sub span { font-weight: 800; color: var(--tm-ink); font-size: 16px; }
.tm-drawer__sub strong { font-family: var(--tm-font-display); font-weight: 600; font-size: 28px; color: var(--tm-red-strong); }
.tm-drawer__ship { margin: 0; font-size: 13px; color: var(--tm-muted); }
.tm-drawer__checkout { width: 100%; box-sizing: border-box; }
.tm-drawer__checkout svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tm-drawer__cart { text-align: center; font-weight: 800; font-size: 14px; color: var(--tm-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
.tm-drawer__cart:hover { color: var(--tm-red-strong) !important; }

/* Vacío */
.tm-drawer__empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; }
.tm-drawer__empty img { width: 150px; height: auto; margin-bottom: 6px; }
.tm-drawer__empty-title { margin: 0; font-family: var(--tm-font-display); font-weight: 600; font-size: 26px; color: var(--tm-ink); }
.tm-drawer__empty p { margin: 0 0 8px; }

/* Entrada en cascada de los productos al abrir */
.tm-drawer.is-open .tm-ditem { animation: tm-fade-up .5s var(--tm-smooth) both; }
.tm-drawer.is-open .tm-ditem:nth-child(2) { animation-delay: .05s; }
.tm-drawer.is-open .tm-ditem:nth-child(3) { animation-delay: .1s; }
.tm-drawer.is-open .tm-ditem:nth-child(4) { animation-delay: .15s; }
.tm-drawer.is-open .tm-ditem:nth-child(n+5) { animation-delay: .2s; }

/* Ajustes del carrito lateral */
.tm-drawer__sub strong,
.tm-drawer__sub strong .amount,
.tm-drawer__sub strong bdi {
	font-family: var(--tm-font-display) !important;
	font-weight: 600 !important;
	font-size: 28px !important;
	color: var(--tm-red-strong) !important;
	line-height: 1;
}
.tm-ditem__total .amount { font-weight: 800; color: var(--tm-ink); }
html.tm-drawer-lock .qlwapp__container,
html.tm-drawer-lock .qlwapp { opacity: 0; visibility: hidden; transition: opacity .2s ease; }

/* Buscador: botón centrado con margen igual en los 3 lados y lupa centrada ópticamente */
body.tormi #tormi-search-input {
	height: 48px;
	padding: 0 56px 0 22px;
	line-height: 44px;
}
body.tormi #tormi-search-btn {
	top: 6px;
	right: 6px;
	width: 36px;
	height: 36px;
	transform: none;
	transition: background-color .25s ease, box-shadow .25s ease;
}
body.tormi #tormi-search-btn::after {
	width: 18px;
	height: 18px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L20 20'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L20 20'/%3E%3C/svg%3E");
	transition: transform .4s var(--tm-spring);
}
body.tormi #tormi-search-btn:hover { transform: none; background: var(--tm-ink); box-shadow: 0 6px 14px -6px rgba(43, 29, 38, .5); }
body.tormi #tormi-search-btn:hover::after { transform: rotate(-12deg) scale(1.1); }
/* Lupa: posición absoluta para que quede exactamente al centro del círculo */
body.tormi #tormi-search-btn { display: block; line-height: 0; padding: 0 !important; overflow: hidden; }
body.tormi #tormi-search-btn::after {
	position: absolute;
	inset: 0;
	margin: auto;
	display: block;
}

/* =====================================================================
   PÁGINA DEL CARRITO — filas en grilla simétrica
   Columnas: foto | producto | cantidad | subtotal | quitar
   ===================================================================== */
body.tormi .woocommerce-cart-form table.shop_table { display: block; border: 0 !important; margin: 0; }
body.tormi .woocommerce-cart-form table.shop_table thead,
body.tormi .woocommerce-cart-form table.shop_table tbody { display: block; }
body.tormi .woocommerce-cart-form table.shop_table tbody { display: flex; flex-direction: column; gap: 12px; }

body.tormi .woocommerce-cart-form thead tr,
body.tormi .woocommerce-cart-form tr.cart_item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) 132px 110px 44px;
	align-items: center;
	column-gap: 20px;
	padding: 0 20px;
}
body.tormi .woocommerce-cart-form thead tr { padding-bottom: 4px; }
body.tormi .woocommerce-cart-form thead th {
	display: block;
	padding: 0 !important;
	border: 0 !important;
	font-family: var(--tm-font-body);
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--tm-muted) !important;
}
body.tormi .woocommerce-cart-form thead th.product-name { grid-column: 1 / 3; text-align: left; }
body.tormi .woocommerce-cart-form thead th.product-quantity { text-align: center; }
body.tormi .woocommerce-cart-form thead th.product-subtotal { text-align: right; }

body.tormi .woocommerce-cart-form tr.cart_item {
	min-height: 120px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--tm-line);
	border-radius: 24px;
	transition: border-color .3s ease, box-shadow .3s ease, transform .4s var(--tm-spring);
}
body.tormi .woocommerce-cart-form tr.cart_item:hover {
	border-color: var(--tm-pink);
	box-shadow: 0 18px 36px -24px rgba(215, 80, 109, .55);
}
body.tormi .woocommerce-cart-form tr.cart_item td {
	display: block;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	width: auto !important;
}

/* Foto */
body.tormi .woocommerce-cart-form td.product-thumbnail a,
body.tormi .woocommerce-cart-form td.product-thumbnail .ct-media-container {
	display: block;
	width: 88px;
	height: 88px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--tm-bg-soft);
}
body.tormi .woocommerce-cart-form td.product-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	border-radius: 0 !important;
	display: block;
}

/* Producto */
body.tormi .woocommerce-cart-form td.product-name { display: flex !important; flex-direction: column; gap: 4px; }
body.tormi .woocommerce-cart-form td.product-name > a {
	font-family: var(--tm-font-display);
	font-weight: 500;
	font-size: 18px !important;
	line-height: 1.25;
	color: var(--tm-ink) !important;
}
body.tormi .woocommerce-cart-form td.product-name .price { margin: 0; font-size: 15px; font-weight: 700; color: var(--tm-muted) !important; }

/* Cantidad: − número + en una sola línea, todo centrado */
body.tormi .woocommerce-cart-form td.product-quantity { display: flex !important; justify-content: center; }
body.tormi .quantity {
	position: relative;
	display: inline-grid !important;
	grid-template-columns: 40px 40px 40px;
	align-items: center;
	justify-items: center;
	width: auto !important;
	height: 48px !important;
	min-height: 0 !important;
	padding: 0 2px !important;
	box-sizing: border-box;
}
body.tormi .quantity .ct-decrease { grid-column: 1; grid-row: 1; }
body.tormi .quantity input.qty { grid-column: 2; grid-row: 1; }
body.tormi .quantity .ct-increase { grid-column: 3; grid-row: 1; }
body.tormi .quantity .ct-increase,
body.tormi .quantity .ct-decrease {
	position: static !important;
	inset: auto !important;
	transform: none !important;
	width: 36px !important;
	height: 36px !important;
	margin: 0 !important;
	border-radius: 50% !important;
	display: grid !important;
	place-items: center;
	font-size: 0;
	opacity: 1 !important;
}
body.tormi .quantity .ct-increase::before,
body.tormi .quantity .ct-decrease::before,
body.tormi .quantity .ct-increase::after,
body.tormi .quantity .ct-decrease::after { display: none !important; }
body.tormi .quantity .ct-decrease { background: no-repeat center / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1d26' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") !important; }
body.tormi .quantity .ct-increase { background: no-repeat center / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1d26' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") !important; }
body.tormi .quantity .ct-increase:hover,
body.tormi .quantity .ct-decrease:hover { background-color: var(--tm-pink-soft) !important; }
body.tormi .quantity .ct-increase svg,
body.tormi .quantity .ct-decrease svg { display: none !important; }
body.tormi .quantity input.qty {
	position: static !important;
	width: 40px !important;
	height: 36px !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 36px !important;
	text-align: center;
	font-family: var(--tm-font-body);
	font-size: 17px !important;
	font-weight: 800;
	-moz-appearance: textfield;
}
body.tormi .quantity input.qty::-webkit-outer-spin-button,
body.tormi .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Subtotal */
body.tormi .woocommerce-cart-form td.product-subtotal { text-align: right; }
body.tormi .woocommerce-cart-form td.product-subtotal .amount { font-size: 18px; font-weight: 800; color: var(--tm-red-strong) !important; }

/* Quitar */
body.tormi .woocommerce-cart-form td.product-remove { display: flex !important; justify-content: center; }
body.tormi .woocommerce-cart-form a.remove {
	display: grid !important;
	place-items: center;
	width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: var(--tm-bg-soft) !important;
	color: var(--tm-ink) !important;
	transition: background-color .25s ease, color .25s ease, transform .4s var(--tm-spring) !important;
}
body.tormi .woocommerce-cart-form a.remove svg { width: 16px !important; height: 16px !important; fill: currentColor; }
body.tormi .woocommerce-cart-form a.remove:hover { background: var(--tm-pink-soft) !important; color: var(--tm-red-strong) !important; transform: rotate(-12deg) scale(1.08); }

/* Cupón y actualizar: mismas alturas */
body.tormi .woocommerce-cart-form td.actions {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 8px 0 0 !important;
	border: 0 !important;
	background: none !important;
}
body.tormi .woocommerce-cart-form tr:has(> td.actions) { display: block; }
body.tormi .woocommerce-cart-form td.actions .coupon { display: flex; gap: 10px; align-items: center; margin: 0; }
body.tormi .woocommerce-cart-form td.actions .coupon .input-text { width: 220px !important; height: 48px !important; margin: 0 !important; }
body.tormi .woocommerce-cart-form td.actions .button { min-height: 48px; height: 48px; margin: 0 !important; }
body.tormi .woocommerce-cart-form td.actions > .button[name="update_cart"] {
	background: transparent !important;
	color: var(--tm-ink) !important;
	box-shadow: inset 0 0 0 2px var(--tm-ink);
	opacity: 1 !important;
}
body.tormi .woocommerce-cart-form td.actions > .button[name="update_cart"]:disabled {
	box-shadow: inset 0 0 0 2px var(--tm-line);
	color: var(--tm-muted) !important;
	cursor: default;
	transform: none;
}
body.tormi .woocommerce-cart-form td.actions > .button[name="update_cart"]:disabled::before { display: none; }

/* Totales: tarjeta suave, sin el recuadro gris */
body.tormi .cart-collaterals .cart_totals,
body.tormi .ct-woocommerce-cart-form .cart_totals {
	border: 0 !important;
	border-radius: 28px !important;
	background: var(--tm-bg-soft) !important;
	padding: 28px !important;
}
body.tormi .cart_totals > h2 { margin-top: 0; }
body.tormi .cart_totals table { border: 0 !important; }
body.tormi .cart_totals th,
body.tormi .cart_totals td { border-color: #eedde3 !important; background: none !important; }

/* Tablet y celular: foto | producto (con cantidad) | quitar */
@media (max-width: 999px) {
	body.tormi .woocommerce-cart-form thead { display: none; }
	body.tormi .woocommerce-cart-form tr.cart_item {
		grid-template-columns: 76px minmax(0, 1fr) 44px;
		column-gap: 14px;
		padding: 14px;
	}
	body.tormi .woocommerce-cart-form td.product-quantity,
	body.tormi .woocommerce-cart-form td.product-subtotal { display: none !important; }
	body.tormi .woocommerce-cart-form td.product-thumbnail a,
	body.tormi .woocommerce-cart-form td.product-thumbnail .ct-media-container { width: 76px; height: 76px; }
	body.tormi .woocommerce-cart-form .product-mobile-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
	body.tormi .woocommerce-cart-form .product-mobile-actions a.remove { display: none !important; }
	body.tormi .woocommerce-cart-form td.actions .coupon { width: 100%; }
	body.tormi .woocommerce-cart-form td.actions .coupon .input-text { flex: 1 1 auto; width: auto !important; }
	body.tormi .woocommerce-cart-form td.actions > .button { width: 100%; }
}
body.tormi .woocommerce-cart-form tr.cart_item td:first-child,
body.tormi .woocommerce-cart-form tr.cart_item td:last-child { border: 0 !important; border-radius: 0 !important; }

/* =====================================================================
   FICHA DE PRODUCTO — versión limpia
   ===================================================================== */
/* Sin la franja con la foto borrosa: el título ya está junto al producto */
body.tormi.single-product .hero-section { display: none !important; }
body.tormi.single-product .ct-container-full {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	padding-top: clamp(24px, 4vw, 48px) !important;
}
body.tormi.single-product .product-entry-wrapper,
body.tormi.single-product div.product > .product-entry-wrapper { gap: clamp(28px, 4vw, 64px) !important; align-items: flex-start; }

/* Galería: foto grande + miniaturas alineadas */
body.tormi.single-product .woocommerce-product-gallery { background: transparent !important; border-radius: 0 !important; overflow: visible !important; }
body.tormi.single-product .ct-product-gallery-container { position: relative; }
body.tormi.single-product .flexy-view,
body.tormi.single-product .flexy-container .flexy {
	border-radius: 32px !important;
	overflow: hidden;
	background: var(--tm-bg-soft);
	box-shadow: 0 0 0 1px var(--tm-line);
}
body.tormi.single-product .flexy-item img { transition: transform .9s var(--tm-smooth); }
body.tormi.single-product .flexy-view:hover .flexy-item img { transform: scale(1.04); }
body.tormi.single-product .flexy-pills { gap: 10px !important; padding: 0 !important; }
body.tormi.single-product .flexy-pills ol,
body.tormi.single-product .flexy-pills > ul {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	margin: 0 !important;
	padding: 2px !important;
	max-height: 100%;
	overflow-y: auto;
	scrollbar-width: none;
}
body.tormi.single-product .flexy-pills ol::-webkit-scrollbar { display: none; }
body.tormi.single-product .flexy-pills li {
	width: 84px !important;
	height: 84px !important;
	margin: 0 !important;
	flex: 0 0 auto;
	border-radius: 18px !important;
	overflow: hidden;
	background: var(--tm-bg-soft);
	box-shadow: 0 0 0 1px var(--tm-line);
	transition: box-shadow .25s ease, transform .35s var(--tm-spring);
}
body.tormi.single-product .flexy-pills li img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; transform: none !important; }
body.tormi.single-product .flexy-pills li:hover { transform: translateY(-2px); }
body.tormi.single-product .flexy-pills li.active { box-shadow: 0 0 0 3px var(--tm-pink); }
body.tormi.single-product .woocommerce-product-gallery__trigger {
	top: 16px !important;
	right: 16px !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	background: #fff !important;
	box-shadow: 0 6px 16px -8px rgba(43, 29, 38, .4);
	display: grid !important;
	place-items: center;
	z-index: 3;
}

/* Resumen */
body.tormi.single-product .entry-summary { display: flex; flex-direction: column; gap: 18px; }
body.tormi.single-product .entry-summary > * { margin: 0 !important; }
body.tormi.single-product .entry-summary .product_title { margin-bottom: 0 !important; }
body.tormi.single-product .ct-product-add-to-cart { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
body.tormi.single-product .ct-product-add-to-cart form.cart { width: 100%; margin: 0 !important; }
body.tormi.single-product .ct-cart-actions {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	width: 100%;
}
body.tormi.single-product .ct-cart-actions .quantity { height: 56px !important; margin: 0 !important; }
body.tormi.single-product .ct-cart-actions .single_add_to_cart_button {
	flex: 1 1 240px;
	height: 56px !important;
	min-height: 56px !important;
	margin: 0 !important;
	font-size: 17px !important;
}

/* Métodos de pago */
body.tormi.single-product fieldset.ct-payment-methods {
	border: 0 !important;
	border-radius: 20px;
	background: var(--tm-bg-soft);
	padding: 16px 18px !important;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
body.tormi.single-product fieldset.ct-payment-methods legend {
	float: left;
	padding: 0 !important;
	margin: 0 !important;
	font-weight: 800;
	font-size: 14px;
	color: var(--tm-ink);
	display: flex;
	align-items: center;
	gap: 8px;
}
body.tormi.single-product fieldset.ct-payment-methods legend::before {
	content: "";
	width: 18px;
	height: 18px;
	background: var(--tm-red-strong);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Características adicionales */
body.tormi.single-product .ct-product-additional-info { padding: 0 !important; border: 0 !important; }
body.tormi.single-product .ct-product-additional-info > *:first-child {
	font-family: var(--tm-font-display);
	font-weight: 600;
	font-size: 18px;
	color: var(--tm-ink);
	margin-bottom: 10px;
}
body.tormi.single-product .ct-product-additional-info ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.tormi.single-product .ct-product-additional-info li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	padding: 12px 14px;
	border-radius: 16px;
	border: 1px solid var(--tm-line);
	font-weight: 700;
	font-size: 14px;
	color: var(--tm-ink);
}
body.tormi.single-product .ct-product-additional-info li svg { flex: 0 0 auto; color: var(--tm-red-strong); fill: currentColor; }
body.tormi.single-product .ct-product-divider { display: none; }

@media (max-width: 689px) {
	body.tormi.single-product .ct-product-additional-info ul { grid-template-columns: 1fr; }
	body.tormi.single-product .ct-cart-actions .single_add_to_cart_button { flex-basis: 100%; }
}

/* =====================================================================
   PIE DE PÁGINA
   ===================================================================== */
body.tormi #footer,
body.tormi #footer [data-row] {
	background: var(--tm-ink) !important;
	--theme-text-color: #f3e6ea;
	--theme-link-initial-color: #f3e6ea;
	--theme-link-hover-color: #fff;
}
body.tormi #footer { position: relative; margin-top: 0; }
body.tormi #footer [data-row="top"] { padding-top: 56px !important; padding-bottom: 48px !important; }
body.tormi #footer [data-row="top"] > .ct-container { align-items: center !important; }
body.tormi #footer .wp-block-image img { max-width: 170px; height: auto; transition: transform .5s var(--tm-spring); }
body.tormi #footer .wp-block-image:hover img { transform: rotate(-4deg) scale(1.04); }

body.tormi #footer .footer-menu-inline .menu,
body.tormi #footer #menu-pie-de-pagina {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
body.tormi #footer .menu a {
	position: relative;
	padding: 0 !important;
	font-family: var(--tm-font-body);
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: #f3e6ea !important;
	background: linear-gradient(var(--tm-red), var(--tm-red)) 0 100% / 0 2px no-repeat;
	transition: background-size .35s var(--tm-smooth), color .25s ease;
}
body.tormi #footer .menu a:hover { color: #fff !important; background-size: 100% 2px; }

body.tormi #footer .ct-social-box { gap: 12px !important; }
body.tormi #footer .ct-social-box a {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	display: grid !important;
	place-items: center;
	transition: background-color .25s ease, transform .4s var(--tm-spring);
}
body.tormi #footer .ct-social-box a svg { width: 22px !important; height: 22px !important; fill: #fff !important; }
body.tormi #footer .ct-social-box a:hover { background: var(--tm-red-strong); transform: translateY(-4px) rotate(-6deg); }

/* Franja inferior del pie con el gatito y el Libro de Reclamaciones */
.tm-footbar {
	background: #1f141b;
	color: #cdbcc5;
	font-size: 14px;
}
.tm-footbar .tm-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 18px;
	padding-bottom: 18px;
}
.tm-footbar a { color: #fff; font-weight: 800; text-decoration: none; }
.tm-footbar a:hover { color: var(--tm-orange); }
.tm-footbar__book {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	transition: background-color .25s ease;
}
.tm-footbar__book:hover { background: rgba(255, 255, 255, .16); }
.tm-footbar__book svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.tormi.single-product article.product { box-shadow: none !important; background: transparent !important; }
body.tormi #footer .ct-social-box { flex-wrap: nowrap !important; }
@media (max-width: 999px) {
	body.tormi.single-product .flexy-pills ol { flex-direction: row !important; overflow-x: auto; overflow-y: hidden; }
	body.tormi.single-product .flexy-pills li { width: 68px !important; height: 68px !important; }
}

/* =====================================================================
   GALERÍA DEL PRODUCTO — portada grande + mosaico (reemplaza la de Blocksy)
   ===================================================================== */
body.tormi.single-product .woocommerce-product-gallery { display: none !important; }

.tm-gallery { position: relative; min-width: 0; }
.tm-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.tm-gallery__item {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 0 !important;
	min-height: 0 !important;
	border: 0;
	border-radius: 28px !important;
	overflow: hidden;
	background: var(--tm-bg-soft) !important;
	box-shadow: 0 0 0 1px var(--tm-line);
	color: inherit !important;
	transition: box-shadow .35s ease, transform .45s var(--tm-spring);
}
.tm-gallery__item::before { display: none !important; }
.tm-gallery__item.is-main { grid-column: 1 / -1; border-radius: 36px !important; }
.tm-gallery__item img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform 1s var(--tm-smooth);
}
.tm-gallery__item:hover { box-shadow: 0 0 0 2px var(--tm-pink), 0 24px 44px -26px rgba(215, 80, 109, .6); }
.tm-gallery__item:hover img { transform: scale(1.05); }
.tm-gallery__item:not(.is-main):hover { transform: translateY(-3px); }
.tm-gallery__item:focus-visible { outline: 3px solid var(--tm-orange); outline-offset: 3px; }

/* Entrada en cascada de las fotos */
.tm-js .tm-gallery__item { animation: tm-fade-up .7s var(--tm-smooth) both; }
.tm-js .tm-gallery__item:nth-child(2) { animation-delay: .08s; }
.tm-js .tm-gallery__item:nth-child(3) { animation-delay: .14s; }
.tm-js .tm-gallery__item:nth-child(n+4) { animation-delay: .2s; }

.tm-gallery__zoom {
	position: absolute;
	right: 18px;
	bottom: 18px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 8px 20px -10px rgba(43, 29, 38, .5);
	display: grid;
	place-items: center;
	transform: scale(.85);
	opacity: 0;
	transition: transform .4s var(--tm-spring), opacity .3s ease;
}
.tm-gallery__zoom svg { width: 22px; height: 22px; fill: none; stroke: var(--tm-ink); stroke-width: 2.4; stroke-linecap: round; }
.tm-gallery__item.is-main:hover .tm-gallery__zoom { transform: none; opacity: 1; }
.tm-gallery__dots, .tm-gallery__count { display: none; }

/* Información del producto acompaña al bajar */
@media (min-width: 1000px) {
	body.tormi.single-product .entry-summary { position: sticky; top: 110px; align-self: flex-start; }
	body.tormi.single-product.admin-bar .entry-summary { top: 142px; }
}

/* Celular y tablet: carrusel deslizable con puntos */
@media (max-width: 999px) {
	.tm-gallery__grid {
		display: flex;
		gap: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		border-radius: 28px;
		box-shadow: 0 0 0 1px var(--tm-line);
	}
	.tm-gallery__grid::-webkit-scrollbar { display: none; }
	.tm-gallery__item,
	.tm-gallery__item.is-main {
		flex: 0 0 100%;
		scroll-snap-align: center;
		border-radius: 0 !important;
		box-shadow: none;
	}
	.tm-gallery__item:hover { box-shadow: none; }
	.tm-gallery__zoom { display: none; }
	.tm-gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
	.tm-gallery__dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--tm-line); transition: width .35s var(--tm-spring), background-color .25s ease; }
	.tm-gallery__dots span.is-on { width: 24px; background: var(--tm-red-strong); }
	.tm-gallery__count {
		display: block;
		position: absolute;
		top: 14px;
		right: 14px;
		padding: 6px 12px;
		border-radius: 999px;
		background: rgba(255, 255, 255, .92);
		font-size: 13px;
		font-weight: 800;
		color: var(--tm-ink);
	}
}

/* Visor */
.tm-lightbox[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.tm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 72px;
	align-items: center;
	background: rgba(43, 29, 38, .92);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .35s ease;
}
.tm-lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.tm-lightbox__stage { grid-column: 2; margin: 0; height: 100vh; display: grid; place-items: center; padding: 56px 0; box-sizing: border-box; }
.tm-lightbox__stage img {
	max-width: min(100%, 900px);
	max-height: 100%;
	border-radius: 28px;
	background: #fff;
	opacity: 0;
	transform: scale(.94);
	transition: opacity .35s ease, transform .5s var(--tm-spring);
}
.tm-lightbox__stage img.is-in { opacity: 1; transform: none; }
.tm-lightbox button {
	width: 52px;
	height: 52px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	display: grid;
	place-items: center;
	justify-self: center;
	transition: background-color .25s ease, transform .35s var(--tm-spring);
}
.tm-lightbox button::before { display: none; }
.tm-lightbox button:hover { background: var(--tm-red-strong); transform: scale(1.08); }
.tm-lightbox button svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tm-lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.tm-lightbox__nav--next { grid-column: 3; grid-row: 1; }
.tm-lightbox__stage { grid-row: 1; }
.tm-lightbox__close { position: absolute; top: 18px; right: 18px; }
.tm-lightbox__count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: #fff; font-weight: 800; font-size: 14px; }
.tm-lightbox.is-single .tm-lightbox__nav,
.tm-lightbox.is-single .tm-lightbox__count { display: none; }
@media (max-width: 689px) {
	.tm-lightbox { grid-template-columns: 0 minmax(0, 1fr) 0; }
	.tm-lightbox__nav { display: none !important; }
	.tm-lightbox__stage { padding: 72px 12px; }
}

/* =====================================================================
   MÉTODOS DE PAGO (Yape, Plin, Mercado Pago, Transferencia)
   ===================================================================== */
body.tormi.single-product fieldset.ct-payment-methods { display: none !important; }
.tm-pay {
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	padding: 16px 18px;
	border-radius: 20px;
	background: var(--tm-bg-soft);
}
.tm-pay__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-weight: 800;
	font-size: 14px;
	color: var(--tm-ink);
}
.tm-pay svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-pay__title svg { color: var(--tm-red-strong); }
.tm-pay__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tm-pay__list li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	min-height: 42px;
	padding: 0 8px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--tm-line);
	font-weight: 800;
	font-size: 13px;
	color: var(--tm-ink);
	text-align: center;
	transition: transform .35s var(--tm-spring), box-shadow .25s ease;
}
.tm-pay__list li svg { color: var(--tm-pink-ink); }
.tm-pay__list li:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--tm-pink); }
@media (max-width: 480px) { .tm-pay__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Página de preguntas frecuentes */
body.tormi .tm-faq-intro { font-size: 18px; line-height: 1.6; max-width: 680px; }
body.tormi .wp-block-details {
	margin: 0 0 12px !important;
	padding: 0;
	border-radius: 22px;
	border: 1px solid var(--tm-line);
	background: #fff;
	transition: border-color .25s ease, box-shadow .3s ease;
}
body.tormi .wp-block-details[open] { border-color: var(--tm-pink); box-shadow: 0 18px 36px -26px rgba(215, 80, 109, .55); }
body.tormi .wp-block-details summary {
	position: relative;
	list-style: none;
	padding: 20px 64px 20px 24px;
	font-family: var(--tm-font-display);
	font-weight: 600;
	font-size: 20px;
	color: var(--tm-ink);
}
body.tormi .wp-block-details summary::-webkit-details-marker { display: none; }
body.tormi .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	border-radius: 50%;
	background: var(--tm-pink-soft);
	color: var(--tm-red-strong);
	display: grid;
	place-items: center;
	font-family: var(--tm-font-body);
	font-weight: 800;
	font-size: 20px;
	transition: transform .4s var(--tm-spring), background-color .25s ease;
}
body.tormi .wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--tm-red-strong); color: #fff; }
body.tormi .wp-block-details > p { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.65; animation: tm-fade-up .4s var(--tm-smooth); }
@media (min-width: 1000px) {
	body.tormi.single-product .product-entry-wrapper > .tm-gallery { flex: 0 0 54%; width: 54%; max-width: 54%; }
	body.tormi.single-product .product-entry-wrapper > .summary { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 999px) {
	body.tormi.single-product .product-entry-wrapper > .tm-gallery { width: 100%; }
}
/* Cabecera: buscador algo más angosto para que el menú entre completo */
@media (min-width: 1000px) { body.tormi #tormi-search-form { width: min(300px, 26vw); } }
.tm-pay__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tm-pay__list li { justify-content: flex-start; padding: 0 14px; white-space: nowrap; }
body.tormi.single-product .ct-product-additional-info li { min-height: 48px; box-sizing: border-box; }
@media (min-width: 1000px) {
	body.tormi .ct-header [data-id="menu"] .menu > li > a.ct-menu-link { padding-left: 11px !important; padding-right: 11px !important; }
}
/* Cabecera: logo + menú a la izquierda con todo el espacio; buscador y carrito juntos a la derecha */
@media (min-width: 1000px) {
	body.tormi #header [data-row="top"] > .ct-container {
		grid-template-columns: minmax(0, 1fr) auto auto !important;
		column-gap: 20px;
	}
}
/* Preguntas frecuentes: misma columna centrada para todo */
body.tormi.page-id-1761 .entry-header,
body.tormi.page-id-1761 .entry-content > * {
	max-width: 760px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}
body.tormi.page-id-1761 .entry-header .page-title { font-size: clamp(34px, 4vw, 48px); }
body.tormi .wp-block-details { padding: 0 !important; }
body.tormi .wp-block-details summary { margin: 0 !important; }
body.tormi .tm-faq-intro { margin-bottom: 28px !important; }

/* Cierre del inicio: texto | gatito señalando | botón — cada uno en su propio espacio, sin superponerse */
.tm-cta__inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	column-gap: 28px;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.tm-cta__inner > div { padding: 56px 0; }
body.tormi .tm-cta h2,
body.tormi .tm-cta h2 .tm-w > span { color: #fff !important; }
.tm-cta__mascot {
	position: static !important;
	display: block !important;
	align-self: end;
	width: 170px;
	height: auto;
	margin-top: 24px;
	opacity: 1;
}
.tm-cta .tm-btn { justify-self: end; }
@media (max-width: 900px) {
	.tm-cta__inner { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; }
	.tm-cta__inner > div { grid-column: 1 / -1; padding-bottom: 20px; }
	.tm-cta__mascot { display: block !important; width: 120px; margin-top: 0; grid-column: 1; grid-row: 2; justify-self: start; }
	.tm-cta .tm-btn { grid-column: 2; grid-row: 2; align-self: center; }
}

/* =====================================================================
   PORTADA — tarjetas flotantes enlazadas que rotan entre productos
   (ubicadas a los costados para no tapar al gatito)
   ===================================================================== */
.tm-hero__mascot { width: min(340px, 60%); }
.tm-float {
	display: block;
	background: transparent;
	box-shadow: none;
	overflow: visible;
	aspect-ratio: auto;
	border-radius: 0;
	text-decoration: none;
	z-index: 2;
	width: clamp(110px, 10.5vw, 148px);
}
.tm-float--0 { top: 2%; left: -2%; }
.tm-float--1 { top: auto; bottom: 8%; right: -2%; }
.tm-float__card {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 26px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 18px 40px -18px rgba(43, 29, 38, .35);
	transform-style: preserve-3d;
	transition: transform .32s ease-in, box-shadow .3s ease, opacity .32s ease;
}
.tm-float__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-float.is-flipping .tm-float__card { transform: rotateY(90deg) scale(.92); opacity: .6; }
.tm-float.is-landing .tm-float__card { animation: tm-float-land .6s var(--tm-spring); }
@keyframes tm-float-land {
	0% { transform: rotateY(-90deg) scale(.92); }
	100% { transform: none; }
}
.tm-float:hover .tm-float__card,
.tm-float:focus-visible .tm-float__card { box-shadow: 0 0 0 3px var(--tm-red), 0 24px 46px -18px rgba(204, 10, 10, .45); }
.tm-float:hover { animation-play-state: paused; }

/* Etiqueta con nombre y precio: aparece debajo de la tarjeta, sin tapar nada */
.tm-float__tag {
	position: absolute;
	left: 50%;
	top: calc(100% + 10px);
	width: max-content;
	max-width: 200px;
	padding: 8px 12px;
	border-radius: 14px;
	background: var(--tm-ink);
	color: #fff;
	text-align: center;
	transform: translate(-50%, -6px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease, transform .35s var(--tm-spring);
}
.tm-float__tag b { display: block; font-size: 13px; font-weight: 800; line-height: 1.25; white-space: normal; }
.tm-float__tag i { display: block; font-style: normal; font-size: 13px; font-weight: 800; color: var(--tm-orange); }
.tm-float:hover .tm-float__tag,
.tm-float:focus-visible .tm-float__tag { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 689px) {
	.tm-hero__mascot { width: min(260px, 62%); }
	.tm-float { width: 92px; }
	.tm-float__card { border-radius: 20px; }
	.tm-float__tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tm-float.is-flipping .tm-float__card, .tm-float.is-landing .tm-float__card { transform: none; animation: none; }
}

/* Portada: el gatito en su propia columna y las tarjetas en otra a su derecha.
   Así ninguna tarjeta tapa al personaje. */
.tm-hero__art {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(104px, 10vw, 140px);
	grid-template-rows: 1fr 1fr;
	column-gap: 22px;
	row-gap: 28px;
	align-items: center;
	min-height: 0;
}
.tm-blob { position: relative; inset: auto; grid-column: 1; grid-row: 1 / 3; align-self: stretch; margin: 6% 2% 0; z-index: 0; }
.tm-hero__mascot { grid-column: 1; grid-row: 1 / 3; justify-self: center; align-self: end; width: min(400px, 100%); position: relative; z-index: 1; }
.tm-float { position: relative; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; width: 100%; grid-column: 2; }
.tm-float--0 { grid-row: 1; align-self: end; --r: -5deg; }
.tm-float--1 { grid-row: 2; align-self: start; --r: 6deg; animation-delay: -2.5s; }
.tm-float__tag { top: calc(100% + 8px); }
@media (max-width: 689px) {
	.tm-hero__art { grid-template-columns: minmax(0, 1fr) 92px; column-gap: 14px; row-gap: 18px; }
	.tm-hero__mascot { width: min(280px, 100%); }
	.tm-float { width: 100%; }
}
/* Etiqueta de precio: la tarjeta de arriba la muestra encima, la de abajo debajo.
   Así nunca queda detrás de la otra tarjeta ni tapa nada. */
.tm-float:hover, .tm-float:focus-visible { z-index: 6; }
.tm-float--0 .tm-float__tag { top: auto; bottom: calc(100% + 8px); transform: translate(-50%, 6px); }
.tm-float--0:hover .tm-float__tag,
.tm-float--0:focus-visible .tm-float__tag { transform: translate(-50%, 0); }
.tm-float__tag { z-index: 7; }

/* =====================================================================
   CATÁLOGO Y CATEGORÍAS
   ===================================================================== */
body.tormi.post-type-archive-product .hero-section,
body.tormi.tax-product_cat .hero-section,
body.tormi.tax-product_tag .hero-section,
body.tormi .woo-listing-top,
body.tormi .woocommerce-products-header { display: none !important; }
body.tormi.post-type-archive-product .ct-container,
body.tormi.tax-product_cat .ct-container { max-width: 1320px; }

.tm-cat-head { padding: clamp(28px, 4vw, 48px) 0 8px; }
.tm-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 700; color: var(--tm-muted); margin-bottom: 14px; }
.tm-crumbs a { color: var(--tm-muted) !important; text-decoration: none; }
.tm-crumbs a:hover { color: var(--tm-red-strong) !important; }
.tm-crumbs [aria-current] { color: var(--tm-ink); }
.tm-cat-head__title { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; }
.tm-cat-head__count { margin: 8px 0 0; font-weight: 800; color: var(--tm-muted); }
.tm-cat-head__desc { max-width: 680px; margin-top: 10px; font-size: 17px; line-height: 1.6; }
.tm-cat-chips {
	display: flex;
	gap: 10px;
	margin: 22px 0 0;
	padding-bottom: 6px;
	overflow-x: auto;
	scrollbar-width: none;
}
.tm-cat-chips::-webkit-scrollbar { display: none; }
.tm-cat-chip {
	flex: 0 0 auto;
	padding: 10px 18px;
	border-radius: 999px;
	border: 2px solid var(--tm-line);
	font-weight: 800;
	font-size: 14px;
	color: var(--tm-ink) !important;
	text-decoration: none;
	transition: border-color .25s ease, background-color .25s ease, transform .35s var(--tm-spring);
}
.tm-cat-chip:hover { border-color: var(--tm-pink); transform: translateY(-2px); }
.tm-cat-chip.is-on { background: var(--tm-ink); border-color: var(--tm-ink); color: #fff !important; }

/* Grilla con barra lateral */
.tm-shop {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
	margin-top: 28px;
	border-top: 1px solid var(--tm-line);
	padding-top: 24px;
}
.tm-shop__main { min-width: 0; }
.tm-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 20px; }
.tm-toolbar__filter {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 2px solid var(--tm-ink);
	background: #fff;
	color: var(--tm-ink);
	font-weight: 800;
	font-size: 15px;
}
.tm-toolbar__filter::before { display: none; }
.tm-toolbar__filter svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.tm-toolbar__sort { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; color: var(--tm-ink); }
.tm-toolbar__sort .woocommerce-ordering { margin: 0 !important; }
.tm-toolbar__sort select {
	height: 44px;
	padding: 0 40px 0 16px;
	border: 2px solid var(--tm-line) !important;
	border-radius: 999px !important;
	background-color: #fff;
	font-family: var(--tm-font-body);
	font-weight: 700;
	font-size: 14px;
	color: var(--tm-ink);
}

/* Filtros */
.tm-filters { position: sticky; top: 100px; }
body.admin-bar .tm-filters { top: 132px; }
.tm-filters__head { display: none; }
.tm-filters.is-loading { opacity: .55; pointer-events: none; transition: opacity .2s ease; }
.tm-fgroup { border-bottom: 1px solid var(--tm-line); padding: 4px 0 14px; margin-bottom: 14px; }
.tm-fgroup summary {
	position: relative;
	list-style: none;
	padding: 6px 28px 6px 0;
	font-family: var(--tm-font-display);
	font-weight: 600;
	font-size: 18px;
	color: var(--tm-ink);
}
.tm-fgroup summary::-webkit-details-marker { display: none; }
.tm-fgroup summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -6px;
	border-right: 2.5px solid var(--tm-ink);
	border-bottom: 2.5px solid var(--tm-ink);
	transform: rotate(45deg);
	transition: transform .3s var(--tm-spring);
}
.tm-fgroup[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.tm-fgroup__body { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
.tm-check {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 38px;
	padding: 0 10px;
	margin: 0 -10px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	color: var(--tm-ink);
	transition: background-color .2s ease;
}
.tm-check:hover { background: var(--tm-bg-soft); }
.tm-check input {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 2px solid #d9c6ce;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	transition: border-color .2s ease, background-color .2s ease;
}
.tm-check--box input { border-radius: 6px; }
.tm-check input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .3s var(--tm-spring); }
.tm-check--box input::after { width: 10px; height: 6px; border-radius: 0; background: none; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -2px; }
.tm-check input:checked { border-color: var(--tm-red-strong); background: var(--tm-red-strong); }
.tm-check input:checked::after { transform: scale(1); }
.tm-check--box input:checked::after { transform: rotate(-45deg) scale(1); }
.tm-check input:focus-visible { outline: 3px solid var(--tm-orange); outline-offset: 2px; }
.tm-check span { flex: 1 1 auto; }
.tm-check small { font-size: 12px; font-weight: 800; color: var(--tm-muted); background: var(--tm-bg-soft); border-radius: 999px; padding: 2px 8px; }

.tm-price { flex-direction: row !important; align-items: center; gap: 6px !important; }
.tm-price label { position: relative; flex: 1 1 0; min-width: 0; }
.tm-price label i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; font-weight: 800; color: var(--tm-muted); }
.tm-price input {
	width: 100%;
	height: 42px;
	padding: 0 8px 0 32px;
	border: 2px solid var(--tm-line) !important;
	border-radius: 12px !important;
	font-family: var(--tm-font-body);
	font-weight: 700;
	font-size: 14px;
	color: var(--tm-ink);
	-moz-appearance: textfield;
	box-sizing: border-box;
}
.tm-price input::-webkit-outer-spin-button, .tm-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tm-price input:focus { outline: none; border-color: var(--tm-pink) !important; }
.tm-price__sep { color: var(--tm-muted); }
.tm-price__go {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--tm-ink);
	display: grid;
	place-items: center;
	transition: background-color .25s ease;
}
.tm-price__go::before { display: none; }
.tm-price__go:hover { background: var(--tm-red-strong); }
.tm-price__go svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tm-filters__actions { display: flex; flex-direction: column; gap: 10px; }
.tm-filters__apply { display: none; width: 100%; }
.tm-filters__clear { text-align: center; font-weight: 800; font-size: 14px; color: var(--tm-red-strong) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Grilla de productos dentro del catálogo */
body.tormi .tm-shop ul.products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 34px 22px !important; }

/* Tarjetas: alineadas a la izquierda, marca, stock y botón siempre visible */
body.tormi ul.products li.product { text-align: left !important; align-items: stretch; padding-bottom: 0 !important; }
body.tormi ul.products li.product figure { margin-bottom: 12px !important; }
.tm-card-brand {
	display: block;
	padding: 0 4px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--tm-muted);
}
body.tormi ul.products li.product .woocommerce-loop-product__title { text-align: left !important; padding: 0 4px !important; min-height: 2.5em; }
body.tormi ul.products li.product .price { text-align: left !important; padding: 0 4px !important; margin-top: 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
body.tormi ul.products li.product .price del { order: 2; }
.tm-card-stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: #1f5f34;
}
.tm-card-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2a8a4a; }
.tm-card-stock.is-low { color: var(--tm-orange-ink); }
.tm-card-stock.is-low::before { background: var(--tm-orange); }
.tm-card-stock.is-out { color: var(--tm-muted); }
.tm-card-stock.is-out::before { background: #c9b6be; }
body.tormi ul.products li.product .ct-woo-card-actions {
	position: static !important;
	aspect-ratio: auto !important;
	padding: 12px 0 0 !important;
	margin-top: auto !important;
	pointer-events: auto;
	display: block;
}
body.tormi ul.products li.product .ct-woo-card-actions .button {
	width: 100%;
	opacity: 1 !important;
	transform: none !important;
	background: var(--tm-ink);
	--fill: var(--tm-red-strong);
	min-height: 46px;
	font-size: 15px;
}
body.tormi ul.products li.product .ct-woo-card-actions .button:hover { transform: translateY(-2px) !important; }
body.tormi ul.products li.product.outofstock .ct-woo-card-actions .button { background: var(--tm-bg-soft); color: var(--tm-ink); }
body.tormi ul.products li.product.outofstock figure img { filter: grayscale(.4); opacity: .75; }
body.tormi .onsale { background: var(--tm-red-strong) !important; color: #fff !important; }
body.tormi ul.products li.product .ct-woo-badge-out-of-stock,
body.tormi ul.products li.product .out-of-stock-badge { background: var(--tm-ink) !important; border-radius: 999px !important; }

/* Paginación */
body.tormi .ct-pagination { margin-top: 48px; display: flex; justify-content: center; gap: 8px; }
body.tormi .ct-pagination .page-numbers {
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 999px !important;
	border: 2px solid var(--tm-line) !important;
	display: inline-grid;
	place-items: center;
	font-weight: 800;
	color: var(--tm-ink) !important;
	background: #fff !important;
	transition: border-color .2s ease, transform .3s var(--tm-spring);
}
body.tormi .ct-pagination a.page-numbers:hover { border-color: var(--tm-pink) !important; transform: translateY(-2px); }
body.tormi .ct-pagination .page-numbers.current { background: var(--tm-ink) !important; border-color: var(--tm-ink) !important; color: #fff !important; }

.tm-noresults { text-align: center; padding: 48px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tm-noresults img { width: 160px; height: auto; }
.tm-noresults__title { font-family: var(--tm-font-display); font-weight: 600; font-size: 26px; color: var(--tm-ink); margin: 0; }
body.tormi .woocommerce-info.woocommerce-no-products-found { display: none; }

/* Celular y tablet: filtros en panel lateral */
@media (max-width: 999px) {
	.tm-shop { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.tm-toolbar { justify-content: space-between; }
	.tm-toolbar__filter { display: inline-flex; }
	.tm-toolbar__sort span { display: none; }
	.tm-filters {
		position: fixed;
		inset: 0 auto 0 0;
		top: 0 !important;
		z-index: 100002;
		width: min(360px, 88vw);
		padding: 20px 22px 28px;
		box-sizing: border-box;
		overflow-y: auto;
		background: #fff;
		border-radius: 0 28px 28px 0;
		box-shadow: 30px 0 60px -30px rgba(43, 29, 38, .5);
		transform: translateX(-105%);
		transition: transform .5s var(--tm-smooth);
	}
	.tm-filters.is-open { transform: none; }
	.tm-filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
	.tm-filters__head p { margin: 0; font-family: var(--tm-font-display); font-weight: 600; font-size: 26px; color: var(--tm-ink); }
	.tm-filters__close {
		width: 44px; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 50%;
		background: var(--tm-bg-soft); display: grid; place-items: center;
	}
	.tm-filters__close::before { display: none; }
	.tm-filters__close svg { width: 20px; height: 20px; fill: none; stroke: var(--tm-ink); stroke-width: 2.4; stroke-linecap: round; }
	.tm-filters__apply { display: inline-flex; }
	body.tormi .tm-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 12px !important; }
}
/* Orden fijo dentro de la tarjeta: foto · marca · nombre · precio · stock · botón */
body.tormi ul.products li.product > figure { order: 0; }
body.tormi ul.products li.product > .tm-card-brand { order: 1; }
body.tormi ul.products li.product > .woocommerce-loop-product__title { order: 2; }
body.tormi ul.products li.product > .price { order: 3; }
body.tormi ul.products li.product > .tm-card-stock { order: 4; margin-top: 2px; }
body.tormi ul.products li.product > .ct-woo-card-actions { order: 5; }
body.tormi ul.products li.product > .tm-alt-src { order: 6; }
body.tormi.post-type-archive-product main > .ct-container,
body.tormi.tax-product_cat main > .ct-container { padding-top: 0 !important; }
/* Agotados: foto normal y nítida (solo el sello "Agotado" lo indica). La segunda foto vuelve a estar oculta. */
body.tormi ul.products li.product.outofstock figure img { filter: none !important; opacity: 1 !important; }
body.tormi ul.products li.product.outofstock figure img.tm-alt { opacity: 0 !important; }
body.tormi ul.products li.product.outofstock:hover figure img.tm-alt { opacity: 1 !important; }

/* =====================================================================
   MI CUENTA
   ===================================================================== */
body.tormi.woocommerce-account .hero-section,
body.tormi.woocommerce-account .entry-header { display: none !important; }
body.tormi.woocommerce-account main > .ct-container,
body.tormi.woocommerce-account .ct-container-full { padding-top: clamp(28px, 4vw, 56px) !important; }

/* Formularios en general */
body.tormi.woocommerce-account .woocommerce form .form-row { margin: 0 0 16px !important; padding: 0 !important; }
body.tormi.woocommerce-account .woocommerce form label { font-weight: 800; font-size: 14px; color: var(--tm-ink); margin-bottom: 6px; display: inline-block; }
body.tormi.woocommerce-account .woocommerce form .input-text,
body.tormi.woocommerce-account .woocommerce form select,
body.tormi.woocommerce-account .woocommerce form .select2-selection {
	width: 100%;
	min-height: 50px;
	padding: 0 16px !important;
	border: 2px solid var(--tm-line) !important;
	border-radius: 14px !important;
	background: #fff !important;
	font-family: var(--tm-font-body);
	font-size: 15px;
	color: var(--tm-ink);
	box-shadow: none !important;
	transition: border-color .25s ease, box-shadow .25s ease;
	box-sizing: border-box;
}
body.tormi.woocommerce-account .woocommerce form .input-text:focus {
	outline: none;
	border-color: var(--tm-pink) !important;
	box-shadow: 0 0 0 4px var(--tm-pink-soft) !important;
}
body.tormi.woocommerce-account .woocommerce form .show-password-input { top: 50% !important; transform: translateY(-50%); right: 14px !important; }
body.tormi.woocommerce-account .woocommerce .woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 8px; font-weight: 700 !important; }
body.tormi.woocommerce-account .woocommerce .woocommerce-form-login__rememberme input { accent-color: var(--tm-red-strong); width: 18px; height: 18px; }
body.tormi.woocommerce-account .woocommerce form .button { width: 100%; min-height: 54px; margin-top: 6px; font-size: 16px; }
body.tormi.woocommerce-account .woocommerce .lost_password a,
body.tormi.woocommerce-account .woocommerce-privacy-policy-text a { color: var(--tm-red-strong) !important; font-weight: 800; }
body.tormi.woocommerce-account .woocommerce .lost_password { margin: 14px 0 0 !important; text-align: center; }
body.tormi.woocommerce-account .woocommerce-privacy-policy-text p { font-size: 13px; line-height: 1.55; color: var(--tm-muted); }
body.tormi.woocommerce-account .woocommerce form fieldset { border: 0; padding: 0; margin: 24px 0 0; }
body.tormi.woocommerce-account .woocommerce form fieldset legend { font-family: var(--tm-font-display); font-weight: 600; font-size: 22px; color: var(--tm-ink); padding: 0; margin-bottom: 12px; }

/* --- Sin sesión: bienvenida + dos tarjetas --- */
.tm-login-hello {
	display: flex;
	align-items: center;
	gap: 32px;
	max-width: 980px;
	margin: 0 auto 36px;
}
.tm-login-hello img { flex: 0 0 auto; width: 150px; height: auto; }
.tm-login-hello h1 { margin: 0 0 8px; font-size: clamp(36px, 4.5vw, 54px); line-height: 1.04; }
.tm-login-hello p { margin: 0; font-size: 18px; line-height: 1.55; }
.tm-login-perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.tm-login-perks li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--tm-orange-soft);
	color: var(--tm-orange-ink);
	font-weight: 800;
	font-size: 14px;
}
.tm-login-perks li::before { content: "✓"; font-weight: 800; }
body.tormi .woocommerce.ct-woo-unauthorized .u-columns {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 980px;
	margin: 0 auto;
}
body.tormi .woocommerce.ct-woo-unauthorized .u-columns::before,
body.tormi .woocommerce.ct-woo-unauthorized .u-columns::after { display: none !important; }
body.tormi .woocommerce.ct-woo-unauthorized .u-column1,
body.tormi .woocommerce.ct-woo-unauthorized .u-column2 {
	float: none !important;
	width: auto !important;
	padding: 32px !important;
	border-radius: 32px;
	box-sizing: border-box;
}
body.tormi .woocommerce.ct-woo-unauthorized .u-column1 { background: #fff; box-shadow: 0 0 0 1px var(--tm-line), 0 24px 50px -36px rgba(43, 29, 38, .45); }
body.tormi .woocommerce.ct-woo-unauthorized .u-column2 { background: var(--tm-pink-soft); }
body.tormi .woocommerce.ct-woo-unauthorized .u-columns h2 { margin: 0 0 20px; font-size: 28px; }
body.tormi .woocommerce.ct-woo-unauthorized form.login,
body.tormi .woocommerce.ct-woo-unauthorized form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; }
body.tormi .woocommerce.ct-woo-unauthorized .u-column2 .button { --fill: var(--tm-red-strong); background: var(--tm-ink); }
body.tormi .woocommerce.ct-woo-unauthorized .u-column2 > form > p:not(.form-row) { font-size: 14px; color: var(--tm-ink-2); }
@media (max-width: 800px) {
	body.tormi .woocommerce.ct-woo-unauthorized .u-columns { grid-template-columns: minmax(0, 1fr); }
	.tm-login-hello { flex-direction: column; text-align: center; gap: 14px; }
	.tm-login-hello img { width: 120px; }
	.tm-login-perks { justify-content: center; }
	body.tormi .woocommerce.ct-woo-unauthorized .u-column1,
	body.tormi .woocommerce.ct-woo-unauthorized .u-column2 { padding: 24px !important; }
}

/* --- Con sesión: menú lateral + contenido --- */
body.tormi .woocommerce.ct-woo-account {
	display: grid !important;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}
body.tormi .woocommerce.ct-woo-account::before,
body.tormi .woocommerce.ct-woo-account::after { display: none !important; }
body.tormi .ct-acount-nav {
	position: sticky;
	top: 110px;
	width: auto !important;
	padding: 18px !important;
	border-radius: 28px;
	background: var(--tm-bg-soft);
	border: 0 !important;
	box-sizing: border-box;
}
body.admin-bar.tormi .ct-acount-nav { top: 142px; }
.tm-acc-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; margin-bottom: 10px; border-bottom: 1px solid #eedde3; }
.tm-acc-user__avatar {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tm-red-strong);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--tm-font-display);
	font-weight: 600;
	font-size: 22px;
}
.tm-acc-user b { display: block; font-family: var(--tm-font-display); font-weight: 600; font-size: 18px; color: var(--tm-ink); line-height: 1.2; }
.tm-acc-user small { display: block; font-size: 13px; color: var(--tm-muted); word-break: break-all; }
body.tormi .woocommerce-MyAccount-navigation { width: auto !important; float: none !important; }
body.tormi .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; border: 0 !important; }
body.tormi .woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.tormi .woocommerce-MyAccount-navigation li a {
	display: flex !important;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 14px !important;
	border-radius: 14px;
	font-weight: 800;
	font-size: 15px;
	color: var(--tm-ink) !important;
	text-decoration: none;
	background: transparent;
	transition: background-color .25s ease, transform .35s var(--tm-spring), color .25s ease;
}
body.tormi .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
	opacity: .85;
}
body.tormi .woocommerce-MyAccount-navigation li a:hover { background: #fff; transform: translateX(4px); }
body.tormi .woocommerce-MyAccount-navigation li.is-active a { background: var(--tm-ink); color: #fff !important; }
body.tormi .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 8px !important; padding-top: 8px !important; border-top: 1px solid #eedde3 !important; }
body.tormi .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--tm-red-strong) !important; }
.woocommerce-MyAccount-navigation-link--dashboard a { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-7 9 7v10a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders a { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4'/%3E%3Cpath d='M10 17l-5-5 5-5M5 12h11'/%3E%3C/svg%3E"); }

body.tormi .woocommerce-MyAccount-content { width: auto !important; float: none !important; min-width: 0; }

/* Escritorio */
.tm-acc-hello {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 28px;
	border-radius: 32px;
	background: var(--tm-orange-soft);
	margin-bottom: 20px;
}
.tm-acc-hello img { flex: 0 0 auto; width: 110px; height: auto; margin: -10px 0 -24px; }
.tm-acc-hello__eyebrow { margin: 0; font-weight: 800; font-size: 14px; color: var(--tm-orange-ink); }
.tm-acc-hello__title { margin: 2px 0 6px; font-size: clamp(28px, 3vw, 38px); }
.tm-acc-hello p { margin: 0; line-height: 1.55; }
.tm-acc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 32px; }
.tm-acc-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px;
	border-radius: 24px;
	border: 1px solid var(--tm-line);
	background: #fff;
	text-decoration: none;
	transition: border-color .25s ease, transform .4s var(--tm-spring), box-shadow .3s ease;
}
.tm-acc-card:hover { border-color: var(--tm-pink); transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(215, 80, 109, .6); }
.tm-acc-card__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--tm-pink-soft); display: grid; place-items: center; margin-bottom: 8px; transition: transform .4s var(--tm-spring); }
.tm-acc-card:hover .tm-acc-card__icon { transform: rotate(-8deg) scale(1.06); }
.tm-acc-card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--tm-red-strong); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tm-acc-card__title { font-family: var(--tm-font-display); font-weight: 600; font-size: 20px; color: var(--tm-ink); }
.tm-acc-card__meta { font-size: 14px; font-weight: 700; color: var(--tm-muted); }

.tm-acc-recent__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.tm-acc-recent__head h3 { margin: 0; font-size: 24px; }
.tm-acc-orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tm-acc-order {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto auto 40px;
	align-items: center;
	gap: 16px;
	padding: 12px 14px;
	border-radius: 20px;
	border: 1px solid var(--tm-line);
	background: #fff;
	transition: border-color .25s ease;
}
.tm-acc-order:hover { border-color: var(--tm-pink); }
.tm-acc-order__img { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--tm-bg-soft); display: block; }
.tm-acc-order__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-acc-order__info { min-width: 0; }
.tm-acc-order__info b { display: block; font-family: var(--tm-font-display); font-weight: 600; font-size: 17px; color: var(--tm-ink); }
.tm-acc-order__info small { display: block; font-size: 13px; color: var(--tm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-acc-order__total { font-weight: 800; color: var(--tm-ink); }
.tm-acc-order__go {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tm-bg-soft);
	display: grid;
	place-items: center;
	transition: background-color .25s ease, transform .35s var(--tm-spring);
}
.tm-acc-order__go svg { width: 18px; height: 18px; fill: none; stroke: var(--tm-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tm-acc-order__go:hover { background: var(--tm-ink); transform: translateX(3px); }
.tm-acc-order__go:hover svg { stroke: #fff; }

/* Estados de pedido */
.tm-status,
body.tormi .woocommerce-orders-table__cell-order-status {
	white-space: nowrap;
}
.tm-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	background: var(--tm-bg-soft);
	color: var(--tm-ink);
}
.tm-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tm-status--completed { background: #e8f5ec; color: #1f5f34; }
.tm-status--processing { background: #e7f0fb; color: #1d4f8a; }
.tm-status--on-hold, .tm-status--pending { background: var(--tm-orange-soft); color: var(--tm-orange-ink); }
.tm-status--cancelled, .tm-status--failed, .tm-status--refunded { background: var(--tm-pink-soft); color: var(--tm-pink-ink); }

.tm-acc-empty { display: flex; align-items: center; gap: 22px; padding: 24px; border-radius: 28px; border: 2px dashed var(--tm-line); }
.tm-acc-empty img { width: 110px; height: auto; flex: 0 0 auto; }
.tm-acc-empty__title { margin: 0 0 4px; font-family: var(--tm-font-display); font-weight: 600; font-size: 22px; color: var(--tm-ink); }
.tm-acc-empty p { margin: 0 0 12px; }

/* Página "Mis pedidos" (tabla convertida en tarjetas) */
body.tormi .woocommerce-orders-table { border: 0 !important; border-collapse: separate !important; border-spacing: 0 10px !important; }
body.tormi .woocommerce-orders-table thead th { border: 0 !important; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tm-muted); }
body.tormi .woocommerce-orders-table tbody td,
body.tormi .woocommerce-orders-table tbody th {
	border: 0 !important;
	border-top: 1px solid var(--tm-line) !important;
	border-bottom: 1px solid var(--tm-line) !important;
	background: #fff;
	padding: 16px 14px !important;
	vertical-align: middle;
}
body.tormi .woocommerce-orders-table tbody tr > :first-child { border-left: 1px solid var(--tm-line) !important; border-radius: 18px 0 0 18px; }
body.tormi .woocommerce-orders-table tbody tr > :last-child { border-right: 1px solid var(--tm-line) !important; border-radius: 0 18px 18px 0; }
body.tormi .woocommerce-orders-table__cell-order-number a { font-family: var(--tm-font-display); font-weight: 600; font-size: 17px; color: var(--tm-ink) !important; }
body.tormi .woocommerce-orders-table .button { min-height: 40px; width: auto; padding: 0 18px; font-size: 14px; margin: 0 !important; }

/* Direcciones */
body.tormi .woocommerce-Addresses { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.tormi .woocommerce-Addresses::before, body.tormi .woocommerce-Addresses::after { display: none !important; }
body.tormi .woocommerce-Address {
	float: none !important;
	width: auto !important;
	padding: 22px !important;
	border-radius: 24px;
	border: 1px solid var(--tm-line);
	background: #fff;
}
body.tormi .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
body.tormi .woocommerce-Address-title h2,
body.tormi .woocommerce-Address-title h3 { margin: 0; font-size: 20px; }
body.tormi .woocommerce-Address-title .edit {
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--tm-pink-soft);
	color: var(--tm-red-strong) !important;
	font-weight: 800;
	font-size: 13px;
	text-decoration: none;
}
body.tormi .woocommerce-Address address { font-style: normal; line-height: 1.6; color: var(--tm-ink-2); }

/* Tablet y celular */
@media (max-width: 999px) {
	body.tormi .woocommerce.ct-woo-account { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	body.tormi .ct-acount-nav { position: static; padding: 12px !important; }
	body.tormi .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	body.tormi .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	body.tormi .woocommerce-MyAccount-navigation li a { white-space: nowrap; }
	body.tormi .woocommerce-MyAccount-navigation li a:hover { transform: none; }
	body.tormi .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
	.tm-acc-cards { grid-template-columns: minmax(0, 1fr); }
	.tm-acc-order { grid-template-columns: 48px minmax(0, 1fr) 40px; }
	.tm-acc-order .tm-status, .tm-acc-order__total { grid-column: 2; }
	.tm-acc-order__go { grid-column: 3; grid-row: 1; }
	body.tormi .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
	.tm-acc-hello img { width: 80px; margin: 0; }
}
.tm-acc-user > span:last-child { min-width: 0; }
.tm-acc-user b, .tm-acc-user small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; }

/* =====================================================================
   VIDEOS DE TIKTOK CON PRODUCTO
   ===================================================================== */
.tm-videos__nav { display: flex; gap: 8px; }
.tm-videos__nav button {
	width: 46px;
	height: 46px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	border: 2px solid var(--tm-line);
	background: #fff;
	display: grid;
	place-items: center;
	transition: border-color .25s ease, transform .35s var(--tm-spring), background-color .25s ease;
}
.tm-videos__nav button::before { display: none; }
.tm-videos__nav button:hover { border-color: var(--tm-ink); background: var(--tm-ink); transform: scale(1.06); }
.tm-videos__nav button:hover svg { stroke: #fff; }
.tm-videos__nav svg { width: 20px; height: 20px; fill: none; stroke: var(--tm-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.tm-videos__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 18px * 4) / 5);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 4px 2px 10px;
}
.tm-videos__track::-webkit-scrollbar { display: none; }
@media (max-width: 1199px) { .tm-videos__track { grid-auto-columns: calc((100% - 18px * 3) / 4); } }
@media (max-width: 899px) { .tm-videos__track { grid-auto-columns: calc((100% - 18px * 2) / 2.6); } }
@media (max-width: 599px) { .tm-videos__track { grid-auto-columns: 74%; gap: 12px; } }

.tm-vcard { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tm-vcard__media {
	position: relative;
	aspect-ratio: 9 / 16;
	border-radius: 26px;
	overflow: hidden;
	background: var(--tm-ink);
	box-shadow: 0 18px 40px -26px rgba(43, 29, 38, .6);
	transition: transform .45s var(--tm-spring), box-shadow .3s ease;
	isolation: isolate;
}
.tm-vcard:hover .tm-vcard__media { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--tm-red), 0 24px 46px -24px rgba(204, 10, 10, .5); }
.tm-vcard__media iframe {
	position: absolute;
	/* Se recorta un poco para que el video llene la tarjeta sin bordes negros */
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%) scale(1.02);
	border: 0;
	z-index: 1;
	opacity: 0;
	transition: opacity .5s ease;
	pointer-events: none;
}
.tm-vcard__media.is-ready iframe { opacity: 1; }
.tm-vcard__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tm-vcard__sound,
.tm-vcard__tt {
	position: absolute;
	z-index: 3;
	top: 12px;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(43, 29, 38, .55);
	backdrop-filter: blur(6px);
	display: grid;
	place-items: center;
	transition: background-color .25s ease, transform .35s var(--tm-spring);
}
.tm-vcard__sound { right: 12px; }
.tm-vcard__tt { left: 12px; opacity: 0; }
.tm-vcard:hover .tm-vcard__tt, .tm-vcard__tt:focus-visible { opacity: 1; }
.tm-vcard__sound::before { display: none; }
.tm-vcard__sound:hover, .tm-vcard__tt:hover { background: var(--tm-red-strong); transform: scale(1.08); }
.tm-vcard__sound svg, .tm-vcard__tt svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tm-vcard__sound .is-on { display: none; }
.tm-vcard__sound[aria-pressed="true"] .is-on { display: block; }
.tm-vcard__sound[aria-pressed="true"] .is-off { display: none; }
.tm-vcard__sound[aria-pressed="true"] { background: var(--tm-red-strong); }

/* Producto debajo del video */
.tm-vcard__product {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 10px 12px;
	align-items: center;
	padding: 12px;
	border-radius: 22px;
	border: 1px solid var(--tm-line);
	background: #fff;
}
.tm-vcard__thumb { width: 58px; height: 58px; border-radius: 14px; overflow: hidden; background: var(--tm-bg-soft); display: block; }
.tm-vcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-vcard__info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tm-vcard__name {
	font-weight: 800;
	font-size: 13px;
	line-height: 1.3;
	color: var(--tm-ink) !important;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tm-vcard__name:hover { color: var(--tm-red-strong) !important; }
.tm-vcard__price { font-weight: 800; font-size: 14px; color: var(--tm-red-strong); }
.tm-vcard__price del { color: var(--tm-muted); font-weight: 600; font-size: 12px; }
.tm-vcard__price ins { text-decoration: none; }
.tm-vcard__buy { grid-column: 1 / -1; width: 100%; min-height: 46px !important; font-size: 15px !important; padding: 0 16px !important; box-sizing: border-box; }
.tm-vcard .added_to_cart { display: none !important; }
/* Recorte del reproductor de TikTok: oculta su cabecera (nombre de cuenta) y la columna de "me gusta / comentarios"
   para que el video se vea limpio dentro de la tarjeta. */
.tm-vcard__media iframe {
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%) scale(1.34) translate(6%, 2%);
}

/* Videos: portada con el producto y botón "Ver unboxing" (nada suena solo) */
.tm-vcard__bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) saturate(1.2); opacity: .55; z-index: 0; }
.tm-vcard__media { background: var(--tm-pink-soft); }
.tm-vcard__poster {
	position: absolute;
	inset: auto;
	left: 50%;
	top: 44%;
	width: 86%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 22px;
	transform: translate(-50%, -50%);
	box-shadow: 0 18px 36px -18px rgba(43, 29, 38, .5);
	z-index: 0;
	transition: transform .6s var(--tm-spring);
}
.tm-vcard:hover .tm-vcard__poster { transform: translate(-50%, -52%) rotate(-2deg); }
.tm-vcard__play {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 20px 0 6px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--tm-ink);
	font-weight: 800;
	font-size: 15px;
	white-space: nowrap;
	box-shadow: 0 12px 26px -14px rgba(43, 29, 38, .6);
	transition: transform .4s var(--tm-spring), background-color .25s ease;
}
.tm-vcard__play::before { display: none; }
.tm-vcard__play:hover { transform: translateX(-50%) scale(1.05); }
.tm-vcard__play-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--tm-red-strong); display: grid; place-items: center; }
.tm-vcard__play-icon svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.tm-vcard__play:hover .tm-vcard__play-icon { animation: tm-bump .6s var(--tm-spring); }
.tm-vcard__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(43, 29, 38, .6);
	display: none;
	place-items: center;
}
.tm-vcard__close::before { display: none; }
.tm-vcard__close svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.tm-vcard__close:hover { background: var(--tm-red-strong); }
.tm-vcard__media.is-playing .tm-vcard__close { display: grid; }
.tm-vcard__media.is-playing .tm-vcard__play { display: none; }
.tm-vcard__media iframe { pointer-events: auto; z-index: 1; }
.tm-vcard__media.is-playing .tm-vcard__poster,
.tm-vcard__media.is-playing .tm-vcard__bg { opacity: 0; }
/* Botón de sonido: solo aparece mientras el video está abierto, al lado de la X */
.tm-vcard__sound { display: none; right: 60px; }
.tm-vcard__media.is-playing .tm-vcard__sound { display: grid; }
/* Videos: vuelve el diseño de video a pantalla completa en la tarjeta (reproducción en silencio) */
.tm-vcard__sound { display: grid; right: 12px; }
.tm-vcard__media .tm-vcard__poster,
.tm-vcard__media .tm-vcard__bg { transition: opacity .5s ease; }
.tm-vcard__media.is-ready .tm-vcard__poster,
.tm-vcard__media.is-ready .tm-vcard__bg { opacity: 0; }
.tm-vcard__media.is-ready iframe { opacity: 1; }
.tm-vcard__media iframe { pointer-events: none; }


/* =====================================================================
   ACTUALIZACIÓN 2 — fondo, bandas con patrón, galería, etiquetas, cuenta,
   videos, botones, paginación y pie de página
   ===================================================================== */

/* 3) Fondo general gris rosado (las tarjetas quedan blancas) */
:root { --tm-page: #f6f1f3; --tm-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' viewBox='0 0 190 190'%3E%3Cg fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.22'%3E%3Cg transform='translate(34 36) rotate(-18) scale(1.25)'%3E%3Cellipse cx='0' cy='6' rx='7' ry='6'/%3E%3Cellipse cx='-8.5' cy='-1.5' rx='2.8' ry='3.4'/%3E%3Cellipse cx='-3.5' cy='-6.5' rx='2.8' ry='3.4'/%3E%3Cellipse cx='3.5' cy='-6.5' rx='2.8' ry='3.4'/%3E%3Cellipse cx='8.5' cy='-1.5' rx='2.8' ry='3.4'/%3E%3C/g%3E%3Cg transform='translate(128 44) rotate(8) scale(1.15)'%3E%3Cpath d='M0 -14 L16 -6 L0 2 L-16 -6 Z'/%3E%3Cpath d='M-16 -6 V12 L0 20 V2'/%3E%3Cpath d='M16 -6 V12 L0 20'/%3E%3Cpath d='M-6 3 q0 -4 4 -4 q4 0 4 4 q0 3 -4 4 v2'/%3E%3Ccircle cx='-2' cy='12' r='.6'/%3E%3C/g%3E%3Cpath transform='translate(86 92) scale(1)' d='M0 -10 Q2 -2 10 0 Q2 2 0 10 Q-2 2 -10 0 Q-2 -2 0 -10 Z'/%3E%3Cg transform='translate(150 150) rotate(22) scale(0.95)'%3E%3Cellipse cx='0' cy='6' rx='7' ry='6'/%3E%3Cellipse cx='-8.5' cy='-1.5' rx='2.8' ry='3.4'/%3E%3Cellipse cx='-3.5' cy='-6.5' rx='2.8' ry='3.4'/%3E%3Cellipse cx='3.5' cy='-6.5' rx='2.8' ry='3.4'/%3E%3Cellipse cx='8.5' cy='-1.5' rx='2.8' ry='3.4'/%3E%3C/g%3E%3Cg transform='translate(46 150) rotate(-10) scale(0.95)'%3E%3Cpath d='M0 -14 L16 -6 L0 2 L-16 -6 Z'/%3E%3Cpath d='M-16 -6 V12 L0 20 V2'/%3E%3Cpath d='M16 -6 V12 L0 20'/%3E%3Cpath d='M-6 3 q0 -4 4 -4 q4 0 4 4 q0 3 -4 4 v2'/%3E%3Ccircle cx='-2' cy='12' r='.6'/%3E%3C/g%3E%3Cpath transform='translate(170 96) scale(0.6)' d='M0 -10 Q2 -2 10 0 Q2 2 0 10 Q-2 2 -10 0 Q-2 -2 0 -10 Z'/%3E%3Cpath transform='translate(96 16) scale(0.55)' d='M0 -10 Q2 -2 10 0 Q2 2 0 10 Q-2 2 -10 0 Q-2 -2 0 -10 Z'/%3E%3Cpath transform='translate(14 98) scale(0.5)' d='M0 -10 Q2 -2 10 0 Q2 2 0 10 Q-2 2 -10 0 Q-2 -2 0 -10 Z'/%3E%3C/g%3E%3C/svg%3E"); }
body.tormi {
	background-color: var(--tm-page) !important;
	background-image:
		radial-gradient(900px 600px at 100% 0%, rgba(215, 80, 109, .10), rgba(215, 80, 109, 0) 70%),
		radial-gradient(800px 600px at 0% 100%, rgba(222, 153, 62, .08), rgba(222, 153, 62, 0) 70%) !important;
	background-attachment: fixed !important;
}
body.tormi #main-container,
body.tormi main.site-main,
body.tormi .ct-container-full,
body.tormi article.product,
body.tormi .hero-section,
body.tormi [data-prefix] .entry-content,
body.tormi .tm-shop,
body.tormi .tm-hero { background-color: transparent !important; }
body.tormi .tm-hero { background-image: none !important; }
body.tormi #header [data-row] { background-color: rgba(255, 255, 255, .92) !important; }
body.tormi .tm-filters { background: #fff; border-radius: 24px; padding: 18px 18px 6px; box-shadow: 0 0 0 1px var(--tm-line); box-sizing: border-box; }
body.tormi .tm-check { margin: 0 -8px; }
body.tormi .tm-cat-chip { background: #fff; }
body.tormi .tm-why__item, body.tormi .tm-chip, body.tormi .wp-block-details { background: #fff; }

/* 2) Bandas de color con patrón de huellitas y cajas misteriosas */
.tm-band { position: relative; isolation: isolate; overflow: hidden; }
.tm-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--tm-pattern);
	background-size: 190px 190px;
	pointer-events: none;
}
.tm-band--caramel { background-color: #de993e !important; }
.tm-band--red { background-color: #c20b0b !important; }
.tm-band--pink { background-color: #c9466a !important; }
.tm-section.tm-band { padding: clamp(56px, 7vw, 96px) 0 !important; margin-top: clamp(48px, 6vw, 80px); }

/* Portada caramelo: texto oscuro y "ya está en Perú" en blanco con contorno, estilo sticker */
.tm-band--caramel .tm-hero__title { color: var(--tm-ink); }
.tm-band--caramel .tm-hero__title em,
.tm-band--caramel .tm-hero__title em .tm-w > span {
	color: #fff;
	-webkit-text-stroke: 7px var(--tm-ink);
	paint-order: stroke fill;
}
.tm-band--caramel .tm-hero__lead { color: var(--tm-ink); font-weight: 600; }
.tm-band--caramel .tm-blob { background: rgba(255, 255, 255, .45); }
.tm-band--caramel .tm-btn--ghost { background: #fff; box-shadow: none; }
.tm-band--caramel .tm-btn--ghost:hover { color: #fff; }

/* Bandas roja y rosa: textos blancos */
.tm-band--red .tm-head h2, .tm-band--red .tm-head h2 .tm-w > span,
.tm-band--pink .tm-head h2, .tm-band--pink .tm-head h2 .tm-w > span,
.tm-band--red .tm-kicker, .tm-band--pink .tm-kicker { color: #fff !important; }
.tm-band--red .tm-link, .tm-band--pink .tm-link { color: #fff !important; background-image: linear-gradient(#fff, #fff); }
.tm-band--red ul.products li.product { background: #fff; padding: 10px 10px 14px !important; border-radius: 28px; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .45); }
.tm-band--red ul.products li.product figure { box-shadow: none !important; }
.tm-band--pink .tm-videos__nav button { background: #fff; border-color: #fff; }

/* 1) Galería: miniaturas a la izquierda + foto grande con flechas */
.tm-gallery {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}
.tm-gallery.is-single { grid-template-columns: minmax(0, 1fr); }
.tm-gallery__side { position: relative; min-height: 0; }
.tm-gallery__thumbs {
	position: absolute;
	inset: 0 0 46px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	overflow-y: auto;
	scrollbar-width: none;
	padding: 3px;
	box-sizing: border-box;
}
.tm-gallery__thumbs::-webkit-scrollbar { display: none; }
.tm-gallery__thumb {
	flex: 0 0 auto;
	width: 74px;
	height: 74px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 1px var(--tm-line);
	opacity: .7;
	transition: opacity .25s ease, box-shadow .25s ease, transform .35s var(--tm-spring);
}
.tm-gallery__thumb::before { display: none !important; }
.tm-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-gallery__thumb:hover { opacity: 1; transform: translateY(-2px); }
.tm-gallery__thumb.is-on { opacity: 1; box-shadow: 0 0 0 2.5px var(--tm-ink); }
.tm-gallery__more {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	display: grid;
	place-items: center;
	transition: transform .35s var(--tm-spring);
}
.tm-gallery__more::before { display: none !important; }
.tm-gallery__more svg { width: 22px; height: 22px; fill: none; stroke: #de993e; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: tm-float 2.4s ease-in-out infinite; }
.tm-gallery__more:hover { transform: translateX(-50%) scale(1.15); }
.tm-gallery__more.is-up svg { transform: rotate(180deg); animation: none; }
.tm-gallery__stage {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 1px var(--tm-line), 0 24px 50px -36px rgba(43, 29, 38, .5);
}
.tm-gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.tm-gallery__track::-webkit-scrollbar { display: none; }
.tm-gallery__track .tm-gallery__item,
.tm-gallery__track .tm-gallery__item.is-main {
	flex: 0 0 100%;
	aspect-ratio: 1 / 1;
	scroll-snap-align: center;
	border-radius: 0 !important;
	box-shadow: none !important;
	transform: none !important;
	animation: none !important;
	background: #fff !important;
}
.tm-gallery__track .tm-gallery__item:hover img { transform: scale(1.04); }
.tm-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 48px;
	height: 48px;
	min-height: 0;
	margin-top: -24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(43, 29, 38, .32);
	backdrop-filter: blur(6px);
	display: grid;
	place-items: center;
	transition: background-color .25s ease, transform .35s var(--tm-spring);
}
.tm-gallery__nav::before { display: none !important; }
.tm-gallery__nav--prev { left: 16px; }
.tm-gallery__nav--next { right: 16px; }
.tm-gallery__nav svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tm-gallery__nav:hover { background: var(--tm-red-strong); transform: scale(1.08); }
.tm-gallery__count { display: none; }
.tm-gallery__dots { display: none; grid-column: 1 / -1; }
@media (max-width: 999px) {
	.tm-gallery { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.tm-gallery__side { display: none; }
	.tm-gallery__nav { width: 40px; height: 40px; margin-top: -20px; }
	.tm-gallery__nav--prev { left: 10px; }
	.tm-gallery__nav--next { right: 10px; }
	.tm-gallery__count {
		display: block;
		position: absolute;
		top: 14px;
		right: 14px;
		z-index: 2;
		padding: 6px 12px;
		border-radius: 999px;
		background: rgba(255, 255, 255, .92);
		font-size: 13px;
		font-weight: 800;
		color: var(--tm-ink);
	}
	.tm-gallery__dots { display: flex; justify-content: center; gap: 6px; }
	.tm-gallery__dots span { width: 8px; height: 8px; border-radius: 999px; background: #e3d3da; transition: width .35s var(--tm-spring), background-color .25s ease; }
	.tm-gallery__dots span.is-on { width: 24px; background: var(--tm-red-strong); }
}

/* 6) Etiquetas de colección / marca / tipo sobre el nombre */
.tm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 -6px !important; }
.tm-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 13px;
	line-height: 1.1;
	text-decoration: none;
	transition: transform .35s var(--tm-spring), background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.tm-tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.tm-tag--col { background: var(--tm-pink-soft); color: var(--tm-pink-ink) !important; }
.tm-tag--brand { background: var(--tm-orange-soft); color: var(--tm-orange-ink) !important; }
.tm-tag--type { background: #fff; color: var(--tm-ink) !important; box-shadow: inset 0 0 0 1.5px var(--tm-line); }
.tm-tag:hover { transform: translateY(-2px); }
.tm-tag--col:hover { background: var(--tm-pink-ink); color: #fff !important; }
.tm-tag--brand:hover { background: var(--tm-orange-ink); color: #fff !important; }
.tm-tag--type:hover { box-shadow: inset 0 0 0 1.5px var(--tm-ink); }

/* 7) Botón de cuenta en la cabecera */
.tm-acc-btn { position: relative; display: inline-flex; margin-right: 14px; }
.tm-acc-btn__link {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--tm-bg-soft);
	text-decoration: none;
	transition: background-color .25s ease, transform .35s var(--tm-spring);
}
.tm-acc-btn__link svg { width: 21px; height: 21px; fill: none; stroke: var(--tm-ink); stroke-width: 2.2; stroke-linecap: round; }
.tm-acc-btn__link:hover { transform: translateY(-2px) rotate(-6deg); background: var(--tm-pink-soft); }
.tm-acc-btn__avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--tm-red-strong);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--tm-font-display);
	font-weight: 600;
	font-size: 19px;
}
.tm-acc-btn__menu {
	position: absolute;
	top: calc(100% + 10px);
	right: -8px;
	z-index: 50;
	min-width: 210px;
	padding: 10px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 50px -20px rgba(43, 29, 38, .4), 0 0 0 1px var(--tm-line);
	display: flex;
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s ease, transform .3s var(--tm-spring), visibility .2s;
}
.tm-acc-btn__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.tm-acc-btn.is-in:hover .tm-acc-btn__menu,
.tm-acc-btn.is-in:focus-within .tm-acc-btn__menu,
.tm-acc-btn.is-open .tm-acc-btn__menu { opacity: 1; visibility: visible; transform: none; }
.tm-acc-btn__menu p { margin: 0 0 6px; padding: 6px 10px 10px; border-bottom: 1px solid var(--tm-line); font-size: 15px; color: var(--tm-ink); }
.tm-acc-btn__menu p small { display: block; font-size: 12px; color: var(--tm-muted); }
.tm-acc-btn__menu a { padding: 10px; border-radius: 12px; font-weight: 800; font-size: 14px; color: var(--tm-ink) !important; text-decoration: none; }
.tm-acc-btn__menu a:hover { background: var(--tm-pink-soft); }
.tm-acc-btn__menu a.is-out { color: var(--tm-red-strong) !important; }
@media (max-width: 999px) { .tm-acc-btn { margin-right: 8px; } .tm-acc-btn__link, .tm-acc-btn__avatar { width: 38px; height: 38px; } }

/* 4) Videos con identidad Tormi: marcos tipo sticker, tablero escalonado y etiqueta troquelada */
.tm-vcard { --c: var(--tm-orange); padding-top: 4px; }
.tm-vcard--c1 { --c: var(--tm-ink); }
.tm-vcard--c2 { --c: #ffd166; }
.tm-videos__track { padding: 18px 10px 28px; gap: 26px; }
.tm-vcard:nth-child(odd) { transform: rotate(-2deg); }
.tm-vcard:nth-child(even) { transform: rotate(2deg) translateY(18px); }
.tm-vcard { transition: transform .5s var(--tm-spring); }
.tm-vcard:hover { transform: none; }
.tm-js .tm-vcard.tm-reveal:not(.tm-done) { transform: translateY(28px); }
.tm-vcard__num {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px 6px 8px;
	border-radius: 999px;
	background: #fff;
	color: var(--tm-ink);
	font-weight: 800;
	font-size: 13px;
	box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4);
}
.tm-vcard__num svg { width: 18px; height: 18px; color: var(--tm-red-strong); }
.tm-vcard__media {
	border: 6px solid #fff;
	border-radius: 30px;
	box-shadow: 8px 8px 0 var(--c);
}
.tm-vcard:hover .tm-vcard__media { transform: none; box-shadow: 10px 10px 0 var(--c); }
.tm-vcard__product {
	position: relative;
	grid-template-columns: 52px minmax(0, 1fr) 48px;
	gap: 10px;
	padding: 14px 12px 12px;
	margin-top: 4px;
	border: 0;
	border-radius: 18px;
	background:
		radial-gradient(circle at 10px 0, transparent 7px, #fff 7.5px) 0 0 / 20px 100% repeat-x;
	box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .55);
}
.tm-vcard__product::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	top: 9px;
	border-top: 2px dashed #ecdfe5;
}
.tm-vcard__thumb { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px var(--tm-pink-soft); }
.tm-vcard__buy,
.tm-vcard a.tm-vcard__buy {
	grid-column: auto !important;
	width: 48px !important;
	height: 48px;
	min-height: 0 !important;
	padding: 0 !important;
	border-radius: 50%;
	background: var(--tm-red-strong);
	display: grid;
	place-items: center;
	text-decoration: none;
	transition: transform .4s var(--tm-spring), background-color .25s ease, box-shadow .25s ease;
	box-shadow: 0 8px 18px -10px rgba(204, 10, 10, .8);
}
.tm-vcard__buy::before { display: none !important; }
.tm-vcard__buy svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tm-vcard__buy:hover { transform: rotate(-10deg) scale(1.1); background: var(--tm-ink); }
.tm-vcard__buy.is-out { background: #fff; box-shadow: inset 0 0 0 2px var(--tm-line); }
.tm-vcard__buy.is-out svg { stroke: var(--tm-ink); }
.tm-vcard__buy.loading { opacity: .6; }
.tm-vcard__buy.tm-added { animation: tm-bump .6s var(--tm-spring); }
@media (max-width: 599px) {
	.tm-vcard:nth-child(even) { transform: rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) { .tm-vcard, .tm-vcard:nth-child(even), .tm-vcard:nth-child(odd) { transform: none; } }

/* 8) Botones "Añadir al carrito" de las tarjetas: relleno animado como el resto */
body.tormi .button::before,
body.tormi ul.products li.product .ct-woo-card-actions .button::before {
	display: block !important;
	opacity: 1 !important;
	filter: none !important;
	right: auto !important;
	bottom: auto !important;
	left: 50% !important;
	top: 100% !important;
	height: auto !important;
	inset-inline: auto !important;
	inset-block: auto !important;
}
body.tormi .button:hover::before { transform: translate(-50%, -58%) scale(1) !important; }
body.tormi ul.products li.product .ct-woo-card-actions .button { transition: transform .35s var(--tm-spring), box-shadow .35s ease, color .3s ease !important; }
body.tormi ul.products li.product .ct-woo-card-actions .button:hover { box-shadow: 0 12px 24px -12px rgba(204, 10, 10, .55); }
@keyframes tm-added { 0% { transform: scale(1); } 35% { transform: scale(.94); } 70% { transform: scale(1.04); } 100% { transform: scale(1); } }
body.tormi .button.tm-added { animation: tm-added .55s var(--tm-spring); }

/* 9) Paginación simétrica */
body.tormi .ct-pagination { align-items: center; flex-wrap: wrap; }
body.tormi .ct-pagination > div { display: flex; gap: 8px; }
body.tormi .ct-pagination .prev,
body.tormi .ct-pagination .next {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px !important;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}
body.tormi .ct-pagination .prev svg,
body.tormi .ct-pagination .next svg { width: 10px; height: 10px; margin: 0 !important; flex: 0 0 auto; position: static !important; transform: none; }
body.tormi .ct-pagination .page-numbers { line-height: 1; }
@media (max-width: 689px) {
	body.tormi .ct-pagination .prev,
	body.tormi .ct-pagination .next { font-size: 0; gap: 0; width: 44px; padding: 0 !important; }
	body.tormi .ct-pagination .prev svg,
	body.tormi .ct-pagination .next svg { width: 12px; height: 12px; }
}

/* 10) Pie de página propio */
body.tormi #footer { display: none !important; }
.tm-footer { background: var(--tm-ink); color: #e9dbe1; }
.tm-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-top: 60px;
	padding-bottom: 48px;
}
.tm-footer__brand img { width: 170px; height: auto; display: block; margin-bottom: 14px; transition: transform .5s var(--tm-spring); }
.tm-footer__brand img:hover { transform: rotate(-4deg) scale(1.04); }
.tm-footer__brand p { margin: 0 0 18px; font-size: 15px; line-height: 1.55; max-width: 280px; }
.tm-footer__social { display: flex; gap: 10px; }
.tm-footer__social a {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	display: grid;
	place-items: center;
	transition: background-color .25s ease, transform .4s var(--tm-spring);
}
.tm-footer__social svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-footer__social a:hover { background: var(--tm-red-strong); transform: translateY(-4px) rotate(-6deg); }
.tm-footer__col { display: flex; flex-direction: column; gap: 12px; }
.tm-footer__title { margin: 0 0 4px; font-family: var(--tm-font-display); font-weight: 600; font-size: 20px; color: #fff; }
.tm-footer__col a {
	align-self: flex-start;
	font-weight: 700;
	font-size: 15px;
	color: #e9dbe1 !important;
	text-decoration: none;
	background: linear-gradient(var(--tm-red), var(--tm-red)) 0 100% / 0 2px no-repeat;
	transition: background-size .35s var(--tm-smooth), color .25s ease;
	padding-bottom: 2px;
}
.tm-footer__col a:hover { color: #fff !important; background-size: 100% 2px; }
@media (max-width: 900px) { .tm-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } .tm-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .tm-footer__grid { grid-template-columns: 1fr; } }
body.tormi .tm-band--caramel { background-color: #de993e !important; }
body.tormi .tm-band--red { background-color: #c20b0b !important; }
body.tormi .tm-band--pink { background-color: #c9466a !important; }

/* =====================================================================
   ACTUALIZACIÓN 3
   ===================================================================== */

/* 1a) Títulos palabra por palabra: margen interno para que el contorno y las tildes no se recorten */
.tm-split .tm-w { padding: .1em .1em .12em; margin: -.1em -.1em -.12em; }

/* 1b) Videos: 4 tarjetas completas por fila (nada cortado en el borde) y nombres más legibles */
.tm-videos__track {
	grid-auto-columns: calc((100% - 26px * 3) / 4) !important;
	gap: 26px !important;
	padding: 18px 14px 32px !important;
	scroll-padding-inline: 14px;
}
@media (max-width: 1099px) { .tm-videos__track { grid-auto-columns: calc((100% - 26px * 2) / 3) !important; } }
@media (max-width: 799px) { .tm-videos__track { grid-auto-columns: calc((100% - 20px) / 2.15) !important; gap: 20px !important; } }
@media (max-width: 539px) { .tm-videos__track { grid-auto-columns: 76% !important; gap: 18px !important; } }
.tm-vcard__name { font-size: 13px; line-height: 1.25; -webkit-line-clamp: 3; }
.tm-vcard__product { grid-template-columns: 48px minmax(0, 1fr) 44px !important; gap: 10px !important; }
.tm-vcard__thumb { width: 48px !important; height: 48px !important; }
.tm-vcard__buy, .tm-vcard a.tm-vcard__buy { width: 44px !important; height: 44px !important; }

/* 2) Pastilla de categoría seleccionada: fondo oscuro y texto blanco */
body.tormi .tm-cat-chip.is-on,
body.tormi .tm-cat-chip.is-on:hover { background: var(--tm-ink) !important; border-color: var(--tm-ink) !important; color: #fff !important; transform: none; }

/* 3) Tarjetas de producto: foto protagonista, info limpia debajo, todo alineado */
body.tormi ul.products { gap: 40px 26px !important; }
body.tormi .tm-shop ul.products { gap: 44px 26px !important; }
body.tormi ul.products li.product,
.tm-band--red ul.products li.product {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "fig fig" "brand brand" "title price";
	align-content: start;
	gap: 0 14px !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-align: left !important;
}
body.tormi ul.products li.product > figure {
	grid-area: fig;
	margin: 0 0 14px !important;
	border-radius: 26px !important;
	background: #fff !important;
	box-shadow: 0 1px 0 rgba(43, 29, 38, .04), 0 14px 30px -22px rgba(43, 29, 38, .35) !important;
	transition: box-shadow .45s ease, transform .45s var(--tm-spring);
}
body.tormi ul.products li.product:hover { transform: none !important; }
body.tormi ul.products li.product:hover > figure {
	transform: translateY(-6px);
	box-shadow: 0 0 0 2px var(--tm-pink), 0 26px 44px -22px rgba(215, 80, 109, .55) !important;
}
body.tormi ul.products li.product > .tm-card-brand {
	grid-area: brand;
	padding: 0 2px !important;
	margin-bottom: 4px;
	font-size: 11px;
	letter-spacing: .1em;
}
body.tormi ul.products li.product > .woocommerce-loop-product__title {
	grid-area: title;
	padding: 0 2px !important;
	margin: 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body.tormi ul.products li.product > .price {
	grid-area: price;
	margin: 0 !important;
	padding: 0 2px !important;
	display: flex !important;
	flex-direction: column;
	align-items: flex-end;
	gap: 0 !important;
	font-size: 16px !important;
	line-height: 1.3;
	white-space: nowrap;
	text-align: right !important;
}
body.tormi ul.products li.product > .price del { order: 2; font-size: 12px !important; }

/* Estado de stock como etiqueta sobre la foto (solo cuando quedan pocas o está agotado) */
body.tormi ul.products li.product > .tm-card-stock {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	margin: 0 !important;
	padding: 6px 10px;
	border-radius: 999px;
	background: #fff;
	font-size: 12px;
	box-shadow: 0 6px 14px -8px rgba(43, 29, 38, .45);
}
body.tormi ul.products li.product > .tm-card-stock:not(.is-low):not(.is-out) { display: none; }
body.tormi ul.products li.product > .tm-card-stock.is-out { background: var(--tm-ink); color: #fff; }
body.tormi ul.products li.product > .tm-card-stock.is-out::before { background: #fff; }
body.tormi ul.products li.product .ct-woo-badge-out-of-stock,
body.tormi ul.products li.product .out-of-stock-badge { display: none !important; }

/* Botón flotante sobre la foto */
body.tormi ul.products li.product > .ct-woo-card-actions {
	position: absolute !important;
	left: 0;
	right: 0;
	top: 0;
	aspect-ratio: 1 !important;
	display: flex !important;
	align-items: flex-end;
	justify-content: center;
	padding: 0 16px 18px !important;
	margin: 0 !important;
	pointer-events: none;
	box-sizing: border-box;
	z-index: 2;
	transition: transform .45s var(--tm-spring);
}
body.tormi ul.products li.product:hover > .ct-woo-card-actions { transform: translateY(-6px); }
body.tormi ul.products li.product > .ct-woo-card-actions .button {
	width: auto !important;
	min-width: 0;
	max-width: 100%;
	min-height: 44px !important;
	padding: 0 24px !important;
	font-size: 15px !important;
	pointer-events: auto;
	background: var(--tm-red-strong) !important;
	color: #fff !important;
	--fill: var(--tm-ink);
	box-shadow: 0 14px 26px -12px rgba(43, 29, 38, .55);
	opacity: 0 !important;
	transform: translateY(12px) !important;
	transition: opacity .3s ease, transform .45s var(--tm-spring), box-shadow .3s ease !important;
}
body.tormi ul.products li.product:hover > .ct-woo-card-actions .button,
body.tormi ul.products li.product > .ct-woo-card-actions .button:focus-visible,
body.tormi ul.products li.product > .ct-woo-card-actions .button.loading,
body.tormi ul.products li.product > .ct-woo-card-actions .button.added { opacity: 1 !important; transform: none !important; }
body.tormi ul.products li.product.outofstock > .ct-woo-card-actions .button,
body.tormi ul.products li.product > .ct-woo-card-actions .button:not(.ajax_add_to_cart) { background: #fff !important; color: var(--tm-ink) !important; --fill: var(--tm-ink); }
body.tormi ul.products li.product.outofstock > .ct-woo-card-actions .button:hover,
body.tormi ul.products li.product > .ct-woo-card-actions .button:not(.ajax_add_to_cart):hover { color: #fff !important; }

/* Pantallas táctiles: el botón va debajo, siempre visible */
@media (hover: none) {
	body.tormi ul.products li.product,
	.tm-band--red ul.products li.product { grid-template-areas: "fig fig" "brand brand" "title price" "btn btn"; }
	body.tormi ul.products li.product > .ct-woo-card-actions {
		grid-area: btn;
		position: static !important;
		aspect-ratio: auto !important;
		padding: 12px 0 0 !important;
		transform: none !important;
	}
	body.tormi ul.products li.product > .ct-woo-card-actions .button { width: 100% !important; opacity: 1 !important; transform: none !important; min-height: 42px !important; font-size: 14px !important; padding: 0 12px !important; }
	body.tormi ul.products li.product:hover > figure { transform: none; }
}
@media (max-width: 599px) {
	body.tormi ul.products li.product,
	.tm-band--red ul.products li.product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "fig" "brand" "title" "price" "btn"; }
	body.tormi ul.products li.product > .price { flex-direction: row; align-items: baseline; gap: 6px !important; margin-top: 4px !important; }
	body.tormi ul.products li.product > .woocommerce-loop-product__title { font-size: 14px !important; }
	body.tormi ul.products li.product > figure { border-radius: 20px !important; }
}

/* Sobre la banda roja: textos en blanco */
.tm-band--red ul.products li.product > .tm-card-brand { color: rgba(255, 255, 255, .78) !important; }
.tm-band--red ul.products li.product > .woocommerce-loop-product__title,
.tm-band--red ul.products li.product > .woocommerce-loop-product__title a { color: #fff !important; }
.tm-band--red ul.products li.product > .price,
.tm-band--red ul.products li.product > .price ins,
.tm-band--red ul.products li.product > .price .amount { color: #fff !important; }
.tm-band--red ul.products li.product > .price del,
.tm-band--red ul.products li.product > .price del .amount { color: rgba(255, 255, 255, .7) !important; }
.tm-band--red ul.products li.product:hover > figure { box-shadow: 0 0 0 3px #fff, 0 26px 44px -22px rgba(0, 0, 0, .6) !important; }
body.tormi ul.products li.product > .price .sale-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
body.tormi ul.products li.product > .price .sale-price del { order: 2; font-size: 12px; }
@media (max-width: 599px) { body.tormi ul.products li.product > .price .sale-price { flex-direction: row; align-items: baseline; gap: 6px; } }

/* =====================================================================
   ACTUALIZACIÓN 4
   ===================================================================== */

/* 3) Relleno de los botones: el círculo nace justo debajo del botón y lo cubre entero al pasar el mouse
   (antes una regla lo desplazaba y en los botones blancos el texto quedaba blanco sobre blanco) */
body.tormi .button::before,
body.tormi ul.products li.product .ct-woo-card-actions .button::before {
	inset: 100% auto auto 50% !important;
	width: max(170%, 140px) !important;
}

/* 4) Portada: tarjetas flotantes de productos más grandes */
.tm-hero__art { grid-template-columns: minmax(0, 1fr) clamp(150px, 15vw, 210px); column-gap: 26px; row-gap: 34px; }
.tm-float__card { border-radius: 30px; }
.tm-float__tag { max-width: 230px; padding: 10px 14px; }
.tm-float__tag b, .tm-float__tag i { font-size: 14px; }
@media (max-width: 899px) { .tm-hero__art { grid-template-columns: minmax(0, 1fr) clamp(130px, 22vw, 170px); } }
@media (max-width: 689px) { .tm-hero__art { grid-template-columns: minmax(0, 1fr) 120px; column-gap: 14px; row-gap: 20px; } .tm-float__card { border-radius: 22px; } }

/* =====================================================================
   PAGOS MANUALES: comprobante por WhatsApp
   ===================================================================== */
.tm-paynote {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #e9f8ef;
	border: 1px solid #bfe8cf;
	color: var(--tm-ink);
	font-size: 14px;
	line-height: 1.45;
}
.tm-paynote svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: #1f9d55; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.tm-paynote p { margin: 0; }

.tm-voucher {
	margin: 0 0 32px;
	padding: clamp(20px, 3vw, 30px);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 0 0 2px #bfe8cf, 0 22px 44px -28px rgba(31, 157, 85, .55);
}
.tm-voucher__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.tm-voucher__icon { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; background: #1f9d55; display: grid; place-items: center; }
.tm-voucher__icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.tormi .tm-voucher h2 { margin: 0 0 4px; font-size: clamp(22px, 2.6vw, 28px); }
.tm-voucher__head p { margin: 0; color: var(--tm-muted); }
.tm-voucher__steps { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: tmv; display: grid; gap: 10px; }
.tm-voucher__steps li { counter-increment: tmv; display: flex; gap: 12px; align-items: baseline; color: var(--tm-ink); }
.tm-voucher__steps li::before { content: counter(tmv); flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--tm-pink-soft); color: var(--tm-pink-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.tm-voucher__steps li b .amount, .tm-voucher__steps li b { color: var(--tm-ink); }
body.tormi .tm-btn--wa { background: #1f9d55; --fill: var(--tm-ink); color: #fff !important; gap: 10px; }
.tm-btn--wa svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-voucher__small { margin: 14px 0 0; font-size: 13px; color: var(--tm-muted); }
@media (max-width: 599px) { .tm-voucher .tm-btn--wa { width: 100%; } }
.tm-paynote--manual { display: none; margin: 0 0 16px; }
#payment:has(#payment_method_mi_clase_yape:checked) .tm-paynote--manual,
#payment:has(#payment_method_bacs:checked) .tm-paynote--manual { display: flex; }

/* Envío a provincia: agencia de recojo */
.tm-agency-field { display: none; }
body.tm-ship-agency .tm-agency-field { display: block; }
.tm-courier-info { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--tm-orange-soft); color: var(--tm-ink); line-height: 1.5; }

/* =====================================================================
   CELULAR: cuenta y carrito en el encabezado
   ===================================================================== */
#header [data-device="mobile"] .tm-acc-btn { margin-right: 4px; }
.tm-mcart {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-right: 6px;
	border-radius: 50%;
	color: var(--tm-ink) !important;
	text-decoration: none;
	transition: background-color .2s ease, transform .3s var(--tm-spring);
}
.tm-mcart:hover { background: var(--tm-pink-soft); }
.tm-mcart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tm-mcart .tm-drawer-count {
	position: absolute;
	top: 0;
	right: -2px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--tm-red-strong);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
	box-sizing: border-box;
}
/* El menú de la cuenta no se sale de la pantalla */
@media (max-width: 999px) {
	#header [data-device="mobile"] .tm-acc-btn__menu { position: fixed; top: 64px; right: 12px; left: auto; min-width: 220px; }
}

/* =====================================================================
   CUPÓN DE BIENVENIDA
   ===================================================================== */
.tm-welcome-coupon {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin: 0 0 24px;
	padding: 20px 24px;
	border-radius: 24px;
	background: linear-gradient(120deg, #f39a35, #f5516f);
	color: #fff;
	box-shadow: 0 18px 36px -24px rgba(215, 80, 109, .7);
}
.tm-welcome-coupon__text p { margin: 0; }
.tm-welcome-coupon__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.tm-welcome-coupon__title { font-family: var(--tm-font-display); font-weight: 600; font-size: clamp(22px, 3vw, 28px); line-height: 1.15; }
.tm-welcome-coupon__small { font-size: 13px; opacity: .9; }
body.tormi .tm-welcome-coupon__code {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 12px 22px;
	border: 2px dashed #fff;
	border-radius: 16px;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font: inherit;
	cursor: var(--tm-cursor-hover, pointer);
	transition: background-color .2s ease, transform .3s var(--tm-spring);
}
body.tormi .tm-welcome-coupon__code::before { display: none !important; }
body.tormi .tm-welcome-coupon__code:hover { background: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.tm-welcome-coupon__code b { font-family: var(--tm-font-display); font-weight: 600; font-size: 24px; letter-spacing: 1px; }
.tm-welcome-coupon__code small { font-size: 12px; font-weight: 700; opacity: .9; }
@media (max-width: 559px) { body.tormi .tm-welcome-coupon__code { width: 100%; } }
.tm-register-gift { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--tm-pink-soft); color: var(--tm-ink); font-size: 14px; }

/* =====================================================================
   ACTUALIZACIÓN 5 — Ventana emergente "¿Qué es una blind box?"
   ===================================================================== */
.tm-bbpop[hidden] { display: none !important; }
html.tm-bbpop-lock, html.tm-bbpop-lock body { overflow: hidden !important; }
.tm-bbpop {
	position: fixed; inset: 0; z-index: 100010;
	display: grid; place-items: center; padding: 16px;
	font-family: var(--tm-font-body); color: var(--tm-ink);
}
.tm-bbpop__backdrop {
	position: absolute; inset: 0;
	background: rgba(43, 29, 38, .62);
	-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
	opacity: 0; transition: opacity .35s ease;
}
.tm-bbpop__dialog {
	position: relative; width: min(780px, 100%);
	max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
	overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border-radius: 32px;
	box-shadow: 0 40px 90px -30px rgba(43, 29, 38, .7), 0 0 0 6px rgba(255, 255, 255, .25);
	opacity: 0; transform: translateY(40px) scale(.86);
	transition: opacity .3s ease, transform .6s var(--tm-spring);
}
.tm-bbpop.is-open .tm-bbpop__backdrop { opacity: 1; }
.tm-bbpop.is-open .tm-bbpop__dialog { opacity: 1; transform: none; }
.tm-bbpop.is-closing .tm-bbpop__dialog { transform: translateY(20px) scale(.94); transition-duration: .25s; }

/* Botón cerrar */
body.tormi .tm-bbpop__x {
	position: absolute; top: 14px; right: 14px; z-index: 3;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, .2); color: #fff;
	cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .35s var(--tm-spring);
}
body.tormi .tm-bbpop__x:hover, body.tormi .tm-bbpop__x:focus-visible { background: #fff; color: var(--tm-red-strong); transform: rotate(90deg); }

/* Cabecera roja con patrón */
.tm-bbpop__head {
	display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: end;
	padding: 30px 30px 0; background: #c20b0b; color: #fff;
}
.tm-bbpop__intro { padding: 0 44px 30px 0; align-self: center; }
.tm-bbpop__eyebrow {
	display: inline-block; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px;
	background: #ffd84d; color: var(--tm-ink);
	font: 800 14px/1 var(--tm-font-body); transform: rotate(-3deg);
}
body.tormi .tm-bbpop__title {
	margin: 0 0 10px; color: #fff;
	font: 700 clamp(28px, 4.6vw, 44px)/1.04 var(--tm-font-display); letter-spacing: -.01em;
	text-shadow: 0 3px 0 rgba(43, 29, 38, .25);
}
.tm-bbpop__lead { margin: 0; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, .96); font-weight: 600; }

/* Tormi asomándose de la caja */
.tm-bbpop__mascot { position: relative; align-self: end; transform-origin: 50% 100%; }
.tm-bbpop__mascot img { display: block; width: 100%; height: auto; }
.tm-bbpop__q {
	position: absolute; z-index: 1; display: grid; place-items: center;
	width: 34px; height: 34px; border-radius: 10px;
	background: #ffd84d; color: var(--tm-ink);
	font: 700 22px/1 var(--tm-font-display);
	box-shadow: 0 6px 0 rgba(43, 29, 38, .2);
	animation: tm-float 3.2s ease-in-out infinite;
}
.tm-bbpop__q--1 { top: 4px; left: -6px; --r: -14deg; }
.tm-bbpop__q--2 { top: 34px; right: -4px; --r: 12deg; width: 26px; height: 26px; font-size: 17px; animation-delay: -1.4s; }

/* Cuerpo */
.tm-bbpop__body { padding: 24px 30px 26px; }
.tm-bbpop__steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tm-bbpop__step {
	margin: 0; padding: 14px 12px 16px; border-radius: 22px;
	background: var(--tm-orange-soft); text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.tm-bbpop__img { position: relative; display: block; height: 100px; }
.tm-bbpop__img img { display: block; height: 100%; width: auto; }
.tm-bbpop__n {
	position: absolute; top: 0; left: -26px;
	width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
	background: var(--tm-red-strong); color: #fff; font: 700 16px/1 var(--tm-font-display);
}
.tm-bbpop__txt strong { display: block; font: 700 18px/1.15 var(--tm-font-display); margin-bottom: 4px; }
.tm-bbpop__txt span { display: block; font-size: 14px; line-height: 1.4; color: var(--tm-muted); }

/* Aviso importante */
.tm-bbpop__alert {
	display: flex; align-items: center; gap: 14px;
	padding: 14px 18px; border-radius: 20px;
	background: #fff4c7; box-shadow: inset 0 0 0 2px #f1c232;
}
.tm-bbpop__alert-ico {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--tm-red-strong); color: #fff; font: 700 24px/1 var(--tm-font-display);
}
.tm-bbpop__alert p { margin: 0; line-height: 1.4; }
.tm-bbpop__alert strong { display: block; font: 700 17px/1.2 var(--tm-font-display); margin-bottom: 2px; }
.tm-bbpop__alert span { font-size: 15px; }

/* Botones */
.tm-bbpop__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
body.tormi .tm-bbpop__actions .tm-btn { flex: 1 1 240px; cursor: pointer; text-align: center; }
.tm-bbpop__faq { margin: 14px 0 0; text-align: center; font-size: 14px; }
body.tormi .tm-bbpop__faq a { color: var(--tm-muted); text-decoration: underline; text-underline-offset: 3px; }
body.tormi .tm-bbpop__faq a:hover { color: var(--tm-red-strong); }

/* Animaciones al abrir */
@keyframes tm-bbpop-peek { from { transform: translateY(70%) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tm-bbpop-in { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
.tm-bbpop.is-open .tm-bbpop__mascot img { animation: tm-bbpop-peek .9s var(--tm-spring) .2s both; }
.tm-bbpop.is-open .tm-bbpop__mascot { animation: tm-shake 1s ease 1.3s 2; }
.tm-bbpop.is-open .tm-bbpop__eyebrow { animation: tm-wiggle .6s ease 1s 2; }
.tm-bbpop.is-open .tm-bbpop__step { animation: tm-bbpop-in .6s var(--tm-spring) both; animation-delay: calc(.25s + var(--i, 1) * .1s); }
.tm-bbpop.is-open .tm-bbpop__alert { animation: tm-bbpop-in .6s var(--tm-spring) .65s both; }
.tm-bbpop.is-open .tm-bbpop__alert-ico { animation: tm-bump .7s ease 1.5s 3; }

/* Celular */
@media (max-width: 640px) {
	.tm-bbpop { padding: 10px; }
	.tm-bbpop__dialog { border-radius: 26px; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
	body.tormi .tm-bbpop__x { top: 10px; right: 10px; width: 40px; height: 40px; }
	.tm-bbpop__head { grid-template-columns: 1fr 104px; gap: 8px; padding: 20px 16px 0 20px; }
	.tm-bbpop__mascot { order: 2; }
	.tm-bbpop__intro { order: 1; padding: 34px 0 20px; }
	.tm-bbpop__eyebrow { font-size: 13px; padding: 5px 12px; margin-bottom: 8px; }
	body.tormi .tm-bbpop__title { font-size: 27px; }
	.tm-bbpop__lead { font-size: 15px; }
	.tm-bbpop__q--1 { top: -6px; left: -2px; width: 28px; height: 28px; font-size: 18px; }
	.tm-bbpop__q--2 { display: none; }
	.tm-bbpop__body { padding: 16px 16px 18px; }
	.tm-bbpop__steps { grid-template-columns: 1fr; gap: 8px; margin-bottom: 14px; }
	.tm-bbpop__step { flex-direction: row; text-align: left; gap: 14px; padding: 8px 14px 8px 10px; border-radius: 18px; }
	.tm-bbpop__img { flex: 0 0 auto; height: 62px; width: 56px; }
	.tm-bbpop__img img { margin: 0 auto; }
	.tm-bbpop__n { left: -4px; top: -2px; width: 22px; height: 22px; font-size: 13px; }
	.tm-bbpop__txt strong { font-size: 16px; margin-bottom: 1px; }
	.tm-bbpop__txt span { font-size: 13.5px; }
	.tm-bbpop__alert { padding: 12px 14px; gap: 12px; }
	.tm-bbpop__alert-ico { width: 34px; height: 34px; font-size: 20px; }
	.tm-bbpop__alert strong { font-size: 15.5px; }
	.tm-bbpop__alert span { font-size: 14px; }
	.tm-bbpop__actions { flex-direction: column; gap: 10px; margin-top: 16px; }
	body.tormi .tm-bbpop__actions .tm-btn { flex: 0 0 auto; width: 100%; min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
	.tm-bbpop__dialog, .tm-bbpop__backdrop { transition: opacity .2s ease; transform: none !important; }
	.tm-bbpop *, .tm-bbpop.is-open * { animation: none !important; }
}

/* Con la ventana abierta, el botón de WhatsApp no tapa los textos */
html.tm-bbpop-lock .qlwapp { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* =====================================================================
   ACTUALIZACIÓN 6 — Videos TikTok: si TikTok no responde tras los reintentos
   ===================================================================== */
.tm-vcard__media.is-failed { cursor: pointer; }
.tm-vcard__media.is-failed .tm-vcard__sound { display: none; }
.tm-vcard__media.is-failed::after {
	content: "▶  Ver en TikTok"; position: absolute; left: 50%; bottom: 18px; z-index: 2;
	transform: translateX(-50%); white-space: nowrap; padding: 10px 18px; border-radius: 999px;
	background: var(--tm-ink); color: #fff; font: 800 14px/1 var(--tm-font-body);
	box-shadow: 0 10px 24px -12px rgba(43, 29, 38, .7);
}

/* =====================================================================
   ACTUALIZACIÓN 7 — Sets completos y seguimiento del pedido
   ===================================================================== */

/* Selector "1 caja sorpresa / Set completo" */
.tm-pres { margin: 6px 0 18px; }
.tm-pres__label { margin: 0 0 10px; font: 700 16px/1.2 var(--tm-font-display); color: var(--tm-ink); }
.tm-pres__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.tormi .tm-pres__opt {
	position: relative; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center;
	margin: 0; padding: 14px 14px 14px 12px; border-radius: 20px; cursor: pointer;
	background: #fff; box-shadow: inset 0 0 0 2px var(--tm-line);
	transition: box-shadow .2s ease, transform .35s var(--tm-spring), background-color .2s ease;
}
.tm-pres__opt input { position: absolute; opacity: 0; pointer-events: none; }
.tm-pres__ico { grid-row: 1 / 3; width: 40px; height: 40px; color: var(--tm-ink); }
.tm-pres__ico svg { width: 100%; height: 100%; display: block; }
.tm-pres__txt { min-width: 0; }
.tm-pres__txt b { display: block; font: 700 16px/1.15 var(--tm-font-display); color: var(--tm-ink); }
.tm-pres__txt small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: var(--tm-muted); }
.tm-pres__price { grid-column: 2; font-weight: 800; color: var(--tm-red-strong); font-size: 15px; }
.tm-pres__price del { color: var(--tm-muted); font-weight: 600; margin-right: 4px; }
.tm-pres__price ins { text-decoration: none; }
body.tormi .tm-pres__opt:hover:not(.is-out) { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--tm-ink); }
body.tormi .tm-pres__opt.is-on { background: #fff8ef; box-shadow: inset 0 0 0 3px var(--tm-red-strong), 0 10px 22px -16px rgba(204, 10, 10, .7); }
body.tormi .tm-pres__opt.is-on::after {
	content: ""; position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
	background: var(--tm-red-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.tm-pres__opt:focus-within { outline: 3px solid rgba(204, 10, 10, .35); outline-offset: 2px; }
body.tormi .tm-pres__opt.is-out { cursor: not-allowed; background: #f6f1f3; box-shadow: inset 0 0 0 2px var(--tm-line); }
.tm-pres__opt.is-out .tm-pres__ico, .tm-pres__opt.is-out .tm-pres__txt { opacity: .45; }
.tm-pres__opt.is-out .tm-pres__txt b { text-decoration: line-through; text-decoration-thickness: 2px; }
.tm-pres__tag {
	grid-column: 2; justify-self: start; margin-top: 4px; padding: 4px 10px; border-radius: 999px;
	background: var(--tm-ink); color: #fff; font: 800 12px/1 var(--tm-font-body);
}
/* El desplegable de WooCommerce queda oculto: se elige con las tarjetas. */
.tm-pres + form.variations_form table.variations { display: none !important; }
.tm-pres + form.variations_form .reset_variations { display: none !important; }
@media (max-width: 480px) {
	.tm-pres__opts { grid-template-columns: 1fr; gap: 10px; }
}

/* Etiqueta del set en las tarjetas del catálogo */
.tm-card-set {
	display: inline-block; margin: 4px 0 0 6px; padding: 3px 9px; border-radius: 999px;
	background: var(--tm-line); color: var(--tm-muted); font: 800 11.5px/1.2 var(--tm-font-body);
}
.tm-card-set.is-on { background: #fff4c7; color: var(--tm-orange-ink); }

/* Estados nuevos del pedido */
.tm-status--tm-preparing { background: #fff4c7; color: #7a5a00; }
.tm-status--tm-shipped { background: #e4f3ff; color: #134e7c; }
.tm-status-note { display: block; margin-top: 4px; font-size: 12.5px; color: var(--tm-muted); line-height: 1.3; }

/* Línea de progreso del pedido (Mi cuenta → Ver pedido) */
.tm-track { margin: 0 0 28px; padding: 22px 20px 18px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--tm-line); }
.tm-track__steps { position: relative; list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.tm-track__steps::before, .tm-track__steps::after {
	content: ""; position: absolute; top: 21px; left: 10%; height: 4px; border-radius: 4px;
}
.tm-track__steps::before { right: 10%; background: var(--tm-line); }
.tm-track__steps::after { width: calc(80% * var(--p, 0)); background: var(--tm-red-strong); }
.tm-track__steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; text-align: center; }
.tm-track__dot {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: #fff; box-shadow: inset 0 0 0 3px var(--tm-line); color: var(--tm-muted);
}
.tm-track__dot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-track__label { font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--tm-muted); max-width: 120px; }
.tm-track__steps li.is-done .tm-track__dot { background: var(--tm-red-strong); box-shadow: none; color: #fff; }
.tm-track__steps li.is-now .tm-track__dot { background: #ffd84d; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--tm-red-strong); color: var(--tm-ink); }
.tm-track__steps li.is-now .tm-track__label { color: var(--tm-ink); font-weight: 800; }
.tm-track__steps li.is-done .tm-track__label { color: var(--tm-ink); }
.tm-track__now { padding: 12px 16px; border-radius: 16px; background: #fff8ef; font-size: 15px; text-align: center; }
.tm-track__now b { font-family: var(--tm-font-display); font-weight: 600; font-size: 17px; }
.tm-track__now span { color: var(--tm-muted); }
.tm-track__ship { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--tm-ink); }
.tm-track--off { text-align: center; background: var(--tm-pink-soft); }
.tm-track--off p { margin: 0; }
@media (max-width: 600px) {
	.tm-track { padding: 18px 16px; }
	.tm-track__steps { grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
	.tm-track__steps::before, .tm-track__steps::after { top: 23px; bottom: 23px; left: 21px; width: 4px; height: auto; right: auto; }
	.tm-track__steps::after { height: calc((100% - 46px) * var(--p, 0)); bottom: auto; }
	.tm-track__steps li { flex-direction: row; text-align: left; gap: 14px; }
	.tm-track__label { max-width: none; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	body.tormi .tm-pres__opt { transition: none; }
}

/* Selector: se apilan cuando la columna es angosta */
.tm-pres__opts { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
body.tormi .tm-pres__opt { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "ico txt price" "ico tag tag"; }
.tm-pres__ico { grid-area: ico; }
.tm-pres__txt { grid-area: txt; }
.tm-pres__price { grid-area: price; align-self: start; text-align: right; white-space: nowrap; padding-top: 1px; }
.tm-pres__price del { display: block; margin: 0; font-size: 12.5px; }
.tm-pres__tag { grid-area: tag; }
.tm-card-set { width: fit-content; }

/* Avisos del checkout: el texto va dentro de enlaces y Blocksy los pintaba de blanco */
body.tormi .woocommerce-error a:not(.button), body.tormi .woocommerce-info a:not(.button), body.tormi .woocommerce-message a:not(.button) { color: var(--tm-ink) !important; text-decoration: none; }
body.tormi .woocommerce-error a:not(.button):hover { text-decoration: underline; text-underline-offset: 3px; }
body.tormi .woocommerce-error strong { color: var(--tm-red-strong); }
body.tormi .woocommerce-error li + li { margin-top: 4px; }

/* Pedido recibido: aviso de seguimiento */
.tm-thanks > div { flex: 1 1 300px; min-width: 0; }
.tm-thanks__track { margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.tm-thanks__track p { margin: 0; flex: 1 1 260px; color: var(--tm-ink); line-height: 1.45; }
body.tormi .tm-thanks__track .tm-btn { flex: 0 0 auto; min-height: 48px; padding: 0 24px; font-size: 15px; }
@media (max-width: 600px) { body.tormi .tm-thanks__track .tm-btn { width: 100%; } }

/* Nota bajo Olva/Shalom: el envío se paga al recoger */
.tm-rate-note { display: block; margin: 4px 0 2px 26px; font-size: 12.5px; line-height: 1.35; color: var(--tm-muted); }
.tm-rate-note b { color: var(--tm-ink); font-weight: 800; }
.tm-rate-note .amount { font-weight: 700; color: var(--tm-ink); }

/* =====================================================================
   ACTUALIZACIÓN 8 — Celular y tablet: buscador, menú lateral y botones en bandas
   ===================================================================== */

/* ---------- Buscador (ventana de Blocksy + Ajax Search Lite) ---------- */
#search-modal.tm-search {
	background: rgba(43, 29, 38, .55) !important;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	align-items: flex-start !important;
}
#search-modal.tm-search .ct-panel-actions {
	position: absolute !important; top: 14px; right: 14px; z-index: 3; padding: 0 !important; margin: 0 !important;
}
#search-modal.tm-search .ct-toggle-close {
	width: 42px !important; height: 42px !important; border-radius: 50% !important;
	background: var(--tm-bg-soft) !important; color: var(--tm-ink) !important; --theme-icon-color: var(--tm-ink);
	display: grid !important; place-items: center; transition: transform .35s var(--tm-spring), background-color .2s ease;
}
#search-modal.tm-search .ct-toggle-close:hover { background: var(--tm-pink-soft) !important; transform: rotate(90deg); }
#search-modal.tm-search .ct-toggle-close svg { fill: currentColor !important; width: 14px; height: 14px; }
#search-modal.tm-search .ct-panel-content {
	position: relative; display: block !important; flex: 0 0 auto !important;
	width: 100% !important; max-width: 720px; height: auto !important; min-height: 0 !important;
	margin: 0 auto !important; padding: 26px 20px 22px !important;
	background: #fff; border-radius: 0 0 30px 30px;
	box-shadow: 0 30px 60px -30px rgba(43, 29, 38, .6);
	overflow: hidden; box-sizing: border-box;
	transform: translateY(-24px); opacity: 0;
	transition: transform .5s var(--tm-spring), opacity .3s ease;
}
#search-modal.tm-search.active .ct-panel-content { transform: none; opacity: 1; }
.tm-sx-head { padding-right: 52px; margin-bottom: 14px; }
.tm-sx-title { margin: 0; font: 700 26px/1.1 var(--tm-font-display); color: var(--tm-ink); }
.tm-sx-sub { margin: 4px 0 0; font-size: 14px; color: var(--tm-muted); }
/* Caja de búsqueda en forma de píldora */
#search-modal.tm-search .asl_w_container { width: 100% !important; margin: 0 !important; }
#search-modal.tm-search div.asl_w { width: 100% !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 999px !important; }
#search-modal.tm-search div.asl_w .probox {
	height: 56px !important; padding: 5px !important; border-radius: 999px !important;
	background: var(--tm-bg-soft) !important; border: 2px solid var(--tm-line) !important; box-shadow: none !important;
	transition: border-color .2s ease, background-color .2s ease;
}
#search-modal.tm-search div.asl_w .probox:focus-within { border-color: var(--tm-red-strong) !important; background: #fff !important; }
#search-modal.tm-search div.asl_w .probox .proinput { margin: 0 6px 0 14px !important; }
#search-modal.tm-search div.asl_w .probox .proinput input.orig,
#search-modal.tm-search div.asl_w .probox .proinput input.autocomplete {
	height: 42px !important; line-height: 42px !important; padding: 0 !important;
	font: 600 16px/42px var(--tm-font-body) !important; color: var(--tm-ink) !important;
}
#search-modal.tm-search div.asl_w .probox .proinput input.orig::placeholder { color: var(--tm-muted) !important; opacity: 1; }
#search-modal.tm-search div.asl_w .probox .promagnifier {
	width: 46px !important; height: 46px !important; min-width: 46px; border-radius: 50% !important;
	background: var(--tm-red-strong) !important; box-shadow: 0 8px 18px -10px rgba(204, 10, 10, .8) !important; border: 0 !important;
}
#search-modal.tm-search div.asl_w .probox .promagnifier .innericon { display: grid !important; place-items: center; width: 100% !important; height: 100% !important; }
#search-modal.tm-search div.asl_w .probox .promagnifier .innericon svg { fill: #fff !important; width: 20px !important; height: 20px !important; }
#search-modal.tm-search div.asl_w .probox .proclose svg { background: var(--tm-ink) !important; border-radius: 50% !important; }
#search-modal.tm-search div.asl_w .probox .proloading { --asl-c: var(--tm-red-strong); }
/* Resultados */
div.asl_r.asl_w { z-index: 100050 !important; border-radius: 20px !important; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(43, 29, 38, .55) !important; border: 0 !important; background: #fff !important; }
div.asl_r.asl_w .results .item { padding: 10px 12px !important; border-bottom: 1px solid var(--tm-line) !important; }
div.asl_r.asl_w .results .item .asl_content h3,
div.asl_r.asl_w .results .item .asl_content h3 a { font: 700 15px/1.3 var(--tm-font-display) !important; color: var(--tm-ink) !important; }
div.asl_r.asl_w .results .item .asl_image { border-radius: 12px !important; }
div.asl_r.asl_w .results .item:hover { background: var(--tm-orange-soft) !important; }
/* Atajos */
.tm-sx-foot { position: relative; margin-top: 18px; padding-right: 96px; min-height: 96px; }
.tm-sx-label { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tm-muted); }
.tm-sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.tormi .tm-sx-chip {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
	background: var(--tm-orange-soft); color: var(--tm-orange-ink) !important; font-weight: 800; font-size: 13.5px; text-decoration: none !important;
	transition: transform .3s var(--tm-spring), background-color .2s ease, color .2s ease;
}
body.tormi .tm-sx-chip:hover { background: var(--tm-red-strong); color: #fff !important; transform: translateY(-2px); }
body.tormi .tm-sx-chip--all { background: var(--tm-ink); color: #fff !important; }
.tm-sx-tormi { position: absolute; right: -8px; bottom: -26px; width: 104px; height: auto; pointer-events: none; transform: rotate(6deg); }

/* ---------- Menú lateral ---------- */
#offcanvas.tm-menu { background: rgba(43, 29, 38, .5) !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
#offcanvas.tm-menu .ct-panel-inner {
	background: #fff !important; box-shadow: -24px 0 60px -30px rgba(43, 29, 38, .6) !important;
	border-radius: 30px 0 0 30px; overflow: hidden;
	width: min(380px, 88vw) !important; max-width: 88vw !important;
}
#offcanvas.tm-menu .ct-panel-actions { position: absolute !important; top: 14px; right: 14px; z-index: 5; padding: 0 !important; }
#offcanvas.tm-menu .ct-toggle-close {
	width: 40px !important; height: 40px !important; border-radius: 50% !important;
	background: rgba(255, 255, 255, .85) !important; color: var(--tm-ink) !important; --theme-icon-color: var(--tm-ink);
	display: grid !important; place-items: center; transition: transform .35s var(--tm-spring);
}
#offcanvas.tm-menu .ct-toggle-close:hover { transform: rotate(90deg); }
#offcanvas.tm-menu .ct-toggle-close svg { fill: currentColor !important; width: 13px; height: 13px; }
#offcanvas.tm-menu .ct-panel-content { padding: 0 !important; }
#offcanvas.tm-menu .ct-panel-content-inner { display: flex; flex-direction: column; min-height: 100%; padding: 0 !important; gap: 0 !important; }
/* Cabecera caramelo con huellitas */
.tm-mm-head { position: relative; padding: 22px 20px 20px; border-radius: 0 0 28px 28px; background: #de993e; min-height: 132px; box-sizing: border-box; }
.tm-mm-logo img { display: block; width: 104px; height: auto; filter: drop-shadow(0 3px 0 rgba(43, 29, 38, .15)); }
.tm-mm-hello { margin: 10px 0 0; max-width: 60%; font: 700 19px/1.15 var(--tm-font-display); color: var(--tm-ink); }
.tm-mm-tormi { position: absolute; right: 8px; bottom: -6px; width: 96px; height: auto; pointer-events: none; }
/* Opciones como tarjetas */
#offcanvas.tm-menu .mobile-menu { padding: 16px 16px 8px !important; margin: 0 !important; }
#offcanvas.tm-menu .mobile-menu > ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
#offcanvas.tm-menu .mobile-menu > ul > li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
#offcanvas.tm-menu .mobile-menu > ul > li > a,
#offcanvas.tm-menu .mobile-menu > ul > li > .ct-sub-menu-parent {
	display: flex !important; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px !important;
	border-radius: 18px; background: var(--tm-bg-soft);
	font: 700 17px/1.2 var(--tm-font-display) !important; color: var(--tm-ink) !important; text-decoration: none;
	transition: background-color .2s ease, transform .3s var(--tm-spring);
}
#offcanvas.tm-menu .mobile-menu > ul > li > .ct-sub-menu-parent > a { display: flex !important; align-items: center; gap: 12px; flex: 1; padding: 0 !important; color: var(--tm-ink) !important; font: inherit !important; }
#offcanvas.tm-menu .mobile-menu > ul > li > a:hover,
#offcanvas.tm-menu .mobile-menu > ul > li > .ct-sub-menu-parent:hover { background: var(--tm-orange-soft); transform: translateX(-3px); }
#offcanvas.tm-menu .mobile-menu > ul > li.current-menu-item > a { background: var(--tm-red-strong); color: #fff !important; }
.tm-mm-ico { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: #fff; color: var(--tm-red-strong); }
.tm-mm-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#offcanvas.tm-menu li.current-menu-item > a .tm-mm-ico { background: rgba(255, 255, 255, .2); color: #fff; }
#offcanvas.tm-menu .ct-toggle-dropdown-mobile { width: 34px !important; height: 34px !important; border-radius: 50% !important; background: #fff !important; color: var(--tm-ink) !important; --theme-icon-color: var(--tm-ink); }
#offcanvas.tm-menu .ct-toggle-dropdown-mobile svg { fill: currentColor !important; }
/* Submenú (Marcas) como chips */
#offcanvas.tm-menu .mobile-menu .sub-menu { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 4px 4px !important; margin: 0 !important; }
#offcanvas.tm-menu .mobile-menu .sub-menu li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
#offcanvas.tm-menu .mobile-menu .sub-menu a {
	display: inline-flex !important; align-items: center; min-height: 36px; padding: 0 14px !important; border-radius: 999px;
	background: var(--tm-orange-soft); color: var(--tm-orange-ink) !important; font: 800 14px/1 var(--tm-font-body) !important;
}
#offcanvas.tm-menu .mobile-menu .sub-menu a:hover { background: var(--tm-red-strong); color: #fff !important; }
/* Entrada escalonada */
@keyframes tm-mm-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
#offcanvas.tm-menu.active .mobile-menu > ul > li { animation: tm-mm-in .5s var(--tm-spring) both; animation-delay: calc(.08s + var(--i, 0) * .05s); }
/* Pie: cuenta, carrito y WhatsApp */
.tm-mm-foot { margin-top: auto; padding: 8px 16px 22px; }
.tm-mm-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
body.tormi .tm-mm-q {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; border-radius: 18px;
	background: #fff; box-shadow: inset 0 0 0 2px var(--tm-line); color: var(--tm-ink) !important; font-weight: 800; font-size: 14px; text-decoration: none !important;
}
.tm-mm-q svg { width: 24px; height: 24px; fill: none; stroke: var(--tm-red-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm-mm-q b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: var(--tm-red-strong); color: #fff; font-size: 12px; }
body.tormi .tm-mm-wa {
	display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 999px;
	background: #1f9d55; color: #fff !important; font-weight: 800; font-size: 15px; text-decoration: none !important;
	box-shadow: 0 12px 24px -14px rgba(31, 157, 85, .9);
}
.tm-mm-wa svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) {
	#offcanvas.tm-menu.active .mobile-menu > ul > li { animation: none; }
	#search-modal.tm-search .ct-panel-content { transition: none; transform: none; opacity: 1; }
}

/* ---------- Botón de las tarjetas sobre bandas de color (táctil) ---------- */
@media (hover: none), (max-width: 1024px) {
	body.tormi .tm-band ul.products li.product > .ct-woo-card-actions .button {
		background: #fff !important; color: var(--tm-ink) !important; --fill: var(--tm-orange);
		box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .55) !important;
	}
	body.tormi .tm-band ul.products li.product > .ct-woo-card-actions .button:hover,
	body.tormi .tm-band ul.products li.product > .ct-woo-card-actions .button:active { color: var(--tm-ink) !important; }
	body.tormi .tm-band ul.products li.product > .ct-woo-card-actions .button.added { background: #ffd84d !important; }
}
/* Etiquetas sobre la foto más chicas en celular, para no tapar el producto */
@media (max-width: 599px) {
	body.tormi ul.products li.product > .tm-card-stock { top: 8px; right: 8px; padding: 4px 8px; font-size: 10.5px; line-height: 1.2; max-width: calc(100% - 16px); white-space: nowrap; }
	body.tormi ul.products li.product .onsale { top: 8px !important; left: 8px !important; min-height: 0 !important; padding: 4px 9px !important; font-size: 11px !important; }
}
#offcanvas.tm-menu .ct-panel-content-inner > * { align-self: stretch; width: auto; }
.tm-mm-head { z-index: 0; }
.tm-mm-tormi { z-index: 1; }
#offcanvas.tm-menu .ct-panel-content-inner > * { flex-shrink: 0; }
.tm-mm-hello { max-width: 52%; }
.tm-mm-tormi { right: 58px; width: 86px; }
/* Con el menú o el buscador abiertos, el botón de WhatsApp no tapa nada */
html:has(#offcanvas.active) .qlwapp, html:has(#search-modal.active) .qlwapp { visibility: hidden !important; opacity: 0 !important; }

/* Menú móvil: Marcas se abre/cierra con su botón (las chips solo se ven abiertas) */
#offcanvas.tm-menu .mobile-menu li:has(> .ct-sub-menu-parent > .ct-toggle-dropdown-mobile[aria-expanded="false"]) > .sub-menu { display: none !important; }
#offcanvas.tm-menu .ct-toggle-dropdown-mobile svg { transition: transform .3s var(--tm-spring); }
#offcanvas.tm-menu .ct-toggle-dropdown-mobile[aria-expanded="true"] svg { transform: rotate(180deg); }

/* =====================================================================
   ACTUALIZACIÓN 9 — Libro de Reclamaciones (plugin Edroz) con estilo Tormi
   ===================================================================== */
body.tormi .edroz-lr-box { max-width: 920px; margin: 0 auto; font-family: var(--tm-font-body); color: var(--tm-ink); background: transparent !important; box-shadow: none !important; padding: 0 !important; }
body.tormi .edroz-lr-box * { box-sizing: border-box; }
/* Cabecera */
body.tormi .edroz-lr-hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid !important; grid-template-columns: minmax(0, 1fr) 170px; align-items: end; gap: 12px;
	padding: 28px 28px 0 !important; margin: 0 0 18px !important; border-radius: 32px !important;
	background: #de993e !important; color: var(--tm-ink) !important; box-shadow: 0 24px 48px -32px rgba(43, 29, 38, .6) !important; border: 0 !important;
}
body.tormi .edroz-lr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--tm-pattern); background-size: 190px 190px; }
body.tormi .edroz-lr-hero-copy { order: 1; padding-bottom: 28px; min-width: 0; }
body.tormi .edroz-lr-hero-art {
	order: 2; display: block !important; align-self: end; width: 170px !important; height: 210px !important; margin: 0 !important;
	background: url("../img/tormi-tabla.webp") center bottom / contain no-repeat !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
}
body.tormi .edroz-lr-hero-art::before, body.tormi .edroz-lr-hero-art::after { display: none !important; }
body.tormi .edroz-lr-company-logo { display: none !important; }
body.tormi .edroz-lr-eyebrow { display: inline-block; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--tm-red-strong) !important; font: 800 12px/1 var(--tm-font-body) !important; letter-spacing: .08em; }
body.tormi .edroz-lr-hero h2 { margin: 0 0 8px !important; font: 700 clamp(28px, 4vw, 40px)/1.05 var(--tm-font-display) !important; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-hero p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.5; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
body.tormi .edroz-lr-hero-pills span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--tm-ink) !important; font-size: 13px; font-weight: 800; border: 0 !important; }
/* Aviso legal */
body.tormi .edroz-lr-legal-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px !important; padding: 14px 18px !important; border-radius: 20px !important; background: #fff4c7 !important; border: 0 !important; box-shadow: inset 0 0 0 2px #f1c232 !important; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-legal-note p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-note-icon { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tm-red-strong) !important; color: #fff !important; font: 700 16px/1 var(--tm-font-display); }
/* Tarjetas de secciones */
body.tormi .edroz-lr-section-card { margin: 0 0 16px !important; padding: 22px !important; border-radius: 26px !important; background: #fff !important; border: 0 !important; box-shadow: 0 0 0 1px var(--tm-line), 0 18px 36px -30px rgba(43, 29, 38, .45) !important; }
body.tormi .edroz-lr-section-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px !important; }
body.tormi .edroz-lr-section-icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px !important; background: var(--tm-red-strong) !important; color: #fff !important; font: 700 16px/1 var(--tm-font-display) !important; }
body.tormi .edroz-lr-section-head h3 { margin: 0 !important; font: 700 20px/1.15 var(--tm-font-display) !important; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-section-head p { margin: 2px 0 0 !important; font-size: 14px; color: var(--tm-muted) !important; }
body.tormi .edroz-lr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px !important; }
body.tormi .edroz-lr-grid .edroz-lr-full { grid-column: 1 / -1; }
body.tormi .edroz-lr-grid label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13.5px; font-weight: 800; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-grid label > span { font-weight: 600; color: var(--tm-muted); }
body.tormi .edroz-lr-grid input:not([type="file"]),
body.tormi .edroz-lr-grid select,
body.tormi .edroz-lr-grid textarea {
	width: 100% !important; min-height: 48px; padding: 10px 14px !important; border-radius: 14px !important;
	background: var(--tm-bg-soft) !important; border: 2px solid var(--tm-line) !important; box-shadow: none !important;
	font: 600 15px/1.4 var(--tm-font-body) !important; color: var(--tm-ink) !important; transition: border-color .2s ease, background-color .2s ease;
}
body.tormi .edroz-lr-grid textarea { min-height: 110px; resize: vertical; }
body.tormi .edroz-lr-grid input:focus, body.tormi .edroz-lr-grid select:focus, body.tormi .edroz-lr-grid textarea:focus { outline: 0 !important; border-color: var(--tm-red-strong) !important; background: #fff !important; }
body.tormi .edroz-lr-file-field input[type="file"] { padding: 12px; border-radius: 14px; border: 2px dashed var(--tm-line); background: #fff; font-size: 14px; }
/* Declaración y botón */
body.tormi .edroz-lr-consent { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px !important; padding: 16px 18px !important; border-radius: 20px !important; background: var(--tm-orange-soft) !important; border: 0 !important; color: var(--tm-ink) !important; font-size: 14.5px; line-height: 1.45; }
body.tormi .edroz-lr-consent input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--tm-red-strong); }
body.tormi .edroz-lr-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 26px; }
body.tormi .edroz-lr-submit-row button {
	position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
	min-height: 56px; padding: 0 30px !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
	background: var(--tm-red-strong) !important; color: #fff !important; font: 800 16px/1 var(--tm-font-body) !important;
	box-shadow: 0 14px 28px -14px rgba(204, 10, 10, .7) !important; transition: transform .35s var(--tm-spring);
}
body.tormi .edroz-lr-submit-row button::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 170%; aspect-ratio: 1; border-radius: 50%; background: var(--tm-ink); transform: translate(-50%, 0) scale(.15); transition: transform .6s var(--tm-smooth); }
body.tormi .edroz-lr-submit-row button:hover { transform: translateY(-3px); }
body.tormi .edroz-lr-submit-row button:hover::before { transform: translate(-50%, -58%) scale(1); }
body.tormi .edroz-lr-submit-row button b { font-weight: 800; }
body.tormi .edroz-lr-submit-row small { font-size: 13.5px; color: var(--tm-muted); }
/* Consultar estado */
body.tormi .edroz-lr-track-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 20px !important; border-radius: 24px !important; background: #fff !important; border: 0 !important; box-shadow: 0 0 0 1px var(--tm-line) !important; }
body.tormi .edroz-lr-track-art { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--tm-orange-soft) !important; color: var(--tm-orange-ink) !important; font-size: 24px; }
body.tormi .edroz-lr-track-teaser > div:nth-child(2) { flex: 1 1 260px; }
body.tormi .edroz-lr-track-teaser p { margin: 2px 0 0; font-size: 14px; color: var(--tm-muted); }
body.tormi .edroz-lr-track-teaser a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--tm-ink) !important; color: #fff !important; font-weight: 800; text-decoration: none !important; }
/* Celular y tablet */
@media (max-width: 860px) {
	body.tormi .edroz-lr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	body.tormi .edroz-lr-hero { grid-template-columns: minmax(0, 1fr) 96px; padding: 22px 18px 0 !important; border-radius: 26px !important; }
	body.tormi .edroz-lr-hero-copy { padding-bottom: 20px; }
	body.tormi .edroz-lr-hero-art { width: 96px !important; height: 130px !important; }
	body.tormi .edroz-lr-hero p { font-size: 14px; }
	body.tormi .edroz-lr-section-card { padding: 18px 16px !important; border-radius: 22px !important; }
	body.tormi .edroz-lr-grid { grid-template-columns: 1fr; }
	body.tormi .edroz-lr-submit-row button { width: 100%; justify-content: center; }
	body.tormi .edroz-lr-track-teaser a { width: 100%; justify-content: center; }
}
body.tormi .edroz-lr-hero::after, body.tormi .edroz-lr-hero-copy::before, body.tormi .edroz-lr-hero-copy::after { display: none !important; }
body.tormi .edroz-lr-hero-art > * { display: none !important; }

/* Libro de reclamaciones · página "Consultar estado" con colores de Tormi */
body.tormi .edroz-lr-status-page { max-width: 920px; margin: 0 auto; border-radius: 30px !important; overflow: hidden; background: #fff !important; border: 0 !important; box-shadow: 0 0 0 1px var(--tm-line), 0 24px 48px -32px rgba(43, 29, 38, .5) !important; }
body.tormi .edroz-lr-status-hero {
	position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 18px;
	padding: 28px 28px !important; background: #de993e !important; color: var(--tm-ink) !important; border: 0 !important;
}
body.tormi .edroz-lr-status-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--tm-pattern); background-size: 190px 190px; }
body.tormi .edroz-lr-status-hero::after { content: ""; flex: 0 0 auto; order: 3; width: 92px; height: 112px; margin: -10px 0 -28px auto; background: url("../img/tormi-piensa.webp") center bottom / contain no-repeat; }
body.tormi .edroz-lr-status-icon { flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px !important; background: var(--tm-red-strong) !important; color: #fff !important; font-size: 26px; box-shadow: 0 10px 22px -12px rgba(204, 10, 10, .8) !important; }
body.tormi .edroz-lr-status-hero h2 { margin: 0 0 6px !important; font: 700 clamp(24px, 3.4vw, 32px)/1.1 var(--tm-font-display) !important; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-status-hero p { margin: 0 !important; font-size: 15px; line-height: 1.45; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-status-body { padding: 24px 28px 26px !important; background: #fff !important; }
body.tormi .edroz-lr-status-form { display: grid !important; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
body.tormi .edroz-lr-status-form label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13.5px; font-weight: 800; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-status-form input {
	width: 100% !important; min-height: 50px; padding: 10px 16px !important; border-radius: 14px !important;
	background: var(--tm-bg-soft) !important; border: 2px solid var(--tm-line) !important; box-shadow: none !important;
	font: 600 15px/1.4 var(--tm-font-body) !important; color: var(--tm-ink) !important;
}
body.tormi .edroz-lr-status-form input:focus { outline: 0 !important; border-color: var(--tm-red-strong) !important; background: #fff !important; }
body.tormi .edroz-lr-status-form button {
	position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 26px !important; border: 0 !important; border-radius: 999px !important; cursor: pointer; white-space: nowrap;
	background: var(--tm-red-strong) !important; color: #fff !important; font: 800 15px/1 var(--tm-font-body) !important;
	box-shadow: 0 12px 24px -14px rgba(204, 10, 10, .7) !important; transition: transform .35s var(--tm-spring);
}
body.tormi .edroz-lr-status-form button::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 170%; aspect-ratio: 1; border-radius: 50%; background: var(--tm-ink); transform: translate(-50%, 0) scale(.15); transition: transform .6s var(--tm-smooth); }
body.tormi .edroz-lr-status-form button:hover { transform: translateY(-2px); }
body.tormi .edroz-lr-status-form button:hover::before { transform: translate(-50%, -58%) scale(1); }
body.tormi .edroz-lr-back-link { display: inline-flex; margin-top: 16px; color: var(--tm-red-strong) !important; font-weight: 800; font-size: 14px; text-decoration: none !important; }
body.tormi .edroz-lr-back-link:hover { text-decoration: underline !important; }
/* Resultado de la consulta y errores */
body.tormi .edroz-lr-status-result { margin-top: 20px; padding: 18px 20px !important; border-radius: 20px !important; background: var(--tm-orange-soft) !important; border: 0 !important; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-status-result-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; font: 700 18px/1.2 var(--tm-font-display); color: var(--tm-ink) !important; }
body.tormi .edroz-lr-status-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
body.tormi .edroz-lr-status-cells > * { padding: 10px 12px; border-radius: 14px; background: #fff !important; border: 0 !important; color: var(--tm-ink) !important; }
body.tormi .edroz-lr-response { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: #fff !important; border: 0 !important; box-shadow: inset 3px 0 0 var(--tm-red-strong); color: var(--tm-ink) !important; }
body.tormi .edroz-lr-status-error { margin-top: 16px; padding: 12px 16px; border-radius: 16px; background: var(--tm-pink-soft) !important; border: 0 !important; color: var(--tm-pink-ink) !important; font-weight: 700; }
@media (max-width: 760px) {
	body.tormi .edroz-lr-status-form { grid-template-columns: 1fr; }
	body.tormi .edroz-lr-status-form button { width: 100%; }
	body.tormi .edroz-lr-status-hero { padding: 22px 18px !important; gap: 12px; flex-wrap: wrap; }
	body.tormi .edroz-lr-status-hero::after { display: none; }
	body.tormi .edroz-lr-status-body { padding: 20px 18px !important; }
}

/* =====================================================================
   ACTUALIZACIÓN 10 — Reseñas (producto) y ventana de reseñas por pedido
   ===================================================================== */
/* Estrellas de solo lectura: --r = puntaje (0 a 5, admite decimales) */
.tm-stars { --s: 18px; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s); flex: 0 0 auto;
	background: linear-gradient(90deg, #f5a623 calc(var(--r, 0) / 5 * 100%), #e9dde2 0);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.tm-stars--lg { --s: 26px; }
/* Selector de estrellas grande */
.tm-starpick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 4px; flex-wrap: wrap; }
.tm-starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tm-starpick label { width: 38px; height: 38px; cursor: pointer; background: #e9dde2; transition: transform .25s var(--tm-spring), background-color .15s ease;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tm-starpick label:hover, .tm-starpick label:hover ~ label, .tm-starpick input:checked ~ label { background: #f5a623; }
.tm-starpick label:hover { transform: scale(1.15); }
.tm-starpick input:focus-visible + label { outline: 3px solid rgba(204, 10, 10, .35); outline-offset: 2px; border-radius: 6px; }
.tm-starpick__label { order: -1; margin-left: 10px; font-weight: 800; font-size: 14px; color: var(--tm-muted); }
.tm-starpick.is-set .tm-starpick__label { color: var(--tm-orange-ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sección de reseñas en el producto */
body.tormi .tm-rev { display: grid !important; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.tm-rev__summary { position: sticky; top: 110px; padding: 24px; border-radius: 26px; background: var(--tm-orange-soft); text-align: center; }
.tm-rev__avg { margin: 0; font: 700 56px/1 var(--tm-font-display); color: var(--tm-ink); }
.tm-rev__avg small { margin-left: 6px; font-size: 16px; color: var(--tm-muted); }
.tm-rev__count { margin: 6px 0 14px; font-weight: 800; color: var(--tm-muted); }
.tm-rev__bars { list-style: none; margin: 0 0 18px; padding: 0; text-align: left; }
.tm-rev__bars li { display: grid; grid-template-columns: 30px 1fr 24px; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; font-weight: 800; }
.tm-rev__bars i { height: 8px; border-radius: 999px; background: #fff; overflow: hidden; position: relative; }
.tm-rev__bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0); background: #f5a623; border-radius: inherit; }
.tm-rev__bars small { text-align: right; color: var(--tm-muted); }
.tm-rev__tormi { display: block; width: 120px; height: auto; margin: 0 auto 8px; }
.tm-rev__empty { margin: 0 0 16px; font-size: 14.5px; color: var(--tm-ink); }
.tm-rev__empty b { display: block; font: 700 19px/1.2 var(--tm-font-display); margin-bottom: 2px; }
body.tormi .tm-rev__write { width: 100%; }
.tm-rev__notice { margin: 0 0 16px; padding: 14px 18px; border-radius: 18px; background: #e3f5ea; color: #1f5f34; font-weight: 800; }
body.tormi .tm-rev #comments { margin: 0; }
body.tormi .tm-rev__list { list-style: none !important; margin: 0 0 22px !important; padding: 0 !important; display: grid; gap: 12px; }
body.tormi .tm-rcard { margin: 0 !important; padding: 18px 20px !important; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--tm-line); list-style: none; }
.tm-rcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tm-rcard__head > div { flex: 1; min-width: 0; }
.tm-rcard__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tm-red-strong); color: #fff; font: 700 18px/1 var(--tm-font-display); flex: 0 0 auto; }
.tm-rcard__name { display: block; font-size: 15px; color: var(--tm-ink); }
.tm-rcard__ok { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: #e3f5ea; color: #1f5f34; font-size: 11.5px; font-weight: 800; }
.tm-rcard time { font-size: 12.5px; color: var(--tm-muted); }
.tm-rcard__text p { margin: 0 0 6px; font-size: 15px; line-height: 1.55; color: var(--tm-ink); }
.tm-rcard__wait { margin: 0 0 8px; padding: 8px 12px; border-radius: 12px; background: #fff4c7; font-size: 13.5px; font-weight: 700; }
.tm-rcard__photos { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tm-rcard__photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; display: block; transition: transform .3s var(--tm-spring); }
.tm-rcard__photos a:hover img { transform: scale(1.05); }
/* Formulario */
body.tormi .tm-rev__form { padding: 24px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--tm-line); }
body.tormi .tm-rev__form .comment-reply-title { display: block; margin: 0 0 14px; font: 700 22px/1.2 var(--tm-font-display); color: var(--tm-ink); }
body.tormi .tm-rev__form form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
body.tormi .tm-rev__form form > * { grid-column: 1 / -1; }
body.tormi .tm-rev__form .comment-form-author { grid-column: 1; }
body.tormi .tm-rev__form .comment-form-email { grid-column: 2; }
body.tormi .tm-rev__form label, .tm-rev__label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 800; color: var(--tm-ink); }
body.tormi .tm-rev__form label small { font-weight: 600; color: var(--tm-muted); }
body.tormi .tm-rev__form input[type=text], body.tormi .tm-rev__form input[type=email], body.tormi .tm-rev__form textarea {
	width: 100%; padding: 12px 14px; border-radius: 14px; background: var(--tm-bg-soft); border: 2px solid var(--tm-line); font: 600 15px/1.4 var(--tm-font-body); color: var(--tm-ink); box-shadow: none; }
body.tormi .tm-rev__form input:focus, body.tormi .tm-rev__form textarea:focus { outline: 0; border-color: var(--tm-red-strong); background: #fff; }
body.tormi .tm-rev__form .comment-form-rating { margin: 0 0 14px; }
.tm-rev__photos { margin-bottom: 14px; }
.tm-rev__hint { margin: 8px 0 0; font-size: 13px; color: var(--tm-muted); }
body.tormi .tm-rev__form .form-submit { margin: 0; }
body.tormi .tm-rev__form .form-submit .tm-btn { min-width: 200px; cursor: pointer; }
body.tormi .tm-rev__form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--tm-muted); }
/* Fotos: botón y vista previa (producto y ventana) */
.tm-revitem__photos { position: relative; display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; padding: 9px 16px; border-radius: 999px; border: 2px dashed var(--tm-line); background: #fff; cursor: pointer; font-weight: 800; font-size: 14px; color: var(--tm-ink); }
.tm-revitem__photos:hover { border-color: var(--tm-red-strong); }
.tm-revitem__photos small { font-weight: 600; color: var(--tm-muted); }
.tm-revitem__photos input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tm-revitem__preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tm-revitem__preview:empty { display: none; }
.tm-revitem__preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
@media (max-width: 860px) {
	body.tormi .tm-rev { grid-template-columns: 1fr; }
	.tm-rev__summary { position: static; }
	body.tormi .tm-rev__form form { grid-template-columns: 1fr; }
	body.tormi .tm-rev__form .comment-form-author, body.tormi .tm-rev__form .comment-form-email { grid-column: 1; }
}

/* Ventana de reseñas por pedido */
.tm-revpop { position: fixed; inset: 0; z-index: 100020; display: grid; place-items: center; padding: 16px; }
.tm-revpop__back { position: absolute; inset: 0; background: rgba(43, 29, 38, .6); backdrop-filter: blur(5px); opacity: 0; transition: opacity .3s ease; }
.tm-revpop__box { position: relative; width: min(680px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 30px; background: #fff; box-shadow: 0 40px 90px -30px rgba(43, 29, 38, .7); opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .3s ease, transform .55s var(--tm-spring); }
.tm-revpop.is-open .tm-revpop__back { opacity: 1; }
.tm-revpop.is-open .tm-revpop__box { opacity: 1; transform: none; }
body.tormi .tm-revpop__x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); color: var(--tm-ink); cursor: pointer; }
.tm-revpop__head { display: flex; align-items: flex-end; gap: 14px; padding: 22px 56px 0 22px; background: #de993e; border-radius: 30px 30px 0 0; }
.tm-revpop__head img { width: 104px; height: auto; flex: 0 0 auto; display: block; }
.tm-revpop__head > div { padding-bottom: 20px; }
body.tormi .tm-revpop__head h2 { margin: 0 0 6px; font: 700 clamp(22px, 3.6vw, 28px)/1.1 var(--tm-font-display); color: var(--tm-ink); }
.tm-revpop__head p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--tm-ink); }
.tm-revpop__form { padding: 18px 22px 22px; display: grid; gap: 12px; }
.tm-revitem { margin: 0; padding: 14px 16px; border: 0; border-radius: 20px; background: var(--tm-bg-soft); display: grid; gap: 10px; transition: box-shadow .2s ease; }
.tm-revitem.is-rated { box-shadow: inset 0 0 0 2px #f5a623; background: #fffaf0; }
.tm-revitem__prod { display: flex; align-items: center; gap: 12px; }
.tm-revitem__prod img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; background: #fff; flex: 0 0 auto; }
.tm-revitem__prod b { display: block; font: 700 16px/1.25 var(--tm-font-display); color: var(--tm-ink); }
.tm-revitem__prod small { display: inline-block; margin-top: 3px; padding: 2px 8px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 800; color: var(--tm-orange-ink); }
.tm-revitem textarea { width: 100%; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--tm-line); background: #fff; font: 600 14.5px/1.4 var(--tm-font-body); color: var(--tm-ink); resize: vertical; }
.tm-revitem textarea:focus { outline: 0; border-color: var(--tm-red-strong); }
.tm-revpop__msg { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--tm-pink-soft); color: var(--tm-pink-ink); font-weight: 800; }
body.tormi .tm-revpop__send { width: 100%; cursor: pointer; }
.tm-revpop__note { text-align: center; color: var(--tm-muted); font-size: 12.5px; }
.tm-revpop__end { padding: 20px 22px 24px; text-align: center; }
html.tm-bbpop-lock:has(#tm-revpop) .qlwapp { visibility: hidden !important; }
@media (max-width: 600px) {
	.tm-revpop { padding: 8px; }
	.tm-revpop__box { border-radius: 24px; max-height: calc(100dvh - 16px); }
	.tm-revpop__head { padding: 18px 52px 0 16px; border-radius: 24px 24px 0 0; }
	.tm-revpop__head img { width: 76px; }
	.tm-revpop__form { padding: 14px; }
	.tm-starpick label { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .tm-revpop__box, .tm-starpick label { transition: none; } }
body.tormi .tm-revitem textarea { height: 76px; min-height: 76px; }

/* Marcas del inicio en carrusel */
.tm-brands__right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tm-brands__nav[hidden] { display: none; }
.tm-brands__nav button:disabled { opacity: .35; cursor: default; transform: none !important; }
body.tormi .tm-brands.tm-brands--carousel { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 18px * 3) / 4); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; margin: -6px -2px 0; }
.tm-brands--carousel::-webkit-scrollbar { display: none; }
.tm-brands--carousel > .tm-brand { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1099px) { body.tormi .tm-brands.tm-brands--carousel { grid-auto-columns: calc((100% - 18px * 2) / 3); } }
@media (max-width: 799px) { body.tormi .tm-brands.tm-brands--carousel { grid-auto-columns: calc((100% - 14px) / 2.2); gap: 14px; } }
@media (max-width: 539px) { body.tormi .tm-brands.tm-brands--carousel { grid-auto-columns: 78%; } .tm-brands__nav { display: none; } }

/* Carrusel de marcas: flechas a los costados */
.tm-brands__wrap { position: relative; }
body.tormi .tm-brands__nav { position: absolute; inset: 0; z-index: 3; display: block; pointer-events: none; }
body.tormi .tm-brands__nav[hidden] { display: none; }
body.tormi .tm-brands__nav .tm-brands__arrow { position: absolute; top: 50%; pointer-events: auto; width: 52px; height: 52px; margin-top: -30px; background: #fff; border-color: #fff; box-shadow: 0 12px 26px -12px rgba(43, 29, 38, .55); transition: opacity .25s ease, transform .3s var(--tm-spring), background-color .2s ease; }
body.tormi .tm-brands__nav .tm-brands__arrow--prev { left: -26px; }
body.tormi .tm-brands__nav .tm-brands__arrow--next { right: -26px; }
body.tormi .tm-brands__nav .tm-brands__arrow:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 1240px) { body.tormi .tm-brands__nav .tm-brands__arrow--prev { left: -8px; } body.tormi .tm-brands__nav .tm-brands__arrow--next { right: -8px; } }
@media (max-width: 539px) { body.tormi .tm-brands__nav { display: none; } }

/* Flechas laterales (marcas y videos) */
.tm-side-wrap { position: relative; }
body.tormi .tm-side-nav { position: absolute; inset: 0; z-index: 3; display: block; pointer-events: none; }
body.tormi .tm-side-nav[hidden] { display: none; }
body.tormi .tm-side-nav .tm-side-arrow { position: absolute; top: 50%; margin: 0 !important; width: 54px; height: 54px; pointer-events: auto; transform: translateY(-50%); background: #fff !important; border: 2px solid #fff !important; box-shadow: 0 14px 28px -12px rgba(43, 29, 38, .55); transition: opacity .25s ease, transform .3s var(--tm-spring), background-color .2s ease, border-color .2s ease; }
body.tormi .tm-side-nav .tm-side-arrow svg { stroke: var(--tm-ink); }
body.tormi .tm-side-nav .tm-side-arrow:hover, body.tormi .tm-side-nav .tm-side-arrow:focus-visible { background: var(--tm-red-strong) !important; border-color: var(--tm-red-strong) !important; transform: translateY(-50%) scale(1.08); }
body.tormi .tm-side-nav .tm-side-arrow:hover svg, body.tormi .tm-side-nav .tm-side-arrow:focus-visible svg { stroke: #fff; }
body.tormi .tm-side-nav .tm-side-arrow--prev { left: -27px; }
body.tormi .tm-side-nav .tm-side-arrow--next { right: -27px; }
body.tormi .tm-side-nav .tm-side-arrow:disabled { opacity: 0; pointer-events: none; }
.tm-band--pink .tm-side-nav .tm-side-arrow:hover, .tm-band--pink .tm-side-nav .tm-side-arrow:focus-visible { background: var(--tm-ink) !important; border-color: var(--tm-ink) !important; }
@media (max-width: 1240px) { body.tormi .tm-side-nav .tm-side-arrow--prev { left: -6px; } body.tormi .tm-side-nav .tm-side-arrow--next { right: -6px; } }
@media (max-width: 539px) { body.tormi .tm-side-nav { display: none; } }

/* Cintillo: cada palabra lleva a su categoría */
body.tormi .tm-marquee a { color: #fff !important; text-decoration: none !important; transition: color .2s ease; }
body.tormi .tm-marquee a:hover, body.tormi .tm-marquee a:focus-visible { color: var(--tm-orange) !important; text-decoration: underline !important; text-underline-offset: 6px; text-decoration-thickness: 3px; }

/* =====================================================================
   ACTUALIZACIÓN 11 — Cintillo de envíos (fijo arriba al bajar)
   ===================================================================== */
.tm-shipbar { position: sticky; top: 0; z-index: 900; background: var(--tm-red-strong); color: #fff; box-shadow: 0 6px 16px -10px rgba(43, 29, 38, .6); }
body.admin-bar .tm-shipbar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tm-shipbar { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .tm-shipbar { top: 0; } }
.tm-shipbar__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 22px; max-width: 1240px; margin: 0 auto; padding: 11px 16px; text-align: center; }
.tm-shipbar__item { display: inline-flex; align-items: center; gap: 10px; font: 700 16px/1.25 var(--tm-font-display); letter-spacing: .01em; }
.tm-shipbar__item svg { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tm-shipbar__star { font-style: normal; color: var(--tm-orange); font-size: 20px; line-height: 1; }
@media (max-width: 700px) {
	.tm-shipbar__in { flex-direction: column; gap: 2px; padding: 7px 12px; }
	.tm-shipbar__star { display: none; }
	.tm-shipbar__item { gap: 7px; font-size: 13px; }
	.tm-shipbar__item svg { width: 18px; height: 18px; }
}

/* Cintillo: fijo con JS (no depende de sticky) */
.tm-shipbar { position: relative; top: auto; }
body.admin-bar .tm-shipbar { top: auto; }
.tm-shipbar.is-fixed { position: fixed; left: 0; right: 0; top: 0; z-index: 9990; }
.tm-shipbar-spacer { height: 0; }

/* =====================================================================
   ACTUALIZACIÓN 12 — Compra por anime (burbujas tipo historias)
   ===================================================================== */
.tm-animes__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 158px; gap: 26px;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding: 10px 6px 18px; margin: -10px -6px 0;
}
.tm-animes__track::-webkit-scrollbar { display: none; }
body.tormi .tm-anime { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; text-decoration: none !important; color: var(--tm-ink) !important; }
.tm-anime__ring { position: relative; isolation: isolate; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; padding: 6px; box-sizing: border-box; transition: transform .45s var(--tm-spring); }
.tm-anime__ring::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
	background: conic-gradient(from 0deg, #c20b0b, #f39a35, #f5516f, #ffd84d, #c20b0b);
	box-shadow: 0 14px 28px -16px rgba(43, 29, 38, .7);
}
.tm-anime__pic { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 5px #fff; }
.tm-anime__pic img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform .5s var(--tm-spring); }
.tm-anime__pic b { font: 700 46px/1 var(--tm-font-display); color: var(--tm-red-strong); }
.tm-anime__name { margin-top: 8px; font: 700 17px/1.15 var(--tm-font-display); color: var(--tm-ink); max-width: 100%; }
.tm-anime__count { font-size: 12.5px; font-weight: 800; color: rgba(43, 29, 38, .7); }
@keyframes tm-ring-spin { to { transform: rotate(360deg); } }
.tm-anime:hover .tm-anime__ring, .tm-anime:focus-visible .tm-anime__ring { transform: translateY(-6px) scale(1.06); }
.tm-anime:hover .tm-anime__ring::before, .tm-anime:focus-visible .tm-anime__ring::before { animation: tm-ring-spin 2.4s linear infinite; }
.tm-anime:hover .tm-anime__pic img { transform: scale(1.14); }
.tm-anime:focus-visible { outline: none; }
.tm-anime:focus-visible .tm-anime__name { text-decoration: underline; }
/* "Ver todos" con Tormi */
.tm-anime--all .tm-anime__ring::before { background: conic-gradient(from 0deg, #2b1d26, #6f5a66, #2b1d26); }
.tm-anime--all .tm-anime__pic { background: #fdf1e4; }
.tm-anime--all .tm-anime__pic img { object-fit: contain; padding: 10px; transform: none; }
/* Las flechas sobre la banda caramelo */
.tm-animes .tm-side-nav .tm-side-arrow { top: 82px; }
@media (max-width: 799px) {
	.tm-animes__track { grid-auto-columns: 124px; gap: 18px; }
	.tm-anime__ring { width: 120px; height: 120px; padding: 5px; }
	.tm-anime__pic { box-shadow: 0 0 0 4px #fff; }
	.tm-anime__name { font-size: 15px; }
	.tm-animes .tm-side-nav .tm-side-arrow { top: 66px; }
}
@media (max-width: 539px) {
	.tm-animes__track { grid-auto-columns: 104px; gap: 14px; }
	.tm-anime__ring { width: 100px; height: 100px; }
	.tm-anime__name { font-size: 14px; }
	.tm-anime__count { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
	.tm-anime:hover .tm-anime__ring::before { animation: none; }
}

/* Anillo de colores visible alrededor de la foto */
.tm-anime__ring { padding: 10px; }
.tm-anime__pic { box-shadow: 0 0 0 4px #fff; }
.tm-animes__track { scroll-padding-left: 6px; }
@media (max-width: 799px) { .tm-anime__ring { padding: 8px; } .tm-anime__pic { box-shadow: 0 0 0 3px #fff; } }

/* =====================================================================
   ACTUALIZACIÓN 13 — Compra por anime (pósters) y logos de marcas
   ===================================================================== */
.tm-posters { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px * 4) / 5); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 4px 20px; margin: -10px -4px 0; scroll-padding-left: 4px; }
.tm-posters::-webkit-scrollbar { display: none; }
body.tormi .tm-poster { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; scroll-snap-align: start; background: #fff; box-shadow: 0 18px 34px -22px rgba(43, 29, 38, .6); text-decoration: none !important; transition: transform .45s var(--tm-spring), box-shadow .3s ease; }
.tm-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tm-spring); }
.tm-poster__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, var(--c) 100%); opacity: .95; }
.tm-poster__count { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--tm-ink); font-size: 12px; font-weight: 800; }
.tm-poster__name { position: absolute; left: 16px; right: 16px; bottom: 40px; color: #fff; font: 700 24px/1.05 var(--tm-font-display); text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.tm-poster__go { position: absolute; left: 16px; bottom: 15px; color: #fff; font-size: 13px; font-weight: 800; opacity: .92; }
body.tormi .tm-poster:hover, body.tormi .tm-poster:focus-visible { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 26px 40px -22px rgba(43, 29, 38, .7); }
.tm-poster:hover img { transform: scale(1.08); }
.tm-animes .tm-side-nav .tm-side-arrow { top: 50%; }
@media (max-width: 1099px) { .tm-posters { grid-auto-columns: calc((100% - 20px * 3) / 4); } }
@media (max-width: 899px) { .tm-posters { grid-auto-columns: calc((100% - 16px * 2) / 2.6); gap: 16px; } }
@media (max-width: 539px) { .tm-posters { grid-auto-columns: 62%; gap: 14px; } .tm-poster__name { font-size: 22px; } }

/* Logos de marcas */
.tm-brandlogos { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(14px, 3vw, 40px); margin: 0 0 clamp(32px, 4vw, 48px); }
body.tormi .tm-brandlogo { display: block; width: clamp(72px, 13vw, 168px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 16px 32px -20px rgba(43, 29, 38, .55), 0 0 0 1px var(--tm-line); transition: transform .45s var(--tm-spring), box-shadow .3s ease; }
.tm-brandlogo img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.tormi .tm-brandlogo:hover, body.tormi .tm-brandlogo:focus-visible { transform: translateY(-6px) scale(1.06); box-shadow: 0 24px 40px -20px rgba(43, 29, 38, .6), 0 0 0 3px var(--tm-red-strong); }
@media (max-width: 539px) { .tm-brandlogos { gap: 10px; flex-wrap: nowrap; } body.tormi .tm-brandlogo { width: calc((100vw - 32px - 30px) / 4); } }

/* Yape / Plin: tarjeta con QR */
.tm-yape { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 6px 0 4px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 2px #e9dcf3; }
.tm-yape__qr { width: 168px; height: 168px; flex: 0 0 auto; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--tm-line); }
.tm-yape__info { flex: 1 1 200px; min-width: 0; }
.tm-yape__info p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.4; color: var(--tm-ink); }
.tm-yape__apps { display: flex; gap: 6px; }
.tm-yape__app { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; }
.tm-yape__app--yape { background: #742284; }
.tm-yape__app--plin { background: #00b8b0; }
.tm-yape__phone { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tm-yape__phone b { font: 700 24px/1 var(--tm-font-display); letter-spacing: .03em; color: #742284; }
body.tormi .tm-yape__copy { padding: 6px 14px; border: 0; border-radius: 999px; background: var(--tm-ink); color: #fff; font-weight: 800; font-size: 13px; cursor: pointer; }
body.tormi .tm-yape__copy:hover { background: #742284; }
.tm-yape__holder { color: var(--tm-muted) !important; }
.woocommerce-order .tm-yape, .woocommerce-MyAccount-content .tm-yape { margin: 0 0 24px; }
@media (max-width: 480px) { .tm-yape { justify-content: center; text-align: center; } .tm-yape__apps, .tm-yape__phone { justify-content: center; } .tm-yape__qr { width: 200px; height: 200px; } }

/* ===== ACTUALIZACIÓN 14 · Estrellas de reseña en celular: el texto va debajo, las 5 estrellas en una fila ===== */
@media (max-width: 600px) {
	.tm-starpick { flex-wrap: wrap-reverse; }
	.tm-starpick .tm-starpick__label { flex-basis: 100%; margin: 6px 0 0; }
}

/* ===== ACTUALIZACIÓN 15 · Buscador propio: ventana del celular, sugerencias y "sin resultados" ===== */
#search-modal.has-tm-form .asl_w_container,
#search-modal.has-tm-form .ct-panel-content > form:not(.tm-sx-form) { display: none !important; }
.tm-sx-form { position: relative; display: flex; align-items: center; gap: 6px; height: 56px; padding: 5px 5px 5px 18px; border-radius: 999px; background: var(--tm-bg-soft); border: 2px solid var(--tm-line); transition: border-color .2s ease, background-color .2s ease; }
.tm-sx-form:focus-within { border-color: var(--tm-red-strong); background: #fff; }
.tm-sx-form input[type=search] { flex: 1; min-width: 0; height: 42px; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font: 600 16px/42px var(--tm-font-body); color: var(--tm-ink); outline: 0; }
.tm-sx-form input[type=search]::placeholder { color: var(--tm-muted); opacity: 1; }
.tm-sx-form input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.tm-sx-form button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tm-red-strong); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(204, 10, 10, .8); padding: 0; }
.tm-sx-form button svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }

/* Lista de sugerencias */
.tm-sugg-host { position: relative; }
.tm-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 100060; max-height: min(70vh, 520px); overflow-y: auto; padding: 8px; background: #fff; border-radius: 20px; box-shadow: 0 24px 48px -20px rgba(43, 29, 38, .55); border: 1px solid var(--tm-line); text-align: left; }
#tormi-search-form .tm-sugg { min-width: 380px; }
#search-modal .tm-sugg { position: static; margin-top: 10px; max-height: 55vh; box-shadow: none; }
.tm-sugg__label { margin: 8px 8px 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tm-muted); }
.tm-sugg__fix { margin: 4px 8px 6px; padding: 8px 12px; border-radius: 12px; background: var(--tm-orange-soft, #fdf1e4); font-size: 14px; color: var(--tm-ink); }
.tm-sugg__fix b { color: var(--tm-red-strong); text-transform: capitalize; }
.tm-sugg__cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 6px 4px; }
.tm-sugg__cats a { padding: 7px 12px; border-radius: 999px; background: var(--tm-bg-soft); color: var(--tm-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.tm-sugg__cats a small { color: var(--tm-muted); font-weight: 700; }
.tm-sugg__cats a:hover, .tm-sugg__cats a:focus { background: var(--tm-pink-soft); outline: 0; }
.tm-sugg__p { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; color: var(--tm-ink); text-decoration: none; }
.tm-sugg__p:hover, .tm-sugg__p:focus { background: var(--tm-orange-soft, #fdf1e4); outline: 0; }
.tm-sugg__p img, .tm-sugg__noimg { width: 48px; height: 48px; flex: none; border-radius: 10px; object-fit: cover; background: var(--tm-bg-soft); }
.tm-sugg__p.is-out { opacity: .6; }
.tm-sugg__n { display: flex; flex-direction: column; gap: 2px; font: 700 14px/1.3 var(--tm-font-display); }
.tm-sugg__n small { font: 800 13px/1.2 var(--tm-font-body); color: var(--tm-red-strong); }
.tm-sugg mark { background: #ffe9a8; color: inherit; border-radius: 3px; padding: 0 1px; }
.tm-sugg__all { display: block; margin: 6px 4px 2px; padding: 11px; border-radius: 999px; text-align: center; background: var(--tm-ink); color: #fff !important; font-weight: 800; font-size: 14px; text-decoration: none; }
.tm-sugg__all:hover, .tm-sugg__all:focus { background: var(--tm-red-strong); outline: 0; }
.tm-sugg__none { margin: 10px; font-size: 14px; color: var(--tm-muted); }

/* Sin resultados */
.tm-sempty { display: flex; align-items: center; gap: 28px; max-width: 860px; margin: 10px auto 34px; padding: 30px 32px; border-radius: 30px; background: #fff; box-shadow: 0 18px 40px -26px rgba(43, 29, 38, .35); }
.tm-sempty__tormi { width: 170px; height: auto; flex: none; }
.tm-sempty__title { margin: 0 0 6px; font: 700 clamp(24px, 4vw, 32px)/1.15 var(--tm-font-display); color: var(--tm-ink); word-break: break-word; }
.tm-sempty__fix { margin: 0 0 16px; font-size: 17px; color: var(--tm-muted); }
.tm-sempty__fix a { color: var(--tm-red-strong); font-weight: 800; text-decoration: underline; }
.tm-sempty__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tm-sempty__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tm-sempty__wa { background: #1f9d55 !important; color: #fff !important; }
.tm-sempty__new { margin: 0 auto 20px; }
.tm-sempty__label { margin: 0 0 14px; font: 700 24px/1.2 var(--tm-font-display); color: var(--tm-ink); }
@media (max-width: 767px) {
	.tm-sempty { flex-direction: column; text-align: center; gap: 12px; padding: 24px 18px; }
	.tm-sempty__tormi { width: 130px; }
	.tm-sempty__chips, .tm-sempty__btns { justify-content: center; }
	.tm-sempty__btns .tm-btn { width: 100%; justify-content: center; }
	#tormi-search-form .tm-sugg { min-width: 0; }
}
/* La lista de sugerencias del PC va por encima de la franja roja y las guirnaldas */
body:has(#tormi-search-form .tm-sugg:not([hidden])) #header,
body:has(#tormi-search-form .tm-sugg:not([hidden])) header.ct-header { position: relative; z-index: 10000 !important; }
/* Sugerencias: el texto nunca se vuelve blanco al pasar el mouse */
.tm-sugg a, .tm-sugg a:hover, .tm-sugg a:focus, .tm-sugg a:hover *, .tm-sugg a:focus * { color: var(--tm-ink) !important; }
.tm-sugg a .tm-sugg__n small, .tm-sugg a:hover .tm-sugg__n small { color: var(--tm-red-strong) !important; }
.tm-sugg a.tm-sugg__all, .tm-sugg a.tm-sugg__all:hover, .tm-sugg a.tm-sugg__all:focus { color: #fff !important; }
.tm-sugg__cats a small, .tm-sugg__cats a:hover small { color: var(--tm-muted) !important; }

/* ===== ACTUALIZACIÓN 16 · Menús desplegables del PC (Tienda, Marcas): tarjeta blanca y por encima de la franja roja ===== */
@media (min-width: 1000px) {
	body.tormi #header, body.tormi header.ct-header { position: relative; z-index: 1000; }
	body.tormi .ct-header .sub-menu { background: #fff !important; border: 1px solid var(--tm-line); min-width: 210px; }
	body.tormi .ct-header .sub-menu li { border: 0 !important; }
	body.tormi .ct-header .sub-menu li + li { margin-top: 2px; }
	body.tormi .ct-header .sub-menu a,
	body.tormi .ct-header .sub-menu .ct-menu-link { color: var(--tm-ink) !important; background: transparent; padding: 11px 14px !important; font-size: 15px; }
	body.tormi .ct-header .sub-menu a:hover,
	body.tormi .ct-header .sub-menu .ct-menu-link:hover { background: var(--tm-pink-soft) !important; color: var(--tm-red-strong) !important; }
	body.tormi .ct-header .menu > li > a .ct-toggle-dropdown-desktop { display: inline-flex !important; margin-left: 6px; opacity: .8; }
}

/* Producto con set: sin precio arriba, sin hueco vacío */
body.tormi .summary > p.price:empty, body.tormi .entry-summary > p.price:empty { display: none !important; }

/* ===== ACTUALIZACIÓN 17 · Foto del set completo en la galería del producto ===== */
.tm-gallery__stage { position: relative; }
.tm-gallery__set { display: none; position: absolute; inset: 0; z-index: 6; align-items: center; justify-content: center; background: #fff; border-radius: inherit; overflow: hidden; cursor: zoom-in; }
.tm-gallery__set img { width: 100%; height: 100%; object-fit: contain; }
.tm-gallery.is-set-mode .tm-gallery__set { display: flex; animation: tmSetIn .35s ease; }
.tm-gallery.is-set-mode .tm-gallery__side { visibility: hidden; }
.tm-gallery.is-set-mode .tm-gallery__nav,
.tm-gallery.is-set-mode .tm-gallery__count,
.tm-gallery.is-set-mode .tm-gallery__dots { display: none !important; }
@keyframes tmSetIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

/* ===== ACTUALIZACIÓN 18 · Reseñas en el inicio (carrusel) y página de reseñas ===== */
.tm-hrevs { background: #fff; padding-bottom: clamp(48px, 6vw, 80px); }
.tm-hrevs__sum { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px -12px rgba(43, 29, 38, .45); font-weight: 800; font-size: 15px; color: var(--tm-ink); }
.tm-hrevs__sum span { color: #f5a623; letter-spacing: 1px; font-size: 17px; }
.tm-hrevs__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: none; }
.tm-hrevs__track::-webkit-scrollbar { display: none; }
.tm-hrevs__track .tm-hrev { flex: 0 0 292px; scroll-snap-align: start; }
.tm-hrev { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tm-line); border-radius: 24px; overflow: hidden; box-shadow: 0 14px 30px -22px rgba(43, 29, 38, .45); }
.tm-hrev__ph { position: relative; height: 290px; flex: none; background: var(--tm-orange-soft, #fdf1e4); }
.tm-hrev__ph a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.tm-hrev__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-hrev__more { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(43, 29, 38, .75); color: #fff; font-weight: 800; font-size: 12px; pointer-events: none; }
.tm-hrev__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 16px; }
.tm-hrev__stars { color: #f5a623; letter-spacing: 1px; font-size: 16px; }
.tm-hrev__text { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--tm-ink); }
.tm-hrev__text.is-long:not(.is-open) { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tm-hrev__read { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--tm-red-strong); font-weight: 800; font-size: 13px; cursor: pointer; }
.tm-hrev__who { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.tm-hrev__who b { display: block; font-size: 14px; color: var(--tm-ink); }
.tm-hrev__av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--tm-red-strong); color: #fff; display: grid; place-items: center; font: 700 15px/1 var(--tm-font-display); }
.tm-hrev__verif { color: #1f9d55; font-weight: 800; font-size: 12px; }
.tm-hrev__date { color: var(--tm-muted); font-size: 12px; }
.tm-hrev__prod { display: block; padding: 9px 12px; border-radius: 12px; background: var(--tm-orange-soft, #fdf1e4); color: var(--tm-ink) !important; text-decoration: none !important; font: 700 13px/1.25 var(--tm-font-display); }
.tm-hrev__prod::after { content: " →"; color: var(--tm-red-strong); }
.tm-hrev__prod:hover { background: var(--tm-pink-soft); }
.tm-hrevs .tm-side-nav .tm-side-arrow { top: 145px; }
.tm-revpage .tm-hrevs__sum { margin-bottom: 24px; }
.tm-revpage__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
@media (max-width: 767px) {
	.tm-hrevs__track .tm-hrev { flex-basis: 78%; }
	.tm-hrev__ph { height: 260px; }
}
.tm-hrev__ph a[hidden] { display: none !important; }
@media (max-width: 767px) { .tm-hrevs__sum { font-size: 14px; padding: 7px 14px; } .tm-hrevs__sum span { font-size: 15px; } }

/* ===== ACTUALIZACIÓN 19 · Figuras confirmadas ===== */
body.tormi ul.products li.product.tm-is-conf > .tm-card-brand::before {
	content: "✓ Confirmado";
	display: inline-block;
	margin-right: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e7f6ec;
	color: #1d7a3e;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: none;
}
body.tormi .tm-conf-box {
	margin: 14px 0 18px;
	padding: 14px 16px;
	border-radius: 18px;
	background: #f3fbf5;
	border: 1.5px solid #cfeedd;
	color: var(--tm-ink);
}
body.tormi .tm-conf-badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 12px; border-radius: 999px;
	background: #1d7a3e; color: #fff;
	font: 700 13px/1.2 var(--tm-font-title, 'Fredoka', sans-serif);
}
body.tormi .tm-conf-badge svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
body.tormi .tm-conf-box dl { display: grid; gap: 6px; margin: 12px 0 8px; }
body.tormi .tm-conf-box dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; align-items: baseline; }
body.tormi .tm-conf-box dt { font-size: 13px; color: #5d7a66; font-weight: 700; }
body.tormi .tm-conf-box dd { margin: 0; font-weight: 800; }
body.tormi .tm-conf-box dd a { color: var(--tm-red-strong); text-decoration: underline; text-underline-offset: 3px; }
body.tormi .tm-conf-box p { margin: 0; font-size: 14px; color: #4b5d51; }

body.tormi .tm-conf-row { clear: both; margin: 36px 0 10px; padding: 22px 18px; border-radius: 24px; background: #f3fbf5; }
body.tormi .tm-conf-row header h2 { margin: 0 0 4px; font: 600 clamp(20px, 3vw, 26px)/1.2 var(--tm-font-title, 'Fredoka', sans-serif); color: var(--tm-ink); }
body.tormi .tm-conf-row header p { margin: 0 0 16px; color: #4b5d51; }
body.tormi .tm-conf-row__list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
body.tormi .tm-conf-card { flex: 0 0 168px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 18px; background: #fff; overflow: hidden; text-decoration: none; color: var(--tm-ink); box-shadow: 0 0 0 1.5px #cfeedd; transition: transform .2s ease, box-shadow .2s ease; }
body.tormi .tm-conf-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px #1d7a3e, 0 16px 28px -18px rgba(29, 122, 62, .6); }
body.tormi .tm-conf-card__img { display: block; aspect-ratio: 1; background: var(--tm-bg-soft); }
body.tormi .tm-conf-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.tormi .tm-conf-card__txt { display: grid; gap: 2px; padding: 10px 12px 12px; }
body.tormi .tm-conf-card__txt b { font: 600 15px/1.25 var(--tm-font-title, 'Fredoka', sans-serif); }
body.tormi .tm-conf-card__price { font-weight: 800; color: var(--tm-red-strong); font-size: 14px; }
body.tormi .tm-conf-card__txt small { color: #b5651d; font-weight: 700; font-size: 12px; }
@media (max-width: 767px) {
	body.tormi .tm-conf-card { flex-basis: 142px; }
	body.tormi .tm-conf-row { margin-left: -4px; margin-right: -4px; padding: 18px 14px; }
}

/* ===== ACTUALIZACIÓN 20 · Inicio: confirmados "Vitrina con Tormi" ===== */
body.tormi .tm-confhome__grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 22px; align-items: stretch; }
body.tormi .tm-confhome__intro { display: flex; flex-direction: column; background: #fff; border-radius: 28px; padding: 28px 26px 0; overflow: hidden; }
body.tormi .tm-confhome__kicker { display: inline-flex; align-items: center; gap: 6px; color: #1d7a3e; font-weight: 900; font-size: 14px; }
body.tormi .tm-confhome__kicker svg, body.tormi .tm-confhome__chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
body.tormi .tm-confhome__intro h2 { margin: 8px 0 0; color: var(--tm-ink); font-size: clamp(28px, 3vw, 40px); line-height: 1.06; }
body.tormi .tm-confhome__intro p { margin: 12px 0 18px; color: #7a6570; font-weight: 700; line-height: 1.45; }
body.tormi .tm-confhome__btn { white-space: nowrap; }
body.tormi .tm-confhome__tormi { display: block; width: 210px; height: auto; margin: auto auto 0; padding-top: 10px; }
body.tormi .tm-confhome__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body.tormi .tm-confhome__card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; color: var(--tm-ink); text-decoration: none; transition: transform .25s var(--tm-smooth, ease), box-shadow .25s ease; }
body.tormi .tm-confhome__card:hover { transform: translateY(-5px); box-shadow: 0 0 0 2px #1d7a3e, 0 22px 34px -22px rgba(43, 29, 38, .55); }
body.tormi .tm-confhome__ph { display: block; aspect-ratio: 1; background: #faf6f8; }
body.tormi .tm-confhome__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.tormi .tm-confhome__body { display: grid; gap: 3px; padding: 10px 12px 12px; }
body.tormi .tm-confhome__chip { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #e7f6ec; color: #1d7a3e; font-weight: 900; font-size: 12px; }
body.tormi .tm-confhome__body b { font-family: var(--tm-font-title, 'Fredoka', sans-serif); font-weight: 600; font-size: 16px; line-height: 1.15; }
body.tormi .tm-confhome__body small { color: #7a6570; font-weight: 700; font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.tormi .tm-confhome__price { font-family: var(--tm-font-title, 'Fredoka', sans-serif); font-weight: 700; font-size: 17px; color: var(--tm-red-strong); }
body.tormi .tm-confhome__price del { opacity: .5; font-size: .8em; }
body.tormi .tm-confhome__price ins { text-decoration: none; }
@media (max-width: 1023px) {
	body.tormi .tm-confhome__grid { grid-template-columns: 1fr; }
	body.tormi .tm-confhome__intro { flex-direction: row; align-items: flex-end; gap: 16px; padding: 22px 16px 0 20px; }
	body.tormi .tm-confhome__txt { flex: 1; min-width: 0; padding-bottom: 20px; }
	body.tormi .tm-confhome__tormi { width: clamp(88px, 24vw, 180px); margin: 0; flex: none; }
	body.tormi .tm-confhome__cards { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
	body.tormi .tm-confhome__cards::-webkit-scrollbar { display: none; }
	body.tormi .tm-confhome__card { flex: 0 0 168px; scroll-snap-align: start; }
}
@media (max-width: 767px) {
	body.tormi .tm-confhome__intro p { margin: 8px 0 14px; font-size: 14px; }
	body.tormi .tm-confhome__btn { padding-left: 16px !important; padding-right: 16px !important; font-size: 15px !important; }
	body.tormi .tm-confhome__card { flex-basis: 150px; }
}

/* ===== ACTUALIZACIÓN 21 · Tormi navideño en la portada (un poco más grande, sin tocar las tarjetas) ===== */
/* El trineo es ancho: crece hacia la izquierda (espacio libre junto al texto) sin tocar las tarjetas. */
.tm-hero__mascot--xmas { align-self: center !important; }
@media (min-width: 900px) { .tm-hero__mascot--xmas { width: min(405px, 135%) !important; max-width: none; justify-self: end !important; } }
@media (max-width: 899px) { .tm-hero__mascot--xmas { width: 106% !important; max-width: none; justify-self: end !important; } }
@media (min-width: 900px) and (max-width: 1199px) { .tm-hero__mascot--xmas { width: min(405px, 105%) !important; } }

/* ===== ACTUALIZACIÓN 22 · Ventana emergente Black Friday (solo 27-nov-2026) ===== */
.tm-bfpop[hidden] { display: none !important; }
html.tm-bfpop-lock, html.tm-bfpop-lock body { overflow: hidden !important; }
.tm-bfpop { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; }
.tm-bfpop__backdrop { position: absolute; inset: 0; background: rgba(10, 4, 8, .78); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease; }
.tm-bfpop.is-open .tm-bfpop__backdrop { opacity: 1; }
.tm-bfpop__dialog {
	position: relative; width: min(640px, 100%);
	max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
	overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
	background: radial-gradient(120% 80% at 80% 0%, #3a0a0f 0%, #140709 55%, #0b0405 100%);
	color: #fff; border-radius: 28px; isolation: isolate;
	box-shadow: 0 40px 90px -30px #000, 0 0 0 2px #c20b0b, 0 0 40px -6px rgba(194, 11, 11, .8);
	opacity: 0; transform: translateY(40px) scale(.86) rotate(-2deg);
	transition: opacity .3s ease, transform .7s var(--tm-spring);
	animation: tmBfGlow 2.4s ease-in-out infinite;
}
.tm-bfpop.is-open .tm-bfpop__dialog { opacity: 1; transform: none; }
.tm-bfpop.is-closing .tm-bfpop__dialog { opacity: 0; transform: translateY(20px) scale(.94); transition-duration: .25s; }
@keyframes tmBfGlow {
	0%, 100% { box-shadow: 0 40px 90px -30px #000, 0 0 0 2px #c20b0b, 0 0 30px -8px rgba(194, 11, 11, .7); }
	50% { box-shadow: 0 40px 90px -30px #000, 0 0 0 2px #de993e, 0 0 55px -4px rgba(222, 153, 62, .75); }
}
.tm-bfpop__x {
	position: absolute; top: 46px; right: 12px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s, transform .3s var(--tm-spring);
}
.tm-bfpop__x:hover { background: #c20b0b; transform: rotate(90deg); }

/* Cinta superior */
.tm-bfpop__ticker { overflow: hidden; background: #c20b0b; border-bottom: 2px solid #de993e; }
.tm-bfpop__ticker-in { display: flex; width: max-content; animation: tmBfTicker 18s linear infinite; }
.tm-bfpop__ticker span, .tm-bfpop__ticker b { padding: 8px 10px; font: 700 13px/1 var(--tm-font-display); letter-spacing: .12em; white-space: nowrap; }
.tm-bfpop__ticker b { color: #ffd37a; font-weight: 400; }
@keyframes tmBfTicker { to { transform: translateX(-50%); } }

/* Cabecera: Tormi a un lado, textos al otro (sin taparse) */
.tm-bfpop__head { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; padding: 22px 56px 6px 22px; }
.tm-bfpop__mascot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)); animation: tmBfBob 2.6s ease-in-out infinite; }
@keyframes tmBfBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.tm-bfpop__pill {
	display: inline-block; margin: 0 0 8px; padding: 5px 12px; border-radius: 99px; background: #de993e; color: #2b1d26;
	font: 700 13px/1.2 var(--tm-font-display); text-transform: uppercase; letter-spacing: .06em; animation: tmBfPulse 1.2s ease-in-out infinite;
}
@keyframes tmBfPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.tm-bfpop__title { margin: 0; font: 700 clamp(42px, 9vw, 64px)/.9 var(--tm-font-display); letter-spacing: .01em; }
.tm-bfpop__title span { display: block; }
.tm-bfpop__title span:first-child { color: #fff; text-shadow: 3px 3px 0 #c20b0b; }
.tm-bfpop__title span:last-child {
	background: linear-gradient(100deg, #de993e 0%, #ffe3a3 30%, #de993e 45%, #c20b0b 70%, #de993e 100%);
	background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
	animation: tmBfShine 3s linear infinite;
}
@keyframes tmBfShine { to { background-position: -250% 0; } }
.tm-bfpop__lead { margin: 10px 0 6px; font: 400 16px/1.35 var(--tm-font-body); color: rgba(255, 255, 255, .85); }
.tm-bfpop__lead strong { color: #ffd37a; font-weight: 800; font-size: 1.15em; }
.tm-bfpop__clock { margin: 0; font: 600 14px/1.3 var(--tm-font-body); color: rgba(255, 255, 255, .7); }
.tm-bfpop__clock span { display: inline-block; margin-left: 4px; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; font: 700 16px/1.2 var(--tm-font-display); font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.tm-bfpop__spark { position: absolute; color: #ffd37a; pointer-events: none; animation: tmBfTwinkle 1.8s ease-in-out infinite; }
.tm-bfpop__spark--1 { top: 14px; left: 160px; font-size: 18px; }
.tm-bfpop__spark--2 { bottom: 4px; left: 18px; font-size: 14px; animation-delay: .6s; }
.tm-bfpop__spark--3 { top: 18px; right: 60px; font-size: 12px; animation-delay: 1.1s; }
@keyframes tmBfTwinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(45deg); } }

/* Cinta de productos en descuento */
.tm-bfpop__shelf { overflow: hidden; padding: 14px 0 4px; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tm-bfpop__track { display: flex; gap: 12px; width: max-content; padding: 0 12px; animation: tmBfTicker 32s linear infinite; }
.tm-bfpop__track.is-static { animation: none; width: auto; justify-content: center; }
.tm-bfpop__shelf:hover .tm-bfpop__track { animation-play-state: paused; }
.tm-bfpop__card {
	flex: 0 0 140px; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 16px; text-decoration: none !important;
	background: #fff; color: #2b1d26 !important; transition: transform .3s var(--tm-spring);
}
.tm-bfpop__card:hover { transform: translateY(-5px) rotate(-1deg); }
.tm-bfpop__img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f6f1f3; }
.tm-bfpop__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tm-bfpop__off { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: #c20b0b; color: #fff; font: 700 13px/1.3 var(--tm-font-display); }
.tm-bfpop__name { font: 700 12px/1.25 var(--tm-font-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.tm-bfpop__price { font: 700 14px/1.2 var(--tm-font-display); }
.tm-bfpop__price del { color: #8a7a83; font-weight: 400; font-size: 12px; margin-right: 2px; }
.tm-bfpop__price ins { text-decoration: none; color: #c20b0b; }

/* Botones */
.tm-bfpop__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; padding: 16px 22px 22px; }
.tm-bfpop__btn {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 30px; border-radius: 99px;
	background: #c20b0b; color: #fff !important; text-decoration: none !important; font: 700 17px/1 var(--tm-font-display);
	box-shadow: 0 10px 24px -8px rgba(194, 11, 11, .9); transition: transform .3s var(--tm-spring), background .2s;
}
.tm-bfpop__btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); animation: tmBfSweep 2.6s ease-in-out infinite; }
@keyframes tmBfSweep { 0%, 40% { left: -60%; } 100% { left: 130%; } }
.tm-bfpop__btn:hover { transform: scale(1.05); background: #de2a1a; }
.tm-bfpop__btn span { transition: transform .3s; }
.tm-bfpop__btn:hover span { transform: translateX(4px); }
.tm-bfpop__later { border: 0; background: none; color: rgba(255, 255, 255, .7); font: 600 15px/1 var(--tm-font-body); text-decoration: underline; cursor: pointer; padding: 8px; }
.tm-bfpop__later:hover { color: #fff; }

@media (max-width: 600px) {
	.tm-bfpop { padding: 12px; }
	.tm-bfpop__head { grid-template-columns: 108px 1fr; gap: 12px; padding: 18px 16px 4px; }
	.tm-bfpop__x { top: 40px; right: 8px; width: 34px; height: 34px; }
	.tm-bfpop__intro { padding-right: 28px; }
	.tm-bfpop__title { font-size: 40px; }
	.tm-bfpop__lead { font-size: 14px; }
	.tm-bfpop__spark--1 { left: 100px; }
	.tm-bfpop__card { flex-basis: 118px; }
	.tm-bfpop__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.tm-bfpop *, .tm-bfpop__dialog { animation: none !important; }
	.tm-bfpop__shelf { overflow-x: auto; }
}

/* ===== ACTUALIZACIÓN 23 · Portada en modo Black Friday (solo 27-nov-2026) ===== */
body.tormi .tm-hero--bf { background: radial-gradient(90% 120% at 75% 30%, #3a0a0f 0%, #140709 55%, #0b0405 100%) !important; }
body.tormi .tm-hero--bf::before { opacity: .12; filter: invert(1); }
body.tormi .tm-hero--bf .tm-hero__bfpill {
	display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 99px; background: #de993e; color: #2b1d26;
	font: 700 14px/1.2 var(--tm-font-display); text-transform: uppercase; letter-spacing: .08em; animation: tmBfPulse 1.2s ease-in-out infinite;
}
body.tormi .tm-hero--bf .tm-hero__title,
body.tormi .tm-hero--bf .tm-hero__title > span,
body.tormi .tm-hero--bf .tm-hero__title > span .tm-w > span { color: #fff; text-shadow: 4px 4px 0 #c20b0b; }
body.tormi .tm-hero--bf .tm-hero__title em,
body.tormi .tm-hero--bf .tm-hero__title em .tm-w > span { color: #de993e; -webkit-text-stroke: 0; text-shadow: none; }
body.tormi .tm-hero--bf .tm-hero__lead { color: rgba(255, 255, 255, .88); font-weight: 600; }
body.tormi .tm-hero--bf .tm-hero__lead strong { color: #ffd37a; font-weight: 800; }
body.tormi .tm-hero--bf .tm-blob { background: radial-gradient(circle, rgba(194, 11, 11, .55) 0%, rgba(194, 11, 11, .15) 60%, transparent 75%); animation: tmBfBlob 2.4s ease-in-out infinite; }
@keyframes tmBfBlob { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
body.tormi .tm-hero--bf .tm-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
body.tormi .tm-hero--bf .tm-float__tag i { color: #c20b0b; }
@media (prefers-reduced-motion: reduce) {
	body.tormi .tm-hero--bf .tm-hero__bfpill, body.tormi .tm-hero--bf .tm-blob { animation: none; }
}

/* ===== ACTUALIZACIÓN 24 · Inicio: cinta de ofertas en movimiento (reemplaza la de categorías mientras haya ofertas) ===== */
body.tormi .tm-offers {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--tm-ink); color: #fff; padding: 22px 0 26px;
	border-top: 4px solid #de993e;
}
body.tormi .tm-offers::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: var(--tm-pattern); background-size: 190px 190px; opacity: .08; filter: invert(1);
}
body.tormi .tm-offers__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
body.tormi .tm-offers__tormi { width: 64px; height: auto; flex: 0 0 auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); animation: tmOfferWave 2.8s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes tmOfferWave { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-3px); } }
body.tormi .tm-offers__titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body.tormi .tm-offers__kicker {
	align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: #c20b0b; color: #fff;
	font: 700 12px/1.3 var(--tm-font-display); letter-spacing: .08em; text-transform: uppercase;
}
body.tormi .tm-offers__title { margin: 0; color: #fff; font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--tm-font-display); }
body.tormi .tm-offers__all {
	margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 99px;
	background: #de993e; color: #2b1d26 !important; text-decoration: none !important; font: 700 15px/1 var(--tm-font-display);
	transition: transform .3s var(--tm-spring), background .2s;
}
body.tormi .tm-offers__all:hover { transform: scale(1.05); background: #fff; }
body.tormi .tm-offers__all span { transition: transform .3s; }
body.tormi .tm-offers__all:hover span { transform: translateX(4px); }

body.tormi .tm-offers__rail { overflow: hidden; padding: 14px 0 6px; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
body.tormi .tm-offers__track { display: flex; gap: 16px; width: max-content; padding-left: 16px; animation: tm-marquee 70s linear infinite; }
body.tormi .tm-offers__rail:hover .tm-offers__track { animation-play-state: paused; }

body.tormi .tm-offer {
	position: relative; flex: 0 0 280px; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
	background: #fff; border-radius: 20px; color: #2b1d26 !important; text-decoration: none !important;
	box-shadow: 0 0 0 3px transparent; transition: transform .35s var(--tm-spring), box-shadow .2s;
}
body.tormi .tm-offer:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 0 0 3px #de993e; }
/* Etiqueta de descuento tipo sticker, en la esquina: no tapa la foto ni el texto */
body.tormi .tm-offer__pct {
	position: absolute; top: -11px; right: 12px; z-index: 1; padding: 3px 10px; border-radius: 10px;
	background: #c20b0b; color: #fff; border: 2px solid #fff; transform: rotate(4deg);
	font: 700 14px/1.2 var(--tm-font-display); box-shadow: 0 4px 10px -3px rgba(0, 0, 0, .5);
}
body.tormi .tm-offer__img { flex: 0 0 78px; width: 78px; height: 78px; border-radius: 14px; overflow: hidden; background: #f6f1f3; }
body.tormi .tm-offer__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.tormi .tm-offer__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 8px; }
body.tormi .tm-offer__name { font: 700 14px/1.25 var(--tm-font-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.tormi .tm-offer__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
body.tormi .tm-offer__price ins { text-decoration: none; color: #c20b0b; font: 700 19px/1 var(--tm-font-display); }
body.tormi .tm-offer__price del { color: #8a7a83; font: 400 13px/1 var(--tm-font-body); }
body.tormi .tm-offer__price .woocommerce-Price-amount { color: inherit; font: inherit; }

@media (max-width: 767px) {
	body.tormi .tm-offers { padding: 18px 0 20px; }
	body.tormi .tm-offers__head { gap: 10px; }
	body.tormi .tm-offers__tormi { width: 48px; }
	body.tormi .tm-offers__title { font-size: 20px; }
	body.tormi .tm-offers__all { padding: 9px 12px; font-size: 14px; }
	body.tormi .tm-offer { flex-basis: 240px; }
	body.tormi .tm-offer__img { flex-basis: 66px; width: 66px; height: 66px; }
	body.tormi .tm-offers__track { animation-duration: 55s; }
}
@media (prefers-reduced-motion: reduce) {
	body.tormi .tm-offers__track, body.tormi .tm-offers__tormi { animation: none; }
	body.tormi .tm-offers__rail { overflow-x: auto; }
}
