/* ==========================================================================
   Cubas Brasil — identidade visual (vermelho do logo + grafite + inox)
   Fontes: Montserrat (títulos, 800) + Open Sans (texto), em config/fonts.php
   Mesma linguagem dos banners: títulos em caixa alta Montserrat ExtraBold, vermelho #E8302A, botões retos.
   Base: ferramentas/custom_css_base.css (Drive4Fun).
   ========================================================================== */


:root {
	--cb-ink: #1e1c1b;
	--cb-ink-2: #2b2827;
	--cb-ink-3: #3a3634;
	--cb-red: #e8302a;
	--cb-red-hover: #c9241f;
	--cb-red-active: #a81b17;
	--cb-red-soft: #fdeceb;
	--cb-paper: #f4f5f6;
	--cb-line: #e3e5e8;
	--cb-display: 'Montserrat', 'Arial', sans-serif;

	--primary: var(--cb-ink);
	--primary-hover: var(--cb-ink-2);
	--primary-active: #000;
	--secondary: var(--cb-red);
	--secondary-hover: var(--cb-red-hover);
	--secondary-active: var(--cb-red-active);

	--text: #1e1c1b;
	--text-secondary: #55514f;
	--text-black: #1e1c1b;
	--text-gray: #77726f;

	--font-primary: 'Open Sans', 'Inter', sans-serif;

	--header-topbar-background-color: var(--cb-ink);
	--header-topbar-text-color: #fff;
	--header-topbar-icon-color: #fff;
	--header-border-color: var(--cb-line);
	--header-svg-color: var(--cb-ink);
	--header-search-background-color: var(--cb-paper);
	--header-search-background-color-focus: #eceef0;
	--header-menu-background: var(--cb-ink);
	--header-menu-color-text: #fff;
	--header-menu-color-text-hover: var(--cb-red);
	--header-menu-font-weight: 600;
	--header-menu-font-size: 15px;

	--footer-border-color: var(--cb-line);

	--btn-product-thumb: var(--cb-ink);
	--btn-product-thumb-hover: var(--cb-red);
	--btn-product-thumb-active: var(--cb-red-active);
	--btn-product-thumb-radius: 6px;

	--btn-add-cart: var(--cb-red);
	--btn-add-cart-hover: var(--cb-red-hover);
	--btn-add-cart-active: var(--cb-red-active);

	--variant-button-selected-background-color: var(--cb-ink);
	--variant-button-selected-border-color: var(--cb-ink);

	--border-radius-default: 8px;
	--btn-border-radius: 6px;
	--input-border-radius: 8px;

	--products-gutter-x: 14px;
	--products-gutter-y: 14px;
	--spacing-sections-home: 64px;
	--coupons-available-bg: var(--cb-paper);
	--logo-max-height: 40px;
	--plyr-color-main: var(--cb-red);
}

@media (max-width: 991px) {
	:root {
		--spacing-sections-home: 44px;
		--logo-max-height: 30px;
	}
}

