/* ==================================================================
   Tropical Varejo — design system da loja
   Paleta e medidas fiéis ao layout aprovado no preview.
   As cores da marca podem ser trocadas no Personalizar (--tv-*).
   ================================================================== */

:root {
	--tv-ink: #17243d;
	--tv-navy: #102d5b;
	--tv-navy-deep: #0b2348;
	--tv-blue: #123f9a;
	--tv-blue-dark: #0b2d6d;
	--tv-blue-soft: #eef1fd;
	--tv-blue-100: #dfe5fb;
	--tv-amarelo: #f2bd4b;
	--tv-amarelo-dark: #e7b32f;
	--tv-amarelo-light: #f5c75d;
	--tv-verde: #1f9d63;
	--tv-verde-soft: #cfeee2;
	--tv-wa: #25d366;
	--tv-cinza-50: #f7f8fa;
	--tv-cinza-100: #eff1f4;
	--tv-cinza-200: #e4e7ec;
	--tv-cinza-400: #9aa1b2;
	--tv-cinza-500: #6b7488;
	--tv-cinza-600: #545d72;
	--tv-shadow-soft: 0 22px 46px -30px rgba(5, 15, 82, .55);
	--tv-shadow-wa: 0 12px 28px -12px rgba(37, 211, 102, .7);
}

/* ------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 118px;
}

body {
	margin: 0;
	color: var(--tv-ink);
	background: #fff;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
h1, h2, h3 { letter-spacing: -.035em; }
button { border-radius: 5px; font-family: inherit; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

:focus-visible {
	outline: 2px solid var(--tv-blue);
	outline-offset: 2px;
}

.tv-container {
	width: min(1280px, calc(100% - 40px));
	margin-left: auto;
	margin-right: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ------------------------------------------------------------------
   Topbar
   ------------------------------------------------------------------ */

.tv-topbar {
	background: var(--tv-navy);
	color: #fff;
}

.tv-topbar-inner {
	display: flex;
	min-height: 30px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 24px;
	padding: 4px 0;
	text-align: center;
	font-size: 10px;
	font-weight: 600;
}

.tv-topbar-inner a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .4);
	text-underline-offset: 2px;
}

@media (min-width: 640px) {
	.tv-topbar-inner { justify-content: space-between; font-size: 11px; }
}

/* ------------------------------------------------------------------
   Cabeçalho
   ------------------------------------------------------------------ */

.tv-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--tv-cinza-200);
	background: #fff;
	box-shadow: 0 3px 16px rgba(17, 35, 67, .045);
}

.tv-header-main {
	display: flex;
	min-height: 76px;
	align-items: center;
	gap: 24px;
	padding: 12px 0;
}

.tv-logo {
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

.tv-logo img,
.tv-logo .custom-logo {
	display: block;
	height: var(--tv-logo-h, 48px);
	width: auto;
}

.tv-search { position: relative; display: none; flex: 1; }

@media (min-width: 768px) {
	.tv-search { display: block; }
}

.tv-search-box {
	display: flex;
	height: 46px;
	max-width: 560px;
	align-items: center;
	border: 1px solid var(--tv-cinza-200);
	border-radius: 6px;
	background: var(--tv-cinza-50);
	padding-left: 16px;
	padding-right: 6px;
}

.tv-search-box input[type='search'] {
	height: 100%;
	min-width: 0;
	flex: 1;
	border: 0;
	outline: none;
	background: transparent;
	font-size: 13px;
	color: var(--tv-ink);
}

.tv-search-box input[type='search']::placeholder { color: var(--tv-cinza-400); }

.tv-search-box button {
	height: 34px;
	border: 0;
	border-radius: 5px;
	background: var(--tv-blue);
	padding: 0 16px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #fff;
	cursor: pointer;
	transition: background .2s;
}

.tv-search-box button:hover { background: var(--tv-blue-dark); }

.tv-search-mobile { display: block; padding-bottom: 12px; }

@media (min-width: 768px) {
	.tv-search-mobile { display: none; }
}

.tv-search-box--sm { height: 42px; }
.tv-search-box--sm button { height: 30px; padding: 0 12px; font-size: 11px; }

.tv-header-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.tv-action {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	color: var(--tv-ink);
	text-decoration: none;
}

.tv-action--wa { display: none; }

@media (min-width: 1024px) {
	.tv-action--wa { display: flex; }
}

.tv-icon-circle {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex-shrink: 0;
}

.tv-icon-circle--wa { background: #dce8dd; color: var(--tv-verde); }
.tv-icon-circle--user { background: var(--tv-blue-soft); color: var(--tv-blue); }

.tv-action-label { display: none; }

@media (min-width: 1024px) {
	.tv-action:not(.tv-action--wa) .tv-action-label { display: inline; }
}

@media (min-width: 1280px) {
	.tv-action--wa .tv-action-label { display: inline; }
}

.tv-cart-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 5px;
	background: var(--tv-blue);
	color: #fff;
	text-decoration: none;
	transition: background .2s;
}

.tv-cart-btn:hover { background: var(--tv-blue-dark); }

.tv-cart-count {
	position: absolute;
	right: -4px;
	top: -4px;
	display: grid;
	min-width: 18px;
	height: 18px;
	place-items: center;
	border-radius: 999px;
	background: var(--tv-amarelo);
	padding: 0 4px;
	font-size: 10px;
	font-weight: 800;
	color: var(--tv-ink);
}

.tv-burger {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--tv-cinza-200);
	border-radius: 50%;
	background: #fff;
	color: var(--tv-ink);
	cursor: pointer;
}

