#eqc-consent [hidden],
[data-eqc-open][hidden] {
	display: none;
}

.eqc-banner,
.eqc-dialog {
	box-sizing: border-box;
	max-width: calc(100% - 2rem);
	color: #161225;
	background: #fff;
	border: 1px solid #d9cfee;
	border-radius: 1rem;
	padding: clamp(1rem, 4vw, 1.5rem);
	box-shadow: 0 0.75rem 2.5rem rgb(27 13 55 / 18%);
}
.eqc-banner {
	position: fixed;
	inset-inline-start: 1rem;
	bottom: max(1rem, env(safe-area-inset-bottom));
	width: 36rem;
	max-height: 55dvh;
	overflow: auto;
	z-index: 100;
}
.woocommerce-checkout .eqc-banner,
.woocommerce-cart .eqc-banner {
	position: static;
	margin: 1rem auto;
	width: 36rem;
	max-height: none;
}
.eqc-dialog {
	width: 34rem;
	max-height: 85dvh;
	overflow: auto;
}
.eqc-dialog::backdrop {
	background: rgb(22 18 37 / 52%);
}
.eqc-banner h2,
.eqc-dialog h2 {
	font-size: 1.3rem;
	line-height: 1.25;
	margin: 0 0 0.5rem;
}
.eqc-banner p,
.eqc-dialog p {
	margin: 0 0 0.7rem;
}
.eqc-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
}
.eqc-actions button,
.eqc-page-button {
	min-height: 2.75rem;
	border: 1px solid #5e2cdc;
	border-radius: 0.6rem;
	padding: 0.5rem 0.75rem;
	font: inherit;
	font-weight: 600;
	background: #f4efff;
	color: #37167c;
	cursor: pointer;
}
.eqc-banner a,
.eqc-dialog a,
.eqc-footer button {
	color: #4820a5;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
.eqc-footer {
	padding: 0.5rem 1rem;
	text-align: center;
	background: #f8f6fc;
}
.eqc-footer button {
	min-height: 2.75rem;
	background: transparent;
	border: 0;
	font: inherit;
	cursor: pointer;
}
.eqc-banner :focus-visible,
.eqc-dialog :focus-visible,
.eqc-footer button:focus-visible,
.eqc-page-button:focus-visible {
	outline: 2px solid #4820a5;
	outline-offset: 2px;
}
.eqc-necessary,
.eqc-choice {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin-block: 0.65rem;
	border: 1px solid #e4ddef;
	border-radius: 0.75rem;
	padding: 0.75rem;
}
.eqc-necessary {
	display: block;
}
.eqc-necessary p {
	margin: 0.25rem 0 0;
}
.eqc-choice input {
	margin-block-start: 0.2rem;
	accent-color: #5e2cdc;
}
.eqc-table-wrap {
	overflow-x: auto;
	margin-block: 0.5rem 1rem;
}
.eqc-table-wrap table {
	min-width: 32rem;
	width: 100%;
	border-collapse: collapse;
}
.eqc-table-wrap td,
.eqc-table-wrap th {
	vertical-align: top;
	text-align: left;
	border: 1px solid #d9cfee;
	padding: 0.65rem;
}
