/* TEC Rosario Core. Los valores se ajustan en WooCommerce › TEC Rosario (llegan como variables CSS). */
:root {
	--tecr-azul: #1800ff;
	--tecr-fuente: 'Prompt', system-ui, sans-serif;
	--tecr-tinta: #111111;
	--tecr-gris: #555555;
	--tecr-usd-ficha: 44px;
	--tecr-usd-tarjeta: 22px;
	--tecr-ars: 14px;
	--tecr-ars-display: inline;
	--tecr-al-tarjeta: center; --tecr-ta-tarjeta: center;
	--tecr-al-ficha: center; --tecr-ta-ficha: center;
	--tecr-btn: #128c4a;
	--tecr-btn-hover: #0e7a40;
	--tecr-btn-texto: #ffffff;
	--tecr-btn-radio: 999px;
	--tecr-btn-ancho: 100%;
}

.tecr-precio, .tecr-wa, .tecr-faq, .tecr-ficha, .tecr-cotizacion { font-family: var(--tecr-fuente); }

.tecr-precio { display: flex; flex-direction: column; gap: 2px; }
.tecr-precio--tarjeta { align-items: var(--tecr-al-tarjeta); text-align: var(--tecr-ta-tarjeta); }
.tecr-precio--ficha { align-items: var(--tecr-al-ficha); text-align: var(--tecr-ta-ficha); }
.tecr-precio--izquierda { align-items: flex-start; text-align: left; }
.tecr-precio__usd { font-weight: 600; color: var(--tecr-tinta); letter-spacing: -0.02em; line-height: 1.1; }
.tecr-precio--ficha .tecr-precio__usd { font-size: clamp(28px, 6vw, var(--tecr-usd-ficha)); line-height: 1.05; }
.tecr-precio--tarjeta .tecr-precio__usd { font-size: var(--tecr-usd-tarjeta); }
.tecr-precio__ars { display: var(--tecr-ars-display); font-size: var(--tecr-ars); color: var(--tecr-gris); }
.tecr-precio__ars small { font-size: 0.9em; }
.tecr-precio--consultar { font-weight: 600; color: var(--tecr-gris); }

.tecr-wa {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 22px; border-radius: var(--tecr-btn-radio);
	background: var(--tecr-btn); color: var(--tecr-btn-texto) !important; font-weight: 600; text-decoration: none !important;
	transition: background 0.15s ease;
}
.tecr-wa:hover, .tecr-wa:focus-visible { background: var(--tecr-btn-hover); }
.tecr-wa--ficha { width: var(--tecr-btn-ancho); min-height: 52px; font-size: 17px; }

.tecr-cotizacion { font-size: 13px; color: var(--tecr-gris); }

