.nexsync-showcase {
	--nexsync-accent: #ff6b00;
	--nexsync-accent-dark: #dc5600;
	--nexsync-text: #171717;
	--nexsync-muted: #6e6e73;
	--nexsync-border: rgba(23, 23, 23, 0.09);
	--nexsync-surface: #f5f5f7;
	--nexsync-card: #fff;
	--nexsync-gap: 24px;
	--nexsync-radius: 24px;
	width: 100%;
	color: var(--nexsync-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.nexsync-showcase,
.nexsync-showcase * {
	box-sizing: border-box;
}

.nexsync-showcase [hidden] {
	display: none !important;
}

/* Storefront controls */
.nexsync-showcase .nexsync-toolbar {
	display: grid !important;
	grid-template-columns: minmax(220px, 280px) minmax(430px, 1fr) minmax(210px, 270px) !important;
	align-items: center !important;
	gap: 18px !important;
	margin: 0 0 34px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.nexsync-showcase .nexsync-search,
.nexsync-showcase .nexsync-sort-wrap {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--nexsync-text) !important;
	background: transparent !important;
	border: 0 !important;
}

.nexsync-showcase .nexsync-search svg {
	position: absolute;
	z-index: 2;
	left: 17px;
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	opacity: 0.55;
	pointer-events: none;
}

.nexsync-showcase .nexsync-search-input,
.nexsync-showcase .nexsync-sort {
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	margin: 0 !important;
	border: 1px solid var(--nexsync-border) !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.92) !important;
	color: var(--nexsync-text) !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.035) !important;
	font: inherit !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.nexsync-showcase .nexsync-search-input {
	padding: 0 18px 0 46px !important;
}

.nexsync-showcase .nexsync-search-input::placeholder {
	color: #86868b !important;
	opacity: 1 !important;
}

.nexsync-showcase .nexsync-search-input:focus,
.nexsync-showcase .nexsync-sort:focus {
	outline: none !important;
	border-color: rgba(255, 107, 0, 0.55) !important;
	box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1) !important;
}

.nexsync-showcase .nexsync-filter-pills {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 8px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nexsync-showcase .nexsync-filter-button {
	appearance: none !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 9px 15px !important;
	border: 1px solid var(--nexsync-border) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--nexsync-text) !important;
	box-shadow: none !important;
	font: inherit !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-transform: none !important;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.nexsync-showcase .nexsync-filter-button:hover {
	border-color: rgba(255, 107, 0, 0.5) !important;
	color: var(--nexsync-accent-dark) !important;
	transform: translateY(-1px);
}

.nexsync-showcase .nexsync-filter-button.is-active {
	border-color: var(--nexsync-accent) !important;
	background: var(--nexsync-accent) !important;
	color: #fff !important;
}

.nexsync-showcase .nexsync-sort-wrap {
	gap: 9px !important;
}

.nexsync-showcase .nexsync-sort-wrap > span {
	flex: 0 0 auto !important;
	color: var(--nexsync-muted) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
}

.nexsync-showcase .nexsync-sort {
	flex: 1 1 auto !important;
	padding: 0 42px 0 16px !important;
}

/* Premium product grid */
.nexsync-showcase .nexsync-products-grid {
	display: grid !important;
	grid-template-columns: repeat(var(--nexsync-columns), minmax(0, 1fr)) !important;
	align-items: stretch !important;
	gap: var(--nexsync-gap) !important;
	width: 100% !important;
}

.nexsync-showcase .nexsync-product-card {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	min-width: 0 !important;
	height: 100% !important;
	margin: 0 !important;
	overflow: hidden !important;
	border: 1px solid var(--nexsync-border) !important;
	border-radius: var(--nexsync-radius) !important;
	background: var(--nexsync-card) !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
	isolation: isolate;
	transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.32s ease, border-color 0.32s ease !important;
}

.nexsync-showcase .nexsync-product-card:hover {
	border-color: rgba(23, 23, 23, 0.14) !important;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.11) !important;
	transform: translateY(-6px) !important;
}

.nexsync-showcase .nexsync-product-media {
	position: relative !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	aspect-ratio: 4 / 5 !important;
	margin: 0 !important;
	overflow: hidden !important;
	background: var(--nexsync-surface) !important;
}

