/**
 * Sejoli Commerce UI scoped overrides.
 *
 * Scope under .sejoli-commerce to avoid affecting Sejoli other modules.
 * Keep this file small: prefer Semantic UI classes already present.
 */

/* Catalog */
.sejoli-commerce-catalog .ui.segment {
	margin: 0;
}

.sejoli-commerce-catalog .sjc-commerce-search {
	width: 100%;
}

.sejoli-commerce-catalog .sjc-commerce-catalog-products.ui.cards {
	display: flex;
	flex-wrap: wrap;
}

.sjc-catalog-inline-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 4px 0 18px;
}

.sjc-catalog-inline-title {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
}

body.sejoli-commerce-canvas {
	margin: 0;
	background: #f7f7f8;
}

.sejoli-commerce-canvas-main {
	min-height: 100vh;
}

.sejoli-commerce .sjc-checkout-import-notice {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #d1fae5;
	border-radius: 12px;
	background: #ecfdf5;
	color: #065f46;
}

.sejoli-commerce .sjc-checkout-import-notice.is-error {
	border-color: #fecaca;
	background: #fef2f2;
	color: #991b1b;
}

.sejoli-commerce .sjc-checkout-import-notice p {
	margin: 0;
	font-weight: 700;
}

.sejoli-commerce .sjc-checkout-import-notice ul {
	margin: 8px 0 0 18px;
}

/* Mini cart + cart tables/buttons */
.sejoli-commerce-cart .ui.table {
	width: 100%;
}

.sejoli-commerce-cart .sjc-commerce-qty,
.sejoli-commerce .sjc-commerce-qty {
	width: auto;
	min-width: 120px;
}

/* Product actions */
.sejoli-commerce-product-actions .ui.header {
	margin: 0 0 10px;
}

.sejoli-commerce-product-actions .sjc-commerce-add-to-cart,
.sejoli-commerce-product-actions .ui.button {
	white-space: normal;
}

/* Product detail editorial mode */
.sjc-editorial {
	--sjc-color-background: var(--sjc-ref-bg, #f8f8f8);
	--sjc-color-surface: var(--sjc-ref-surface, #ffffff);
	--sjc-color-surface-soft: #f3f4f6;
	--sjc-color-text: var(--sjc-ref-text, #111111);
	--sjc-color-muted: var(--sjc-ref-muted, #767676);
	--sjc-color-border: var(--sjc-ref-border, #e5e5e5);
	--sjc-color-primary: var(--sjc-ref-primary, #111111);
	--sjc-color-primary-text: var(--sjc-ref-primary-text, #ffffff);
	--sjc-color-accent: var(--sjc-ref-accent, #2563eb);
	--sjc-color-error: var(--sjc-ref-error, #dc2626);
	--sjc-font-body: "Nunito Sans", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sjc-font-heading: var(--sjc-font-body);
	--sjc-font-weight-heading: var(--sjc-ref-heading-weight, 800);
	--sjc-font-weight-control: 700;
	--sjc-radius-control: var(--sjc-ref-radius-input, 8px);
	--sjc-radius-card: var(--sjc-ref-radius-base, 12px);
	--sjc-radius-overlay: max(var(--sjc-ref-radius-base, 12px), 16px);
	--sjc-radius-pill: 999px;
	--sjc-shadow-card: 0 8px 24px rgba(17, 24, 39, 0.06);
	--sjc-shadow-floating: 0 14px 35px rgba(17, 24, 39, 0.1);
	--sjc-focus-ring: 0 0 0 3px color-mix(in srgb, var(--sjc-color-accent) 28%, transparent);
	--sjc-transition: 180ms ease;
	--sjc-layer-sticky-nav: 100;
	--sjc-layer-floating-action: 300;
	--sjc-layer-drawer: 600;
	--sjc-layer-modal: 800;
	--sjc-layer-toast: 1000;
	--sjc-text: var(--sjc-color-text);
	--sjc-muted: var(--sjc-color-muted);
	--sjc-border: var(--sjc-color-border);
	--sjc-bg: var(--sjc-color-surface);
	--sjc-bg-soft: var(--sjc-color-surface-soft);
	--sjc-accent: var(--sjc-color-accent);
	--sjc-dark: var(--sjc-color-primary);
	font-family: var(--sjc-font-body);
	color: var(--sjc-color-text);
	background: var(--sjc-color-surface);
}

.sjc-editorial-nav {
	position: sticky;
	top: 0;
	z-index: var(--sjc-layer-sticky-nav);
	padding: 14px 24px;
	border-bottom: 1px solid var(--sjc-border);
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
}

.sjc-editorial-nav-content {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sjc-editorial-nav-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sjc-editorial-logo,
.sjc-editorial-cart-trigger {
	text-decoration: none;
	color: var(--sjc-dark);
	font-weight: 700;
}

.sjc-editorial-back-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	border: 1px solid var(--sjc-border);
	color: var(--sjc-dark);
	text-decoration: none;
	font-size: 16px;
	line-height: 1;
}

.sjc-editorial-back-link:hover {
	background: #f5f5f5;
}

.sjc-editorial-cart-trigger {
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.sjc-editorial-nav-right {
	display: flex;
	gap: 12px;
	align-items: center;
	position: relative;
}

.sjc-editorial-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	font-size: 11px;
	line-height: 1;
	background: var(--sjc-dark);
	color: #fff;
	margin-left: 4px;
}

.sjc-editorial-wrapper {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 24px;
	padding: 24px;
}

.sjc-editorial-visual-story {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sjc-editorial-gallery {
	display: grid;
	gap: 10px;
}

.sjc-editorial-story-img {
	aspect-ratio: 1/1;
	background: var(--sjc-bg-soft);
	border-radius: 4px;
	overflow: hidden;
}

.sjc-editorial-story-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sjc-editorial-story-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sjc-muted);
}

.sjc-editorial-story-fallback-wrap {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ececec;
}

.sjc-editorial-fallback-logo {
	max-width: 42%;
	max-height: 42%;
	object-fit: contain;
	display: block;
	opacity: 0.95;
	filter: grayscale(100%);
}

.sjc-slider-dots {
	display: none;
	justify-content: center;
	gap: 8px;
}

.sjc-slider-dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	border: 0;
	background: rgba(0, 0, 0, 0.25);
	padding: 0;
	cursor: pointer;
}

.sjc-slider-dot.active {
	width: 12px;
	background: #111;
}

.sjc-editorial-sidebar {
	position: sticky;
	top: 76px;
	align-self: start;
}

.sjc-editorial-tag {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sjc-accent);
	margin-bottom: 10px;
}

.sjc-editorial-title {
	font-size: 52px;
	line-height: 1;
	letter-spacing: 0;
	margin: 0;
}

.sjc-editorial-price {
	margin-top: 14px;
	font-size: 28px;
	font-weight: 500;
}

.sjc-editorial-state-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.sjc-editorial-state-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid #e4e4e7;
	background: #fff;
	color: #3f3f46;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.sjc-editorial-facts {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid #eceef2;
	display: grid;
	gap: 6px;
}

.sjc-editorial-fact-row {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-size: 12px;
	line-height: 1.45;
}

.sjc-editorial-fact-row dt {
	color: #6b7280;
	font-weight: 700;
	margin: 0;
}

.sjc-editorial-fact-row dd {
	margin: 0;
	text-align: right;
	color: #1f2937;
	font-weight: 700;
}

.sjc-editorial-actions {
	margin-top: 32px;
}

.sjc-editorial-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 12px;
}

.sjc-editorial-qty-btn {
	width: 38px;
	height: 38px;
	border: 0;
	background: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.sjc-editorial-qty-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.sjc-editorial-qty-input {
	width: 56px;
	height: 38px;
	border: 0;
	border-left: 1px solid #e5e7eb;
	border-right: 1px solid #e5e7eb;
	text-align: center;
	font-weight: 700;
}

.sjc-editorial-btn {
	width: 100%;
	border: 0;
	border-radius: 4px;
	padding: 16px 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
	cursor: pointer;
}

.sjc-editorial-btn + .sjc-editorial-btn {
	margin-top: 10px;
}

.sjc-editorial-btn-bag {
	background: #000;
	color: #fff;
}

.sjc-editorial-btn-buy {
	background: var(--sjc-accent);
	color: #fff;
}

.sjc-editorial-btn.is-disabled,
.sjc-editorial-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.sjc-editorial-note {
	margin-top: 10px;
	font-size: 12px;
	color: var(--sjc-muted);
	text-align: center;
}

.sjc-editorial-subtitle {
	margin: 0 0 10px;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.45;
}

.sjc-editorial-support-link {
	display: inline-block;
	font-size: 13px;
	color: #1f6ed4;
	text-decoration: none;
}

.sjc-editorial-support-wrap {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid var(--sjc-border);
}

.sjc-editorial-support-link:hover {
	text-decoration: underline;
}

.sjc-editorial-unavailable-note {
	margin-top: 8px;
	margin-bottom: 0;
	font-size: 12px;
	color: #9f3a38;
	text-align: center;
	font-weight: 700;
}

.sjc-editorial-accordion {
	margin-top: 34px;
	border-top: 1px solid var(--sjc-border);
}

.sjc-editorial-accordion-item {
	border-bottom: 1px solid var(--sjc-border);
}

.sjc-editorial-accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	border: 1px solid var(--sjc-border);
	background: #f1f1f1;
	color: #202124;
	padding: 18px 0;
	padding-left: 14px;
	padding-right: 14px;
	text-align: left;
	font-weight: 800;
	cursor: pointer;
	border-radius: 4px;
	transition: 0.15s ease;
}

.sjc-editorial-accordion-header:hover {
	background: #42454f;
	color: #fff;
}

.sjc-editorial-accordion-content {
	display: none;
	padding: 18px;
	color: var(--sjc-muted);
	line-height: 1.7;
}

.sjc-editorial-list {
	margin: 0;
	padding-left: 18px;
}

.sjc-editorial-list li {
	margin: 0 0 8px;
}

.sjc-editorial-faq-item + .sjc-editorial-faq-item {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e5e7eb;
}

.sjc-editorial-faq-item h4 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
}

.sjc-editorial-accordion-item.active .sjc-editorial-accordion-content {
	display: block;
}

.sjc-commerce-add-result {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--sjc-muted);
}

.sjc-editorial-floating-cta {
	display: none;
}

.sjc-editorial-toast {
	position: fixed;
	top: 88px;
	right: 24px;
	background: #111;
	color: #fff;
	padding: 10px 14px;
	border-radius: 4px;
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
	transition: 0.2s ease;
	z-index: 1300;
}

.sjc-editorial-toast.show {
	opacity: 1;
	transform: translateY(0);
}

.sjc-editorial-toast.is-error {
	background: #9f3a38;
}

/* Buy It Now offcanvas checkout */
.sjc-checkout-offcanvas {
	--sjc-text: #111;
	--sjc-muted: #666;
	--sjc-border: #eee;
	--sjc-bg: #fff;
	--sjc-bg-soft: #f6f6f6;
	--sjc-accent: #2185d0;
	--sjc-dark: #000;
	position: fixed;
	inset: 0;
	z-index: 1200;
	opacity: 0;
	pointer-events: none;
}

.sjc-checkout-offcanvas.is-open {
	opacity: 1;
	pointer-events: auto;
}

.sjc-checkout-offcanvas-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.42);
}

.sjc-checkout-offcanvas-panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(600px, 96vw);
	background: #f7f7f7;
	transform: translateX(100%);
	transition: transform 0.28s ease;
	overflow: auto;
	padding: 28px;
}

.sjc-checkout-offcanvas.is-open .sjc-checkout-offcanvas-panel {
	transform: translateX(0);
}

.sjc-checkout-offcanvas-close {
	position: sticky;
	top: 0;
	float: right;
	border: 0;
	background: #111;
	color: #fff;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	cursor: pointer;
	z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.sjc-buy-now-checkout {
	clear: both;
	color: var(--sjc-text);
	font-family: 'Nunito Sans', Arial, sans-serif;
	padding-top: 4px;
	max-width: 720px;
	margin: 0 auto;
}

.sjc-buy-now-checkout.is-loading {
	cursor: progress;
}

.sjc-buy-now-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin: 12px 44px 22px 0;
}

.sjc-buy-now-head p {
	margin: 0 0 6px;
	color: #2888d2;
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.sjc-buy-now-head h2 {
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.8rem);
	line-height: 1;
}

.sjc-buy-now-head-total {
	white-space: normal;
	text-align: right;
	font-size: 1.4rem;
	font-weight: 900;
}