body { font-family: var(--font-primary); }
::selection { background: var(--cb-red); color: #fff; }

/* ---------- títulos de seção ---------- */
.heading-title,
.about-us-title,
.newsletter-title,
.carousel-categories-title {
	font-family: var(--cb-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: .95;
}
.heading-title { font-size: clamp(34px, 3.4vw, 50px); color: var(--cb-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(--cb-red);
	margin: 14px auto 0;
}

/* ---------- topo ---------- */
.top-bar a { color: inherit; }
.top-bar:has(.top-bar-marquee) { padding: 0; background: var(--cb-ink); border-bottom: 2px solid var(--cb-red); }
.top-bar-marquee { overflow: hidden; padding: 7px 0 6px; }
.top-bar-marquee .swiper-slide-content {
	font-family: var(--cb-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(--cb-red);
	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(--cb-ink); }
.menu-smart-link-level-1,
.menu-smart-all-trigger {
	font-family: var(--cb-display);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
}
.menu-smart-link-level-1:hover { color: var(--cb-red); }

/* ---------- slideshow ---------- */
.hero-slideshow__button {
	background: rgba(30, 28, 27, .72);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.hero-slideshow__button:hover { background: var(--cb-red); }

/* ---------- barra de atributos ---------- */
.promotional-bar,
section:has(> .container > .promotional-bar-carousel) { background: #fff; }
.promotional-bar svg,
.promotional-bar svg path { fill: var(--cb-red); }
.promotional-bar strong,
.promotional-bar .title { font-weight: 700; color: var(--cb-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(30, 28, 27, .18);
}
.carousel-categories .category-item:hover img {
	transform: translateY(-6px);
	box-shadow: 0 16px 34px rgba(232, 48, 42, .28);
}
@media (min-width: 992px) {
	.carousel-categories .swiper-wrapper { justify-content: center; }
}
.carousel-categories .category-item span,
.carousel-categories .category-item p {
	font-family: var(--cb-display);
	font-weight: 700;
	font-size: 19px;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--cb-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(--cb-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(30, 28, 27, .14);
	transform: translateY(-3px);
}
.product-thumb-top { background: #fff; }
.product-thumb-title {
	font-weight: 600;
	color: var(--cb-ink);
	line-height: 1.3;
}
.product-price-current,
.product-price-value { color: var(--cb-ink); font-weight: 700; }
.product-pix { color: var(--cb-red); }

.btn-product-thumb {
	font-family: var(--cb-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(--cb-ink) !important;
	border: 1.5px solid var(--cb-ink) !important;
}
.btn-product-thumb-view:hover {
	background: var(--cb-ink) !important;
	color: #fff !important;
}
.btn-product-thumb-add {
	background: var(--cb-red) !important;
	color: #fff !important;
	border: 1.5px solid var(--cb-red) !important;
}
.btn-product-thumb-add:hover {
	background: var(--cb-red-hover) !important;
	border-color: var(--cb-red-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(--cb-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(232, 48, 42, .08) 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: #bdb8b5; }
.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(--cb-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(--cb-ink); }
.about-us-title::after {
	content: '';
	display: block;
	width: 64px;
	height: 6px;
	background: var(--cb-red);
	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(--cb-ink); }

/* ---------- newsletter ---------- */
.section-newsletter { background: var(--cb-ink) !important; }
.newsletter-title { font-size: clamp(34px, 3.4vw, 50px); color: #fff; }
.newsletter-description,
.newsletter-text { color: #bdb8b5; }
.newsletter-input { border-radius: 6px !important; border: 0; }
.btn-newsletter,
.newsletter-field-button button {
	background: var(--cb-red) !important;
	color: #fff !important;
	border-radius: 6px !important;
	font-family: var(--cb-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(--cb-red-hover) !important; }

/* ---------- rodapé ---------- */
footer { border-top: 4px solid var(--cb-red); }
.footer-info__title,
.footer-seal__title {
	font-family: var(--cb-display);
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.footer-list a:hover { color: var(--cb-red); }
.footer-logo img { max-height: 40px; width: auto; }

/* ---------- página de produto ---------- */
.product-title,
#product-product h1 {
	font-family: var(--cb-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: 1;
}

/* ---------- FAQ (página Perguntas frequentes) ---------- */
.cb-faq {
	border: 1px solid var(--cb-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(--cb-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(--cb-red);
}
.cb-faq[open] summary { border-bottom: 1px solid var(--cb-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(--cb-red) !important;
	border: 1.5px solid var(--cb-red) !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(--cb-display);
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.btn-product-thumb-view:hover {
	background: var(--cb-ink) !important;
	border-color: var(--cb-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; }
}


/* ==========================================================================
   Cubas Brasil
   ========================================================================== */
.heading-title { letter-spacing: -.01em; line-height: 1.05; }
.heading-title-wrapper::after { width: 56px; height: 4px; border-radius: 2px; }
.about-us-title::after { width: 56px; height: 4px; border-radius: 2px; }
.top-bar-marquee .swiper-slide-content { font-size: 13px; letter-spacing: .04em; font-weight: 700; }
.top-bar-marquee .swiper-slide-content:after { width: 6px; height: 6px; border-radius: 50%; }
.menu-smart-link-level-1, .menu-smart-all-trigger { font-size: 14px; letter-spacing: .06em; }
.header-bottom { background: var(--cb-red); }
.menu-smart-link-level-1:hover { color: var(--cb-ink); }
.btn-product-thumb-view::before { font-size: 14px; letter-spacing: .08em; }
.product-title, #product-product h1 { text-transform: none; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.01em; line-height: 1.15; }
.product-thumb-title { font-size: 15px; }
/* compre por tamanho: fotos reais em círculo branco com borda inox */
.carousel-categories .category-item img { border-radius: 50%; border: 1px solid var(--cb-line); background: #fff; }
.carousel-categories .category-item span, .carousel-categories .category-item p { font-size: 15px; letter-spacing: .03em; }
/* vitrine escura: listras inox discretas */
.product-list-carousel-bg::before { background: repeating-linear-gradient(115deg, transparent 0 70px, rgba(255, 255, 255, .03) 70px 100px); }
/* nome do atalho inteiro (ex.: "Forno combinado") */
.carousel-categories .carousel-categories-title { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; -webkit-line-clamp: unset !important; display: block !important; font-size: 15px; }
/* menu com as 2 categorias da loja antiga: centralizado */
@media (min-width: 992px) {
	.menu-smart-level-1 { justify-content: center !important; gap: 64px; }
	.menu-smart-level-1 > li { flex: 0 0 auto !important; }
}