.nexsync-showcase .nexsync-product-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.08), transparent 30%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.nexsync-showcase .nexsync-product-card:hover .nexsync-product-media::after {
	opacity: 1;
}

.nexsync-showcase .nexsync-product-media img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
	transform: scale(1.001);
	transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
}

.nexsync-showcase .nexsync-product-card:hover .nexsync-product-media img {
	transform: scale(1.045);
}

.nexsync-showcase .nexsync-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f7f7f8, #eaeaed);
}

.nexsync-showcase .nexsync-product-badge {
	position: absolute !important;
	z-index: 3 !important;
	top: 14px !important;
	left: 14px !important;
	margin: 0 !important;
	padding: 7px 10px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(255, 107, 0, 0.94) !important;
	color: #fff !important;
	box-shadow: 0 5px 18px rgba(125, 51, 0, 0.18) !important;
	font: inherit !important;
	font-size: 10px !important;
	font-weight: 750 !important;
	line-height: 1 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	backdrop-filter: blur(10px);
}

.nexsync-showcase .nexsync-favorite {
	position: absolute !important;
	z-index: 4 !important;
	top: 12px !important;
	right: 12px !important;
	display: grid !important;
	place-items: center !important;
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.55) !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.84) !important;
	color: #171717 !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
	backdrop-filter: blur(14px);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease !important;
}

.nexsync-showcase .nexsync-favorite:hover {
	background: #fff !important;
	transform: scale(1.06) !important;
}

.nexsync-showcase .nexsync-favorite svg {
	width: 18px !important;
	height: 18px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.8 !important;
}

.nexsync-showcase .nexsync-favorite.is-favorite {
	color: var(--nexsync-accent) !important;
}

.nexsync-showcase .nexsync-favorite.is-favorite svg {
	fill: currentColor !important;
}

.nexsync-showcase .nexsync-media-actions {
	position: absolute !important;
	z-index: 4 !important;
	right: 14px !important;
	bottom: 14px !important;
	left: 14px !important;
	display: flex !important;
	margin: 0 !important;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.nexsync-showcase .nexsync-product-card:hover .nexsync-media-actions,
.nexsync-showcase .nexsync-product-card:focus-within .nexsync-media-actions {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.nexsync-showcase .nexsync-quick-view {
	width: 100% !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(23, 23, 23, 0.92) !important;
	color: #fff !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
	font: inherit !important;
	font-size: 13px !important;
	font-weight: 650 !important;
	line-height: 1 !important;
	backdrop-filter: blur(14px);
	cursor: pointer;
}

.nexsync-showcase .nexsync-product-body {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	min-width: 0 !important;
	min-height: 142px !important;
	margin: 0 !important;
	padding: 19px 19px 20px !important;
	background: var(--nexsync-card) !important;
}

.nexsync-showcase .nexsync-product-title {
	display: -webkit-box !important;
	min-width: 0 !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin: 0 0 17px !important;
	overflow: hidden !important;
	color: var(--nexsync-text) !important;
	font-family: inherit !important;
	font-size: 17px !important;
	font-style: normal !important;
	font-weight: 650 !important;
	line-height: 1.38 !important;
	letter-spacing: -0.018em !important;
	text-align: left !important;
	text-transform: none !important;
	word-break: normal !important;
	overflow-wrap: anywhere !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
}

.nexsync-showcase .nexsync-product-footer {
	display: flex !important;
	align-items: flex-end !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin: auto 0 0 !important;
	padding: 0 !important;
}

.nexsync-showcase .nexsync-product-price {
	flex: 0 1 auto !important;
	margin: 0 !important;
	color: var(--nexsync-text) !important;
	font: inherit !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
}

.nexsync-showcase .nexsync-product-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	margin: 0 !important;
	padding: 10px 13px 10px 15px !important;
	border: 1px solid #171717 !important;
	border-radius: 999px !important;
	background: #171717 !important;
	color: #fff !important;
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12) !important;
	font: inherit !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: nowrap !important;
	transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease !important;
}

.nexsync-showcase .nexsync-product-link::before,
.nexsync-showcase .nexsync-product-link::after {
	content: none !important;
}