.sjc-buy-now-head-total .sejoli-unique-number,
.sjc-buy-now-total .sejoli-unique-number {
	color: #ef4444;
}

.sjc-buy-now-loading {
	min-height: 20px;
	margin-bottom: 10px;
	color: #2888d2;
	font-weight: 900;
}

.sjc-buy-now-alert {
	display: none;
	margin-bottom: 16px;
	border-radius: 8px;
	padding: 12px 14px;
	font-weight: 800;
}

.sjc-buy-now-alert:not(:empty) {
	display: block;
}

.sjc-buy-now-alert.is-error {
	background: #fff1f2;
	color: #9f1239;
}

.sjc-buy-now-alert.is-success {
	background: #ecfdf3;
	color: #166534;
}

.sjc-buy-now-alert.is-info {
	background: #eff6ff;
	color: #1d4ed8;
}

.sjc-buy-now-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.sjc-buy-now-main {
	display: grid;
	gap: 18px;
	counter-reset: sjc-buy-now-step;
}

.sjc-buy-now-main > .sjc-buy-now-card:not([hidden]) .sjc-buy-now-section-title > span {
	font-size: 0;
}

.sjc-buy-now-main > .sjc-buy-now-card:not([hidden]) .sjc-buy-now-section-title > span::before {
	counter-increment: sjc-buy-now-step;
	content: counter(sjc-buy-now-step);
	font-size: 0.86rem;
}

.sjc-buy-now-card {
	border: 1px solid var(--sjc-border);
	border-radius: 10px;
	background: #fff;
	padding: 22px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.sjc-buy-now-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.sjc-buy-now-section-title span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-weight: 900;
}

.sjc-buy-now-section-title h3,
.sjc-buy-now-summary-card h3 {
	margin: 0;
	font-size: 1.16rem;
	font-weight: 900;
}

.sjc-buy-now-muted {
	margin: 0;
	color: var(--sjc-muted);
}

.sjc-buy-now-user-card {
	display: grid;
	gap: 6px;
	border: 1px solid var(--sjc-border);
	border-radius: 8px;
	background: #f8f8f8;
	padding: 14px;
}

.sjc-buy-now-user-card span,
.sjc-buy-now-option small,
.sjc-buy-now-check small,
.sjc-buy-now-summary-card small {
	color: var(--sjc-muted);
}

.sjc-buy-now-fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.sjc-buy-now-field {
	display: grid;
	gap: 7px;
}

.sjc-buy-now-field label {
	font-weight: 900;
}

.sjc-buy-now-field input,
.sjc-buy-now-field textarea,
.sjc-buy-now-coupon input,
.sjc-buy-now-qty input {
	width: 100%;
	border: 1px solid var(--sjc-border);
	border-radius: 8px;
	background: #fff;
	padding: 12px 13px;
	font: inherit;
}

.sjc-buy-now-field small.is-error {
	color: #b91c1c;
}

.sjc-buy-now-field small.is-success {
	color: #15803d;
}

.sjc-buy-now-login-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 12px 0 16px;
}

.sjc-buy-now-login-form[hidden],
.sjc-buy-now-bump-section[hidden],
.sjc-buy-now-wallet-section[hidden] {
	display: none;
}

.sjc-buy-now-qty {
	display: inline-grid;
	grid-template-columns: 42px 64px 42px;
	border: 1px solid var(--sjc-border);
	border-radius: 8px;
	overflow: hidden;
}

.sjc-buy-now-qty button,
.sjc-buy-now-secondary,
.sjc-buy-now-submit {
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 900;
}

.sjc-buy-now-qty button {
	background: #f2f2f2;
	display: flex;
    justify-content: center;
    align-items: center;
}

.sjc-buy-now-qty button:disabled,
.sjc-buy-now-qty button.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.sjc-buy-now-qty input {
	border: 0;
	border-radius: 0;
	text-align: center;
	font-weight: 900;
}

.sjc-buy-now-payment-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.sjc-buy-now-option {
	position: relative;
	display: grid;
	grid-template-columns: 22px 120px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-height: 86px;
	border: 1px solid var(--sjc-border);
	border-radius: 10px;
	background: #fff;
	padding: 13px;
	cursor: pointer;
}

.sjc-buy-now-option.active {
	border-color: #ef4444;
	box-shadow: 0 0 0 1px #ef4444 inset;
}

.sjc-buy-now-option input {
	position: absolute;
	opacity: 0;
}

.sjc-buy-now-radio {
	width: 16px;
	height: 16px;
	border: 1px solid #9ca3af;
	border-radius: 999px;
	box-shadow: inset 0 0 0 4px #fff;
}

.sjc-buy-now-option.active .sjc-buy-now-radio {
	border-color: #1d8cf0;
	background: #1d8cf0;
}

.sjc-buy-now-option img {
	width: auto;
	max-width: 112px;
	height: auto;
	max-height: 32px;
	object-fit: contain;
}

.sjc-buy-now-option strong,
.sjc-buy-now-option small,
.sjc-buy-now-check strong,
.sjc-buy-now-check small {
	display: block;
}

.sjc-buy-now-coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 10px;
}

.sjc-buy-now-secondary {
	background: #111;
	color: #fff;
	padding: 12px 18px;
}

.sjc-buy-now-link {
	border: 0;
	background: transparent;
	color: #2888d2;
	cursor: pointer;
	font-weight: 900;
}

.sjc-buy-now-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.sjc-buy-now-summary {
	min-width: 0;
}

.sjc-buy-now-summary-card {
	position: static;
}

.sjc-buy-now-summary-rows {
	margin: 18px 0;
}

.sjc-buy-now-summary-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px solid var(--sjc-border);
	padding: 11px 0;
	color: var(--sjc-muted);
}

.sjc-buy-now-summary-row strong {
	color: var(--sjc-text);
	text-align: right;
}

.sjc-buy-now-total {
	border-bottom: 0;
	color: var(--sjc-text);
	font-size: 1.15rem;
	font-weight: 900;
}

.sjc-buy-now-submit {
	width: 100%;
	background: #111;
	color: #fff;
	padding: 15px 18px;
	font-size: 1rem;
	text-transform: uppercase;
}

.sjc-buy-now-submit:disabled {
	cursor: not-allowed;
	opacity: 0.62;
}

.sjc-editorial-minicart {
	position: absolute;
	right: 16px;
	top: calc(100% + 10px);
	width: 360px;
	background: #fff;
	border: 1px solid var(--sjc-border);
	border-radius: 8px;
	padding: 10px 12px 12px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
	display: none;
	z-index: 100;
}

.sjc-global-minicart-wrap .sjc-global-minicart {
	position: fixed;
	right: 24px;
	top: 92px;
	width: 360px;
	max-width: calc(100vw - 24px);
	z-index: 1200;
}

.sjc-editorial-minicart.is-open {
	display: block;
}

.sjc-editorial-minicart-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 0 10px;
	border-bottom: 1px solid var(--sjc-border);
}

.sjc-editorial-minicart-head .count {
	color: #6b7280;
	font-size: 12px;
}

.sjc-editorial-minicart-close {
	margin-left: auto;
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #6b7280;
}

.sjc-editorial-minicart-list {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	max-height: 240px;
	overflow: auto;
}

.sjc-editorial-minicart-list li {
	display: grid;
	grid-template-columns: 38px 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--sjc-border);
}

.sjc-editorial-minicart-list .thumb {
	width: 38px;
	height: 38px;
	border-radius: 4px;
	overflow: hidden;
	background: #f2f2f2;
}

.sjc-editorial-minicart-list .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sjc-editorial-minicart-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #111827;
	font-weight: 800;
	font-size: 14px;
}

.sjc-editorial-minicart-list .meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sjc-editorial-minicart-list .name {
	font-weight: 700;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sjc-editorial-minicart-list .price {
	font-size: 12px;
	color: #4b5563;
}

.sjc-editorial-minicart-list .price .qty-inline {
	font-weight: 700;
	color: #111;
}

.sjc-minicart-remove {
	border: 0;
	background: transparent;
	color: #6b7280;
	font-size: 14px;
	padding: 2px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 4px;
}

.sjc-minicart-remove:hover {
	background: #f3f4f6;
	color: #dc2626;
}

.sjc-editorial-minicart-list li.is-removing {
	opacity: 0.55;
}

.sjc-minicart-remove.is-loading {
	opacity: 0.6;
	cursor: wait;
	pointer-events: none;
}

.sjc-minicart-remove.is-loading .icon {
	animation: sjc-spin 0.9s linear infinite;
}

@keyframes sjc-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.sjc-editorial-minicart-list .qty {
	font-size: 12px;
	font-weight: 700;
	color: #111;
}

.sjc-editorial-minicart-subtotal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0 4px;
	color: #4b5563;
}

.sjc-editorial-minicart-subtotal strong {
	color: #111;
}

.sjc-editorial-minicart-empty {
	padding: 14px 0 6px;
	text-align: center;
}

.sjc-editorial-minicart-empty p {
	margin: 0;
	font-weight: 700;
}

.sjc-editorial-minicart-empty small {
	color: #6b7280;
}

.sjc-editorial-minicart-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 10px;
}

.sjc-minicart-btn {
	text-align: center;
	text-decoration: none;
	border: 1px solid #111;
	color: #111;
	border-radius: 4px;
	padding: 8px 10px;
	font-weight: 700;
}

.sjc-minicart-btn.primary {
	background: #111;
	color: #fff;
}

.sjc-commerce-detail-template {
	margin: 0;
	background: #fff;
}

.sjc-you-may-like {
	max-width: 1280px;
	margin: 28px auto 36px;
	padding: 0 24px;
}

.sjc-you-may-like h3 {
	margin: 0 0 10px;
	font-size: 20px;
}

.sjc-you-may-like-grid {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 10px;
}

.sjc-you-may-like-item {
	border: 1px solid var(--sjc-border);
	border-radius: 4px;
	padding: 10px;
	text-decoration: none;
	color: #111;
	background: #fff;
	display: grid;
	grid-template-columns: 72px 1fr auto;
	align-items: center;
	gap: 12px;
	min-height: 0;
}

.sjc-you-may-like-item:hover {
	border-color: #d8d8d8;
}

.sjc-you-may-like-image {
	width: 72px;
	height: 72px;
	border-radius: 4px;
	overflow: hidden;
	background: #f2f2f2;
}

.sjc-you-may-like-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sjc-you-may-like-image-fallback .sjc-editorial-story-fallback-wrap {
	background: #ececec;
}

.sjc-you-may-like-title {
	color: #202124;
	font-weight: 700;
	line-height: 1.35;
}

.sjc-you-may-like-price {
	color: #1e63af;
	font-weight: 700;
	white-space: nowrap;
}

/* Product detail, Buy Now, and mini-cart normalization */
.sjc-editorial :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.sjc-checkout-offcanvas :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.sjc-global-minicart-wrap :where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--sjc-color-accent, #2563eb);
	outline-offset: 2px;
	box-shadow: var(--sjc-focus-ring, 0 0 0 3px rgba(37, 99, 235, 0.24));
}

.sjc-editorial-title,
.sjc-editorial-price,
.sjc-editorial-accordion-header,
.sjc-buy-now-head h2,
.sjc-buy-now-section-title h3,
.sjc-buy-now-summary-card h3 {
	font-family: var(--sjc-font-heading, inherit);
}

.sjc-editorial-title {
	font-weight: var(--sjc-font-weight-heading, 800);
}

.sjc-editorial-state-badge,
.sjc-editorial-qty,
.sjc-editorial-btn,
.sjc-editorial-accordion-header,
.sjc-you-may-like-item,
.sjc-you-may-like-image {
	border-radius: var(--sjc-radius-control, 8px);
}

