/* ==========================================================================
   Gráfica Penha — Página de Produto (Folhetos & Folders)
   Template templates/gp-single-product.php · classes .gp-*
   ========================================================================== */

:root {
	/* AZUL DA CASA — o mesmo do cabecalho do box "Categorias" (.gp-cat-header,
	   em home-shop.css). Era o verde #16a34a; trocado em 2026-09-17 porque o
	   verde destoava do resto do site, que ja' e' todo azul (o checkout tinha
	   feito essa mesma troca antes, no botao "Pagar Pedido").
	   --gp-primary-soft e' o tinte claro, usado em realce de opcao ativa. */
	--gp-primary: #104f77;
	--gp-primary-dark: #0d3e5d;
	--gp-primary-soft: #ecf2f7;
	/* UNICA excecao que continua verde: o botao do WhatsApp. Nao e' enfeite,
	   e' cor de MARCA — e' por ela que o cliente reconhece o botao. */
	--gp-whats: #25d366;
	--gp-whats-dark: #1eb857;
	--gp-ink: #1f2937;
	--gp-muted: #6b7280;
	--gp-line: #e5e7eb;
	--gp-card: #ffffff;
	--gp-bg: #f6f7f9;
	--gp-radius: 12px;
	--gp-radius-sm: 8px;
}

.gp-page-wrapper {
	font-family: var(--wp--preset--font-family--manrope, 'Manrope', sans-serif);
	color: var(--gp-ink);
	background: var(--gp-bg);
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 20px 56px;
	box-sizing: border-box;
}

.gp-page-wrapper *,
.gp-page-wrapper *::before,
.gp-page-wrapper *::after {
	box-sizing: border-box;
}

/* ---------------------------------------------------------------- Layout */
.gp-product-grid {
	display: grid;
	grid-template-columns: minmax(280px, 340px) 1fr;
	gap: 40px;
	align-items: stretch;
}

/* ------------------------------------------------------------ Coluna imagem */
.gp-col-imagem {
	display: flex;
	flex-direction: column;
}

.gp-galeria {
	background: var(--gp-card);
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	padding: 12px;
	margin-bottom: 18px;
}

.gp-galeria-foto {
	position: relative;
	overflow: hidden;
	border-radius: var(--gp-radius-sm);
	background: #fff;
	cursor: zoom-in;
	aspect-ratio: 1 / 1;
}

.gp-galeria-foto img.gp-foto-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.18s ease;
	will-change: transform;
}

.gp-galeria-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
	margin-bottom: 20px;
}

.gp-thumb {
	width: 64px;
	height: 64px;
	border: 2px solid var(--gp-line);
	border-radius: var(--gp-radius-sm);
	overflow: hidden;
	cursor: pointer;
}

.gp-thumb.active {
	border-color: var(--gp-primary);
}

.gp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Gabaritos */
.gp-gabaritos {
	background: var(--gp-card);
	border: 1px solid var(--gp-line);
	border-left: 4px solid var(--gp-primary);
	border-radius: var(--gp-radius);
	padding: 18px 16px;
	min-height: 220px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-top: auto;
}

.gp-gabaritos-titulo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 12px;
}

.gp-gabaritos-icone {
	font-size: 20px;
}

.gp-gabaritos-desc {
	color: #1e293b;
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 10px;
}

.gp-grid-4-gabaritos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-bottom: 12px;
}

.gp-btn-gabarito {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 4px;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid transparent;
	box-sizing: border-box;
	white-space: nowrap;
}

/* Cor por TIPO DE ARQUIVO do gabarito. O CDR era verde (#dcfce7/#16a34a) e
   virou o azul da casa em 2026-09-17 — era o ultimo verde fora do WhatsApp.
   Continua distinto do PSD (ciano claro) e dos outros tres (vermelho, roxo,
   laranja), e o proprio botao escreve o formato. */