.nexsync-showcase .nexsync-product-link svg {
	flex: 0 0 auto !important;
	width: 16px !important;
	height: 16px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.7 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	transition: transform 0.22s ease !important;
}

.nexsync-showcase .nexsync-product-link:hover {
	border-color: var(--nexsync-accent) !important;
	background: var(--nexsync-accent) !important;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(255, 107, 0, 0.24) !important;
	transform: translateY(-1px) !important;
}

.nexsync-showcase .nexsync-product-link:hover svg {
	transform: translate(1.5px, -1.5px) !important;
}

/* Alternate shortcode presentation settings */
.nexsync-showcase.nexsync-card-minimal .nexsync-product-card {
	border-color: transparent !important;
	box-shadow: none !important;
}

.nexsync-showcase.nexsync-card-minimal .nexsync-product-body {
	padding-right: 4px !important;
	padding-left: 4px !important;
}

.nexsync-showcase.nexsync-card-compact .nexsync-product-media {
	aspect-ratio: 1 / 1 !important;
}

.nexsync-showcase.nexsync-card-compact .nexsync-product-body {
	min-height: 124px !important;
	padding: 15px !important;
}

.nexsync-showcase.nexsync-buttons-rounded .nexsync-quick-view,
.nexsync-showcase.nexsync-buttons-rounded .nexsync-load-more,
.nexsync-showcase.nexsync-buttons-rounded .nexsync-modal-link {
	border-radius: 12px !important;
}

.nexsync-showcase.nexsync-buttons-square .nexsync-quick-view,
.nexsync-showcase.nexsync-buttons-square .nexsync-load-more,
.nexsync-showcase.nexsync-buttons-square .nexsync-modal-link {
	border-radius: 0 !important;
}

.nexsync-showcase.nexsync-hide-title .nexsync-product-title,
.nexsync-showcase.nexsync-hide-price .nexsync-product-price,
.nexsync-showcase.nexsync-hide-price .nexsync-modal-price {
	display: none !important;
}

.nexsync-showcase.nexsync-hide-button .nexsync-product-link,
.nexsync-showcase.nexsync-hide-button .nexsync-modal-link {
	display: none !important;
}

/* Load more and feedback */
.nexsync-showcase .nexsync-load-more-wrap {
	margin-top: 38px !important;
	text-align: center !important;
}

.nexsync-showcase .nexsync-load-more {
	min-width: 174px !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 11px 24px !important;
	border: 1px solid var(--nexsync-text) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--nexsync-text) !important;
	box-shadow: none !important;
	font: inherit !important;
	font-size: 14px !important;
	font-weight: 650 !important;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nexsync-showcase .nexsync-load-more:hover {
	background: var(--nexsync-text) !important;
	color: #fff !important;
	box-shadow: 0 9px 26px rgba(0, 0, 0, 0.14) !important;
	transform: translateY(-2px) !important;
}

.nexsync-showcase .nexsync-load-more:disabled {
	opacity: 0.55;
	cursor: wait;
}

.nexsync-showcase .nexsync-empty,
.nexsync-showcase .nexsync-status {
	padding: 30px 0 !important;
	color: var(--nexsync-muted) !important;
	text-align: center !important;
}

.nexsync-showcase .nexsync-status:empty {
	display: none !important;
}

/* Quick-view modal */
.nexsync-body-locked {
	overflow: hidden;
}

.nexsync-modal[hidden] {
	display: none !important;
}

.nexsync-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
}

.nexsync-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 15, 0.68);
	backdrop-filter: blur(9px);
}

.nexsync-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	border-radius: 28px !important;
	background: #fff;
	box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3);
}

.nexsync-modal-close {
	position: absolute;
	z-index: 3;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: #171717;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
	font-size: 27px;
	line-height: 1;
	cursor: pointer;
}

.nexsync-modal-inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
}

.nexsync-modal-image {
	min-height: 560px;
	background: var(--nexsync-surface);
}

.nexsync-modal-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 560px;
	object-fit: cover;
}

.nexsync-modal-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 5vw, 62px);
}

.nexsync-modal-copy h2 {
	margin: 0 0 18px !important;
	color: #171717 !important;
	font: inherit !important;
	font-size: clamp(28px, 4vw, 48px) !important;
	font-weight: 680 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.035em !important;
	text-transform: none !important;
}