@media (min-width: 768px) {
	.tv-burger { display: none; }
}

/* ------------------------------------------------------------------
   Menu principal + mega menu
   ------------------------------------------------------------------ */

.tv-nav {
	position: relative;
	display: none;
	background: linear-gradient(90deg, var(--tv-navy) 0%, color-mix(in srgb, var(--tv-navy), #ffffff 12%) 54%, var(--tv-navy) 100%);
	box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

@media (min-width: 768px) {
	.tv-nav { display: block; }
}

.tv-nav-inner {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 2px;
}

.tv-nav-link {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 56px;
	padding: 0 15px;
	color: #f7f9fc;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: .01em;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	text-decoration: none;
	transition: background .15s;
}

.tv-nav-link:hover {
	background: rgba(255, 255, 255, .09);
	color: #fff;
	border-bottom-color: var(--tv-amarelo);
}

.tv-nav-oferta {
	color: #ffd366;
	border-bottom-color: #ffd366;
}

.tv-caret { font-size: 9px; color: var(--tv-amarelo-light); }

@media (min-width: 768px) and (max-width: 1150px) {
	.tv-nav-link { padding: 0 10px; font-size: 13.5px; }
}

.tv-nav-item {
	position: static;
	display: flex;
	align-items: stretch;
}

.tv-mega {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 60;
	background: #fff;
	border-top: 3px solid var(--tv-amarelo);
	border-bottom: 1px solid var(--tv-cinza-200);
	box-shadow: 0 28px 50px -24px rgba(16, 45, 91, .45);
}

.tv-nav-item:hover .tv-mega,
.tv-nav-item:focus-within .tv-mega { display: block; }

.tv-mega-inner {
	display: flex;
	gap: 32px;
	padding: 28px 0;
}

.tv-mega-cols {
	--tv-mega-columns: 4;
	display: grid;
	grid-template-columns: repeat(var(--tv-mega-columns, 4), 1fr);
	gap: 24px;
}
.tv-mega-title {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tv-blue);
	text-decoration: none;
}

.tv-mega-title:hover { color: var(--tv-amarelo-dark); }

.tv-mega-link {
	display: block;
	width: fit-content;
	margin-left: -8px;
	padding: 5px 8px;
	border-radius: 5px;
	color: #3a4763;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	break-inside: avoid;
}

.tv-mega-link:hover {
	color: var(--tv-blue);
	background: var(--tv-blue-soft);
}

.tv-mega-all {
	align-self: flex-start;
	white-space: nowrap;
	background: var(--tv-blue);
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	padding: 12px 21px;
	border-radius: 5px;
	text-decoration: none;
}

.tv-mega-all:hover { background: var(--tv-blue-dark); }

/* ------------------------------------------------------------------
   Menu mobile (acordeão)
   ------------------------------------------------------------------ */

.tv-mobile-menu {
	display: none;
	border-bottom: 1px solid var(--tv-cinza-200);
	background: #fff;
}

.tv-mobile-menu.is-open { display: block; }

@media (min-width: 768px) {
	.tv-mobile-menu { display: none !important; }
}

.tv-mobile-inner {
	display: flex;
	flex-direction: column;
	padding: 8px 0 16px;
}

.tv-mobile-inner form { padding: 8px 0 12px; }

.tv-mobile-oferta,
.tv-mobile-root {
	border-bottom: 1px solid var(--tv-cinza-200);
	padding: 14px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--tv-ink);
	text-decoration: none;
}

.tv-mobile-oferta { color: var(--tv-amarelo-dark); }

.tv-mobile-details { border-bottom: 1px solid var(--tv-cinza-200); }

.tv-mobile-details summary {
	display: flex;
	cursor: pointer;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--tv-ink);
}

