/*
Theme Name:   Trust Poke Services
Theme URI:    https://trustpokeservices.com/
Description:  Tema hijo de Kadence para Trust Poke Services: oscuro, menú lateral de categorías, filtros y tarjetas con nombre corto y etiquetas. Diseño aprobado el 17/11/2026.
Author:       Trust Poke Services
Template:     kadence
Version:      1.3.3
Requires PHP: 7.4
Text Domain:  tps
*/

/* ------------------------------------------------------------------ paleta y tipografía */
:root {
	--tps-bg: #0B1120;
	--tps-surface: #131B2E;
	--tps-surface-2: #172038;
	--tps-input: #0F1628;
	--tps-raise: #1F2B4A;
	--tps-border: #222D4A;
	--tps-border-2: #2B3A5E;
	--tps-text: #EEF2FA;
	--tps-text-2: #D5DDEE;
	--tps-muted: #A9B4CC;
	--tps-faint: #8E9AB5;
	--tps-accent: #FFCB05;
	--tps-accent-2: #FFE27A;
	--tps-link: #9DB7F5;
	--tps-link-hover: #C9D8FF;
	--tps-ok: #8BE3A0;
	--tps-low: #FFC27A;
	--tps-head: "Space Grotesk", Inter, system-ui, sans-serif;
	--tps-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Kadence lee estas variables en todo el sitio (carrito, pago, cuenta, formularios) */
	--global-palette1: #9DB7F5;
	--global-palette2: #C9D8FF;
	--global-palette3: #FFFFFF;
	--global-palette4: #EEF2FA;
	--global-palette5: #C9D3EA;
	--global-palette6: #A9B4CC;
	--global-palette7: #1A2440;
	--global-palette8: #131B2E;
	--global-palette9: #0B1120;
	--global-palette10: #FFCB05;
	--global-palette11: #2E9E5B;
	--global-palette12: #5B8DEF;
	--global-palette13: #E5533D;
	--global-palette14: #F7863C;
	--global-palette15: #F5A524;
	--global-palette-highlight: #9DB7F5;
	--global-palette-highlight-alt: #C9D8FF;
	--global-palette-btn-bg: #FFCB05;
	--global-palette-btn-bg-hover: #FFE27A;
	--global-palette-btn: #0B1120;
	--global-palette-btn-hover: #0B1120;
	--global-body-font-family: var(--tps-body);
	--global-heading-font-family: var(--tps-head);
}

body {
	background: var(--tps-bg);
	color: var(--tps-text);
	font-family: var(--tps-body);
}
h1, h2, h3, h4, h5, h6, .product_title { font-family: var(--tps-head); color: #FFFFFF; }
a { color: var(--tps-link); }
a:hover, a:focus { color: var(--tps-link-hover); }
:focus-visible { outline: 2px solid var(--tps-accent); outline-offset: 2px; }

.tps-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.tps-wrap { max-width: 1360px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }

/* ------------------------------------------------------------------ barra superior */
.tps-topbar { background: var(--tps-surface); border-bottom: 1px solid #26324F; font-size: 13px; color: var(--tps-muted); }
.tps-topbar .tps-wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }

/* ------------------------------------------------------------------ cabecera (Kadence) */
#masthead, #masthead .site-header-row-container-inner, #masthead .site-main-header-wrap .site-header-row-container-inner,
#mobile-header .site-header-row-container-inner {
	background: var(--tps-bg);
}
#masthead .site-main-header-wrap .site-header-row-container-inner,
#mobile-header .site-main-header-wrap .site-header-row-container-inner { border-bottom: 1px solid #1E2842; }
#masthead .site-main-header-inner-wrap { min-height: 88px; }
#masthead .site-main-header-inner-wrap.site-header-row-center-column {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 680px) minmax(0, 1fr); column-gap: 32px;
}
#masthead .site-header-main-section-center { flex: 1 1 auto; justify-content: center; width: 100%; }
#masthead .site-header-main-section-center .site-header-item,
#masthead .site-header-main-section-center .header-html,
#masthead .site-header-main-section-center .header-html-inner { width: 100%; max-width: 680px; }
#masthead .site-branding img, #mobile-header .site-branding img { max-height: 56px; width: auto; }
#mobile-header .site-branding img { max-height: 44px; }