.sjc-editorial-state-badge,
.sjc-editorial-qty,
.sjc-editorial-accordion-header,
.sjc-you-may-like-item {
	border-color: var(--sjc-color-border, #e5e5e5);
}

.sjc-editorial-state-badge,
.sjc-editorial-qty,
.sjc-editorial-qty-btn,
.sjc-editorial-qty-input,
.sjc-you-may-like-item {
	background: var(--sjc-color-surface, #fff);
	color: var(--sjc-color-text, #111);
}

.sjc-editorial-story-fallback-wrap,
.sjc-you-may-like-image,
.sjc-editorial-accordion-header {
	background: var(--sjc-color-surface-soft, #f3f4f6);
}

.sjc-editorial-btn {
	font-weight: var(--sjc-font-weight-control, 700);
	transition: opacity var(--sjc-transition, 180ms ease), box-shadow var(--sjc-transition, 180ms ease), transform var(--sjc-transition, 180ms ease);
}

.sjc-editorial-btn-bag,
.sjc-editorial-btn-buy {
	background: var(--sjc-color-primary, #111);
	color: var(--sjc-color-primary-text, #fff);
}

.sjc-editorial-btn:hover:not(:disabled):not(.is-disabled) {
	opacity: var(--sjc-hover-opacity, 0.88);
}

.sjc-editorial-support-link,
.sjc-editorial-tag {
	color: var(--sjc-color-accent, #2563eb);
}

.sjc-editorial-unavailable-note {
	color: var(--sjc-color-error, #dc2626);
}

.sjc-editorial-accordion-header {
	transition: background var(--sjc-transition, 180ms ease), color var(--sjc-transition, 180ms ease), border-color var(--sjc-transition, 180ms ease);
}

.sjc-editorial-accordion-header:hover {
	border-color: var(--sjc-color-primary, #111);
	background: var(--sjc-color-primary, #111);
	color: var(--sjc-color-primary-text, #fff);
}

.sjc-editorial-floating-cta {
	z-index: var(--sjc-layer-floating-action, 300);
	background: var(--sjc-color-surface, #fff);
}

.sjc-editorial-toast {
	z-index: var(--sjc-layer-toast, 1000);
	border-radius: var(--sjc-radius-control, 8px);
	background: var(--sjc-color-primary, #111);
	color: var(--sjc-color-primary-text, #fff);
	box-shadow: var(--sjc-shadow-floating, 0 14px 35px rgba(17, 24, 39, 0.1));
	transition: opacity var(--sjc-transition, 180ms ease), transform var(--sjc-transition, 180ms ease);
}

.sjc-editorial-toast.is-error {
	background: var(--sjc-color-error, #dc2626);
}

.sjc-checkout-offcanvas {
	--sjc-color-background: var(--sjc-ref-bg, #f8f8f8);
	--sjc-color-surface: var(--sjc-ref-surface, #fff);
	--sjc-color-surface-soft: #f3f4f6;
	--sjc-color-text: var(--sjc-ref-text, #111);
	--sjc-color-muted: var(--sjc-ref-muted, #767676);
	--sjc-color-border: var(--sjc-ref-border, #e5e5e5);
	--sjc-color-primary: var(--sjc-ref-primary, #111);
	--sjc-color-primary-text: var(--sjc-ref-primary-text, #fff);
	--sjc-color-accent: var(--sjc-ref-accent, #2563eb);
	--sjc-color-success: var(--sjc-ref-success, #10b981);
	--sjc-color-error: var(--sjc-ref-error, #dc2626);
	--sjc-font-body: "Nunito Sans", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sjc-font-heading: var(--sjc-font-body);
	--sjc-font-weight-heading: var(--sjc-ref-heading-weight, 800);
	--sjc-font-weight-control: 700;
	--sjc-radius-control: var(--sjc-ref-radius-input, 8px);
	--sjc-radius-card: var(--sjc-ref-radius-base, 12px);
	--sjc-radius-pill: 999px;
	--sjc-focus-ring: 0 0 0 3px color-mix(in srgb, var(--sjc-color-accent) 28%, transparent);
	--sjc-transition: 180ms ease;
	--sjc-layer-drawer: 600;
	--sjc-text: var(--sjc-color-text);
	--sjc-muted: var(--sjc-color-muted);
	--sjc-border: var(--sjc-color-border);
	--sjc-bg: var(--sjc-color-surface);
	--sjc-bg-soft: var(--sjc-color-surface-soft);
	--sjc-accent: var(--sjc-color-accent);
	--sjc-dark: var(--sjc-color-primary);
	z-index: var(--sjc-layer-drawer);
	font-family: var(--sjc-font-body);
}

.sjc-checkout-offcanvas-panel {
	background: var(--sjc-color-background);
	box-shadow: var(--sjc-shadow-drawer, -18px 0 50px rgba(17, 24, 39, 0.18));
	transition: transform var(--sjc-transition);
}

.sjc-checkout-offcanvas-close,
.sjc-buy-now-section-title span,
.sjc-buy-now-secondary,
.sjc-buy-now-submit {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
}

.sjc-buy-now-checkout {
	font-family: var(--sjc-font-body);
	color: var(--sjc-color-text);
}

.sjc-buy-now-head p,
.sjc-buy-now-loading,
.sjc-buy-now-link {
	color: var(--sjc-color-accent);
}

.sjc-buy-now-card,
.sjc-buy-now-user-card,
.sjc-buy-now-option {
	border-color: var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
	box-shadow: var(--sjc-shadow-card, 0 8px 24px rgba(17, 24, 39, 0.06));
}

.sjc-buy-now-user-card,
.sjc-buy-now-qty button {
	background: var(--sjc-color-surface-soft);
}

.sjc-buy-now-field input,
.sjc-buy-now-field textarea,
.sjc-buy-now-coupon input,
.sjc-buy-now-qty,
.sjc-buy-now-qty input,
.sjc-buy-now-secondary,
.sjc-buy-now-submit {
	border-radius: var(--sjc-radius-control);
}

.sjc-buy-now-field input,
.sjc-buy-now-field textarea,
.sjc-buy-now-coupon input,
.sjc-buy-now-qty input {
	border-color: var(--sjc-color-border);
	background: var(--sjc-color-surface);
	color: var(--sjc-color-text);
}

.sjc-buy-now-option.active {
	border-color: var(--sjc-color-primary);
	box-shadow: 0 0 0 1px var(--sjc-color-primary) inset;
}

.sjc-buy-now-option.active .sjc-buy-now-radio {
	border-color: var(--sjc-color-primary);
	background: var(--sjc-color-primary);
}

.sjc-buy-now-field small.is-error {
	color: var(--sjc-color-error);
}

.sjc-buy-now-field small.is-success {
	color: var(--sjc-color-success);
}

.sjc-editorial-minicart {
	border-color: var(--sjc-color-border, #e5e5e5);
	border-radius: var(--sjc-radius-card, 12px);
	background: var(--sjc-color-surface, #fff);
	box-shadow: var(--sjc-shadow-floating, 0 14px 35px rgba(17, 24, 39, 0.1));
	z-index: var(--sjc-layer-drawer, 600);
}

.sjc-global-minicart-wrap .sjc-global-minicart {
	z-index: var(--sjc-layer-drawer, 600);
}

.sjc-editorial-minicart-list .thumb,
.sjc-minicart-remove,
.sjc-minicart-btn {
	border-radius: var(--sjc-radius-control, 8px);
}

.sjc-editorial-minicart-list .thumb,
.sjc-minicart-remove:hover {
	background: var(--sjc-color-surface-soft, #f3f4f6);
}

.sjc-editorial-minicart-head .count,
.sjc-editorial-minicart-close,
.sjc-editorial-minicart-list .price,
.sjc-editorial-minicart-subtotal,
.sjc-editorial-minicart-empty small {
	color: var(--sjc-color-muted, #767676);
}

.sjc-editorial-minicart-list .name,
.sjc-editorial-minicart-list .price .qty-inline,
.sjc-editorial-minicart-subtotal strong {
	color: var(--sjc-color-text, #111);
}

.sjc-minicart-remove:hover {
	color: var(--sjc-color-error, #dc2626);
}

.sjc-minicart-btn {
	border-color: var(--sjc-color-primary, #111);
	color: var(--sjc-color-primary, #111);
}

.sjc-minicart-btn.primary {
	background: var(--sjc-color-primary, #111);
	color: var(--sjc-color-primary-text, #fff);
}

body.sjc-offcanvas-open {
	overflow: hidden;
}

@media (max-width: 992px) {
	.sjc-editorial-wrapper {
		grid-template-columns: 1fr;
		padding: 0;
		gap: 0;
	}

	.sjc-editorial-visual-story {
		flex-direction: row;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 0;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.sjc-editorial-visual-story::-webkit-scrollbar { display: none; }

	.sjc-editorial-story-img {
		min-width: 100%;
		scroll-snap-align: start;
		border-radius: 0;
	}

	.sjc-slider-dots {
		display: flex;
		margin-top: -8px;
		padding-bottom: 8px;
	}

	.sjc-editorial-sidebar {
		position: static;
		padding: 24px 24px 100px 24px;
	}

	.sjc-editorial-title {
		font-size: 36px;
	}

	.sjc-editorial-floating-cta {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		background: #fff;
		border-top: 1px solid var(--sjc-border);
		padding: 12px 16px;
		justify-content: space-between;
		align-items: center;
		z-index: var(--sjc-layer-floating-action, 300);
	}

	.sjc-editorial-floating-title {
		font-size: 12px;
		text-transform: uppercase;
		font-weight: 700;
	}

	.sjc-editorial-floating-price {
		font-size: 13px;
	}

	.sjc-editorial-floating-cta .sjc-editorial-btn {
		width: auto;
		padding: 10px 14px;
		font-size: 12px;
	}

	.sjc-checkout-offcanvas-panel {
		width: 100vw;
		padding: 16px 12px 88px;
	}

	.sjc-buy-now-layout {
		grid-template-columns: 1fr;
	}

	.sjc-buy-now-summary-card {
		position: static;
	}

	.sjc-buy-now-payment-list,
	.sjc-buy-now-fields,
	.sjc-buy-now-login-form {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.sjc-inline-input {
		grid-template-columns: 1fr;
	}

	.sjc-buy-now-head {
		display: block;
		margin-right: 42px;
	}

	.sjc-buy-now-head-total {
		margin-top: 10px;
	}

	.sjc-buy-now-card {
		padding: 18px;
	}

	.sjc-buy-now-option {
		grid-template-columns: 22px 82px minmax(0, 1fr);
	}

	.sjc-buy-now-coupon {
		grid-template-columns: 1fr;
	}
}

/* Commerce checkout compatibility with native Sejoli checkout styles */
.sejoli-commerce .produk-dibeli .ui.table th,
.sejoli-commerce .produk-dibeli .ui.table td {
	writing-mode: horizontal-tb;
	word-break: normal;
	overflow-wrap: normal;
	white-space: normal;
}

.sejoli-commerce .produk-dibeli .ui.button {
	white-space: nowrap;
}

/* Public design-system foundation. Keep --sjc-ref-* as branding compatibility inputs. */
.sejoli-commerce {
	--sjc-ref-bg: #f8f8f8;
	--sjc-ref-surface: #ffffff;
	--sjc-ref-text: #111111;
	--sjc-ref-muted: #767676;
	--sjc-ref-border: #e5e5e5;
	--sjc-ref-primary: #111111;
	--sjc-ref-primary-text: #ffffff;
	--sjc-ref-accent: #2563eb;
	--sjc-ref-success: #10b981;
	--sjc-ref-error: #dc2626;
	--sjc-ref-radius-base: 12px;
	--sjc-ref-radius-input: 8px;
	--sjc-ref-container-max: 1200px;
	--sjc-ref-font-size: 16px;
	--sjc-ref-heading-weight: 800;

	--sjc-color-background: var(--sjc-ref-bg);
	--sjc-color-surface: var(--sjc-ref-surface);
	--sjc-color-surface-soft: #f3f4f6;
	--sjc-color-text: var(--sjc-ref-text);
	--sjc-color-muted: var(--sjc-ref-muted);
	--sjc-color-border: var(--sjc-ref-border);
	--sjc-color-primary: var(--sjc-ref-primary);
	--sjc-color-primary-text: var(--sjc-ref-primary-text);
	--sjc-color-accent: var(--sjc-ref-accent);
	--sjc-color-success: var(--sjc-ref-success);
	--sjc-color-warning: #b45309;
	--sjc-color-error: var(--sjc-ref-error);
	--sjc-font-body: "Nunito Sans", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sjc-font-heading: var(--sjc-font-body);
	--sjc-font-size-body: var(--sjc-ref-font-size);
	--sjc-font-size-small: 0.875rem;
	--sjc-font-weight-heading: var(--sjc-ref-heading-weight);
	--sjc-font-weight-control: 700;
	--sjc-radius-control: var(--sjc-ref-radius-input);
	--sjc-radius-card: var(--sjc-ref-radius-base);
	--sjc-radius-overlay: max(var(--sjc-ref-radius-base), 16px);
	--sjc-radius-pill: 999px;
	--sjc-shadow-card: 0 8px 24px rgba(17, 24, 39, 0.06);
	--sjc-shadow-floating: 0 14px 35px rgba(17, 24, 39, 0.1);
	--sjc-shadow-drawer: 0 24px 60px rgba(17, 24, 39, 0.18);
	--sjc-shadow-modal: 0 28px 80px rgba(17, 24, 39, 0.24);
	--sjc-focus-ring: 0 0 0 3px color-mix(in srgb, var(--sjc-color-accent) 28%, transparent);
	--sjc-disabled-opacity: 0.58;
	--sjc-hover-opacity: 0.88;
	--sjc-transition: 180ms ease;
	--sjc-layer-sticky-nav: 100;
	--sjc-layer-floating-action: 300;
	--sjc-layer-drawer: 600;
	--sjc-layer-modal: 800;
	--sjc-layer-toast: 1000;

	font-family: var(--sjc-font-body);
	font-size: var(--sjc-font-size-body);
	color: var(--sjc-color-text);
	background: var(--sjc-color-background);
}

.sjc-store-container {
	max-width: var(--sjc-ref-container-max);
	margin: 0 auto;
	padding: 0 20px;
}

.sjc-cart .sjc-store-container {
	container: sjc-cart / inline-size;
}

.sjc-store-container a {
    border-bottom: none;
    text-decoration: none;
}

*:is(.sjc-store-container, .sjc-global-minicart-wrap) a:is(:hover, :focus) {
    border-bottom-color: inherit;
}

.sjc-store-nav {
	position: sticky;
	top: 0;
	z-index: var(--sjc-layer-sticky-nav);
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--sjc-ref-border);
	backdrop-filter: blur(10px);
}

.sjc-store-nav-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.sjc-store-logo {
	color: var(--sjc-ref-text);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0;
	text-decoration: none;
}

.sjc-store-nav-links {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sjc-store-nav-links a,
.sjc-store-cart-icon,
.sjc-keep-shopping,
.sjc-back-link {
	color: var(--sjc-ref-text);
	text-decoration: none;
	font-weight: 600;
}

.sjc-store-cart-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.sjc-store-cart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	font-size: 0.75rem;
	line-height: 1;
}

.sjc-nav-cart-badge {
	margin-left: 6px;
}

.sjc-nav-cart-toggle {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
}

.sjc-nav-cart-toggle .sjc-nav-cart-badge {
	display: none !important;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text) !important;
	font-size: 12px !important;
	line-height: 1 !important;
	font-weight: 700 !important;
}

/* Fallback if theme hides nested spans in menu links */
.sjc-nav-cart-toggle[data-cart-count]:after {
	content: attr(data-cart-count);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	font-size: 12px;
	line-height: 1;
	font-weight: 700;
}


.sjc-catalog-header {
	padding: 72px 0 58px;
	text-align: center;
	background: linear-gradient(180deg, var(--sjc-color-surface) 0%, var(--sjc-color-surface-soft) 100%);
}

.sjc-catalog-header h1,
.sjc-cart-header h1,
.sjc-checkout-header h1 {
	margin: 0;
	font-size: 2.4rem;
	line-height: 1.1;
	font-weight: 800;
}

.sjc-catalog-header p,
.sjc-cart-header p {
	margin: 10px auto 0;
	color: var(--sjc-ref-muted);
}

.sjc-catalog-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 36px;
	padding: 44px 0 70px;
}

.sjc-catalog.no-sidebar .sjc-catalog-layout {
	grid-template-columns: minmax(0, 1fr);
}

.sjc-catalog.is-embedded {
	background: transparent;
}

.sjc-catalog.is-embedded .sjc-catalog-layout {
	padding-top: 8px;
}

.sjc-catalog-sidebar {
	position: sticky;
	top: 70px;
	align-self: start;
}

.sjc-filter-group {
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--sjc-ref-border);
}

.sjc-sidebar-title {
	margin: 0 0 16px;
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.sjc-filter-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sjc-filter-list li + li {
	margin-top: 12px;
}

.sjc-filter-list a {
	color: var(--sjc-ref-muted);
	text-decoration: none;
	font-weight: 600;
}

.sjc-filter-list a.is-active,
.sjc-filter-list a:hover {
	color: var(--sjc-ref-text);
}

.sjc-catalog-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px auto auto;
	gap: 12px;
	align-items: stretch;
	margin-bottom: 24px;
}

.sjc-catalog-toolbar input,
.sjc-catalog-toolbar select,
.sjc-catalog-toolbar button,
.sjc-form-group input,
.sjc-form-group select,
.sjc-form-group textarea {
	width: 100%;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-surface);
	padding: 13px 14px;
	font-size: 0.95rem;
}

.sjc-form-group textarea {
	min-height: 108px;
	resize: vertical;
}

.sjc-form-group .select2-container {
	width: 100% !important;
}

.sjc-form-group .select2-container--default .select2-selection--single {
	min-height: 48px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-surface);
}

.sjc-form-group .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 10px 42px 10px 14px;
	line-height: 28px;
	color: var(--sjc-ref-text);
}

.sjc-form-group .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--sjc-ref-muted);
}

.sjc-form-group .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
	right: 8px;
}

.sjc-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.sjc-catalog-toolbar button {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	font-weight: var(--sjc-font-weight-control);
	cursor: pointer;
	transition: opacity var(--sjc-transition), transform var(--sjc-transition), box-shadow var(--sjc-transition);
}

.sjc-catalog-toolbar .sjc-catalog-cart-toggle {
	justify-self: end;
	width: auto;
	min-width: 54px;
	padding-left: 14px;
	padding-right: 14px;
	border-color: var(--sjc-color-primary);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
}

.sjc-catalog-cart-toggle .sjc-catalog-cart-icon {
	font-size: 1rem;
	line-height: 1;
}

.sjc-catalog-toolbar .sjc-catalog-cart-toggle .sjc-store-cart-badge {
	background: var(--sjc-color-primary-text);
	color: var(--sjc-color-primary);
}

.sjc-product-grid {
	display: grid;
	grid-template-columns: repeat(var(--sjc-catalog-cols-desktop, 3), minmax(0, 1fr));
	gap: 24px;
}

.sjc-featured-section {
	margin: 0 0 28px;
}

.sjc-featured-title {
	margin: 0 0 14px;
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--sjc-ref-text);
}

.sjc-product-grid-featured {
	margin-bottom: 6px;
}

.sjc-product-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
	transition: transform var(--sjc-transition), box-shadow var(--sjc-transition), border-color var(--sjc-transition);
}

.sjc-product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sjc-shadow-floating);
}

.sjc-product-link-wrapper {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sjc-product-image-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	background: var(--sjc-color-surface-soft);
	overflow: hidden;
}

.sjc-product-card.is-featured {
	border-color: var(--sjc-color-accent);
}

.sjc-featured-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
}

.sjc-product-image-container img,
.sjc-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sjc-product-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-surface);
	font-size: 2rem;
	font-weight: var(--sjc-font-weight-heading);
	color: var(--sjc-color-text);
}

.sjc-product-info {
	padding: 18px;
}

.sjc-product-info h3 {
	display: -webkit-box;
	min-height: 2.7em;
	margin: 0 0 12px;
	overflow: hidden;
	font-size: 1.04rem;
	line-height: 1.35;
	font-weight: 800;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sjc-price-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 2px;
	justify-content: start;
}

.sjc-current-price {
	font-size: 1.05rem;
	font-weight: 800;
}

.sjc-regular-price {
	color: var(--sjc-ref-muted);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.2;
}

.sjc-price-separator {
	display: none;
}

.sjc-product-excerpt {
	margin: -4px 0 12px;
	color: var(--sjc-ref-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.sjc-product-showcase {
	position: relative;
	background: transparent;
}

.sjc-product-showcase-head {
	margin: 0 0 18px;
}

.sjc-product-showcase-head h2 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.2;
	font-weight: var(--sjc-ref-heading-weight, 800);
}

.sjc-product-showcase-track {
	display: grid;
	grid-template-columns: repeat(var(--sjc-catalog-cols-desktop, 3), minmax(0, 1fr));
	gap: 24px;
}

.sjc-product-showcase.is-list .sjc-product-showcase-track {
	grid-template-columns: 1fr;
	gap: 14px;
}

.sjc-product-showcase.is-list .sjc-product-card {
	display: grid;
	grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) minmax(140px, 180px);
	align-items: stretch;
}

.sjc-product-showcase.is-list .sjc-product-link-wrapper {
	display: grid;
	grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
	grid-column: 1 / 3;
}

.sjc-product-showcase.is-list .sjc-product-image-container {
	aspect-ratio: 4 / 3;
	height: 100%;
}

.sjc-product-showcase.is-list .sjc-quick-add-container {
	grid-column: 3;
	display: flex;
	align-items: flex-end;
	padding: 18px;
}

.sjc-product-showcase.is-slideshow .sjc-product-showcase-track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: 8px;
}

.sjc-product-showcase.is-slideshow .sjc-product-card {
	flex: 0 0 calc((100% - (18px * (var(--sjc-catalog-cols-desktop, 3) - 1))) / var(--sjc-catalog-cols-desktop, 3));
	scroll-snap-align: start;
}

.sjc-product-showcase-controls {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	gap: 8px;
}

.sjc-showcase-prev,
.sjc-showcase-next,
.sjc-cart-shortcode-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	font-weight: var(--sjc-font-weight-control);
	cursor: pointer;
	transition: opacity var(--sjc-transition), box-shadow var(--sjc-transition);
}

.sjc-showcase-prev,
.sjc-showcase-next {
	width: 38px;
	height: 38px;
	padding: 0;
	font-size: 1.5rem;
	line-height: 1;
}

.sjc-cart-shortcode-button {
	padding: 10px 14px;
}

.sjc-quick-add-container {
	padding: 0 18px 18px;
}

.sjc-btn-add-cart,
.sjc-checkout-btn,
.sjc-pay-btn {
	width: 100%;
	border: 0;
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	padding: 14px 18px;
	font-weight: var(--sjc-font-weight-control);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: opacity var(--sjc-transition), transform var(--sjc-transition), box-shadow var(--sjc-transition);
}

.sjc-btn-add-cart:hover,
.sjc-checkout-btn:hover,
.sjc-pay-btn:hover {
	opacity: var(--sjc-hover-opacity);
	color: var(--sjc-color-primary-text);
}

.sjc-btn-add-cart.is-loading,
.sjc-pay-btn.is-loading,
.sjc-cart-item.is-updating {
	opacity: var(--sjc-disabled-opacity);
	pointer-events: none;
}

.sjc-reference-pagination {
	display: flex;
	gap: 8px;
	margin-top: 28px;
}

.sjc-reference-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	color: var(--sjc-color-text);
	text-decoration: none;
	font-weight: var(--sjc-font-weight-control);
	transition: color var(--sjc-transition), background var(--sjc-transition), border-color var(--sjc-transition), box-shadow var(--sjc-transition);
}

.sjc-reference-pagination a.is-active {
	border-color: var(--sjc-color-primary);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
}

.sejoli-commerce :where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--sjc-color-accent);
	outline-offset: 2px;
	box-shadow: var(--sjc-focus-ring);
}

.sejoli-commerce :where(button, input, select, textarea):disabled,
.sejoli-commerce [aria-disabled="true"] {
	opacity: var(--sjc-disabled-opacity);
}

.sjc-toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1500;
	max-width: 360px;
	transform: translateY(18px);
	opacity: 0;
	pointer-events: none;
	transition: 0.2s ease;
	border-radius: 10px;
	background: #111;
	color: #fff;
	padding: 14px 18px;
	font-weight: 800;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.sjc-toast.show {
	transform: translateY(0);
	opacity: 1;
}

.sjc-toast.is-error {
	background: #b91c1c;
}

.sjc-cart,
.sjc-checkout {
	min-height: auto;
	padding: 12px 0 56px;
}

.sjc-cart {
	background: transparent;
}

.sjc-cart-header,
.sjc-checkout-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 32px;
}

.sjc-shipping-progress-container {
	margin-bottom: 24px;
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
	padding: 18px 20px;
	border: 1px solid var(--sjc-color-border);
}

.sjc-progress-text {
	margin-bottom: 10px;
	font-weight: 700;
	color: var(--sjc-ref-muted);
}

.sjc-progress-bar-bg {
	overflow: hidden;
	height: 8px;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-surface-soft);
}

.sjc-progress-bar-fill {
	height: 100%;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-success);
}

.sjc-cart-layout,
.sjc-checkout-grid {
	display: grid;
	align-items: start;
}

.sjc-cart-layout {
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
}

.sjc-checkout-grid {
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 28px;
}

.sjc-cart-layout > main,
.sjc-cart-layout > aside {
	min-width: 0;
}

.sjc-cart-items-section,
.sjc-section-card,
.sjc-summary-card {
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
	box-shadow: var(--sjc-shadow-card);
}

.sjc-cart-table-header,
.sjc-cart-item {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(120px, max-content) minmax(100px, max-content);
	gap: 16px;
	align-items: center;
}

.sjc-cart-table-header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--sjc-ref-border);
	color: var(--sjc-ref-muted);
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.sjc-cart-table-header > div {
	overflow-wrap: anywhere;
}

.sjc-cart-item {
	padding: 24px;
	border-bottom: 1px solid var(--sjc-ref-border);
}

.sjc-cart-item.is-fixed-qty .sjc-qty-selector {
	opacity: var(--sjc-disabled-opacity);
}

.sjc-cart-item:last-child {
	border-bottom: 0;
}

.sjc-item-info {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

/* Per-cell wrapper with optional inline label (visible on narrow screens).
   The label is hidden on desktop where the table header does the job. */
.sjc-item-cell {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.sjc-cell-label {
	display: none;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--sjc-ref-muted);
	flex: 0 0 auto;
}

.sjc-item-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	flex: 0 0 82px;
	border-radius: var(--sjc-radius-control);
	overflow: hidden;
	background: var(--sjc-color-surface-soft);
}

.sjc-item-details {
	flex: 1 1 auto;
	min-width: 0;
}

.sjc-item-details h3 {
	margin: 0 0 5px;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.4;
	word-break: normal;
	overflow-wrap: break-word;
}

.sjc-item-details .sjc-cell-price {
	margin: 0 0 8px;
}

.sjc-item-details .sjc-unit-price {
	color: var(--sjc-ref-muted);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
}

.sjc-item-details .sjc-cell-price .sjc-cell-label {
	display: none;
}

.sjc-cell-total .sjc-line-total {
	font-size: 1rem;
	font-weight: 800;
}

.sjc-item-details p {
	margin: 0 0 8px;
	color: var(--sjc-ref-muted);
}

.sjc-cart-line-discount {
	display: none;
	margin: -2px 0 8px;
	color: var(--sjc-color-success);
	font-size: 0.86rem;
	line-height: 1.35;
	font-weight: 600;
}

.sjc-remove-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	border: 0;
	border-radius: var(--sjc-radius-pill);
	background: transparent;
	color: var(--sjc-ref-muted);
	padding: 0;
	cursor: pointer;
	transition: color var(--sjc-transition), background var(--sjc-transition);
}

.sjc-remove-item svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.sjc-remove-item:hover,
.sjc-remove-item:focus-visible {
	background: color-mix(in srgb, var(--sjc-color-error) 10%, transparent);
	color: var(--sjc-color-error);
}

.sjc-item-price {
	font-weight: 800;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
}

.sjc-qty-selector {
	display: inline-flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	overflow: hidden;
	background: var(--sjc-color-surface);
}

.sjc-qty-btn {
	width: 36px;
	height: 36px;
	border: 0;
	background: var(--sjc-color-surface-soft);
	font-weight: 900;
	cursor: pointer;
	color: var(--sjc-color-text);
	padding: 0;
}

.sjc-qty-btn:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.sjc-qty-input {
	width: 46px;
	height: 36px;
	border: 0;
	text-align: center;
	font-weight: 800;
	background: var(--sjc-color-surface);
	padding: 0!important;
	-moz-appearance: textfield;
	appearance: textfield;
}

.sjc-qty-input::-webkit-outer-spin-button,
.sjc-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.sjc-summary-card {
	padding: 24px;
}

.sjc-summary-title {
	margin: 0 0 20px;
	font-size: 1.25rem;
	font-weight: 800;
}

.sjc-summary-row,
.sjc-summary-total {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--sjc-ref-border);
	color: var(--sjc-ref-muted);
}

.sjc-summary-row strong,
.sjc-summary-row span:last-child {
	color: var(--sjc-ref-text);
}

.sjc-summary-item-row {
	gap: 10px;
	padding: 9px 0;
}

.sjc-summary-item-details {
	min-width: 0;
}

.sjc-summary-item-title {
	display: block;
}

.sjc-summary-item-coupon {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	margin-top: 1px;
	color: #16a34a;
	font-size: 12px;
	line-height: 1.35;
	white-space: nowrap;
}

.sjc-summary-item-coupon .icon.ticket {
	flex: 0 0 auto;
	margin: 0 4px 0 0;
}

.sjc-summary-row .sjc-summary-item-coupon span {
	overflow: hidden;
	color: inherit;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sjc-summary-item-price {
	flex: 0 0 auto;
	white-space: nowrap;
}

.sjc-summary-row.is-pending span:last-child {
	color: var(--sjc-ref-muted);
	font-size: 0.88rem;
	font-weight: 700;
	text-align: right;
}

.sjc-summary-total,
.sjc-summary-row.sjc-total {
	margin-top: 8px;
	border-bottom: 0;
	color: var(--sjc-ref-text);
	font-size: 1.2rem;
	font-weight: 900;
}

.sjc-checkout-btn,
.sjc-pay-btn {
	display: block;
	margin-top: 22px;
}

.sjc-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
	color: var(--sjc-ref-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.sjc-trust-badges span {
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-surface-soft);
	padding: 6px 9px;
}

.sjc-coupon-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
}

.sjc-coupon-pill {
	border: 1px solid #86efac;
	background: #ecfdf3;
	border-radius: var(--sjc-radius-pill);
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #16a34a;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: background var(--sjc-transition), border-color var(--sjc-transition), color var(--sjc-transition), box-shadow var(--sjc-transition);
}

.sjc-coupon-pill:hover {
	background: #dcfce7;
	border-color: #4ade80;
	color: #15803d;
}

.sjc-coupon-pill-remove {
	font-size: 14px;
	line-height: 1;
	color: #16a34a;
}

.sjc-section-card {
	padding: 26px;
	margin-bottom: 22px;
}

.sjc-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
}

.sjc-section-title h2 {
	margin: 0;
	font-size: 1.18rem;
	font-weight: 900;
}

.sjc-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 900;
}

.sjc-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 800;
}

.sjc-form-group small {
	display: block;
	margin-top: 8px;
	color: var(--sjc-ref-muted);
}

.sjc-inline-input {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
}

.sejoli-commerce .sjc-form-group .sjc-inline-input input {
	box-sizing: border-box;
	min-width: 0;
	min-height: 44px;
	height: 44px;
	padding: 9px 12px;
	line-height: 1.25;
}

.sejoli-commerce .sjc-inline-input .sjc-apply-coupon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 44px;
	min-height: 44px;
	margin: 0;
	border: 1px solid var(--sjc-color-primary);
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	padding: 9px 16px;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
	cursor: pointer;
}

.sejoli-commerce .sjc-inline-input .sjc-apply-coupon-btn:disabled {
	cursor: wait;
}

.sjc-customer-card {
	display: grid;
	gap: 6px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface-soft);
	padding: 16px;
}

.sjc-customer-card span {
	color: var(--sjc-ref-muted);
}

.sjc-option-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sjc-option-card {
	position: relative;
	display: grid;
	gap: 6px;
	min-height: 84px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
	padding: 14px 16px 14px 46px;
	cursor: pointer;
}

.sjc-option-card input {
	position: absolute;
	top: 20px;
	left: 16px;
}

.sjc-option-card.active {
	border-color: var(--sjc-color-primary);
	box-shadow: 0 0 0 1px var(--sjc-color-primary) inset;
}

.sjc-option-card img {
	max-width: 110px;
	max-height: 30px;
	object-fit: contain;
}

.sjc-option-title {
	font-weight: 900;
}

.sjc-option-subtitle {
	color: var(--sjc-ref-muted);
	font-size: 0.82rem;
}

.sjc-summary-sticky {
	position: sticky!important;
	top: 70px;
	align-self: start;
}

.sjc-checkout-items {
	margin-bottom: 10px;
}

.sjc-cart-status {
	margin: 12px 0 0;
	color: var(--sjc-color-error);
	font-weight: 800;
}

.sejoli-commerce .sjc-submit-status.ui.message {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	box-shadow: none;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.45;
}

.sejoli-commerce .sjc-submit-status.ui.message:empty,
.sejoli-commerce .sjc-submit-status.ui.message[hidden] {
	display: none !important;
}

.sjc-empty-state {
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
	padding: 42px 24px;
	text-align: center;
}

.sjc-empty-state h2 {
	margin: 0 0 8px;
}

.sjc-empty-state p {
	margin: 0;
	color: var(--sjc-ref-muted);
}

.sjc-empty-state-error {
	border-color: #fecaca;
	background: #fef2f2;
}

.sjc-empty-state-error ul {
	display: inline-grid;
	gap: 6px;
	margin: 16px auto 0;
	padding: 0;
	list-style: none;
	color: #991b1b;
	font-weight: 700;
	text-align: left;
}

.sjc-empty-state-error .sjc-checkout-btn {
	display: inline-flex;
	width: auto;
	margin-top: 18px;
}

.sjc-payment-note,
.sjc-payment-blocked {
	margin: -4px 0 16px;
	border: 1px solid #fde68a;
	border-radius: var(--sjc-radius-control);
	background: #fffbeb;
	color: var(--sjc-color-warning);
	padding: 10px 12px;
	font-size: 0.9rem;
	font-weight: 700;
}

.sjc-payment-blocked {
	border-color: #fecaca;
	background: #fef2f2;
	color: var(--sjc-color-error);
}

.sjc-shipping-quote-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	margin-top: 20px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface-soft);
	padding: 16px;
}

.sjc-shipping-quote-bar strong {
	display: block;
	margin-bottom: 4px;
	font-weight: 900;
}

.sjc-shipping-quote-bar p {
	margin: 0;
	color: var(--sjc-ref-muted);
	font-size: 0.9rem;
}

.sjc-shipping-destination-field {
	margin: 0;
}

.sjc-shipping-status {
	min-height: 22px;
	margin: 12px 0 0;
	color: var(--sjc-ref-muted);
	font-size: 0.9rem;
	font-weight: 700;
}

.sjc-shipping-packages {
	display: grid;
	gap: 16px;
	margin-top: 16px;
}

.sjc-shipping-package {
	overflow: hidden;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
}

.sjc-shipping-package-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid var(--sjc-color-border);
	background: var(--sjc-color-surface-soft);
	padding: 16px;
}

.sjc-shipping-package-head h3 {
	margin: 6px 0 0;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 900;
}

.sjc-shipping-package-head > span {
	color: var(--sjc-ref-muted);
	font-size: 0.82rem;
	font-weight: 700;
	white-space: nowrap;
}

.sjc-package-badge {
	display: inline-flex;
	border: 1px solid #dbeafe;
	border-radius: var(--sjc-radius-pill);
	background: color-mix(in srgb, var(--sjc-color-accent) 10%, var(--sjc-color-surface));
	color: var(--sjc-color-accent);
	padding: 4px 8px;
	font-size: 0.74rem;
	font-weight: 900;
}

.sjc-shipping-items {
	display: grid;
	padding: 0 16px;
}

.sjc-shipping-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--sjc-ref-border);
}