.tv-mobile-caret { color: var(--tv-amarelo-dark); }

.tv-mobile-all {
	display: block;
	padding: 8px 0 8px 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--tv-blue);
	text-decoration: none;
}

.tv-mobile-sub { padding-left: 8px; }

.tv-mobile-sub summary {
	padding: 8px 0;
	font-size: 14px;
	font-weight: 600;
}

.tv-mobile-link {
	display: block;
	padding: 6px 0 6px 16px;
	font-size: 13px;
	color: var(--tv-cinza-600);
	text-decoration: none;
}

.tv-mobile-link:hover,
.tv-mobile-all:hover { color: var(--tv-blue); }

/* ------------------------------------------------------------------
   Banner principal
   ------------------------------------------------------------------ */

.tv-hero { display: block; background: var(--tv-navy-deep); }
.tv-hero a { display: block; }
.tv-hero img,
.tv-hero picture { display: block; width: 100%; }

/* ------------------------------------------------------------------
   Faixa de benefícios
   ------------------------------------------------------------------ */

.tv-benefits-section {
	position: relative;
	z-index: 10;
	background: #fff;
	padding-bottom: 8px;
}

.tv-benefits {
	display: grid;
	gap: 12px;
	margin-top: -28px;
}

@media (min-width: 640px) {
	.tv-benefits { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.tv-benefit {
	display: flex;
	min-height: 96px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: 1px solid var(--tv-cinza-200);
	border-radius: 12px;
	background: #fff;
	padding: 16px;
	box-shadow: var(--tv-shadow-soft);
	color: inherit;
	text-decoration: none;
}

.tv-benefit--icon { justify-content: flex-start; gap: 16px; }

a.tv-benefit { transition: border-color .2s, box-shadow .2s; }
a.tv-benefit:hover { border-color: var(--tv-blue-100); box-shadow: 0 18px 40px -24px rgba(5, 15, 82, .45); }

.tv-benefit-txt strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--tv-ink);
}

.tv-benefit-txt small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--tv-cinza-500);
}

.tv-benefit-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--tv-blue);
	color: #fff;
}

@media (min-width: 640px) {
	.tv-benefit { padding: 20px; }
}

/* Bandeiras de pagamento (sprite do layout aprovado) */
.tv-payment-logos {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 2px;
}

.tv-payment-logo {
	display: block;
	width: 60px;
	height: 32px;
	flex: 0 0 auto;
	background-image: url('../img/bandeiras1-min-300x65.webp');
	background-repeat: no-repeat;
}

.tv-payment-logo--visa { background-position: -180px 0; }
.tv-payment-logo--elo { background-position: -120px 0; }
.tv-payment-logo--mastercard { background-position: -60px -33px; }
.tv-payment-logo--pix { background-position: -60px 0; }

/* ------------------------------------------------------------------
   Seções e cabeçalhos de seção
   ------------------------------------------------------------------ */

.tv-section { position: relative; }

