/**
 * IGSHOP Shop Kit — the "What's inside" box of a combo variation.
 *
 * Shown under the variation picker when a customer picks a variation that
 * sells a saved combo. Only this plugin's own classes are styled, so the file
 * changes nothing on a page that has no combo.
 *
 * Colours follow the same order as the rest of the plugin: the plugin's brand
 * colours, then the theme's Elementor colours, then a built-in fallback.
 *
 * Example override:
 *
 *   .qav-combo-inside { --qav-combo-inside-bg: #f6f1ea; }
 */

.qav-combo-inside {
	--qav-combo-inside-bg: rgba(0, 0, 0, 0.04);
	--qav-combo-inside-line: rgba(0, 0, 0, 0.12);
	--qav-combo-inside-accent: var(--qav-brand-primary, var(--e-global-color-primary, #330917));

	box-sizing: border-box;
	margin: 12px 0;
	padding: 14px 16px;
	background: var(--qav-combo-inside-bg);
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
}

/* Small heading: "What's inside". */
.qav-combo-inside-title {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.7;
}

.qav-combo-inside ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* One item per row: name on the left, its price on its own on the right. */
.qav-combo-inside li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 6px 0;
	border-top: 1px solid var(--qav-combo-inside-line);
}

.qav-combo-inside li:first-child {
	border-top: 0;
}

.qav-combo-item-price {
	flex: none;
	opacity: 0.7;
}

.qav-combo-item-qty {
	opacity: 0.7;
}

/* "You save RM9.00 with this combo". */
.qav-combo-inside .qav-combo-save {
	margin: 8px 0 0;
	padding-top: 8px;
	border-top: 1px solid var(--qav-combo-inside-line);
	color: var(--qav-combo-inside-accent);
}

/* "Only 2 combos left". */
.qav-combo-low {
	color: #b3261e;
	font-weight: 600;
}

@media (max-width: 480px) {
	.qav-combo-inside {
		padding: 12px;
	}
}