.gp-btn-pdf { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }
.gp-btn-cdr { background: #eef4fb; color: #104f77; border-color: #b3cadd; }
.gp-btn-psd { background: #e0f2fe; color: #0284c7; border-color: #7dd3fc; }
.gp-btn-canva { background: #f3e8ff; color: #7e22ce; border-color: #d8b4fe; }
.gp-btn-ai { background: #ffedd5; color: #ea580c; border-color: #fdba74; }

.gp-gabarito-tip {
	color: #475569;
	font-weight: 500;
	font-size: 11px;
}

/* Cartão duplo: o gabarito depende do formato escolhido.
   O aviso aparece sozinho; cada conjunto só sai do [hidden] quando o
   cliente clica no formato correspondente. O !important existe porque
   .gp-grid-4-gabaritos é display:grid e venceria o [hidden] do navegador. */
.gp-gabaritos-aviso {
	margin: 0 0 10px;
	padding: 9px 11px;
	background: #f1f5f9;
	border: 1px dashed #cbd5e1;
	border-radius: 4px;
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}

.gp-gabaritos-formato[hidden] {
	display: none !important;
}

.gp-gabaritos-formato-nome {
	margin: 0 0 8px;
	color: var(--gp-primary);
	font-size: 12px;
	font-weight: 700;
}

.gp-gabaritos-formato .gp-grid-4-gabaritos {
	margin-bottom: 12px;
}

/* ------------------------------------------------------------ Coluna config */
.gp-product-title {
	font-size: 20px;
	line-height: 1.25;
	font-weight: 800;
	margin: 0 0 12px;
	color: var(--gp-ink);
}

/* ------------------------------------------------------------- Seletor */
.gp-seletor {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gp-page-wrapper .gp-step-title {
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--gp-ink);
	font-family: inherit;
	margin-bottom: 6px;
}

/* Etapa 1 — Papel */
.gp-grid-papeis {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}

.gp-card-papel {
	position: relative;
	background: var(--gp-card);
	border: 2px solid var(--gp-line);
	border-radius: var(--gp-radius);
	padding: 16px 8px 10px;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-card-papel:hover {
	border-color: #cbd5e1;
}

.gp-card-papel.active {
	border-color: var(--gp-primary);
	box-shadow: 0 0 0 3px var(--gp-primary-soft);
}

.gp-badge-vendido {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--gp-primary);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	border-radius: 0 4px 0 6px;
	transform: none;
}

.gp-card-papel-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gp-card-papel-title {
	font-weight: 800;
	font-size: 12px;
	margin-top: 4px;
}

.gp-card-papel-sub {
	font-size: 10px;
	margin-top: 2px;
	color: var(--gp-muted);
}

/* Etapa 2 — Cores */
.gp-grid-cores {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 10px;
}

.gp-btn-cor {
	background: var(--gp-card);
	border: 2px solid var(--gp-line);
	border-radius: var(--gp-radius);
	padding: 6px 12px;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-btn-cor:hover {
	border-color: #cbd5e1;
}

.gp-btn-cor.active {
	border-color: var(--gp-primary);
	box-shadow: 0 0 0 3px var(--gp-primary-soft);
}

/* Etapa 3 — Tiragem */
.gp-grid-tiragem {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
	gap: 10px;
}

.gp-card-tiragem {
	background: var(--gp-card);
	border: 2px solid var(--gp-line);
	border-radius: var(--gp-radius);
	padding: 10px 4px;
	text-align: center;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 3px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-card-tiragem:hover {
	border-color: #cbd5e1;
}

.gp-card-tiragem.active {
	border-color: var(--gp-primary);
	box-shadow: 0 0 0 3px var(--gp-primary-soft);
}

.gp-qtd-destaque {
	font-weight: 700;
	font-size: 12px;
}

.gp-card-tiragem .gp-preco-total {
	font-size: 14px;
	font-weight: 800;
	margin: 4px 0 2px;
	color: var(--gp-primary-dark);
}

.gp-preco-unitario {
	font-size: 10px;
	color: var(--gp-muted);
}

/* Etapa 4 — Opção de Arte (toggle) */
.gp-step-section {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 8px;
}

.gp-art-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 6px 0;
}

.gp-art-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	background: var(--gp-card);
	border: 2px solid var(--gp-line);
	border-radius: var(--gp-radius);
	padding: 12px 14px;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-art-option:hover {
	border-color: #cbd5e1;
}

.gp-art-option.active {
	border-color: var(--gp-primary);
	box-shadow: 0 0 0 3px var(--gp-primary-soft);
}

.gp-art-option__title {
	font-weight: 800;
	font-size: 13px;
	color: var(--gp-ink);
}

.gp-art-option__price {
	font-size: 12px;
	font-weight: 700;
	color: var(--gp-muted);
}

.gp-art-option.active .gp-art-option__price {
	color: var(--gp-primary-dark);
}

.gp-art-toggle__hint {
	margin: 0 0 10px;
	font-size: 11px;
	color: #334155;
	font-weight: 500;
	line-height: 1.4;
}

/* --------------------------------------------------------- Resumo + CTAs */
.gp-summary {
	background: var(--gp-card);
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	padding: 16px 18px;
	margin-top: 10px;
	min-height: 220px;
	box-sizing: border-box;
}

.gp-summary__specs {
	font-size: 12.5px;
	color: #1e293b;
	font-weight: 600;
	line-height: 1.6;
}

.gp-summary__specs strong {
	color: var(--gp-ink);
}

.gp-summary__deadline {
	font-size: 12px;
	color: #104f77;
	font-weight: 700;
	margin-top: 4px;
}

/* Aviso do produto (meta `_gp_aviso_resumo`): a condição comercial que o
   cliente precisa ler antes de fechar — hoje, o acréscimo de fundo chapado
   das canecas. Caixa neutra com o filete azul da marca, para integrar ao
   card de resumo sem virar alarme. */
.gp-summary__aviso {
	margin-top: 8px;
	padding: 8px 10px;
	border-left: 3px solid #104f77;
	border-radius: 0 6px 6px 0;
	background: #f1f5f9;
	font-size: 11.5px;
	line-height: 1.5;
	color: #475569;
}

.gp-summary__price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed var(--gp-line);
}

.gp-summary__price-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--gp-muted);
}

.gp-summary__price-value {
	font-size: 20px;
	font-weight: 800;
	color: var(--gp-primary-dark);
}

/* Preço por unidade, alinhado à direita sob o total. É o mesmo dado que os
   Folhetos já mostram dentro do card de tiragem (`.gp-preco-unitario`), mas
   aqui no resumo — e com classe própria para não herdar o estilo do card.
   Só produto com tiragem rotulada ("10 un") tem o que dividir, então o JS
   deixa o elemento vazio nos outros: o :empty tira do fluxo. */
.gp-summary__unit {
	margin-top: 2px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--gp-muted);
	text-align: right;
}

.gp-summary__unit:empty {
	display: none;
}

.gp-cta-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}

