/* Delta Catálogo — cores da marca: troque aqui se precisar */
.dc-catalogo {
	--dc-primary: #e13024;
	--dc-primary-2: #ff5a3c;
	--dc-card: #0e0e0f;
	--dc-card-2: #17181a;
	--dc-border: #2a2e2b;
	--dc-text: #ffffff;
	--dc-muted: #9a9ea3;
	--dc-radius: 18px;
	font-family: inherit;
	color: var(--dc-text);
}
.dc-catalogo *, .dc-catalogo *::before, .dc-catalogo *::after { box-sizing: border-box; }

/* Filtro */
.dc-catalogo .dc-filtro {
	display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 8px;
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.dc-catalogo .dc-filtro::-webkit-scrollbar { display: none; }
.dc-catalogo .dc-pill {
	flex: 0 0 auto; cursor: pointer; border-radius: 999px; padding: 8px 18px;
	font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .08em; text-transform: uppercase;
	background: #fff; color: #111; border: 1px solid #d9d9d9; transition: all .2s;
}
.dc-catalogo .dc-pill:hover { border-color: var(--dc-primary); color: var(--dc-primary); background: #fff; }
.dc-catalogo .dc-pill.is-active {
	background: var(--dc-primary); border-color: var(--dc-primary); color: #fff;
	box-shadow: 0 6px 16px rgba(225, 48, 36, .3);
}

/* Grid — as colunas se ajustam à largura da área onde o catálogo está
   (não à largura da tela), então funciona em qualquer coluna do Elementor. */
.dc-catalogo { --dc-cols: 3; --dc-gap: 18px; --dc-min: 260px; }
.dc-catalogo[data-cols="2"] { --dc-cols: 2; }
.dc-catalogo[data-cols="4"] { --dc-cols: 4; --dc-min: 240px; }
.dc-catalogo .dc-grid {
	display: grid; gap: var(--dc-gap); align-items: stretch;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(var(--dc-min), calc((100% - (var(--dc-cols) - 1) * var(--dc-gap)) / var(--dc-cols)))), 1fr));
}

/* Card */
.dc-catalogo .dc-card {
	display: flex; flex-direction: column; overflow: hidden; height: 100%;
	background: var(--dc-card); border: 1px solid var(--dc-border); border-radius: var(--dc-radius);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .18); transition: border-color .25s, transform .25s, box-shadow .25s;
}
.dc-catalogo .dc-card:hover { border-color: rgba(225, 48, 36, .7); transform: translateY(-3px); box-shadow: 0 18px 36px rgba(225, 48, 36, .15); }
.dc-catalogo .dc-card[hidden] { display: none; }

.dc-catalogo .dc-media {
	position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
	background: radial-gradient(circle at 50% 40%, #2a2b2e 0%, #121213 60%, #000 100%);
}
.dc-catalogo .dc-media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 45%);
}
/* A foto fica centralizada com os cantos arredondados (acompanha o card) */
.dc-catalogo .dc-media { display: flex; align-items: center; justify-content: center; padding: 10px; }
.dc-catalogo .dc-img {
	display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;
	border-radius: calc(var(--dc-radius) - 6px) !important; transition: transform .5s, opacity .25s;
}
.dc-catalogo .dc-card:hover .dc-img { transform: scale(1.04); }
.dc-catalogo .dc-img.is-loading { opacity: .35; }

