/*
 * GCMA private commerce workspace
 * Isolated from the public theme and driven by per-company brand variables.
 */

.gcma-store {
	--gcma-store-accent: #087dff;
	--gcma-store-secondary: #18c3f2;
	--gcma-store-on-accent: #fff;
	--gcma-store-ink: #071a44;
	--gcma-store-muted: #60718a;
	--gcma-store-line: rgba(52, 92, 139, .15);
	--gcma-store-line-strong: rgba(52, 92, 139, .24);
	--gcma-store-canvas: #edf4fb;
	--gcma-store-surface: rgba(255, 255, 255, .78);
	--gcma-store-surface-solid: #fff;
	--gcma-store-soft: rgba(238, 247, 255, .82);
	--gcma-store-shadow: 0 24px 70px rgba(7, 26, 68, .12);
	--gcma-store-shadow-soft: 0 12px 34px rgba(7, 26, 68, .09);
	--gcma-store-radius-xl: 26px;
	--gcma-store-radius-lg: 22px;
	--gcma-store-radius-md: 16px;
	--gcma-store-ease: cubic-bezier(.2, .7, .2, 1);
	background: var(--gcma-store-canvas);
	background:
		radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--gcma-store-accent) 12%, transparent), transparent 31rem),
		radial-gradient(circle at 93% 18%, color-mix(in srgb, var(--gcma-store-secondary) 11%, transparent), transparent 27rem),
		var(--gcma-store-canvas);
	border: 1px solid rgba(255, 255, 255, .62);
	border-radius: var(--gcma-store-radius-xl);
	box-shadow: var(--gcma-store-shadow);
	box-sizing: border-box;
	color: var(--gcma-store-ink);
	isolation: isolate;
	margin: 0;
	min-width: 0;
	overflow: visible;
	padding: clamp(10px, 1.4vw, 18px);
	position: relative;
}

.gcma-store *,
.gcma-store *::before,
.gcma-store *::after,
.gcma-product-dialog *,
.gcma-product-dialog *::before,
.gcma-product-dialog *::after,
.gcma-store-cart *,
.gcma-store-cart *::before,
.gcma-store-cart *::after {
	box-sizing: border-box;
}

.gcma-store [hidden],
.gcma-product-dialog [hidden],
.gcma-store-cart [hidden] {
	display: none !important;
}

.gcma-store button,
.gcma-store input,
.gcma-store select,
.gcma-store textarea,
.gcma-product-dialog button,
.gcma-product-dialog input,
.gcma-product-dialog select,
.gcma-store-cart button,
.gcma-store-cart input,
.gcma-store-cart select {
	font: inherit;
}

.gcma-store button,
.gcma-product-dialog button,
.gcma-store-cart button {
	touch-action: manipulation;
}