.gp-cta-secondary-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-top: 6px;
}

/* Botões */
.gp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	text-align: center;
	text-decoration: none;
	font-weight: 800;
	font-size: 12px;
	line-height: 1.2;
	padding: 8px 12px;
	border-radius: var(--gp-radius-sm);
	cursor: pointer;
	border: none;
	box-sizing: border-box;
	transition: background 0.15s ease, transform 0.05s ease;
}

.gp-btn--primary {
	background: var(--gp-primary);
	color: #fff;
	padding: 12px 20px;
	font-size: 14px;
}

.gp-btn--primary:hover {
	background: var(--gp-primary-dark);
}

.gp-btn--secondary {
	background: #eef0f2;
	color: var(--gp-ink);
	border: 1px solid var(--gp-line);
	padding: 8px;
	font-size: 11px;
}

.gp-btn--secondary:hover {
	background: #e3e6e9;
}

.gp-btn--whatsapp {
	background: var(--gp-whats);
	color: #0b3d20;
	padding: 8px;
	font-size: 11px;
}

.gp-btn--whatsapp:hover {
	background: var(--gp-whats-dark);
	color: #052e16;
}

.gp-btn:active {
	transform: translateY(1px);
}

.gp-btn--whatsapp svg {
	flex-shrink: 0;
}

/* ------------------------------------------------------ Form nativo oculto */
.gp-native-form-hidden {
	display: none;
}

/* ------------------------------------------------- Seção Inferior: Descrição */
.gp-descricao-section {
	display: block;
	margin-top: 32px;
	padding: 24px 20px;
	background: transparent;
	border-top: 1px solid #e2e8f0;
}

.gp-desc-content {
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: #334155;
	max-width: 900px;
}

.gp-desc-content p {
	margin: 0 0 10px 0 !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
}

.gp-desc-content .gp-desc-lead {
	font-size: 13.5px !important;
	color: #0f172a;
	margin-bottom: 12px !important;
}

.gp-desc-content .gp-desc-subhead {
	margin-top: 14px !important;
	margin-bottom: 6px !important;
	color: #0f172a;
}

.gp-desc-content .gp-desc-bullet {
	margin: 3px 0 !important;
	padding-left: 2px;
}

.gp-desc-content .gp-desc-bullet strong {
	color: #0f172a;
	font-weight: 700;
}

.gp-desc-content .gp-desc-p-gap {
	margin-top: 14px !important;
}

.gp-desc-content .gp-desc-cta {
	margin-top: 10px !important;
	color: #0f172a;
}