.sjc-shipping-item strong {
	display: block;
	font-weight: 850;
}

.sjc-shipping-item small {
	display: block;
	margin-top: 3px;
	color: var(--sjc-ref-muted);
}

.sjc-shipping-item span {
	font-weight: 850;
	white-space: nowrap;
}

.sjc-shipping-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 16px;
	background: var(--sjc-color-surface-soft);
}

.sjc-shipping-option {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-width: 0;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-surface);
	padding: 12px;
	cursor: pointer;
}

.sjc-shipping-option.active {
	border-color: var(--sjc-color-primary);
	box-shadow: 0 0 0 1px var(--sjc-color-primary) inset;
}

.sjc-shipping-option input {
	margin: 0;
}

.sjc-shipping-option-main {
	min-width: 0;
}

.sjc-shipping-option-main strong,
.sjc-shipping-option-main small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sjc-shipping-option-main small {
	margin-top: 2px;
	color: var(--sjc-ref-muted);
	font-size: 0.78rem;
}

.sjc-shipping-option-price {
	font-weight: 900;
	white-space: nowrap;
}

.sjc-shipping-empty {
	margin: 16px;
	border: 1px dashed var(--sjc-ref-border);
	border-radius: 9px;
	background: #fff;
	color: var(--sjc-ref-muted);
	padding: 14px;
	font-size: 0.9rem;
	font-weight: 700;
}