.tecr-ficha { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 1.5em; }
.tecr-ficha th, .tecr-ficha td { padding: 10px 0; border-bottom: 1px solid #ececec; text-align: left; vertical-align: top; }
.tecr-ficha th { width: 40%; font-weight: 400; color: var(--tecr-gris); padding-right: 12px; }
.tecr-ficha td { font-weight: 600; color: var(--tecr-tinta); }

.tecr-faq { text-align: left; }
.tecr-faq details { border-bottom: 1px solid #ececec; padding: 14px 0; }
.tecr-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--tecr-tinta); }
.tecr-faq p { margin: 8px 0 0; line-height: 1.55; color: #444; }

/* ---------- Home: portada y grillas ([tecr_portada], [tecr_productos]) ---------- */
/* Sin <p> ni .price a propósito: el CSS adicional del sitio los fuerza con !important. */
.tecr-portada, .tecr-grid { font-family: var(--tecr-fuente); }
.tecr-portada { display: flex; flex-direction: column; gap: 16px; }
.tecr-portada__slide { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tecr-portada__slide[hidden] { display: none; }
.tecr-portada__img { display: block; width: 100%; max-width: 340px; aspect-ratio: 1 / 1; }
.tecr-portada__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tecr-portada__info { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 18px 16px; border: 1px solid #ececec; border-radius: 18px; background: #fff; box-sizing: border-box; }
.tecr-portada .tecr-portada__name { font-size: 15px; font-weight: 600; color: var(--tecr-tinta); text-decoration: none; line-height: 1.3; }
.tecr-portada__name span { font-weight: 400; color: var(--tecr-gris); }
.tecr-portada .tecr-precio { align-items: flex-start; text-align: left; }
.tecr-portada .tecr-precio__usd { font-size: 28px; }
.tecr-portada .tecr-wa { width: 100%; }
.tecr-portada__thumbs { display: flex; justify-content: center; gap: 10px; }
/* El kit de Elementor les da a todos los <button> padding de 46 px, borde y color: acá se anula. */
.tecr-portada .tecr-portada__thumb {
	all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
	width: 60px; height: 60px; padding: 5px; border: 2px solid #ececec; border-radius: 14px;
	background: #f7f7f8; cursor: pointer; overflow: hidden; transition: border-color 0.15s ease;
}
.tecr-portada .tecr-portada__thumb:hover { border-color: #c9c9d2; }
.tecr-portada .tecr-portada__thumb[aria-pressed="true"] { border-color: var(--tecr-azul); background: #fff; }
.tecr-portada .tecr-portada__thumb:focus-visible { outline: 2px solid var(--tecr-azul); outline-offset: 2px; }
.tecr-portada .tecr-portada__thumb img { width: 100%; height: 100%; max-width: none; object-fit: contain; display: block; mix-blend-mode: multiply; }

.tecr-grid { display: grid; grid-template-columns: repeat(var(--tecr-cols, 4), minmax(0, 1fr)); gap: 20px; }
.tecr-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid #ececec; border-radius: 20px; background: #fff; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.tecr-card:hover { border-color: #d9d9e0; box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06); }
.tecr-card__img { display: block; aspect-ratio: 1 / 1; border-radius: 14px; background: #f7f7f8; overflow: hidden; }
.tecr-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.tecr-card__body { display: flex; flex-direction: column; gap: 2px; }
.tecr-card .tecr-card__name { margin: 0; font-family: var(--tecr-fuente); font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.tecr-card .tecr-card__name a { color: var(--tecr-tinta); text-decoration: none; }
.tecr-card .tecr-card__name a:hover { color: var(--tecr-azul); }
.tecr-card__specs { font-size: 14px; color: var(--tecr-gris); line-height: 1.35; }
.tecr-card .tecr-precio { align-items: flex-start; text-align: left; margin-top: auto; }
.tecr-card .tecr-precio__usd { font-size: 22px; }
.tecr-card .tecr-precio__ars { font-size: 12px; line-height: 1.35; }
.tecr-card .tecr-wa, .tecr-portada .tecr-wa { box-sizing: border-box; max-width: 100%; }
.tecr-card .tecr-wa { width: 100%; padding: 10px 14px; font-size: 15px; }

@media (max-width: 1024px) { .tecr-grid { grid-template-columns: repeat(min(var(--tecr-cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.tecr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tecr-card { padding: 8px; gap: 8px; border-radius: 16px; }
	.tecr-card .tecr-card__name { font-size: 15px; }
	.tecr-card__specs { font-size: 12px; }
	.tecr-card .tecr-precio__usd { font-size: 18px; }
	.tecr-card .tecr-precio__ars small { display: none; }
	.tecr-card .tecr-wa { min-height: 42px; padding: 8px 10px; font-size: 14px; gap: 6px; }
	.tecr-portada .tecr-precio__usd { font-size: 24px; }
	.tecr-portada__img { max-width: 240px; }
}

/* ---------- Ficha de producto ([tecr_titulo] y contenido con clase tecr-contenido) ---------- */
.tecr-titulo { font-family: var(--tecr-fuente); display: flex; flex-direction: column; gap: 6px; }
.tecr-titulo__marca { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tecr-azul); }
.tecr-titulo .tecr-titulo__h1 { margin: 0; font-family: var(--tecr-fuente); font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--tecr-tinta); }
.tecr-titulo__specs { display: block; margin-top: 6px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 400; letter-spacing: 0; color: var(--tecr-gris); }

.tecr-contenido { font-family: var(--tecr-fuente); color: #333; }
.tecr-contenido p, .tecr-contenido li { font-family: var(--tecr-fuente); font-size: 16px !important; line-height: 1.6; color: #333 !important; }
.tecr-contenido h2, .tecr-contenido h3 { font-family: var(--tecr-fuente); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--tecr-tinta); margin: 1.6em 0 0.6em; }
.tecr-contenido ul { padding-left: 1.2em; margin: 0 0 1em; }
.tecr-contenido .tecr-ficha { border: 0; font-size: 15px; }
.tecr-contenido .tecr-ficha tr { background: transparent !important; }
.tecr-contenido .tecr-ficha th, .tecr-contenido .tecr-ficha td { border: 0; border-bottom: 1px solid #ececec; padding: 12px 0; background: transparent; }
.tecr-contenido details { border-bottom: 1px solid #ececec; padding: 14px 0; }
.tecr-contenido summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--tecr-tinta); list-style: none; position: relative; padding-right: 32px; }
.tecr-contenido summary::-webkit-details-marker { display: none; }
.tecr-contenido summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; font-weight: 400; color: var(--tecr-azul); }
.tecr-contenido details[open] summary::after { content: "–"; }
@media (max-width: 767px) {
	.tecr-contenido p, .tecr-contenido li { font-size: 15px !important; }
	.tecr-contenido h2, .tecr-contenido h3 { font-size: 20px; }
	.tecr-contenido .tecr-ficha th { width: 45%; }
}

/* ---------- Tienda y categorías ([tecr_archivo]) ---------- */
.tecr-archivo { font-family: var(--tecr-fuente); display: flex; flex-direction: column; gap: 20px; }
.tecr-archivo__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tecr-archivo .tecr-archivo__h1 { margin: 0; font-family: var(--tecr-fuente); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--tecr-tinta); }
.tecr-archivo__count { font-size: 15px; color: var(--tecr-gris); }
.tecr-archivo__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tecr-chips, .tecr-orden { display: flex; gap: 8px; flex-wrap: wrap; }
.tecr-archivo a.tecr-chip, .tecr-archivo a.tecr-orden__op { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; text-decoration: none; }
.tecr-archivo a.tecr-chip { background: #f4f4f6; color: var(--tecr-tinta); }
.tecr-archivo a.tecr-chip.is-active { background: var(--tecr-tinta); color: #fff; }
.tecr-archivo a.tecr-orden__op { color: var(--tecr-gris); padding: 0 10px; }
.tecr-archivo a.tecr-orden__op.is-active { color: var(--tecr-tinta); font-weight: 600; }
.tecr-archivo__vacio { padding: 40px 0; color: var(--tecr-gris); }
.tecr-paginas ul { border: 0 !important; list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 12px 0 0; flex-wrap: wrap; }
.tecr-paginas .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid #ececec; color: var(--tecr-tinta); text-decoration: none; font-size: 15px; box-sizing: border-box; }
.tecr-paginas .page-numbers.current { background: var(--tecr-tinta); border-color: var(--tecr-tinta); color: #fff; }
.tecr-archivo__desc { max-width: 760px; color: #444; font-size: 15px; line-height: 1.6; }
@media (max-width: 767px) {
	.tecr-archivo { gap: 14px; }
	.tecr-archivo__bar { flex-direction: column; align-items: flex-start; }
	.tecr-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 2px; }
	.tecr-archivo a.tecr-chip { flex: 0 0 auto; }
}
