/* Tema "Vitrine" das lojas (etapa 4). Ativo quando o <body> tem a classe "vitrine".
 * A cor da loja chega em --loja (style do body). */
body.vitrine {
	--loja: #124f6b;
	--loja-escura: color-mix(in srgb, var(--loja) 82%, #000);
	--loja-clara: color-mix(in srgb, var(--loja) 10%, #fff);
	--texto: #1d2733;
	--sub: #667585;
	--borda: #e6eaf0;
	--fundo: #f5f6f8;
	--raio: 16px;
	--sombra: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px rgba(16, 24, 40, .06);
	background: var(--fundo) !important;
	color: var(--texto);
	font-family: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	padding-top: 0 !important;
}
body.vitrine h1, body.vitrine h2, body.vitrine h3 { font-family: "Poppins", "Inter", sans-serif; color: #0f1720; }
body.vitrine a { transition: color .15s, background .15s, border-color .15s; }
body.vitrine .container { max-width: 1240px; }
/* o Bootstrap 3 poe ::before/::after em .container: atrapalha grid e flex */
.vt-topo .container::before, .vt-topo .container::after, .vt-rodape .container::before, .vt-rodape .container::after { display: none !important; }
body.vitrine .header, body.vitrine .footer, body.vitrine .navigator, body.vitrine .search-bar-mobile { display: none !important; }

/* ---------- Topo ---------- */
.vt-topo { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: 0 1px 0 var(--borda); }
.vt-aviso { background: #0f1720; color: #dce3ea; font-size: 12.5px; }
.vt-aviso .container { display: flex; align-items: center; gap: 18px; min-height: 34px; }
.vt-aviso a { color: #dce3ea !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 5px; }
.vt-aviso a:hover { color: #fff !important; }
.vt-aviso-links { margin-left: auto; display: flex; gap: 18px; }
.vt-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.vt-status i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.vt-status.fechada i { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .25); }
.vt-barra .container { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.vt-marca { display: flex; align-items: center; gap: 12px; text-decoration: none !important; color: #0f1720 !important; min-width: 0; }
.vt-marca img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 1px solid var(--borda); background: #fff; }
.vt-marca span { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.vt-busca { flex: 1; position: relative; display: flex; align-items: center; max-width: 620px; margin: 0 auto; }
.vt-busca i { position: absolute; left: 16px; color: var(--sub); font-size: 17px; pointer-events: none; }
body.vitrine .vt-busca input { width: 100%; height: 48px; border: 1.5px solid var(--borda); border-radius: 999px; padding: 0 116px 0 44px; font-size: 15px; background: var(--fundo); color: var(--texto); }
body.vitrine .vt-busca input:focus { outline: 0; border-color: var(--loja); background: #fff; box-shadow: 0 0 0 4px var(--loja-clara); }
body.vitrine .vt-busca button { position: absolute; right: 5px; height: 38px; padding: 0 20px; border: 0 !important; border-radius: 999px; background: var(--loja) !important; color: #fff !important; font-weight: 600; font-size: 14px; cursor: pointer; width: auto !important; margin: 0 !important; }
.vt-acoes { display: flex; align-items: center; gap: 6px; }
.vt-acao { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--texto) !important; text-decoration: none !important; }
.vt-acao:hover { background: var(--fundo); }
.vt-acao > i, .vt-acao .shop-bag > i { font-size: 23px; }
.vt-acao span { display: grid; line-height: 1.15; }
.vt-acao small { font-size: 12px; color: var(--sub); }
.vt-acao b { font-size: 14px; }
.vt-sacola .shop-bag { position: relative; display: inline-flex; width: auto !important; height: auto !important; background: none !important; }
body.vitrine .vt-sacola .shop-bag i { color: var(--texto) !important; display: inline-block !important; }
.vt-sacola .counter { position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--loja); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.vt-icone { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 22px; color: var(--texto) !important; text-decoration: none !important; flex: none; }
.vt-menu { border-top: 1px solid var(--borda); }
.vt-menu .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-height: 46px; align-items: center; }
.vt-menu .container::-webkit-scrollbar { display: none; }
body.vitrine .vt-icone { cursor: pointer; }
.vt-menu .vt-menu-item { cursor: pointer; }
.vt-menu a, .vt-menu .vt-menu-item { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--texto) !important; text-decoration: none !important; }
.vt-menu a:hover, .vt-menu .vt-menu-item:hover { background: var(--fundo); color: var(--loja) !important; }
.vt-menu a.vt-ofertas { color: #d92d20 !important; font-weight: 700; }

/* ---------- Botoes ---------- */
.vt-botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 999px; background: var(--loja); color: #fff !important; font-weight: 600; text-decoration: none !important; box-shadow: 0 8px 20px color-mix(in srgb, var(--loja) 28%, transparent); }
.vt-botao:hover { background: var(--loja-escura); }
.vt-botao-claro { background: #fff; color: var(--texto) !important; box-shadow: none; border: 1.5px solid var(--borda); }
.vt-botao-claro:hover { background: var(--fundo); }

/* ---------- Home ---------- */
.vt { padding: 22px 0 40px; }
.vt-banners { border-radius: 22px; overflow: hidden; box-shadow: var(--sombra); margin-bottom: 22px; }
.vt-banners img { width: 100%; display: block; }
.vt-banners .carousel-control { width: 44px; height: 44px; top: 50%; margin-top: -22px; border-radius: 50%; background: rgba(255,255,255,.9) !important; color: #0f1720; opacity: 1; display: grid; place-items: center; font-size: 18px; text-shadow: none; }
.vt-banners .carousel-control.left { left: 14px; } .vt-banners .carousel-control.right { right: 14px; }
.vt-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 48px; border-radius: 24px; margin-bottom: 22px; color: #fff;
	background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--loja) 55%, #fff) 0, transparent 45%), linear-gradient(135deg, var(--loja), var(--loja-escura)); box-shadow: var(--sombra); }
.vt-hero h1 { color: #fff !important; font-size: 36px; line-height: 1.15; margin: 12px 0 10px; font-weight: 800; }
.vt-hero p { font-size: 16px; opacity: .9; max-width: 520px; margin: 0 0 22px; line-height: 1.55; }
.vt-hero .vt-status { background: rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.vt-hero-botoes { display: flex; gap: 10px; flex-wrap: wrap; }
.vt-hero .vt-botao { background: #fff; color: var(--loja-escura) !important; box-shadow: none; }
.vt-hero .vt-botao-claro { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }
.vt-hero-logo img { width: 170px; height: 170px; border-radius: 32px; object-fit: cover; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.vt-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin-bottom: 8px; }
.vt-chips::-webkit-scrollbar { display: none; }
.vt-chips a { white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--borda); color: var(--texto) !important; font-weight: 500; font-size: 14px; text-decoration: none !important; }
.vt-chips a:hover, .vt-chips a.ativo { background: var(--loja); border-color: var(--loja); color: #fff !important; }
.vt-secao { margin-top: 30px; }
.vt-secao-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vt-secao-cab h2 { font-size: 22px; font-weight: 700; margin: 0; }
.vt-secao-cab a { font-weight: 600; font-size: 14px; color: var(--loja) !important; text-decoration: none !important; white-space: nowrap; }
.vt-secao-ofertas .vt-secao-cab h2::before { content: "🔥 "; }
.vt-trilho { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vt-vazio { padding: 60px 20px; text-align: center; color: var(--sub); background: #fff; border-radius: var(--raio); margin-top: 22px; }
.vt-vantagens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.vt-vantagens > * { display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); color: var(--texto) !important; text-decoration: none !important; }
.vt-vantagens > a:hover { border-color: var(--loja); }
.vt-vantagens i { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--loja-clara); color: var(--loja); font-size: 21px; }
.vt-vantagens span { display: grid; gap: 2px; font-size: 13px; color: var(--sub); line-height: 1.35; }
.vt-vantagens b { color: var(--texto); font-size: 14.5px; }

/* ---------- Cartao de produto ---------- */
.vt-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden; color: var(--texto) !important; text-decoration: none !important; transition: transform .18s, box-shadow .18s, border-color .18s; min-width: 0; }
.vt-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 24, 40, .1); border-color: transparent; }
.vt-card-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.vt-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s; }
.vt-card:hover .vt-card-img img { transform: scale(1.04); }
.vt-selo { position: absolute; top: 10px; left: 10px; font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #d92d20; color: #fff; }
.vt-selo.cinza { background: #475467; }
.vt-card.esgotado .vt-card-img img { opacity: .5; filter: grayscale(.6); }
.vt-card-info { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 4px; flex: 1; }
.vt-card-nome { font-size: 14.5px; line-height: 1.35; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.vt-card-nota { font-size: 12.5px; color: var(--sub); }
.vt-card-nota b { color: #f5a623; }
.vt-card-preco { display: flex; flex-direction: column; margin-top: auto; }
.vt-card-preco s { font-size: 12.5px; color: var(--sub); }
.vt-card-preco strong { font-size: 19px; font-weight: 700; color: #0f1720; font-family: "Poppins", sans-serif; }
.vt-card-preco .vt-opcoes { font-size: 15px; color: var(--loja); }
.vt-card-botao { margin: 10px 14px 14px; height: 40px; border-radius: 999px; display: grid; place-items: center; font-weight: 600; font-size: 14px; background: var(--loja-clara); color: var(--loja-escura); transition: background .15s, color .15s; }
.vt-card:hover .vt-card-botao { background: var(--loja); color: #fff; }
.vt-card.esgotado .vt-card-botao { background: #f2f4f7; color: var(--sub); }

/* ---------- Paginas internas (categoria, produto, sacola, checkout, conta) ---------- */
body.vitrine .middle { background: transparent !important; padding-top: 18px; }
body.vitrine .clearline, body.vitrine .header-interna { display: none !important; }
body.vitrine .title-icon span { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 26px; color: #0f1720; }
body.vitrine .title-icon i { color: var(--loja); }
body.vitrine .bread, body.vitrine .bread a { color: var(--sub) !important; font-size: 13px; }
body.vitrine .categoria .tv-grid, body.vitrine .relacionados .tv-grid .tv-infinite { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 !important; white-space: normal !important; overflow: visible !important; }
body.vitrine .categoria .tv-grid::before, body.vitrine .categoria .tv-grid::after { display: none; }
body.vitrine .relacionados .tv-grid { display: block !important; }
body.vitrine .tv-infinite-menu { display: flex !important; gap: 8px; justify-content: center; overflow-x: auto; scrollbar-width: none; border: 0 !important; padding: 2px 0 6px; }
body.vitrine .tv-infinite-menu::-webkit-scrollbar { display: none; }
body.vitrine .tv-infinite-menu a { flex: none; padding: 9px 18px !important; border-radius: 999px !important; background: #fff !important; border: 1px solid var(--borda) !important; color: var(--texto) !important; box-shadow: none !important; font-size: 14px !important; font-weight: 500; height: auto !important; line-height: 1.25 !important; margin: 0 !important; }
body.vitrine .tv-infinite-menu a::after, body.vitrine .tv-infinite-menu a::before { display: none !important; }
body.vitrine .tv-infinite-menu a.active, body.vitrine .tv-infinite-menu a:hover { background: var(--loja) !important; border-color: var(--loja) !important; color: #fff !important; }
body.vitrine .filter-select .fake-select select { min-width: 190px; padding-right: 36px !important; }
body.vitrine .pagination > li > a { border-radius: 10px !important; margin: 0 3px; border: 1px solid var(--borda); color: var(--texto); }
body.vitrine .pagination > .active > a { background: var(--loja) !important; border-color: var(--loja) !important; color: #fff !important; }
body.vitrine .fake-select select, body.vitrine .form-field-default input, body.vitrine .form-field-default select, body.vitrine .form-field-default textarea { border-radius: 12px !important; border: 1.5px solid #d8dee6 !important; min-height: 46px; background: #fff; }
body.vitrine .form-field-default input:focus, body.vitrine .form-field-default textarea:focus { border-color: var(--loja) !important; box-shadow: 0 0 0 4px var(--loja-clara); outline: 0; }

/* Produto */
body.vitrine .single-produto { background: #fff; border: 1px solid var(--borda); border-radius: 22px; padding: 26px; box-shadow: var(--sombra); margin-top: 8px; }
body.vitrine .single-produto .galeria, body.vitrine .single-produto .galeria img { border-radius: 16px; }
body.vitrine .produto-detalhes .thelabel { color: var(--sub); font-weight: 500; }
body.vitrine .produto-detalhes .valor, body.vitrine .produto-detalhes .subtotal { color: #0f1720 !important; font-family: "Poppins", sans-serif; }
body.vitrine .botao-acao, body.vitrine .sacola-adicionar, body.vitrine .form-field-submit button { border-radius: 999px !important; font-weight: 600 !important; box-shadow: 0 8px 20px color-mix(in srgb, var(--loja) 25%, transparent); }
body.vitrine .relacionados { margin-top: 26px; }
body.vitrine .relacionados .categoria .title { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 22px; }

/* Sacola e checkout */
body.vitrine .sacola .item, body.vitrine .sacola-table, body.vitrine .muda-checkout, body.vitrine .comprovante, body.vitrine .elemento-forma-pagamento, body.vitrine .pedido-resumo { border-radius: var(--raio); }
body.vitrine .sacola, body.vitrine .checkout, body.vitrine .pedido { background: #fff; border-radius: 22px; border: 1px solid var(--borda); padding: 22px; box-shadow: var(--sombra); }

body.vitrine .comprovante { background: #fafbfc !important; border: 1.5px dashed #d6dde5 !important; border-radius: var(--raio) !important; box-shadow: none !important; color: var(--texto); }

/* ---------- Rodape ---------- */
.vt-rodape { background: #0f1720; color: #aab6c3; margin-top: 50px; font-size: 14px; }
.vt-rodape-grade { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; padding: 44px 15px 34px; }
.vt-rodape .vt-marca { color: #fff !important; margin-bottom: 14px; }
.vt-rodape .vt-marca span { color: #fff; }
.vt-rodape .vt-marca img { border-color: rgba(255,255,255,.1); }
.vt-rodape p { line-height: 1.6; margin: 0; }
.vt-rodape h3 { color: #fff !important; font-size: 15px; margin: 6px 0 14px; font-weight: 600; }
.vt-rodape-grade > div > a:not(.vt-marca):not(.vt-rodape-zap) { display: block; color: #aab6c3 !important; padding: 4px 0; text-decoration: none !important; }
.vt-rodape-grade a:hover { color: #fff !important; }
.vt-redes { display: flex; gap: 8px; margin-bottom: 14px; }
.vt-redes a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff !important; font-size: 18px; text-decoration: none !important; }
.vt-redes a:hover { background: var(--loja); }
.vt-rodape-zap { display: inline-flex; padding: 10px 16px; border-radius: 999px; background: #25d366; color: #fff !important; font-weight: 600; text-decoration: none !important; }
.vt-rodape-base { border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.vt-rodape-base .container { display: flex; justify-content: space-between; gap: 12px; padding: 16px 15px; flex-wrap: wrap; }
.vt-rodape-base a { color: #aab6c3 !important; text-decoration: none !important; }
.vt-rodape-base b { color: #fff; }

/* ---------- Tablet e celular ---------- */
@media (max-width: 1100px) {
	.vt-trilho, body.vitrine .categoria .tv-grid, body.vitrine .relacionados .tv-grid .tv-infinite { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.vt-vantagens { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
	.vt-barra .container { flex-wrap: wrap; gap: 10px; min-height: 0; padding-top: 10px; padding-bottom: 12px; }
	.vt-marca { flex: 1; justify-content: center; }
	.vt-marca img { width: 38px; height: 38px; border-radius: 10px; }
	.vt-marca span { font-size: 17px; max-width: 52vw; }
	.vt-busca { order: 5; flex-basis: 100%; max-width: none; }
	body.vitrine .vt-busca input { height: 44px; }
	.vt-acao { padding: 6px; }
	.vt-menu .container { min-height: 42px; }
	.vt-hero { flex-direction: column-reverse; align-items: flex-start; padding: 28px 24px; }
	.vt-hero h1 { font-size: 27px; }
	.vt-hero-logo img { width: 84px; height: 84px; border-radius: 20px; }
	.vt-rodape-grade { grid-template-columns: 1fr 1fr; }
	body.vitrine .single-produto { padding: 16px; border-radius: 18px; }
}
@media (max-width: 767px) {
	.vt { padding-top: 14px; }
	.vt-aviso .container { gap: 10px; }
	.vt-banners { border-radius: 16px; }
	.vt-trilho { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; margin: 0 -15px; padding: 2px 15px 10px; scrollbar-width: none; }
	.vt-trilho::-webkit-scrollbar { display: none; }
	.vt-trilho .vt-card { flex: 0 0 46%; scroll-snap-align: start; }
	body.vitrine .categoria .tv-grid, body.vitrine .relacionados .tv-grid .tv-infinite { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 4px; }
	.vt-card-info { padding: 10px 11px 2px; }
	.vt-card-nome { font-size: 13.5px; min-height: 36px; }
	.vt-card-preco strong { font-size: 16.5px; }
	.vt-card-botao { margin: 8px 10px 10px; height: 36px; font-size: 13px; }
	.vt-secao { margin-top: 24px; }
	.vt-secao-cab h2 { font-size: 19px; }
	.vt-vantagens { grid-template-columns: 1fr; }
	.vt-rodape-grade { grid-template-columns: 1fr; gap: 22px; }
	body.vitrine .title-icon span { font-size: 21px; }
	body.vitrine .tv-infinite-menu { justify-content: flex-start; padding-left: 4px; }
	body.vitrine .busca-filtros button { width: auto !important; }
}
