/* GoGoNano Offers: buy-together box on the product page and cart. */

.gno-bundle {
	--gno-accent: var(--primary-color, #20adbc);
	--gno-line: #e8ebea;
	--gno-muted: #6b7778;

	/* Flatsome lays the add-to-cart form out in a row; take a full line. */
	flex: 1 0 100%;
	width: 100%;
	margin: 1.25rem 0 0.5rem;
	padding: 1rem;
	border: 1px solid var(--gno-line);
	border-radius: 10px;
	background: #fff;
}

.gno-bundle__title {
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--gno-muted);
}

.gno-bundle__item {
	display: grid;
	grid-template-columns: auto 56px minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0.6rem 0;
	border-top: 1px solid var(--gno-line);
	font-weight: 400;
	cursor: pointer;
}

.gno-bundle__title + .gno-bundle__item {
	border-top: 0;
	padding-top: 0;
}

.gno-bundle__item input[type="checkbox"] {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0;
	accent-color: var(--gno-accent);
}

.gno-bundle__image {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 6px;
	overflow: hidden;
	background: #fafbfb;
}

.gno-bundle__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.gno-bundle__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.gno-bundle__name {
	font-size: 0.92rem;
	line-height: 1.3;
	color: inherit;
}

.gno-bundle__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem;
	font-size: 0.92rem;
}

.gno-bundle__price del {
	color: var(--gno-muted);
	font-weight: 400;
	opacity: 0.8;
}

.gno-bundle__price ins {
	font-weight: 700;
	text-decoration: none;
}

.gno-bundle__badge {
	padding: 0 0.4rem;
	border-radius: 4px;
	background: var(--gno-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.5;
}

.gno-bundle__total {
	margin: 0.6rem 0 0;
	padding-top: 0.6rem;
	border-top: 1px solid var(--gno-line);
	font-size: 0.92rem;
}

.gno-bundle__total strong {
	font-weight: 700;
}

.gno-bundle__saving {
	color: var(--gno-accent);
}

.gno-bundle__total[hidden],
.gno-bundle__saving-wrap[hidden] {
	display: none;
}

.gno-bundle__hint {
	margin: 0.6rem 0 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--gno-muted);
}

/* Cart: no checkbox, an Add button instead. */
.gno-bundle--cart {
	margin-top: 1.5rem;
}

.gno-bundle--cart .gno-bundle__item {
	grid-template-columns: 56px minmax(0, 1fr) auto;
	cursor: default;
}

.gno-bundle--cart .gno-bundle__add {
	margin: 0;
	white-space: nowrap;
}

/* Cart line notes. */
.gno-bundle-note {
	display: inline-block;
	margin-top: 0.15rem;
	font-size: 0.75rem;
	color: var(--primary-color, #20adbc);
}

.gno-bundle-note--paused {
	color: #6b7778;
}
