/* TCUH — estilos do frontend (filtro + cards de produto) */
.tcuh-wrap { width: 100%; }

/* Filtro inteligente */
.tcuh-filtro {
	background: #F0EBE7;
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	align-items: end;
}
.tcuh-filtro__campo { display: flex; flex-direction: column; gap: .35rem; }
.tcuh-filtro__campo label {
	font-size: .85rem;
	color: #1e1e1e;
	font-weight: 600;
	letter-spacing: .02em;
}
.tcuh-filtro__campo input,
.tcuh-filtro__campo select {
	padding: .65rem .85rem;
	border: 1px solid #d4cfc9;
	border-radius: 8px;
	font: inherit;
	background: #fff;
	transition: border-color .15s;
	cursor: pointer;
}
.tcuh-filtro__campo select { cursor: pointer; }
.tcuh-filtro__campo input:focus,
.tcuh-filtro__campo select:focus {
	outline: 0;
	border-color: #007A87;
}
.tcuh-filtro__actions { display: flex; gap: .5rem; align-items: flex-end; }
.tcuh-filtro__limpar,
.tcuh-filtro__limpar:link,
.tcuh-filtro__limpar:visited,
.tcuh-filtro__limpar:hover,
.tcuh-filtro__limpar:focus,
.tcuh-filtro__limpar:active {
	background: transparent !important;
	border: 1px solid #007A87 !important;
	padding: .65rem 1.1rem !important;
	color: #007A87 !important;
	cursor: pointer !important;
	font: inherit !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
	transition: background .15s, color .15s !important;
}
.tcuh-filtro__limpar:hover,
.tcuh-filtro__limpar:focus {
	background: #007A87 !important;
	color: #fff !important;
	border-color: #007A87 !important;
}
.tcuh-filtro__status {
	font-size: .9rem;
	color: #007A87;
	margin: 0 0 1.5rem;
	padding: 0 .25rem;
	font-weight: 500;
}

/* Card destacado quando bate filtro */
.tcuh-tax-card.is-match {
	box-shadow: 0 0 0 2px #00ABBD, 0 8px 24px rgba(0,171,189,.15);
}