.sjc-shipping-package-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid var(--sjc-ref-border);
	padding: 14px 16px;
	font-size: 0.92rem;
}

.sjc-shipping-package-total span {
	color: var(--sjc-ref-muted);
	font-weight: 700;
}

.sjc-shipping-package-total strong {
	font-size: 1rem;
	font-weight: 950;
	white-space: nowrap;
}

@media (max-width: 980px) {
	.sjc-catalog-layout,
	.sjc-checkout-grid {
		grid-template-columns: 1fr;
	}

	.sjc-form-grid {
		grid-template-columns: 1fr;
	}

	.sjc-shipping-options {
		grid-template-columns: 1fr;
	}

	.sjc-catalog-sidebar,
	.sjc-summary-card,
	.sjc-summary-sticky {
		position: static;
	}

	.sjc-product-grid {
		grid-template-columns: repeat(var(--sjc-catalog-cols-tablet, 2), minmax(0, 1fr));
	}

	.sjc-product-showcase-track {
		grid-template-columns: repeat(var(--sjc-catalog-cols-tablet, 2), minmax(0, 1fr));
	}

	.sjc-product-showcase.is-slideshow .sjc-product-card {
		flex-basis: calc((100% - (18px * (var(--sjc-catalog-cols-tablet, 2) - 1))) / var(--sjc-catalog-cols-tablet, 2));
	}

	.sjc-cart-table-header,
	.sjc-cart-item {
		grid-template-columns: minmax(200px, 1fr) minmax(120px, max-content) minmax(100px, max-content);
		gap: 14px;
	}
}