.gp-link-orcamento {
	color: #104f77 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ------------------------------ Descrição estruturada (tabela + vantagens) */
.gp-desc-content h2 {
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: #0f172a;
	margin: 26px 0 12px 0 !important;
	padding: 0 0 0 12px;
	border-left: 3px solid var(--gp-primary);
}

.gp-desc-content h2:first-child {
	margin-top: 0 !important;
}

.gp-desc-content .gp-specs-table {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0 6px 0 !important;
	font-size: 13px;
	line-height: 1.5;
	color: #334155;
	background: #fff;
}

.gp-desc-content .gp-specs-table th,
.gp-desc-content .gp-specs-table td {
	border: 1px solid #e5e7eb;
	padding: 9px 12px;
	text-align: left;
	vertical-align: top;
}

.gp-desc-content .gp-specs-table thead th {
	background: var(--gp-primary);
	color: #fff;
	font-weight: 700;
	border-color: var(--gp-primary-dark);
}

.gp-desc-content .gp-specs-table tbody tr:nth-child(odd) {
	background: #ffffff;
}

.gp-desc-content .gp-specs-table tbody tr:nth-child(even) {
	background: #f8fafc;
}

.gp-desc-content .gp-specs-table td:first-child {
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
	width: 34%;
}

.gp-desc-content ul.gp-vantagens {
	list-style: none;
	margin: 10px 0 6px 0 !important;
	padding: 0;
}

.gp-desc-content ul.gp-vantagens li {
	position: relative;
	margin: 9px 0 !important;
	padding-left: 24px;
	font-size: 13px;
	line-height: 1.5;
	color: #334155;
}

.gp-desc-content ul.gp-vantagens li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 7px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--gp-primary);
}

.gp-desc-content ul.gp-vantagens li strong {
	color: #0f172a;
	font-weight: 700;
}

/* --------------------- Quantidade mínima no seletor de PREÇO ($is_preco) */
/* O bloco de quantidade do ramo $is_preco reusa as classes .gp-metric* do
   ramo de m² de propósito (já têm estilo). Só esta dica é nova.
   O margin-top é 0 porque ela é filha de .gp-step-section, que já abre um
   gap de 10px — somar 6px aqui daria 16px de buraco. E ela NÃO pode voltar
   para dentro do .gp-metric: aquele div é flex em LINHA, e a dica viraria
   item ao lado do campo, comendo a largura dele (foi o defeito de 23/09). */
.gp-qtd-min-hint {
	margin: 0;
	font-size: 11.5px;
	line-height: 1.4;
	color: #64748b;
}

/* ------------------------------------------------------------ Responsivo */
@media (max-width: 900px) {
	.gp-product-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.gp-col-imagem {
		max-width: 340px;
	}
}

@media (max-width: 560px) {
	.gp-page-wrapper {
		padding: 16px 12px 40px;
	}

	.gp-product-title {
		font-size: 18px;
	}

	.gp-summary__price-value {
		font-size: 18px;
	}

	.gp-grid-papeis,
	.gp-grid-tiragem,
	.gp-opt-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ----------------------------------------------------- Seletor genérico
   Usado por produtos com atributos variados (fora "Folhetos & Folders").
   Cards genéricos por atributo, com `data-attr`/`data-value`. */
.gp-opt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}

.gp-opt-card {
	background: var(--gp-card);
	border: 2px solid var(--gp-line);
	border-radius: var(--gp-radius);
	padding: 12px 10px;
	text-align: center;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
	justify-content: center;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-opt-card:hover {
	border-color: #cbd5e1;
}

.gp-opt-card.active {
	border-color: var(--gp-primary);
	box-shadow: 0 0 0 3px var(--gp-primary-soft);
}

.gp-opt-card__label {
	font-weight: 700;
	font-size: 12px;
	line-height: 1.35;
}

/* Toggle "Numeração" (Talões) — visual idêntico ao toggle de arte */
.gp-num-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	background: var(--gp-card);
	border: 2px solid var(--gp-line);
	border-radius: var(--gp-radius);
	padding: 12px 14px;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-num-option:hover {
	border-color: #cbd5e1;
}

.gp-num-option.active {
	border-color: var(--gp-primary);
	box-shadow: 0 0 0 3px var(--gp-primary-soft);
}

.gp-num-option.active .gp-art-option__price {
	color: var(--gp-primary-dark);
}

/* Card de opção bloqueado (ex.: cores indisponíveis para o modelo de carimbo) */
.gp-opt-card--disabled,
.gp-opt-card--disabled:hover {
	opacity: 0.45;
	cursor: not-allowed;
	background: #f1f5f9;
	border-color: #e2e8f0;
	color: #94a3b8;
	box-shadow: none;
}

/* Subtítulo dentro do card de opção (ex.: medidas do Wind Banner) */
.gp-opt-card__sub {
	display: block;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--gp-muted);
}