/* Grid */
.tcuh-produtos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
}
.tcuh-empty { color: #999; text-align: center; padding: 2rem; grid-column: 1 / -1; }

/* Card */
.tcuh-produto-card {
	background: #fff; border: 1px solid #e4e4e4; border-radius: 10px;
	overflow: hidden; display: flex; flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease;
}
.tcuh-produto-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-3px); }
.tcuh-produto-card.is-hidden { display: none; }
.tcuh-produto-card__link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.tcuh-produto-card__img { aspect-ratio: 1/1; overflow: hidden; background: #f0f0f0; }
.tcuh-produto-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tcuh-produto-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tcuh-produto-card__titulo { font-size: 1.05rem; font-weight: 600; color: #606060; margin: 0; }
.tcuh-produto-card__preco {
	color: #007A87; font-weight: 600; font-size: .95rem;
	display: flex; align-items: center; gap: .4rem;
}
.tcuh-produto-card__preco::before { content: "❯"; }

/* Variações */
.tcuh-variacoes-wrap { margin: 1rem 0; }
.tcuh-variacoes-filtros {
	display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .75rem;
	padding: .75rem 1rem; background: #F5F0EA; border-radius: 8px; align-items: center;
}
.tcuh-variacoes-filtros label {
	display: inline-flex; align-items: center; gap: .4rem;
	font-size: .85rem; color: #4a4a4a; font-weight: 600;
}
.tcuh-variacoes-filtros select {
	padding: .35rem .6rem; border: 1px solid #d4cfc9; border-radius: 6px;
	background: #fff; font: inherit; cursor: pointer;
}
.tcuh-variacoes-lista {
	list-style: none; margin: 0; border-top: 1px solid #e4e4e4;
	max-height: 380px; overflow-y: auto;
	padding: 0 1rem 0 0; /* espaço pra scrollbar não cobrir os preços */
	scrollbar-gutter: stable;
}
.tcuh-variacoes-lista li {
	display: flex; justify-content: space-between; padding: .55rem .25rem;
	border-bottom: 1px solid #e4e4e4;
}
.tcuh-variacoes-lista li.is-hidden { display: none; }
.tcuh-var-nome { color: #1e1e1e; }
.tcuh-var-valor { color: #007A87; font-weight: 600; }
.tcuh-variacoes-status { font-size: .85rem; color: #999; margin: .5rem 0 0; min-height: 1em; }

/* Galeria (carrossel) */
.tcuh-galeria {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	margin: 0 0 1.5rem;
}
.tcuh-galeria__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	gap: 0;
	scrollbar-width: none;
}
.tcuh-galeria__track::-webkit-scrollbar { display: none; }
.tcuh-galeria__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	aspect-ratio: 4 / 3;
	background: #f0f0f0;
}
.tcuh-galeria__slide img {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
}
.tcuh-galeria__prev,
.tcuh-galeria__next {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(255,255,255,.92);
	border: 0; color: #007A87;
	width: 44px; height: 44px; border-radius: 999px;
	cursor: pointer; font-size: 1rem; font-weight: 700;
	box-shadow: 0 4px 12px rgba(0,0,0,.15);
	transition: transform .15s ease;
	z-index: 2;
}
.tcuh-galeria__prev:hover,
.tcuh-galeria__next:hover { transform: translateY(-50%) scale(1.08); }
.tcuh-galeria__prev { left: 12px; }
.tcuh-galeria__next { right: 12px; }
.tcuh-galeria__dots {
	position: absolute; bottom: 12px; left: 0; right: 0;
	display: flex; justify-content: center; gap: .4rem; z-index: 2;
}
.tcuh-galeria__dot {
	width: 10px; height: 10px; border-radius: 999px;
	background: rgba(255,255,255,.6); border: 0;
	cursor: pointer; transition: background .2s ease;
}
.tcuh-galeria__dot.is-active { background: #fff; }

/* Galeria no admin (grid sortable) */
.tcuh-galeria-admin {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: .5rem;
	margin-bottom: .75rem;
}
.tcuh-galeria-admin__item {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	overflow: hidden;
	background: #f0f0f0;
	cursor: grab;
}
.tcuh-galeria-admin__item:active { cursor: grabbing; }
.tcuh-galeria-admin__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcuh-galeria-admin__rm {
	position: absolute; top: 4px; right: 4px;
	background: rgba(0,0,0,.7); color: #fff;
	border: 0; width: 26px; height: 26px;
	border-radius: 50%; font-size: .85rem; cursor: pointer;
}
.tcuh-galeria-admin__rm:hover { background: rgba(192,57,43,.9); }

/* ===================================================
 * FAQ accordion
 * =================================================== */
.tcuh-faq-list { display: flex; flex-direction: column; gap: .6rem; max-width: 760px; margin: 0 auto; }
.tcuh-faq-item {
	background: #F5F0EA; border: 1px solid #ECE5DD; border-radius: 12px;
	overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.tcuh-faq-item[open] { border-color: #00ABBD; box-shadow: 0 6px 16px rgba(0,171,189,.1); }
.tcuh-faq-item summary {
	padding: 1rem 1.25rem; cursor: pointer; list-style: none;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	font-weight: 700; color: #007A87; font-family: 'League Spartan','Open Sans',sans-serif;
	font-size: 1.02rem;
}
.tcuh-faq-item summary::-webkit-details-marker { display: none; }
.tcuh-faq-item summary::after {
	content: "+"; font-size: 1.4rem; color: #00ABBD;
	font-weight: 400; line-height: 1; flex-shrink: 0;
}
.tcuh-faq-item[open] summary::after { content: "−"; }
.tcuh-faq-resposta { padding: 0 1.25rem 1.25rem; color: #4a4a4a; font-size: .95rem; line-height: 1.6; }
.tcuh-faq-resposta p { margin: 0 0 .75rem; }
.tcuh-faq-resposta p:last-child { margin: 0; }

/* FAQ no single produto (CTA WhatsApp depois) */
.tcuh-product__faq { margin: 3rem 0 0; }
.tcuh-product__faq h2 {
	text-align: center; color: #007A87;
	font-family: 'League Spartan','Open Sans',sans-serif;
	font-size: clamp(1.4rem,2.5vw,1.85rem); margin-bottom: 1.5rem;
}
.tcuh-product__faq-cta { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #ECE5DD; }
.tcuh-product__faq-cta p { color: #4a4a4a; margin-bottom: 1rem; }
.tcuh-product__wa-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	background: #007A87; color: #fff !important;
	padding: .85rem 1.75rem; border-radius: 999px;
	text-decoration: none !important; font-weight: 600;
	transition: background .2s, transform .15s;
}
.tcuh-product__wa-btn:hover { background: #00ABBD; transform: translateY(-1px); color: #fff !important; }

/* ===================================================
 * Faixa do E-BOOK
 * =================================================== */
.tcuh-ebook-faixa {
	margin: 3rem 0;
	background: linear-gradient(135deg, #007A87 0%, #00ABBD 100%);
	border-radius: 16px;
	padding: 2rem clamp(1.5rem, 4vw, 3rem);
	color: #fff;
	box-shadow: 0 12px 32px rgba(0,122,135,.18);
}
.tcuh-ebook-faixa__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1.5rem;
	align-items: center;
}
@media (max-width: 700px) { .tcuh-ebook-faixa__inner { grid-template-columns: 1fr; text-align: center; } }
.tcuh-ebook-faixa__tag {
	font-size: .75rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	font-weight: 700;
	color: rgba(255,255,255,.85);
	margin-bottom: .5rem;
}
.tcuh-ebook-faixa__titulo {
	font-family: 'League Spartan', 'Open Sans', sans-serif;
	color: #fff !important;
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
	font-weight: 700;
	margin: 0 0 .5rem;
	line-height: 1.15;
}
.tcuh-ebook-faixa__desc {
	color: rgba(255,255,255,.92);
	font-size: 1rem;
	margin: 0;
	line-height: 1.5;
}
.tcuh-ebook-faixa__btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	background: #fff;
	color: #007A87 !important;
	padding: 1rem 1.75rem;
	border-radius: 999px;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 1rem;
	white-space: nowrap;
	transition: transform .15s, box-shadow .15s;
}
.tcuh-ebook-faixa__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,.2);
	color: #007A87 !important;
}

/* ===================================================
 * SINGLE PRODUTO — template próprio do plugin
 * =================================================== */
.tcuh-product {
	padding: 3rem 0;
	background: #fff;
	font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
	color: #1e1e1e;
}
.tcuh-product__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.tcuh-product__breadcrumb {
	font-size: .85rem;
	color: #8c8c8c;
	margin-bottom: 1.5rem;
	display: flex;
	gap: .4rem;
	align-items: center;
	flex-wrap: wrap;
}
.tcuh-product__breadcrumb a { color: #007A87; text-decoration: none; }
.tcuh-product__breadcrumb a:hover { color: #00ABBD; text-decoration: underline; }
.tcuh-product__breadcrumb span:last-child { color: #1e1e1e; }

.tcuh-product__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}
@media (max-width: 800px) {
	.tcuh-product__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.tcuh-product__media .tcuh-galeria,
.tcuh-product__thumb,
.tcuh-product__placeholder {
	border-radius: 12px;
	overflow: hidden;
	width: 100%;
	display: block;
	background: #f0f0f0;
}
.tcuh-product__thumb {
	height: auto;
	max-height: 600px;
	object-fit: cover;
}
.tcuh-product__placeholder {
	aspect-ratio: 4/3;
	display: grid;
	place-items: center;
	color: #999;
	font-size: .9rem;
}

.tcuh-product__title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	color: #007A87;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 1rem;
}
.tcuh-product__price {
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	color: #007A87;
	font-weight: 700;
	margin: 0 0 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e4e4e4;
}
.tcuh-product__obs {
	display: block;
	font-size: .9rem;
	font-weight: 400;
	color: #606060;
	font-style: italic;
	margin-top: .35rem;
}
.tcuh-product__desc {
	margin-bottom: 1.5rem;
	line-height: 1.7;
	color: #1e1e1e;
}
.tcuh-product__desc p { margin: 0 0 1em; }
.tcuh-product__variations {
	margin: 1.5rem 0 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e4e4e4;
}
.tcuh-product__variations h3 {
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #606060;
	margin: 0 0 .75rem;
	font-weight: 600;
}
.tcuh-product__cta {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: 1rem 2rem;
	background: #007A87;
	color: #fff !important;
	border-radius: 999px;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 1.05rem;
	transition: background .15s, transform .15s;
	border: 0;
}
.tcuh-product__cta:hover {
	background: #00ABBD;
	transform: translateY(-1px);
}

/* Outros produtos (relacionados) */
.tcuh-product__related {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid #e4e4e4;
}
.tcuh-product__related h2 {
	font-size: 1.4rem;
	color: #1e1e1e;
	margin: 0 0 1.5rem;
}
.tcuh-product__related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25rem;
}

/* ===================================================
 * LOOP de produtos (shortcode + cards relacionados)
 * =================================================== */
.tcuh-loop {
	display: grid;
	gap: 1.5rem;
}
.tcuh-loop--cols-2 { grid-template-columns: repeat(2, 1fr); }
.tcuh-loop--cols-3 { grid-template-columns: repeat(3, 1fr); }
.tcuh-loop--cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
	.tcuh-loop--cols-3, .tcuh-loop--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.tcuh-loop--cols-2, .tcuh-loop--cols-3, .tcuh-loop--cols-4 { grid-template-columns: 1fr; }
}

.tcuh-tax-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,.06);
	text-decoration: none !important;
	color: inherit !important;
	transition: transform .2s, box-shadow .2s;
	display: flex;
	flex-direction: column;
}
.tcuh-tax-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	color: inherit;
}
.tcuh-tax-card__media {
	aspect-ratio: 4/3;
	overflow: hidden;
	background: #f0f0f0;
}
.tcuh-tax-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}
.tcuh-tax-card:hover .tcuh-tax-card__media img { transform: scale(1.04); }
.tcuh-tax-card__body {
	padding: 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.tcuh-tax-card__body h3 {
	margin: 0;
	font-size: 1.05rem;
	color: #1e1e1e;
	font-weight: 600;
	line-height: 1.3;
}
.tcuh-tax-card__price {
	color: #007A87;
	font-weight: 700;
	font-size: .95rem;
	margin-top: auto;
}
.tcuh-empty {
	padding: 3rem 1.5rem;
	text-align: center;
	color: #999;
	background: #f6f7f5;
	border-radius: 12px;
}

/* Botão WhatsApp — força fonte branca com alta especificidade pra vencer CSS do tema */
a.tcuh-btn-whatsapp,
a.tcuh-btn-whatsapp:link,
a.tcuh-btn-whatsapp:visited,
.tcuh-btn-whatsapp,
a.tcuh-product__cta,
a.tcuh-product__cta:link,
a.tcuh-product__cta:visited {
	display: inline-flex !important;
	align-items: center; justify-content: center;
	gap: .5rem;
	padding: .85em 1.6em;
	border-radius: 999px !important;
	font-weight: 600 !important;
	background: #007A87 !important;
	color: #ffffff !important;
	text-decoration: none !important;
	border: 0 !important;
	transition: all .2s ease;
}
a.tcuh-btn-whatsapp:hover,
.tcuh-btn-whatsapp:hover,
a.tcuh-product__cta:hover {
	background: #00ABBD !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}
a.tcuh-btn-whatsapp *,
a.tcuh-product__cta * { color: #ffffff !important; }
