// Unified dashboard shell + settings page layout (shared by Lite and Pro).
// Loaded only on the GS Variation Swatches dashboard, after admin.min.css.
@import './styles-partials/variables';


#wpfooter {
	display: none;
}

#wpbody-content {
	padding-bottom: 0;
}

.gs-swatches-shortcode-app-wrap {
	margin-left: -20px;
	margin-right: 0;
	background-color: #f0f0f1;
	min-height: 100vh;
	font-family: 'Roboto', sans-serif;
}

#gs-swatches-shortcode-app {
	padding: 16px 16px 28px;
	max-width: none;
	margin: 0;
	width: 100%;
	box-sizing: border-box;

	@media (max-width: 782px) {
		padding: 12px 10px 20px;
	}
}

.gs-swatches-sc-header {
	background-color: #1b1a1c;
	color: #fff;
	padding: 14px 20px;
	border-radius: 10px 10px 0 0;
	box-shadow: 0 1px 10px rgba(63, 66, 87, 0.06);
	position: relative;
	z-index: 2;

	&__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 12px 16px;
	}
}

.gs-swatches-sc-brand a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	font-size: 15px;
	letter-spacing: 0.01em;
	outline: none !important;
	box-shadow: none !important;

	&:hover {
		color: #fff;
		opacity: 0.92;
	}
}

.gs-swatches-sc-brand__logo {
	width: 40px;
	height: 40px;
	display: block;
	flex: 0 0 auto;
}

.gs-swatches-sc-brand__name {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.gs-swatches-sc-brand__version {
	padding: 3px 8px;
	background: #f4effd;
	border: 1px solid #e2d6fb;
	border-radius: 999px;
	color: #5b21e0;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;

	&.is-pro {
		background: linear-gradient(135deg, #5b21e0, #9b2fd6);
		border-color: transparent;
		color: #fff;
	}
}

.gs-swatches-sc-nav {
	flex: 0 1 auto;
	min-width: 0;
	margin-left: auto;
}

.gs-swatches-sc-nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px 6px;
}

.gs-swatches-sc-nav a {
	display: flex;
	align-items: center;
	padding: 6px 10px;
	color: rgba(255, 255, 255, 0.62);
	text-decoration: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	white-space: nowrap;
	background: transparent;
	outline: none !important;
	box-shadow: none !important;
	transition: background 0.15s ease, color 0.15s ease;

	@media (max-width: 1200px) {
		padding: 5px 8px;
		font-size: 12.5px;
	}
}

.gs-swatches-sc-nav a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.92);
}