/* ----------------------------------------------------- Seletor métrico
   Largura (dropdown) + Altura (input) + Quantidade (stepper) lado a lado,
   com bordas arredondadas e sufixos cinza ("cm"). */
.gp-metric {
	display: flex;
	gap: 12px;
	margin: 8px 0 16px;
}

.gp-metric--qty-only {
	max-width: 260px;
}

.gp-metric-field {
	flex: 1 1 0;
	min-width: 0;
}

.gp-metric-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 6px;
}

.gp-metric-control {
	display: flex;
	align-items: stretch;
	border: 2px solid var(--gp-line);
	border-radius: 10px;
	overflow: hidden;
	background: var(--gp-card);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-metric-control:focus-within {
	border-color: var(--gp-primary);
	box-shadow: 0 0 0 3px var(--gp-primary-soft);
}

.gp-metric-select,
.gp-metric-input {
	flex: 1 1 0;
	min-width: 0;
	border: 0;
	padding: 11px 12px;
	font-size: 15px;
	font-family: inherit;
	color: var(--gp-ink);
	background: transparent;
	outline: none;
}

.gp-metric-suffix {
	display: flex;
	align-items: center;
	padding: 0 14px;
	background: #f1f5f9;
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
	border-left: 1px solid var(--gp-line);
	white-space: nowrap;
}

.gp-metric-stepper .gp-metric-input {
	text-align: center;
}

.gp-metric-step {
	width: 40px;
	border: 0;
	background: #f1f5f9;
	color: #334155;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease;
}

.gp-metric-step:hover {
	background: #e2e8f0;
}

.gp-metric-minus {
	border-right: 1px solid var(--gp-line);
}

.gp-metric-plus {
	border-left: 1px solid var(--gp-line);
}

@media (max-width: 560px) {
	.gp-metric {
		flex-direction: column;
		gap: 10px;
	}

	.gp-metric--qty-only {
		max-width: none;
	}
}

/* ===== Seletor "Blocos e Receituários" (tabela de preços + hint) ===== */

.gp-blocos-hint {
	margin: 0 0 14px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gp-muted);
	min-height: 1.2em;
}

/* Mini-tabela de preços dinâmica (Blocos / Talões / Canecas) */
.gp-price-table {
	background: var(--gp-card);
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	padding: 14px 16px;
	margin: 0 0 14px;
}

.gp-price-table__head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 12px;
	color: var(--gp-ink);
	margin-bottom: 10px;
}

.gp-price-table__icon {
	font-size: 16px;
}

.gp-price-table__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 12px;
}

.gp-price-table__row + .gp-price-table__row {
	margin-top: 4px;
}

.gp-price-table__range {
	color: var(--gp-muted);
	font-weight: 600;
}

.gp-price-table__price {
	font-weight: 800;
	color: var(--gp-ink);
}

.gp-price-table__row.is-active {
	background: var(--gp-primary-soft);
	border: 1px solid #a9c9df;
}

.gp-price-table__row.is-active .gp-price-table__price {
	color: var(--gp-primary-dark);
}

/* ===== Toast de feedback (add-to-cart AJAX) ===== */
.gp-toast {
	position: fixed;
	left: 50%;
	bottom: 32px;
	transform: translateX(-50%) translateY(20px);
	background: #144e82;
	color: #fff;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
	z-index: 99999;
	max-width: 90vw;
}

.gp-toast--show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* ===== Coluna esquerda sem gabaritos (centraliza a galeria) ===== */
.gp-col-imagem--solo {
	justify-content: center;
}

.gp-col-imagem--solo .gp-galeria {
	margin-bottom: 0;
}

/* ===== Cross-sell (Papel de Seda: "Compre junto") ===== */
.gp-cross-sell {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--gp-card);
	border: 1px solid var(--gp-line);
	border-left: 4px solid var(--gp-primary);
	border-radius: var(--gp-radius);
	padding: 12px 14px;
	margin: 14px 0 4px;
	box-sizing: border-box;
}

.gp-cross-sell__tag {
	flex: 0 0 auto;
	background: var(--gp-primary-soft);
	color: var(--gp-primary-dark);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 6px;
	white-space: nowrap;
}

.gp-cross-sell__title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--gp-ink);
	line-height: 1.35;
}

.gp-cross-sell__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gp-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	padding: 8px 14px;
	border-radius: var(--gp-radius-sm);
	transition: background 0.15s ease;
	white-space: nowrap;
}

.gp-cross-sell__cta:hover {
	background: var(--gp-primary-dark);
	color: #fff;
}