.tv-section--white { background: #fff; padding: 40px 0 48px; }
.tv-section--gray { background: var(--tv-cinza-50); padding: 44px 0; }
.tv-section--gradient {
	overflow: hidden;
	background: linear-gradient(135deg, #eef3fb 0%, #f6f8fc 52%, #e9eff9 100%);
	padding: 48px 0;
}

@media (min-width: 640px) {
	.tv-section--gradient { padding: 56px 0; }
}

@media (min-width: 1024px) {
	.tv-section--white { padding-bottom: 56px; }
	.tv-section--gray { padding: 56px 0; }
	.tv-section--gradient { padding: 64px 0; }
}

.tv-blob {
	position: absolute;
	right: -96px;
	top: -112px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: var(--tv-blue);
	opacity: .05;
	filter: blur(48px);
	pointer-events: none;
}

.tv-sec-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.tv-eyebrow {
	margin: 0 0 6px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .16em;
	color: var(--tv-blue);
}

.tv-title {
	margin: 0;
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.04em;
	color: var(--tv-ink);
}

.tv-sec-tools {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tv-sec-link {
	display: none;
	padding: 0 8px;
	font-size: 11px;
	font-weight: 700;
	color: var(--tv-blue);
	text-decoration: none;
}

.tv-sec-link:hover { color: var(--tv-blue-dark); text-decoration: underline; }

@media (min-width: 640px) {
	.tv-sec-link { display: block; }
}

.tv-carousel-arrow {
	display: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--tv-cinza-200);
	border-radius: 999px;
	background: #fff;
	color: var(--tv-navy);
	font-size: 15px;
	cursor: pointer;
	transition: border-color .2s;
}

.tv-carousel-arrow:hover { border-color: var(--tv-blue); }

.tv-carousel-arrow:disabled { opacity: .38; cursor: not-allowed; }
.tv-carousel-arrow:disabled:hover { border-color: var(--tv-cinza-200); }

@media (min-width: 640px) {
	.tv-carousel-arrow { display: grid; }
}

/* ------------------------------------------------------------------
   Trilhos (carrosséis)
   ------------------------------------------------------------------ */

.tv-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 12px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.tv-track::-webkit-scrollbar { display: none; }

.tv-track > * { flex-shrink: 0; scroll-snap-align: start; }

.tv-track--cats { gap: 12px; }

@media (min-width: 640px) {
	.tv-track--cats { gap: 16px; }
}

/* Cards de categoria */
.tv-cat-card {
	display: block;
	width: min(78vw, 240px);
	overflow: hidden;
	border: 1px solid var(--tv-cinza-200);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(17, 35, 67, .05);
	text-decoration: none;
	transition: transform .3s, box-shadow .3s;
}

@media (min-width: 640px) {
	.tv-cat-card { width: calc((100% - 32px) / 3); }
}

@media (min-width: 1024px) {
	.tv-cat-card { width: calc((100% - 64px) / 5); }
}

.tv-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tv-shadow-soft);
}

.tv-cat-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform .5s;
}

.tv-cat-card:hover img { transform: scale(1.04); }

.tv-cat-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	background: var(--tv-blue-soft);
	color: var(--tv-blue);
	font-size: 42px;
	font-weight: 800;
}

.tv-cat-name {
	display: flex;
	min-height: 62px;
	align-items: center;
	padding: 12px 16px;
}

.tv-cat-name strong {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--tv-ink);
}

/* Trilho de produtos */
.tv-track--products > .tv-track-item { width: 248px; }

@media (min-width: 640px) {
	.tv-track--products > .tv-track-item { width: 264px; }
}

@media (min-width: 1024px) {
	.tv-track--products > .tv-track-item { width: 276px; }
}

/* ------------------------------------------------------------------
   Card de produto
   ------------------------------------------------------------------ */

.tv-card {
	display: flex;
	width: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e1e6ee;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 7px rgba(17, 35, 67, .045);
	transition: transform .2s, box-shadow .2s;
}

.tv-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(17, 35, 67, .09);
}

.tv-card-media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--tv-cinza-100);
}

.tv-card-media img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 0.9;
	object-fit: cover;
	transition: transform .3s;
}

.tv-card:hover .tv-card-media img { transform: scale(1.03); }

.tv-badge-oferta {
	position: absolute;
	left: 12px;
	top: 12px;
	border-radius: 5px;
	background: var(--tv-amarelo);
	padding: 6px 10px;
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--tv-ink);
}

.tv-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px;
}

.tv-card-cat {
	margin: 0;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--tv-blue);
}

.tv-card-title {
	margin: 6px 0 0;
	min-height: 38px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--tv-ink);
}

.tv-card-title a { color: inherit; text-decoration: none; }
.tv-card-title a:hover { color: var(--tv-blue); }

.tv-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tv-card-prices { margin-top: 10px; }

.tv-price-de {
	margin: 0;
	font-size: 11px;
	color: var(--tv-cinza-400);
	text-decoration: line-through;
}

.tv-price-de .woocommerce-Price-amount { text-decoration: line-through; }

.tv-price-big {
	margin: 2px 0 0;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--tv-ink);
}

.tv-price-line {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 4px 0 0;
	font-size: 12px;
	color: var(--tv-cinza-600);
}

.tv-price-line svg { flex-shrink: 0; }
.tv-price-line strong { font-weight: 700; color: var(--tv-ink); }
.tv-price-pix { font-weight: 700 !important; color: #127a52 !important; }

.tv-add-btn {
	display: flex;
	height: 44px;
	width: 100%;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
	border: 0;
	border-radius: 5px;
	background: var(--tv-blue);
	padding: 0 8px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s;
}

.tv-add-btn:hover { background: var(--tv-blue-dark); }
.tv-add-btn.loading { opacity: .75; }
.tv-add-btn.added { background: var(--tv-verde); }

.tv-card-wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 8px;
	padding: 4px 0;
	font-size: 12px;
	font-weight: 500;
	color: var(--tv-cinza-500);
	text-decoration: none;
	transition: color .2s;
}

