/* Orides Quick Add — opções de variação inline na grade de produtos. */
.orides-qa-trigger { width: 100%; }

.orides-qa-card { position: relative; }

/* Painel sobreposto ao card (overlay), ancorado no rodapé — não estica a grade. */
.orides-qa-panel {
	position: absolute;
	left: 6px;
	right: 6px;
	bottom: 6px;
	z-index: 8;
	max-height: calc(100% - 12px);
	overflow: auto;
	padding: 14px 12px 12px;
	background: #fffdf8;
	border: 1px solid #e2dccd;
	border-radius: 8px;
	box-shadow: 0 -6px 22px rgba(0, 0, 0, .14);
	font-size: 13px;
	text-align: left;
}

.orides-qa-close {
	position: absolute;
	top: 4px;
	right: 6px;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: transparent;
	color: #9a9486;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.orides-qa-close:hover { color: #33402f; }

.orides-qa-attr { margin-bottom: 10px; }
.orides-qa-attr-label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 5px;
	color: #8a8575;
}

.orides-qa-opts { display: flex; flex-wrap: wrap; gap: 6px; }

.orides-qa-opt {
	padding: 5px 11px;
	border: 1px solid #cfcabf;
	border-radius: 4px;
	background: #fff;
	color: #333;
	cursor: pointer;
	font-size: 12px;
	line-height: 1.2;
	transition: border-color .15s, box-shadow .15s;
}
.orides-qa-opt:hover { border-color: #33402f; }
.orides-qa-opt.is-color {
	width: 26px;
	height: 26px;
	padding: 0;
	border-radius: 50%;
}
.orides-qa-opt.is-active {
	border-color: #33402f;
	box-shadow: 0 0 0 2px rgba(51, 64, 47, .25);
}

.orides-qa-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}
.orides-qa-add { white-space: nowrap; }
.orides-qa-add[disabled] { opacity: .5; cursor: not-allowed; }
.orides-qa-add.is-loading { opacity: .7; }
.orides-qa-msg { font-size: 12px; color: #5a6450; }