.dc-catalogo .dc-badge, .dc-catalogo .dc-selo {
	position: absolute; top: 12px; z-index: 2; font-size: 10px; font-weight: 700; line-height: 1;
	letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; padding: 6px 10px;
	max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dc-catalogo .dc-badge { left: 12px; background: rgba(0, 0, 0, .7); color: var(--dc-primary-2); backdrop-filter: blur(6px); border-radius: 6px; }
.dc-catalogo .dc-selo { right: 12px; color: #fff; background: linear-gradient(135deg, var(--dc-primary), var(--dc-primary-2)); }

.dc-catalogo .dc-body { display: flex; flex-direction: column; gap: 14px; padding: 16px; flex: 1; }
.dc-catalogo .dc-title { margin: 0; font-family: inherit; color: var(--dc-text); font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.dc-catalogo .dc-title a { color: var(--dc-text); text-decoration: none; font: inherit; }
.dc-catalogo .dc-title a:hover { color: var(--dc-primary-2); }

/* Cores */
.dc-catalogo .dc-cor-label { font-size: 11px; margin-bottom: 6px; }
.dc-catalogo .dc-cor-label span { color: var(--dc-muted); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.dc-catalogo .dc-cor-label strong { color: var(--dc-text); font-weight: 600; }
.dc-catalogo .dc-cor-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-catalogo .dc-cor {
	display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
	padding: 3px 9px 3px 4px; border-radius: 999px; font-family: inherit; font-size: 11px; font-weight: 500; line-height: 1.2;
	background: var(--dc-card-2); color: var(--dc-muted); border: 1px solid var(--dc-border); transition: all .2s;
}
.dc-catalogo .dc-cor:hover { color: var(--dc-text); background: var(--dc-card-2); }
.dc-catalogo .dc-cor.is-active { border-color: var(--dc-primary); background: rgba(225, 48, 36, .12); color: var(--dc-text); }
.dc-catalogo .dc-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); flex: 0 0 auto; }
.dc-catalogo .dc-cor-txt { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Ficha técnica */
.dc-catalogo .dc-specs {
	margin: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px;
	padding: 12px; border-radius: 10px; background: var(--dc-card-2); border: 1px solid var(--dc-border);
}
.dc-catalogo .dc-spec { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.dc-catalogo .dc-spec > div { min-width: 0; }
.dc-catalogo .dc-ico { width: 15px !important; height: 15px !important; max-width: none; flex: 0 0 auto; margin-top: 2px; color: var(--dc-primary-2); }
.dc-catalogo .dc-spec dt { margin: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--dc-muted); }
.dc-catalogo .dc-spec dd { margin: 0; font-size: 12px; font-weight: 700; color: var(--dc-text); overflow-wrap: anywhere; }

/* Preços */
.dc-catalogo .dc-precos {
	display: grid; grid-template-columns: repeat(var(--dc-n, 3), 1fr); gap: 6px;
	padding: 10px 8px; border-radius: 10px; border: 1px solid rgba(225, 48, 36, .35);
	background: linear-gradient(135deg, rgba(225, 48, 36, .1), transparent);
}
.dc-catalogo .dc-preco { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; text-align: center; min-width: 0; }
.dc-catalogo .dc-preco-rot { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--dc-muted); line-height: 1.25; }
.dc-catalogo .dc-preco-val { font-size: clamp(12px, 1.05vw, 15px); font-weight: 900; color: var(--dc-primary-2); white-space: nowrap; letter-spacing: -.01em; }
.dc-catalogo .dc-preco-val small { font-size: .7em; font-weight: 700; opacity: .85; }
.dc-catalogo[data-cols="4"] .dc-precos { padding-inline: 4px; gap: 4px; }
.dc-catalogo .dc-aviso { margin: -6px 0 0; font-size: 10px; line-height: 1.4; color: var(--dc-muted); }

/* Botão */
.dc-catalogo .dc-btn {
	display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 10px;
	font-weight: 700; font-size: 14px; text-decoration: none; color: #fff;
	background: linear-gradient(135deg, var(--dc-primary), var(--dc-primary-2));
	box-shadow: 0 8px 18px rgba(225, 48, 36, .25); transition: filter .2s;
}
.dc-catalogo .dc-btn:hover { filter: brightness(1.08); color: #fff; }

.dc-catalogo .dc-vazio { text-align: center; color: #777; padding: 30px 0; }

/* Modo resumido (resumido="sim"): foto, nome e botão */
.dc-catalogo.dc-resumido .dc-body { gap: 12px; padding: 14px 16px 16px; }
.dc-catalogo.dc-resumido .dc-title { text-align: center; }
.dc-catalogo.dc-resumido .dc-btn { margin-top: auto; }

/* Botão WhatsApp (principal) + Ver detalhes (secundário) */
.dc-catalogo .dc-btn { gap: 8px; }
.dc-catalogo .dc-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.dc-catalogo .dc-btn-whats { background: #1faa59; box-shadow: 0 8px 18px rgba(31, 170, 89, .25); }
.dc-catalogo .dc-btn-whats:hover { background: #1faa59; }
.dc-catalogo .dc-btn-whats + .dc-btn-sec { margin-top: -6px; }
.dc-catalogo .dc-btn.dc-btn-sec {
	height: 36px; font-size: 13px; background: transparent; box-shadow: none;
	color: var(--dc-text); border: 1px solid var(--dc-border);
}
.dc-catalogo .dc-btn.dc-btn-sec:hover { border-color: var(--dc-primary); color: var(--dc-primary-2); filter: none; }
.dc-catalogo .dc-body > .dc-btn:first-of-type { margin-top: auto; }

/* Foto clicável para ampliar */
.dc-catalogo .dc-zoom { cursor: zoom-in; }
.dc-catalogo .dc-zoom:focus-visible { outline: 2px solid var(--dc-primary-2); outline-offset: -2px; }
.dc-catalogo .dc-lupa {
	position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .6);
	backdrop-filter: blur(6px); opacity: .85; transition: opacity .2s, transform .2s;
}
.dc-catalogo .dc-zoom:hover .dc-lupa { opacity: 1; transform: scale(1.08); }
.dc-catalogo .dc-lupa svg { width: 16px; height: 16px; }

/* Janela da foto ampliada */
.dc-lightbox {
	position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center;
	padding: 56px 16px 16px; background: rgba(0, 0, 0, .9); cursor: zoom-out; animation: dc-fade .2s ease;
}
.dc-lightbox[hidden] { display: none; }
.dc-lightbox .dc-lb-img {
	max-width: min(1100px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain;
	border-radius: 14px; background: #fff; cursor: default; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.dc-lightbox .dc-lb-fechar {
	position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; padding: 0; margin: 0;
	border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .1);
	color: #fff; font: 400 28px/1 sans-serif; cursor: pointer;
}
.dc-lightbox .dc-lb-fechar:hover, .dc-lightbox .dc-lb-fechar:focus { background: rgba(255, 255, 255, .2); color: #fff; }
html.dc-lb-aberto, html.dc-lb-aberto body { overflow: hidden; }
@keyframes dc-fade { from { opacity: 0; } to { opacity: 1; } }

/* Ficha técnica em Poppins */
.dc-catalogo .dc-specs { font-family: 'Poppins', sans-serif; gap: 14px 16px; padding: 14px; }
.dc-catalogo .dc-spec { gap: 10px; }
.dc-catalogo .dc-spec dt { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .06em; line-height: 1.4; }
.dc-catalogo .dc-spec dd { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }
.dc-catalogo .dc-specs .dc-ico { width: 18px !important; height: 18px !important; margin-top: 1px; }

/* Ajuste: ficha em 14px e alinhada no topo (logo abaixo do nome) */
.dc-catalogo .dc-specs { margin: 0; gap: 12px 14px; padding: 12px 14px; align-content: start; }
.dc-catalogo .dc-spec dt { font-size: 11px; }
.dc-catalogo .dc-spec dd { font-size: 14px; line-height: 1.35; }
.dc-catalogo .dc-specs .dc-ico { width: 16px !important; height: 16px !important; margin-top: 2px; }
/* O nome reserva 2 linhas, para a ficha começar na mesma altura em todos os cards */
.dc-catalogo .dc-title { min-height: 2.4em; }
.dc-catalogo.dc-resumido .dc-title { min-height: 0; }
/* O botão do WhatsApp fica sempre no rodapé do card */
.dc-catalogo .dc-btn-whats { margin-top: auto; }
