/*
Theme Name: OZ Thema 4.0 — Terran
Description: Tema hijo de OZ-Thema-4.0 para Terran. Aquí vive la identidad del cliente: cabecera y pie con el diseño del tema anterior, fuente Unbounded, colores de marca y overrides visuales. El tema padre queda neutro y reutilizable.
Author: Ozado
Template: OZ-Thema-4.0
Version: 1.0.0
Requires PHP: 8.0
Text Domain: oz-tema-4-child
*/

/* =========================================================================
   MARCA DEL CLIENTE
   El tema padre expone estas dos variables NEUTRAS. Aquí van los colores
   de Terran (negro + naranja). Esta hoja se carga después del CSS del padre,
   así que gana sobre el Personalizador.
   ========================================================================= */
:root {
	--oz-brand-primary: #000000;  /* Negro: cabecera, pie y paneles laterales */
	--oz-brand-accent:  #e74520;  /* Naranja: menú activo, iconos, títulos del pie */
	--tr-font-display: 'Unbounded', sans-serif;
}

/* Ancho del contenido igual al del tema anterior (.container: 1400 px con 16 px
   de margen interior). Lo lee el Maquetador en .oz-pb-inner--theme. */
:root {
	--oz-container-pc: 1400px;
	--oz-container-laptop: 1400px;
	--oz-container-tablet-h: 1024px;
	--oz-container-tablet-v: 768px;
	--oz-container-mobile: 480px;
}
/* =========================================================================
   OVERRIDES ADICIONALES DEL CLIENTE
   Esta hoja se carga DESPUÉS del CSS del padre, así que gana sin !important.
   ========================================================================= */