.gcma-store button:focus-visible,
.gcma-store a:focus-visible,
.gcma-store input:focus-visible,
.gcma-store select:focus-visible,
.gcma-product-dialog button:focus-visible,
.gcma-product-dialog input:focus-visible,
.gcma-product-dialog select:focus-visible,
.gcma-store-cart button:focus-visible,
.gcma-store-cart input:focus-visible,
.gcma-store-cart select:focus-visible {
	outline: 3px solid var(--gcma-store-accent);
	outline: 3px solid color-mix(in srgb, var(--gcma-store-accent) 60%, #fff);
	outline-offset: 3px;
}

.gcma-store__preview-notice,
.gcma-store__notice {
	align-items: center;
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	background: rgba(232, 247, 255, .84);
	border: 1px solid rgba(8, 125, 255, .2);
	border-radius: 14px;
	color: #0a4b78;
	display: flex;
	gap: 12px;
	margin: 0 0 10px;
	padding: 9px 12px;
}

.gcma-store__preview-notice.is-warning {
	background: rgba(255, 246, 217, .9);
	border-color: rgba(187, 126, 0, .26);
	color: #725000;
}

.gcma-store__preview-notice > .dashicons,
.gcma-store__notice > .dashicons {
	flex: 0 0 auto;
	margin-top: 0;
}

.gcma-store__preview-notice strong,
.gcma-store__preview-notice p,
.gcma-store__notice p {
	margin: 0;
}

.gcma-store__preview-notice p {
	font-size: 11px;
	line-height: 1.4;
	margin-top: 1px;
}

@media (min-width: 621px) {
	.gcma-store__preview-notice > div {
		align-items: baseline;
		display: flex;
		gap: 8px;
	}

	.gcma-store__preview-notice strong {
		flex: 0 0 auto;
	}
}

.gcma-store__notice {
	background: rgba(235, 245, 255, .9);
	margin-top: 14px;
}

.gcma-store__notice.is-success {
	background: rgba(222, 249, 237, .9);
	border-color: rgba(22, 142, 91, .23);
	color: #12613f;
}

.gcma-store__notice.is-error,
.gcma-store__notice.is-cancelled,
.gcma-store__notice.is-address-error,
.gcma-store__notice.is-cart-error,
.gcma-store__notice.is-checkout-error {
	background: rgba(255, 235, 238, .92);
	border-color: rgba(190, 52, 71, .22);
	color: #8b2434;
}

.gcma-store__notice.is-wait {
	background: rgba(255, 246, 217, .92);
	border-color: rgba(187, 126, 0, .24);
	color: #725000;
}

.gcma-store__hero {
	align-items: center;
	backdrop-filter: blur(28px) saturate(145%);
	-webkit-backdrop-filter: blur(28px) saturate(145%);
	background-image:
		linear-gradient(105deg, rgba(4, 15, 35, .94) 0%, rgba(4, 18, 39, .76) 52%, rgba(5, 18, 39, .42) 100%),
		radial-gradient(circle at 13% -35%, color-mix(in srgb, var(--gcma-store-accent) 78%, transparent), transparent 43%),
		radial-gradient(circle at 92% 145%, color-mix(in srgb, var(--gcma-store-secondary) 64%, transparent), transparent 44%),
		var(--gcma-store-cover, linear-gradient(125deg, var(--gcma-store-accent), var(--gcma-store-secondary)));
	background-position: center;
	background-size: cover;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: calc(var(--gcma-store-radius-xl) - 6px);
	box-shadow: inset 0 1px rgba(255, 255, 255, .36), inset 0 -1px rgba(255, 255, 255, .1), 0 14px 32px rgba(7, 26, 68, .17);
	color: #fff;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	min-height: clamp(112px, 9.5vw, 132px);
	overflow: hidden;
	padding: clamp(12px, 1.8vw, 18px);
	position: relative;
}

.gcma-store__hero::before {
	background:
		linear-gradient(115deg, rgba(255, 255, 255, .2), transparent 20%, transparent 75%, rgba(255, 255, 255, .12)),
		linear-gradient(to bottom, rgba(255, 255, 255, .05), transparent 45%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.gcma-store__hero::after {
	background:
		radial-gradient(ellipse at center, transparent 55%, rgba(255, 255, 255, .16) 56%, transparent 58%),
		radial-gradient(ellipse at center, transparent 67%, color-mix(in srgb, var(--gcma-store-secondary) 25%, transparent) 68%, transparent 70%);
	content: "";
	height: 260px;
	pointer-events: none;
	position: absolute;
	right: -105px;
	top: -142px;
	transform: rotate(-9deg);
	width: 420px;
}

.gcma-store__hero-glow {
	background: color-mix(in srgb, var(--gcma-store-accent) 72%, transparent);
	border-radius: 50%;
	filter: blur(75px);
	height: 170px;
	left: -50px;
	opacity: .42;
	position: absolute;
	top: -86px;
	width: 170px;
}

.gcma-store__identity {
	align-items: center;
	display: flex;
	gap: clamp(11px, 1.35vw, 15px);
	max-width: 800px;
	min-width: 0;
	position: relative;
	z-index: 1;
}

.gcma-store__identity > img,
.gcma-store__identity > span {
	backdrop-filter: blur(20px) saturate(150%);
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 17px;
	box-shadow: inset 0 1px rgba(255, 255, 255, .27), 0 18px 45px rgba(0, 0, 0, .24);
	flex: 0 0 auto;
	height: clamp(50px, 4.6vw, 62px);
	object-fit: contain;
	padding: 7px;
	width: clamp(50px, 4.6vw, 62px);
}

.gcma-store__identity > span {
	align-items: center;
	display: inline-flex;
	font-size: clamp(22px, 2.8vw, 30px);
	font-weight: 900;
	justify-content: center;
	padding: 0;
}

.gcma-store__identity > div {
	min-width: 0;
}

.gcma-store__identity p {
	color: rgba(239, 247, 255, .77);
	font-size: clamp(10px, 1vw, 12px);
	line-height: 1.3;
	margin: 0;
	max-width: 680px;
}

.gcma-store__identity p:first-child {
	color: color-mix(in srgb, var(--gcma-store-secondary) 64%, #fff);
	font-size: 8px;
	font-weight: 850;
	letter-spacing: .16em;
	margin-bottom: 2px;
	text-transform: uppercase;
}

.gcma-store__identity h2 {
	color: #fff;
	font-size: clamp(24px, 2.7vw, 32px);
	letter-spacing: -.045em;
	line-height: 1;
	margin: 0 0 4px;
	max-width: 740px;
}

.gcma-store__cart-button {
	align-items: center;
	backdrop-filter: blur(20px) saturate(150%);
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	background: rgba(255, 255, 255, .13);
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 999px;
	box-shadow: inset 0 1px rgba(255, 255, 255, .22), 0 15px 36px rgba(0, 0, 0, .18);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 800;
	gap: 8px;
	min-height: 38px;
	padding: 5px 6px 5px 13px;
	position: relative;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms var(--gcma-store-ease);
	z-index: 1;
}

.gcma-store__cart-button:hover {
	background: rgba(255, 255, 255, .21);
	border-color: rgba(255, 255, 255, .52);
	transform: translateY(-2px);
}

.gcma-store__cart-button b {
	align-items: center;
	background: var(--gcma-store-accent);
	border: 1px solid rgba(255, 255, 255, .36);
	border-radius: 999px;
	box-shadow: 0 7px 20px color-mix(in srgb, var(--gcma-store-accent) 35%, transparent);
	color: var(--gcma-store-on-accent);
	display: inline-flex;
	font-size: 11px;
	height: 26px;
	justify-content: center;
	min-width: 26px;
	padding: 0 7px;
}

.gcma-store__cart-button:disabled,
.gcma-store-mobile-cart:disabled,
.gcma-product-card button:disabled,
.gcma-product-dialog button:disabled,
.gcma-store-cart button:disabled {
	cursor: not-allowed;
	opacity: .5;
	transform: none;
}

.gcma-store__views {
	align-items: center;
	backdrop-filter: blur(20px) saturate(140%);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	background: color-mix(in srgb, var(--gcma-store-surface) 88%, transparent);
	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: 999px;
	box-shadow: var(--gcma-store-shadow-soft);
	display: inline-flex;
	gap: 5px;
	margin: -15px 0 12px clamp(12px, 2vw, 22px);
	max-width: calc(100% - 28px);
	padding: 4px;
	position: relative;
	z-index: 4;
}

.gcma-store__views button,
.gcma-store__filters button {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--gcma-store-muted);
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	gap: 7px;
	justify-content: center;
	min-height: 36px;
	padding: 7px 13px;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--gcma-store-ease);
}

.gcma-store__views button:hover,
.gcma-store__filters button:hover {
	background: var(--gcma-store-soft);
	color: var(--gcma-store-ink);
}

.gcma-store__views button.is-active,
.gcma-store__filters button.is-active {
	background: var(--gcma-store-accent);
	background: linear-gradient(135deg, var(--gcma-store-accent), color-mix(in srgb, var(--gcma-store-accent) 84%, var(--gcma-store-secondary)));
	border-color: color-mix(in srgb, var(--gcma-store-accent) 78%, #fff);
	box-shadow: 0 8px 22px color-mix(in srgb, var(--gcma-store-accent) 24%, transparent);
	color: var(--gcma-store-on-accent);
}

.gcma-store__views button b {
	align-items: center;
	background: color-mix(in srgb, currentColor 13%, transparent);
	border-radius: 999px;
	display: inline-flex;
	font-size: 10px;
	height: 22px;
	justify-content: center;
	min-width: 22px;
	padding: 0 6px;
}

.gcma-store__panel {
	animation: gcma-store-enter 300ms var(--gcma-store-ease) both;
	min-width: 0;
}

@keyframes gcma-store-enter {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.gcma-store__toolbar {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin: 0 2px 12px;
}

.gcma-store__toolbar > label {
	backdrop-filter: blur(22px) saturate(145%);
	-webkit-backdrop-filter: blur(22px) saturate(145%);
	align-items: center;
	background: var(--gcma-store-surface);
	border: 1px solid var(--gcma-store-line);
	border-radius: 999px;
	display: flex;
	flex: 1 1 330px;
	gap: 8px;
	max-width: 390px;
	min-height: 42px;
	padding: 0 14px;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.gcma-store__toolbar > label:focus-within {
	background: var(--gcma-store-surface-solid);
	border-color: var(--gcma-store-accent);
	border-color: color-mix(in srgb, var(--gcma-store-accent) 48%, transparent);
	box-shadow: 0 0 0 4px rgba(8, 125, 255, .1);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--gcma-store-accent) 10%, transparent);
}

.gcma-store__toolbar > label > .dashicons {
	color: var(--gcma-store-accent);
	flex: 0 0 auto;
}

.gcma-store__toolbar input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--gcma-store-ink);
	font-size: 13px;
	min-height: 40px;
	min-width: 0;
	outline: 0;
	padding: 0;
	width: 100%;
}

.gcma-store__toolbar input::placeholder {
	color: color-mix(in srgb, var(--gcma-store-muted) 78%, transparent);
}

.gcma-store__filters {
	display: flex;
	gap: 5px;
	max-width: 100%;
	overflow-x: auto;
	padding: 2px;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.gcma-store__filters::-webkit-scrollbar {
	display: none;
}

.gcma-store__filters button {
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	background: color-mix(in srgb, var(--gcma-store-surface) 78%, transparent);
	border-color: var(--gcma-store-line);
	flex: 0 0 auto;
	min-height: 36px;
	padding: 6px 12px;
	scroll-snap-align: start;
}

.gcma-store-grid {
	display: grid;
	gap: clamp(12px, 1.5vw, 18px);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr));
}