/* Botón "My Account": enlace discreto */
#masthead .header-button-wrap .button,
#masthead .header-button-wrap a.button {
	background: transparent !important; color: var(--tps-text) !important; border: 1px solid var(--tps-border-2) !important;
	border-radius: 10px; height: 44px; display: inline-flex; align-items: center; padding: 0 16px; font-weight: 500; box-shadow: none;
}
#masthead .header-button-wrap .button:hover { background: var(--tps-raise) !important; }

/* Carrito: botón amarillo con total */
#masthead .header-cart-button, #mobile-header .header-cart-button {
	background: var(--tps-accent) !important; color: var(--tps-bg) !important; border-radius: 10px; height: 44px;
	padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
}
#masthead .header-cart-button:hover, #mobile-header .header-cart-button:hover { background: var(--tps-accent-2) !important; }
#masthead .header-cart-button .header-cart-total, #mobile-header .header-cart-button .header-cart-total {
	background: var(--tps-bg); color: var(--tps-accent);
}
#mobile-header .menu-toggle-open { color: var(--tps-text); }

/* FiboSearch como buscador grande */
.dgwt-wcas-search-wrapp { max-width: 680px !important; min-width: 0; width: 100%; margin: 0 auto; }
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp { background: transparent !important; padding: 0 !important; position: relative; }
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	height: 52px !important; line-height: normal !important; margin: 0 !important; padding: 0 16px 0 48px !important;
	background: var(--tps-surface) !important; color: var(--tps-text) !important;
	border: 1px solid var(--tps-border-2) !important; border-radius: 12px !important; font-size: 16px !important; box-shadow: none !important;
}
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus { border-color: var(--tps-accent) !important; }
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::placeholder { color: var(--tps-muted) !important; opacity: 1; }
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	position: absolute !important; top: 50% !important; left: 14px !important; right: auto !important; transform: translateY(-50%);
	width: 24px !important; height: 24px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
	background: transparent !important; border: 0 !important; box-shadow: none !important;
}
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before,
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::after { display: none !important; }
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg,
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier { fill: var(--tps-muted) !important; width: 20px !important; height: 20px !important; }
.dgwt-wcas-search-wrapp .dgwt-wcas-search-submit svg path,
.dgwt-wcas-search-wrapp .dgwt-wcas-ico-magnifier path { fill: var(--tps-muted) !important; }
.dgwt-wcas-search-wrapp .dgwt-wcas-preloader { right: 14px !important; }
.dgwt-wcas-suggestions-wrapp, .dgwt-wcas-details-wrapp {
	background: var(--tps-surface) !important; border-color: var(--tps-border-2) !important; color: var(--tps-text);
}
.dgwt-wcas-suggestion { color: var(--tps-text-2) !important; border-color: var(--tps-border) !important; }
.dgwt-wcas-suggestion-selected, .dgwt-wcas-suggestion:hover { background: var(--tps-raise) !important; }
.dgwt-wcas-st strong, .dgwt-wcas-sp, .dgwt-wcas-sd { color: #FFFFFF !important; }
#mobile-header .site-bottom-header-wrap .site-header-row-container-inner { background: var(--tps-bg); padding-bottom: 10px; }
#mobile-header .mobile-html-inner, #mobile-header .mobile-html { width: 100%; }
#mobile-header .site-bottom-header-inner-wrap.site-header-row-only-center-column { grid-template-columns: minmax(0, 1fr); }
#mobile-header .site-header-bottom-section-center, #mobile-header .site-header-bottom-section-center .site-header-item { width: 100%; }
#mobile-header .dgwt-wcas-search-wrapp { max-width: none !important; }

/* ------------------------------------------------------------------ listado: estructura */
.tps-archive-wrap, #primary.tps-archive-wrap { background: var(--tps-bg); margin: 0 !important; padding: 0; }
.tps-archive { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 28px; padding-bottom: 56px; }
.tps-side { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 20px; }
.tps-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }

.tps-main .woocommerce-breadcrumb { margin: 0; font-size: 13px; color: var(--tps-muted); }
.tps-main .woocommerce-breadcrumb a { color: var(--tps-link); text-decoration: none; }

.tps-head { display: flex; flex-direction: column; gap: 10px; }
.tps-h1 { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; color: #FFFFFF; }
.tps-intro { margin: 0; max-width: 760px; color: #B8C2D8; font-size: 16px; line-height: 1.55; }

.tps-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--tps-text-2); }
.tps-trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.tps-trust svg, .tps-ptrust svg { color: var(--tps-accent); flex: 0 0 auto; }