.nexsync-modal-price {
	margin-bottom: 22px;
	font-size: 20px;
	font-weight: 700;
}

.nexsync-modal-description {
	margin-bottom: 30px;
	color: var(--nexsync-muted);
	line-height: 1.7;
}

.nexsync-modal .nexsync-modal-link {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 54px !important;
	margin: 2px 0 0 !important;
	padding: 13px 22px !important;
	overflow: visible !important;
	border: 1px solid #171717 !important;
	border-radius: 999px !important;
	background: #171717 !important;
	color: #fff !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-indent: 0 !important;
	text-transform: none !important;
	white-space: nowrap !important;
	opacity: 1 !important;
	visibility: visible !important;
	transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease !important;
}

.nexsync-modal .nexsync-modal-link::before,
.nexsync-modal .nexsync-modal-link::after {
	content: none !important;
}

.nexsync-modal .nexsync-modal-link span {
	display: inline !important;
	color: #fff !important;
	font: inherit !important;
	line-height: inherit !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.nexsync-modal .nexsync-modal-link svg {
	display: block !important;
	flex: 0 0 auto !important;
	width: 18px !important;
	height: 18px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.7 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	transition: transform 0.22s ease !important;
}

.nexsync-modal .nexsync-modal-link:hover {
	border-color: var(--nexsync-accent, #ff6b00) !important;
	background: var(--nexsync-accent, #ff6b00) !important;
	color: #fff !important;
	box-shadow: 0 12px 32px rgba(255, 107, 0, 0.28) !important;
	transform: translateY(-2px) !important;
}

.nexsync-modal .nexsync-modal-link:hover svg {
	transform: translate(2px, -2px) !important;
}

/* Explicit dark theme remains available through the shortcode. */
.nexsync-showcase.nexsync-theme-dark {
	--nexsync-text: #f5f5f7;
	--nexsync-muted: #a1a1a6;
	--nexsync-border: rgba(255, 255, 255, 0.12);
	--nexsync-surface: #252525;
	--nexsync-card: #171717;
	color: var(--nexsync-text);
}

.nexsync-showcase.nexsync-theme-dark .nexsync-search-input,
.nexsync-showcase.nexsync-theme-dark .nexsync-sort,
.nexsync-showcase.nexsync-theme-dark .nexsync-filter-button,
.nexsync-showcase.nexsync-theme-dark .nexsync-load-more {
	background: var(--nexsync-card) !important;
	color: var(--nexsync-text) !important;
}

@media (max-width: 1180px) {
	.nexsync-showcase .nexsync-toolbar {
		grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) !important;
	}

	.nexsync-showcase .nexsync-filter-pills {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
	}
}

@media (max-width: 900px) {
	.nexsync-showcase .nexsync-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 700px) {
	.nexsync-showcase .nexsync-toolbar {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 13px !important;
		margin-bottom: 25px !important;
	}

	.nexsync-showcase .nexsync-filter-pills {
		justify-content: flex-start !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		padding: 2px 0 7px !important;
		scrollbar-width: thin;
	}

	.nexsync-showcase .nexsync-filter-button {
		flex: 0 0 auto !important;
	}

	.nexsync-showcase .nexsync-products-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}

	.nexsync-showcase .nexsync-product-media {
		aspect-ratio: 4 / 4.65 !important;
	}

	.nexsync-showcase .nexsync-product-body {
		min-height: 132px !important;
	}

	.nexsync-showcase .nexsync-product-card:hover {
		transform: none !important;
	}

	.nexsync-showcase .nexsync-media-actions {
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}

	.nexsync-modal {
		padding: 12px;
	}

	.nexsync-modal-inner {
		grid-template-columns: 1fr;
	}

	.nexsync-modal-image,
	.nexsync-modal-image img {
		min-height: 300px;
		max-height: 42vh;
	}

	.nexsync-modal-copy {
		padding: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nexsync-showcase .nexsync-product-card,
	.nexsync-showcase .nexsync-product-media img,
	.nexsync-showcase .nexsync-media-actions,
	.nexsync-showcase .nexsync-load-more,
	.nexsync-showcase .nexsync-product-link span {
		transition: none !important;
	}
}
