.hc-gc-widget {
	margin: 20px 0;
	padding: 18px;
	border: 1px solid rgba(20, 52, 37, .18);
	border-radius: 12px;
	background: #f7faf7;
}

.hc-gc-widget__title {
	margin: 0 0 12px;
	font-weight: 600;
}

.hc-gc-widget__form,
.hc-gc-widget__applied {
	display: flex;
	gap: 10px;
	align-items: center;
}

.hc-gc-widget__applied-list {
	display: grid;
	gap: 10px;
	margin-bottom: 12px;
}

.hc-gc-widget__panel[hidden] {
	display: none;
}

.hc-gc-widget__input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid #b8c6bd;
	border-radius: 8px;
	background: #fff;
	text-transform: uppercase;
}

.hc-gc-widget__apply,
.hc-gc-widget__remove {
	padding: 12px 16px;
	border: 0;
	border-radius: 8px;
	background: #173b2a;
	color: #fff;
	cursor: pointer;
}

.hc-gc-widget__applied {
	justify-content: space-between;
}

.hc-gc-widget__applied strong,
.hc-gc-widget__applied span {
	display: block;
}

.hc-gc-widget__applied span,
.hc-gc-widget__help {
	color: #647268;
	font-size: 13px;
}

.hc-gc-widget__message {
	margin-top: 8px;
	font-size: 14px;
}

.hc-gc-widget__message.is-error {
	color: #a52222;
}

.hc-gc-widget__message.is-success {
	color: #19733b;
}

.hc-gc-widget__help {
	margin: 8px 0 0;
}

.hc-gc-widget.is-loading {
	opacity: .65;
}

.hc-gc-widget--checkout {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--color-brown, #2f2a25);
}

.hc-gc-widget--checkout .hc-gc-widget__prompt {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.01em;
}

.hc-gc-widget--checkout .hc-gc-widget__toggle {
	display: inline;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.hc-gc-widget--checkout .hc-gc-widget__panel {
	margin-top: 20px;
}

.hc-gc-widget--checkout .hc-gc-widget__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.hc-gc-widget--checkout .hc-gc-widget__input,
.hc-gc-widget--checkout .hc-gc-widget__apply {
	height: 48px;
}

.hc-gc-widget--checkout .hc-gc-widget__input {
	border-color: rgb(var(--color-brown-rgb, 47 42 37) / 50%);
	background: #fff;
}

.hc-gc-widget--checkout .hc-gc-widget__apply {
	background: var(--color-brown, #2f2a25);
}

.hc-gc-widget--checkout.is-applied {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hc-gc-widget--checkout .hc-gc-widget__title {
	display: none;
}

.hc-gc-widget--checkout .hc-gc-widget__applied {
	justify-content: flex-start;
	gap: 12px;
	font-size: 14px;
}

.hc-gc-widget--checkout .hc-gc-widget__applied-copy {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
}

.hc-gc-widget--checkout .hc-gc-widget__applied-code,
.hc-gc-widget--checkout .hc-gc-widget__applied-value {
	display: inline;
	color: inherit;
	font-size: inherit;
}

.hc-gc-widget--checkout .hc-gc-widget__remove {
	padding: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 600px) {
	.hc-gc-widget__form {
		align-items: stretch;
		flex-direction: column;
	}

	.hc-gc-widget--checkout .hc-gc-widget__prompt {
		line-height: 1.3;
	}

	.hc-gc-widget--checkout .hc-gc-widget__form {
		display: flex;
	}
}