.gcma-product-card {
	backdrop-filter: blur(24px) saturate(138%);
	-webkit-backdrop-filter: blur(24px) saturate(138%);
	background: color-mix(in srgb, var(--gcma-store-surface) 92%, transparent);
	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: 20px;
	box-shadow: 0 14px 38px rgba(7, 26, 68, .075);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	position: relative;
	scroll-margin-top: 16px;
	transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--gcma-store-ease);
}

.gcma-product-card::after {
	background: linear-gradient(125deg, rgba(255, 255, 255, .2), transparent 28%, transparent 72%, color-mix(in srgb, var(--gcma-store-accent) 7%, transparent));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.gcma-product-card:hover,
.gcma-product-card:focus-within {
	border-color: color-mix(in srgb, var(--gcma-store-accent) 30%, rgba(255, 255, 255, .8));
	box-shadow: 0 22px 48px rgba(7, 26, 68, .13);
	transform: translateY(-4px);
}

.gcma-product-card.is-archived {
	opacity: .72;
}

.gcma-product-card__media {
	appearance: none;
	background:
		radial-gradient(circle at 28% 18%, color-mix(in srgb, var(--gcma-store-secondary) 16%, transparent), transparent 45%),
		linear-gradient(145deg, #f8fbff, #e8f0f8);
	border: 0;
	border-bottom: 1px solid var(--gcma-store-line);
	border-radius: 0;
	cursor: zoom-in;
	display: block;
	aspect-ratio: 16 / 10;
	height: auto;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.gcma-product-card__media > img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: filter 300ms ease, transform 600ms var(--gcma-store-ease);
	width: 100%;
}

.gcma-product-card:hover .gcma-product-card__media > img,
.gcma-product-card:focus-within .gcma-product-card__media > img {
	filter: saturate(1.04) contrast(1.02);
	transform: scale(1.035);
}

.gcma-product-card__media > span:not(.gcma-product-card__placeholder) {
	align-items: center;
	backdrop-filter: blur(18px) saturate(150%);
	-webkit-backdrop-filter: blur(18px) saturate(150%);
	background: rgba(5, 19, 40, .66);
	border: 1px solid rgba(255, 255, 255, .23);
	border-radius: 999px;
	bottom: 14px;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	gap: 6px;
	left: 14px;
	opacity: .86;
	padding: 8px 11px;
	position: absolute;
	transform: translateY(0);
	transition: opacity 180ms ease, transform 180ms ease;
}

.gcma-product-card:hover .gcma-product-card__media > span:not(.gcma-product-card__placeholder),
.gcma-product-card__media:focus-visible > span:not(.gcma-product-card__placeholder) {
	opacity: 1;
	transform: translateY(0);
}

.gcma-product-card__media > em {
	background: #f1a41a;
	border-radius: 999px;
	color: #3d2a03;
	font-size: 10px;
	font-style: normal;
	font-weight: 900;
	padding: 6px 9px;
	position: absolute;
	right: 12px;
	top: 12px;
}

.gcma-product-card__placeholder {
	align-items: center;
	color: var(--gcma-store-muted);
	display: flex;
	flex-direction: column;
	gap: 9px;
	inset: 0;
	justify-content: center;
	position: absolute;
}

.gcma-product-card__placeholder .dashicons {
	color: var(--gcma-store-accent);
	font-size: 40px;
	height: 40px;
	opacity: .58;
	width: 40px;
}

.gcma-product-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 14px;
	position: relative;
	z-index: 3;
}

.gcma-product-card__body > div:first-of-type {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.gcma-product-card__body > div:first-of-type p,
.gcma-product-card__body > div:first-of-type span {
	color: var(--gcma-store-accent);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .09em;
	margin: 0;
	text-transform: uppercase;
}

.gcma-product-card__body > div:first-of-type span {
	color: var(--gcma-store-muted);
	letter-spacing: .03em;
	text-align: right;
}

.gcma-product-card__body h3 {
	line-height: 1.18;
	margin: 9px 0 7px;
}

.gcma-product-card__title {
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--gcma-store-ink);
	cursor: pointer;
	display: block;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.18;
	margin: 0;
	padding: 0;
	text-align: left;
	width: fit-content;
}

.gcma-product-card__title:hover {
	color: var(--gcma-store-accent);
}

.gcma-product-card__body > p {
	color: var(--gcma-store-muted);
	display: -webkit-box;
	font-size: 12px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-height: 1.58;
	margin: 0 0 10px;
	overflow: hidden;
}

.gcma-product-card__body > small {
	align-items: center;
	color: var(--gcma-store-muted);
	display: inline-flex;
	font-size: 10px;
	gap: 5px;
	margin: auto 0 8px;
}

.gcma-product-card__body > small .dashicons {
	color: var(--gcma-store-accent);
	font-size: 15px;
	height: 15px;
	width: 15px;
}

.gcma-product-card__footer {
	align-items: flex-end;
	border-top: 1px solid var(--gcma-store-line);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 11px;
}

.gcma-product-card__footer > div {
	display: grid;
	gap: 2px;
}

.gcma-product-card__footer > div > span {
	color: var(--gcma-store-muted);
	font-size: 9px;
	font-weight: 750;
	text-transform: uppercase;
}

.gcma-product-card__footer strong {
	color: var(--gcma-store-ink);
	font-size: 18px;
	white-space: nowrap;
}

.gcma-product-card__footer strong small {
	color: var(--gcma-store-muted);
	font-size: 9px;
}

.gcma-product-card__footer > button,
.gcma-product-dialog__checkout > [data-gcma-product-add],
.gcma-store-cart__checkout {
	align-items: center;
	background: var(--gcma-store-accent);
	background: linear-gradient(135deg, var(--gcma-store-accent), color-mix(in srgb, var(--gcma-store-accent) 84%, var(--gcma-store-secondary)));
	border: 1px solid var(--gcma-store-accent);
	border: 1px solid color-mix(in srgb, var(--gcma-store-accent) 76%, #fff);
	border-radius: 13px;
	box-shadow: 0 11px 25px color-mix(in srgb, var(--gcma-store-accent) 22%, transparent), inset 0 1px rgba(255, 255, 255, .25);
	color: var(--gcma-store-on-accent);
	cursor: pointer;
	display: inline-flex;
	font-size: 11px;
	font-weight: 850;
	gap: 6px;
	justify-content: center;
	min-height: 40px;
	padding: 8px 13px;
	transition: box-shadow 180ms ease, filter 180ms ease, transform 180ms var(--gcma-store-ease);
}

.gcma-product-card__footer > button:hover,
.gcma-product-dialog__checkout > [data-gcma-product-add]:hover,
.gcma-store-cart__checkout:hover {
	box-shadow: 0 16px 30px color-mix(in srgb, var(--gcma-store-accent) 28%, transparent), inset 0 1px rgba(255, 255, 255, .3);
	filter: saturate(1.1);
	transform: translateY(-2px);
}

.gcma-store__empty {
	align-items: center;
	background: var(--gcma-store-surface);
	border: 1px dashed var(--gcma-store-line-strong);
	border-radius: var(--gcma-store-radius-lg);
	color: var(--gcma-store-muted);
	display: flex;
	flex-direction: column;
	grid-column: 1 / -1;
	justify-content: center;
	margin: 0;
	min-height: 210px;
	padding: 30px;
	text-align: center;
}

.gcma-store__empty > .dashicons {
	color: var(--gcma-store-accent);
	font-size: 42px;
	height: 42px;
	margin-bottom: 10px;
	width: 42px;
}

.gcma-store__empty h3 {
	color: var(--gcma-store-ink);
	font-size: 20px;
	margin: 0 0 5px;
}

.gcma-store__empty p {
	font-size: 12px;
	line-height: 1.55;
	margin: 0;
}

/* Orders */
.gcma-store-orders {
	background: var(--gcma-store-surface);
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: var(--gcma-store-radius-lg);
	box-shadow: var(--gcma-store-shadow-soft);
	padding: clamp(18px, 3vw, 30px);
}

.gcma-store-orders > header {
	align-items: flex-end;
	border-bottom: 1px solid var(--gcma-store-line);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 18px;
}

.gcma-store-orders > header p,
.gcma-store-orders > header h3 {
	margin: 0;
}

.gcma-store-orders > header p {
	color: var(--gcma-store-accent);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.gcma-store-orders > header h3 {
	color: var(--gcma-store-ink);
	font-size: 25px;
	margin-top: 3px;
}

.gcma-store-orders > header > span {
	color: var(--gcma-store-muted);
	font-size: 11px;
	text-align: right;
}

.gcma-store-orders__list {
	display: grid;
	gap: 13px;
}

.gcma-store-orders__list > article {
	background: color-mix(in srgb, var(--gcma-store-surface-solid) 76%, transparent);
	border: 1px solid var(--gcma-store-line);
	border-radius: 18px;
	padding: 17px;
}

.gcma-store-orders__list > article > header {
	align-items: flex-start;
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.gcma-store-orders__list h4 {
	color: var(--gcma-store-ink);
	font-size: 17px;
	margin: 8px 0 2px;
}

.gcma-store-orders__list time {
	color: var(--gcma-store-muted);
	font-size: 10px;
}

.gcma-store-orders__list > article > header > strong {
	font-size: 19px;
	white-space: nowrap;
}

.gcma-store-status {
	background: rgba(86, 112, 139, .11);
	border: 1px solid rgba(86, 112, 139, .2);
	border-radius: 999px;
	color: #51677c;
	display: inline-flex;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .045em;
	line-height: 1.2;
	padding: 5px 8px;
	text-transform: uppercase;
}

.gcma-store-status.is-paid,
.gcma-store-status.is-preparing,
.gcma-store-status.is-completed {
	background: rgba(25, 166, 105, .11);
	border-color: rgba(25, 166, 105, .22);
	color: #14754d;
}

.gcma-store-status.is-shipped,
.gcma-store-status.is-payment-processing {
	background: rgba(8, 125, 255, .11);
	border-color: rgba(8, 125, 255, .22);
	color: #0868cb;
}

.gcma-store-status.is-quote,
.gcma-store-status.is-awaiting_payment {
	background: rgba(221, 147, 15, .13);
	border-color: rgba(221, 147, 15, .24);
	color: #8a5c08;
}

.gcma-store-status.is-payment_failed,
.gcma-store-status.is-cancelled,
.gcma-store-status.is-expired {
	background: rgba(206, 58, 78, .1);
	border-color: rgba(206, 58, 78, .22);
	color: #a12c3e;
}

.gcma-store-status.is-partially_refunded,
.gcma-store-status.is-refunded {
	background: rgba(124, 79, 181, .11);
	border-color: rgba(124, 79, 181, .22);
	color: #7042a8;
}

.gcma-store-orders__lines {
	border-bottom: 1px solid var(--gcma-store-line);
	border-top: 1px solid var(--gcma-store-line);
	margin: 14px 0;
	padding: 8px 0;
}

.gcma-store-orders__lines p {
	align-items: flex-start;
	color: var(--gcma-store-muted);
	display: flex;
	font-size: 11px;
	gap: 15px;
	justify-content: space-between;
	margin: 0;
	padding: 6px 0;
}

.gcma-store-orders__lines span,
.gcma-store-orders__lines small {
	display: block;
}

.gcma-store-orders__lines small {
	font-size: 9px;
	margin-top: 2px;
}

.gcma-store-orders__lines strong {
	color: var(--gcma-store-ink);
	white-space: nowrap;
}

.gcma-store-orders__tracking {
	align-items: center;
	background: var(--gcma-store-soft);
	border: 1px solid var(--gcma-store-line);
	border-radius: 11px;
	color: var(--gcma-store-muted);
	display: flex;
	font-size: 10px;
	gap: 6px;
	margin: 0 0 11px;
	padding: 8px 10px;
}

.gcma-store-orders__tracking .dashicons {
	color: var(--gcma-store-accent);
}

.gcma-store-orders__list > article > a {
	align-items: center;
	color: var(--gcma-store-accent);
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	gap: 7px;
	text-decoration: none;
}

/* Dialogs */
.gcma-product-dialog,
.gcma-store-cart {
	--gcma-store-ink: #071a44;
	--gcma-store-muted: #60718a;
	--gcma-store-line: rgba(52, 92, 139, .15);
	--gcma-store-surface-solid: #fff;
	background: rgba(250, 253, 255, .96);
	border: 1px solid rgba(255, 255, 255, .75);
	box-shadow: 0 40px 110px rgba(3, 15, 34, .36);
	color: var(--gcma-store-ink);
	margin: auto;
	max-height: min(900px, calc(100dvh - 32px));
	overflow: auto;
	padding: 0;
}

.gcma-product-dialog::backdrop,
.gcma-store-cart::backdrop {
	backdrop-filter: blur(13px) saturate(120%);
	-webkit-backdrop-filter: blur(13px) saturate(120%);
	background: rgba(3, 12, 28, .68);
}

.gcma-product-dialog.is-fallback-open,
.gcma-store-cart.is-fallback-open {
	display: grid;
	inset: 16px;
	position: fixed;
	z-index: 100000;
}

body.gcma-commerce-dialog-open {
	overflow: hidden;
}

.gcma-store-dialog__close,
.gcma-store-cart > form > header button {
	align-items: center;
	background: rgba(255, 255, 255, .82);
	border: 1px solid var(--gcma-store-line);
	border-radius: 50%;
	color: var(--gcma-store-ink);
	cursor: pointer;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	padding: 0;
	width: 42px;
}

.gcma-product-dialog {
	border-radius: 28px;
	grid-template-columns: minmax(360px, 1.12fr) minmax(340px, .88fr);
	height: min(900px, calc(100vh - 32px));
	height: min(900px, calc(100dvh - 32px));
	overflow: hidden;
	position: fixed;
	width: min(1180px, calc(100vw - 34px));
}

.gcma-product-dialog[open] {
	display: grid;
}

.gcma-product-dialog > .gcma-store-dialog__close {
	box-shadow: 0 8px 24px rgba(7, 26, 68, .14);
	position: absolute;
	right: 16px;
	top: 16px;
	z-index: 6;
}

.gcma-product-dialog__media {
	align-items: center;
	background:
		radial-gradient(circle at 30% 12%, color-mix(in srgb, var(--gcma-store-secondary) 17%, transparent), transparent 42%),
		linear-gradient(145deg, #f0f6fc, #dce8f3);
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) 46px;
	grid-template-rows: minmax(0, 1fr) auto;
	min-height: min(610px, calc(100dvh - 34px));
	overflow: hidden;
	padding: 22px 18px 18px;
	position: relative;
}

.gcma-product-dialog__media::before {
	background-image: linear-gradient(rgba(81, 109, 138, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(81, 109, 138, .055) 1px, transparent 1px);
	background-size: 28px 28px;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.gcma-product-dialog__media > button {
	align-items: center;
	background: rgba(255, 255, 255, .76);
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 50%;
	box-shadow: 0 9px 26px rgba(7, 26, 68, .12);
	color: var(--gcma-store-ink);
	cursor: pointer;
	display: inline-flex;
	font-size: 26px;
	height: 42px;
	justify-content: center;
	padding: 0;
	position: relative;
	width: 42px;
	z-index: 2;
}

.gcma-product-dialog__media > [data-gcma-product-previous] {
	grid-column: 1;
	grid-row: 1;
}

.gcma-product-dialog__media > [data-gcma-product-next] {
	grid-column: 3;
	grid-row: 1;
}

.gcma-product-dialog__viewer {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	grid-column: 2;
	grid-row: 1;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
	padding: 18px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.gcma-product-dialog__viewer > img {
	cursor: zoom-in;
	display: block;
	height: 100%;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	opacity: 1;
	transform-origin: center;
	transition: opacity 180ms ease, transform 350ms var(--gcma-store-ease);
	width: 100%;
}

.gcma-product-dialog__media.is-loading .gcma-product-dialog__viewer > img {
	opacity: .18;
}

.gcma-product-dialog__media.is-zoomed .gcma-product-dialog__viewer {
	cursor: zoom-out;
	overflow: hidden;
}

.gcma-product-dialog__media.is-zoomed .gcma-product-dialog__viewer > img {
	cursor: zoom-out;
	transform: none;
}

.gcma-product-dialog__media.is-zoomed {
	border: 1px solid color-mix(in srgb, var(--gcma-store-accent) 34%, transparent);
	border-radius: 24px;
	box-shadow: 0 34px 100px rgba(1, 8, 20, .52);
	grid-template-columns: 54px minmax(0, 1fr) 54px;
	grid-template-rows: minmax(0, 1fr) auto;
	inset: 12px;
	min-height: 0;
	padding: 22px;
	position: fixed;
	z-index: 20;
}

.gcma-product-dialog__media.is-zoomed .gcma-product-dialog__viewer {
	padding: 12px 24px;
}

.gcma-product-dialog__viewer > button {
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	background: rgba(4, 17, 37, .68);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	bottom: 10px;
	color: #fff;
	cursor: zoom-in;
	font-size: 10px;
	font-weight: 800;
	min-height: 36px;
	padding: 7px 13px;
	position: absolute;
	right: 10px;
}

.gcma-product-dialog__media.is-zoomed .gcma-product-dialog__viewer > button {
	background: var(--gcma-store-accent);
	cursor: zoom-out;
}

.gcma-product-dialog__image-status {
	background: color-mix(in srgb, var(--gcma-store-surface-solid) 88%, transparent);
	border: 1px solid var(--gcma-store-line);
	border-radius: 999px;
	color: var(--gcma-store-muted);
	display: none;
	font-size: 11px;
	font-weight: 750;
	left: 50%;
	padding: 9px 13px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
}

.gcma-product-dialog__media.is-loading .gcma-product-dialog__image-status,
.gcma-product-dialog__media.has-image-error .gcma-product-dialog__image-status {
	display: block;
}

.gcma-product-dialog__media.has-no-image .gcma-product-dialog__viewer::after {
	color: var(--gcma-store-muted);
	content: "Visuel en préparation";
	font-size: 12px;
}

.gcma-product-dialog__thumbs {
	display: flex;
	gap: 8px;
	grid-column: 1 / -1;
	grid-row: 2;
	justify-content: center;
	margin-top: 16px;
	max-width: 100%;
	overflow-x: auto;
	padding: 4px;
	position: relative;
	z-index: 2;
}

.gcma-product-dialog__thumbs button {
	background: #fff;
	border: 2px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	flex: 0 0 auto;
	height: 58px;
	overflow: hidden;
	padding: 2px;
	width: 58px;
}

.gcma-product-dialog__thumbs button.is-active {
	border-color: var(--gcma-store-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gcma-store-accent) 12%, transparent);
}

.gcma-product-dialog__thumbs img {
	border-radius: 7px;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gcma-product-dialog__content {
	background:
		radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--gcma-store-accent) 9%, transparent), transparent 310px),
		var(--gcma-store-surface-solid);
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	min-height: 0;
	overflow: hidden;
}

.gcma-product-dialog__content-scroll {
	align-content: start;
	display: grid;
	gap: 11px;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(30px, 4vw, 50px) clamp(28px, 4vw, 48px) 18px;
	scrollbar-gutter: stable;
}

.gcma-product-dialog__content-scroll > p,
.gcma-product-dialog__content-scroll > h3 {
	margin: 0;
}

.gcma-product-dialog__content-scroll > p:first-child {
	color: var(--gcma-store-accent);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.gcma-product-dialog__content h3 {
	color: var(--gcma-store-ink);
	font-size: clamp(27px, 3.4vw, 38px);
	letter-spacing: -.045em;
	line-height: 1.02;
}

.gcma-product-dialog__content-scroll > p:nth-of-type(2) {
	color: var(--gcma-store-muted);
	font-size: 12px;
	line-height: 1.65;
	white-space: pre-line;
}

.gcma-product-dialog__details {
	background: color-mix(in srgb, var(--gcma-store-soft, #eef6fd) 76%, transparent);
	border-left: 3px solid var(--gcma-store-accent);
	border-radius: 4px 12px 12px 4px;
	color: var(--gcma-store-muted);
	font-size: 11px;
	line-height: 1.65;
	max-height: 132px;
	overflow: auto;
	padding: 11px 13px;
	white-space: pre-line;
}

.gcma-product-dialog__content-scroll > label,
.gcma-product-dialog__options label,
.gcma-product-dialog__checkout > label,
.gcma-store-cart__fields label {
	display: grid;
	gap: 6px;
}

.gcma-product-dialog__content-scroll > label > span,
.gcma-product-dialog__options label > span,
.gcma-product-dialog__checkout > label > span,
.gcma-store-cart__fields label > span {
	color: var(--gcma-store-muted);
	font-size: 10px;
	font-weight: 800;
}

.gcma-product-dialog__options {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gcma-product-dialog__options > [hidden] {
	display: none;
}

.gcma-product-dialog__content select,
.gcma-product-dialog__content input,
.gcma-store-cart__fields input,
.gcma-store-cart__fields select {
	appearance: none;
	background: rgba(243, 248, 253, .9);
	border: 1px solid var(--gcma-store-line);
	border-radius: 12px;
	box-shadow: none;
	color: var(--gcma-store-ink);
	min-height: 45px;
	padding: 9px 12px;
	width: 100%;
}

.gcma-product-dialog__content select,
.gcma-store-cart__fields select {
	background-image: linear-gradient(45deg, transparent 50%, var(--gcma-store-muted) 50%), linear-gradient(135deg, var(--gcma-store-muted) 50%, transparent 50%);
	background-position: calc(100% - 16px) 19px, calc(100% - 11px) 19px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 32px;
}

.gcma-product-dialog__content select:focus,
.gcma-product-dialog__content input:focus,
.gcma-store-cart__fields input:focus,
.gcma-store-cart__fields select:focus {
	background-color: #fff;
	border-color: color-mix(in srgb, var(--gcma-store-accent) 52%, transparent);
}

.gcma-product-dialog__content-scroll > [data-gcma-product-tiers] {
	background: rgba(241, 247, 252, .84);
	border: 1px solid var(--gcma-store-line);
	border-radius: 14px;
	max-height: 238px;
	overflow-y: auto;
	padding: 12px;
	scrollbar-width: thin;
}

.gcma-product-dialog__content-scroll > [data-gcma-product-tiers] h4 {
	font-size: 11px;
	margin: 0 0 7px;
}

.gcma-product-dialog__tier-list {
	display: grid;
	gap: 5px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gcma-product-dialog__tier-list li {
	align-items: center;
	color: var(--gcma-store-muted);
	display: flex;
	font-size: 10px;
	gap: 10px;
	justify-content: space-between;
}

.gcma-product-dialog__tier-list li + li {
	border-top: 1px solid var(--gcma-store-line);
	padding-top: 5px;
}

.gcma-product-dialog__tier-list strong {
	color: var(--gcma-store-ink);
	text-align: right;
}

.gcma-product-dialog__tier-list small {
	font-size: 8px;
}

.gcma-product-dialog__tier-list .is-discount strong {
	color: #158554;
}

.gcma-product-dialog__price {
	align-items: flex-end;
	border-top: 1px solid var(--gcma-store-line);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding-top: 13px;
}

.gcma-product-dialog__price span {
	color: var(--gcma-store-muted);
	font-size: 10px;
}

.gcma-product-dialog__price strong {
	font-size: 23px;
	white-space: nowrap;
}

.gcma-product-dialog__checkout {
	background: linear-gradient(to bottom, color-mix(in srgb, var(--gcma-store-surface-solid) 88%, transparent), var(--gcma-store-surface-solid) 24%);
	box-shadow: 0 -18px 30px rgba(7, 26, 68, .08);
	display: grid;
	gap: 10px;
	padding: 12px clamp(28px, 4vw, 48px) clamp(18px, 2.5vw, 28px);
	z-index: 4;
}

.gcma-product-dialog__checkout > [data-gcma-product-add] {
	font-size: 12px;
	min-height: 48px;
	width: 100%;
}

/* Cart and shipping */
.gcma-store-cart {
	border-radius: 26px;
	position: fixed;
	width: min(760px, calc(100vw - 32px));
}

.gcma-store-cart > form {
	background:
		radial-gradient(circle at 93% 0%, color-mix(in srgb, var(--gcma-store-accent) 11%, transparent), transparent 320px),
		var(--gcma-store-surface-solid);
	padding: clamp(20px, 4vw, 38px);
}

.gcma-store-cart > form > header {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
}

.gcma-store-cart > form > header p,
.gcma-store-cart > form > header h3 {
	margin: 0;
}

.gcma-store-cart > form > header p {
	color: var(--gcma-store-accent);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.gcma-store-cart > form > header h3 {
	font-size: 27px;
	letter-spacing: -.035em;
	margin-top: 3px;
}

.gcma-store-cart__steps {
	display: grid;
	gap: 7px;
	grid-template-columns: repeat(3, 1fr);
	margin: 22px 0;
}

.gcma-store-cart__steps span {
	border-bottom: 3px solid var(--gcma-store-line);
	color: var(--gcma-store-muted);
	font-size: 9px;
	font-weight: 800;
	padding: 0 2px 8px;
	transition: border-color 180ms ease, color 180ms ease;
}

.gcma-store-cart__steps span.is-active,
.gcma-store-cart__steps span.is-complete {
	border-color: var(--gcma-store-accent);
	color: var(--gcma-store-accent);
}

.gcma-store-cart__steps span.is-complete {
	border-color: #1aa66d;
	color: #147c51;
}

.gcma-store-cart__items {
	display: grid;
	gap: 9px;
	max-height: 310px;
	overflow: auto;
	overscroll-behavior: contain;
	padding: 2px 4px 2px 2px;
	scrollbar-width: thin;
}

.gcma-store-cart__empty {
	align-items: center;
	background: rgba(241, 247, 252, .7);
	border: 1px dashed var(--gcma-store-line);
	border-radius: 15px;
	color: var(--gcma-store-muted);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 118px;
	padding: 20px;
	text-align: center;
}

.gcma-store-cart__empty .dashicons {
	color: var(--gcma-store-accent);
	font-size: 29px;
	height: 29px;
	width: 29px;
}

.gcma-store-cart__empty p {
	font-size: 11px;
	margin: 7px 0 0;
}

.gcma-store-cart-item {
	align-items: center;
	background: rgba(245, 249, 253, .78);
	border: 1px solid var(--gcma-store-line);
	border-radius: 15px;
	display: grid;
	gap: 12px;
	grid-template-columns: 66px minmax(0, 1fr) auto;
	padding: 9px;
}

.gcma-store-cart-item__media {
	align-items: center;
	background: #eaf1f7;
	border-radius: 11px;
	display: flex;
	height: 66px;
	justify-content: center;
	overflow: hidden;
	width: 66px;
}

.gcma-store-cart-item__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gcma-store-cart-item__media .dashicons {
	color: var(--gcma-store-muted);
}

.gcma-store-cart-item__content {
	min-width: 0;
}

.gcma-store-cart-item__content h4 {
	color: var(--gcma-store-ink);
	font-size: 12px;
	line-height: 1.25;
	margin: 0 0 3px;
}

.gcma-store-cart-item__content > p {
	color: var(--gcma-store-muted);
	font-size: 8px;
	margin: 0 0 8px;
}

.gcma-store-cart-item__controls {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.gcma-store-cart-item__quantity-button {
	align-items: center;
	background: #fff;
	border: 1px solid var(--gcma-store-line);
	border-radius: 8px;
	color: var(--gcma-store-ink);
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	height: 30px;
	justify-content: center;
	padding: 0;
	width: 30px;
}

.gcma-store-cart-item__quantity input {
	background: #fff;
	border: 1px solid var(--gcma-store-line);
	border-radius: 8px;
	color: var(--gcma-store-ink);
	height: 30px;
	padding: 3px 4px;
	text-align: center;
	width: 56px;
}

.gcma-store-cart-item__remove {
	background: transparent;
	border: 0;
	color: #ae3244;
	cursor: pointer;
	font-size: 9px;
	font-weight: 800;
	min-height: 30px;
	padding: 3px 6px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gcma-store-cart-item__price {
	display: grid;
	gap: 2px;
	justify-items: end;
	text-align: right;
}

.gcma-store-cart-item__price strong {
	font-size: 13px;
	white-space: nowrap;
}

.gcma-store-cart-item__price small {
	color: var(--gcma-store-muted);
	font-size: 8px;
	white-space: nowrap;
}

.gcma-store-cart__total {
	align-items: center;
	border-bottom: 1px solid var(--gcma-store-line);
	border-top: 1px solid var(--gcma-store-line);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin: 17px 0;
	padding: 14px 0;
}

.gcma-store-cart__total > span,
.gcma-store-cart__total small {
	display: block;
}

.gcma-store-cart__total > span {
	font-size: 11px;
	font-weight: 800;
}

.gcma-store-cart__total small {
	color: var(--gcma-store-muted);
	font-size: 8px;
	font-weight: 500;
	margin-top: 2px;
}

.gcma-store-cart__total > strong {
	font-size: 22px;
	white-space: nowrap;
}

.gcma-store-cart fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.gcma-store-cart legend {
	color: var(--gcma-store-ink);
	font-size: 14px;
	font-weight: 850;
	margin: 0 0 11px;
	padding: 0;
}

.gcma-store-cart__fields {
	display: grid;
	gap: 11px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gcma-store-cart__fields .is-wide {
	grid-column: 1 / -1;
}

.gcma-store-cart__consent {
	align-items: flex-start;
	color: var(--gcma-store-muted);
	cursor: pointer;
	display: flex;
	font-size: 9px;
	gap: 9px;
	line-height: 1.55;
	margin: 15px 0;
}

.gcma-store-cart__consent input {
	accent-color: var(--gcma-store-accent);
	flex: 0 0 auto;
	height: 18px;
	margin: 1px 0 0;
	width: 18px;
}

.gcma-store-cart__secure {
	align-items: flex-start;
	background: rgba(235, 246, 255, .78);
	border: 1px solid rgba(8, 125, 255, .14);
	border-radius: 14px;
	display: flex;
	gap: 10px;
	margin-bottom: 13px;
	padding: 11px 12px;
}

.gcma-store-cart__secure > .dashicons {
	color: var(--gcma-store-accent);
	flex: 0 0 auto;
}

.gcma-store-cart__secure p,
.gcma-store-cart__secure strong,
.gcma-store-cart__secure small {
	display: block;
	margin: 0;
}

.gcma-store-cart__secure strong {
	font-size: 10px;
}

.gcma-store-cart__secure small {
	color: var(--gcma-store-muted);
	font-size: 8px;
	line-height: 1.5;
	margin-top: 2px;
}

.gcma-store-cart__checkout {
	font-size: 12px;
	justify-content: space-between;
	min-height: 50px;
	padding-inline: 18px;
	width: 100%;
}

.gcma-store-cart__checkout i {
	font-size: 20px;
	font-style: normal;
}

.gcma-store-cart__checkout[aria-busy="true"] i {
	animation: gcma-commerce-busy 850ms linear infinite;
	border: 2px solid rgba(255, 255, 255, .42);
	border-radius: 50%;
	border-top-color: #fff;
	height: 18px;
	width: 18px;
}

@keyframes gcma-commerce-busy {
	to { transform: rotate(360deg); }
}

.gcma-store-mobile-cart {
	display: none;
}

.gcma-store.is-disabled .gcma-product-card__footer button,
.gcma-store.is-disabled .gcma-store__cart-button,
.gcma-store.is-disabled .gcma-store-mobile-cart {
	pointer-events: none;
}

/* Dark portal theme */
html[data-gcma-theme="dark"] .gcma-store {
	--gcma-store-ink: #f2f7ff;
	--gcma-store-muted: #a9bdd3;
	--gcma-store-line: rgba(117, 184, 225, .16);
	--gcma-store-line-strong: rgba(117, 184, 225, .28);
	--gcma-store-canvas: #081523;
	--gcma-store-surface: rgba(14, 31, 51, .81);
	--gcma-store-surface-solid: #0e2034;
	--gcma-store-soft: rgba(22, 47, 73, .82);
	--gcma-store-shadow: 0 26px 75px rgba(0, 0, 0, .32);
	--gcma-store-shadow-soft: 0 14px 40px rgba(0, 0, 0, .22);
	border-color: rgba(111, 189, 236, .11);
}

html[data-gcma-theme="dark"] .gcma-store__views,
html[data-gcma-theme="dark"] .gcma-product-card,
html[data-gcma-theme="dark"] .gcma-store-orders {
	border-color: rgba(113, 183, 226, .13);
}

html[data-gcma-theme="dark"] .gcma-product-card__media,
html[data-gcma-theme="dark"] .gcma-product-dialog__media {
	background:
		radial-gradient(circle at 28% 18%, color-mix(in srgb, var(--gcma-store-secondary) 15%, transparent), transparent 45%),
		linear-gradient(145deg, #11263b, #091726);
}

html[data-gcma-theme="dark"] .gcma-product-dialog,
html[data-gcma-theme="dark"] .gcma-store-cart {
	--gcma-store-ink: #f2f7ff;
	--gcma-store-muted: #a9bdd3;
	--gcma-store-line: rgba(117, 184, 225, .16);
	--gcma-store-surface-solid: #0d1e31;
	background: rgba(10, 24, 40, .97);
	border-color: rgba(116, 189, 234, .15);
}

html[data-gcma-theme="dark"] .gcma-product-dialog__content,
html[data-gcma-theme="dark"] .gcma-store-cart > form {
	background:
		radial-gradient(circle at 95% 0%, color-mix(in srgb, var(--gcma-store-accent) 13%, transparent), transparent 320px),
		var(--gcma-store-surface-solid);
}

html[data-gcma-theme="dark"] .gcma-product-dialog__content select,
html[data-gcma-theme="dark"] .gcma-product-dialog__content input,
html[data-gcma-theme="dark"] .gcma-store-cart__fields input,
html[data-gcma-theme="dark"] .gcma-store-cart__fields select,
html[data-gcma-theme="dark"] .gcma-store-cart-item__quantity-button,
html[data-gcma-theme="dark"] .gcma-store-cart-item__quantity input,
html[data-gcma-theme="dark"] .gcma-product-dialog__thumbs button,
html[data-gcma-theme="dark"] .gcma-store-dialog__close,
html[data-gcma-theme="dark"] .gcma-store-cart > form > header button {
	background-color: rgba(23, 47, 72, .92);
	color: var(--gcma-store-ink);
}

html[data-gcma-theme="dark"] .gcma-product-dialog__content-scroll > [data-gcma-product-tiers],
html[data-gcma-theme="dark"] .gcma-store-cart-item,
html[data-gcma-theme="dark"] .gcma-store-cart__empty,
html[data-gcma-theme="dark"] .gcma-store-cart__secure {
	background: rgba(20, 43, 67, .78);
}

html[data-gcma-theme="dark"] .gcma-store-status.is-paid,
html[data-gcma-theme="dark"] .gcma-store-status.is-preparing,
html[data-gcma-theme="dark"] .gcma-store-status.is-completed {
	color: #6ee0aa;
}

html[data-gcma-theme="dark"] .gcma-store-status.is-shipped,
html[data-gcma-theme="dark"] .gcma-store-status.is-payment-processing {
	color: #75beff;
}

html[data-gcma-theme="dark"] .gcma-store-status.is-quote,
html[data-gcma-theme="dark"] .gcma-store-status.is-awaiting_payment {
	color: #ffd17a;
}

html[data-gcma-theme="dark"] .gcma-store-status.is-payment_failed,
html[data-gcma-theme="dark"] .gcma-store-status.is-cancelled,
html[data-gcma-theme="dark"] .gcma-store-status.is-expired {
	color: #ff95a4;
}

/* Responsive composition */
@media (max-width: 1120px) {
	.gcma-store__toolbar {
		align-items: center;
		display: grid;
		grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
	}

	.gcma-store__toolbar > label {
		flex-basis: auto;
		max-width: none;
	}
}

@media (max-width: 820px) {
	.gcma-store {
		border-radius: 22px;
		padding: 12px;
	}

	.gcma-store__hero {
		align-items: center;
		border-radius: 18px;
		flex-direction: row;
		justify-content: space-between;
		min-height: 122px;
	}

	.gcma-store__cart-button {
		position: absolute;
		right: 16px;
		top: 16px;
	}

	.gcma-store__views {
		margin-bottom: 12px;
		margin-left: 10px;
	}

	.gcma-product-dialog[open] {
		display: grid;
	}

	.gcma-product-dialog {
		border-radius: 22px;
		grid-template-columns: 1fr;
		grid-template-rows: minmax(240px, 40vh) minmax(0, 1fr);
		height: calc(100vh - 22px);
		height: calc(100dvh - 22px);
		overflow: hidden;
		width: min(660px, calc(100vw - 22px));
	}

	.gcma-product-dialog__media {
		grid-template-rows: minmax(0, 1fr) auto;
		min-height: 0;
	}

	.gcma-product-dialog__content-scroll {
		padding: 28px;
	}

	.gcma-product-dialog__checkout {
		padding-inline: 28px;
	}
}

@media (max-height: 680px) and (min-width: 821px) {
	.gcma-product-dialog {
		overflow: hidden;
	}

	.gcma-product-dialog__media {
		grid-template-rows: minmax(220px, 1fr) auto;
		min-height: 0;
	}
}

@media (max-width: 620px) {
	.gcma-store {
		margin-bottom: 74px;
	}

	.gcma-store__identity {
		align-items: center;
		flex-direction: row;
	}

	.gcma-store__identity > img,
	.gcma-store__identity > span {
		border-radius: 16px;
		height: 56px;
		width: 56px;
	}

	.gcma-store__identity h2 {
		font-size: clamp(23px, 7vw, 29px);
		max-width: calc(100vw - 62px);
	}

	.gcma-store__toolbar {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.gcma-product-dialog__media.is-zoomed {
		border-radius: 18px;
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		inset: 6px;
		padding: 10px;
	}

	.gcma-product-dialog__media.is-zoomed .gcma-product-dialog__viewer {
		padding: 8px;
	}

	.gcma-product-dialog__options {
		grid-template-columns: 1fr;
	}

	.gcma-store__identity p:last-child {
		max-width: calc(100vw - 62px);
	}

	.gcma-store__cart-button {
		display: none;
	}

	.gcma-store__views {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-left: 0;
		max-width: 100%;
		width: 100%;
	}

	.gcma-store-grid {
		grid-template-columns: 1fr;
	}

	.gcma-product-card__media {
		aspect-ratio: 16 / 10;
		height: auto;
	}

	.gcma-store-mobile-cart {
		align-items: center;
		backdrop-filter: blur(24px) saturate(145%);
		-webkit-backdrop-filter: blur(24px) saturate(145%);
		background: rgba(6, 24, 49, .92);
		border: 1px solid rgba(255, 255, 255, .2);
		border-radius: 16px;
		bottom: max(12px, env(safe-area-inset-bottom));
		box-shadow: 0 18px 55px rgba(3, 12, 28, .34);
		color: #fff;
		cursor: pointer;
		display: flex;
		font-size: 11px;
		gap: 14px;
		justify-content: space-between;
		left: max(12px, env(safe-area-inset-left));
		min-height: 54px;
		padding: 10px 14px;
		position: fixed;
		right: max(12px, env(safe-area-inset-right));
		z-index: 75;
	}

	.gcma-store-mobile-cart > span {
		align-items: center;
		display: flex;
		gap: 7px;
	}

	.gcma-store-mobile-cart b {
		align-items: center;
		background: var(--gcma-store-accent);
		border-radius: 999px;
		color: var(--gcma-store-on-accent);
		display: inline-flex;
		height: 23px;
		justify-content: center;
		min-width: 23px;
		padding: 0 5px;
	}

	.gcma-store-orders > header {
		align-items: flex-start;
		flex-direction: column;
	}

	.gcma-store-orders > header > span {
		text-align: left;
	}

	.gcma-store-cart {
		border-radius: 19px;
		max-height: calc(100dvh - 16px);
		width: calc(100vw - 16px);
	}

	.gcma-store-cart > form {
		padding: 18px;
	}

	.gcma-store-cart-item {
		align-items: start;
		grid-template-columns: 58px minmax(0, 1fr);
	}

	.gcma-store-cart-item__media {
		height: 58px;
		width: 58px;
	}

	.gcma-store-cart-item__price {
		grid-column: 2;
		justify-items: start;
		text-align: left;
	}

	.gcma-store-cart__fields {
		grid-template-columns: 1fr;
	}

	.gcma-store-cart__fields .is-wide {
		grid-column: auto;
	}
}

@media (max-width: 410px) {
	.gcma-store__hero {
		min-height: 108px;
		padding: 11px;
	}

	.gcma-store__identity {
		gap: 10px;
	}

	.gcma-store__identity > img,
	.gcma-store__identity > span {
		height: 44px;
		width: 44px;
	}

	.gcma-store__identity h2 {
		font-size: 20px;
	}

	.gcma-store__views button {
		font-size: 10px;
		padding-inline: 8px;
	}

	.gcma-product-card__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.gcma-product-card__footer > button {
		width: 100%;
	}

	.gcma-product-dialog__media {
		grid-template-columns: 38px minmax(0, 1fr) 38px;
		padding: 12px;
	}

	.gcma-product-dialog__media > button {
		height: 36px;
		width: 36px;
	}

	.gcma-product-dialog__content-scroll {
		padding: 22px 18px;
	}

	.gcma-product-dialog__checkout {
		padding-inline: 18px;
	}

	.gcma-store-cart__total {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
	.gcma-store__views,
	.gcma-store__toolbar > label,
	.gcma-product-card,
	.gcma-store-orders {
		background: var(--gcma-store-surface-solid);
	}

	.gcma-store-mobile-cart {
		background: #071a44;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gcma-store *,
	.gcma-store *::before,
	.gcma-store *::after,
	.gcma-product-dialog *,
	.gcma-product-dialog *::before,
	.gcma-product-dialog *::after,
	.gcma-store-cart *,
	.gcma-store-cart *::before,
	.gcma-store-cart *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .001ms !important;
	}
}

@media (forced-colors: active) {
	.gcma-store,
	.gcma-product-card,
	.gcma-store-orders,
	.gcma-product-dialog,
	.gcma-store-cart {
		border: 1px solid CanvasText;
	}

	.gcma-store__views button.is-active,
	.gcma-store__filters button.is-active,
	.gcma-product-card__footer > button,
	.gcma-product-dialog__checkout > [data-gcma-product-add],
	.gcma-store-cart__checkout {
		forced-color-adjust: none;
	}
}
