/* TS Honda Parts: grafite, vermelho de oficina e etiqueta de peça. Vale por cima do tema Mercado. */
.tema-ts { --ts-grafite: #16181c; --ts-verm: #c4161c; --ts-papel: #f5f3ef; --ts-linha: #dcd8d0; background: #fff; }
.tema-ts :is(h1, h2, h3) { text-transform: none; letter-spacing: 0; text-wrap: balance; }
.tema-ts p { text-wrap: pretty; }
.tema-ts svg { flex: none; }

.ts-logo { display: block; color: var(--ts-grafite); line-height: 0; }
.ts-logo svg { display: block; height: 52px; width: auto; max-width: 100%; }

.ts-cab { background: #fff; position: sticky; top: 0; z-index: 30; border-bottom: 3px solid var(--ts-verm); }
#header-group { position: sticky; top: 0; z-index: 30; }
.ts-cab__topo { display: grid; grid-template-columns: auto minmax(240px, 640px) auto; justify-content: space-between; align-items: center; gap: 28px; min-height: 76px; }
.ts-cab__logo { text-decoration: none; }
.ts-cab__acoes { display: flex; align-items: center; gap: 6px; }
.ts-cab__bt { position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ts-grafite); cursor: pointer; }
.ts-cab__bt svg { width: 24px; height: 24px; }
.ts-cab__menu { display: none; }
.ts-cab__zap { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 8px; background: #157f43; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.ts-cab__zap svg { width: 18px; height: 18px; }
.ts-busca { display: flex; height: 48px; background: var(--ts-papel); border: 1.5px solid var(--ts-linha); border-radius: 8px; overflow: hidden; }
.ts-busca:focus-within { border-color: var(--ts-verm); }
.ts-busca input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 14px; font: inherit; font-size: 1rem; outline: none; color: inherit; }
.ts-busca button { width: 52px; border: 0; background: var(--ts-verm); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ts-busca button svg { width: 20px; height: 20px; }
.ts-cab__nav { background: var(--ts-grafite); }
.ts-cab__nav ul { display: flex; list-style: none; margin-block: 0; padding-block: 0; overflow-x: auto; scrollbar-width: none; }
.ts-cab__nav ul::-webkit-scrollbar { display: none; }
.ts-cab__nav a { display: block; padding: 12px 11px; color: #cfd2d8; text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.ts-cab__nav a:hover, .ts-cab__nav a[aria-current] { color: #fff; box-shadow: inset 0 -3px var(--ts-verm); }
.ts-cab__nav .ts-cab__todas { color: #fff; font-weight: 700; padding-left: 0; }
.ts-cab__sep { margin-left: 10px; padding-left: 10px; border-left: 1px solid #3a3d44; }
.ts-gaveta a { display: block; padding: 11px 0; text-decoration: none; color: inherit; border-bottom: 1px solid var(--ts-linha); }
.ts-gaveta p { margin: 18px 0 6px; font-weight: 700; }
.ts-gaveta ul { list-style: none; margin: 0; padding: 0; }
.ts-gaveta__mod { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ts-gaveta__mod a { border: 1px solid var(--ts-linha); border-radius: 6px; text-align: center; padding: 10px; }

.ts-capa { background: var(--ts-grafite); color: #fff; background-image: repeating-linear-gradient(90deg, rgb(255 255 255 / .035) 0 3px, transparent 3px 9px, rgb(255 255 255 / .035) 9px 10px, transparent 10px 22px); }
.ts-capa__linha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: 48px; align-items: center; padding-block: 48px; }
.ts-capa h1 { margin: 0 0 14px; color: #fff; font-size: clamp(2.5rem, 6vw, 5.2rem) !important; line-height: 1 !important; max-width: 13ch; }
.ts-capa p { margin: 0; }
.ts-capa__texto p { font-size: 1.1rem; color: #d3d6dc; max-width: 38ch; }
.ts-acha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #fff; color: var(--ts-grafite); border-radius: 10px; padding: 20px; border-top: 6px solid var(--ts-verm); }
.ts-acha__titulo, .ts-acha__larga { grid-column: 1 / -1; }
.ts-acha__titulo { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 1.05rem; }
.ts-acha__titulo svg { width: 22px; height: 22px; color: var(--ts-verm); }
.ts-acha label { display: grid; gap: 5px; font-size: .85rem; font-weight: 600; }
.ts-acha :is(select, input) { width: 100%; height: 46px; border: 1.5px solid var(--ts-linha); border-radius: 7px; padding: 0 12px; font: inherit; font-size: 1rem; background: #fff; color: inherit; }
.ts-acha :is(select, input) { font-weight: 400; }
.ts-acha .cv-botao { height: 50px; width: 100%; font-size: 1.05rem; }

.ts-faixa { padding-block: 32px 8px; }
.ts-faixa > h2, .tema-ts .cv-lista-produtos__topo h2, .tema-ts .cv-lista-produtos h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 14px; }
.ts-modelos, .ts-cats, .ts-gar { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ts-modelos { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ts-modelos a { display: grid; gap: 2px; text-align: center; padding: 14px 8px 12px; background: var(--ts-papel); border: 1px solid var(--ts-linha); border-left: 5px solid var(--ts-verm); border-radius: 6px; text-decoration: none; color: inherit; transition: background .15s; }
.ts-modelos a:hover { background: #fff; }
.ts-modelos span { font-size: .78rem; opacity: .65; }
.ts-modelos b { font: 700 1.5rem/1 var(--font-heading--family); }
.ts-cats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ts-cats a { display: grid; justify-items: center; align-content: center; gap: 10px; height: 100%; padding: 20px 10px; border: 1px solid var(--ts-linha); border-radius: 8px; text-align: center; text-decoration: none; color: inherit; font-weight: 600; line-height: 1.2; }
.ts-cats a span { text-wrap: balance; }
.ts-cats svg { width: 38px; height: 38px; color: var(--ts-verm); }
.ts-cats a:hover { border-color: var(--ts-verm); }
.ts-gar { grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ts-papel); border-radius: 10px; padding: 22px; }
.ts-gar li { display: grid; justify-items: center; text-align: center; gap: 4px; align-content: start; }
.ts-gar svg { width: 28px; height: 28px; color: var(--ts-verm); }
.ts-gar span { font-size: .86rem; opacity: .78; text-wrap: balance; }
.ts-faq { max-width: 860px; padding-bottom: 48px; }
.ts-faq > h2 { text-align: center; }
.ts-faq details { border-bottom: 1px solid var(--ts-linha); }
.ts-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.ts-faq details p { margin: 0 0 16px; }
.ts-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ts-faq summary::-webkit-details-marker { display: none; }
.ts-faq summary::after { content: '+'; color: var(--ts-verm); font-size: 1.4rem; line-height: 1; }
.ts-faq details[open] summary::after { content: '–'; }

.tema-ts .cv-cartao { text-align: left; position: relative; }
.ts-apl { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center; font-size: .78rem; min-height: 1.3em; }
.ts-apl b { color: var(--ts-verm); }
.ts-apl span { font-variant-numeric: tabular-nums; background: var(--ts-papel); border-radius: 4px; padding: 1px 6px; }
.tema-ts .cv-cartao__titulo { font-weight: 500; color: inherit; }
.tema-ts .price__atual { font-variant-numeric: tabular-nums; }

.ts-sel { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ts-sel span { background: var(--ts-grafite); color: #fff; border-radius: 5px; padding: 4px 10px; font-size: .82rem; font-weight: 600; }
.ts-sel .ts-sel--cinza { background: var(--ts-papel); color: var(--ts-grafite); border: 1px solid var(--ts-linha); }
.ts-anos p { margin: 0 0 6px; font-size: .88rem; opacity: .75; }
.ts-anos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ts-anos li { border: 1px solid var(--ts-linha); border-radius: 5px; padding: 3px 9px; font-size: .85rem; font-variant-numeric: tabular-nums; }
.ts-ficha { margin: 0; display: grid; }
.ts-ficha div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ts-linha); }
.ts-ficha div:last-child { border: 0; }
.ts-ficha dt { opacity: .7; } .ts-ficha dd { margin: 0; font-weight: 600; }
.ts-duvida { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 1.5px solid #157f43; color: #157f43; border-radius: 8px; font-weight: 600; text-decoration: none; }
.ts-duvida svg, .ts-zap svg { width: 20px; height: 20px; }
.ts-zap { position: fixed; right: 16px; bottom: 16px; z-index: 25; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #157f43; color: #fff; }
.ts-zap svg { width: 28px; height: 28px; }

.ts-rod { background: var(--ts-grafite); color: #d3d6dc; }
.ts-rod .ts-logo { color: #fff; }
.ts-rod a { color: inherit; text-decoration: none; } .ts-rod a:hover { color: #fff; text-decoration: underline; }
.ts-rod__linha { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 32px; padding-block: 40px 28px; }
.ts-rod h2 { color: #fff; font-size: 1.1rem; margin: 0 0 10px; }
.ts-rod ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.ts-rod__duas { grid-template-columns: 1fr 1fr; }
.ts-rod__marca p { font-size: .86rem; margin: 14px 0 0; }
.ts-rod__base { border-top: 1px solid #33363d; padding-block: 18px 24px; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: .8rem; }
.ts-rod__base p { margin: 0; max-width: 70ch; text-wrap: balance; }

@media (max-width: 989px) {
  .ts-cab__menu { display: grid; }
  .ts-cab__topo { grid-template-columns: auto 1fr auto; gap: 8px 6px; padding-block: 8px 10px; min-height: 0; }
  .ts-busca { grid-column: 1 / -1; order: 5; height: 46px; }
  .ts-cab__nav ul { padding-inline: var(--page-margin, 16px); }
  .ts-capa__linha { grid-template-columns: 1fr; gap: 22px; padding-block: 28px; }
  .ts-modelos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ts-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ts-gar { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .ts-rod__linha { grid-template-columns: 1fr 1fr; }
  .ts-rod__marca { grid-column: 1 / -1; }
}
@media (max-width: 749px) {
  .ts-cab__conta, .ts-cab__zap span { display: none; }
  .ts-cab__zap { width: 42px; padding: 0; justify-content: center; }
  .ts-logo svg { height: 40px; }
  .ts-capa__texto { text-align: center; display: grid; justify-items: center; }
  .ts-faixa { padding-block: 24px 4px; }
  .ts-modelos { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--page-margin, 16px)); padding-inline: var(--page-margin, 16px); }
  .ts-modelos li { flex: 0 0 104px; }
  .ts-cats { grid-template-columns: 1fr 1fr; gap: 8px; } .ts-cats a { padding: 14px 8px; } .ts-cats svg { width: 30px; height: 30px; }
  .ts-gar { padding: 18px 12px; }
  .ts-ficha div { grid-template-columns: 7.5rem 1fr; }
  .ts-rod__linha { gap: 24px 16px; } .ts-rod__duas { grid-template-columns: 1fr; }
  .ts-rod__base { justify-content: center; text-align: center; }
  .template-product .ts-zap { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ts-modelos a { transition: none; } }
@media (max-width: 749px) { .ts-rod__marca { text-align: center; } }

/* caixa de compra: ocupa a largura toda e sem folga sobrando */
.template-product .cv-grupo > .cv-preco-bloco, .template-product .cv-compra { padding-block: 0 !important; }
.template-product .cv-compra { width: 100% !important; align-self: stretch; }
.template-product .cv-comprar .cv-botao { flex: 1; }
.template-product .cvm-fav { margin: 0; }
@media (min-width: 990px) { .template-product .cv-galeria img { max-height: 620px; object-fit: contain; } }
.template-product .cv-galeria :is(li, .cv-galeria__item, img) { background: var(--ts-papel); }
.template-product .cv-sanfona summary, .template-product .cv-sanfona summary * { font-size: 1.05rem !important; font-weight: 700; }
.ts-rod__marca .ts-logo svg { height: 60px; }
@media (max-width: 989px) { .ts-rod__marca .ts-logo svg { margin-inline: auto; } }
#shopify-section-pecas:has(.cv-lista-produtos__topo:last-child) { display: none; }
