/* Etapa 1: cabeçalho e banner. Os seletores correspondem aos modelos preservados. */
body.iv-stage-1.home [data-id="4a7b3bc7"], body.iv-stage-1.home [data-id="4c0427e"] { display: none !important; }
body.iv-stage-1 .iv-home-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 20px; max-width: 1280px; margin: 0 auto 24px; padding: 30px 24px; background: #eef1f5; box-sizing: border-box; color: #26313e; }
.iv-home-hero h1 { margin: 8px 0 12px; font: 700 clamp(22px, 2.7vw, 36px)/1.2 "IV Oxanium", Arial, sans-serif; letter-spacing: -0.5px; text-transform: none; color: #16509d; }
.iv-home-hero h1 > span { display: block; white-space: nowrap; }
.iv-home-hero p { margin: 0 0 16px; font: 15px/1.5 Arial, sans-serif; }
.iv-home-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.iv-home-hero__visual { text-align: center; }
.iv-home-hero__car { display: block; width: 100%; max-height: 220px; height: auto; object-fit: contain; margin: auto; }
.iv-home-hero__credentials { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.iv-home-hero__credentials img { width: 120px; height: auto; max-height: 32px; object-fit: contain; }
.iv-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 1px solid #16509d; border-radius: 24px; background: #16509d; color: #fff; font: 600 14px/1.3 Arial, sans-serif; text-decoration: none; text-align: center; cursor: pointer; }
.iv-action:hover, .iv-action:focus { background: #103e7b; color: #fff; }
.iv-action--outline { background: transparent; color: #16509d; }
.iv-action--outline:hover { background: #e8eef7; color: #103e7b; }
body.iv-stage-1 .iv-home-hero .iv-action--outline { color: #16509d !important; }
/* Um único cabeçalho fixo. O espaçador conserva o lugar no fluxo da página. */
body.iv-stage-1 [data-elementor-type="header"][data-elementor-id="50003"] > .elementor-section { position: relative !important; top: auto !important; left: auto !important; width: 100% !important; height: auto !important; transform: none !important; }
body.iv-stage-1 [data-elementor-type="header"][data-elementor-id="50003"] > .sticky-placeholder { display: none !important; }
body.iv-stage-1.iv-header-fixed [data-elementor-type="header"][data-elementor-id="50003"] { position: fixed !important; top: var(--iv-header-offset, 0px) !important; left: 0; right: 0; width: 100%; z-index: 1000; background: #eaeaea; }
.iv-header-spacer { display: block; flex-shrink: 0; pointer-events: none; }
html:has(body.iv-header-fixed) { scroll-padding-top: calc(var(--iv-header-height, 150px) + var(--iv-header-offset, 0px) + 12px); }
body.iv-header-fixed .iv-catalog, body.iv-header-fixed .iv-portfolio { scroll-margin-top: 12px; }
.iv-action:focus-visible, .iv-catalog a:focus-visible, .iv-catalog summary:focus-visible { outline: 3px solid #c7323e; outline-offset: 3px; }
@media (max-width: 1024px) {
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="4381a594"] > .elementor-container { min-height: 0 !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="599329f6"] { display: none !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="25e24abd"] { width: 100% !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="25e24abd"] > .elementor-widget-wrap { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 10px; padding: 5px 12px !important; margin: 0 !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="655ef206"], body.iv-stage-1 [data-elementor-id="50003"] [data-id="49f23e56"] { width: auto !important; margin: 0 !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="655ef206"] p { margin: 0 !important; font: 10px/1.3 Arial, sans-serif !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="49f23e56"] a { min-height: 24px; font-size: 13px !important; }
	body.iv-stage-1 [data-elementor-id="50003"] .jet-ajax-search__field { min-height: 40px !important; height: 40px !important; font-size: 16px !important; padding: 8px 14px !important; }
	body.iv-stage-1 [data-elementor-id="50003"] .elementor-menu-toggle { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px !important; }
	body.iv-stage-1 [data-elementor-id="50003"] .elementor-icon-list-items { margin: 0 !important; }
	.iv-home-hero h1 { font-size: clamp(22px, 2.7vw, 28px); }
}
@media (min-width: 768px) and (max-width: 1024px) {
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="3bcc5037"] > .elementor-container { display: grid !important; grid-template-columns: 145px minmax(0, 1fr) 88px; align-items: center; gap: 14px; padding: 6px 16px; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="3bcc5037"] > .elementor-container > .elementor-column { width: 100% !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="3bcc5037"] > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0 !important; align-items: center; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="cc0c0ec"] img { width: 145px !important; max-width: 100%; height: auto; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="71b86d12"] > .elementor-widget-wrap { display: grid !important; grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="6625cb25"] { width: 100% !important; margin: 0 !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="88309fd"] { width: 44px !important; margin: 0 !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="222a0325"] > .elementor-widget-wrap { display: flex !important; flex-wrap: nowrap; justify-content: flex-end; gap: 12px; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="5bcc8a22"], body.iv-stage-1 [data-elementor-id="50003"] [data-id="c3fb6f5"] { width: auto !important; margin: 0 !important; }
}
@media (max-width: 767px) {
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="1d7ed364"] > .elementor-container { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) 72px; gap: 8px; align-items: center; padding: 2px 12px; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="1d7ed364"] > .elementor-container > .elementor-column { width: 100% !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="1d7ed364"] > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0 !important; align-items: center; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="4b24699a"] img { width: 145px !important; max-width: 100%; height: auto; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="2c92123b"] > .elementor-widget-wrap { display: flex !important; flex-wrap: nowrap; justify-content: flex-end; gap: 12px; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="5e3f72b3"], body.iv-stage-1 [data-elementor-id="50003"] [data-id="e41f82e"] { width: auto !important; margin: 0 !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="6cf858a"] .elementor-widget-wrap { padding: 0 12px 6px !important; }
	body.iv-stage-1 [data-elementor-id="50003"] [data-id="f74dc75"] { margin: 0 !important; }
	body.iv-stage-1 .iv-home-hero { grid-template-columns: 1fr; gap: 16px; padding: 20px 18px; }
	.iv-home-hero h1 { font-size: clamp(19px, 5.8vw, 24px); }
	.iv-home-hero__visual { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
	.iv-home-hero__car { width: 56%; max-height: 92px; margin: 0; }
	.iv-home-hero__credentials { flex-direction: column; gap: 10px; margin: 0; }
	.iv-home-hero__credentials img { width: 105px; max-height: 30px; }
	.iv-home-hero__actions .iv-action { padding: 10px 13px; font-size: 13px; }
}

/* Etapa 2: leitura dos títulos e cartões. */
body.iv-stage-2 .jet-woo-product-title, body.iv-stage-2 .jet-woo-product-title a,
body.iv-stage-2 .jet-woo-builder-archive-product-title, body.iv-stage-2 .jet-woo-builder-archive-product-title a { font: 600 16px/1.4 Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; font-style: normal !important; }
body.iv-stage-2 .jet-woo-product-price { font-size: 18px !important; font-style: normal !important; }
body.iv-stage-2 .jet-woo-product-stock-status { font: 12px/1.4 Arial, sans-serif !important; }
@media (max-width: 1024px) {
	body.iv-stage-2 [data-elementor-type="wp-page"] .elementor-widget-heading .elementor-heading-title { font-size: clamp(24px, 3vw, 30px) !important; line-height: 1.25 !important; letter-spacing: 0 !important; }
	body.iv-stage-2 [data-elementor-type="wp-page"] .elementor-widget-icon-box .elementor-icon-box-title { font-size: 20px !important; line-height: 1.3 !important; letter-spacing: 0 !important; }
	body.iv-stage-2 [data-elementor-type="wp-page"] .elementor-icon-box-description { font: 15px/1.6 Arial, sans-serif !important; }
	body.iv-stage-2 .elementor-button-text { font-family: Arial, sans-serif !important; font-size: 14px !important; font-style: normal !important; letter-spacing: 0 !important; }
	body.iv-stage-2 [data-elementor-type="header"] .elementor-nav-menu a { font-style: normal !important; letter-spacing: 0 !important; }
}

/* Etapa 3: grelha com largura útil no tablet; o painel passa a ser único na etapa 4. */
body.iv-stage-3 .elementor-6826 .jet-woo-products, body.iv-stage-3 .elementor-49798 .jet-woo-products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 !important; }
body.iv-stage-3 .elementor-6826 .jet-woo-products__item, body.iv-stage-3 .elementor-49798 .jet-woo-products__item { width: auto !important; max-width: none !important; padding: 0 !important; display: flex; }
body.iv-stage-3 .jet-woo-products__inner-box { display: flex !important; flex-direction: column; width: 100%; height: 100%; }
body.iv-stage-3 .jet-woo-product-thumbnail img { width: 100%; height: 180px; object-fit: contain; }
body.iv-stage-3 .jet-woo-product-title { min-height: 4.2em; margin-bottom: 12px; }
body.iv-stage-3 .jet-woo-product-price { margin-top: auto; }
body.iv-stage-3 .jet-woo-product-button { padding-top: 12px; }
@media (max-width: 1024px) {
	body.iv-stage-3 [data-id="61fce1d0"] > .elementor-container, body.iv-stage-3 [data-id="6e16dd0"] > .elementor-container { display: block !important; padding: 0 16px; }
	body.iv-stage-3 [data-id="61fce1d0"] > .elementor-container > .elementor-column:first-child, body.iv-stage-3 [data-id="6e16dd0"] > .elementor-container > .elementor-column:first-child { display: none !important; }
	body.iv-stage-3 [data-id="1d53688c"], body.iv-stage-3 [data-id="084ca07"] { width: 100% !important; }
	body.iv-stage-3 [data-id="7231adba"], body.iv-stage-3 [data-id="2f19297"] { width: 100% !important; max-width: none !important; }
	body.iv-stage-3 [data-id="1d53688c"] > .elementor-widget-wrap, body.iv-stage-3 [data-id="084ca07"] > .elementor-widget-wrap { padding: 0 !important; }
	body.iv-stage-3 .elementor-6826 .jet-woo-products, body.iv-stage-3 .elementor-49798 .jet-woo-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 600px) {
	body.iv-stage-3 .elementor-6826 .jet-woo-products, body.iv-stage-3 .elementor-49798 .jet-woo-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	body.iv-stage-3 .jet-woo-product-thumbnail img { height: 145px; }
}

/* Etapa 4: filtros nativos, resultados reais no servidor e paginação. */
body.iv-stage-4 [data-id="6f996967"], body.iv-stage-4 [data-id="25b1e9d4"] { display: none !important; }
/* Retira o espaço do filtro antigo e a margem abaixo da navegação de categorias. */
body.iv-stage-4 .elementor-6826 [data-id="623cfcd3"] { display: none !important; }
body.iv-stage-4 .elementor-6826 [data-id="3751198f"] { width: 100% !important; }
body.iv-stage-4 .elementor-6826 [data-id="3751198f"] > .elementor-widget-wrap { padding: 8px 12px 0 !important; }
body.iv-stage-4 .elementor-6826 .elementor-widget-jet-breadcrumbs { margin-bottom: 0 !important; }
body.iv-stage-4 .elementor-6826 > .iv-catalog { margin-top: 12px; }
.iv-catalog { max-width: 1280px; margin: 16px auto 40px; padding: 0 20px; color: #26313e; box-sizing: border-box; scroll-margin-top: 100px; font: 15px/1.5 Arial, sans-serif; }
.iv-catalog *, .iv-product-decision * { box-sizing: border-box; }
.iv-catalog-header h1 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.iv-catalog-header p { margin: 0 0 8px; font-size: 13px; color: #5d6875; }
.iv-catalog-filters { margin-bottom: 14px; border: 1px solid #d9e1eb; border-radius: 7px; background: #f7f9fc; }
.iv-catalog-filters > summary { cursor: pointer; min-height: 40px; padding: 10px 12px; color: #16509d; font: 600 13px/1.4 Arial, sans-serif; }
.iv-catalog-filters > summary span { display: inline-block; min-width: 22px; border-radius: 12px; background: #16509d; color: #fff; text-align: center; margin-left: 8px; }
.iv-filter-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 2px 12px 12px; }
.iv-filter-field { display: flex; flex-direction: column; margin: 0; min-width: 0; font: 600 12px/1.4 Arial, sans-serif; }
.iv-filter-field > span { display: block; margin-bottom: 4px; }
.iv-filter-field select, .iv-filter-field input { width: 100%; height: 40px; margin-top: auto; padding: 7px 8px; border: 1px solid #bac6d5; border-radius: 5px; background: #fff; color: #26313e; font: 16px/1.3 Arial, sans-serif; }
.iv-filter-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; grid-column: 1 / -1; }
.iv-filter-actions .iv-action { min-height: 40px; padding: 9px 12px; font-size: 13px; }
.iv-filter-actions a { color: #16509d; text-decoration: underline; padding: 10px 0; }
.iv-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.iv-filter-chips a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; color: #16509d; border: 1px solid #d1deed; border-radius: 24px; background: #edf3fa; font-size: 13px; text-decoration: none; }
.iv-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.iv-product-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 14px; border: 1px solid #e5eaf0; border-radius: 8px; background: #fff; }
.iv-product-card__image { display: grid; place-items: center; width: 100%; aspect-ratio: 1; margin-bottom: 10px; }
.iv-product-card__image img { display: block; max-width: 100%; width: 100%; height: 100%; max-height: 220px; object-fit: contain; }
.iv-product-card__stock { color: #596775; font-size: 12px; margin-bottom: 6px; }
.iv-product-card h2 { font: 600 16px/1.4 Arial, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; margin: 0 0 16px !important; min-height: 4.2em; }
.iv-product-card h2 a { color: #164e94; text-decoration: none; font: inherit !important; letter-spacing: inherit !important; text-transform: inherit !important; }
.iv-product-card h2 a:hover { text-decoration: underline; }
.iv-product-card__price { margin-top: auto; font: 600 18px/1.4 Arial, sans-serif; color: #26313e; }
.iv-product-card__price del { font-size: 13px; color: #687786; font-weight: 400; }
.iv-product-card__buy { margin-top: 12px; }
.iv-product-card__buy a, .iv-product-card__buy button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px; width: 100%; border: 0; border-radius: 24px !important; padding: 10px 12px !important; background: #16509d !important; color: #fff !important; font: 600 14px/1.3 Arial, sans-serif !important; text-decoration: none; text-align: center; letter-spacing: 0 !important; text-transform: none !important; }
.iv-product-card__buy .added_to_cart { margin-top: 6px; background: #e8eff8 !important; color: #16509d !important; }
.iv-catalog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.iv-catalog-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #d6e0ec; border-radius: 6px; color: #16509d; text-decoration: none; font-size: 14px; }
.iv-catalog-pagination .current { background: #16509d; border-color: #16509d; color: #fff; }
.iv-catalog-empty { text-align: center; background: #f4f7fb; padding: 30px 20px; border-radius: 8px; }
.iv-catalog-empty h2 { font-size: 22px; }
@media (max-width: 1024px) { .iv-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; } .iv-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .iv-catalog { padding: 0 12px; } .iv-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } .iv-product-card { padding: 10px; } .iv-product-card h2 { font-size: 15px !important; } .iv-product-card__price { font-size: 17px; } .iv-filter-form { grid-template-columns: 1fr; } .iv-product-card__image img { max-height: 145px; } }
@media (min-width: 360px) and (max-width: 600px) { .iv-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Etapa 5: resumo junto à compra e metadados depois da ação principal. */
.iv-product-decision { font: 15px/1.6 Arial, sans-serif; color: #3a4654; margin-bottom: 16px; }
/* Filtros ao lado dos resultados no PC; painel compacto até 1024 px. */
@media (min-width:1025px) {
	body.iv-stage-4 .iv-catalog { display:grid; grid-template-columns:240px minmax(0,1fr); column-gap:24px; align-items:start; max-width:1440px; }
	body.iv-stage-4 .iv-catalog > :not(.iv-catalog-filters) { grid-column:2; min-width:0; }
	body.iv-stage-4 .iv-catalog-filters { grid-column:1; grid-row:1 / span 5; margin:0; }
	body.iv-stage-4 .iv-catalog-filters > summary { padding:14px 12px; }
	body.iv-stage-4 .iv-filter-form { grid-template-columns:1fr; gap:12px; }
	body.iv-stage-4 .iv-filter-actions { flex-direction:column; align-items:stretch; gap:0; }
	body.iv-stage-4 .iv-filter-actions a { text-align:center; }
	body.iv-stage-4 .iv-catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (min-width:1600px) { body.iv-stage-4 .iv-catalog-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
.iv-product-decision p { margin: 0 0 10px; }
.iv-product-decision a { color: #16509d; text-decoration: underline; }
.iv-product-vehicle { padding: 10px 12px; background: #f1f5fb; border-radius: 5px; font-size: 13px; }
.iv-product-advice { font-size: 13px; }
body.iv-stage-5 [data-elementor-id="12996"] [data-id="249284bb"] > .elementor-widget-wrap { display: flex !important; flex-direction: column; align-content: stretch; }
body.iv-stage-5 [data-elementor-id="12996"] [data-id="bbe93ce"] { order: 30; margin-top: 18px; font-size: 12px; }
body.iv-stage-5 [data-elementor-id="12996"] [data-id="485bac3a"], body.iv-stage-5 [data-elementor-id="12996"] [data-id="42c4462b"], body.iv-stage-5 [data-elementor-id="12996"] [data-id="71c5bd2b"] { order: 40; }
body.iv-stage-5 [data-elementor-id="12996"] [data-id="28188bb"] .elementor-heading-title { font-size: 28px !important; line-height: 1.25 !important; letter-spacing: 0 !important; text-transform: none !important; }
body.iv-stage-5 [data-elementor-id="12996"] [data-id="145d530"] .elementor-heading-title { font: 600 12px/1.4 Arial, sans-serif !important; }
body.iv-stage-5 [data-elementor-id="12996"] [data-id="35b5df2c"] .single_add_to_cart_button { min-height: 46px; font: 600 15px/1.3 Arial, sans-serif !important; letter-spacing: 0 !important; }
@media (min-width: 768px) and (max-width: 1024px) {
	body.iv-stage-5 [data-elementor-id="12996"] [data-id="34c8279b"] > .elementor-container { display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 20px; padding: 0 18px; }
	body.iv-stage-5 [data-elementor-id="12996"] [data-id="34c8279b"] > .elementor-container > .elementor-column { width: 100% !important; }
	body.iv-stage-5 [data-elementor-id="12996"] [data-id="1c4fe11"] { grid-column: 1 / -1; }
	body.iv-stage-5 [data-elementor-id="12996"] [data-id="581e4b47"] img { max-height: 340px; object-fit: contain; }
}
@media (max-width: 767px) {
	body.iv-stage-5 [data-elementor-id="12996"] [data-id="581e4b47"] img { max-height: 250px; width: auto; margin: auto; object-fit: contain; }
	body.iv-stage-5 [data-elementor-id="12996"] [data-id="28188bb"] .elementor-heading-title { font-size: 24px !important; }
	body.iv-stage-5 [data-elementor-id="12996"] [data-id="e840780"] .woocommerce-breadcrumb { font: 12px/1.5 Arial, sans-serif !important; }
	body.iv-stage-5 [data-elementor-id="12996"] [data-id="581e4b47"] > .elementor-widget-wrap, body.iv-stage-5 [data-elementor-id="12996"] [data-id="249284bb"] > .elementor-widget-wrap { padding: 10px 16px !important; }
}