/* Precio mayorista en la ficha de producto (del tema anterior). */
.tr-mayorista {
	margin: 0 0 1.5rem;
	padding: .85rem 1rem;
	border-left: 4px solid var(--oz-brand-accent, #e74520);
	border-radius: 6px;
	background: #f7f6f4;
}
.tr-mayorista__precio {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .4rem .55rem;
	margin: 0;
	line-height: 1.2;
}
.tr-mayorista__label {
	color: #555;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.tr-mayorista__valor { color: #000; font-size: 21px; font-weight: 700; }
.tr-mayorista__desde {
	padding: .12rem .5rem;
	border-radius: 999px;
	background: #c93d1c; /* naranja oscurecido: texto blanco con contraste AA */
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.tr-mayorista__nota {
	margin: .5rem 0 0;
	padding-top: .5rem;
	border-top: 1px dashed #ddd;
	color: #5f5f5f;
	font-size: 12px;
	font-style: italic;
	line-height: 1.45;
}

/* Texto largo de categorías y marcas, al final del listado de productos. */
.tr-term-descripcion {
	margin: 3rem 0 1rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e5e5;
	color: #222;
	font-size: 16px;
	line-height: 1.7;
}
.tr-term-descripcion h2 { font-size: 24px; margin: 1.5em 0 .6em; }
.tr-term-descripcion h3 { font-size: 20px; margin: 1.3em 0 .5em; }
.tr-term-descripcion a,
.tr-tienda__intro a { color: #b8361a; text-decoration: underline; text-underline-offset: 2px; }

/* Tablas dentro de entradas y páginas de texto (del «CSS adicional» del sitio anterior). */
.entry-content table:not(.shop_table):not(.variations):not(.woocommerce-table) {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}
.entry-content table:not(.shop_table):not(.variations):not(.woocommerce-table) th,
.entry-content table:not(.shop_table):not(.variations):not(.woocommerce-table) td {
	padding: 10px;
	border: 0;
	background: #fff;
	box-shadow: inset 0 0 0 1px #d9d9d9;
	vertical-align: top;
}

/* Títulos y enlaces en Unbounded, como en el diseño anterior. */
h1, h2, h3, h4 {
	font-family: var(--tr-font-display);
	line-height: 1.3;
}

/* =========================================================================
   CABECERA, PANELES LATERALES Y PIE
   Copia del diseño que el sitio tenía con su tema anterior («ozado»).
   Marcado en template-parts/site-header.php y footer.php; JS en assets/js/cabecera.js.
   PC desde 1200 px; por debajo, logo + botones y el buscador a todo el ancho.
   ========================================================================= */
.tr-hdr *, .tr-offcanvas *, .oz-cat-drawer *, .tr-ftr *, .tr-popup * { box-sizing: border-box; }
body.tr-panel-lock { overflow: hidden; }

/* ----- Cabecera ----- */
.tr-hdr {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #000;
	color: #fff;
	transition: transform .35s ease;
}
.admin-bar .tr-hdr { top: 32px; }
body.tr-hdr-hidden .tr-hdr { transform: translateY(-100%); }
body.tr-panel-lock .tr-hdr { transform: none; }

.tr-hdr__bar {
	display: grid;
	grid-template-columns: auto auto 1fr auto auto;
	grid-template-areas: "cats logo nav search cart";
	align-items: center;
	column-gap: 1rem;
	padding: 25px 32px;
}

.tr-hdr__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 4px;
	margin: 0;
	background: transparent;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	color: var(--oz-brand-accent);
}
.tr-hdr__icon:focus-visible,
.tr-hdr a:focus-visible,
.tr-offcanvas a:focus-visible,
.tr-offcanvas button:focus-visible,
.oz-cat-drawer a:focus-visible,
.oz-cat-drawer button:focus-visible {
	outline: 2px solid var(--oz-brand-accent);
	outline-offset: 2px;
}
.tr-hdr__icon--cats { grid-area: cats; margin-left: -4px; }
.tr-hdr__icon--list { color: #fff; }

.tr-hdr__logo { grid-area: logo; line-height: 0; }
.tr-hdr__logo .custom-logo-link { display: inline-block; }
.tr-hdr__logo img {
	display: block;
	width: 256px;
	max-width: 100%;
	height: auto;
}
.tr-hdr__site-name { color: #fff; font-family: var(--tr-font-display); font-size: 22px; line-height: 1.2; text-decoration: none; }

/* Menú (PC) */
.tr-hdr__nav { grid-area: nav; align-self: stretch; margin-left: 1rem; }
.tr-hdr__menu {
	display: flex;
	justify-content: center;
	align-items: stretch;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tr-hdr__menu > li {
	position: static;
	display: flex;
	align-items: center;
}
.tr-hdr__menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 20px 10px;
	color: #fff;
	font-family: var(--tr-font-display);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	transition: color .2s ease;
}
.tr-hdr__menu a:hover,
.tr-hdr__menu > .current-menu-item > a,
.tr-hdr__menu > .current-menu-ancestor > a { color: var(--oz-brand-accent); }
.tr-hdr__menu > .menu-item-has-children > a::after {
	content: "";
	flex: 0 0 auto;
	width: 9px;
	height: 6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Desplegables: pegados al borde inferior de la barra, fondo negro. */
.tr-hdr__menu .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% - 25px);
	z-index: 20;
	margin: 0;
	padding: 1rem;
	list-style: none;
	background: #000;
	gap: 16px;
}
.tr-hdr__menu > li:hover > .sub-menu,
.tr-hdr__menu > li:focus-within > .sub-menu { display: grid; }
.tr-hdr__menu .sub-menu a {
	display: block;
	width: 200px;
	margin: 0 auto;
	padding: 8px;
	border: 1px solid rgba(221, 221, 221, .3);
	color: #cdcdcd;
	font-size: 14px;
	text-align: center;
}
.tr-hdr__menu .sub-menu a:hover,
.tr-hdr__menu .sub-menu .current-menu-item > a { color: var(--oz-brand-accent); border-color: var(--oz-brand-accent); }

/* Marcas: 3 columnas centradas bajo la cabecera (clase «tr-mega» en Apariencia → Menús). */
.tr-hdr__menu > .tr-mega > .sub-menu {
	left: 0;
	right: 0;
	width: 55%;
	margin: 0 auto;
	padding: 2rem;
	grid-template-columns: repeat(3, 1fr);
}

/* Buscador (cabecera y barra lateral del blog) */
.tr-hdr__search { grid-area: search; width: 200px; margin-left: 1rem; }
:is(.tr-hdr__search, .tr-blog__lateral) .ozpls-figma__form {
	position: relative;
	display: flex;
	align-items: center;
	height: 46px;
	margin: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
}
:is(.tr-hdr__search, .tr-blog__lateral) .ozpls-figma__bar { flex: 1 1 auto; min-width: 0; height: 100%; }
:is(.tr-hdr__search, .tr-blog__lateral) .ozpls-figma__input {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 44px 0 22px;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #222;
	font-size: 13px;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
:is(.tr-hdr__search, .tr-blog__lateral) .ozpls-figma__input::placeholder { color: #595959; opacity: 1; }
:is(.tr-hdr__search, .tr-blog__lateral) .ozpls-figma__input::-webkit-search-cancel-button { display: none; }
:is(.tr-hdr__search, .tr-blog__lateral) .ozpls-figma__form:focus-within { outline: 2px solid var(--oz-brand-accent); outline-offset: 1px; }
:is(.tr-hdr__search, .tr-blog__lateral) .ozpls-figma__btn {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}
:is(.tr-hdr__search, .tr-blog__lateral) .ozpls-figma__btnText {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
:is(.tr-hdr__search, .tr-blog__lateral) .ozpls-figma__btn::after {
	content: "";
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5l5 5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tr-hdr__search .oz-ls__panel { left: auto; right: 0; width: min(380px, calc(100vw - 32px)); }

/* Carrito */
.tr-hdr__cart {
	grid-area: cart;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 5px 20px;
	border: 1px solid #fff;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
}
.tr-hdr__cart:hover { border-color: var(--oz-brand-accent); color: var(--oz-brand-accent); }
.tr-hdr__cart-count {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	border-radius: 10px;
	background: #d40000;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

.tr-hdr__mbtns { display: none; }

@media (max-width: 1520px) {
	.tr-hdr__nav { margin-left: 0; }
	.tr-hdr__search { margin-left: 0; }
}

/* ----- Tablet y móvil ----- */
@media (max-width: 1199.98px) {
	.tr-hdr__bar {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"logo mbtns"
			"search search";
		row-gap: 1rem;
		padding: 1.5rem;
	}
	.tr-hdr__icon--cats,
	.tr-hdr__nav,
	.tr-hdr__cart { display: none; }
	.tr-hdr__mbtns {
		grid-area: mbtns;
		display: flex;
		align-items: center;
		gap: .75rem;
	}
	.tr-hdr__logo img { width: 240px; }
	.tr-hdr__search { width: 100%; }
	.tr-hdr__search .oz-ls__panel { left: 0; width: auto; }
}
@media (max-width: 782px) {
	.admin-bar .tr-hdr { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .tr-hdr { top: 0; }
}
@media (max-width: 575.98px) {
	.tr-hdr__bar { padding: 1rem; column-gap: .5rem; }
	.tr-hdr__logo img { width: 180px; }
	.tr-hdr__mbtns { gap: .25rem; }
}

/* ----- Panel lateral del menú (tablet y móvil) ----- */
.tr-offcanvas {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
}
.tr-offcanvas { transition: visibility 0s linear .3s; }
.tr-offcanvas.is-open { visibility: visible; transition-delay: 0s; }
.tr-offcanvas__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .65);
	opacity: 0;
	transition: opacity .3s ease;
}
.tr-offcanvas.is-open .tr-offcanvas__backdrop { opacity: 1; }
.tr-offcanvas__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: min(320px, 86vw);
	display: flex;
	flex-direction: column;
	padding: 1rem 1rem 2rem;
	background: #000;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform .3s ease;
}
.tr-offcanvas.is-open .tr-offcanvas__panel { transform: translateX(0); }
.tr-offcanvas__close {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 0 1rem;
	padding: 0;
	background: var(--oz-brand-accent);
	border: 0;
	color: #000;
	cursor: pointer;
}
.tr-offcanvas__menu,
.tr-offcanvas__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.tr-offcanvas__menu > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid rgba(221, 221, 221, .35);
}
.tr-offcanvas__menu > li > a {
	flex: 1 1 auto;
	display: block;
	padding: 14px 10px;
	color: #fff;
	font-family: var(--tr-font-display);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.3;
	text-decoration: none;
}
.tr-offcanvas__menu a:hover,
.tr-offcanvas__menu .current-menu-item > a { color: var(--oz-brand-accent); }
.tr-offcanvas__sub-toggle {
	flex: 0 0 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
}
.tr-offcanvas__sub-toggle svg { transition: transform .2s ease; }
.tr-offcanvas__menu .is-expanded > .tr-offcanvas__sub-toggle svg { transform: rotate(180deg); }
.tr-offcanvas__menu .sub-menu {
	flex: 1 0 100%;
	padding: 0 0 10px 12px;
}
.tr-offcanvas__menu .sub-menu a {
	display: block;
	padding: 9px 10px;
	color: #cdcdcd;
	font-size: 14px;
	text-decoration: none;
}

/* ----- Panel lateral de categorías ----- */
.oz-cat-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	pointer-events: none;
}
.oz-cat-drawer { transition: visibility 0s linear .28s; }
.oz-cat-drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.oz-cat-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .65);
	opacity: 0;
	transition: opacity .25s ease;
}
.oz-cat-drawer.is-open .oz-cat-drawer__overlay { opacity: 1; }
.oz-cat-drawer__panel {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: min(340px, 86vw);
	display: flex;
	flex-direction: column;
	background: #000;
	box-shadow: 2px 0 24px rgba(0, 0, 0, .35);
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform .28s ease;
}
.oz-cat-drawer.is-open .oz-cat-drawer__panel { transform: translateX(0); }
.oz-cat-drawer__head {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	background: #000;
	border-bottom: 1px solid rgba(221, 221, 221, .2);
	color: #fff;
}
.oz-cat-drawer__title { font-family: var(--tr-font-display); font-size: 17px; font-weight: 500; }
.oz-cat-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: var(--oz-brand-accent);
	border: 0;
	color: #000;
	cursor: pointer;
}
.oz-cat-drawer__list { list-style: none; margin: 0; padding: 6px 0; }
.oz-cat-item { border-bottom: 1px solid rgba(221, 221, 221, .2); }
.oz-cat-item__row { display: flex; align-items: stretch; }
.oz-cat-item__link {
	flex: 1 1 auto;
	display: block;
	padding: 13px 18px;
	color: #fff;
	font-family: var(--tr-font-display);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.3;
	text-decoration: none;
}
.oz-cat-item__link:hover { color: var(--oz-brand-accent); }
.oz-cat-item__toggle {
	flex: 0 0 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-left: 1px solid rgba(221, 221, 221, .2);
	color: #fff;
	cursor: pointer;
}
.oz-cat-item__toggle svg { transition: transform .2s ease; }
.oz-cat-item.is-expanded > .oz-cat-item__row .oz-cat-item__toggle svg { transform: rotate(180deg); }
.oz-cat-item__sub { list-style: none; margin: 0; padding: 0 0 8px; }
.oz-cat-item__sub a {
	display: block;
	padding: 9px 18px 9px 32px;
	color: #cdcdcd;
	font-size: 14px;
	text-decoration: none;
}
.oz-cat-item__sub a:hover { color: var(--oz-brand-accent); }

/* ----- Pie ----- */
.tr-ftr {
	position: relative;
	background: #000;
	color: #b9b9b9;
}
/* Franja de textura arriba (la misma imagen del tema anterior). */
.tr-ftr::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 295px;
	background: url("/wp-content/uploads/2025/09/Footer-fondo.webp") no-repeat center top / cover;
	opacity: .4;
	pointer-events: none;
}
.tr-ftr__container {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1rem;
}
.tr-ftr__cols {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
	gap: 2.5rem;
	padding: 6rem 0 4rem;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.tr-ftr__logo { display: inline-block; margin-bottom: 1.25rem; line-height: 0; }
.tr-ftr__logo img { display: block; width: 180px; height: auto; }
.tr-ftr__about {
	max-width: 380px;
	margin: 0 0 1.5rem;
	color: #b9b9b9;
	font-size: 14px;
	line-height: 1.7;
}
.tr-ftr__social { display: flex; gap: .65rem; }
.tr-ftr__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: background .25s ease, color .25s ease, transform .25s ease;
}
.tr-ftr__social a:hover { background: var(--oz-brand-accent); color: #000; transform: translateY(-2px); }
.tr-ftr__title {
	position: relative;
	margin: 0 0 1.25rem;
	padding-bottom: .65rem;
	color: #fff;
	font-family: var(--tr-font-display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}
.tr-ftr__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 38px;
	height: 3px;
	border-radius: 2px;
	background: var(--oz-brand-accent);
}
.tr-ftr__links {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tr-ftr__links a {
	display: inline-block;
	padding: 6px 0;
	color: #c2c2c2;
	font-family: var(--tr-font-display);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.3;
	text-decoration: none;
	transition: color .2s ease, padding-left .2s ease;
}
.tr-ftr__links a:hover { color: var(--oz-brand-accent); padding-left: 5px; }
.tr-ftr__claims { display: inline-block; margin-top: .75rem; transition: transform .2s ease; }
.tr-ftr__claims:hover { transform: translateY(-2px); }
.tr-ftr__claims img { display: block; width: 130px; height: auto; border-radius: 6px; }
.tr-ftr__contact {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tr-ftr__contact li { display: flex; flex-direction: column; gap: .15rem; }
.tr-ftr__label {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.tr-ftr__contact a,
.tr-ftr__contact span:not(.tr-ftr__label) {
	color: #c2c2c2;
	font-family: var(--tr-font-display);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
	text-decoration: none;
}
.tr-ftr__contact a { display: inline-block; padding: 4px 0; }
.tr-ftr__contact a:hover { color: var(--oz-brand-accent); }
.tr-ftr__bottom {
	padding: 1.5rem 0;
	color: #8a8a8a;
	font-size: 14px;
	text-align: center;
}
.tr-ftr__bottom a { color: #8a8a8a; }
.tr-ftr__bottom a:hover { color: var(--oz-brand-accent); }
.tr-ftr a:focus-visible { outline: 2px solid var(--oz-brand-accent); outline-offset: 2px; }

@media (max-width: 991.98px) {
	.tr-ftr__cols {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem 2rem;
		padding: 4rem 0 3rem;
	}
}
@media (max-width: 575.98px) {
	.tr-ftr__cols {
		grid-template-columns: 1fr;
		gap: 2.25rem;
		text-align: center;
	}
	.tr-ftr__logo img { margin: 0 auto; }
	.tr-ftr__about { max-width: none; }
	.tr-ftr__social { justify-content: center; }
	.tr-ftr__title::after { left: 50%; transform: translateX(-50%); }
	.tr-ftr__links { align-items: center; }
	.tr-ftr__contact li { align-items: center; }
}

/* ----- Botón flotante de WhatsApp ----- */
.tr-whatsapp {
	position: fixed;
	right: 13px;
	bottom: 12%;
	z-index: 999;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #25d365;
	color: #fff;
	animation: tr-whatsapp-pulse 1.5s infinite;
	transition: transform .3s ease, background .3s ease, color .3s ease;
}
.tr-whatsapp:hover { background: #fff; color: #25d365; transform: scale(1.1); }
@keyframes tr-whatsapp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .85); }
	100% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* ----- Popup promocional (abajo a la derecha) ----- */
.tr-popup {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9998;
	width: 340px;
	max-width: 85vw;
	opacity: 0;
	transform: translateY(15px);
	transition: opacity .35s ease, transform .35s ease;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .35));
}
.tr-popup[hidden] { display: none; }
.tr-popup.is-visible { opacity: 1; transform: translateY(0); }
.tr-popup__link,
.tr-popup__img { display: block; width: 100%; height: auto; border-radius: 10px; }
.tr-popup__close {
	position: absolute;
	top: -14px;
	right: -14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #000;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
	transition: background .2s ease, transform .2s ease;
}
.tr-popup__close:hover { background: var(--oz-brand-accent); transform: scale(1.08); }
@media (max-width: 575.98px) {
	.tr-popup { width: 250px; right: 12px; bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
	.tr-hdr, .tr-offcanvas__panel, .tr-offcanvas__backdrop, .oz-cat-drawer__panel, .oz-cat-drawer__overlay, .tr-popup { transition: none; }
	.tr-whatsapp { animation: none; }
}

/* =========================================================================
   TIENDA Y COMPONENTES (del hijo estándar de OZ-Thema-4.0)
   Carrito lateral y página del carrito de OZ-Cotizador, ficha de producto,
   sliders y marcas. Toman el naranja de Terran desde --oz-brand-accent.
   ========================================================================= */

/* ===== Sidecart (cajón lateral) del cotizador con los colores de la marca =====
   El plugin trae paleta de otra marca (rojo #bc0811 + azul #001E50).
   Acento (rojo) → naranja la marca; estructura (azul) → oscuro la marca. */
body .ozc-sidecart {
	--ozc-sc-accent:      var(--oz-brand-accent, #5b6672);
	--ozc-sc-accent-dark: color-mix(in srgb, var(--oz-brand-accent, #5b6672) 82%, #000);
	--ozc-sc-line:        var(--oz-brand-accent, #5b6672);
	--ozc-sc-yellow:      var(--oz-brand-accent, #5b6672);
	--ozc-sc-yellow-dark: color-mix(in srgb, var(--oz-brand-accent, #5b6672) 82%, #000);
	--ozc-sc-wa:          var(--oz-brand-accent, #5b6672);
	--ozc-sc-wa-dark:     color-mix(in srgb, var(--oz-brand-accent, #5b6672) 82%, #000);
}
.ozc-sidecart .ozc-sidecart__header { background: #111111; }
.ozc-sidecart .ozc-sidecart__btn--cart {
	background: #111111;
	border-color: #111111;
	box-shadow: 0 2px 8px rgba(17, 17, 17, .35);
}
.ozc-sidecart .ozc-sidecart__btn--cart:hover { background: #262626; border-color: #262626; }
.ozc-sidecart .ozc-sidecart__btn--continue { border-color: #111111; color: #111111; }
.ozc-sidecart .ozc-sidecart__btn--continue:hover { border-color: #111111; color: #111111; }
.ozc-sidecart .ozc-sidecart-item__remove { background-color: #111111; }
.ozc-sidecart .ozc-sidecart__btn--quote { box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }

/* ===== Carrito Cotizador (página /cart/) con los colores de la marca =====
   quote-cart.css trae paleta de otra marca (azul #004674 + amarillo #f7d022)
   definida como variables en .ozc-quote-cart. Re-mapeo la marca:
   amarillo (CTA principal) → naranja de marca; azul (estructura: botón correo,
   steppers, bordes) → negro la marca. El verde de WhatsApp se conserva. */
body .ozc-quote-cart {
	--ozc-bg:          #f6f6f6;                  /* fondo neutro, sin tinte azul */
	--ozc-border:      rgba(17, 17, 17, 0.13);
	--ozc-border-soft: rgba(17, 17, 17, 0.07);
	--ozc-accent:      #141414;
	--ozc-accent-dark: #000000;
	--ozc-accent-line: var(--oz-brand-accent, #5b6672);
	--ozc-yellow:      var(--oz-brand-accent, #5b6672);                  /* CTA (badges de paso, botón WhatsApp) */
	--ozc-yellow-dark: color-mix(in srgb, var(--oz-brand-accent, #5b6672) 82%, #000);
	--ozc-shadow:      0 1px 4px rgba(0, 0, 0, 0.07), 0 6px 20px rgba(0, 0, 0, 0.04);
}
/* Los badges de paso (1·2·3) y el CTA sobre naranja necesitan texto blanco */
body .ozc-quote-cart .ozc-step { color: #ffffff; }
body .ozc-quote-cart .ozc-quote-cart__btn--primary,
body .ozc-quote-cart .ozc-quote-cart__btn--primary:hover { color: #ffffff !important; }

/* ===== Cards Misión/Visión/Valores (Nosotros) — .oz-hover-info-card =====
   Componente Icono+Texto del maquetador (clases reales: .oz-pb-icon-text,
   .oz-pb-it__icon, .oz-pb-it__title, .oz-pb-it__desc). Aplica solo a los
   componentes con la clase "oz-hover-info-card" + modificador de color:
     --negro | --naranja | --claro

   ARQUITECTURA (móvil primero):
   · BASE (todos los dispositivos): todo visible y en flujo — icono, título
     y descripción. Ningún hover. Es el comportamiento de móvil/táctil.
   · @media (hover:hover) and (pointer:fine) → SOLO con mouse real (desktop
     y laptop): sistema de 2 estados. Normal = icono+título; hover = SOLO la
     descripción (capa absoluta centrada). En táctil este bloque nunca corre,
     así que un tap/deslizar no puede activar estados raros.
   · Los media por ancho (1440/1024/767) solo ajustan TAMAÑOS. */
.oz-hover-info-card { --hic-bg: #141414; --hic-text: #ffffff; }
.oz-hover-info-card--naranja { --hic-bg: var(--oz-brand-accent, #5b6672); }
.oz-hover-info-card--claro   { --hic-bg: color-mix(in srgb, var(--oz-brand-accent, #5b6672) 70%, #fff); }

/* Fila: columnas pegadas (gap 0 SOLO en este grid) y estiradas → mismas alturas */
.oz-pb-grid:has(.oz-hover-info-card) {
	gap: 0 !important;
	column-gap: 0 !important;
	align-items: stretch;
}
.oz-hover-info-card { height: 100%; }

/* ── BASE: card rectangular, contenido centrado y EN FLUJO (móvil/táctil) ── */
.oz-hover-info-card .oz-pb-icon-text {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 340px;
	width: 100%;
	max-width: 100%;
	padding: 35px 24px;
	background: var(--hic-bg);
	border-radius: 0;
	text-align: center;
	box-sizing: border-box;
}
.oz-hover-info-card .oz-pb-it__icon {
	width: 112px;
	height: 112px;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border-radius: 50%;
	margin: 0 0 18px !important;
}
.oz-hover-info-card .oz-pb-it__icon img,
.oz-hover-info-card .oz-pb-it__icon svg {
	width: 54px !important;
	height: 54px !important;
	object-fit: contain;
}
.oz-hover-info-card .oz-pb-it__text { width: 100%; max-width: 100%; }
.oz-hover-info-card .oz-pb-it__title {
	margin: 0;
	color: var(--hic-text) !important;
	font-weight: 600;
	text-align: center !important;
}
/* Descripción base: visible, en flujo, centrada, sin anchos fijos de desktop */
.oz-hover-info-card .oz-pb-it__desc,
.oz-hover-info-card .oz-pb-it__desc p {
	text-align: center !important; /* nunca justificado */
	text-justify: none;
	overflow-wrap: break-word;
	word-break: normal;
}
.oz-hover-info-card .oz-pb-it__desc {
	position: static;
	width: 100%;
	max-width: 340px;
	margin: 20px auto 0;
	padding: 0;
	box-sizing: border-box;
	color: var(--hic-text);
	font-size: 14px !important; /* el panel pone 15px con más especificidad */
	font-weight: 400;
	line-height: 1.6 !important;
	opacity: 1;
	visibility: visible;
	transform: none;
}
.oz-hover-info-card .oz-pb-it__desc p { margin: 0; }

/* ── DOS ESTADOS: SOLO dispositivos con mouse real (desktop + laptop).
   En táctil (hover:none / pointer:coarse) nada de esto existe. ── */
@media (hover: hover) and (pointer: fine) {
	.oz-hover-info-card .oz-pb-icon-text { overflow: hidden; }

	/* Capa 1: icono + título (visibles en reposo, se desvanecen en hover) */
	.oz-hover-info-card .oz-pb-it__icon,
	.oz-hover-info-card .oz-pb-it__title {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition: opacity .35s ease, transform .35s ease, visibility 0s;
	}
	.oz-hover-info-card:hover .oz-pb-it__icon,
	.oz-hover-info-card:hover .oz-pb-it__title {
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
	}

	/* Capa 2: descripción como capa absoluta que ocupa TODA la card,
	   centrada vertical y horizontalmente. Oculta en reposo.
	   El ancho del texto se limita con padding lateral (mín. 24px,
	   y crece para dejar el texto a máx. ~320px) — sin left/translateX. */
	.oz-hover-info-card .oz-pb-it__desc {
		position: absolute;
		inset: 0;
		width: auto;
		max-width: none;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin: 0;
		padding-left: max(24px, calc((100% - 320px) / 2));
		padding-right: max(24px, calc((100% - 320px) / 2));
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
	}
	.oz-hover-info-card:hover .oz-pb-it__desc {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition: opacity .35s ease, transform .35s ease, visibility 0s;
	}
}

/* ── LAPTOP (1025–1440px): solo tamaños; el sistema de 2 estados de arriba
   sigue activo porque la laptop tiene mouse (hover:hover + pointer:fine). ── */
@media (min-width: 1025px) and (max-width: 1440px) {
	.oz-hover-info-card .oz-pb-icon-text { min-height: 320px; padding: 25px 35px; }
	.oz-hover-info-card .oz-pb-it__icon { width: 90px; height: 90px; margin-bottom: 18px !important; }
	.oz-hover-info-card .oz-pb-it__icon img,
	.oz-hover-info-card .oz-pb-it__icon svg { width: 44px !important; height: 44px !important; }
	.oz-hover-info-card .oz-pb-it__title { font-size: 18px !important; }
	.oz-hover-info-card .oz-pb-it__desc { font-size: 13px !important; line-height: 1.5 !important; }
}

/* ── TABLET (768–1024px): solo tamaños. En tablet táctil el bloque de hover
   no corre → todo visible en flujo y la card crece con su contenido. ── */
@media (min-width: 768px) and (max-width: 1024px) {
	.oz-hover-info-card .oz-pb-icon-text { min-height: 300px; height: auto; padding: 30px 24px; }
	.oz-hover-info-card .oz-pb-it__icon { width: 84px; height: 84px; }
	.oz-hover-info-card .oz-pb-it__title { font-size: 17px !important; }
}

/* ── MÓVIL (≤767px): 1 card por fila (el maquetador apila), SIN hover.
   Todo visible: icono + título + descripción. La card crece con el
   contenido (min-height como piso) y nada se corta ni se desplaza. ── */
@media (max-width: 767px) {
	.oz-hover-info-card .oz-pb-icon-text {
		height: auto;
		min-height: 300px;
		padding: 38px 24px;
		overflow: visible;
	}
	.oz-hover-info-card .oz-pb-it__icon { width: 80px; height: 80px; margin-bottom: 18px !important; }
	.oz-hover-info-card .oz-pb-it__icon img,
	.oz-hover-info-card .oz-pb-it__icon svg { width: 40px !important; height: 40px !important; }
	.oz-hover-info-card .oz-pb-it__title { font-size: 16px !important; }
	.oz-hover-info-card .oz-pb-it__desc {
		position: static !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 18px auto 0 !important;
		padding: 0 !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		font-size: 14px !important;
		line-height: 1.55 !important;
	}
	/* Blindaje: aunque algo dispare :hover en un táctil, no pasa nada */
	.oz-hover-info-card:hover .oz-pb-it__icon,
	.oz-hover-info-card:hover .oz-pb-it__title,
	.oz-hover-info-card:hover .oz-pb-it__desc {
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
	}
}

/* ===== Breadcrumb del maquetador (.oz-breadcrumbs): enlace en naranja de marca ===== */
.oz-breadcrumbs a { color: var(--oz-brand-accent, #5b6672); text-decoration: none; }
.oz-breadcrumbs a:hover { color: color-mix(in srgb, var(--oz-brand-accent, #5b6672) 82%, #000); }

/* ===== Título de sección con barra naranja (.oz-heading) — reutilizable ===== */
.oz-heading { border-left: 4px solid var(--oz-brand-accent, #5b6672); padding-left: 16px; }
.oz-heading h1, .oz-heading h2, .oz-heading h3 { margin: 0 0 6px; color: #1f2937; line-height: 1.2; }
.oz-heading p { margin: 0; color: #6b7280; font-size: 15px; line-height: 1.5; }

/* ===== Slider de categorías (OZ-Sliders) — diseño la marca: tarjeta horizontal gris + botón =====
   La 3.6.11 dejó la tarjeta vertical/blanca sin botón; aquí la volvemos al look de la
   imagen: imagen a la izquierda, nombre + botón "Ver categoria" a la derecha, fondo gris. */
body .ozs--wc-categories .ozs-wc-cat {
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 22px;
	min-height: 190px;
	padding: 22px 26px;
	background: #f2f2f2;
	border: 0;
	border-radius: 4px;
	text-align: left;
	color: #2f2f2f;
}
/* Columna de imagen (izquierda) */
body .ozs--wc-categories .ozs-wc-cat__icon-wrap {
	flex: 0 0 40%;
	width: 40%;
	height: auto;
	align-self: center;
}
body .ozs--wc-categories .ozs-wc-cat__icon {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 150px;
}
body .ozs--wc-categories .ozs-wc-cat__img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 150px;
	object-fit: contain;
}
/* Columna de texto: nombre (arriba) + botón (abajo), alineado a la izquierda */
body .ozs--wc-categories .ozs-wc-cat__name {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	flex: 1 1 auto;
	min-height: 0;
	overflow: visible;
	-webkit-line-clamp: unset;
	text-align: left;
	text-wrap: initial;
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
	font-weight: 700;
	line-height: 1.15;
	color: #2f2f2f;
}
/* Botón "Ver categoria" (lo añade el CSS; la tarjeta entera ya es un enlace) */
body .ozs--wc-categories .ozs-wc-cat__name::after {
	content: "Ver categoria";
	padding: 9px 18px;
	background: var(--oz-brand-accent, #5b6672);
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	border-radius: 4px;
	white-space: nowrap;
}
/* Todas las tarjetas iguales (gris): sin hover, sin oscurecer, sin silueta naranja */
body .ozs--wc-categories .ozs-wc-cat:hover,
body .ozs--wc-categories .ozs-wc-cat:focus-visible,
body .ozs--wc-categories .ozs-wc-cat.is-current {
	background: #f2f2f2;
	color: #2f2f2f;
	transform: none;
	box-shadow: none;
}
body .ozs--wc-categories .ozs-wc-cat:hover .ozs-wc-cat__img,
body .ozs--wc-categories .ozs-wc-cat:focus-visible .ozs-wc-cat__img,
body .ozs--wc-categories .ozs-wc-cat.is-current .ozs-wc-cat__img {
	transform: none;
	filter: none;
}

/* ===== Encabezado de los SLIDERS DE PRODUCTOS (OZ-Sliders wc-products) =====
   Estiliza el header que ya genera cada carrusel (título dinámico del panel +
   flechas prev/next existentes). No toca JS, consultas ni el carrusel. */
.ozs--wc-products { position: relative; }

/* 1. Fila del título (título izquierda; las flechas van absolutas a la derecha) */
.ozs--wc-products .ozs__header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	margin: 0 0 32px;      /* 5. separación con las cards */
	padding: 0 0 12px;     /* deja sitio para la línea inferior */
}
/* 2. Título dinámico (valor del panel, no hardcodeado) */
html body .ozs--wc-products .ozs__title {
	font-family: "Roboto", -apple-system, "Segoe UI", sans-serif !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: #292929 !important;
	margin: 0 !important;
}
.ozs--wc-products .ozs__title::after { display: none; } /* quita el subrayado corto por defecto */

/* 3. Línea inferior continua: naranja 88px + gris, mismo grosor, full width */
.ozs--wc-products .ozs__header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(to right, var(--oz-brand-accent, #5b6672) 0, var(--oz-brand-accent, #5b6672) 88px, #e8e8e8 88px, #e8e8e8 100%);
}

/* 4. Flechas: mismas prev/next del slider, movidas al top-right del header */
html body .ozs.ozs--wc-products .ozs__nav {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	display: flex !important;
	align-items: center;
	gap: 4px;
	pointer-events: none;
	z-index: 5;
}
html body .ozs.ozs--wc-products:not(.ozs--banner) .ozs__nav-btn {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	width: 26px !important;
	height: 26px !important;
	min-width: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 5px !important;
	color: #777 !important;
	box-shadow: none !important;
	pointer-events: auto;
	/* El plugin fuerza background-color verde con !important (la transición lo "pega").
	   Lo cubrimos con background-image, que se pinta ENCIMA del color. */
	background-color: #f5f5f5 !important;
	background-image: linear-gradient(#f5f5f5, #f5f5f5) !important;
}
html body .ozs.ozs--wc-products:not(.ozs--banner) .ozs__nav-btn:hover,
html body .ozs.ozs--wc-products:not(.ozs--banner) .ozs__nav-btn:focus-visible {
	background-image: linear-gradient(#e8e8e8, #e8e8e8) !important;
}
html body .ozs.ozs--wc-products:not(.ozs--banner) .ozs__nav-btn::before { border-color: #777 !important; }

/* ===== Página de Marcas: grilla estática sobre el módulo wc-brands =====
   Uso: [oz_wc_brands class="brands-cards brands-grid" ...] en un bloque Texto
   del maquetador. "brands-cards" (skin del plugin) pone cada logo en tarjeta
   blanca; "brands-grid" (esto) convierte el carrusel en grilla que envuelve:
   el ancho por columna lo sigue dictando --ozs-cols (cols_desktop/laptop/
   tablet/mobile del shortcode), así que 4 columnas × 12 marcas = 3 filas,
   y en tablet/móvil re-fluye solo (3 col → 4 filas, 2 col → 6 filas). */
.ozs--wc-brands.brands-grid .ozs__track {
	flex-wrap: wrap;
	overflow-x: visible;
	scroll-snap-type: none;
}
.ozs--wc-brands.brands-grid .ozs__slide {
	scroll-snap-align: none;
}
/* Sin controles de carrusel: es una grilla fija */
.ozs--wc-brands.brands-grid .ozs__nav,
.ozs--wc-brands.brands-grid .ozs__dots {
	display: none !important;
}
/* oz-sliders.js (readConfig) tiene loop:true hardcodeado e ignora data-loop,
   así que SIEMPRE inyecta slides clonadas para el loop infinito. En una
   grilla estática esas clonadas duplican marcas: fuera. */
.ozs--wc-brands.brands-grid .ozs__slide--clone {
	display: none !important;
}

/* Tienda, ficha, carrito y cuenta en blanco, como antes (el padre las pinta de #eef1f3). */
html body.woocommerce,
html body.woocommerce-page,
html body.woocommerce .site,
html body.woocommerce-page .site,
html body.woocommerce .site-main,
html body.woocommerce-page .site-main { background: #fff; }

/* =========================================================================
   TARJETA DE PRODUCTO (tienda, relacionados y carrusel de la portada)
   Como en el sitio anterior: borde gris, radio 10, categoría y nombre en
   mayúsculas, precio, botón «+» naranja a la derecha y WhatsApp arriba a la
   derecha. Plantilla: woocommerce/content-product.php. «¡Oferta!» va arriba a
   la izquierda para no tapar el WhatsApp (antes lo tapaba).
   ========================================================================= */
html body ul.products[class] li.product.tr-card {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
	container: tr-card / inline-size;
}
html body ul.products li.product.tr-card .oz-loop-product__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}
html body ul.products li.product.tr-card .oz-loop-product__media { display: block; margin: 0 0 16px; }
html body ul.products li.product.tr-card .oz-loop-product__media img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
html body ul.products li.product.tr-card .oz-loop-product__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}
html body ul.products li.product.tr-card .oz-loop-product__category {
	min-height: 1.3em;
	margin: 0;
	padding: 0 0 5px;
	color: #6b6b6b;
	font-family: 'Unbounded', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: uppercase;
}
html body ul.products li.product.tr-card .oz-loop-product__title {
	margin: 0 0 12px;
	padding: 4px 48px 0 0;
	color: #000;
	font-family: 'Unbounded', sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	text-transform: uppercase;
}
html body ul.products li.product.tr-card .oz-loop-product__title a {
	display: -webkit-box;
	overflow: hidden;
	color: #000;
	font: inherit;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}
html body ul.products li.product.tr-card .oz-loop-product__title a:hover { color: var(--oz-brand-accent, #e74520); }
html body ul.products li.product.tr-card .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 10px;
	margin: auto 0 0;
	padding: 0 44px 0 0;
	color: #000;
	font-family: 'Unbounded', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}
html body ul.products li.product.tr-card .price del {
	color: #6b6b6b;
	font-size: 13px;
	font-weight: 300;
	opacity: 1;
}
html body ul.products li.product.tr-card .price ins { color: #000; font-weight: 600; text-decoration: none; }
html body ul.products li.product.tr-card .oz-loop-product__actions {
	position: absolute;
	right: 16px;
	bottom: 38px;
	margin: 0;
	padding: 0;
}
html body ul.products li.product.tr-card .oz-loop-product__actions .button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 37px;
	height: 37px;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--oz-brand-accent, #e74520);
	border-radius: 3px;
	background: #fff;
	color: transparent;
	font-size: 0;
	line-height: 0;
	text-indent: -999px;
}
html body ul.products li.product.tr-card .oz-loop-product__actions .button::before {
	content: "+" / "";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--oz-brand-accent, #e74520);
	font-family: 'Unbounded', sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	text-indent: 0;
}
html body ul.products li.product.tr-card .oz-loop-product__actions .button:hover { background: var(--oz-brand-accent, #e74520); }
html body ul.products li.product.tr-card .oz-loop-product__actions .button:hover::before { color: #000; }
html body ul.products li.product.tr-card .oz-loop-product__actions .button.loading::before { content: "…" / ""; }
html body ul.products li.product.tr-card .oz-loop-product__actions .button.loading::after { content: none; }
html body ul.products li.product.tr-card .oz-loop-product__actions .button.added::after { content: none; }
html body ul.products li.product.tr-card .added_to_cart { display: none; }
html body ul.products li.product.tr-card .tr-card__wsp {
	position: absolute;
	top: 8px;
	right: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 6px;
	color: #000;
}
html body ul.products li.product.tr-card .tr-card__wsp svg { width: 25px; height: 25px; fill: currentColor; }
html body ul.products li.product.tr-card .tr-card__wsp:hover { outline: 1px solid #25d366; color: #128c3f; }
html body ul.products li.product.tr-card span.onsale {
	top: 10px;
	right: auto;
	left: 10px;
	z-index: 2;
	width: 56px;
	min-width: 0;
	height: 56px;
	min-height: 0;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--oz-brand-accent, #e74520);
	color: #000;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
/* Tarjeta estrecha (2 por fila en celular): más compacta. Depende del ancho de la tarjeta, no de la pantalla. */
@container tr-card (max-width: 200px) {
	html body ul.products li.product.tr-card .oz-loop-product__inner { padding: 12px; }
	html body ul.products li.product.tr-card .oz-loop-product__media { margin-bottom: 10px; }
	html body ul.products li.product.tr-card .oz-loop-product__category { font-size: 10px; }
	html body ul.products li.product.tr-card .oz-loop-product__title { margin-bottom: 8px; padding-right: 0; font-size: 12px; line-height: 20px; }
	html body ul.products li.product.tr-card .price { min-height: 32px; padding-right: 38px; font-size: 13px; line-height: 1.4; }
	html body ul.products li.product.tr-card .price del { font-size: 11px; }
	html body ul.products li.product.tr-card .oz-loop-product__actions { right: 10px; bottom: 12px; }
	html body ul.products li.product.tr-card .oz-loop-product__actions .button { width: 32px; height: 32px; }
	html body ul.products li.product.tr-card .tr-card__wsp { top: 2px; right: 2px; }
	html body ul.products li.product.tr-card .tr-card__wsp svg { width: 22px; height: 22px; }
	html body ul.products li.product.tr-card span.onsale { top: 6px; left: 6px; width: 46px; height: 46px; font-size: 10px; }
}

/* =========================================================================
   PÁGINAS DEL TEMA (sin Maquetador) — page.php del hijo
   Como el sitio anterior: páginas de texto en columna de 900 px con título y
   línea naranja; carrito y cuenta con migas y título con línea gris; el resto
   en el contenedor de 1400 px.
   ========================================================================= */
.tr-pagina {
	box-sizing: border-box;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 56px 16px 80px;
}
html body .tr-pagina__titulo {
	margin: 0 0 32px;
	color: #000;
	font-family: 'Unbounded', sans-serif;
	font-size: 31px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

/* Páginas de texto: Cómo comprar, Devoluciones, Términos, Preguntas frecuentes, Privacidad. */
.tr-pagina--texto { max-width: 900px; padding: 56px 24px 80px; }
.tr-pagina--texto .tr-pagina__cabecera {
	margin: 0 0 40px;
	padding: 0 0 20px;
	border-bottom: 3px solid var(--oz-brand-accent, #e74520);
}
html body .tr-pagina--texto .tr-pagina__titulo { margin: 0; font-size: 38px; font-weight: 800; line-height: 1.15; }
.tr-pagina--texto .entry-content { color: #3b3b3b; font-size: 17px; line-height: 1.8; }
.tr-pagina--texto .entry-content > :first-child { margin-top: 0; }
.tr-pagina--texto .entry-content p { margin: 0 0 20px; }
html body .tr-pagina--texto .entry-content h2,
html body .tr-pagina--texto .entry-content h3,
html body .tr-pagina--texto .entry-content h4 {
	margin: 36px 0 14px;
	color: #000;
	font-weight: 700;
	line-height: 1.3;
}
html body .tr-pagina--texto .entry-content h2 {
	padding-left: 14px;
	border-left: 4px solid var(--oz-brand-accent, #e74520);
	font-size: 24px;
}
html body .tr-pagina--texto .entry-content h3 { font-size: 20px; }
html body .tr-pagina--texto .entry-content h4 { font-size: 18px; }
.tr-pagina--texto .entry-content a {
	color: #b33a16;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.tr-pagina--texto .entry-content a:hover { color: #000; }
.tr-pagina--texto .entry-content ul,
.tr-pagina--texto .entry-content ol { margin: 0 0 24px; padding-left: 20px; }
.tr-pagina--texto .entry-content li { margin-bottom: 10px; padding-left: 6px; }
.tr-pagina--texto .entry-content ul li::marker { color: var(--oz-brand-accent, #e74520); }
.tr-pagina--texto .entry-content ol li::marker { color: #000; font-weight: 700; }
.tr-pagina--texto .entry-content strong,
.tr-pagina--texto .entry-content b { color: #000; font-weight: 700; }

/* Carrito, Finalizar compra y Mi cuenta. */
.tr-pagina--tienda { padding-top: 40px; }
html body .tr-pagina--tienda .woocommerce-breadcrumb {
	margin: 0 0 40px;
	padding: 0;
	color: #6b6b6b;
	font-family: 'Unbounded', sans-serif;
	font-size: 13px;
	line-height: 1.5;
	text-transform: uppercase;
}
html body .tr-pagina--tienda .woocommerce-breadcrumb a { color: #6b6b6b; text-decoration: none; }
html body .tr-pagina--tienda .woocommerce-breadcrumb a:hover { color: #000; }
.tr-pagina--tienda .tr-pagina__cabecera {
	display: flex;
	align-items: center;
	gap: 48px;
	margin: 0 0 56px;
}
.tr-pagina--tienda .tr-pagina__cabecera::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #d9d9d9;
}
html body .tr-pagina--tienda .tr-pagina__titulo { margin: 0; font-size: 36px; }
html body .tr-pagina--tienda .return-to-shop .button,
html body .tr-pagina--tienda .woocommerce-message .button,
html body .tr-pagina--tienda .woocommerce-info .button {
	border-radius: 3px;
	background: var(--oz-brand-accent, #e74520);
	color: #000;
	font-family: 'Unbounded', sans-serif;
	font-weight: 700;
}
html body .tr-pagina--tienda .return-to-shop .button:hover { background: #000; color: #fff; }

/* Libro de reclamaciones: el formulario lleva su propio título. */
.tr-pagina--reclamaciones { padding-top: 70px; padding-bottom: 70px; }

@media (max-width: 767.98px) {
	.tr-pagina { padding: 40px 16px 56px; }
	.tr-pagina--texto { padding: 40px 20px 56px; }
	html body .tr-pagina__titulo { font-size: 24px; }
	html body .tr-pagina--texto .tr-pagina__titulo { font-size: 28px; }
	.tr-pagina--texto .entry-content { font-size: 16px; }
	html body .tr-pagina--texto .entry-content h2 { font-size: 21px; }
	html body .tr-pagina--tienda .woocommerce-breadcrumb { margin-bottom: 24px; font-size: 12px; }
	.tr-pagina--tienda .tr-pagina__cabecera { gap: 24px; margin-bottom: 32px; }
	html body .tr-pagina--tienda .tr-pagina__titulo { font-size: 26px; }
	.tr-pagina--reclamaciones { padding-top: 32px; padding-bottom: 48px; }
}