/* ------------------------------------------------------------------ menú de categorías */
.tps-cats { background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 14px; padding: 16px 10px; }
.tps-cats-title { margin: 0 10px 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tps-cats-title a { color: var(--tps-muted); text-decoration: none; }
.tps-cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tps-cats li { margin: 0; }
.tps-cats ul a {
	display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 38px; padding: 0 10px;
	border-radius: 9px; color: var(--tps-text-2); text-decoration: none; font-size: 15px;
}
.tps-cats a.tps-sub { padding-left: 28px; font-size: 14px; }
.tps-cats a.tps-strong { font-weight: 600; }
.tps-cats a:hover { background: var(--tps-surface-2); color: #FFFFFF; }
.tps-cats a[aria-current] { background: var(--tps-raise); color: #FFFFFF; font-weight: 600; }
.tps-cats .tps-n { font-size: 12px; color: var(--tps-faint); font-weight: 400; }
.tps-cats a[aria-current] .tps-n { color: #C9D3EA; }
.tps-sep { height: 1px; background: var(--tps-border); margin: 12px 10px; }

.tps-help { background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 14px; padding: 18px; font-size: 14px; }
.tps-help p { margin: 0 0 12px; color: var(--tps-muted); }
.tps-help .tps-help-t { margin: 0 0 6px; font-family: var(--tps-head); font-weight: 600; font-size: 17px; color: #FFFFFF; }
.tps-help a { font-weight: 600; font-size: 13px; overflow-wrap: anywhere; }

/* fila de categorías (solo móvil) */
.tps-catchips { display: none; }
.tps-chip {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--tps-border-2); color: var(--tps-text-2); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.tps-chip .tps-n { font-size: 12px; font-weight: 400; color: var(--tps-faint); }
.tps-chip[aria-current] { border-color: var(--tps-accent); background: var(--tps-raise); color: #FFFFFF; }

/* ------------------------------------------------------------------ filtros */
.tps-filters { background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.tps-filterrow { display: flex; flex-wrap: wrap; gap: 10px; }
.tps-filterform { display: contents; }
.tps-search {
	flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; margin: 0;
	background: var(--tps-input); border: 1px solid var(--tps-border-2); border-radius: 10px; color: var(--tps-muted);
}
.tps-search input[type=search] {
	flex: 1; min-width: 0; height: 100%; padding: 0; background: transparent; border: 0; box-shadow: none;
	color: var(--tps-text); font: inherit; font-size: 15px;
}
.tps-search input[type=search]::placeholder { color: var(--tps-muted); opacity: 1; }
.tps-search input[type=search]:focus { outline: none; }
.tps-search:focus-within { border-color: var(--tps-accent); }
.tps-select { display: inline-flex; margin: 0; }
.tps-select select, .tps-main .woocommerce-ordering select {
	height: 44px; padding: 0 38px 0 14px; background-color: var(--tps-input); color: var(--tps-text);
	border: 1px solid var(--tps-border-2); border-radius: 10px; font: inherit; font-size: 15px; font-weight: 500;
	-webkit-appearance: none; appearance: none; cursor: pointer; max-width: 220px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A9B4CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}
.tps-btn-sec { height: 44px; padding: 0 16px; border-radius: 10px; }
.tps-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tps-chips a {
	display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--tps-border-2); color: var(--tps-text-2); font-size: 14px; font-weight: 500; text-decoration: none;
}
.tps-chips a:hover { background: var(--tps-surface-2); color: #FFFFFF; }
.tps-chips a.is-on { border-color: var(--tps-accent); background: var(--tps-raise); color: #FFFFFF; }
.tps-chips a.tps-clear { border-style: dashed; color: var(--tps-muted); }

.tps-resultbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.tps-count { margin: 0; font-family: var(--tps-head); font-size: 20px; font-weight: 600; color: #FFFFFF; }
.tps-main .woocommerce-ordering { margin: 0; float: none; }

/* ------------------------------------------------------------------ rejilla y tarjetas */
ul.tps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
ul.tps-grid::before, ul.tps-grid::after { display: none; }
li.tps-card, .woocommerce ul.products li.product.tps-card {
	display: flex; flex-direction: column; margin: 0; padding: 0; width: auto; float: none;
	background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 16px; overflow: hidden; box-shadow: none;
	transition: border-color .15s ease, transform .15s ease;
}
li.tps-card:hover { border-color: var(--tps-border-2); transform: translateY(-2px); }
.tps-card-img { position: relative; display: flex; align-items: center; justify-content: center; height: 190px; background: var(--tps-surface-2); }
.tps-card-img img.tps-card-foto, .tps-card-img img {
	width: 136px !important; height: 136px !important; object-fit: contain; margin: 0 !important; border-radius: 0; box-shadow: none;
}
.tps-shiny {
	position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px;
	border-radius: 999px; background: #3A3108; color: #FFE27A; font-size: 12px; font-weight: 700;
}
.tps-card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.tps-card-title, .woocommerce ul.products li.product .woocommerce-loop-product__title.tps-card-title {
	margin: 0; padding: 0; font-family: var(--tps-head); font-size: 18px; font-weight: 600; line-height: 1.25;
}
.tps-card-title a { color: #FFFFFF; text-decoration: none; }
.tps-card-title a:hover { color: var(--tps-accent-2); }
.tps-card-var { margin: 2px 0 0; font-size: 14px; color: var(--tps-muted); line-height: 1.35; }
.tps-pills { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; }
.tps-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.p-legend { background: #2A2150; color: #C9B6FF; }
.p-costume { background: #123A3A; color: #7FE3D5; }
.p-bg { background: #16294F; color: #9DBBFF; }
.p-region { background: #173A24; color: #8BE3A0; }
.p-level { background: #3D2A12; color: #FFC27A; }
.p-max { background: #3A1730; color: #FF9FD2; }
.p-baby { background: #2E2E14; color: #E9E38A; }
.p-gen { background: var(--tps-raise); color: #C9D3EA; }
.p-shiny { background: #3A3108; color: #FFE27A; }
.tps-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
.tps-price, .tps-price .amount { display: block; font-size: 20px; font-weight: 700; color: #FFFFFF; line-height: 1.2; }
.tps-price del { font-size: 14px; opacity: .6; }
.tps-price ins { text-decoration: none; }
.tps-stock { display: block; font-size: 12px; color: var(--tps-ok); }
.tps-stock.is-low { color: var(--tps-low); }
.tps-card .button, .tps-card a.button, .tps-card .add_to_cart_button {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; height: 44px; min-width: 64px; padding: 0 16px !important;
	margin: 0 !important; border: 0; border-radius: 10px !important; background: var(--tps-accent) !important; color: var(--tps-bg) !important;
	font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; box-shadow: none;
}
.tps-card .button:hover { background: var(--tps-accent-2) !important; }
.tps-card .button { text-transform: none !important; letter-spacing: 0 !important; }
.tps-card .button svg, .tps-card .button .kadence-svg-iconset { display: none !important; }
.tps-card .button.loading { opacity: .7; }
.tps-card .added_to_cart { display: none; }
.tps-card .button.added::after { content: " ✓"; }

/* paginación */
.tps-main .woocommerce-pagination { text-align: left; padding-top: 8px; }
.tps-main .woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; }
.tps-main .woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }
.tps-main .woocommerce-pagination ul.page-numbers li a, .tps-main .woocommerce-pagination ul.page-numbers li span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 10px; border: 1px solid var(--tps-border-2); color: var(--tps-text-2); background: transparent; font-weight: 500;
}
.tps-main .woocommerce-pagination ul.page-numbers li span.current { background: var(--tps-raise); color: #FFFFFF; border-color: transparent; font-weight: 700; }
.tps-main .woocommerce-pagination ul.page-numbers li a:hover { background: var(--tps-surface-2); color: #FFFFFF; }
.tps-main .woocommerce-info, .tps-main .woocommerce-no-products-found .woocommerce-info {
	background: var(--tps-surface); color: var(--tps-text-2); border: 1px solid var(--tps-border); border-radius: 12px;
}

/* ------------------------------------------------------------------ página de producto */
.single-product .site, .single-product .content-area, .single-product #primary { background: var(--tps-bg); }
.single-product .content-bg, .single-product .entry.content-bg, .single-product .entry-content-wrap { background: transparent; box-shadow: none; }
.single-product div.product .product-single-category { display: none; }
.single-product div.product .woocommerce-product-gallery {
	background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 20px; padding: 24px;
}
.single-product div.product .woocommerce-product-gallery img { max-height: 420px; object-fit: contain; margin: 0 auto; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img { border-radius: 10px; background: var(--tps-surface-2); }
.single-product div.product .summary { display: flex; flex-direction: column; gap: 16px; }
.single-product div.product .summary > * { margin-top: 0; margin-bottom: 0; }
.single-product div.product .summary .tps-pills { gap: 8px; }
.single-product div.product .summary .tps-pill { height: 24px; padding: 0 10px; }
.tps-ptitle, .single-product div.product .product_title.tps-ptitle { margin: 0; font-size: 42px; line-height: 1.1; font-weight: 700; color: #FFFFFF; }
.tps-psub { margin: -8px 0 0 !important; color: #B8C2D8; font-size: 16px; }
.single-product div.product .summary p.price, .single-product div.product .summary span.price { font-size: 34px; font-weight: 700; color: #FFFFFF; }
.single-product div.product .summary .woocommerce-product-details__short-description { color: var(--tps-text-2); }
.single-product div.product .stock { color: var(--tps-ok); font-weight: 600; }
.single-product div.product .stock.is-low { color: var(--tps-low); }
.single-product div.product .summary > :empty { display: none; }
body.single-product div.product .summary > p.price, body.single-product div.product .summary > p.stock { margin: 0 !important; }
.single-product div.product form.cart .quantity:has(input[type=hidden]) { display: none; }
.tps-pcrumb { margin: 0 0 20px; }
.tps-pcrumb .woocommerce-breadcrumb { margin: 0; font-size: 13px; color: var(--tps-muted); }
.tps-pcrumb .woocommerce-breadcrumb a { color: var(--tps-link); text-decoration: none; }
.single-product div.product .stock.out-of-stock { color: var(--tps-low); }
.tps-purified { display: flex; gap: 12px; padding: 14px 16px; background: #1A1430; border: 1px solid #3B2F63; border-radius: 14px; }
.tps-purified svg { color: #FF9FD2; flex: 0 0 auto; margin-top: 2px; }
.tps-purified p { margin: 0; font-size: 14px; color: #E6DDF7; }
.tps-purified strong { color: #FFFFFF; }
.single-product div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .quantity input.qty {
	height: 52px; width: 76px; background: var(--tps-surface); color: var(--tps-text); border: 1px solid var(--tps-border-2); border-radius: 12px; font-weight: 600;
}
.single-product div.product form.cart .single_add_to_cart_button {
	flex: 1 1 220px; height: 52px; border-radius: 12px; font-size: 17px; font-weight: 700;
	background: var(--tps-accent) !important; color: var(--tps-bg) !important; border: 0;
}
.single-product div.product form.cart .single_add_to_cart_button:hover { background: var(--tps-accent-2) !important; }
.tps-ptrust { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--tps-border); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--tps-text-2); }
.tps-ptrust li { display: flex; gap: 10px; align-items: center; margin: 0; }
.single-product div.product .product_meta { font-size: 13px; color: var(--tps-faint); }
.single-product div.product .product_meta a { color: var(--tps-muted); }

/* pestañas y descripción (las descripciones traen colores fijos para fondo blanco: se adaptan aquí) */
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 -1px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--tps-border); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent; border-color: var(--tps-border); border-radius: 12px 12px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--tps-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--tps-surface); border-bottom-color: var(--tps-surface); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #FFFFFF; }
.woocommerce div.product .woocommerce-tabs .panel {
	background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 0 16px 16px 16px; padding: 24px 28px; color: var(--tps-text-2);
}
.woocommerce-Tabs-panel--description [style*="color"] { color: var(--tps-text-2) !important; }
.woocommerce-Tabs-panel--description h3[style] { color: var(--tps-accent-2) !important; font-size: 19px; }
.woocommerce-Tabs-panel--description strong { color: #FFFFFF; }
.woocommerce-Tabs-panel--description a[style] { color: var(--tps-link) !important; }
.woocommerce-Tabs-panel--description div[style*="FFFBEA"], .woocommerce-Tabs-panel--description div[style*="fffbea"] {
	background: #1A2440 !important; border: 1px solid var(--tps-border-2) !important; border-radius: 12px; padding: 12px 16px !important; color: var(--tps-text-2) !important;
}
.woocommerce table.shop_attributes, .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td {
	border-color: var(--tps-border); background: transparent; color: var(--tps-text-2);
}
.woocommerce table.shop_attributes th { color: var(--tps-muted); font-weight: 500; }
.single-product .related.products > h2, .single-product .upsells.products > h2 { font-size: 24px; color: #FFFFFF; }

/* ------------------------------------------------------------------ carrito, pago, cuenta (base oscura) */
.woocommerce table.shop_table { border-color: var(--tps-border); background: var(--tps-surface); border-radius: 14px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--tps-border); color: var(--tps-text-2); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], textarea, select {
	background-color: var(--tps-input); color: var(--tps-text); border-color: var(--tps-border-2);
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--tps-surface); color: var(--tps-text-2); }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order, .woocommerce-checkout #payment {
	background: var(--tps-surface) !important; border-radius: 14px;
}

/* ------------------------------------------------------------------ pie */
#colophon, #colophon .site-footer-row-container-inner { background: #0E1527; color: var(--tps-muted); }
#colophon { border-top: 1px solid #1E2842; }
#colophon a { color: var(--tps-link); }

/* ------------------------------------------------------------------ móvil */
@media (max-width: 1024px) {
	.tps-side { display: none; }
	.tps-catchips {
		display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 0 24px 4px;
		scrollbar-width: none;
	}
	.tps-catchips::-webkit-scrollbar { display: none; }
}
@media (max-width: 767px) {
	.tps-wrap { padding-left: 16px; padding-right: 16px; }
	.tps-catchips { margin: 0 -16px; padding: 0 16px 4px; }
	.tps-topbar .tps-topbar-soporte, .tps-topbar .tps-topbar-horario { display: none; }
	.tps-topbar .tps-wrap { justify-content: center; }
	.tps-archive { padding-top: 18px; gap: 18px; }
	.tps-main { gap: 16px; }
	.tps-h1 { font-size: 30px; line-height: 1.15; }
	.tps-intro { font-size: 15px; }
	.tps-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; font-size: 13px; line-height: 1.3; }
	.tps-trust li { align-items: flex-start; }
	.tps-filters { padding: 12px; gap: 12px; }
	.tps-search { flex-basis: 100%; }
	.tps-select { flex: 1 1 calc(50% - 5px); }
	.tps-select select { width: 100%; max-width: none; }
	.tps-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px 2px; scrollbar-width: none; }
	.tps-chips a { flex: 0 0 auto; }
	ul.tps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tps-card-img { height: 128px; }
	.tps-card-img img.tps-card-foto, .tps-card-img img { width: 92px !important; height: 92px !important; }
	.tps-shiny { top: 8px; left: 8px; height: 20px; padding: 0 7px; font-size: 11px; }
	.tps-card-body { padding: 10px 10px 12px; gap: 6px; }
	.tps-card-title, .woocommerce ul.products li.product .woocommerce-loop-product__title.tps-card-title { font-size: 15px; }
	.tps-card-var { font-size: 12px; }
	.tps-pill { height: 20px; padding: 0 7px; font-size: 11px; }
	.tps-price, .tps-price .amount { font-size: 16px; }
	.tps-stock { font-size: 11px; }
	.tps-card .button, .tps-card a.button, .tps-card .add_to_cart_button { min-width: 44px; width: 44px; padding: 0 !important; font-size: 0 !important; }
	.tps-card .button::before { content: "+"; font-size: 22px; font-weight: 700; line-height: 1; }
	.tps-card .button.added::after { content: ""; }
	.tps-ptitle, .single-product div.product .product_title.tps-ptitle { font-size: 30px; }
	.single-product div.product .summary p.price, .single-product div.product .summary span.price { font-size: 28px; }
	.woocommerce div.product .woocommerce-tabs .panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	li.tps-card { transition: none; }
	li.tps-card:hover { transform: none; }
}

/* ------------------------------------------------------------------ tipos combinables */
.tps-tipos { display: flex; flex-direction: column; gap: 8px; }
.tps-tipos-t { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tps-muted); }
.tps-chips a { gap: 8px; }
.tps-chips a .tps-n { font-size: 12px; color: var(--tps-faint); font-weight: 500; }
.tps-chips a.is-on { padding-right: 10px; }
.tps-chips a.is-on .tps-x {
	display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px;
	background: var(--tps-accent); color: var(--tps-bg); font-size: 14px; font-weight: 700; line-height: 1;
}

/* ------------------------------------------------------------------ formulario de contacto */
.tps-contacto { max-width: 720px; }
.tps-form { display: flex; flex-direction: column; gap: 16px; background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 16px; padding: 24px; }
.tps-form-fila { display: flex; flex-wrap: wrap; gap: 16px; }
.tps-form-fila .tps-campo { flex: 1 1 240px; }
.tps-campo { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tps-campo label { font-size: 14px; font-weight: 600; color: var(--tps-text-2); }
.tps-campo input, .tps-campo textarea {
	width: 100%; box-sizing: border-box; background: var(--tps-input); color: var(--tps-text); border: 1px solid var(--tps-border-2);
	border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px;
}
.tps-campo input:focus, .tps-campo textarea:focus { border-color: var(--tps-accent); outline: none; }
.tps-campo textarea::placeholder { color: var(--tps-faint); }
.tps-trampa { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.tps-form .tps-btn { align-self: flex-start; height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 700; background: var(--tps-accent) !important; color: var(--tps-bg) !important; border: 0; }
.tps-form-nota { margin: 0; font-size: 13px; color: var(--tps-faint); }
.tps-aviso { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.tps-aviso-ok { background: #123A2A; border: 1px solid #1F6A47; color: #BDF2D2; }
.tps-aviso-error { background: #3A1A1A; border: 1px solid #7A2E2E; color: #FFC9C9; }

/* ------------------------------------------------------------------ portada */
.tps-home-wrap, #primary.tps-home-wrap { margin: 0 !important; background: var(--tps-bg); }
.tps-home { display: flex; flex-direction: column; gap: 56px; padding-bottom: 64px; }
.tps-hero { padding: 48px 0 8px; border-bottom: 1px solid #1E2842; background: #0D1427; }
.tps-hero-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-bottom: 32px; }
.tps-hero-txt { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.tps-eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tps-accent); }
.tps-hero-h1 { margin: 0; font-size: 52px; line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; color: #FFFFFF; max-width: 760px; }
.tps-hero-sub { margin: 0; font-size: 18px; color: #B8C2D8; max-width: 640px; }
.tps-hero-buscar { max-width: 640px; }
.tps-hero-buscar .dgwt-wcas-search-wrapp { max-width: 640px !important; margin: 0; }
.tps-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.tps-btn-pri, .tps-btn-sec2 {
	display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 700; text-decoration: none;
}
.tps-btn-pri { background: var(--tps-accent); color: var(--tps-bg); }
.tps-btn-pri:hover { background: var(--tps-accent-2); color: var(--tps-bg); }
.tps-btn-sec2 { border: 1px solid var(--tps-border-2); color: var(--tps-text); }
.tps-btn-sec2:hover { background: var(--tps-raise); color: #FFFFFF; }
.tps-hero-mosaico { flex: 0 1 420px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tps-tile { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 18px; }
.tps-tile img { width: 72% !important; height: 72% !important; object-fit: contain; margin: 0 !important; }
.tps-hero .tps-trust { padding: 20px 0; }

.tps-sec-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.tps-sec-head h2 { margin: 0; font-size: 30px; line-height: 1.15; color: #FFFFFF; }
.tps-sec-head p { margin: 0; color: var(--tps-muted); }
.tps-sec-head-fila { flex-direction: row; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.tps-sec-head-fila a { font-weight: 600; }

.tps-combos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tps-combo {
	display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center;
	padding: 14px 16px; background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 16px; text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}
.tps-combo:hover { border-color: var(--tps-accent); transform: translateY(-2px); }
.tps-combo-img { grid-row: 1 / span 2; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; background: var(--tps-surface-2); border-radius: 12px; }
.tps-combo-img img { width: 56px !important; height: 56px !important; object-fit: contain; margin: 0 !important; }
.tps-combo-t { font-family: var(--tps-head); font-size: 17px; font-weight: 600; color: #FFFFFF; line-height: 1.25; align-self: end; }
.tps-combo-n { font-size: 13px; color: var(--tps-muted); align-self: start; }

.tps-cattiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.tps-cattile {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px 16px; text-align: center;
	background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 16px; text-decoration: none;
}
.tps-cattile:hover { border-color: var(--tps-border-2); background: var(--tps-surface-2); }
.tps-cattile-img { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; }
.tps-cattile-img img { width: 80px !important; height: 80px !important; object-fit: contain; margin: 0 !important; }
.tps-cattile-t { font-weight: 600; color: #FFFFFF; font-size: 15px; line-height: 1.25; }
.tps-cattile .tps-n { font-size: 12px; color: var(--tps-faint); }

.tps-pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tps-paso { background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 16px; padding: 22px; }
.tps-paso-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--tps-raise); color: var(--tps-accent); font-weight: 700; }
.tps-paso h3 { margin: 12px 0 6px; font-size: 19px; color: #FFFFFF; }
.tps-paso p { margin: 0; color: var(--tps-text-2); }

.tps-faq-wrap { max-width: 900px; }
.tps-faq { display: flex; flex-direction: column; gap: 10px; }
.tps-faq details { background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 14px; padding: 0 18px; }
.tps-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: #FFFFFF; list-style-position: inside; }
.tps-faq details p { margin: 0 0 16px; color: var(--tps-text-2); }

/* página de contacto y otras páginas de Kadence sobre fondo oscuro */
.page .entry-content-wrap, .page .entry.content-bg { background: var(--tps-surface); }

@media (max-width: 767px) {
	.tps-home { gap: 40px; }
	.tps-hero { padding-top: 28px; }
	.tps-hero-h1 { font-size: 34px; }
	.tps-hero-sub { font-size: 16px; }
	.tps-hero-mosaico { flex-basis: 100%; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
	.tps-tile { border-radius: 12px; }
	.tps-sec-head h2 { font-size: 24px; }
	.tps-combos { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.tps-cattiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tps-form { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.tps-combo { transition: none; }
	.tps-combo:hover { transform: none; }
}

/* 1.1.1: filas de la portada y combinaciones a 4 por fila; campos del formulario sin el margen de Kadence */
@media (min-width: 1024px) {
	.tps-home ul.tps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tps-combos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tps-form .tps-campo, .tps-form .tps-form-nota, .entry-content .tps-form p { margin: 0 !important; }
.tps-contacto .tps-aviso { margin: 0 0 16px !important; }

/* 1.2.3: el sitio ya tiene nombre (17/11): solo el logo en la cabecera; menú móvil legible; carrito vacío */
#masthead .site-branding .site-title-wrap, #mobile-header .site-branding .site-title-wrap { display: none; }
#mobile-drawer .drawer-inner, #mobile-drawer .drawer-content { background: #0D1427; color: var(--tps-text-2); }
#mobile-drawer .drawer-header .drawer-toggle { color: var(--tps-text); }
#mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap,
#mobile-drawer .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap > a { color: var(--tps-text-2); }
#mobile-drawer .mobile-navigation ul li.current-menu-item > a,
#mobile-drawer .mobile-navigation ul li.current-menu-item > .drawer-nav-drop-wrap > a { color: var(--tps-accent); }
#mobile-drawer .mobile-navigation ul li > a:hover { color: #FFFFFF; }
#mobile-drawer .mobile-navigation .drawer-sub-toggle { color: var(--tps-text-2); border-color: var(--tps-border); }
#mobile-drawer .mobile-navigation ul li:not(.menu-item-has-children) a,
#mobile-drawer .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap { border-color: var(--tps-border); }
#mobile-drawer .mobile-navigation ul ul li > a { font-size: 15px; color: var(--tps-muted); }
.wp-block-woocommerce-empty-cart-block img, .wp-block-woocommerce-cart .wc-block-components-product-image img {
	max-width: 140px; max-height: 140px; width: auto; height: auto; object-fit: contain; margin: 0 auto;
}
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { color: #FFFFFF; }

/* 1.3.2: en el celular, Trainer Code y usuario a todo lo ancho */
@media (max-width: 767px) {
	.woocommerce form.checkout #tps_trainer_code_field, .woocommerce form.checkout #tps_pogo_usuario_field { width: 100%; float: none; }
}
.tps-siguiente { margin: 24px 0; padding: 20px 24px; background: var(--tps-surface); border: 1px solid var(--tps-border); border-radius: 14px; }
.tps-siguiente h2 { margin: 0 0 10px; font-size: 22px; color: #FFFFFF; }
.tps-siguiente ol { margin: 0 0 10px 20px; color: var(--tps-text-2); }
.tps-siguiente p { margin: 0; color: var(--tps-muted); }