@media (max-width: 720px) {
	.sjc-global-minicart-wrap .sjc-global-minicart {
		top: auto;
		right: 12px;
		bottom: 14px;
		left: 12px;
		width: auto;
		max-width: none;
		max-height: min(72vh, 520px);
		overflow: auto;
		border-radius: 14px;
		z-index: 1300;
	}

	body.sjc-minicart-open .sjc-catalog {
		padding-bottom: 360px;
	}

	.sjc-store-nav-links,
	.sjc-cart-table-header {
		display: none;
	}

	.sjc-product-grid,
	.sjc-product-showcase-track,
	.sjc-option-grid {
		grid-template-columns: repeat(var(--sjc-catalog-cols-mobile, 1), minmax(0, 1fr));
	}

	.sjc-catalog-toolbar {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.sjc-catalog-toolbar input {
		grid-column: 1 / -1;
	}

	.sjc-catalog-toolbar select {
		grid-column: 1;
	}

	.sjc-catalog-toolbar .sjc-catalog-apply {
		grid-column: 1 / -1;
	}

	.sjc-catalog-toolbar .sjc-catalog-cart-toggle {
		grid-column: 2;
		grid-row: 2;
	}

	.sjc-product-showcase.is-list .sjc-product-card,
	.sjc-product-showcase.is-list .sjc-product-link-wrapper {
		grid-template-columns: 1fr;
	}

	.sjc-product-showcase.is-list .sjc-product-link-wrapper,
	.sjc-product-showcase.is-list .sjc-quick-add-container {
		grid-column: auto;
	}

	.sjc-product-showcase.is-slideshow .sjc-product-card {
		flex-basis: calc((100% - (18px * (var(--sjc-catalog-cols-mobile, 1) - 1))) / var(--sjc-catalog-cols-mobile, 1));
	}

	.sjc-product-showcase-controls {
		position: static;
		justify-content: flex-end;
		margin-bottom: 12px;
	}

	.sjc-cart-header,
	.sjc-checkout-header {
		display: block;
	}

	.sjc-shipping-quote-bar,
	.sjc-shipping-package-head,
	.sjc-shipping-item,
	.sjc-shipping-package-total {
		display: grid;
		grid-template-columns: 1fr;
	}

	.sejoli-commerce .sjc-reference-pagination {
		flex-wrap: wrap;
	}

	.sejoli-commerce .sjc-reference-pagination a {
		flex: 0 0 44px;
	}

	.sejoli-commerce .sjc-reference-pagination a,
	.sejoli-commerce .sjc-qty-btn {
		width: 44px;
		height: 44px;
	}

	.sejoli-commerce .sjc-keep-shopping,
	.sejoli-commerce .sjc-back-link,
	.sejoli-commerce .sjc-remove-item {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.sejoli-commerce .sjc-remove-item {
		min-width: 44px;
		flex-basis: 44px;
	}

	.sjc-keep-shopping,
	.sjc-back-link {
		margin-top: 12px;
	}

	.sjc-cart-item {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 20px 16px;
	}

	.sjc-cart-item .sjc-item-cell {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.sjc-cart-item .sjc-cell-label {
		display: inline-block;
	}

	.sjc-cart-item .sjc-item-info {
		gap: 12px;
		padding-bottom: 4px;
		border-bottom: 1px dashed var(--sjc-color-border);
	}

	.sjc-you-may-like-grid {
		grid-template-columns: 1fr;
	}
}

/* Stack only when the three-column cart and summary no longer fit.
   The container query also covers member-area templates with a narrow shell. */
@media (max-width: 900px) {
	.sjc-cart-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

@container sjc-cart (max-width: 860px) {
	.sjc-cart-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

@container sjc-cart (max-width: 720px) {
	.sjc-cart-table-header {
		display: none;
	}

	.sjc-cart-item {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		padding: 20px 16px;
	}

	.sjc-cart-item .sjc-item-cell {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.sjc-cart-item .sjc-cell-label {
		display: inline-block;
	}

	.sjc-cart-item .sjc-item-info {
		gap: 12px;
		padding-bottom: 4px;
		border-bottom: 1px dashed var(--sjc-color-border);
	}
}

/* ============================================================
   Checkout loading and thank-you — Commerce components inside
   the native Sejoli checkout shell
   ============================================================ */

.sjc-commerce-loading,
.sjc-commerce-thankyou {
	--sjc-color-background: var(--sjc-ref-bg, #f8f8f8);
	--sjc-color-surface: var(--sjc-ref-surface, #ffffff);
	--sjc-color-surface-soft: #f3f4f6;
	--sjc-color-text: var(--sjc-ref-text, #111111);
	--sjc-color-muted: var(--sjc-ref-muted, #767676);
	--sjc-color-border: var(--sjc-ref-border, #e5e5e5);
	--sjc-color-primary: var(--sjc-ref-primary, #111111);
	--sjc-color-primary-text: var(--sjc-ref-primary-text, #ffffff);
	--sjc-color-accent: var(--sjc-ref-accent, #2563eb);
	--sjc-color-success: var(--sjc-ref-success, #10b981);
	--sjc-color-warning: #b45309;
	--sjc-color-error: var(--sjc-ref-error, #dc2626);
	--sjc-font-body: "Nunito Sans", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sjc-font-heading: var(--sjc-font-body);
	--sjc-font-weight-heading: var(--sjc-ref-heading-weight, 800);
	--sjc-font-weight-control: 700;
	--sjc-radius-control: var(--sjc-ref-radius-input, 8px);
	--sjc-radius-card: var(--sjc-ref-radius-base, 12px);
	--sjc-radius-pill: 999px;
	--sjc-shadow-card: 0 8px 24px rgba(17, 24, 39, 0.06);
	--sjc-focus-ring: 0 0 0 3px color-mix(in srgb, var(--sjc-color-accent) 28%, transparent);
	--sjc-transition: 180ms ease;
	font-family: var(--sjc-font-body);
	color: var(--sjc-color-text);
}

/* Theme (e.g. Seedlet) defines heading fonts like 'Playfair Display' globally.
 * Commerce thank-you/loading containers must use the same Nunito Sans stack as
 * the rest of the plugin so heading typography matches the rest of the funnel.
 * Specificity here (.class element) beats the theme's plain element selectors.
 */
.sjc-commerce-thankyou h1,
.sjc-commerce-thankyou h2,
.sjc-commerce-thankyou h3,
.sjc-commerce-thankyou h4,
.sjc-commerce-thankyou h5,
.sjc-commerce-thankyou h6,
.sjc-commerce-loading h1,
.sjc-commerce-loading h2,
.sjc-commerce-loading h3,
.sjc-commerce-loading h4,
.sjc-commerce-loading h5,
.sjc-commerce-loading h6 {
	font-family: var(--sjc-font-heading);
	font-weight: var(--sjc-font-weight-heading, 800);
}

/* Same override for table headings inside Commerce containers. Seedlet applies
 * Playfair Display via `table th, .wp-block-table th`; Semantic UI's `.ui.table th`
 * is also used by Sejoli native on thank-you. Cascade all of them back to Nunito Sans.
 */
.sjc-commerce-thankyou table th,
.sjc-commerce-thankyou .wp-block-table th,
.sjc-commerce-thankyou .ui.table th,
.sjc-commerce-loading table th,
.sjc-commerce-loading .wp-block-table th,
.sjc-commerce-loading .ui.table th {
	font-family: var(--sjc-font-heading);
	font-weight: var(--sjc-font-weight-heading, 800);
}

.sjc-commerce-thankyou,
.sjc-commerce-loading {
	font-family: var(--sjc-font-body);
}

.sjc-commerce-loading {
	box-sizing: border-box;
	width: min(100% - 32px, 560px);
	margin-inline: auto;
	padding: 32px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
	box-shadow: var(--sjc-shadow-card);
	text-align: center;
}

.sjc-commerce-loading h2 {
	margin: 0 0 12px;
	font-family: var(--sjc-font-heading);
	font-weight: var(--sjc-font-weight-heading);
	line-height: 1.2;
	color: var(--sjc-color-text);
}

.sjc-commerce-loading > p {
	margin: 8px 0 0;
	line-height: 1.6;
	color: var(--sjc-color-muted);
}

.sjc-commerce-loading > p:first-of-type {
	color: var(--sjc-color-text);
}

.sjc-commerce-loading .sjc-commerce-loading-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	margin-top: 20px;
}

.sjc-commerce-loading-visual img {
	display: block;
	width: auto;
	max-width: min(100%, 240px);
	height: auto;
}

/* Receipt container */
.sjc-commerce-thankyou .sjc-receipt {
	border: 1px solid var(--sjc-ref-border);
	border-radius: 12px;
	background: var(--sjc-ref-surface);
	box-shadow: 0 8px 28px rgba(17, 17, 17, 0.04);
	overflow: hidden;
}

.sjc-commerce-thankyou .transfer-info {
    bottom: 1rem;
}

/* Per-item row */
.sjc-commerce-thankyou .sjc-receipt-item {
	padding: 14px 16px;
	border-bottom: 1px solid var(--sjc-ref-border);
}

.sjc-commerce-thankyou .sjc-receipt-item:last-of-type {
	border-bottom: none;
}

/* Main line: name + price */
.sjc-commerce-thankyou .sjc-receipt-line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.sjc-commerce-thankyou .sjc-receipt-name {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--sjc-ref-text);
}

.sjc-commerce-thankyou .sjc-receipt-price {
	font-size: 0.95rem;
	font-weight: 800;
	white-space: nowrap;
	color: var(--sjc-ref-text);
}

/* Meta line: qty x unit price + coupon pill */
.sjc-commerce-thankyou .sjc-receipt-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	font-size: 0.82rem;
	color: var(--sjc-ref-muted);
}

/* Divider between items and totals */
.sjc-commerce-thankyou .sjc-receipt-divider {
	height: 1px;
	background: var(--sjc-ref-text);
	opacity: 0.12;
}

/* Totals section */
.sjc-commerce-thankyou .sjc-receipt-totals {
	padding: 16px;
}

.sjc-commerce-thankyou .sjc-receipt-totals-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
	font-size: 0.9rem;
	color: var(--sjc-ref-muted);
}

.sjc-commerce-thankyou .sjc-receipt-totals-row span:last-child {
	color: var(--sjc-ref-text);
	font-weight: 600;
	white-space: nowrap;
}

/* Discount row: green */
.sjc-commerce-thankyou .sjc-receipt-discount {
	color: #16a34a;
}

.sjc-commerce-thankyou .sjc-receipt-discount span:last-child {
	color: #16a34a;
	font-weight: 700;
}

/* Grand total */
.sjc-commerce-thankyou .sjc-receipt-grand {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding-top: 12px;
	margin-top: 4px;
	border-top: 2px solid var(--sjc-ref-text);
	font-size: 1.1rem;
	font-weight: 900;
	color: var(--sjc-ref-text);
}

.sjc-commerce-thankyou .sjc-receipt-grand span:last-child {
	white-space: nowrap;
}

.sjc-commerce-thankyou .sjc-receipt-grand .sejoli-unique-number {
	color: #ef4444;
}

.sjc-commerce-thankyou .sjc-access-panel,
.sjc-commerce-thankyou .sjc-package-panel,
.sjc-commerce-thankyou .sjc-order-link-note {
	margin-top: 20px;
	border: 1px solid var(--sjc-ref-border);
	border-radius: 12px;
	background: var(--sjc-ref-surface);
	box-shadow: 0 8px 28px rgba(17, 17, 17, 0.04);
	padding: 18px;
}

.sjc-commerce-thankyou .sjc-access-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

.sjc-commerce-thankyou .sjc-access-head h3,
.sjc-commerce-thankyou .sjc-package-panel h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 900;
}

.sjc-commerce-thankyou .sjc-package-panel > p {
	margin: 6px 0 16px;
	color: var(--sjc-ref-muted);
	font-size: 0.9rem;
}

.sjc-commerce-thankyou .sjc-access-link,
.sjc-commerce-thankyou .sjc-access-item a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--sjc-ref-primary);
	color: #fff;
	padding: 8px 12px;
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.sjc-commerce-thankyou .sjc-access-list,
.sjc-commerce-thankyou .sjc-package-list {
	display: grid;
	gap: 12px;
}

.sjc-commerce-thankyou .sjc-access-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border: 1px solid var(--sjc-ref-border);
	border-radius: 10px;
	background: #fff;
	padding: 14px;
}

.sjc-commerce-thankyou .sjc-access-item strong,
.sjc-commerce-thankyou .sjc-access-item span,
.sjc-commerce-thankyou .sjc-access-item small {
	display: block;
}

.sjc-commerce-thankyou .sjc-access-item strong {
	font-weight: 900;
}

.sjc-commerce-thankyou .sjc-access-item span,
.sjc-commerce-thankyou .sjc-access-item small {
	margin-top: 3px;
	color: var(--sjc-ref-muted);
	font-size: 0.86rem;
}

.sjc-commerce-thankyou .sjc-package-card {
	overflow: hidden;
	border: 1px solid var(--sjc-ref-border);
	border-radius: 10px;
	background: #fff;
}

.sjc-commerce-thankyou .sjc-package-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	border-bottom: 1px solid var(--sjc-ref-border);
	background: #f9fafb;
	padding: 14px;
}

.sjc-commerce-thankyou .sjc-package-card-head h4 {
	margin: 6px 0 0;
	font-size: 1rem;
	line-height: 1.35;
	font-weight: 900;
}

.sjc-commerce-thankyou .sjc-package-status {
	border-radius: 999px;
	background: #ecfdf3;
	color: #15803d;
	padding: 5px 9px;
	font-size: 0.78rem;
	font-weight: 900;
	white-space: nowrap;
}

.sjc-commerce-thankyou .sjc-package-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-bottom: 1px solid var(--sjc-ref-border);
}

.sjc-commerce-thankyou .sjc-package-meta > div {
	display: grid;
	gap: 3px;
	border-right: 1px solid var(--sjc-ref-border);
	border-bottom: 1px solid var(--sjc-ref-border);
	padding: 12px 14px;
	min-width: 0;
}

.sjc-commerce-thankyou .sjc-package-meta > div:nth-child(2n) {
	border-right: 0;
}

.sjc-commerce-thankyou .sjc-package-meta > div:nth-last-child(-n+2) {
	border-bottom: 0;
}

.sjc-commerce-thankyou .sjc-package-meta span {
	color: var(--sjc-ref-muted);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.sjc-commerce-thankyou .sjc-package-meta strong {
	font-size: 0.92rem;
	font-weight: 900;
	overflow-wrap: anywhere;
}

.sjc-commerce-thankyou .sjc-package-meta a {
	color: var(--sjc-ref-primary);
	text-decoration: none;
	white-space: nowrap;
}

.sjc-commerce-thankyou .sjc-package-items {
	display: grid;
	padding: 0 14px;
}

.sjc-commerce-thankyou .sjc-package-items > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--sjc-ref-border);
}

.sjc-commerce-thankyou .sjc-package-items > div:last-child {
	border-bottom: 0;
}

.sjc-commerce-thankyou .sjc-package-items span {
	font-weight: 700;
}

.sjc-commerce-thankyou .sjc-package-items strong {
	font-weight: 900;
	white-space: nowrap;
}

.sjc-commerce-thankyou .sjc-order-link-note {
	display: grid;
	gap: 4px;
	border-color: #fde68a;
	background: #fffbeb;
	color: #92400e;
	box-shadow: none;
}

.sjc-commerce-thankyou .sjc-order-link-note strong {
	font-weight: 900;
}

.sjc-commerce-thankyou .sjc-order-link-note span {
	font-size: 0.9rem;
	line-height: 1.45;
}

/* Semantic compatibility mapping for the Commerce-owned thank-you content. */
.sjc-commerce-thankyou .thankyou > h2,
.sjc-commerce-thankyou .pesanan-anda > h3,
.sjc-commerce-thankyou .sjc-access-head h3,
.sjc-commerce-thankyou .sjc-package-panel h3,
.sjc-commerce-thankyou .sjc-package-card-head h4 {
	font-family: var(--sjc-font-heading);
	font-weight: var(--sjc-font-weight-heading);
	color: var(--sjc-color-text);
}

.sjc-commerce-thankyou .thankyou-info-1,
.sjc-commerce-thankyou .sjc-package-panel > p {
	color: var(--sjc-color-muted);
}

.sjc-commerce-thankyou .sjc-receipt,
.sjc-commerce-thankyou .sjc-access-panel,
.sjc-commerce-thankyou .sjc-package-panel {
	border-color: var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
	box-shadow: var(--sjc-shadow-card);
}

.sjc-commerce-thankyou .sjc-receipt-item,
.sjc-commerce-thankyou .sjc-package-card,
.sjc-commerce-thankyou .sjc-package-card-head,
.sjc-commerce-thankyou .sjc-package-meta,
.sjc-commerce-thankyou .sjc-package-meta > div,
.sjc-commerce-thankyou .sjc-package-items > div {
	border-color: var(--sjc-color-border);
}

.sjc-commerce-thankyou .sjc-receipt-name,
.sjc-commerce-thankyou .sjc-receipt-price,
.sjc-commerce-thankyou .sjc-receipt-totals-row span:last-child,
.sjc-commerce-thankyou .sjc-receipt-grand {
	color: var(--sjc-color-text);
}

.sjc-commerce-thankyou .sjc-receipt-meta,
.sjc-commerce-thankyou .sjc-receipt-totals-row,
.sjc-commerce-thankyou .sjc-access-item span,
.sjc-commerce-thankyou .sjc-access-item small,
.sjc-commerce-thankyou .sjc-package-meta span {
	color: var(--sjc-color-muted);
}

.sjc-commerce-thankyou .sjc-receipt-divider {
	background: var(--sjc-color-text);
}

.sjc-commerce-thankyou .sjc-receipt-discount,
.sjc-commerce-thankyou .sjc-receipt-discount span:last-child {
	color: var(--sjc-color-success);
}

.sjc-commerce-thankyou .sjc-receipt-grand {
	border-color: var(--sjc-color-text);
}

.sjc-commerce-thankyou .sjc-receipt-grand .sejoli-unique-number {
	color: var(--sjc-color-error);
}

.sjc-commerce-thankyou .sjc-access-link,
.sjc-commerce-thankyou .sjc-access-item a {
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	font-weight: var(--sjc-font-weight-control);
	transition: opacity var(--sjc-transition), transform var(--sjc-transition);
}

.sjc-commerce-thankyou .sjc-access-link:hover,
.sjc-commerce-thankyou .sjc-access-item a:hover {
	color: var(--sjc-color-primary-text);
	opacity: 0.88;
}

.sjc-commerce-thankyou .sjc-access-item,
.sjc-commerce-thankyou .sjc-package-card {
	border-color: var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
}

.sjc-commerce-thankyou .sjc-package-card-head {
	background: var(--sjc-color-surface-soft);
}

.sjc-commerce-thankyou .sjc-package-status {
	border-radius: var(--sjc-radius-pill);
	background: color-mix(in srgb, var(--sjc-color-success) 12%, var(--sjc-color-surface));
	color: color-mix(in srgb, var(--sjc-color-success) 72%, #111111);
}

.sjc-commerce-thankyou .sjc-package-meta a {
	color: var(--sjc-color-accent);
}

.sjc-commerce-thankyou .sjc-order-link-note {
	border-color: color-mix(in srgb, var(--sjc-color-warning) 30%, var(--sjc-color-border));
	border-radius: var(--sjc-radius-card);
	background: color-mix(in srgb, var(--sjc-color-warning) 8%, var(--sjc-color-surface));
	color: var(--sjc-color-warning);
}

.sjc-commerce-thankyou :where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--sjc-color-accent);
	outline-offset: 2px;
	box-shadow: var(--sjc-focus-ring);
}

@media (max-width: 640px) {
	.sjc-commerce-loading {
		width: calc(100% - 24px);
		padding: 24px 18px;
	}

	.sjc-commerce-thankyou .sjc-receipt-line,
	.sjc-commerce-thankyou .sjc-receipt-totals-row,
	.sjc-commerce-thankyou .sjc-receipt-grand {
		align-items: flex-start;
	}

	.sjc-commerce-thankyou .transfer .ui.table > thead,
	.sjc-commerce-thankyou .transfer .ui.table > tbody,
	.sjc-commerce-thankyou .transfer .ui.table > tfoot {
		display: block !important;
		width: 100% !important;
	}

	.sjc-commerce-thankyou .transfer .ui.table > thead > .sjc-transfer-account-row,
	.sjc-commerce-thankyou .transfer .ui.table > tbody > .sjc-transfer-bank-row,
	.sjc-commerce-thankyou .transfer .ui.table > tfoot > .sjc-transfer-total-row {
		display: grid !important;
		grid-template-columns: minmax(72px, 0.8fr) minmax(0, 1.5fr) auto;
		align-items: center;
		width: 100% !important;
	}

	.sjc-commerce-thankyou .transfer .ui.table .sjc-transfer-label,
	.sjc-commerce-thankyou .transfer .ui.table .sjc-transfer-value,
	.sjc-commerce-thankyou .transfer .ui.table .sjc-transfer-action {
		display: block !important;
		box-sizing: border-box;
		width: auto !important;
		min-width: 0;
		word-break: normal;
		overflow-wrap: normal;
	}

	.sjc-commerce-thankyou .transfer .ui.table .sjc-transfer-action,
	.sjc-commerce-thankyou .transfer .ui.table .no-rekening {
		white-space: nowrap;
	}

	.sjc-commerce-thankyou .transfer .ui.table .sjc-transfer-bank-row .sjc-transfer-value {
		grid-column: 2 / 4;
		overflow-wrap: break-word;
	}

	.sjc-commerce-thankyou .transfer .ui.table .sjc-transfer-bank-logo {
		display: none !important;
	}

	.sjc-commerce-thankyou .transfer .transfer-info {
		box-sizing: border-box;
		width: 100%;
	}
}

.countdown-payment h3{
		margin-top: 2rem!important;
	}

.countdown-payment *:is(h3,p) {
    text-align: center;
}

/* Mobile fix: prevent thankyou page from rendering in "desktop mode"
   on mobile browsers. The standalone Sejoli template loads GeneratePress
   + Semantic UI CSS via wp_head(), and several elements (countdown with
   width:500px, unconstrained images) force horizontal overflow that
   causes mobile browsers to zoom out. */
@media only screen and (max-width: 767px) {
	html {
		overflow-x: hidden;
	}

	body.body-checkout {
		overflow-x: hidden;
		max-width: 100vw;
		width: 100%;
	}

	body.body-checkout img {
		max-width: 100%;
		height: auto;
	}

	body.body-checkout .ui.text.container {
		max-width: 100% !important;
		padding: 0 12px !important;
		box-sizing: border-box;
	}

	/* Flip-clock countdown: sejoli sets width:500px + transform:scale(0.3)
	   which overflows on mobile. Center the element and clip overflow. */
	.countdown-payment {
		overflow: hidden;
		text-align: center !important;
	}

	.countdown-payment-run {
		display: block !important;
		width: 500px !important;
		max-width: none !important;
		margin: 0 auto !important;
		height: unset!important;
		transform: scale(0.5)!important;
	}

	.sjc-commerce-thankyou .sjc-access-head,
	.sjc-commerce-thankyou .sjc-access-item,
	.sjc-commerce-thankyou .sjc-package-card-head {
		align-items: stretch;
		flex-direction: column;
	}

	.sjc-commerce-thankyou .sjc-access-link,
	.sjc-commerce-thankyou .sjc-access-item a {
		width: 100%;
	}

	.sjc-commerce-thankyou .sjc-package-meta {
		grid-template-columns: 1fr;
	}

	.sjc-commerce-thankyou .sjc-package-meta > div {
		border-right: 0;
	}

	.sjc-commerce-thankyou .sjc-package-meta > div:nth-last-child(-n+2) {
		border-bottom: 1px solid var(--sjc-ref-border);
	}

	.sjc-commerce-thankyou .sjc-package-meta > div:last-child {
		border-bottom: 0;
	}
}

/* ── Expandable child rows (parent order detail) ─────────────── */
.sjc-expandable-row {
	cursor: pointer;
	transition: background 0.15s ease;
}
.sjc-expandable-row:hover {
	background: #f8f9fa;
}
.sjc-expandable-row.is-open {
	background: #f0f4f8;
}
.sjc-expand-toggle {
	position: relative;
	padding-left: 28px !important;
}
.sjc-expand-icon {
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid #888;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	transition: transform 0.2s ease;
}
.sjc-expandable-row.is-open .sjc-expand-icon {
	transform: translateY(-50%) rotate(90deg);
	border-left-color: #1678c2;
}
.sjc-expand-detail {
	display: none;
}
.sjc-expand-detail.is-open {
	display: table-row;
}
.sjc-expand-detail td {
	padding: 0 !important;
	background: #f7f9fb;
	border-top: none !important;
}
.sjc-expand-inner {
	padding: 14px 20px 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
}
.sjc-expand-inner .sjc-muted {
	margin-left: 8px;
}

/* ── Product Meta blocks (shared: cards & expandable) ─────── */
.sjc-product-meta-card {
	background: #f7f9fb;
	border-radius: 8px;
	padding: 14px 18px;
}
.sjc-pm-block {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
}
.sjc-pm-block + .sjc-pm-block {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #e8ecf0;
}
.sjc-pm-label {
	font-weight: 600;
	font-size: 13px;
	color: #555;
	white-space: nowrap;
}
.sjc-pm-count {
	display: inline-block;
	background: #1678c2;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 8px;
	padding: 1px 7px;
	margin-left: 4px;
	vertical-align: middle;
}
.sjc-pm-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}
.sjc-pm-list li {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.sjc-pm-license-code {
	font-size: 12px;
	background: #eef1f5;
	border: 1px solid #dde2e8;
	border-radius: 4px;
	padding: 2px 8px;
	letter-spacing: 0.3px;
	font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
}
.sjc-pm-activated {
	font-size: 11px;
}
.sjc-pm-access,
.sjc-pm-coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

/* ── Product Detail card (child/individual) ─────────────────── */
.sjc-product-meta-card .sjc-pm-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e8ecf0;
	margin-bottom: 8px;
}
.sjc-product-meta-card .sjc-pm-product {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.sjc-product-meta-card .sjc-pm-product strong {
	font-size: 15px;
}
.sjc-product-meta-card .sjc-pm-price {
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}
.sjc-pm-totals {
	margin: 8px 0 4px;
}
.sjc-pm-total-row {
	display: flex;
	justify-content: space-between;
	padding: 3px 0;
	font-size: 13px;
	color: #555;
}
.sjc-pm-total-row.sjc-pm-grand {
	border-top: 2px solid #333;
	margin-top: 4px;
	padding-top: 6px;
	font-size: 14px;
	color: #111;
}

	/* ── Child order row (parent order detail) ────────────────── */
	.sjc-child-inline {
		display: flex;
		align-items: center;
		gap: 6px;
		flex-wrap: wrap;
	}
	.sjc-child-inline a {
		font-weight: 600;
		color: #1678c2;
		text-decoration: none;
	}
	.sjc-child-inline a:hover {
		text-decoration: underline;
	}
	.sjc-child-indicators {
		display: flex;
		align-items: center;
		gap: 8px;
		margin-top: 4px;
		font-size: 12px;
		color: #767676;
	}
	.sjc-child-indicators i {
		margin-right: 2px;
	}

		/* ── Bump Offer Cards (checkout) ─────────────────────────── */
		.sjc-bump-section {
			margin-top: 4px;
			border: 2px dashed var(--sjc-ref-border, #e2e8f0);
			background: linear-gradient(135deg, #fffdf5 0%, #fff8e1 100%);
		}
		.sjc-bump-section .sjc-section-title {
			margin-bottom: 12px;
		}
		.sjc-step-bump {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 28px;
			height: 28px;
			border-radius: 50%;
			background: #f59e0b;
			color: #fff;
			font-size: 14px;
			margin-right: 8px;
			flex-shrink: 0;
		}
		.sjc-bump-card {
			padding: 16px;
			border: 1px solid #e2e8f0;
			border-radius: 12px;
			background: #fff;
			transition: border-color 0.2s, box-shadow 0.2s;
		}
		.sjc-bump-card + .sjc-bump-card {
			margin-top: 12px;
		}
		.sjc-bump-card:hover {
			border-color: #f59e0b;
			box-shadow: 0 2px 8px rgba(245,158,11,0.12);
		}
		.sjc-bump-card.is-accepted {
			border-color: #16a34a;
			background: #f0fdf4;
		}
		.sejoli-commerce .sjc-bump-card.is-accepted .sjc-bump-accept-btn,
		.sjc-checkout-offcanvas .sjc-bump-card.is-accepted .sjc-bump-accept-btn {
			background: #16a34a;
			border-color: #16a34a;
			color: #fff;
			opacity: 1;
			cursor: default;
		}

		.sjc-bump-desc {
			margin: 0 0 12px;
			font-size: 14px;
			color: #333;
			line-height: 1.5;
		}

		.sjc-bump-body {
			display: grid;
			grid-template-columns: auto 1fr;
			gap: 0 14px;
			align-items: center;
			margin-bottom: 12px;
		}

		.sjc-bump-thumb {
			width: 72px;
			height: 72px;
			object-fit: cover;
			border-radius: 10px;
			grid-row: span 2;
		}

		.sjc-bump-info {
			min-width: 0;
		}

		.sjc-bump-name {
			display: block;
			font-size: 15px;
			font-weight: 700;
			line-height: 1.3;
			color: #111;
			margin-bottom: 4px;
		}

		.sjc-bump-price-row {
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			gap: 6px;
		}

		.sjc-bump-original {
			text-decoration: line-through;
			color: #999;
			font-weight: 400;
			font-size: 13px;
		}

		.sjc-bump-offer-price {
			font-weight: 700;
			font-size: 16px;
			color: #111;
		}

		.sjc-bump-savings {
			display: block;
			margin-top: 4px;
			padding: 2px 8px;
			border-radius: 6px;
			background: #fef3c7;
			color: #92400e;
			font-size: 12px;
			font-weight: 600;
			white-space: nowrap;
		}

		.sejoli-commerce .sjc-bump-section .sjc-bump-accept-btn,
		.sjc-checkout-offcanvas .sjc-bump-card .sjc-bump-accept-btn {
			display: block;
			width: 100%;
			padding: 10px;
			border: 2px solid #f59e0b;
			border-radius: 8px;
			background: #fffbeb;
			color: #92400e;
			font-weight: 600;
			font-size: 14px;
			cursor: pointer;
			transition: background-color 0.2s, border-color 0.2s, color 0.2s;
			text-align: center;
		}
		.sejoli-commerce .sjc-bump-section .sjc-bump-accept-btn:hover:not(:disabled):not(.is-added),

		.sjc-checkout-offcanvas .sjc-bump-card .sjc-bump-accept-btn:hover:not(:disabled):not(.is-added) {
			border-color: #f59e0b;
			background: #f59e0b;
			color: #fff;
		}
		.sejoli-commerce .sjc-bump-section .sjc-bump-accept-btn.is-added,
		.sjc-checkout-offcanvas .sjc-bump-card .sjc-bump-accept-btn.is-added {
			background: #16a34a;
			border-color: #16a34a;
			color: #fff;
			opacity: 1;
			cursor: default;
		}

/* ── Checkout bump item highlight ─────────────────────────── */
.sjc-bump-summary-item {
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	border-left: 3px solid #f59e0b;
	border-radius: 6px;
	padding: 6px 10px;
}
.sjc-bump-summary-item + .sjc-summary-row:not(.sjc-bump-summary-item) {
	margin-top: 4px;
}
.sjc-bump-offer-discount {
	display: block;
	color: #b45309;
	font-size: 12px;
	font-style: italic;
	margin-top: 2px;
}

/* ── Buy-Now Commerce Bump Section ─────────────────────────── */
.sjc-buy-now-commerce-bump-section {
	border: 2px dashed var(--sjc-ref-border, #e2e8f0);
	background: linear-gradient(135deg, #fffdf5 0%, #fff8e1 100%);
}
.sjc-buy-now-commerce-bump-section[hidden] { display: none; }

/* ── Buy-Now Cart Mode ─────────────────────────────────────── */
.sjc-buy-now-cart-mode { padding: 16px 0; }
.sjc-buy-now-cart-mode[hidden] { display: none; }
.sjc-buy-now-cart-mode h3 {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 12px;
	color: #111;
}
.sjc-buy-now-cart-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--sjc-border, #e2e8f0);
}
.sjc-buy-now-cart-item strong { flex: 1; font-size: 14px; }
.sjc-buy-now-cart-item span { font-size: 13px; color: #555; }
.sjc-buy-now-cart-item-bump {
	background: #fffbeb;
	border-radius: 8px;
	margin: 4px 0;
	border-bottom-color: #fde68a;
}
.sjc-buy-now-cart-bump-list {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 2px dashed var(--sjc-ref-border, #e2e8f0);
}
.sjc-buy-now-cart-bump-list .sjc-bump-card + .sjc-bump-card { margin-top: 10px; }
.sjc-buy-now-cart-proceed {
	display: block;
	width: 100%;
	padding: 14px;
	margin-top: 16px;
	border: none;
	border-radius: 10px;
	background: var(--sjc-primary, #111827);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	text-align: center;
	transition: opacity 0.2s;
}
.sjc-buy-now-cart-proceed:hover { opacity: 0.9; }

@media (max-width: 480px) {
	.sejoli-commerce.sjc-catalog .sjc-catalog-toolbar .sjc-catalog-apply,
	.sejoli-commerce.sjc-catalog .sjc-catalog-toolbar .sjc-catalog-cart-toggle,
	.sjc-tracking-page .sjc-tracking-form button,
	.sjc-embed-root .sjc-embed-add,
	.sjc-editorial .sjc-editorial-back-link,
	.sjc-editorial .sjc-editorial-cart-toggle,
	.sjc-editorial .sjc-editorial-btn-bag {
		min-width: 44px;
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	/* Preserve state transforms and other visual feedback; remove only interpolation. */
	.sjc-editorial .sjc-editorial-btn,
	.sjc-editorial .sjc-editorial-accordion-header,
	.sjc-editorial-toast,
	.sjc-checkout-offcanvas .sjc-checkout-offcanvas-panel,
	.sjc-checkout-offcanvas .sjc-bump-card,
	.sjc-checkout-offcanvas .sjc-bump-accept-btn,
	.sjc-checkout-offcanvas .sjc-buy-now-cart-proceed,
	.sejoli-commerce .sjc-catalog-toolbar button,
	.sejoli-commerce .sjc-product-card,
	.sejoli-commerce .sjc-showcase-prev,
	.sejoli-commerce .sjc-showcase-next,
	.sejoli-commerce .sjc-cart-shortcode-button,
	.sejoli-commerce .sjc-btn-add-cart,
	.sejoli-commerce .sjc-checkout-btn,
	.sejoli-commerce .sjc-pay-btn,
	.sejoli-commerce .sjc-reference-pagination a,
	.sejoli-commerce .sjc-remove-item,
	.sejoli-commerce .sjc-coupon-pill,
	.sejoli-commerce .sjc-bump-card,
	.sejoli-commerce .sjc-bump-accept-btn,
	.sjc-toast,
	.sjc-commerce-thankyou .sjc-access-link,
	.sjc-commerce-thankyou .sjc-access-item a,
	.sjc-commerce-thankyou .sjc-expandable-row,
	.sjc-commerce-thankyou .sjc-expand-icon {
		transition: none;
	}

	.sjc-editorial-minicart .sjc-minicart-remove.is-loading .icon,
	.sjc-global-minicart-wrap .sjc-minicart-remove.is-loading .icon {
		animation: none;
	}
}