.tv-card-wa:hover { color: var(--tv-verde); }

/* ------------------------------------------------------------------
   Instagram
   ------------------------------------------------------------------ */

.tv-insta {
	overflow: hidden;
	background: linear-gradient(135deg, #fff8ed 0%, #fff2f5 52%, #f1f4ff 100%);
	padding: 56px 0;
}

@media (min-width: 640px) {
	.tv-insta { padding: 64px 0; }
}

@media (min-width: 1024px) {
	.tv-insta { padding: 80px 0; }
}

.tv-insta-head {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

@media (min-width: 640px) {
	.tv-insta-head { flex-direction: row; align-items: flex-end; margin-bottom: 36px; }
}

.tv-insta-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	border: 1px solid var(--tv-cinza-200);
	border-radius: 999px;
	background: #fff;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--tv-ink);
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(17, 35, 67, .06);
	transition: border-color .2s;
}

.tv-insta-chip:hover { border-color: var(--tv-blue-100); }

.tv-insta-chip-ring {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(45deg, #ffc34a, #e44773, #7652ca);
	color: #fff;
}

.tv-insta-chip-arrow { color: var(--tv-cinza-400); }

.tv-insta-title {
	margin: 0;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.045em;
	color: var(--tv-ink);
}

.tv-insta-sub {
	margin: 12px 0 0;
	max-width: 560px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--tv-cinza-600);
}

.tv-btn-blue {
	display: inline-flex;
	height: 44px;
	width: fit-content;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 5px;
	background: var(--tv-blue);
	padding: 0 20px;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #fff;
	text-decoration: none;
	transition: background .2s;
}

.tv-btn-blue:hover { background: var(--tv-blue-dark); }

.tv-insta-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

@media (min-width: 640px) {
	.tv-insta-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

@media (min-width: 1024px) {
	.tv-insta-grid { gap: 20px; }
}

.tv-insta-tile {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
	box-shadow: 0 22px 46px -30px rgba(5, 15, 82, .4);
}

.tv-insta-media { position: relative; }

.tv-insta-video,
.tv-insta-tile img {
	display: block;
	width: 100%;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	background: #000;
}

.tv-insta-tile img { transition: transform .5s; }

.tv-insta-tile:hover img { transform: scale(1.04); }

.tv-insta-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .95);
	color: var(--tv-blue);
	cursor: pointer;
	box-shadow: 0 14px 34px -14px rgba(5, 15, 82, .55);
	transition: transform .2s;
}

.tv-insta-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.tv-insta-play[hidden] { display: none; }
.tv-insta-play svg { width: 32px; height: 32px; margin-left: 4px; fill: currentColor; }

.tv-insta-ig {
	position: absolute;
	right: 12px;
	top: 12px;
	z-index: 20;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 50%;
	background: rgba(255, 255, 255, .95);
	color: var(--tv-navy);
	transition: transform .2s;
}

.tv-insta-ig:hover { transform: scale(1.06); }

.tv-insta-tema {
	margin: 0;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

/* ------------------------------------------------------------------
   Faixa de novidades
   ------------------------------------------------------------------ */

.tv-news-section { background: #fff; padding: 32px 0; }

@media (min-width: 640px) {
	.tv-news-section { padding: 40px 0; }
}

.tv-news {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: 220px;
	align-items: center;
	overflow: hidden;
	border-radius: 12px;
	background: var(--tv-navy);
	color: #fff;
	text-decoration: none;
	box-shadow: var(--tv-shadow-soft);
}

@media (min-width: 640px) {
	.tv-news { aspect-ratio: 4.36 / 1; min-height: 210px; }
}

.tv-news-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .5s;
}

.tv-news:hover .tv-news-bg { transform: scale(1.015); }

.tv-news-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, color-mix(in srgb, var(--tv-navy), transparent 55%) 0%, color-mix(in srgb, var(--tv-navy), transparent 85%) 55%, transparent 100%);
}

.tv-news-content {
	display: block;
	max-width: 600px;
	padding: 24px;
}

@media (min-width: 640px) {
	.tv-news-content { padding: 32px; }
}

@media (min-width: 1024px) {
	.tv-news-content { padding: 40px; }
}

.tv-news-eyebrow {
	display: block;
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .18em;
	color: var(--tv-amarelo-light);
}

.tv-news-title {
	display: block;
	font-size: clamp(25px, 3.5vw, 42px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.04em;
}

.tv-news-btn {
	display: inline-flex;
	margin-top: 20px;
	border-radius: 5px;
	background: var(--tv-amarelo);
	padding: 12px 20px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--tv-ink);
	transition: background .2s;
}

