/* ==========================================================================
   HCE Componentes Elétricos — identidade visual (azul elétrico #0090D8 do logo + azul-marinho #0A1828 + aço)
   Fontes: Montserrat (títulos, 800) + Open Sans (texto), em config/fonts.php
   Mesma linguagem dos banners: títulos em caixa alta Montserrat ExtraBold, palavra de destaque em azul, botões azuis com canto levemente arredondado.
   Base: lojas/instintovital/site/custom.css (base aprovada Drive4Fun).
   ========================================================================== */

:root {
	--hce-ink: #0a1828;
	--hce-ink-2: #12263c;
	--hce-ink-3: #1b3552;
	--hce-blue: #0090d8;
	--hce-btn: #0083c6;
	--hce-blue-hover: #0070aa;
	--hce-blue-active: #005c8c;
	--hce-blue-soft: #e6f4fb;
	--hce-paper: #f3f6f9;
	--hce-line: #e0e5eb;
	--hce-display: 'Montserrat', 'Arial', sans-serif;

	--primary: var(--hce-ink);
	--primary-hover: var(--hce-ink-2);
	--primary-active: #000;
	--secondary: var(--hce-btn);
	--secondary-hover: var(--hce-blue-hover);
	--secondary-active: var(--hce-blue-active);

	--text: #0a1828;
	--text-secondary: #46566a;
	--text-black: #0a1828;
	--text-gray: #6f7d8c;

	--font-primary: 'Open Sans', 'Inter', sans-serif;

	--header-topbar-background-color: var(--hce-blue);
	--header-topbar-text-color: #fff;
	--header-topbar-icon-color: #fff;
	--header-border-color: var(--hce-line);
	--header-svg-color: var(--hce-ink);
	--header-search-background-color: var(--hce-paper);
	--header-search-background-color-focus: #eaeff4;
	--header-menu-background: var(--hce-ink);
	--header-menu-color-text: #fff;
	--header-menu-color-text-hover: var(--hce-blue);
	--header-menu-font-weight: 600;
	--header-menu-font-size: 15px;

	--footer-border-color: var(--hce-line);

	--btn-product-thumb: var(--hce-ink);
	--btn-product-thumb-hover: var(--hce-btn);
	--btn-product-thumb-active: var(--hce-blue-active);
	--btn-product-thumb-radius: 6px;

	--btn-add-cart: var(--hce-btn);
	--btn-add-cart-hover: var(--hce-blue-hover);
	--btn-add-cart-active: var(--hce-blue-active);

	--variant-button-selected-background-color: var(--hce-ink);
	--variant-button-selected-border-color: var(--hce-ink);

	--border-radius-default: 6px;
	--btn-border-radius: 6px;
	--input-border-radius: 6px;

	--products-gutter-x: 14px;
	--products-gutter-y: 14px;
	--spacing-sections-home: 64px;
	--coupons-available-bg: var(--hce-paper);
	--logo-max-height: 56px;
	--plyr-color-main: var(--hce-blue);
}

@media (max-width: 991px) {
	:root {
		--spacing-sections-home: 44px;
		--logo-max-height: 40px;
	}
}

