/* Tema Retalho (premium): artesanato e armarinho - terracota, mostarda, verde-musgo e linho, DM Serif Display nos titulos,
   costuras tracejadas, bastidores e botoezinhos. Carregado depois do CSS do Vitrine e do premium.css (pagina do produto premium). */

.tema-retalho { --rt-tinta: var(--titulos, #4a3428); --rt-terra: #c4683f; --rt-mostarda: #d9a441; --rt-musgo: #6f7d4f; --rt-linho: #f3ebdf; --rt-linha: #e6dccb; }

/* titulos das secoes: serifa com um pesponto terracota embaixo */
.tema-retalho .vt-secao-cab { align-items: flex-end; margin-bottom: 24px; padding-bottom: 14px; background: linear-gradient(90deg, #c4683f 0 10px, transparent 10px 16px) left bottom / 16px 2px repeat-x; }
.tema-retalho .vt-secao-cab h2 { font-size: 38px; font-weight: 400 !important; letter-spacing: -.005em; color: var(--rt-tinta); }
.tema-retalho .vt-secao-cab a { color: var(--rt-terra) !important; font-weight: 600; font-size: 14px; }

/* cartao: linho com costura tracejada por dentro */
.tema-retalho .vt-card { border: 0; border-radius: 14px; background: #fff; box-shadow: none !important; outline: 1.5px dashed transparent; outline-offset: -7px; transition: outline-color .2s; overflow: hidden; }
.tema-retalho .vt-card:hover { outline-color: var(--rt-terra); }
.tema-retalho .vt-card-img { border-radius: 14px 14px 0 0; background: var(--rt-linho); }
.tema-retalho .vt-card-info { padding: 14px 16px 18px; }
.tema-retalho .vt-card-nome { font-size: 15px; font-weight: 500; color: #4a3428; }
.tema-retalho .vt-card-preco strong { font-family: var(--fonte-titulos), Georgia, serif; font-size: 23px; font-weight: 400; color: var(--rt-terra); }
.tema-retalho .ppc-marca { color: var(--rt-musgo); font-weight: 600; letter-spacing: .08em; }
.tema-retalho .vt-card-botao { border-radius: 10px; background: var(--rt-tinta); color: #fdf7ee; font-weight: 600; }
.tema-retalho .vt-card:hover .vt-card-botao { background: var(--rt-terra); }
.tema-retalho .ppc .ppc-ver { border-radius: 10px; background: rgba(253, 247, 238, .95); color: var(--rt-tinta); }
.tema-retalho .vt-selo { border-radius: 4px; background: var(--rt-mostarda); color: var(--rt-tinta); font-weight: 700; outline: 1px dashed rgba(74, 52, 40, .5); outline-offset: -4px; }

/* remendos costurados (bloco Destaques) */
.rt-remendos { display: grid; justify-items: center; gap: 30px; padding: 50px 40px; border-radius: 20px; background: #f3ebdf; text-align: center; outline: 2px dashed #c9b49b; outline-offset: -12px; }
.rt-remendos-cab { display: grid; justify-items: center; gap: 8px; max-width: 620px; }
.rt-remendos-cab small { color: #c4683f; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
body.vitrine .rt-remendos-cab h2 { margin: 0; font-family: var(--fonte-titulos), Georgia, serif; font-size: 44px; font-weight: 400; line-height: 1.05; color: #4a3428; }
.rt-remendos-cab p { margin: 0; color: #6a5547; font-size: 16px; }
.rt-pecas { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; width: 100%; }
.rt-peca { --rt-cor: #c4683f; position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 30px 22px 28px; border-radius: 14px; background: var(--rt-cor); color: #fdf7ee; text-decoration: none; outline: 2px dashed rgba(253, 247, 238, .7); outline-offset: -9px; transition: transform .25s; }
.rt-peca:nth-child(3n+2) { --rt-cor: #d9a441; color: #4a3428; outline-color: rgba(74, 52, 40, .45); }
.rt-peca:nth-child(3n) { --rt-cor: #6f7d4f; }
.rt-bastidor { display: block; width: 150px; height: 150px; margin-bottom: 14px; border: 9px solid #c99a63; border-radius: 50%; background: #f3ebdf center / cover no-repeat; box-shadow: 0 0 0 3px #a87a46, 0 10px 20px rgba(0, 0, 0, .18); }
.rt-peca b { display: inline-flex; padding: 4px 12px; border-radius: 3px; background: #fdf7ee; color: #4a3428; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-3deg); }
.rt-peca strong { font-family: var(--fonte-titulos), Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.1; }
.rt-peca span { font-size: 14px; opacity: .88; }
a.rt-peca:hover { transform: translateY(-4px) rotate(-1deg); color: #fdf7ee !important; }
a.rt-peca:nth-child(3n+2):hover { color: #4a3428 !important; }
.rt-remendos-botao { display: inline-flex; align-items: center; height: 48px; padding: 0 28px; border-radius: 10px; background: #4a3428; color: #fdf7ee !important; font-weight: 600; text-decoration: none; }
.rt-remendos-botao:hover { background: #c4683f; }

/* mosaico, banners, depoimentos, blog, newsletter */
.tema-retalho .hdl-mos-img { border-radius: 14px !important; }
.tema-retalho .hdl-mos-sobre a b { left: 14px !important; bottom: 14px !important; border-radius: 4px !important; background: #fdf7ee !important; color: var(--rt-tinta); font-family: var(--fonte-titulos), Georgia, serif; font-size: 19px; font-weight: 400; box-shadow: none !important; outline: 1px dashed var(--rt-terra); outline-offset: -5px; }
.tema-retalho .hdl-hero { border-radius: 18px; overflow: hidden; }
.tema-retalho .hdl-hero .vt-botao { border-radius: 10px; background: #fdf7ee; color: var(--rt-tinta); }
.tema-retalho .hdl-it-img img { border-radius: 50%; border: 12px solid #c99a63; box-shadow: 0 0 0 4px #a87a46; }
.tema-retalho .hdl-it-txt h2 { font-size: 46px; font-weight: 400; color: var(--rt-tinta); }
.tema-retalho .hdl-depo figure { border: 0; border-radius: 14px; background: #fff; outline: 1.5px dashed var(--rt-linha); outline-offset: -8px; }
.tema-retalho .vt-blog a { border-radius: 14px; background: #fff; overflow: hidden; }
.tema-retalho .vt-blog strong { font-family: var(--fonte-titulos), Georgia, serif; font-size: 23px; font-weight: 400; color: var(--rt-tinta); }
body.vitrine.tema-retalho .vt-news { border-radius: 18px; background: var(--rt-musgo); color: #fdf7ee; outline: 2px dashed rgba(253, 247, 238, .5); outline-offset: -10px; }
body.vitrine.tema-retalho .vt-news h3 { color: #fdf7ee !important; font-family: var(--fonte-titulos), Georgia, serif; font-weight: 400; font-size: 26px; }
body.vitrine.tema-retalho .vt-news p { color: #e9ead8; }
body.vitrine.tema-retalho .vt-news-campo { border-radius: 10px; }
body.vitrine.tema-retalho .vt-news-campo button { border-radius: 8px; background: var(--rt-terra); color: #fff; }
.tema-retalho .vt-vantagens > * { border: 0; border-radius: 14px; background: #fff; outline: 1.5px dashed var(--rt-linha); outline-offset: -7px; }
.tema-retalho .vt-vantagens i { border-radius: 50%; background: var(--rt-linho); color: var(--rt-terra); }

/* ---------- topo proprio (topo.php): linho, busca costurada e pesponto no menu ---------- */
.rt-topo .vt-aviso { font-weight: 500; letter-spacing: .04em; }
.rt-topo .vt-marca img { width: auto; height: var(--logo-altura, 54px); max-width: 280px; border: 0; border-radius: 0; background: none; object-fit: contain; mix-blend-mode: multiply; }
body.vitrine .rt-topo .vt-busca input { height: 46px; border: 1.5px dashed #c4683f; border-radius: 12px; background: #fff; color: #4a3428; }
body.vitrine .rt-topo .vt-busca input:focus { border-style: solid; box-shadow: none; }
body.vitrine .rt-topo .vt-busca button { border-radius: 10px !important; background: #c4683f !important; color: #fff !important; }
.rt-topo .vt-acao { color: #4a3428 !important; }
.rt-topo .vt-acao:hover { background: #ece0cd; }
.rt-topo .vt-sacola .counter { background: #c4683f; color: #fff; }
@media (min-width: 992px) {
	.rt-topo .vt-barra .container { min-height: 90px; }
	body.vitrine .rt-topo .vt-busca { flex: 1 1 480px; max-width: 520px; margin: 0 auto; }
	body.vitrine .rt-topo .vt-menu { background: #f6efe4; border-top: 1px solid #e6dccb; box-shadow: inset 0 -3px 0 #4a3428; }
	.rt-topo .vt-menu .container { justify-content: center; gap: 6px; }
	body.vitrine .rt-topo .vt-menu > .container > a, body.vitrine .rt-topo .vt-menu-cat > a, body.vitrine .rt-topo .vt-menu-dep-link { position: relative; color: #4a3428 !important; font-family: var(--fonte-titulos), Georgia, serif; font-size: 17px; font-weight: 400; background: transparent !important; white-space: nowrap; }
	body.vitrine .rt-topo .vt-menu > .container > a::after, body.vitrine .rt-topo .vt-menu-cat > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; background: linear-gradient(90deg, #c4683f 0 6px, transparent 6px 10px) 0 0 / 10px 2px repeat-x; clip-path: inset(0 100% 0 0); transition: clip-path .35s ease; }
	body.vitrine .rt-topo .vt-menu > .container > a:hover::after, body.vitrine .rt-topo .vt-menu-cat:hover > a::after { clip-path: inset(0 0 0 0); }
	body.vitrine .rt-topo .vt-menu > .container > a:hover, body.vitrine .rt-topo .vt-menu-cat:hover > a { color: #c4683f !important; }
	body.vitrine .rt-topo .vt-menu a.vt-ofertas { color: #c4683f !important; }
	body.vitrine .rt-topo .vt-menu-cat > a > .lni-chevron-down { display: none; }
	body.vitrine .rt-topo .vt-mega-painel, body.vitrine .rt-topo .vt-menu-cat-lista, body.vitrine .rt-topo .vt-menu-dep-lista { border: 0; border-radius: 16px; background: #fbf6ee; box-shadow: 0 30px 60px rgba(74, 52, 40, .18); outline: 1.5px dashed #c9b49b; outline-offset: -8px; }
	body.vitrine .rt-topo .vt-mega-painel a, body.vitrine .rt-topo .vt-menu-cat-lista a, body.vitrine .rt-topo .vt-menu-dep-lista a { color: #4a3428 !important; font-family: var(--fonte), sans-serif; font-size: 14.5px; }
	body.vitrine .rt-topo .vt-mega-painel a::after, body.vitrine .rt-topo .vt-menu-cat-lista a::after { display: none; }
	body.vitrine .rt-topo .vt-mega-prod img { border-radius: 12px; background: #f3ebdf; }
}

/* ---------- rodape proprio (rodape.php): remendo costurado e botoezinhos ---------- */
.rt-assinatura { display: grid; justify-items: center; gap: 22px; padding: 10px 0 44px; text-align: center; }
.rt-remendo { max-width: 760px; padding: 28px 44px; border-radius: 14px; background: #c4683f; outline: 2px dashed rgba(253, 247, 238, .65); outline-offset: -10px; transform: rotate(-1deg); }
.rt-frase { margin: 0; font-family: var(--fonte-titulos), Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1.12; color: #fdf7ee; }
.rt-botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.rt-botoes li { display: inline-flex; align-items: center; gap: 9px; color: #e9dccc; font-size: 14px; }
.rt-botoes li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4a3428 1.4px, transparent 1.8px), radial-gradient(circle at 65% 35%, #4a3428 1.4px, transparent 1.8px), radial-gradient(circle at 35% 65%, #4a3428 1.4px, transparent 1.8px), radial-gradient(circle at 65% 65%, #4a3428 1.4px, transparent 1.8px), #d9a441; }
.rt-rodape h3 { font-family: var(--fonte-titulos), Georgia, serif !important; font-size: 20px !important; font-weight: 400 !important; color: #fdf7ee !important; }
.rt-rodape .vt-redes a { border-radius: 50%; }

/* ---------- pagina do produto premium ---------- */
.tema-retalho .pp, .tema-retalho .ppa { --pp-titulo-tam: 40px; --pp-preco-tam: 34px; --pp-raio: 14px; --pp-raio-botao: 10px; --pp-suave: var(--rt-linho); --pp-borda: var(--rt-linha); --pp-acento: var(--rt-terra); }
.tema-retalho .pp-nome { font-weight: 400; }
.tema-retalho .pp-marca { color: var(--rt-musgo); font-weight: 600; letter-spacing: .12em; }
.tema-retalho .pp-foto, .tema-retalho .pp-mini { background: var(--rt-linho); }
.tema-retalho .pp-preco { background: #fff; border: 0; outline: 1.5px dashed var(--rt-terra); outline-offset: -6px; }
.tema-retalho .pp-preco-valor { font-family: var(--fonte-titulos), Georgia, serif; font-weight: 400; color: var(--rt-terra); }
.tema-retalho .pp-preco-off { border-radius: 4px; background: var(--rt-mostarda); color: var(--rt-tinta); }
.tema-retalho .pp .opcao.pp-op.active { --pp-op-borda: var(--rt-terra); --pp-op-fundo: #fbeee6; --pp-op-cor: var(--rt-tinta); }
.tema-retalho .pp .pp-var-cores .opcao.pp-op.active { --pp-op-fundo: #fff; --pp-op-cor: var(--rt-tinta); }
.tema-retalho .pp .pp-botao { background: var(--rt-terra); color: #fff; --pp-b-sombra: none; --pp-b-peso: 600; }
.tema-retalho .pp .pp-botao:hover { background: var(--rt-tinta); }
.tema-retalho .pp .pp-agora { border-color: var(--rt-tinta); color: var(--rt-tinta); }
.tema-retalho .pp .pp-agora:hover { background: var(--rt-tinta); color: #fdf7ee; }
.tema-retalho .pp-selo { border-radius: 4px; background: var(--rt-mostarda); color: var(--rt-tinta); }
.tema-retalho .pp-garantias svg { border-radius: 50%; background: var(--rt-linho); color: var(--rt-terra); }
.tema-retalho .ppa .ppa-titulo { font-family: var(--fonte-titulos), Georgia, serif; font-size: 28px; font-weight: 400; }
.tema-retalho .ppa-destaques li { background: #fff; border: 0; border-radius: 14px; outline: 1.5px dashed var(--rt-linha); outline-offset: -6px; }
.tema-retalho .ppa-destaques li::before { background-color: var(--rt-terra); }

/* ---------- carrinho (carrinho.php): agulha costurando ---------- */
body.vitrine.tema-retalho .ck h1 { font-size: 44px; font-weight: 400; color: var(--rt-tinta); }
body.vitrine.tema-retalho .co-passos .atual { color: var(--rt-terra); }
body.vitrine.tema-retalho .ck-item, body.vitrine.tema-retalho .co-bloco { border: 0; border-radius: 14px; background: #fff; outline: 1.5px dashed var(--rt-linha); outline-offset: -7px; }
body.vitrine.tema-retalho .ck-foto img { background: var(--rt-linho); border-radius: 10px; }
body.vitrine.tema-retalho .ck-resumo { border: 0; border-radius: 16px; background: var(--rt-linho); outline: 2px dashed #c9b49b; outline-offset: -9px; }
body.vitrine.tema-retalho .ck-finalizar { border-radius: 10px !important; background: #c4683f !important; color: #fff !important; font-weight: 600 !important; }
.rt-frete { display: grid; gap: 12px; padding: 18px 24px 14px; border-radius: 14px; background: #f3ebdf; }
.rt-frete p { margin: 0; font-size: 14.5px; color: #4a3428; }
.rt-frete p b { color: #c4683f; }
.rt-costura { position: relative; display: block; height: 16px; margin-right: 40px; background: linear-gradient(90deg, #d8cbb6 0 8px, transparent 8px 13px) 0 7px / 13px 2px repeat-x; }
.rt-costura i { position: relative; display: block; height: 16px; background: linear-gradient(90deg, #c4683f 0 8px, transparent 8px 13px) 0 7px / 13px 3px repeat-x, #f3ebdf; transition: width .6s ease; }
.rt-costura i::after { content: ""; position: absolute; left: 100%; top: 6px; width: 40px; height: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #8d939b, #d7dbe0 70%, #8d939b); clip-path: polygon(0 50%, 10px 0, 100% 0, 100% 100%, 10px 100%); }
.rt-costura i::before { content: ""; position: absolute; left: calc(100% + 31px); top: 7px; width: 5px; height: 2px; border-radius: 2px; background: #f3ebdf; z-index: 1; }

@media (max-width: 991px) {
	.rt-remendos { padding: 34px 18px; }
	.rt-pecas { grid-auto-flow: row; grid-template-columns: 1fr; gap: 16px; }
	.rt-peca { grid-template-columns: 96px 1fr; justify-items: start; align-items: center; column-gap: 16px; padding: 18px; text-align: left; }
	.rt-bastidor { grid-row: span 3; width: 96px; height: 96px; margin: 0; border-width: 6px; }
}
@media (max-width: 767px) {
	.tema-retalho .vt-secao-cab h2 { font-size: 29px; }
	body.vitrine .rt-remendos-cab h2 { font-size: 32px; }
	.rt-peca strong { font-size: 21px; }
	.rt-remendo { padding: 22px 20px; }
	.rt-frase { font-size: 25px; }
	.rt-topo .vt-marca img { height: 40px; max-width: 180px; }
	.tema-retalho .pp, .tema-retalho .ppa { --pp-titulo-tam: 30px; --pp-preco-tam: 30px; }
}