.tv-news:hover .tv-news-btn { background: #fff; }

/* ------------------------------------------------------------------
   Rodapé
   ------------------------------------------------------------------ */

.tv-footer {
	border-top: 1px solid #e5e7eb;
	background: #f7f7f7;
	color: #586174;
}

.tv-footer-main {
	background: #fff;
}

.tv-footer-grid {
	display: grid;
	gap: 36px;
	padding: 52px 0 46px;
}

@media (min-width: 768px) {
	.tv-footer-grid { grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(160px, .85fr)); }
}

@media (min-width: 1024px) {
	.tv-footer-grid { grid-template-columns: minmax(240px, 1.15fr) minmax(155px, .75fr) minmax(190px, .95fr) minmax(210px, 1fr); }
	.tv-footer-grid > :not(:first-child) { border-left: 1px solid #e8e9ec; padding-left: 32px; }
}

.tv-footer-logo {
	display: inline-flex;
	align-items: center;
	width: fit-content;
}

.tv-footer-logo img { height: 39px; width: auto; }

.tv-footer-brand p {
	margin: 18px 0 0;
	max-width: 275px;
	font-size: 14px;
	line-height: 1.6;
	color: #667085;
}

.tv-footer-wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	border: 0;
	border-radius: 4px;
	background: #16a566;
	padding: 11px 15px;
	font-size: 12px;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
	transition: background .2s;
}

.tv-footer-wa:hover { background: #0f8d54; }

.tv-footer-title {
	position: relative;
	margin: 4px 0 0;
	padding-bottom: 12px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: #182a4b;
}

.tv-footer-title::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 22px;
	height: 2px;
	background: var(--tv-blue);
	content: '';
}

.tv-footer-links {
	display: grid;
	gap: 10px;
	margin: 17px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.4;
}

.tv-footer-links a {
	color: #586174;
	text-decoration: none;
	transition: color .2s, transform .2s;
}

.tv-footer-links a:hover { color: var(--tv-blue); transform: translateX(3px); }

.tv-footer-atend { gap: 13px; }
.tv-footer-atend li { display: flex; align-items: flex-start; gap: 10px; }

.tv-foot-ico { flex-shrink: 0; margin-top: 2px; color: var(--tv-blue); }

.tv-footer-trust {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-top: 1px solid #e5e7eb;
	padding: 24px 0;
}

.tv-footer-trust-copy p {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.45;
}

.tv-seals-label {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #182a4b;
}

.tv-seals {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 13px;
}

@media (min-width: 640px) {
	.tv-seals { justify-content: flex-end; }
}

.tv-seals img {
	border-radius: 3px;
	background: transparent;
	object-fit: contain;
	padding: 3px;
}

.tv-seals img:nth-child(1) { height: 26px; }
.tv-seals img:nth-child(2) { height: 31px; }
.tv-seals img:nth-child(3) { height: 29px; }
.tv-seals img:nth-child(4) { height: 25px; }

@media (min-width: 640px) {
	.tv-seals img:nth-child(1) { height: 30px; }
	.tv-seals img:nth-child(2) { height: 36px; }
	.tv-seals img:nth-child(3) { height: 33px; }
	.tv-seals img:nth-child(4) { height: 28px; }
}

.tv-footer-bottom {
	border-top: 1px solid #e5e7eb;
	background: #fff;
}

.tv-footer-bottom-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 17px 82px 17px 0;
	font-size: 12px;
	color: #70798a;
}

.tv-footer-bottom-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 22px;
}

.tv-footer-credit a {
	color: #182a4b;
	text-decoration: none;
}

.tv-footer-credit a:hover { color: var(--tv-blue); }

@media (min-width: 640px) {
	.tv-footer-bottom-inner { flex-direction: row; }
}

@media (max-width: 767px) {
	.tv-footer-grid { padding: 36px 0; }
	.tv-footer-trust { align-items: flex-start; flex-direction: column; }
	.tv-seals { justify-content: flex-start; }
	.tv-footer-bottom-meta { align-items: flex-start; flex-direction: column; }
}

/* ------------------------------------------------------------------
   WhatsApp flutuante
   ------------------------------------------------------------------ */

.tv-wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	display: flex;
	align-items: center;
	gap: 10px;
	height: var(--tv-wa-size, 56px);
	border-radius: 60px;
	background: var(--tv-wa);
	color: #fff;
	box-shadow: var(--tv-shadow-wa);
	transition: transform .2s;
}