body { font-family: var(--font-primary); }
::selection { background: var(--hce-btn); color: #fff; }

/* ---------- títulos de seção ---------- */
.heading-title,
.about-us-title,
.newsletter-title,
.carousel-categories-title {
	font-family: var(--hce-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: .95;
}
.heading-title { font-size: clamp(34px, 3.4vw, 50px); color: var(--hce-ink); }
.heading-title-wrapper { margin-bottom: 30px; }
.heading-title-wrapper p,
.heading-title-wrapper .description {
	color: var(--text-gray);
	font-size: 16px;
	margin-top: 8px;
}
/* a barrinha vermelha inclinada dos banners */
.heading-title-wrapper::after {
	content: '';
	display: block;
	width: 64px;
	height: 6px;
	background: var(--hce-btn);
	margin: 14px auto 0;
}

/* ---------- topo ---------- */
.top-bar a { color: inherit; }
.top-bar:has(.top-bar-marquee) { padding: 0; background: var(--hce-ink); border-bottom: 2px solid var(--hce-btn); }
.top-bar-marquee { overflow: hidden; padding: 7px 0 6px; }
.top-bar-marquee .swiper-slide-content {
	font-family: var(--hce-display);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
	align-items: center;
}
.top-bar-marquee .swiper-slide-content:after {
	width: 16px;
	height: 4px;
	border-radius: 0;
	background: var(--hce-btn);
	margin: auto 36px;
}
@media (max-width: 767px) {
	.top-bar-marquee { padding: 6px 0 5px; }
	.top-bar-marquee .swiper-slide-content { font-size: 13px; }
	.top-bar-marquee .swiper-slide-content:after { margin: auto 22px; width: 12px; height: 3px; }
}
.header-wrapper { border-bottom: 0; }
.header-search input { border-radius: 6px; }
.header-bottom { border-top: 0; background: var(--hce-ink); }
.menu-smart-link-level-1,
.menu-smart-all-trigger {
	font-family: var(--hce-display);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
}
.menu-smart-link-level-1:hover { color: var(--hce-btn); }

/* ---------- slideshow ---------- */
.hero-slideshow__button {
	background: rgba(10, 24, 40, .72);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.hero-slideshow__button:hover { background: var(--hce-btn); }

/* ---------- barra de atributos ---------- */
.promotional-bar,
section:has(> .container > .promotional-bar-carousel) { background: #fff; }
.promotional-bar svg,
.promotional-bar svg path { fill: var(--hce-btn); }
.promotional-bar strong,
.promotional-bar .title { font-weight: 700; color: var(--hce-ink); }

/* ---------- compre por tamanho (círculos) ---------- */
.carousel-categories .category-item { text-align: center; }
.carousel-categories .category-item img {
	transition: transform .35s ease, box-shadow .35s ease;
	box-shadow: 0 10px 26px rgba(10, 24, 40, .18);
}
.carousel-categories .category-item:hover img {
	transform: translateY(-6px);
	box-shadow: 0 16px 34px rgba(0, 144, 216, .30);
}
@media (min-width: 992px) {
	.carousel-categories .swiper-wrapper { justify-content: center; }
}
.carousel-categories .category-item span,
.carousel-categories .category-item p {
	font-family: var(--hce-display);
	font-weight: 700;
	font-size: 19px;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--hce-ink);
	white-space: normal;
	-webkit-line-clamp: 2;
	overflow: visible;
	text-overflow: clip;
}
.bg-item-category { background: transparent !important; }

/* ---------- cards de produto ---------- */
.product-thumb {
	border: 1px solid var(--hce-line);
	border-radius: 10px;
	background: #fff;
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
	overflow: hidden;
}
.product-thumb:hover {
	border-color: transparent;
	box-shadow: 0 16px 36px rgba(10, 24, 40, .14);
	transform: translateY(-3px);
}
.product-thumb-top { background: #fff; }
.product-thumb-title {
	font-weight: 600;
	color: var(--hce-ink);
	line-height: 1.3;
}
.product-price-current,
.product-price-value { color: var(--hce-ink); font-weight: 700; }
.product-pix { color: var(--hce-btn); }

.btn-product-thumb {
	font-family: var(--hce-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .05em;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-product-thumb-view {
	background: transparent !important;
	color: var(--hce-ink) !important;
	border: 1.5px solid var(--hce-ink) !important;
}
.btn-product-thumb-view:hover {
	background: var(--hce-ink) !important;
	color: #fff !important;
}
.btn-product-thumb-add {
	background: var(--hce-btn) !important;
	color: #fff !important;
	border: 1.5px solid var(--hce-btn) !important;
}
.btn-product-thumb-add:hover {
	background: var(--hce-blue-hover) !important;
	border-color: var(--hce-blue-hover) !important;
}
.product-thumb-input-quantity { display: flex; gap: 4px; }
.product-thumb .variations { display: flex; }

/* ---------- vitrine escura (mais procurados) ---------- */
.product-list-carousel-bg {
	background: var(--hce-ink) !important;
	position: relative;
	overflow: hidden;
}
.product-list-carousel-bg::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 -10%;
	width: 50%;
	background: repeating-linear-gradient(115deg, transparent 0 70px, rgba(0, 144, 216, .10) 70px 100px);
	pointer-events: none;
}
.product-list-carousel-bg .heading-title,
.product-list-carousel-bg .heading-title-wrapper { color: #fff; }
.product-list-carousel-bg .heading-title-wrapper p { color: #a9b6c4; }
.product-list-carousel-bg .product-thumb { border-color: transparent; }

/* ---------- banners ---------- */
.banners-home img,
.mini-banners img { border-radius: 10px; }
.banners-home a,
.mini-banners a { display: block; border-radius: 10px; overflow: hidden; }
.banners-home a img,
.mini-banners a img { transition: transform .5s ease; }
.banners-home a:hover img,
.mini-banners a:hover img { transform: scale(1.03); }

/* ---------- sobre ---------- */
.about-us {
	background: var(--hce-paper);
	padding: 64px 0;
	margin-top: var(--spacing-sections-home);
}
.about-us .about-us-title { font-size: clamp(38px, 3.6vw, 56px) !important; color: var(--hce-ink); }
.about-us-title::after {
	content: '';
	display: block;
	width: 64px;
	height: 6px;
	background: var(--hce-btn);
	margin-top: 16px;
}
.about-us-description { color: var(--text-secondary); font-size: 17px; line-height: 1.75; max-width: 980px; }
.about-us-description p { margin-bottom: 12px; }
.about-us-description strong { color: var(--hce-ink); }

/* ---------- newsletter ---------- */
.section-newsletter { background: var(--hce-ink) !important; }
.newsletter-title { font-size: clamp(34px, 3.4vw, 50px); color: #fff; }
.newsletter-description,
.newsletter-text { color: #a9b6c4; }
.newsletter-input { border-radius: 6px !important; border: 0; }
.btn-newsletter,
.newsletter-field-button button {
	background: var(--hce-btn) !important;
	color: #fff !important;
	border-radius: 6px !important;
	font-family: var(--hce-display);
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .05em;
	text-transform: uppercase;
	border: 0 !important;
}
.btn-newsletter:hover,
.newsletter-field-button button:hover { background: var(--hce-blue-hover) !important; }

/* ---------- rodapé ---------- */
footer { border-top: 4px solid var(--hce-btn); }
.footer-info__title,
.footer-seal__title {
	font-family: var(--hce-display);
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.footer-list a:hover { color: var(--hce-btn); }
.footer-logo img { max-height: 40px; width: auto; }

/* ---------- página de produto ---------- */
.product-title,
#product-product h1 {
	font-family: var(--hce-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: 1;
}

/* ---------- FAQ (página Perguntas frequentes) ---------- */
.cb-faq {
	border: 1px solid var(--hce-line);
	border-radius: 8px;
	margin: 0 0 10px;
	background: #fff;
	overflow: hidden;
}
.cb-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 48px 16px 18px;
	font-weight: 600;
	color: var(--hce-ink);
	position: relative;
}
.cb-faq summary::-webkit-details-marker { display: none; }
.cb-faq summary::after {
	content: '+';
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
	font-weight: 400;
	color: var(--hce-btn);
}
.cb-faq[open] summary { border-bottom: 1px solid var(--hce-line); }
.cb-faq[open] summary::after { content: '–'; }
.cb-faq > div { padding: 14px 18px 18px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- fotos inteiras no card (fundo branco) ---------- */
.product-thumb .primary-thumb,
.product-thumb .secondary-thumb,
.product-thumb-top img {
	object-fit: contain !important;
	background: #fff;
}


/* ==========================================================================
   Ajustes pedidos (01/12/2026)
   ========================================================================== */

/* card de produto: um botão só, para a página do produto */
.product-thumb-variations,
.product-thumb-input-quantity,
.btn-product-thumb-add { display: none !important; }
.product-thumb-buttons { display: block; }
.btn-product-thumb-view {
	display: flex !important;
	width: 100%;
	justify-content: center;
	align-items: center;
	font-size: 0 !important;
	background: var(--hce-btn) !important;
	border: 1.5px solid var(--hce-btn) !important;
	color: #fff !important;
	padding: 11px 14px;
}
.btn-product-thumb-view svg { display: none; }
.btn-product-thumb-view::before {
	content: 'Ver produto';
	font-family: var(--hce-display);
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.btn-product-thumb-view:hover {
	background: var(--hce-ink) !important;
	border-color: var(--hce-ink) !important;
	color: #fff !important;
}
.product-thumb-title { font-size: 16px; }

/* 4 cards por linha */
@media (min-width: 992px) {
	.product-list-row > .col-product,
	.row > .col-product { flex: 0 0 25% !important; max-width: 25% !important; width: 25% !important; }
}

/* página do produto: fotos abertas em grade no desktop, carrossel no celular */
.product-images-grid { display: block; }
.product-images-carousel { display: none; }
.row-product-images-grid img { border-radius: 8px; background: #fff; width: 100%; height: auto; object-fit: contain; }
.row-product-images-grid > .col-6:only-child { flex: 0 0 100%; max-width: 100%; }
@media (max-width: 991px) {
	.product-images-grid { display: none; }
	.product-images-carousel { display: block; }
}



/* ==========================================================================
   HCE
   ========================================================================== */
.heading-title { letter-spacing: -.01em; line-height: 1.05; }
.heading-title-wrapper::after { width: 56px; height: 4px; border-radius: 2px; background: var(--hce-blue); }
.about-us-title::after { width: 56px; height: 4px; border-radius: 2px; background: var(--hce-blue); }
.header-bottom { background: var(--hce-ink); }
.menu-smart-link-level-1:hover { color: var(--hce-blue); }
.btn-product-thumb-view::before { font-size: 14px; letter-spacing: .08em; }
.product-title, #product-product h1 { text-transform: none; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.01em; line-height: 1.2; }
.product-thumb-title { font-size: 14.5px; }
.product-pix { color: var(--hce-btn); }
footer { border-top-color: var(--hce-blue); }
.footer-logo img, .footer-info img { max-height: 56px; width: auto; max-width: 100%; }
.slideshow, .hero-slideshow { background: var(--hce-ink); }
/* vitrine escura: listras discretas */
.product-list-carousel-bg::before { background: repeating-linear-gradient(115deg, transparent 0 70px, rgba(255, 255, 255, .03) 70px 100px); }
/* "Ver produto" em uma linha no celular (cards de 2 colunas) */
@media (max-width: 575px) {
	.btn-product-thumb-view { padding: 10px 6px; }
	.btn-product-thumb-view::before { font-size: 12px; letter-spacing: .03em; white-space: nowrap; }
}
/* menu: as 10 categorias da loja antiga numa faixa só no desktop; nome longo quebra em 2 linhas (sem setas do carrossel) */
@media (min-width: 1200px) {
	.menu-smart-level-1 { justify-content: space-between !important; gap: 0 !important; width: 100% !important; transform: none !important; flex-wrap: nowrap !important; }
	.menu-smart-level-1 > li { flex: 1 1 auto !important; min-width: 0; display: flex; justify-content: center; }
	.menu-smart-link-level-1 { padding: 0 6px !important; font-size: 12px !important; letter-spacing: .02em !important; white-space: normal !important; text-align: center; line-height: 1.15 !important; min-height: 46px; display: flex !important; align-items: center; justify-content: center; }
	.menu-smart-arrow, .menu-smart-prev, .menu-smart-next { display: none !important; }
}
/* header entre 992 e 1399px: busca com largura útil (ficava com 127px em 1280) */
@media (min-width: 992px) and (max-width: 1399px) {
	.header-search { flex: 1 1 240px !important; min-width: 220px; }
	.header-wrapper { gap: 14px; }
	.header-wrapper > *:not(.header-search):not(:first-child) { white-space: nowrap; font-size: 13px; flex: 0 0 auto; }
}
