/**
 * Woo Produtos UpSeller Plus - estilos estruturais.
 *
 * Cuida apenas do layout (grid, posicionamento do selo, proporções).
 * Cores, tipografia, bordas e sombras são controladas dinamicamente
 * pelo painel de Estilo do Elementor.
 */

.wpp-upseller-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	width: 100%;
}

.wpp-upseller-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wpp-upseller-card-image {
	position: relative;
	width: 100%;
}

.wpp-upseller-card-image img {
	display: block;
	width: 100%;
	height: auto;
}

.wpp-upseller-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: inline-block;
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	background-color: #e6393f;
	color: #ffffff;
	border-radius: 4px;
}

.wpp-upseller-card-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.wpp-upseller-title {
	margin: 12px 0 8px;
	font-size: 15px;
	line-height: 1.4;
}

.wpp-upseller-title a {
	text-decoration: none;
	color: inherit;
}

.wpp-upseller-price {
	margin-bottom: 12px;
}

.wpp-upseller-price del {
	opacity: 0.6;
	margin-right: 6px;
}

.wpp-upseller-buy-button-wrapper {
	margin-top: auto;
}

.wpp-upseller-buy-button {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	background-color: #1d2327;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	padding: 10px 16px;
	line-height: 1.2;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.wpp-upseller-buy-button.loading {
	opacity: 0.6;
	pointer-events: none;
}

.wpp-upseller-buy-button:hover,
.wpp-upseller-buy-button:focus,
.wpp-upseller-buy-button:visited {
	color: inherit;
	text-decoration: none;
}