.tv-wa-float svg { width: calc(var(--tv-wa-size, 56px) * .5); height: auto; }

.tv-wa-float--icone { width: var(--tv-wa-size, 56px); justify-content: center; }

.tv-wa-float--rotulo { padding: 0 18px 0 15px; }

.tv-wa-float--esq { right: auto; left: 20px; }

.tv-wa-float-label { font-size: 13px; font-weight: 700; white-space: nowrap; }

.tv-wa-float:hover { transform: scale(1.06); }

/* ------------------------------------------------------------------
   Páginas genéricas
   ------------------------------------------------------------------ */

.tv-main { min-height: 50vh; padding: 48px 0 64px; }
.tv-post .tv-title { margin-bottom: 20px; }

.tv-content {
	font-size: 16px;
	line-height: 1.7;
	color: var(--tv-cinza-600);
}

.tv-content a { color: var(--tv-blue); }

.tv-content h2 {
	margin: 36px 0 12px;
	color: var(--tv-navy);
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.25;
}

.tv-content h2:first-child { margin-top: 0; }
.tv-content p { max-width: 860px; }
.tv-content ul { max-width: 860px; padding-left: 22px; }
.tv-content li + li { margin-top: 8px; }

.tv-empty {
	padding: 80px 0;
	text-align: center;
	color: var(--tv-cinza-500);
}

/* ------------------------------------------------------------------
   Ajustes mobile
   ------------------------------------------------------------------ */

@media (max-width: 767px) {
	.tv-header-main { min-height: 64px; gap: 12px; }

	.tv-logo img,
	.tv-logo .custom-logo { height: min(var(--tv-logo-h, 48px), 44px); }

	.tv-action--wa { display: none; }
}

