/* HCR Vitrine — cabeçalho [hcr_cabecalho]. Desenvolvido por RabbitsWeb. */
:root { --hcrh-navy: #253649; --hcrh-accent: #E8792B; --hcrh-line: #e3e6ea; --hcrh-text: #1f2a37; --hcrh-muted: #5b6573; --hcrh-field: #f4f2ee; }
.hcrh {
	position: relative; z-index: 50; font-family: Arial, Helvetica, sans-serif; color: var(--hcrh-text); background: #fff; }
.hcrh *, .hcrh *::before, .hcrh *::after { box-sizing: border-box; }
.hcrh a { text-decoration: none; }
.hcrh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hcrh-in { max-width: none; margin: 0 auto; padding: 0 40px; }

/* Faixa do topo */
.hcrh-top { background: var(--hcrh-navy); color: #fff; font-size: 12.5px; font-family: Arial, Helvetica, sans-serif; }
.hcrh-top * { box-sizing: border-box; }
.hcrh-top .hcrh-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.hcrh-top-msg { display: inline-flex; align-items: center; gap: 8px; }
.hcrh-top-msg svg { color: var(--hcrh-accent); flex-shrink: 0; }
.hcrh-top-contacts { display: flex; align-items: center; gap: 22px; }
.hcrh-top-contacts a, .hcrh-top-contacts span { color: #fff !important; }
.hcrh-top-contacts a:hover { text-decoration: underline; }

/* Linha principal */
.hcrh-main { border-bottom: 1px solid var(--hcrh-line); }
.hcrh-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions"; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.hcrh-logo { grid-area: logo; display: inline-flex; align-items: center; }
.hcrh .hcrh-logo img { display: block; height: 64px !important; width: auto !important; max-width: 180px !important; max-height: 64px !important; object-fit: contain; }
.hcrh-logo-text { font-size: 22px; font-weight: 800; color: var(--hcrh-navy); letter-spacing: .04em; text-transform: uppercase; }
.hcrh-search { grid-area: search; min-width: 0; max-width: 720px; width: 100%; justify-self: center; }
.hcrh-actions { grid-area: actions; display: flex; align-items: center; gap: 12px; }
.hcrh .hcrh-menu-btn { grid-area: menu; display: none; }

/* Busca própria (sem FiboSearch) */
.hcrh-search-form { display: flex; align-items: center; gap: 8px; height: 50px; padding: 5px 5px 5px 16px; background: var(--hcrh-field); border: 1px solid #e2ded6; border-radius: 12px; }
.hcrh-search-ico { color: var(--hcrh-muted); flex-shrink: 0; }
.hcrh-search-form input[type="search"] { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font: inherit; font-size: 15px; color: var(--hcrh-text); outline: none; }
.hcrh-search-form button { height: 100%; padding: 0 18px; border: 0; border-radius: 8px; background: var(--hcrh-navy); color: #fff; font: 700 14px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.hcrh-search-form:focus-within { border-color: var(--hcrh-navy); }

/* ---------- FiboSearch no visual do site ---------- */
.hcrh .dgwt-wcas-search-wrapp { max-width: none !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; }
.hcrh .dgwt-wcas-search-form { margin: 0 !important; }
.hcrh .dgwt-wcas-sf-wrapp { position: relative !important; display: flex !important; align-items: center; gap: 6px; height: 50px; padding: 5px 5px 5px 0 !important; background: var(--hcrh-field) !important; border: 1px solid #e2ded6 !important; border-radius: 12px !important; box-shadow: none !important; transition: border-color .15s, background-color .15s, border-radius .1s; }
.hcrh .dgwt-wcas-sf-wrapp:hover { border-color: #cfc9bd !important; }
.hcrh .dgwt-wcas-sf-wrapp:focus-within, .hcrh .dgwt-wcas-sf-wrapp.hcrh-open { background: #fff !important; border-color: var(--hcrh-navy) !important; }
/* Aberto com sugestões: o campo e a lista viram uma caixa só. */
.hcrh .dgwt-wcas-sf-wrapp.hcrh-open { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; border-bottom-color: #eef0f3 !important; }
.hcrh .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	flex: 1; min-width: 0; height: 100% !important; margin: 0 !important; padding: 0 12px 0 46px !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important; outline: none !important;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235b6573' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center !important;
	font-family: Arial, Helvetica, sans-serif !important; font-size: 15px !important; font-style: normal !important; color: var(--hcrh-text) !important;
}
.hcrh .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input::placeholder { color: #8a8f98 !important; font-style: normal !important; opacity: 1; }
.hcrh .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier, .hcrh .dgwt-wcas-sf-wrapp > .dgwt-wcas-ico-magnifier-handler { display: none !important; }
.hcrh .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
	position: static !important; flex-shrink: 0; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; height: 100% !important; min-width: 46px !important; width: auto !important; padding: 0 16px !important; margin: 0 !important;
	border: 0 !important; border-radius: 8px !important; background: var(--hcrh-navy) !important; color: #fff !important; font: 700 14px/1 Arial, Helvetica, sans-serif !important; text-shadow: none !important; box-shadow: none !important; cursor: pointer; transform: none !important;
}
.hcrh .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover { filter: brightness(1.15); }
.hcrh .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before, .hcrh .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::after { display: none !important; }
.hcrh .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit svg, .hcrh .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier { display: block !important; position: static !important; width: 18px !important; height: 18px !important; margin: 0 !important; opacity: 1 !important; transform: none !important; }
.hcrh .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit svg path { fill: #fff !important; }
.hcrh .dgwt-wcas-preloader { right: 64px !important; }
.hcrh .dgwt-wcas-close { right: 64px !important; }

/* Lista de sugestões do FiboSearch (fica no fim da página, alinhada pelo script) */
.dgwt-wcas-suggestions-wrapp.hcrh-sugg {
	box-sizing: border-box !important; margin: 0 !important; padding: 6px 0 8px !important; background: #fff !important;
	border: 1px solid var(--hcrh-navy, #253649) !important; border-top: 0 !important; border-radius: 0 0 12px 12px !important;
	box-shadow: 0 18px 40px rgba(15, 23, 42, .16) !important; font-family: Arial, Helvetica, sans-serif !important; overflow: hidden auto !important;
}
.hcrh-sugg .dgwt-wcas-suggestion { display: flex !important; align-items: center; gap: 14px; min-height: 0; padding: 9px 18px !important; border: 0 !important; color: #1f2a37 !important; font-size: 15px !important; line-height: 1.35 !important; background: #fff; transition: background-color .12s; }
.hcrh-sugg .dgwt-wcas-suggestion:hover, .hcrh-sugg .dgwt-wcas-suggestion.dgwt-wcas-suggestion-selected { background: #f4f2ee !important; }
.hcrh-sugg .dgwt-wcas-si { width: 46px !important; min-width: 46px; height: 46px; margin: 0 !important; padding: 3px; border: 1px solid #eef0f3; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hcrh-sugg .dgwt-wcas-si img { max-width: 100% !important; max-height: 100% !important; object-fit: contain; border: 0 !important; padding: 0 !important; }
.hcrh-sugg .dgwt-wcas-content-wrapp { padding: 0 !important; }
.hcrh-sugg .dgwt-wcas-st { font-size: 15px !important; color: #1f2a37 !important; }
.hcrh-sugg .dgwt-wcas-st strong, .hcrh-sugg .dgwt-wcas-st b { color: var(--hcrh-navy, #253649); font-weight: 700; }
.hcrh-sugg .dgwt-wcas-sp { font-weight: 700; color: var(--hcrh-navy, #253649) !important; white-space: nowrap; }
.hcrh-sugg .dgwt-wcas-suggestion-headline, .hcrh-sugg .dgwt-wcas-suggestion-history-headline, .hcrh-sugg .dgwt-wcas-st-breadcrumbs, .hcrh-sugg [class*="headline"] { padding: 10px 18px 6px !important; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; color: #5b6573 !important; background: transparent !important; border: 0 !important; }
.hcrh-sugg [class*="headline"] a, .hcrh-sugg .dgwt-wcas-history-clear { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--hcrh-navy, #253649) !important; margin-left: 6px; }
.hcrh-sugg .dgwt-wcas-suggestion-history .dgwt-wcas-si, .hcrh-sugg .dgwt-wcas-suggestion-history-search .dgwt-wcas-si, .hcrh-sugg .dgwt-wcas-suggestion .dgwt-wcas-si:has(svg) { border: 0; background: transparent; width: 32px !important; min-width: 32px; height: 32px; }
.hcrh-sugg .dgwt-wcas-si svg { width: 18px; height: 18px; opacity: .6; }
.hcrh-sugg .dgwt-wcas-suggestion-more { justify-content: center; margin-top: 4px; padding: 12px 18px !important; border-top: 1px solid #eef0f3 !important; font-weight: 700; color: var(--hcrh-navy, #253649) !important; }
.dgwt-wcas-details-wrapp.hcrh-sugg-details { border: 1px solid var(--hcrh-navy, #253649) !important; border-top: 0 !important; border-radius: 0 0 12px 0 !important; box-shadow: 0 18px 40px rgba(15, 23, 42, .16) !important; }

/* Carrinho */
.hcrh-cart { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px; border-radius: 10px; background: var(--hcrh-navy); color: #fff !important; white-space: nowrap; }
.hcrh-cart:hover { filter: brightness(1.12); }
.hcrh-cart:focus-visible { outline: 3px solid var(--hcrh-accent); outline-offset: 2px; }
.hcrh-cart-ico { position: relative; display: inline-flex; }
.hcrh-cart-count { position: absolute; top: -12px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--hcrh-accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--hcrh-navy); }
.hcrh-cart-lines { display: flex; flex-direction: column; line-height: 1.15; }
.hcrh-cart-lines small { font-size: 11px; color: #c9d1db; }
.hcrh-cart-lines strong { font-size: 15px; font-weight: 700; }

/* Minha conta (usa o [hcr_menu_conta] em caixa) */
.hcrh-account .hcra-menu.is-box .hcra-menu-trigger { height: 50px; }
.hcrh-account-link { display: inline-flex; align-items: center; height: 50px; padding: 0 14px; border: 1px solid #d9dde3; border-radius: 10px; color: var(--hcrh-text) !important; font-weight: 700; }

/* Botão de menu e gaveta (celular) */
.hcrh .hcrh-menu-btn { width: 50px; height: 50px; align-items: center; justify-content: center; padding: 0; margin: 0; border: 1px solid #d9dde3 !important; border-radius: 10px !important; background: #fff !important; color: var(--hcrh-text) !important; box-shadow: none !important; cursor: pointer; }
.hcrh .hcrh-menu-btn:focus-visible { outline: 2px solid var(--hcrh-navy); outline-offset: 2px; }
.hcrh-drawer { position: fixed; inset: 0; z-index: 99999; }
.hcrh-drawer[hidden] { display: none; }
.hcrh-drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); }
.hcrh-drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; width: min(340px, 88vw); background: #fff; display: flex; flex-direction: column; overflow-y: auto; box-shadow: 8px 0 30px rgba(0,0,0,.2); animation: hcrh-in .18s ease-out; }
@keyframes hcrh-in { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hcrh-drawer-panel { animation: none; } }
.hcrh-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--hcrh-line); }
.hcrh .hcrh-drawer-head .hcrh-logo img { height: 48px !important; max-height: 48px !important; }
.hcrh .hcrh-drawer-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0 !important; border-radius: 8px; background: #f1f3f6 !important; color: var(--hcrh-text) !important; cursor: pointer; padding: 0; box-shadow: none !important; }
.hcrh-drawer-nav { padding: 10px 8px; flex: 1; }
.hcrh-drawer-title { margin: 14px 12px 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hcrh-accent); }
.hcrh-drawer-menu { list-style: none; margin: 0; padding: 0; }
.hcrh-drawer-menu li { margin: 0; }
.hcrh-drawer-menu a { display: block; padding: 12px; border-radius: 8px; color: var(--hcrh-text) !important; font-size: 16px; font-weight: 700; }
.hcrh-drawer-menu a:hover, .hcrh-drawer-menu a:focus-visible { background: #f1f3f6; color: var(--hcrh-navy) !important; outline: none; }
.hcrh-drawer-menu .sub-menu { list-style: none; margin: 0 0 6px 12px; padding: 0 0 0 10px; border-left: 2px solid var(--hcrh-line); }
.hcrh-drawer-menu .sub-menu a { font-weight: 400; font-size: 15px; padding: 9px 12px; }
.hcrh-drawer-quick { padding-bottom: 8px !important; margin-bottom: 4px !important; border-bottom: 1px solid var(--hcrh-line); }
.hcrh-drawer-contacts { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 24px; border-top: 1px solid var(--hcrh-line); font-size: 14px; color: var(--hcrh-muted); }
.hcrh-drawer-contacts a { color: var(--hcrh-navy) !important; }
body.hcrh-lock { overflow: hidden; }

/* Celular e tablet */
@media (max-width: 1024px) {
	.hcrh-top { display: none; }
	.hcrh-in { padding: 0 14px; }
	.hcrh-grid { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo logo actions" "menu search search"; gap: 12px 10px; padding-top: 10px; padding-bottom: 12px; }
	.hcrh .hcrh-menu-btn { display: inline-flex; width: 50px; height: 50px; }
	.hcrh .hcrh-logo img { height: 52px !important; max-height: 52px !important; max-width: 150px !important; }
	.hcrh-search { max-width: none; }
	.hcrh-actions { gap: 8px; }
	.hcrh-account .hcra-menu.is-box .hcra-menu-trigger { width: 50px; height: 50px; }
	.hcrh-cart { height: 50px; padding: 0 14px 0 12px; }
	.hcrh-cart-lines small { display: none; }
}
@media (max-width: 380px) {
	.hcrh-cart-lines { display: none; }
	.hcrh-cart { width: 50px; padding: 0; justify-content: center; }
}

/* ---------- Barra de categorias e veículos (computador) ---------- */
.hcrh-nav { border-bottom: 1px solid var(--hcrh-line); background: #fff; }
.hcrh-nav .hcrh-in { display: flex; align-items: center; gap: 18px; min-height: 54px; }
.hcrh-cat { position: relative; flex-shrink: 0; }
.hcrh .hcrh-cat-btn { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; margin: 0; border: 0 !important; border-radius: 8px !important; background: var(--hcrh-navy) !important; color: #fff !important; font: 700 14px/1 Arial, Helvetica, sans-serif !important; cursor: pointer; box-shadow: none !important; text-transform: none !important; }
.hcrh .hcrh-cat-btn:hover { filter: brightness(1.15); }
.hcrh .hcrh-cat-btn:focus-visible { outline: 3px solid var(--hcrh-accent); outline-offset: 2px; }
.hcrh-cat-btn[aria-expanded="true"] .hcrh-chev { transform: rotate(180deg); }
.hcrh-chev { transition: transform .15s; }
.hcrh-cat-pop { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; width: min(880px, calc(100vw - 48px)); padding: 20px 22px 16px; background: #fff; border: 1px solid var(--hcrh-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(15, 23, 42, .16); }
.hcrh-cat-pop[hidden] { display: none; }
.hcrh-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 24px; max-height: 60vh; overflow: auto; }
.hcrh-cat-top { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--hcrh-navy) !important; }
.hcrh-cat-top:hover { text-decoration: underline !important; }
.hcrh-cat-col ul { list-style: none; margin: 0; padding: 0; }
.hcrh-cat-col li { margin: 0; }
.hcrh-cat-col li a { display: block; padding: 4px 0; font-size: 14px; color: #3a4553 !important; }
.hcrh-cat-col li a:hover { color: var(--hcrh-navy) !important; text-decoration: underline !important; }
.hcrh-cat-all { display: inline-block; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef0f3; width: 100%; font-size: 14px; font-weight: 700; color: var(--hcrh-navy) !important; }
.hcrh-veh-label { flex-shrink: 0; padding-left: 16px; border-left: 1px solid var(--hcrh-line); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hcrh-accent); }
.hcrh-veh { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 4px 0; min-width: 0; }
.hcrh-veh li { margin: 0; flex-shrink: 0; }
.hcrh-veh a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--hcrh-text) !important; white-space: nowrap; }
.hcrh-veh a:hover { background: #f1f3f6; }
.hcrh-veh a.is-on { background: #eceae4; color: var(--hcrh-navy) !important; }
.hcrh-veh a:focus-visible, .hcrh-links a:focus-visible, .hcrh-cat-pop a:focus-visible { outline: 2px solid var(--hcrh-navy); outline-offset: 2px; }
.hcrh-links { display: flex; gap: 18px; list-style: none; margin: 0 0 0 auto; padding: 0; flex-shrink: 0; }
.hcrh-links li { margin: 0; }
.hcrh-links a { font-size: 14px; font-weight: 700; color: var(--hcrh-text) !important; white-space: nowrap; }
.hcrh-links a:hover { color: var(--hcrh-navy) !important; text-decoration: underline !important; }

/* ---------- Gaveta: categorias com subcategorias e veículos ---------- */
.hcrh-acc { display: flex; align-items: center; }
.hcrh-acc a { flex: 1; }
.hcrh .hcrh-acc-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; margin: 0; border: 0 !important; border-radius: 8px; background: transparent !important; color: var(--hcrh-muted) !important; cursor: pointer; box-shadow: none !important; }
.hcrh .hcrh-acc-btn:hover { background: #f1f3f6 !important; }
.hcrh-acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.hcrh-drawer-menu .sub-menu[hidden] { display: none; }
.hcrh-drawer-veh { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 12px 8px; padding: 0; }
.hcrh-drawer-veh li { margin: 0; }
.hcrh-drawer-veh a { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--hcrh-line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--hcrh-text) !important; }
.hcrh-drawer-veh a:hover { border-color: var(--hcrh-navy); }
.hcrh-drawer-link { display: block; margin: 8px 8px 0; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: 700; color: var(--hcrh-text) !important; }
.hcrh-drawer-link:hover { background: #f1f3f6; }

/* ---------- Fixo ao rolar ---------- */
body.hcrh-sticky header.hcrh { position: sticky; top: 0; z-index: 900; }
body.admin-bar.hcrh-sticky header.hcrh { top: 32px; }
@media (max-width: 782px) { body.admin-bar.hcrh-sticky header.hcrh { top: 46px; } }
@media (max-width: 600px) { body.admin-bar.hcrh-sticky header.hcrh { top: 0; } }
header.hcrh.is-scrolled { box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }

/* ---------- Cabeçalho do tema escondido ---------- */
body.hcrh-hide-theme .elementor-location-header,
body.hcrh-hide-theme #masthead,
body.hcrh-hide-theme .site-header:not(.hcrh),
body.hcrh-hide-theme .ast-mobile-header-wrap,
body.hcrh-hide-theme #ast-desktop-header,
body.hcrh-hide-theme header.wp-block-template-part { display: none !important; }

@media (max-width: 1024px) {
	.hcrh-nav { display: none; }
}
.hcrh-top a, .hcrh a, .hcrh-drawer a { text-decoration: none !important; }
.hcrh-top a:hover { text-decoration: underline !important; }

/* Veículo com menu (marca → modelos, modelo → anos) */
.hcrh-veh-dd { position: relative; }
.hcrh .hcrh-veh .hcrh-dd-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 12px; margin: 0; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: var(--hcrh-text) !important; font: 700 14px/1 Arial, Helvetica, sans-serif !important; cursor: pointer; box-shadow: none !important; text-transform: none !important; white-space: nowrap; }
.hcrh .hcrh-veh .hcrh-dd-btn:hover, .hcrh .hcrh-veh .hcrh-dd-btn[aria-expanded="true"] { background: #f1f3f6 !important; }
.hcrh .hcrh-veh .hcrh-dd-btn.is-on { background: #eceae4 !important; color: var(--hcrh-navy) !important; }
.hcrh .hcrh-veh .hcrh-dd-btn:focus-visible { outline: 2px solid var(--hcrh-navy); outline-offset: 2px; }
.hcrh-dd-btn[aria-expanded="true"] .hcrh-chev { transform: rotate(180deg); }
.hcrh-veh-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 220px; max-width: min(520px, calc(100vw - 48px)); padding: 12px; background: #fff; border: 1px solid var(--hcrh-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(15, 23, 42, .16); }
.hcrh-veh-pop[hidden] { display: none; }
.hcrh-veh-pop ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px; max-height: 50vh; overflow: auto; }
.hcrh-veh-pop.is-years { width: 420px; }
.hcrh-veh-pop.is-years ul { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.hcrh-veh-pop li { margin: 0; }
.hcrh-veh-pop li a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; color: var(--hcrh-text) !important; white-space: nowrap; }
.hcrh-veh-pop.is-years li a { text-align: center; border: 1px solid var(--hcrh-line); font-weight: 700; }
.hcrh-veh-pop li a:hover { background: #f1f3f6; color: var(--hcrh-navy) !important; }
.hcrh-veh-pop li a.is-on { background: #eceae4; color: var(--hcrh-navy) !important; font-weight: 700; }
.hcrh-veh-all { display: block; margin: -2px -2px 8px; padding: 8px 10px 10px; border-bottom: 1px solid #eef0f3; font-size: 14px; font-weight: 700; color: var(--hcrh-navy) !important; }
/* Gaveta: anos em grade */
.hcrh-drawer-menu .sub-menu.is-years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px 0 8px 10px; }
.hcrh-drawer-menu .sub-menu.is-years[hidden] { display: none; }
.hcrh-drawer-menu .sub-menu.is-years a { text-align: center; padding: 8px 4px; border: 1px solid var(--hcrh-line); border-radius: 8px; font-weight: 700; font-size: 14px; }
.hcrh-sugg a, .hcrh-sugg a *, .hcrh-sugg .dgwt-wcas-suggestion * { text-decoration: none !important; }
.hcrh-sugg a.dgwt-wcas-history-clear { text-decoration: underline !important; }

/* ---------- Busca própria ---------- */
.hcrh-sf { position: relative; margin: 0; }
.hcrh-sf-box { position: relative; display: flex; align-items: center; gap: 6px; height: 50px; padding: 5px 5px 5px 0; background: var(--hcrh-field); border: 1px solid #e2ded6; border-radius: 12px; transition: border-color .15s, background-color .15s; }
.hcrh-sf-box:hover { border-color: #cfc9bd; }
.hcrh-sf:focus-within .hcrh-sf-box, .hcrh-sf.is-open .hcrh-sf-box { background: #fff; border-color: var(--hcrh-navy); }
.hcrh-sf.is-open .hcrh-sf-box { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-color: #eef0f3; }
.hcrh-sf-ico { flex-shrink: 0; margin-left: 16px; color: var(--hcrh-muted); }
.hcrh .hcrh-sf input[type="search"] { flex: 1; min-width: 0; height: 100%; margin: 0 !important; padding: 0 4px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important; font: 15px/1.2 Arial, Helvetica, sans-serif !important; color: var(--hcrh-text) !important; -webkit-appearance: none; appearance: none; }
.hcrh .hcrh-sf input[type="search"]::placeholder { color: #8a8f98; opacity: 1; font-style: normal; }
.hcrh .hcrh-sf input[type="search"]::-webkit-search-cancel-button { display: none; }
.hcrh .hcrh-sf-clear { flex-shrink: 0; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0; margin: 0; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: var(--hcrh-muted) !important; cursor: pointer; box-shadow: none !important; }
.hcrh .hcrh-sf-clear[hidden] { display: none; }
.hcrh .hcrh-sf-clear:hover { background: #f1f3f6 !important; color: var(--hcrh-text) !important; }
.hcrh .hcrh-sf-go { flex-shrink: 0; height: 100%; min-width: 46px; padding: 0 14px; margin: 0; display: inline-flex; align-items: center; justify-content: center; border: 0 !important; border-radius: 8px !important; background: var(--hcrh-navy) !important; color: #fff !important; cursor: pointer; box-shadow: none !important; }
.hcrh .hcrh-sf-go:hover { filter: brightness(1.15); }
.hcrh .hcrh-sf-go:focus-visible, .hcrh .hcrh-sf-clear:focus-visible { outline: 2px solid var(--hcrh-accent); outline-offset: 2px; }
.hcrh-sf-pop { position: absolute; top: 100%; left: 0; right: 0; z-index: 70; max-height: min(70vh, 560px); overflow-y: auto; padding: 6px 0 8px; background: #fff; border: 1px solid var(--hcrh-navy); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(15, 23, 42, .16); }
.hcrh-sf-pop[hidden] { display: none; }
.hcrh-sf-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hcrh-muted); }
.hcrh .hcrh-sf-head button { padding: 0; margin: 0; border: 0 !important; background: none !important; color: var(--hcrh-navy) !important; font: 400 12px Arial, Helvetica, sans-serif !important; text-transform: none; letter-spacing: 0; text-decoration: underline; cursor: pointer; box-shadow: none !important; }
.hcrh-sf-opt { display: flex; align-items: center; gap: 14px; padding: 9px 18px; color: var(--hcrh-text) !important; cursor: pointer; }
.hcrh-sf-opt:hover, .hcrh-sf-opt.is-active { background: #f4f2ee; }
.hcrh-sf-thumb { width: 46px; height: 46px; flex-shrink: 0; padding: 3px; border: 1px solid #eef0f3; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hcrh-sf-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.hcrh-sf-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hcrh-sf-name { font-size: 14.5px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hcrh-sf-name mark { background: none; color: var(--hcrh-navy); font-weight: 700; padding: 0; }
.hcrh-sf-sku { font-size: 12px; color: var(--hcrh-muted); }
.hcrh-sf-price { flex-shrink: 0; text-align: right; display: flex; flex-direction: column; gap: 1px; }
.hcrh-sf-price strong { font-size: 15px; color: var(--hcrh-navy); white-space: nowrap; }
.hcrh-sf-price small { font-size: 11px; font-weight: 700; color: #0e5a3c; }
.hcrh-sf-cat-ico, .hcrh-sf-hist-ico { width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #f4f2ee; color: var(--hcrh-muted); }
.hcrh-sf-count { margin-left: auto; font-size: 12px; color: var(--hcrh-muted); }
.hcrh-sf-all { display: block; margin-top: 4px; padding: 12px 18px; border-top: 1px solid #eef0f3; font-size: 14px; font-weight: 700; color: var(--hcrh-navy) !important; }
.hcrh-sf-all.is-active, .hcrh-sf-all:hover { background: #f4f2ee; }
.hcrh-sf-empty { padding: 16px 18px; font-size: 14px; color: var(--hcrh-muted); }
.hcrh-sf-loading { padding: 14px 18px; font-size: 13px; color: var(--hcrh-muted); }

/* ---------- Gaveta: seções que abrem e fecham ---------- */
.hcrh .hcrh-drawer-sec { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 8px); margin: 6px 4px 0; padding: 12px; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: var(--hcrh-text) !important; font: 700 16px Arial, Helvetica, sans-serif !important; text-transform: none !important; cursor: pointer; box-shadow: none !important; height: auto; }
.hcrh .hcrh-drawer-sec:hover { background: #f1f3f6 !important; }
.hcrh .hcrh-drawer-sec[aria-expanded="true"] { color: var(--hcrh-navy) !important; }
.hcrh-drawer-sec svg { transition: transform .15s; }
.hcrh-drawer-sec[aria-expanded="true"] svg { transform: rotate(180deg); }
.hcrh-drawer-cats[hidden] { display: none; }
.hcrh-drawer-cats { margin-left: 12px !important; padding-left: 8px !important; border-left: 2px solid var(--hcrh-line); }
.hcrh-drawer-cats a { font-weight: 400; font-size: 15px; }

/* ---------- Celular e tablet: Minha conta só com o ícone (vale para qualquer versão do HCR Minha Conta) ---------- */
@media (max-width: 1024px) {
	.hcrh-in { padding: 0 14px; }
	.hcrh-account .hcra-menu .hcra-menu-trigger { width: 50px !important; height: 50px !important; padding: 0 !important; gap: 0 !important; justify-content: center !important; }
	.hcrh-account .hcra-menu-lines, .hcrh-account .hcra-menu-text { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
	.hcrh-account .hcra-menu-chev { display: none !important; }
	.hcrh-sf-price small { display: none; }
	.hcrh-sf-opt { padding: 9px 14px; gap: 10px; }
	.hcrh-sf-thumb { width: 40px; height: 40px; }
}