.gs-swatches-sc-nav li.is-active a {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.gs-swatches-sc-nav li.is-active a:hover {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.gs-swatches-sc-view {
	padding: 24px 24px 32px;
	background: #fff;
	border-radius: 0 0 10px 10px;
	box-shadow: 16px 32px 80px rgba(87, 86, 103, 0.12);
	min-height: 60vh;

	/* Look & feel / Advanced keep their own 2-col shells */
	&--settings {
		.gs-settings-layout__aside {
			top: 72px;
			max-height: calc(100vh - 96px);
		}

		.gs-look-feel__save-row {
			bottom: 8px;
		}
	}
}

/* ==========================================================
   Settings pages layout (Shop & Catalog, Product Page, etc.)
   2-column card grid, max-width container, sticky Save bar
   ========================================================== */

.gs-swatches-sc-view--settings .gs-powerup-box {
	max-width: 1240px;
	margin: 24px auto 40px;
	padding: 0 4px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
	align-items: stretch;
	background: transparent;
	box-shadow: none;
	border: 0;
}

/* Headings, intro, notes and Save bar span full width */
.gs-swatches-sc-view--settings .gs-powerup-box > *:not(.shortcode-setting--row),
.gs-swatches-sc-view--settings .gs-powerup-box > .shortcode-setting--row:has(.btn-brand) {
	grid-column: 1 / -1;
}

/* Look & feel / Advanced use custom layouts — don't force the generic 2-col card grid */
.gs-swatches-sc-view--settings .gs-powerup-box.gs-look-feel,
.gs-swatches-sc-view--settings .gs-powerup-box.gs-advanced {
	display: block;
	grid-template-columns: unset;
	gap: unset;
	background: transparent;
	box-shadow: none;
	border: 0;
}

.gs-swatches-sc-view--settings .gs-powerup-box.gs-look-feel {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* ---------- Header text ---------- */
.gs-swatches-sc-view--settings .gs-powerup-title {
	font-size: 22px;
	font-weight: 700;
	color: #111827;
	margin: 0;
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
}

.gs-swatches-sc-view--settings .gs-powerup-box > p {
	margin-bottom: 0 !important;
}

.gs-swatches-sc-view--settings .gs-page-intro {
	max-width: 760px;
	margin: -4px 0 0;
	color: #4b5563;
	font-size: 13.5px;
	line-height: 1.6;
}

.gs-swatches-sc-view--settings .gs-cascade-note {
	margin: 0;
	width: auto;
	max-width: none;
	padding: 10px 14px;
	border-radius: 8px;
	background: #f5f3ff;
	border: 1px solid #e4defd;
	border-left: 3px solid #7c5cff;
	color: #4c4672;
	font-size: 12.5px;
	line-height: 1.55;
}

.gs-swatches-sc-view--settings .gs-powerup-box > .gs-cascade-note + .gs-cascade-note {
	margin-top: -6px !important;
}

.gs-swatches-sc-view--settings .gs-powerup-box > .gs-cascade-note:has(+ .shortcode-setting--row) {
	margin-bottom: 6px !important;
}

/* ---------- Section headings ---------- */
.gs-swatches-sc-view--settings .gs-powerup-subtitle {
	margin: 22px 0 0 !important;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
	font-size: 16px;
	font-weight: 700;
	color: #111827;
}

.gs-swatches-sc-view--settings h4.gs-powerup-subtitle {
	border-top: 0;
	padding-top: 4px;
	margin-top: 8px !important;
	font-size: 14px;
	color: #374151;
}

/* ---------- Setting cards ---------- */
.gs-swatches-sc-view--settings .shortcode-setting--row {
	margin: 0 !important;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e5e7eb !important;
	border-radius: 10px;
	transition: border-color .15s, box-shadow .15s;
}

.gs-swatches-sc-view--settings .shortcode-setting--row:hover {
	border-color: #cfc6ff !important;
	box-shadow: 0 2px 8px rgba(17, 24, 39, .05);
}

.gs-swatches-sc-view--settings .shortcode-setting--row .pu-roow {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
}

.gs-swatches-sc-view--settings .shortcode-setting--row .pu-roow::before,
.gs-swatches-sc-view--settings .shortcode-setting--row .pu-roow::after {
	display: none;
}

.gs-swatches-sc-view--settings .shortcode-setting--row .pu-roow > [class*="col-"] {
	width: auto !important;
	max-width: 100% !important;
	flex: 0 0 auto;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Toggle rows: label left, switch right */
.gs-swatches-sc-view--settings .shortcode-setting--row:has(input[type="checkbox"]) .pu-roow {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.gs-swatches-sc-view--settings .shortcode-setting--row:has(input[type="checkbox"]) .pu-roow > [class*="col-"]:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.gs-swatches-sc-view--settings .shortcode-setting--row:has(input[type="checkbox"]) [class*="m-t-"] {
	margin-top: 0 !important;
}

/* Labels + help text */
.gs-swatches-sc-view--settings .shortcode-setting--row label.m-t-10 {
	margin: 0 !important;
	font-size: 13.5px;
	font-weight: 600;
	color: #1f2937;
	line-height: 1.4;
}

.gs-swatches-sc-view--settings .shortcode-setting--row .bi-text-help--area-d {
	margin: 3px 0 0;
}

.gs-swatches-sc-view--settings .shortcode-setting--row .bi-text-help {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #6b7280;
}

/* Inputs fill the card */
.gs-swatches-sc-view--settings .shortcode-setting--row .v-select,
.gs-swatches-sc-view--settings .shortcode-setting--row .bi-input-control {
	width: 100%;
	max-width: 100%;
	margin-top: 0 !important;
}

.gs-swatches-sc-view--settings .shortcode-setting--row .bi-input-control {
	height: 38px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 0 10px;
}

/* ---------- Sticky Save bar ---------- */
.gs-swatches-sc-view--settings .shortcode-setting--row:has(.btn-brand) {
	position: sticky;
	bottom: 12px;
	z-index: 20;
	align-self: end;
	display: flex;
	justify-content: flex-end;
	padding: 12px 16px;
	margin-top: 8px !important;
	box-shadow: 0 6px 24px rgba(17, 24, 39, .12);
}

.gs-swatches-sc-view--settings .shortcode-setting--row:has(.btn-brand) .pu-roow {
	display: contents;
}

.gs-swatches-sc-view--settings .shortcode-setting--row:has(.btn-brand) .btn-brand {
	padding: 9px 20px;
	font-size: 13.5px;
	border-radius: 7px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.gs-swatches-sc-view--settings .gs-powerup-box {
		grid-template-columns: 1fr;
	}

	.gs-swatches-sc-view--settings .gs-powerup-box.gs-look-feel,
	.gs-swatches-sc-view--settings .gs-powerup-box.gs-advanced {
		grid-template-columns: unset;
	}
}

/* ==========================================================
   Advanced Settings page layout
   Centered container, grouped sections, 2-column card grid,
   danger-styled uninstall option, sticky Save bar
   ========================================================== */

.gs-powerup-box.gs-advanced {
	max-width: 1240px !important;
	width: 100% !important;
	margin: 24px auto 40px !important;
}

.gs-powerup-box.gs-advanced > * + * {
	margin-top: 16px !important;
}

.gs-powerup-box.gs-advanced > .gs-look-feel__save-row {
	margin-top: 20px !important;
}

.gs-advanced .gs-look-feel__intro {
	margin: 0 0 4px;
}

.gs-advanced .gs-look-feel__intro .gs-powerup-title {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 700;
	color: #111827;
}

.gs-advanced .gs-look-feel__intro .gs-page-intro {
	margin: 0;
	color: #4b5563;
	font-size: 13.5px;
}

.gs-advanced .gs-style-group {
	padding: 18px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fafafb;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.gs-advanced .gs-style-group__head {
	grid-column: 1 / -1;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.gs-advanced .gs-style-group__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
}

.gs-advanced .gs-style-group > .shortcode-setting--row {
	margin: 0 !important;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e5e7eb !important;
	border-radius: 10px;
	transition: border-color .15s, box-shadow .15s;
}

.gs-advanced .gs-style-group > .shortcode-setting--row:hover {
	border-color: #cfc6ff !important;
	box-shadow: 0 2px 8px rgba(17, 24, 39, .05);
}

.gs-advanced .gs-style-group > .shortcode-setting--row:only-of-type,
.gs-advanced .gs-style-group > .shortcode-setting--row:last-of-type:nth-of-type(odd) {
	grid-column: 1 / -1;
}

.gs-advanced .shortcode-setting--row .pu-roow {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
}

.gs-advanced .shortcode-setting--row .pu-roow::before,
.gs-advanced .shortcode-setting--row .pu-roow::after {
	display: none;
}

.gs-advanced .shortcode-setting--row .pu-roow > [class*="col-"] {
	width: auto !important;
	max-width: 100% !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.gs-advanced .shortcode-setting--row:has(input[type="checkbox"]) .pu-roow {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.gs-advanced .shortcode-setting--row:has(input[type="checkbox"]) .pu-roow > [class*="col-"]:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.gs-advanced .shortcode-setting--row:has(input[type="checkbox"]) .gs-advanced__control {
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-end;
}

.gs-advanced .shortcode-setting--row label {
	margin: 0 !important;
	font-size: 13.5px;
	font-weight: 600;
	color: #1f2937;
	line-height: 1.4;
}

.gs-advanced .shortcode-setting--row .bi-text-help {
	margin: 3px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #6b7280;
}

.gs-advanced .shortcode-setting--row .v-select {
	width: 100%;
	max-width: 100%;
	margin-top: 0 !important;
}

.gs-advanced .shortcode-setting--row:has(#delete_data_on_uninstall) {
	border-color: #fecaca !important;
	background: #fffafa;
}

.gs-advanced .gs-look-feel__save-row {
	position: sticky;
	bottom: 12px;
	z-index: 20;
	display: flex;
	justify-content: flex-end;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 6px 24px rgba(17, 24, 39, .12);
}

.gs-advanced .gs-look-feel__save-row .btn-brand {
	padding: 9px 20px;
	font-size: 13.5px;
	border-radius: 7px;
}

@media (max-width: 860px) {
	.gs-advanced .gs-style-group {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================
   Look & feel page layout
   Styles tab: field style + shape side by side
   Colors & size tab: compact card grid
   Sticky Save bar
   ========================================================== */

.gs-powerup-box.gs-look-feel {
	max-width: 1240px !important;
	width: 100% !important;
	margin: 24px auto 40px !important;
}

.gs-look-feel .gs-look-feel-panel > .gs-style-group:not(:has(.gs-color-details)) {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
}

// Side column: same width in every group, also when it only holds a select (Radio layout).
.gs-look-feel .gs-look-feel-panel > .gs-style-group:has(.gs-style-group__desc):not(:has(.gs-color-details)) {
	grid-template-columns: minmax(0, 1fr) minmax(184px, auto);
}

.gs-look-feel .gs-look-feel-panel > .gs-style-group > .shortcode-setting--row .v-select {
	width: 100%;
	min-width: 0;
}

.gs-look-feel .gs-look-feel-panel > .gs-style-group > .gs-style-group__head,
.gs-look-feel .gs-look-feel-panel > .gs-style-group > footer {
	grid-column: 1 / -1;
}

.gs-look-feel .gs-look-feel-panel > .gs-style-group > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.gs-look-feel .gs-color-details__body {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin-top: 12px;
}

.gs-look-feel .gs-color-details__body > .shortcode-setting--row {
	grid-column: span 6;
	margin: 0 !important;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e5e7eb !important;
	border-radius: 10px;
}

.gs-look-feel .gs-color-details__body > .shortcode-setting--row:has(input[type="color"]):not(:has(.color-groups)) {
	grid-column: span 3;
}

.gs-look-feel .gs-color-details__body > .shortcode-setting--row:has(input[type="number"]) {
	grid-column: span 2;
}

.gs-look-feel .gs-color-details__body .pu-roow {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
}

.gs-look-feel .gs-color-details__body .pu-roow::before,
.gs-look-feel .gs-color-details__body .pu-roow::after {
	display: none;
}

.gs-look-feel .gs-color-details__body .pu-roow > [class*="col-"] {
	width: auto !important;
	max-width: 100% !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.gs-look-feel .gs-color-details__body label.m-t-10 {
	margin: 0 !important;
	font-size: 13.5px;
	font-weight: 600;
	color: #1f2937;
}

.gs-look-feel .gs-color-details__body .bi-text-help {
	margin: 3px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #6b7280;
}

.gs-look-feel .gs-color-details__body .color-groups {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.gs-look-feel .gs-color-details__body .bi-input-control {
	width: 100%;
	max-width: 100%;
	height: 38px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 0 10px;
}

.gs-look-feel .gs-look-feel__save-row {
	position: sticky;
	bottom: 12px;
	z-index: 20;
	display: flex;
	justify-content: flex-end;
	margin-top: 20px !important;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 6px 24px rgba(17, 24, 39, .12);
}

.gs-look-feel .gs-look-feel__save-row .btn-brand {
	padding: 9px 20px;
	font-size: 13.5px;
	border-radius: 7px;
}

@media (max-width: 1100px) {
	.gs-look-feel .gs-look-feel-panel > .gs-style-group:not(:has(.gs-color-details)) {
		grid-template-columns: 1fr !important;
	}

	.gs-look-feel .gs-color-details__body > .shortcode-setting--row:has(input[type="color"]):not(:has(.color-groups)) {
		grid-column: span 6;
	}

	.gs-look-feel .gs-color-details__body > .shortcode-setting--row:has(input[type="number"]) {
		grid-column: span 3;
	}
}

@media (max-width: 782px) {
	.gs-look-feel .gs-color-details__body > .shortcode-setting--row {
		grid-column: span 6 !important;
	}

	.gs-look-feel .gs-color-details__body .color-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.gs-powerup-loader {
	display: none;
}

.gs-swatches-sc-container--list {
	width: 100%;
}

.gs-swatches-sc-panel {
	width: 100%;
}


/* Buttons, inputs and selects inside the dashboard */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: none;
	border-radius: 4px;
	padding: 8px 14px;
	cursor: pointer;
	text-decoration: none;
	font-size: 13px;
	line-height: 1.2;

	&-brand {
		background: linear-gradient(135deg, #8b3dff 0%, #573ef4 100%);
		color: #fff;
		box-shadow: 0 6px 14px -6px rgba(87, 62, 244, .55);
		transition: filter .15s, box-shadow .15s;

		&:hover,
		&:focus {
			color: #fff;
			filter: brightness(1.06);
			box-shadow: 0 8px 18px -6px rgba(87, 62, 244, .65);
		}

		&:disabled {
			background: #ece9fb;
			color: #8f88c0;
			box-shadow: none;
			filter: none;
			opacity: 1;
			cursor: not-allowed;
		}
	}

	&-sm {
		padding: 6px 12px;
	}
}

.gs-swatches-sc-spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: gs-swatches-spin 0.7s linear infinite;

	&--lg {
		width: 22px;
		height: 22px;
		border-color: rgba(87, 62, 244, 0.25);
		border-top-color: #573ef4;
	}
}

@keyframes gs-swatches-spin {
	to {
		transform: rotate(360deg);
	}
}

.bi-input-control {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
}

.bi-text-help {
	margin: 0 0 8px;
	color: #6b7280;
	font-size: 13px;
}

.gs-swatches-sc-field-error {
	margin: 6px 0 0;
	color: #b32d2e;
	font-size: 12px;
}

.shortcode-setting--row.has-error {
	.bi-input-control,
	.v-select .dropdown-toggle {
		border-color: #b32d2e;
	}
}

/* v-select: readable options on light dropdown (admin.css may load too) */
.gs-swatches-shortcode-app-wrap {
	.v-select .dropdown-menu {
		background: #fff;
	}

	.v-select li > a {
		color: #1d2327 !important;
	}

	.v-select .dropdown-menu .active > a,
	.v-select .dropdown-menu > .highlight > a {
		color: #fff !important;
	}

	.v-select .selected-tag {
		color: #1d2327;
	}
}

.gs-swatches-sc-ready-msg {
	margin: 0;
	padding: 10px 12px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 6px;
	color: #065f46;
	font-size: 13px;
	font-weight: 500;
}

/* Shop & Catalog wraps its rows in .gs-settings-layout__main (beside the card
   preview): give that column the same card grid and spacing as other pages. */
.gs-swatches-sc-view--settings .gs-powerup-box:has(> .gs-settings-layout) {
	display: block;
}

.gs-swatches-sc-view--settings .gs-settings-layout__main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
	align-items: stretch;
	align-content: start;
}

.gs-swatches-sc-view--settings .gs-settings-layout__main > *:not(.shortcode-setting--row),
.gs-swatches-sc-view--settings .gs-settings-layout__main > .shortcode-setting--row:has(.btn-brand) {
	grid-column: 1 / -1;
}

.gs-swatches-sc-view--settings .gs-settings-layout__main > p {
	margin-bottom: 0 !important;
}

.gs-swatches-sc-view--settings .gs-settings-layout__main > .gs-cascade-note + .gs-cascade-note {
	margin-top: -6px !important;
}

.gs-swatches-sc-view--settings .gs-settings-layout__main > .gs-cascade-note:has(+ .shortcode-setting--row) {
	margin-bottom: 6px !important;
}

@media (max-width: 960px) {
	.gs-swatches-sc-view--settings .gs-settings-layout__main {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Attribute order row spans both columns of the Shop & Catalog grid (its list is tall). */
.gs-swatches-sc-view--settings .gs-settings-layout__main > .gs-attr-order-row {
	grid-column: 1 / -1;
}

/* Header: "Upgrade to Pro" / "Activate License" on the right, lock icon on Pro tabs. */
.gs-swatches-sc-header__action {
	flex: 0 0 auto;
}

/* With the button, the nav shrinks (its tabs wrap) instead of pushing the button to a new line. */
@media (min-width: 783px) {
	.gs-swatches-sc-header__inner:has(.gs-swatches-sc-header__action) {
		flex-wrap: nowrap;

		.gs-swatches-sc-nav {
			flex: 1 1 0;
		}
	}
}

.gs-swatches-sc-upgrade {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 8px;
	background: linear-gradient(135deg, #8b3dff 0%, #573ef4 100%);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(87, 62, 244, 0.35);
	transition: transform .15s ease, box-shadow .15s ease;

	&:hover {
		transform: translateY(-1px);
		box-shadow: 0 8px 22px rgba(87, 62, 244, 0.45);
	}

	&:focus-visible {
		outline: 2px solid #fff;
		outline-offset: 2px;
	}
}

.gs-swatches-sc-nav__lock {
	margin-left: 6px;
	font-size: 10px;
	opacity: 0.7;
}

/* Locked Pro tab (Shortcodes / Create New without Pro). */
.gs-pro-locked {
	padding: 28px 24px 40px;
	background: #fff;
	border-radius: 0 0 10px 10px;
}

.gs-pro-locked__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 32px;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px;
	border: 1px solid #e7e2ff;
	border-radius: 16px;
	background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
	box-shadow: 0 18px 50px rgba(87, 62, 244, 0.08);

	@media (max-width: 900px) {
		grid-template-columns: minmax(0, 1fr);
		padding: 24px;
	}
}

.gs-pro-locked__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f0edff;
	color: #573ef4;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.gs-pro-locked__title {
	margin: 0 0 8px;
	font-size: 24px;
	line-height: 1.25;
	color: #1c1629;
}

.gs-pro-locked__desc {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.6;
	color: #5b5868;
}

.gs-pro-locked__list {
	display: grid;
	gap: 10px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;

	li {
		display: flex;
		align-items: flex-start;
		gap: 10px;
		margin: 0;
		font-size: 14px;
		color: #1c1629;
	}

	i {
		flex: none;
		margin-top: 3px;
		color: #16a34a;
	}
}

.gs-pro-locked__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.gs-pro-locked__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 10px;
	background: linear-gradient(135deg, #8b3dff 0%, #573ef4 100%);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(87, 62, 244, 0.3);

	&:hover {
		filter: brightness(1.05);
	}

	&:focus-visible {
		outline: 2px solid #1c1629;
		outline-offset: 2px;
	}
}

.gs-pro-locked__secondary {
	font-size: 13px;
	color: #5b5868;
	text-decoration: underline;
}

.gs-pro-locked__note {
	margin: 12px 0 0;
	font-size: 12px;
	color: #6b7280;
}

/* Drawn preview */
.gs-pro-locked__preview {
	position: relative;
	padding: 18px;
	border: 1px solid #ece9f7;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(28, 22, 41, 0.06);
	filter: saturate(0.9);
}

.gs-pro-locked__badge {
	position: absolute;
	top: -10px;
	right: 16px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #1c1629;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
}

.gs-pro-locked__mock-toolbar {
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}

.gs-pro-locked__mock-search {
	width: 46%;
	height: 28px;
	border-radius: 6px;
	background: #f3f4f6;
}

.gs-pro-locked__mock-btn {
	width: 92px;
	height: 28px;
	border-radius: 6px;
	background: #2271b1;
	opacity: .85;
}

.gs-pro-locked__mock-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 4px;
	border-top: 1px solid #f1f1f4;
}

.gs-pro-locked__mock-check {
	width: 14px;
	height: 14px;
	border-radius: 3px;
	border: 1px solid #d1d5db;
}

.gs-pro-locked__mock-name {
	height: 10px;
	border-radius: 5px;
	background: #d9d6e8;
}

.gs-pro-locked__mock-code {
	flex: 1;
	height: 10px;
	border-radius: 5px;
	background: #eef0f4;
}

.gs-pro-locked__mock-status {
	width: 46px;
	height: 18px;
	border-radius: 999px;
	background: #dcfce7;
}

.gs-pro-locked__mock-split {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 14px;
}

.gs-pro-locked__mock-panel {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	align-content: start;
}

.gs-pro-locked__mock-tab {
	height: 8px;
	border-radius: 4px;
	background: #d9d6e8;
}

.gs-pro-locked__mock-field {
	grid-column: 1 / -1;
	height: 26px;
	border-radius: 6px;
	background: #f3f4f6;
}

.gs-pro-locked__mock-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.gs-pro-locked__mock-card {
	display: grid;
	gap: 6px;
	justify-items: center;
	padding: 8px;
	border: 1px solid #f1f1f4;
	border-radius: 8px;
}

.gs-pro-locked__mock-img {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 6px;
	background: linear-gradient(135deg, #ece8ff, #f7f5ff);
}

.gs-pro-locked__mock-line {
	width: 70%;
	height: 7px;
	border-radius: 4px;
	background: #d9d6e8;
}

.gs-pro-locked__mock-dots {
	display: flex;
	gap: 4px;

	i {
		width: 10px;
		height: 10px;
		border-radius: 50%;
		background: #8b3dff;

		&:nth-child(2) {
			background: #f59e0b;
		}

		&:nth-child(3) {
			background: #16a34a;
		}
	}
}

.gs-pro-locked__mock-cart {
	width: 70%;
	height: 14px;
	border-radius: 999px;
	background: #1c1629;
}

/* Pro-only settings row while Pro is not active / licensed: dimmed, inert, PRO badge. */
.shortcode-setting--row {
	position: relative;
}

.gs-pro-row__body {
	display: contents;
}

.shortcode-setting--row.is-pro-locked {
	background: #fbfaff;

	.gs-pro-row__body > * {
		opacity: 0.55;
		filter: grayscale(0.2);
	}
}

.gs-pro-row__badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #1c1629;
	color: #fff !important;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.4;
	text-decoration: none;

	i {
		font-size: 9px;
	}

	&:hover {
		background: #573ef4;
	}

	&:focus-visible {
		outline: 2px solid #573ef4;
		outline-offset: 2px;
	}
}

/* Locked block (not a row), e.g. Card looks. */
.gs-pro-block {
	position: relative;

	&.is-pro-locked .gs-pro-row__body > * {
		opacity: 0.55;
		filter: grayscale(0.2);
	}
}

/* ------------------------------------------------------------------
   Setup wizard (#/welcome)
   ------------------------------------------------------------------ */
.gs-welcome {
	--gs-wz-brand: #573ef4;
	--gs-wz-ink: #1c1629;
	--gs-wz-muted: rgba(28, 22, 41, 0.6);
	--gs-wz-line: rgba(28, 22, 41, 0.1);

	max-width: 1240px;
	margin: 8px auto 40px;
	color: var(--gs-wz-ink);

	.btn {
		min-height: 40px;
		padding: 0 18px;
		border-radius: 8px;
		font-size: 14px;
		font-weight: 600;
		justify-content: center;
	}

	.btn-brand {
		background: var(--gs-wz-brand);

		&:hover,
		&:focus {
			background: #4530d6;
		}
	}

	.btn-ghost {
		background: transparent;
		color: var(--gs-wz-ink);
		border: 1px solid var(--gs-wz-line);

		&:hover,
		&:focus {
			background: rgba(28, 22, 41, 0.04);
			color: var(--gs-wz-ink);
		}
	}
}

.gs-welcome__card {
	background: #fff;
	border: 1px solid var(--gs-wz-line);
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(28, 22, 41, 0.06);
	padding: 28px 32px;
}

.gs-welcome__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.gs-welcome__eyebrow {
	margin: 0 0 4px;
	color: var(--gs-wz-brand);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gs-welcome__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
}

.gs-welcome__skip {
	border: 0;
	background: none;
	color: var(--gs-wz-muted);
	font-size: 13px;
	cursor: pointer;
	padding: 6px 0;

	&:hover {
		color: var(--gs-wz-ink);
		text-decoration: underline;
	}
}

/* Progress */
.gs-welcome__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 22px 0 26px;
	padding: 0;
	list-style: none;

	li {
		position: relative;
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0;
		padding-top: 10px;
		color: var(--gs-wz-muted);
		font-size: 13px;
		font-weight: 600;

		&::before {
			content: "";
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			height: 4px;
			border-radius: 4px;
			background: var(--gs-wz-line);
		}

		&.is-done::before,
		&.is-current::before {
			background: var(--gs-wz-brand);
		}

		&.is-current {
			color: var(--gs-wz-ink);
		}
	}
}

.gs-welcome__step-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	border-radius: 50%;
	background: rgba(28, 22, 41, 0.06);
	font-size: 11px;

	.is-current & {
		background: var(--gs-wz-brand);
		color: #fff;
	}

	.is-done & {
		background: rgba(87, 62, 244, 0.12);
		color: var(--gs-wz-brand);
	}
}

.gs-welcome__loading {
	padding: 60px 0;
	text-align: center;
	color: var(--gs-wz-muted);
}

.gs-welcome__h2 {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
}

.gs-welcome__lead {
	margin: 0 0 20px;
	color: var(--gs-wz-muted);
	font-size: 14px;
}

.gs-welcome__note,
.gs-welcome__hint {
	margin: 14px 0 0;
	color: var(--gs-wz-muted);
	font-size: 13px;

	i {
		color: var(--gs-wz-brand);
		margin-right: 4px;
	}
}

.gs-welcome__link {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
}

.gs-welcome__tag {
	display: inline-flex;
	align-items: center;
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(87, 62, 244, 0.1);
	color: var(--gs-wz-brand);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;

	&.is-muted {
		background: rgba(28, 22, 41, 0.06);
		color: var(--gs-wz-muted);
	}
}

/* Choice cards (looks, product card) */
.gs-welcome__looks,
.gs-welcome__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
}

.gs-welcome__cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 18px;

	&.is-off {
		opacity: 0.45;
	}
}

.gs-welcome__look,
.gs-welcome__mode {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 14px;
	border: 1px solid var(--gs-wz-line);
	border-radius: 12px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;

	&:hover {
		border-color: rgba(87, 62, 244, 0.45);
	}

	&.is-on {
		border-color: var(--gs-wz-brand);
		box-shadow: 0 0 0 3px rgba(87, 62, 244, 0.15);
	}

	&:focus-visible {
		outline: 2px solid var(--gs-wz-brand);
		outline-offset: 2px;
	}

	&:disabled {
		cursor: not-allowed;
	}
}

.gs-welcome__look-preview {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin-bottom: 6px;
	padding: 14px;
	border-radius: 8px;
	background: #f7f7f9;
	pointer-events: none;

	.gs-variable-items-wrapper {
		justify-content: flex-start;
		flex-wrap: nowrap;
	}
}

.gs-welcome__look-name {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;

	i {
		color: rgba(28, 22, 41, 0.25);
		font-size: 14px;

		.is-on & {
			color: var(--gs-wz-brand);
		}
	}
}

.gs-welcome__look-desc {
	color: var(--gs-wz-muted);
	font-size: 12px;
	line-height: 1.45;
}

/* Attributes */
.gs-welcome__empty {
	padding: 28px;
	border: 1px dashed rgba(87, 62, 244, 0.35);
	border-radius: 12px;
	background: rgba(87, 62, 244, 0.03);
	text-align: center;

	> i {
		font-size: 28px;
		color: var(--gs-wz-brand);
	}

	p {
		margin: 8px auto;
		max-width: 460px;
		color: var(--gs-wz-muted);
	}

	strong {
		color: var(--gs-wz-ink);
		font-size: 15px;
	}

	.btn {
		margin-top: 8px;
	}

	.gs-welcome__link {
		display: block;
	}
}

.gs-welcome__attr {
	padding: 16px 0;
	border-top: 1px solid var(--gs-wz-line);

	&:first-of-type {
		border-top: 0;
		padding-top: 0;
	}
}

.gs-welcome__attr-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;

	h3 {
		margin: 0;
		font-size: 15px;
	}

	p {
		margin: 2px 0 0;
		color: var(--gs-wz-muted);
		font-size: 12px;
	}
}

.gs-welcome__types {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.gs-welcome__type {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid var(--gs-wz-line);
	border-radius: 999px;
	background: #fff;
	color: var(--gs-wz-ink);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;

	i {
		color: var(--gs-wz-muted);
	}

	&:hover {
		border-color: rgba(87, 62, 244, 0.45);
	}

	&.is-on {
		border-color: var(--gs-wz-brand);
		background: var(--gs-wz-brand);
		color: #fff;

		i {
			color: #fff;
		}

		.gs-welcome__tag {
			background: rgba(255, 255, 255, 0.2);
			color: #fff;
		}
	}
}

.gs-welcome__colors {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;

	.gs-welcome__hint {
		flex-basis: 100%;
		margin: 0 0 4px;
	}
}

.gs-welcome__color {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 10px 4px 4px;
	border: 1px solid var(--gs-wz-line);
	border-radius: 999px;
	font-size: 13px;
	cursor: pointer;

	input[type="color"] {
		width: 26px;
		height: 26px;
		padding: 0;
		border: 1px solid rgba(28, 22, 41, 0.15);
		border-radius: 50%;
		background: none;
		cursor: pointer;
		overflow: hidden;

		&::-webkit-color-swatch-wrapper {
			padding: 0;
		}

		&::-webkit-color-swatch {
			border: 0;
			border-radius: 50%;
		}

		&::-moz-color-swatch {
			border: 0;
			border-radius: 50%;
		}
	}
}

/* Shop step */
.gs-welcome__switch {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--gs-wz-line);
	border-radius: 12px;
	cursor: pointer;

	input {
		position: absolute;
		opacity: 0;
		pointer-events: none;
	}

	strong {
		display: block;
		font-size: 14px;
	}

	small {
		color: var(--gs-wz-muted);
		font-size: 12px;
	}
}

.gs-welcome__switch-ui {
	position: relative;
	flex: 0 0 40px;
	width: 40px;
	height: 22px;
	border-radius: 999px;
	background: rgba(28, 22, 41, 0.2);
	transition: background .15s ease;

	&::after {
		content: "";
		position: absolute;
		top: 3px;
		left: 3px;
		width: 16px;
		height: 16px;
		border-radius: 50%;
		background: #fff;
		transition: transform .15s ease;
	}

	input:checked + & {
		background: var(--gs-wz-brand);

		&::after {
			transform: translateX(18px);
		}
	}

	input:focus-visible + & {
		outline: 2px solid var(--gs-wz-brand);
		outline-offset: 2px;
	}
}

.gs-welcome__mock {
	display: flex;
	flex-direction: column;
	gap: 7px;
	width: 100%;
	margin-bottom: 6px;
	padding: 12px;
	border-radius: 8px;
	background: #f7f7f9;
}

.gs-welcome__mock-img {
	height: 70px;
	border-radius: 4px;
	background: rgba(28, 22, 41, 0.1);
}

.gs-welcome__mock-line {
	width: 60%;
	height: 7px;
	border-radius: 4px;
	background: rgba(28, 22, 41, 0.2);
}

.gs-welcome__mock-dots {
	display: flex;
	gap: 4px;

	i {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background: #e85d4c;

		&:nth-child(2) {
			background: #3d7ea6;
		}

		&:nth-child(3) {
			background: #2f9e6e;
		}
	}
}

.gs-welcome__mock-btn {
	width: 44%;
	height: 14px;
	border-radius: 4px;
	background: rgba(28, 22, 41, 0.18);
}

.gs-welcome__mock--plugin {
	align-items: center;
	border: 1px solid rgba(28, 22, 41, 0.12);
	background: #fff;

	.gs-welcome__mock-img {
		width: 100%;
	}

	.gs-welcome__mock-btn {
		border-radius: 999px;
	}
}

/* Done */
.gs-welcome__done {
	text-align: center;
}

.gs-welcome__done-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: rgba(87, 62, 244, 0.12);
	color: var(--gs-wz-brand);
	font-size: 24px;
}

.gs-welcome__summary {
	max-width: 520px;
	margin: 0 auto 22px;
	padding: 0;
	list-style: none;
	text-align: left;

	li {
		display: flex;
		align-items: baseline;
		gap: 10px;
		flex-wrap: wrap;
		margin: 0;
		padding: 10px 0;
		border-top: 1px solid var(--gs-wz-line);
		font-size: 14px;

		> i {
			color: #1f9d55;
		}

		&.is-todo > i {
			color: #d97706;
		}

		> span {
			flex: 1;
		}

		a {
			font-size: 13px;
			font-weight: 600;
		}
	}
}

.gs-welcome__done-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* Footer */
.gs-welcome__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--gs-wz-line);
}

@media (max-width: 600px) {
	.gs-welcome__card {
		padding: 20px 18px;
	}

	.gs-welcome__step-label {
		display: none;
	}

	.gs-welcome__cards {
		grid-template-columns: 1fr;
	}
}

/* Wizard: picked Image but no option has a photo yet. */
.gs-welcome__hint.is-warning {
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff7e6;
	color: #8a5a00;

	i {
		color: #d97706;
	}
}

/* Wizard: make a sample product when none uses the swatches yet. */
.gs-welcome__sample {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	max-width: 620px;
	margin: 0 auto 22px;
	padding: 16px 18px;
	border: 1px dashed rgba(87, 62, 244, 0.4);
	border-radius: 12px;
	background: rgba(87, 62, 244, 0.04);
	text-align: left;

	strong {
		display: block;
		font-size: 14px;
	}

	p {
		margin: 4px 0 0;
		color: var(--gs-wz-muted);
		font-size: 13px;
	}
}

.gs-welcome__sample-actions {
	display: flex;
	flex-direction: column;
	align-items: center;

	.gs-welcome__link {
		margin-top: 6px;
	}
}

/* Wizard attribute step: one tidy row per attribute. */
.gs-welcome__attrs {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--gs-wz-line);
	border-radius: 12px;
	overflow: hidden;

	.gs-welcome__attr {
		margin: 0;
		padding: 14px 16px;
		border-top: 1px solid var(--gs-wz-line);

		&:first-child {
			border-top: 0;
			padding-top: 14px;
		}
	}
}

.gs-welcome__attr-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.gs-welcome__attr-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(87, 62, 244, 0.08);
	color: var(--gs-wz-brand);
	font-size: 15px;
}

.gs-welcome__attr-info {
	flex: 0 0 150px;
	min-width: 0;

	h3 {
		margin: 0;
		font-size: 14px;
		font-weight: 700;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	p {
		margin: 2px 0 0;
		color: var(--gs-wz-muted);
		font-size: 12px;
	}
}

.gs-welcome__attr-preview {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.gs-welcome__dot {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(28, 22, 41, 0.15);

	&.is-empty {
		background: repeating-linear-gradient(45deg, #fff, #fff 3px, rgba(28, 22, 41, 0.08) 3px, rgba(28, 22, 41, 0.08) 6px);
		box-shadow: inset 0 0 0 1px rgba(28, 22, 41, 0.2);
	}
}

.gs-welcome__thumb {
	width: 24px;
	height: 24px;
	border-radius: 4px;
	object-fit: cover;
}

.gs-welcome__chip {
	flex: 0 0 auto;
	padding: 2px 8px;
	border: 1px solid var(--gs-wz-line);
	border-radius: 6px;
	color: var(--gs-wz-ink);
	font-size: 12px;
	line-height: 18px;
	white-space: nowrap;
}

.gs-welcome__select {
	flex: 0 0 170px;
	margin: 0;

	select {
		width: 100%;
		min-height: 36px;
		padding: 0 28px 0 10px;
		border: 1px solid rgba(28, 22, 41, 0.2);
		border-radius: 8px;
		font-size: 13px;
		font-weight: 600;
		color: var(--gs-wz-ink);
		cursor: pointer;

		&:focus {
			border-color: var(--gs-wz-brand);
			box-shadow: 0 0 0 2px rgba(87, 62, 244, 0.2);
			outline: none;
		}
	}
}

.gs-welcome__attr-detail {
	margin: 10px 0 0 50px;

	.gs-welcome__hint {
		margin: 0 0 8px;
	}
}

.gs-welcome__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--gs-wz-brand);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;

	&:hover {
		text-decoration: underline;
	}

	i {
		font-size: 11px;
	}
}

.gs-welcome__attrs .gs-welcome__colors {
	margin-top: 10px;
}

.gs-welcome__attrs .gs-welcome__color {
	padding: 3px 10px 3px 3px;
	font-size: 12px;

	input[type="color"] {
		width: 22px;
		height: 22px;
	}

	&.is-empty {
		border-style: dashed;
		border-color: rgba(28, 22, 41, 0.25);
	}
}

@media (max-width: 700px) {
	.gs-welcome__attr-row {
		flex-wrap: wrap;
	}

	.gs-welcome__attr-preview {
		order: 3;
		flex-basis: 100%;
		padding-left: 50px;
	}

	.gs-welcome__select {
		flex: 1 1 140px;
	}

	.gs-welcome__attr-detail {
		margin-left: 0;
	}
}

.gs-welcome .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Look & feel style groups: the label and the picker are stacked here, so the row is a
   plain block. As a wrapping flex row, Chrome sized the grid row for the picker at its
   narrowest (one card per line) and left a tall empty gap under every group. */
.gs-look-feel .gs-style-group > .shortcode-setting--row > .pu-roow {
	display: block;
}

/* The shape box sits next to the styles box; it keeps its own height, no empty tail. */
.gs-look-feel .gs-style-group {
	align-items: start;
}

/* Shop & Catalog / shortcode builder: attributes kept off the cards. */
.gs-hidden-attrs-note {
	display: flex;
	gap: 6px;
	margin: 8px 0 0;
	padding: 8px 10px;
	border-radius: 6px;
	background: rgba(87, 62, 244, 0.06);
	color: #3f3a4d;
	font-size: 12px;
	line-height: 1.45;

	i {
		margin-top: 2px;
		color: #573ef4;
	}
}

// Go Pro page (#/go-pro).
@import "./styles-partials/go-pro";


/* ==========================================================
   Settings tabs polish (Look & feel, Advanced, Product Page,
   Shop & Catalog): one width, crisper text, consistent cards.
   Visual only.
   ========================================================== */

$gs_ink       : #1d2327;
$gs_ink_soft  : #50575e;
$gs_line      : #e4e2ec;
$gs_line_soft : #ecebf2;
$gs_brand     : #573ef4;
$gs_tint      : #f5f3ff;
$gs_group_bg  : #fbfaff;

.gs-swatches-sc-view--settings {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	// One-line Pro note above the settings.
	.gs-pro-note {
		display: flex;
		align-items: center;
		gap: 14px;
		max-width: 1240px;
		margin: 0 auto 20px;
		padding: 10px 10px 10px 16px;
		background: $gs_tint;
		border: 1px solid #e2dafd;
		border-radius: 10px;
	}

	.gs-pro-note__text {
		flex: 1;
		min-width: 0;
		margin: 0;
		font-size: 13px;
		line-height: 1.5;
		color: $gs_ink;
	}

	.gs-pro-note__link {
		flex-shrink: 0;
		font-size: 13px;
		font-weight: 600;
		color: $gs_brand;
		text-decoration: none;

		&:hover,
		&:focus {
			text-decoration: underline;
		}
	}

	.gs-pro-note__close {
		flex-shrink: 0;
		width: 28px;
		height: 28px;
		padding: 0;
		border: 0;
		border-radius: 6px;
		background: none;
		color: #6b7280;
		cursor: pointer;

		&:hover,
		&:focus-visible {
			background: #e9e3ff;
			color: $gs_ink;
		}
	}

	@media (max-width: 600px) {
		.gs-pro-note {
			flex-wrap: wrap;
			gap: 6px 12px;
		}

		.gs-pro-note__text {
			flex: 1 1 calc(100% - 48px);
		}

		.gs-pro-note__close {
			order: 1;
		}

		.gs-pro-note__link {
			order: 2;
		}
	}

	// The setup checklist lines up with the settings below it.
	.gs-setup-checklist {
		max-width: 1240px;
		margin-left: auto;
		margin-right: auto;
	}

	.gs-setup-checklist__card {
		border-color: $gs_line;
		box-shadow: 0 1px 2px rgba(29, 23, 58, .04);
	}

	// Titles and intro text
	.gs-powerup-title,
	.gs-look-feel__intro .gs-powerup-title {
		color: $gs_ink;
		letter-spacing: -0.01em;
	}

	.gs-page-intro,
	.gs-look-feel__intro .gs-page-intro {
		color: $gs_ink_soft;
	}

	// Groups and cards
	.gs-style-group {
		background: $gs_group_bg;
		border: 1px solid $gs_line !important;
		border-radius: 12px;
		box-shadow: 0 1px 2px rgba(29, 23, 58, .04);
	}

	.gs-style-group__title {
		color: $gs_ink;
	}

	.gs-style-group__desc {
		color: $gs_ink_soft;
	}

	.shortcode-setting--row {
		background: #fff;
		border-color: $gs_line !important;
		box-shadow: 0 1px 2px rgba(29, 23, 58, .04);

		&:hover {
			border-color: #d6cdfc !important;
			box-shadow: 0 4px 12px -4px rgba(60, 20, 120, .12);
		}
	}

	// Labels and help text
	.shortcode-setting--row label,
	.shortcode-setting--row label.m-t-10 {
		color: $gs_ink;
	}

	.shortcode-setting--row .bi-text-help,
	.bi-text-help {
		color: $gs_ink_soft;
	}

	// Inputs
	.shortcode-setting--row .bi-input-control,
	.vs__dropdown-toggle {
		border-color: #d5d3e0;
		transition: border-color .15s, box-shadow .15s;
	}

	.shortcode-setting--row .bi-input-control:focus,
	.vs--open .vs__dropdown-toggle {
		border-color: $gs_brand;
		box-shadow: 0 0 0 3px rgba(87, 62, 244, .12);
		outline: none;
	}

	// Notes
	.gs-cascade-note {
		background: $gs_tint;
		border-color: #e6e0fd;
		border-left-color: $gs_brand;
		color: #3f3a63;
	}

	// Save bars
	.shortcode-setting--row:has(.btn-brand),
	.gs-look-feel__save-row {
		border: 1px solid $gs_line !important;
		box-shadow: 0 10px 30px -10px rgba(29, 23, 58, .22);

		&:hover {
			border-color: $gs_line !important;
		}
	}

	.shortcode-setting--row:has(.btn-brand) .btn-brand,
	.gs-look-feel__save-row .btn-brand {
		border-radius: 8px;
		font-weight: 600;
	}
}