/* Superfícies sóbrias e navegação com a hierarquia da distribuidora. */
.tv-mega { border: 0; box-shadow: none; background: #f7f8fa; }
.tv-mega-inner { padding: 32px 20px; }
.tv-mega-cols { width: 100%; grid-template-columns: repeat(var(--tv-mega-columns), minmax(0, 1fr)); gap: 24px 36px; }
.tv-mega-title { display: block; margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--tv-navy); text-decoration: none; }
.tv-mega-link { margin: 0; padding: 7px 0; line-height: 1.5; }
.tv-mega-all { grid-column: 1 / -1; background: none; color: var(--tv-blue); padding: 12px 0 0; }
.tv-mega-all:hover { background: none; color: var(--tv-navy); }
.tv-card, .tv-product-card, .tv-benefit, .tv-filter-box { box-shadow: none; border: 0; border-radius: 0; }
.tv-hero { position: relative; background: #f5f6f8; }
.tv-hero .tv-hero-slide[hidden] { display: none; }
.tv-hero-controls { display: flex; justify-content: center; gap: 8px; padding: 12px; }
.tv-hero-controls button { background: transparent; color: var(--tv-navy); border: 0; min-width: 36px; min-height: 36px; cursor: pointer; }
.tv-hero-controls button[aria-pressed="true"] { background: var(--tv-navy); color: #fff; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--tv-blue); outline-offset: 3px; }
@media (min-width: 1024px) {
    .tv-nav-item { position: relative; }
    .tv-mega { left: 50%; right: auto; width: min(700px, calc(100vw - 40px)); max-height: 75vh; overflow: auto; transform: translateX(-50%); background: #fff; }
    .tv-mega .tv-container { width: 100%; max-width: none; }
    .tv-nav-item:nth-child(2) .tv-mega { left: 0; transform: none; }
    .tv-nav-item:nth-last-child(-n+2) .tv-mega { left: auto; right: 0; transform: none; }
    .tv-mega-inner { padding: 24px 30px 28px; }
    .tv-mega-title { font-size: 13px; text-transform: uppercase; }
    .tv-mega-link { padding: 13px 0; font-size: 13.5px; }
}
.tv-card:hover, .tv-cat-card, .tv-cat-card:hover, a.tv-benefit:hover { box-shadow: none; border: 0; }

/* Navegação e mega menu: mesma composição usada na Distribuidora. */
.tv-header { box-shadow: none; }
.tv-nav { display: block; overflow: visible; background: #fff; border-top: 1px solid var(--tv-cinza-200); box-shadow: none; }
.tv-nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: nowrap; }
.tv-nav__item { position: relative; display: block; }
.tv-nav__item > a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 11px; color: var(--tv-navy); font-size: 13px; font-weight: 600; letter-spacing: .005em; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.tv-nav__item--mega > a::after { content: ''; width: 5px; height: 5px; margin: -3px 0 0 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.tv-nav__item > a:hover, .tv-nav__item.current-menu-item > a { color: var(--tv-blue); border-bottom-color: var(--tv-blue); }
.tv-mega { display: block; position: absolute; top: 100%; left: 50%; right: auto; z-index: 95; width: min(700px, calc(100vw - 32px)); max-height: 78vh; overflow: auto; padding: 24px 30px 28px; background: #fff; border: 1px solid rgba(11, 42, 91, .08); border-radius: 0 0 10px 10px; box-shadow: 0 18px 42px rgba(7, 26, 56, .2); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.tv-nav__item--mega:hover > .tv-mega, .tv-nav__item--mega:focus-within > .tv-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tv-nav__item--mega:last-child > .tv-mega { left: auto; right: 0; transform: translate(0, 10px); }
.tv-nav__item--mega:last-child:hover > .tv-mega, .tv-nav__item--mega:last-child:focus-within > .tv-mega { transform: translate(0, 0); }
.tv-mega__grid { display: grid; grid-template-columns: repeat(var(--tv-mega-columns, 3), minmax(0, 1fr)); gap: 0 22px; }
.tv-mega__col, .tv-mega__leaf { min-width: 0; width: 100%; }
.tv-mega__col--compact { grid-column: 1 / -1; }
.tv-mega__col--compact .tv-mega__list { column-count: 3; column-gap: 22px; }
.tv-mega__col--compact .tv-mega__list > li { break-inside: avoid; }
.tv-mega__head { display: block; margin: 0 0 4px; padding: 0 0 9px; border-bottom: 1px solid var(--tv-cinza-200); color: var(--tv-ink); font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.tv-mega__head a { color: inherit; text-decoration: none; }
.tv-mega__head a:hover, .tv-mega__leaf > a:hover, .tv-mega__list a:hover { color: var(--tv-blue); }
.tv-mega__leaf > a, .tv-mega__list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--tv-cinza-200); color: var(--tv-ink); font-size: 13.5px; text-decoration: none; overflow-wrap: anywhere; }
.tv-mega__list { list-style: none; margin: 0; padding: 0; }
.tv-mega__list--nest { padding-left: 12px; }
.tv-mega__list--nest a { color: var(--tv-cinza-500); font-size: 12.5px; padding: 10px 0; }
.tv-nav__drawer-head, .tv-nav__drawer-search, .tv-nav__toggle, .tv-nav-overlay { display: none; }

@media (max-width: 980px) {
	.tv-header-main { min-height: 68px; }
	.tv-burger { display: grid; place-items: center; flex: none; }
	.tv-header-main > .tv-search { display: none; }
	.tv-action--wa, .tv-action-label { display: none; }
	.tv-nav { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 140; width: min(400px, 88vw); height: 100dvh; overflow-y: auto; border: 0; transform: translateX(105%); transition: transform .3s ease; }
	.tv-nav.is-open { transform: translateX(0); }
	.tv-nav__drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--tv-cinza-200); }
	.tv-nav__drawer-close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--tv-cinza-200); background: #fff; color: var(--tv-navy); font-size: 26px; line-height: 1; }
	.tv-nav__drawer-search { display: block; margin: 14px 18px 4px; }
	.tv-nav__list { flex-direction: column; align-items: stretch; padding: 10px 12px 24px; }
	.tv-nav__item { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
	.tv-nav__item > a { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 12px 8px; font-size: 14px; }
	.tv-nav__item--mega > a::after { display: none; }
	.tv-nav__toggle { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 4px; border: 1px solid var(--tv-cinza-200); background: var(--tv-cinza-50); color: var(--tv-navy); }
	.tv-nav__toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
	.tv-nav__item.is-open > .tv-nav__toggle svg { transform: rotate(180deg); }
	.tv-mega { display: none; position: static; width: 100%; max-height: none; padding: 0 0 12px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.tv-nav__item.is-open > .tv-mega { display: block; }
	.tv-mega__grid { display: block; }
	.tv-mega__col--compact .tv-mega__list { column-count: 1; }
	.tv-mega__head { margin: 2px 0; padding: 10px 12px; background: var(--tv-cinza-50); border: 0; font-size: 13px; }
	.tv-mega__leaf > a, .tv-mega__list a { padding: 10px 12px; border: 0; font-size: 13px; }
	.tv-nav-overlay { display: block; position: fixed; inset: 0; z-index: 130; background: rgba(7, 26, 56, .55); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
	.tv-nav-overlay.is-open { opacity: 1; visibility: visible; }
	body.tv-nav-lock { overflow: hidden; }
}
